/* ==========================================================================
   BIOchat（南京百洽生物科技有限公司）企业展示站 — 样式表
   --------------------------------------------------------------------------
   视觉规范来源：BIOchat 产品服务手册 A4 对外版 v3.1 + Logo v2.0 官方色板
   纯静态展示：无后台、无数据存储、无表单提交

   目录
     01 字体
     02 设计令牌（颜色 / 字体 / 类型阶 / 间距阶 / 圆角 / 阴影）
     03 基础重置与排版基线
     04 布局工具与章节标题组
     05 顶部导航
     06 首屏
     07 深色章节带
     08 卡片与网格
     09 流程步骤
     10 图文区
     11 图版与案例
     12 服务矩阵
     13 项目清单（WetLab 三栏）
     14 公司介绍扩展区块
     15 健康遗传
     16 页脚
     17 动效与浮动控件
     18 响应式
   ========================================================================== */

/* ==========================================================================
   01 字体 —— Inter 可变字体（西文与数字），中文走系统字体栈
   ========================================================================== */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ==========================================================================
   02 设计令牌
   ========================================================================== */
:root {
  /* ---- 中性色（加深了正文与弱化文字，提升可读性） ---- */
  --bg: #F7F8F6;
  --bg-2: #F1F3F0;
  --surface: #FFFFFF;
  --surface-2: #FBFCFB;
  --ink: #0B2239;
  --ink-2: #1B3550;
  --body: #4E667C;
  --muted: #6B7F92;
  --muted-2: #93A3B3;
  --line: #E3E8E6;
  --line-soft: #EDF1EF;

  /* ---- 品牌色（Logo v2.0 官方色板 + 手册业务线色） ---- */
  --navy: #0B2239;
  --navy-800: #0E2C48;
  --navy-900: #071729;
  --teal: #06948F;
  --blue: #2B83B7;
  --gold: #DF9938;
  --purple: #616CB0;
  --wave: #81B6B8;

  /* 小字专用加深色：品牌色在浅底上做 11–13px 文字时对比度不足 */
  --teal-ink: #05706C;
  --gold-ink: #A0641A;
  --blue-ink: #20658F;
  --purple-ink: #4F5AA0;

  /* ---- 浅色卡片底 ---- */
  --tint-blue: #EAF1F7;
  --tint-teal: #EAF3F1;
  --tint-purple: #EEEFF8;
  --tint-gold: #FBF1E4;
  --tint-navy: #EAEFF5;

  /* ---- 字体族：拉丁优先，中文回落到系统字体 ---- */
  --font-latin: "Inter", "SF Pro Text", -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --font-cjk: "PingFang SC", "HarmonyOS Sans SC", "Source Han Sans SC",
    "Noto Sans SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-sans: var(--font-latin), var(--font-cjk), system-ui, sans-serif;
  --font-mono: "SF Mono", ui-monospace, "JetBrains Mono", Menlo, Consolas, monospace;

  /* ---- 类型阶（流体） ---- */
  --fs-display: clamp(31px, 3.5vw, 46px);
  --fs-h2: clamp(25px, 2.85vw, 36px);
  --fs-h3: clamp(19px, 1.65vw, 22px);
  --fs-h4: 16.5px;
  --fs-lead: 17px;
  --fs-body: 15.5px;
  --fs-sm: 14px;
  --fs-xs: 13px;
  --fs-2xs: 12px;
  --fs-eyebrow: 11.5px;

  /* ---- 行高 ---- */
  --lh-display: 1.16;
  --lh-heading: 1.3;
  --lh-snug: 1.55;
  --lh-body: 1.85;

  /* ---- 字距 ---- */
  --ls-display: -.022em;
  --ls-heading: -.014em;
  --ls-body: .004em;
  --ls-eyebrow: .16em;

  /* ---- 间距阶 ---- */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 44px;
  --sp-8: 60px;
  --sp-9: 88px;

  /* ---- 版心与节律 ---- */
  --wrap: 1180px;
  --wrap-narrow: 940px;
  --gutter: clamp(20px, 2.2vw, 28px);
  --sec-y: clamp(56px, 6.4vw, 104px);
  --sec-y-tight: clamp(64px, 7vw, 112px);
  --gap: clamp(18px, 1.9vw, 24px);
  --gap-lg: clamp(28px, 3.4vw, 48px);

  /* ---- 圆角 ---- */
  --radius-xs: 3px;
  --radius: 6px;
  --radius-lg: 10px;
  --radius-xl: 14px;

  /* ---- 阴影（分层、低饱和，避免发灰） ---- */
  --shadow-xs: 0 1px 2px rgba(11, 34, 57, .04);
  --shadow-sm: 0 2px 8px rgba(11, 34, 57, .05);
  --shadow: 0 10px 30px -10px rgba(11, 34, 57, .12), 0 2px 8px rgba(11, 34, 57, .04);
  --shadow-lg: 0 26px 60px -18px rgba(11, 34, 57, .18), 0 4px 12px rgba(11, 34, 57, .05);

  --header-h: 68px;
}

/* ==========================================================================
   03 基础重置与排版基线
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  font-optical-sizing: auto;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-heading);
  text-wrap: balance;
}

h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; border: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
figure, dl, dd { margin: 0; }
table { border-collapse: collapse; }

strong, b { color: var(--ink); font-weight: 650; }

/* 数字统一等宽对齐 */
.flow__item .n, .card--num .n, .mitem .no, .hg-item .no,
.kpi .v, .issue__no {
  font-family: var(--font-latin);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1, "ss01" 1;
}

