/* ==========================================================================
   华帮创想科技 · 官网样式表
   设计基调：工业深蓝 + 金属银灰 + 科技浅青，Palantir 式极简 HUD 排版
   约定：全部尺寸用 clamp()/rem 自适应，移动端优先展示咨询入口
   ========================================================================== */

/* ---------- 1. 设计令牌 ---------- */
:root {
  /* 主色：工业深蓝（可靠） */
  --bg:        #060B14;
  --bg-1:      #0A1220;
  --bg-2:      #0E1A2B;
  --bg-3:      #122238;

  /* 辅助色：金属银灰（设备质感） */
  --text:      #E8EEF5;
  --steel:     #B4C2D2;
  --muted:     #8798AB;
  --dim:       #5A6B7F;

  /* 点缀色：科技浅青（AI / FDE 技术） */
  --accent:    #2FD8E0;
  --accent-d:  #14A8B4;
  --accent-2:  #2F7FE0;   /* 工业蓝 */
  --warn:      #E8A33D;

  --line:      rgba(150, 176, 205, 0.16);
  --line-2:    rgba(150, 176, 205, 0.30);

  /* 排版 */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
               "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  --font-mono: ui-monospace, "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, monospace;

  /* 间距 */
  --gutter:    clamp(20px, 5vw, 64px);
  --section-y: clamp(72px, 9vw, 136px);
  --maxw:      1400px;

  --radius:    3px;        /* 军政级克制圆角 2-4px */
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

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

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

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.015em;
}
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* 焦点可见性：无障碍要求，禁止直接 outline:none */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

::selection { background: var(--accent); color: #04121A; }

/* 跳至主内容 */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 999;
  padding: 10px 18px; background: var(--accent); color: #04121A;
  font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 12px; }

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

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 88px); }
.section--line { border-top: 1px solid var(--line); }
.section--alt { background: var(--bg-1); }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

.grid { display: grid; gap: clamp(16px, 2vw, 28px); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* ---------- 4. HUD 排版元素 ---------- */
.hud {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent);
}
.hud::before {
  content: ""; width: 22px; height: 1px; background: var(--accent);
}
.hud--plain::before { display: none; }

.idx {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.1em;
  color: var(--dim);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted);
}

