/* ==========================================================================
   SABER 认证专题站 · 全站设计系统
   主色沿用原站品牌绿 #269d74，原创布局视觉
   ========================================================================== */

/* ---------- 1. 设计令牌 ---------- */
:root {
  /* 品牌绿梯度（原站主色不变） */
  --primary-900: #124f3c; /* 深绿：页脚深底、Hero 实底 */
  --primary-800: #1a6b51;
  --primary-700: #218865; /* 深绿：hover 深态 */
  --primary-600: #249571;
  --primary-500: #269d74; /* 主色：导航、按钮、标题、链接 */
  --primary-400: #2bb283; /* 次级强调、渐变中段 */
  --primary-300: #42af8b; /* 亮绿：数字点缀 */
  --primary-200: #83beaa; /* 浅绿描边 */
  --primary-100: #c9e8dc; /* 浅底 */
  --primary-50:  #e6fbf4; /* 极浅底、卡片悬停底 */

  /* 强调橙（原站电话/分页强调色） */
  --accent: #f49f44;
  --accent-dark: #d9831f;
  --accent-soft: #fff3e4;

  /* 中性 */
  --ink-900: #16241f;
  --ink-800: #233830;
  --ink-700: #334a41;
  --text: #3c4a44;
  --muted: #6b7a73;
  --faint: #9aa8a2;
  --line: #e2ebe7;
  --line-strong: #cfdcd6;
  --surface: #f5faf8;
  --surface-2: #eef6f2;
  --white: #fff;

  /* 语义 */
  --success: #269d74;
  --warning: #d9831f;
  --error: #c0392b;
  --info: #2f7bb5;

  /* 字号（px 精确） */
  --fs-display: 48px;
  --fs-h1: 36px;
  --fs-h2: 28px;
  --fs-h3: 22px;
  --fs-h4: 18px;
  --fs-body-lg: 17px;
  --fs-body: 16px;
  --fs-sm: 14px;
  --fs-xs: 13px;

  /* 行高 */
  --lh-tight: 1.25;
  --lh-base: 1.7;
  --lh-loose: 1.85;

  /* 间距 8pt 阶 */
  --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px;
  --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px;
  --s9: 96px; --s10: 128px;

  /* 容器与栅格 */
  --container: 1200px;
  --container-narrow: 1100px;
  --gutter: 24px;

  /* 圆角 */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;
  --r-xl: 20px;
  --r-pill: 999px;

  /* 阴影 */
  --shadow-1: 0 2px 10px rgba(18, 79, 60, .06);
  --shadow-2: 0 10px 30px rgba(18, 79, 60, .10);
  --shadow-3: 0 20px 50px rgba(18, 79, 60, .16);

  /* 动效 */
  --t-fast: 120ms;
  --t-base: 200ms;
  --t-slow: 320ms;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --font: "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", "Hiragino Sans GB", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ---------- 2. 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh-base);
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-600); text-decoration: none; transition: color var(--t-fast) var(--ease); }
a:hover { color: var(--primary-800); }
h1, h2, h3, h4 { color: var(--ink-900); line-height: var(--lh-tight); font-weight: 700; margin: 0; }
p { margin: 0 0 var(--s4); }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
svg { display: block; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: var(--r-sm); }

/* ---------- 3. 布局容器 ---------- */
.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }
.container-narrow { width: min(100% - 48px, var(--container-narrow)); margin-inline: auto; }
.section { padding-block: 56px; }
.section--surface { background: var(--surface); }
.section--tint { background: var(--primary-50); }
.section--head { text-align: center; max-width: 760px; margin: 0 auto var(--s7); }
.section--head h2 { font-size: var(--fs-h2); margin-bottom: var(--s3); }
.section--head p { color: var(--muted); font-size: var(--fs-body-lg); }

