/* ============================================================================
 *  style.css
 *  ---------------------------------------------------------------------------
 *  ① 主题变量  ← 换配色 / 字体 / 圆角，改这里就够了
 *  ② 基础重置与排版
 *  ③ 通用组件（按钮 / 链接 / 标签）
 *  ④ 公告条 + 头部 + 大面板 + 抽屉
 *  ⑤ 首屏
 *  ⑥ 客户与证言
 *  ⑦ 我们的核心优势
 *  ⑧ 能力展示
 *  ⑨ 荣誉 / CTA / 页脚
 *  ⑩ 动画 & 响应式
 * ==========================================================================*/

/* --------------------------------------------------------- ① 主题变量 */
/* 配色依据《DESIGN.md v1.0》：源色取自 logo（墨黑 / 龙鳞绿 / 旧金 / 腹鳞青 / 纸白） */
:root {
  /* ---- 品牌绿：龙鳞。源色，勿手调 ---- */
  --brand:        #2b8f52;  /* 图形、装饰、≥24px 大字 */
  --brand-deep:   #0f773e;  /* 绿系文字 + 实心按钮底（白字 5.63:1） */
  --brand-strong: #0a5c2f;  /* hover / active */
  --brand-75:     #419b60;
  --brand-50:     #72bb88;
  --brand-25:     #bbe3c5;
  --brand-5:      #e9f9ed;

  /* ---- 旧金：只做一线光，面积 ≤5% ---- */
  --gold:         #e0a341;
  --gold-ink:     #946300;  /* 金色文字唯一可用值 */
  --gold-strong:  #a16600;
  --gold-25:      #f4dab5;
  --gold-5:       #fef4e6;

  /* ---- 腹鳞青：标签底、图表第二色 ---- */
  --sage:         #cfdda6;
  --sage-5:       #f0f5e2;

  /* ---- 中性：暖调纸感 ---- */
  --ink:          #101613;  /* 三角帽的墨 */
  --ink-2:        #2c3530;
  --muted:        #5b635d;
  --line:         #e2e0d5;
  --line-strong:  #cbc8b8;
  --paper:        #fbfaf4;
  --paper-2:      #f8f6ec;
  --paper-3:      #f0edde;
  --white:        #ffffff;
  --night:        #010916;  /* 整块深色背景的夜 */

  /* ---- 兼容旧变量名（存量规则在用，新代码请用语义名） ---- */
  --dust-5: var(--paper);
  --dust-10: var(--paper-2);
  --dust-25: var(--paper-3);
  --dust-50: var(--line-strong);
  --dust-stroke: var(--line);
  --fog-5: #f5f4ec;
  --fog-25: #c9cec6;
  --fog-50: #8b938c;
  --fog-100: var(--muted);
  --glass: rgba(251, 250, 244, 0.70);

  /* 字体：Söhne 商用，用系统字体近似；无授权时 Inter 是最接近的替代 */
  --font-sans: "Söhne", "Inter", "HarmonyOS Sans SC", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Söhne Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* 字阶（桌面 / 移动连续缩放，不做硬跳） */
  --fs-hero: clamp(2rem, 4.5vw, 4rem);          /* 64px */
  --lh-hero: 1.24;
  --fs-section: clamp(1.5rem, 3.1vw, 3rem);     /* 48px */
  --lh-section: 1.18;
  --fs-card: clamp(1.125rem, 1.6vw, 2rem);      /* 32px */
  --fs-lead: clamp(1.0625rem, 1.75vw, 1.75rem); /* 28px */
  --fs-body: 1rem;
  --fs-sm: 0.9375rem;
  --fs-xs: 0.8125rem;

  /* 间距 / 尺寸 */
  --site: 1440px;
  --pad: 64px;
  --announce-h: 42px;
  --nav-h: 60px;
  --header-h: calc(var(--announce-h) + var(--nav-h));

  /* 区块垂直节奏 */
  --sec-y: clamp(72px, 7vw, 112px);
  --sec-y-lg: clamp(88px, 11vw, 168px);
  --sec-y-sm: clamp(64px, 9vw, 132px);

  /* 圆角 / 阴影 */
  --r-xs: 4px;
  --r-s: 8px;
  --r-m: 16px;
  --r-l: 24px;
  --sh-card: 0 8px 24px -8px rgba(16, 22, 19, 0.06), 0 36px 64px -20px rgba(16, 22, 19, 0.16);
  --sh-float: 0 40px 80px -24px rgba(1, 9, 22, 0.35);

  /* 动效 */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-fast: 160ms;
  --dur-base: 220ms;
  --dur-slow: 420ms;
}

/* 深色区块：给任意容器加 .night 即切换语义（CTA 区用得到） */
.night {
  --on-night: rgba(255, 255, 255, 0.88);
  --on-night-2: #b8c6bc;
  --on-night-line: rgba(255, 255, 255, 0.14);
  --on-night-brand: #51a76e;
  --on-night-gold: #e0a341;
  background: var(--night);
  color: var(--on-night);
}

/* --------------------------------------------------- ② 基础重置与排版 */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
blockquote { margin: 0; }
figure { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 500; }

::selection { background: var(--brand-deep); color: #fff; }

:focus-visible {
  outline: 2px solid var(--brand-deep);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 999;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-s);
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: var(--site);
  margin-inline: auto;
  padding-inline: var(--pad);
}

section[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.sec-title {
  font-size: var(--fs-section);
  line-height: var(--lh-section);
  letter-spacing: -0.032em;
  font-weight: 500;
  text-wrap: balance;
  max-width: 20em;
}

.hl { color: var(--brand); }  /* 32–64px 大字，4.07 达标 */

.only-desktop { display: none; }
@media (min-width: 1081px) {
  .only-desktop { display: inline; }
}

.eyebrow {
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

/* 签名笔触：2px×32px 旧金短线，只出现在区块标题上方，每屏 ≤2 处 */
.clients__head::before,
.advantages__head::before,
.features__head::before,
.cta__inner::before {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  margin-bottom: 20px;
  background: var(--gold);
  border-radius: 1px;
}
.sec-rule {
  display: block;
  width: 32px;
  height: 2px;
  margin-bottom: 20px;
  background: var(--gold);
  border-radius: 1px;
}

/* --------------------------------------------------------- ③ 通用组件 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--r-s);
  padding: 13px 22px;
  font-size: var(--fs-sm);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 0.22s var(--ease), color 0.22s var(--ease),
    border-color 0.22s var(--ease), transform 0.22s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--sm { padding: 9px 16px; font-size: var(--fs-xs); }
.btn--primary { background: var(--brand-deep); color: #fff; }
.btn--primary:hover { background: var(--brand-strong); }
.btn--ghost {
  color: var(--ink);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.6);
}
.btn--ghost:hover { border-color: var(--ink); background: #fff; }
.btn--white { background: #fff; color: var(--brand-deep); }
.btn--white:hover { background: var(--brand-5); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-strong); color: #fff; }
.btn--block { width: 100%; }

/* 箭头图标：全站 ← ↑ → ↓ 统一用这套描边 SVG，尺寸跟字号、颜色跟文字 */
.ico {
  width: 1em;
  height: 1em;
  flex: none;
  vertical-align: -0.12em;
}
.ico path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-sm);
  color: var(--brand-deep);
  font-weight: 500;
}
.link-arrow__ico { transition: transform 0.24s var(--ease); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 3px; }
.link-arrow:hover .link-arrow__ico { transform: translateX(4px); }

.link-plain {
  font-size: var(--fs-sm);
  color: var(--ink);
  transition: color var(--dur-base) var(--ease);
}
.link-plain:hover { color: var(--brand-deep); }

/* ---- 标签 / 徽章（DESIGN.md 5.3）：11px / 0.04em / 4px 圆角，不用实心色块 ---- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: var(--r-xs);
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.04em;
  background: var(--sage-5);
  color: var(--ink-2);
}
.tag--brand { background: var(--brand-5); color: var(--brand-deep); }
.tag--gold { background: var(--gold-5); color: var(--gold-ink); }

/* ---- 纸卡（DESIGN.md 5.4）：--paper-2 底、无描边，靠明度分层 ---- */
.card--paper {
  padding: 24px;
  border-radius: var(--r-m);
  background: var(--paper-2);
}

/* ---- 表单（DESIGN.md 5.6） ---- */
.input,
.select,
.textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-s);
  padding: 12px 14px;
  font-size: var(--fs-sm);
  font-family: inherit;
  background: var(--white);
  color: var(--ink);
  transition: border-color var(--dur-base) var(--ease);
}
.input:focus,
.select:focus,
.textarea:focus {
  border-color: var(--brand);
  outline: 2px solid var(--brand-25);
  outline-offset: 0;
}
.input::placeholder,
.textarea::placeholder { color: var(--muted); opacity: 0.75; }
.input[aria-invalid="true"],
.textarea[aria-invalid="true"] { border-color: #c0392b; }

.ticks li {
  position: relative;
  padding: 9px 0 9px 16px;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--ink);
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 18px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--line-strong);
}

/* ------------------------------------- ④ 公告条 + 头部 + 大面板 + 抽屉 */
.announce {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 60;
  height: var(--announce-h);
  background: var(--brand-deep);
  color: #fff;
  transition: transform 0.26s var(--ease), opacity 0.26s;
}
.announce.is-closing { transform: translateY(-100%); opacity: 0; }
.announce__inner {
  max-width: 1920px;
  height: 100%;
  margin-inline: auto;
  padding-inline: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
}
.announce__text {
  font-size: var(--fs-sm);
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.announce__link {
  flex: none;
  color: var(--brand-25);
  font-size: var(--fs-xs);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.announce__link:hover { color: #fff; }
.announce__close {
  position: absolute;
  right: 16px;
  top: 50%;
  translate: 0 -50%;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: var(--r-xs);
  color: rgba(255, 255, 255, 0.75);
  transition: background 0.2s, color 0.2s;
}
.announce__close:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }

.header {
  position: fixed;
  inset-inline: 0;
  top: var(--announce-h);
  z-index: 50;
}
.header__bar {
  height: var(--nav-h);
  background: rgba(251, 250, 244, 0.30);
  backdrop-filter: saturate(180%) blur(16px);
  transition: background-color var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
  border-bottom: none;
}
.header.is-scrolled .header__bar,
.header.is-panel-open .header__bar {
  background: rgba(251, 250, 244, 0.30);
}
.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}
/* 品牌标识 = 龙头图形 + HTML 字标（文字不进图片，可选中、可收录） */
.brand {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
}
/* mark.svg 的绘制区在 512 画布里只占 354×399 且有留白，故按视觉尺寸放大到 40px */
.brand__mark { display: block; width: 40px; height: 40px; }
.brand__word {
  display: flex;
  align-items: baseline;
  font-size: 1.0625rem;      /* 17px */
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand__name { font-weight: 600; color: var(--ink); }
/* 后缀「AI应用」灰度降一档、字号略收，避免和「科技」黏成一片 */
.brand__suffix { margin-left: 3px; font-size: 0.94em; font-weight: 400; color: var(--muted); }

.nav { min-width: 0; }
.nav__ul { display: flex; align-items: center; gap: 2px; }
.nav__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  border-radius: var(--r-xs);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink);
  transition: background-color var(--dur-base) var(--ease), color var(--dur-base) var(--ease);
}
.nav__btn:hover,
.nav__btn.is-open { background: var(--paper-2); color: var(--brand-deep); }

/* 当前页：文字转 brand-deep + 2px 底部短金线（不用整条下划线） */
.nav__btn.is-active { color: var(--brand-deep); }
.nav__btn.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 16px;
  height: 2px;
  border-radius: 1px;
  background: var(--gold);
  transform: translateX(-50%);
}
.nav__chev { transition: transform 0.24s var(--ease); opacity: 0.55; }
.nav__btn.is-open .nav__chev { transform: rotate(180deg); opacity: 1; }

.header__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
}
.act-link { font-size: var(--fs-sm); color: var(--ink); transition: color 0.2s; }
.act-link:hover { color: var(--brand-deep); }

.lang { position: relative; }
.lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-xs);
  color: var(--fog-100);
  padding: 6px 8px;
  border-radius: var(--r-xs);
  transition: background 0.2s, color 0.2s;
}
.lang__btn:hover { background: var(--dust-5); color: var(--ink); }
.lang__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 148px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--dust-stroke);
  border-radius: var(--r-s);
  box-shadow: 0 18px 40px -18px rgba(1, 9, 22, 0.28);
}
.lang__menu a {
  display: block;
  padding: 8px 10px;
  border-radius: var(--r-xs);
  font-size: var(--fs-xs);
  color: var(--fog-100);
}
.lang__menu a:hover { background: var(--dust-5); color: var(--ink); }
.lang__menu a[aria-current] { color: var(--brand-deep); font-weight: 500; }

.burger {
  display: none;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border-radius: var(--r-xs);
}
.burger span {
  display: block;
  width: 17px;
  height: 1.6px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.24s var(--ease);
}
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.3px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.3px) rotate(-45deg); }

/* 大面板 */
.mega {
  position: absolute;
  top: 100%;
  inset-inline: 0;
  background: #fff;
  border-bottom: 1px solid var(--dust-stroke);
  box-shadow: 0 40px 60px -28px rgba(1, 9, 22, 0.32);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease);
  pointer-events: none;
}
.mega.is-open { opacity: 1; transform: none; pointer-events: auto; }
.mega__inner { padding-block: 36px 44px; }
.mega__head { display: none; }
.mega__foot {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--dust-stroke);
}
.mega__foot a {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--brand-deep);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.mega__foot a:hover { color: var(--brand-strong); }
.mega__label { font-size: var(--fs-xs); letter-spacing: 0.14em; color: var(--muted); }
.mega__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
}
.mega__gtitle {
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.mega__list { display: grid; gap: 2px; }
.mega__card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 14px;
  border-radius: var(--r-s);
  transition: background 0.2s;
}
.mega__card:hover { background: var(--dust-5); }
.mega__card-t { font-size: 0.9375rem; font-weight: 500; }
.mega__card-d { font-size: var(--fs-xs); color: var(--fog-100); }
.mega__card:hover .mega__card-t { color: var(--brand-deep); }

.mega__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}
.mega__cell {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px;
  border-radius: var(--r-s);
  border: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s;
}
.mega__cell:hover { background: var(--dust-5); border-color: var(--dust-25); }
.mega__cell-t { font-size: 0.9375rem; font-weight: 500; }
.mega__cell-d { font-size: var(--fs-xs); color: var(--fog-100); line-height: 1.45; text-wrap: pretty; }

.mega__simple {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
}
.mega__simple a {
  display: block;
  padding: 12px 14px;
  border-radius: var(--r-s);
  font-size: 0.9375rem;
  transition: background 0.2s, color 0.2s;
}
.mega__simple a:hover { background: var(--dust-5); color: var(--brand-deep); }

