/* ==========================================================================
   LUBAO MEDICAL — Global Stylesheet
   --------------------------------------------------------------------------
   SECTIONS
   01. Design Tokens (colors / type / spacing / radius / shadow)
   02. Reset & Base
   03. Layout Helpers (container / section / grid)
   04. Buttons
   05. Header & Navigation
   06. Hero / Banner carousel
   06b. Homepage components (index.html 专用)
   07. Section Headings
   08. Cards (product card / application card / feature item)
   09. About block
   10. Inquiry CTA band
   11. Footer
   12. Page hero & breadcrumb（内页顶部横条）
   13. Product grid & detail（图廊 / 概览 / 海报）
   14. Specification table
   15. Checklist, FAQ, Related products
   16. Company pages (team / certificates / steps / link cards)
   17. News list & article page
   18. Forms & contact
   19. Floating contact tab（全站悬浮联系标签）
   20. Utilities & Responsive
   21. Reduced motion
   22. Business structure & about subpages（两个主体 / 5 步序列 / 8 步流程 / 4 列证书）
   23. Product page 阶段四（海报条 / 应用图格 / 质检条 / 包装图集 / CTA 海报）
   ========================================================================== */

/* ==========================================================================
   01. DESIGN TOKENS
   ========================================================================== */
:root {
  /* -- Brand colors (locked by project spec) -- */
  --c-primary:      #173B57;   /* deep navy — headings, header, footer */
  --c-primary-700:  #102B40;   /* darker navy — hover states */
  --c-primary-050:  #E8EEF3;   /* navy tint — subtle fills */

  --c-bg:           #FFFFFF;   /* main background */
  --c-bg-alt:       #F5F7F9;   /* alternate section background */

  --c-accent:       #F28C28;   /* CTA orange */
  --c-accent-700:   #D97706;   /* CTA hover */

  --c-text:         #333333;   /* body text */
  --c-text-muted:   #6B7885;   /* secondary text */
  --c-border:       #E1E6EB;   /* hairlines, card borders */

  /* 悬浮联系标签：刻意用高饱和的绿，和深蓝主色 / 橙色 CTA 拉开距离，保证在页面上跳出来 */
  --c-whatsapp:     #25D366;
  --c-whatsapp-700: #1DA851;

  /* -- Typography -- */
  --font-sans: "Inter", "Arial", "Helvetica Neue", Helvetica, sans-serif;
  --fs-h1: 44px;
  --fs-h2: 40px;
  --fs-h3: 20px;
  --fs-lead: 18px;
  --fs-body: 16px;
  --fs-small: 14px;
  --lh-tight: 1.22;
  --lh-body: 1.65;

  /* -- Spacing scale -- */
  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 32px;
  --sp-5: 48px;
  --sp-6: 64px;
  --sp-7: 88px;

  /* -- Radius (spec: 4-8px) -- */
  --r-sm: 4px;
  --r-md: 8px;

  /* -- Shadow (kept restrained for industrial B2B) -- */
  --shadow-sm: 0 1px 3px rgba(23, 59, 87, .08);
  --shadow-md: 0 6px 20px rgba(23, 59, 87, .10);

  /* -- Layout -- */
  --max-w: 1200px;
  --header-h: 76px;
}

/* ==========================================================================
   02. RESET & BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}

/* Anchor offset so the sticky header never covers a jumped-to heading */
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

img { max-width: 100%; height: auto; display: block; }

/* 没有素材的板块 —— 构建时由 _media.toggle_blocks() 自动补 data-ph-hidden。
   板块里只要还有一张图是占位图就不显示；素材补齐后下次构建自动摘掉标记。
   用 !important 是因为这个标记要能压过 section 自己的 display。
   ⚠️ 只是隐藏，源码里的板块一直都在，不是删除。 */
[data-ph-hidden] { display: none !important; }

a { color: var(--c-primary); text-decoration: none; }
a:hover { color: var(--c-accent-700); }

h1, h2, h3, h4 {
  margin: 0 0 var(--sp-2);
  color: var(--c-primary);
  line-height: var(--lh-tight);
  font-weight: 700;
}
h1 { font-size: var(--fs-h1); letter-spacing: -0.5px; }
h2 { font-size: var(--fs-h2); letter-spacing: -0.4px; }
h3 { font-size: var(--fs-h3); }
p  { margin: 0 0 var(--sp-2); }
ul { margin: 0; padding: 0; list-style: none; }
/* ⚠️ 这条不能删。浏览器给 <figure> 的默认外边距是 1em 40px（上下 16px、左右各 40px），
   而 figure 在本站大多是网格项 —— 左右各 40px 会把网格列直接压窄 80px，
   项与项之间的实际间距变成「gap + 80」，看上去图格又小又散。
   实测（1440px）：产品页应用图原本 4 列、每格只有 190px，真实间距 104px 而不是 24px；
   就是这条 reset 缺位造成的。占位图和真图都有，所以和素材无关。

   全站 7 种 figure 类，只有 .app-tile / .app-tile--sm 没有自己的 margin 规则
   （.pack-tile / .pack-figure / .cert-card / .process-step / .article-figure 都各自写了），
   所以这条 reset 的实际影响面就是应用图格 —— 但它是**兜底**：以后新增 figure 类
   忘了写 margin，也不会再被 UA 默认值悄悄压窄。 */
figure { margin: 0; }

/* Accessibility: visible focus ring, muted version for mouse users */
:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; }

/* Skip link for keyboard users */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--c-primary); color: #fff; padding: 10px 16px;
}
.skip-link:focus { left: 0; }

/* ==========================================================================
   03. LAYOUT HELPERS
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-3);
}

.section { padding: var(--sp-7) 0; }
.section--alt { background: var(--c-bg-alt); }
.section--tight { padding: var(--sp-6) 0; }

.grid { display: grid; gap: var(--sp-3); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ==========================================================================
   04. BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-1);
  min-height: 48px;                /* comfortable tap target on mobile */
  padding: 12px 26px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font-family: inherit;
  font-size: var(--fs-body);
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.btn--primary { background: var(--c-accent); color: #fff; }
.btn--primary:hover { background: var(--c-accent-700); color: #fff; }

.btn--secondary { background: transparent; color: var(--c-primary); border-color: var(--c-primary); }
.btn--secondary:hover { background: var(--c-primary); color: #fff; }

.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost-light:hover { background: #fff; color: var(--c-primary); }

.btn--block { width: 100%; }

/* ==========================================================================
   05. HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--c-border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  height: var(--header-h);
}

/* -- Logo --
   2026-10-11 起改用客户的品牌标记图（images/brand/lubao-mark.png）。
   ⚠️ 只上**图形标记**，不上横版字标 —— 客户那份字标里带中文，诺洁思那份
      还带法定全称，两条红线都碰不得。品牌名仍由旁边的英文 .logo__name 承担。
   标记是 2× 图（76×76 源，页面显示 38px）。 */
.logo { display: flex; align-items: center; gap: 10px; }
.logo__mark {
  width: 38px; height: 38px; flex: 0 0 38px;
  display: block;
}
.logo__mark img { width: 100%; height: 100%; object-fit: contain; }
.logo__text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.logo__name { font-weight: 700; font-size: 18px; color: var(--c-primary); letter-spacing: .2px; white-space: nowrap; }
.logo__tag  { font-size: 11px; color: var(--c-text-muted); letter-spacing: .4px; text-transform: uppercase; white-space: nowrap; }

/* -- Primary nav -- */
.nav { display: flex; align-items: center; gap: var(--sp-4); }
.nav__list { display: flex; align-items: center; gap: var(--sp-3); }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center;
  font-size: 15px; font-weight: 600; letter-spacing: .3px;
  color: var(--c-primary); padding: 8px 2px;
  border-bottom: 2px solid transparent;
  /* Nav items must never wrap to a second line — a two-line "CONTACT US"
     in a 76px-tall bar looks broken. If a viewport cannot fit the nav,
     that is a sizing problem to fix in a media query (see the 981–1279
     block in section 20), not something to paper over by letting the
     text break. */
  white-space: nowrap;
}
.nav__link:hover { color: var(--c-accent-700); }
.nav__link.is-active { border-bottom-color: var(--c-accent); }

/* -- Dropdown caret -- */
.nav__caret {
  display: inline-block;
  width: 6px; height: 6px;
  margin-left: 7px; margin-bottom: 2px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg);
  transition: transform .18s ease;
}
.nav__item.has-sub:hover .nav__caret { transform: rotate(225deg); margin-bottom: -2px; }

/* -- Sub-menu (second level) -- */
.nav__sub {
  position: absolute;
  top: calc(100% + 14px);
  left: -16px;
  min-width: 250px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  padding: 8px 0;
  opacity: 0; visibility: hidden;
  transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}
/* Invisible bridge across the gap so the menu doesn't close mid-move */
.nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav__item.has-sub:hover .nav__sub,
.nav__item.has-sub:focus-within .nav__sub {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav__sub a {
  display: block;
  padding: 11px 20px;
  font-size: 14px; font-weight: 500;
  color: var(--c-text);
  white-space: nowrap;
}
.nav__sub a:hover { background: var(--c-bg-alt); color: var(--c-primary); }

/* -- Mega sub-menu: PRODUCTS 按分类分列展示产品 --
   （内容由 build_site.py 依据 _data/products.json 自动写入 index.html）
   4 列 = 4 个产品分类。菜单比导航项宽得多，而 PRODUCTS 离视口右侧不远：
   沿用 .nav__sub 的 left: -16px 向右展开，1280px 屏上一定会顶出右边缘。
   所以这里改成「以导航项为中心、左右各撑一半」。

   居中用 margin-left 负值，不用 transform: translateX(-50%) ——
   .nav__sub 的入场动画本身就占着 transform，改成 translateX 就得在每个
   状态（默认 / :hover / :focus-within）都补一遍，而且 +980 的移动端重置
   （.nav__sub { transform: none }）权重只有 0,1,0，压不住带 :hover 的那条，
   手机上展开二级菜单会整体左移半屏。负 margin 没这个问题。

   宽度写死不做 max-width 兜底：一旦被夹住，元素仍锚在 left: 50%，
   居中就失效了。实测 1280px 视口下菜单左右边界约 175 / 1215，不会溢出。 */
.nav__sub--mega {
  left: 50%;
  margin-left: -520px;                 /* = 宽度 1040px 的一半 */
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 var(--sp-2);
  padding: 12px 8px 14px;
  width: 1040px;
  min-width: 0;
}
.nav__sub--mega .nav__col { padding: 0 12px; min-width: 0; }
.nav__sub--mega .nav__col + .nav__col { border-left: 1px solid var(--c-border); }
.nav__col-title {
  margin: 0 0 4px;
  font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
}
/* 分类标题本身就是链接，去掉它继承来的块状内边距 */
.nav__col-title a { padding: 6px 8px; font-size: 12px; font-weight: 700; color: var(--c-primary); white-space: normal; }
.nav__col-title a:hover { background: transparent; color: var(--c-accent-700); }
.nav__sub--mega .nav__col ul { border-top: 1px solid var(--c-border); padding-top: 4px; }
/* 4 列后每列净宽约 220px，而 .nav__sub a 是 white-space: nowrap ——
   「Automatic Sealed Sliding Doors」这类长名会直接溢出白框，所以放开换行。 */
.nav__sub--mega .nav__col li a { padding: 9px 8px; border-radius: var(--r-sm); white-space: normal; }

/* 中等宽度（桌面导航但窗口不宽）：4 列会把每列压到 170px 上下、长名频繁折行，
   收到 2 列。27 个产品分两列约 620px 高，最矮的笔记本窗口也放得下。 */
@media (max-width: 1279px) and (min-width: 981px) {
  /* 宽度必须写死：绝对定位元素 + left: 50% + width: auto 时，
     「可用宽度」只剩父元素的一半（约 47px），shrink-to-fit 会把菜单压成一条。
     实测 981px 视口下菜单左右边界约 28 / 748，不会溢出。 */
  .nav__sub--mega {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 720px;
    margin-left: -360px;                /* = 宽度 720px 的一半 */
  }
  /* 第 3 列起换到第二排：去掉左边框，改用上边框分隔 */
  .nav__sub--mega .nav__col:nth-child(odd) { border-left: none; }
  .nav__sub--mega .nav__col:nth-child(n + 3) {
    border-top: 1px solid var(--c-border);
    margin-top: 6px; padding-top: 10px;
  }
}

/* -- Hamburger (mobile only) -- */
.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  background: none; border: 1px solid var(--c-border); border-radius: var(--r-sm);
  cursor: pointer; padding: 0;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--c-primary);
  margin: 0 auto; position: relative; transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before { content: ""; position: absolute; top: -6px; }
.nav-toggle span::after  { content: ""; position: absolute; top: 6px; }

/* ==========================================================================
   06. HERO / BANNER CAROUSEL
   Structure: <section class="lb-banner"> > .lb-banner__slide ×3
                第 1 张 = img.hero__bg + .hero__overlay + .container.hero__inner（带文字）
                第 2/3 张 = a.lb-banner__link > img.hero__bg（整图可点，无文字）
              + button.lb-banner__nav--prev / --next
   自动播放见 js/main.js 第 07 模块。
   ========================================================================== */
.lb-banner {
  position: relative;
  background: var(--c-primary-700);   /* fallback behind the image */
  overflow: hidden;
}
/* 3 张幻灯片叠在一起，只有当前那张可见。
   visibility: hidden 顺带把隐藏那张里的链接移出 Tab 顺序 ——
   否则键盘用户会 Tab 到一个看不见的链接上（链接是整图<a>，藏不掉就很别扭）。 */
.lb-banner__slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .55s ease, visibility .55s ease;
}
.lb-banner__slide.is-active { opacity: 1; visibility: visible; }
/* 第 1 张留在文档流里：它带悬浮文字、是 3 张里最高的一张，由它撑起整块高度，
   这样 2/3 张绝对定位也不会让容器高度来回跳（轮播时页面不上下抖）。 */
.lb-banner__slide--first { position: relative; inset: auto; }
/* 第 2/3 张：整张图是一个链接 */
.lb-banner__link { position: relative; display: block; width: 100%; height: 100%; }

/* 宽屏：**显示框 = 海报本身的高宽比**（2559×1200 ≈ 2.132:1）。
   以前框高由第 1 张的文字撑开（.hero__inner 的 min-height: 560px），
   和第 2/3 张海报的比例对不上，img 的 object-fit: cover 就把海报上下裁掉一大截
   —— 1920px 视口下实测裁掉 36.6%，客户自己做的海报根本没显示全。
   现在框高按海报比例算，三张都 inset:0 铺满，海报完整显示。

   ⚠️ 断点是 1280，不是 981。第 1 张上的文案（标题 3 行 + 引言 4 行 + 两个按钮）
      固定要 571px 高；2.132:1 的框要到 **1218px 宽**才够这个高度。
      在 1218 以下硬套比例，文字会从框里溢出去压到下一屏（1024px 下实测溢出 91px）。
      所以 981–1279 这一段维持原样：框高由文字决定、海报上下裁一点，
      和改版前的表现完全一致，没有变差。 */
@media (min-width: 1280px) {
  .lb-banner { aspect-ratio: 2559 / 1200; }
  /* 框高改由比例决定，第 1 张就不必再留在文档流里撑高度了，一起铺满 */
  .lb-banner__slide--first { position: absolute; inset: 0; }
  .lb-banner .hero__inner { min-height: 0; }
}

/* 横幅两端的中间位切换按钮 */
.lb-banner__nav {
  position: absolute; top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  padding: 0;
  background: rgba(16, 43, 64, .42);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease;
}
.lb-banner__nav svg { width: 22px; height: 22px; }
.lb-banner__nav--prev { left: 20px; }
.lb-banner__nav--next { right: 20px; }
.lb-banner__nav:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .lb-banner__nav:hover { background: var(--c-accent); border-color: var(--c-accent); }
}

.hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
/* Dark scrim so overlaid text stays legible on any photo */
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    90deg,
    rgba(16, 43, 64, .90) 0%,
    rgba(16, 43, 64, .72) 42%,
    rgba(16, 43, 64, .30) 100%
  );
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 560px;                  /* generous but not overwhelming */
  /* ⚠️ 只写上下：这个元素同时是 .container，用简写 padding: X 0 会把
     .container 的左右内边距清零，窄屏下正文就贴到屏幕边上了（曾经的真 bug）。
     要改上下留白，只动 padding-top / padding-bottom。 */
  padding-top: var(--sp-6);
  padding-bottom: var(--sp-6);
}
.hero__content { max-width: 680px; }
.hero__eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: #FFD9AE;
  background: rgba(242, 140, 40, .22);
  border: 1px solid rgba(242, 140, 40, .45);
  border-radius: var(--r-sm);
  padding: 6px 12px; margin-bottom: var(--sp-3);
}
.hero__title { color: #fff; margin-bottom: var(--sp-3); }
.hero__lead { font-size: var(--fs-lead); color: rgba(255, 255, 255, .86); max-width: 56ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-4); }

/* ==========================================================================
   06b. HOMEPAGE COMPONENTS (index.html 专用)
   数据墙 / 四大产品体系 / 解决方案 / 制造工艺 / 定制收口条 / 全球市场 / 包装
   ⚠️ 所有 hover 规则都包在 @media (hover: hover) and (pointer: fine) 里：
   iOS Safari 一旦发现「点一下会改 :hover 样式」，会把第一次点按当悬停吃掉、
   不派发 click（这个坑在悬浮联系标签上真机复现过，见文件末尾的说明）。
   ========================================================================== */

/* -- 数据墙：关键数据，悬停放大 + 反转底色 + 顶部橙线 --
   2026-10-11 调整：数字字号整体放大约 18%，让它成为视觉中心，
   标签降到 12px 退成辅助信息；悬停的放大从 1.04 收到 1.02（幅度不宜过大），
   并在卡片顶部压一条橙线（--c-accent），深蓝底上做一点品牌色收口。 */
.stat-wall {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-3);
}
.stat-card {
  position: relative;                 /* 给顶部橙线做定位参照 */
  overflow: hidden;                   /* 让橙线跟着圆角裁 */
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: var(--sp-4) var(--sp-3);
  text-align: center;
  transition: background-color .22s ease, border-color .22s ease,
              box-shadow .22s ease, transform .22s ease;
}
/* 顶部橙线：平时收成 0 宽，悬停时从中间展开 */
.stat-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--c-accent);
  transform: scaleX(0);
  transition: transform .22s ease;
}
.stat-card__num {
  display: block;
  font-size: clamp(25px, 2.8vw, 40px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.6px;
  color: var(--c-primary);
  transition: color .22s ease;
}
.stat-card__label {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.45;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--c-text-muted);
  transition: color .22s ease;
}
@media (hover: hover) and (pointer: fine) {
  .stat-card:hover {
    background: var(--c-primary);
    border-color: var(--c-primary);
    box-shadow: var(--shadow-md);
    transform: scale(1.02);
  }
  .stat-card:hover::before { transform: scaleX(1); }
  .stat-card:hover .stat-card__num { color: #fff; }
  .stat-card:hover .stat-card__label { color: rgba(255, 255, 255, .82); }
}
/* Manufacturing 板块里的 4 个数据：2×2、左对齐，比首页那 6 个紧凑一档 */
.stat-wall--compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: var(--sp-4) 0;
}
.stat-wall--compact .stat-card { padding: var(--sp-3) var(--sp-2); text-align: left; }
.stat-wall--compact .stat-card__num { font-size: clamp(22px, 2.2vw, 31px); }
.stat-wall--compact .stat-card__label { margin-top: 6px; }

