/* ==========================================================================
   司南软件官网 v3 · 唯一样式表（罗盘沉浸版 · 时钟双针彩蛋）
   基准：《司南官网视觉设计规范 v1.0》
         + 2026-11-03 主人解除「禁投影/禁渐变/禁3D旋转指针」
   彩蛋罗盘：外圆内方呼应 LOGO；分针指钟面"1"（右上30°），时针指"6"（正下=南）
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --indigo-950: #081726;
  --indigo-900: #0D2438;
  --indigo-850: #12385C;
  --indigo-800: #17436B;
  --indigo-700: #1F5385;
  --indigo-600: #2A6499;
  --indigo-100: #D8E2EC;
  --indigo-50:  #EEF3F7;
  --gold:       #C8A25A;
  --gold-hover: #B08A45;
  --gold-active:#9A7A3C;
  --gold-soft:  #F3E7CC;
  --ink-900: #1C2B3A;
  --ink-700: #3D4C5C;
  --ink-500: #6B7A89;
  --err:     #B4443C;
  --ftr-line:  #1F3850;
  --ftr-muted: #5E7183;
  --white: #FFFFFF;

  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", SimSun, serif;
  --font-sans:  "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;

  --container: 1200px;
  --gutter: 24px;
  --sec-pad: 104px;

  --radius: 10px;
  --radius-sm: 6px;
  --shadow-sm: 0 1px 2px rgba(23,67,107,.05), 0 2px 10px rgba(23,67,107,.06);
  --shadow-md: 0 4px 12px rgba(23,67,107,.08), 0 14px 36px rgba(23,67,107,.10);
  --shadow-lg: 0 10px 24px rgba(8,23,38,.18), 0 28px 64px rgba(8,23,38,.22);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 28px;
  color: var(--ink-900);
  background: var(--white);
}
img, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; }
a { color: var(--indigo-600); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
::selection { background: var(--indigo-800); color: var(--white); }

h1, h2 { font-family: var(--font-serif); font-weight: 600; color: var(--indigo-800); text-wrap: balance; }
h1 { font-size: clamp(34px, 4.2vw, 46px); line-height: 1.28; letter-spacing: .01em; }
h2 { font-size: clamp(26px, 3vw, 32px); line-height: 44px; letter-spacing: .01em; }
h2::after {
  content: ""; display: block;
  width: 32px; height: 2px; background: var(--gold);
  margin-top: 14px; border-radius: 1px;
}
.no-gold h2::after { background: var(--indigo-700); }
h3 { font-size: 20px; line-height: 30px; font-weight: 600; color: var(--ink-900); }
h4 { font-size: 17px; line-height: 26px; font-weight: 600; color: var(--ink-900); }
.lead { font-size: 18px; line-height: 32px; color: var(--ink-700); }
small, .small { font-size: 13px; line-height: 20px; }
.num { font-variant-numeric: tabular-nums; }
.meta { color: var(--ink-500); font-size: 14px; }
.cap { color: var(--ink-500); font-size: 13px; letter-spacing: .08em; }

:focus-visible { outline: 2px solid var(--indigo-600); 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: 8px; top: -48px; z-index: 100;
  background: var(--indigo-800); color: var(--white);
  padding: 10px 16px; border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; text-decoration: none; }

/* ---------- Layout ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--sec-pad) 0; }
.section--flush { padding-top: 0; }
.section--blue { background: var(--indigo-50); }
.sec-head { margin-bottom: 48px; }
.sec-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.sec-link { white-space: nowrap; font-weight: 600; }
.sec-foot { margin-top: 40px; }
.grid { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); }
.grid--2x2 { grid-template-columns: repeat(2, 1fr); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--indigo-100);
}
.header-in { display: flex; align-items: center; justify-content: center; gap: 36px; height: 96px; }
.brand img { height: 76px; width: auto; }
.site-nav ul { display: flex; gap: 8px; flex-wrap: wrap; }
.site-nav a {
  display: block; padding: 8px 14px; border-radius: var(--radius-sm);
  color: var(--ink-700); font-weight: 500; transition: color .2s var(--ease), background .2s var(--ease);
}
.site-nav a:hover { color: var(--indigo-800); background: var(--indigo-50); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--indigo-800); font-weight: 600; position: relative; }
.site-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 2px; background: var(--gold); border-radius: 1px;
}
.nav-toggle { display: none; width: 44px; height: 44px; position: relative; }
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--indigo-800);
  margin: 5px auto; border-radius: 1px; transition: transform .25s var(--ease), opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 14px 30px; border-radius: var(--radius-sm);
  font-weight: 600; line-height: 1.4; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn:hover { text-decoration: none; }
.btn-gold { background: var(--gold); color: var(--indigo-900); }
.btn-gold:hover { background: var(--gold-hover); color: var(--indigo-950); }
.btn-gold:active { background: var(--gold-active); }
.btn-outline { border: 1px solid var(--indigo-100); color: var(--indigo-800); background: transparent; }
.btn-outline:hover { border-color: var(--indigo-600); background: rgba(42,100,153,.06); }
.btn-outline--ink { border-color: var(--ink-500); color: var(--ink-900); }
.btn-outline--ink:hover { border-color: var(--indigo-800); color: var(--indigo-800); }
.btn-block { display: block; width: 100%; text-align: center; }

/* ---------- 首页 · 罗盘沉浸首屏 ---------- */
.hero-immersive {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 100% at 50% -10%, var(--indigo-850) 0%, var(--indigo-900) 55%, var(--indigo-950) 100%);
  color: var(--white);
  padding: 96px 0 112px;
  text-align: center;
}
/* 罗盘光晕：铜金单色微光，衬托指针 */
.hero-immersive::before {
  content: ""; position: absolute; left: 50%; top: 96px; transform: translateX(-50%);
  width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,162,90,.10) 0%, rgba(200,162,90,0) 62%);
  pointer-events: none;
}
.hero-immersive .hero-compass { display: block; width: 380px; max-width: 72vw; height: auto; aspect-ratio: 1 / 1; margin: 0 auto 40px; position: relative; }
.hero-immersive h1 {
  color: var(--white);
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.22;
  letter-spacing: .04em;
}
.hero-immersive .hero-quote {
  margin: 20px auto 0; max-width: 560px;
  font-family: var(--font-serif);
  color: var(--gold); font-size: 17px; line-height: 30px; letter-spacing: .06em;
}
.hero-immersive .hero-quote small { display: block; color: var(--ftr-muted); margin-top: 6px; letter-spacing: .1em; }
.hero-immersive .hero-sub {
  margin: 28px auto 0; max-width: 640px;
  color: var(--indigo-100); font-size: 17px; line-height: 32px;
}
.hero-immersive .hero-actions { margin-top: 44px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-immersive .btn-outline { border-color: rgba(216,226,236,.45); color: var(--white); }
.hero-immersive .btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.06); }
.hero-scroll {
  margin: 64px auto 0; color: var(--ftr-muted); font-size: 12px; letter-spacing: .3em;
}
.hero-scroll::after {
  content: ""; display: block; width: 1px; height: 32px;
  margin: 10px auto 0; background: linear-gradient(var(--gold), transparent);
}

/* 秒针行走：601 彩蛋——时针六·分针一·转轴即 601 室；秒针不停，工作室一直向前 */
/* 秒针行走：交由 main.js 用 SVG transform 属性逐帧旋转（绕罗盘中心 200,200），
   跨浏览器一致，且不受系统「减弱动态效果」影响，确保「秒针不停」品牌隐喻始终可见 */

/* ---------- 鼠标指针：LOGO 金色司南杓 ---------- */
body { cursor: url("../img/cursor-default.svg") 3 3, auto; }
a, button, select, summary, label, [role="button"] {
  cursor: url("../img/cursor-pointer.svg") 3 3, pointer;
}
input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
textarea { cursor: text; }

/* ---------- 内页头 ---------- */
.page-head { padding: 72px 0 56px; border-bottom: 1px solid var(--indigo-100); position: relative; overflow: hidden; }
.page-head::after {
  content: ""; position: absolute; right: -90px; top: -90px;
  width: 300px; height: 300px; border-radius: 50%;
  border: 1.5px solid var(--indigo-100);
  box-shadow: inset 0 0 0 26px var(--white), inset 0 0 0 27px var(--indigo-100);
  pointer-events: none;
}
.crumbs { margin-bottom: 22px; }
.crumbs ol { display: flex; align-items: center; gap: 12px; }
.crumbs li { display: flex; align-items: center; gap: 12px; font-size: 14px; letter-spacing: .02em; }
.crumbs li + li::before { content: "›"; color: var(--gold); font-weight: 700; font-size: 15px; line-height: 1; }
.crumbs a { color: var(--ink-500); transition: color .2s var(--ease); }
.crumbs a:hover { color: var(--indigo-700); text-decoration: none; }
.crumbs [aria-current] { color: var(--indigo-800); font-weight: 600; }
.page-head .lead { max-width: 720px; margin-top: 16px; }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--indigo-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 32px 28px;
  transition: box-shadow .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease);
}
a.card { display: block; color: inherit; }
a.card:hover { text-decoration: none; }
.card--hover:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--indigo-600);
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-700); }
.card-fit {
  margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--indigo-100);
  color: var(--ink-500); font-size: 13px; line-height: 22px;
}
.icon { width: 40px; height: 40px; margin-bottom: 18px; }
.icon-lg { width: 72px; height: 72px; }
.icon .st { fill: none; stroke: var(--indigo-700); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon .au { fill: var(--gold); }
.val-card { text-align: left; }
.val-card h3 { color: var(--indigo-800); }
.points li { position: relative; padding-left: 20px; color: var(--ink-700); margin-bottom: 6px; }
.points li::before {
  content: ""; position: absolute; left: 0; top: 12px;
  width: 8px; height: 2px; background: var(--gold);
}
.promise { color: var(--ink-700); }
.tint { background: var(--indigo-50); border-radius: var(--radius); padding: 24px; }
.sw { background: var(--white); }

/* 北斗七星 chip：铜金细描边徽标（星名） */
.star-chip {
  display: inline-block; margin-bottom: 12px;
  font-family: var(--font-serif); font-size: 13px; letter-spacing: .3em; text-indent: .3em;
  color: var(--gold-hover);
  border: 1px solid var(--gold);
  border-radius: 999px; padding: 2px 12px;
}

/* ---------- Steps ---------- */
.steps { display: grid; gap: 24px; grid-template-columns: repeat(4, 1fr); }
.step {
  background: var(--white); border: 1px solid var(--indigo-100);
  border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-sm);
  position: relative;
}
.step-no {
  font-family: var(--font-serif); font-size: 15px; color: var(--gold-hover);
  letter-spacing: .2em; margin-bottom: 10px;
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--ink-700); font-size: 15px; line-height: 26px; }
.step-out { color: var(--ink-500); font-size: 14px; margin-top: 10px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--indigo-800); color: var(--white); padding: 64px 0; position: relative; overflow: hidden; }
/* CTA 带 · 罗盘线条母题（外圆内方，金线极淡） */
.band-motif {
  position: absolute; right: -140px; top: 50%; transform: translateY(-50%);
  width: 380px; height: 380px; border-radius: 50%;
  border: 1px solid rgba(200,162,90,.28);
  pointer-events: none;
}
.band-motif::before {
  content: ""; position: absolute; inset: 26px; border-radius: 50%;
  border: 1px solid rgba(200,162,90,.18);
}
.band-motif::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 120px; height: 120px; transform: translate(-50%,-50%);
  border: 1px solid rgba(200,162,90,.22); border-radius: 10px;
}
.cta-in { display: grid; grid-template-columns: 7fr 5fr; gap: 32px; align-items: center; }
.cta-copy h2 { color: var(--white); font-size: 28px; line-height: 40px; }
.cta-copy h2::after { background: var(--gold); }
.cta-desc { color: var(--indigo-100); margin-top: 12px; }
.cta-desc a { color: var(--gold-soft); text-decoration: underline; text-underline-offset: 3px; }
.cta-desc a:hover { color: var(--white); }
.cta-actions { display: flex; gap: 14px; justify-content: flex-end; flex-wrap: wrap; }
.cta-actions .btn-outline { border-color: var(--indigo-100); color: var(--white); }
.cta-actions .btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.08); }

/* ---------- Footer ---------- */
.site-footer { background: var(--indigo-900); color: var(--indigo-100); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer-col h2 {
  font-size: 15px; color: var(--white); font-family: var(--font-sans); font-weight: 600;
  letter-spacing: .1em; margin-bottom: 16px;
}
.footer-col h2::after { display: none; }
.footer-col a { color: var(--indigo-100); }
.footer-col a:hover { color: var(--white); }
.footer-col li { margin-bottom: 8px; }
.footer-col address { font-style: normal; display: grid; gap: 6px; color: var(--ftr-muted); font-size: 14px; }
.footer-col address a { color: var(--indigo-100); }
.footer-brand img { height: 32px; margin-bottom: 14px; }
.footer-brand p { color: var(--ftr-muted); font-size: 14px; }
.footer-icp { margin-top: 10px; font-size: 12px; color: var(--ftr-muted); }
.footer-icp a { color: inherit; text-decoration: none; }
.footer-icp a:hover { color: var(--gold); text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid var(--ftr-line);
  padding: 20px 0; font-size: 13px; color: var(--ftr-muted);
}
.footer-bottom--bare { border-top: 0; }

/* ---------- 内页：products 模块详情 ---------- */
.module-detail { display: grid; padding: 56px 0; }
.module-detail + .module-detail { border-top: 1px solid var(--indigo-100); }
/* 内层复用了全局 .grid（三等分），在此收回 8fr/4fr 主次布局 */
.module-detail .grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 48px; align-items: start; }
.module-main h2 { margin-bottom: 14px; }
.module-main h2 .star-chip { margin: 0 0 4px 14px; vertical-align: 6px; font-size: 12px; letter-spacing: .2em; }
.module-desc { color: var(--ink-700); }
.module-aside {
  background: var(--indigo-50); border-radius: var(--radius);
  padding: 28px; align-self: start; position: sticky; top: 96px;
}
.module-fit { font-size: 14px; color: var(--ink-500); margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--indigo-100); }
.combo-card { background: var(--white); border: 1px solid var(--indigo-100); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-sm); }
.combo-suit { color: var(--ink-500); font-size: 13px; margin-top: 10px; }
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.spec-card { background: var(--white); border: 1px solid var(--indigo-100); border-radius: var(--radius); padding: 24px; }
.qa-item { padding: 20px 0; border-bottom: 1px solid var(--indigo-100); }
.qa-item h3 { font-size: 17px; color: var(--indigo-800); margin-bottom: 8px; }
.qa-item p { color: var(--ink-700); }
.honest-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.honest { background: var(--white); border: 1px solid var(--indigo-100); border-radius: var(--radius); padding: 28px; }
.honest h3 { color: var(--indigo-800); margin-bottom: 12px; }
.honest-note { color: var(--ink-500); font-size: 13px; margin-top: 12px; }

