/* ==========================================================================
   优帅 · 一米阳光 —— 官网样式
   --------------------------------------------------------------------------
   本文件实现 design.md 里的设计规范。改规范请改 design.md 和这里的 :root，
   不要在页面里写规范外的色值 / 字号 / 圆角。

   风格坐标：明亮、温暖、柔和、有呼吸感。受众是家长，视觉主角是孩子。
   ========================================================================== */

:root {
  /* ---- 主色 ---- */
  --brand-orange: #f08000;
  --brand-orange-deep: #d96e00;
  --brand-orange-soft: #fff3e3;
  --brand-yellow: #faf000;      /* 仅作色块，永不用于浅底文字 */
  --sun-soft: #fff8e1;

  /* ---- 辅助色（取自产品图的柔和色系）---- */
  --rose: #e9a9ae;   --rose-soft: #fceff0;
  --sage: #9cb380;   --sage-soft: #eff4e9;
  --sky: #8fa9c4;    --sky-soft: #edf2f7;
  --wood: #c8a179;   --wood-soft: #f7ede1;
  --lilac: #a992c7;  --lilac-soft: #f2edf8;

  /* ---- 背景 ---- */
  --bg: #fdfbf7;
  --surface: #ffffff;
  --surface-alt: #f8f3ea;
  --surface-warm: #fff8ec;

  /* ---- 文字 ---- */
  --ink: #2b2622;
  --ink-soft: #6e655c;
  --ink-faint: #a29889;
  --on-brand: #ffffff;

  /* ---- 边框 ---- */
  --border: #ede5d9;
  --border-soft: #f4ede3;

  /* ---- 排版 ---- */
  --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei",
          "Source Han Sans SC", "Noto Sans SC", system-ui, -apple-system, sans-serif;

  /* ---- 尺寸 ---- */
  --nav-h: 76px;
  --maxw: 1240px;
  --radius: 18px;        /* 卡片 / 图片 / 大色块 */
  --radius-sm: 12px;     /* 输入框 / 小控件 */
  --radius-pill: 999px;  /* 按钮 / 徽标 */

  /* ---- 阴影（一律暖褐底，不用纯黑）---- */
  --shadow-sm: 0 2px 10px rgba(43, 38, 34, 0.05);
  --shadow-lg: 0 18px 44px rgba(43, 38, 34, 0.12);
  --shadow-nav: 0 1px 0 var(--border), 0 4px 20px rgba(43, 38, 34, 0.05);

  /* ---- 动效 ---- */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ==========================================================================
   基础
   ========================================================================== */

*,
*::before,
*::after { box-sizing: border-box; }

/* ⚠️ 这里**不要**写 scroll-behavior: smooth。
   站点没有页内锚点，这个设置唯一的效果就是：从产品详情页「后退」回列表页时，
   浏览器恢复滚动位置的动作会从「瞬间归位」变成一段快速滚动动画 ——
   看起来就是页面从下往上猛滑一下，观感很差。
   关掉后就是普通网站的跳转行为。 */

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

p { margin: 0; }

ul { margin: 0; padding: 0; list-style: none; }

/* ==========================================================================
   布局
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }

/* 分区节奏：白 → 浅沙 → 白 → 暖黄 */
.section--alt { background: var(--surface-alt); }
.section--warm { background: var(--surface-warm); }

/* 英文小标签 */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-orange);
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-orange);
}

.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

.section-title {
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}

.section-sub {
  max-width: 38em;
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.section-head--center .section-sub { margin-inline: auto; }

.section-note {
  margin-top: 32px;
  text-align: center;
  font-size: 13.5px;
  color: var(--ink-faint);
}

/* 阳光黄强调 —— 用浅底色块，不用黄字 */
.hl {
  position: relative;
  z-index: 0;
  white-space: nowrap;
}

.hl::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: 0.06em;
  height: 0.42em;
  z-index: -1;
  border-radius: 4px;
  background: var(--brand-yellow);
  opacity: 0.55;
}

