@charset "UTF-8";
/* ==========================================================================
   正德铭拾 · 全站样式 v1
   《设计规范》见 DESIGN.md，本文件与该文档一一对应，改动需同步两边。
   方舟：纯 CSS，无框架、无构建、无外链字体。
   ========================================================================== */

/* ---------- 1. 设计令牌（Design Tokens） ---------- */
:root {
  /* 主色：深蓝阶梯 */
  --navy-900: #0B2545;
  --navy-800: #123A63;
  --navy-700: #1B4E7E;
  --navy-600: #2B6296;
  --navy-50:  #EEF3F9;

  /* 强调色：暖橙（克制使用，仅用于强调、数据、CTA 描边） */
  --accent:      #C8791E;
  --accent-dark: #A9620F;
  --accent-50:   #FBF3E8;

  /* 中性色 */
  --ink:      #1A2433;   /* 正文标题 */
  --ink-2:    #4A5568;   /* 正文 */
  --ink-3:    #6B7787;   /* 辅助说明 */
  --line:     #E3E7ED;   /* 分隔线 / 边框 */
  --line-2:   #EDF0F4;
  --paper:    #FFFFFF;
  --paper-2:  #F6F7F9;   /* 浅底分区 */
  --paper-3:  #FAFBFC;

  /* 字号阶梯（阶梯比 ≈1.26，桌面值；移动端在断点内下调） */
  --fs-12: 0.75rem;    /* 12px 标签 / 注脚 */
  --fs-13: 0.8125rem;  /* 13px 辅助 */
  --fs-14: 0.875rem;   /* 14px 小正文 / 导航 */
  --fs-16: 1rem;       /* 16px 基准正文 */
  --fs-18: 1.125rem;   /* 18px 导语 */
  --fs-22: 1.375rem;   /* 22px 三级标题 */
  --fs-28: 1.75rem;    /* 28px 二级标题 */
  --fs-36: 2.25rem;    /* 36px 区块标题 */
  --fs-48: 3rem;       /* 48px 首屏标题 */

  /* 间距单位：4px 基准，8 级阶梯 */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;
  --sp-10: 128px;

  /* 栅格 */
  --wrap: 1200px;
  --gutter: 24px;

  /* 圆角：上限 4px，商务调性 */
  --r-1: 2px;
  --r-2: 4px;

  /* 阴影：只用一档，短而淡 */
  --shadow-1: 0 1px 2px rgba(11, 37, 69, .06), 0 4px 16px rgba(11, 37, 69, .05);

  /* 动效 */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur-1: 200ms;
  --dur-2: 600ms;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-num: "SF Mono", "DIN Alternate", ui-monospace, Menlo, Consolas, monospace;
}

/* ---------- 2. 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px; /* 锚点跳转避开吸顶导航 */
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-16);
  line-height: 1.75;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; /* 兜底：任何单点溢出都不产生横向滚动条 */
}

h1, h2, h3, h4 {
  margin: 0 0 var(--sp-4);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(1.75rem, 1.1rem + 2.6vw, var(--fs-48)); line-height: 1.22; }
h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, var(--fs-36)); }
h3 { font-size: var(--fs-22); }
h4 { font-size: var(--fs-18); }

p { margin: 0 0 var(--sp-4); }
p:last-child { margin-bottom: 0; }

a { color: var(--navy-700); text-decoration: none; }
a:hover { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }

img, svg, video { max-width: 100%; height: auto; display: block; }
img { background: var(--line-2); }
/* <picture> 默认是 inline，会让内部 img 参与行内基线排版，导致图注压到图片下缘、
   figure 高度算不准。设成 display:contents 让 img 直接作为块级子元素参与布局。 */
picture { display: contents; }

ul, ol { margin: 0 0 var(--sp-4); padding-left: 1.25em; }
li { margin-bottom: var(--sp-2); }
li:last-child { margin-bottom: 0; }

figure { margin: 0; }
figcaption {
  margin-top: var(--sp-2);
  font-size: var(--fs-13);
  color: var(--ink-3);
  line-height: 1.6;
}

hr { border: 0; border-top: 1px solid var(--line); margin: var(--sp-7) 0; }

strong, b { color: var(--ink); font-weight: 600; }

