/* ============================================================
 * Wilo 威乐 PH 系列管道泵 · 主样式表
 * 依赖：tokens.css（所有颜色 / 字号 / 间距均从令牌取值）
 * 断点：<768 移动 / 768–1199 平板 / ≥1200 桌面宽屏
 * ============================================================ */

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

[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--scroll-offset);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--neutral-900);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; }

:focus-visible {
  outline: var(--focus-w) solid var(--primary);
  outline-offset: 2px;
  border-radius: var(--radius-badge);
}

.section--dark :focus-visible,
.site-footer :focus-visible { outline-color: var(--brand); }

/* ---------- 通用工具类 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.prose { max-width: var(--prose); }

.mono {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
}

.skip-link {
  position: absolute;
  top: var(--sp-8);
  left: var(--sp-8);
  z-index: 200;
  transform: translateY(-200%);
  background: var(--primary);
  color: var(--white);
  padding: var(--sp-12) var(--sp-16);
  border-radius: var(--radius-btn);
  font-size: var(--fs-aux);
  font-weight: var(--fw-semibold);
}
.skip-link:focus { transform: translateY(0); text-decoration: none; }

.section { padding-block: var(--section-py); }
.section--alt { background: var(--surface-alt); }
.section--dark { background: var(--ink-deep); color: var(--surface); }
.section--dark p { color: var(--neutral-200); }

.section-head { margin-bottom: var(--sp-48); }
.section-title { font-size: var(--fs-h2); line-height: var(--lh-h2); letter-spacing: var(--ls-h2); font-weight: var(--fw-bold); }
.section-lead {
  margin-top: var(--sp-16);
  max-width: var(--prose);
  font-size: var(--fs-lead);
  line-height: var(--lh-lead);
  color: var(--neutral-600);
}
.section--dark .section-lead { color: var(--neutral-200); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-8);
  min-height: 48px;
  padding: 0 var(--sp-24);
  border: 1px solid transparent;
  border-radius: var(--radius-btn);
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}
.btn:hover { text-decoration: none; }

.btn--primary { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn--primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); color: var(--white); }
.btn--primary:active { background: var(--primary-active); border-color: var(--primary-active); }

.btn--secondary { background: var(--surface); color: var(--primary); border-color: var(--primary); }
.btn--secondary:hover { background: var(--primary-50); color: var(--primary); }
.btn--secondary:active { background: var(--primary-100); color: var(--primary-hover); }

.btn--text {
  min-height: 44px;
  padding: 0 var(--sp-4);
  background: transparent;
  color: var(--primary);
  font-size: var(--fs-aux);
}
.btn--text:hover { text-decoration: underline; text-decoration-color: var(--brand); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.btn--text:active { color: var(--primary-active); }

/* 深底场景：品牌原色 + 深墨字（4.91:1），禁配白字 */
.btn--dark.btn--primary { background: var(--brand); color: var(--ink-deep); border-color: var(--brand); }
.btn--dark.btn--primary:hover { background: var(--brand-hover); border-color: var(--brand-hover); color: var(--ink-deep); }
.btn--dark.btn--primary:active { background: var(--primary); border-color: var(--primary); color: var(--white); }
.btn--dark.btn--secondary { background: transparent; color: var(--white); border-color: var(--primary-100); }
.btn--dark.btn--secondary:hover { background: var(--neutral-700); color: var(--white); border-color: var(--primary-100); }
.btn--dark.btn--secondary:active { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* 占位降级：琥珀警示组合，文字承载信息，虚线只作提示 */
.btn--placeholder,
.btn--placeholder:hover,
.btn--placeholder:active,
.btn--dark.btn--primary.btn--placeholder,
.btn--dark.btn--secondary.btn--placeholder,
.btn--dark.btn--primary.btn--placeholder:hover,
.btn--dark.btn--secondary.btn--placeholder:hover,
.btn--dark.btn--primary.btn--placeholder:active,
.btn--dark.btn--secondary.btn--placeholder:active {
  background: var(--warning-bg);
  color: var(--warning-fg);
  border: 1px dashed var(--warning-border);
  cursor: not-allowed;
}

.placeholder-note {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-8);
  padding: var(--sp-12) var(--sp-16);
  border-left: 4px solid var(--warning-border);
  border-radius: var(--radius-btn);
  background: var(--warning-bg);
  color: var(--warning-fg);
  font-size: var(--fs-aux);
  line-height: var(--lh-aux);
}
.placeholder-note::before { content: "!"; font-weight: var(--fw-bold); flex: none; }