/* 移动抽屉 */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(1, 9, 22, 0.28);
  opacity: 0;
  transition: opacity 0.26s var(--ease);
}
.drawer.is-open { opacity: 1; }
.drawer__panel {
  position: absolute;
  inset: 0;
  background: #fff;
  display: flex;
  flex-direction: column;
  transform: translateY(-12px);
  transition: transform 0.28s var(--ease);
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--dust-stroke);
}
.drawer__top .brand { gap: 9px; }
.drawer__top .brand__mark { width: 32px; height: 32px; }
.drawer__top .brand__word { font-size: 1rem; }
.drawer__close { width: 32px; height: 32px; display: grid; place-items: center; }
.drawer__scroll {
  flex: 1;
  overflow-y: auto;
  padding: 8px 20px 24px;
  -webkit-overflow-scrolling: touch;
}
.acc { border-bottom: 1px solid var(--dust-stroke); }
.acc__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 2px;
  font-size: 1.0625rem;
  font-weight: 500;
}
.acc__btn svg { transition: transform 0.24s var(--ease); opacity: 0.5; }
.acc.is-open .acc__btn svg { transform: rotate(180deg); }
.acc__body {
  height: 0;
  overflow: hidden;
  transition: height 0.28s var(--ease);
}
.acc__inner { padding-bottom: 16px; }
.drawer__group + .drawer__group { margin-top: 16px; }
.drawer__gtitle {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dust-50);
  margin-bottom: 6px;
}
.acc__inner ul li a,
.drawer__grid li a {
  display: block;
  padding: 10px 0;
  font-size: 0.9375rem;
}
.acc__inner ul li a b,
.drawer__grid li a b { display: block; font-weight: 500; }
.acc__inner ul li a span,
.drawer__grid li a span { display: block; font-size: var(--fs-xs); color: var(--fog-100); }
.drawer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.drawer__link {
  display: block;
  padding: 16px 2px;
  font-size: 1.0625rem;
  font-weight: 500;
  border-bottom: 1px solid var(--dust-stroke);
}
.drawer__foot {
  padding: 16px 20px calc(20px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--dust-stroke);
  display: grid;
  gap: 14px;
  background: #fff;
}
.drawer__footrow { display: flex; justify-content: center; gap: 24px; font-size: var(--fs-sm); color: var(--fog-100); }

/* ------------------------------------------------------------- ⑤ 首屏 */
.hero {
  position: relative;
  background: var(--paper);
  padding-top: var(--header-h);
  overflow-x: clip;
  isolation: isolate;
}
/* 首屏山水背景图：铺满 + 上方白色轻遮罩保证深色标题可读，底部渐隐过渡到纸色 */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    url("../img/bg-hero-index.jpg") center 30% / cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(251, 250, 244, 0.88) 0%,
    rgba(251, 250, 244, 0.88) var(--header-h),
    rgba(251, 250, 244, 0.90) calc(var(--header-h) + 8px),
    rgba(251, 250, 244, 0.88) 34%,
    rgba(251, 250, 244, 0.60) 56%,
    rgba(251, 250, 244, 0.30) 76%,
    rgba(251, 250, 244, 0.12) 90%,
    var(--paper-2) 100%
  );
}
.hero__inner {
  position: relative;
  z-index: 2;
  padding-top: clamp(48px, 8vw, 140px);
}
.hero__text {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.6vw, 40px);
  max-width: 800px;
}
.hero__title {
  font-size: var(--fs-hero);
  line-height: var(--lh-hero);
  letter-spacing: -0.044em;
  font-weight: 500;
  text-wrap: balance;
}
.hero__desc {
  max-width: 720px;
  font-size: var(--fs-lead);
  line-height: 1.5;
  text-wrap: pretty;
  color: var(--ink);
  letter-spacing: -0.012em;
}
/* 首屏副标题里的强调（**...**）：品牌绿 + 加粗 + 金色下划线 */
.hero__desc .hero-desc-hl {
  font-style: normal;
  font-weight: 700;
  color: var(--brand);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.hero__object {
  position: absolute;
  z-index: 1;
  left: 53%;
  top: 0;
  /* 高度封顶在 520px，让淡出收在流程卡上沿之前，避免被卡片切成半个圆盘 */
  height: min(56vh, 520px);
  width: auto;
  pointer-events: none;
  mask-image: linear-gradient(180deg, #000 68%, transparent 100%);
}
.hero__object img { height: 100%; width: auto; }

/* ---- 首屏「深度陪跑服务过程」图 ---- */
.flow {
  position: relative;
  z-index: 5;
  width: min(100% - 2 * var(--pad), 1180px);
  margin: clamp(40px, 5vw, 76px) auto 0;
  padding-bottom: clamp(56px, 7vw, 104px);
}
.flow__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 32px;
  flex-wrap: wrap;
  margin-bottom: 22px;
  padding-inline: 4px;
}
.flow__title {
  margin: 0;
  font-size: var(--fs-section);
  line-height: var(--lh-section);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.flow__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--fs-xs);
  color: var(--muted);
}
.flow__legend li { display: inline-flex; align-items: center; gap: 7px; }
.flow__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
  margin-top: clamp(14px, 1.8vw, 24px);
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.flow__note {
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
  color: var(--muted);
}
.flow__sw {
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: #fff;
  border: 1px solid var(--line-strong);
}
.flow__sw.tone-brand { background: var(--brand-deep); border-color: var(--brand-strong); }
.flow__sw.tone-ink { background: var(--ink); border-color: var(--ink); }
.flow__sw.tone-leaf { background: var(--brand-50); border-color: var(--brand); }