/* -- 四大产品体系：4 张大卡片（2×2） -- */
.system-card {
  position: relative;
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: box-shadow .18s ease, border-color .18s ease, transform .18s ease;
}
.system-card__media { background: var(--c-bg-alt); aspect-ratio: 4 / 3; }
.system-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.system-card__body { padding: var(--sp-3); display: flex; flex-direction: column; flex: 1 1 auto; }
.system-card__num {
  align-self: flex-start;
  font-size: 13px; font-weight: 700; letter-spacing: 1.4px;
  color: var(--c-accent-700);
  margin-bottom: 6px;
}
.system-card__title { font-size: 21px; margin-bottom: var(--sp-1); }
.system-card__text { color: var(--c-text-muted); font-size: 15px; margin-bottom: var(--sp-2); }
/* 代表产品的一行小字，用浅底块和信息流拉开层次 */
.system-card__featured {
  font-size: 13px; line-height: 1.7; color: var(--c-primary);
  background: var(--c-bg-alt);
  border-radius: var(--r-sm);
  padding: 10px 12px;
  margin: 0 0 var(--sp-3);
}
.system-card__link { margin-top: auto; font-weight: 600; font-size: 15px; }
/* 整张卡可点：链接的伪元素铺满卡片，跟 .card 一个套路 */
.system-card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.system-card__link:focus-visible::after { outline: 2px solid var(--c-accent); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .system-card:hover { box-shadow: var(--shadow-md); border-color: #CFD8E0; transform: translateY(-2px); }
  .system-card:hover .system-card__title { color: var(--c-primary-700); }
  .system-card:hover .system-card__link { color: var(--c-accent-700); }
  .system-card:hover .card__arrow { transform: translateX(3px); }
}

/* -- 解决方案：3 张卡 -- */
.solution-card {
  position: relative;
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: box-shadow .18s ease, border-color .18s ease, transform .18s ease;
}
.solution-card__media { background: var(--c-bg-alt); aspect-ratio: 4 / 3; }
.solution-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.solution-card__body { padding: var(--sp-3); display: flex; flex-direction: column; flex: 1 1 auto; }
.solution-card__title { font-size: 19px; margin-bottom: var(--sp-1); }
.solution-card__text { color: var(--c-text-muted); font-size: 15px; margin-bottom: var(--sp-2); }
.solution-card__link { margin-top: auto; font-weight: 600; font-size: 15px; }
.solution-card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.solution-card__link:focus-visible::after { outline: 2px solid var(--c-accent); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .solution-card:hover { box-shadow: var(--shadow-md); border-color: #CFD8E0; transform: translateY(-2px); }
  .solution-card:hover .solution-card__title { color: var(--c-primary-700); }
  .solution-card:hover .solution-card__link { color: var(--c-accent-700); }
  .solution-card:hover .card__arrow { transform: translateX(3px); }
}

/* -- 制造工艺：6 步，3×2 -- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-3);
}
.process-step {
  margin: 0;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
}
.process-step__media { background: var(--c-bg-alt); aspect-ratio: 4 / 3; }
.process-step__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.process-step__body {
  display: flex; align-items: baseline; gap: 10px;
  padding: var(--sp-3);
}
.process-step__num {
  flex: 0 0 auto;
  font-size: 13px; font-weight: 700; letter-spacing: 1.2px;
  color: var(--c-accent-700);
}
.process-step__title { font-size: 17px; margin: 0; }

/* -- Customization 的 70%+ 收口条 -- */
.custom-highlight {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: var(--sp-3);
  margin-top: var(--sp-5);
  padding: var(--sp-4) var(--sp-5);
  background: var(--c-primary);
  border-radius: var(--r-md);
  color: #fff;
}
.custom-highlight__num {
  display: block;
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 700; line-height: 1;
  letter-spacing: -1px;
}
.custom-highlight__label {
  display: block; margin-top: 8px;
  font-size: 14px; letter-spacing: .8px; text-transform: uppercase;
  color: rgba(255, 255, 255, .82);
}

/* -- 全球市场：世界地图 + 右侧大数字与地区 -- */
.markets {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: var(--sp-5);
  align-items: center;
}
.markets__map img { width: 100%; height: auto; display: block; border-radius: var(--r-md); }
.markets__num {
  font-size: clamp(38px, 4.6vw, 58px);
  font-weight: 700; line-height: 1; letter-spacing: -1.5px;
  color: var(--c-primary);
}
.markets__label {
  display: block; margin-top: 8px;
  font-size: 14px; letter-spacing: .8px; text-transform: uppercase;
  color: var(--c-text-muted);
}
.markets__list {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: var(--sp-3) 0;
  padding: 0; list-style: none;
}
.markets__list li {
  font-size: 13px; font-weight: 600;
  color: var(--c-primary);
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 100px;
  padding: 6px 14px;
}
.markets__text { color: var(--c-text-muted); font-size: 15px; margin: 0; }

/* -- 包装与交付：4 张带标题的图 -- */
.pack-tile {
  margin: 0;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
}
.pack-tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.pack-tile__caption { padding: var(--sp-2) var(--sp-3); border-top: 1px solid var(--c-border); }
.pack-tile__caption h3 { font-size: 16px; margin: 0; }

/* ==========================================================================
   07. SECTION HEADINGS
   ========================================================================== */
.section-head { max-width: 820px; margin-bottom: var(--sp-5); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head__eyebrow {
  display: block; font-size: 15px; font-weight: 700; letter-spacing: 1.8px;
  text-transform: uppercase; color: var(--c-accent-700); margin-bottom: 12px;
}
/* Section titles are the main wayfinding element — keep them large and weighty */
.section-head h2 { font-weight: 700; letter-spacing: -0.4px; margin-bottom: var(--sp-2); }
.section-head__desc { color: var(--c-text-muted); font-size: var(--fs-lead); margin: 0; }
/* 副标题之下再补一段正文（有些板块文档给了「副标题 + 正文」两层） */
.section-head__body { color: var(--c-text-muted); margin: var(--sp-2) 0 0; }

/* ==========================================================================
   08. CARDS
   ========================================================================== */
/* -- Product card -- */
.card {
  position: relative;                 /* 整卡链接（stretched link）的定位基准 */
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.card:hover { box-shadow: var(--shadow-md); border-color: #CFD8E0; transform: translateY(-2px); }
.card__media { background: var(--c-bg-alt); aspect-ratio: 1 / 1; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: var(--sp-3); display: flex; flex-direction: column; flex: 1 1 auto; }
.card__title { font-size: 18px; margin-bottom: var(--sp-1); transition: color .18s ease; }
.card__text { color: var(--c-text-muted); font-size: 15px; margin-bottom: var(--sp-2); }
.card__link { margin-top: auto; font-weight: 600; font-size: 15px; }

/* 整卡可点：把唯一那个链接的 ::after 铺满整张卡，
   点图片 / 标题 / 简介任一位置都跳到详情页。
   语义上仍只有一个链接，键盘 Tab 也只停一次。 */
.card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__arrow { display: inline-block; margin-left: 5px; transition: transform .18s ease; }
.card:hover .card__title { color: var(--c-primary-700); }
.card:hover .card__link { color: var(--c-accent-700); }
.card:hover .card__arrow { transform: translateX(3px); }
.card__link:focus-visible::after { outline: 2px solid var(--c-accent); outline-offset: 3px; }

/* -- Feature item (Why Choose Us) -- */
.feature { display: flex; gap: var(--sp-2); }
.feature__icon {
  flex: 0 0 48px; width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--c-primary-050); color: var(--c-primary);
  border-radius: var(--r-sm);
}
.feature__icon svg { width: 26px; height: 26px; }
.feature__title { font-size: 17px; margin-bottom: var(--sp-1); }
.feature__text { color: var(--c-text-muted); font-size: 15px; margin: 0; }

/* -- Application tile (image + caption overlay) -- */
.app-tile { position: relative; border-radius: var(--r-md); overflow: hidden; background: var(--c-primary); }
.app-tile img { width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.app-tile__caption {
  position: absolute; inset: auto 0 0 0;
  padding: var(--sp-3) var(--sp-2) var(--sp-2);
  background: linear-gradient(to top, rgba(16,43,64,.88), rgba(16,43,64,0));
  color: #fff;
}
.app-tile__caption h3 { color: #fff; font-size: 18px; margin: 0; }
.app-tile__caption p { color: rgba(255,255,255,.82); font-size: 14px; margin: 4px 0 0; }

/* ==========================================================================
   09. ABOUT BLOCK
   ========================================================================== */
.about-block { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: var(--sp-6); }
.about-block__media img { width: 100%; border-radius: var(--r-md); box-shadow: var(--shadow-sm); }
.about-block__stats { display: flex; flex-wrap: wrap; gap: var(--sp-4); margin: var(--sp-4) 0; }
.stat__num { font-size: 26px; font-weight: 700; color: var(--c-primary); line-height: 1.1; }
.stat__label { font-size: 13px; color: var(--c-text-muted); text-transform: uppercase; letter-spacing: .6px; }

/* ==========================================================================
   10. INQUIRY CTA BAND
   ========================================================================== */
.cta-band { background: var(--c-primary); color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.82); max-width: 62ch; margin-left: auto; margin-right: auto; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--sp-2); justify-content: center; margin-top: var(--sp-3); }

/* ==========================================================================
   11. FOOTER
   ========================================================================== */
.site-footer { background: var(--c-primary-700); color: rgba(255,255,255,.78); font-size: 15px; }
.site-footer__top {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: var(--sp-5); padding: var(--sp-6) 0 var(--sp-5);
}
.site-footer h4 { color: #fff; font-size: 15px; letter-spacing: .4px; margin-bottom: var(--sp-2); }
.site-footer a { color: rgba(255,255,255,.78); }
.site-footer a:hover { color: #fff; }
.site-footer li { margin-bottom: 10px; }
/* 页脚是深蓝底，标记本身也是深蓝的，直接放上去看不清 —— 垫一块白色圆角底 */
.site-footer__brand .logo__mark {
  background: #fff;
  border-radius: var(--r-sm);
  padding: 3px;
}
.site-footer__brand .logo__name { color: #fff; }
.site-footer__brand .logo__tag { color: rgba(255,255,255,.6); }
.site-footer__brand p { margin-top: var(--sp-2); max-width: 34ch; }
.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.14);
  padding: var(--sp-3) 0;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--sp-2);
  font-size: 13px; color: rgba(255,255,255,.55);
}

/* ==========================================================================
   12. PAGE HERO & BREADCRUMB  (interior pages — Products / About / Contact)
   ========================================================================== */
.page-hero { background: var(--c-primary); color: #fff; padding: var(--sp-6) 0; }
.page-hero h1 { color: #fff; margin-bottom: var(--sp-2); }
.page-hero__intro { color: rgba(255,255,255,.82); font-size: var(--fs-lead); max-width: 72ch; margin: 0; }

/* -- 图片背景版（产品列表页）--
   背景是一整条产品合集图，介绍文字悬浮其上。
   高度由 min-height 控制，不随产品数量变化。 */
.page-hero--banner { position: relative; overflow: hidden; padding: 0; background: var(--c-primary-700); }
/* 页面头背景 = 每页一张专属的横版 banner（website/images/banners/<页面>.svg）。
   铺满整块、居中裁切：宽屏裁上下，窄屏裁左右，所以主体放中间。
   换图 = 用同名文件覆盖，不用改 HTML。 */
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}
.page-hero__overlay {
  position: absolute; inset: 0;
  /* 左深右浅：左边 50% 是文字区，压得够深保证可读；右 25% 尽量透出产品图 */
  background: linear-gradient(
    90deg,
    rgba(16, 43, 64, .95) 0%,
    rgba(16, 43, 64, .91) 30%,
    rgba(16, 43, 64, .74) 50%,
    rgba(16, 43, 64, .44) 76%,
    rgba(16, 43, 64, .22) 100%
  );
}
.page-hero__inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; justify-content: center;
  min-height: 320px;
  /* 同 .hero__inner：这个元素也是 .container，左右内边距必须留给 .container */
  padding-top: var(--sp-5);
  padding-bottom: var(--sp-5);
}
.page-hero--banner .page-hero__intro { max-width: 56ch; }
.page-hero--banner .breadcrumb { margin-bottom: var(--sp-1); }
/* 图片亮度不可控，给文字加一层柔和阴影兜底 */
.page-hero--banner h1,
.page-hero--banner .page-hero__intro,
.page-hero--banner .breadcrumb { text-shadow: 0 1px 14px rgba(10, 28, 42, .6); }

.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; margin-bottom: var(--sp-2); }
.breadcrumb a, .breadcrumb__sep { color: rgba(255,255,255,.62); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb__current { color: #fff; }

/* Light variant for use on white backgrounds */
.breadcrumb--light, .breadcrumb--light a, .breadcrumb--light .breadcrumb__sep { color: var(--c-text-muted); }
.breadcrumb--light a:hover { color: var(--c-accent-700); }
.breadcrumb--light .breadcrumb__current { color: var(--c-text); }

/* ==========================================================================
   13. PRODUCT GRID & DETAIL
   ========================================================================== */
.cat-block + .cat-block { margin-top: var(--sp-7); }
.cat-head { margin-bottom: var(--sp-4); }
.cat-head h2 { margin-bottom: 6px; }
.cat-head p { color: var(--c-text-muted); margin: 0; max-width: 78ch; }

/* -- Detail page top block: gallery + summary -- */
.product-hero { padding: var(--sp-6) 0; border-bottom: 1px solid var(--c-border); }
.product-hero__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--sp-5); align-items: start; }

.product-gallery__main {
  border: 1px solid var(--c-border); border-radius: var(--r-md);
  overflow: hidden; background: var(--c-bg-alt);
}
.product-gallery__main img { width: 100%; display: block; }
/* 6 张主图，缩略图一排 6 格对齐 */
.product-gallery__thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: var(--sp-2); }
.product-gallery__thumbs button {
  padding: 0; cursor: pointer; aspect-ratio: 1 / 1;
  border: 1px solid var(--c-border); border-radius: var(--r-sm);
  background: var(--c-bg-alt); overflow: hidden;
  transition: border-color .16s ease, opacity .16s ease;
}
.product-gallery__thumbs button:hover { border-color: #B9C4CF; }
.product-gallery__thumbs button.is-active { border-color: var(--c-accent); border-width: 2px; }
.product-gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }

.product-summary h1 { font-size: 34px; margin-bottom: var(--sp-2); }
.product-summary__lead { color: var(--c-text-muted); font-size: var(--fs-lead); }

.keyfacts { margin: var(--sp-3) 0; border-top: 1px solid var(--c-border); }
.keyfacts li {
  display: flex; justify-content: space-between; align-items: baseline; gap: var(--sp-2);
  padding: 11px 0; border-bottom: 1px solid var(--c-border); font-size: 15px;
}
/* ⚠️ 2026-10-10：新文案的核心参数值最长 76 字符、平均 33（旧文案只有十几字符）。
   flex 子项默认只能缩到 min-content，宽度不够时「值」会被压成最长单词的宽度
   （~120px）然后折成 5–6 行，行高爆掉。
   所以把值设成 flex:1 + min-width:0 —— 它吃掉标签之外的全部宽度，
   永远不挤压左侧标签，也不缩到比可用宽度更窄。窄屏另见第 23 节 ≤620px。 */
.keyfacts__k { color: var(--c-text-muted); flex: 0 0 auto; }
.keyfacts__v {
  font-weight: 600; color: var(--c-primary); text-align: right;
  flex: 1 1 auto; min-width: 0; overflow-wrap: break-word;
}

.product-actions { display: flex; flex-wrap: wrap; gap: var(--sp-2); }

/* -- Detail page body sections -- */
.detail-section { padding: var(--sp-6) 0; }
.detail-section--alt { background: var(--c-bg-alt); }
.detail-section h2 { font-size: 26px; margin-bottom: var(--sp-3); }
.prose p { max-width: 82ch; }

/* ==========================================================================
   14. SPECIFICATION TABLE
   ========================================================================== */
.spec-table-wrap {
  overflow-x: auto;                       /* horizontal scroll on small screens */
  border: 1px solid var(--c-border); border-radius: var(--r-md); background: #fff;
}
.spec-table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; }
.spec-table th, .spec-table td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--c-border); vertical-align: top; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }
.spec-table th { width: 36%; font-weight: 600; color: var(--c-primary); background: var(--c-bg-alt); }