/* ============================================================
 * 导航（F1）
 * ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--surface);
  border-bottom: 1px solid var(--neutral-200);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-24);
  height: 100%;
}

.brand-link { display: inline-flex; align-items: center; min-height: 44px; flex: none; }
.brand-logo { width: 120px; height: 35px; object-fit: contain; }
.brand-link:hover { text-decoration: none; opacity: 0.88; }

.site-nav { display: flex; align-items: center; }
.nav-menu { display: flex; align-items: center; gap: var(--sp-32); }
.nav-item { display: flex; align-items: center; }

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: var(--sp-8) var(--sp-12);
  border-radius: var(--radius-btn);
  color: var(--neutral-600);
  font-size: var(--fs-aux);
  font-weight: var(--fw-semibold);
  white-space: nowrap;
  transition: color var(--transition), background-color var(--transition);
}
.nav-link:hover { background: var(--primary-50); color: var(--primary); text-decoration: none; }
.nav-link[aria-current="true"] { color: var(--primary); }
.nav-link[aria-current="true"]::after {
  content: "";
  position: absolute;
  left: var(--sp-12);
  right: var(--sp-12);
  bottom: var(--sp-4);
  height: 2px;
  background: var(--brand);
}

.nav-cta { min-height: 40px; padding: 0 var(--sp-16); flex: none; }

.nav-toggle { display: none; }

.mobile-nav { display: none; }

/* ============================================================
 * Hero 首屏
 * ============================================================ */
.hero {
  padding-top: var(--hero-pt);
  padding-bottom: var(--hero-pb);
  background: var(--surface);
}
.hero__grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: var(--sp-48);
  align-items: center;
}
.hero__title {
  font-size: var(--fs-h1);
  line-height: var(--lh-h1);
  letter-spacing: var(--ls-h1);
  font-weight: var(--fw-bold);
  color: var(--neutral-900);
}
.hero__definition {
  margin-top: var(--sp-16);
  max-width: var(--prose);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--neutral-800);
}
.hero__subtitle {
  margin-top: var(--sp-12);
  max-width: 600px;
  font-size: var(--fs-lead);
  line-height: var(--lh-lead);
  color: var(--neutral-600);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-16);
  margin-top: var(--sp-32);
}
.hero__media {
  background: linear-gradient(135deg, var(--surface-alt) 0%, var(--primary-50) 100%);
  border-radius: var(--radius-lg);
  padding: var(--sp-32);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__figure { width: 100%; max-width: 480px; }
.hero__image { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; }
.hero__caption {
  margin-top: var(--sp-12);
  font-size: var(--fs-aux);
  line-height: var(--lh-aux);
  color: var(--neutral-500);
  text-align: center;
}

.trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-32);
  margin-top: var(--sp-48);
  padding-top: var(--compact-py);
  border-top: 1px solid var(--neutral-200);
}
.trust__item { display: flex; flex-direction: column; gap: var(--sp-4); }
.trust__item + .trust__item { border-left: 1px solid var(--neutral-200); padding-left: var(--sp-32); }
.trust__num {
  font-size: var(--fs-stat);
  line-height: var(--lh-stat);
  letter-spacing: var(--ls-h2);
  font-weight: var(--fw-bold);
  color: var(--primary);
  white-space: nowrap;
}
.trust__label { font-size: var(--fs-aux); line-height: var(--lh-aux); color: var(--neutral-600); }

/* ============================================================
 * 产品概览 / 型号卡（F2）
 * ============================================================ */