/* ---------- 内页：about 品牌故事 ---------- */
.story-grid { display: grid; grid-template-columns: 6fr 6fr; gap: 48px; align-items: center; }
.story-copy .lead { margin-top: 14px; }
.story-motto {
  font-family: var(--font-serif); color: var(--indigo-800);
  font-size: 20px; line-height: 36px; margin-top: 20px; padding-left: 16px;
  border-left: 3px solid var(--gold);
}
.story-visual { position: relative; }
.story-visual--mark { display: flex; align-items: center; justify-content: center; }
.story-visual--mark img {
  width: min(260px, 70%); height: auto;
  background: var(--indigo-50); border-radius: 50%; padding: 28px;
}
.story-copy { max-width: 760px; }

/* ---------- 内页：brand 品牌标识 ---------- */
.logo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.logo-card {
  border: 1px solid var(--indigo-100); border-radius: var(--radius);
  overflow: hidden; background: var(--white);
}
.logo-stage {
  display: flex; align-items: center; justify-content: center;
  height: 200px; padding: 24px;
}
.logo-stage.light { background: var(--white); }
.logo-stage.dark { background: var(--indigo-900); }
.logo-stage.tint { background: var(--indigo-50); }
.logo-card .cap { padding: 12px 16px; border-top: 1px solid var(--indigo-100); display: block; }
.color-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.color-item { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--indigo-100); }
.color-item .sw { height: 88px; }
.color-item .cap { padding: 10px 14px 2px; display: block; }
.color-item .name { font-weight: 600; color: var(--ink-900); padding: 0 14px 12px; display: block; }
.download-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- 内页：contact ---------- */
.contact-grid { display: grid; grid-template-columns: 6fr 6fr; gap: 48px; align-items: start; }
.contact-info > div + div { margin-top: 44px; }
.contact-info h2 { margin-bottom: 16px; }
.contact-info h3 { color: var(--indigo-800); margin: 20px 0 8px; }
.contact-info h3:first-child { margin-top: 0; }
.contact-info p, .contact-info li { color: var(--ink-700); }
.contact-info ul { display: grid; gap: 12px; }
.contact-info .promise { margin-top: 4px; }
/* 营业信息（dl/dt/dd 结构） */
.biz-list { display: grid; }
.biz-list > div { padding: 12px 0; border-bottom: 1px dashed var(--indigo-100); }
.biz-list > div:last-child { border-bottom: 0; }
.biz-list dt { font-size: 13px; color: var(--ink-500); margin-bottom: 2px; }
.biz-list dd { margin: 0; color: var(--ink-900); }
.contact-form-wrap {
  background: var(--white); border: 1px solid var(--indigo-100);
  border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 32px;
}
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--ink-900); font-size: 14px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 12px 14px; font: inherit; color: var(--ink-900);
  background: var(--white); border: 1px solid var(--indigo-100); border-radius: var(--radius-sm);
  transition: border-color .2s var(--ease);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--indigo-600);
}
.form-row textarea { min-height: 120px; resize: vertical; }
.req { color: var(--err); }
.field-err { color: var(--err); font-size: 13px; margin-top: 4px; display: none; }
.form-row.invalid input, .form-row.invalid select, .form-row.invalid textarea { border-color: var(--err); }
.form-row.invalid .field-err { display: block; }
.form-consent { display: flex; gap: 10px; align-items: flex-start; margin: 20px 0; }
.consent-label { font-size: 13px; color: var(--ink-700); line-height: 22px; }
.consent-label a { text-decoration: underline; }
.form-foot { display: flex; align-items: center; gap: 16px; }
.form-note { color: var(--ink-500); font-size: 13px; }
.alt-path { display: grid; gap: 8px; }