/* ==========================================================================
   15. CHECKLIST, FAQ, RELATED PRODUCTS
   ========================================================================== */
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 12px var(--sp-4); }
.checklist li { position: relative; padding-left: 26px; font-size: 15px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 9px; height: 9px; background: var(--c-accent); border-radius: 2px;
}

/* 产品页「产品特点」专用修饰类（2026-10-10 新增）。
   新文案每条是「**小标题** — 说明」，说明 78–140 字符（均 106），比旧版长得多，
   两列时每列只有 ~570px，一条要折 2 行；到平板宽度就折 4 行，读起来很挤。
   ⚠️ 修饰类而不是改 .checklist 本体 —— 后者是首页和 callout 在用的共用类，
      改它会把别处一起改掉。同 .app-grid 的先例：产品页开专属类。
   桌面维持两列（够用且省纵向空间），≤980px 收单列，见第 23 节。 */
.checklist--features { gap: var(--sp-3) var(--sp-5); }
.checklist--features li { line-height: var(--lh-body); }
.checklist--features strong { color: var(--c-primary); }

.faq { border-top: 1px solid var(--c-border); }
.faq__item { padding: var(--sp-3) 0; border-bottom: 1px solid var(--c-border); }
.faq__q { font-size: 17px; font-weight: 600; color: var(--c-primary); margin-bottom: 6px; }
.faq__a { margin: 0; color: var(--c-text-muted); max-width: 88ch; }

.related { margin-top: var(--sp-4); }

/* -- Related articles（产品页底部，逻辑同关联产品，按标签匹配） -- */
.article-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
.article-item {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-md);
  padding: var(--sp-3);
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.article-item:hover { box-shadow: var(--shadow-md); border-color: #CFD8E0; transform: translateY(-2px); }
.article-item__tag {
  align-self: flex-start; margin-bottom: var(--sp-2);
  font-size: 12px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--c-accent-700); background: #FDF1E3;
  padding: 3px 10px; border-radius: 999px;
}
.article-item__title { font-size: 17px; line-height: 1.42; margin-bottom: var(--sp-1); transition: color .18s ease; }
.article-item__text { color: var(--c-text-muted); font-size: 15px; margin-bottom: var(--sp-2); }
.article-item__link { margin-top: auto; font-weight: 600; font-size: 15px; }
.article-item__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.article-item__arrow { display: inline-block; margin-left: 5px; transition: transform .18s ease; }
.article-item:hover .article-item__title { color: var(--c-primary-700); }
.article-item:hover .article-item__link { color: var(--c-accent-700); }
.article-item:hover .article-item__arrow { transform: translateX(3px); }

/* 文章列表底部的「查看全部」 */
.article-more { margin-top: var(--sp-4); }

/* ==========================================================================
   16. COMPANY PAGES — team / certificates / steps / link cards
   ========================================================================== */

/* ---- About block, mirrored（图在左、文在右）---- */
.about-block--reverse .about-block__media { order: -1; }

/* Tighter checklist used inside a text column */
.checklist--tight { gap: 8px var(--sp-3); }

/* Small muted paragraph used as a footnote inside a text block */
.note-inline {
  margin-top: var(--sp-3);
  padding-left: var(--sp-2);
  border-left: 3px solid var(--c-accent);
  color: var(--c-text-muted);
  font-size: var(--fs-small);
}

/* Centred note under a grid */
.section-note {
  margin: var(--sp-4) 0 0;
  color: var(--c-text-muted);
  font-size: var(--fs-small);
  text-align: center;
  max-width: 72ch;
  margin-left: auto;
  margin-right: auto;
}

/* ---- Team card ---- */
.team-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.team-card__media { background: var(--c-bg-alt); aspect-ratio: 4 / 3; }
.team-card__media img { width: 100%; height: 100%; object-fit: cover; }
.team-card__body { padding: var(--sp-3); display: flex; flex-direction: column; flex: 1 1 auto; }
.team-card__name { font-size: 18px; margin-bottom: 2px; }
.team-card__role {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--c-accent-700);
  font-weight: 600;
  margin-bottom: var(--sp-2);
}
.team-card__text { color: var(--c-text-muted); font-size: 15px; margin: 0; }

/* ---- Plain info card (3-up, used on honors / quality pages) ---- */
.info-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-left: 4px solid var(--c-primary);
  border-radius: var(--r-sm);
  padding: var(--sp-3);
}
.info-card__title { font-size: 18px; margin-bottom: var(--sp-1); }
.info-card__text { color: var(--c-text-muted); font-size: 15px; margin: 0; }

/* ---- Link card（页面底部的「去下一页」）---- */
.link-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: var(--sp-4);
}
.link-card__title { font-size: 24px; }
.link-card__text { color: var(--c-text-muted); max-width: 60ch; }

/* ---- Certificate wall（竖版证书，3 列）---- */
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
.cert-card {
  margin: 0;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
/* 证书多为 A4 竖版；统一裁成 4:5，保证一排高度一致 */
.cert-card__media { background: var(--c-bg-alt); aspect-ratio: 4 / 5; }
.cert-card__media img { width: 100%; height: 100%; object-fit: cover; }
.cert-card__body { padding: var(--sp-3); display: flex; flex-direction: column; flex: 1 1 auto; }
.cert-card__title { font-size: 17px; margin-bottom: var(--sp-1); }
.cert-card__text { color: var(--c-text-muted); font-size: 15px; margin-bottom: var(--sp-2); }
/* 状态标签：拿到原件前保持中性措辞 */
.cert-card__status {
  margin: auto 0 0;
  display: inline-block;
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--c-primary-050);
  color: var(--c-primary);
  font-size: 13px;
  font-weight: 600;
}

/* ---- Step list（质量控制 6 环节，左右交替）---- */
.step-list { display: flex; flex-direction: column; gap: var(--sp-4); }
.step {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: var(--sp-5);
  align-items: center;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
}
.step:nth-child(even) .step__media { order: 2; }
.step__media { align-self: stretch; background: var(--c-bg-alt); }
.step__media img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }
.step__body { padding: var(--sp-4) var(--sp-4) var(--sp-4) 0; }
.step:nth-child(even) .step__body { padding: var(--sp-4) 0 var(--sp-4) var(--sp-4); }
.step__num {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--c-accent-700);
  margin-bottom: 4px;
}
.step__title { font-size: 22px; margin-bottom: var(--sp-1); }
.step__text { color: var(--c-text-muted); max-width: 68ch; }
.step__check {
  margin: 0;
  padding-top: var(--sp-2);
  border-top: 1px solid var(--c-border);
  font-size: 14px;
  color: var(--c-text-muted);
}
.step__check span { font-weight: 600; color: var(--c-primary); }

/* ==========================================================================
   17. NEWS LIST & ARTICLE PAGE
   ========================================================================== */

/* ---- Article card extras（封面版 / 分类 + 日期）---- */
/* 封面版：卡片自身不留内边距，图贴边，文字由 __body 负责留白 */
.article-item--cover { padding: 0; overflow: hidden; }
.article-item--cover .article-item__media { background: var(--c-bg-alt); aspect-ratio: 16 / 9; }
.article-item--cover .article-item__media img { width: 100%; height: 100%; object-fit: cover; }
.article-item__body { padding: var(--sp-3); display: flex; flex-direction: column; flex: 1 1 auto; }
/* 无封面时，卡片自身的内边距负责留白 */
.article-item:not(.article-item--cover) .article-item__body { padding: 0; }
.article-item__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--sp-2);
}
.article-item__date { font-size: 13px; color: var(--c-text-muted); }

/* ---- Article page: 正文 + 侧栏 ---- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: var(--sp-6); align-items: start; }
.article-body > h2 { margin-top: var(--sp-5); }
.article-body > h2:first-child { margin-top: 0; }
.article-body .prose p { max-width: 76ch; }

/* 文章页的页面头：单图铺满，文字区窄一些 */
.page-hero--article .page-hero__inner { min-height: 300px; }
.page-hero--article .page-hero__intro { max-width: 62ch; }
/* 单图时右侧没有其它图分流，横向渐变不够用：标题（可能两行）会压在照片亮部上。
   这里换成整幅压深一些的斜向渐变。 */
.page-hero--article .page-hero__overlay {
  background: linear-gradient(
    100deg,
    rgba(16, 43, 64, .95) 0%,
    rgba(16, 43, 64, .88) 45%,
    rgba(16, 43, 64, .72) 75%,
    rgba(16, 43, 64, .60) 100%
  );
}
.article-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: var(--sp-1); }
.article-hero__tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--c-accent);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.article-hero__date { color: rgba(255,255,255,.78); font-size: 14px; }
/* 正文未完成时显示：这页还没写完（同时页面在 head 里打了 noindex） */
.article-hero__draft {
  display: inline-block;
  padding: 3px 10px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .6px;
  text-transform: uppercase;
}