.model-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--card-gap);
}
.model-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-16);
  padding: calc(var(--card-pad) - 1px);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-card);
  background: var(--surface);
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.model-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}
.model-card[data-active="true"] {
  border: 2px solid var(--brand);
  padding: calc(var(--card-pad) - 2px);
}
.model-card[data-active="true"]::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: var(--sp-4);
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  background: var(--brand);
}
.model-card__badge {
  display: none;
  position: absolute;
  top: var(--sp-12);
  right: var(--sp-12);
  z-index: 1;
  padding: var(--sp-4) var(--sp-8);
  border-radius: var(--radius-badge);
  background: var(--primary-100);
  color: var(--primary-hover);
  font-size: var(--fs-tiny);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-tiny);
}
.model-card[data-active="true"] .model-card__badge { display: inline-flex; }
.model-card__media {
  aspect-ratio: 1 / 1;
  background: var(--surface);
  border-radius: var(--radius-card);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.model-card__image { width: 100%; height: 100%; object-fit: contain; }
.model-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-12); }
.model-card__title { font-size: var(--fs-h4); line-height: var(--lh-h4); font-weight: var(--fw-semibold); color: var(--neutral-900); }
.model-card__power {
  padding: var(--sp-4) var(--sp-8);
  border-radius: var(--radius-badge);
  background: var(--primary-50);
  color: var(--success-fg);
  font-size: var(--fs-tiny);
  font-weight: var(--fw-semibold);
  font-family: var(--font-num);
}
.model-card__note { width: 100%; }
.model-card__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--primary);
  font-size: var(--fs-aux);
  font-weight: var(--fw-semibold);
}
.model-card__link:hover { text-decoration: underline; text-decoration-color: var(--brand); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ============================================================
 * 参数对比表（F2 / F3）—— 保持 table DOM 语义
 * ============================================================ */
.scroll-hint { display: none; }

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-card);
  background: var(--surface);
}
.params-table {
  width: 100%;
  min-width: var(--table-min);
  border-collapse: separate;
  border-spacing: 0;
  font-size: var(--fs-table);
  line-height: var(--lh-table);
}
.params-table caption {
  caption-side: top;
  padding: var(--sp-16);
  text-align: left;
  font-size: var(--fs-aux);
  line-height: var(--lh-aux);
  color: var(--neutral-500);
  background: var(--surface);
}
.params-table th,
.params-table td {
  height: var(--row-h);
  padding: var(--sp-12) var(--sp-16);
  border-bottom: 1px solid var(--neutral-200);
  vertical-align: middle;
}
.params-table thead th {
  background: var(--primary-50);
  color: var(--ink-deep);
  font-size: var(--fs-th);
  line-height: var(--lh-th);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-th);
  text-align: left;
  white-space: nowrap;
}
.params-table thead th:first-child { width: var(--field-col); }
.params-table tbody th[scope="row"] {
  width: var(--field-col);
  text-align: left;
  font-weight: var(--fw-regular);
  color: var(--neutral-600);
  background: var(--surface);
}
.params-table tbody td {
  text-align: right;
  color: var(--neutral-900);
  font-variant-numeric: tabular-nums;
  background: var(--surface);
}
.params-table tbody tr:nth-child(even) th[scope="row"],
.params-table tbody tr:nth-child(even) td { background: var(--surface-alt); }
.params-table tbody tr:hover th[scope="row"],
.params-table tbody tr:hover td { background: var(--primary-50); }
.params-table tbody tr:last-child th,
.params-table tbody tr:last-child td { border-bottom: 0; }

/* 选中列：底色 + 顶部 3px 品牌边 + 文字「✓ 当前查看」 */
.params-table thead th[data-active="true"] {
  background: var(--primary-50);
  box-shadow: inset 0 3px 0 var(--brand);
}
.params-table tbody td[data-active="true"] { background: var(--primary-50); }

.col-switch {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-8);
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  cursor: pointer;
}
.col-switch:hover { text-decoration: underline; text-decoration-color: var(--brand); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.active-mark { display: none; font-size: var(--fs-tiny); font-weight: var(--fw-semibold); color: var(--primary-hover); letter-spacing: 0; }
.params-table thead th[data-active="true"] .active-mark { display: inline; }

.params-tip {
  margin-top: var(--sp-16);
  padding: var(--sp-16);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius-btn);
  background: var(--primary-50);
  color: var(--neutral-800);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  max-width: var(--prose);
}
.params-note { margin-top: var(--sp-24); }
.model-note { margin-top: var(--sp-24); }