/* 长串英文（如基因名）不撑破容器 */
.mtable td, .mitem .row, .case__title .en { overflow-wrap: anywhere; }

::selection { background: rgba(6, 148, 143, .18); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
  border-radius: var(--radius-xs);
}

/* ==========================================================================
   04 布局工具与章节标题组
   ========================================================================== */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: var(--sec-y) 0;
  position: relative;
}
.section--tight { padding: var(--sec-y-tight) 0; }
.section--surface { background: linear-gradient(180deg, #FFFFFF 0%, #FDFEFD 100%); }
.section--line { border-top: 0; }
.section--line::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 12%,
    var(--line) 88%, transparent);
}

/* 章节标题组 */
.sec-head {
  max-width: 820px;
  margin-bottom: clamp(40px, 4.6vw, 64px);
}
.sec-head h2 { margin-bottom: var(--sp-3); }
.sec-head .lead {
  font-size: var(--fs-lead);
  line-height: 1.75;
  color: var(--body);
  max-width: 720px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-latin);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--teal-ink);
  margin-bottom: var(--sp-4);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  flex: none;
}
.eyebrow--teal { color: var(--teal-ink); }
.eyebrow--blue { color: var(--blue-ink); }
.eyebrow--purple { color: var(--purple-ink); }
.eyebrow--gold { color: var(--gold-ink); }

/* 小节标题 */
.block-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-5);
  border-bottom: 1px solid var(--line);
  padding-bottom: var(--sp-4);
  margin-bottom: var(--sp-6);
}
.block-head h3 { font-size: var(--fs-h3); }
.block-head .note {
  font-family: var(--font-latin), var(--font-cjk);
  font-size: var(--fs-xs);
  color: var(--muted);
  text-align: right;
  max-width: 46%;
  line-height: 1.6;
}

/* ==========================================================================
   05 顶部导航
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(247, 248, 246, .82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .92);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 20px -8px rgba(11, 34, 57, .12);
}
/* 首屏照片区内的导航：透明 + 白色文字 */
.site-header.is-overlay {
  background: linear-gradient(180deg, rgba(7, 23, 41, .46) 0%, rgba(7, 23, 41, .08) 100%);
  border-bottom-color: transparent;
}
.site-header.is-overlay .brand { color: #fff; }
.site-header.is-overlay .nav a { color: rgba(255, 255, 255, .92); }
.site-header.is-overlay .nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, .09);
}
.site-header.is-overlay .nav-toggle span,
.site-header.is-overlay .nav-toggle span::before,
.site-header.is-overlay .nav-toggle span::after {
  background: #fff;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
}

.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 26px; width: auto; }
.brand svg { height: 25px; width: auto; display: block; }

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.nav a {
  position: relative;
  padding: 9px 13px;
  font-size: var(--fs-sm);
  letter-spacing: .01em;
  color: var(--body);
  border-radius: var(--radius);
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s cubic-bezier(.22, .61, .36, 1);
}
.nav a:hover { color: var(--ink); background: rgba(11, 34, 57, .035); }
.nav a.is-active { color: var(--ink); font-weight: 600; }
.nav a.is-active::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  flex: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 17px;
  height: 1.6px;
  background: var(--ink);
  position: relative;
  transition: background .2s;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 17px;
  height: 1.6px;
  background: var(--ink);
  transition: transform .22s, top .22s;
}
.nav-toggle span::before { top: -5.5px; }
.nav-toggle span::after { top: 5.5px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ==========================================================================
   06 首屏
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--navy-900);
}
/* 背景层：四条业务线实景图循环 + 深藏青遮罩 */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg__item {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s ease, transform 7s ease;
}
.hero-bg__item.is-on { opacity: 1; visibility: visible; }
.hero-bg__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(7, 23, 41, .56) 0%,
    rgba(11, 34, 57, .64) 42%,
    rgba(11, 34, 57, .82) 76%,
    rgba(11, 34, 57, .96) 100%);
}
.hero .wrap {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--header-h) + 19vh);
  padding-bottom: 250px;
}
.hero-inner {
  max-width: 700px;
  margin-left: auto;
  text-align: right;
}
.hero h1 {
  font-size: clamp(40px, 5.2vw, 68px);
  line-height: var(--lh-display);
  letter-spacing: var(--ls-display);
  font-weight: 800;
  margin-bottom: var(--sp-6);
  color: #fff;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
}

/* 首屏按钮：实心品牌青绿 + 描边白 */
.hero .btn--primary {
  background: #06948F;
  color: #fff;
  border-color: transparent;
}
.hero .btn--primary:hover {
  background: #05807C;
  transform: translateY(-2px);
}
.hero .btn--ghost {
  border-color: rgba(255, 255, 255, .4);
  color: #fff;
  background: rgba(255, 255, 255, .05);
}
.hero .btn--ghost:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  transform: translateY(-2px);
  box-shadow: none;
}

