/* ==========================================================================
   BEUNITY Overseas Site — Design System
   Style direction: Anthropic-inspired warm minimalism
   - Warm paper background (#FAF9F5 / #F0EEE6), near-black warm ink
   - Coral accent (#D97757), pill buttons, soft 1px borders
   - Serif display font (Fraunces ≈ Copernicus) + humanist sans (Inter ≈ Styrene)
   ========================================================================== */

:root {
  --bg: #FAF9F5;
  --bg-alt: #F0EEE6;
  --surface: #FFFFFF;
  --surface-tint: #F7F5EE;

  --ink: #141413;
  --ink-soft: #3E3C37;
  --muted: #5F5C55;
  --faint: #8B887F;

  --line: #E4E0D4;
  --line-soft: #EDEAE0;

  --coral: #D97757;
  --coral-deep: #C15F3C;
  --coral-tint: #F8EEE8;
  --dark: #141413;
  --dark-2: #1F1E1C;
  --cream: #F5F3EC;
  --cream-muted: #B8B4A8;

  --radius-lg: 20px;
  --radius: 14px;
  --radius-sm: 10px;

  --shadow-sm: 0 1px 2px rgba(20, 20, 19, 0.05);
  --shadow: 0 1px 2px rgba(20, 20, 19, 0.04), 0 12px 32px rgba(20, 20, 19, 0.07);

  --font-display: "Fraunces", "Noto Sans SC", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", "Noto Sans SC", "Helvetica Neue", -apple-system, Arial, sans-serif;

  --container: 1200px;
  --header-h: 76px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video { max-width: 100%; display: block; }

a { color: var(--coral-deep); text-decoration: none; }
a:hover { color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 560;
  font-variation-settings: "opsz" 40, "SOFT" 40;
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.35rem; line-height: 1.3; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }
p:last-child { margin-bottom: 0; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral-deep);
  margin: 0 0 18px;
}
.eyebrow--center { text-align: center; }

.lede { font-size: 1.15rem; color: var(--muted); max-width: 46rem; }
.prose { max-width: 46rem; }
.prose p, .prose li { color: var(--ink-soft); }
.prose strong { color: var(--ink); font-weight: 600; }

.section { padding: 104px 0; }
.section--tight { padding: 72px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--dark); color: var(--cream); }
.section--dark h2, .section--dark h3 { color: var(--cream); }
.section--dark p { color: var(--cream-muted); }

.section-head { max-width: 46rem; margin-bottom: 56px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .lede { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 550;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--coral); color: #fff; }
.btn--primary:hover { background: var(--coral-deep); color: #fff; }

.btn--dark { background: var(--ink); color: var(--cream); }
.btn--dark:hover { background: #000; color: #fff; }

.btn--outline { border-color: var(--line); background: transparent; color: var(--ink); }
.btn--outline:hover { border-color: var(--ink); background: var(--surface); }

.btn--ghost-light { border-color: rgba(245, 243, 236, 0.35); color: var(--cream); }
.btn--ghost-light:hover { border-color: var(--cream); background: rgba(255, 255, 255, 0.06); }

.btn--sm { padding: 9px 18px; font-size: 0.875rem; }
.btn--lg { padding: 16px 32px; font-size: 1rem; }

.link-arrow { font-weight: 550; color: var(--coral-deep); display: inline-flex; align-items: center; gap: 6px; }
.link-arrow::after { content: "→"; transition: transform 0.15s ease; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(250, 249, 245, 0.92);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow 0.2s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: 14px; margin-right: auto; min-width: 0; }
.brand-logo {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 7px 11px;
  height: 46px;
  display: flex;
  align-items: center;
  flex: none;              /* 防止窄屏下被 flex 压扁 */
}
.brand-logo img { height: 100%; width: auto; flex: none; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-text .brand-name { font-family: var(--font-display); font-weight: 640; font-size: 1.22rem; letter-spacing: 0.01em; color: var(--ink); }
.brand-text .brand-tag { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); font-weight: 550; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 500;
}
.main-nav a:hover { color: var(--ink); background: var(--bg-alt); }
.main-nav a.is-active { color: var(--ink); background: var(--bg-alt); font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: 16px; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 6px;
  background: var(--surface);
}
.lang-switch a { padding: 3px 10px; border-radius: 999px; color: var(--muted); }
.lang-switch a.is-active { background: var(--ink); color: var(--cream); }
.lang-switch a:hover:not(.is-active) { color: var(--ink); }
.lang-switch .sep { color: var(--line); }

/* 抽屉内的语言切换（移动端专用，桌面隐藏）：大触控目标 */
.nav-lang { display: none; }

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius-sm);
  width: 42px;
  height: 42px;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--ink);
}

/* ---------- Hero ---------- */
.hero { padding: 96px 0 88px; position: relative; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.hero h1 { margin-bottom: 22px; }
.hero .lede { font-size: 1.2rem; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }

.hero-visual { position: relative; }
.hero-visual .frame {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow);
}
.hero-visual img { border-radius: var(--radius); width: 100%; height: auto; }

.hero-chip {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 12px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-chip small { display: block; font-weight: 500; color: var(--muted); font-size: 0.75rem; }
.hero-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); flex: none; }
.hero-chip--a { left: -18px; bottom: 34px; }
.hero-chip--b { right: -14px; top: 30px; }

/* ---------- Trust strip ---------- */
.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface-tint); }
.trust-strip .container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  padding-top: 22px;
  padding-bottom: 22px;
  justify-content: center;
}
.trust-item { display: inline-flex; align-items: center; gap: 10px; font-size: 0.9rem; font-weight: 550; color: var(--ink-soft); }
.trust-item::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); flex: none; }

/* ---------- Stats ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
}
.stat .stat-value { font-family: var(--font-display); font-size: 2.3rem; font-weight: 600; color: var(--ink); line-height: 1.05; }
.stat .stat-value small { font-size: 1.1rem; color: var(--muted); font-weight: 500; }
.stat .stat-label { font-size: 0.85rem; color: var(--muted); margin-top: 8px; }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card h3 { margin-bottom: 10px; }
.card .card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--coral-tint);
  color: var(--coral-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.25rem;
}

/* Product cards */
.product-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.product-card .product-media {
  background: var(--surface-tint);
  border-bottom: 1px solid var(--line-soft);
  padding: 26px;
  min-height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card .product-media img { max-height: 190px; width: auto; max-width: 100%; object-fit: contain; }
.product-card .product-body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.product-card h3 { margin-bottom: 6px; font-size: 1.28rem; }
.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 14px;
}
.spec-pill {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--coral-deep);
  background: var(--coral-tint);
  border-radius: 999px;
  padding: 4px 12px;
  letter-spacing: 0.02em;
}
.product-card p { font-size: 0.92rem; color: var(--muted); flex: 1; }
.product-card .link-arrow { margin-top: 18px; font-size: 0.9rem; }

/* ---------- Feature rows (about) ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
}
.feature-row + .feature-row { border-top: 1px solid var(--line); }
.feature-row .feature-media {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.feature-row .feature-media img { border-radius: var(--radius); width: 100%; }
.feature-row ul { margin: 18px 0 0; padding-left: 18px; color: var(--ink-soft); }
.feature-row li { margin-bottom: 8px; }
.feature-row li::marker { color: var(--coral); }

/* ---------- Spec tables ---------- */
.table-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.table-toolbar input[type="search"] {
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  min-width: 260px;
  outline: none;
}
.table-toolbar input[type="search"]:focus { border-color: var(--coral); }
.table-note { font-size: 0.8rem; color: var(--faint); }

.table-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: auto;
  box-shadow: var(--shadow-sm);
  max-width: 100%;
  position: relative;
  scrollbar-width: thin;
}
/* 手机端宽表格：右侧渐隐提示"可横滑"，滚到最右由 JS 撤销 */
.table-wrap::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 42px;
  background: linear-gradient(90deg, rgba(255,255,255,0), var(--surface));
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.table-wrap.can-scroll::after { opacity: 1; }
.table-wrap.scrolled-end::after { opacity: 0; }
table.spec { width: 100%; border-collapse: collapse; font-size: 0.88rem; min-width: 640px; }
table.spec th {
  position: sticky;
  top: 0;
  background: var(--surface-tint);
  text-align: left;
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
table.spec td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink-soft);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
table.spec tr:last-child td { border-bottom: 0; }
table.spec tbody tr:hover td { background: var(--surface-tint); }
table.spec td.pn { font-weight: 600; color: var(--ink); font-variant-ligatures: none; }
table.spec td.cap { font-weight: 600; color: var(--coral-deep); }
table.spec .sub {
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  padding: 16px 18px 8px;
  background: var(--bg-alt);
}

/* ---------- Datasheet figure ---------- */
.datasheet-figure {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.datasheet-figure img { width: 100%; height: auto; border-radius: var(--radius-sm); }
.datasheet-figure figcaption { font-size: 0.82rem; color: var(--muted); margin-top: 14px; text-align: center; }

/* ---------- Comparison table ---------- */
table.compare { min-width: 720px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--dark);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: 64px 56px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(217, 119, 87, 0.28), transparent);
}
.cta-band h2, .cta-band h3 { color: var(--cream); }
.cta-band h2 { margin-bottom: 10px; position: relative; }
.cta-band p { color: var(--cream-muted); max-width: 34rem; position: relative; }
.cta-band .btn { position: relative; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { font-size: 0.82rem; color: var(--faint); padding: 26px 0 0; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs .sep { margin: 0 8px; color: var(--line); }

/* Page hero (subpages) */
.page-hero { padding: 72px 0 64px; }
.page-hero h1 { margin-bottom: 18px; }
.page-hero .lede { margin-bottom: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px;
}
.contact-card .card-icon { margin-bottom: 16px; }
.contact-card h3 { margin-bottom: 8px; }
.contact-card p { color: var(--muted); }
.contact-card .big { font-size: 1.15rem; font-weight: 600; color: var(--ink); }
.contact-card .big + .big { margin-top: 4px; }

.map-embed {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.map-embed iframe { display: block; width: 100%; height: 420px; border: 0; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 0.82rem; font-weight: 600; color: var(--ink-soft); }
.form-field input, .form-field select, .form-field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--ink);
  outline: none;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--coral); }
.form-field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 0.8rem; color: var(--faint); }

.qr-block {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.qr-block img {
  width: 148px;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  padding: 8px;
}

/* ---------- Certifications ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.cert-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.cert-card img { width: 150px; height: auto; border-radius: var(--radius-sm); border: 1px solid var(--line-soft); flex: none; }

/* ---------- Video ---------- */
.video-frame {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow);
}
.video-frame video { width: 100%; border-radius: var(--radius); display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: var(--cream-muted); margin-top: 0; }
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding: 72px 0 56px;
}
.site-footer h4 {
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.site-footer a { color: var(--cream-muted); }
.site-footer a:hover { color: var(--cream); }
.footer-links { display: flex; flex-direction: column; gap: 10px; font-size: 0.9rem; }
.footer-brand .brand-name { font-family: var(--font-display); color: var(--cream); font-size: 1.3rem; font-weight: 640; }
.footer-brand p { font-size: 0.88rem; color: var(--cream-muted); margin-top: 12px; max-width: 30rem; }
.footer-contact { font-size: 0.88rem; line-height: 1.8; }
.footer-contact .tel { color: var(--cream); font-weight: 600; }

.translate-box { margin-top: 18px; }
.translate-box label { display: block; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; color: var(--cream-muted); }
.translate-box select {
  font-family: var(--font-body);
  font-size: 0.85rem;
  background: var(--dark-2);
  color: var(--cream);
  border: 1px solid rgba(245, 243, 236, 0.22);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  width: 100%;
  max-width: 220px;
}

.footer-bottom {
  border-top: 1px solid rgba(245, 243, 236, 0.14);
  padding: 26px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--faint);
}

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 28px; } .mt-4 { margin-top: 48px; } .mt-5 { margin-top: 72px; }
.mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 28px; } .mb-4 { margin-bottom: 48px; }
.center { text-align: center; }
.text-muted { color: var(--muted); }
.fine { font-size: 0.8rem; color: var(--faint); }

.divider { border: 0; border-top: 1px solid var(--line); margin: 0; }

.note-box {
  background: var(--coral-tint);
  border: 1px solid rgba(217, 119, 87, 0.25);
  border-radius: var(--radius);
  padding: 18px 22px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.note-box strong { color: var(--coral-deep); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-chip--a { left: 8px; } .hero-chip--b { right: 8px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .header-actions .lang-switch { display: none; }   /* 页头语言切换移入抽屉，避免挤占品牌区 */
  .main-nav .nav-lang {
    display: flex;
    gap: 10px;
    padding: 4px 0 16px;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav-lang a {
    flex: 1;
    text-align: center;
    padding: 13px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink);
  }
  .nav-lang a.is-active { background: var(--ink); color: var(--cream); border-color: var(--ink); }
  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 16px 28px 22px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    box-shadow: var(--shadow);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px 14px; }
  .header-actions .btn { display: none; }
  .grid--3 { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; gap: 28px; padding: 40px 0; }
  .section { padding: 72px 0; }
  .cta-band { padding: 44px 32px; }
}

@media (max-width: 620px) {
  .grid--2, .grid--4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; padding: 56px 0 40px; }
  .form-grid { grid-template-columns: 1fr; }
  .container { padding: 0 20px; }
  .hero { padding: 64px 0; }
  .cert-card { flex-direction: column; }
  .table-toolbar input[type="search"] { min-width: 0; width: 100%; }
  /* 极窄屏 + 回退字体（如 Google Fonts 不可达时的系统字体）保险 */
  .brand-text .brand-name { font-size: 1.06rem; }
  .brand-text .brand-tag { font-size: 0.62rem; letter-spacing: 0.08em; }
  /* iOS：输入控件字号 ≥16px，避免聚焦时页面自动放大 */
  input[type="text"], input[type="email"], input[type="tel"],
  input[type="search"], select, textarea { font-size: 16px !important; }
}

/* ---------- Print (spec sheets) ---------- */
@media print {
  .site-header, .site-footer, .cta-band, .breadcrumbs, .table-toolbar, .hero-actions { display: none !important; }
  body { background: #fff; }
  .table-wrap { box-shadow: none; }
}