/* ==========================================================================
   按钮 —— 一屏只允许一个主按钮
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 50px;
  padding: 0 28px;
  border: 0;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s,
              border-color 0.25s, box-shadow 0.25s;
}

.btn--primary {
  background: var(--brand-orange);
  color: var(--on-brand);
  box-shadow: 0 8px 22px rgba(240, 128, 0, 0.26);
}

.btn--primary:hover {
  background: var(--brand-orange-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(240, 128, 0, 0.34);
}

.btn--outline {
  background: transparent;
  color: var(--brand-orange);
  border: 1.5px solid var(--brand-orange);
}

.btn--outline:hover {
  background: var(--brand-orange-soft);
  transform: translateY(-2px);
}

.btn--ghost {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.btn--ghost:hover {
  border-color: var(--brand-orange);
  color: var(--brand-orange);
  transform: translateY(-2px);
}

/* ==========================================================================
   导航
   ========================================================================== */

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(253, 251, 247, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.header.is-scrolled { background: rgba(253, 251, 247, 0.96); box-shadow: var(--shadow-nav); }

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.brand { display: flex; align-items: center; flex-shrink: 0; }

/* 浅色主题用浅底版 logo（深色字标 + 橙色太阳） */
.brand img { height: 38px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 15px;
  font-weight: 400;
  color: var(--ink-soft);
}

.nav a {
  position: relative;
  padding: 6px 0;
  transition: color 0.25s;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-orange);
  transition: width 0.3s var(--ease);
}

.nav a:hover { color: var(--ink); }
.nav a:hover::after { width: 100%; }

.nav a.is-active { color: var(--ink); font-weight: 600; }
.nav a.is-active::after { width: 100%; }

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--brand-orange);
}

.nav-phone svg { width: 17px; height: 17px; }

/* 汉堡按钮 */
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   首页首屏 —— 左文右图，浅色
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + 72px) 0 88px;
  background: linear-gradient(160deg, var(--surface-warm) 0%, var(--bg) 58%);
}

/* 装饰色块：极淡的品牌色圆 */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  top: -140px;
  right: -80px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(250, 240, 0, 0.22), transparent 68%);
}

.hero::after {
  bottom: -180px;
  left: -120px;
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, var(--rose-soft), transparent 70%);
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
}

.hero-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-orange);
}

.hero h1 {
  font-size: clamp(32px, 5.2vw, 56px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}

.hero-sub {
  max-width: 30em;
  margin-bottom: 34px;
  font-size: 16.5px;
  line-height: 1.9;
  color: var(--ink-soft);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }

.hero-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  font-size: 14px;
  color: var(--ink-soft);
}

.hero-specs div { display: flex; align-items: center; gap: 8px; }

.hero-specs b { color: var(--brand-orange); font-weight: 700; }

.hero-specs div::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage);
}

/* 首屏右侧图 */
.hero-media {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 28px 64px rgba(43, 38, 34, 0.16);
  aspect-ratio: 4 / 3.1;
}

.hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* 图上的浮动小标签 */
.hero-chip {
  position: absolute;
  left: 20px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
  font-size: 13.5px;
  font-weight: 600;
}

.hero-chip b { color: var(--brand-orange); }

/* ==========================================================================
   数据条
   ========================================================================== */

.stats { background: var(--surface); border-block: 1px solid var(--border-soft); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 44px 24px;
  text-align: center;
  border-right: 1px solid var(--border-soft);
}

.stat:last-child { border-right: 0; }

.stat-num {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--brand-orange);
}

.stat-num small { font-size: 0.46em; font-weight: 700; margin-left: 3px; }

.stat-label {
  margin-top: 12px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ==========================================================================
   四栏卡片（6S 体系 / 加盟优势 / 选购指南）
   ========================================================================== */

.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.pillar {
  padding: 32px 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}

.pillar:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}

/* 四个卡片轮换辅助色，形成柔和的色彩节奏 */
.pillar:nth-child(4n+1) .pillar-num { background: var(--brand-orange-soft); color: var(--brand-orange); }
.pillar:nth-child(4n+2) .pillar-num { background: var(--sage-soft); color: #5f7a45; }
.pillar:nth-child(4n+3) .pillar-num { background: var(--sky-soft); color: #4d6d8f; }
.pillar:nth-child(4n+4) .pillar-num { background: var(--rose-soft); color: #b5626a; }

.pillar-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
}

.pillar h3 { font-size: 20px; font-weight: 600; margin-bottom: 12px; }

.pillar p { font-size: 15px; line-height: 1.85; color: var(--ink-soft); }

/* ==========================================================================
   系列卡片
   ========================================================================== */

.series {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.series-card {
  display: block;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}

.series-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.series-card--wide { grid-column: span 2; }

.series-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-alt);
}

.series-card--wide .series-thumb { aspect-ratio: 8 / 4.6; }

.series-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.series-card:hover .series-thumb img { transform: scale(1.05); }

/* 缺图占位 */
.series-thumb--soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: repeating-linear-gradient(45deg, var(--surface-alt), var(--surface-alt) 12px,
                                        var(--bg) 12px, var(--bg) 24px);
  color: var(--ink-faint);
  font-size: 15px;
  text-align: center;
}

.series-thumb--soon small { font-size: 12.5px; }

.series-body { padding: 22px 24px 24px; }

