/* ==========================================================================
   XX 科技有限公司 / XX Technology Co., Ltd.
   全站共享样式表 —— 中英文站点共用
   目录：
     1. 设计令牌 (Design tokens)
     2. 基础重置与排版
     3. 通用布局与组件
     4. 页头 / 导航
     5. 首页 Hero
     6. 区块骨架
     7. 卡片 / 数据 / 时间线 / 表单
     8. 页脚
     9. 响应式断点
     10. 无障碍与动效偏好
   ========================================================================== */

/* ---------- 1. 设计令牌 ---------- */
:root {
  /* 品牌色 */
  --brand: #17417a;
  --brand-dark: #0f2f5c;
  --brand-600: #1d5aa8;
  --accent: #2f80ed;
  --brand-50: #eff5fc;
  --brand-100: #dbe8f8;

  /* 中性色 */
  --ink: #0e1729;
  --ink-2: #3c4759;
  --muted: #6b7689;
  --line: #e4e9f1;
  --bg: #ffffff;
  --soft: #f6f8fc;

  /* 语义色 */
  --ok: #1a7f4b;
  --ok-bg: #eaf6ef;

  /* 尺寸 */
  --wrap: 1160px;
  --header-h: 68px;
  --radius-s: 6px;
  --radius: 10px;
  --radius-l: 16px;

  /* 阴影 */
  --shadow-sm: 0 1px 2px rgba(14, 23, 41, 0.06);
  --shadow: 0 8px 28px rgba(14, 23, 41, 0.08);
  --shadow-up: 0 14px 40px rgba(14, 23, 41, 0.12);

  /* 字体栈：中文优先中文字体，英文优先西文字体 */
  --font-zh: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-en: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --transition: 0.2s ease;
}

/* 按页面语言切换字体栈 —— 英文站不会回退到中文字体渲染拉丁字母 */
html[lang^="zh"] body { font-family: var(--font-zh); }
html[lang^="en"] body { font-family: var(--font-en); }

/* ---------- 2. 基础重置与排版 ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.25;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(30px, 4.4vw, 46px); }
h2 { font-size: clamp(24px, 3vw, 32px); }
h3 { font-size: 19px; line-height: 1.4; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--brand-600);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--accent); }

img { max-width: 100%; height: auto; display: block; }

ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

/* ---------- 3. 通用布局与组件 ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition),
    border-color var(--transition), transform var(--transition);
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: #1a6fd8;
  color: #fff;
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

.btn-outline {
  background: #fff;
  border-color: var(--line);
  color: var(--brand);
}
.btn-outline:hover {
  border-color: var(--brand-600);
  color: var(--brand-600);
}

/* 屏幕上不可见，但读屏软件可读 */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 18px;
  background: var(--brand);
  color: #fff;
  border-radius: 0 0 var(--radius-s) var(--radius-s);
  transition: top var(--transition);
}
.skip-link:focus { top: 0; color: #fff; }

/* ---------- 4. 页头 / 导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* 页头品牌 LOGO（左上角） */
.brand-logo {
  display: block;
  height: 56px;
  width: auto;
}

.brand-name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  white-space: nowrap;
}
.site-nav a:hover { color: var(--brand); }

/* 当前页高亮：用底部横线，同时保留 aria-current 以支持读屏 */
.site-nav a[aria-current="page"] { color: var(--brand); font-weight: 700; }
.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -21px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}

.lang-switch {
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: 0.02em;
}
.lang-switch:hover {
  border-color: var(--brand-600);
  color: var(--brand);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ---------- 5. 首页 Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  /* 虚化的立体仓库实景做底，压一层品牌蓝渐变保证白色标题可读 */
  background:
    linear-gradient(150deg, rgba(15, 47, 92, 0.93) 0%,
      rgba(23, 65, 122, 0.78) 55%, rgba(15, 47, 92, 0.68) 100%),
    url("../hero/hero-warehouse.jpg") center 45% / cover no-repeat;
  background-color: var(--brand);
  color: #fff;
}
.hero::after {
  /* 右侧装饰光斑，纯装饰故用伪元素 + aria 无关 */
  content: "";
  position: absolute;
  top: -120px;
  right: -140px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 128, 237, 0.42) 0%, rgba(47, 128, 237, 0) 68%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 96px 0 92px;
  max-width: 720px;
}

