/* ==========================================================================
   QuantiHealth — 新官网设计系统 v2
   方向：临床文献式的克制编辑排版 + 品牌「序列纹样」签名图形
   品牌：Caribbean Green #00B09A / Charcoal / White
         （依据 QuantiHealth Brand Guidelines Late 2020）
   ========================================================================== */

/* ---------- 1. 字体（英文自托管；中文走系统字体，避免 7MB CJK 拖慢首屏） ---- */
@font-face { font-family: 'Source Sans Pro'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/source-sans-pro-400.woff2') format('woff2'); }
@font-face { font-family: 'Source Sans Pro'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/source-sans-pro-600.woff2') format('woff2'); }
@font-face { font-family: 'Source Sans Pro'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/source-sans-pro-700.woff2') format('woff2'); }

/* ---------- 2. 设计令牌 ---------- */
:root {
  /* 品牌 */
  --brand: #00B09A;          /* 装饰：细线、图标、纹样 */
  --brand-ink: #0A6B5C;      /* 文字/链接，白底 ≈5.7:1 */
  --brand-ink-h: #074C41;
  --brand-fill: #0A7A69;     /* 主按钮填充，白字 ≈4.9:1 */
  --brand-fill-h: #075A4C;
  --brand-bright: #4FE0C4;   /* 深色底上的品牌色 */
  --brand-mid: #73C5B7;      /* 手册次级绿 */
  --brand-soft: #E9F7F4;
  --brand-tint: #F3FAF8;
  --brand-grad: linear-gradient(90deg, var(--brand-ink) 0%, var(--brand) 100%);

  /* 中性（Charcoal 家族，微偏冷绿） */
  --ink: #111A18;
  --text: #3A4341;
  --muted: #6C7774;
  --line: #E3E9E7;
  --line-2: #CFD8D5;
  --bg: #FFFFFF;
  --bg-soft: #F5F8F7;
  --bg-alt: #FAFCFB;

  /* 深色区块 */
  --dark: #0C211D;
  --dark-2: #10302A;

  /* 语义色（ink 文字 + soft 底） */
  --ok-ink: #0B6B4B;     --ok-soft: #E6F5EE;
  --warn-ink: #8A5200;   --warn-soft: #FDF2E0;
  --danger-ink: #A32218; --danger-soft: #FCEBE9;
  --info-ink: #0A6B5C;   --info-soft: #E9F7F4;

  --r-xs: 6px;
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(8, 40, 34, .05), 0 10px 24px -20px rgba(8, 40, 34, .4);
  --shadow: 0 2px 6px rgba(8, 40, 34, .05), 0 32px 64px -40px rgba(8, 40, 34, .5);

  --maxw: 1200px;
}

/* ---------- 3. 基础 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
body {
  font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-ink); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--brand-ink-h); }
ul, ol { list-style: none; }
strong, b { font-weight: 600; color: var(--ink); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

/* ---------- 4. 排版 ---------- */
h1, h2, h3, h4 { color: var(--ink); font-weight: 700; }
h1 { font-size: clamp(2.05rem, 1.25rem + 2.9vw, 3.5rem); line-height: 1.16; letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 1.15rem + 1.35vw, 2.15rem); line-height: 1.32; }
h3 { font-size: 1.0625rem; font-weight: 600; line-height: 1.5; }
h4 { font-size: 1rem; font-weight: 600; line-height: 1.5; }
p { color: var(--text); }

.lead { font-size: 1.0625rem; line-height: 1.85; color: var(--muted); max-width: 64ch; }
.note { font-size: .875rem; line-height: 1.7; color: var(--muted); }
.center { text-align: center; }
.brand { color: var(--brand-ink); }

/* 编号式小标题：品牌色短横 + 全大写英文标签 */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand-ink); margin-bottom: 16px;
}
.eyebrow::before {
  content: ''; flex: none; width: 20px; height: 2px; border-radius: 2px; background: var(--brand);
}
.eyebrow--num { font-variant-numeric: tabular-nums; }

/* ---------- 5. 布局 ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(52px, 5vw, 80px) 0; }
.section--tight { padding: clamp(36px, 3.5vw, 52px) 0; }
.bg-soft { background: var(--bg-soft); }
.bg-alt { background: var(--bg-alt); }
.bg-tint { background: var(--brand-tint); }
.bg-ink { background: var(--ink); }

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

/* 编辑式区块标题：上方细线 + 大标题 + 导语 */
.section-head {
  padding-top: 22px; border-top: 1px solid var(--line-2);
  margin-bottom: clamp(24px, 2.8vw, 36px);
}
/* 用 em 而非 ch：中文 1 字≈1em，ch 以数字宽度计会低估，导致标题提前折行 */
.section-head h2 { max-width: 22em; }
.section-head .lead { margin-top: 16px; max-width: 62ch; }
/* 无 eyebrow 的区块标题也补一个品牌短横，保持全站节奏一致
   （split 版式为两列网格，伪元素会占格导致标题错位，故排除） */