.series-body h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.series-body span {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.series-count {
  padding: 3px 11px;
  border-radius: var(--radius-pill);
  background: var(--brand-orange-soft);
  color: var(--brand-orange);
  font-size: 12.5px;
  font-weight: 600;
}

/* ==========================================================================
   精选产品
   --------------------------------------------------------------------------
   每张卡片底色从辅助色里轮换取一个浅色，形成柔和的色彩节奏 —— 这是"童趣"
   的主要来源，靠色彩而不是靠卡通的造型元素，这样才老少皆宜、不显廉价。
   ========================================================================== */

.fgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.fcard {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}

.fcard--rose { background: var(--rose-soft); }
.fcard--sage { background: var(--sage-soft); }
.fcard--sky { background: var(--sky-soft); }
.fcard--wood { background: var(--wood-soft); }
.fcard--lilac { background: var(--lilac-soft); }

.fcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

/* 系列标签 */
.fcard-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
}

.fcard-thumb {
  aspect-ratio: 1;
  overflow: hidden;
}

.fcard-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.fcard:hover .fcard-thumb img { transform: scale(1.06); }

.fcard-body { padding: 16px 18px 18px; }

.fcard-body h3 {
  font-size: 16.5px;
  font-weight: 600;
  margin-bottom: 4px;
}

.fcard-body span { font-size: 12.5px; color: var(--ink-faint); }

/* ==========================================================================
   高定案例
   ========================================================================== */

/* 案例卡：图在上、文字在下的浅色卡，避免深色遮罩 */
.cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case {
  display: block;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}

.case:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.case img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.case:hover img { transform: scale(1.04); }

.case-body { padding: 20px 22px 22px; }

.case-body h3 { font-size: 18px; font-weight: 600; margin-bottom: 5px; }
.case-body span { font-size: 13.5px; color: var(--ink-soft); }

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq { max-width: 820px; margin: 0 auto; }

.faq details {
  margin-bottom: 12px;
  padding: 0 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.faq details[open] { border-color: transparent; box-shadow: var(--shadow-sm); }

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  font-size: 16.5px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--brand-orange);
  border-bottom: 2px solid var(--brand-orange);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform 0.3s var(--ease);
}

.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }

.faq-a {
  padding: 0 0 26px;
  font-size: 15.5px;
  line-height: 1.9;
  color: var(--ink-soft);
}

.faq-a strong { color: var(--ink); font-weight: 600; }

.faq-a ul { margin: 14px 0; }

.faq-a li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 9px;
}

.faq-a li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-orange);
}

.faq-src {
  display: block;
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  font-size: 14px;
  color: var(--ink-soft);
}

/* ==========================================================================
   行动区
   ========================================================================== */

.cta {
  position: relative;
  overflow: hidden;
  background: var(--surface-warm);
  text-align: center;
}

.cta::before {
  content: "";
  position: absolute;
  top: -50%;
  left: 50%;
  width: 760px;
  height: 760px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(250, 240, 0, 0.3), transparent 66%);
  pointer-events: none;
}

.cta .container { position: relative; z-index: 2; }

.cta-title {
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-sub {
  max-width: 32em;
  margin: 0 auto 34px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink-soft);
}

.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ==========================================================================
   页脚
   ========================================================================== */

.footer {
  padding: 72px 0 28px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--ink-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.35fr;
  gap: 44px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--border-soft);
}

.footer-brand img { height: 42px; margin-bottom: 18px; }

.footer-brand p { max-width: 30em; line-height: 1.9; }

.footer h4 {
  margin-bottom: 18px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.footer li { margin-bottom: 11px; }

.footer a { transition: color 0.22s; }
.footer a:hover { color: var(--brand-orange); }

.footer-phone {
  display: block;
  margin-bottom: 16px;
  font-size: 22px;
  font-weight: 700;
  color: var(--brand-orange);
}

.footer-contact li { display: flex; gap: 10px; line-height: 1.75; }
.footer-contact b { flex-shrink: 0; color: var(--ink); font-weight: 600; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 13px;
  color: var(--ink-faint);
}

/* ==========================================================================
   内页页头 —— 浅色，不用深色横幅
   ========================================================================== */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + 72px) 0 64px;
  background: linear-gradient(160deg, var(--surface-warm) 0%, var(--bg) 70%);
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -60px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(250, 240, 0, 0.2), transparent 68%);
  pointer-events: none;
}

.page-hero .container { position: relative; z-index: 2; }

