/* ==========================================================================
   SA-533 / SA-533M 技术资料站 · 版式层
   设计基础：Astryx Design System（@astryxdesign/theme-neutral 0.7.17 令牌）
   随机选取风格：neutral 主题 + yellow 强调色（#F8C723）
   说明：本文件只做站点版式；颜色/圆角/字体令牌优先取 Astryx 变量，
        并以 :root 变量提供不依赖 @scope 的稳定回退。
   ========================================================================== */

@import url("./astryx-neutral-theme.css");

:root {
  /* Astryx token fallbacks + brand layer */
  --color-accent: #f8c723;
  --color-accent-muted: #fbe9a4;
  --color-on-accent: #14161a;
  --radius-element: 10px;
  --radius-container: 12px;
  --font-family-body: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-family-heading: "Segoe UI Semibold", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;

  /* Site palette */
  --ink: #101215;
  --ink-2: #171b20;
  --ink-3: #232830;
  --body: #2c3138;
  --muted: #6b7178;
  --paper: #f5f3ee;
  --paper-2: #ece9e1;
  --surface: #ffffff;
  --line: rgba(16, 18, 21, 0.12);
  --line-strong: rgba(16, 18, 21, 0.22);
  --yellow: #f8c723;
  --yellow-2: #e5ae00;
  --yellow-soft: #fbe9a4;
  --orange: #ff6100;
  --teal: #007175;

  --shadow-sm: 0 1px 2px rgba(16, 18, 21, 0.06), 0 8px 24px rgba(16, 18, 21, 0.05);
  --shadow-md: 0 2px 4px rgba(16, 18, 21, 0.06), 0 18px 48px rgba(16, 18, 21, 0.09);

  --fs-h1: clamp(34px, 4.4vw, 62px);
  --fs-h2: clamp(25px, 2.5vw, 37px);
  --fs-h3: 20px;
  --fs-body: 16.5px;
  --fs-sm: 14px;
  --fs-xs: 12px;
  --container: 1240px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-family-body);
  font-size: var(--fs-body);
  line-height: 1.75;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
ul, ol { margin: 0; padding: 0; }

::selection { background: var(--yellow); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 200;
  background: var(--yellow);
  color: var(--ink);
  padding: 12px 18px;
  font-weight: 700;
}
.skip-link:focus { left: 12px; top: 12px; }

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}
@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
}

/* ---------- Top strip ---------- */
.top-strip {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.62);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.top-strip .container {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
}
.top-strip .dot { color: var(--yellow); }
.top-strip .hide-sm { display: inline; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(16, 18, 21, 0.97);
  color: #fff;
  border-bottom: 3px solid var(--yellow);
  backdrop-filter: saturate(140%) blur(10px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.02em;
  border-radius: 4px;
}
.brand-text { line-height: 1.12; }
.brand-text strong {
  display: block;
  font-size: 16px;
  letter-spacing: 0.02em;
}
.brand-text span {
  display: block;
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.56);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 3px;
}

.main-nav { margin-left: auto; }
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-group { position: relative; }
.nav-group > a,
.nav-single {
  display: block;
  padding: 10px 12px;
  font-size: 13.5px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.84);
  border-radius: 6px;
  white-space: nowrap;
  transition: color 0.18s, background 0.18s;
}
.nav-group > a::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-right: 1px solid rgba(255, 255, 255, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  transform: rotate(45deg) translateY(-2px);
  margin-left: 7px;
}
.nav-group:hover > a,
.nav-group:focus-within > a,
.nav-single:hover,
.nav-single.active,
.nav-group > a.active {
  color: var(--yellow);
  background: rgba(248, 199, 35, 0.08);
}
.nav-single.active::before,
.nav-group > a.active::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  background: var(--yellow);
}

.subnav {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 240px;
  background: #fff;
  color: var(--ink);
  padding: 8px;
  border-radius: var(--radius-container);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  list-style: none;
}
.nav-group:hover .subnav,
.nav-group:focus-within .subnav {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.subnav a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  line-height: 1.3;
}
.subnav a span {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 2px;
}
.subnav a:hover { background: #faf6e2; }
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.tel-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  padding: 10px 14px;
  border-radius: 6px;
  transition: background 0.18s, transform 0.18s;
}
.tel-btn:hover { background: #e25400; transform: translateY(-1px); }
.tel-btn svg { width: 15px; height: 15px; }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 13px;
  cursor: pointer;
}

