/* ==========================================================================
   恒易泰 · 公开企业站专属样式
   --------------------------------------------------------------------------
   依赖 base.css（设计令牌与通用组件：.btn / .card / .badge / .table / .field
   / .input / .modal / .grid-* / .section / .container / .eyebrow / .kpi-*）
   本文件只补充公开站独有的版式：站点头部、页脚、英雄区、产品卡、新闻卡、
   时间线、联系区、移动端菜单。所有颜色均取自 base.css 的令牌。
   ========================================================================== */

/* ---------- 页面骨架 ---------- */
body.site { display: flex; flex-direction: column; min-height: 100vh; background: var(--bg); }
.site-main { flex: 1 0 auto; }
.site-main > section:first-child { padding-top: 0; }
::selection { background: var(--accent-soft); }

/* ==========================================================================
   1. 站点头部
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--tr), border-color var(--tr);
}
.site-header.is-stuck { box-shadow: var(--shadow); border-color: transparent; }
.site-header .container { display: flex; align-items: center; gap: 18px; min-height: var(--header-h); }

/* 品牌 */
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); flex: none; }
.brand:hover { color: var(--text); }
.brand-mark {
  width: 40px; height: 40px; border-radius: 11px; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--brand-700), var(--brand-500) 55%, var(--accent));
  color: #fff; font-weight: 800; font-size: 1.16rem; letter-spacing: 0.02em;
  box-shadow: 0 6px 16px rgba(18, 104, 168, 0.28);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-weight: 800; font-size: 1.02rem; letter-spacing: -0.01em; }
.brand-sub { font-size: 0.7rem; color: var(--text-3); letter-spacing: 0.06em; text-transform: uppercase; }

/* 主导航
   注意：以下链接样式一律加 :not(.btn)，避免选择器权重（0,1,1）压过 base.css 的
   .btn-primary（0,1,0）——否则「客户登录」按钮会出现深色字压深色底、hover 变浅灰底的问题。 */
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav a:not(.btn) {
  display: block; padding: 8px 13px; border-radius: var(--radius-sm);
  color: var(--text-2); font-weight: 600; font-size: 0.93rem; white-space: nowrap;
  transition: color var(--tr), background var(--tr);
}
.site-nav a:not(.btn):hover { color: var(--brand-600); background: var(--brand-50); }
.site-nav a:not(.btn).is-active { color: var(--brand-600); background: var(--brand-50); }
.site-nav a:not(.btn).is-active::after {
  content: ""; display: block; height: 2px; margin: 5px auto -2px; width: 18px;
  background: linear-gradient(90deg, var(--brand-500), var(--accent)); border-radius: 2px;
}
/* 页头 CTA 按钮：显式锁定 base.css 的主按钮外观（普通态 / hover 态） */
.site-nav .nav-cta a.btn-primary,
.site-nav .nav-cta a.btn-primary:hover { color: #fff; }
.site-nav .nav-cta a.btn-primary { border-bottom: none; }
.site-actions { display: flex; align-items: center; gap: 10px; flex: none; }

/* 汉堡按钮 */
.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: var(--radius);
  border: 1px solid var(--border-strong); background: var(--bg);
  cursor: pointer; padding: 0; place-items: center;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--brand-700); border-radius: 2px; transition: transform var(--tr), opacity var(--tr); }