.flow__board {
  position: relative;
  padding: clamp(18px, 2.2vw, 32px) clamp(14px, 2.4vw, 40px);
  border-radius: var(--r-l);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--sh-card);
}
.flow__canvas {
  position: relative;
  aspect-ratio: 1180 / 750;   /* 层间留足走线空间，压低时折线不会贴着节点 */
}
.flow__grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(16, 22, 19, 0.08) 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: radial-gradient(120% 120% at 50% 45%, #000 34%, transparent 96%);
}
.flow__links {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}
.flow__nodes { position: absolute; inset: 0; }

/* 节点：两种呈现（桌面绝对定位 / 窄屏静态胶囊）共用一套配色 */
.node,
.fchip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
}
.node {
  position: absolute;
  z-index: 2;
  padding: 7px 11px;
  font-size: clamp(11px, 0.9vw, 13px);
  white-space: nowrap;
  box-shadow: 0 2px 6px -2px rgba(16, 22, 19, 0.12);
  transform: translate(-50%, -50%);
  animation: nodePulse 4.6s var(--ease) infinite;
  animation-delay: var(--d);
}
.node__dot {
  width: 5px;
  height: 5px;
  border-radius: 2px;
  background: var(--brand-50);
  flex: none;
}
.tone-leaf { background: var(--brand-5); border-color: var(--brand-25); color: var(--brand-deep); }
.tone-leaf .node__dot { background: var(--brand); }
.tone-brand {
  background: var(--brand-deep);
  border-color: var(--brand-strong);
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(15, 119, 62, 0.6);
}
.tone-brand .node__dot { background: rgba(255, 255, 255, 0.88); }
.tone-ink { background: var(--ink); border-color: var(--ink); color: #fff; }
.tone-ink .node__dot { background: var(--gold); }

@keyframes nodePulse {
  0%, 88%, 100% { box-shadow: 0 2px 6px -2px rgba(16, 22, 19, 0.12); }
  92% { box-shadow: 0 0 0 4px rgba(43, 143, 82, 0.16); }
}

/* 窄屏版本：默认隐藏，在 ≤900px 时接管 */
.flow__stack { display: none; }
.flow__row {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.fchip { position: relative; z-index: 2; padding: 6px 10px; font-size: var(--fs-xs); }

/* ------------------------------------------------- ⑥ 客户与证言 */
.clients {
  background: var(--fog-5);
  padding-top: clamp(56px, 7vw, 104px);
  padding-bottom: clamp(72px, 9vw, 128px);
}
.clients__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 4vw, 56px);
}
.clients__head .sec-title { max-width: 16em; }

/* 客户案例：左右两张「服务前 / 服务后」对比卡，外壳复用 .card-glass（无链接） */
.cases {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: stretch;
}
.case .card-glass__body { gap: 22px; }
/* 行距固定，两张卡的条目节奏保持一致；条目少的那张底部留白，不撑开行距 */
.case-rows { display: grid; gap: 18px; align-content: start; }
.case-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 5px;
  align-items: start;
}
.case-row + .case-row { padding-top: 16px; border-top: 1px solid var(--line); }
.case-row__k {
  font-size: 0.6875rem;
  line-height: 1.95;              /* 与右侧正文首行基线对齐 */
  color: var(--muted);
  white-space: nowrap;
}
.case-row__k--after { color: var(--brand-deep); }
.case-row__v { margin: 0; font-size: var(--fs-sm); line-height: 1.55; }
.case-row__v--before { color: var(--fog-100); }
.case-row__v--after { color: var(--ink); font-weight: 500; }
.case-num { font-style: normal; font-weight: 600; color: var(--brand-deep); }


.marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
  width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.wordmark {
  font-size: clamp(0.9375rem, 1.2vw, 1.0625rem);
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--fog-50);
  white-space: nowrap;
  transition: color var(--dur-base) var(--ease);
}
.wordmark:hover { color: var(--ink); }

/* 客户 ≤4 家：静态排一排，两端对齐铺满整行（三家名字滚起来像循环播放，反而不像 logo 墙） */
.logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px clamp(24px, 4vw, 56px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.logos .wordmark { letter-spacing: 0.06em; }

.quotes { display: grid; gap: 24px; }
.quotes__stage { display: grid; }
.quote {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 960px;
}
.quote.is-active { opacity: 1; transform: none; pointer-events: auto; }
.quote__text {
  font-size: clamp(1.0625rem, 1.6vw, 1.375rem);
  line-height: 1.62;
  letter-spacing: -0.011em;
  color: var(--ink);
  text-wrap: pretty;
}
.quote__meta { display: flex; align-items: center; gap: 12px; }
.quote__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand-5);
  color: var(--brand-deep);
  font-weight: 500;
  flex: none;
}
.quote__who { display: flex; flex-direction: column; line-height: 1.35; }
.quote__who b { font-size: var(--fs-sm); font-weight: 500; }
.quote__who span { font-size: var(--fs-xs); color: var(--fog-100); }

.quotes__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--dust-stroke);
  padding-top: 20px;
}
.dots { display: flex; gap: 8px; }
.dot {
  width: 22px;
  height: 3px;
  border-radius: 999px;
  background: var(--fog-25);
  transition: background 0.24s, width 0.24s;
}
.dot.is-active { background: var(--brand); width: 36px; }
.arrows { display: flex; gap: 8px; }
.arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--dust-stroke);
  display: grid;
  place-items: center;
  background: #fff;
  transition: border-color 0.2s, color 0.2s;
}
.arrow:hover { border-color: var(--ink); color: var(--brand-deep); }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid var(--dust-stroke);
  padding-top: 28px;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat b {
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--gold-ink);   /* 关键数字：唯一允许的金色文字 */
}
.stat span { font-size: var(--fs-xs); color: var(--fog-100); }