.page-hero h1 {
  font-size: clamp(28px, 4.2vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.page-hero p {
  max-width: 42em;
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink-soft);
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 13.5px;
  color: var(--ink-faint);
}

.breadcrumb a:hover { color: var(--brand-orange); }
.breadcrumb span { opacity: 0.5; }

/* 产品详情页顶部：只有面包屑，不再重复产品名 */
.crumb-bar {
  padding: calc(var(--nav-h) + 30px) 0 0;
  background: linear-gradient(180deg, var(--surface-warm), var(--bg) 92%);
}

.crumb-bar .breadcrumb { margin-bottom: 0; }

/* ==========================================================================
   产品网格
   ========================================================================== */

.pcounter {
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--ink-faint);
}

.pcounter b { color: var(--brand-orange); font-weight: 700; }

.pgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pcard {
  display: block;
  margin: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.pcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.pcard-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-alt);
}

/* 「3 图」角标：同一款有多张角度图时提示 */
.pcard-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 11px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-soft);
}

.pcard-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.pcard:hover .pcard-thumb img { transform: scale(1.05); }

.pcard-body { padding: 16px 18px 18px; }

.pcard-name {
  display: block;
  font-size: 15.5px;
  font-weight: 600;
  margin-bottom: 4px;
}

.pcard-code { font-size: 12.5px; color: var(--ink-faint); }

.pcard-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-orange);
  opacity: 0;
  transition: opacity 0.3s;
}

.pcard:hover .pcard-more { opacity: 1; }

/* ==========================================================================
   产品详情页
   ========================================================================== */

.pdetail {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 48px;
  align-items: start;
}

.pdetail-media {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-alt);
  box-shadow: var(--shadow-sm);
}

.pdetail-media img { width: 100%; }

/* 主图固定画框 —— 套系里的图有横有竖（套房实景是横图，衣柜是竖图），
   不固定的话每切一张容器高度就跳一次，很突兀。
   用 contain 保证不裁掉任何内容，画框不变。 */
.pdetail-main {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: var(--surface-alt);
  border-radius: var(--radius) var(--radius) 0 0;
}

/* 多角度缩略图条 —— 同一款产品的不同角度，点一下切主图 */
.pdetail-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 10px;
  padding: 12px;
  background: var(--surface);
  border-top: 1px solid var(--border-soft);
}

.pthumb {
  padding: 0;
  overflow: hidden;
  background: var(--surface-alt);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.25s, transform 0.25s;
}

.pthumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.pthumb:hover { border-color: var(--border); transform: translateY(-2px); }
.pthumb.is-active { border-color: var(--brand-orange); }

.pdetail-info { position: sticky; top: calc(var(--nav-h) + 28px); }

.pdetail-series {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 13px;
  border-radius: var(--radius-pill);
  background: var(--brand-orange-soft);
  color: var(--brand-orange);
  font-size: 12.5px;
  font-weight: 600;
}

.pdetail-title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.pdetail-code {
  margin-bottom: 26px;
  font-size: 14px;
  color: var(--ink-faint);
}

/* 参数表 */
.spec-table {
  margin-bottom: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.spec-row {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-soft);
  font-size: 14.5px;
}

.spec-row:last-child { border-bottom: 0; }
.spec-row:nth-child(odd) { background: var(--surface-alt); }

.spec-key { color: var(--ink-faint); }

.spec-val { color: var(--ink); font-weight: 500; }

/* 待客户补充的参数 */
.spec-todo {
  display: inline-block;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  background: var(--brand-orange-soft);
  color: var(--brand-orange-deep);
  font-size: 12.5px;
  font-weight: 500;
}

.pdetail-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* 画册里的设计释义 */
.pdetail-design {
  margin-bottom: 18px;
  padding-left: 15px;
  border-left: 3px solid var(--brand-orange);
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--ink-soft);
}

.pdetail-note {
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ink-soft);
}

/* ==========================================================================
   系列介绍区
   ========================================================================== */

.series-intro {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 56px;
}

.series-intro-text h2 {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
  margin-bottom: 16px;
}

.series-intro-text p {
  margin-bottom: 16px;
  font-size: 15.5px;
  line-height: 1.9;
  color: var(--ink-soft);
}

.series-intro-text p:last-child { margin-bottom: 0; }

/* 卖点小列表 */
.intro-points { margin-top: 22px; display: grid; gap: 12px; }

.intro-points li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 15px;
  color: var(--ink-soft);
}