.hero h1 { color: #fff; margin-bottom: 22px; }

.hero-sub {
  font-size: 17px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  max-width: 620px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* 数据条：紧贴 hero 下方 */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  background: #fff;
  padding: 30px 24px;
  text-align: center;
}
.stat-num {
  font-size: 30px;
  font-weight: 700;
  color: var(--brand);
  line-height: 1.2;
}
.stat-label {
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
}

/* 内页顶部横幅 */
.page-hero {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
  padding: 64px 0 52px;
}
.page-hero h1 { margin-bottom: 14px; }
/* 无标题的产品页：只留面包屑，压缩上下留白 */
.page-hero--tight { padding: 26px 0 22px; }
.page-hero--tight .breadcrumb { margin-bottom: 0; }
.page-hero p {
  font-size: 17px;
  color: var(--muted);
  max-width: 640px;
}
.breadcrumb {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--muted);
}
.breadcrumb li::after { content: "/"; margin-left: 8px; color: #c3ccda; }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand); }

/* ---------- 6. 区块骨架 ---------- */
.section { padding: 84px 0; }
.section-soft { background: var(--soft); }
.section-tight { padding: 64px 0; }

.section-head {
  max-width: 680px;
  margin-bottom: 52px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head h2 { margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 16px; }

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-600);
}

/* ---------- 7. 卡片 / 数据 / 时间线 / 表单 ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* 参数字格表 —— 承载能力、规格对照等 */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: #fff;
}
.spec-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 15px;
}
.spec-table caption {
  padding: 18px 20px 0;
  text-align: left;
  font-size: 13px;
  color: var(--muted);
}
.spec-table th,
.spec-table td {
  padding: 15px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.spec-table thead th {
  background: var(--soft);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--ink-2);
  white-space: nowrap;
}
.spec-table tbody tr:last-child td { border-bottom: none; }
.spec-table tbody td:first-child {
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.spec-table td .sub {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}

.card {
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  transition: transform var(--transition), box-shadow var(--transition),
    border-color var(--transition);
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-100);
  box-shadow: var(--shadow);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: var(--brand-50);
  color: var(--brand);
  font-size: 20px;
  font-weight: 700;
}

.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; line-height: 1.75; margin: 0; }

/* 图片卡：图在上、标题与介绍在图片下面（首页「四大结构系列」） */
.card-photo-card { padding: 0; overflow: hidden; }
.card-photo-card .card-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--brand-50);
}
.card-photo-card .card-body { padding: 22px 24px 26px; }
.card-photo-card .card-body h3 { margin: 0 0 10px; }
.card-photo-card .card-body p { color: var(--muted); font-size: 15px; line-height: 1.75; margin: 0; }
/* 整卡可点击时用 <a> 包住，需要恢复块级表现 */
a.card { display: block; color: inherit; text-decoration: none; }
.card-more {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-600);
}
a.card:hover .card-more { text-decoration: underline; }

/* 优势列表：带对勾的条目 */
.checks { display: grid; gap: 18px; }
.checks li {
  position: relative;
  padding-left: 34px;
  color: var(--ink-2);
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--ok-bg);
  box-shadow: inset 0 0 0 1px rgba(26, 127, 75, 0.25);
}
.checks li::after {
  content: "";
  position: absolute;
  left: 5px; top: 12px;
  width: 8px; height: 4px;
  border-left: 2px solid var(--ok);
  border-bottom: 2px solid var(--ok);
  transform: rotate(-45deg);
}

/* 行业标签云 */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tags li {
  padding: 8px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  color: var(--ink-2);
  transition: border-color var(--transition), color var(--transition);
}
.tags li:hover { border-color: var(--brand-100); color: var(--brand); }

/* 应用行业实景图卡 */
.industry-grid {
  margin-top: 30px;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}
.industry-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-l);
  background: var(--brand-50);
}
.industry-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform var(--transition);
}
.industry-card:hover img { transform: scale(1.04); }
.industry-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 36px 16px 12px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  background: linear-gradient(to top, rgba(10, 25, 45, 0.72), rgba(10, 25, 45, 0));
}
@media (max-width: 900px) {
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .industry-grid { grid-template-columns: 1fr; }
}

/* 两列图文区 */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* 图片占位块 —— 替换真实图片时删掉 .media-placeholder，直接放 <img> */
.media-placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  border: 1px dashed #c3ccda;
  border-radius: var(--radius-l);
  background: var(--soft);
  color: var(--muted);
  font-size: 14px;
}