/* 无脚本语义兜底（design-spec §5.4），常规浏览不渲染 */
.params-fallback {
  margin-top: var(--sp-24);
  padding: var(--sp-16);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-card);
  background: var(--surface);
}
.params-fallback dt {
  margin-top: var(--sp-12);
  font-size: var(--fs-th);
  font-weight: var(--fw-semibold);
  color: var(--neutral-600);
}
.params-fallback dd {
  margin: var(--sp-4) 0 0;
  font-size: var(--fs-table);
  line-height: var(--lh-table);
  color: var(--neutral-900);
}

/* ============================================================
 * 尺寸图（F4）
 * ============================================================ */
.dimensions__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: var(--sp-48);
  align-items: start;
}
.zoom-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-card);
  background: var(--surface);
  cursor: zoom-in;
  overflow: hidden;
}
.zoom-button:hover { border-color: var(--brand); }
.dimensions__image { width: 100%; height: auto; aspect-ratio: 1000 / 581; object-fit: contain; }
.dimensions__caption {
  margin-top: var(--sp-12);
  font-size: var(--fs-aux);
  line-height: var(--lh-aux);
  color: var(--neutral-500);
}
.dimensions__specs { display: flex; flex-direction: column; gap: var(--sp-16); }
.spec-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-12);
}
.spec-list li {
  padding: var(--sp-12) var(--sp-16);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-btn);
  background: var(--surface);
  font-size: var(--fs-aux);
  line-height: var(--lh-aux);
  color: var(--neutral-800);
}
.spec-list b { font-family: var(--font-num); font-variant-numeric: tabular-nums; color: var(--primary-hover); font-weight: var(--fw-semibold); }
.fine-print { font-size: var(--fs-aux); line-height: var(--lh-aux); color: var(--neutral-500); }

/* ---------- 应用领域 / 系列特点 ---------- */
.info-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--card-gap);
}
.info-list__item {
  padding: var(--sp-24);
  border: 1px solid var(--neutral-200);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius-btn);
  background: var(--surface);
}
.info-list__title {
  font-size: var(--fs-h4);
  line-height: var(--lh-h4);
  font-weight: var(--fw-semibold);
  color: var(--neutral-900);
}
.info-list__text {
  margin-top: var(--sp-8);
  font-size: var(--fs-aux);
  line-height: var(--lh-aux);
  color: var(--neutral-600);
}

/* ---------- FAQ（F7） ---------- */
.faq-list { border-top: 1px solid var(--neutral-200); }
.faq-item { border-bottom: 1px solid var(--neutral-200); background: var(--surface); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-16);
  min-height: 56px;
  padding: var(--sp-12) var(--sp-16);
  list-style: none;
  cursor: pointer;
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  line-height: 1.5;
  color: var(--neutral-900);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: none;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-btn);
  background: var(--primary-50);
  color: var(--primary-hover);
  font-size: var(--fs-lead);
  font-weight: var(--fw-semibold);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:hover { background: var(--surface-alt); }
.faq-item__answer {
  padding: 0 var(--sp-16) var(--sp-16);
  max-width: var(--prose);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--neutral-800);
}
.faq-more { margin-top: var(--sp-32); }

/* ---------- 品牌介绍 ---------- */
.brand__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--sp-48);
  align-items: start;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-16);
}
.stat {
  padding: var(--sp-24);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-card);
  background: var(--surface);
}
.stat__num {
  font-size: var(--fs-stat);
  line-height: var(--lh-stat);
  font-weight: var(--fw-bold);
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}
.stat__label { margin-top: var(--sp-8); font-size: var(--fs-aux); line-height: var(--lh-aux); color: var(--neutral-600); }
.brand__text p { color: var(--neutral-800); }
.source-note {
  margin-top: var(--sp-24);
  padding: var(--sp-16);
  border-left: 4px solid var(--neutral-300);
  border-radius: var(--radius-btn);
  background: var(--neutral-50);
  font-size: var(--fs-aux);
  line-height: var(--lh-aux);
  color: var(--neutral-500);
}