.section-head:not(:has(.eyebrow)):not(.section-head--split)::before {
  content: ''; display: block; width: 26px; height: 2px; border-radius: 2px;
  background: var(--brand); margin-bottom: 18px;
}
.section--dark .section-head:not(:has(.eyebrow)):not(.section-head--split)::before,
.section--brand .section-head:not(:has(.eyebrow)):not(.section-head--split)::before { background: var(--brand-bright); }
.section-head.center { padding-top: 0; border-top: 0; max-width: 820px; margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center h2 { max-width: none; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center:not(:has(.eyebrow)):not(.section-head--split)::before { margin-left: auto; margin-right: auto; }
.section-head--split { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: 20px 56px; align-items: end; }
.section-head--split h2 { max-width: none; }
.section-head--split .lead { margin-top: 0; }

/* ---------- 6. 品牌纹样（企业符号图案） ---------- */
.pattern { display: block; width: 100%; height: auto; }
/* 内页 hero 背景层：纹样长在首屏里，不占额外纵向空间，也不会把 hero 与正文隔开 */
.hero-pattern {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 0;
  overflow: hidden; opacity: .30; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.hero-pattern svg { display: block; width: 100%; height: auto; }
/* 深色企业影片区块：纹样压在画面底部当背景，不额外占一条横带 */
.brandfilm-pattern { opacity: .16; }
.dark-pattern svg, .footer-pattern svg, .page-pattern svg { width: 100%; height: auto; }
.pattern-deco { position: absolute; pointer-events: none; }
.dark-pattern { margin-top: clamp(40px, 5vw, 64px); opacity: .18; }

/* 深色区块以纹样收尾 */
.section--dark.has-pattern, .section--brand.has-pattern { padding-bottom: 0; }

/* ---------- 7. 深色区块 ---------- */
.section--dark, .section--brand {
  position: relative; overflow: hidden;
  background: var(--dark); color: rgba(255, 255, 255, .78);
}
.section--dark .container, .section--brand .container { position: relative; z-index: 1; }
.section--dark h2, .section--dark h3, .section--dark h4,
.section--brand h2, .section--brand h3, .section--brand h4 { color: #fff; }
.section--dark p, .section--dark .lead,
.section--brand p, .section--brand .lead { color: rgba(255, 255, 255, .74); }
.section--dark .eyebrow, .section--brand .eyebrow { color: var(--brand-bright); }
.section--dark .eyebrow::before, .section--brand .eyebrow::before { background: var(--brand-bright); }
.section--dark .section-head, .section--brand .section-head { border-top-color: rgba(255, 255, 255, .18); }
.section--dark a, .section--brand a { color: var(--brand-bright); }
.section--dark .note, .section--brand .note { color: rgba(255, 255, 255, .6); }

/* ---------- 8. 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 10px; border: 1.5px solid transparent;
  font-size: .9375rem; font-weight: 600; line-height: 1.4; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s, box-shadow .25s;
}
.btn-primary { background: var(--brand-fill); color: #fff; }
.btn-primary:hover {
  background: var(--brand-fill-h); color: #fff;
  transform: translateY(-1px); box-shadow: 0 14px 30px -16px rgba(7, 90, 76, .8);
}
.btn-outline { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--brand); color: var(--brand-ink); background: var(--brand-tint); }
.btn-sm { padding: 9px 18px; font-size: .875rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.section--dark .btn-outline, .section--brand .btn-outline,
.cta-band .btn-outline, .hero--full .btn-outline {
  border-color: rgba(255, 255, 255, .3); color: #fff;
}
.section--dark .btn-outline:hover, .section--brand .btn-outline:hover,
.cta-band .btn-outline:hover, .hero--full .btn-outline:hover {
  background: rgba(255, 255, 255, .1); border-color: #fff; color: #fff;
}

/* ---------- 9. 导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s, background-color .25s;
}
.site-header.scrolled { background: rgba(255, 255, 255, .95); box-shadow: 0 1px 0 var(--line), 0 18px 40px -36px rgba(8, 40, 34, .6); }
.nav { display: flex; align-items: center; gap: 32px; height: 72px; }

.nav-brand { display: inline-flex; align-items: center; gap: 11px; color: var(--brand); flex: none; }
.nav-brand:hover { color: var(--brand-ink); }
/* 首页时 logo 带 .nav-brand.active（当前页语义标记）：**刻意不加任何视觉样式**。
   logo 全站恒为品牌绿、仅 hover 变 --brand-ink；顶部导航也没有独立"首页"项，
   首页的"当前页"提示交由正文首屏与面包屑承担，避免 logo 常驻异化。 */
.nav-brand svg { height: 40px; width: auto; flex: none; display: block; }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links > a, .nav-group > .nav-group-label {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 14px; border-radius: 8px;
  color: var(--text); font-size: .9375rem; font-weight: 400; line-height: 1.4;
  transition: color .18s, background-color .18s;
}
/* 排除 .nav-cta：它的 hover 底色由下方专属规则决定，
   否则本选择器（specificity 0,2,1）会盖掉 .nav-cta:hover（0,2,0）的底色，
   出现白字 + 近白底的不可读状态 */
.nav-links > a:not(.nav-cta):hover, .nav-group:hover > .nav-group-label, .nav-group:focus-within > .nav-group-label {
  color: var(--brand-ink); background: var(--brand-tint);
}
.nav-links > a.active { color: var(--brand-ink); font-weight: 600; }
.nav-links > a.active::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
  border-radius: 2px; background: var(--brand);
}
.nav-links > a { position: relative; }

.nav-group { position: relative; }
.nav-group-toggle { display: none; }
.nav-group-label { cursor: pointer; }
.nav-group.active > .nav-group-label { color: var(--brand-ink); font-weight: 600; }
.nav-caret { transition: transform .2s; flex: none; }
.nav-group:hover .nav-caret, .nav-group:focus-within .nav-caret { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 230px; padding: 8px; display: flex; flex-direction: column; gap: 2px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 24px 48px -28px rgba(8, 40, 34, .5);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.nav-dropdown::before { content: ''; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
/* 含三级菜单的分组：右侧箭头独立成列，需要更宽的容器，避免激活态加粗标签折行 */
.nav-dropdown--sub { min-width: 250px; }
.nav-group:hover .nav-dropdown, .nav-group:focus-within .nav-dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-dropdown a { padding: 9px 12px; border-radius: 8px; font-size: .9063rem; color: var(--text); }
.nav-dropdown a:hover { background: var(--bg-soft); color: var(--brand-ink); }
.nav-dropdown a.active { color: var(--brand-ink); font-weight: 600; }

/* ---------- 9b. 三级菜单（下拉内嵌子分组） ---------- */
.nav-sub { position: relative; }
.nav-sub-toggle { display: none; }
/* 一行两件：左侧标签是指向子分组首页的链接，右侧箭头是展开三级菜单的开关 */
.nav-sub-row {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  border-radius: 8px; transition: background-color .18s;
}
.nav-sub-label {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 12px;
  font-size: .9063rem; color: var(--text);
  transition: color .18s;
}
.nav-sub-caret {
  display: flex; align-items: center; padding: 9px 10px; cursor: pointer;
  color: var(--muted); transition: color .18s;
}
.nav-sub:hover > .nav-sub-row, .nav-sub:focus-within > .nav-sub-row,
.nav-sub.active > .nav-sub-row { background: var(--bg-soft); }
.nav-sub:hover > .nav-sub-row .nav-sub-label, .nav-sub:focus-within > .nav-sub-row .nav-sub-label,
.nav-sub.active > .nav-sub-row .nav-sub-label,
.nav-sub:hover > .nav-sub-row .nav-sub-caret, .nav-sub:focus-within > .nav-sub-row .nav-sub-caret {
  color: var(--brand-ink);
}
.nav-sub.active > .nav-sub-row .nav-sub-label { font-weight: 600; }
.nav-sub-row .nav-caret { transition: transform .2s; }
.nav-sub:hover .nav-caret, .nav-sub:focus-within .nav-caret { transform: rotate(180deg); }
.nav-sub-dropdown {
  display: none; flex-direction: column; gap: 1px;
  margin: 2px 0 4px 10px; padding-left: 8px; border-left: 1px solid var(--line);
}
.nav-sub:hover > .nav-sub-dropdown,
.nav-sub:focus-within > .nav-sub-dropdown { display: flex; }
.nav-sub-dropdown a { padding: 7px 10px; border-radius: 7px; font-size: .875rem; color: var(--muted); }
.nav-sub-dropdown a:hover { background: var(--bg-soft); color: var(--brand-ink); }
.nav-sub-dropdown a.active { color: var(--brand-ink); font-weight: 600; }

.nav-right { display: flex; align-items: center; gap: 16px; flex: none; }
.lang-switch { display: flex; align-items: center; gap: 6px; font-size: .8125rem; color: var(--muted); }
.lang-switch a { color: var(--muted); }
.lang-switch a.active { color: var(--brand-ink); font-weight: 600; }
.nav-toggle, .nav-toggle-label { display: none; }
.nav-cta {
  padding: 10px 20px !important; border-radius: 9px;
  background: var(--brand-fill); color: #fff !important; font-weight: 600;
}
.nav-links > a.nav-cta:hover, .nav-links > a.nav-cta:focus-visible {
  background: var(--brand-fill-h); color: #fff !important;
}
.nav-cta.active::after { display: none; }

/* ---------- 10. 首屏（信息型 hero） ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(40px, 5vw, 72px) 0 clamp(32px, 4vw, 56px);
  background: linear-gradient(180deg, var(--bg-alt) 0%, #fff 78%);
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(32px, 4vw, 64px); align-items: center;
}
.hero h1 { max-width: 15ch; }
.hero .lead { margin-top: 22px; max-width: 46ch; }
.hero .btn-row { margin-top: 32px; }
.hero-facts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  margin-top: clamp(32px, 4vw, 44px); padding-top: 24px; border-top: 1px solid var(--line);
}
.hero-facts strong { display: block; color: var(--ink); font-size: .9375rem; font-weight: 600; }
.hero-facts span { font-size: .8125rem; line-height: 1.6; color: var(--muted); }
.hero-media {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line-2); background: var(--dark);
  box-shadow: 0 48px 88px -56px rgba(8, 40, 34, .8);
}
.hero-media img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; object-position: center 42%; }
.hero-media video { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: brightness(1.06) contrast(1.02); }
.hero-media .cap {
  position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 13px; border-radius: 999px; font-size: .75rem; letter-spacing: .04em;
  color: #fff; background: rgba(8, 32, 28, .66);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.hero-media .cap::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-bright); }

/* 旧版整屏开屏（保留以兼容 pFMT 页；首页已改用信息型 hero） */
.hero--full {
  position: relative; display: flex; align-items: center; overflow: hidden;
  height: 100vh; height: 100dvh; min-height: 560px; padding: 0; background: var(--dark);
}
.hero--full .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero--full .hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6, 20, 18, .5) 0%, rgba(6, 20, 18, .34) 45%, rgba(6, 20, 18, .72) 100%);
}
.hero--full .hero-content { position: relative; z-index: 1; padding: 96px 0 72px; }
.hero--full h1 { color: #fff; }
.hero--full .lead { color: rgba(255, 255, 255, .86); }
.hero-inner { max-width: 820px; }
.hero-intro { text-align: center; }
.hero-title {
  color: #fff; font-weight: 400; letter-spacing: .06em;
  font-size: clamp(2.2rem, 6.4vw, 5rem); line-height: 1.25;
  text-shadow: 0 2px 28px rgba(0, 0, 0, .5);
}
.hero-title .brand { color: var(--brand-bright); }
.hero-intro .eyebrow { color: rgba(255, 255, 255, .9); justify-content: center; text-shadow: 0 1px 14px rgba(0, 0, 0, .5); }
.hero-intro .eyebrow::before { background: var(--brand-bright); }

/* ---------- 11. 内页 hero ---------- */
.page-hero {
  position: relative; overflow: hidden;
  padding: clamp(44px, 5vw, 72px) 0 clamp(36px, 4vw, 56px);
  background: linear-gradient(180deg, var(--bg-alt) 0%, #fff 100%);
  border-bottom: 1px solid var(--line);
}
.page-hero .container { position: relative; z-index: 1; }
/* 品牌光晕：给内页首屏一层纵深，低透明度不干扰文字 */
.page-hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(110% 80% at 86% 0%, rgba(0, 176, 154, .13) 0%, rgba(0, 176, 154, 0) 60%);
}
.page-hero h1 { max-width: 22ch; }
.page-hero .lead { margin-top: 18px; max-width: 58ch; }
.page-hero .eyebrow { margin-bottom: 12px; }
.breadcrumb { font-size: .8125rem; color: var(--muted); margin-bottom: 20px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand-ink); }
.breadcrumb span { color: var(--ink); }

/* ---------- 12. 数据条 ---------- */
.statbar { padding: clamp(28px, 3vw, 40px) 0; border-bottom: 1px solid var(--line); }
/* 数据条层的纹样水印 + 光晕 */
.statbar { position: relative; overflow: hidden; }
.statbar::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(90% 120% at 8% 0%, rgba(0, 176, 154, .09) 0%, rgba(0, 176, 154, 0) 62%);
}
.statbar > .container { position: relative; z-index: 1; }
.band-pattern {
  position: absolute; left: 0; right: 0; bottom: -10%; z-index: 0;
  opacity: .07; pointer-events: none;
}
.band-pattern svg { width: 100%; height: auto; display: block; }
/* 数据条：数字与标签统一为等高单元（标签预留两行，避免 1/2 行混排造成参差） */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); align-items: stretch; }
.stat {
  display: flex; flex-direction: column; justify-content: flex-start;
  padding: 2px 28px; border-left: 1px solid var(--line);
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat .num {
  font-size: clamp(1.7rem, 2.6vw, 2.15rem); font-weight: 700; line-height: 1.15;
  color: var(--brand-ink); font-variant-numeric: tabular-nums; letter-spacing: -.01em;
}
.stat .lbl {
  display: flex; align-items: center;
  margin-top: 10px; font-size: .875rem; line-height: 1.6; color: var(--muted);
  min-height: 3.2em; text-wrap: pretty;
}
.stats--cards { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; }
.stats--cards .stat { padding: 26px 28px; }
.stats--cards .stat:first-child { padding-left: 28px; }

/* ---------- 13. 卡片 ---------- */
.card {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); padding: 30px 32px;
  transition: border-color .2s, box-shadow .25s, transform .25s;
}
.card:hover { border-color: var(--brand); box-shadow: 0 24px 48px -36px rgba(8, 40, 34, .7); transform: translateY(-2px); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .9375rem; line-height: 1.78; }
.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: .875rem; font-weight: 600; color: var(--brand-ink); }
.card:hover .more { color: var(--brand-ink-h); }
.card-link { display: block; color: inherit; }
.card-link:hover { color: inherit; }
.card-icon {
  width: 42px; height: 42px; margin-bottom: 20px; border-radius: 10px;
  background: var(--brand-soft); display: flex; align-items: center; justify-content: center;
}
.card-icon svg { width: 21px; height: 21px; stroke: var(--brand-ink); stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.card-icon.big { width: 48px; height: 48px; }
.card-icon.big svg { width: 24px; height: 24px; }

/* 菌株档案卡（probiotics 展示页） */
.strain-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-bottom: 16px; }
.strain-code {
  display: inline-flex; align-items: center; padding: 5px 11px; border-radius: 8px;
  background: var(--brand-soft); color: var(--brand-ink);
  font-size: .9375rem; font-weight: 700; letter-spacing: .04em;
}
.strain-species { font-size: .875rem; color: var(--muted); }
.strain-species i { font-style: italic; }
.strain-meta {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 7px 14px;
  margin: 0 0 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line);
}
.strain-meta dt { font-size: .8125rem; color: var(--muted); white-space: nowrap; }
.strain-meta dd { font-size: .8125rem; color: var(--ink); font-weight: 600; }