/* 高德嵌入地图（地点模式，iframe 免 key；2026-10-11） */
.map-embed {
  margin-top: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  overflow: hidden;
  background: var(--soft);
}
.map-embed iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
}
.map-embed-note {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  padding: 11px 15px;
  border-top: 1px solid var(--line);
  background: var(--bg);
  font-size: 14px;
  color: var(--muted);
}
.map-embed-note a { color: var(--brand-600); font-weight: 600; text-decoration: none; white-space: nowrap; }
.map-embed-note a:hover { text-decoration: underline; }
@media (max-width: 720px) {
  .map-embed iframe { height: 300px; }
}

/* 实拍照片（首页 / 关于页配图） */
.media-photo {
  margin: 0;
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.media-photo img {
  display: block;
  width: 100%;
  height: auto;
}

/* 首页「更多产品系列」入口 */
.more-series-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 56px 0 22px;
}
.more-series-head h3 {
  font-size: 22px;
  font-weight: 700;
}
.more-series-head a {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-600);
  white-space: nowrap;
}
.more-series-head a:hover { text-decoration: underline; }

/* 时间线 */
.timeline { border-left: 2px solid var(--line); padding-left: 30px; }
.timeline li { position: relative; padding-bottom: 34px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -38px; top: 8px;
  width: 12px; height: 12px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--brand-600);
  box-shadow: 0 0 0 2px var(--brand-100);
}
.timeline-year {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-600);
  letter-spacing: 0.03em;
}
.timeline h3 { font-size: 17px; margin: 4px 0 6px; }
.timeline p { color: var(--muted); font-size: 15px; margin: 0; }

/* 联系页布局 */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 56px;
  align-items: start;
}

.info-list { display: grid; gap: 26px; }
.info-list dt {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.info-list dd { margin: 0; color: var(--ink-2); line-height: 1.7; }
.info-list a { color: var(--ink-2); }
.info-list a:hover { color: var(--brand-600); }

.form {
  padding: 36px 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.field { margin-bottom: 20px; }
.field label {
  display: block;
  margin-bottom: 7px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
}
.field .req { color: #c0392b; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 14px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.field textarea { resize: vertical; min-height: 130px; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand-600);
  box-shadow: 0 0 0 3px rgba(47, 128, 237, 0.16);
}

/* 校验失败态：同时依赖文字提示，不只靠颜色 */
.field.has-error input,
.field.has-error textarea { border-color: #c0392b; }
.field-error {
  display: none;
  margin-top: 6px;
  font-size: 13px;
  color: #c0392b;
}
.field.has-error .field-error { display: block; }

.form-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
}

.form-success {
  display: none;
  margin-bottom: 22px;
  padding: 14px 18px;
  border-radius: var(--radius-s);
  background: var(--ok-bg);
  color: var(--ok);
  font-size: 14px;
}
.form-success.is-visible { display: block; }

/* 统一 CTA 区块 */
.cta-band {
  background: linear-gradient(150deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  border-radius: var(--radius-l);
  padding: 56px 48px;
  text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 560px;
  margin: 0 auto 30px;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ---------- 8. 页脚 ---------- */
.site-footer {
  background: #0b1220;
  color: rgba(255, 255, 255, 0.66);
  padding: 64px 0 26px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.site-footer .brand-name { color: #fff; }
.site-footer .brand-mark { background: var(--accent); }
.footer-about { margin-top: 18px; max-width: 340px; line-height: 1.8; }

.footer-col h4 {
  margin-bottom: 16px;
  font-size: 14px;
  color: #fff;
  font-weight: 700;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255, 255, 255, 0.66); }
.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}
.footer-bottom p { margin: 0; }

/* ---------- 9. 响应式断点 ---------- */
@media (max-width: 980px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 760px) {
  /* 移动端导航：默认收起，.is-open 展开 */
  .nav-toggle { display: block; }

  .brand-logo { height: 42px; }
  .brand-name { font-size: 18px; }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px 24px 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }
  .site-nav.is-open { display: flex; }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .site-nav li { border-bottom: 1px solid var(--line); }
  .site-nav a { display: block; padding: 14px 0; font-size: 16px; }
  .site-nav a[aria-current="page"]::after { display: none; }

  .lang-switch { align-self: flex-start; margin-top: 18px; }

  .hero-inner { padding: 64px 0 60px; }
  .hero-sub { font-size: 16px; }

  .section { padding: 60px 0; }
  .section-head { margin-bottom: 36px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form { padding: 28px 22px; }
  .cta-band { padding: 44px 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .page-hero { padding: 44px 0 36px; }
}

@media (max-width: 420px) {
  .wrap { padding: 0 18px; }
  .stats { grid-template-columns: 1fr; }
}

/* ---------- 10. 无障碍与动效偏好 ---------- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .card:hover { transform: none; }
}

/* 打印：隐藏导航与页脚，避免浪费纸墨 */
@media print {
  .site-header, .site-footer, .cta-band, .hero-actions { display: none; }
  body { font-size: 12pt; }
}

/* ===== 产品目录：系列与型号页 ===== */
.model-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, 1fr);
}

/* 系列内的型号分组（如盖板的口字型 / 日字型 / 田字型） */
.group-block + .group-block { margin-top: 56px; }

.group-head {
  max-width: 680px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border, #e2e8f0);
}
.group-head h2 { margin-bottom: 6px; font-size: 22px; }
.group-head p { color: var(--muted); font-size: 15px; }

.model-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 12px;
  background: var(--surface, #fff);
  text-decoration: none;
  color: inherit;
  transition: box-shadow .2s ease, transform .2s ease;
}

.model-card:hover,
.model-card:focus-visible {
  box-shadow: 0 8px 24px rgba(15, 23, 42, .12);
  transform: translateY(-2px);
}

.model-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #f8fafc;
  border-radius: 8px;
}

.thumb-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 16px;
  color: #94a3b8;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.model-name {
  font-weight: 700;
  font-size: 16px;
}

.model-sub {
  font-size: 13px;
  color: var(--muted, #64748b);
}

.model-detail {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 4fr);
  gap: 40px;
  align-items: start;
}

.detail-media {
  position: sticky;
  top: 90px;
}

.detail-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #f8fafc;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 12px;
}