/* ------------------------------------------------------- ⑦ 我们的核心优势 */
.advantages {
  position: relative;
  padding-block: clamp(72px, 7vw, 112px);
  overflow: hidden;
  isolation: isolate;
}
.advantages__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--paper-2);
}
.advantages__bg span {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
}
.advantages__bg span:nth-child(1) {
  width: 62vw;
  height: 62vw;
  left: -14vw;
  top: -22vw;
  background: rgba(43, 143, 82, 0.14);
}
.advantages__bg span:nth-child(2) {
  width: 48vw;
  height: 48vw;
  right: -8vw;
  top: -6vw;
  background: rgba(207, 221, 166, 0.34);
}
.advantages__bg span:nth-child(3) {
  width: 70vw;
  height: 40vw;
  left: 22vw;
  bottom: -24vw;
  background: rgba(251, 250, 244, 0.9);
}
.advantages__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--paper) 0, rgba(251, 250, 244, 0) 150px),
    linear-gradient(0deg, var(--paper) 0, rgba(251, 250, 244, 0) 150px),
    radial-gradient(80% 60% at 50% 0%, rgba(255, 255, 255, 0.55), transparent);
}
.advantages__inner { display: flex; flex-direction: column; gap: clamp(32px, 4vw, 56px); }
.advantages__head { padding-left: 8px; }
.advantages__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
/* 核心优势卡：只有「序号 + 标题 + 一段话」，比部署卡少内容，所以留白放大一点 */
.advantages .card-glass { padding: 28px 26px; gap: 20px; }
.advantages .card-glass__desc { line-height: 1.72; }
.card-glass {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px;
  border-radius: var(--r-m);
  border: 1px solid var(--line);
  background: var(--white);
  transition: border-color var(--dur-base) var(--ease), transform var(--dur-base) var(--ease);
}
.card-glass:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
}
.card-glass__tag {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-left: 10px;
}
.card-glass__body { flex: 1; display: flex; flex-direction: column; gap: 18px; }
.card-glass__name {
  font-size: var(--fs-card);
  line-height: 1.1;
  letter-spacing: -0.03em;
  padding-left: 4px;
}
.card-glass__desc {
  font-size: var(--fs-sm);
  line-height: 1.55;
  color: var(--fog-100);
  max-width: 26em;
  padding-left: 10px;
}
.card-glass .ticks { display: grid; gap: 0; }
.card-glass__foot {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-left: 10px;
  flex-wrap: wrap;
}
.card-glass__badge { height: 20px; width: auto; opacity: 0.8; }
.card-glass:last-child .card-glass__foot { margin-top: auto; }

/* ------------------------------------------------------- ⑧ 能力展示 */
.features {
  background: var(--paper-2);
  padding-block: clamp(72px, 7vw, 112px);
}
.features__inner { display: flex; flex-direction: column; gap: clamp(32px, 4vw, 56px); }
.features__head { padding-left: 8px; }
.features__lead {
  max-width: 40em;
  margin-top: 18px;
  font-size: var(--fs-lead);
  line-height: 1.62;
  color: var(--ink-2);
  text-wrap: pretty;
}
/* 17px 小字里 --brand 对比度不够，用深一档的绿 */
.features__lead strong {
  font-weight: 600;
  color: var(--ink);
}
.features__lead .hl {
  color: var(--brand-deep);
  font-weight: 600;
  white-space: nowrap;
  /* 小字里用一道浅绿底线做强调，比整段换色更克制 */
  background: linear-gradient(transparent 74%, var(--brand-25) 74%, var(--brand-25) 96%, transparent 96%);
}

.showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 358px;
  gap: 8px;
  align-items: start;
}
.showcase__stage {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-self: start;
}
.showcase__frame {
  padding: 8px;
  border-radius: var(--r-m);
  border: 1px solid var(--dust-stroke);
  background: #fff;
  box-shadow: var(--sh-card);
}
.showcase__shots {
  position: relative;
  aspect-ratio: 1200 / 720;
  border-radius: var(--r-s);
  overflow: hidden;
  border: 1px solid var(--dust-stroke);
  background: var(--fog-5);
}
.shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}
.shot.is-active { opacity: 1; transform: none; }
.showcase__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-inline: 2px;
}
.tab {
  padding: 7px 12px;
  border-radius: var(--r-xs);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  font-size: var(--fs-xs);
  color: var(--muted);
  transition: background-color var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease),
    color var(--dur-base) var(--ease);
}
.tab:hover { border-color: var(--line-strong); color: var(--ink); }
.tab.is-active { background: var(--brand-5); border-color: var(--brand-25); color: var(--brand-deep); }

