@charset "utf-8";
/* ==========================================================================
   思清科技官网 · 全站样式
   设计语汇：工程技术图纸（细线框、图号标注、等宽数字、克制配色）
   修改样式只需改本文件，所有页面共用。
   ========================================================================== */

/* ---------- 1. 设计变量 ---------- */
:root {
  --ink: #16202a;
  --ink-2: #3b4a57;
  --steel: #7d8b98;
  --line: #ccd2d7;
  --line-2: #e3e7ea;
  --paper: #f2f2ee;
  --card: #ffffff;
  --blue: #12547a;
  --blue-d: #0c3d59;
  --signal: #d95e1b;
  --sans: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "SimHei", sans-serif;
  --mono: "Consolas", "Cascadia Mono", "SFMono-Regular", "Courier New", monospace;
  --wrap: 1180px;
  --wrap-wide: 1560px;
  --header-h: 74px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- 2. 基础 ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--ink-2);
  background-color: var(--paper);
  background-image: radial-gradient(circle, rgba(18, 84, 122, .10) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { color: var(--ink); font-weight: 700; line-height: 1.35; margin: 0; }
p { margin: 0 0 1em; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; }
ul { margin: 0; padding-left: 1.1em; }

:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 26px; }
.wrap--wide { max-width: var(--wrap-wide); padding: 0 18px; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.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;
}

/* ---------- 3. 页头 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(242, 242, 238, .96);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 38px; height: 38px; flex: 0 0 auto; border-radius: 3px; object-fit: cover; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-cn { font-size: 18px; font-weight: 700; color: var(--ink); letter-spacing: .06em; }
.brand-en { font-family: var(--mono); font-size: 9.5px; color: var(--steel); letter-spacing: .13em; margin-top: 3px; }

.nav { display: flex; align-items: stretch; gap: 2px; }
.nav a {
  position: relative;
  display: inline-flex; align-items: center;
  padding: 0 15px; height: 44px;
  font-size: 15px; color: var(--ink-2);
  white-space: nowrap;
  transition: color .2s;
}
.nav a:hover { color: var(--blue); text-decoration: none; }
.nav a.is-active { color: var(--blue); font-weight: 700; }
.nav a.is-active::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 0;
  height: 3px; background: var(--blue);
}

/* ---------- 4. 主题动图 hero ---------- */
.hero {
  position: relative;
  height: 440px;
  overflow: hidden;
  background: #142330;
  isolation: isolate;
}
.hero--sm { height: 320px; }

.hero-media { position: absolute; inset: 0; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.02);
  animation: heroDrift 22s ease-in-out infinite alternate;
  opacity: .92;
}
@keyframes heroDrift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to   { transform: scale(1.13) translate3d(-1.5%, -1.5%, 0); }
}

/* 扫描光带：全站统一的「主题图案动效」 */
.hero-sweep {
  position: absolute; top: -20%; bottom: -20%;
  width: 38%;
  left: -45%;
  background: linear-gradient(100deg,
      rgba(120, 190, 230, 0) 0%,
      rgba(120, 190, 230, .10) 42%,
      rgba(190, 230, 255, .26) 50%,
      rgba(120, 190, 230, .10) 58%,
      rgba(120, 190, 230, 0) 100%);
  animation: sweep 7.5s linear infinite;
  pointer-events: none;
  mix-blend-mode: screen;
}
@keyframes sweep {
  0%   { transform: translateX(0); }
  100% { transform: translateX(390%); }
}

/* 亮线：跟随扫描的一条细线 */
.hero-scanline {
  position: absolute; top: 0; bottom: 0; width: 2px;
  left: -10%;
  background: linear-gradient(to bottom, rgba(200, 235, 255, 0), rgba(200, 235, 255, .55), rgba(200, 235, 255, 0));
  animation: scanline 7.5s linear infinite;
  pointer-events: none;
}
@keyframes scanline {
  0%   { transform: translateX(0); opacity: .0; }
  15%  { opacity: .8; }
  85%  { opacity: .8; }
  100% { transform: translateX(3400%); opacity: 0; }
}