/* ---------- Drawer (mobile) ---------- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--ink);
  color: #fff;
  display: none;
  flex-direction: column;
  padding: 18px 20px 90px;
  overflow-y: auto;
}
.drawer.open { display: flex; }
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.drawer-close {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
}
.drawer nav { margin-top: 18px; }
.drawer .d-group { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.drawer .d-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: 0;
  color: #fff;
  padding: 16px 2px;
  font-size: 16px;
  cursor: pointer;
}
.drawer .d-toggle em {
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  display: block;
  margin-top: 2px;
}
.drawer .d-links { display: none; padding: 0 0 12px; }
.drawer .d-group.open .d-links { display: block; }
.drawer .d-links a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}
.drawer .d-links a:hover { background: rgba(255, 255, 255, 0.06); color: var(--yellow); }
.drawer .d-single {
  display: flex;
  justify-content: space-between;
  padding: 16px 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 16px;
}
.drawer-contact {
  margin-top: 26px;
  background: rgba(248, 199, 35, 0.12);
  border: 1px solid rgba(248, 199, 35, 0.4);
  border-radius: var(--radius-container);
  padding: 18px;
  font-size: 14px;
}
.drawer-contact a { display: block; color: var(--yellow); font-weight: 700; }

/* ---------- Banner ---------- */
.banner {
  position: relative;
  height: 360px;
  overflow: hidden;
  background: var(--ink);
}
.banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92) contrast(1.02);
}
.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 9, 11, 0.88) 0%, rgba(7, 9, 11, 0.62) 42%, rgba(7, 9, 11, 0.12) 78%, rgba(7, 9, 11, 0.05) 100%),
    linear-gradient(0deg, rgba(7, 9, 11, 0.72) 0%, rgba(7, 9, 11, 0) 55%);
}
.banner-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 42px;
  color: #fff;
}
.banner-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 12px;
}
.banner-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--yellow);
}
.banner h1 {
  font-family: var(--font-family-heading);
  font-size: var(--fs-h1);
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin: 0;
  max-width: 940px;
  text-wrap: balance;
}
.banner h1 em {
  display: block;
  font-style: normal;
  font-size: 0.4em;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 12px;
  line-height: 1.3;
  max-width: 820px;
}
.banner .banner-badge {
  position: absolute;
  top: 28px;
  right: 0;
  z-index: 2;
  background: rgba(10, 12, 14, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(6px);
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.banner-index {
  position: absolute;
  right: 0;
  bottom: 34px;
  z-index: 2;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.55);
}
.banner-index strong {
  color: var(--yellow);
  font-size: 30px;
  font-weight: 700;
  margin-right: 6px;
  letter-spacing: 0;
}

/* ---------- Breadcrumb ---------- */
.crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 22px 0 0;
}
.crumb a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.crumb .sep { opacity: 0.45; }
.crumb .here { color: var(--ink); font-weight: 600; }

/* ---------- Layout / sections ---------- */
main { padding-bottom: 10px; }
.section { padding: 54px 0; border-bottom: 1px solid var(--line); }
.section:last-of-type { border-bottom: 0; }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.8fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 30px;
}
.section-head .eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow-2);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-head .eyebrow::before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--yellow);
}
.section-head h2 {
  font-family: var(--font-family-heading);
  font-size: var(--fs-h2);
  line-height: 1.18;
  letter-spacing: -0.015em;
  font-weight: 750;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
.section-head h2 em {
  display: block;
  font-style: normal;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-top: 8px;
  text-transform: uppercase;
}
.section-head p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  padding-left: 20px;
  border-left: 1px solid var(--line-strong);
}

.prose p { margin: 0 0 18px; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--ink); font-weight: 650; }
.prose h3 {
  font-size: var(--fs-h3);
  line-height: 1.4;
  color: var(--ink);
  margin: 34px 0 12px;
  font-weight: 700;
}
.prose h3 em {
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-transform: uppercase;
  margin-left: 10px;
}
.prose ul, .prose ol { margin: 0 0 20px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }

.grid-2, .grid-3, .grid-4 { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- Cards ---------- */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-container);
  padding: 26px 24px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--yellow) 0%, rgba(248, 199, 35, 0) 70%);
  opacity: 0;
  transition: opacity 0.22s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card:hover::before { opacity: 1; }
