/* ============================================================
   中科光析 · 官网公共样式
   纯本地资源：系统字体栈 + CSS 渐变 + 内联 SVG，无任何外部依赖
   ============================================================ */
/* ---------- 0. 字体声明：HarmonyOS Sans（本地字体） ---------- */
@font-face {
  font-family: "HarmonyOS Sans SC";
  src: url("../HarmonyOS Sans/HarmonyOS_SansSC_Thin.ttf") format("truetype");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "HarmonyOS Sans SC";
  src: url("../HarmonyOS Sans/HarmonyOS_SansSC_Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "HarmonyOS Sans SC";
  src: url("../HarmonyOS Sans/HarmonyOS_SansSC_Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "HarmonyOS Sans SC";
  src: url("../HarmonyOS Sans/HarmonyOS_SansSC_Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "HarmonyOS Sans SC";
  src: url("../HarmonyOS Sans/HarmonyOS_SansSC_Semibold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "HarmonyOS Sans SC";
  src: url("../HarmonyOS Sans/HarmonyOS_SansSC_Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "HarmonyOS Sans SC";
  src: url("../HarmonyOS Sans/HarmonyOS_SansSC_Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
/* ---------- 1. 设计变量 ---------- */
:root {
  --primary-900: #062a5c;
  --primary-800: #083d7f;
  --primary-700: #0a4da3;
  --primary-600: #1060c4;
  --primary-500: #2a77d4;
  --accent: #0ea5a4;
  --accent-dark: #0c8786;
  --bg-page: #f4f7fb;
  --bg-card: #ffffff;
  --text-1: #16233a;
  --text-2: #4b5b74;
  --text-3: #8494ab;
  --line: #e3eaf3;
  --shadow-sm: 0 4px 18px rgba(10, 77, 163, .13);
  --shadow-md: 0px 6px 10px 6px rgb(40 95 165 / 35%);
  --shadow-lg: 0 18px 48px rgba(6, 42, 92, .18);
  --radius: 14px;
  --radius-lg: 20px;
  --nav-h: 76px;
  --container: 1200px;
  --font-sans: "HarmonyOS Sans SC", -apple-system,
    BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}
/* ---------- 2. 重置与基础 ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-1);
  background: var(--bg-page);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
img[src$=".jpg"], img[src$=".png"] { aspect-ratio: attr(width) / attr(height); }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
::selection { background: var(--primary-600); color: #fff; }
.container {
  width: min(var(--container), 100% - 48px);
  margin-inline: auto;
}
/* ---------- 3. 通用组件 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .02em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
    background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary-600), var(--primary-800));
  box-shadow: 0 8px 20px rgba(16, 96, 196, .35);
}
.btn-primary:hover { box-shadow: 0 12px 26px rgba(16, 96, 196, .45); }
.btn-outline {
  color: var(--primary-700);
  border: 1.5px solid var(--primary-600);
  background: transparent;
}
.btn-outline:hover { background: var(--primary-600); color: #fff; }
/* 区块标题 */
.section { padding: 88px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--accent-dark);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-eyebrow::before,
.section-eyebrow::after {
  content: "";
  width: 22px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  opacity: .6;
}
.section-title {
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.3;
  font-weight: 800;
  color: var(--primary-900);
  letter-spacing: .01em;
}
.section-desc { margin-top: 14px; color: var(--text-2); font-size: 16.5px; }
/* 卡片 */
.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
/* 面包屑 */
.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, .82);
}
.crumbs a { color: rgba(255, 255, 255, .82); }
.crumbs a:hover { color: #fff; }
.crumbs .sep { opacity: .5; }
.crumbs .current { color: #fff; font-weight: 600; }
/* 页面内页头 */
.page-hero {
  position: relative;
  padding: 120px 0 72px;
  background:
    radial-gradient(1100px 420px at 82% -60%, rgba(14, 165, 164, .35), transparent 60%),
    linear-gradient(128deg, var(--primary-900) 0%, var(--primary-700) 68%, var(--primary-600) 100%);
  color: #fff;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 44px 44px;
    -webkit-mask-image:sk-image: radial-gradient(720px 320px at 24% 118%, #000 30%, transparent 75%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(30px, 4.2vw, 44px);
  font-weight: 800;
  letter-spacing: .02em;
}
.page-hero p { margin-top: 12px; max-width: 640px; color: rgba(255,255,255,.82); font-size: 17px; }
.page-hero .crumbs { margin-top: 26px; }
/* ---------- 4. 顶部信息条 + 导航 ---------- */
.topbar {
  background: var(--primary-900);
  color: rgba(255, 255, 255, .85);
  font-size: 13px;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 34px;
  gap: 16px;
}
.topbar-left { display: flex; align-items: center; gap: 18px; }
.topbar-right { display: flex; align-items: center; gap: 18px; }
.topbar a:hover { color: #fff; }
.topbar .hotline { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: #fff; }
.topbar .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(14,165,164,.25); }
.site-header {
    position: -webkit-sticky;
    position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(10, 77, 163, .10); }
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo { height: 46px; width: auto; max-width: none; }
/* 页脚深色背景下的 LOGO 显示为白色 */
.site-footer .brand-logo { filter: brightness(0) invert(1); }
.brand-name { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name .cn { font-size: 21px; font-weight: 800; color: var(--primary-900); letter-spacing: .04em; }
.brand-name .en { font-size: 10.5px; color: var(--text-3); letter-spacing: .14em; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-menu a {
  position: relative;
  display: block;
  padding: 10px 14px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text-1);
  border-radius: 8px;
  white-space: nowrap;
}
.nav-menu a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 2px;
  width: 0; height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--primary-600), var(--accent));
  transform: translateX(-50%);
  transition: width .3s var(--ease);
}
.nav-menu a:hover { color: var(--primary-700); }
.nav-menu a:hover::after,
.nav-menu a.active::after { width: 26px; }
.nav-menu a.active { color: var(--primary-700); }
.nav-cta { flex-shrink: 0; }
.nav-cta .btn { padding: 10px 22px; font-size: 15px; }
/* 页眉按钮：收敛阴影，避免视觉过重 */
.nav-cta .btn-primary { box-shadow: 0 2px 8px rgba(16, 96, 196, .2); }
.nav-cta .btn-primary:hover { box-shadow: 0 4px 12px rgba(16, 96, 196, .26); }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
}
.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--primary-800);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* ---------- 5. Hero（首页） ---------- */
.hero {
  position: relative;
  min-height: calc(100dvh - 110px);
  display: flex;
  align-items: center;
  padding: 72px 0 96px;
  background: transparent;
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: none;
}
.hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(14,165,164,.3); }
.hero h1 {
  margin-top: 26px;
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: .02em;
}
.hero h1 .grad {
  background: linear-gradient(92deg, #58d6d5 0%, #7fb5ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* 浮动动画 */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.stat-item {
  padding: 34px 20px;
  text-align: center;
  position: relative;
}
.stat-item + .stat-item::before {
  content: "";
  position: absolute;
  left: 0; top: 28%;
  height: 44%;
  width: 1px;
  background: var(--line);
}
.stat-num {
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 800;
  color: var(--primary-700);
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
  white-space: nowrap;
}
.stat-num i { font-style: normal; font-size: .5em; font-weight: 700; margin-left: 2px; color: var(--accent-dark); }
.stat-label { margin-top: 6px; font-size: 15px; color: var(--text-2); }
.service-icon {
  width: 62px; height: 62px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, rgba(16, 96, 196, .12), rgba(14, 165, 164, .14));
  color: var(--primary-700);
  margin-bottom: 20px;
  transition: transform .35s var(--ease), background .35s var(--ease);
}
.service-icon svg { width: 32px; height: 32px; }
/* ---------- 8. 首页：为什么选择我们 ---------- */
.why-section { background: #fff; }
/* ---------- 9. 首页：检测流程 ---------- */
.flow-band {
  background:
    radial-gradient(820px 400px at 90% -10%, rgba(14,165,164,.25), transparent 60%),
    linear-gradient(126deg, var(--primary-900), var(--primary-800));
  color: #fff;
}
.flow-band .section-title { color: #fff; }
.flow-band .section-desc { color: rgba(255,255,255,.72); }
.flow-band .section-eyebrow { color: var(--accent); }
.flow-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  counter-reset: step;
}
.flow-step {
  position: relative;
  padding: 30px 22px 26px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.flow-step:hover { transform: translateY(-6px); background: rgba(255,255,255,.11); }
.flow-step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: inline-grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-500), var(--accent));
  box-shadow: 0 8px 18px rgba(14, 165, 164, .35);
  margin-bottom: 16px;
}
.flow-step h3 { font-size: 17.5px; font-weight: 700; }
.flow-step p { margin-top: 8px; font-size: 13.5px; line-height: 1.75; color: rgba(255,255,255,.68); }
.flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 74px; right: -15px;
  width: 12px; height: 12px;
  border-top: 2px solid rgba(255,255,255,.4);
  border-right: 2px solid rgba(255,255,255,.4);
  transform: rotate(45deg);
}
.cover-1 { background: linear-gradient(135deg, #10459a, #1e7fd0 60%, #37c0bd); }
.cover-2 { background: linear-gradient(135deg, #07335f, #0a5aa8 60%, #0ea5a4); }
.cover-3 { background: linear-gradient(135deg, #0c8786, #16a5a4 55%, #6ec4f5); }
.news-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.news-body .tag {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-700);
  background: rgba(16, 96, 196, .09);
  padding: 3px 10px;
  border-radius: 999px;
}
.news-body h3 {
  margin-top: 12px;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 700;
  color: var(--text-1);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .25s var(--ease);
}
.news-body p {
  margin-top: 10px;
  font-size: 14px;
  color: var(--text-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.news-body time { margin-top: 14px; font-size: 13px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.center-more { text-align: center; margin-top: 46px; }
.clients-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.client-chip {
  display: grid;
  place-items: center;
  min-height: 84px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-page);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text-3);
  letter-spacing: .06em;
  transition: color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease), background .3s var(--ease);
}
.client-chip:hover {
  color: var(--primary-700);
  border-color: rgba(16, 96, 196, .4);
  background: #fff;
  transform: translateY(-4px);
}
/* ---------- 12. CTA 条 ---------- */
.cta-band { padding: 76px 0; }
.cta-box {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 54px 56px;
  overflow: hidden;
  background:
    radial-gradient(560px 260px at 86% 120%, rgba(14,165,164,.4), transparent 62%),
    linear-gradient(120deg, var(--primary-900), var(--primary-700));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: var(--shadow-lg);
}
.cta-box h2 { font-size: clamp(22px, 2.8vw, 30px); font-weight: 800; }
.cta-box p { margin-top: 10px; color: rgba(255,255,255,.78); max-width: 560px; }
.cta-actions { display: flex; gap: 14px; flex-shrink: 0; }
/* ---------- 13. 页脚 ---------- */
.site-footer {
  background: var(--primary-900);
  color: rgba(255, 255, 255, .78);
  font-size: 14.5px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr .8fr .8fr 1.05fr;
  gap: 40px;
  padding: 64px 0 48px;
}
.footer-brand .brand-name .cn { color: #fff; }
.footer-brand .brand-name .en { color: rgba(255,255,255,.45); }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { max-width: 340px; color: rgba(255,255,255,.62); }
.footer-cert { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.footer-cert span {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  color: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.06);
}
.footer-col h4 {
  font-size: 16.5px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}
.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 26px; height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--primary-500), var(--accent));
}
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: rgba(255,255,255,.66); }
.footer-col ul a:hover { color: #fff; padding-left: 3px; }
.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: rgba(255,255,255,.66);
}
.footer-contact svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 4px; color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255,255,255,.45);
}
.footer-bottom a { color: rgba(255,255,255,.45); }
.footer-bottom a:hover { color: #fff; }
/* 返回顶部 */
.back-top {
  position: fixed;
  right: 26px; bottom: 30px;
  z-index: 90;
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-600), var(--primary-800));
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { transform: translateY(-3px); }
.back-top svg { width: 20px; height: 20px; }
/* 服务弹窗 */
.modal-mask {
  position: fixed; top: 0; right: 0; bottom: 0; left: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(6, 26, 56, .58);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
}
.modal-mask.open { opacity: 1; visibility: visible; }
.modal {
  width: min(720px, 100%);
  max-height: min(82dvh, 760px);
  overflow-y: auto;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transform: translateY(24px) scale(.97);
  transition: transform .35s var(--ease);
}
.modal-mask.open .modal { transform: translateY(0) scale(1); }
.modal-head {
    position: -webkit-sticky;
    position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  background: linear-gradient(120deg, var(--primary-900), var(--primary-700));
  color: #fff;
}
.modal-head h3 { font-size: 20px; font-weight: 800; }
.modal-head p { margin-top: 2px; font-size: 12.5px; color: rgba(255,255,255,.65); letter-spacing: .1em; }
.modal-close {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255,255,255,.14);
  transition: background .25s var(--ease), transform .25s var(--ease);
  flex-shrink: 0;
}
.modal-close:hover { background: rgba(255,255,255,.28); transform: rotate(90deg); }
.modal-close svg { width: 18px; height: 18px; }
.modal-body { padding: 26px 30px 32px; }
.modal-body h5 {
  font-size: 15px;
  font-weight: 800;
  color: var(--primary-800);
  margin: 22px 0 12px;
  padding-left: 12px;
  border-left: 4px solid var(--accent);
  line-height: 1.4;
}
.modal-body h5:first-child { margin-top: 0; }
.modal-body p { font-size: 14.5px; color: var(--text-2); }
.modal-body ul li {
  position: relative;
  padding: 9px 0 9px 22px;
  font-size: 14.5px;
  color: var(--text-1);
  border-bottom: 1px dashed var(--line);
}
.modal-body ul li:last-child { border-bottom: none; }
.modal-body ul li::before {
  content: "";
  position: absolute;
  left: 2px; top: 1.05em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.cert-card .cert-no { margin-top: 6px; font-size: 12.5px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.news-page-card .cover {
  width: 168px;
  min-height: 128px;
  flex-shrink: 0;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.92);
}
.news-page-card .cover svg { width: 52px; height: 52px; }
.news-meta .tag { color: var(--primary-700); background: rgba(16,96,196,.09); padding: 2px 10px; border-radius: 999px; font-weight: 600; }
.news-page-card .news-body { padding: 4px 8px 4px 0; }
/* ============================================================
   新闻页高端视觉优化（.page-news 作用域）
   ============================================================ */
/* 页头横幅：更沉稳大气 */
.page-news .page-hero { padding: 140px 0 88px; }
.page-news .page-hero h1 {
  letter-spacing: .05em;
  text-shadow: 0 4px 24px rgba(3, 18, 40, .35);
}
.page-news .page-hero p { letter-spacing: .02em; }
.page-news .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 18px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .16em;
  color: #a8ecf0;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .28);
    -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  margin-bottom: 22px;
}
.page-news .hero-badge i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #3fd0cf;
  box-shadow: 0 0 0 4px rgba(63, 208, 207, .25);
}
/* 内容区：干净的浅色渐变底 */
.page-news .section { background: linear-gradient(180deg, #fff 0%, var(--bg-page) 260px); }
.page-news .news-page-card .cover {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
}
/* 分页：更精致的胶囊 */
.page-news .center-more span {
  gap: 8px !important;
}
.page-news .center-more a[onclick] {
  padding: 9px 16px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 600;
  transition: all .25s var(--ease);
}
.page-news .center-more a[onclick]:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--primary-600), var(--primary-800));
  border-color: transparent;
}
.page-news .center-more span > span:first-child {
  box-shadow: 0 6px 16px rgba(16, 96, 196, .35);
}
.page-news .center-more a[style*="width:38px"] {
  transition: all .25s var(--ease);
}
.page-news .center-more a[style*="width:38px"]:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--primary-600), var(--primary-800));
  border-color: transparent;
  transform: translateY(-2px);
}
.news-page-card .news-btns .btn { padding: 8px 22px; font-size: 14px; }
/* 筛选器 */
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 40px; }
.filter-btn {
  padding: 9px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-2);
  background: #fff;
  border: 1px solid var(--line);
  transition: all .25s var(--ease);
}
.filter-btn:hover { color: var(--primary-700); border-color: rgba(16,96,196,.4); }
.filter-btn.active {
  color: #fff;
  background: linear-gradient(135deg, var(--primary-600), var(--primary-800));
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(16,96,196,.3);
}
.contact-line .ico {
  width: 46px; height: 46px;
  flex-shrink: 0;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, rgba(16,96,196,.1), rgba(14,165,164,.14));
  color: var(--primary-700);
}
.contact-line .ico svg { width: 22px; height: 22px; }
.form-field.full { grid-column: 1 / -1; }
.form-field .err { font-size: 12.5px; color: #d64545; display: none; }
.form-field.invalid .err { display: block; }
.form-success.show { display: flex; animation: fadeUp .5s var(--ease); }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
/* 分支机构 */
.branch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.branch-card { padding: 28px 26px; }
.branch-card h3 { font-size: 17px; font-weight: 800; color: var(--primary-900); display: flex; align-items: center; gap: 10px; }
.branch-card h3 svg { width: 19px; height: 19px; color: var(--accent-dark); }
.branch-card p { margin-top: 10px; font-size: 14px; color: var(--text-2); }
.branch-card .tel { margin-top: 12px; font-size: 13.5px; color: var(--primary-700); font-weight: 600; font-variant-numeric: tabular-nums; }
/* ---------- 18. 滚动显现动效（渐进增强：仅 JS 可用时才隐藏初始态） ---------- */
html.has-js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
html.has-js .reveal.visible { opacity: 1; transform: translateY(0); }
html.has-js .reveal[data-delay="1"] { transition-delay: .1s; }
html.has-js .reveal[data-delay="2"] { transition-delay: .2s; }
html.has-js .reveal[data-delay="3"] { transition-delay: .3s; }
html.has-js .reveal[data-delay="4"] { transition-delay: .4s; }
/* ---------- 19. 响应式 ---------- */
@media (max-width: 1280px) {
  .nav-cta { display: none; }
}
@media (max-width: 1080px) {
  .nav-menu { gap: 0; }
  .nav-menu a { padding: 10px 13px; font-size: 15px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(3)::before { display: none; }
  .flow-steps { grid-template-columns: repeat(3, 1fr); }
  .flow-step:nth-child(3)::after { display: none; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .about-cols { grid-template-columns: 1fr; gap: 60px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mission-grid { grid-template-columns: 1fr; }
}
/* 导航折叠提前到 1024px，避免 769-1024px 区间菜单溢出 */
@media (max-width: 1024px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: calc(var(--nav-h));
    left: 0; right: 0;
    z-index: 99;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px 20px 22px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(6, 42, 92, .14);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform .3s var(--ease), opacity .3s var(--ease), visibility .3s;
    max-height: calc(100dvh - var(--nav-h));
    overflow-y: auto;
  }
  .nav-menu.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-menu a { padding: 13px 14px; border-radius: 10px; font-size: 16px; }
  .nav-menu a::after { display: none; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .page-hero { padding: 96px 0 56px; }

  .topbar .topbar-left { display: none; }
  .topbar .container { justify-content: center; }

  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .nav-menu {
    position: fixed;
    top: calc(var(--nav-h));
    left: 0; right: 0;
    z-index: 99;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px 20px 22px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(6, 42, 92, .14);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform .3s var(--ease), opacity .3s var(--ease), visibility .3s;
    max-height: calc(100dvh - var(--nav-h));
    overflow-y: auto;
  }
  .nav-menu.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-menu a { padding: 13px 14px; border-radius: 10px; font-size: 16px; }
  .nav-menu a:hover { background: var(--bg-page); }
  .nav-menu a::after { display: none; }
  .nav-menu a.active { background: rgba(16, 96, 196, .08); }

  .hero { padding: 56px 0 84px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 520px; }

  .stats-band { margin-top: -30px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { padding: 24px 14px; }
  .stat-item:nth-child(2)::before { display: none; }

  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .flow-steps { grid-template-columns: 1fr; }
  .flow-step:not(:last-child)::after { display: none; }
  .news-grid { grid-template-columns: 1fr; }
  .news-page-list { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: 1fr; }
  .branch-grid { grid-template-columns: 1fr; }

  .cta-box { flex-direction: column; align-items: flex-start; padding: 40px 30px; }
  .cta-actions { width: 100%; flex-direction: column; }
  .cta-actions .btn { width: 100%; }

  .footer-grid { grid-template-columns: 1fr; gap: 34px; padding: 48px 0 40px; }
  .footer-bottom { justify-content: center; text-align: center; }

  .about-figure .fig-badge { right: 8px; bottom: -16px; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-info-card, .contact-form-card { padding: 30px 24px; }

  .back-top { right: 16px; bottom: 20px; }
}
/* ---------- 20. 无障碍：减弱动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  html.has-js .reveal { opacity: 1; transform: none; }
  /* 合作客户 logo 轮播不受减弱动效影响 */
  .clients-track { animation-duration: 28s !important; animation-iteration-count: infinite !important; }
}
.fee-panel.active { display: block; animation: fadeUp .4s var(--ease); }
.price-table .price { font-weight: 800; color: var(--accent-dark); font-variant-numeric: tabular-nums; white-space: nowrap; }
/* ---------- 22. 导航 8 项微调 ---------- */
@media (min-width: 769px) {
  .nav-menu a { padding: 10px 13.5px; font-size: 15.5px; }
}
/* ---------- 23. 实验室全景（VR 导览） ---------- */
.pano-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 85% -30%, rgba(14,165,164,.28), transparent 60%),
    linear-gradient(126deg, var(--primary-900), var(--primary-800) 55%, var(--primary-700));
}
.pano-wrap { position: relative; z-index: 1; }
.pano-frame {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 3px;
  background: linear-gradient(140deg, rgba(255,255,255,.5), rgba(255,255,255,.08) 45%, rgba(14,165,164,.55));
  box-shadow: var(--shadow-lg);
}
.pano-viewport {
  position: relative;
  height: clamp(300px, 38vw, 470px);
  border-radius: calc(var(--radius-lg) - 3px);
  overflow: hidden;
  background: #e9eff7;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.pano-viewport.is-dragging { cursor: grabbing; }
.pano-track {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: max-content;
  display: flex;
  will-change: transform;
}
.pano-track img {
  height: 100%;
  width: auto;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
}
.pano-hotspot {
  position: absolute;
  transform: translate(-50%, -100%);
  z-index: 3;
}
.pano-dot {
  position: relative;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid #fff;
  box-shadow: 0 4px 14px rgba(6,42,92,.4);
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease);
}
.pano-dot::after {
  content: "";
  position: absolute;
  top: -9px; right: -9px; bottom: -9px; left: -9px;
  border-radius: 50%;
  border: 2px solid rgba(14,165,164,.75);
  animation: panoPulse 2s ease-out infinite;
}
.pano-dot:hover { transform: scale(1.2); background: var(--accent-dark); }
@keyframes panoPulse {
  0% { transform: scale(.6); opacity: 1; }
  80%, 100% { transform: scale(1.7); opacity: 0; }
}
.pano-tag {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(6, 42, 92, .88);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: .04em;
  pointer-events: none;
}
.pano-card {
  position: absolute;
  bottom: 60px; left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: 250px;
  padding: 16px 18px;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  cursor: default;
}
.pano-card::after {
  content: "";
  position: absolute;
  bottom: -7px; left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 14px; height: 14px;
  background: #fff;
}
.pano-card h4 { font-size: 15px; font-weight: 800; color: var(--primary-900); }
.pano-card p { margin-top: 6px; font-size: 12.5px; line-height: 1.65; color: var(--text-2); }
.pano-hotspot.open .pano-card { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.pano-hint {
  position: absolute;
  left: 50%; bottom: 16px;
  transform: translateX(-50%);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(6, 42, 92, .72);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
  color: rgba(255,255,255,.9);
  font-size: 13px;
  pointer-events: none;
  transition: opacity .5s var(--ease);
}
.pano-hint.hide { opacity: 0; }
.pano-hint svg { width: 16px; height: 16px; color: var(--accent); }
.pano-meta {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 4;
  display: flex;
  gap: 8px;
}
.pano-meta span {
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(6, 42, 92, .72);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}
/* 送样指南 */
.guide-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.guide-card { padding: 30px 26px; }
.guide-card .gico {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, rgba(16,96,196,.1), rgba(14,165,164,.14));
  color: var(--primary-700);
  margin-bottom: 16px;
}
.guide-card .gico svg { width: 26px; height: 26px; }
.guide-card h3 { font-size: 16.5px; font-weight: 800; color: var(--primary-900); }
.guide-card p { margin-top: 9px; font-size: 13.5px; color: var(--text-2); }
.guide-card ul { margin-top: 12px; display: grid; gap: 9px; }
.guide-card ul li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-2);
}
.guide-card ul li::before {
  content: "";
  position: absolute;
  left: 2px; top: 9px;
  width: 6px; height: 6px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--primary-600), var(--accent));
}
.guide-card ul li b { color: var(--text-1); }
@media (max-width: 1080px) {
  .cert-wall { grid-template-columns: repeat(2, 1fr); }
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .cert-wall { grid-template-columns: 1fr; }
  .guide-grid { grid-template-columns: 1fr; }
  .verify-steps { grid-template-columns: 1fr; }
  .step-item { grid-template-columns: 56px 1fr; gap: 14px; }
  .step-no { width: 56px; height: 56px; border-radius: 16px; font-size: 19px; }
  .step-item::before { left: 27px; top: 56px; }
  .step-body { padding: 20px 20px; }
  .pano-meta { top: 10px; left: 10px; }
  .pano-hint { bottom: 10px; font-size: 12px; padding: 7px 14px; }
}
.chip { border: 1px solid #c9d8ee; background: #f6f9fd; color: var(--text-2); font-size: 14px; font-weight: 600; padding: 8px 16px; border-radius: 999px; cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease); }
.chip:hover { color: var(--primary-600); border-color: var(--primary-600); }
.chip.active { background: var(--primary-600); border-color: var(--primary-600); color: #fff; box-shadow: 0 4px 14px rgba(10, 77, 163, .28); }
/* ---------- 27. 浏览器兼容层 & 打印 ---------- */
/* 说明：flex 布局 gap 兼容 Chrome 84+ / Safari 14.1+ / Firefox 63+（2020 年起主流内核）；
   更老内核页面内容仍完整可读，仅部分间距退化为紧贴。 */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }
[hidden] { display: none !important; }
button, .btn, .nav-toggle, .chip { -webkit-appearance: none; appearance: none; }
button { font-family: inherit; }
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header { background: #ffffff; }
  .modal-mask { background: rgba(6, 42, 92, .55); }
}
@media print {
  .topbar, .site-header, .nav-cta, .nav-toggle, .back-top, .pano-section, .cta-band, .items-toolbar { display: none !important; }
  body { background: #fff; color: #000; }
  .items-table-wrap { overflow: visible; box-shadow: none; border-radius: 0; }
  .items-table { min-width: 0; }
  .section { padding: 18px 0; }
}
/* ============================================================
   图片/视频资源补充（本地素材）
   ============================================================ */
/* 内页横幅：叠加背景图，保留原有渐变作为压暗层 */
.page-hero {
  background:
    radial-gradient(1100px 420px at 82% -60%, rgba(14, 165, 164, .35), transparent 60%),
    linear-gradient(128deg, rgba(6, 42, 92, .92) 0%, rgba(10, 77, 163, .86) 68%, rgba(16, 96, 196, .86) 100%),
    url("../assets/image/page-header.jpg") center / cover no-repeat;
}
/* 新闻/资讯封面图 */
.news-cover img,
.news-page-card .cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; padding: 8px; }
.news-page-card .cover { position: relative; overflow: hidden; background: #fff; width: 340px; min-height: 240px; }
.news-page-card .news-body { min-width: 0; }
.news-page-card .news-body h3,
.news-page-card .news-body p { min-width: 0; }
@media (max-width: 700px) {
  .news-page-card { flex-direction: column; }
  .news-page-card .cover { width: 100%; min-height: 200px; }
}
/* 首页流程步骤配图 */
/* 流程步骤：数字居中 + 图标 */
.flow-step::before { content: none; }
.flow-step .flow-icon {
  display: block;
  width: 88px; height: 88px;
  object-fit: contain;
  margin: 0 auto 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .18);
  padding: 10px;
}
.showcase-panel.active { display: block; }
.showcase-actions .btn { padding: 9px 20px; font-size: 14px; }
/* ============================================================
   首页：实验室 VR 漫游（左图右文 + :target 弹窗）
   ============================================================ */
.vr-lab {
  position: relative;
  padding: 92px 0;
  background:
    linear-gradient(rgba(244, 247, 251, .92), rgba(244, 247, 251, .92)),
    url("../assets/image/bg.jpg") center / cover no-repeat;
}
.vr-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}
.vr-play { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.vr-play img { width: 100%; height: auto; display: block; }
.vr-play-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  background: rgba(6, 42, 92, .32);
  transition: background .3s var(--ease);
}
.vr-play:hover .vr-play-overlay { background: rgba(6, 42, 92, .45); }
.vr-play-text { color: #fff; font-size: 18px; font-weight: 700; letter-spacing: .08em; }
.vr-copy h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; color: var(--primary-900); }
.vr-copy .vr-sub { margin-top: 10px; font-size: 17px; font-weight: 600; color: var(--accent-dark); }
.vr-copy p { margin-top: 14px; font-size: 15px; line-height: 1.85; color: var(--text-2); }
.vr-copy .vr-cta { margin-top: 26px; }
/* VR 弹窗（:target 触发） */
.vr-modal {
  display: none;
  position: fixed; inset: 0; z-index: 1200;
  align-items: center; justify-content: center;
  padding: 24px;
}
.vr-modal:target { display: flex; }
.vr-modal-mask { position: absolute; inset: 0; background: rgba(6, 20, 40, .72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.vr-modal-box {
  position: relative; z-index: 1;
  width: min(980px, 100%);
  max-height: calc(100dvh - 48px);
  overflow: auto;
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow-lg);
}
.vr-modal-close {
  position: absolute; top: 8px; right: 10px; z-index: 2;
  width: 40px; height: 40px;
  border-radius: 50%;
  font-size: 28px; line-height: 1;
  color: var(--text-2);
  background: rgba(255, 255, 255, .9);
  transition: color .25s var(--ease), background .25s var(--ease);
}
.vr-modal-close:hover { color: var(--primary-900); background: #fff; }
.vr-modal-head { margin-bottom: 16px; padding-right: 44px; }
.vr-modal-head h3 { font-size: 20px; font-weight: 800; color: var(--primary-900); }
.vr-modal-head p { margin-top: 6px; font-size: 13.5px; color: var(--text-3); }
.vr-frame { position: relative; padding-top: 56.25%; border-radius: 12px; overflow: hidden; background: #000; }
.vr-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vr-newwin { margin-top: 14px; }
@media (max-width: 900px) {
  .vr-grid { grid-template-columns: 1fr; gap: 34px; }
  .vr-lab { padding: 64px 0; }
}
/* 合作客户 logo 轮播 */
.clients-carousel {
  overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.clients-track { display: flex; width: max-content; animation: clients-scroll 28s linear infinite; }
.clients-carousel:hover .clients-track { animation-play-state: paused; }
.client-logo {
  flex-shrink: 0;
  width: 210px; height: 130px;
  margin-right: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  display: grid; place-items: center;
  box-shadow: var(--shadow-sm);
}
.client-logo img { width: 170px; height: 95px; object-fit: contain; }
@keyframes clients-scroll { to { transform: translateX(-50%); } }
@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(63, 208, 207, .6); }
  70% { box-shadow: 0 0 0 9px rgba(63, 208, 207, 0); }
  100% { box-shadow: 0 0 0 0 rgba(63, 208, 207, 0); }
}
/* ============================================================
   导航：检测服务下拉面板（六大领域 + 相关文章标题）
   ============================================================ */
.nav-drop { position: relative; }
.nav-drop-toggle { display: block; }
.nav-drop-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translate(-50%, 8px);
  width: 220px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  z-index: 200;
}
.nav-drop:hover .nav-drop-panel,
.nav-drop:focus-within .nav-drop-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
/* 一级：领域名称（单列） */
.nav-drop-domain { position: static; }
.nav-drop-domain > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14.5px;
  color: var(--text-1);
  white-space: nowrap;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.nav-drop-domain > a b { font-weight: 700; }
.nav-drop-domain > a span {
  font-size: 16px;
  line-height: 1;
  color: var(--text-3);
  transition: color .2s var(--ease), transform .2s var(--ease);
}
.nav-drop-domain:hover > a { background: rgba(16, 96, 196, .08); color: var(--primary-700); }
.nav-drop-domain:hover > a span { color: var(--primary-700); transform: translateX(2px); }
/* 二级：右侧滑出文章面板（顶部与一级面板对齐，不高于一级面板） */
.nav-sub {
  position: absolute;
  left: 100%;
  top: 0;
  transform: translateX(10px);
  padding-left: 12px; /* 悬停桥接区，鼠标移过间隙不收起 */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  z-index: 210;
}
.nav-drop-domain:hover .nav-sub {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
}
.nav-sub-card {
  width: 300px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
}
.nav-sub-card > b {
  display: block;
  padding: 4px 10px 10px;
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 800;
  color: var(--primary-900);
  border-bottom: 2px solid rgba(16, 96, 196, .18);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-sub-card a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--text-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.nav-sub-card a:hover { background: rgba(16, 96, 196, .08); color: var(--primary-700); }
.nav-sub-card a i {
  flex-shrink: 0;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--text-3);
  transition: background .2s var(--ease);
}
.nav-sub-card a:hover i { background: var(--accent); }
.nav-drop:hover .nav-drop-toggle { color: var(--primary-700); }
.nav-drop:hover .nav-drop-toggle::after { width: 26px; }
@media (max-width: 1000px) { .nav-drop-panel { display: none; } }
.article-head .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-700);
  background: rgba(16, 96, 196, .09);
  padding: 4px 12px;
  border-radius: 999px;
}
.article-side { display: grid; gap: 20px; position: sticky; top: calc(var(--nav-h) + 20px); }
.article-cta { padding: 28px 26px; background: linear-gradient(150deg, #062a5c, #0a4da3 60%, #1060c4); color: #fff; }
.article-cta h3 { font-size: 19px; font-weight: 800; }
.article-cta p { margin-top: 12px; font-size: 13.5px; line-height: 1.8; color: rgba(255, 255, 255, .82); }
.article-cta-actions { margin-top: 20px; display: grid; gap: 12px; }
/* 深色卡片上的按钮改为白底高对比样式，更醒目 */
.article-cta .btn-primary,
.btn-invert {
  background: #fff;
  color: var(--primary-700);
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(3, 18, 40, .35);
}
.article-cta .btn-primary:hover,
.btn-invert:hover {
  background: #eaf3ff;
  color: var(--primary-800);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(3, 18, 40, .45);
}
.article-cta-list { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .18); display: grid; gap: 10px; }
.article-cta-list li { position: relative; padding-left: 20px; font-size: 13px; color: rgba(255, 255, 255, .85); }
.article-cta-list li::before { content: "✓"; position: absolute; left: 0; color: #7fe9e8; font-weight: 700; }
.article-tel { padding: 22px 24px; text-align: center; }
.article-tel h4 { font-size: 14px; font-weight: 700; color: var(--text-3); letter-spacing: .06em; }
.article-tel a { display: block; margin-top: 8px; font-size: 24px; font-weight: 800; color: var(--primary-700); font-variant-numeric: tabular-nums; }
.article-tel span { display: block; margin-top: 6px; font-size: 12.5px; color: var(--text-3); }
@media (max-width: 1000px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-side { position: static; }
  .article-main { padding: 26px 22px; }
  .article-figure { height: 220px; }
}
/* 联系页：百度地图 */
.map-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.map-card { padding: 24px 24px 20px; }
.map-card h3 { font-size: 18px; font-weight: 800; color: var(--primary-900); }
.map-card p { margin-top: 8px; font-size: 14px; color: var(--text-2); }
.bmap {
  width: 100%;
  height: 340px;
  margin-top: 16px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.BMap_cpyCtrl, .anchorBL { display: none !important; }
@media (max-width: 900px) { .map-grid { grid-template-columns: 1fr; } }
/* 检测服务详情页：侧栏资质（选项卡切换展示） */
.article-cert { padding: 22px 22px 18px; }
.article-cert h4 { font-size: 15px; font-weight: 800; color: var(--primary-900); }
.article-cert-tabs {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.article-cert-tabs button {
  padding: 8px 0;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  color: var(--text-2);
  background: rgba(16, 96, 196, .07);
  transition: color .2s var(--ease), background .2s var(--ease);
}
.article-cert-tabs button:hover { color: var(--primary-700); }
.article-cert-tabs button.active {
  color: #fff;
  background: linear-gradient(135deg, var(--primary-600), var(--accent));
}
.article-cert-view { display: block; margin-top: 12px; }
.article-cert-view img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--line);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.article-cert-view:hover img { transform: none; box-shadow: none; }
/* 详情页正文：移除非按钮元素块的悬停效果（按钮除外） */
.article-main:hover,
.article-side .card:hover,
.map-card:hover,
.map-grid .card:hover { transform: none; box-shadow: var(--shadow-sm); }
.article-cert-name {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  text-align: center;
}
.article-cert .article-cert-more {
  display: block;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--primary-700);
  text-align: center;
}

@media (max-width: 900px) {
  
}
/* 详情页/新闻页：简洁检测流程（多端自适应，精致版） */
.mini-flow {
  padding-bottom: 84px;
  background: linear-gradient(180deg, transparent 0%, rgba(244, 247, 251, .9) 26%, rgba(244, 247, 251, .9) 74%, transparent 100%);
}
.mini-flow-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.mini-flow-steps li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 22px 16px 20px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(227, 234, 243, .9);
  box-shadow: 0 4px 16px rgba(10, 77, 163, .06);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.mini-flow-steps li::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-600), var(--accent));
}
.mini-flow-steps li > div {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: center;
}
.mini-flow-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -12px; top: 50%;
  width: 9px; height: 9px;
  border-top: 2.5px solid var(--primary-500);
  border-right: 2.5px solid var(--primary-500);
  transform: translateY(-50%) rotate(45deg);
  z-index: 2;
}
.mini-flow-steps li:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(6, 42, 92, .12);
}
.mini-flow-steps b {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 16px;
  font-size: 23px;
  line-height: 1;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  background: rgba(16, 96, 196, .08);
  border: 1px solid rgba(16, 96, 196, .14);
  color: var(--primary-700);
}
.mini-flow-steps span { display: block; font-size: 15px; font-weight: 700; color: var(--text-1); }
.mini-flow-steps em {
  display: block;
  margin-top: 5px;
  font-style: normal;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--text-3);
}
/* 平板：三列两行，隐藏箭头 */
@media (max-width: 1000px) and (min-width: 641px) {
  .mini-flow-steps { grid-template-columns: repeat(3, 1fr); }
  .mini-flow-steps li:not(:last-child)::after { display: none; }
}
/* 手机：竖向时间线 */
@media (max-width: 640px) {
  .mini-flow-steps { grid-template-columns: 1fr; gap: 12px; }
  .mini-flow-steps li { padding: 16px; flex-direction: row; align-items: center; text-align: left; }
  .mini-flow-steps li > div { text-align: left; }
  .mini-flow-steps li:not(:last-child)::after {
    right: auto; left: 42px; top: auto; bottom: -13px;
    width: 8px; height: 8px;
    border: none;
    border-left: 2.5px solid var(--primary-500);
    border-bottom: 2.5px solid var(--primary-500);
    transform: rotate(-45deg);
  }
  .mini-flow-steps b { width: 50px; height: 50px; font-size: 20px; border-radius: 14px; }
  .mini-flow-steps span { font-size: 14.5px; }
}
.partners-band .section-head { margin-bottom: 34px; }
.partners-band .clients-carousel { padding: 0 max(24px, calc((100vw - var(--container)) / 2)); }
.client-logo {
  width: 210px; height: 130px;
  display: grid; place-items: center;
  flex-shrink: 0;
  margin-right: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}
.client-logo img { width: 170px; height: 95px; object-fit: contain; }
@media (max-width: 900px) {
  .client-logo { width: 180px; height: 112px; }
  .client-logo img { width: 146px; height: 82px; }
}
@media (max-width: 640px) {
  .client-logo { width: 150px; height: 96px; margin-right: 16px; border-radius: 12px; }
  .client-logo img { width: 122px; height: 68px; }
}
.news-card .news-body { padding: 16px 18px 20px; }
.news-card .news-body h3 { font-size: 16.5px; }
.news-card .news-body .tag {
  font-size: 11.5px;
  padding: 2px 10px;
  background: rgba(16, 96, 196, .08);
  color: var(--primary-700);
}
.news-card .news-body time { font-size: 12.5px; }