/* ---- Callout box（Key Takeaways / 编辑说明）---- */
.callout {
  margin: var(--sp-4) 0;
  padding: var(--sp-3) var(--sp-4);
  background: var(--c-bg-alt);
  border-left: 4px solid var(--c-primary);
  border-radius: var(--r-sm);
}
.callout h2 { font-size: 20px; }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }
.callout .checklist { grid-template-columns: 1fr; }
.callout--note { background: #FFF7ED; border-left-color: var(--c-accent); }
.callout--note p { color: var(--c-text); font-size: 15px; max-width: 76ch; }

/* ---- Numbered list（Common mistakes）---- */
.numbered { list-style: none; counter-reset: n; display: flex; flex-direction: column; gap: var(--sp-2); }
.numbered li {
  position: relative;
  counter-increment: n;
  padding-left: 44px;
  color: var(--c-text-muted);
  max-width: 76ch;
}
.numbered li::before {
  content: counter(n);
  position: absolute;
  left: 0;
  top: 1px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--c-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---- 侧栏 ---- */
.article-side { display: flex; flex-direction: column; gap: var(--sp-3); position: sticky; top: calc(var(--header-h) + 24px); }
.side-card {
  background: var(--c-bg-alt);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: var(--sp-3);
}
.side-card h2 { font-size: 19px; }
.side-card p { font-size: 15px; color: var(--c-text-muted); }
.side-card__actions { display: flex; flex-direction: column; gap: 10px; margin: var(--sp-2) 0 0; }
.side-card--note { background: #fff; border-style: dashed; }
.side-list li { border-bottom: 1px solid var(--c-border); }
.side-list li:last-child { border-bottom: none; }
.side-list a { display: block; padding: 10px 0; font-size: 15px; line-height: 1.45; }

/* ---- 占位块：待写文案处（交付时整体替换，样式随内容一起删）---- */
.ph {
  margin: 0 0 var(--sp-2);
  padding: 12px 14px;
  border: 1px dashed #C3CDD7;
  border-radius: var(--r-sm);
  background: #FAFCFD;
  color: var(--c-text-muted);
  font-size: 14px;
  font-style: italic;
}
.ph::before { content: "To write — "; font-style: normal; font-weight: 600; color: var(--c-accent-700); }
/* 表格单元格里的占位块不需要下边距 */
.spec-table td .ph { margin: 0; padding: 6px 10px; }
.ph-inline {
  padding: 2px 8px;
  border: 1px dashed rgba(255,255,255,.6);
  border-radius: var(--r-sm);
  font-style: italic;
}

/* ---- 文章页：副标题 / 关键词 / 配图占位框 ---- */
.article-hero__subtitle {
  max-width: 62ch;
  margin: 0 0 var(--sp-1);
  color: rgba(255,255,255,.86);
  font-size: 17px;
  line-height: 1.5;
}
.article-hero__views { color: rgba(255,255,255,.62); font-size: 14px; }
/* 列表页卡片上的浏览量：和日期同档弱化，靠右 */
.article-item__views { margin-left: auto; font-size: 13px; color: var(--c-text-muted); }

/* 关键词行：pill 标签，排在正文最前面，给快速浏览的人和搜索引擎看 */
.article-keywords {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 var(--sp-3);
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid var(--c-border);
}
.article-keywords__label {
  margin-right: 4px;
  color: var(--c-text-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.article-keywords__item {
  padding: 3px 10px;
  border: 1px solid var(--c-border);
  border-radius: 999px;
  background: var(--c-bg-alt);
  color: var(--c-text-muted);
  font-size: 13px;
}
/* 关键词行已经和下一个小标题隔开了，别再叠一层段间距 */
.article-keywords + h2 { margin-top: var(--sp-3); }

/* 配图占位框：虚线框 + 英文提示词。图到位后整块 <figure> 换成 <img>。
   和 .ph（待写文案）共用同一套虚线语言，但含义不同：这里是「待配图」。
   ⚠️ 2026-10-11：原来的 .article-figure / .article-figure img 两条已删 ——
      配图改成两槽并排后，外层类从 .article-figure 换成了 .article-fig
      （见下面「并排配图」那一块），这两条就没有任何页面在用了。
      留着=死规则：以后有人改它、以为改的是文章配图，实际谁都不受影响。
      下面这些 __frame / __label / __meta / __row / __key / __val 仍在用，别删。 */
.article-figure__frame {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  border: 1px dashed #C3CDD7;
  border-radius: var(--r-md);
  background: #FAFCFD;
}
.article-figure__label {
  color: var(--c-text-muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.article-figure__meta {
  margin-top: 10px;
  padding: 12px 14px;
  border: 1px dashed #C3CDD7;
  border-radius: var(--r-sm);
  background: var(--c-bg-alt);
}
.article-figure__row { display: flex; gap: 10px; margin: 0 0 6px; font-size: 13px; line-height: 1.5; }
.article-figure__row:last-child { margin-bottom: 0; }
.article-figure__key {
  flex: 0 0 64px;
  color: var(--c-text-muted);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.article-figure__val { color: var(--c-text); }
@media (max-width: 640px) {
  .article-figure__row { flex-direction: column; gap: 0; }
}

/* ==========================================================================
   文章正文的节奏：三种段落形态 + 并排配图 + 上一篇/下一篇   （2026-10-11 加）
   --------------------------------------------------------------------------
   为什么加：30 篇文章原来全是一模一样的骨架 —— 小标题 → 一整段 385 字 → 一张图，
   重复三次，三段字数还几乎相同。滑两屏就知道是模板填的。

   三种形态由 build_site.py 的 ARTICLE_FORM_ORDERS 按文章轮转分配，
   **都不改一个字的文案**（切句后拼回来与原文逐字节相同，已在导入侧校验过）。
   所以改这里只是换皮，正文内容永远以 products.json 为准。
   ========================================================================== */

/* 小标题下面一道橙色短线 —— 让每一节有清楚的起点。
   C 型版式的标识，和方案 B 的 01/02/03 编号是两种不同的做法，这里选了线条。 */
.article-body > h2::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  margin-top: 10px;
  border-radius: 2px;
  background: var(--c-accent);
}

/* -- list 形态：每句一条。条目是**整句**，不是短语式要点（正文里没有可枚举的短语） -- */
.article-points { display: flex; flex-direction: column; gap: 12px; margin: var(--sp-2) 0 var(--sp-5); }
.article-points li {
  position: relative;
  padding-left: 26px;
  font-size: var(--fs-body);
  line-height: 1.72;
  color: var(--c-text);
  max-width: 76ch;
}
.article-points li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-accent);
}

/* -- quote 形态：首句放大成引言，剩下的仍是正文 -- */
.article-quote {
  margin: var(--sp-2) 0 var(--sp-3);
  padding: 6px 0 6px 20px;
  border-left: 3px solid var(--c-primary);
  font-size: 19px;
  line-height: 1.6;
  color: var(--c-primary);
  max-width: 70ch;
}

/* -- 并排配图（两个槽位一组，原来是一节一张） -- */
.article-figrow {
  display: grid;
  /* ⚠️ 用 auto-fit + 最小 340px，而不是写死列数再配断点。
     原因：正文栏的宽度在 981–1279 这一段是「侧栏还在、栏被压窄」的状态 ——
     1024px 视口下正文栏只有 592px，写死两列的话每张图只剩 288px，
     正是「图太小」的那个毛病。auto-fit 会自动判断：
       768px 栏 → 两列各 376px ✓
       592px 栏 → 放不下两列（需 340×2+16=696），自动收成一列、整幅 592px ✓
       342px 栏（手机）→ 一列 ✓
     这样不用新增一个 1100 之类的特例断点，也不会在某个宽度突然变小。

     ⚠️ 下限写成 min(340px, 100%) 而不是光 340px。光写 340px 的话，
     当正文栏本身比 340px 还窄（360px 手机上是 312px），网格轨道会
     硬撑到 340px，比容器宽出去 28px —— 页面横向滚动 4px。
     这个坑特别阴：占位状态下图是 display:none，audit 无论扫多少遍都是绿的，
     只有客户的真图进来之后才会冒出来。min() 让下限退到容器宽度，就不会溢出。 */
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: var(--sp-2);
  /* 上边距要自己给足：这一组挂在第 2 节之后，而第 2 节可能是 list / prose / quote，
     三种形态各自的下边距不一样（48 / 16 / 24）。这里统一补 32，
     三种情形下的「正文→图」间距就都在 48–80 之间，不会出现紧贴的情况。 */
  margin: var(--sp-4) 0 var(--sp-4);
}
/* 只到一张真图时收成单列 —— 否则那张图只占半栏，右边空着很难看 */
.article-figrow--single { grid-template-columns: minmax(0, 1fr); }
.article-fig { display: flex; flex-direction: column; margin: 0; }
/* 跟虚线框同为 16:9，换图前后版式不跳 */
.article-fig img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--r-md);
}
.article-fig figcaption { margin-top: 9px; font-size: 13.5px; line-height: 1.55; color: var(--c-text-muted); }

/* -- 上一篇 / 下一篇 -- */
.article-pager {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: var(--sp-2);
  margin: var(--sp-6) 0 0;
  padding-top: var(--sp-4);
  border-top: 1px solid var(--c-border);
}
.article-pager__item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  max-width: 47%;
  padding: 14px 18px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  text-decoration: none;
  transition: border-color .18s ease, background-color .18s ease;
}
/* 只有一个方向时，靠 margin-left:auto 把它推到右侧，布局不塌 */
.article-pager__item--next { margin-left: auto; text-align: right; align-items: flex-end; }
.article-pager__dir {
  font-size: 12.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-text-muted);
}
.article-pager__title { font-size: 15.5px; font-weight: 600; line-height: 1.4; color: var(--c-primary); }
@media (hover: hover) and (pointer: fine) {
  .article-pager__item:hover { border-color: var(--c-primary); background: var(--c-bg-alt); }
}

@media (max-width: 980px) {
  /* 并排双图收成一上一下由上面 auto-fit 的 340px 下限自动接管，这里不再重复声明 */
  .article-figrow { gap: var(--sp-3); }
}
@media (max-width: 620px) {
  .article-quote { font-size: 17.5px; }
  .article-pager { flex-direction: column; }
  .article-pager__item,
  .article-pager__item--next {
    max-width: 100%;
    width: 100%;
    text-align: left;
    align-items: flex-start;
    margin-left: 0;
  }
}

/* ==========================================================================
   18. FORMS & CONTACT
   ========================================================================== */

/* ---- Generic two-column page layout（正文 + 侧栏）---- */
.two-col { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: var(--sp-6); align-items: start; }
.two-col__side { display: flex; flex-direction: column; gap: var(--sp-3); }
.two-col--form { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }

.form-head { font-size: 28px; margin-bottom: var(--sp-1); }
.form-intro { color: var(--c-text-muted); margin-bottom: var(--sp-4); }
.req { color: #C2410C; font-weight: 700; }

.enquiry-form { display: flex; flex-direction: column; gap: var(--sp-3); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; color: var(--c-primary); }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  color: var(--c-text);
  background: #fff;
  border: 1px solid #C9D3DC;
  border-radius: var(--r-sm);
  transition: border-color .16s ease, box-shadow .16s ease;
}
.field select { appearance: none; background-image: none; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(23, 59, 87, .12);
  outline: none;
}
/* 只有用户动过、且确实不合法时才标红。
   用 :invalid 会在刚打开页面时把「必填空字段」全标红，看着像报错。
   :user-invalid 只在用户交互后生效（Chrome 119+ / Safari 16.5+ / Firefox 88+）。 */
.field input:user-invalid,
.field textarea:user-invalid { border-color: #DC7C5B; }

.field--check { flex-direction: row; align-items: flex-start; gap: 10px; }
.field--check input { width: 18px; height: 18px; margin-top: 2px; flex: 0 0 auto; accent-color: var(--c-accent); }
.field--check label { font-weight: 400; font-size: 15px; color: var(--c-text-muted); }

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2);
  margin: var(--sp-1) 0 0;
}
.form-status { font-size: 14px; }
.form-status.is-ok { color: #15803D; font-weight: 600; }
.form-status.is-err { color: #B91C1C; }
.form-note { font-size: 13px; color: var(--c-text-muted); margin: 0; max-width: 70ch; }

/* ---- Contact detail list ---- */
.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 0;
  border-bottom: 1px solid var(--c-border);
}
.contact-list li:last-child { border-bottom: none; padding-bottom: 0; }
.contact-list li:first-child { padding-top: 0; }
.contact-list__k {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--c-text-muted);
  font-weight: 600;
}
.contact-list__v { font-size: 15px; color: var(--c-primary); font-weight: 600; }
a.contact-list__v:hover { color: var(--c-accent-700); }

/* 联系页「Company」栏 —— 一个品牌、两个主体，各带自己的图形标记。
   标记只上图形，不上字标（字标带中文／法定全称，红线）。 */
.contact-list__entity .contact-list__v { display: flex; flex-direction: column; gap: 10px; }
.entity-line { display: flex; align-items: center; gap: 8px; }
.entity-line img { width: 26px; height: 26px; flex: 0 0 26px; object-fit: contain; }
.entity-line span { min-width: 0; }   /* 窄屏下让文字换行，别把标记挤变形 */

/* ==========================================================================
   19. FLOATING CONTACT TAB — 全站悬浮联系标签
   ========================================================================== */
/* 收起来时只是一个悬浮球，展开的 WhatsApp / Email 从左边滑出来
   （桌面悬停即展开，手机点击展开）。

   ⚠️ 为什么默认放右下角、而不是像一开始那样贴右边缘垂直居中：
   正文容器只在 ≥1280px 才封顶 1200px（两侧才有 ≥40px 空档）。
   1280px 以下容器是满宽的，只剩 24px 页边距，居中贴边的标签实测会压住
   正文 20–28px —— 手机／平板上正好糊住段落。所以窄屏一律退到右下角，
   让开阅读区；「贴边竖排」只留给真正有余量的宽屏（见文件下方的 min-width 块）。 */