/* ---------- 型号谱系 ---------- */
.model-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-48); }
.model-group__title {
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
  font-weight: var(--fw-semibold);
  color: var(--neutral-900);
  margin-bottom: var(--sp-16);
}
.model-list { display: flex; flex-wrap: wrap; gap: var(--sp-12); }
.model-list__item {
  padding: var(--sp-8) var(--sp-12);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-badge);
  background: var(--surface);
  color: var(--neutral-800);
  font-family: var(--font-num);
  font-size: var(--fs-aux);
  font-variant-numeric: tabular-nums;
}

/* ---------- 咨询 CTA ---------- */
.contact__inner { max-width: var(--prose); }
.contact__actions { display: flex; flex-wrap: wrap; gap: var(--sp-16); margin-top: var(--sp-32); }
.contact-model {
  margin-top: var(--sp-24);
  font-size: var(--fs-aux);
  line-height: var(--lh-aux);
  color: var(--primary-100);
}
.contact-model span { font-family: var(--font-num); font-weight: var(--fw-semibold); }
.contact-hint,
.section--dark .contact-hint {
  margin-top: var(--sp-16);
  padding: var(--sp-16);
  border-left: 4px solid var(--warning-border);
  border-radius: var(--radius-btn);
  background: var(--warning-bg);
  color: var(--warning-fg);
  font-size: var(--fs-aux);
  line-height: var(--lh-aux);
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--neutral-900);
  color: var(--neutral-200);
  padding-top: var(--sp-64);
  padding-bottom: var(--sp-48);
  font-size: var(--fs-aux);
  line-height: var(--lh-aux);
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr) minmax(0, 1fr);
  gap: var(--sp-48);
}
.footer__title { font-size: var(--fs-body); font-weight: var(--fw-semibold); color: var(--surface); margin-bottom: var(--sp-16); }
.footer__links { display: flex; flex-wrap: wrap; gap: var(--sp-8) var(--sp-16); }
.footer__links a { color: var(--brand); min-height: 32px; display: inline-flex; align-items: center; }
.footer__links a:hover { text-decoration: underline; }
.footer__meta { display: flex; flex-direction: column; gap: var(--sp-8); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--sp-8) var(--sp-24);
  margin-top: var(--sp-48);
  padding-top: var(--sp-24);
  border-top: 1px solid var(--neutral-700);
}
.footer__note { margin-top: var(--sp-16); color: var(--neutral-500); }

/* ---------- 返回顶部 / 移动端常驻咨询（F5 / F8） ---------- */
.back-to-top {
  position: fixed;
  right: var(--sp-32);
  bottom: var(--sp-32);
  z-index: 95;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-btn);
  background: var(--surface);
  color: var(--primary);
  font-size: var(--fs-lead);
  font-weight: var(--fw-bold);
  box-shadow: var(--shadow-drawer);
}
.back-to-top:hover { background: var(--primary-50); text-decoration: none; }

.mobile-cta { display: none; }

/* ---------- Lightbox（F4） ---------- */
.lightbox {
  width: min(92vw, 1000px);
  max-width: none;
  max-height: 92vh;
  padding: var(--sp-24);
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--neutral-900);
  box-shadow: var(--shadow-drawer);
  overflow: auto;
}
.lightbox::backdrop { background: var(--overlay); }
.lightbox__close {
  position: absolute;
  top: var(--sp-12);
  right: var(--sp-12);
  z-index: 2;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-btn);
  background: var(--surface);
  color: var(--neutral-900);
  font-size: var(--fs-h3);
  line-height: 1;
  cursor: pointer;
}
.lightbox__close:hover { background: var(--primary-50); }
.lightbox__figure { display: flex; flex-direction: column; gap: var(--sp-12); }
.lightbox__image { max-height: 80vh; max-width: 100%; width: auto; object-fit: contain; margin-inline: auto; }
.lightbox__caption { font-size: var(--fs-aux); line-height: var(--lh-aux); color: var(--neutral-500); text-align: center; }
.lightbox__error {
  padding: var(--sp-24);
  border-radius: var(--radius-btn);
  background: var(--surface-alt);
  color: var(--neutral-600);
  font-size: var(--fs-aux);
  line-height: var(--lh-aux);
  text-align: center;
}
body.lightbox-open { overflow: hidden; }

