/* ============================================================
   虹久智能 Hongjiu AI — design system
   Motif: 虹 = the light bridge between AI (cool) and industry (warm)
   ============================================================ */

@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/space-grotesk-var.woff2') format('woff2');
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --bg: #0A0F1E;
  --bg-deep: #060A14;
  --bg-raised: #0F1628;
  --bg-hover: #141D34;
  --ink: #F2F5FB;
  --ink-2: #AAB6CC;
  --ink-3: #67728C;
  --cool: #5AC8FF;
  --cool-soft: rgba(90, 200, 255, .13);
  --mid: #7A9BFF;
  --warm: #FFB454;
  --warm-soft: rgba(255, 180, 84, .12);
  --line: rgba(138, 158, 200, .15);
  --line-strong: rgba(138, 158, 200, .3);
  --font-display: 'Space Grotesk', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  --font-body: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', -apple-system, 'Segoe UI', sans-serif;
  --w-page: 1180px;
  --gutter: clamp(20px, 4vw, 48px);
  --sec-gap: clamp(72px, 10vw, 136px);
  --ease: cubic-bezier(.22, .7, .3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

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

::selection { background: rgba(90, 200, 255, .3); }

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

.wrap {
  max-width: var(--w-page);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* ---------- headings ---------- */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .01em;
}

.sec-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }

.sec-head h2 { font-size: clamp(26px, 3.4vw, 38px); letter-spacing: .02em; }

.sec-head p { margin-top: 14px; color: var(--ink-2); font-size: 16px; }

.sec-head .sec-en {
  display: block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 14px;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-body);
  line-height: 1.4;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
}

.btn-warm {
  background: var(--warm);
  color: #241503;
}

.btn-warm:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 180, 84, .28);
}

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--ink);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--cool);
  background: var(--cool-soft);
}

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(10, 15, 30, .78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}

.nav.scrolled { border-bottom-color: var(--line); background: rgba(8, 12, 24, .92); }

.nav-inner {
  max-width: var(--w-page);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 68px;
  display: flex;
  align-items: center;
  gap: 32px;
}

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

.brand svg { width: 30px; height: 27px; }

.brand-name { display: flex; flex-direction: column; line-height: 1.15; }

.brand-zh { font-family: var(--font-body); font-weight: 700; font-size: 16.5px; letter-spacing: .14em; }

.brand-en { font-family: var(--font-display); font-weight: 500; font-size: 10.5px; letter-spacing: .22em; color: var(--ink-3); text-transform: uppercase; }

.nav-links {
  display: flex;
  gap: 6px;
  list-style: none;
  margin-left: auto;
}

.nav-links a {
  display: block;
  padding: 8px 14px;
  font-size: 14.5px;
  color: var(--ink-2);
  border-radius: 6px;
  transition: color .2s, background .2s;
}

.nav-links a:hover { color: var(--ink); background: rgba(138, 158, 200, .08); }

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

.nav-links a[aria-current="page"]::after {
  content: '';
  display: block;
  height: 2px;
  margin-top: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cool), var(--warm));
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 6px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--ink-2);
  transition: border-color .2s, color .2s;
  flex-shrink: 0;
}

.lang-switch:hover { border-color: var(--cool); color: var(--ink); }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: none;
  cursor: pointer;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 9px;
  right: 9px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s;
}

.nav-toggle span:nth-child(1) { top: 13px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 25px; }

.nav.open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(1100px 500px at 78% 12%, rgba(90, 200, 255, .08), transparent 62%),
    radial-gradient(900px 460px at 12% 88%, rgba(255, 180, 84, .06), transparent 60%),
    var(--bg);
}

#hero-canvas, .hero-fallback { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero-inner {
  position: relative;
  z-index: 2;
  padding-block: 150px 110px;
  max-width: 820px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  letter-spacing: .18em;
  color: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 18px;
  margin-bottom: 30px;
  background: rgba(10, 15, 30, .55);
}