.detail-spec th {
  width: 110px;
  white-space: nowrap;
  text-align: left;
  vertical-align: top;
}

.pager-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.pager {
  font-weight: 600;
  color: var(--primary, #1d4ed8);
  text-decoration: none;
}

.pager:hover { text-decoration: underline; }

@media (max-width: 1024px) {
  .model-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .model-grid { grid-template-columns: repeat(2, 1fr); }
  .model-detail { grid-template-columns: 1fr; }
  .detail-media { position: static; }
}

@media (max-width: 480px) {
  .model-grid { grid-template-columns: 1fr; }
}

/* ===== 实拍照片与图库 ===== */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.photo-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #f8fafc;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 8px;
}

.detail-figure {
  margin: 20px 0 0;
}

.detail-figure figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted, #64748b);
  text-align: center;
}

.detail-note {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted, #64748b);
}

.section-lead {
  max-width: 720px;
  margin: 0 auto 28px;
  text-align: center;
  color: var(--muted, #64748b);
}

.gallery-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-strip { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
}


/* ---------- 分类导航（产品页：图标 + 二级系列链接） ---------- */
.cat-section { padding: 10px 0 26px; }
/* 目录区块（分类面板）紧跟图标条，收紧上边距让图卡贴着图标出现 */
.catalog-section { padding: 28px 0 84px; }
.cat-nav { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.cat-item {
  display: flex; flex-direction: column; align-items: center;
  padding: 20px 10px 14px; background: #fff; font: inherit; color: inherit;
  border: 1px solid var(--line); border-radius: 14px; cursor: pointer;
  text-decoration: none;
  transition: border-color .18s, box-shadow .18s, transform .18s, background .18s;
}
.cat-item img { width: 74px; height: 74px; }
.cat-item:hover {
  border-color: var(--brand-100); transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(23, 65, 122, .08);
}
.cat-item.is-active {
  border-color: var(--brand); background: var(--brand-50);
  box-shadow: inset 0 -3px 0 var(--brand);
}
.cat-zh { font-size: 17px; color: var(--ink); margin-top: 8px; }
.cat-item.is-active .cat-zh { color: var(--brand); font-weight: 600; }
.cat-en {
  font-size: 12px; color: var(--muted); margin-top: 4px;
  letter-spacing: .1em; text-transform: uppercase;
}
/* 分类面板：点图标后在下方向下展开该分类的系列图卡 */
.cat-panel { display: none; }
.cat-panel.is-active { display: block; }

/* ---------- 分类面板内的系列图卡：一排 4 个 ---------- */
.cat-series-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, 1fr);
}
.cat-series-grid .model-card { padding: 14px; gap: 8px; }
.cat-series-grid .model-name { font-size: 16px; }
.cat-series-grid .model-thumb { background: #fff; border: 1px solid var(--line); }

/* 系列页顶部的分类图标条：紧跟面包屑 hero，不再额外占一屏 */
.cat-section--series { padding: 0 0 0; }
/* 图标条与紧随其后的产品展示区之间不要拉开太大间距 */
.cat-section--series + .section { padding-top: 26px; }

@media (max-width: 1024px) {
  .cat-series-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .cat-series-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 560px) {
  .cat-series-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .cat-nav { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .cat-item { padding: 16px 6px 12px; }
  .cat-item img { width: 44px; height: 44px; }
  .cat-zh { font-size: 14px; margin-top: 7px; }
  .cat-en { font-size: 10px; }
  .cat-chip { padding: 8px 14px; font-size: 13px; }
}
@media (max-width: 400px) {
  .cat-nav { grid-template-columns: repeat(2, 1fr); }
}


/* ---------- 产品页：左侧分类导航 + 右侧目录 ---------- */
.products-layout {
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.product-side {
  position: sticky;
  top: 88px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 12px 12px;
}
/* 侧栏内容完整展开，不出现内部滚动条；视口不够高时改为随页面滚动，
   否则 sticky 会让侧栏底部被切在视口外 */
@media (max-height: 980px) {
  .product-side { position: static; }
}
.side-title {
  margin: 0 0 8px;
  padding: 0 8px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.side-nav { display: block; }
.side-group + .side-group {
  margin-top: 4px;
  padding-top: 4px;
  border-top: 1px solid var(--line);
}
.side-cat {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 8px;
  border: 0;
  border-radius: 9px;
  background: none;
  font: inherit;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: background .16s, color .16s;
}
.side-cat:hover,
.side-group.is-open > .side-cat { background: var(--brand-50); color: var(--brand); }
.side-cat img { width: 26px; height: 26px; flex: none; }
.side-cat-name { flex: 1; font-size: 14.5px; font-weight: 600; }
.side-caret {
  width: 7px;
  height: 7px;
  margin-right: 5px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg);
  opacity: .55;
  transition: transform .2s;
}
.side-cat[aria-expanded="true"] .side-caret { transform: rotate(-135deg); }
.side-subs {
  display: none;
  list-style: none;
  margin: 2px 0 4px;
  padding: 0;
}
.side-group.is-open .side-subs { display: block; }
.side-subs a {
  display: block;
  padding: 6px 8px 6px 38px;
  line-height: 1.45;
  border-radius: 7px;
  font-size: 13.5px;
  color: var(--ink-2);
  transition: background .14s, color .14s;
}
.side-subs a:hover { background: var(--brand-50); color: var(--brand); }
.products-main { min-width: 0; }
.products-main .model-grid {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.products-main .section-head { margin-bottom: 26px; }

@media (max-width: 1024px) {
  .products-layout { grid-template-columns: 216px minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 900px) {
  .products-layout { grid-template-columns: 1fr; gap: 20px; }
  .product-side {
    position: static;
    padding: 12px 10px;
  }
  .side-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
  .side-group + .side-group { margin-top: 0; padding-top: 0; border-top: 0; }
  .side-group { border-top: 1px solid var(--line); }
  .side-group:nth-child(-n+2) { border-top: 0; }
  .side-subs { grid-column: 1 / -1; }
  .side-group.is-open { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .side-nav { grid-template-columns: 1fr; }
  .side-group:nth-child(-n+2) { border-top: 1px solid var(--line); }
  .side-group:first-child { border-top: 0; }
}


/* 系列页 / 型号页：侧栏当前系列高亮、右侧内容微调 */
.side-subs a.is-current {
  background: var(--brand-50);
  color: var(--brand);
  font-weight: 600;
}
.products-main .group-block + .group-block { margin-top: 44px; }
.products-main .model-detail { gap: 32px; }
.products-main .related-block {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