/* ============================================================
 * 断点：768–1199 平板
 * ============================================================ */
@media (min-width: 768px) and (max-width: 1199px) {
  .nav-menu { gap: 20px; }
  .nav-link--overview { display: none; }
  .hero__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__media { padding: var(--sp-24); }
  .hero__figure { max-width: 360px; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand__grid { grid-template-columns: minmax(0, 1fr); }
  .info-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust__num { font-size: 24px; }
  .dimensions__grid { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-32); }
}

/* ============================================================
 * 断点：<768 移动
 * ============================================================ */
@media (max-width: 767px) {
  body { padding-bottom: 72px; }

  .nav-inner { gap: var(--sp-12); }
  .brand-logo { width: 96px; height: 28px; }
  .site-nav,
  .nav-menu,
  .nav-cta { display: none; }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--sp-4);
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: var(--radius-btn);
    background: transparent;
    cursor: pointer;
  }
  .nav-toggle:hover { background: var(--surface-alt); }
  .nav-toggle__line { width: 24px; height: 2px; background: var(--ink-deep); border-radius: 1px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .mobile-nav {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
    background: var(--surface);
    border-top: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-drawer);
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
    animation: drawer-in var(--transition);
  }
  .mobile-nav__list { padding-inline: var(--gutter); }
  .mobile-nav__link {
    display: flex;
    align-items: center;
    min-height: 48px;
    border-bottom: 1px solid var(--neutral-200);
    color: var(--neutral-800);
    font-size: var(--fs-body);
    font-weight: var(--fw-semibold);
  }
  .mobile-nav__link:hover { color: var(--primary); text-decoration: none; }
  .mobile-nav__link[aria-current="true"] { color: var(--primary); }
  .mobile-nav__cta { width: 100%; margin-block: var(--sp-16); }
  @keyframes drawer-in {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: var(--sp-32); }
  .hero__media { padding: var(--sp-16); }
  .hero__figure { max-width: 100%; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .trust { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: var(--sp-32); }
  .trust__item { flex-direction: row; align-items: baseline; gap: var(--sp-16); min-height: 48px; }
  .trust__item + .trust__item { border-left: 0; border-top: 1px solid var(--neutral-200); padding-left: 0; }
  .trust__num { min-width: 120px; }

  .model-grid,
  .dimensions__grid,
  .brand__grid,
  .model-groups,
  .info-list { grid-template-columns: minmax(0, 1fr); }

  .scroll-hint {
    display: block;
    margin-bottom: var(--sp-8);
    font-size: var(--fs-aux);
    line-height: var(--lh-aux);
    color: var(--neutral-500);
  }
  .params-table th[scope="row"] { position: sticky; left: 0; z-index: 2; }
  .params-table thead th:first-child { position: sticky; left: 0; z-index: 3; }
  .params-table tbody tr:nth-child(even) th[scope="row"] { background: var(--surface-alt); }
  .params-table tbody tr:hover th[scope="row"] { background: var(--primary-50); }

  .spec-list { grid-template-columns: minmax(0, 1fr); }
  .contact__actions { flex-direction: column; }
  .contact__actions .btn { width: 100%; }

  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: var(--sp-32); }

  .back-to-top { right: var(--sp-16); bottom: 88px; }

  .mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(56px + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: var(--primary);
    color: var(--white);
    font-size: var(--fs-body);
    font-weight: var(--fw-semibold);
    text-decoration: none;
  }
  .mobile-cta:hover { background: var(--primary-hover); color: var(--white); text-decoration: none; }

  .lightbox { width: calc(100vw - 2 * var(--sp-16)); padding: var(--sp-16); }
}

/* ============================================================
 * 打印（语义表仍可读）
 * ============================================================ */
@media print {
  .site-header,
  .back-to-top,
  .mobile-cta,
  .btn { display: none !important; }
  .section { padding-block: var(--sp-24); }
  body { color: var(--neutral-900); }
}