/* 可访问性 */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--sp-4); top: -60px; z-index: 200;
  padding: var(--sp-2) var(--sp-4);
  background: var(--navy-900); color: #fff; border-radius: var(--r-2);
  transition: top var(--dur-1) ease;
}
.skip-link:focus { top: var(--sp-2); color: #fff; }

/* ---------- 3. 布局骨架 ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--sp-9); }
.section--tight { padding-block: var(--sp-8); }
.section--alt { background: var(--paper-2); }
.section--dark { background: var(--navy-900); color: rgba(255,255,255,.82); }
.section--dark h2, .section--dark h3 { color: #fff; }

.section-head { max-width: 720px; margin-bottom: var(--sp-7); }
.section-head .eyebrow + h2 { margin-top: var(--sp-2); }
.section-head p { margin-top: var(--sp-3); color: var(--ink-3); }

.eyebrow {
  display: inline-block;
  font-size: var(--fs-12);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-dark);
}
.section--dark .eyebrow { color: #E9A94F; }

.grid { display: grid; gap: var(--gutter); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- 4. 站头与导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  min-height: 72px;
}

.brand { display: flex; align-items: center; gap: var(--sp-3); flex: 0 0 auto; }
.brand__mark {
  width: 32px; height: 32px; flex: 0 0 auto;
  border: 1px solid var(--navy-800);
  border-radius: var(--r-1);
  display: grid; place-items: center;
  font-size: var(--fs-12); font-weight: 700; letter-spacing: .04em;
  color: var(--navy-800);
  line-height: 1;
}
.brand__name { display: block; font-size: var(--fs-18); font-weight: 600; color: var(--ink); line-height: 1.2; }
.brand__sub  { display: block; font-size: var(--fs-12); color: var(--ink-3); line-height: 1.4; margin-top: 2px; }

.nav { margin-left: auto; }
.nav__list {
  display: flex; align-items: center; gap: var(--sp-1);
  list-style: none; margin: 0; padding: 0;
}
.nav__list li { margin: 0; }
.nav__link {
  display: block;
  padding: var(--sp-2) var(--sp-3);
  font-size: var(--fs-14);
  color: var(--ink-2);
  border-radius: var(--r-1);
  white-space: nowrap;
}
.nav__link:hover { color: var(--navy-800); background: var(--navy-50); text-decoration: none; }
.nav__link[aria-current="page"] { color: var(--navy-900); font-weight: 600; }

.header-tel {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  margin-left: var(--sp-4);
  font-size: var(--fs-14); font-weight: 600;
  color: var(--navy-800);
  white-space: nowrap;
}
.header-tel span { color: var(--ink-3); font-weight: 400; font-size: var(--fs-12); }
.header-tel:hover { text-decoration: none; color: var(--accent-dark); }

/* 汉堡菜单：<details> 免 JS 降级 */
.nav-toggle { display: none; margin-left: auto; }
.nav-toggle > summary {
  list-style: none;
  cursor: pointer;
  padding: var(--sp-2) var(--sp-3);
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  font-size: var(--fs-14);
  color: var(--ink);
  display: inline-flex; align-items: center; gap: var(--sp-2);
}
.nav-toggle > summary::-webkit-details-marker { display: none; }
.nav-toggle__bars { display: inline-block; width: 16px; height: 10px; position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: ""; position: absolute; left: 0; width: 16px; height: 1.5px;
  background: var(--ink); transition: transform var(--dur-1) var(--ease-out), top var(--dur-1) var(--ease-out);
}
.nav-toggle__bars::before { top: 1px; }
.nav-toggle__bars::after  { top: 8px; }
.nav-toggle[open] .nav-toggle__bars::before { top: 5px; transform: rotate(45deg); }
.nav-toggle[open] .nav-toggle__bars::after  { top: 5px; transform: rotate(-45deg); }

/* ---------- 5. 首屏 ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy-900);
  color: rgba(255,255,255,.86);
  isolation: isolate;
}
.hero__media {
  position: absolute; inset: 0; z-index: -2;
  overflow: hidden;
}
.hero__media img {
  position: absolute; left: 0; top: -25%;
  width: 100%; height: 150%;   /* 留出 24% 的位移余量，避免视差下露底 */
  object-fit: cover; object-position: center 45%;
  will-change: transform;
}
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(11,37,69,.86) 0%, rgba(11,37,69,.62) 45%, rgba(11,37,69,.88) 100%),
    linear-gradient(90deg, rgba(11,37,69,.78) 0%, rgba(11,37,69,.18) 68%);
}
.hero__inner {
  position: relative;
  padding-block: clamp(64px, 11vw, 132px);
  max-width: 720px;
}
.hero h1 { color: #fff; margin-bottom: var(--sp-5); }
.hero h1 em {
  font-style: normal;
  color: #F0C583;
}
.hero__lede {
  font-size: clamp(1rem, .95rem + .35vw, var(--fs-18));
  line-height: 1.8;
  color: rgba(255,255,255,.8);
  max-width: 560px;
  margin-bottom: var(--sp-6);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.hero__note {
  margin-top: var(--sp-6);
  font-size: var(--fs-13);
  color: rgba(255,255,255,.55);
}
.hero__counter { will-change: transform; }

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-5);
  font-size: var(--fs-14); font-weight: 600;
  border-radius: var(--r-2);
  border: 1px solid transparent;
  transition: background var(--dur-1) ease, color var(--dur-1) ease, border-color var(--dur-1) ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); color: #fff; }
.btn--ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }
.btn--line { border-color: var(--line); color: var(--navy-800); background: var(--paper); }
.btn--line:hover { border-color: var(--navy-700); color: var(--navy-900); text-decoration: none; }
.btn__arrow { transition: transform var(--dur-1) var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ---------- 7. 数据带 ---------- */
.stats {
  border-top: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-5);
  padding-block: var(--sp-7);
}
.stat__value {
  font-family: var(--font-num);
  font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem);
  font-weight: 600;
  line-height: 1.15;
  color: #fff;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.stat__value small { font-size: .5em; font-weight: 500; color: #F0C583; margin-left: 4px; }
.stat__value--pending {
  font-family: var(--font-sans);
  font-size: var(--fs-16);
  font-weight: 500;
  color: rgba(255,255,255,.55);
  letter-spacing: 0;
  border-bottom: 1px dashed rgba(255,255,255,.35);
  display: inline-block;
  line-height: 1.6;
}
.stat__label {
  display: block;
  margin-top: var(--sp-2);
  font-size: var(--fs-13);
  color: rgba(255,255,255,.6);
  line-height: 1.6;
}

/* ---------- 8. 卡片 ---------- */
.card {
  display: flex; flex-direction: column;
  padding: var(--sp-5);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  transition: border-color var(--dur-1) ease, box-shadow var(--dur-1) ease;
  height: 100%;
}
.card:hover { border-color: #C9D3DF; box-shadow: var(--shadow-1); }
.card__index {
  font-family: var(--font-num);
  font-size: var(--fs-12);
  color: var(--accent-dark);
  letter-spacing: .08em;
  margin-bottom: var(--sp-3);
}
.card__title { font-size: var(--fs-18); margin-bottom: var(--sp-2); }
.card__title a { color: inherit; }
.card__title a:hover { text-decoration: none; color: var(--accent-dark); }
.card__text { font-size: var(--fs-14); color: var(--ink-2); line-height: 1.75; margin-bottom: var(--sp-4); }
.card__meta {
  margin-top: auto;
  padding-top: var(--sp-3);
  border-top: 1px solid var(--line-2);
  font-size: var(--fs-13);
  color: var(--ink-3);
  display: flex; flex-wrap: wrap; align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-2) var(--sp-3);
}
.card__meta > span { flex: 1 1 auto; min-width: 0; }
.card__link {
  font-size: var(--fs-14); font-weight: 600; color: var(--navy-700);
  display: inline-flex; align-items: center; gap: 6px;
  white-space: nowrap; flex: 0 0 auto;
}
.card__link::after { content: "→"; transition: transform var(--dur-1) var(--ease-out); }
.card:hover .card__link::after { transform: translateX(3px); }

.card--nav { padding: var(--sp-5); }
.card--nav .card__title { font-size: var(--fs-18); }
.card--nav ul {
  list-style: none; padding: 0; margin: 0 0 var(--sp-4);
  font-size: var(--fs-13); color: var(--ink-3);
}
.card--nav ul li { margin-bottom: 6px; }

/* ---------- 9. 图片块 ---------- */
.figure-wide {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-2);
  background: var(--line-2);
}
.figure-wide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  will-change: transform;
}
.figure-wide--tall img { aspect-ratio: 4 / 5; }

.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: var(--sp-8);
  align-items: center;
}
.split--rev .split__media { order: 2; }