.intro-points li::before {
  content: "";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--sage-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f7a45' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.series-intro-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.series-intro-media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.series-intro-media img:first-child {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}

/* ==========================================================================
   关于我们
   ========================================================================== */

.about-story {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 52px;
  align-items: center;
}

.about-story-text .section-title { margin-bottom: 22px; }

.about-story-text p {
  margin-bottom: 18px;
  font-size: 16px;
  line-height: 1.95;
  color: var(--ink-soft);
}

.about-story-media {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.about-story-media img { width: 100%; }

/* 发展历程 */
.timeline { max-width: 780px; }

.milestone {
  position: relative;
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 26px;
  padding-bottom: 32px;
}

.milestone::after {
  content: "";
  position: absolute;
  left: 82px;
  top: 34px;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

.milestone:last-child { padding-bottom: 0; }
.milestone:last-child::after { display: none; }

.milestone-year {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  border-radius: var(--radius-pill);
  background: var(--brand-orange-soft);
  color: var(--brand-orange-deep);
  font-size: 15px;
  font-weight: 700;
}

.milestone-body h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }

.milestone-body p { font-size: 15px; line-height: 1.85; color: var(--ink-soft); }

/* ==========================================================================
   流程步骤
   ========================================================================== */

.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

.step {
  display: flex;
  gap: 20px;
  padding: 26px 26px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--brand-orange-soft);
  color: var(--brand-orange);
  font-size: 15px;
  font-weight: 700;
}

.step-body h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }

.step-body p { font-size: 14.5px; line-height: 1.8; color: var(--ink-soft); }

/* ==========================================================================
   说明块 / 长文
   ========================================================================== */

.notice {
  max-width: 760px;
  padding: 34px 34px 36px;
  background: var(--surface);
  border: 1.5px dashed var(--border);
  border-radius: var(--radius);
}

.notice h3 { font-size: 20px; font-weight: 600; margin-bottom: 16px; }

.notice p {
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-soft);
}

.notice p:last-child { margin-bottom: 0; }
.notice b { color: var(--ink); font-weight: 600; }

.prose { max-width: 820px; }

.prose p {
  margin-bottom: 20px;
  font-size: 15.5px;
  line-height: 1.95;
  color: var(--ink-soft);
}

.prose b { color: var(--ink); font-weight: 600; }

.todo { color: var(--brand-orange); font-size: 14px; }

.todo-line {
  padding: 20px 22px;
  background: var(--brand-orange-soft);
  border-left: 3px solid var(--brand-orange);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 14.5px !important;
  line-height: 1.85;
  color: var(--brand-orange-deep) !important;
}

/* ==========================================================================
   表单
   ========================================================================== */

.form { max-width: 720px; }

.form--narrow { max-width: 620px; margin: 0 auto; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.form label {
  display: block;
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 600;
}

.form input,
.form select,
.form textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 13px 15px;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form input::placeholder,
.form textarea::placeholder { color: var(--ink-faint); }

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 3px rgba(240, 128, 0, 0.12);
}

.form textarea { resize: vertical; }

.req { color: var(--brand-orange); font-weight: 400; }

.form-submit { width: 100%; margin-top: 6px; }

.form-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-faint);
  text-align: center;
}

.form-done {
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--brand-orange-soft);
  border-left: 3px solid var(--brand-orange);
  color: var(--brand-orange-deep);
  font-size: 15px;
  line-height: 1.8;
}

/* ==========================================================================
   联系我们
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 56px;
  align-items: start;
}

.contact-phone {
  display: block;
  margin-bottom: 28px;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--brand-orange);
}

.contact-info ul li {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: 15px;
}

.contact-info b { font-weight: 600; }
.contact-info span { color: var(--ink-soft); line-height: 1.75; }

.contact-tip {
  margin-top: 26px;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--ink-soft);
}

/* ==========================================================================
   滚动进场
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   响应式
   ========================================================================== */