.quick-contact {
  position: fixed; right: var(--sp-2);
  bottom: calc(var(--sp-2) + env(safe-area-inset-bottom, 0px));  /* 避开 iPhone 底部横条 */
  z-index: 90;                    /* 低于吸顶导航（100），不挡二级菜单 */
  display: flex;
  /* ⚠️ 底对齐而不是居中：收起的面板仍在文档流里（悬停时鼠标要从按钮划到面板上，
     靠它撑开容器做「过桥」），而它比按钮高，容器就被撑到 ~92px。
     若居中，按钮会被这个高度顶到离底 38px 而不是设定的 16px，而且面板一改高度
     按钮就跟着飘。底对齐 = 按钮永远贴着设定的下边距，与面板多高无关。 */
  align-items: flex-end;
}
.quick-contact__toggle {
  width: 48px; height: 48px; padding: 0;
  border: 0; border-radius: 50%;
  /* 用主题里的 CTA 橙，不用 WhatsApp 绿：绿 + 气泡会让人一眼以为是「WhatsApp 专用」，
     橙色是本站「动作色」（Get A Quote 同色），读起来是「联系这家公司」。
     两个渠道的品牌色留给展开后的按钮自己表达。 */
  background: var(--c-accent); color: #fff;
  display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 6px 20px rgba(16, 43, 64, .34);
  transition: background-color .18s ease;
  /* iOS：manipulation 去掉双击缩放带来的点击延迟，点下去立刻响应；
     tap-highlight 去掉系统那层灰色方块，用自己的配色 */
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.quick-contact__toggle:hover,
.quick-contact__toggle:focus-visible { background: var(--c-accent-700); }
.quick-contact__toggle svg { width: 24px; height: 24px; }

.quick-contact__panel {
  display: flex; flex-direction: column; gap: 8px;
  margin-right: 10px;             /* 与标签之间留一条缝，鼠标移过去不会断 */
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateX(10px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
/* 展开只有两条路：真鼠标悬停（见下面的 @media (hover: hover)）、
   以及 .is-open（main.js 加的，鼠标点击和手指点按都走这条）。
   ⚠️ 这里刻意不用 :focus-within —— 手机上点一下按钮它就会获得焦点，
   :focus-within 会一直命中，「再点一下收起」就永远失效了。 */
.quick-contact.is-open .quick-contact__panel {
  opacity: 1; visibility: visible; pointer-events: auto; transform: none;
}

.quick-contact__item {
  display: flex; align-items: center; gap: 9px;
  padding: 11px 16px; border-radius: var(--r-md);
  font-size: 14px; font-weight: 600; line-height: 1;
  text-decoration: none; white-space: nowrap;
  color: #fff;
  /* 兜一圈内描边：Email 用的是深蓝，万一正好浮在深蓝页脚上，靠这圈白边还能看清 */
  box-shadow: var(--shadow-md), inset 0 0 0 1px rgba(255, 255, 255, .24);
  transition: filter .15s ease, transform .15s ease;
}
.quick-contact__item svg { width: 20px; height: 20px; flex: none; }
.quick-contact__item:hover { filter: brightness(1.12); transform: translateX(-3px); }
/* 展开后各渠道用自己的品牌色：绿=WhatsApp、深蓝=Email（和橙色按钮区分开） */
.quick-contact__item--wa   { background: var(--c-whatsapp); }
.quick-contact__item--mail { background: var(--c-primary); }

/* 悬停展开只写给「确实有鼠标」的设备。
   ⚠️ 不要反过来写成「默认带 :hover，再在 @media (hover: none) 里覆盖掉」——
   iOS Safari 只要发现「点一下会改变 :hover 相关样式」，就会把第一次点按当成
   悬停**吃掉、不派发 click**：js 收不到点击 → .is-open 永远加不上 →
   表现出来就是「手机上点这个标签毫无反应」（真机复现过，见 Phase3 文档）。
   触屏上干脆不存在 :hover 规则，第一次点按就能正常触发 click。 */
@media (hover: hover) and (pointer: fine) {
  .quick-contact:hover .quick-contact__panel {
    opacity: 1; visibility: visible; pointer-events: auto; transform: none;
  }
}

/* 宽屏（≥1280px）：容器封顶 1200px，两侧至少留出 40px 空档 ——
   这时才回到「贴右边缘、垂直居中」的竖排标签形态。
   实测 1280px 时正文右边界 1216px、标签左边界 1228px，互不打扰。 */
@media (min-width: 1280px) {
  /* 宽屏回到竖排标签：按钮与面板在屏幕中部居中对齐 */
  .quick-contact { right: 0; top: 50%; bottom: auto; transform: translateY(-50%); align-items: center; }
  .quick-contact__toggle {
    width: 52px; height: 52px;
    border-radius: 26px 0 0 26px;   /* 右侧贴边，所以只圆左边 */
    box-shadow: -3px 0 16px rgba(16, 43, 64, .3);
  }
  .quick-contact__toggle svg { width: 26px; height: 26px; }
}

/* 窄屏：悬浮球就浮在页脚底栏右下方，所以给底栏留出它的地盘，别把那行小字压住。
   80px = 球离底 16px + 球高 48px + 16px 呼吸；球在地盘里怎么飘都不会碰到文字。 */
@media (max-width: 1279px) {
  .site-footer__bottom { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
}
/* 620px 以上底栏是「左右各一条」的排法，右侧那条会伸到球的下面去，所以再横着让出 72px；
   620px 以下两条本来就上下堆叠、靠左，且实测不会碰到球，就不必缩窄文字栏。 */
@media (min-width: 621px) and (max-width: 1279px) {
  .site-footer__bottom { padding-right: 72px; }
}

/* ==========================================================================
   20. UTILITIES & RESPONSIVE
   ========================================================================== */
.text-center { text-align: center; }
.mt-4 { margin-top: var(--sp-4); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---- Narrow desktop: 981–1279px ----
   实测这一档页头是「不够用」的：logo 319 + nav 697 + CTA 163 = 1179px，
   而 1100px 视口只有 1100px 可用，缺 79px；1024 缺 83px；1180 只剩 1px 余量。
   原来 .nav__link 允许换行，于是表现成「ABOUT US / CONTACT US / GET A QUOTE
   全部折成两行」，页头被撑得很难看，而不是干脆放不下。

   这里把省出来的空间一次性补上：主因是 logo 副标题（一行 11px 大写字母就占掉
   ~140px），窄桌面先把它收起来 —— 140px 一放，缺口立刻转正，不必再动字号。
   副标题在 ≥1280px 和页脚照常显示。 */
@media (max-width: 1279px) and (min-width: 981px) {
  .site-header .logo__tag { display: none; }
  .site-header__inner { gap: var(--sp-2); }
  .nav { gap: var(--sp-3); }
  .nav__list { gap: 18px; }
  .nav__link { font-size: 14px; letter-spacing: .1px; }
  .site-header .btn { padding-left: var(--sp-3); padding-right: var(--sp-3); }
}

/* ---- Tablet: <= 980px ---- */
@media (max-width: 980px) {
  :root { --fs-h1: 36px; --fs-h2: 32px; --sp-7: 64px; }

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

  /* Hero: keep the banner, but shorten it and strengthen the scrim */
  /* 手机上文字占满整宽，左右中间的切换按钮会压在标题上。所以把按钮挪到横幅
     右下角并排，底部那 58px 是留给它们的空档（42px 按钮 + 16px 边距）。 */
  .hero__inner {
    min-height: 0;
    padding-top: var(--sp-5);
    padding-bottom: calc(var(--sp-5) + 58px);
  }
  .hero__content { max-width: 100%; }
  .lb-banner__nav { top: auto; bottom: 16px; transform: none; width: 42px; height: 42px; }
  .lb-banner__nav--prev { left: auto; right: 72px; }
  .lb-banner__nav--next { right: 16px; }

  /* 首页新版块 */
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .markets { grid-template-columns: minmax(0, 1fr); gap: var(--sp-4); }
  .hero__overlay {
    background: linear-gradient(
      180deg,
      rgba(16, 43, 64, .62) 0%,
      rgba(16, 43, 64, .80) 60%,
      rgba(16, 43, 64, .88) 100%
    );
  }

  .about-block { grid-template-columns: 1fr; gap: var(--sp-4); }
  .site-footer__top { grid-template-columns: 1fr 1fr; gap: var(--sp-4); }

  /* 页面头降高（背景是整张 banner，不需要再控制显示几格） */
  .page-hero__inner { min-height: 280px; }

  /* Product detail: gallery and summary stack */
  .product-hero__grid { grid-template-columns: 1fr; gap: var(--sp-4); }
  .product-summary h1 { font-size: 28px; }

  .article-list { grid-template-columns: repeat(2, 1fr); }

  /* -- Phase 3 pages -- */
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  /* minmax(0, 1fr)：单列时也必须传 0，否则列宽被内容的 min-content 顶住
     （文章页里的参数表有 min-width: 520px），窄屏就会横向溢出 */
  .two-col, .two-col--form { grid-template-columns: minmax(0, 1fr); gap: var(--sp-4); }
  .article-layout { grid-template-columns: minmax(0, 1fr); gap: var(--sp-4); }
  .article-side { position: static; }
  .step { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .step:nth-child(even) .step__media { order: 0; }
  .step__body,
  .step:nth-child(even) .step__body { padding: var(--sp-4); }
  .step__media img { min-height: 220px; }

  /* -- Mobile navigation -- */
  .nav-toggle { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--c-border);
    padding: var(--sp-2) var(--sp-3) var(--sp-3);
    box-shadow: var(--shadow-md);
    display: none;
    /* 展开后的菜单比手机屏幕高（约 1100px），而它是挂在吸顶导航上的绝对定位面板：
       页面滚动不会让它跟着动。不给它自己的滚动条，底部的 NEWS / CONTACT US /
       GET A QUOTE 就永远点不到。 */
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { padding: 14px 0; border-bottom: 1px solid var(--c-border); }
  .nav__link.is-active { border-bottom-color: var(--c-border); color: var(--c-accent-700); }
  .nav .btn { margin-top: var(--sp-2); }

  /* Sub-menu becomes an indented list, always visible on mobile */
  .nav__item { position: static; }
  .nav__caret { display: none; }
  .nav__sub {
    position: static; opacity: 1; visibility: visible; transform: none;
    min-width: 0; padding: 0 0 0 var(--sp-3);
    border: none; border-radius: 0; box-shadow: none;
  }
  .nav__sub::before { display: none; }
  .nav__sub a { padding: 12px 0; border-bottom: 1px solid var(--c-border); }

  /* PRODUCTS 的 mega 菜单在移动端回归普通的一列缩进列表 */
  .nav__sub--mega {
    display: block; gap: 0;
    width: auto; left: auto; margin-left: 0;    /* 去掉桌面端的居中偏移 */
  }
  .nav__sub--mega .nav__col { padding: 0; }
  .nav__sub--mega .nav__col + .nav__col { border-left: none; }
  .nav__sub--mega .nav__col ul { border-top: none; padding-top: 0; }
  .nav__sub--mega .nav__col-title a { padding: 12px 0; }
  .nav__sub--mega .nav__col li a { padding: 12px 0; border-radius: 0; }
}

/* ---- Phone: <= 620px ---- */
@media (max-width: 620px) {
  :root { --fs-h1: 30px; --fs-h2: 26px; --fs-lead: 17px; --sp-7: 48px; --sp-6: 40px; }

  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  /* 包装图 / 数据墙 / 工艺步骤在手机上保持两列：内容够短，一列会把页面拉太长 */
  .grid--4, .stat-wall, .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-wall--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-step__body { display: block; padding: var(--sp-2); }
  .process-step__num { display: block; margin-bottom: 3px; }
  .process-step__title { font-size: 15px; }
  .custom-highlight { flex-direction: column; align-items: stretch; padding: var(--sp-3); }
  .custom-highlight .btn { width: 100%; }
  .lb-banner__nav { width: 38px; height: 38px; bottom: 12px; }
  .lb-banner__nav svg { width: 18px; height: 18px; }
  .lb-banner__nav--prev { right: 60px; }
  .lb-banner__nav--next { right: 12px; }
  .hero__inner { padding-bottom: calc(var(--sp-5) + 52px); }
  .checklist { grid-template-columns: 1fr; }
  .site-footer__top { grid-template-columns: 1fr; }
  .article-list { grid-template-columns: 1fr; }
  .page-hero__inner { min-height: 240px; }
  .page-hero__overlay {
    background: linear-gradient(180deg,
      rgba(16, 43, 64, .80) 0%, rgba(16, 43, 64, .90) 60%, rgba(16, 43, 64, .94) 100%);
  }
  /* 文章页那条斜向渐变选择器更长（权重更高），窄屏必须显式覆盖，
     否则文字会压在照片右侧的亮部上 */
  .page-hero--article .page-hero__overlay {
    background: linear-gradient(180deg,
      rgba(16, 43, 64, .86) 0%, rgba(16, 43, 64, .92) 60%, rgba(16, 43, 64, .96) 100%);
  }
  .product-gallery__thumbs { grid-template-columns: repeat(3, 1fr); }   /* 6 张改两排 */
  .cert-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .field-row { grid-template-columns: 1fr; }
  .link-card { padding: var(--sp-3); }
  .form-actions .btn { width: 100%; }
  .product-actions .btn { flex: 1 1 100%; }
  .hero__actions .btn { width: 100%; }
  .logo__tag { display: none; }               /* keep the header compact */

  /* 悬浮联系标签：手机上收小，别压住正文；44px 仍是舒适的点击尺寸
     （圆角保持 50% —— 手机上是右下角的悬浮球，不再贴边，不需要单边圆角） */
  .quick-contact__toggle { width: 44px; height: 44px; }
  /* 往上抬一点：iPhone 底部那条小白条（home indicator）自带手势区，
     球贴着最底下容易被那一片手势区吃掉点按 */
  .quick-contact { bottom: calc(20px + env(safe-area-inset-bottom, 0px)); }
  .quick-contact__toggle svg { width: 22px; height: 22px; }
  .quick-contact__item { padding: 9px 13px; font-size: 13px; gap: 7px; }
  .quick-contact__item svg { width: 17px; height: 17px; }
  .quick-contact__panel { margin-right: 8px; gap: 6px; }
}

/* ==========================================================================
   21. REDUCED MOTION
   系统开了「减弱动态效果」（macOS 辅助功能 / iOS）时，把平滑滚动、过渡和
   悬停位移一律关掉 —— 前庭敏感的用户会因为这些东西不适。
   ⚠️ 轮播的**自动播放**CSS 管不到，是在 js/main.js 第 07 模块里单独判断的，
      两处都要有，只做一处等于没做。
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  /* 过渡被压到 0.01ms 后，位移和缩放仍会发生，只是瞬间完成，
     观感上是「跳一下」。这几条直接取消位移。 */
  .card:hover, .system-card:hover, .solution-card:hover,
  .stat-card:hover { transform: none; }
  .card:hover .card__arrow, .system-card:hover .card__arrow,
  .solution-card:hover .card__arrow { transform: none; }
}

/* ==========================================================================
   22. BUSINESS STRUCTURE & ABOUT SUBPAGES
   用在 about/index.html（两个业务主体）、about/factory-profile.html（8 步流程）、
   about/honors-certificates.html（4 列证书墙）。

   断点自带，不去动第 19/20 节那几块 @media —— 这几个类名都是新的，不会跟
   已有规则打架，放在文件末尾按「后写的赢」生效，比散落到三处媒体查询里好维护。
   ========================================================================== */

/* -- 两个业务主体：左卡 | 连接件 | 右卡 ------------------------------------
   用 minmax(0,1fr) 而不是 1fr：卡片里有「4,500+ m²」这类不可断的长串，
   1fr 的最小尺寸是 auto，会被最长的内容顶宽，把连接件挤到一边。 */
.entity-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: var(--sp-4);
  align-items: stretch;
  margin-top: var(--sp-5);
}

.entity-card {
  display: flex;
  flex-direction: column;
  padding: var(--sp-4);
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
/* 生产端用主色描边压一下重心，销售端保持中性 —— 两张完全对称的卡会让人
   以为「两个平级的公司」，主次分明才读得出「一个体系、两个分工」 */
.entity-card--production { border-top: 4px solid var(--c-primary); }
.entity-card--service    { border-top: 4px solid var(--c-accent); }

.entity-card__name {
  font-size: 30px;
  letter-spacing: .5px;
  color: var(--c-primary);
  margin: 0 0 4px;
  line-height: 1.1;
}
.entity-card__role {
  margin: 0 0 var(--sp-3);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--c-text-muted);
}

.entity-card__duties {
  list-style: none;
  margin: 0 0 var(--sp-3);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px var(--sp-2);
}
.entity-card__duties li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  color: var(--c-primary);
  font-weight: 600;
}
/* 对勾用 CSS 画，省一个图标字体；颜色跟着卡片的强调色走 */
.entity-card__duties li::before {
  content: "";
  position: absolute;
  left: 0; top: .45em;
  width: 9px; height: 5px;
  border-left: 2px solid var(--c-accent);
  border-bottom: 2px solid var(--c-accent);
  transform: rotate(-45deg);
}

.entity-card__text {
  color: var(--c-text-muted);
  font-size: 15px;
  margin: 0 0 var(--sp-3);
}

.entity-card__stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-4);
  margin-top: auto;               /* 贴底，两张卡的横线才对得齐 */
  padding-top: var(--sp-3);
  border-top: 1px solid var(--c-border);
}
/* ⚠️ .stat__num / .stat__label 是第 09 节留下的孤儿规则：两个都只设了字号，
   没有 display，而 .stat 这个包装器全站没有任何样式 —— span 默认 inline，
   数字和标签会挤在同一行（"4,500+ m² MANUFACTURING AREA"）。
   这里把包装器补成竖排，数字在上、标签在下。 */
.entity-card__stats .stat { display: flex; flex-direction: column; gap: 2px; }
.entity-card__stats .stat__num { font-size: 21px; }
.entity-card__stats .stat__label { font-size: 12px; }

/* -- 中间连接件 -------------------------------------------------------------
   文档原话是「不要只画一个箭头」。所以这里是一个三段式的小结构：
   ONE TEAM 徽标 + 一条虚线 + ⇄ + Integrated Supply。
   横排时它是一条竖线，堆叠时要变成一条横的分隔线（见下面的 ≤980 规则）。 */
.entity-join {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 150px;
  padding: var(--sp-2) 0;
}
.entity-join__badge {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--c-primary-050);
  color: var(--c-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  white-space: nowrap;
}
.entity-join__line {
  flex: 1 1 auto;
  width: 1px;
  min-height: 18px;
  background: repeating-linear-gradient(
    to bottom, var(--c-border) 0 5px, transparent 5px 10px);
}
.entity-join__swap {
  font-size: 22px;
  line-height: 1;
  color: var(--c-accent);
  font-weight: 700;
}
.entity-join__caption {
  font-size: 11px;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--c-text-muted);
  text-align: center;
  white-space: nowrap;
}