/* 轮播指示点 */
.hero-dots {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: var(--sp-6);
}
.hero-dots button {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, .38);
  cursor: pointer;
  transition: background .25s, transform .25s, width .25s;
}
.hero-dots button.is-on {
  width: 26px;
  background: #2FC0B8;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 26px;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: .01em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: transform .2s, background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn--primary {
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: var(--teal);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn--ghost {
  border-color: var(--line);
  color: var(--ink);
  background: var(--surface);
}
.btn--ghost:hover {
  border-color: rgba(6, 148, 143, .5);
  color: var(--teal-ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.btn svg { width: 15px; height: 15px; }

/* 波纹装饰：全幅铺满，与手册封面同一构成语言 */
.wave-wrap {
  position: relative;
  margin-top: var(--sp-6);
  height: 208px;
  overflow: hidden;
  pointer-events: none;
}
.wave-wrap svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--wave);
}

/* ==========================================================================
   07 深色章节带
   ========================================================================== */
.band {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  padding: var(--sp-8) 0 var(--sp-9);
  overflow: hidden;
  background: var(--navy-900);
  isolation: isolate;
}
.band__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.band__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  transform: scale(1.02);
}
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(7, 23, 41, .76) 0%, rgba(7, 23, 41, .5) 32%,
      rgba(7, 23, 41, .93) 100%),
    linear-gradient(90deg, rgba(7, 23, 41, .86) 0%, rgba(7, 23, 41, .44) 58%,
      rgba(7, 23, 41, .2) 100%);
}
.band .wrap { position: relative; z-index: 1; }

.band__tag {
  font-family: var(--font-latin);
  font-size: var(--fs-2xs);
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(143, 222, 216, .92);
  margin-bottom: var(--sp-4);
}
.band h2 {
  color: #fff;
  font-size: clamp(27px, 3.6vw, 42px);
  line-height: 1.18;
  letter-spacing: -.02em;
  font-weight: 750;
  margin-bottom: var(--sp-4);
}
.band p {
  max-width: 600px;
  color: rgba(255, 255, 255, .85);
  font-size: 16px;
  line-height: 1.8;
}
.band__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  margin-top: var(--sp-6);
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(255, 255, 255, .14);
}
.band__foot img { height: 34px; width: auto; }
.band__foot svg { height: 21px; width: auto; display: block; }

/* ==========================================================================
   08 卡片与网格
   ========================================================================== */
.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--sp-6) var(--sp-5);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.card h3 { font-size: 19px; margin-bottom: var(--sp-3); }
.card p { font-size: var(--fs-sm); line-height: 1.78; }

.card--num { position: relative; padding-top: var(--sp-6); }
.card--num .n {
  display: block;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
  margin-bottom: var(--sp-4);
}
.card--tint-blue { background: var(--tint-blue); border-color: transparent; }
.card--tint-teal { background: var(--tint-teal); border-color: transparent; }
.card--tint-gold { background: var(--tint-gold); border-color: transparent; }

.c-blue { color: var(--blue); }
.c-teal { color: var(--teal); }
.c-purple { color: var(--purple); }
.c-gold { color: var(--gold); }

/* ==========================================================================
   09 流程步骤
   ========================================================================== */
.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  margin-top: var(--sp-2);
}
.flow__item {
  padding: var(--sp-5) var(--sp-5) var(--sp-5);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background .28s;
}
.flow__item:hover { background: var(--surface); }
.flow__item:last-child { border-right: 0; }
.flow__item .n {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 800;
  letter-spacing: .05em;
  margin-bottom: var(--sp-3);
}
.flow__item h4 { font-size: 16.5px; margin-bottom: var(--sp-2); }
.flow__item p { font-size: var(--fs-sm); line-height: 1.75; }
.flow--5 { grid-template-columns: repeat(5, 1fr); }
.flow--3 { grid-template-columns: repeat(3, 1fr); }

/* 深色流程图 */
.pathway {
  margin-top: var(--sp-6);
  background: linear-gradient(150deg, var(--navy-800) 0%, var(--navy-900) 100%);
  border-radius: var(--radius-lg);
  padding: var(--sp-6) var(--sp-6) var(--sp-7);
  color: rgba(255, 255, 255, .82);
  box-shadow: var(--shadow);
}
.pathway .k {
  font-family: var(--font-latin);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .48);
  margin-bottom: var(--sp-2);
}
.pathway h3 {
  color: #fff;
  font-size: 19px;
  font-weight: 650;
  letter-spacing: var(--ls-heading);
  margin-bottom: var(--sp-5);
}
.pathway .steps {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
}
.pathway .step {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: var(--fs-sm);
  color: #fff;
  font-weight: 500;
}
.pathway .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 3px rgba(6, 148, 143, .22);
  flex: none;
}
.pathway .arrow {
  flex: 1 1 24px;
  min-width: 24px;
  height: 1px;
  background: rgba(255, 255, 255, .2);
  position: relative;
}
.pathway .arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: -2.5px;
  width: 5px;
  height: 5px;
  border-top: 1px solid rgba(255, 255, 255, .42);
  border-right: 1px solid rgba(255, 255, 255, .42);
  transform: rotate(45deg);
}

/* ==========================================================================
   10 图文区
   ========================================================================== */
.callout {
  background: var(--tint-blue);
  border-radius: var(--radius);
  padding: var(--sp-5) var(--sp-5);
  font-size: var(--fs-sm);
  line-height: 1.78;
  color: var(--ink-2);
}
.callout .k {
  display: block;
  font-family: var(--font-latin);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--blue-ink);
  margin-bottom: 7px;
}
.callout--gold { background: var(--tint-gold); }
.callout--gold .k { color: var(--gold-ink); }

/* ==========================================================================
   11 图版与案例
   ========================================================================== */
