/* ==========================================================================
   上海襄佐金融信息服务有限公司 — 官网样式表
   品牌色取自企业标志：墨蓝 + 香槟金
   ========================================================================== */

:root {
  --ink: #071726;
  --ink-2: #0d2337;
  --ink-3: #16374f;
  --gold: #c6a15b;
  --gold-light: #e7d2a4;
  --gold-deep: #8f6d31;
  --paper: #ffffff;
  --paper-2: #f6f7f9;
  --paper-3: #eceff4;
  --line: #e3e8ef;
  --line-dark: rgba(255, 255, 255, 0.12);
  --text: #14212f;
  --muted: #5c6a7a;
  --radius-lg: 22px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 4px 16px rgba(7, 23, 38, 0.06);
  --shadow: 0 20px 50px rgba(7, 23, 38, 0.1);
  --shadow-lg: 0 34px 90px rgba(7, 23, 38, 0.2);
  --max: 1200px;
  --header-h: 84px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC",
    "Noto Sans CJK SC", "WenQuanYi Micro Hei", sans-serif;
  --font-num: Georgia, "Times New Roman", "Songti SC", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: 0.02em;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--gold);
  color: #fff;
}

/* --------------------------------------------------------------------------
   Layout helpers
   -------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 104px 0;
  position: relative;
}

.section--tight {
  padding: 76px 0;
}

.section--tint {
  background: var(--paper-2);
}

.section--dark {
  background:
    radial-gradient(900px 480px at 82% 0%, rgba(198, 161, 91, 0.16), transparent 62%),
    linear-gradient(155deg, #071726 0%, #0d2337 52%, #071726 100%);
  color: #fff;
}

.section--dark .section-lead,
.section--dark .muted {
  color: rgba(255, 255, 255, 0.72);
}

.section--dark .eyebrow {
  color: var(--gold-light);
}

.section--line {
  border-top: 1px solid var(--line);
}

[id] {
  scroll-margin-top: calc(var(--header-h) + 18px);
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--gold);
}

.section-head {
  max-width: 760px;
  margin-bottom: 52px;
}

.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head--center .eyebrow {
  justify-content: center;
}

.section-title {
  font-size: clamp(1.7rem, 3.1vw, 2.45rem);
  margin: 18px 0 0;
}

.section-title--sm {
  font-size: 1.5rem;
}

@supports (font-size: clamp(1rem, 2vw, 2rem)) {
  .section-title--sm {
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  }
}

.section-lead {
  margin-top: 20px;
  color: var(--muted);
  line-height: 1.95;
  font-size: 1rem;
}

.muted {
  color: var(--muted);
}

.gold {
  color: var(--gold-deep);
}

.section--dark .gold {
  color: var(--gold-light);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease),
    color 0.35s var(--ease), border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
  white-space: nowrap;
}

.btn svg {
  width: 16px;
  height: 16px;
}

.btn--gold {
  background: linear-gradient(120deg, #d5b273, var(--gold) 55%, #b08c46);
  color: #24190a;
  box-shadow: 0 12px 26px rgba(198, 161, 91, 0.32);
}

.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(198, 161, 91, 0.42);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff;
}

.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.btn--outline {
  border-color: var(--line);
  color: var(--text);
  background: #fff;
}

.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn--text {
  height: auto;
  padding: 0;
  color: var(--gold-deep);
  border-radius: 0;
  gap: 8px;
}

.btn--text::after {
  content: "";
  width: 20px;
  height: 1px;
  background: currentColor;
  transition: width 0.35s var(--ease);
}

.btn--text:hover::after {
  width: 34px;
}

.section--dark .btn--text {
  color: var(--gold-light);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease), height 0.4s var(--ease);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand__logo {
  height: 40px;
  width: auto;
  transition: opacity 0.3s var(--ease);
}

.brand__logo--light {
  display: none;
}

.brand__text {
  display: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  position: relative;
  display: block;
  padding: 10px 16px;
  font-size: 0.95rem;
  color: var(--text);
  border-radius: 999px;
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  transform: translateX(-50%);
  transition: width 0.35s var(--ease);
}

.site-nav a:hover {
  color: var(--gold-deep);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  width: 22px;
}

.site-nav a[aria-current="page"] {
  color: var(--gold-deep);
  font-weight: 600;
}

.site-nav__foot {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-num);
  font-size: 1.02rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  transition: color 0.3s var(--ease);
}

.header-phone svg {
  width: 17px;
  height: 17px;
  color: var(--gold-deep);
}

.header-phone:hover {
  color: var(--gold-deep);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  place-items: center;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.6px;
  margin: 3.4px auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}

/* Transparent header over the home hero */
.header--overlay {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.header--overlay .site-nav a,
.header--overlay .header-phone {
  color: rgba(255, 255, 255, 0.86);
}

.header--overlay .site-nav a:hover,
.header--overlay .site-nav a[aria-current="page"],
.header--overlay .header-phone:hover {
  color: var(--gold-light);
}

.header--overlay .nav-toggle {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
}

.header--overlay .nav-toggle span {
  background: #fff;
}

.header--overlay .brand__logo--dark {
  display: none;
}

.header--overlay .brand__logo--light {
  display: block;
}

.header--overlay.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--line);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 10px 30px rgba(7, 23, 38, 0.06);
}