@media (max-width: 1024px) {
  /* 导航有 7 项，中等屏幕要收紧一点才不挤 */
  .nav { gap: 20px; font-size: 14.5px; }
  .nav-phone { font-size: 14.5px; }
  .brand img { height: 34px; }

  .section { padding: 80px 0; }

  .hero .container { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { order: -1; aspect-ratio: 16 / 10; }

  .pgrid,
  .fgrid { grid-template-columns: repeat(3, 1fr); }

  .pdetail { grid-template-columns: 1fr; gap: 32px; }
  .pdetail-info { position: static; }

  .series-intro { grid-template-columns: 1fr; gap: 32px; }

  .about-story { grid-template-columns: 1fr; gap: 32px; }
  .about-story-media { order: -1; }

  .cases { grid-template-columns: repeat(2, 1fr); }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  .container { padding: 0 20px; }

  .section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }

  .brand img { height: 32px; }

  /* 移动端菜单 */
  .header { background: rgba(253, 251, 247, 0.97); }

  .nav-toggle { display: flex; }

  .nav {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 24px;
    background: var(--surface);
    box-shadow: 0 12px 30px rgba(43, 38, 34, 0.12);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.26s var(--ease), transform 0.26s var(--ease);
  }

  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }

  .nav a {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-soft);
    font-size: 16px;
  }

  .nav a::after { display: none; }

  .nav-phone span { display: none; }

  .hero { padding: calc(var(--nav-h) + 40px) 0 64px; }
  .hero h1 { font-size: clamp(28px, 8vw, 38px); }
  .hero-specs { gap: 10px 22px; font-size: 13.5px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 32px 16px; border-bottom: 1px solid var(--border-soft); }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-last-child(-n+2) { border-bottom: 0; }

  .pillars,
  .series,
  .steps { grid-template-columns: 1fr; }

  .series-card--wide { grid-column: auto; }
  .series-card--wide .series-thumb { aspect-ratio: 4 / 3; }

  .pgrid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .fgrid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .fcard-body { padding: 13px 14px 15px; }
  .fcard-body h3 { font-size: 15px; }
  .fcard-tag { top: 10px; left: 10px; padding: 4px 10px; font-size: 11.5px; }
  .pcard-body { padding: 13px 14px 15px; }
  .pcard-name { font-size: 14.5px; }
  .pcard-more { display: none; }

  .form-row { grid-template-columns: 1fr; gap: 0; }

  .milestone { grid-template-columns: 64px 1fr; gap: 18px; }
  .milestone::after { left: 64px; }
  .milestone-year { font-size: 14px; }

  .notice { padding: 26px 22px 28px; }

  .contact-info ul li { grid-template-columns: 1fr; gap: 4px; }

  .spec-row { grid-template-columns: 90px 1fr; padding: 12px 16px; font-size: 14px; }

  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 480px) {
  .pgrid,
  .fgrid { grid-template-columns: 1fr; }

  .hero-media { aspect-ratio: 4 / 3; }

  .hero-chip { left: 12px; bottom: 12px; padding: 10px 16px; font-size: 12.5px; }
}

/* 尊重用户的减弱动效设置 */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   童趣装饰层
   --------------------------------------------------------------------------
   简笔画线条图案（云朵 / 星星 / 彩虹 / 太阳 / 气球 / 波浪），马卡龙配色。
   —— 只描线不填色，保持"简笔画"的轻，不是卡通贴纸。

   三条约束，保证"不影响观感"：
     1. 全部 pointer-events:none —— 绝不挡住任何点击
     2. 透明度压在 0.28–0.55，只做背景氛围，不跟正文抢注意力
     3. 动效极慢（12–26 秒一轮）、幅度极小，且尊重系统的"减弱动效"设置
   ========================================================================== */

.decor {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

/* 装饰元素本体：尺寸由内联样式给，svg 撑满 */
.decor i {
  position: absolute;
  display: block;
  opacity: 0.42;
}

.decor i svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 马卡龙配色（取自产品图的柔和色系，见 design.md） */
.d-rose  { color: var(--rose); }
.d-sage  { color: var(--sage); }
.d-sky   { color: var(--sky); }
.d-wood  { color: var(--wood); }
.d-lilac { color: var(--lilac); }
.d-sun   { color: #f7c948; }
.d-orange{ color: var(--brand-orange); }

/* 视觉层级：内容永远在装饰之上 */
.section > .container,
.section > .decor + .container { position: relative; z-index: 1; }

/* ---------- 动效：慢、小幅度 ---------- */

@keyframes d-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-14px) rotate(2deg); }
}

@keyframes d-drift {
  0%, 100% { transform: translateX(0) translateY(0); }
  50%      { transform: translateX(22px) translateY(-6px); }
}

@keyframes d-spin {
  to { transform: rotate(360deg); }
}

@keyframes d-sway {
  0%, 100% { transform: rotate(-5deg); }
  50%      { transform: rotate(5deg); }
}

@keyframes d-twinkle {
  0%, 100% { opacity: 0.22; transform: scale(0.9); }
  50%      { opacity: 0.6;  transform: scale(1.06); }
}

.a-float  { animation: d-float 14s ease-in-out infinite; }
.a-drift  { animation: d-drift 22s ease-in-out infinite; }
.a-spin   { animation: d-spin 46s linear infinite; }
.a-sway   { animation: d-sway 11s ease-in-out infinite; }
.a-twinkle{ animation: d-twinkle 7s ease-in-out infinite; }

/* 逐个错开，避免整屏一起动 */
.a-d1 { animation-delay: -2s; }
.a-d2 { animation-delay: -5s; }
.a-d3 { animation-delay: -8s; }
.a-d4 { animation-delay: -12s; }