.nav-toggle span + span { margin-top: 4px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* 移动端抽屉 */
@media (max-width: 1024px) {
  .nav-toggle { display: grid; order: 3; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0;
    background: var(--panel); border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg); padding: 10px 16px 22px;
    transform: translateY(-120%); opacity: 0; pointer-events: none;
    transition: transform 0.24s cubic-bezier(0.4, 0, 0.2, 1), opacity var(--tr);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .site-nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .site-nav a:not(.btn) { padding: 13px 10px; border-bottom: 1px solid var(--border); border-radius: 0; font-size: 1rem; }
  .site-nav a:not(.btn).is-active::after { display: none; }
  .site-nav .nav-cta { margin-top: 14px; padding: 0; border-bottom: none; }
  .site-nav .nav-cta a.btn { width: 100%; padding: 11px 18px; border-bottom: none; font-size: 0.95rem; border-radius: var(--radius); }
}
@media (max-width: 640px) {
  .brand-sub { display: none; }
  .site-actions .lang-switch { display: none; }
  .site-nav .nav-lang { display: flex; justify-content: center; margin-top: 16px; }
}
@media (min-width: 641px) { .site-nav .nav-lang { display: none; } }
/* 1025~1200px：导航为行内布局，压缩品牌副标题避免与导航抢位 */
@media (min-width: 1025px) and (max-width: 1200px) { .brand-sub { display: none; } }

/* ==========================================================================
   2. 英雄区（深色渐变 + 细网格纹理）
   ========================================================================== */
.hero {
  position: relative; overflow: hidden; color: #eaf3fb;
  background:
    radial-gradient(1000px 460px at 84% 6%, rgba(23, 184, 200, 0.22), transparent 62%),
    radial-gradient(760px 420px at 6% 96%, rgba(18, 104, 168, 0.34), transparent 66%),
    /* 压暗层：紧贴世界地图之上 —— 想让地图更淡/更明显，只改这一行的 alpha。
       0.08 基本不压暗，只是保留一个可调旋钮。 */
    linear-gradient(rgba(6, 24, 42, 0.08), rgba(6, 24, 42, 0.08)),
    /* 点阵世界地图：由 Natural Earth 110m 陆地边界（公有领域）离线生成，
       非第三方库、无运行时请求，透明度已烘焙进图片。
       用 100% auto 而不是 cover —— cover 在横幅比例下会左右各裁掉约 5%，
       导致阿拉斯加与东亚边缘缺失，世界地图读不完整。 */
    url('/assets/img/world-dots.webp') center 44% / 100% auto no-repeat,
    linear-gradient(152deg, var(--brand-950) 0%, var(--brand-900) 44%, var(--brand-800) 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 52px 52px, 52px 52px;
  mask-image: radial-gradient(circle at 50% 34%, #000 8%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 34%, #000 8%, transparent 80%);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 150px; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(4, 24, 43, 0.5));
}
.hero > .container { position: relative; z-index: 1; }
.hero-inner { padding: 78px 0 62px; max-width: 860px; }
.hero h1 { color: #fff; margin-bottom: 18px; font-size: clamp(1.95rem, 4vw, 3.15rem); letter-spacing: -0.02em; }
/* 品牌定位语（来自 /api/public/bootstrap 的 company.positionZh/En） */
.hero-position {
  display: inline-block; margin: 0 0 18px; padding: 7px 15px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22); background: rgba(23, 184, 200, 0.15);
  color: #d8ecf7; font-size: 0.86rem; line-height: 1.6;
}
.hero-position:empty { display: none; }
.hero .hero-lead { font-size: 1.08rem; color: #b9d1e6; max-width: 700px; margin-bottom: 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero .btn-outline { border-color: rgba(255, 255, 255, 0.42); color: #eaf3fb; }
.hero .btn-outline:hover { border-color: var(--accent-light); color: #fff; background: rgba(23, 184, 200, 0.14); }
.hero-note { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.hero-note span { font-size: 0.85rem; color: #94b3cd; white-space: nowrap; }
.hero-note b { color: #fff; font-family: var(--font-mono); font-weight: 700; }

/* 英雄区数据条 */
.hero-stats { position: relative; z-index: 1; border-top: 1px solid rgba(255, 255, 255, 0.13); background: rgba(4, 24, 43, 0.42); }
.stats-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(168px, 1fr)); gap: 1px; }
.stat-item { padding: 24px 18px; text-align: center; border-right: 1px solid rgba(255, 255, 255, 0.1); }
.stat-item:last-child { border-right: none; }
.stat-value { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 700; color: #fff; line-height: 1.1; letter-spacing: -0.02em; }
.stat-value .stat-unit { font-size: 0.62em; margin-left: 3px; color: var(--accent-light); font-weight: 600; }
/* ---- 文字型统计值（「独立 / 平行」）比数字长得多 ----
   统计条每格宽度固定（宽屏下可用宽约 163px），而字号用 2.6vw 会随屏幕变宽，
   所以「独立 / 平行」在 1280px 以上必然换行。实测：
     · 中文「独立 / 平行」在 33.6px 时宽 188px，单行需 ≤ 29.1px
     · 英文「Standalone / Parallel」在 33.6px 时宽 374px，单行需 ≤ 14.6px
   故按语言各给一档：中文 28px 封顶，英文 13.6px 封顶。 */
.stat-value[data-stat="vesselRange"] { font-size: clamp(1.05rem, 1.9vw, 1.75rem); }
html[lang="en"] .stat-value[data-stat="vesselRange"] { font-size: clamp(0.78rem, 0.95vw, 0.85rem); }
.stat-label { margin-top: 6px; font-size: 0.8rem; color: #93b0ca; letter-spacing: 0.05em; }
.stat-item.is-loading .stat-value { opacity: 0.45; }

/* 浅色版面使用的数据条（无英雄区页面） */
.stats-strip-light { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.stats-strip-light .stat-item { border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--panel); padding: 20px 16px; }
.stats-strip-light .stat-value { color: var(--brand-700); }
.stats-strip-light .stat-value .stat-unit { color: var(--accent-dark); }
.stats-strip-light .stat-label { color: var(--text-3); }

/* ==========================================================================
   3. 页面横幅（内页标题区）
   ========================================================================== */
.page-hero {
  position: relative; overflow: hidden; color: #eaf3fb; padding: 56px 0 50px;
  background:
    radial-gradient(820px 380px at 88% 0%, rgba(23, 184, 200, 0.2), transparent 60%),
    linear-gradient(140deg, var(--brand-950), var(--brand-800));
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; opacity: 0.42; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 46px 46px, 46px 46px;
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero p { color: #b3cce2; max-width: 760px; margin: 0; }
.page-hero .eyebrow { color: var(--accent-light); }
.page-hero .eyebrow::before { background: var(--accent-light); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 0.82rem; color: #8fadc7; margin-bottom: 14px; }
.breadcrumb a { color: #b9d1e6; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span.sep { opacity: 0.5; }

/* ==========================================================================
   4. 产品卡
   ========================================================================== */
.product-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.product-thumb {
  position: relative; height: 138px; display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(140deg, var(--brand-900), var(--brand-700) 58%, var(--brand-600));
}
.product-thumb::before {
  content: ""; position: absolute; inset: 0; opacity: 0.55;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 26px 26px, 26px 26px;
}
.product-thumb .pt-ico { position: relative; font-size: 2.7rem; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.3)); }
.product-thumb .pt-cat {
  position: absolute; left: 14px; bottom: 12px; z-index: 1;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: #cfe6f4; background: rgba(4, 24, 43, 0.45); border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 3px 9px; border-radius: 999px;
}
/* ---- 有真实产品照片时的缩略图：照片抠去底色，直接浮在品牌渐变带上 ----
   居中与限高用「绝对定位 + transform 居中 + 百分比 max-*」：
   绝对定位元素的包含块是 .product-thumb 的内边距盒（高度确定），
   百分比 max-height 才能正确解析。若用 grid/flex 居中，
   行高会由图片自身内容反推，形成循环依赖，导致 height:100% 失效、图片被裁。 */
.product-thumb.has-photo { height: 196px; }
.product-thumb.has-photo::before { opacity: 0.3; }
.product-thumb .pt-photo {
  position: absolute; inset: 12px 16px 6px; z-index: 1;
}
.product-thumb .pt-photo img {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  max-width: 100%; max-height: 100%; width: auto; height: auto;
  object-fit: contain; display: block;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.42));
}
/* ---- 界面截图 / 实景照：底色不透明，不能像产品照那样抠底浮在深色带上，
        因此放进一个浅色面板里展示（圆角 + 投影）。
        居中方式同理：绝对定位 + transform，百分比限高才可靠。 */
.product-thumb.has-shot { height: 196px; }
.product-thumb.has-shot::before { opacity: 0.3; }
.product-thumb .pt-shot {
  position: absolute; inset: 16px 18px 14px; z-index: 1; overflow: hidden;
  background: #fff; border-radius: 9px; border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.38);
}
.product-thumb .pt-shot img {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  max-width: 100%; max-height: 100%; width: auto; height: auto;
  object-fit: contain; display: block;
}
.thumb-bioreactor { background: linear-gradient(140deg, #06283d, #0d6f8c 58%, #2fd0c8); }
.thumb-offgas { background: linear-gradient(140deg, #06303f, #0b5f74 58%, var(--accent-dark)); }
.thumb-workstation { background: linear-gradient(140deg, #07253f, #10588f 55%, #17b8c8); }
.thumb-software { background: linear-gradient(140deg, #082d3a, #0f7f92 55%, #5fd8e4); }
.thumb-about { background: linear-gradient(140deg, var(--brand-900), var(--brand-600) 60%, var(--accent)); }
.thumb-team { background: linear-gradient(140deg, #0a3355, #1268a8 55%, #5fd8e4); }
.thumb-factory { background: linear-gradient(140deg, #04182b, #0d4470 55%, #17b8c8); }
.thumb-lab { background: linear-gradient(140deg, #05282c, #0b6f74 55%, #37d2b6); }
.thumb-map { background: linear-gradient(140deg, #062033, #0d4470 52%, #10588f); }
.product-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { margin-bottom: 8px; }
.product-body .product-summary { color: var(--text-2); font-size: 0.93rem; flex: 1; }
.product-card .badge { margin-bottom: 10px; }

/* 特点列表 */
.feature-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.feature-list li { position: relative; padding-left: 26px; font-size: 0.9rem; color: var(--text-2); }
.feature-list li::before {
  content: ""; position: absolute; left: 2px; top: 0.5em; width: 13px; height: 7px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg); border-radius: 1px;
}

/* 产品详情块 */
.product-detail { scroll-margin-top: 92px; }
.product-detail + .product-detail { margin-top: 34px; }
.product-detail-head { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; margin-bottom: 20px; }
.product-detail-head .pd-ico {
  width: 62px; height: 62px; border-radius: var(--radius); flex: none; display: grid; place-items: center;
  font-size: 1.9rem; background: linear-gradient(140deg, var(--brand-800), var(--accent-dark)); color: #fff;
}
/* ---- 产品页详情头部的真实产品照片（无照片时回落为上面的图标块）----
   与缩略图同理：绝对定位 + transform 居中 + 百分比 max-*，
   包含块是 .pd-photo 的内边距盒（210×158，高度确定），因此限高一定生效。 */
.product-detail-head .pd-photo {
  position: relative; width: 210px; height: 158px; flex: none;
  border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(140deg, var(--brand-900), var(--brand-700) 58%, var(--accent-dark));
}
.product-detail-head .pd-photo img {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  max-width: calc(100% - 26px); max-height: calc(100% - 20px);
  width: auto; height: auto; object-fit: contain; display: block;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.4));
}
@media (max-width: 720px) {
  .product-detail-head .pd-photo { width: 100%; height: 150px; }
}
/* ---- 产品页详情头部的界面截图 / 实景照：浅色面板承载 ---- */
.product-detail-head .pd-shot {
  position: relative; width: 210px; height: 158px; flex: none;
  border-radius: var(--radius); overflow: hidden; background: #fff;
  border: 1px solid var(--border); box-shadow: 0 6px 16px rgba(11, 43, 63, 0.16);
}
.product-detail-head .pd-shot img {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  max-width: 100%; max-height: 100%; width: auto; height: auto;
  object-fit: contain; display: block;
}
@media (max-width: 720px) {
  .product-detail-head .pd-shot { width: 100%; height: 170px; }
}
/* ---- 产品页特点栏里的附加实拍图（如四通道尾气分析仪的内部气路板）----
   竖构图照片，与左侧特点文字同列；宽度设上限，避免在宽屏上被拉得过大而显糊
   （原图只有 200×268，是低分辨率实拍图）。 */
.pd-detail-shot {
  margin: 18px 0 0; padding: 10px; max-width: 230px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: 0 6px 16px rgba(11, 43, 63, 0.14);
}
.pd-detail-shot img {
  display: block; width: 100%; height: auto; border-radius: calc(var(--radius) - 4px);
}
.pd-detail-shot figcaption {
  margin-top: 8px; font-size: 0.82rem; line-height: 1.45; color: var(--text-2);
}
.product-detail-head h2 { margin-bottom: 6px; }
.product-specs { margin-top: 4px; }
.product-specs th:first-child { width: 38%; }

/* 锚点导航 */
.anchor-nav { position: sticky; top: var(--header-h); z-index: 40; background: var(--bg); border-bottom: 1px solid var(--border); }
.anchor-nav .container { display: flex; align-items: center; gap: 6px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: thin; }
.anchor-nav a {
  padding: 7px 14px; border-radius: 999px; font-size: 0.88rem; font-weight: 600;
  color: var(--text-2); background: var(--bg-soft); border: 1px solid transparent; white-space: nowrap;
  transition: color var(--tr), background var(--tr), border-color var(--tr);
}
.anchor-nav a:hover { color: var(--brand-600); border-color: var(--border-strong); }
.anchor-nav a.is-active { color: #fff; background: linear-gradient(135deg, var(--brand-600), var(--accent-dark)); border-color: transparent; }
/* 分组锚点（如尾气分析仪）用略强的描边区分 */
.anchor-nav a.anchor-group { border-color: var(--border-strong); background: var(--panel); }
.anchor-nav a.anchor-group.is-active { border-color: transparent; }

/* ==========================================================================
   5. 云平台能力 / 图文块
   ========================================================================== */
.cap-card { display: flex; flex-direction: column; gap: 10px; }
.cap-ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 1.4rem;
  background: var(--accent-soft); border: 1px solid rgba(23, 184, 200, 0.28);
}
.cap-card h3 { margin: 4px 0 0; font-size: 1.04rem; }
.cap-card p { margin: 0; color: var(--text-2); font-size: 0.91rem; }

/* 流程步骤 */
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: flow; }
.flow-step { position: relative; padding-top: 12px; }
.flow-step::before {
  counter-increment: flow; content: "0" counter(flow);
  font-family: var(--font-mono); font-size: 1.5rem; font-weight: 700;
  color: var(--brand-100); display: block; line-height: 1;
}
[data-theme="dark"] .flow-step::before { color: var(--border-strong); }
.flow-step h3 { font-size: 1rem; margin: 10px 0 6px; }
.flow-step p { color: var(--text-2); font-size: 0.9rem; margin: 0; }
.flow-step::after {
  content: ""; position: absolute; top: 22px; right: -9px; width: 18px; height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.flow-step:last-child::after { display: none; }

/* 价值卡（带左侧强调条） */
.value-card { border-left: 3px solid var(--accent); }
.value-card .vc-num { font-family: var(--font-mono); font-weight: 700; font-size: 1.35rem; color: var(--brand-600); }
.value-card h3 { font-size: 1rem; margin: 6px 0; }
.value-card p { margin: 0; color: var(--text-2); font-size: 0.9rem; }

/* ==========================================================================
   6. 新闻卡 / 文章
   ========================================================================== */
.news-card { display: flex; gap: 18px; align-items: flex-start; }
.news-card .news-thumb {
  width: 88px; height: 88px; flex: none; border-radius: var(--radius); display: grid; place-items: center;
  font-size: 1.9rem; background: linear-gradient(140deg, var(--brand-100), var(--accent-soft));
  border: 1px solid var(--border);
}
[data-theme="dark"] .news-card .news-thumb { background: linear-gradient(140deg, var(--brand-100), rgba(23, 184, 200, 0.16)); }
.news-card .news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 8px; }
.news-card .news-date { font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-3); }
.news-card h3 { font-size: 1.06rem; margin: 0 0 7px; }
.news-card h3 a { color: var(--text); }
.news-card h3 a:hover { color: var(--brand-600); }
.news-card p { margin: 0; color: var(--text-2); font-size: 0.92rem; }
.news-row { display: flex; flex-direction: column; gap: 16px; }

/* 文章详情 */
.article-head { margin-bottom: 22px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.article-cover {
  height: 190px; border-radius: var(--radius-lg); margin-bottom: 26px; display: grid; place-items: center;
  font-size: 3rem; color: rgba(255, 255, 255, 0.92);
  background: radial-gradient(600px 240px at 82% 10%, rgba(23, 184, 200, 0.35), transparent 60%), linear-gradient(140deg, var(--brand-950), var(--brand-600));
  box-shadow: var(--shadow);
}
.article-body { font-size: 1rem; color: var(--text-2); line-height: 1.9; }
.article-body p { margin: 0 0 1.1em; }
/* 长正文首段作为导语强调，段间留白更清晰 */
.article-body > p:first-child { font-size: 1.06rem; color: var(--text); }
.article-body > p + p { margin-top: 0.2em; }
.article-body h2, .article-body h3 { color: var(--text); margin: 1.4em 0 0.6em; }
.article-body ul, .article-body ol { margin: 0 0 1.1em; }
.back-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 0.9rem; }

/* ==========================================================================
   7. 时间线
   ========================================================================== */
.timeline { position: relative; margin: 0; padding: 0 0 0 30px; list-style: none; }
.timeline::before {
  content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--brand-100)); border-radius: 2px;
}
.timeline > li { position: relative; padding-bottom: 30px; }
.timeline > li:last-child { padding-bottom: 0; }
.timeline > li::before {
  content: ""; position: absolute; left: -30px; top: 6px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--panel); border: 3px solid var(--brand-500); box-shadow: 0 0 0 4px rgba(18, 104, 168, 0.1);
}
.timeline > li.is-now::before { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.timeline .tl-year { font-family: var(--font-mono); font-weight: 700; font-size: 1.05rem; color: var(--brand-600); }
.timeline .tl-title { font-weight: 700; margin: 3px 0 5px; }
.timeline .tl-desc { color: var(--text-2); font-size: 0.92rem; margin: 0; }

/* 资质卡 */
.qual-card { display: flex; gap: 14px; align-items: flex-start; }
.qual-ico {
  width: 44px; height: 44px; flex: none; border-radius: 11px; display: grid; place-items: center; font-size: 1.3rem;
  background: linear-gradient(140deg, var(--brand-100), var(--accent-soft)); border: 1px solid var(--border);
}
[data-theme="dark"] .qual-ico { background: linear-gradient(140deg, var(--brand-100), rgba(23, 184, 200, 0.14)); }
.qual-card h3 { font-size: 1rem; margin: 2px 0 6px; }
.qual-card p { margin: 0; color: var(--text-2); font-size: 0.9rem; }

/* 占位图（CSS 渐变 + emoji） */
.ph-figure { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-sm); background: var(--panel); }
.ph-figure .ph-img {
  height: 230px; display: grid; place-items: center; font-size: 3.4rem; color: #fff;
  position: relative; overflow: hidden;
}
.ph-figure .ph-img::before {
  content: ""; position: absolute; inset: 0; opacity: 0.5;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 30px 30px, 30px 30px;
}
.ph-figure .ph-img > span { position: relative; }
.ph-figure .ph-cap { padding: 13px 16px; font-size: 0.88rem; color: var(--text-2); }

/* ---- 换成真实照片后的样式（.has-photo）----
   关键点：**取消固定高度**，让图片按自身比例决定高度。
   原因：容器宽度约 570px，原来的 230px 固定高对应 2.48:1 的横宽比，
   而实景照片是 16:9（1.78:1）—— 若沿用固定高并对图片用 object-fit:cover，
   会被裁掉约 28% 的上下内容（显示器顶部与台面）。改为 auto 后可完整显示。
   同时关掉占位图的网格纹理与 emoji 字号。 */
.ph-figure .ph-img.has-photo {
  height: auto; display: block; font-size: 0;
  background: #0b2233;   /* 图片未加载完时的底色，避免白闪 */
}
.ph-figure .ph-img.has-photo::before { display: none; }
.ph-figure .ph-img.has-photo img { display: block; width: 100%; height: auto; }

/* ==========================================================================
   8. 联系区
   ========================================================================== */
.contact-card { display: flex; gap: 15px; align-items: flex-start; }
.contact-ico {
  width: 46px; height: 46px; flex: none; border-radius: 12px; display: grid; place-items: center; font-size: 1.35rem;
  background: linear-gradient(140deg, var(--brand-800), var(--accent-dark)); color: #fff;
  box-shadow: 0 6px 16px rgba(18, 104, 168, 0.22);
}
.contact-card h3 { font-size: 0.96rem; margin: 2px 0 6px; color: var(--text-2); letter-spacing: 0.03em; }
.contact-card .cc-value { font-size: 1.02rem; font-weight: 700; color: var(--text); font-family: var(--font-mono); word-break: break-all; }
.contact-card .cc-value.sans { font-family: var(--font-sans); font-weight: 600; }
.contact-card .cc-note { font-size: 0.82rem; color: var(--text-3); margin-top: 4px; }
.contact-form-wrap { padding: 26px; }

/* 地图占位 */
.map-ph {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 300px;
  display: grid; place-items: center; color: #dbe9f5; text-align: center;
  background:
    radial-gradient(520px 240px at 76% 18%, rgba(23, 184, 200, 0.3), transparent 62%),
    linear-gradient(140deg, var(--brand-950), #0d4470 62%, #10588f);
  border: 1px solid var(--border);
}
.map-ph::before {
  content: ""; position: absolute; inset: 0; opacity: 0.55;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 38px 38px, 38px 38px;
}
.map-ph::after {
  content: ""; position: absolute; width: 96px; height: 96px; border-radius: 50%; left: 50%; top: 46%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 10px rgba(23, 184, 200, 0.16), 0 0 0 26px rgba(23, 184, 200, 0.08), 0 0 0 44px rgba(23, 184, 200, 0.04);
}
.map-ph .map-inner { position: relative; z-index: 1; padding: 20px; }
.map-ph .map-pin { font-size: 2rem; display: block; margin-bottom: 8px; }
.map-ph .map-title { font-weight: 700; color: #fff; }
.map-ph .map-sub { font-size: 0.86rem; color: #a9c4da; }

/* 底部 CTA 区 */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-xl); padding: 42px 36px; color: #eaf3fb;
  background:
    radial-gradient(620px 300px at 88% 8%, rgba(23, 184, 200, 0.28), transparent 62%),
    linear-gradient(140deg, var(--brand-950), var(--brand-800) 70%, var(--brand-700));
  box-shadow: var(--shadow-lg);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; opacity: 0.4;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 44px 44px, 44px 44px;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: #b3cce2; margin-bottom: 0; }
.cta-band .btn-outline { border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.cta-band .btn-outline:hover { border-color: var(--accent-light); background: rgba(23, 184, 200, 0.16); color: #fff; }

/* ==========================================================================
   9. 页脚
   ========================================================================== */
.site-footer { background: var(--brand-950); color: #b9cfe2; margin-top: auto; }
.site-footer .footer-main { padding: 54px 0 40px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 32px; }
.site-footer h3 { color: #fff; font-size: 0.94rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer p { color: #94b3cd; font-size: 0.9rem; line-height: 1.75; }
.site-footer a { color: #b9cfe2; }
.site-footer a:hover { color: var(--accent-light); }
.site-footer .footer-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.site-footer .footer-brand .brand-name { color: #fff; }
.site-footer .footer-brand .brand-sub { color: #7fa3c0; }
.site-footer .footer-position { color: #cfe0ef; font-size: 0.88rem; font-weight: 600; line-height: 1.6; margin-bottom: 14px; }
.site-footer .footer-quality { font-size: 0.72rem; letter-spacing: 0.09em; color: #6f93b0; margin: 10px 0 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 0.9rem; }
.site-footer .footer-contact li { display: flex; gap: 9px; align-items: flex-start; }
.site-footer .footer-contact .fc-ico { flex: none; opacity: 0.8; }
.site-footer .footer-contact .mono { font-family: var(--font-mono); color: #e2eefa; }
/* 邮箱渲染成 mailto 链接后，外观要与所在区块协调（不要浏览器默认的蓝紫下划线）。
   hover 色分开给：页脚是深色底用 accent-light，联系卡是浅色底用 brand-600。 */
.site-footer .footer-contact a,
.contact-card .cc-value a { color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; }
.site-footer .footer-contact a:hover,
.contact-card .cc-value a:hover { color: var(--accent-light); }
.contact-card .cc-value a:hover { color: var(--brand-600); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 18px 0;
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
  font-size: 0.82rem; color: #7fa3c0;
}
.footer-bottom .fb-links { display: flex; flex-wrap: wrap; gap: 16px; }
/* .footer-note 已随「演示环境」那行一并移除（2026-10） */

/* ==========================================================================
   10. 通用补充
   ========================================================================== */
.section-head { max-width: 780px; margin-bottom: 34px; }
.section-head.center { margin: 0 auto 34px; text-align: center; }
.section-head.center .section-lead { margin-left: auto; margin-right: auto; }
.hero-lead, .section-lead { line-height: 1.8; }
.checker-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checker-list li { position: relative; padding-left: 28px; color: var(--text-2); font-size: 0.94rem; }
.checker-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0; width: 19px; height: 19px; border-radius: 50%;
  display: grid; place-items: center; font-size: 0.7rem; font-weight: 700;
  color: #fff; background: linear-gradient(140deg, var(--brand-500), var(--accent));
}
.stat-inline { display: inline-flex; align-items: baseline; gap: 6px; font-family: var(--font-mono); font-weight: 700; color: var(--brand-600); }
.loading-line { display: flex; align-items: center; gap: 10px; color: var(--text-3); font-size: 0.9rem; }
.skeleton-card { border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--panel); padding: 22px; }
.skeleton-card .skeleton { height: 12px; margin-bottom: 12px; }
.skeleton-card .skeleton:last-child { margin-bottom: 0; width: 60%; }

/* ==========================================================================
   10b. 产品线扩展（7 款产品）专用
   ========================================================================== */

/* 首页只展示 4 张核心卡，避免 7 张卡在 grid-4 下掉成单列 */
.home-products-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .home-products-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .home-products-4 { grid-template-columns: minmax(0, 1fr); } }

/* 新增 3 款产品的缩略图渐变（沿用原 4 款的深蓝 → 青色调） */
.thumb-gas-1c { background: linear-gradient(140deg, #06283d, #0b5f74 58%, #17b8c8); }
.thumb-gas-2c { background: linear-gradient(140deg, #07293b, #0f6f86 58%, #3fd0d8); }
.thumb-gas-4c { background: linear-gradient(140deg, #04182b, #0d5f8f 52%, #2fd0c8); }
.thumb-sampler { background: linear-gradient(140deg, #07252f, #0b6f74 55%, #5fd8e4); }

/* 型号数量角标（如尾气分析仪的「3 个型号」） */
.pt-count {
  position: absolute; right: 12px; bottom: 12px; z-index: 1;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.02em; color: #04222a;
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  padding: 3px 10px; border-radius: 999px; box-shadow: 0 4px 12px rgba(4, 24, 43, 0.35);
}

/* 产品分组小标题（如「尾气分析仪 · 三种型号」） */
.product-group-head {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  margin: 40px 0 18px; padding-bottom: 12px; border-bottom: 1px solid var(--border);
}
.product-group-head:first-child { margin-top: 0; }
.product-group-head h2 { margin: 0; font-size: 1.3rem; }
.product-group-head .pg-ico { font-size: 1.35rem; line-height: 1; }
.product-group-head .pg-count { font-size: 0.85rem; color: var(--text-3); }
.product-group-head + .product-detail { margin-top: 0; }

/* 规格表：行数多（生物反应器 26 行 / 四通道 24 行）时拆成两栏，避免单表过长 */
.product-specs-cols { display: flex; gap: 14px; align-items: flex-start; }
.product-specs-cols > .product-specs { flex: 1 1 0; min-width: 0; margin-top: 0; }
@media (max-width: 900px) { .product-specs-cols { display: block; } .product-specs-cols > .product-specs + .product-specs { margin-top: 14px; } }

/* 型号对比表 */
.compare-wrap { overflow-x: auto; border: 1px solid var(--border-strong); border-radius: var(--radius-lg); background: var(--panel); box-shadow: var(--shadow-sm); }
/* fixed 布局 + colgroup 固定列宽：避免 auto 布局按内容分配导致表头与表体错列 */
table.compare { width: 100%; min-width: 820px; border-collapse: collapse; table-layout: fixed; font-size: 0.9rem; }
table.compare col.cmp-col-item { width: 19%; }
table.compare col.cmp-col-model { width: 27%; }
table.compare th, table.compare td { padding: 11px 15px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; word-break: break-word; overflow-wrap: anywhere; }
table.compare thead th {
  position: sticky; top: 0; z-index: 2;
  background: var(--bg-mute); color: var(--text-2); font-weight: 700;
  font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.5;
}
table.compare thead th.cmp-model { text-transform: none; letter-spacing: 0; }
table.compare .cmp-model-name { display: block; font-size: 1rem; color: var(--text); font-weight: 700; }
table.compare .cmp-code { display: block; font-family: var(--font-mono); font-size: 0.76rem; color: var(--accent-dark); margin-top: 2px; word-break: break-all; }
table.compare .cmp-badge { display: inline-flex; margin-top: 7px; padding: 3px 10px; border-radius: 999px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em; background: var(--accent-soft); color: var(--accent-dark); }
table.compare tbody tr:last-child td { border-bottom: none; }
table.compare tbody tr:hover td { background: var(--bg-soft); }
table.compare th.cmp-item, table.compare td.cmp-item { font-weight: 600; color: var(--text-2); background: var(--panel-2); }
table.compare td { color: var(--text-2); }
table.compare td.cmp-best { background: var(--accent-soft); color: var(--text); font-weight: 700; }
table.compare td.cmp-best::before { content: "★ "; color: var(--accent-dark); font-size: 0.8em; }
table.compare col.cmp-col-best { background: rgba(23, 184, 200, 0.05); }
table.compare thead th.cmp-col-best { background: linear-gradient(180deg, var(--accent-soft), rgba(23, 184, 200, 0.04)); color: var(--accent-dark); }
.compare-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; margin-top: 14px; font-size: 0.84rem; color: var(--text-3); }
.compare-legend .cl-star { color: var(--accent-dark); font-weight: 700; }

/* 对比表下方的取舍建议 */
.compare-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
@media (max-width: 1024px) { .compare-notes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .compare-notes { grid-template-columns: minmax(0, 1fr); } }
.compare-note { border-left: 3px solid var(--accent); }
.compare-note h4 { margin: 0 0 6px; font-size: 0.96rem; }
.compare-note p { margin: 0; color: var(--text-2); font-size: 0.88rem; }

/* 产品能力要点（首页 / 关于页） */
.hl-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.hl-list li { position: relative; padding-left: 24px; color: var(--text-2); font-size: 0.92rem; }
.hl-list li::before { content: "▸"; position: absolute; left: 4px; top: 0; color: var(--accent); font-weight: 700; }
.hl-list strong, .hl-list b { color: var(--text); }

/* ==========================================================================
   11. 响应式（桌面 / 平板 / 手机）
   ========================================================================== */
@media (max-width: 1024px) {
  /* 数据条列数由 auto-fit 自适应，这里只补分格线（首项不画上边线） */
  .stats-strip .stat-item { border-right: 1px solid rgba(255, 255, 255, 0.1); border-top: 1px solid rgba(255, 255, 255, 0.1); }
  .stats-strip .stat-item:first-child { border-top: 0; }
  .stats-strip-light { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer .footer-main { grid-template-columns: 1fr 1fr; gap: 28px; }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow-step:nth-child(2n)::after { display: none; }
  .product-detail-head { gap: 14px; }
}
@media (max-width: 720px) {
  .hero-inner { padding: 54px 0 44px; }
  .hero .hero-lead { font-size: 1rem; }
  .hero-cta .btn { width: 100%; }
  .hero-note { gap: 6px 16px; }
  .stats-strip .stat-item { padding: 18px 12px; }
  .stats-strip-light { grid-template-columns: minmax(0, 1fr); }
  .page-hero { padding: 42px 0 38px; }
  .flow { grid-template-columns: minmax(0, 1fr); }
  .flow-step::after { display: none; }
  .site-footer .footer-main { grid-template-columns: minmax(0, 1fr); padding: 40px 0 30px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .news-card { flex-direction: column; gap: 12px; }
  .news-card .news-thumb { width: 100%; height: 96px; }
  .cta-band { padding: 30px 22px; border-radius: var(--radius-lg); }
  .cta-band .row { flex-direction: column; }
  .cta-band .btn { width: 100%; }
  .contact-form-wrap { padding: 20px; }
  .product-specs th:first-child { width: 46%; }
  /* 仅占位图沿用固定高；实景照片（.has-photo）保持 auto，按自身比例自适应窄屏 */
  .ph-figure .ph-img:not(.has-photo) { height: 190px; }
}

@media print {
  .site-header, .anchor-nav, .cta-band, .nav-toggle { display: none !important; }
  .site-footer { background: #fff; color: #333; }
}