.card .idx {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--yellow-2);
  font-weight: 700;
  margin-bottom: 12px;
  display: block;
}
.card .icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 97, 0, 0.08);
  color: var(--orange);
  margin-bottom: 18px;
}
.card .icon svg { width: 22px; height: 22px; display: block; }
.card h3 {
  margin: 0 0 8px;
  font-size: 19px;
  color: var(--ink);
  line-height: 1.35;
  font-weight: 700;
}
.card h3 em {
  display: block;
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 3px;
}
.card p { margin: 0; color: var(--body); font-size: 14.5px; line-height: 1.65; }
.card .card-foot {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.card .arrow { color: var(--ink); font-weight: 700; }
.card-link:hover .arrow { color: var(--yellow-2); }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.5);
}
.stat { padding: 28px 24px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .num {
  font-family: var(--font-family-heading);
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.03em;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.stat .num small { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.stat .lbl {
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.stat .lbl b { display: block; color: var(--body); font-size: 13px; letter-spacing: 0.02em; text-transform: none; margin-top: 3px; font-weight: 600; }

/* ---------- Tables ---------- */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--radius-container);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  line-height: 1.5;
  min-width: 640px;
}
caption {
  caption-side: top;
  text-align: left;
  padding: 16px 18px 12px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
caption strong { color: var(--ink); font-size: 13px; letter-spacing: 0; }
thead th {
  background: var(--ink-2);
  color: #fff;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  text-align: left;
  padding: 12px 14px;
  white-space: nowrap;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
thead th:last-child { border-right: 0; }
thead th small { display: block; font-weight: 400; font-size: 10px; color: rgba(255, 255, 255, 0.55); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 2px; }
tbody td {
  padding: 11px 14px;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  vertical-align: top;
}
tbody td:last-child { border-right: 0; }
tbody tr:nth-child(even) { background: #faf8f2; }
tbody tr:hover { background: #fdf4cd; }
td.num, th.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
td strong { color: var(--ink); font-weight: 650; }
.table-note { font-size: 12px; color: var(--muted); margin: 10px 0 0; line-height: 1.6; }
.table-scroll-hint {
  display: none;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 8px 0 0;
}

/* ---------- Callout / note ---------- */
.callout {
  background: #fbf6e0;
  border-left: 4px solid var(--yellow);
  padding: 18px 20px;
  border-radius: 0 var(--radius-element) var(--radius-element) 0;
  font-size: 14px;
  line-height: 1.7;
}
.callout strong { color: var(--ink); }
.callout.teal { background: #e9f3f2; border-left-color: var(--teal); }
.callout.orange { background: #fff1e6; border-left-color: var(--orange); }

.note {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.65;
  border-top: 1px dashed var(--line-strong);
  padding-top: 12px;
  margin-top: 18px;
}

/* ---------- Chips / keywords ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 12px;
  color: var(--body);
  background: #fff;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
}
.chip:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }

.keywords {
  margin-top: 8px;
  padding: 28px 0 8px;
}
.keywords h3 {
  margin: 0 0 14px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.keywords h3::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.keyword-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.keyword-list li a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  font-size: 13px;
  color: var(--body);
  background: #fff;
  transition: all 0.18s;
}
.keyword-list li a::before {
  content: "#";
  color: var(--yellow-2);
  font-weight: 700;
}
.keyword-list li a:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.keyword-list li a:hover::before { color: var(--yellow); }

/* ---------- Home hero extras ---------- */
.hero-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-container);
  overflow: hidden;
  margin-top: 26px;
}
.hero-note {
  background: var(--surface);
  padding: 20px 22px;
}
.hero-note b {
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.hero-note span { font-size: 15px; color: var(--ink); font-weight: 600; }

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.gallery figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-element);
  background: var(--ink);
  aspect-ratio: 4 / 3;
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 8px 10px;
  font-size: 10.5px;
  color: #fff;
  background: linear-gradient(0deg, rgba(6, 8, 10, 0.8), rgba(6, 8, 10, 0));
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-element);
  padding: 0 18px;
  transition: border-color 0.18s;
}
details[open] { border-color: var(--line-strong); }
summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 650;
  color: var(--ink);
  font-size: 15.5px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  color: var(--yellow-2);
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
}
details[open] summary::after { content: "−"; }
details .ans {
  padding: 0 0 18px;
  border-top: 1px solid var(--line);
  margin-top: 0;
  padding-top: 14px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--body);
}

/* ---------- Contact ---------- */
.contact-band {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-container);
  overflow: hidden;
  margin-top: 28px;
}
.contact-cell {
  background: rgba(255, 255, 255, 0.06);
  padding: 26px 24px;
  color: #fff;
}
.contact-cell b {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 8px;
}
.contact-cell a, .contact-cell span {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.01em;
  word-break: break-all;
}
.contact-cell small { display: block; font-size: 12px; color: rgba(255, 255, 255, 0.55); margin-top: 6px; }

/* ---------- CTA ---------- */
.cta {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-container);
  padding: 38px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 30px;
  position: relative;
  overflow: hidden;
}
.cta::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(248, 199, 35, 0.18), rgba(248, 199, 35, 0));
}
.cta h3 { margin: 0 0 6px; font-size: 22px; line-height: 1.4; }
.cta p { margin: 0; font-size: 13.5px; color: rgba(255, 255, 255, 0.62); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 750;
  font-size: 14px;
  letter-spacing: 0.02em;
  padding: 13px 22px;
  border-radius: 6px;
  white-space: nowrap;
  transition: transform 0.18s, background 0.18s;
}
.btn:hover { background: #ffd84a; transform: translateY(-2px); }
.btn.ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}
.btn.ghost:hover { border-color: var(--yellow); color: var(--yellow); }