/* ---------- 内页：legal ---------- */
.legal-body { max-width: 760px; margin: 0 auto; }
.legal-toc {
  background: var(--indigo-50); border-radius: var(--radius);
  padding: 20px 24px; margin: 24px 0 40px;
}
.legal-toc li { margin-bottom: 6px; }
.legal-meta { color: var(--ink-500); font-size: 13px; margin-bottom: 32px; }
.legal-doc h2 { margin: 40px 0 14px; font-size: 22px; }
.legal-doc h3 { margin: 24px 0 10px; }
.legal-doc p, .legal-doc li { color: var(--ink-700); margin-bottom: 8px; }
.legal-doc ul, .legal-doc ol { padding-left: 20px; list-style: disc; }
.legal-doc ol { list-style: decimal; }
.lc-head { margin-bottom: 8px; }
.lc-sub { color: var(--ink-500); margin-bottom: 24px; }

/* ---------- 404 ---------- */
.error-page { text-align: center; padding: 96px 0; }
.error-page .compass-404 { width: 200px; margin: 0 auto 32px; opacity: .9; }
.error-page h1 { margin-bottom: 12px; }
.error-page p { color: var(--ink-700); }
.error-links { margin-top: 28px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- 响应式 ---------- */
/* 平板横屏（约 1024×768）：收紧首屏高度与留白，避免罗盘+标题把内容挤出视口 */
@media (max-width: 1199px) and (min-width: 769px) {
  :root { --sec-pad: 76px; }
  .hero-immersive { padding: 56px 0 72px; }
  .hero-immersive .hero-compass { width: 300px; max-width: 56vw; margin-bottom: 24px; }
  .hero-immersive h1 { font-size: clamp(32px, 4.4vw, 44px); }
  .hero-immersive .hero-quote { margin-top: 14px; font-size: 15px; line-height: 26px; }
  .hero-immersive .hero-sub { margin-top: 20px; font-size: 15px; line-height: 28px; }
  .hero-immersive .hero-actions { margin-top: 30px; }
  .hero-scroll { margin-top: 36px; }
  .hero-scroll::after { height: 20px; }
  .page-head { padding: 52px 0 40px; }
  .page-head::after { width: 240px; height: 240px; right: -64px; top: -64px; }
  .module-detail { padding: 44px 0; }
  .module-detail .grid { gap: 36px; }
  .sec-head { margin-bottom: 36px; }
}
@media (max-width: 992px) {
  :root { --sec-pad: 80px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .module-detail { grid-template-columns: 1fr; gap: 24px; }
  .module-detail .grid { grid-template-columns: 1fr; gap: 24px; }
  .module-aside { position: static; }
  .cta-in { grid-template-columns: 1fr; }
  .cta-actions { justify-content: flex-start; }
  .story-grid, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .spec-grid, .honest-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .header-in { justify-content: space-between; }
  .brand img { height: 48px; }
  .js .site-nav {
    position: absolute; top: 96px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--indigo-100);
    display: none; padding: 12px var(--gutter) 20px;
    box-shadow: var(--shadow-md);
  }
  .js .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 2px; }
  .site-nav a { padding: 12px 10px; }
  .nav-toggle { display: block; }
  .hero-immersive { padding: 72px 0 88px; }
  .hero-immersive .hero-actions { flex-direction: column; align-items: center; }
  .hero-immersive .btn { width: min(320px, 100%); }
  .sec-head--row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .color-bar { grid-template-columns: repeat(2, 1fr); }
  .logo-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  :root { --sec-pad: 64px; --gutter: 20px; }
  .grid, .grid--2x2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  h1 { font-size: 30px; line-height: 42px; }
  h2 { font-size: 24px; line-height: 34px; }
  .hero-immersive h1 { font-size: 34px; line-height: 46px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-immersive .hero-compass { width: 280px; max-width: 84vw; }
}

/* ---------- 顶栏滚动态 / 滚动渐显（main.js 联动） ---------- */
.site-header.is-scrolled { box-shadow: 0 2px 12px rgba(13,36,56,.08); }
.js .reveal {
  opacity: 0; transform: translateY(16px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- 降级：用户偏好减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- 北斗七星彩虹轨迹：秒针走到哪，颜色生长到哪（dasharray 渐进），整圈后渐隐重来 ---------- */
.star-unit .star-arc {
  fill: none;
  stroke-width: 5;
  stroke-linecap: round;
  opacity: .95;
  filter: drop-shadow(0 0 6px currentColor) drop-shadow(0 0 1.5px currentColor);
}
.star-unit .star-name {
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: .06em;
  opacity: 0;
  transition: opacity .9s var(--ease), filter .9s var(--ease);
}
.star-unit .star-name.lit {
  opacity: .95;
  filter: drop-shadow(0 0 6px currentColor) drop-shadow(0 0 1.5px currentColor);
}