.figcards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.figcard {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.figcard:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.figcard__media {
  padding: var(--sp-4) var(--sp-4) 0;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line-soft);
}
.figcard__media img {
  width: 100%;
  height: 196px;
  object-fit: contain;
}
.figcard--wide .figcard__media img { height: 226px; }
.figcard figcaption {
  padding: var(--sp-4) var(--sp-4) var(--sp-5);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.6;
  display: flex;
  gap: 9px;
  align-items: baseline;
}
.figcard figcaption .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  flex: none;
  transform: translateY(-2px);
}

.figstack { display: grid; gap: var(--gap); }
.figblock {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
}
.figblock__cap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: 0 var(--sp-1) var(--sp-4);
}
.figblock__cap h4 { font-size: 16px; }
.figblock__cap .en {
  font-family: var(--font-latin);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.figblock__media {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
}
.figblock__media img { width: 100%; }

/* 案例（英文标题 + 中文副题 + 图 + 亮点） */
.case {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: var(--gap);
}
.case__title {
  background: linear-gradient(140deg, var(--navy-800) 0%, var(--navy-900) 100%);
  border-radius: var(--radius);
  padding: var(--sp-5) var(--sp-5);
  margin-bottom: var(--sp-4);
}
.case__title .en {
  font-family: var(--font-latin);
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: #fff;
  font-weight: 500;
  letter-spacing: .005em;
  margin-bottom: var(--sp-3);
}
.case__title .cn {
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: rgba(255, 255, 255, .72);
  padding-top: var(--sp-3);
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.highlights {
  display: flex;
  flex-direction: column;
  background: var(--tint-blue);
  border-radius: var(--radius);
  padding: var(--sp-5);
}
.highlights h4 {
  font-size: var(--fs-sm);
  letter-spacing: .04em;
  margin-bottom: var(--sp-3);
  color: var(--blue-ink);
}
.highlights ul { display: grid; gap: 11px; }
.highlights li {
  position: relative;
  padding-left: var(--sp-4);
  font-size: var(--fs-sm);
  line-height: 1.78;
}
.highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
}
.hl-meta {
  margin-top: auto;
  padding-top: var(--sp-4);
  border-top: 1px solid rgba(32, 101, 143, .22);
  display: grid;
  gap: 7px;
}
.hl-meta p {
  display: flex;
  gap: 10px;
  font-size: var(--fs-xs);
  line-height: 1.65;
  color: var(--muted);
}
.hl-meta b {
  flex: none;
  min-width: 2.5em;
  font-weight: 600;
  color: var(--blue-ink);
}

/* ==========================================================================
   12 服务矩阵
   ========================================================================== */
.mgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
}
.mitem {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--sp-4) var(--sp-5) var(--sp-5);
  background: var(--surface);
  border-left-width: 3px;
  transition: transform .22s, box-shadow .22s;
}
.mitem:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.mitem .no {
  font-size: var(--fs-2xs);
  font-weight: 800;
  letter-spacing: .06em;
}
.mitem h4 { font-size: 16px; margin: 7px 0 var(--sp-3); }
.mitem dl { display: grid; gap: 6px; font-size: var(--fs-xs); }
.mitem .row { line-height: 1.7; }
.mitem .row:last-child { margin-top: auto; padding-top: 10px; }
.mitem .row .lab {
  display: inline-block;
  min-width: 34px;
  font-weight: 650;
  color: var(--ink);
}
/* 组学卡片主题色变体（对应 mgrid 8 张卡片） */
.mitem--blue   { border-left-color: var(--blue); }
.mitem--blue .no, .mitem--blue h4, .mitem--blue .row--lead { color: var(--blue); }
.mitem--red    { border-left-color: #C0453F; }
.mitem--red .no, .mitem--red h4, .mitem--red .row--lead { color: #C0453F; }
.mitem--teal   { border-left-color: var(--teal); }
.mitem--teal .no, .mitem--teal h4, .mitem--teal .row--lead { color: var(--teal); }
.mitem--gold   { border-left-color: var(--gold); }
.mitem--gold .no, .mitem--gold h4, .mitem--gold .row--lead { color: var(--gold); }
.mitem--purple { border-left-color: var(--purple); }
.mitem--purple .no, .mitem--purple h4, .mitem--purple .row--lead { color: var(--purple); }
.mitem .row--lead { font-size: 13.5px; font-weight: 600; }

/* KPI 条 */
.kpi {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: var(--sp-5);
}
.kpi div { background: var(--surface); padding: var(--sp-5) var(--sp-5); }
.kpi .v {
  display: block;
  font-size: 25px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.03em;
  line-height: 1.15;
  margin-bottom: 2px;
}
.kpi .k { font-size: var(--fs-xs); color: var(--muted); letter-spacing: .01em; }

.note-line {
  margin-top: var(--sp-5);
  font-size: var(--fs-xs);
  color: var(--muted);
  display: flex;
  align-items: flex-start;
  gap: 9px;
  line-height: 1.7;
}
.note-line::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--muted-2);
  flex: none;
  margin-top: 9px;
}

/* ==========================================================================
   13 项目清单（WetLab 三栏）
   ========================================================================== */