/* ---------- Footer ---------- */
.site-footer {
  background: #0d0f12;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0;
}
.footer-contact {
  background: var(--yellow);
  color: var(--ink);
  padding: 16px 0;
}
.footer-contact .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-contact p { margin: 0; font-size: 14px; font-weight: 650; letter-spacing: 0.01em; }
.footer-contact a { font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.footer-contact .en { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; opacity: 0.7; }
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 46px 0 38px;
}
.footer-top h4 {
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.footer-top p { font-size: 13px; line-height: 1.7; margin: 0; }
.footer-top ul { list-style: none; display: grid; gap: 8px; }
.footer-top a { font-size: 13px; color: rgba(255, 255, 255, 0.68); }
.footer-top a:hover { color: var(--yellow); }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand .brand-mark { width: 34px; height: 34px; font-size: 12px; }
.footer-brand strong { color: #fff; font-size: 15px; }
.footer-brand span { display: block; font-size: 10px; letter-spacing: 0.12em; color: rgba(255, 255, 255, 0.45); text-transform: uppercase; }
.footer-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0 26px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.42);
}
.footer-bar a { color: rgba(255, 255, 255, 0.55); margin-left: 14px; }
.footer-bar a:hover { color: var(--yellow); }

/* ---------- Mobile action bar ---------- */
.mobile-bar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .header-inner { gap: 16px; }
  .nav-group > a, .nav-single { padding: 9px 8px; font-size: 12.5px; }
  .tel-btn { padding: 9px 11px; font-size: 12px; }
  .brand-text span { display: none; }
}
@media (max-width: 1020px) {
  .main-nav, .tel-btn { display: none; }
  .nav-toggle { display: inline-block; }
  .top-strip .hide-sm { display: none; }
  .section-head { grid-template-columns: 1fr; gap: 14px; }
  .section-head p { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); padding-top: 12px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { border-bottom: 1px solid var(--line); }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .contact-band { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --fs-body: 15.5px; }
  .banner { height: 260px; }
  .banner-inner { padding-bottom: 26px; }
  .banner h1 { font-size: clamp(30px, 8vw, 42px); }
  .banner h1 em { font-size: 0.38em; }
  .banner .banner-badge { top: 18px; font-size: 9px; padding: 6px 8px; }
  .banner-index { display: none; }
  .section { padding: 38px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: 1fr 1fr; }
  .table-scroll-hint { display: block; }
  table { font-size: 12.5px; min-width: 560px; }
  thead th { padding: 10px 10px; font-size: 11.5px; }
  tbody td { padding: 9px 10px; }
  .cta { flex-direction: column; align-items: flex-start; padding: 26px 22px; }
  .footer-top { grid-template-columns: 1fr; gap: 26px; padding: 34px 0 28px; }
  .footer-bar { flex-direction: column; gap: 8px; }
  body { padding-bottom: 64px; }
  .mobile-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 130;
    background: rgba(13, 15, 18, 0.97);
    border-top: 3px solid var(--yellow);
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    gap: 10px;
    backdrop-filter: blur(8px);
  }
  .mobile-bar a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px;
    border-radius: 6px;
    font-size: 13.5px;
    font-weight: 700;
  }
  .mobile-bar .call { background: var(--orange); color: #fff; }
  .mobile-bar .inquiry { background: var(--yellow); color: var(--ink); }
  .keyword-list li a { padding: 8px 12px; font-size: 12.5px; }
}
@media (max-width: 420px) {
  .brand-text strong { font-size: 14px; }
  .stats { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
}

/* ---------- Motion / print ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .site-header, .top-strip, .mobile-bar, .drawer, .cta, .keywords { display: none !important; }
  body { background: #fff; color: #000; }
  .banner { height: 200px; }
  .banner::after { background: rgba(0, 0, 0, 0.35); }
  .card, .table-wrap { box-shadow: none; }
  a { color: #000; }
}

/* ==========================================================================
   SA-662 / SA-662M 专题站 · 扩展组件层
   Astryx neutral theme + industrial amber accent
   ========================================================================== */

/* 横幅下方技术参数条 */
.spec-strip { background: var(--ink-2); color: #fff; border-bottom: 1px solid rgba(255,255,255,.08); }
.spec-strip .container { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); }
.spec-cell { padding: 15px 18px; border-right: 1px solid rgba(255,255,255,.08); }
.spec-cell:last-child { border-right: 0; }
.spec-cell b { display: block; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); margin-bottom: 3px; font-weight: 700; }
.spec-cell span { font-size: 13.5px; font-weight: 600; color: rgba(255,255,255,.9); }
.spec-cell small { display: block; font-size: 10.5px; color: rgba(255,255,255,.45); margin-top: 2px; letter-spacing: .04em; }