/* ============================================================
 * 动效降级
 * ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transform: none !important;
  }
}

/* ============================================================
 * v2 扩展：13 款型号目录 / 尺寸图画廊 / 样本下载
 * 全部复用 tokens.css 令牌，无硬编码色值。
 * ============================================================ */

/* ---------- 型号目录网格（13 款） ---------- */
.model-grid--catalog { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.model-card__group {
  align-self: flex-start;
  padding: var(--sp-4) var(--sp-8);
  border-radius: var(--radius-badge);
  background: var(--primary-100);
  color: var(--primary-hover);
  font-size: var(--fs-tiny);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-tiny);
}
.model-card__spec {
  font-size: var(--fs-aux);
  line-height: var(--lh-aux);
  color: var(--neutral-600);
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
}
.model-card__media--empty {
  background: var(--surface-alt);
  color: var(--neutral-400);
  font-size: var(--fs-aux);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-tiny);
}

/* ---------- 多列参数表：列不换行，靠容器横滑 ---------- */
.params-table td,
.params-table th { white-space: nowrap; }

/* ---------- 尺寸图画廊（8 张） ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--card-gap);
}
.gallery__item {
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-card);
  background: var(--surface);
  padding: var(--sp-16);
  overflow: hidden;
}
.gallery__item .zoom-button {
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: zoom-in;
}
.gallery__image { width: 100%; height: auto; object-fit: contain; }
.gallery__item .dimensions__caption { margin-top: var(--sp-12); }

/* ---------- 样本下载卡片 ---------- */
.download-card {
  display: flex;
  align-items: center;
  gap: var(--sp-24);
  padding: var(--sp-32);
  border: 1px solid var(--primary-100);
  border-radius: var(--radius-lg);
  background: var(--primary-50);
}
.download-card__icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-card);
  background: var(--primary);
  color: var(--white);
  font-size: var(--fs-body);
  font-weight: var(--fw-bold);
  font-family: var(--font-num);
  letter-spacing: var(--ls-th);
}
.download-card__body { flex: 1 1 auto; min-width: 0; }
.download-card__title { font-size: var(--fs-h3); line-height: var(--lh-h3); font-weight: var(--fw-semibold); color: var(--ink-deep); }
.download-card__text { margin-top: var(--sp-8); font-size: var(--fs-aux); line-height: var(--lh-aux); color: var(--neutral-600); }
.download-card__btn { flex: 0 0 auto; }

/* ---------- 联系方式已回填：提示条改为中性信息态（原琥珀为占位警示） ---------- */
.contact-hint,
.section--dark .contact-hint {
  border-left-color: var(--brand);
  background: var(--ink-deep);
  color: var(--neutral-100);
}

/* ---------- GEO：尺寸图文字口径说明（图片信息文本化，供引擎抓取） ---------- */
.dimensions__spec {
  margin-top: var(--sp-8);
  padding: var(--sp-12);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius-btn);
  background: var(--primary-50);
  font-size: var(--fs-aux);
  line-height: var(--lh-aux);
  color: var(--neutral-600);
}

/* ---------- 参数表对齐修正：型号列表头右对齐，与下方数值列一致 ----------
   字段列（参数项）保持左对齐；型号列（data-model）文字右对齐，
   使表头型号名正好落在其下方数值的上方，消除视觉错位。 */
.params-table thead th[data-model] { text-align: right; }
.params-table thead th[data-model] .col-switch { justify-content: flex-end; width: 100%; }

/* ---------- 平板：目录 3 列 ---------- */
@media (min-width: 768px) and (max-width: 1199px) {
  .model-grid--catalog { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- 移动：目录 1 列（覆盖基础断点） ---------- */
@media (max-width: 767px) {
  .model-grid--catalog,
  .gallery-grid { grid-template-columns: minmax(0, 1fr); }
  .download-card {
    flex-wrap: wrap;
    gap: var(--sp-16);
    padding: var(--sp-24);
  }
  .download-card__icon { width: 52px; height: 52px; }
  .download-card__body { flex-basis: calc(100% - 68px); }
  .download-card__btn { width: 100%; }
}