.cols3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.pcol {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s;
}
.pcol:hover { box-shadow: var(--shadow); }
.pcol__top {
  padding: 0 0 var(--sp-4);
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--sp-4);
  min-height: 112px;
}
.pcol__no {
  font-family: var(--font-latin);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 9px;
}
.pcol h3 { font-size: 19px; margin-bottom: var(--sp-2); }
.pcol__sub { font-size: var(--fs-xs); color: var(--muted); line-height: 1.7; }
.pcol__fold {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  overflow: hidden;
}
.pcol__fold > summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  transition: background .2s;
}
.pcol__fold > summary::-webkit-details-marker { display: none; }
.pcol__fold > summary i {
  font-style: normal;
  font-size: var(--fs-2xs);
  font-weight: 500;
  color: var(--muted);
}
.pcol__fold > summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.7px solid var(--muted);
  border-bottom: 1.7px solid var(--muted);
  transform: rotate(45deg);
  transition: transform .25s;
  margin-top: -3px;
  flex: none;
}
.pcol__fold[open] > summary::after { transform: rotate(-135deg); margin-top: 3px; }
.pcol__fold > summary:hover { background: var(--surface); }
.pcol__fold .pcol__list {
  border-top: 1px solid var(--line);
  padding: var(--sp-3) 14px var(--sp-4);
}
.pcol__list { display: grid; gap: var(--sp-3); }
.pcol__list li { padding-left: 15px; position: relative; }
.pcol__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  opacity: .5;
}
.pcol__list .t {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 650;
  color: var(--ink);
  line-height: 1.55;
}
.pcol__list .d {
  display: block;
  font-size: var(--fs-xs);
  color: var(--body);
  line-height: 1.7;
  margin-top: 2px;
}
.pcol__fit { margin-top: auto; padding-top: var(--sp-5); }
.pcol__fit .fit {
  border-radius: var(--radius);
  padding: var(--sp-4);
  font-size: var(--fs-xs);
  line-height: 1.75;
}
.pcol__fit .fit b { display: block; color: var(--ink); font-weight: 650; margin-bottom: 3px; }
.pcol--blue { color: var(--blue); }
.pcol--blue .pcol__no { color: var(--blue-ink); }
.pcol--blue .fit { background: var(--tint-blue); color: var(--body); }
.pcol--blue .fit b { color: var(--blue-ink); }
.pcol--teal { color: var(--teal); }
.pcol--teal .pcol__no { color: var(--teal-ink); }
.pcol--teal .fit { background: var(--tint-teal); color: var(--body); }
.pcol--teal .fit b { color: var(--teal-ink); }
.pcol--gold { color: var(--gold); }
.pcol--gold .pcol__no { color: var(--gold-ink); }
.pcol--gold .fit { background: var(--tint-gold); color: var(--body); }
.pcol--gold .fit b { color: var(--gold-ink); }

/* ==========================================================================
   14 公司介绍扩展区块
   ========================================================================== */
.about-intro__text h3 {
  font-size: clamp(20px, 2.1vw, 25px);
  line-height: 1.4;
  margin-bottom: var(--sp-5);
}
.about-intro__text p { font-size: clamp(16px, 1.08vw, 17px); line-height: 1.95; }
.about-intro__text p + p { margin-top: var(--sp-4); }

/* 断点卡 */
.issue {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  transition: box-shadow .25s, transform .25s;
}
.issue:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.issue__no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: var(--fs-xs);
  font-weight: 800;
  background: var(--tint-navy);
  color: var(--blue-ink);
  margin-bottom: var(--sp-4);
}
.issue h4 { font-size: 16.5px; margin-bottom: var(--sp-3); }
.issue p { font-size: var(--fs-sm); line-height: 1.78; }
.issue .fix {
  margin-top: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px dashed var(--line);
  font-size: var(--fs-xs);
  line-height: 1.75;
  color: var(--body);
}
.issue .fix b { color: var(--teal-ink); font-weight: 700; }

/* 能力矩阵表 */
.mtable-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  -webkit-overflow-scrolling: touch;
}
.mtable-hint {
  display: none;
  margin-top: var(--sp-3);
  font-size: var(--fs-2xs);
  color: var(--muted);
  text-align: right;
}
.mtable { width: 100%; min-width: 780px; }
.mtable caption {
  caption-side: top;
  text-align: left;
  padding: var(--sp-4) var(--sp-5) var(--sp-1);
  font-size: var(--fs-xs);
  color: var(--muted);
  line-height: 1.7;
}
.mtable th,
.mtable td {
  padding: var(--sp-4) var(--sp-5);
  text-align: left;
  vertical-align: top;
  font-size: var(--fs-sm);
  line-height: 1.75;
  border-bottom: 1px solid var(--line-soft);
}
.mtable thead th {
  padding: 14px var(--sp-5);
  font-family: var(--font-latin);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.mtable thead th:nth-child(1) { width: 27%; }
.mtable thead th:nth-child(2) { width: 17%; }
.mtable thead th:nth-child(3) { width: 56%; }
.mtable tbody tr:last-child th,
.mtable tbody tr:last-child td { border-bottom: 0; }
.mtable tbody tr:hover { background: var(--surface-2); }
.mtable tbody th {
  border-left: 3px solid transparent;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  letter-spacing: var(--ls-heading);
}
.mtable tbody th .en {
  display: block;
  font-family: var(--font-latin);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 5px;
}
.mtable .row-blue th { border-left-color: var(--blue); }
.mtable .row-teal th { border-left-color: var(--teal); }
.mtable .row-purple th { border-left-color: var(--purple); }
.mtable .row-gold th { border-left-color: var(--gold); }
.mtable td .stage {
  display: inline-block;
  font-size: var(--fs-2xs);
  font-weight: 700;
  letter-spacing: .01em;
  padding: 4px 10px;
  border-radius: 20px;
  background: var(--tint-navy);
  color: var(--ink-2);
  white-space: nowrap;
}

.hg-item {
  padding: var(--sp-5) 0 var(--sp-5);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: var(--sp-4);
}
.hg-item .no {
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--gold-ink);
  padding-top: 3px;
}
.hg-item h4 { font-size: 16px; margin-bottom: 7px; }
.hg-item .cov {
  font-size: var(--fs-2xs);
  font-weight: 600;
  color: var(--gold-ink);
  line-height: 1.7;
  margin-bottom: 7px;
}
.hg-item p { font-size: var(--fs-xs); line-height: 1.78; }