.header--overlay.is-scrolled .brand__logo--dark {
  display: block;
}

.header--overlay.is-scrolled .brand__logo--light {
  display: none;
}

.header--overlay.is-scrolled .site-nav a,
.header--overlay.is-scrolled .header-phone {
  color: var(--text);
}

.header--overlay.is-scrolled .site-nav a:hover,
.header--overlay.is-scrolled .site-nav a[aria-current="page"],
.header--overlay.is-scrolled .header-phone:hover {
  color: var(--gold-deep);
}

.header--overlay.is-scrolled .nav-toggle {
  background: #fff;
  border-color: var(--line);
}

.header--overlay.is-scrolled .nav-toggle span {
  background: var(--ink);
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(7, 23, 38, 0.06);
}

/* --------------------------------------------------------------------------
   Hero (home)
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 86px) 0 0;
  color: #fff;
  background:
    radial-gradient(1100px 560px at 82% 4%, rgba(198, 161, 91, 0.2), transparent 62%),
    radial-gradient(760px 520px at 4% 96%, rgba(22, 55, 79, 0.9), transparent 60%),
    linear-gradient(158deg, #071726 0%, #0d2337 48%, #061420 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: radial-gradient(80% 70% at 50% 30%, #000 20%, transparent 78%);
  mask-image: radial-gradient(80% 70% at 50% 30%, #000 20%, transparent 78%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 72px;
  align-items: center;
}

.hero__company {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.86rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.68);
}

.hero__company::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
}

.hero__title {
  margin: 26px 0 0;
  font-size: clamp(2.15rem, 5.1vw, 3.75rem);
  line-height: 1.16;
  letter-spacing: 0.02em;
  font-weight: 600;
}

.hero__title em {
  display: block;
  font-style: normal;
  background: linear-gradient(100deg, #f0e0bb, var(--gold) 45%, #d8b978);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__slogan {
  margin: 26px 0 0;
  max-width: 40ch;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.06rem;
  line-height: 2;
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  margin: 27px -5px 0;
}

.hero__tags li {
  margin: 5px;
  padding: 7px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.04);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 40px 0 0;
}

.hero__media {
  position: relative;
  min-height: 460px;
}

.hero__photo {
  position: absolute;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__photo--main {
  top: 0;
  right: 0;
  width: 86%;
  aspect-ratio: 4 / 3;
}

.hero__photo--sub {
  left: 0;
  bottom: 0;
  width: 52%;
  aspect-ratio: 4 / 3;
  border: 4px solid #0d2337;
}

.hero__badge {
  position: absolute;
  right: 4%;
  bottom: 6%;
  padding: 18px 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.97);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
  text-align: left;
}

.hero__badge strong {
  display: block;
  font-family: var(--font-num);
  font-size: 1.85rem;
  line-height: 1;
  color: var(--gold-deep);
}

.hero__badge span {
  font-size: 0.82rem;
  color: var(--muted);
}

/* Hero statistics strip */