.h-display {
  font-size: clamp(2.1rem, 6.2vw, 4.6rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 600;
}
.h1 { font-size: clamp(1.9rem, 4.6vw, 3.2rem); line-height: 1.12; }
.h2 { font-size: clamp(1.5rem, 3.2vw, 2.35rem); line-height: 1.2; }
.h3 { font-size: clamp(1.12rem, 1.7vw, 1.4rem); line-height: 1.35; }

.lead {
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  color: var(--steel);
  line-height: 1.85;
  max-width: 62ch;
}
.muted { color: var(--muted); }
.dim   { color: var(--dim); }
.accent{ color: var(--accent); }

.section-head {
  display: flex; flex-wrap: wrap; gap: clamp(16px, 3vw, 48px);
  align-items: flex-end; justify-content: space-between;
  margin-bottom: clamp(32px, 4.5vw, 64px);
}
.section-head__main { max-width: 68ch; }
.section-head .h2 { margin-top: 14px; }
.section-head .lead { margin-top: 18px; }

/* ---------- 5. 按钮 ---------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  --btn-bd: var(--line-2);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius);
  font-size: 15px; font-weight: 500;
  cursor: pointer;
  transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.btn__arrow { font-family: var(--font-mono); transition: transform .25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--primary {
  --btn-bg: var(--accent); --btn-fg: #04121A; --btn-bd: var(--accent);
  font-weight: 600;
}
.btn--primary:hover {
  --btn-bg: #58E9F0; --btn-bd: #58E9F0; color: #04121A;
}
.btn--sm { padding: 9px 16px; font-size: 13px; }
.btn--block { width: 100%; }

.link-more {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .06em;
  color: var(--accent);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, gap .25s;
}
.link-more:hover { border-color: var(--accent); gap: 14px; }

/* ---------- 6. 顶部导航 ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(6, 11, 20, 0);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s;
}
.nav.is-stuck {
  background: rgba(6, 11, 20, 0.92);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line);
}
.nav__inner {
  display: flex; align-items: center; gap: clamp(16px, 3vw, 40px);
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand__mark { width: 30px; height: 30px; flex: 0 0 auto; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand__cn { font-size: 16px; font-weight: 700; letter-spacing: .04em; }
.brand__en {
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: .22em; color: var(--dim); text-transform: uppercase;
}

.nav__links { display: flex; align-items: center; gap: clamp(4px, 1.4vw, 22px); margin-left: auto; }
.nav__link {
  position: relative; padding: 8px 4px; font-size: 14.5px; color: var(--steel);
  transition: color .2s;
  white-space: nowrap;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 2px;
  height: 1px; background: var(--accent); transition: right .3s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--text); }
.nav__link:hover::after, .nav__link.is-active::after { right: 0; }

.nav__actions { display: flex; align-items: center; gap: 10px; margin-left: clamp(8px, 2vw, 24px); }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  background: transparent; border: 1px solid var(--line); border-radius: var(--radius);
  cursor: pointer; transition: border-color .2s, color .2s;
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }

.nav__toggle { display: none; }

/* 移动端抽屉 */
.drawer {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(6, 11, 20, .98);
  backdrop-filter: blur(8px);
  padding: 96px var(--gutter) 40px;
  transform: translateY(-8px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  overflow-y: auto;
}
.drawer.is-open { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.drawer__link {
  display: flex; align-items: baseline; gap: 14px;
  padding: 16px 0; border-bottom: 1px solid var(--line);
  font-size: 20px;
}
.drawer__link .idx { flex: 0 0 auto; }
.drawer__cta { margin-top: 28px; display: grid; gap: 12px; }

@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; margin-left: auto; }
  .nav__actions .btn { display: none; }
}

/* ---------- 7. 首屏 Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;              /* 移动端地址栏安全高度 */
  display: flex; align-items: center;
  padding-top: 96px; padding-bottom: 48px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg svg { width: 100%; height: 100%; }
.hero__veil {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(120% 90% at 12% 20%, rgba(47, 216, 224, .10), transparent 55%),
    radial-gradient(90% 80% at 90% 90%, rgba(47, 127, 224, .12), transparent 60%),
    linear-gradient(180deg, rgba(6,11,20,.55) 0%, rgba(6,11,20,.82) 100%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero__title { margin-top: 22px; max-width: 20ch; }
.hero__sub { margin-top: 26px; }
.hero__cta { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; }

.hero__stats {
  margin-top: clamp(48px, 7vw, 96px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  border-top: 1px solid var(--line);
}
.hero__stat { padding: 22px 20px 4px 0; }
.hero__stat b {
  display: block; font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 600;
  letter-spacing: -.02em; font-variant-numeric: tabular-nums;
}
.hero__stat span { font-size: 13px; color: var(--muted); }

/* 滚动提示 */
.hero__scroll {
  position: absolute; left: var(--gutter); bottom: 22px; z-index: 2;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em;
  color: var(--dim); text-transform: uppercase;
}
.hero__scroll i {
  width: 1px; height: 26px; background: linear-gradient(var(--accent), transparent);
  animation: scrollPulse 2s var(--ease) infinite;
}
@keyframes scrollPulse { 0%,100% { opacity:.3; transform: scaleY(.6);} 50% { opacity:1; transform: scaleY(1);} }

/* 页面内页头 */
.pagehead {
  position: relative;
  padding-top: clamp(128px, 15vw, 190px);
  padding-bottom: clamp(48px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(90% 120% at 88% 0%, rgba(47,127,224,.14), transparent 60%),
    linear-gradient(180deg, var(--bg-1), var(--bg));
}
.pagehead__title { margin-top: 18px; }
.pagehead .lead { margin-top: 20px; }
.crumb {
  display: flex; gap: 8px; align-items: center;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em;
  color: var(--dim); margin-bottom: 18px;
}
.crumb a:hover { color: var(--accent); }

/* ---------- 8. 新闻走马灯 ---------- */
.ticker {
  border-block: 1px solid var(--line);
  background: var(--bg-1);
  overflow: hidden;
  display: flex; align-items: center;
}
.ticker__tag {
  flex: 0 0 auto; padding: 12px 18px;
  border-right: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em;
  color: var(--accent); text-transform: uppercase;
  background: var(--bg-2);
}
.ticker__view { flex: 1 1 auto; overflow: hidden; }
.ticker__track {
  display: flex; gap: 56px; width: max-content;
  animation: tickerMove 42s linear infinite;
  padding-inline: 28px;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item { font-size: 14px; color: var(--steel); white-space: nowrap; padding-block: 12px; }
.ticker__item b { color: var(--accent); font-family: var(--font-mono); font-size: 11px; margin-right: 8px; }
@keyframes tickerMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- 9. 卡片 ---------- */
.card {
  position: relative;
  padding: clamp(22px, 2.4vw, 34px);
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease);
  height: 100%;
  display: flex; flex-direction: column;
}
.card::before {
  content: ""; position: absolute; left: -1px; top: -1px; width: 0; height: 2px;
  background: var(--accent); transition: width .4s var(--ease);
}
.card:hover { border-color: var(--line-2); background: var(--bg-2); transform: translateY(-3px); }
.card:hover::before { width: 46px; }
.card__idx { font-family: var(--font-mono); font-size: 12px; color: var(--dim); letter-spacing: .1em; }
.card__title { margin-top: 14px; font-size: clamp(1.05rem, 1.5vw, 1.25rem); font-weight: 600; }
.card__desc { margin-top: 12px; color: var(--muted); font-size: 14.5px; line-height: 1.8; }
.card__foot { margin-top: auto; padding-top: 20px; }
.card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

.tag {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em;
  padding: 4px 9px; border: 1px solid var(--line); border-radius: 2px;
  color: var(--muted);
}
.tag--on { border-color: var(--accent); color: var(--accent); }

/* 方案卡（带示意图） */
.solution-card { padding: 0; overflow: hidden; }
.solution-card__fig {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(160deg, var(--bg-2), var(--bg));
  padding: 22px;
}
.solution-card__fig svg { width: 100%; height: auto; }
.solution-card__body { padding: clamp(20px, 2.2vw, 30px); display: flex; flex-direction: column; flex: 1; }

/* ---------- 10. 对比表 / 数据 ---------- */
.compare {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.compare__col { padding: clamp(22px, 2.5vw, 34px); }
.compare__col + .compare__col { border-left: 1px solid var(--line); }
.compare__col--old { background: var(--bg-1); }
.compare__col--new { background: linear-gradient(160deg, rgba(47,216,224,.06), transparent 70%), var(--bg-2); }
.compare__label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
}
.compare__col--old .compare__label { color: var(--dim); }
.compare__col--new .compare__label { color: var(--accent); }
.compare__list { margin-top: 20px; display: grid; gap: 14px; }
.compare__list li { display: flex; gap: 12px; font-size: 14.5px; color: var(--steel); line-height: 1.7; }
.compare__list li::before { content: "—"; color: var(--dim); flex: 0 0 auto; }
.compare__col--new .compare__list li::before { content: "▸"; color: var(--accent); }
@media (max-width: 640px) {
  .compare__col + .compare__col { border-left: 0; border-top: 1px solid var(--line); }
}

.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.metric { background: var(--bg); padding: clamp(20px, 2.4vw, 32px); }
.metric b {
  display: block; font-size: clamp(1.8rem, 3.4vw, 2.8rem); font-weight: 600;
  letter-spacing: -.03em; color: var(--text); font-variant-numeric: tabular-nums;
}
.metric b em { font-style: normal; font-size: .5em; color: var(--accent); margin-left: 4px; }
.metric span { display: block; margin-top: 8px; font-size: 13.5px; color: var(--muted); }

/* 前后数据对比条 */
.delta { display: grid; gap: 14px; margin-top: 20px; }
.delta__row { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; align-items: baseline; }
.delta__name { font-size: 14px; color: var(--muted); }
.delta__val { font-family: var(--font-mono); font-size: 14px; }
.delta__val s { color: var(--dim); text-decoration-color: var(--dim); }
.delta__val b { color: var(--accent); font-weight: 600; }
.delta__bar { grid-column: 1 / -1; height: 3px; background: var(--bg-3); overflow: hidden; }
.delta__bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent-2), var(--accent)); transition: width 1.1s var(--ease); }
.is-in .delta__bar i { width: var(--w, 60%); }

/* ---------- 11. 流程时间轴 ---------- */
.flow {
  display: grid;
  grid-template-columns: repeat(6, minmax(180px, 1fr));
  border-top: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: thin;
}
.flow__step {
  position: relative; padding: 28px 22px 30px 0; padding-right: 22px;
  border-right: 1px solid var(--line);
}
.flow__step:last-child { border-right: 0; }
.flow__step::before {
  content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px;
  background: var(--bg); border: 1px solid var(--dim); border-radius: 50%;
}
.flow__step.is-key::before { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 4px rgba(47,216,224,.15); }
.flow__no { font-family: var(--font-mono); font-size: 11px; color: var(--dim); letter-spacing: .12em; }
.flow__title { margin-top: 12px; font-size: 16px; font-weight: 600; }
.flow__desc { margin-top: 10px; font-size: 13.5px; color: var(--muted); line-height: 1.75; }
@media (max-width: 900px) { .flow { grid-template-columns: repeat(6, 74vw); } }

/* ---------- 12. 图片占位（等待真实工业实拍） ---------- */
.photo {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background:
    repeating-linear-gradient(135deg, rgba(150,176,205,.045) 0 1px, transparent 1px 11px),
    linear-gradient(160deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo__hint {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; text-align: center; padding: 24px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; color: var(--dim);
}
.photo__hint b { color: var(--muted); font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; }
.photo::after {
  content: ""; position: absolute; inset: 10px;
  border: 1px solid transparent;
  border-image: linear-gradient(135deg, var(--line-2), transparent 30%, transparent 70%, var(--line-2)) 1;
  pointer-events: none;
}
.photo--tall { aspect-ratio: 4 / 5; }
.photo--wide { aspect-ratio: 21 / 9; }

/* ---------- 13. 案例 ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filter {
  padding: 8px 16px; border: 1px solid var(--line); border-radius: var(--radius);
  background: transparent; font-size: 13.5px; color: var(--muted); cursor: pointer;
  transition: .2s;
}
.filter:hover { border-color: var(--line-2); color: var(--text); }
.filter[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); background: rgba(47,216,224,.07); }

.case-card { padding: 0; overflow: hidden; }
.case-card .photo { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.case-card__body { padding: clamp(20px, 2.2vw, 30px); display: flex; flex-direction: column; flex: 1; }
.case-empty { padding: 48px 0; color: var(--muted); text-align: center; }

/* ---------- 14. 表单 ---------- */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field > label {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
}
.field .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px;
  background: var(--bg); color: var(--text);
  border: 1px solid var(--line); border-radius: var(--radius);
  font-family: inherit; font-size: 15px;
  transition: border-color .2s, background .2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent); background: var(--bg-1); outline: none;
}
.field textarea { resize: vertical; min-height: 108px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 19px) 21px, calc(100% - 14px) 21px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.field__err { font-size: 12.5px; color: var(--warn); min-height: 1em; }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.form__note { font-size: 12.5px; color: var(--dim); line-height: 1.7; }
.form__ok {
  display: none; padding: 16px 18px; border: 1px solid var(--accent);
  background: rgba(47,216,224,.08); color: var(--accent); font-size: 14.5px; border-radius: var(--radius);
}
.form__ok.is-on { display: block; }

/* ---------- 15. 右侧悬浮咨询栏 ---------- */
.rail {
  position: fixed; right: 14px; top: 50%; transform: translateY(-50%);
  z-index: 90;
  display: grid; gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.rail__btn {
  position: relative;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10, 18, 32, .92);
  backdrop-filter: blur(8px);
  border: 0; cursor: pointer; color: var(--steel);
  transition: background .2s, color .2s;
}
.rail__btn:hover { background: var(--accent); color: #04121A; }
.rail__btn span {
  position: absolute; right: calc(100% + 10px); top: 50%; transform: translateY(-50%) translateX(6px);
  white-space: nowrap; padding: 8px 12px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 13px; color: var(--text);
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
.rail__btn:hover span { opacity: 1; transform: translateY(-50%) translateX(0); }
.rail__btn img { width: 118px; height: 118px; }
.rail__btn--top { display: none; }
.rail__btn--top.is-on { display: flex; }

/* 移动端：底部条 —— 咨询入口优先 */
@media (max-width: 780px) {
  .rail {
    inset: auto 0 0 0; top: auto; transform: none;
    grid-auto-flow: column; grid-auto-columns: 1fr;
    border-radius: 0; border-left: 0; border-right: 0; border-bottom: 0;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .rail__btn { width: 100%; height: 56px; flex-direction: column; gap: 3px; font-size: 11px; }
  .rail__btn span { position: static; opacity: 1; transform: none; padding: 0; background: none; border: 0; font-size: 11px; color: inherit; }
  .rail__btn img { display: none; }
  body { padding-bottom: 56px; }
}

/* ---------- 16. 弹窗 ---------- */
.modal {
  position: fixed; inset: 0; z-index: 200;
  display: none; align-items: center; justify-content: center;
  padding: 20px;
  background: rgba(3, 7, 13, .82);
  backdrop-filter: blur(6px);
}
.modal.is-open { display: flex; }
.modal__panel {
  position: relative;
  width: min(620px, 100%); max-height: 88dvh; overflow-y: auto;
  background: var(--bg-1); border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: clamp(24px, 4vw, 40px);
  animation: modalIn .34s var(--ease);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(14px) scale(.99); } to { opacity: 1; transform: none; } }
.modal__close {
  position: absolute; right: 12px; top: 12px;
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer;
}
.modal__close:hover { border-color: var(--accent); color: var(--accent); }

/* 轻量引导弹窗（右下角） */
.nudge {
  position: fixed; right: 84px; bottom: 26px; z-index: 95;
  width: min(340px, calc(100vw - 32px));
  padding: 20px 22px;
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(0,0,0,.5);
  transform: translateY(16px); opacity: 0; visibility: hidden;
  transition: .4s var(--ease);
}
.nudge.is-on { transform: none; opacity: 1; visibility: visible; }
.nudge__close { position: absolute; right: 8px; top: 6px; background: none; border: 0; cursor: pointer; color: var(--dim); font-size: 18px; line-height: 1; }
.nudge__close:hover { color: var(--accent); }
@media (max-width: 780px) { .nudge { right: 12px; bottom: 72px; } }

/* 搜索面板 */
.search-panel { position: fixed; inset: 0; z-index: 210; display: none; padding: 12vh 20px 20px; background: rgba(3,7,13,.9); backdrop-filter: blur(8px); }
.search-panel.is-open { display: block; }
.search-box { width: min(720px, 100%); margin-inline: auto; }
.search-box input {
  width: 100%; padding: 18px 20px; font-size: 18px;
  background: var(--bg-1); color: var(--text);
  border: 1px solid var(--line-2); border-radius: var(--radius);
}
.search-box input:focus { border-color: var(--accent); outline: none; }
.search-res { margin-top: 14px; max-height: 56vh; overflow-y: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-1); }
.search-res:empty { display: none; }
.search-res a { display: block; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.search-res a:last-child { border-bottom: 0; }
.search-res a:hover { background: var(--bg-2); }
.search-res b { display: block; font-size: 15px; }
.search-res small { color: var(--muted); font-size: 13px; }
.search-tip { margin-top: 12px; text-align: center; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; color: var(--dim); }

/* ---------- 17. 手风琴 FAQ ---------- */
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__btn {
  width: 100%; display: flex; align-items: center; gap: 18px; justify-content: space-between;
  padding: 22px 0; background: none; border: 0; cursor: pointer; text-align: left;
  font-size: clamp(1rem, 1.4vw, 1.1rem); font-weight: 500;
  transition: color .2s;
}
.acc__btn:hover { color: var(--accent); }
.acc__sign { flex: 0 0 auto; font-family: var(--font-mono); color: var(--accent); transition: transform .3s var(--ease); }
.acc__btn[aria-expanded="true"] .acc__sign { transform: rotate(45deg); }
.acc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.acc__body.is-open { grid-template-rows: 1fr; }
.acc__body > div { overflow: hidden; }
.acc__body p { padding-bottom: 24px; color: var(--muted); font-size: 15px; line-height: 1.85; max-width: 78ch; }

/* ---------- 18. 页脚 ---------- */
.foot { border-top: 1px solid var(--line); background: var(--bg-1); }
.foot__top { padding-block: clamp(48px, 6vw, 80px); display: grid; gap: clamp(32px, 4vw, 56px); grid-template-columns: minmax(260px, 1.4fr) repeat(auto-fit, minmax(150px, 1fr)); }
.foot__col h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); font-weight: 500; }
.foot__col ul { margin-top: 16px; display: grid; gap: 11px; }
.foot__col a { font-size: 14.5px; color: var(--steel); }
.foot__col a:hover { color: var(--accent); }
.foot__brand .lead { margin-top: 16px; font-size: 14.5px; max-width: 40ch; }
.foot__contact { margin-top: 20px; display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.foot__contact b { color: var(--text); font-family: var(--font-mono); font-size: 17px; letter-spacing: .02em; }
.foot__bar {
  border-top: 1px solid var(--line); padding-block: 22px;
  display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between;
  font-size: 13px; color: var(--dim);
}
.foot__bar a:hover { color: var(--accent); }

/* ---------- 19. 滚动进入动画 ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 20. 通用小件 ---------- */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(28px, 4vw, 64px); align-items: start; }
.stack { display: grid; gap: clamp(14px, 1.6vw, 22px); }
.bullets { display: grid; gap: 14px; }
.bullets li { display: flex; gap: 14px; font-size: 15px; color: var(--steel); line-height: 1.8; }
.bullets li::before { content: "▸"; color: var(--accent); flex: 0 0 auto; }
.numlist { display: grid; gap: 20px; counter-reset: n; }
.numlist li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; counter-increment: n; }
.numlist li::before {
  content: "0" counter(n); font-family: var(--font-mono); font-size: 12px; color: var(--accent);
  padding-top: 5px; letter-spacing: .08em;
}
.numlist b { display: block; font-size: 16px; font-weight: 600; }
.numlist p { margin-top: 6px; color: var(--muted); font-size: 14.5px; line-height: 1.8; }

.panel { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 2.6vw, 36px); background: var(--bg-1); }
.panel--accent { background: linear-gradient(150deg, rgba(47,216,224,.07), transparent 60%), var(--bg-1); border-color: var(--line-2); }