/* ---------- 4. 通用组件 ---------- */
.eyebrow {
  display: inline-block;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--primary-600);
  background: var(--primary-50);
  border: 1px solid var(--primary-100);
  padding: 6px 14px;
  border-radius: var(--r-pill);
  margin-bottom: var(--s4);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  min-height: 48px;
  padding: 0 var(--s5);
  border-radius: var(--r-md);
  font-size: var(--fs-body);
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--primary-500); color: var(--white); box-shadow: 0 6px 16px rgba(38, 157, 116, .24); }
.btn--primary:hover { background: var(--primary-700); color: var(--white); box-shadow: 0 10px 24px rgba(38, 157, 116, .32); }
.btn--accent { background: var(--accent); color: #5a3405; box-shadow: 0 6px 16px rgba(244, 159, 68, .28); }
.btn--accent:hover { background: var(--accent-dark); color: var(--white); }
.btn--ghost { background: transparent; color: var(--primary-700); border-color: var(--primary-200); }
.btn--ghost:hover { background: var(--primary-50); color: var(--primary-800); }
.btn--light { background: rgba(255,255,255,.14); color: var(--white); border-color: rgba(255,255,255,.4); }
.btn--light:hover { background: rgba(255,255,255,.24); color: var(--white); }
.btn--sm { min-height: 40px; padding: 0 var(--s4); font-size: var(--fs-sm); }

/* 面包屑 */
.breadcrumb { font-size: var(--fs-sm); color: var(--muted); padding-block: var(--s5); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; }
.breadcrumb li { display: flex; align-items: center; gap: var(--s2); }
.breadcrumb li + li::before { content: "/"; color: var(--line-strong); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary-600); }
.breadcrumb [aria-current="page"] { color: var(--ink-800); font-weight: 600; }

/* ---------- 5. 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--t-base) var(--ease);
}
.site-header.is-stuck { box-shadow: var(--shadow-2); }
.nav-inner {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
  height: 72px;
  display: flex;
  align-items: center;
  gap: var(--s6);
  transition: height var(--t-base) var(--ease);
}
.site-header.is-stuck .nav-inner { height: 64px; }
.brand { display: flex; align-items: center; gap: var(--s3); flex-shrink: 0; }
.brand img { height: 40px; width: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__mark { font-size: 20px; font-weight: 800; color: var(--primary-700); letter-spacing: .04em; }
.brand__sub { font-size: 11px; color: var(--muted); letter-spacing: .06em; }
nav[aria-label="主导航"] { margin-left: var(--s8); }
.nav-list { display: flex; align-items: center; gap: var(--s2); }
.nav-list > li { position: relative; }
.nav-list > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 12px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink-800);
  border-radius: var(--r-sm);
  white-space: nowrap;
}
.nav-list > li > a:hover, .nav-list > li > a[aria-current="page"] { color: var(--primary-700); }
.nav-list > li > a[aria-current="page"] {
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-size: calc(100% - 28px) 3px;
  background-position: center bottom 2px;
}
.nav-list .has-drop > a::after {
  content: ""; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); margin-top: -3px; transition: transform var(--t-fast) var(--ease);
}
.nav-list .has-drop:hover > a::after { transform: rotate(225deg); margin-top: 2px; }
.nav-dropdown {
  position: absolute; top: 100%; left: 0; min-width: 200px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-2); padding: var(--s2);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), visibility var(--t-fast);
}
.nav-list .has-drop:hover .nav-dropdown, .nav-list .has-drop:focus-within .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown a { display: block; padding: 9px 12px; border-radius: var(--r-sm); font-size: var(--fs-sm); color: var(--text); }
.nav-dropdown a:hover { background: var(--primary-50); color: var(--primary-700); }
.nav-actions { display: flex; align-items: center; gap: var(--s3); flex-shrink: 0; margin-left: auto; }
.nav-search { width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--r-sm); color: var(--muted); }
.nav-search:hover { background: var(--surface); color: var(--primary-700); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink-800); padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: currentColor; border-radius: 2px; margin: 5px 0; transition: transform var(--t-base) var(--ease), opacity var(--t-fast) var(--ease); }

/* ---------- 6. Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--primary-50); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(38,157,116,.16), transparent 45%),
              radial-gradient(circle at 10% 90%, rgba(244,159,68,.10), transparent 40%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--s8); align-items: center;
  padding-block: var(--s9);
}
.hero__copy h1 { font-size: var(--fs-display); letter-spacing: -.02em; margin-bottom: var(--s5); }
.hero__copy h1 .hl { color: var(--primary-600); position: relative; white-space: nowrap; }
.hero__copy h1 .hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 8px; background: rgba(244,159,68,.35); border-radius: 4px; z-index: -1; }
.hero__lead { font-size: var(--fs-body-lg); color: var(--ink-700); line-height: var(--lh-loose); max-width: 560px; margin-bottom: var(--s6); }
.hero__actions { display: flex; gap: var(--s3); flex-wrap: wrap; }
.hero__points { display: flex; gap: var(--s5); margin-top: var(--s7); flex-wrap: wrap; }
.hero__point { display: flex; align-items: center; gap: var(--s2); font-size: var(--fs-sm); color: var(--ink-700); font-weight: 600; }
.hero__point svg { color: var(--primary-500); flex-shrink: 0; }
.hero__visual { position: relative; }
.hero__card {
  background: var(--white); border-radius: var(--r-xl); padding: var(--s6);
  box-shadow: var(--shadow-3); border: 1px solid var(--line);
  transform: rotate(1.5deg);
  transition: transform var(--t-slow) var(--ease-out);
}
.hero__card:hover { transform: rotate(0) translateY(-6px); }
.hero__badge {
  position: absolute; top: -18px; right: -12px; z-index: 2;
  background: var(--accent); color: #5a3405; font-weight: 700; font-size: var(--fs-sm);
  padding: 10px 18px; border-radius: var(--r-pill); box-shadow: var(--shadow-2);
  white-space: nowrap;
}
.hero__card-head { display: flex; align-items: center; gap: var(--s3); margin-bottom: var(--s5); }
.hero__card-head strong { font-size: var(--fs-h4); color: var(--ink-900); }
.hero__card-head span { font-size: var(--fs-xs); color: var(--muted); }
.hero__stat { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
.hero__stat div { background: var(--primary-50); border-radius: var(--r-md); padding: var(--s4) var(--s3); text-align: center; }
.hero__stat b { display: block; font-size: 26px; color: var(--primary-600); line-height: 1.2; }
.hero__stat small { font-size: var(--fs-xs); color: var(--muted); }
.hero__flow { margin-top: var(--s5); display: flex; align-items: center; gap: var(--s2); flex-wrap: wrap; font-size: var(--fs-sm); color: var(--ink-700); }
.hero__flow i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--primary-500); color: #fff; font-style: normal; font-size: 12px; font-weight: 700; }
.hero__flow span.arrow { color: var(--primary-200); }

/* ---------- 7. 信任条 ---------- */
.trust-bar { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-bar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--s6) var(--s8); padding-block: var(--s5); }
.trust-bar__item { display: flex; align-items: center; gap: var(--s2); font-size: var(--fs-sm); color: var(--ink-700); font-weight: 600; }
.trust-bar__item svg { color: var(--primary-500); }

/* ---------- 8. 服务矩阵 ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.service-card {
  position: relative; display: block; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: var(--s6) var(--s5); color: inherit;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
  overflow: hidden;
}
.service-card::before { content: ""; position: absolute; top: 0; left: 0; height: 3px; width: 0; background: var(--primary-500); transition: width var(--t-base) var(--ease); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); border-color: var(--primary-100); color: inherit; }
.service-card:hover::before { width: 100%; }
.service-card__icon { width: 52px; height: 52px; border-radius: var(--r-md); background: var(--primary-50); color: var(--primary-600); display: grid; place-items: center; margin-bottom: var(--s4); }
.service-card h3 { font-size: var(--fs-h3); margin-bottom: var(--s2); }
.service-card p { font-size: var(--fs-sm); color: var(--muted); margin: 0 0 var(--s4); line-height: var(--lh-base); }
.service-card__more { font-size: var(--fs-sm); font-weight: 600; color: var(--primary-600); display: inline-flex; align-items: center; gap: 6px; }
.service-card:hover .service-card__more { color: var(--primary-800); }

/* ---------- 9. 流程步骤 ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s4); counter-reset: step; }
.step { position: relative; text-align: center; padding: var(--s5) var(--s3); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto var(--s4);
  border-radius: 50%; background: var(--primary-50); border: 2px solid var(--primary-200);
  color: var(--primary-700); font-size: 18px; font-weight: 800;
  transition: background var(--t-base) var(--ease), color var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.step:hover::before { background: var(--primary-500); color: #fff; transform: scale(1.06); }
.step:not(:last-child)::after { content: ""; position: absolute; top: 28px; left: calc(50% + 34px); width: calc(100% - 68px); height: 2px; background: repeating-linear-gradient(90deg, var(--primary-200) 0 6px, transparent 6px 12px); }
.step h3 { font-size: var(--fs-h4); margin-bottom: var(--s2); }
.step p { font-size: var(--fs-sm); color: var(--muted); margin: 0; }

/* ---------- 10. 知识卡片 ---------- */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.article-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease); color: inherit; }
.article-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); color: inherit; }
.article-card__body { padding: var(--s5); display: flex; flex-direction: column; gap: var(--s2); flex: 1; }
.article-card__meta { font-size: var(--fs-xs); color: var(--faint); display: flex; gap: var(--s3); }
.article-card h3 { font-size: var(--fs-h4); line-height: 1.5; }
.article-card p { font-size: var(--fs-sm); color: var(--muted); margin: 0; flex: 1; }
.article-card__more { font-size: var(--fs-sm); font-weight: 600; color: var(--primary-600); }