/* 牌号卡片 */
.grade-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.grade-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-container); padding: 26px 24px; box-shadow: var(--shadow-sm); overflow: hidden; }
.grade-card::after { content: ""; position: absolute; right: -20px; top: -30px; width: 130px; height: 130px; border-radius: 50%; background: radial-gradient(circle, rgba(248,199,35,.28), rgba(248,199,35,0)); }
.grade-card .letter { font-family: var(--font-family-heading); font-size: 58px; line-height: 1; font-weight: 800; color: var(--ink); letter-spacing: -.04em; }
.grade-card .letter small { font-size: 12px; letter-spacing: .16em; color: var(--muted); display: block; margin-top: 6px; text-transform: uppercase; font-weight: 600; }
.grade-card .kv { margin-top: 18px; display: grid; gap: 8px; }
.grade-card .kv div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--line); padding-bottom: 7px; font-size: 13px; }
.grade-card .kv div:last-child { border-bottom: 0; }
.grade-card .kv span { color: var(--muted); }
.grade-card .kv strong { color: var(--ink); font-variant-numeric: tabular-nums; }

/* 版本沿革时间线 */
.timeline { position: relative; padding-left: 28px; margin-top: 8px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 8px; bottom: 10px; width: 2px; background: var(--line-strong); }
.tl-item { position: relative; padding: 0 0 22px 16px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: -26px; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: var(--yellow); border: 2px solid var(--ink); }
.tl-item b { display: block; font-size: 15px; color: var(--ink); letter-spacing: .01em; }
.tl-item b em { font-style: normal; font-size: 11px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; margin-left: 8px; }
.tl-item p { margin: 4px 0 0; font-size: 13.5px; color: var(--body); }