/* 小屏装饰减半，避免拥挤 */
@media (max-width: 768px) {
  .decor i.d-sm-hide { display: none; }
  .decor i { opacity: 0.3; }
}

/* ---------- 6S 系列的简化介绍（客户要求：只做简单介绍 + 产品展示） ---------- */

.series-intro--short {
  grid-template-columns: 1fr;
  max-width: 780px;
  margin-bottom: 44px;
}

.series-intro--short .series-intro-media { display: none; }

/* ---------- 荣誉列表（纯文字，不放证书图） ---------- */

.honour-list { margin-bottom: 26px; }

.honour-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 15px;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.honour-list li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-orange);
}

.honour-list b { color: var(--ink); font-weight: 600; }

.honour-note {
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border-left: 3px solid var(--border);
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-faint);
}

/* ---------- 系列内的分类分组 ---------- */

.pgroup { margin-bottom: 60px; }
.pgroup:last-child { margin-bottom: 0; }

.pgroup-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  font-size: 20px;
  font-weight: 600;
}

/* 分组标题左侧的一点颜色，让分类在长页面里更容易被扫到 */
.pgroup-title::before {
  content: "";
  width: 4px;
  height: 20px;
  border-radius: 2px;
  background: var(--brand-orange);
}

.pgroup:nth-child(4n+2) .pgroup-title::before { background: var(--sage); }
.pgroup:nth-child(4n+3) .pgroup-title::before { background: var(--sky); }
.pgroup:nth-child(4n+4) .pgroup-title::before { background: var(--lilac); }

.pgroup-count {
  padding: 3px 11px;
  border-radius: var(--radius-pill);
  background: var(--surface-alt);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-faint);
}

@media (max-width: 768px) {
  .pgroup { margin-bottom: 40px; }
  .pgroup-title { font-size: 17px; margin-bottom: 18px; }
}

/* ---------- 画册参数总表 ---------- */

.spec-group { margin-bottom: 56px; }
.spec-group:last-of-type { margin-bottom: 32px; }

.spec-group-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  font-size: 22px;
  font-weight: 700;
}

.spec-group-title::before {
  content: "";
  width: 4px;
  height: 22px;
  border-radius: 2px;
  background: var(--brand-orange);
}

.spec-group:nth-of-type(4n+2) .spec-group-title::before { background: var(--sage); }
.spec-group:nth-of-type(4n+3) .spec-group-title::before { background: var(--sky); }
.spec-group:nth-of-type(4n+4) .spec-group-title::before { background: var(--lilac); }

/* 型号多、尺寸长，窄屏允许横向滚动而不是把表格压扁 */
.spec-scroll { overflow-x: auto; }

.spec-list {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.spec-list th {
  padding: 13px 18px;
  text-align: left;
  font-weight: 600;
  font-size: 13.5px;
  color: var(--ink-soft);
  background: var(--surface-alt);
  white-space: nowrap;
}

.spec-list td {
  padding: 13px 18px;
  border-top: 1px solid var(--border-soft);
  line-height: 1.7;
  color: var(--ink-soft);
  vertical-align: top;
}

.spec-list tbody tr:hover td { background: var(--surface-warm); }

.spec-list .scode {
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.spec-list .scode a {
  color: var(--brand-orange);
  border-bottom: 1px solid currentColor;
}

.spec-list .ssize { min-width: 260px; }

@media (max-width: 768px) {
  .spec-group { margin-bottom: 38px; }
  .spec-group-title { font-size: 18px; }
  .spec-list { font-size: 13.5px; }
  .spec-list th, .spec-list td { padding: 10px 13px; }
}

/* ---------- 参数总表入口条 ---------- */

.spec-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 56px;
  padding: 30px 34px;
  border-radius: var(--radius);
  background: var(--surface-warm);
  border: 1px solid var(--border);
}

.spec-cta h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }

.spec-cta p {
  max-width: 46em;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.spec-cta .btn { flex-shrink: 0; }

@media (max-width: 768px) {
  .spec-cta { padding: 24px 22px; margin-top: 40px; }
  .spec-cta .btn { width: 100%; }
}

/* 产品卡上的一句描述（用于画册没收录、只能看图写的系列） */
.pcard-note {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-soft);
}

@media (max-width: 768px) {
  .pcard-note { font-size: 12.5px; -webkit-line-clamp: 3; line-clamp: 3; }
}

/* ---------- 没有参数的详情页：简介就是主体，排得舒展一点 ---------- */

.pdetail-info--story .pdetail-design {
  margin-top: 10px;
  padding-left: 20px;
  border-left-width: 4px;
  font-size: 16.5px;
  line-height: 2;
  color: var(--ink-soft);
}