/* ---------- 11. 资讯列表 ---------- */
.news-list { display: grid; gap: var(--s3); }
.news-item { display: grid; grid-template-columns: 96px 1fr auto; gap: var(--s5); align-items: center; padding: var(--s5); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); transition: border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease); color: inherit; }
.news-item:hover { border-color: var(--primary-200); box-shadow: var(--shadow-1); color: inherit; }
.news-item__date { text-align: center; border-right: 1px solid var(--line); padding-right: var(--s4); }
.news-item__date b { display: block; font-size: 24px; color: var(--primary-600); line-height: 1; }
.news-item__date small { font-size: var(--fs-xs); color: var(--faint); }
.news-item h3 { font-size: var(--fs-h4); margin-bottom: 6px; }
.news-item p { font-size: var(--fs-sm); color: var(--muted); margin: 0; }
.news-item__more { color: var(--primary-600); font-weight: 600; font-size: var(--fs-sm); }

/* ---------- 12. FAQ 手风琴 ---------- */
.faq-list { max-width: 860px; margin-inline: auto; display: grid; gap: var(--s3); }
.faq-item { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); overflow: hidden; }
.faq-item__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--s4); text-align: left; padding: var(--s5); background: transparent; border: 0; font-size: var(--fs-h4); font-weight: 600; color: var(--ink-900); }
.faq-item__q::after { content: "+"; font-size: 24px; color: var(--primary-500); flex-shrink: 0; transition: transform var(--t-base) var(--ease); }
.faq-item.is-open .faq-item__q::after { transform: rotate(45deg); }
.faq-item__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t-base) var(--ease); }
.faq-item.is-open .faq-item__a { grid-template-rows: 1fr; }
.faq-item__a > div { overflow: hidden; }
.faq-item__a p { padding: 0 var(--s5) var(--s5); margin: 0; font-size: var(--fs-body); color: var(--text); line-height: var(--lh-loose); border-top: 1px solid var(--line); padding-top: var(--s4); }