.table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.table th, .table td { padding: 15px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table th { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.table td { color: var(--steel); }
.table tr:hover td { background: var(--bg-1); }
.table-scroll { overflow-x: auto; }

.diagram { border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(160deg, var(--bg-1), var(--bg)); padding: clamp(18px, 2.6vw, 34px); }
.diagram svg { width: 100%; height: auto; }
.diagram figcaption { margin-top: 16px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; color: var(--dim); text-align: center; }

.cta-band {
  border: 1px solid var(--line-2); border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(47,127,224,.12), rgba(47,216,224,.06) 60%, transparent), var(--bg-1);
  padding: clamp(28px, 4vw, 56px);
  display: grid; gap: 24px; grid-template-columns: minmax(280px, 1fr) auto; align-items: center;
}
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.dl-item { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.dl-item:first-child { border-top: 1px solid var(--line); }
.dl-item__ico { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--radius); color: var(--accent); }
.dl-item b { font-size: 16px; }
.dl-item p { margin-top: 5px; font-size: 13.5px; color: var(--muted); }
@media (max-width: 620px) { .dl-item { grid-template-columns: auto 1fr; } .dl-item .btn { grid-column: 1 / -1; } }

.article-item { display: grid; gap: 8px; padding: 24px 0; border-bottom: 1px solid var(--line); transition: padding-left .3s var(--ease); }
.article-item:hover { padding-left: 10px; }
.article-item__meta { display: flex; gap: 14px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; color: var(--dim); }
.article-item b { font-size: clamp(1rem, 1.5vw, 1.15rem); font-weight: 600; }
.article-item p { color: var(--muted); font-size: 14.5px; max-width: 80ch; }

.badge-row { display: flex; flex-wrap: wrap; gap: 12px; }
.badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 16px; border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 13.5px; color: var(--steel); background: var(--bg-1);
}
.badge i { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; flex: 0 0 auto; }

.quote { border-left: 2px solid var(--accent); padding: 6px 0 6px 24px; }
.quote p { font-size: clamp(1.05rem, 1.7vw, 1.3rem); line-height: 1.75; color: var(--text); }
.quote cite { display: block; margin-top: 16px; font-style: normal; font-size: 13.5px; color: var(--muted); }

.map-embed { aspect-ratio: 16/9; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }
