/* ==========================================================================
   健康睡眠 · 现代床垫智造 — 官网首页样式
   配色：深灰底 + 金色点缀 + 科技蓝
   ========================================================================== */

:root {
  --ink:        #1b1f27;   /* 深灰主色 */
  --ink-2:      #232833;
  --ink-3:      #2c3240;
  --gold:       #c8a45c;   /* 金色 */
  --gold-soft:  #e0c489;
  --blue:       #2f6fb5;   /* 科技蓝 */
  --blue-soft:  #4f8fd0;
  --paper:      #f6f7f9;
  --paper-2:    #ffffff;
  --text:       #232833;
  --text-mute:  #6b7280;
  --line:       #e6e8ed;
  --radius:     14px;
  --shadow:     0 16px 40px rgba(20, 26, 38, .08);
  --container:  1180px;
  --ease:       cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
               "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, dl, dd, figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- 无障碍 ---------- */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--gold); color: #1b1f27; padding: 10px 16px;
  border-radius: 8px; font-weight: 700; transition: top .2s;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ---------- 通用组件 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 8px; font-weight: 700;
  font-size: 15px; border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-ico { width: 18px; height: 18px; flex: none; }
.btn-gold { background: linear-gradient(135deg, var(--gold-soft), var(--gold)); color: #1b1f27; box-shadow: 0 8px 24px rgba(200,164,92,.28); }
.btn-gold:hover { box-shadow: 0 12px 30px rgba(200,164,92,.42); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; background: rgba(255,255,255,.04); }
.btn-ghost:hover { border-color: var(--gold-soft); color: var(--gold-soft); }
.btn-block { width: 100%; justify-content: center; }

.section { padding: 96px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 44px; flex-wrap: wrap; }
.section-head-center { justify-content: center; text-align: center; }
.kicker { color: var(--gold); font-weight: 800; letter-spacing: .18em; font-size: 12px; margin-bottom: 10px; }
.kicker::before { content: ""; display: inline-block; width: 26px; height: 2px; background: var(--gold); vertical-align: middle; margin-right: 10px; }
.section-title { font-size: clamp(28px, 4vw, 42px); line-height: 1.2; letter-spacing: -.02em; color: var(--ink); }
.section-sub { color: var(--text-mute); margin-top: 12px; max-width: 560px; }
.section-head-center .section-sub { margin-inline: auto; }
.kicker-light { color: var(--gold-soft); }
.kicker-light::before { background: var(--gold-soft); }
.section-title-light { color: #fff; }
.section-sub-light { color: rgba(255,255,255,.66); }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(27,31,39,.94); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(0,0,0,.25); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; }
.brand-mark { display: inline-flex; flex-direction: column; justify-content: center; gap: 3px; width: 34px; height: 34px; }
.brand-mark span { display: block; height: 4px; border-radius: 3px; background: linear-gradient(90deg, var(--gold-soft), var(--gold)); }
.brand-mark span:nth-child(1) { width: 34px; }
.brand-mark span:nth-child(2) { width: 26px; opacity: .8; }
.brand-mark span:nth-child(3) { width: 18px; opacity: .6; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 16px; letter-spacing: .05em; }
.brand-text small { font-size: 9px; letter-spacing: .16em; color: var(--gold-soft); margin-top: 3px; }
.primary-nav ul { display: flex; align-items: center; gap: 6px; }
.nav-link { color: rgba(255,255,255,.78); font-size: 14px; padding: 10px 14px; border-radius: 6px; transition: color .2s, background .2s; }
.nav-link:hover, .nav-link.is-active { color: var(--gold-soft); }
.nav-cta { margin-left: 8px; border: 1px solid var(--gold); color: var(--gold-soft); }
.nav-cta:hover { background: var(--gold); color: #1b1f27; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 42px; height: 42px; padding: 10px; background: none; border: 0; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .25s; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 80% 10%, #2a3346 0%, var(--ink) 55%, #141821 100%); color: #fff; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; }
.glow-1 { width: 460px; height: 460px; background: rgba(47,111,181,.35); top: -120px; right: 8%; }
.glow-2 { width: 360px; height: 360px; background: rgba(200,164,92,.18); bottom: -100px; left: 20%; }
.grid-lines { position: absolute; inset: 0; opacity: .12;
  background-image: linear-gradient(rgba(255,255,255,.25) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.25) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: linear-gradient(to bottom, #000, transparent 75%); }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; min-height: 660px; padding: 80px 0 100px; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--gold-soft); font-size: 13px; font-weight: 700; letter-spacing: .16em; margin-bottom: 24px; }
.eyebrow-line { width: 34px; height: 2px; background: var(--gold); }
.hero h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.1; letter-spacing: -.03em; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--gold-soft); }
.hero-desc { color: rgba(255,255,255,.7); margin-top: 24px; max-width: 520px; font-size: 16px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 36px; }
.hero-metrics { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 52px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); }
.hero-metrics dt { font-size: 30px; font-weight: 800; color: #fff; line-height: 1; }
.hero-metrics dt small { font-size: 14px; color: var(--gold-soft); margin-left: 3px; font-weight: 600; }
.hero-metrics dd { color: rgba(255,255,255,.55); font-size: 13px; margin-top: 8px; }
.hero-visual { position: relative; display: grid; place-items: center; min-height: 380px; }
.hero-ring { position: absolute; width: 420px; height: 420px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; }
.hero-ring::after { content: ""; position: absolute; inset: 48px; border: 1px dashed rgba(200,164,92,.28); border-radius: 50%; }
.hero-logo {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: 400px; height: 400px;
  object-fit: contain;
  pointer-events: none;
}
.hero-mattress {
  position: relative; z-index: 1;
  width: min(100%, 440px); height: auto; aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 20px;
  background: #fff;
  padding: 14px;
  box-shadow: 0 30px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(200,164,92,.35);
}
/* 7个标签围绕圆环均匀环绕：每隔 360/7≈51.43° 一个，文字保持水平 */
.floating-tag {
  position: absolute; left: 50%; top: 50%; --r: 236px;
  transform: translate(-50%, -50%) rotate(var(--a)) translateY(calc(-1 * var(--r))) rotate(calc(-1 * var(--a)));
  background: rgba(27,31,39,.85); border: 1px solid rgba(200,164,92,.4);
  color: var(--gold-soft); font-size: 12px; padding: 8px 14px;
  border-radius: 30px; backdrop-filter: blur(6px); white-space: nowrap;
}
.tag-1 { --a: 0deg; }
.tag-2 { --a: 51.43deg; }
.tag-3 { --a: 102.86deg; }
.tag-4 { --a: 154.29deg; }
.tag-5 { --a: 205.71deg; }
.tag-6 { --a: 257.14deg; }
.tag-7 { --a: 308.57deg; }
.scroll-hint { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255,255,255,.5); font-size: 11px; letter-spacing: .1em; }
.mouse { width: 22px; height: 34px; border: 1px solid rgba(255,255,255,.4); border-radius: 12px; position: relative; }
.mouse::after { content: ""; position: absolute; top: 7px; left: 50%; width: 3px; height: 7px; background: var(--gold); border-radius: 2px; transform: translateX(-50%); animation: scrollDot 1.6s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 12px); } }

/* ---------- 床垫矢量图形着色（通过 CSS 变量穿透 use） ---------- */
.matt-top { fill: var(--matt-top, #9fb4cc); }
.matt-front { fill: var(--matt-front, #3f5873); }
.matt-side { fill: var(--matt-side, #5d7694); }
.matt-line { fill: none; stroke: var(--matt-line, rgba(255,255,255,.45)); stroke-width: 1.5; }

/* ---------- 爆款推荐 ---------- */
.bestsellers { background: var(--paper); }
.tab-list { display: flex; gap: 8px; flex-wrap: wrap; }
.tab { padding: 9px 18px; border: 1px solid var(--line); background: #fff; color: var(--text-mute); border-radius: 30px; cursor: pointer; font-size: 14px; transition: all .2s; }
.tab:hover { border-color: var(--gold); color: var(--ink); }
.tab.is-active { background: var(--ink); color: var(--gold-soft); border-color: var(--ink); }
.product-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.product-card { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 4px 16px rgba(20,26,38,.04); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(200,164,92,.5); }
.product-card[hidden] { display: none; }
.product-card { display: flex; flex-direction: column; }
.product-visual { height: 132px; flex: 0 0 132px; display: grid; place-items: center; background: linear-gradient(150deg, #eef1f6, #e2e7ef); overflow: hidden; }
.product-visual svg { width: 82%; filter: drop-shadow(0 10px 12px rgba(30,40,60,.18)); }
.product-visual img { width: 100%; height: 100%; object-fit: contain; display: block; padding: 10px; box-sizing: border-box; }
.product-body { flex: 1 1 auto; padding: 16px 16px 20px; position: relative; z-index: 1; }
.product-tag { display: inline-block; font-size: 11px; color: var(--blue); background: rgba(47,111,181,.09); padding: 3px 10px; border-radius: 20px; margin-bottom: 10px; }
.product-body h3 { font-size: 16px; color: var(--ink); margin-bottom: 8px; }
.product-body p { font-size: 13px; color: var(--text-mute); line-height: 1.6; }

/* 各产品配色（独立变量，避免相互影响） */
.tone-blue   { --matt-top:#a9c1d9; --matt-front:#3e6188; --matt-side:#6d8db0; --matt-line:rgba(255,255,255,.5); }
.tone-gold   { --matt-top:#e2cf9f; --matt-front:#8a6f37; --matt-side:#b89a5e; --matt-line:rgba(255,255,255,.55); }
.tone-slate  { --matt-top:#b7c0ca; --matt-front:#525d6b; --matt-side:#7d8896; --matt-line:rgba(255,255,255,.45); }
.tone-cyan   { --matt-top:#a8d4dc; --matt-front:#2c7a86; --matt-side:#57a3ad; --matt-line:rgba(255,255,255,.55); }
.tone-warm   { --matt-top:#e6cbb0; --matt-front:#9a6f4f; --matt-side:#c09a76; --matt-line:rgba(255,255,255,.55); }
.tone-steel  { --matt-top:#c2c9d1; --matt-front:#4a5866; --matt-side:#7a8896; --matt-line:rgba(255,255,255,.45); }
.tone-violet { --matt-top:#c3b8d9; --matt-front:#5c5080; --matt-side:#8b7fae; --matt-line:rgba(255,255,255,.5); }
.tone-green  { --matt-top:#bbd4bd; --matt-front:#4c7857; --matt-side:#77a582; --matt-line:rgba(255,255,255,.5); }
.tone-navy   { --matt-top:#9fb0c4; --matt-front:#2f4260; --matt-side:#5a7191; --matt-line:rgba(255,255,255,.45); }
.tone-bronze { --matt-top:#d4b892; --matt-front:#82603a; --matt-side:#ac8760; --matt-line:rgba(255,255,255,.5); }

/* ---------- 产品中心 ---------- */
.products { background: #fff; }
.line-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.line-card { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; background: #fff; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.line-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(200,164,92,.5); }
.line-index { position: absolute; top: 16px; right: 20px; font-size: 34px; font-weight: 800; color: rgba(27,31,39,.05); }
.line-visual { height: 130px; display: grid; place-items: center; margin-bottom: 12px; overflow: hidden; --matt-top:#c3cbd4; --matt-front:#47566a; --matt-side:#77889a; --matt-line:rgba(255,255,255,.45); }
.line-visual svg { width: 76%; }
.line-visual img { width: 100%; height: 100%; object-fit: contain; display: block; }
.line-label { font-size: 11px; letter-spacing: .12em; color: var(--blue); font-weight: 700; }
.line-body h3 { font-size: 19px; margin: 8px 0 10px; color: var(--ink); }
.line-body p { font-size: 13px; color: var(--text-mute); min-height: 62px; }
.line-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--ink); }
.line-link svg { width: 16px; height: 16px; transition: transform .2s; }
.line-link:hover { color: var(--gold); }
.line-link:hover svg { transform: translateX(4px); }
.line-brand { background: linear-gradient(155deg, #1e2430, #2b3242); border-color: #2b3242; }
.line-brand .line-index { color: rgba(255,255,255,.08); }
.line-brand .line-label { color: var(--gold-soft); }
.line-brand .line-body h3 { color: #fff; }
.line-brand .line-body p { color: rgba(255,255,255,.65); }
.line-brand .line-link { color: var(--gold-soft); }
.line-brand .line-visual { --matt-top:#e0c489; --matt-front:#8a6f37; --matt-side:#b89a5e; --matt-line:rgba(255,255,255,.6); }

/* ---------- 智能睡眠 ---------- */
.smart { background: radial-gradient(900px 500px at 10% 0%, #263148, var(--ink) 60%); color: #fff; }
.smart-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.smart-copy .section-title { margin-bottom: 18px; }
.smart-copy .btn { margin-top: 30px; }
.feature-list { display: grid; gap: 12px; }
.feature-list li { display: flex; gap: 18px; align-items: flex-start; padding: 18px 20px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; transition: background .25s, border-color .25s, transform .25s; }
.feature-list li:hover { background: rgba(255,255,255,.09); border-color: rgba(200,164,92,.45); transform: translateX(6px); }
.feature-ico { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(200,164,92,.5); color: var(--gold-soft); border-radius: 10px; font-weight: 800; font-size: 14px; }
.feature-list h3 { font-size: 17px; margin-bottom: 4px; }
.feature-list p { font-size: 13px; color: rgba(255,255,255,.6); }

/* ---------- 智造实力 ---------- */
.factory { background: var(--paper); }
.capacity-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.capacity-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 30px 20px; text-align: center; transition: border-color .25s, transform .25s; }
.capacity-item:hover { border-color: rgba(200,164,92,.55); transform: translateY(-4px); }
.capacity-item strong { display: block; font-size: 38px; color: var(--ink); line-height: 1; font-weight: 800; }
.capacity-item strong small { font-size: 15px; color: var(--gold); margin-left: 3px; }
.capacity-item span { display: block; margin-top: 12px; color: var(--text-mute); font-size: 14px; }
.factory-note { display: flex; align-items: center; gap: 14px; margin-top: 28px; padding: 20px 24px; background: rgba(47,111,181,.07); border-left: 3px solid var(--blue); border-radius: 8px; }
.factory-note svg { width: 22px; height: 22px; color: var(--blue); flex: none; }
.factory-note p { color: var(--text); font-size: 14px; }

/* ---------- 联系我们 ---------- */
.contact { background: radial-gradient(800px 420px at 90% 100%, #27334b, var(--ink) 60%); color: #fff; }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.contact-list { margin-top: 28px; }
.contact-list li { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.8); font-size: 14px; }
.contact-list li span { display: inline-block; width: 60px; color: var(--gold-soft); font-weight: 700; }
.contact-form { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 32px; }
.contact-form h3 { font-size: 22px; margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; color: rgba(255,255,255,.75); margin-bottom: 7px; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border-radius: 8px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); color: #fff; transition: border-color .2s, background .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: rgba(255,255,255,.1); }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.35); }
.field select option { color: #1b1f27; }
.form-note { min-height: 20px; margin-top: 12px; font-size: 13px; color: var(--gold-soft); }

/* ---------- 页脚 ---------- */
.site-footer { background: #141821; color: rgba(255,255,255,.55); padding: 44px 0; text-align: center; font-size: 13px; }
.footer-brand { display: flex; align-items: center; justify-content: center; gap: 10px; color: #fff; font-size: 15px; margin-bottom: 12px; }
.site-footer p { margin-top: 6px; }
.copyright { margin-top: 18px; color: rgba(255,255,255,.35); }

/* ---------- 回到顶部 ---------- */
.back-top { position: fixed; right: 22px; bottom: 28px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(200,164,92,.6); background: var(--ink); color: var(--gold-soft); font-size: 18px; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s; z-index: 90; }
.back-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--gold); color: var(--ink); }

/* ---------- 滚动淡入 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   响应式断点
   ========================================================================== */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .line-grid { grid-template-columns: repeat(2, 1fr); }
  .capacity-grid { grid-template-columns: repeat(4, 1fr); }
  .hero-inner { min-height: 560px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--ink); border-bottom: 1px solid rgba(255,255,255,.08);
    display: none; padding: 12px 20px 20px;
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-link { display: block; padding: 12px 14px; }
  .nav-cta { margin: 6px 0 0; text-align: center; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero-inner { grid-template-columns: 1fr; padding-top: 60px; min-height: auto; }
  .hero-visual { min-height: 300px; order: -1; }
  .hero-ring { width: 300px; height: 300px; }
  .hero-logo { width: 250px; height: 250px; }
  /* 窄屏缩小环绕半径，7标签仍均匀分布 */
  .floating-tag { --r: 172px; font-size: 10px; padding: 5px 9px; }
  .hero-metrics { gap: 28px; }
  .smart-inner, .contact-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 640px) {
  .section { padding: 68px 0; }
  .container { width: min(100% - 32px, var(--container)); }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .line-grid { grid-template-columns: 1fr; }
  .capacity-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 40px; }
  .hero-metrics { gap: 16px; }
  .hero-metrics dt { font-size: 21px; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .tab-list { width: 100%; }
  .tab { flex: 1 1 auto; text-align: center; padding: 8px 12px; }
  .contact-form { padding: 24px 20px; }
  .back-top { right: 14px; bottom: 18px; }
}

@media (max-width: 380px) {
  .product-grid { grid-template-columns: 1fr; }
  .hero-metrics { gap: 16px; }
  .hero-metrics dt { font-size: 21px; }
}

/* ---------- 减少动态偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