.hero-stats {
  position: relative;
  z-index: 1;
  margin-top: 84px;
  border-top: 1px solid var(--line-dark);
}

.hero-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hero-stats .stat {
  padding: 36px 26px;
  border-left: 1px solid var(--line-dark);
}

.hero-stats .stat:first-child {
  border-left: 0;
  padding-left: 0;
}

.stat__num {
  font-family: var(--font-num);
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  line-height: 1;
  color: #fff;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.stat__num em {
  font-style: normal;
  font-size: 0.5em;
  color: var(--gold-light);
}

.stat__num .unit {
  font-family: var(--font-sans);
  font-size: 0.42em;
  color: rgba(255, 255, 255, 0.66);
  letter-spacing: 0.04em;
}

.stat__label {
  margin-top: 12px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.66);
}

/* --------------------------------------------------------------------------
   Page hero (inner pages)
   -------------------------------------------------------------------------- */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 74px) 0 72px;
  color: #fff;
  background:
    radial-gradient(760px 420px at 88% 0%, rgba(198, 161, 91, 0.22), transparent 60%),
    linear-gradient(150deg, #071726 0%, #0d2337 60%, #061420 100%);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 62px 62px;
  -webkit-mask-image: radial-gradient(70% 100% at 20% 0%, #000, transparent 75%);
  mask-image: radial-gradient(70% 100% at 20% 0%, #000, transparent 75%);
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.breadcrumb a:hover {
  color: var(--gold-light);
}

.breadcrumb span {
  opacity: 0.5;
}

.page-hero h1 {
  margin: 20px 0 0;
  font-size: clamp(1.85rem, 3.8vw, 2.9rem);
}

.page-hero p {
  margin: 18px 0 0;
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.95;
}

/* --------------------------------------------------------------------------
   Sub navigation (in-page anchors)
   -------------------------------------------------------------------------- */

.subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 60;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.subnav__list {
  display: flex;
  margin: 0 -3px;
  overflow-x: auto;
  scrollbar-width: none;
}

.subnav__list::-webkit-scrollbar {
  display: none;
}

.subnav__list a {
  display: block;
  margin: 0 3px;
  padding: 18px 18px 16px;
  font-size: 0.94rem;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.subnav__list a:hover,
.subnav__list a.is-active {
  color: var(--ink);
  border-bottom-color: var(--gold);
}

/* --------------------------------------------------------------------------
   Grids, cards, features
   -------------------------------------------------------------------------- */

.grid {
  display: grid;
  gap: 26px;
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid--gap-sm {
  gap: 16px;
}

.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 30px;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease),
    border-color 0.5s var(--ease);
}

.card::after {
  content: "";
  position: absolute;
  left: 30px;
  right: 30px;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(198, 161, 91, 0.45);
  box-shadow: var(--shadow);
}

.card:hover::after {
  opacity: 1;
}

.card__index {
  font-family: var(--font-num);
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  color: var(--gold-deep);
}

.card__title {
  margin: 18px 0 0;
  font-size: 1.2rem;
}

.card__text {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.9;
}

.card__list {
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
}

.card__list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.93rem;
  color: var(--muted);
}

.card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 7px;
  height: 1px;
  background: var(--gold);
}

.section--dark .card {
  background: rgba(255, 255, 255, 0.045);
  border-color: var(--line-dark);
}

.section--dark .card:hover {
  border-color: rgba(198, 161, 91, 0.5);
  background: rgba(255, 255, 255, 0.07);
}

.section--dark .card__text,
.section--dark .card__list li {
  color: rgba(255, 255, 255, 0.72);
}

.section--dark .card__index {
  color: var(--gold-light);
}

/* Icon tiles */

.icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, rgba(198, 161, 91, 0.16), rgba(198, 161, 91, 0.04));
  border: 1px solid rgba(198, 161, 91, 0.28);
  color: var(--gold-deep);
}