.showcase__list { display: flex; flex-direction: column; }
.feature {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 26px;
  border-radius: var(--r-m);
  border: 1px solid transparent;
  transition: background-color var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease),
    opacity var(--dur-base) var(--ease);
  min-height: 27vh;
  justify-content: center;
}
.feature__idx {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.feature__title {
  font-size: 1.5rem;
  line-height: 1.28;
  letter-spacing: -0.026em;
  font-weight: 500;
  text-wrap: balance;
}
.feature__desc { font-size: var(--fs-sm); line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.feature.is-active {
  background: var(--white);
  border-color: var(--line);
}
.feature:not(.is-active) { opacity: 0.55; }
.feature:not(.is-active):hover { opacity: 0.85; }

/* ------------------------------------------------- ⑨ 荣誉 / CTA / 页脚 */
.award {
  position: relative;
  background: var(--night);
  color: var(--on-night);
  padding-block: clamp(64px, 9vw, 132px);
  overflow: hidden;
  isolation: isolate;
}
.award__lines {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.09) 0 1px,
    transparent 1px 25%
  );
  mask-image: linear-gradient(180deg, #000, transparent 92%);
}
.award__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.award__badge {
  width: min(100%, 460px);
  border-radius: 12px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.55);
}
.award__body { display: flex; flex-direction: column; align-items: flex-start; gap: 32px; }
.award__title {
  font-size: clamp(1.5rem, 3vw, 2.75rem);
  line-height: 1.16;
  letter-spacing: -0.032em;
  font-weight: 500;
  text-wrap: balance;
  max-width: 18em;
}
.award__hl { color: #fff; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.award__legal {
  margin-top: clamp(40px, 6vw, 88px);
  font-size: 0.75rem;
  line-height: 1.7;
  color: var(--on-night-2);
  max-width: 980px;
}

/* 收尾 CTA：全站唯一深色区块。墨黑压阵，让龙鳞绿与旧金在夜里被托起来
   （DESIGN.md 1.4 中性 30% / 1.6 深色 CTA 区 / 5.1 金按钮仅限深色区块） */
.cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: var(--sec-y-lg);
  background: var(--night);
  color: var(--on-night);
}
.cta__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(1, 9, 22, 0.72) 0%, rgba(1, 9, 22, 0.55) 45%, rgba(1, 9, 22, 0.78) 100%),
    radial-gradient(58% 72% at 50% 112%, rgba(43, 143, 82, 0.30), transparent 70%),
    url("../img/bg-cta.jpg") center / cover no-repeat,
    var(--night);
}
.cta .sec-title { color: #fff; }
/* 深底上的描边按钮：换成透明白描边，红色不可见的问题一并解决 */
.night .btn--ghost {
  color: var(--on-night);
  border-color: rgba(255, 255, 255, 0.26);
  background: transparent;
}
.night .btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
/* 深底上的品牌文字与关键数字 */
.night .hl { color: var(--on-night-brand); }
.night .stat b { color: var(--on-night-gold); }
.cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}
.cta .sec-title { max-width: 18em; }
.cta__desc {
  font-size: var(--fs-lead);
  line-height: 1.5;
  text-wrap: pretty;
  color: var(--on-night-2);
  max-width: 760px;
  letter-spacing: -0.01em;
}
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 12px; }
/* 三步说明：一行一条，不折行成段，读起来像清单 */
.cta__steps {
  display: grid;
  gap: 7px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  line-height: 1.64;
  color: var(--on-night-2);
  text-wrap: pretty;
}
.cta__steps li { font-variant-numeric: tabular-nums; }

/* ---- 联系我们浮层 ---- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
}
.modal[hidden] { display: none; }
.modal__mask {
  position: absolute;
  inset: 0;
  background: rgba(6, 12, 9, 0.6);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.24s var(--ease);
}
.modal__panel {
  position: relative;
  width: min(372px, 100%);
  padding: 30px 28px 26px;
  border-radius: var(--r-l);
  background: var(--white);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.26);
  opacity: 0;
  transform: translateY(10px) scale(0.985);
  transition: opacity 0.26s var(--ease), transform 0.26s var(--ease);
}
.modal.is-open .modal__mask { opacity: 1; }
.modal.is-open .modal__panel { opacity: 1; transform: none; }

.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--muted);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.modal__close:hover { background: var(--paper-3); color: var(--ink); }

.modal__title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-align: center;
}
.modal__rows {
  display: grid;
  gap: 22px;
  margin-top: 22px;
  text-align: center;
}
.modal-row {
  display: grid;
  gap: 8px;
  justify-items: center;
}
.modal-row + .modal-row {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.modal-row__label {
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  color: var(--muted);
}
.modal-row__phone {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--brand-deep);
}
.modal-row__phone:hover { text-decoration: underline; text-underline-offset: 4px; }

.modal-qr { display: grid; gap: 10px; justify-items: center; }
.modal-qr img {
  width: 200px;
  height: 200px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  object-fit: contain;
}
.modal-qr figcaption { font-size: var(--fs-xs); color: var(--muted); }

.footer {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding-top: clamp(48px, 6vw, 80px);
}
.footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.8fr);
  gap: clamp(32px, 5vw, 64px);
  padding-bottom: clamp(40px, 5vw, 64px);
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.footer__ctitle {
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 16px;
}
.footer__col li + li { margin-top: 10px; }
.footer__col a { font-size: var(--fs-sm); color: var(--ink); transition: color 0.2s; }
.footer__col a:hover { color: var(--brand-deep); }
.footer__aside { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.brand--footer { gap: 8px; }
.brand--footer .brand__mark { width: 30px; height: 30px; }
.brand--footer .brand__word { font-size: 0.9375rem; }
.footer__contact { font-size: var(--fs-xs); color: var(--fog-100); }
.footer__social { display: flex; flex-wrap: wrap; gap: 8px; }
.footer__social a {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--dust-stroke);
  font-size: 0.75rem;
  color: var(--fog-100);
  transition: border-color 0.2s, color 0.2s;
}
.footer__social a:hover { border-color: var(--ink); color: var(--ink); }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 20px 28px;
  border-top: 1px solid var(--dust-stroke);
  font-size: var(--fs-xs);
  color: var(--fog-100);
}
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}
.footer__beian {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: inherit;
  transition: color 0.2s;
}
.footer__beian:hover { color: var(--ink); }
.footer__beian img {
  width: 17px;
  height: 18px;
  flex: none;
  /* 备案图标本身带白底，轻微灰化让它融进页脚 */
  opacity: 0.92;
}
.footer__top { transition: color 0.2s; }
.footer__top:hover { color: var(--brand-deep); }

