.btn-ghost {
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .06);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .14); }
/* 检测流程步骤卡片：图标下方标题与描述文字水平居中 */
.flow-step h3,
.flow-step p { text-align: center; }
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 48px;
}
.hero-grid > * { min-width: 0; }
/* 防止不换行内容撑破栅格导致横向溢出 */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 100%;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .08);
  font-size: 14px;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .9);
}
.hero-sub {
  margin-top: 22px;
  max-width: 560px;
  font-size: 17.5px;
  line-height: 1.9;
  color: rgba(255, 255, 255, .82);
}
.hero-actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 16px; }
.hero-badges {
  margin-top: 42px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, .85);
}
.hero-badges span { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hero-badges svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }
.hero-visual { position: relative; }
.hero-visual .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(6px);
  opacity: .5;
  pointer-events: none;
}
.hero-visual .orb-1 { width: 130px; height: 130px; top: -34px; right: 8%; background: radial-gradient(circle at 32% 30%, #3fd0cf, #0c8786 70%); animation: float 7s ease-in-out infinite; }
.hero-visual .orb-2 { width: 74px; height: 74px; bottom: 4%; left: -6px; background: radial-gradient(circle at 30% 30%, #7fb5ff, #2a77d4 72%); animation: float 9s ease-in-out infinite reverse; }
.hero-card-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 2px;
  background: linear-gradient(140deg, rgba(255,255,255,.4), rgba(255,255,255,.06) 45%, rgba(14,165,164,.5));
}
.hero-card {
  border-radius: calc(var(--radius-lg) - 2px);
  background: linear-gradient(160deg, rgba(10, 40, 84, .92), rgba(8, 32, 68, .96));
  padding: 30px 30px 26px;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
.hero-card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px dashed rgba(255,255,255,.18);
}
.hero-card-head h3 { font-size: 18px; font-weight: 700; }
.hero-card-head span { font-size: 12.5px; color: rgba(255,255,255,.6); letter-spacing: .12em; }
.hero-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 14px;
  margin-top: 22px;
}
.hero-stat b {
  display: block;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.hero-stat b i { font-style: normal; font-size: 15px; margin-left: 2px; color: var(--accent); }
.hero-stat span { display: block; margin-top: 3px; font-size: 34px; color: rgba(255,255,255,.62); }
.hero-cert {
  margin-top: 24px;
  display: flex;
  gap: 10px;
}
.hero-cert span {
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--accent);
  border: 1px solid rgba(14, 165, 164, .45);
  background: rgba(14, 165, 164, .10);
}
/* ---------- 6. 首页：数据条 ---------- */
.stats-band { margin-top: -46px; position: relative; z-index: 5; }
/* ---------- 7. 首页：服务概览 ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  position: relative;
  padding: 34px 30px 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.service-card::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-600), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.service-card:hover::after { transform: scaleX(1); }
.service-card:hover .service-icon { transform: scale(1.08) rotate(-4deg); background: linear-gradient(140deg, var(--primary-600), var(--accent)); color: #fff; }
.service-card h3 { font-size: 20px; font-weight: 700; color: var(--primary-900); }
.service-card p { margin-top: 10px; font-size: 14.5px; color: var(--text-2); flex: 1; }
.service-tags { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.service-tags em {
  font-style: normal;
  font-size: 12.5px;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--bg-page);
  border: 1px solid var(--line);
  color: var(--text-2);
}
.service-more {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--primary-700);
}
.service-more svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.service-card:hover .service-more svg { transform: translateX(4px); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why-item {
  padding: 36px 26px;
  border-radius: var(--radius);
  background: var(--bg-page);
  border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.why-item:hover {
  transform: translateY(-6px);
  border-color: rgba(16, 96, 196, .35);
  box-shadow: var(--shadow-md);
  background: #fff;
}
.why-num {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
  color: var(--accent-dark);
  margin-bottom: 14px;
  display: block;
}
.why-item h3 { font-size: 19px; font-weight: 700; color: var(--primary-900); }
.why-item p { margin-top: 10px; font-size: 14.5px; color: var(--text-2); }
/* ---------- 10. 首页：新闻 ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card { overflow: hidden; display: flex; flex-direction: column; }
.news-cover {
  height: 180px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.9);
}
.news-cover svg { width: 84px; height: 84px; opacity: .9; }
.news-cover .date-chip {
  position: absolute;
  left: 16px; bottom: 14px;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(6, 42, 92, .55);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.news-card:hover h3 { color: var(--primary-700); }
/* ---------- 11. 首页：合作客户 ---------- */
.clients-section { background: #fff; }
/* 首页 Hero 视频背景（视频 + 40% 深蓝蒙版） */
.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-media video {
  position: absolute; top: 50%; left: 50%;
  width: 100%; height: 100%;
  min-width: 100vw; min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover; display: block;
  background: var(--primary-900);
}
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(6, 42, 92, .4);
}
/* ============================================================
   首页「六大领域」服务卡片：与整站浅色风格统一
   ============================================================ */
/* 六大领域卡片：图片位于卡片顶部 */
.service-card .service-ico {
  display: block;
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
}
.service-card .service-tags em {
  background: rgba(16, 96, 196, .06);
  border: 1px solid var(--line);
  color: var(--text-2);
}
/* ============================================================
   首页：检测服务展现（选项卡 + 卡片）
   ============================================================ */
.showcase-panel { display: none; }
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.showcase-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 24px;
}
.showcase-card img { display: block; width: 100%; height: auto; object-fit: contain; border-radius: 12px; }
.showcase-body { padding: 0; display: flex; flex-direction: column; flex: 1; margin-top: 20px; }
.showcase-body h3 { font-size: 20px; font-weight: 600; color: var(--primary-900); transition: color .25s var(--ease); }
.showcase-card:hover h3 { color: var(--primary-700); }
.showcase-body p { margin-top: 8px; font-size: 13.5px; line-height: 1.7; color: var(--text-2); }
.showcase-actions { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 1000px) { .showcase-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .showcase-grid { grid-template-columns: 1fr; } }
/* ============================================================
   首页 Hero 数据卡片：毛玻璃拟态重做
   ============================================================ */
.hero-visual .orb-1 { width: 160px; height: 160px; top: -46px; right: 4%; opacity: .38; }
.hero-visual .orb-2 { width: 90px; height: 90px; bottom: -8px; left: -18px; opacity: .38; }
.hero-card-wrap {
  padding: 0;
  background: none;
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(3, 18, 40, .45);
}
.hero-card {
  position: relative;
  border-radius: 22px;
  padding: 34px 32px 28px;
  background: linear-gradient(155deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .07) 55%, rgba(255, 255, 255, .04));
  border: 1px solid rgba(255, 255, 255, .30);
    -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  overflow: hidden;
}
.hero-card::before {
  content: "";
  position: absolute;
  top: -60%; left: -20%;
  width: 70%; height: 160%;
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, .18), transparent);
  transform: rotate(20deg);
  pointer-events: none;
}
.hero-card-head {
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}
.hero-card-head h3 { font-size: 19px; font-weight: 800; letter-spacing: .02em; }
.hero-card-head span {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11.5px; letter-spacing: .14em;
  color: #7fe9e8;
  background: rgba(14, 165, 164, .18);
  border: 1px solid rgba(127, 233, 232, .35);
}
.hero-card-head span::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: #3fd0cf;
  box-shadow: 0 0 0 0 rgba(63, 208, 207, .6);
  animation: live-pulse 2s ease-out infinite;
}
.hero-stat-grid { gap: 14px; margin-top: 22px; }
.hero-stat {
  position: relative;
  padding: 12px 16px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.hero-stat:hover { background: rgba(255, 255, 255, .14); transform: translateY(-3px); }
.hero-stat b {
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: -0.01em;
  background: linear-gradient(92deg, #fff, #9fdcff);
    -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-stat b i {
  font-style: normal;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .02em;
  color: #3fd0cf;
  margin-left: 3px;
}
.hero-stat > span {
  position: absolute;
  right: 12px; bottom: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  letter-spacing: .03em;
  color: rgba(255, 255, 255, .95);
  background: rgba(6, 42, 92, .55);
    -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, .25);
}
.hero-cert {
  margin-top: 22px;
  gap: 8px;
  flex-wrap: wrap;
}
.hero-cert span {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.2;
  color: rgba(255, 255, 255, .92);
  background: rgba(6, 42, 92, .35);
  border: 1px solid rgba(255, 255, 255, .22);
}
/* 首页最新检测项目卡片：封面与正文同宽、保持原始比例（不裁切不变形） */
.news-card { padding: 0; }
.news-card .news-cover {
  position: relative;
  margin: 18px 18px 0;
  border-radius: 12px;
  overflow: hidden;
}
.news-card .news-cover img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
  padding: 0;
  background: none;
}

/* ---------- 响应式补全：hero 栅格折叠（防止加载顺序顶掉 base 的移动端规则） ---------- */
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 520px; margin: 0 auto; }
}
@media (max-width: 480px) {
  .hero-card { padding: 24px 18px 20px; }
  .hero-stat-grid { gap: 10px 12px; }
  .hero-stat { padding: 12px 12px 30px; }
  .hero-stat b { font-size: 26px; }
}
/* why-grid responsive */
@media (max-width: 1000px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- 响应式补全：服务/新闻栅格折叠（多端上下排列） ---------- */
@media (max-width: 1080px) {
  .services-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .services-grid, .news-grid { grid-template-columns: 1fr; }
}