@media (max-width: 768px) {
  .pdetail-info--story .pdetail-design { font-size: 15.5px; }
}

/* ---------- 首屏轮播 ---------- */

.hero-media {
  position: relative;
  aspect-ratio: 4 / 3.1;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 28px 64px rgba(43, 38, 34, 0.16);
}

.hero-slides { position: absolute; inset: 0; }

.hero-slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  transition: opacity 0.9s var(--ease);
  pointer-events: none;
}

.hero-slide.is-active { opacity: 1; pointer-events: auto; }

.hero-slide img { width: 100%; height: 100%; object-fit: cover; }

/* 角标固定在轮播容器上，不跟着每张图重绘 */
.hero-slide .hero-chip {
  position: absolute;
  left: 20px;
  bottom: 20px;
}

.hero-dots {
  position: absolute;
  right: 20px;
  bottom: 24px;
  z-index: 3;
  display: flex;
  gap: 7px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: width 0.3s var(--ease), background 0.3s;
}

.hero-dot:hover { background: rgba(255, 255, 255, 0.85); }
.hero-dot.is-active { width: 24px; background: #fff; }

@media (max-width: 768px) {
  .hero-dots { right: 14px; bottom: 16px; }
  .hero-slide .hero-chip { left: 12px; bottom: 12px; }
}

/* ---------- 轮播左右切换按钮 ---------- */

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(6px);
  color: var(--ink);
  cursor: pointer;
  opacity: 0.72;
  box-shadow: 0 4px 16px rgba(43, 38, 34, 0.16);
  transition: opacity 0.25s, background 0.25s, transform 0.25s var(--ease);
}

.hero-arrow svg { width: 20px; height: 20px; }

.hero-arrow:hover {
  opacity: 1;
  background: #fff;
  transform: translateY(-50%) scale(1.08);
}

.hero-arrow--prev { left: 16px; }
.hero-arrow--next { right: 16px; }

/* 触屏没有 hover，按钮直接给足对比 */
@media (hover: none) {
  .hero-arrow { opacity: 0.9; }
}

@media (max-width: 768px) {
  .hero-arrow { width: 38px; height: 38px; }
  .hero-arrow svg { width: 17px; height: 17px; }
  .hero-arrow--prev { left: 10px; }
  .hero-arrow--next { right: 10px; }
}

/* 多个规格各占一行时，行距收紧一点，看起来是一组而不是散开的 */
.spec-val,
.spec-list .ssize { line-height: 1.85; }

/* ---------- 产品图两侧的切换箭头（切上一款 / 下一款）---------- */

.pdetail-media { position: relative; }

.pnav {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  color: var(--ink);
  opacity: 0.72;
  box-shadow: 0 4px 16px rgba(43, 38, 34, 0.16);
  transition: opacity 0.25s, background 0.25s, transform 0.25s var(--ease);
}

.pnav svg { width: 20px; height: 20px; }

.pnav:hover {
  opacity: 1;
  background: var(--brand-orange);
  color: #fff;
}

.pnav--prev { left: 16px; transform: translateY(-50%); }
.pnav--next { right: 16px; transform: translateY(-50%); }

.pnav--prev:hover { transform: translateY(-50%) scale(1.08); }
.pnav--next:hover { transform: translateY(-50%) scale(1.08); }

/* 触屏没有 hover，箭头对比给足 */
@media (hover: none) {
  .pnav { opacity: 0.92; }
}

@media (max-width: 768px) {
  .pnav { width: 38px; height: 38px; }
  .pnav svg { width: 17px; height: 17px; }
  .pnav--prev { left: 10px; }
  .pnav--next { right: 10px; }
}

/* ---------- 发展历程 + 获奖荣誉 两栏 ---------- */

.milestones-grid {
  display: grid;
  /* ⚠️ 必须写 minmax(0, …) —— 直接写 1.55fr / 1fr 的话，
     列宽不会小于内容的最小宽度，左栏文字会挤扁右栏。 */
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

/* 荣誉栏：一张张卡片，年份用小标签 */
.honours { display: grid; gap: 16px; }

.honour-item {
  display: flex;
  gap: 16px;
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.honour-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.honour-year {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  background: var(--brand-orange-soft);
  color: var(--brand-orange-deep);
  font-size: 13px;
  font-weight: 700;
}

.honour-body { min-width: 0; }

.honour-body h3 { font-size: 16.5px; font-weight: 600; margin-bottom: 7px; }

.honour-body p { font-size: 14.5px; line-height: 1.8; color: var(--ink-soft); }

@media (max-width: 1024px) {
  .milestones-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  .honour-item { padding: 18px 18px; }
}