/* ------------------------------------------------- ⑩ 动画 & 响应式 */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: 0.06s; }

@media (max-width: 1280px) {
  :root { --pad: 40px; }
  .header__actions { gap: 14px; }
}

@media (max-width: 1080px) {
  :root {
    --pad: 20px;
    --nav-h: 56px;
    --announce-h: 40px;
    --fs-hero: 1.75rem;
    --lh-hero: 1.32;
    --fs-section: 1.5rem;
    --fs-lead: 1rem;
  }
  .nav { display: none; }
  .burger { display: flex; }
  .header__actions { gap: 10px; }
  .header__actions > .act-link { display: none; }
  .lang { display: none; }
  .announce__inner { padding-inline: 44px 40px; }
  .announce__text { font-size: 0.75rem; line-height: 1.35; display: block; }
  .announce__link { display: none; }

  .hero { display: block; }
  .hero__inner { padding-top: 40px; }
  /* 移动端也保留首屏标题的强制断行，避免 text-wrap: balance 把词切断 */
  .hero__title .only-desktop { display: inline; }
  .hero__text { gap: 18px; }
  .hero__desc { max-width: 92%; font-size: 1rem; line-height: 1.55; }
  .hero__object {
    position: relative;
    left: auto;
    top: auto;
    width: 58%;
    height: auto;
    margin: 8px auto 0;
  }
  .hero__object img { width: 100%; height: auto; }
  .flow { margin-top: 32px; padding-bottom: 56px; }
  .flow__head { margin-bottom: 14px; }
  .flow__title { letter-spacing: -0.02em; }
  .flow__board { border-radius: var(--r-m); padding: 16px 12px; }
  .flow__legend { margin-bottom: 0; gap: 6px 14px; }

  .clients { padding-top: 56px; }
  .quotes__stage { min-height: 0; }
  .quote { gap: 18px; }
  .stats { gap: 12px; }

  .advantages__grid { grid-template-columns: 1fr; }
  .cases { grid-template-columns: 1fr; }
  .card-glass__name { font-size: 1.375rem; }

  .showcase { grid-template-columns: minmax(0, 1fr); }
  .showcase__stage { position: relative; top: auto; min-width: 0; }
  /* 手机上 tab 保留：横向可滑的一排，点哪个看哪条（否则六项只能看到第一项） */
  .showcase__tabs {
    display: flex;
    flex-wrap: nowrap;
    min-width: 0;
    overflow-x: auto;
    gap: 6px;
    padding-bottom: 2px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .showcase__tabs::-webkit-scrollbar { display: none; }
  .showcase__tabs li { flex: 0 0 auto; }
  .showcase__tabs .tab { flex: 0 0 auto; white-space: nowrap; }
  .showcase__list { gap: 8px; margin-top: 8px; }
  .feature {
    min-height: 0;
    padding: 22px 18px;
    background: #fff;
    border-color: var(--dust-stroke);
  }
  .feature:not(.is-active) { display: none; }

  .award__inner { grid-template-columns: 1fr; }
  .award__badge { width: min(76%, 320px); }

  .footer__inner { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .cta__actions .btn { flex: 1 1 auto; }
}

/* 画布在窄屏会挤成一片，改用同一份配置渲染的纵向流程 */
@media (max-width: 900px) {
  .flow__canvas { display: none; }
  .flow__stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 54px;            /* 行间留白就是连线走线的地方 */
    padding: 4px 0;
  }
  .logos { justify-content: flex-start; }
}

@media (max-width: 520px) {
  .hero__object { width: 86%; }
  .brand { gap: 8px; }
  .brand__mark { width: 30px; height: 30px; }
  .brand__word { font-size: 0.9375rem; }
  .marquee__track { gap: 32px; }
  .stats { grid-template-columns: 1fr; gap: 16px; }
  .stat { flex-direction: row; align-items: baseline; justify-content: space-between; border-bottom: 1px solid var(--dust-stroke); padding-bottom: 10px; }
  .stat b { font-size: 1.25rem; }
  /* 版权行含公司全称，窄屏下缩到 11px 才能单行放下 */
  .footer__bottom { font-size: 0.6875rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