/* ---------- 10. 步骤 ---------- */
.steps { counter-reset: step; display: grid; gap: var(--sp-6); }
.step { position: relative; padding-left: 64px; }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 0;
  font-family: var(--font-num);
  font-size: var(--fs-14);
  font-weight: 600;
  color: var(--accent-dark);
  padding-top: 3px;
}
.step::after {
  content: "";
  position: absolute; left: 13px; top: 30px; bottom: -24px;
  width: 1px; background: var(--line);
}
.step:last-child::after { display: none; }
.step h3 { font-size: var(--fs-18); margin-bottom: var(--sp-2); }
.step p { font-size: var(--fs-14); color: var(--ink-2); }

/* ---------- 11. 列表 / 表格 ---------- */
.plain-list { list-style: none; padding: 0; margin: 0; }
.plain-list li {
  position: relative;
  padding: var(--sp-3) 0 var(--sp-3) 1.35em;
  border-bottom: 1px solid var(--line-2);
  font-size: var(--fs-14);
}
.plain-list li::before {
  content: "—";
  position: absolute; left: 0; top: var(--sp-3);
  color: var(--accent);
}

.table-wrap { overflow-x: auto; margin-block: var(--sp-5); }
table.data {
  width: 100%; border-collapse: collapse;
  font-size: var(--fs-14);
  min-width: 520px;
}
table.data th, table.data td {
  padding: var(--sp-3) var(--sp-4);
  border-bottom: 1px solid var(--line-2);
  text-align: left;
  vertical-align: top;
}
table.data th { background: var(--paper-2); color: var(--ink); font-weight: 600; white-space: nowrap; }
table.data td:first-child { color: var(--ink); font-weight: 500; }

/* ---------- 12. 面包屑 ---------- */
.breadcrumb { padding-block: var(--sp-4); border-bottom: 1px solid var(--line-2); }
.breadcrumb ol {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  list-style: none; margin: 0; padding: 0;
  font-size: var(--fs-13); color: var(--ink-3);
}
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: #C3CBD6; }
.breadcrumb a { color: var(--ink-3); }
.breadcrumb a:hover { color: var(--navy-800); }
.breadcrumb [aria-current="page"] { color: var(--ink-2); }

/* ---------- 13. 页头（栏目 / 文章） ---------- */
.page-head { padding-block: var(--sp-8) var(--sp-7); background: var(--paper-3); border-bottom: 1px solid var(--line-2); }
.page-head h1 { max-width: 840px; margin-bottom: var(--sp-4); }
.page-head .lede { font-size: var(--fs-18); color: var(--ink-2); max-width: 720px; line-height: 1.8; }
.page-head__meta {
  margin-top: var(--sp-5);
  display: flex; flex-wrap: wrap; gap: var(--sp-4);
  font-size: var(--fs-13); color: var(--ink-3);
}

/* ---------- 14. 正文排版（文章页） ---------- */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: var(--sp-8);
  align-items: start;
  padding-block: var(--sp-8);
}
.prose { max-width: 720px; }
.prose > h2 {
  font-size: var(--fs-28);
  margin-top: var(--sp-7);
  padding-top: var(--sp-3);
}
.prose > h2:first-child { margin-top: 0; }
.prose > h3 { font-size: var(--fs-22); margin-top: var(--sp-6); }
.prose p { color: var(--ink-2); }
.prose ul, .prose ol { color: var(--ink-2); }
.prose li { margin-bottom: 6px; }
.prose blockquote {
  margin: var(--sp-5) 0;
  padding: var(--sp-4) var(--sp-5);
  border-left: 2px solid var(--accent);
  background: var(--accent-50);
  color: var(--ink-2);
  font-size: var(--fs-14);
}
.prose blockquote p:last-child { margin-bottom: 0; }
.prose .lead { font-size: var(--fs-18); color: var(--ink); line-height: 1.85; }
.prose figure { margin: var(--sp-6) 0; }

.toc {
  position: sticky; top: 96px;
  font-size: var(--fs-13);
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  padding: var(--sp-4);
  background: var(--paper);
}
.toc h2 { font-size: var(--fs-13); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: var(--sp-3); }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.toc li { margin-bottom: 8px; counter-increment: toc; }
.toc li::before { content: counter(toc) ". "; color: var(--accent-dark); }
.toc a { color: var(--ink-2); }

.article-foot {
  margin-top: var(--sp-7);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line);
  font-size: var(--fs-13);
  color: var(--ink-3);
}
.article-foot p { margin-bottom: var(--sp-2); }

/* ---------- 15. FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: var(--sp-4) 40px var(--sp-4) 0;
  position: relative;
  font-size: var(--fs-16);
  font-weight: 600;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute; right: 8px; top: 50%;
  width: 10px; height: 10px; margin-top: -7px;
  border-right: 1.5px solid var(--ink-3);
  border-bottom: 1.5px solid var(--ink-3);
  transform: rotate(45deg);
  transition: transform var(--dur-1) var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq .faq__a {
  padding: 0 40px var(--sp-5) 0;
  font-size: var(--fs-14);
  color: var(--ink-2);
  max-width: 760px;
}

/* ---------- 16. CTA 条 ---------- */
.cta {
  background: var(--navy-800);
  color: rgba(255,255,255,.82);
}
.cta__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-6); flex-wrap: wrap;
  padding-block: var(--sp-8);
}
.cta h2 { color: #fff; margin-bottom: var(--sp-2); font-size: var(--fs-28); }
.cta p { margin: 0; font-size: var(--fs-14); color: rgba(255,255,255,.68); }
.cta__actions { display: flex; gap: var(--sp-3); flex-wrap: wrap; }

/* ---------- 17. 页脚 ---------- */
.site-footer {
  background: var(--navy-900);
  color: rgba(255,255,255,.62);
  font-size: var(--fs-14);
  padding-block: var(--sp-8) var(--sp-6);
}
.site-footer h2, .site-footer h3 { color: #fff; }
.site-footer a { color: rgba(255,255,255,.72); }
.site-footer a:hover { color: #fff; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--sp-7);
  padding-bottom: var(--sp-7);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer__title {
  font-size: var(--fs-12);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: var(--sp-3);
}
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__sub { color: rgba(255,255,255,.5); }
.footer__list { list-style: none; margin: 0; padding: 0; }
.footer__list li { margin-bottom: var(--sp-2); }
.footer__contact { list-style: none; margin: 0; padding: 0; font-size: var(--fs-13); line-height: 1.9; }
.footer__contact li { margin-bottom: var(--sp-2); }
.footer__contact .k { display: block; color: rgba(255,255,255,.42); font-size: var(--fs-12); }
.footer__contact .v { color: #fff; font-size: var(--fs-14); }
.footer__bottom {
  padding-top: var(--sp-5);
  display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-5);
  justify-content: space-between;
  font-size: var(--fs-12);
  color: rgba(255,255,255,.42);
}
.footer__bottom p { margin: 0; }
.footer__links { display: flex; gap: var(--sp-4); flex-wrap: wrap; }

/* ---------- 18. 动效（.js 由 motion.js 在 head 里立即加上） ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* 卡片错峰：--i 由 HTML 写 0..5，最多 6 档 */
.js .stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out);
  transition-delay: calc(var(--i, 0) * 60ms);
}
.js .stagger.is-in > * { opacity: 1; transform: none; }

/* 图片位移动画由 JS 写内联 transform，这里只声明性能提示 */
.js .parallax-img { will-change: transform; }

/* 无 JS 时：一切可见，不依赖任何类 */
.no-js-fallback { display: none; }

/* ---------- 19. 响应式 ---------- */
/* 769–1200px：平板 / 小笔记本 */
@media (max-width: 1200px) {
  .stats__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-4); }
  .article-layout { grid-template-columns: minmax(0, 1fr) 260px; gap: var(--sp-6); }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer__contact { grid-column: 1 / -1; }
}

@media (max-width: 1080px) {
  .nav__link { padding: var(--sp-2); font-size: var(--fs-13); }
  .header-tel { display: none; }
}

/* ≤768px：折叠导航 + 双栏降单栏 */
@media (max-width: 768px) {
  :root {
    --gutter: 20px;
    --sp-9: 64px;
    --sp-8: 48px;
  }
  .nav { display: none; }
  .nav-toggle { display: block; }
  .site-header__inner { min-height: 64px; flex-wrap: wrap; }

  /* 展开后的折叠菜单 */
  .nav-toggle[open] + .nav {
    display: block;
    order: 3;
    flex: 1 0 100%;
    margin: 0 0 var(--sp-4);
    padding-top: var(--sp-3);
    border-top: 1px solid var(--line);
  }
  .nav-toggle[open] + .nav .nav__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px;
  }
  .nav-toggle[open] + .nav .nav__link { padding: var(--sp-3) var(--sp-2); font-size: var(--fs-15, .9375rem); }

  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .split--rev { grid-template-columns: minmax(0, 1fr); gap: var(--sp-5); }
  .split--rev .split__media { order: 0; }
  .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-5); }
  .article-layout { grid-template-columns: minmax(0, 1fr); gap: var(--sp-5); }
  .toc { position: static; order: -1; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-6); }
  .cta__inner { flex-direction: column; align-items: flex-start; }
  .prose { max-width: 100%; }
  .prose > h2 { font-size: var(--fs-22); }
  .prose > h3 { font-size: var(--fs-18); }
}