/* ==========================================================================
   16 页脚
   ========================================================================== */
.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, .72);
  padding: 0 0 var(--sp-6);
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 420px at 12% 0%, rgba(6, 148, 143, .12), transparent 70%);
  pointer-events: none;
}
.footer-hero { padding: clamp(64px, 7vw, 92px) 0 var(--sp-2); position: relative; z-index: 2; }
.footer-hero h2 {
  color: #fff;
  font-size: clamp(23px, 2.9vw, 33px);
  line-height: 1.42;
  letter-spacing: var(--ls-heading);
  font-weight: 700;
  max-width: 700px;
  margin-bottom: var(--sp-5);
}
.footer-hero .tag {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 16px;
  color: var(--teal);
  font-weight: 650;
}
.footer-hero .tag::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--teal);
}
.footer-wave {
  height: 172px;
  position: relative;
  margin: var(--sp-2) 0 var(--sp-2);
  overflow: hidden;
  opacity: .5;
}
.footer-wave svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: #4E7F82;
}

.footer-body {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--sp-7);
  padding: var(--sp-6) 0 var(--sp-6);
  border-top: 1px solid rgba(255, 255, 255, .13);
}
.footer-body img { height: 24px; width: auto; margin-bottom: var(--sp-4); }
.footer-body h4 {
  color: #fff;
  font-family: var(--font-latin);
  font-size: var(--fs-2xs);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
}
.footer-body p,
.footer-body li { font-size: var(--fs-sm); line-height: 1.9; }
.footer-body ul { display: grid; gap: 3px; }
.footer-body a { transition: color .2s; }
.footer-body a:hover { color: var(--teal); }
.footer-nav a { color: rgba(255, 255, 255, .72); }

.footer-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-6);
  align-items: center;
  justify-content: space-between;
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(255, 255, 255, .13);
  font-size: var(--fs-2xs);
  color: rgba(255, 255, 255, .5);
}
.footer-bottom .disclaim { max-width: 760px; line-height: 1.75; }

/* 版权与备案号（备案号须可点击跳转工信部备案系统） */
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
  flex: none;
}
.footer-legal a {
  color: rgba(255, 255, 255, .64);
  border-bottom: 1px solid rgba(255, 255, 255, .22);
  padding-bottom: 1px;
  transition: color .2s, border-color .2s;
}
.footer-legal a:hover { color: #fff; border-bottom-color: rgba(255, 255, 255, .5); }

/* ==========================================================================
   18 动效与浮动控件
   ========================================================================== */
/* 入场动效：默认可见；只有在 JS 可用（html.js）时才先隐藏。
   这样禁用 JS、脚本加载失败或执行报错都不会导致整页空白。 */
.reveal { opacity: 1; transform: none; }
html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s cubic-bezier(.22, .61, .36, 1),
              transform .7s cubic-bezier(.22, .61, .36, 1);
}
html.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- 18b. 图版放大提示与灯箱 ---------- */
.figcard__media,
.figblock__media { position: relative; }

.zoomable { cursor: zoom-in; }

.figcard__media::after,
.figblock__media::after {
  content: "";
  position: absolute;
  right: 22px;
  bottom: 12px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: rgba(11, 34, 57, .68);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23ffffff' stroke-width='1.9' stroke-linecap='round'><path d='M8 3.5v9M3.5 8h9'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 13px 13px;
  opacity: 0;
  transform: scale(.85);
  transition: opacity .25s, transform .25s;
  pointer-events: none;
}
.figcard:hover .figcard__media::after,
.figblock:hover .figblock__media::after { opacity: 1; transform: none; }

html.lb-open { overflow: hidden; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  background: rgba(5, 16, 29, .95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, visibility .25s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }

.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: 14px var(--gutter);
  color: rgba(255, 255, 255, .82);
}
.lightbox__cap {
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.5;
  min-width: 0;
}
.lightbox__cap span {
  display: block;
  font-family: var(--font-latin);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .5);
  margin-top: 2px;
}
.lightbox__tools { display: flex; align-items: center; gap: 8px; flex: none; }
.lightbox__tools a,
.lightbox__tools button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 40px;
  padding: 0 14px;
  border-radius: var(--radius);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  transition: background .2s;
}
.lightbox__tools button { width: 40px; padding: 0; }
.lightbox__tools a:hover,
.lightbox__tools button:hover { background: rgba(255, 255, 255, .22); }
.lightbox__tools svg { width: 15px; height: 15px; }

.lightbox__stage {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 0 var(--gutter);
  overflow: auto;
}
.lightbox__stage img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6);
}

.lightbox__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  padding: 14px var(--gutter) 18px;
  font-size: var(--fs-2xs);
  color: rgba(255, 255, 255, .55);
}
.lightbox__nav button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  transition: background .2s;
}
.lightbox__nav button:hover:not(:disabled) { background: rgba(255, 255, 255, .22); }
.lightbox__nav button:disabled { opacity: .3; cursor: default; }
.lightbox__nav svg { width: 15px; height: 15px; }