/* 圆点列表（卡片内要点） */
.dot-list li {
  position: relative; padding-left: 16px; margin: 9px 0;
  font-size: .9375rem; line-height: 1.7; color: var(--muted);
}
.dot-list li::before {
  content: ''; position: absolute; left: 2px; top: 11px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--brand);
}

.card--brand { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .16); }
.card--brand h3 { color: #fff; }
.card--brand p { color: rgba(255, 255, 255, .74); }
.card--brand .card-icon { background: rgba(255, 255, 255, .1); }
.card--brand .card-icon svg { stroke: var(--brand-bright); }
.card--brand .more { color: var(--brand-bright); }
.card--brand:hover { border-color: rgba(255, 255, 255, .5); box-shadow: 0 28px 56px -40px rgba(0, 0, 0, .9); }

/* ---------- 14. 规格网格（01/02/03 三栏，细线分隔） ---------- */
.spec { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.spec__item { padding: 32px 32px 34px; border-left: 1px solid var(--line); }
.spec__item:first-child { border-left: 0; padding-left: 0; }
.spec__item:last-child { padding-right: 0; }
.spec__idx {
  display: block; margin-bottom: 18px; font-size: .75rem; font-weight: 700;
  letter-spacing: .16em; color: var(--brand-ink); font-variant-numeric: tabular-nums;
}
.spec__item h3 { margin-bottom: 8px; }
.spec__item p { color: var(--muted); font-size: .9375rem; line-height: 1.78; }

/* ---------- 15. 列表 / 特性 ---------- */
.feature { display: flex; gap: 16px; }
.feature .dot {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand-ink);
  font-size: .875rem; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.feature h4 { margin-bottom: 4px; }
.feature p { color: var(--muted); font-size: .9375rem; }

.link-list { border-top: 1px solid var(--line-2); }
.link-list li {
  display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 8px 28px;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.link-list strong { color: var(--ink); font-weight: 600; }
.link-list span { color: var(--muted); font-size: .9375rem; }

/* ---------- 16. 分栏 ---------- */
.split { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.split.reverse { grid-template-columns: .98fr 1.02fr; }
.split img { border-radius: var(--r); border: 1px solid var(--line); }

/* ---------- 17. 表格 ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }
table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
th, td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th {
  background: var(--bg-soft); font-size: .8125rem; font-weight: 600; letter-spacing: .04em;
  color: var(--ink); white-space: nowrap;
}
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: var(--brand-tint); }
td strong { color: var(--brand-ink); }

/* ---------- 18. 标签 / 徽章 / 提示 ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 15px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line-2);
  font-size: .875rem; font-weight: 600; color: var(--ink);
}
.chip::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); flex: none; }
.chip-plain { background: var(--bg-soft); border-color: transparent; color: var(--text); font-weight: 400; }
.chip-plain::before { display: none; }
.section--dark .chip, .section--brand .chip { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .18); color: #fff; }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: .8125rem; font-weight: 600; }
.badge.ok { background: var(--ok-soft); color: var(--ok-ink); }
.badge.warn { background: var(--warn-soft); color: var(--warn-ink); }
.badge.danger { background: var(--danger-soft); color: var(--danger-ink); }
.badge.info { background: var(--info-soft); color: var(--info-ink); }

.callout {
  background: var(--brand-tint); border: 1px solid var(--line);
  border-left: 3px solid var(--brand); border-radius: var(--r-sm);
  padding: 18px 22px; font-size: .9375rem; color: var(--text);
}
.disclaimer {
  font-size: .8125rem; line-height: 1.7; color: var(--muted);
  background: var(--bg-soft); border-radius: var(--r-sm); padding: 16px 20px;
}

/* 资质凭证网格（细线格，像证书清单） */
.creds {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-2); border-left: 1px solid var(--line-2);
  background: #fff;
}
.creds li {
  display: flex; align-items: center; gap: 11px;
  padding: 20px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font-size: .9375rem; font-weight: 600; color: var(--ink); line-height: 1.5;
}
.creds li::before { content: ''; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }

/* ---------- 19. 时间线 / 步骤 ---------- */
.steps { display: grid; gap: 0; }
.step { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 22px; padding-bottom: 30px; }
.step:not(:last-child)::before {
  content: ''; position: absolute; left: 21px; top: 46px; bottom: 0; width: 2px; background: var(--line);
}
.step .idx {
  position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1.5px solid var(--brand);
  color: var(--brand-ink); font-weight: 700; font-size: .9375rem;
}
.step h4 { margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .9375rem; }
.section--dark .step:not(:last-child)::before, .section--brand .step:not(:last-child)::before { background: rgba(255, 255, 255, .2); }
.section--dark .step .idx, .section--brand .step .idx { background: var(--dark); border-color: var(--brand-bright); color: var(--brand-bright); }

/* ---------- 20. 招聘 / 联系 ---------- */
.job { border: 1px solid var(--line); border-radius: var(--r); padding: 26px 30px; margin-bottom: 14px; background: #fff; }
.job h3 { font-size: 1.0625rem; }
.job .job-meta { font-size: .8125rem; color: var(--muted); margin: 8px 0 14px; }
.job ul { margin-top: 12px; }
.job ul li { position: relative; padding-left: 18px; color: var(--muted); font-size: .9375rem; margin: 5px 0; }
.job ul li::before { content: ''; position: absolute; left: 2px; top: 12px; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); }

.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.contact-card { border: 1px solid var(--line); border-radius: var(--r); padding: 30px 32px; background: #fff; }
.contact-card h3 { margin-bottom: 8px; }
.contact-card a { font-weight: 600; }
.contact-list { margin-top: 18px; }
.contact-list p { color: var(--muted); font-size: .9375rem; margin: 7px 0; }

/* ---------- 20b. 表单（联系我们页） ---------- */
.form-card-wrap {
  border: 1px solid var(--line); border-radius: var(--r);
  background: #fff; padding: 30px 32px;
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; }
.form-group { margin-bottom: 18px; }
.form-group--full { grid-column: 1 / -1; }
.form-group label { display: block; margin-bottom: 7px; font-size: .875rem; font-weight: 600; color: var(--ink); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: .9375rem;
  color: var(--text); background: #fff;
  border: 1.5px solid var(--line-2); border-radius: 10px;
  transition: border-color .18s, box-shadow .18s;
}
.form-group textarea { resize: vertical; min-height: 120px; line-height: 1.7; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(0, 176, 154, .12);
}
.required { color: #B3261E; }
.form-footnote { margin-top: 14px; font-size: .8125rem; line-height: 1.75; color: var(--muted); }

/* ---------- 21. CTA 带（全站统一一条：单列左对齐卡） ---------- */
/* 单按钮不再用「左文案 + 右按钮」两栏（右列会空出一大片），
   改为单列：标题 → 正文 → 按钮；右下的品牌纹样负责补足空白，
   底色用 --dark-2（比页脚的 --dark 略亮），避免页尾出现两块同色黑板。 */
.cta-band {
  position: relative; overflow: hidden;
  background: var(--dark-2); color: rgba(255, 255, 255, .78);
  border-radius: var(--r-lg);
  padding: clamp(32px, 3.6vw, 44px) clamp(30px, 3.6vw, 48px);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; max-width: 24ch; font-size: clamp(1.5rem, 2.2vw, 1.9rem); }
.cta-band p { color: rgba(255, 255, 255, .74); margin-top: 12px; max-width: 44ch; }
.cta-band .btn-row { justify-content: flex-start; margin-top: 26px; }
.cta-band .band-pattern { position: absolute; opacity: .1; bottom: -14%; }

/* ---------- 22. 页脚 ---------- */
.site-footer {
  position: relative; overflow: hidden;
  background: var(--dark); color: rgba(255, 255, 255, .68);
  padding: clamp(48px, 5vw, 68px) 0 0;
  border-top: 2px solid var(--brand);
}
.site-footer .container { position: relative; z-index: 1; }
.site-footer a { color: rgba(255, 255, 255, .68); }
.site-footer a:hover { color: #fff; }
.footer-pattern { margin-top: 28px; opacity: .13; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand { display: inline-flex; align-items: center; gap: 11px; margin-bottom: 18px; color: var(--brand); }
.footer-brand svg { height: 32px; width: auto; flex: none; display: block; }
.site-footer .footer-brand { color: #fff; }   /* 深底用白色版（品牌手册） */
.site-footer .footer-brand:hover { color: var(--brand-bright); }
.site-footer h4 { color: #fff; font-size: .875rem; letter-spacing: .04em; margin-bottom: 16px; }
.site-footer ul li { margin: 9px 0; font-size: .875rem; line-height: 1.7; }
.footer-bottom {
  margin-top: clamp(36px, 4vw, 52px); padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
  font-size: .8125rem; color: rgba(255, 255, 255, .5);
}
.footer-bottom a { color: rgba(255, 255, 255, .5); }

/* ---------- 23. 视频 ---------- */
.brandfilm { position: relative; overflow: hidden; background: var(--dark); }
.brandfilm video {
  display: block; width: 100%; aspect-ratio: 21 / 9; object-fit: cover;
  transform: scale(1.14); filter: brightness(1.14) contrast(1.06);
}
.brandfilm .brandfilm-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 20, 18, .2) 0%, rgba(6, 20, 18, .04) 40%, rgba(6, 20, 18, .68) 100%);
}
.brandfilm .brandfilm-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 0 24px clamp(18px, 3vw, 34px);
}
.brandfilm .brandfilm-cap .container { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.brandfilm .tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px; font-size: .75rem; letter-spacing: .06em;
  color: #fff; background: rgba(8, 32, 28, .58);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.brandfilm .tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-bright); }
.brandfilm .tag--plain { background: transparent; color: rgba(255, 255, 255, .78); letter-spacing: .04em; }
.brandfilm .tag--plain::before { display: none; }

.video-band { position: relative; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--dark); }
.video-band video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.video-figure { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--dark); }
.video-figure video { width: 100%; object-fit: cover; }
.video-square video { aspect-ratio: 1 / 1; }
.video-16-9 video { aspect-ratio: 16 / 9; }
.video-21-9 video { aspect-ratio: 21 / 9; }
.video-figure .video-cap { padding: 18px 20px; background: #fff; margin: 0; }
.video-grid { display: grid; gap: 24px; }
.video-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.video-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.video-cap { margin-top: 14px; font-size: .875rem; color: var(--muted); }
.video-card { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; }
.video-card video { width: 100%; display: block; aspect-ratio: 16 / 9; object-fit: cover; background: var(--dark); }
.video-card .video-card-body { padding: 24px 26px; }
.video-card h3 { margin-bottom: 8px; }
.video-card p { color: var(--muted); font-size: .9375rem; }

/* ---------- 24. 响应式 ---------- */
@media (max-width: 1080px) {
  .hero-grid, .split, .split.reverse, .cta-band { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { max-width: 20ch; }
  .cta-band .btn-row { justify-content: flex-start; }
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .section-head--split { grid-template-columns: 1fr; align-items: start; }
  .section-head--split .lead { margin-top: 16px; }
  .spec { grid-template-columns: 1fr; border-bottom: 0; }
  .spec__item { border-left: 0; border-bottom: 1px solid var(--line); padding: 28px 0; }
  .creds { grid-template-columns: repeat(2, 1fr); }
  .link-list li { grid-template-columns: 1fr; gap: 4px; }
}

@media (max-width: 860px) {
  html { font-size: 15px; }
  .nav-links {
    position: fixed; left: 0; right: 0; top: 72px;
    flex-direction: column; align-items: stretch; gap: 0;
    margin: 0; padding: 12px 20px 24px;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 48px -28px rgba(8, 40, 34, .5);
    transform: translateY(-130%); visibility: hidden;
    transition: transform .28s ease, visibility .28s;
    max-height: calc(100dvh - 72px); overflow-y: auto;
  }
  .nav-links > a, .nav-group > .nav-group-label {
    width: 100%; padding: 14px 4px; border-radius: 0;
    border-bottom: 1px solid var(--line); font-size: 1rem;
    justify-content: space-between;
  }
  .nav-links > a.active::after { display: none; }
  .nav-links > a.nav-cta {
    margin-top: 16px; border-bottom: 0; justify-content: center;
    border-radius: 9px; padding: 13px 20px !important;
  }
  .nav-group { width: 100%; }
  .nav-group:hover > .nav-group-label { background: transparent; }
  .nav-dropdown {
    position: static; transform: none; opacity: 1; visibility: visible; display: none;
    min-width: 0; border: 0; box-shadow: none; background: transparent;
    padding: 2px 0 6px 14px; margin: 0;
  }
  .nav-dropdown a { padding: 11px 12px; border-bottom: 1px solid var(--line); border-radius: 0; color: var(--muted); }
  .nav-group-toggle:checked ~ .nav-dropdown { display: flex; }
  .nav-group-toggle:checked ~ .nav-group-label .nav-caret { transform: rotate(180deg); }
  /* 三级菜单：移动端改为 checkbox 展开 */
  .nav-sub-row {
    border-radius: 0; border-bottom: 1px solid var(--line); gap: 0;
  }
  .nav-sub-label {
    padding: 11px 12px; font-size: .9375rem; color: var(--muted);
  }
  .nav-sub-caret {
    padding: 11px 12px; min-width: 46px; justify-content: center; align-self: stretch;
    color: var(--muted);
  }
  .nav-sub:hover > .nav-sub-row, .nav-sub:focus-within > .nav-sub-row { background: transparent; }
  .nav-sub-dropdown {
    display: none; margin: 0; padding: 0 0 4px 16px; border-left: 0;
  }
  .nav-sub:hover > .nav-sub-dropdown, .nav-sub:focus-within > .nav-sub-dropdown { display: none; }
  .nav-sub-toggle:checked ~ .nav-sub-dropdown { display: flex; }
  .nav-sub-toggle:checked ~ .nav-sub-row .nav-caret { transform: rotate(180deg); }
  .nav-sub-dropdown a { padding: 10px 12px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-toggle-label {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 42px; height: 42px; cursor: pointer; flex: none;
  }
  .nav-toggle-label span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-toggle:checked ~ .nav-links { transform: translateY(0); visibility: visible; }
  .nav { gap: 12px; }
  .nav-right { margin-left: auto; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .creds { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px 0; }
  .stat { padding: 0 20px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stats--cards .stat:nth-child(odd) { padding-left: 24px; }
  .hero-facts { grid-template-columns: 1fr; gap: 14px; }
  .video-grid.cols-2, .video-grid.cols-3 { grid-template-columns: 1fr; }
  .video-21-9 video { aspect-ratio: 16 / 9; }
  .hero-media img { aspect-ratio: 4 / 3; object-position: center 38%; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
  .card { padding: 26px 24px; }
  .job { padding: 22px 22px; }
  .contact-card { padding: 26px 24px; }
  .nav-brand svg { height: 32px; }
  /* 表单在两列时输入框过窄（占位文字被裁切），窄屏改为单列 */
  .form-grid { grid-template-columns: 1fr; gap: 0; }
}

/* ---------- 25. 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- 26. 打印 ---------- */
@media print {
  .site-header, .site-footer, .cta-band, .hero-pattern, .dark-pattern { display: none; }
  .section { padding: 24px 0; }
}