.icon-badge svg {
  width: 24px;
  height: 24px;
}

.section--dark .icon-badge {
  color: var(--gold-light);
}

/* --------------------------------------------------------------------------
   Split content (text + media)
   -------------------------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 72px;
  align-items: center;
}

.split--media-right .split__media {
  order: 2;
}

.split__media {
  position: relative;
}

.split__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.split__media--stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.split__media--stack img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.split__media--stack img:first-child {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}

.split__media figcaption {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--muted);
}

.doc-thumb {
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  background: #fff;
}

.media-contain {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: contain;
  background: #fff;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.check-list {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.85;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(198, 161, 91, 0.16);
  border: 1px solid rgba(198, 161, 91, 0.5);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 0.72em;
  width: 6px;
  height: 3px;
  border-left: 1.5px solid var(--gold-deep);
  border-bottom: 1.5px solid var(--gold-deep);
  transform: rotate(-45deg);
}

.section--dark .check-list li {
  color: rgba(255, 255, 255, 0.75);
}

.section--dark .check-list li::after {
  border-color: var(--gold-light);
}

/* Info definitions */

.fact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.fact {
  background: #fff;
  padding: 22px 26px;
}

.fact dt {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.fact dd {
  margin: 10px 0 0;
  font-size: 1.05rem;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Data panel
   -------------------------------------------------------------------------- */

.data-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.data-panel__item {
  background: rgba(255, 255, 255, 0.03);
  padding: 34px 32px;
}

.data-panel__item h3 {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.08em;
}

.data-panel__row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-top: 22px;
}

.data-panel__row dl {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
}

.data-panel__row dt {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

.data-panel__row dd {
  margin: 0;
  font-family: var(--font-num);
  font-size: 2.1rem;
  line-height: 1;
  color: #fff;
}

.data-panel__row dd .unit {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-left: 4px;
}

.data-panel--light {
  background: var(--line);
  border-color: var(--line);
}

.data-panel--light .data-panel__item {
  background: var(--paper-2);
}

.data-panel--light .data-panel__item h3 {
  color: var(--muted);
}

.data-panel--light .data-panel__row dd {
  color: var(--ink);
}

.data-panel--light .data-panel__row dt,
.data-panel--light .data-panel__row dd .unit {
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Tables
   -------------------------------------------------------------------------- */

.table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-wrap table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 0.93rem;
}

.table-wrap caption {
  caption-side: top;
  text-align: left;
  padding: 20px 24px 4px;
  font-size: 1rem;
  font-weight: 600;
}

.table-wrap th,
.table-wrap td {
  padding: 14px 20px;
  text-align: left;
  vertical-align: top;
}

.table-wrap thead th {
  background: var(--ink);
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.table-wrap tbody td {
  border-top: 1px solid var(--line);
  color: var(--text);
  line-height: 1.7;
}

.table-wrap tbody tr:nth-child(even) {
  background: #fafbfc;
}

.table-wrap tbody tr:hover {
  background: rgba(198, 161, 91, 0.06);
}

.table-wrap td.is-key {
  color: var(--gold-deep);
  font-weight: 600;
  white-space: nowrap;
}

.table-hint {
  display: none;
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--muted);
}

.section--dark .table-wrap {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-dark);
  box-shadow: none;
}

.section--dark .table-wrap caption {
  color: #fff;
}

.section--dark .table-wrap thead th {
  background: rgba(255, 255, 255, 0.09);
}

.section--dark .table-wrap tbody td {
  border-top-color: var(--line-dark);
  color: rgba(255, 255, 255, 0.82);
}

.section--dark .table-wrap tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.03);
}

.section--dark .table-wrap tbody tr:hover {
  background: rgba(198, 161, 91, 0.12);
}