@media (max-width: 620px) {
  .lightbox__cap { font-size: var(--fs-xs); }
  .lightbox__cap span { display: none; }
  .lightbox__tools a span { display: none; }
  .lightbox__tools a { width: 40px; padding: 0; }
}

/* ==========================================================================
   19 响应式
   ========================================================================== */
@media (max-width: 1080px) {
  .figcards { grid-template-columns: repeat(2, 1fr); }
  .mgrid { grid-template-columns: repeat(2, 1fr); }
  .flow--5 { grid-template-columns: repeat(3, 1fr); }
  .footer-body { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --header-h: 62px; }
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .site-header.is-open .nav {
    display: flex;
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--sp-3) var(--gutter) var(--sp-5);
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .site-header.is-open .nav a {
    padding: 14px 2px;
    border-bottom: 1px solid var(--line-soft);
    font-size: 16px;
  }
  .site-header.is-open .nav a::after { display: none; }
  .site-header.is-open .nav a:hover { background: transparent; }
  .site-header.is-overlay.is-open .nav a { color: var(--body); }
  .site-header.is-overlay.is-open .nav a:hover { color: var(--ink); }

  .grid--3, .cols3, .mgrid { grid-template-columns: repeat(2, 1fr); }
  .flow, .flow--5, .flow--3 { grid-template-columns: repeat(2, 1fr); }
  .flow__item { border-right: 0; }
  .flow__item:nth-child(odd) { border-right: 1px solid var(--line); }
  .case { grid-template-columns: 1fr; }
  .hg-index { grid-template-columns: 1fr; gap: 0; }

  .band { min-height: 400px; padding: var(--sp-7) 0; }
  .band h2 { font-size: clamp(25px, 5.4vw, 34px); }
  .hero { min-height: 94vh; }
  .hero .wrap { padding-top: calc(var(--header-h) + 7vh); padding-bottom: 150px; }
  .wave-wrap { height: 150px; margin-top: var(--sp-5); }

  .pcol__top { min-height: 0; }
}

@media (max-width: 620px) {
  :root {
    --fs-body: 15px;
    --sec-y: 44px;
    --sec-y-tight: 48px;
    --gutter: 20px;
  }
  .hero .wrap { padding-top: calc(var(--header-h) + 5vh); padding-bottom: 130px; }
  .hero-dots { margin-top: var(--sp-5); }
  .wave-wrap { height: 112px; margin-top: var(--sp-4); }

  .grid--2, .grid--3, .cols3, .mgrid, .figcards { grid-template-columns: 1fr; }
  .flow, .flow--5, .flow--3 { grid-template-columns: 1fr; }
  .flow__item { border-right: 0 !important; }

  .band__foot { margin-top: var(--sp-5); padding-top: var(--sp-4); }
  .band__foot img { height: 28px; }
  .band__foot svg { height: 18px; }

  .kpi { grid-template-columns: repeat(2, 1fr); }
  .kpi .v { font-size: 22px; }

  .footer-body { grid-template-columns: 1fr; gap: var(--sp-6); }
  .pathway { padding: var(--sp-5) var(--sp-5); }
  .pathway .steps { flex-direction: column; align-items: stretch; gap: 11px; }
  .pathway .arrow { display: none; }

  .block-head { flex-direction: column; align-items: flex-start; gap: 7px; }
  .block-head .note { text-align: left; max-width: none; }
  .figblock__cap { flex-direction: column; gap: 4px; }

  .mtable th, .mtable td { padding: 14px 16px; }
  .mtable thead th { padding: 12px 16px; }
  .mtable caption { padding: var(--sp-4) var(--sp-4) 0; }
  .mtable-wrap { border-radius: var(--radius); }
  .mtable-hint { display: block; }
}

/* 大屏略微放宽版心与节律，避免超宽屏文字行过长 */
@media (min-width: 1500px) {
  :root {
    --wrap: 1240px;
    --sec-y: 112px;
  }
}

/* ==========================================================================
   20. 内页（业务线落地页）
   ========================================================================== */
/* 块级折叠（能力矩阵等服务一览表，原生 details，无需 JS） */
.fold {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.fold > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 18px;
  cursor: pointer;
  list-style: none;
  padding: 16px 22px;
  font-size: 15.5px;
  font-weight: 650;
  color: var(--ink);
  letter-spacing: var(--ls-heading);
  transition: background .2s;
}
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary:hover { background: var(--surface-2); }
.fold__note {
  font-size: var(--fs-2xs);
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .01em;
}
.fold__arw {
  width: 15px;
  height: 15px;
  color: var(--muted);
  transition: transform .25s;
  margin-left: auto;
}
.fold[open] > summary .fold__arw { transform: rotate(180deg); }
.fold__body {
  border-top: 1px solid var(--line);
  padding: 18px 22px 22px;
}

/* 常见问题（原生 details，无需 JS） */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 36px 18px 0;
  position: relative;
  font-size: 15.5px;
  font-weight: 650;
  color: var(--ink);
  line-height: 1.6;
  letter-spacing: var(--ls-heading);
  transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 26px;
  width: 8px;
  height: 8px;
  border-right: 1.8px solid var(--muted);
  border-bottom: 1.8px solid var(--muted);
  transform: rotate(45deg);
  transition: transform .25s, top .25s;
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 30px; }
.faq summary:hover { color: var(--teal-ink); }
.faq details p {
  padding: 0 46px 22px 0;
  font-size: var(--fs-sm);
  line-height: 1.85;
  color: var(--body);
  max-width: 840px;
}