/* -- 「共同结果」深蓝收口带 --------------------------------------------------
   借用 .cta-band 的配色，但内容排布不同（要放 5 步序列），所以单独写。 */
.result-band {
  background: var(--c-primary);
  color: #fff;
  padding: var(--sp-6) 0;
}
.result-band h2 { color: #fff; }
.result-band .section-head__desc { color: rgba(255, 255, 255, .82); }

/* -- 横向 5 步序列 ----------------------------------------------------------
   编号 + 名称的胶囊，中间用箭头连起来。
   ⚠️ 箭头是 .step-runner__item::after 画在格子右侧外面的，所以最右一格要
      排除掉，否则会在容器外多出一个悬空的箭头。 */
.step-runner {
  list-style: none;
  margin: var(--sp-5) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--sp-2);
}
.step-runner__item {
  position: relative;
  padding: var(--sp-3) var(--sp-2);
  text-align: center;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--r-md);
}
.step-runner__item:not(:last-child)::after {
  content: "\2192";                /* → */
  position: absolute;
  top: 50%;
  right: calc(var(--sp-2) * -1 - 3px);
  transform: translateY(-50%);
  font-size: 16px;
  line-height: 1;
  color: rgba(255, 255, 255, .55);
}
.step-runner__num {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: var(--c-accent);
  margin-bottom: 6px;
}
.step-runner__label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}

/* -- 8 步生产流程（factory-profile）----------------------------------------- */
.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-3);
  counter-reset: flow;
}
.flow-step {
  padding: var(--sp-3);
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
}
.flow-step__num {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--c-accent-700);
  margin-bottom: 6px;
}
.flow-step__title { font-size: 16px; margin: 0; }

/* -- 三列对照表（谁干什么）-------------------------------------------------
   基础 .spec-table 是给「参数名 | 值」两列用的，th 写死 36% 宽；
   三列表格里每行只有一个 th（行首），36% 会让表格整体失衡。 */
/* 整排「只放图、不带说明文字」的小图（工厂页的设备图与库存图）。
   全局 img 已有 max-width:100%，所以 .grid--4 的 1fr 不会把它撑破；
   这里只补圆角、描边和统一的 4:3 裁切，让四张图高度一致、边缘对齐。
   注意 4:3 是 800×600 占位图的原生比例，换真实照片时若比例不同，
   会按 object-fit: cover 居中裁切 —— 拍图时留出裁切余量。 */
.media-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  background: var(--c-bg-alt);
}

.spec-table--matrix { min-width: 620px; }
.spec-table--matrix th:first-child { width: 22%; }
.spec-table--matrix thead th {
  width: auto;
  text-align: center;
  background: var(--c-primary);
  color: #fff;
  font-weight: 600;
}
.spec-table--matrix tbody th { font-weight: 600; }

/* -- 证书墙 4 列（荣誉页三组各 4 张）---------------------------------------- */
.cert-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
/* 客户好评是聊天/邮件截图，横版，不能套证书那个 4:5 竖版裁切 */
.cert-card__media--wide { aspect-ratio: 4 / 3; }