.section--dark .table-wrap td.is-key {
  color: var(--gold-light);
}

.section--dark .table-hint {
  color: rgba(255, 255, 255, 0.6);
}

/* --------------------------------------------------------------------------
   Tabs
   -------------------------------------------------------------------------- */

.tabs__list {
  display: flex;
  margin: 0 -3px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}

.tabs__list::-webkit-scrollbar {
  display: none;
}

.tabs__btn {
  appearance: none;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  margin: 0 3px;
  padding: 16px 22px;
  font-size: 0.98rem;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.tabs__btn:hover {
  color: var(--ink);
}

.tabs__btn[aria-selected="true"] {
  color: var(--ink);
  font-weight: 600;
  border-bottom-color: var(--gold);
}

.tabs__panel {
  padding-top: 38px;
  animation: fade-in 0.5s var(--ease);
}

.tabs__panel[hidden] {
  display: none;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   Chips
   -------------------------------------------------------------------------- */

.chips {
  display: flex;
  flex-wrap: wrap;
  margin: -5px;
}

.chips li {
  margin: 5px;
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--muted);
  background: #fff;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.chips li:hover {
  border-color: rgba(198, 161, 91, 0.55);
  color: var(--gold-deep);
  transform: translateY(-2px);
}

.section--dark .chips li {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line-dark);
  color: rgba(255, 255, 255, 0.78);
}

/* --------------------------------------------------------------------------
   Logo wall
   -------------------------------------------------------------------------- */

.logo-wall {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.logo-tile {
  display: grid;
  place-items: center;
  height: 104px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease),
    transform 0.4s var(--ease);
}

.logo-tile img {
  max-width: 100%;
  max-height: 62px;
  filter: grayscale(100%);
  opacity: 0.62;
  transition: filter 0.4s var(--ease), opacity 0.4s var(--ease);
}

.logo-tile:hover {
  border-color: rgba(198, 161, 91, 0.5);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.logo-tile:hover img {
  filter: none;
  opacity: 1;
}

.logo-wall--dense .logo-tile {
  height: 92px;
}

/* --------------------------------------------------------------------------
   Galleries
   -------------------------------------------------------------------------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.gallery--wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gallery__item {
  position: relative;
  margin: 0;
  border: 0;
  padding: 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--paper-3);
  cursor: zoom-in;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.gallery__item:hover img {
  transform: scale(1.06);
}

.gallery__item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 34px 20px 16px;
  font-size: 0.86rem;
  color: #fff;
  text-align: left;
  background: linear-gradient(to top, rgba(7, 23, 38, 0.82), transparent);
}

/* --------------------------------------------------------------------------
   Certificates
   -------------------------------------------------------------------------- */

.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.cert-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease),
    border-color 0.5s var(--ease);
}

.cert-card:hover {
  transform: translateY(-6px);
  border-color: rgba(198, 161, 91, 0.5);
  box-shadow: var(--shadow);
}

.cert-card img {
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  object-position: top center;
}

.cert-card figcaption {
  padding: 16px 20px 20px;
  font-size: 0.9rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.cert-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.cert-list li {
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: #fff;
  font-size: 0.94rem;
}

/* --------------------------------------------------------------------------
   Case cards
   -------------------------------------------------------------------------- */

.case-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.case-card__media {
  aspect-ratio: 16 / 9;
  background: var(--paper-3);
  overflow: hidden;
}

.case-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.7s var(--ease);
}

.case-card:hover .case-card__media img {
  transform: scale(1.05);
}

.case-card__body {
  padding: 28px 30px 32px;
  flex: 1;
}

.case-card__metric {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-num);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--gold-deep);
}

.case-card__metric .unit {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--muted);
}

.case-card__name {
  margin: 18px 0 0;
  font-size: 1.08rem;
}

.case-card__desc {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.85;
}

.case-card__facts {
  margin: 20px 0 0;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
  display: grid;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--muted);
}

.case-card__facts b {
  color: var(--text);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Steps
   -------------------------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 34px 30px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-dark);
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-num);
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  color: var(--gold-light);
}