.mtable .row-red th { border-left-color: #C0453F; }

@media (max-width: 900px) {
  .faq details p { padding-right: 20px; }
}

/* 打印：仅保留内容，去掉装饰与浮层 */
@media print {
  .site-header, .wave-wrap, .footer-wave, .reveal { display: none !important; }
  body { background: #fff; }
  .band { min-height: 0; padding: 24px 0; }
  .band__media, .band::after { display: none; }
  .band h2, .band__tag { color: var(--ink) !important; }
  .band p { color: var(--body) !important; }
  .section, .section--tight { padding: 24px 0; }
  a { text-decoration: none; }
}

/* 悬浮快捷联系（右侧） */
.fabs {
  position: fixed;
  right: 16px;
  bottom: 88px;
  z-index: 70;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fabs .fab {
  position: relative;
  width: 46px; height: 46px;
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  text-decoration: none;
  border: 0; cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background .2s, transform .2s;
}
.fabs .fab:hover { background: var(--teal); transform: translateY(-2px); }
.fabs .fab svg { width: 18px; height: 18px; }
.fabs .fab em { font-style: normal; font-size: 10px; line-height: 1; opacity: .85; }
.fabs .fab__qr {
  position: absolute;
  right: 54px;
  top: 50%;
  transform: translateY(-50%) scale(.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s, transform .2s, visibility .2s;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 10px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  width: 160px;
}
.fabs .fab__qr img { width: 140px; height: 140px; display: block; max-width: none; }
.fabs .fab__qr span { display: block; font-size: 11.5px; color: var(--ink); margin-top: 6px; }
.fabs .fab:hover .fab__qr,
.fabs .fab:focus-visible .fab__qr { opacity: 1; visibility: visible; transform: translateY(-50%) scale(1); }
.fabs .fab--top { background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.fabs .fab--top:hover { background: var(--surface-2); color: var(--teal-ink); transform: translateY(-2px); }
@media (max-width: 620px) {
  .fabs { right: 10px; bottom: 76px; }
  .fabs .fab { width: 40px; height: 40px; }
  .fabs .fab em { display: none; }
  .fabs .fab__qr { right: 48px; }
}

/* ==========================================================================
   首页业务线入口卡（services 区）
   ========================================================================== */
.svcgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
}
.svccard {
  position: relative;
  display: block;
  height: 260px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  isolation: isolate;
}
.svccard img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.svccard:hover img { transform: scale(1.05); }
.svccard__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(11, 34, 57, .18) 0%, rgba(11, 34, 57, .72) 100%);
}
.svccard__body {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  color: #fff;
}
.svccard__no {
  font-family: var(--font-latin);
  font-size: var(--fs-2xs);
  font-weight: 800;
  letter-spacing: .18em;
  color: #7FD8D2;
}
.svccard__body b {
  font-size: 19px;
  font-weight: 750;
  letter-spacing: var(--ls-heading);
}
.svccard__body i {
  font-style: normal;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .78);
}
.svccard__body em {
  font-style: normal;
  margin-top: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: #7FD8D2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .2s ease;
}
.svccard__body em::after {
  content: "→";
  font-size: 15px;
}
.svccard:hover .svccard__body em { gap: 10px; }
@media (max-width: 860px) {
  .svcgrid { grid-template-columns: 1fr; }
  .svccard { height: 210px; }
}

/* 公司介绍：左文右图 */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.about-photo {
  margin: 0;
}
.about-photo img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: center 25%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* 联系我们（并入公司介绍）：浅色底 */
.about-contact {
  margin-top: clamp(48px, 5vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
}
.about-contact h3 {
  font-size: clamp(21px, 2.2vw, 27px);
  color: var(--navy);
  line-height: 1.35;
  margin: 10px 0 14px;
}
.about-contact__lead {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  max-width: 470px;
  color: var(--body);
}
.about-contact__list { display: grid; gap: var(--sp-4); margin-top: var(--sp-5); }
.about-contact__list li { display: grid; gap: 4px; }
.about-contact__list .k {
  font-family: var(--font-latin);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.about-contact__list .v { font-size: var(--fs-sm); color: var(--ink); line-height: 1.7; }
.about-contact__list .mail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  font-family: var(--font-latin);
  font-size: clamp(18px, 1.7vw, 22px);
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--navy);
  border-bottom: 1px solid rgba(6, 148, 143, .35);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.about-contact__list .mail:hover { color: var(--teal); border-bottom-color: var(--teal); }
.about-contact__qr {
  margin: 0;
  display: grid;
  justify-items: center;
  gap: var(--sp-4);
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--sp-5) var(--sp-5) var(--sp-4);
  max-width: 268px;
}
.about-contact__qr .qr-box { line-height: 0; }
.about-contact__qr .qr-box img { width: 176px; height: 176px; border-radius: var(--radius-xs); }
.about-contact__qr figcaption { display: grid; gap: 6px; text-align: center; }
.about-contact__qr figcaption b { font-size: var(--fs-xs); font-weight: 700; color: var(--navy); letter-spacing: var(--ls-heading); }
.about-contact__qr figcaption span { font-size: 11.5px; line-height: 1.6; color: var(--muted); }

@media (max-width: 860px) {
  .about-contact { grid-template-columns: 1fr; }
  .about-contact__qr { max-width: 100%; }
}