/* 暗角与噪点 */
.hero-veil {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10, 20, 30, .92) 0%, rgba(10, 20, 30, .55) 42%, rgba(10, 20, 30, .18) 100%);
  pointer-events: none;
}
.hero-grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* 四角图框标记 */
.hero-frame { position: absolute; inset: 18px; pointer-events: none; }
.hero-frame i { position: absolute; width: 26px; height: 26px; border: 1.5px solid rgba(200, 235, 255, .38); }
.hero-frame i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.hero-frame i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.hero-frame i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.hero-frame i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; }

.hero-inner {
  position: relative; z-index: 3;
  height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-bottom: 46px; padding-top: 40px;
}
.hero-inner h1 {
  color: #f4f7f9;
  font-size: clamp(30px, 3.6vw, 44px);
  letter-spacing: .02em;
  text-shadow: 0 2px 22px rgba(0, 0, 0, .45);
  text-wrap: balance;
  max-width: 20em;
}
.hero-sub {
  margin: 14px 0 0;
  color: rgba(230, 238, 244, .86);
  font-size: 15.5px;
  max-width: 34em;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .5);
}
.hero-kicker {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  color: rgba(190, 218, 235, .85);
  margin: 0 0 14px;
}

/* 题头文字的动态显示：逐级淡入上移，只播一次 */
.hero-inner > * { animation: heroRise .85s cubic-bezier(.22, 1, .36, 1) both; }
.hero-inner > *:nth-child(2) { animation-delay: .16s; }
.hero-inner > *:nth-child(3) { animation-delay: .32s; }
.hero-inner > *:nth-child(4) { animation-delay: .46s; }
@keyframes heroRise {
  from { opacity: 0; transform: translate3d(0, 16px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}

/* 明亮题头图版本（浅底插画类）：改为浅色压边 + 深色文字，保持画面通透 */
.hero--light .hero-media img { opacity: .96; }
.hero--light .hero-veil {
  background: linear-gradient(to top,
      rgba(246, 250, 253, .96) 0%, rgba(246, 250, 253, .86) 34%,
      rgba(246, 250, 253, .52) 64%, rgba(246, 250, 253, .10) 100%);
}
.hero--light .hero-inner h1 { color: #0d2b40; text-shadow: 0 1px 14px rgba(255, 255, 255, .8); }
.hero--light .hero-sub { color: #1d4a66; text-shadow: 0 1px 10px rgba(255, 255, 255, .85); }
.hero--light .hero-kicker { color: #2c6486; }
.hero--light .hero-tag { color: #2c6486; border-top-color: rgba(20, 70, 100, .35); }
.hero--light .hero-frame i { border-color: rgba(20, 70, 100, .32); }
.hero--light .hero-grain { opacity: .22; }
/* 图纸式角标 */
.hero-tag {
  position: absolute; right: 26px; bottom: 22px; z-index: 4;
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em;
  color: rgba(200, 225, 240, .72);
  border-top: 1px solid rgba(200, 225, 240, .3);
  padding-top: 6px;
}

/* ---------- 5. 区块 ---------- */
.sec { padding: 62px 0; }
.sec--tight { padding: 44px 0; }
.sec--card { background: var(--card); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }

.sec-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 30px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.sec-head h2 {
  font-size: 26px; letter-spacing: .02em;
  padding-left: 14px;
  border-left: 4px solid var(--blue);
  line-height: 1.25;
}
.sec-head .sec-note {
  font-family: var(--mono); font-size: 11.5px; color: var(--steel);
  letter-spacing: .06em; white-space: nowrap;
  padding-bottom: 4px;
}

.prose { max-width: 42em; }
.prose p { color: var(--ink-2); }
.lead { font-size: 17px; color: var(--ink-2); max-width: 44em; }

/* 引言块：左竖线，用于关键说明 */
.note {
  border-left: 3px solid var(--blue);
  background: rgba(18, 84, 122, .045);
  padding: 16px 20px;
  color: var(--ink-2);
  font-size: 14.5px;
  margin: 22px 0;
}
.note strong { color: var(--ink); }

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px;
  border: 1px solid var(--ink); background: transparent; color: var(--ink);
  font-family: inherit; font-size: 14.5px; cursor: pointer;
  border-radius: 2px;
  transition: background .18s, color .18s, border-color .18s;
  text-decoration: none;
}
.btn:hover { background: var(--ink); color: #fff; text-decoration: none; }
.btn--primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-d); border-color: var(--blue-d); color: #fff; }
.btn--ghost { border-color: var(--line); color: var(--ink-2); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .38; cursor: not-allowed; }
.btn:disabled:hover { background: transparent; color: var(--ink); border-color: var(--ink); }

/* ---------- 7. 产品卡（hover 推出名称） ---------- */
.pgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.pcard {
  position: relative;
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  overflow: hidden;
  border-radius: 2px;
}
.pcard:hover { text-decoration: none; border-color: var(--steel); }
.pcard-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #fff;
}
/* 产品图为白底正方形实拍：用 contain 保证板体四边不被裁切 */
.pcard-media img {
  width: 100%; height: 100%; object-fit: contain;
  transition: transform .7s var(--ease);
}
.pcard:hover .pcard-media img,
.pcard:focus-visible .pcard-media img { transform: scale(1.05); }

/* 名称从图片底部推出 */
.pcard-name {
  position: absolute; left: 0; right: 0; bottom: 0;
  transform: translateY(101%);
  transition: transform .38s var(--ease);
  padding: 14px 16px 15px;
  background: linear-gradient(to top, rgba(12, 30, 44, .96), rgba(12, 30, 44, .82));
  border-top: 2px solid var(--signal);
  color: #fff;
}
.pcard:hover .pcard-name,
.pcard:focus-visible .pcard-name { transform: translateY(0); }
.pcard-model {
  display: block;
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em;
  color: #9dc4dc;
}
.pcard-title { display: block; font-size: 15.5px; font-weight: 700; color: #fff; margin-top: 3px; }

.pcard-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 16px;
  border-top: 1px solid var(--line-2);
  font-size: 13px; color: var(--steel);
  background: var(--card);
}
.pcard-foot .mono { color: var(--ink-2); }

/* ---------- 8. 产品多角度轮播 ---------- */
.rotator {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
}
.rotator img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: contain;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .8s ease, transform 1.2s var(--ease);
}
.rotator img.is-on { opacity: 1; transform: scale(1); }
.rotator-badge {
  position: absolute; left: 0; bottom: 0; z-index: 2;
  padding: 6px 12px;
  background: rgba(12, 30, 44, .82);
  color: #cfe3f0;
  font-family: var(--mono); font-size: 11px; letter-spacing: .06em;
}
.rotator-dots {
  display: flex; gap: 6px; justify-content: center;
  margin-top: 12px;
}
.rotator-dots button {
  width: 34px; height: 26px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--steel);
  font-family: var(--mono); font-size: 11px;
  cursor: pointer;
  border-radius: 2px;
}
.rotator-dots button.is-on { border-color: var(--blue); color: var(--blue); background: #eef4f8; }
.rotator-dots button:hover { border-color: var(--steel); }

/* 双栏内容（图 + 说明） */
.duo {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: start;
}
.duo--flip .duo-media { order: 2; }
/* 说明文字较长时，图片随滚动吸附，避免长文一侧留出大片空白
   注意：只作用于 .duo-media 的直接子图，不能命中轮播容器内部的图（否则会覆盖 .rotator img 的定位） */
.duo-media { min-width: 0; align-self: stretch; }
.duo-media > img { position: sticky; top: 100px; }

/* ---------- 9. 图片网格 ---------- */
.imgrid { display: grid; gap: 16px; }
.imgrid--2 { grid-template-columns: repeat(2, 1fr); }
.imgrid--3 { grid-template-columns: repeat(3, 1fr); }
.imgrid--4 { grid-template-columns: repeat(4, 1fr); }
.imgrid figure { margin: 0; }
.imgrid img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; border: 1px solid var(--line); }
/* 产品实拍（白底方图）：整张完整呈现，不做裁切 */
.imgrid figure.fig--prod img { aspect-ratio: 1 / 1; object-fit: contain; background: #fff; }
.imgrid figcaption {
  margin-top: 9px; font-size: 12.5px; color: var(--steel);
  font-family: var(--mono); letter-spacing: .04em;
}
.banner-fig { margin: 0; }.banner-fig img {
  width: 100%; height: auto; aspect-ratio: 16 / 7; object-fit: cover;
  border: 1px solid var(--line);
}
.banner-fig figcaption { margin-top: 10px; font-size: 12.5px; color: var(--steel); font-family: var(--mono); }

/* 场景说明：左图右文，图片按自然比例完整显示 */
.scene-web {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 32px; align-items: center;
  margin-top: 26px;
}
.scene-web figure { margin: 0; }
.scene-web img { width: 100%; height: auto; border: 1px solid var(--line); }
.scene-web figcaption { margin-top: 9px; font-size: 12.5px; color: var(--steel); font-family: var(--mono); letter-spacing: .04em; }

/* ---------- 10. 表格 ---------- */
.tbl { width: 100%; border-collapse: collapse; table-layout: fixed; background: var(--card); }
.tbl caption {
  caption-side: top; text-align: left;
  font-family: var(--mono); font-size: 11.5px; color: var(--steel);
  letter-spacing: .06em; padding-bottom: 8px;
}
.tbl th, .tbl td {
  border: 1px solid var(--line-2);
  padding: 11px 14px;
  text-align: left;
  font-size: 14px;
  vertical-align: top;
}
.tbl thead th { background: #eef1f3; color: var(--ink); font-weight: 700; font-size: 13.5px; }
.tbl tbody tr:nth-child(even) td { background: #fafbfb; }
.tbl td.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* 开票信息：左侧标签窄列 */
.info-tbl th:first-child { width: 24%; color: var(--ink-2); font-weight: 700; }
.info-tbl td { color: var(--ink); }

/* ---------- 11. 数据条 ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); }
.stat { background: var(--card); padding: 20px 18px; }
.stat dt { font-size: 12.5px; color: var(--steel); margin-bottom: 6px; }
.stat dd { margin: 0; font-family: var(--mono); font-size: 24px; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat dd small { font-size: 12px; color: var(--steel); margin-left: 4px; }

/* ---------- 12. 技术文档：产品目录 ---------- */
.docgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.doccard {
  display: grid; grid-template-columns: 132px 1fr;
  gap: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 16px;
  border-radius: 2px;
}
.doccard:hover { border-color: var(--steel); text-decoration: none; }
.doccard img { width: 132px; height: 132px; object-fit: contain; background: #fff; border: 1px solid var(--line-2); }
.doccard h3 { font-size: 17px; margin-bottom: 4px; }
.doccard .mono { font-size: 11.5px; color: var(--steel); letter-spacing: .06em; }
.doccard p { margin: 8px 0 0; font-size: 13.5px; color: var(--ink-2); }
.doccard-meta {
  display: flex; gap: 14px; margin-top: 10px;
  font-family: var(--mono); font-size: 11px; color: var(--steel);
}

/* ---------- 13. 技术文档：章节目录 ---------- */
.toclist { border-top: 1px solid var(--line); }
.tocrow {
  display: grid;
  grid-template-columns: 96px 1fr 130px 92px;
  align-items: center;
  gap: 16px;
  padding: 15px 8px;
  border-bottom: 1px solid var(--line-2);
  background: var(--card);
  transition: background .15s;
}
.tocrow:hover { background: #f0f5f8; text-decoration: none; }
.tocrow .ch-no { font-family: var(--mono); font-size: 12px; color: var(--blue); letter-spacing: .06em; }
.tocrow .ch-title { font-size: 15.5px; color: var(--ink); font-weight: 700; }
.tocrow .ch-pages { font-family: var(--mono); font-size: 12px; color: var(--steel); }
.tocrow .ch-go { font-size: 13px; color: var(--blue); text-align: right; }
/* 小节行：缩进一级，字号降一档 */
.tocrow--sub { padding: 9px 8px; background: transparent; border-bottom-color: var(--line-2); }
.tocrow--sub:hover { background: #f5f8fa; }
.tocrow--sub .ch-no { color: var(--steel); }
.tocrow--sub .ch-title { font-weight: 400; font-size: 13.5px; color: var(--ink-2); padding-left: 22px; }
.tocrow--sub .ch-pages, .tocrow--sub .ch-go { font-size: 11.5px; }

/* ---------- 14. 技术文档：紧凑页头 ---------- */
.dochead {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  padding: 16px 0 13px;
}
.dochead-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
}
.dochead-main h1 { margin: 0; font-size: 23px; line-height: 1.35; color: var(--ink); letter-spacing: .01em; }
.dochead-sub { margin: 6px 0 0; font-size: 13.5px; color: var(--steel); }
.dochead-side { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--steel); }

/* ---------- 14b. 技术文档：图片阅览器 ---------- */
.docbar {
  position: sticky; top: var(--header-h); z-index: 40;
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue);
  padding: 10px 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.docbar-title { font-size: 14.5px; color: var(--ink); font-weight: 700; }
.docbar-title .mono { font-size: 11.5px; color: var(--steel); font-weight: 400; display: block; letter-spacing: .06em; }
.docbar-tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.docbar .btn { min-height: 38px; padding: 0 13px; font-size: 13.5px; }
.docbar .pager {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 13px; color: var(--ink-2);
}
.docbar .pager input {
  width: 52px; height: 38px;
  border: 1px solid var(--line); border-radius: 2px;
  text-align: center;
  font-family: var(--mono); font-size: 14px;
  color: var(--ink);
  background: #fff;
}
.docstage {
  background: #2a3947;
  border: 1px solid #1b2733;
  padding: 18px;
  overflow: auto;
  max-height: calc(100vh - 200px);
  border-radius: 2px;
}
.docstage-inner { width: 100%; }
.docstage img {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: none;
  background: #fff;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .35);
}
.doc-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  margin-top: 16px;
}
.zoom-ind {
  font-family: var(--mono); font-size: 12px; color: var(--steel);
  min-width: 62px; text-align: center;
}
.doc-hint {
  margin-top: 12px; font-size: 12.5px; color: var(--steel);
}

/* 缩略页码条：页数可达 130 页，单行横向滚动，不再折行 */
.pagethumbs {
  display: flex; gap: 6px; flex-wrap: nowrap;
  margin-top: 18px; overflow-x: auto; overflow-y: hidden;
  padding-bottom: 8px; scrollbar-width: thin;
}
.pagethumbs::-webkit-scrollbar { height: 8px; }
.pagethumbs::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }
.pagethumbs button {
  flex: 0 0 auto; min-width: 46px; height: 34px;
  border: 1px solid var(--line); background: var(--card); color: var(--ink-2);
  font-family: var(--mono); font-size: 12px; cursor: pointer; border-radius: 2px;
}
.pagethumbs button:hover { border-color: var(--steel); }
.pagethumbs button.is-on { background: var(--blue); border-color: var(--blue); color: #fff; }

/* 收款二维码三格（银行 / 支付宝 / 微信） */
.qrgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.qrfig { margin: 0; }
.qrfig img {
  width: 100%; height: auto; display: block;
  border: 1px solid var(--line); background: #fff; padding: 6px; box-sizing: border-box;
}
.qrfig figcaption {
  margin-top: 8px; font-size: 13px; color: var(--ink-2); text-align: center;
  font-family: var(--mono); letter-spacing: .04em;
}
@media (max-width: 620px) {
  /* 三张码始终并排：折成 2 列会剩 1 个落单 */
  .qrgrid { gap: 8px; }
  .qrfig figcaption { font-size: 12px; }
}

/* ---------- 15. 联系 / 地图 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.contact-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.contact-list li {
  display: grid; grid-template-columns: 92px 1fr; gap: 14px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line-2);
  background: var(--card);
}
.contact-list .k { font-size: 13px; color: var(--steel); }
.contact-list .v { font-size: 15px; color: var(--ink); }
.contact-list .v.mono { font-family: var(--mono); font-size: 15px; letter-spacing: .03em; }

#map {
  height: 420px; width: 100%;
  border: 1px solid var(--line);
  background: #e6ebee;
  border-radius: 2px;
  z-index: 0;
}
.map-fallback {
  padding: 14px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 0;
  font-size: 13px;
  color: var(--ink-2);
}

/* ---------- 16. 页脚 ---------- */
.site-footer {
  margin-top: 40px;
  background: var(--ink);
  color: #c8d2da;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
  min-height: 62px;
  padding-top: 16px; padding-bottom: 16px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .02em;
}
.site-footer a { color: #c8d2da; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.footer-inner .f-tel { color: #f0f4f7; font-size: 14px; }
.footer-inner .f-tel::before {
  content: "TEL";
  font-size: 10px; color: #7f93a3; margin-right: 8px; letter-spacing: .1em;
}
.footer-inner .f-icp::before {
  content: "ICP";
  font-size: 10px; color: #7f93a3; margin-right: 8px; letter-spacing: .1em;
}
.footer-inner .f-mail::before {
  content: "MAIL";
  font-size: 10px; color: #7f93a3; margin-right: 8px; letter-spacing: .1em;
}

/* ---------- 17. 浮动提示 ---------- */
.toast {
  position: fixed; left: 50%; bottom: 34px; transform: translate(-50%, 16px);
  background: var(--ink); color: #fff;
  padding: 11px 20px; border-radius: 2px;
  font-size: 13.5px;
  opacity: 0; pointer-events: none;
  transition: opacity .22s, transform .22s;
  z-index: 90;
  box-shadow: 0 8px 26px rgba(0, 0, 0, .28);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 17b. 滚动定位：避开吸顶页头 ---------- */
.sec, section[id], .hero { scroll-margin-top: calc(var(--header-h) + 14px); }

/* ---------- 18. 响应式 ---------- */
@media (max-width: 1024px) {
  .pgrid { grid-template-columns: repeat(2, 1fr); }
  .duo { gap: 28px; }
  .docgrid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .tocrow { grid-template-columns: 80px 1fr 108px 84px; }
}

@media (max-width: 860px) {
  :root { --header-h: 66px; }
  .header-inner { flex-wrap: wrap; padding-top: 10px; padding-bottom: 6px; }
  .nav { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
  .nav a { padding: 0 12px; height: 40px; font-size: 14.5px; }
  .nav a.is-active::after { left: 10px; right: 10px; }
  .brand-mark { width: 32px; height: 32px; }
  .hero { height: 340px; }
  .hero--sm { height: 250px; }
  .hero-inner { padding-bottom: 30px; }
  .hero-tag { display: none; }
  .duo { grid-template-columns: 1fr; }
  .duo--flip .duo-media { order: 0; }
  .duo-media > img { position: static; }
  .contact-grid { grid-template-columns: 1fr; gap: 26px; }
  .docbar { position: static; }
  .docstage { max-height: none; padding: 12px; }
  .sec { padding: 44px 0; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .sec-head h2 { font-size: 22px; }
  .hero-inner h1 { font-size: clamp(24px, 6vw, 34px); }
}

@media (max-width: 620px) {
  .wrap { padding: 0 16px; }
  .pgrid { grid-template-columns: 1fr; }
  .imgrid--2, .imgrid--3, .imgrid--4 { grid-template-columns: 1fr; }
  .imgrid figure img { aspect-ratio: 4 / 3; }
  .scene-web { grid-template-columns: 1fr; gap: 22px; }
  .stats { grid-template-columns: 1fr; }
  .tocrow { grid-template-columns: auto 1fr; gap: 6px 12px; padding: 13px 6px; }
  .tocrow .ch-pages { text-align: left; }
  .tocrow .ch-go { text-align: right; }
  /* 窄屏的小节行压成一行：标题 + 页码 + 进入 */
  .tocrow--sub { grid-template-columns: 1fr auto auto; column-gap: 10px; padding: 9px 6px 9px 16px; }
  .tocrow--sub .ch-no { display: none; }
  .tocrow--sub .ch-title { padding-left: 0; font-size: 13px; }
  .tocrow--sub .ch-pages, .tocrow--sub .ch-go { text-align: right; }
  .doccard { grid-template-columns: 1fr; }
  .doccard img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
  .tbl { font-size: 13px; }
  .tbl th, .tbl td { padding: 9px 10px; }
  .info-tbl th:first-child { width: 38%; }
}

/* ---------- 20. 地图标记 ---------- */
.sq-pin { background: none; border: 0; }
.sq-pin-dot {
  position: absolute; left: 6px; top: 6px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 3px rgba(217, 94, 27, .22);
}
.sq-pin-ring {
  position: absolute; left: -6px; top: -6px;
  width: 34px; height: 34px;
  border: 1px solid rgba(18, 84, 122, .45);
  border-radius: 50%;
  animation: pinPulse 2.8s ease-out infinite;
}
@keyframes pinPulse {
  0% { transform: scale(.55); opacity: .9; }
  100% { transform: scale(1.35); opacity: 0; }
}
.leaflet-popup-content { font-family: var(--sans); font-size: 13px; line-height: 1.65; }

/* ---------- 21. 触摸设备：产品名称常显 ---------- */
@media (hover: none) {
  .pcard-name { transform: none; }
}

/* ---------- 19. 减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  .sq-pin-ring { animation: none; }
  .hero-media img,
  .hero-sweep,
  .hero-scanline { animation: none !important; }
  .hero-sweep, .hero-scanline { opacity: .18; }
  .hero-inner > * { animation: none !important; opacity: 1; transform: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