/* ≤480px：手机单栏 */
@media (max-width: 480px) {
  :root { --gutter: 16px; --sp-9: 48px; --sp-8: 40px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__inner { padding-block: 56px; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .card { padding: var(--sp-4); }
  .step { padding-left: 44px; }
  .step::after { left: 11px; }
  .brand__sub { display: none; }
  .nav-toggle[open] + .nav .nav__list { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 20. 降低动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    transition-delay: 0ms !important;
  }
  .js .reveal,
  .js .stagger > * { opacity: 1 !important; transform: none !important; }
  .hero__media img,
  .hero__counter,
  .parallax-img { transform: none !important; }
}

/* ---------- 21. 首页分节两栏：小节标题在左、正文在右（栏目页文章型布局不受影响） ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: var(--sp-8);
  align-items: start;
}
.split__head { position: sticky; top: 104px; }
.split__head .section-head { margin-bottom: 0; max-width: none; }
.split .prose { max-width: 780px; }
.split .figure-wide { margin-top: 0; }
@media (max-width: 1200px) {
  .split { grid-template-columns: minmax(200px, 280px) minmax(0, 1fr); gap: var(--sp-6); }
}
@media (max-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr); gap: var(--sp-4); }
  .split__head { position: static; }
  .split .prose { max-width: 100%; }
}

/* ---------- 17. 文章页目录（迁移文章自带中文序号，不重复计数） ---------- */
.toc--plain li::before { content: none; }
.toc__sec + .toc__sec {
  margin-top: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line);
}
.toc--plain li { margin-bottom: 6px; }

/* ---------- 22. 询盘表单（仅联系页使用，类名 .form-inquiry 不与其他页冲突） ---------- */
.form-inquiry {
  margin: var(--sp-6) 0 var(--sp-3);
  padding: var(--sp-5);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-2);
}
.form-inquiry__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-4);
  align-items: start;
}
.form-inquiry .field {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  min-width: 0;
  margin: 0;
}
.form-inquiry .field > label {
  font-size: var(--fs-14);
  font-weight: 600;
  color: var(--ink);
}
.form-inquiry .field__req { color: var(--accent-dark); font-weight: 700; margin-left: 2px; }
.form-inquiry .field__hint { font-size: var(--fs-12); color: var(--ink-2); font-weight: 400; }
.form-inquiry input[type="text"],
.form-inquiry input[type="tel"],
.form-inquiry input[type="email"],
.form-inquiry textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: 44px;
  padding: var(--sp-3);
  font-family: inherit;
  font-size: var(--fs-16);
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid #C9D3DF;
  border-radius: var(--r-2);
  appearance: none;
  -webkit-appearance: none;
  transition: border-color var(--dur-1) ease, box-shadow var(--dur-1) ease;
}
.form-inquiry textarea { min-height: 132px; resize: vertical; line-height: 1.6; }
.form-inquiry input::placeholder,
.form-inquiry textarea::placeholder { color: var(--ink-2); opacity: 1; }
.form-inquiry input:hover,
.form-inquiry textarea:hover { border-color: var(--navy-600); }
.form-inquiry input:focus,
.form-inquiry textarea:focus,
.form-inquiry input:focus-visible,
.form-inquiry textarea:focus-visible {
  outline: 2px solid var(--navy-700);
  outline-offset: 1px;
  border-color: var(--navy-700);
  box-shadow: var(--shadow-1);
}
.form-inquiry input:invalid:not(:placeholder-shown) { border-color: #B4472A; }
.form-inquiry__actions { margin: var(--sp-5) 0 0; }
.form-inquiry .btn[type="submit"] {
  min-height: 44px;
  padding-inline: var(--sp-7);
  font-size: var(--fs-16);
  border: 0;
  cursor: pointer;
}
.form-note {
  margin: var(--sp-3) 0 0;
  font-size: var(--fs-13);
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 46em;
}
@media (max-width: 768px) {
  .form-inquiry { padding: var(--sp-4); margin-top: var(--sp-5); }
  .form-inquiry__grid { grid-template-columns: minmax(0, 1fr); gap: var(--sp-4); }
  .form-inquiry .btn[type="submit"] { width: 100%; justify-content: center; }
}