.step h3 {
  margin: 16px 0 0;
  font-size: 1.12rem;
}

.step p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
  line-height: 1.9;
}

.step ul {
  margin: 16px 0 0;
  display: grid;
  gap: 8px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.72);
}

.step ul li {
  padding-left: 16px;
  position: relative;
}

.step ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 5px;
  height: 1px;
  background: var(--gold);
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 60px 64px;
  color: #fff;
  background:
    radial-gradient(620px 320px at 90% 10%, rgba(198, 161, 91, 0.24), transparent 65%),
    linear-gradient(140deg, #0d2337, #071726);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(60% 100% at 10% 0%, #000, transparent 72%);
  mask-image: radial-gradient(60% 100% at 10% 0%, #000, transparent 72%);
  pointer-events: none;
}

.cta-band > * {
  position: relative;
}

.cta-band h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
}

.cta-band p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.95;
}

.cta-band__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.cta-phone {
  font-family: var(--font-num);
  font-size: 1.9rem;
  letter-spacing: 0.03em;
  color: var(--gold-light);
}

/* --------------------------------------------------------------------------
   Contact page
   -------------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 32px;
}

.contact-card h3 {
  margin: 20px 0 0;
  font-size: 1.05rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.08em;
}

.contact-card .value {
  margin: 12px 0 0;
  font-size: 1.16rem;
  font-weight: 600;
  line-height: 1.7;
}

.contact-card .value--num {
  font-family: var(--font-num);
  font-size: 1.7rem;
  color: var(--gold-deep);
}

.map-card {
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.map-card img {
  width: 100%;
}

.map-card figcaption {
  padding: 20px 26px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: linear-gradient(160deg, #071726 0%, #0a1e30 100%);
  color: rgba(255, 255, 255, 0.68);
  padding: 74px 0 0;
  font-size: 0.93rem;
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
  gap: 48px;
  padding-bottom: 54px;
}

.site-footer__brand img {
  height: 44px;
  width: auto;
}

.site-footer__brand p {
  margin: 22px 0 0;
  max-width: 34ch;
  line-height: 1.95;
  color: rgba(255, 255, 255, 0.6);
}

.site-footer h4 {
  margin: 0 0 20px;
  font-size: 0.95rem;
  color: #fff;
  letter-spacing: 0.1em;
  font-weight: 500;
}

.site-footer nav ul {
  display: grid;
  gap: 12px;
}

.site-footer nav a {
  transition: color 0.3s var(--ease);
}

.site-footer nav a:hover {
  color: var(--gold-light);
}

.site-footer address {
  font-style: normal;
  line-height: 2;
}

.site-footer .footer-tel {
  display: inline-block;
  margin-top: 6px;
  font-family: var(--font-num);
  font-size: 1.35rem;
  color: var(--gold-light);
  letter-spacing: 0.03em;
}

.site-footer__bottom {
  border-top: 1px solid var(--line-dark);
  padding: 24px 0 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.site-footer__bottom a {
  color: inherit;
  transition: color 0.3s var(--ease);
}

.site-footer__bottom a:hover {
  color: var(--gold-light);
}

/* --------------------------------------------------------------------------
   Floating helpers
   -------------------------------------------------------------------------- */

.to-top {
  position: fixed;
  right: 24px;
  bottom: 26px;
  z-index: 80;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease),
    visibility 0.4s var(--ease);
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  border-color: var(--gold);
  color: var(--gold-deep);
}

.to-top svg {
  width: 18px;
  height: 18px;
}

/* --------------------------------------------------------------------------
   Lightbox
   -------------------------------------------------------------------------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 32px;
  background: rgba(4, 12, 20, 0.9);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox__figure {
  margin: 0;
  max-width: min(1000px, 92vw);
  max-height: 86vh;
  display: grid;
  gap: 14px;
  justify-items: center;
}

.lightbox__figure img {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  border-radius: var(--radius-sm);
  background: #fff;
}

.lightbox__caption {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  text-align: center;
}

.lightbox__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--gold);
}

.lightbox__close svg {
  width: 18px;
  height: 18px;
}

/* --------------------------------------------------------------------------
   Reveal on scroll
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   Responsive — tablet
   -------------------------------------------------------------------------- */

