/* ============================================================
   海兴锁业 · HAIXING SWITCH — V9
   设计语言：精密仪器 / 工程规范 —— 石墨黑 · 混凝土纸 · 钴蓝 · 银灰
   字体：Noto Serif SC（中文标题）+ Noto Sans SC（正文）
        Big Shoulders（数字与拉丁标题）+ IBM Plex Mono（编号与标注）
   ============================================================ */

/* ---------- Fonts（仅保留必要字重；中文正文使用系统字体，体积更小） ---------- */
@font-face { font-family: "Noto Serif SC"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/serif-cn-700.woff2") format("woff2"); unicode-range: U+4E00-9FFF, U+3000-303F, U+FF00-FFEF, U+2014, U+2018-201F, U+2026; }
@font-face { font-family: "Noto Serif SC"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/serif-lat-700.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Big Shoulders"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/bigshoulders-bold.ttf") format("truetype"); }
@font-face { font-family: "Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/plexmono-regular.ttf") format("truetype"); }

/* ---------- Tokens ---------- */
:root {
  --void: #0C1318;
  --void-2: #111C24;
  --void-3: #16232C;
  --ink: #12191F;
  --ink-2: #3D4852;
  --muted: #5E6972;
  --paper: #F1F1EE;
  --paper-2: #E5E4DF;
  --white: #FAFAF7;
  --blue: #16688F;
  --blue-2: #1C83B8;
  --blue-3: #2F9BCC;
  --ice: #8FCBE8;
  --ice-2: #C9E6F2;
  --mark: #E0562A;
  --line: rgba(18, 25, 31, .14);
  --line-2: rgba(18, 25, 31, .26);
  --line-l: rgba(255, 255, 255, .14);
  --line-l2: rgba(255, 255, 255, .26);

  --serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans CJK SC", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --disp: "Big Shoulders", "Arial Narrow", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --nav-h: 84px;
  --pad: clamp(20px, 4.6vw, 72px);
  --gap: clamp(28px, 4vw, 64px);
  --sec-y: clamp(68px, 8.5vw, 132px);
  --ease: cubic-bezier(.22, .61, .21, 1);
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
::selection { background: var(--blue-2); color: #fff; }
:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; }
[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }
[hidden] { display: none !important; }
body.menu-open, body.lb-open { overflow: hidden; }

.wrap { width: min(1440px, 100% - var(--pad) * 2); margin-inline: auto; }
.skip {
  position: fixed; top: -70px; left: 20px; z-index: 500;
  background: var(--ink); color: #fff; padding: 12px 20px; font-size: 14px;
  transition: top .25s var(--ease);
}
.skip:focus { top: 14px; }
.scroll-bar {
  position: fixed; top: 0; left: 0; z-index: 320;
  height: 2px; width: 0; background: var(--blue-3);
}

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .85s var(--ease), transform .85s var(--ease); transition-delay: var(--d, 0s); }
.reveal.rv-left { transform: translateX(-34px); }
.reveal.rv-right { transform: translateX(34px); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 15px 28px; font-size: 15.5px; font-weight: 500; letter-spacing: .04em;
  border: 1px solid transparent; border-radius: 2px;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary { background: var(--blue-2); color: #fff; }
.btn-primary:hover { background: var(--blue-3); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(28, 131, 184, .28); }
.btn-ghost { border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn-ghost:hover { border-color: var(--ice); color: var(--ice); background: rgba(255, 255, 255, .05); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; margin-top: 6px; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none !important; }
.link-arrow {
  display: inline-block; font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em;
  color: var(--ink); border-bottom: 1px solid var(--line-2); padding-bottom: 3px;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.link-arrow:hover { color: var(--blue-2); border-color: var(--blue-2); }

/* ---------- Nav ---------- */
.site-head {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  background: linear-gradient(180deg, rgba(6, 10, 13, .55), rgba(6, 10, 13, 0));
  transition: background .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-head.is-scrolled {
  background: rgba(244, 242, 237, .94);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: 0; }
.brand-logo { width: 34px; height: 34px; object-fit: contain; flex: none; }
.logo--dark { display: none; }
.is-scrolled .logo--light { display: none; }
.is-scrolled .logo--dark { display: block; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 19px; letter-spacing: .1em; color: #fff; transition: color .4s var(--ease); }
.brand-sub { font-family: var(--mono); font-style: normal; font-size: 10px; letter-spacing: .18em; color: rgba(255, 255, 255, .55); margin-top: 4px; transition: color .4s var(--ease); white-space: nowrap; }
.is-scrolled .brand-name { color: var(--ink); }
.is-scrolled .brand-sub { color: var(--muted); }
.nav-list { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav-a {
  position: relative; font-size: 15px; color: rgba(255, 255, 255, .82); padding: 6px 0;
  transition: color .3s var(--ease);
}
.nav-a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--ice); transition: width .35s var(--ease);
}
.nav-a:hover { color: #fff; }
.nav-a:hover::after, .nav-a.is-active::after { width: 100%; }
.is-scrolled .nav-a { color: var(--ink-2); }
.is-scrolled .nav-a::after { background: var(--blue-2); }
.is-scrolled .nav-a:hover, .is-scrolled .nav-a.is-active { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 12px; flex: none; }
.is-scrolled .nav-cta .btn-primary { background: var(--ink); }
.is-scrolled .nav-cta .btn-primary:hover { background: var(--blue-2); }
.burger { display: none; width: 44px; height: 44px; position: relative; z-index: 210; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: #fff; transition: transform .35s var(--ease), opacity .3s var(--ease), background .3s; }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21.5px; }
.burger span:nth-child(3) { top: 28px; }
.is-scrolled .burger span { background: var(--ink); }
.burger.is-open span { background: #fff; }
.burger.is-open span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { top: 21.5px; transform: rotate(-45deg); }

/* 移动端菜单 */
.mobile-menu {
  position: fixed; inset: 0; z-index: 190; background: #0A0F13;
  padding: calc(var(--nav-h) + 18px) clamp(20px, 6vw, 44px) 36px;
  display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto;
  animation: mmIn .4s var(--ease);
}
@keyframes mmIn { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
.mm-list { display: flex; flex-direction: column; }
.mm-a {
  display: flex; align-items: baseline; gap: 16px; padding: 13px 0;
  font-family: var(--serif); font-weight: 700; font-size: clamp(21px, 5.6vw, 28px); color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .08); transition: color .3s, padding-left .35s var(--ease);
}
.mm-a i { font-family: var(--mono); font-style: normal; font-size: 10.5px; letter-spacing: .1em; color: var(--ice); }
.mm-a:hover { color: var(--ice); padding-left: 8px; }
.mm-foot { margin-top: 28px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; line-height: 2.1; color: rgba(255, 255, 255, .45); }
.mm-foot a:hover { color: var(--ice); }

/* ---------- Hero ---------- */
.hero {
  position: relative; z-index: 1;
  background: var(--void); color: #fff;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  overflow: hidden;
}
.hero-left { display: flex; align-items: center; padding: calc(var(--nav-h) + clamp(30px, 6vh, 70px)) var(--pad) clamp(28px, 5vh, 54px); min-width: 0; }
.hero-inner { width: 100%; max-width: 760px; min-width: 0; }
.hero-eyebrow { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .22em; color: var(--ice); margin-bottom: 26px; }
.hero-eyebrow .dot { width: 6px; height: 6px; background: var(--mark); flex: none; }
.hero-title { font-family: var(--serif); font-weight: 700; font-size: clamp(42px, 5.6vw, 88px); line-height: 1.1; letter-spacing: .01em; margin-bottom: 26px; }
.hero-title em { font-style: normal; color: var(--ice); }
.hero-sub { max-width: 58ch; font-size: 16.5px; line-height: 1.95; color: rgba(255, 255, 255, .74); margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: clamp(36px, 6vh, 64px); }
.hero-spec {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-l); padding-top: 22px; max-width: 760px;
}
.spec { padding-left: 18px; border-left: 1px solid rgba(255, 255, 255, .1); }
.spec:first-child { padding-left: 0; border-left: 0; }
.spec-n { font-family: var(--disp); font-weight: 700; font-size: clamp(34px, 3.4vw, 46px); line-height: .9; color: #fff; letter-spacing: .02em; }
.spec-u { font-family: var(--mono); font-size: 11.5px; color: rgba(255, 255, 255, .55); margin-left: 5px; }
.spec-l { display: block; font-family: var(--mono); font-style: normal; font-size: 10.5px; letter-spacing: .14em; color: rgba(255, 255, 255, .42); margin-top: 10px; }

.hero-media { position: relative; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.hero-veil {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--void) 0%, rgba(12, 19, 24, .55) 16%, rgba(12, 19, 24, 0) 46%);
}
.hero-fig, .hero-coords {
  position: absolute; bottom: 22px; font-family: var(--mono); font-size: 10.5px;
  letter-spacing: .16em; color: rgba(255, 255, 255, .62);
  text-shadow: 0 1px 10px rgba(0, 0, 0, .7);
}
.hero-fig { right: 24px; }
.hero-coords { left: 24px; writing-mode: vertical-rl; bottom: 100px; letter-spacing: .2em; }

.keyrail {
  grid-column: 1 / -1;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
  padding: 18px var(--pad) 20px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  background: rgba(6, 10, 13, .35);
}
.keybars { display: flex; align-items: flex-end; gap: clamp(2px, .35vw, 5px); height: 42px; overflow: hidden; min-width: 0; }
.keybar { flex: 1 1 0; min-width: 0; max-width: 10px; background: rgba(255, 255, 255, .14); transition: background .35s var(--ease); }
.keybar.is-lit { background: var(--ice); }
.keyrail-meta { display: flex; justify-content: space-between; gap: 16px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; color: rgba(255, 255, 255, .38); }

/* ---------- Section base ---------- */
.sec { position: relative; padding: var(--sec-y) 0; }
.sec--paper { background: var(--paper); }
.sec--concrete { background: var(--paper-2); }
.sec--dark { background: var(--void); color: rgba(255, 255, 255, .62); }

/* 章节头 */
.shead { margin-bottom: clamp(36px, 4.6vw, 62px); }
.shead-top {
  display: flex; align-items: center; gap: 14px; margin-bottom: 22px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .22em; color: var(--muted);
}
.shead-idx { color: var(--blue-2); }
.shead-line { flex: 1; height: 1px; background: var(--line); }
.shead-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 500px); gap: clamp(16px, 3vw, 48px); align-items: end; }
.shead h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(29px, 3.9vw, 54px); line-height: 1.18; letter-spacing: .01em; color: var(--ink); }
.shead-lead { font-size: 16px; line-height: 1.9; color: var(--muted); max-width: 54ch; }
.sec--dark .shead-top { color: rgba(255, 255, 255, .38); }
.sec--dark .shead-idx { color: var(--ice); }
.sec--dark .shead-line { background: var(--line-l); }
.sec--dark .shead h2 { color: #fff; }
.sec--dark .shead-lead { color: rgba(255, 255, 255, .52); }

/* ---------- 01 About ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: var(--gap); align-items: center; }
.about-media { position: relative; padding-bottom: 8%; }
.am { margin: 0; }
.am img { width: 100%; object-fit: cover; }
.am-a { width: 78%; }
.am-a img { aspect-ratio: 4 / 5; }
.am-b { width: 52%; margin-left: auto; margin-top: -16%; position: relative; z-index: 2; background: var(--paper-2); padding: 8px; }
.am-b img { aspect-ratio: 1 / 1; }
.am figcaption { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; color: var(--muted); margin-top: 9px; }
.am-badge {
  position: absolute; left: 0; bottom: 2%; z-index: 3;
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--ink);
  border: 1px solid var(--line-2); background: var(--paper-2); padding: 9px 12px;
}
.am-badge b { font-weight: 400; color: var(--blue-2); }
.about-lead { font-family: var(--serif); font-weight: 700; font-size: clamp(18px, 1.55vw, 23px); line-height: 1.8; color: var(--ink); margin-bottom: 22px; }
.about-p { font-size: 15.5px; line-height: 2; color: var(--ink-2); margin-bottom: 16px; }
.about-quote {
  margin: 26px 0; padding: 4px 0 4px 20px; border-left: 2px solid var(--blue-2);
  font-family: var(--serif); font-size: 17px; line-height: 1.85; color: var(--ink);
}
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tags li { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--ink-2); border: 1px solid var(--line); padding: 7px 12px; }

.stats-row {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: clamp(44px, 5.5vw, 76px); border-top: 1px solid var(--line-2);
}
.stat { padding: 24px 16px 0; border-left: 1px solid var(--line); }
.stat:first-child { padding-left: 0; border-left: 0; }
.stat-n { font-family: var(--disp); font-weight: 700; font-size: clamp(38px, 4.4vw, 58px); line-height: .9; color: var(--ink); letter-spacing: .02em; }
.stat-u { font-family: var(--mono); font-size: 11.5px; color: var(--muted); margin-left: 6px; }
.stat-l { display: block; font-family: var(--mono); font-style: normal; font-size: 10.5px; letter-spacing: .14em; color: var(--muted); margin-top: 10px; }

/* ---------- 02 Culture ---------- */
.culture-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px; background: var(--line-l); border: 1px solid var(--line-l);
}
.cu {
  position: relative; background: var(--void); padding: 26px;
  display: flex; flex-direction: column; justify-content: flex-end; min-height: 236px;
  transition: background .4s var(--ease);
}
.cu::before {
  content: ""; position: absolute; top: 0; left: 0; width: 0; height: 1px;
  background: var(--ice); transition: width .5s var(--ease);
}
.cu:hover::before { width: 100%; }
.cu:hover { background: var(--void-2); }
.cu-idx { font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; color: var(--ice); margin-bottom: 14px; }
.cu-principle .cu-idx { position: absolute; top: 24px; left: 26px; margin: 0; }
.cu h3 { font-family: var(--serif); font-weight: 700; font-size: 21px; line-height: 1.4; color: #fff; margin-bottom: 8px; }
.cu p { font-size: 14.5px; line-height: 1.85; color: rgba(255, 255, 255, .5); }
.cu-photo { grid-column: span 2; grid-row: span 2; padding: 0; min-height: 420px; overflow: hidden; }
.cu-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cu-photo:hover img { transform: scale(1.04); }
.cu-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 19, 24, 0) 34%, rgba(12, 19, 24, .92) 100%); }
.cu-photo .cu-body { position: relative; z-index: 2; padding: 28px; }
.cu-photo h3 { font-size: 25px; }

/* ---------- 03 Advantages ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.adv {
  position: relative; background: var(--paper); padding: 26px;
  display: flex; flex-direction: column; justify-content: flex-end; min-height: 212px;
  transition: background .4s var(--ease);
}
.adv-num { position: absolute; top: 22px; left: 26px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--muted); }
.adv h3 { font-family: var(--serif); font-weight: 700; font-size: 21px; line-height: 1.35; color: var(--ink); margin-bottom: 9px; }
.adv p { font-size: 14.5px; line-height: 1.85; color: var(--muted); max-width: 42ch; }
.adv:hover { background: var(--white); }
.adv:hover h3 { color: var(--blue); }
.adv--feature { grid-column: span 2; grid-row: span 2; min-height: 466px; padding: 0; color: #fff; overflow: hidden; }
.adv--feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 13, 17, .38) 0%, rgba(8, 13, 17, .72) 52%, rgba(8, 13, 17, .97) 100%), linear-gradient(90deg, rgba(8, 13, 17, .62) 0%, rgba(8, 13, 17, .12) 58%, rgba(8, 13, 17, 0) 100%); }
.adv--feature .adv-in { text-shadow: 0 1px 14px rgba(0, 0, 0, .45); }
.adv--feature .adv-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); filter: saturate(.85) contrast(1.04); }
.adv--feature:hover .adv-bg { transform: scale(1.03); }
.adv-in { position: relative; z-index: 2; padding: clamp(26px, 3vw, 40px); }
.adv--feature .adv-num { position: static; display: block; color: var(--ice); margin-bottom: 18px; }
.adv--feature h3 { font-size: clamp(24px, 2.6vw, 34px); color: #fff; margin-bottom: 12px; }
.adv--feature p { color: rgba(255, 255, 255, .72); max-width: 40ch; }
.adv--feature:hover h3 { color: #fff; }

/* ---------- 04 History ---------- */
.hist { position: relative; padding-top: 26px; }
.hist-track { position: absolute; top: 6px; left: 0; right: 0; height: 1px; background: var(--line-2); }
.hist-fill { position: absolute; top: 0; left: 0; height: 1px; width: 0; background: var(--blue-2); transition: width .2s linear; }
.hist-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
.hist-item { position: relative; padding-top: 8px; }
.hist-item::before {
  content: ""; position: absolute; top: -24px; left: 0; width: 7px; height: 7px;
  background: var(--paper-2); border: 1px solid var(--line-2); border-radius: 50%;
}
.hist-year { display: block; font-family: var(--disp); font-weight: 700; font-size: clamp(30px, 3vw, 42px); line-height: 1; color: var(--ink); letter-spacing: .02em; margin-bottom: 12px; }
.hist-item h3 { font-size: 15px; font-weight: 500; color: var(--ink); line-height: 1.5; margin-bottom: 7px; }
.hist-item p { font-size: 13.5px; line-height: 1.8; color: var(--muted); }

/* ---------- 05 Products ---------- */
.products { background: var(--white); }
.filters { display: flex; flex-wrap: wrap; gap: 4px 26px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.fbtn {
  display: inline-flex; align-items: flex-start; gap: 7px; padding: 12px 0;
  font-size: 15px; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.fbtn-n { font-family: var(--mono); font-size: 10.5px; color: var(--muted); line-height: 1.6; }
.fbtn:hover { color: var(--ink); }
.fbtn.is-active { color: var(--ink); border-bottom-color: var(--blue-2); }
.fbtn.is-active .fbtn-n { color: var(--blue-2); }
.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.pcard {
  position: relative; background: var(--white); padding: 12px 12px 16px;
  display: flex; flex-direction: column; text-align: left; cursor: pointer;
  transition: background .35s var(--ease);
}
.pcard:hover { background: #fff; }
.pcard-img { aspect-ratio: 1 / 1; overflow: hidden; background: #fff; }
.pcard-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s var(--ease); }
.pcard:hover .pcard-img img { transform: scale(1.06); }
.pcard-idx { position: absolute; top: 10px; right: 12px; font-family: var(--mono); font-size: 10px; color: rgba(18, 25, 31, .28); }
.pcard-name { font-size: 15px; color: var(--ink); margin-top: 12px; }
.pcard-cat { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; color: var(--muted); margin-top: 4px; }
.pcard:hover .pcard-name { color: var(--blue-2); }
.prod-note { margin-top: 26px; font-size: 14.5px; color: var(--muted); }
.prod-note .link-arrow { margin-left: 8px; }
.prod-more { display: flex; justify-content: center; margin-top: 30px; }
.btn-outline { border: 1px solid var(--line-2); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--blue-2); color: var(--blue-2); }
.btn-outline b { font-family: var(--mono); font-weight: 400; font-size: 13px; }

/* 灯箱 */
.lightbox { position: fixed; inset: 0; z-index: 400; background: rgba(7, 11, 14, .95); display: grid; place-items: center; padding: clamp(16px, 4vw, 48px); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lb-fig { margin: 0; max-width: min(880px, 94vw); text-align: center; }
.lb-fig img { max-width: 100%; max-height: 68vh; margin: 0 auto; background: #fff; }
.lb-cap { margin-top: 18px; }
.lb-idx { font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; color: var(--ice); }
.lb-cap h3 { font-family: var(--serif); font-weight: 700; font-size: clamp(20px, 2.4vw, 26px); color: #fff; margin: 8px 0 4px; }
.lb-cap p { font-size: 13.5px; color: rgba(255, 255, 255, .5); }
.lb-btn {
  position: fixed; z-index: 401; width: 46px; height: 46px; display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .2); color: #fff; font-size: 16px;
  background: rgba(12, 19, 24, .6); transition: background .3s, border-color .3s;
}
.lb-btn:hover { background: var(--blue-2); border-color: var(--blue-2); }
.lb-close { top: 22px; right: 22px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* ---------- 06 Craft ---------- */
.craft-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line-l); border: 1px solid var(--line-l); }
.cr { position: relative; margin: 0; background: var(--void); overflow: hidden; display: flex; flex-direction: column; }
.cr img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s var(--ease); filter: saturate(.85); }
.cr:hover img { transform: scale(1.04); }
.cr-body { padding: 20px 22px 24px; border-top: 1px solid var(--line-l); background: var(--void); position: relative; z-index: 2; }
.cr-code { font-family: var(--mono); font-size: 10px; letter-spacing: .2em; color: var(--ice); }
.cr-body h3 { font-family: var(--serif); font-weight: 700; font-size: 18px; line-height: 1.4; color: #fff; margin: 10px 0 8px; }
.cr-body p { font-size: 13.5px; line-height: 1.8; color: rgba(255, 255, 255, .5); }
.cr--wide .cr-body { padding: 26px 28px 30px; }
.cr--wide .cr-body h3 { font-size: 24px; }

/* ---------- 07 Quality ---------- */
.quality-wrap { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: var(--gap); align-items: start; }
.quality-left { position: sticky; top: calc(var(--nav-h) + 34px); }
.quality-left .shead { margin-bottom: 20px; }
.quality-left .shead-body { grid-template-columns: 1fr; }
.quality-lead { font-family: var(--serif); font-size: clamp(17px, 1.5vw, 20px); line-height: 1.9; color: var(--ink); max-width: 34ch; margin-bottom: 30px; }
.honors { list-style: none; border-top: 1px solid var(--line-2); }
.honors li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.honors b { font-weight: 500; font-size: 14.5px; color: var(--ink); }
.honors span { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; color: var(--muted); text-align: right; }
.q-list { list-style: none; }
.q { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 20px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.q:first-child { border-top: 1px solid var(--line-2); }
.q-idx { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; color: var(--blue-2); padding-top: 4px; }
.q h3 { font-family: var(--serif); font-weight: 700; font-size: 20px; line-height: 1.4; color: var(--ink); margin-bottom: 7px; }
.q p { font-size: 14.5px; line-height: 1.9; color: var(--muted); max-width: 48ch; }

/* ---------- 08 Delivery ---------- */
.delivery-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: var(--gap); }
.steps { list-style: none; }
.step { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 6px 18px; padding: 24px 0; border-top: 1px solid var(--line-l); }
.step:last-child { border-bottom: 1px solid var(--line-l); }
.step-n { grid-row: span 2; font-family: var(--disp); font-weight: 700; font-size: 40px; line-height: .9; color: rgba(255, 255, 255, .22); transition: color .4s var(--ease); }
.step:hover .step-n { color: var(--ice); }
.step h3 { grid-column: 2; font-family: var(--serif); font-weight: 700; font-size: 20px; color: #fff; }
.step p { grid-column: 2; font-size: 14.5px; line-height: 1.9; color: rgba(255, 255, 255, .5); max-width: 46ch; }
.export { border: 1px solid var(--line-l); background: var(--void-2); padding: clamp(20px, 2.4vw, 30px); align-self: start; }
.export-map svg { width: 100%; height: auto; }
.export-txt p { font-size: 14px; line-height: 1.9; color: rgba(255, 255, 255, .55); margin: 16px 0; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chips b { font-family: var(--mono); font-weight: 400; font-size: 10px; letter-spacing: .12em; border: 1px solid var(--line-l2); padding: 7px 10px; color: rgba(255, 255, 255, .62); }

/* ---------- 09 News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 34px); }
.news { display: flex; flex-direction: column; }
.news-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.news-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.news:hover .news-media img { transform: scale(1.05); }
.news-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 16px 0 10px; }
.news-meta time { display: flex; align-items: baseline; gap: 8px; }
.news-meta time b { font-family: var(--disp); font-weight: 700; font-size: 34px; line-height: 1; color: var(--ink); }
.news-meta time span { font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em; line-height: 1.35; color: var(--muted); }
.news-tag { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; color: var(--blue-2); border: 1px solid rgba(28, 131, 184, .32); padding: 5px 9px; }
.news h3 { font-family: var(--serif); font-weight: 700; font-size: 19px; line-height: 1.5; color: var(--ink); margin-bottom: 9px; }
.news p { font-size: 14px; line-height: 1.9; color: var(--muted); margin-bottom: 14px; flex: 1; }
.news .link-arrow { align-self: flex-start; }

/* ---------- 10 Partners ---------- */
.partners { overflow: hidden; }
.marquee { overflow: hidden; margin-bottom: 14px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.mq-track { display: flex; width: max-content; animation: mq 46s linear infinite; }
.marquee--rev .mq-track { animation-direction: reverse; animation-duration: 56s; }
.marquee:hover .mq-track { animation-play-state: paused; }
.mq-group { display: flex; gap: 12px; padding-right: 12px; }
.mq-logo { flex: none; width: 146px; height: 80px; background: var(--white); border: 1px solid var(--line); display: grid; place-items: center; padding: 13px; }
.mq-logo img { max-width: 100%; max-height: 100%; object-fit: contain; filter: none; opacity: 1; transition: transform .4s var(--ease); }
.mq-logo:hover img { transform: scale(1.05); }
@keyframes mq { to { transform: translateX(-50%); } }
.partners-note { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; color: var(--muted); text-align: center; margin-top: 8px; }
.partners-note em { font-style: normal; opacity: .7; }

/* ---------- 11 Contact ---------- */
.contact { background: var(--void); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact-info .shead-body { grid-template-columns: 1fr; }
.contact-lead { font-family: var(--serif); font-size: clamp(17px, 1.5vw, 19px); line-height: 1.9; color: rgba(255, 255, 255, .74); max-width: 36ch; margin-bottom: 26px; }
.phone { display: block; border: 1px solid var(--line-l); padding: 22px 24px; margin-bottom: 26px; transition: border-color .35s var(--ease), background .35s var(--ease); }
.phone:hover { border-color: rgba(143, 203, 232, .6); background: rgba(255, 255, 255, .03); }
.phone-l { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .2em; color: var(--ice); margin-bottom: 10px; }
.phone-n { display: block; font-family: var(--disp); font-weight: 700; font-size: clamp(38px, 4vw, 52px); line-height: 1; letter-spacing: .02em; color: #fff; }
.phone-p { display: block; font-size: 13.5px; color: rgba(255, 255, 255, .5); margin-top: 8px; }
.info-list { list-style: none; border-top: 1px solid var(--line-l); }
.info-list li { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.info-list i { font-family: var(--mono); font-style: normal; font-size: 9.5px; letter-spacing: .14em; color: rgba(255, 255, 255, .32); padding-top: 3px; }
.info-list b { display: block; font-weight: 500; font-size: 14px; color: #fff; margin-bottom: 2px; }
.info-list span { font-size: 14px; line-height: 1.75; color: rgba(255, 255, 255, .55); }
.qr { display: flex; align-items: center; gap: 18px; margin-top: 24px; border: 1px solid var(--line-l); padding: 14px; }
.qr img { width: 92px; height: 92px; object-fit: contain; background: #fff; padding: 4px; flex: none; }
.qr b { display: block; font-weight: 500; font-size: 14px; color: #fff; margin-bottom: 6px; }
.qr span { font-size: 12.5px; line-height: 1.7; color: rgba(255, 255, 255, .48); }

.form { background: var(--void-2); border: 1px solid var(--line-l); padding: clamp(22px, 2.8vw, 36px); }
.form-head { margin-bottom: 24px; }
.form-head h3 { font-family: var(--serif); font-weight: 700; font-size: 23px; color: #fff; margin-bottom: 6px; }
.form-head span { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; color: rgba(255, 255, 255, .42); }
.field { display: block; margin-bottom: 20px; }
.field > span { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .16em; color: rgba(255, 255, 255, .48); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .22);
  border-radius: 0; padding: 9px 0; color: #fff; font-size: 16px; line-height: 1.6;
  transition: border-color .3s var(--ease); resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, .28); }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ice); }
.field .is-error { border-bottom-color: var(--mark); }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-ok { margin-top: 14px; font-size: 13.5px; color: var(--ice); }
.form-err { margin-top: 14px; font-size: 13.5px; color: #F08A65; }

/* ---------- Footer ---------- */
.foot { background: #080D11; padding: clamp(52px, 7vw, 86px) 0 26px; overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, .62fr)); gap: clamp(24px, 3.4vw, 44px); padding-bottom: 44px; }
.foot-brand .brand-name { color: #fff; }
.foot-brand .brand-sub { color: rgba(255, 255, 255, .38); }
.foot-brand p { margin-top: 16px; font-size: 13.5px; line-height: 1.95; color: rgba(255, 255, 255, .42); max-width: 38ch; }
.foot-col h4 { font-family: var(--mono); font-weight: 400; font-size: 10px; letter-spacing: .2em; color: rgba(255, 255, 255, .3); margin-bottom: 14px; text-transform: uppercase; }
.foot-col a, .foot-col p { display: block; font-size: 13.5px; line-height: 1.7; color: rgba(255, 255, 255, .58); margin-bottom: 9px; transition: color .3s var(--ease); }
.foot-col a:hover { color: var(--ice); }
.foot-mark {
  font-family: var(--disp); font-weight: 700; font-size: clamp(54px, 13.2vw, 196px);
  line-height: .82; letter-spacing: .01em; color: rgba(255, 255, 255, .055);
  white-space: nowrap; margin-bottom: 26px; user-select: none;
}
.foot-row { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 20px; display: flex; flex-wrap: wrap; gap: 14px 24px; justify-content: space-between; font-size: 12.5px; color: rgba(255, 255, 255, .32); }
.foot-row a { color: inherit; }
.foot-row a:hover { color: var(--ice); }
.foot-links { display: flex; gap: 18px; }

/* ---------- To top ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 150;
  width: 44px; height: 44px; display: grid; place-items: center;
  background: var(--void); color: #fff; border: 1px solid rgba(255, 255, 255, .18);
  font-size: 16px; transition: background .3s, border-color .3s, transform .3s;
}
.to-top:hover { background: var(--blue-2); border-color: var(--blue-2); transform: translateY(-2px); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1240px) {
  .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-title { font-size: clamp(40px, 5.4vw, 72px); }
}

@media (max-width: 1024px) {
  :root { --nav-h: 72px; }
  .nav-list { display: none; }
  .burger { display: block; }
  .nav-cta .btn-sm { display: none; }

  .hero { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; min-height: 0; }
  .hero-left { padding: calc(var(--nav-h) + 42px) var(--pad) 34px; }
  .hero-media { height: 46vh; min-height: 300px; }
  .hero-veil { background: linear-gradient(180deg, var(--void) 0%, rgba(12, 19, 24, .1) 30%, rgba(12, 19, 24, .5) 100%); }
  .hero-coords { display: none; }
  .hero-title { font-size: clamp(40px, 8.4vw, 64px); }

  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 620px; padding-bottom: 4%; }
  .about-copy { max-width: 760px; }

  .culture-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cu-photo { grid-column: span 2; grid-row: span 1; min-height: 340px; }

  .adv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .adv--feature { grid-column: span 2; grid-row: span 1; min-height: 360px; }

  .hist-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 34px; }
  .hist-item:nth-child(4)::before { top: -24px; }

  .craft-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .quality-wrap { grid-template-columns: 1fr; }
  .quality-left { position: static; }
  .quality-lead { max-width: 52ch; }

  .delivery-grid { grid-template-columns: 1fr; }
  .export { max-width: 520px; }

  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .contact-grid { grid-template-columns: 1fr; }
  .form { max-width: 640px; }

  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: span 2; }
}

@media (max-width: 700px) {
  :root { --sec-y: 62px; }
  body { font-size: 16px; }
  .shead-body { grid-template-columns: 1fr; }
  .shead h2 { font-size: clamp(27px, 8vw, 38px); }
  .hero-spec { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .spec:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-media { height: 40vh; min-height: 240px; }
  .keybars { height: 30px; }
  .keyrail-meta { font-size: 8px; letter-spacing: .1em; }

  .am-a { width: 84%; }
  .am-b { width: 62%; margin-top: -14%; }

  .stats-row { grid-template-columns: repeat(2, 1fr); row-gap: 0; }
  .stat { padding: 20px 0 18px 14px; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .stat:nth-child(odd) { padding-left: 0; border-left: 0; }
  .stat:nth-child(5) { border-bottom: 0; }

  .culture-grid { grid-template-columns: 1fr; }
  .cu-photo { grid-column: span 1; min-height: 300px; }
  .cu { min-height: 0; padding: 22px; }
  .cu-principle { padding: 22px; }

  .adv-grid { grid-template-columns: 1fr; }
  .adv--feature { grid-column: span 1; min-height: 340px; }
  .adv { min-height: 0; padding: 22px; }
  .adv-num { position: static; display: block; margin-bottom: 12px; }

  .hist { padding-top: 0; }
  .hist-track { top: 0; bottom: 0; left: 4px; right: auto; width: 1px; height: auto; }
  .hist-fill { width: 1px !important; height: 0; transition: height .2s linear; }
  .hist-grid { grid-template-columns: 1fr; gap: 0; }
  .hist-item { padding: 0 0 26px 26px; border-top: 0; }
  .hist-item::before { top: 8px; left: 0; }
  .hist-year { font-size: 32px; margin-bottom: 6px; }

  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pcard { padding: 8px 8px 12px; }
  .pcard-name { font-size: 14px; margin-top: 9px; }
  .filters { gap: 4px 16px; }
  .fbtn { font-size: 14px; }

  .craft-grid { grid-template-columns: 1fr; }
  .cr-body { padding: 16px 18px 20px; }

  .q { grid-template-columns: 62px minmax(0, 1fr); gap: 12px; padding: 20px 0; }
  .q h3 { font-size: 18px; }

  .step { grid-template-columns: 46px minmax(0, 1fr); gap: 12px; }
  .step-n { font-size: 32px; }

  .news-grid { grid-template-columns: 1fr; }

  .mq-logo { width: 120px; height: 68px; }

  .contact-grid { gap: 34px; }
  .qr { flex-direction: column; align-items: flex-start; }
  .info-list li { grid-template-columns: 70px minmax(0, 1fr); }

  .foot-grid { grid-template-columns: 1fr; }
  .foot-brand { grid-column: span 1; }
  .foot-links { flex-wrap: wrap; }

  .to-top { right: 14px; bottom: 14px; width: 40px; height: 40px; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
}

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

/* ============================================================
   V9.1 新增：车间影像 / 资质荣誉 / 锁芯面板 / 产品搜索 / 通用查看器
   ============================================================ */

/* ---------- 小节标题（影像、荣誉、面板共用） ---------- */
.onsite { margin-top: clamp(44px, 6vw, 76px); padding-top: clamp(28px, 3.4vw, 44px); border-top: 1px solid var(--line-l); }
.onsite-head, .honorwall-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  margin-bottom: 22px; flex-wrap: wrap;
}
.onsite-eyebrow { font-family: var(--mono); font-size: 10.5px; letter-spacing: .2em; color: var(--ice); margin-bottom: 10px; }
.onsite-head h3, .honorwall-head h3 {
  font-family: var(--serif); font-weight: 700; font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.3; color: #fff;
}
.onsite-hint { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; color: rgba(255, 255, 255, .4); }
.panels { margin-top: clamp(48px, 6vw, 78px); padding-top: clamp(26px, 3vw, 40px); border-top: 1px solid var(--line); }
.panels .onsite-eyebrow, .honorwall .onsite-eyebrow { color: var(--blue-2); }
.panels .onsite-head h3, .honorwall .onsite-head h3, .honorwall-head h3 { color: var(--ink); }
.panels .onsite-hint, .honorwall .onsite-hint { color: var(--muted); }

/* ---------- 横向画廊（可拖动 / 点击 / 吸附） ---------- */
.strip { position: relative; }
.strip-track {
  display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 2px 2px 12px; margin: -2px -2px 0;
  scrollbar-width: none; -ms-overflow-style: none;
  cursor: grab;
}
.strip-track::-webkit-scrollbar { display: none; }
.strip-track.is-drag { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.strip-track.is-drag * { pointer-events: none; }
.strip-btn {
  position: absolute; top: calc(50% - 22px); z-index: 3;
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid var(--line-l2); background: rgba(12, 19, 24, .86);
  color: #fff; font-size: 14px; border-radius: 50%;
  transition: background .3s var(--ease), border-color .3s var(--ease), opacity .3s var(--ease);
}
.strip-btn:hover { background: var(--blue-2); border-color: var(--blue-2); }
.strip-btn[disabled] { opacity: 0; pointer-events: none; }
.strip-prev { left: -6px; }
.strip-next { right: -6px; }
.panels .strip-btn { border-color: var(--line-2); background: rgba(250, 250, 247, .94); color: var(--ink); }
.panels .strip-btn:hover { background: var(--blue-2); border-color: var(--blue-2); color: #fff; }
.strip-bar { position: relative; height: 2px; background: rgba(255, 255, 255, .12); margin-top: 6px; overflow: hidden; }
.strip-bar span { position: absolute; left: 0; top: 0; bottom: 0; width: 20%; background: var(--ice); transition: transform .12s linear; }
.panels .strip-bar { background: var(--line); }
.panels .strip-bar span { background: var(--blue-2); }

/* 卡片 */
.fcard {
  flex: none; width: clamp(196px, 21vw, 252px); scroll-snap-align: start;
  position: relative; display: flex; flex-direction: column;
  background: var(--void-2); border: 1px solid var(--line-l); overflow: hidden;
  text-align: left; padding: 0; color: #fff;
  transition: border-color .35s var(--ease), transform .35s var(--ease);
}
.fcard-media, .fcard-cap, .hcard-media, .hcard-cap { display: block; }
.fcard:hover { border-color: rgba(143, 203, 232, .55); transform: translateY(-3px); }
.fcard-media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #0a1014; }
.fcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.fcard:hover .fcard-media img { transform: scale(1.05); }
.fcard-tag {
  position: absolute; left: 8px; top: 8px; z-index: 2;
  font-family: var(--mono); font-size: 9px; letter-spacing: .12em;
  padding: 4px 7px; background: rgba(6, 10, 13, .7); color: var(--ice);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.fcard-play {
  position: absolute; inset: 0; display: grid; place-items: center; z-index: 2;
  background: linear-gradient(180deg, rgba(6, 10, 13, 0) 40%, rgba(6, 10, 13, .45) 100%);
}
.fcard-play i {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(250, 250, 247, .92); color: var(--ink); font-style: normal; font-size: 13px;
  padding-left: 3px; transition: transform .35s var(--ease), background .35s var(--ease);
}
.fcard:hover .fcard-play i { transform: scale(1.08); background: #fff; }
.fcard-cap {
  padding: 10px 12px; font-family: var(--mono); font-size: 9.5px; letter-spacing: .06em;
  color: rgba(255, 255, 255, .58); border-top: 1px solid var(--line-l); line-height: 1.5;
}

/* 面板卡片（正方形，浅色区） */
.strip--panels .fcard { width: clamp(146px, 15vw, 186px); background: var(--white); border-color: var(--line); }
.strip--panels .fcard-media { aspect-ratio: 1 / 1; background: #10161a; }
.strip--panels .fcard-cap { color: var(--muted); border-top-color: var(--line); font-size: 9px; }
.strip--panels .fcard:hover { border-color: var(--blue-2); }

/* ---------- 资质荣誉墙 ---------- */
.honorwall { margin-top: clamp(46px, 6vw, 76px); padding-top: clamp(26px, 3vw, 40px); border-top: 1px solid var(--line); }
.honorgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.hcard {
  position: relative; display: flex; flex-direction: column; padding: 10px;
  background: var(--white); border: 1px solid var(--line); cursor: zoom-in; text-align: left;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.hcard:hover { border-color: var(--blue-2); transform: translateY(-3px); }
.hcard-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper); position: relative; }
.hcard-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 2px; transition: transform .5s var(--ease); }
.hcard:hover .hcard-media img { transform: scale(1.03); }
.hcard-cap {
  margin-top: 9px; font-family: var(--mono); font-size: 9.5px; letter-spacing: .04em;
  color: var(--ink-2); line-height: 1.5;
}

/* ---------- 产品搜索 ---------- */
.psearch {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 0 0 12px; margin: -12px 0 24px; border-bottom: 1px solid var(--line);
}
.psearch label { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; color: var(--muted); }
.psearch input {
  flex: 1 1 240px; max-width: 420px; border: 0; border-bottom: 1px solid var(--line-2);
  background: transparent; padding: 7px 2px; font-size: 15px; color: var(--ink); border-radius: 0;
}
.psearch input:focus { outline: none; border-bottom-color: var(--blue-2); }
.psearch input::-webkit-search-cancel-button { cursor: pointer; }
.psearch-hint { font-family: var(--mono); font-size: 10px; letter-spacing: .06em; color: var(--muted); }
.pgrid-empty { grid-column: 1 / -1; padding: clamp(36px, 6vw, 64px) 24px; text-align: center; font-family: var(--mono); font-size: 12px; color: var(--muted); background: var(--white); }
.pgrid-empty b { display: block; font-family: var(--sans); font-size: 16px; color: var(--ink); margin-bottom: 8px; font-weight: 500; }

/* ---------- 首屏画面升级（V9.3） ---------- */
.hero-left { position: relative; }
.hero-left::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 58% 48% at 24% 40%, rgba(28, 131, 184, .16), transparent 72%);
}
.hero-inner { position: relative; z-index: 2; }
.hero-media { background: #0a1014; }
.hero-media picture { display: contents; }
.hero-img {
  filter: saturate(.9) contrast(1.06) brightness(.94);
  animation: heroZoom 26s var(--ease) both;
}
@keyframes heroZoom { from { transform: scale(1.07); } to { transform: scale(1); } }
.hero-media::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 82% 74% at 56% 40%, rgba(8, 13, 17, 0) 28%, rgba(8, 13, 17, .62) 100%);
}
.hero-frame {
  position: absolute; inset: clamp(12px, 2vw, 24px); z-index: 2;
  border: 1px solid rgba(255, 255, 255, .15); pointer-events: none;
}
.hero-frame::before, .hero-frame::after {
  content: ""; position: absolute; width: 15px; height: 15px; border: 1px solid var(--ice);
}
.hero-frame::before { left: -1px; top: -1px; border-right: 0; border-bottom: 0; }
.hero-frame::after { right: -1px; bottom: -1px; border-left: 0; border-top: 0; }
.hero-callout {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em;
  color: rgba(255, 255, 255, .64); text-shadow: 0 1px 10px rgba(0, 0, 0, .65);
  pointer-events: none;
}
.hero-chip {
  position: absolute; z-index: 3; left: clamp(20px, 3vw, 34px); bottom: clamp(20px, 3vw, 34px);
  font-family: var(--mono); font-size: 9px; letter-spacing: .16em;
  color: rgba(255, 255, 255, .62); padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, .16); background: rgba(8, 13, 17, .45);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.hero-chip b { font-weight: 400; color: var(--ice); }
.hero-fig, .hero-coords { z-index: 3; }
.hero-callout b { font-weight: 400; color: var(--ice); }
.hero-fig, .hero-coords { z-index: 3; }
.hero-fig { right: clamp(20px, 3vw, 34px); bottom: clamp(20px, 3vw, 34px); }
.hero-coords { left: clamp(14px, 2vw, 22px); bottom: 112px; }

/* 首屏规格读数：对齐微调 */
.hero-spec { padding-top: 24px; }
.spec-n { font-size: clamp(38px, 3.6vw, 52px); }
.spec-l { margin-top: 12px; }

/* ---------- 企业文化：底部实拍条 ---------- */
.culture-strip {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px; background: var(--line-l);
  border: 1px solid var(--line-l); border-top: 0;
}
.culture-strip figure { position: relative; margin: 0; overflow: hidden; background: var(--void); }
.culture-strip img {
  width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover;
  filter: saturate(.88) contrast(1.04);
  transition: transform .8s var(--ease);
}
.culture-strip figure:hover img { transform: scale(1.05); }
.culture-strip figcaption {
  position: absolute; left: 12px; bottom: 10px;
  font-family: var(--mono); font-size: 9px; letter-spacing: .14em;
  color: rgba(255, 255, 255, .66); text-shadow: 0 1px 8px rgba(0, 0, 0, .7);
}
.culture-strip figcaption b { font-weight: 400; color: #fff; }

@media (max-width: 1024px) {
  .hero-callout { display: none; }
  .hero-frame { inset: 12px; }
  .culture-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  /* 手机：封面图铺满首屏做背景，文字压在上面 */
  .hero {
    min-height: 100svh;
    grid-template-rows: 1fr auto;
    background:
      linear-gradient(180deg, rgba(8, 13, 17, .82) 0%, rgba(8, 13, 17, .70) 46%, rgba(8, 13, 17, .92) 100%),
      url("../../images/hero/hero-plate-mobile.jpg") center 42% / cover no-repeat,
      var(--void);
  }
  .hero-media { display: none; }
  .hero-left { padding-bottom: 26px; }
  .hero-spec { margin-top: 0; }
  .keyrail { background: linear-gradient(180deg, rgba(6, 10, 13, 0), rgba(6, 10, 13, .55)); }
  .culture-strip img { aspect-ratio: 1 / 1; }
  .culture-strip figcaption { font-size: 8px; left: 8px; bottom: 7px; }
}

/* ---------- 固定右侧「齿花进度」（桌面端） ---------- */
@media (min-width: 1200px) {
  .scroll-bar { display: none; }      /* 宽屏用右侧齿花进度，窄屏/移动端保留顶部细条 */
}
.keyprogress {
  position: fixed; right: 20px; top: 50%; z-index: 140;
  transform: translateY(-50%);
  display: none; flex-direction: column; align-items: flex-end;
  gap: 6px; padding: 8px 4px 8px 10px;
  opacity: 0; pointer-events: none;
  transition: opacity .45s var(--ease);
  cursor: pointer;
}
@media (min-width: 1200px) { .keyprogress { display: flex; } }
.keyprogress.is-visible { opacity: 1; pointer-events: auto; }
.kp-bars { display: flex; flex-direction: column-reverse; gap: 4px; align-items: flex-end; }
.kp-bar {
  height: 2px; border-radius: 1px; width: 12px;
  background: rgba(124, 135, 144, .42);
  transition: background .3s var(--ease), width .3s var(--ease);
}
.kp-bar.is-lit { background: var(--blue-3); }
.kp-bar.is-near { background: rgba(28, 131, 184, .55); }
.keyprogress:hover .kp-bar { background: rgba(28, 131, 184, .5); }
.keyprogress:hover .kp-bar.is-lit { background: var(--blue-3); }
.kp-pct {
  font-family: var(--mono); font-size: 9px; letter-spacing: .12em;
  color: rgba(124, 135, 144, .85); margin-top: 4px;
  transition: color .3s var(--ease);
}
.keyprogress:hover .kp-pct { color: var(--blue-3); }
.keyprogress:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 4px; border-radius: 3px; }
@media (prefers-reduced-motion: reduce) {
  .kp-bar, .keyprogress, .kp-pct { transition: none; }
}

/* ---------- 通用查看器 ---------- */
.viewer {
  position: fixed; inset: 0; z-index: 600; background: rgba(6, 10, 13, .97);
  display: grid; grid-template-rows: 1fr auto; place-items: center;
  padding: clamp(16px, 3vw, 40px); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.vw-stage {
  position: relative; display: grid; place-items: center; overflow: hidden;
  max-width: min(1040px, 94vw); max-height: 68vh; cursor: zoom-in; touch-action: none;
}
.vw-img { max-width: 100%; max-height: 68vh; background: #fff; transform-origin: center center; transition: transform .28s var(--ease); user-select: none; -webkit-user-drag: none; }
.vw-img.is-zoomed { transform: scale(2.2); transition: transform .18s var(--ease); cursor: grab; }
.vw-img.is-dragging { cursor: grabbing; transition: none; }
.vw-video { max-width: min(1040px, 94vw); max-height: 68vh; background: #000; }
.vw-cap { text-align: center; max-width: 760px; padding-top: 14px; }
.vw-idx { font-family: var(--mono); font-size: 10px; letter-spacing: .18em; color: var(--ice); }
.vw-cap h3 { font-family: var(--serif); font-weight: 700; font-size: clamp(19px, 2.2vw, 25px); color: #fff; margin: 8px 0 5px; }
.vw-cap p { font-size: 13px; line-height: 1.8; color: rgba(255, 255, 255, .5); }
.vw-cap .vw-tip { margin-top: 8px; font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; color: rgba(255, 255, 255, .28); }
.vw-btn {
  position: fixed; z-index: 601; width: 46px; height: 46px; display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .2); background: rgba(12, 19, 24, .6); color: #fff;
  transition: background .3s var(--ease), border-color .3s var(--ease), opacity .3s var(--ease);
}
.vw-btn:hover { background: var(--blue-2); border-color: var(--blue-2); }
.vw-btn[disabled] { opacity: 0; pointer-events: none; }
.vw-close { top: 20px; right: 20px; }
.vw-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.vw-next { right: 18px; top: 50%; transform: translateY(-50%); }

@media (max-width: 1024px) {
  .honorgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fcard { width: clamp(184px, 30vw, 232px); }
  .strip-btn { display: none; }
  .strip-prev, .strip-next { display: none; }
}
@media (max-width: 700px) {
  .onsite-head, .honorwall-head { align-items: flex-start; }
  .fcard { width: 172px; }
  .strip--panels .fcard { width: 132px; }
  .honorgrid { grid-template-columns: 1fr; }
  .psearch { margin-top: -6px; }
  .psearch input { flex: 1 1 100%; max-width: none; }
  .vw-img, .vw-video { max-height: 58vh; }
  .vw-img.is-zoomed { transform: scale(1.9); }
  .vw-btn { width: 40px; height: 40px; }
  .vw-prev { left: 8px; } .vw-next { right: 8px; }
  .vw-close { top: 12px; right: 12px; }
}