.hero-kicker i {
  width: 7px; height: 7px; border-radius: 50%;
  background: linear-gradient(120deg, var(--cool), var(--warm));
  box-shadow: 0 0 10px rgba(90, 200, 255, .8);
}

.hero h1 {
  font-size: clamp(34px, 5.6vw, 62px);
  line-height: 1.22;
  letter-spacing: .015em;
  font-weight: 700;
}

.hero-lede {
  margin-top: 26px;
  max-width: 620px;
  font-size: clamp(15.5px, 1.4vw, 18px);
  color: var(--ink-2);
}

.hero .btn-row { margin-top: 42px; }

.hero-note {
  margin-top: 30px;
  font-size: 13px;
  color: var(--ink-3);
  letter-spacing: .05em;
}

/* ---------- generic section ---------- */

.sec { padding-block: var(--sec-gap) 0; }

.sec:last-of-type { padding-bottom: var(--sec-gap); }

/* ---------- inner page hero ---------- */

.page-hero {
  position: relative;
  padding: 175px 0 70px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 88% -10%, rgba(90, 200, 255, .09), transparent 62%),
    radial-gradient(700px 380px at -8% 110%, rgba(255, 180, 84, .07), transparent 60%),
    var(--bg);
}

.page-hero::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, var(--cool), transparent 42%, transparent 58%, var(--warm));
  opacity: .55;
}

.page-hero .sec-en {
  display: block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 16px;
}

.page-hero h1 { font-size: clamp(30px, 4.4vw, 48px); letter-spacing: .02em; }

.page-hero .lede { margin-top: 18px; max-width: 660px; color: var(--ink-2); font-size: clamp(15.5px, 1.4vw, 17.5px); }

[id] { scroll-margin-top: 92px; }

/* ---------- service detail blocks ---------- */

.svc-detail {
  padding-block: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line);
}

.svc-detail:first-of-type { border-top: 0; padding-top: 0; }

.svc-d-head {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: clamp(18px, 2.6vw, 32px);
  align-items: start;
}

.svc-d-head h3 { font-size: clamp(22px, 2.4vw, 28px); }

.svc-d-head h3 small {
  display: block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 7px;
}

.svc-d-lede { margin-top: 14px; color: var(--ink-2); max-width: 720px; }

.svc-d-grid {
  margin-top: clamp(24px, 3vw, 38px);
  margin-left: calc(64px + clamp(18px, 2.6vw, 32px));
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: clamp(22px, 3vw, 44px);
}

.svc-d-grid h4 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--ink-3);
  margin-bottom: 14px;
}

.svc-d-grid ul { list-style: none; }

.svc-d-grid li {
  font-size: 15px;
  color: var(--ink-2);
  padding-left: 20px;
  position: relative;
  margin-top: 9px;
}

.svc-d-grid li::before {
  content: '';
  position: absolute;
  left: 0; top: .72em;
  width: 9px; height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cool), var(--warm));
}

.svc-d-grid p { font-size: 15px; color: var(--ink-2); }

@media (max-width: 860px) {
  .svc-d-grid { margin-left: 0; grid-template-columns: 1fr; }
  .svc-d-head { grid-template-columns: 1fr; }
}

/* ---------- service rows (editorial list, not cards) ---------- */

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

.svc-row {
  display: grid;
  grid-template-columns: 64px 1.05fr 1.4fr;
  gap: clamp(18px, 3vw, 44px);
  align-items: start;
  padding: clamp(26px, 3.4vw, 40px) clamp(10px, 1.6vw, 22px);
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background .3s var(--ease);
}

.svc-row::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--cool), var(--warm));
  opacity: 0;
  transition: opacity .3s var(--ease);
}

.svc-row:hover { background: rgba(15, 22, 40, .6); }

.svc-row:hover::before { opacity: 1; }

.svc-glyph {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--cool);
  background: linear-gradient(160deg, rgba(90,200,255,.07), rgba(255,180,84,.05));
}

.svc-glyph svg { width: 22px; height: 22px; }

.svc-row h3 { font-size: clamp(18px, 1.8vw, 21px); letter-spacing: .02em; }

.svc-row h3 small {
  display: block;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 5px;
}

.svc-desc { color: var(--ink-2); font-size: 15.5px; }

.svc-deliver {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.svc-deliver span {
  font-size: 12.5px;
  color: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3.5px 12px;
  background: rgba(10, 15, 30, .5);
}

/* ---------- stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat {
  padding: clamp(28px, 3.6vw, 46px) 20px;
  border-left: 1px solid var(--line);
}

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

.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: .01em;
}

.stat b sub {
  font-size: .42em;
  font-weight: 500;
  color: var(--warm);
  vertical-align: baseline;
  margin-left: 2px;
}

.stat span { display: block; margin-top: 10px; color: var(--ink-2); font-size: 14.5px; }

/* ---------- audience ---------- */

.aud-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.aud {
  background: var(--bg);
  padding: 28px 24px 30px;
  transition: background .3s var(--ease);
}

.aud:hover { background: var(--bg-raised); }

.aud b { display: block; font-size: 16.5px; font-weight: 600; letter-spacing: .03em; }

.aud p { margin-top: 10px; font-size: 13.5px; color: var(--ink-3); line-height: 1.75; }

/* ---------- process ---------- */

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 40px);
  counter-reset: step;
  position: relative;
}

.step { position: relative; padding-top: 34px; }

.step::before {
  counter-increment: step;
  content: '0' counter(step);
  position: absolute;
  top: 0; left: 0;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--cool);
}

.step::after {
  content: '';
  position: absolute;
  top: 6px; left: 44px; right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--line-strong), var(--line));
}

.step:last-child::after { background: linear-gradient(90deg, var(--line-strong), var(--warm)); }

.step h3 { font-size: 17.5px; letter-spacing: .03em; }

.step p { margin-top: 10px; font-size: 14px; color: var(--ink-2); }

/* ---------- cases (editorial blocks) ---------- */

.case {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: clamp(24px, 4vw, 64px);
  padding-block: clamp(30px, 4vw, 48px);
  border-top: 1px solid var(--line);
}

.case:last-child { border-bottom: 1px solid var(--line); }

.case-meta .ind {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--warm);
  border: 1px solid rgba(255, 180, 84, .35);
  background: var(--warm-soft);
  border-radius: 999px;
  padding: 4px 14px;
}

.case-meta h3 { margin-top: 16px; font-size: 20px; line-height: 1.5; }

.case-meta .scope {
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.9;
}

.case-body p { font-size: 15.5px; color: var(--ink-2); }

.case-body p + p { margin-top: 14px; }

.case-body .result {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 34px;
}

.case-body .result b {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--warm);
}

.case-body .result span { display: block; font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }

/* ---------- quotes ---------- */

.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3.4vw, 48px); }

.quote {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(26px, 3vw, 38px);
  background: linear-gradient(165deg, rgba(15, 22, 40, .8), rgba(10, 15, 30, .4));
  position: relative;
}

.quote::before {
  content: '\201C';
  position: absolute;
  top: 10px; right: 26px;
  font-family: var(--font-display);
  font-size: 84px;
  line-height: 1;
  color: rgba(138, 158, 200, .14);
}

.quote p { font-size: 15.5px; color: var(--ink); line-height: 2; }

.quote footer { margin-top: 20px; font-size: 13.5px; color: var(--ink-3); }

.quote footer b { color: var(--ink-2); font-weight: 600; }

/* ---------- insights list ---------- */

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

.post {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: clamp(18px, 3vw, 44px);
  align-items: baseline;
  padding: 26px 10px;
  border-bottom: 1px solid var(--line);
  transition: background .3s var(--ease);
}

.post:hover { background: rgba(15, 22, 40, .6); }

.post time { font-family: var(--font-display); font-size: 13px; color: var(--ink-3); letter-spacing: .06em; }

.post h3 { font-size: 18px; font-weight: 600; letter-spacing: .02em; }

.post p { margin-top: 8px; font-size: 14px; color: var(--ink-3); }

.post .go {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--cool);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}

.post:hover .go { opacity: 1; transform: none; }

/* ---------- article ---------- */

.article { max-width: 760px; }

.article header time { font-family: var(--font-display); font-size: 13px; color: var(--ink-3); letter-spacing: .08em; }

.article h1 { font-size: clamp(26px, 3.6vw, 38px); margin-top: 16px; line-height: 1.4; }

.article .body { margin-top: 38px; }

.article .body h2 { font-size: 21px; margin-block: 38px 16px; }

.article .body p { color: var(--ink-2); font-size: 16px; }

.article .body p + p { margin-top: 16px; }

.article .body ul { margin: 14px 0 0 22px; color: var(--ink-2); font-size: 15.5px; }

.article .body li + li { margin-top: 8px; }

.article .body strong { color: var(--ink); font-weight: 600; }

.article .note {
  margin-top: 40px;
  border-left: 3px solid var(--warm);
  background: var(--warm-soft);
  border-radius: 0 8px 8px 0;
  padding: 16px 22px;
  font-size: 14px;
  color: var(--ink-2);
}

/* ---------- about ---------- */

.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 80px); }

.about-grid .lede { font-size: clamp(19px, 2vw, 24px); line-height: 1.9; color: var(--ink); font-weight: 400; }

.about-grid .lede strong { font-weight: 700; background: linear-gradient(100deg, var(--cool) 10%, var(--warm) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }

.values { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }

.value { background: var(--bg); padding: 26px 26px 28px; }

.value h3 { font-size: 16.5px; }

.value p { margin-top: 8px; font-size: 13.5px; color: var(--ink-3); }

/* ---------- contact / form ---------- */

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 5vw, 84px); align-items: start; }

.c-item { padding-block: 22px; border-top: 1px solid var(--line); }

.c-item:last-child { border-bottom: 1px solid var(--line); }

.c-item dt { font-size: 12.5px; letter-spacing: .18em; color: var(--ink-3); }

.c-item dd { margin-top: 8px; font-size: 17px; }

.c-item dd small { display: block; font-size: 13px; color: var(--ink-3); margin-top: 3px; }

.c-item a { color: var(--ink); border-bottom: 1px solid var(--line-strong); transition: border-color .2s; }

.c-item a:hover { border-color: var(--cool); }

.form { border: 1px solid var(--line); border-radius: 14px; padding: clamp(26px, 3.4vw, 44px); background: linear-gradient(170deg, rgba(15, 22, 40, .7), rgba(8, 12, 24, .3)); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.field { margin-bottom: 18px; }

.field label { display: block; font-size: 13.5px; color: var(--ink-2); margin-bottom: 8px; }

.field label em { color: var(--warm); font-style: normal; margin-left: 2px; }

.field input, .field select, .field textarea {
  width: 100%;
  background: rgba(6, 10, 20, .7);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 16px;
  transition: border-color .2s, box-shadow .2s;
}

.field textarea { min-height: 120px; resize: vertical; }

.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--cool);
  box-shadow: 0 0 0 3px rgba(90, 200, 255, .15);
}

.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }

.form-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 6px; }

.form-hint { font-size: 12.5px; color: var(--ink-3); }

.form-msg { margin-top: 16px; font-size: 14px; display: none; padding: 12px 18px; border-radius: 8px; }

.form-msg.ok { display: block; background: rgba(90, 200, 255, .1); border: 1px solid rgba(90, 200, 255, .3); color: var(--cool); }

.form-msg.err { display: block; background: var(--warm-soft); border: 1px solid rgba(255, 180, 84, .35); color: var(--warm); }

/* ---------- faq ---------- */

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

.faq details { border-bottom: 1px solid var(--line); }

.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 6px;
  font-size: 16.5px;
  font-weight: 600;
  transition: color .2s;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: '+';
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--cool);
  transition: transform .3s var(--ease);
  flex-shrink: 0;
}

.faq details[open] summary::after { transform: rotate(45deg); }

.faq details[open] summary { color: var(--ink); }

.faq .a { padding: 0 6px 24px; color: var(--ink-2); font-size: 15px; max-width: 760px; }

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

.cta-band {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(40px, 6vw, 76px) clamp(28px, 5vw, 72px);
  overflow: hidden;
  background:
    radial-gradient(700px 320px at 88% 0%, rgba(255, 180, 84, .1), transparent 60%),
    radial-gradient(700px 340px at 6% 100%, rgba(90, 200, 255, .1), transparent 60%),
    var(--bg-raised);
}

.cta-band h2 { font-size: clamp(24px, 3.2vw, 36px); max-width: 620px; }

.cta-band p { margin-top: 14px; color: var(--ink-2); max-width: 560px; }

.cta-band .btn-row { margin-top: 34px; }

.cta-band::after {
  content: '';
  position: absolute;
  left: 8%; right: 8%; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cool), var(--warm), transparent);
  opacity: .5;
}

/* ---------- footer ---------- */

.footer {
  margin-top: var(--sec-gap);
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: -1px; left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(90,200,255,.5), rgba(255,180,84,.5), transparent);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(28px, 4vw, 60px);
  padding-block: clamp(48px, 6vw, 72px);
}

.foot-brand p { margin-top: 18px; font-size: 13.5px; color: var(--ink-3); line-height: 1.9; max-width: 300px; }

.foot-col h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--ink-2);
  margin-bottom: 18px;
}

.foot-col ul { list-style: none; }

.foot-col li + li { margin-top: 11px; }

.foot-col a { font-size: 14px; color: var(--ink-3); transition: color .2s; }

.foot-col a:hover { color: var(--cool); }

.foot-col p { font-size: 14px; color: var(--ink-3); }

.foot-col p + p { margin-top: 10px; }

.foot-bar {
  border-top: 1px solid var(--line);
  padding-block: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--ink-3);
}

.foot-bar a { color: var(--ink-3); border-bottom: 1px solid transparent; transition: color .2s; }

.foot-bar a:hover { color: var(--ink-2); }

.foot-bar .beian { display: inline-flex; align-items: center; gap: 18px; flex-wrap: wrap; }

/* ---------- reveal motion (single orchestrated moment) ---------- */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .svc-row, .post, .aud { transition: none; }
  * { animation-duration: .01ms !important; }
}

/* ---------- responsive ---------- */

@media (max-width: 1020px) {
  .aud-grid { grid-template-columns: repeat(3, 1fr); }
  .aud:nth-child(4), .aud:nth-child(5) { border-top: 1px solid var(--line); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .quotes { grid-template-columns: 1fr; }
  .contact-grid, .about-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-links {
    position: fixed;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    gap: 2px;
    background: rgba(7, 11, 22, .97);
    border-bottom: 1px solid var(--line);
    padding: 14px var(--gutter) 22px;
    display: none;
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 13px 10px; font-size: 16px; border-radius: 8px; }
  .nav-toggle { display: block; margin-left: auto; }
  .lang-switch { margin-left: 0; }
  .nav-inner { gap: 14px; }
  .hero-inner { padding-block: 130px 90px; }
  .svc-row { grid-template-columns: 1fr; gap: 14px; }
  .svc-glyph { width: 40px; height: 40px; }
  .case { grid-template-columns: 1fr; gap: 18px; }
  .post { grid-template-columns: 1fr; gap: 6px; }
  .post .go { display: none; }
  .aud-grid { grid-template-columns: 1fr; }
  .aud + .aud { border-top: 1px solid var(--line); }
  .process { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .foot-grid { grid-template-columns: 1fr; gap: 34px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: clamp(30px, 8.4vw, 40px); }
}