/* ---------- 13. CTA 区块 ---------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--primary-900), var(--primary-700)); color: var(--white); border-radius: var(--r-lg); padding: var(--s8); }
.cta-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 280px; height: 280px; border: 40px solid rgba(255,255,255,.05); border-radius: 50%; }
.cta-band__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: var(--s6); flex-wrap: wrap; }
.cta-band h2 { color: var(--white); font-size: var(--fs-h2); margin-bottom: var(--s2); }
.cta-band p { color: rgba(255,255,255,.82); margin: 0; font-size: var(--fs-body-lg); }

/* ---------- 14. 页脚 ---------- */
.site-footer { background: var(--primary-900); color: rgba(255,255,255,.72); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: var(--s7); padding-block: var(--s8); }
.footer-brand__logo { height: 44px; filter: brightness(0) invert(1); opacity: .92; margin-bottom: var(--s4); }
.footer-brand p { font-size: var(--fs-sm); line-height: var(--lh-loose); }
.footer-col h3 { color: var(--white); font-size: var(--fs-body); margin-bottom: var(--s4); }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: rgba(255,255,255,.72); font-size: var(--fs-sm); }
.footer-col a:hover { color: var(--accent); }
.footer-contact li { font-size: var(--fs-sm); display: flex; gap: var(--s2); align-items: flex-start; line-height: 1.6; }
.footer-contact svg { color: var(--primary-300); flex-shrink: 0; margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-block: var(--s5); display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); align-items: center; justify-content: space-between; font-size: var(--fs-xs); }
.footer-links { display: flex; flex-wrap: wrap; gap: var(--s3); }
.footer-links a { color: rgba(255,255,255,.6); }
.footer-links a:hover { color: var(--accent); }
.footer-icp { color: rgba(255,255,255,.6); }
.footer-icp:hover { color: #fff; }

/* ---------- 15. 文章/详情正文 ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(115deg, var(--primary-50) 0%, #f0fbf7 48%, #f9fdfb 100%);
  border-bottom: 1px solid var(--primary-100); padding-block: var(--s8);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 25%, rgba(38,157,116,.16), transparent 48%),
              radial-gradient(circle at 8% 100%, rgba(244,159,68,.09), transparent 42%);
  pointer-events: none;
}
.page-hero::after {
  content: ""; position: absolute; right: -70px; top: -130px;
  width: 340px; height: 340px; border-radius: 50%;
  border: 1px solid rgba(38,157,116,.12);
  box-shadow: 0 0 0 42px rgba(38,157,116,.035), 0 0 0 92px rgba(38,157,116,.022);
  pointer-events: none;
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: var(--fs-h1); margin-bottom: var(--s3); }
.page-hero p { color: var(--ink-700); font-size: var(--fs-body-lg); max-width: 720px; margin: 0; }
.article { background: var(--white); }
.article__head { margin-bottom: var(--s6); padding-bottom: var(--s5); border-bottom: 1px solid var(--line); }
.article__head h1 { font-size: var(--fs-h1); margin-bottom: var(--s3); }
.article__meta { display: flex; flex-wrap: wrap; gap: var(--s4); font-size: var(--fs-sm); color: var(--muted); }
.article__body { max-width: 720px; font-size: var(--fs-body); line-height: var(--lh-loose); }
.article__body h2 { font-size: var(--fs-h2); margin: var(--s7) 0 var(--s4); padding-left: var(--s3); border-left: 4px solid var(--primary-500); }
.article__body h3 { font-size: var(--fs-h3); margin: var(--s6) 0 var(--s3); }
.article__body p { margin-bottom: var(--s4); }
.article__body ul, .article__body ol { margin: 0 0 var(--s4); padding-left: var(--s5); list-style: disc; }
.article__body ol { list-style: decimal; }
.article__body li { margin-bottom: var(--s2); }
.article__body strong { color: var(--ink-900); }
.article__body table { width: 100%; border-collapse: collapse; margin-bottom: var(--s5); font-size: var(--fs-sm); }
.article__body th, .article__body td { border: 1px solid var(--line); padding: 10px var(--s3); text-align: left; }
.article__body th { background: var(--primary-50); color: var(--ink-900); font-weight: 600; }
.article__body .note { background: var(--accent-soft); border-left: 4px solid var(--accent); padding: var(--s4); border-radius: var(--r-sm); margin-bottom: var(--s5); }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s5); margin-bottom: var(--s6); }
.toc h2 { font-size: var(--fs-body); margin-bottom: var(--s3); border: 0; padding: 0; }
.toc ul { display: grid; gap: 8px; list-style: none; padding: 0; }
.toc a { font-size: var(--fs-sm); }

/* 服务详情：概览卡 */
.overview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); margin-bottom: var(--s7); }
.overview-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s5); }
.overview-card h3 { font-size: var(--fs-sm); color: var(--muted); font-weight: 600; margin-bottom: var(--s2); }
.overview-card p { font-size: var(--fs-body-lg); color: var(--primary-700); font-weight: 700; margin: 0; }

/* 卡片网格通用（栏目页） */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.tag-chip { display: inline-block; font-size: var(--fs-xs); padding: 4px 10px; background: var(--primary-50); color: var(--primary-700); border-radius: var(--r-pill); margin: 0 6px 6px 0; }

/* ---------- 16. 表单 ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: var(--fs-sm); font-weight: 600; color: var(--ink-800); }
.field label .req { color: var(--error); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px var(--s4); border: 1px solid var(--line-strong); border-radius: var(--r-md);
  background: var(--white); font-size: var(--fs-body); transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.field input, .field select { height: 48px; padding-block: 0; }
.field select {
  -webkit-appearance: none; appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7a73' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px 16px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary-500); box-shadow: 0 0 0 3px rgba(38,157,116,.14); }
.field textarea { min-height: 120px; resize: vertical; }
.field .err { font-size: var(--fs-xs); color: var(--error); min-height: 6px; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); }
.form-note { font-size: var(--fs-xs); color: var(--muted); }
.form-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s7); box-shadow: var(--shadow-1); }

/* 联系卡 */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--s7); }
.contact-cards { display: grid; gap: var(--s4); align-content: start; }
.contact-card { display: flex; gap: var(--s4); align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s5); }
.contact-card__icon { width: 44px; height: 44px; border-radius: var(--r-md); background: var(--primary-50); color: var(--primary-600); display: grid; place-items: center; flex-shrink: 0; }
.contact-card h3 { font-size: var(--fs-sm); color: var(--muted); margin-bottom: 4px; }
.contact-card p { margin: 0; font-size: var(--fs-body); color: var(--ink-900); font-weight: 600; word-break: break-word; }

/* ---------- 17. 工具 ---------- */
.to-top { position: fixed; right: 24px; bottom: 24px; width: 46px; height: 46px; border-radius: 50%; background: var(--primary-600); color: #fff; border: 0; box-shadow: var(--shadow-2); display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease), visibility var(--t-base), background var(--t-fast); z-index: 90; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--primary-800); }
.file-badge { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--primary-100); color: var(--primary-800); font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.pagination { display: flex; gap: var(--s2); justify-content: center; margin-top: var(--s7); }
.pagination a, .pagination span { min-width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--r-sm); font-size: var(--fs-sm); padding: 0 var(--s3); }
.pagination [aria-current="page"] { background: var(--primary-500); color: #fff; border-color: var(--primary-500); }
.empty-state { text-align: center; padding: var(--s9) var(--s4); color: var(--muted); }

/* ---------- 17.5 内页间距收紧 ---------- */
/* 内页无需首页那样的大留白，上下间距统一收小一档 */
.page-inner .section { padding-block: 20px; }
.page-inner .section--head { margin-bottom: var(--s6); }
.page-inner .page-hero { padding-block: var(--s7); }
.page-inner .article__body h2 { margin-top: var(--s6); }
.page-inner .overview-grid { margin-bottom: var(--s6); }

/* ---------- 17b. 合作客户轮播 ---------- */
.client-carousel { position: relative; }
.client-carousel__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); margin-bottom: var(--s5); }
.client-carousel__title { font-size: var(--fs-h4); color: var(--ink-800); margin: 0; }
.client-carousel__ctrl { display: flex; gap: var(--s2); }
.client-carousel__btn {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid var(--line-strong); border-radius: 50%; background: var(--white);
  color: var(--primary-700); font-size: 24px; line-height: 1; cursor: pointer;
  transition: background var(--t-base) var(--ease), color var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}
.client-carousel__btn:hover:not(:disabled) { background: var(--primary-500); border-color: var(--primary-500); color: var(--white); }
.client-carousel__btn:disabled { opacity: .4; cursor: default; }
.client-carousel__viewport { overflow: hidden; }
.client-carousel__track {
  display: flex; gap: var(--s5);
  transition: transform var(--t-slow) var(--ease-out);
  will-change: transform;
}
.client-carousel__slide { flex: 0 0 calc((100% - var(--s5) * 3) / 4); min-width: 0; }
.client-card {
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  height: 100%; min-height: 210px; padding: var(--s5) var(--s4);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  color: inherit; text-align: center;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}
.client-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); border-color: var(--primary-200); color: inherit; }
.client-card__logo {
  display: grid; place-items: center; width: 100%; height: 110px; margin-bottom: var(--s4);
}
.client-card__logo img { max-width: 100%; max-height: 110px; object-fit: contain; }
.client-card__logo--text {
  font-size: 28px; font-weight: 700; letter-spacing: 2px; color: var(--primary-700);
  background: var(--primary-50); border-radius: var(--r); width: 120px; height: 90px; margin-inline: auto;
}
.client-card__name { font-size: var(--fs-sm); font-weight: 600; color: var(--ink-800); line-height: 1.5; }
.client-card__more { margin-top: var(--s3); font-size: var(--fs-xs); color: var(--primary-600); }
.case-hero-logo { text-align: center; padding: var(--s5) 0 var(--s2); }
.case-hero-logo img { max-width: 100%; max-height: 160px; object-fit: contain; }