/* 元素区间图 */
.range-chart { display: grid; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-container); padding: 24px 24px 20px; }
.range-row { display: grid; grid-template-columns: 92px minmax(0,1fr) 96px; gap: 14px; align-items: center; }
.range-row .rl { font-size: 13px; font-weight: 650; color: var(--ink); }
.range-row .rl small { display: block; font-size: 10px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; font-weight: 500; }
.range-track { position: relative; height: 10px; background: #ece8dd; border-radius: 999px; }
.range-bar { position: absolute; top: 0; height: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--yellow-2), var(--yellow)); }
.range-bar.b { background: linear-gradient(90deg, #d8b52a, #f8c723); }
.range-bar.c { background: linear-gradient(90deg, var(--teal), #2a9a9e); }
.range-row .rv { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; text-align: right; }
.range-scale { display: grid; grid-template-columns: 92px minmax(0,1fr) 96px; gap: 14px; margin-top: 4px; }
.range-scale .ticks { display: flex; justify-content: space-between; font-size: 10px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 5px; }

/* 承压设备示意图 */
.vessel-figure { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-container); padding: 20px 22px 14px; box-shadow: var(--shadow-sm); }
.vessel-figure svg { width: 100%; height: auto; display: block; }
.vessel-figure figcaption { margin-top: 6px; font-size: 11.5px; color: var(--muted); letter-spacing: .04em; }

/* 术语对照 */
.glossary { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 28px; }
.glossary div { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.glossary div span { color: var(--muted); font-size: 12.5px; }

/* 企业卡片 */
.company-list { display: grid; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-container); overflow: hidden; }
.company-row { display: grid; grid-template-columns: 54px minmax(0,1.1fr) minmax(0,1.7fr); gap: 18px; padding: 20px 22px; border-bottom: 1px solid var(--line); align-items: start; }
.company-row:last-child { border-bottom: 0; }
.company-row:hover { background: #fdfaf0; }
.company-row .no { font-family: var(--font-family-heading); font-size: 20px; font-weight: 800; color: var(--yellow-2); letter-spacing: -.02em; }
.company-row h3 { margin: 0 0 4px; font-size: 16.5px; color: var(--ink); }
.company-row h3 em { display: block; font-style: normal; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: 3px; font-weight: 500; }
.company-row .meta { font-size: 12px; color: var(--teal); margin-bottom: 4px; }
.company-row p { margin: 0; font-size: 13.5px; color: var(--body); line-height: 1.65; }
.company-row .tags { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.company-row .tags i { font-style: normal; font-size: 11px; border: 1px solid var(--line-strong); border-radius: 3px; padding: 2px 7px; color: var(--muted); }

/* 选型矩阵 */
.matrix { width: 100%; }
.matrix td:first-child { font-weight: 650; color: var(--ink); }

/* 产品大图 */
.figure-wide { margin: 0; border: 1px solid var(--line); border-radius: var(--radius-container); overflow: hidden; background: #fff; }
.figure-wide img { width: 100%; height: auto; }
.figure-wide figcaption { padding: 10px 14px; font-size: 11.5px; color: var(--muted); }

/* 数据卡补充 */
.fact-row { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.fact { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--yellow); border-radius: 0 var(--radius-element) var(--radius-element) 0; padding: 18px 20px; }
.fact b { display: block; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.fact strong { font-size: 16px; color: var(--ink); line-height: 1.4; }
.fact p { margin: 4px 0 0; font-size: 12.5px; color: var(--muted); }

/* 页面索引 */
.page-index { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.page-index a { font-size: 12px; padding: 6px 10px; border: 1px solid var(--line-strong); border-radius: 3px; background: #fff; }
.page-index a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* 表格首列保持可读 */
.table-wrap table td:first-child { white-space: nowrap; }

@media (max-width: 1020px) {
  .spec-strip .container { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grade-grid { grid-template-columns: 1fr; }
  .fact-row { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .spec-strip .container { grid-template-columns: 1fr 1fr; }
  .spec-cell { padding: 12px 12px; }
  .spec-cell span { font-size: 12px; }
  .company-row { grid-template-columns: 38px 1fr; }
  .company-row p { grid-column: 2; }
  .glossary { grid-template-columns: 1fr; }
  .range-row, .range-scale { grid-template-columns: 74px minmax(0,1fr) 78px; gap: 8px; }
  .range-row .rl { font-size: 12px; }
  .table-wrap table td:first-child { white-space: normal; }
}

/* 严格保持 360px 横幅高度（含移动端） */
@media (max-width: 760px) {
  .banner { height: 360px; }
  .banner-inner { padding-bottom: 28px; }
  .banner h1 { font-size: clamp(26px, 7.2vw, 38px); line-height: 1.12; }
  .banner h1 em { font-size: .36em; margin-top: 8px; }
  .banner .banner-badge { top: 16px; font-size: 9px; }
  .banner-index { display: none; }
}