@media (max-width: 1180px) {
  .logo-wall {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  :root {
    --header-h: 76px;
  }

  .section {
    padding: 82px 0;
  }

  .hero {
    padding-top: calc(var(--header-h) + 62px);
  }

  .hero__inner {
    gap: 46px;
  }

  .hero__media {
    min-height: 380px;
  }

  .split {
    gap: 46px;
  }

  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .logo-wall,
  .logo-wall--dense {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .gallery,
  .cert-grid,
  .cert-list,
  .contact-grid,
  .steps,
  .data-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
  }

  .cta-band {
    padding: 48px 44px;
  }

  .hero__title {
    font-size: clamp(2rem, 4.4vw, 3rem);
  }
}

/* --------------------------------------------------------------------------
   Responsive — mobile navigation
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {
  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(340px, 86vw);
    padding: 96px 26px 40px;
    background: #fff;
    box-shadow: -20px 0 60px rgba(7, 23, 38, 0.18);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    transform: translateX(102%);
    transition: transform 0.45s var(--ease);
    overflow-y: auto;
  }

  .site-nav.is-open {
    transform: none;
  }

  .site-nav a {
    padding: 15px 6px;
    font-size: 1.06rem;
    color: var(--text) !important;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .site-nav a::after {
    display: none;
  }

  .site-nav a[aria-current="page"] {
    color: var(--gold-deep) !important;
  }

  .site-nav__foot {
    margin-top: 26px;
    display: grid;
    gap: 14px;
  }

  .nav-toggle {
    display: grid;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
  }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 89;
    background: rgba(7, 23, 38, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
  }

  .nav-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
  }

  .header-phone {
    display: none;
  }

  .header-actions {
    position: relative;
    z-index: 2;
  }

  .site-nav__foot .btn {
    width: 100%;
    justify-content: center;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero__media {
    order: -1;
    min-height: 0;
  }

  .hero__photo--main {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  .hero__photo--sub,
  .hero__badge {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Responsive — phone
   -------------------------------------------------------------------------- */

@media (max-width: 760px) {
  body {
    font-size: 15.5px;
  }

  .section {
    padding: 62px 0;
  }

  .section--tight {
    padding: 52px 0;
  }

  .section-head {
    margin-bottom: 38px;
  }

  .container {
    padding: 0 18px;
  }

  .site-header__inner {
    padding: 0 18px;
  }

  .brand__logo {
    height: 34px;
  }

  .hero {
    padding-top: calc(var(--header-h) + 44px);
  }

  .hero__slogan {
    font-size: 1rem;
  }

  .hero__actions .btn {
    flex: 1 1 auto;
    justify-content: center;
  }

  .hero-stats {
    margin-top: 56px;
  }

  .hero-stats__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-stats .stat {
    padding: 24px 18px 24px 0;
    border-left: 0;
  }

  .hero-stats .stat:nth-child(even) {
    padding-left: 22px;
    border-left: 1px solid var(--line-dark);
  }

  .hero-stats .stat:nth-child(n + 3) {
    border-top: 1px solid var(--line-dark);
  }

  .stat__num {
    font-size: 1.85rem;
  }

  .page-hero {
    padding: calc(var(--header-h) + 46px) 0 46px;
  }

  .grid--2,
  .grid--3,
  .grid--4,
  .split,
  .steps,
  .data-panel,
  .gallery,
  .gallery--wide,
  .cert-grid,
  .cert-list,
  .contact-grid,
  .fact-list {
    grid-template-columns: 1fr;
  }

  .split {
    gap: 32px;
  }

  .split--media-right .split__media {
    order: 0;
  }

  .split__media--stack {
    grid-template-columns: 1fr;
  }

  .split__media--stack img:first-child {
    grid-column: span 1;
    aspect-ratio: 4 / 3;
  }

  .card,
  .contact-card {
    padding: 26px 22px;
  }

  .logo-wall,
  .logo-wall--dense {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .logo-tile {
    height: 84px;
    padding: 12px;
  }

  .logo-tile img {
    max-height: 46px;
  }

  .table-hint {
    display: block;
  }

  .table-wrap th,
  .table-wrap td {
    padding: 12px 16px;
  }

  .cta-band {
    grid-template-columns: 1fr;
    padding: 38px 26px;
    gap: 28px;
  }

  .cta-phone {
    font-size: 1.6rem;
  }

  .site-footer {
    padding-top: 56px;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-bottom: 38px;
  }

  .site-footer__bottom {
    flex-direction: column;
    gap: 8px;
  }

  .to-top {
    right: 16px;
    bottom: 18px;
    width: 44px;
    height: 44px;
  }

  .data-panel__item {
    padding: 26px 22px;
  }

  .data-panel__row {
    gap: 26px;
  }
}

@media (max-width: 420px) {
  .hero__title {
    font-size: 2rem;
  }

  .btn {
    padding: 0 22px;
  }

  .case-card__metric {
    font-size: 2rem;
  }
}

/* --------------------------------------------------------------------------
   Motion preferences / print
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .to-top,
  .subnav,
  .lightbox {
    display: none !important;
  }

  body {
    color: #000;
  }
}

/* --------------------------------------------------------------------------
   旧版微信 / QQ 内置浏览器内核兼容
   说明：
   1) flex 布局的 gap 在 Chromium 84 以下无效，因此胶囊标签、页内导航、
      选项卡均改为「外边距 + 负外边距」实现同等间距；
   2) aspect-ratio 在 Chromium 87 以下无效，用固定高度兜底；
   3) clamp() 在 Chromium 79 以下无效，用固定字号兜底。
   以上写法对现代浏览器无影响，仅旧内核走到兜底分支。
   -------------------------------------------------------------------------- */

@supports not (aspect-ratio: 1 / 1) {
  .gallery__item,
  .gallery__item img,
  .case-card__media,
  .case-card__media img {
    height: 210px;
  }

  .doc-thumb,
  .cert-card img,
  .media-contain {
    height: 260px;
  }

  .split__media--stack img {
    height: 190px;
  }

  .split__media--stack img:first-child {
    height: 280px;
  }

  .hero__photo--main,
  .hero__photo--sub {
    height: 260px;
  }
}

@supports not (font-size: clamp(1rem, 2vw, 2rem)) {
  .section-title {
    font-size: 2.1rem;
  }

  .section-title--sm {
    font-size: 1.6rem;
  }

  .hero__title {
    font-size: 3rem;
  }

  .stat__num {
    font-size: 2.2rem;
  }

  .page-hero h1 {
    font-size: 2.3rem;
  }

  .cta-band h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 1024px) {
  @supports not (font-size: clamp(1rem, 2vw, 2rem)) {
    .hero__title {
      font-size: 2.6rem;
    }
  }
}

@media (max-width: 760px) {
  @supports not (aspect-ratio: 1 / 1) {
    .gallery__item,
    .gallery__item img {
      height: 220px;
    }

    .case-card__media,
    .case-card__media img {
      height: 200px;
    }

    .doc-thumb,
    .cert-card img {
      height: 320px;
    }

    .media-contain {
      height: 240px;
    }

    .split__media--stack img,
    .split__media--stack img:first-child {
      height: 220px;
    }
  }

  @supports not (font-size: clamp(1rem, 2vw, 2rem)) {
    .section-title {
      font-size: 1.6rem;
    }

    .hero__title {
      font-size: 2rem;
    }

    .stat__num {
      font-size: 1.85rem;
    }

    .page-hero h1 {
      font-size: 1.75rem;
    }

    .cta-band h2 {
      font-size: 1.45rem;
    }
  }
}