@media (max-width: 1199px) {
  .client-carousel__slide { flex-basis: calc((100% - var(--s5) * 2) / 3); }
}

/* ---------- 18. 响应式 ---------- */
@media (max-width: 1199px) {
  .service-grid, .article-grid, .card-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: var(--s6); }
  .step:not(:last-child)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-list > li > a { padding: 10px; font-size: var(--fs-sm); }
  .nav-inner { gap: var(--s4); }
}

@media (max-width: 767px) {
  :root { --fs-display: 30px; --fs-h1: 26px; --fs-h2: 22px; --fs-h3: 18px; --fs-h4: 16px; --fs-body-lg: 15px; }
  html, body { overflow-x: hidden; }
  .container, .container-narrow, .nav-inner { width: min(100% - 32px, var(--container)); }
  .hero__copy h1 .hl { white-space: normal; }
  .hero__lead { font-size: 15px; }
  .section { padding-block: var(--s7); }
  .section--head { margin-bottom: var(--s5); }
  .page-hero::after { right: -140px; top: -80px; width: 260px; height: 260px; }
  .nav-toggle { display: block; }
  .nav-search { display: none; }
  .nav-list {
    position: fixed; inset: 0 0 0 auto; width: min(86%, 360px); height: 100dvh;
    flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: var(--s7) var(--s5) var(--s5);
    background: var(--white); box-shadow: var(--shadow-3); transform: translateX(105%);
    transition: transform var(--t-slow) var(--ease-out); overflow-y: auto; z-index: 110;
  }
  .nav-list.is-open { transform: translateX(0); }
  .nav-list > li > a { font-size: var(--fs-body); padding: var(--s4) var(--s3); border-bottom: 1px solid var(--line); }
  .nav-list > li > a[aria-current="page"] { background-image: none; }
  .nav-list .has-drop > a::after { margin-left: auto; }
  .nav-dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 var(--s3); min-width: 0; display: none; }
  .nav-list .has-drop.is-open .nav-dropdown { display: block; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(10,30,22,.45); opacity: 0; visibility: hidden; transition: opacity var(--t-base) var(--ease), visibility var(--t-base); z-index: 105; }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }
  .hero__inner { grid-template-columns: 1fr; gap: var(--s6); padding-block: var(--s7); }
  .hero__actions .btn { flex: 1; }
  .hero__card { transform: none; }
  .service-grid, .article-grid, .card-grid, .overview-grid { grid-template-columns: 1fr; }
  .client-carousel__slide { flex-basis: calc((100% - var(--s4)) / 2); }
  .client-carousel__track { gap: var(--s4); }
  .client-card { min-height: 190px; padding: var(--s4) var(--s3); }
  .client-card__logo, .client-card__logo img { height: 88px; max-height: 88px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .news-item { grid-template-columns: 1fr; gap: var(--s3); }
  .news-item__date { border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 var(--s2); display: flex; align-items: baseline; gap: var(--s2); }
  .news-item__more { display: none; }
  .cta-band { padding: var(--s6); }
  .footer-grid { grid-template-columns: 1fr; gap: var(--s6); }
  .form-grid, .contact-grid { grid-template-columns: 1fr; }
  .form-panel { padding: var(--s5); }
  .article__body h2 { font-size: var(--fs-h3); }
}

@media (max-width: 375px) {
  .hero__stat { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .footer-bottom { justify-content: flex-start; }
}

/* ---------- 19. 无障碍：减少动态效果 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