/* ---- 窄桌面 / 平板：≤980px ------------------------------------------------ */
@media (max-width: 980px) {
  /* 两张卡在这里必须收成单列：621–980px 之间一张卡只有 300–480px 宽，
     五条职能 + 一段正文 + 三个数据挤在里面没法读。
     ⚠️ 不能指望 .grid--2 —— 它要到 620px 才收单列，这里等不及。 */
  .entity-grid { grid-template-columns: minmax(0, 1fr); gap: var(--sp-3); }

  /* 竖的连接件横过来，变成两张卡之间的分隔线 */
  .entity-join {
    flex-direction: row;
    min-width: 0;
    width: 100%;
    gap: var(--sp-2);
    padding: 0;
  }
  .entity-join__line {
    flex: 1 1 auto;
    width: auto;
    height: 1px;
    min-height: 0;
    background: repeating-linear-gradient(
      to right, var(--c-border) 0 5px, transparent 5px 10px);
  }

  .step-runner { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* 3 列 + 5 项时，第 3 项右侧不该有箭头（它在换行处，箭头会指到空处） */
  .step-runner__item:nth-child(3)::after { content: none; }

  .flow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cert-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---- 手机：≤620px --------------------------------------------------------- */
@media (max-width: 620px) {
  .entity-card { padding: var(--sp-3); }
  .entity-card__name { font-size: 26px; }
  /* 手机上两列职能太窄，长词（Customer Communication）会断得很难看 */
  .entity-card__duties { grid-template-columns: minmax(0, 1fr); }

  .step-runner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* 2 列是「两两一行」，所以每行第 2 个（偶数位）右侧都不该有箭头 */
  .step-runner__item:nth-child(3)::after { content: "\2192"; }
  .step-runner__item:nth-child(2n)::after,
  .step-runner__item:last-child::after { content: none; }

  .flow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cert-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .entity-card__stats .stat__num { font-size: 19px; }
}

/* ==========================================================================
   23. PRODUCT PAGE — 阶段四新增板块
   --------------------------------------------------------------------------
   对应产品详情页模板的第 2 / 7 / 8 / 9 / 12 板块：
     产品海报条 .poster-band ｜ 应用图格 .app-grid + .app-tile--sm
     质检条 .qc-strip ｜ 包装图集 .pack-tile ｜ CTA 海报 .cta-poster

   ⚠️ 断点自带，不去动第 20 节那块大 @media —— 全是新类名，不会跟已有规则打架，
      放在文件末尾按「后写的赢」生效，比散到三处媒体查询里好维护。
   ⚠️ 不要图省事复用第 22 节的 .step-runner —— 它虽然是 5 列横向序列，但配色是给
      深色底写的（rgba(255,255,255,.08) 背景 + 白字），搬到产品页的浅色底上会看不见。
   ========================================================================== */

/* -- 产品海报：整幅铺开，图上不叠任何文字（文案走 HTML，不烤进图片）---------
   全出血 (full-bleed)：不套 .container，左右顶到视口边缘。
   作图尺寸 **2560×800（3.2:1 = 16/5）**。

   ⚠️ 2026-10-11 修：原先这里是 `aspect-ratio: 16/5` + **`max-height: 420px`**
      + `object-fit: cover`。比例本来是对的，坏就坏在那条 max-height ——
      它把高度钉死在 420，于是容器被压得比图更扁，而 cover 会「按宽铺满、
      把高出来的部分上下裁掉」。临界点 1344px：比它窄一切正常，比它宽就开始裁 ——
      1440 裁 30px(6.7%)、1920 裁 180px(30%)、2560 裁 380px(47.5%)。
      客户就是照我们给的 2560×800 做的图，**图没错，是被容器裁了**。
      而且占位图是灰色块，裁掉也看不出来；只有真图进来才暴露。

   ⚠️ 上限必须卡在**宽度**上（`max-width`），不能让高度去卡 `max-height`：
     高度卡死 = 容器比例随屏宽变化 = 不存在任何一个作图尺寸能不被裁。
     卡在宽度上，容器比例恒为 16/5，任何屏宽下都与 2560×800 的图同比。
   ⚠️ 用 `contain` 而不是 `cover`：万一以后交来的图不是 3.2:1，
     会出现底色边（肉眼一眼看得出），而不是**悄悄裁掉内容**。
     这个项目栽过的坑都是「静默」的，宁可选难看的、可发现的。 */
.poster-band { line-height: 0; background: var(--c-bg-alt); }
.poster-band img {
  display: block;
  width: 100%;
  max-width: 1920px;         /* 上限卡宽度 —— 1600 宽以下自适应，再宽就居中定住 */
  margin-inline: auto;
  aspect-ratio: 16 / 5;      /* 与 2560×800 同比，恒不裁切 */
  object-fit: contain;
}

/* -- 板块导语 ---------------------------------------------------------------
   板块标题下的一段引子（应用领域、质检都有）。比正文略大、比标题小，
   并且限一下行宽 —— 不限宽的话在 1200px 容器里一行会有 100+ 字符，很难读。 */
.detail-intro {
  font-size: 17px;
  color: var(--c-text-muted);
  max-width: 82ch;
  margin: 0 0 var(--sp-3);
}

/* -- 应用领域 6 图格 --------------------------------------------------------
   复用首页的 .app-tile（图 + 深色渐变图注），只加一个 --sm 变体收窄留白和字号。

   2026-10-11 改版：原来是 4 列 × 2 行共 8 格，每格只有 ~190px 宽，图太小。
   改成 **3 列 × 2 行共 6 格 + 行间距从 24px 收到 16px**：
   1440px 视口下每格 (1152−32)/3 = 373px 宽（≈ 原来的 1.96 倍），画面更紧实。

   ⚠️ 列数只由 .app-grid 自己负责，**不要依赖 .grid--4 / .grid--3** ——
      那两个类首页和产品列表页也在用，靠它们等于顺手被别的页面改掉。
      三个断点全写在这里，`.app-grid` 自给自足。

   图格数量在三处各存了一份常量（build_site.py 的 APP_TILE_COUNT、
   gen_placeholders.py 和 validate_products.py 的 APP_COUNT，当前都是 6），
   改数量要三处一起改，否则页面图位和磁盘上的占位图会对不上。 */
/* ⚠️ .app-grid 的断点全部写在这里、紧跟基础规则 —— 不能放进第 20 节的响应式块。
   那个块在本文件**前面**，同优先级下后面的基础规则会反过来压掉它，
   结果就是「声称收成 2 列、实际还是 3 列」这种看不出错的小毛病。 */
.app-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 980px) {
  .app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.app-tile--sm .app-tile__caption { padding: var(--sp-2) 12px 10px; }
.app-tile--sm .app-tile__caption h3 { font-size: 15px; line-height: 1.3; }
.app-tile--sm .app-tile__caption p { font-size: 13px; margin-top: 2px; }

/* -- 质检条：5 个环节横排 --------------------------------------------------
   ⚠️ 断点必须自己写：5 列在 981px 以下会挤成窄条，每个环节的说明文字
      会缩成一列单字。所以 ≤980 收 3 列，≤620 直接收 1 列（不经过 2 列 ——
      2 列时每格只有 ~150px，中文/英文都会断得很难看）。 */
.qc-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--sp-3);
  margin-top: var(--sp-4);
}
.qc-stage {
  padding: var(--sp-3);
  background: #fff;
  border: 1px solid var(--c-border);
  border-top: 3px solid var(--c-primary);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
.qc-stage__num {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--c-accent-700);
  margin-bottom: 6px;
}
.qc-stage__title {
  font-size: 16px;
  color: var(--c-primary);
  margin: 0 0 6px;
  line-height: 1.3;
}
.qc-stage__text {
  font-size: 14px;
  color: var(--c-text-muted);
  margin: 0;
  line-height: 1.55;
}

/* -- 包装图集 6 图 + 归属说明 ----------------------------------------------
   .pack-tile 用 .media-thumb 的同款规格（4:3 统一裁切），另起一个类名是为了
   让「包装图」在 HTML 里读得出来是哪一块，样式上刻意保持一致。
   外面套 <figure> 是为了放图注 —— 图注用普通文字，不叠在图上：
   包装图是给人对流程用的，压一层深色蒙版反而看不清箱子里是什么。 */
.pack-grid { margin-top: var(--sp-3); }
.pack-figure { margin: 0; }
.pack-tile {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  background: var(--c-bg-alt);
}
.pack-caption {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-primary);
}
/* .pack-note 已随客户要求删除（2026-10-11）。
   它原来是包装图集下方那条 NUOJIESI 出口归属说明，承担红线职责
   （"Export packing" 属出口表述，只归 NUOJIESI）。
   说明和样式一起删掉，口径变化记在 _tools/build_site.py 的 PACKAGING_TILES 上方。 */

/* -- 底部 CTA 海报 ---------------------------------------------------------
   文字和按钮是真的 HTML，叠在图上 —— 不要把文字烤进图片：烤进去就不能翻译，
   读屏软件也读不到，而这一块是全页最主要的一个转化点。
   因此图上必须压一层渐变蒙版，否则文字在任何一张照片上都可能糊掉。 */
.cta-poster { position: relative; background: var(--c-primary); line-height: 0; }
/* ⚠️ 与 .poster-band img 同一条修法：上限卡宽度、不卡高度，比例恒为 16/5。
   2026-10-11 之前这里是 `max-height: 420px` + `cover`，同样会裁掉客户交来的
   2560×800 图的上下部分（1920 宽屏裁 30%，2560 裁 47.5%）。作图尺寸 **2560×800**。 */
.cta-poster img {
  display: block;
  width: 100%;
  max-width: 1920px;
  margin-inline: auto;
  aspect-ratio: 16 / 5;
  object-fit: contain;
  opacity: .55;
}
.cta-poster__body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-4) var(--sp-4);
  text-align: center;
  line-height: 1.5;   /* 覆盖父级的 line-height:0，否则文字行距会被压没 */
  background: linear-gradient(
    to right, rgba(16,43,64,.82), rgba(16,43,64,.5) 60%, rgba(16,43,64,.72));
}
.cta-poster__title { color: #fff; font-size: 30px; margin: 0; line-height: 1.2; }
.cta-poster__text {
  color: rgba(255,255,255,.88);
  font-size: 16px;
  margin: 0;
  max-width: 62ch;
}
.cta-poster__actions { margin-top: var(--sp-1); }

/* ---- 平板：981–1279px ----------------------------------------------------- */
@media (max-width: 1279px) {
  /* 5 列在这个宽度下每格约 190px，说明文字会缩到每行 8–10 个字符，
     读起来很累；先降到 4 列，把每格的可用宽度换回来。 */
  .qc-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---- 平板竖屏 / 大手机：≤980px -------------------------------------------- */
@media (max-width: 980px) {
  .qc-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  /* 产品特点：此宽度每列只剩 ~400px，106 字符的说明要折 3–4 行，两列就花了。
     收成单列，一行读完。base 规则见第 15 节 .checklist--features。 */
  .checklist--features { grid-template-columns: minmax(0, 1fr); }

  .cta-poster__title { font-size: 26px; }
  .cta-poster__text { font-size: 15px; }
}

/* ---- 手机：≤620px --------------------------------------------------------- */
@media (max-width: 620px) {
  .qc-strip { grid-template-columns: minmax(0, 1fr); }
  .qc-stage { padding: var(--sp-2) var(--sp-3); }

  /* 应用图在手机上收成 1 列：≤980px 那一档只收到 2 列，
     2 列时每格约 160px 宽 —— 图注标题会占掉大半，图基本看不见了。 */
  .app-grid { grid-template-columns: minmax(0, 1fr); }

  /* 核心参数：手机上「标签 ……… 值」的左右排法只剩 ~290px 给值，
     76 字符的值要折 4 行且右对齐，读起来很跳。改成上下堆叠：
     标签一行（灰色小字），值另起一行左对齐。 */
  .keyfacts li { display: block; }
  .keyfacts__k, .keyfacts__v { display: block; }
  .keyfacts__v { text-align: left; margin-top: 2px; }

  /* ⚠️ 不要在手机上给这两张图写 `aspect-ratio: auto`。
     HTML 的 width/height 属性本来就是靠 UA 样式表给的 aspect-ratio 撑住占位的，
     写成 auto 会把它覆盖掉 —— 于是 loading="lazy" 的图在滚到之前既没有固有比例、
     也没有占位比例，高度直接塌成 0（CTA 海报在页面最底部，必踩）。
     实测：390px 下 .cta-poster img 高度 = 0，图整个消失。
     1920×600 的固有比例恰好就是 16/5，所以留着力矩不变，只是保住占位。 */

  /* ⚠️ 这里**不能**用 display:none 把这张图藏掉。
     它是 loading="lazy" 的 —— 藏起来浏览器就永远不去加载它，
     audit 的「图片未加载」检查会逐页报错（390px 下 27 个产品页全报一遍）。
     而且隐藏等于丢掉一次真实照片的曝光位。就让它按 16/5 显示成一条 122px 的
     装饰带，文字和按钮落到它下面（position: static）—— 简单、不塌、不误报。 */
  .cta-poster { line-height: 1.5; }
  .cta-poster__body { position: static; padding: var(--sp-4) var(--sp-3); }
  .cta-poster__title { font-size: 22px; }
}
