/* ==========================================================================
   中析样检测技术有限公司 · 全站样式
   结构：基础reset → 通用工具 → 头部导航 → 通栏Banner → 按钮
        → 首页各区块 → 面包屑 → 侧栏布局 → 新闻列表/详情 → 关于我们
        → 荣誉资质 → 仪器设备 → 页脚 → 返回顶部 → 响应式
   ========================================================================== */

/* ---------- Reset 与设计变量 ---------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #0e6db7;
  --primary-dark: #0a4f86;
  --primary-deep: #07395f;
  --primary-light: #e8f2fb;
  --accent: #f5a623;
  --ink: #1f2b38;
  --text: #3c4653;
  --text-light: #7a8794;
  --bg-gray: #f5f7fa;
  --border: #e5eaf1;
  --shadow-sm: 0 2px 10px rgba(20, 50, 90, .06);
  --shadow-md: 0 14px 36px rgba(15, 60, 110, .13);
  --radius: 10px;
  --header-h: 112px;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; vertical-align: middle; }
a { color: inherit; text-decoration: none; transition: color .2s; }
ul, ol { list-style: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }
::selection { background: var(--primary); color: #fff; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

[id] { scroll-margin-top: calc(var(--header-h) + 72px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- 通用工具 ---------- */
.container { width: min(1400px, 92%); margin-inline: auto; }

.section { padding: 78px 0; }
.section--gray { background: var(--bg-gray); }

.section-head { max-width: 660px; margin: 0 auto 50px; text-align: center; }
.section-title { margin: 0; font-size: 32px; font-weight: 700; color: var(--ink); }
.section-title::after {
  content: "";
  display: block;
  width: 52px;
  height: 4px;
  margin: 16px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}
.section-desc { margin-top: 16px; font-size: 15px; color: var(--text-light); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: 10px 18px;
  background: var(--primary);
  color: #fff;
  border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; }

/* ---------- 头部 / 导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 1px 0 var(--border);
  transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 4px 18px rgba(15, 60, 110, .12); }

.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }

.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { display: block; }

.main-nav > ul { display: flex; }
.main-nav > ul > li > a {
  position: relative;
  display: block;
  padding: 28px 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.main-nav > ul > li > a::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 22px;
  height: 3px;
  border-radius: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform .25s;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li > a.active { color: var(--primary); }
.main-nav > ul > li > a:hover::after,
.main-nav > ul > li > a.active::after { transform: scaleX(1); }

/* “我们的服务”下拉菜单（桌面端悬停展开） */
.main-nav > ul > li { position: relative; }
.caret {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 7px;
  border: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform .25s;
}
.has-dropdown:hover .caret,
.has-dropdown:focus-within .caret { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  min-width: 176px;
  padding: 8px 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(15, 60, 110, .16);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(10px);
  transition: opacity .25s, transform .25s, visibility .25s;
  z-index: 60;
}
.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 10px 24px;
  font-size: 14.5px;
  font-weight: 400;
  color: var(--text);
  text-align: center;
  white-space: nowrap;
}
.nav-dropdown a:hover { background: var(--primary-light); color: var(--primary); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 8px;
  border-radius: 6px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .3s, opacity .3s;
}
.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); }

/* ---------- 通栏 Banner（首页轮播） ---------- */
.home-banner { position: relative; width: 100%; overflow: hidden; }

.carousel { position: relative; height: calc(100vh - var(--header-h)); }
.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  color: #fff;
  transition: opacity .9s ease, visibility .9s;
}
.slide.is-active { opacity: 1; visibility: visible; z-index: 2; }

.slide--1 { background: linear-gradient(112deg, #052e50 0%, #0b5e9d 55%, #1180c4 100%); }
.slide--2 { background: linear-gradient(112deg, #073b57 0%, #0d7490 58%, #17a2a2 100%); }
.slide--3 { background: linear-gradient(112deg, #0a2540 0%, #144d73 52%, #2e7fb8 100%); }

/* 科技圆点纹理层（通栏铺满） */
.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1.4px);
  background-size: 26px 26px;
  pointer-events: none;
}
/* 装饰同心圆 */
.slide .deco-ring {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  pointer-events: none;
}
.slide .deco-ring--1 { width: 460px; height: 460px; right: -120px; top: -140px; }
.slide .deco-ring--2 { width: 300px; height: 300px; right: 60px; bottom: -110px; }
.slide .slide-molecule {
  position: absolute;
  right: 4%;
  top: 50%;
  width: 440px;
  transform: translateY(-50%);
  pointer-events: none;
}

.slide-content { position: relative; z-index: 3; max-width: 660px; }
.slide-tag {
  display: inline-block;
  padding: 5px 16px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, .95);
}
.slide-title { margin: 22px 0 16px; font-size: 44px; font-weight: 700; line-height: 1.28; letter-spacing: 1px; }
.slide-desc { max-width: 540px; font-size: 16.5px; color: rgba(255, 255, 255, .88); }
.slide-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.carousel-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 26px;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.carousel-dots button {
  width: 34px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .38);
  transition: background .3s;
}
.carousel-dots button.is-active { background: #fff; }

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  transition: background .25s;
}
.carousel-arrow:hover { background: rgba(255, 255, 255, .3); }
.carousel-arrow[data-prev] { left: 26px; }
.carousel-arrow[data-next] { right: 26px; }
.carousel-arrow svg { width: 20px; height: 20px; }

/* ---------- 通栏 Banner（子页面） ---------- */
.banner--sub {
  position: relative;
  width: 100%;
  padding: 72px 0 66px;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.banner--sub::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .11) 1px, transparent 1.4px);
  background-size: 26px 26px;
  pointer-events: none;
}
.banner--sub .deco-ring { position: absolute; border: 1px solid rgba(255, 255, 255, .14); border-radius: 50%; }
.banner--sub .deco-ring--1 { width: 340px; height: 340px; left: -110px; top: -130px; }
.banner--sub .deco-ring--2 { width: 240px; height: 240px; right: -70px; bottom: -100px; }

/* 视频Banner：加大高度并垂直居中 */
.banner--sub.banner--full { min-height: calc(100vh - var(--header-h)); }
.banner--sub.banner--tall { min-height: 560px; }
.banner--sub .banner-sub + .banner-sub { margin-top: 12px; font-size: 13.5px; color: rgba(255, 255, 255, .72); letter-spacing: .5px; }
.banner--video { display: flex; align-items: center; min-height: 420px; padding: 90px 0; }

/* 通栏Banner背景视频：铺满、遮罩保证文字可读 */
.banner-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.banner--sub::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(112deg, rgba(6, 32, 52, .78), rgba(13, 84, 128, .52));
  pointer-events: none;
  z-index: 1;
}
.banner--sub .deco-ring { z-index: 1; }
/* VR实验室全景框架 */
.vr-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(112deg, #062338 0%, #0b3a5e 55%, #0f5580 100%);
  box-shadow: 0 18px 40px rgba(15, 60, 110, .16);
  display: flex;
  align-items: center;
  justify-content: center;
}
.vr-play {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  cursor: pointer;
}
.vr-play-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 78px;
  margin-bottom: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .45);
  backdrop-filter: blur(2px);
  transition: transform .25s, background .25s;
}
.vr-play-icon svg { width: 34px; height: 34px; margin-left: 4px; }
.vr-play:hover .vr-play-icon { transform: scale(1.08); background: var(--primary); border-color: var(--primary); }
.vr-play strong { font-size: 17px; letter-spacing: 2px; }
.vr-play span:last-child { font-size: 12.5px; color: rgba(255, 255, 255, .68); letter-spacing: 1px; }
.vr-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* 首页视频Banner遮罩与装饰层级 */
.banner-video-shade { position: absolute; inset: 0; background: linear-gradient(112deg, rgba(4, 26, 45, .78), rgba(10, 70, 110, .55)); pointer-events: none; z-index: 1; }
.slide .deco-ring, .slide .slide-molecule { z-index: 2; }

.banner--sub--blue { background: linear-gradient(112deg, #052e50, #0e6db7); }
.banner--sub--teal { background: linear-gradient(112deg, #073b57, #12939b); }
.banner--sub--navy { background: linear-gradient(112deg, #082c4a, #155d8d); }
.banner--sub--gold { background: linear-gradient(112deg, #0b2537, #123f63); }

.banner--sub .container { position: relative; z-index: 2; }
.banner-title { margin: 12px 0 10px; font-size: 34px; font-weight: 700; letter-spacing: 2px; }
.banner-sub { font-size: 15px; color: rgba(255, 255, 255, .82); }
.banner-title-bar {
  width: 46px;
  height: 4px;
  margin: 18px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, #fff, var(--accent));
}

/* ---------- 面包屑 ---------- */
.breadcrumb { background: #fff; border-bottom: 1px solid var(--border); }
.breadcrumb-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  min-height: 52px;
  font-size: 13px;
  color: var(--text-light);
}
.breadcrumb-inner li { display: flex; align-items: center; }
.breadcrumb-inner li + li::before { content: "›"; margin: 0 10px; color: #b6c2cf; }
.breadcrumb-inner a:hover { color: var(--primary); }
.breadcrumb-inner [aria-current="page"] { color: var(--primary); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 32px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  transition: background .25s, color .25s, border-color .25s, transform .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-dark); box-shadow: 0 8px 20px rgba(14, 109, 183, .35); }
.btn--ghost { border: 1px solid rgba(255, 255, 255, .65); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }
.btn--light { background: #fff; color: var(--primary); }
.btn--light:hover { box-shadow: 0 8px 20px rgba(4, 30, 55, .3); }
.btn--outline { border: 1px solid var(--primary); color: var(--primary); }
.btn--outline:hover { background: var(--primary); color: #fff; }
.btn--sm { padding: 8px 20px; font-size: 13px; }

/* ---------- 首页：服务领域（与主导航“我们的服务”九大分类对应，每行4个） ---------- */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.service-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 22px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
/* 悬停时从左划出的顶部渐变色条 */
.service-tile::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), #17a2a2);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .35s;
}
.service-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.service-tile:hover::before { transform: scaleX(1); }

.tile-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.tile-no {
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  color: #e3edf7;
  font-variant-numeric: tabular-nums;
  transition: color .3s;
}
.service-tile:hover .tile-no { color: var(--primary-light); }

.tile-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: linear-gradient(135deg, #e8f2fb, #d3e7f8);
  color: var(--primary);
  transition: background .3s, color .3s, transform .3s;
}
.tile-icon svg { width: 28px; height: 28px; }
.service-tile:hover .tile-icon {
  background: linear-gradient(135deg, var(--primary), #17a2a2);
  color: #fff;
  transform: scale(1.06);
}

.tile-body h3 { margin-bottom: 6px; font-size: 17px; color: var(--ink); }
.tile-body p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-light);
}
.tile-link { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--primary); }
.tile-link::after { content: "→"; display: inline-block; margin-left: 5px; transition: transform .25s; }
.tile-link:hover::after { transform: translateX(3px); }

/* 第9项“检测标准”：通栏横向条卡收尾 */
.service-tile--wide {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  background: linear-gradient(120deg, #f2f8fd, #e7f1fb);
  border-color: #d9e9f6;
}
.service-tile--wide .tile-icon { width: 54px; height: 54px; background: #fff; flex-shrink: 0; }
.service-tile--wide .tile-body { flex: 1; min-width: 0; }
.service-tile--wide .tile-body h3 { margin-bottom: 4px; }
.service-tile--wide .tile-body p { display: block; overflow: visible; }
.service-tile--wide .tile-no { position: absolute; top: 10px; right: 16px; font-size: 30px; }
.service-tile--wide .btn { flex-shrink: 0; }

/* ---------- 首页：数据优势（通栏） ---------- */
.stats {
  position: relative;
  padding: 84px 0;
  color: #fff;
  background: linear-gradient(118deg, #083354 0%, #0e6db7 58%, #12939b 100%);
  overflow: hidden;
}
.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .1) 1px, transparent 1.4px);
  background-size: 26px 26px;
  pointer-events: none;
}
.stats::after {
  content: "";
  position: absolute;
  top: -160px;
  right: -100px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .14), transparent);
  pointer-events: none;
}

.stats-panel {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 52px;
  align-items: center;
}

.stats-intro { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; }
.stats-intro h2 { margin: 0 0 12px; font-size: 30px; font-weight: 700; letter-spacing: 1px; }
.stats-intro h2 em { font-style: normal; color: #ffd591; }
.stats-intro p { font-size: 14.5px; line-height: 1.9; color: rgba(255, 255, 255, .8); }
.stats-intro .btn { margin-top: 26px; align-self: flex-start; }

.stats-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; align-content: center; }
.stat-item { padding: 30px 12px 30px 38px; }
.stat-item:nth-child(even) { border-left: 1px solid rgba(255, 255, 255, .16); }
.stat-item:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .16); }
.stat-num { font-size: 44px; font-weight: 800; line-height: 1.15; font-variant-numeric: tabular-nums; }
.stat-num .unit { margin-left: 4px; font-size: 20px; font-weight: 700; color: #ffd591; }
.stat-label {
  display: flex;
  align-items: center;
  margin-top: 4px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, .78);
}
.stat-label::before {
  content: "";
  width: 14px;
  height: 3px;
  margin-right: 8px;
  border-radius: 2px;
  background: var(--accent);
}

/* ---------- 首页：关于我们 ---------- */
.about-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.about-visual { position: relative; }
.about-img {
  aspect-ratio: 4 / 3.2;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #dcebf8 0%, #bcd9f0 55%, #9ec8e8 100%);
  color: var(--primary-dark);
  overflow: hidden;
}
.about-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.about-img svg.tech-icon { width: 150px; height: 150px; opacity: .9; }
.about-badge {
  position: absolute;
  right: -14px;
  bottom: -26px;
  padding: 18px 24px;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}
.about-badge strong { display: block; font-size: 30px; font-weight: 800; color: var(--primary); line-height: 1.1; }
.about-badge span { font-size: 13px; color: var(--text-light); }

.about-brief .section-title { text-align: left; }
.about-brief .section-title::after { margin-left: 0; }
.about-brief > p { margin-top: 18px; color: var(--text-light); }
.tick-list { margin-top: 22px; display: grid; gap: 12px; }
.tick-list li { position: relative; padding-left: 30px; font-size: 15px; color: var(--ink); font-weight: 600; }
.tick-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 3px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
}
.about-brief .btn { margin-top: 28px; }

/* ---------- 首页：我们的优势 ---------- */
.advantage { padding: 78px 0; background: linear-gradient(180deg, #f0f7fd 0%, #f8fbfe 100%); }
.advantage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.advantage-card {
  padding: 34px 26px 30px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform .3s, box-shadow .3s;
}
.advantage-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.advantage-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #17a2a2);
  color: #fff;
  box-shadow: 0 8px 20px rgba(14, 109, 183, .28);
}
.advantage-icon svg { width: 30px; height: 30px; }
.advantage-card h3 { margin-bottom: 8px; font-size: 18px; color: var(--ink); }
.advantage-card p { font-size: 13.5px; line-height: 1.8; color: var(--text-light); }

/* ---------- 关于我们：我们的优势（深色面板版式） ---------- */
.advantage--dark { padding: 78px 0; }
.adv-dark-panel {
  position: relative;
  overflow: hidden;
  padding: 56px 60px;
  border-radius: 18px;
  background: linear-gradient(118deg, #083354 0%, #0e6db7 58%, #12939b 100%);
  color: #fff;
  box-shadow: 0 24px 60px rgba(8, 51, 84, .22);
}
.adv-dark-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .1) 1px, transparent 1.4px);
  background-size: 26px 26px;
  pointer-events: none;
}
.adv-dark-panel::after {
  content: "";
  position: absolute;
  top: -150px;
  right: -100px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .15), transparent);
  pointer-events: none;
}
.adv-dark-head { position: relative; z-index: 2; max-width: 640px; margin: 0 auto 46px; text-align: center; }
.adv-dark-head h2 { font-size: 30px; font-weight: 700; letter-spacing: 1px; }
.adv-dark-head h2::after {
  content: "";
  display: block;
  width: 52px;
  height: 4px;
  margin: 16px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, #fff, var(--accent));
}
.adv-dark-head p { margin-top: 14px; font-size: 14.5px; color: rgba(255, 255, 255, .8); }

.adv-dark-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); }
.adv-dark-item { padding: 8px 26px; }
.adv-dark-item + .adv-dark-item { border-left: 1px solid rgba(255, 255, 255, .16); }
.adv-dark-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  transition: background .3s, transform .3s;
}
.adv-dark-icon svg { width: 28px; height: 28px; }
.adv-dark-item:hover .adv-dark-icon { background: rgba(255, 255, 255, .26); transform: translateY(-4px); }
.adv-dark-item h3 { margin-bottom: 8px; font-size: 17px; color: #fff; }
.adv-dark-item p { font-size: 13px; line-height: 1.75; color: rgba(255, 255, 255, .75); }

/* ---------- 首页：新闻 ---------- */
.news-split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: start; }

.news-feature {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .3s, transform .3s;
}
.news-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-img {
  position: relative;
  height: 240px;
  display: grid;
  place-items: center;
  background: linear-gradient(120deg, #0b5e9d, #17a2a2);
  color: rgba(255, 255, 255, .92);
}
.feature-img svg { width: 96px; height: 96px; }
.feature-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1.4px);
  background-size: 24px 24px;
}
.feature-body { padding: 24px 26px 28px; }
.feature-body h3 { font-size: 19px; line-height: 1.5; color: var(--ink); }
.news-feature:hover h3 { color: var(--primary); }
.feature-body p { margin-top: 10px; font-size: 14px; color: var(--text-light); }
.feature-meta { display: flex; gap: 18px; margin-top: 14px; font-size: 12.5px; color: var(--text-light); }

.news-rows { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 8px 24px; }
.news-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 0; border-bottom: 1px dashed var(--border); }
.news-row:last-child { border-bottom: 0; }
.news-row a {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.news-row a:hover { color: var(--primary); }
.news-row time { flex-shrink: 0; font-size: 12.5px; color: var(--text-light); }
.news-more-wrap { margin-top: 46px; text-align: center; }

/* ---------- 首页：仪器设备预览 ---------- */
.equip-grid { display: grid; gap: 24px; }
.equip-grid--3 { grid-template-columns: repeat(3, 1fr); }
.equip-grid--4 { grid-template-columns: repeat(4, 1fr); gap: 14px; }

.equip-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  text-align: center;
  transition: transform .3s, box-shadow .3s;
}
.equip-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.equip-figure {
  height: auto;
  aspect-ratio: 5 / 4;
  grid-template-rows: 100%;
  overflow: hidden;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 8px;
  background: linear-gradient(135deg, #eef5fc, #dbeaf8);
  color: var(--primary);
}
/* 真实照片图框：白底完整显示不裁边 */
.equip-figure:has(.equip-photo) { background: #fff; }
.equip-figure svg { width: 74px; height: 74px; }
.equip-photo { display: block; width: 100%; height: 100%; object-fit: contain; }
.equip-card h3 { font-size: 16px; color: var(--ink); }
.equip-abbr {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: 4px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  vertical-align: 2px;
  white-space: nowrap;
}
.equip-card .equip-model { margin-top: 4px; font-size: 13px; color: var(--text-light); }
.equip-card .equip-desc {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--text-light);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.equip-specs { margin-top: 14px; text-align: left; font-size: 13px; }
.equip-specs > div { display: flex; gap: 12px; padding: 8px 2px; border-top: 1px dashed var(--border); }
.equip-specs dt { flex-shrink: 0; color: var(--text-light); }
.equip-specs dd { color: var(--ink); }

/* ---------- 首页：荣誉资质预览 ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cert-card {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: transform .3s, box-shadow .3s;
}
.cert-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.cert-view {
  position: relative;
  aspect-ratio: 3 / 3.4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border-radius: 6px;
  background: linear-gradient(160deg, #fdfaf1, #f7efdd);
  box-shadow: inset 0 0 0 1px #e3cfa3, inset 0 0 0 5px #fdfaf1, inset 0 0 0 6px #e9d9b4;
}
.cert-type {
  display: inline-block;
  padding: 3px 14px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: #b7332e;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
}
.cert-type--blue { background: #114f8a; }
.cert-type--gold { background: #a4781c; }
.cert-name { font-size: 15.5px; font-weight: 700; color: #6d4d14; line-height: 1.5; }
.cert-line { width: 52px; height: 2px; margin: 12px 0; background: #c9a86a; }
.cert-no { font-size: 12px; color: #a08a5f; }
.cert-seal {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 2px solid rgba(200, 60, 55, .55);
  border-radius: 50%;
  color: rgba(200, 60, 55, .75);
  font-size: 20px;
}
.cert-card figcaption { margin-top: 14px; font-size: 14px; color: var(--ink); font-weight: 600; }
/* 首页资质区域：一行3张大图 */
.cert-grid--3 { grid-template-columns: repeat(3, 1fr); gap: 30px; }
.cert-grid--3 .cert-name { font-size: 17px; }
/* 荣誉奖项：一行5张横版图 */
.cert-grid--5 { grid-template-columns: repeat(5, 1fr); gap: 20px; }
.cert-grid--5 .cert-card figcaption { font-size: 13px; }
.cert-grid--5 .cert-img { aspect-ratio: 4 / 3; }
/* 荣誉页：权威资质三张图稍微缩小（卡内居中限宽） */
.cert-grid--sm .cert-img-link { max-width: 380px; margin: 0 auto; }
/* 真实证书图片卡片 */
.cert-img-link {
  display: block;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--border);
}
.cert-img { display: block; width: 100%; aspect-ratio: 2 / 3; object-fit: contain; }

/* ---------- CTA 横幅 ---------- */
.cta {
  position: relative;
  padding: 72px 0;
  text-align: center;
  color: #fff;
  background: linear-gradient(112deg, var(--primary-deep), var(--primary));
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1.4px);
  background-size: 26px 26px;
}
.cta .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta-text h2 { font-size: 30px; font-weight: 700; letter-spacing: 1px; text-align: left; }
.cta-text p { margin: 12px 0 0; font-size: 15.5px; color: rgba(255, 255, 255, .85); text-align: left; max-width: 680px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; flex-shrink: 0; }
.cta-actions .btn { padding: 15px 60px; }

/* ---------- 侧栏布局（新闻类页面） ---------- */
.page-main { display: grid; grid-template-columns: 1fr 300px; gap: 34px; padding: 52px 0 84px; align-items: start; }

.aside-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.aside-card + .aside-card { margin-top: 24px; }
.aside-card h3 {
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
  font-size: 17px;
  color: var(--ink);
}
.aside-list li + li { margin-top: 2px; }
.aside-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  font-size: 14px;
  color: var(--text);
}
.aside-list a::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c3d3e2;
  transition: background .2s, transform .2s;
}
.aside-list a:hover { color: var(--primary); }
.aside-list a:hover::before { background: var(--primary); transform: scale(1.3); }

.aside-contact-tel { display: block; margin: 6px 0 14px; font-size: 24px; font-weight: 800; color: var(--primary); }
.aside-contact p { font-size: 13.5px; color: var(--text-light); }

/* 侧栏：检测咨询热线卡片（品牌渐变醒目样式） */
.aside-contact-card {
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
  padding: 28px 24px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #0a4f86 0%, #0e6db7 55%, #12939b 100%);
  color: #fff;
  box-shadow: 0 12px 30px rgba(10, 79, 134, .28);
}
.aside-contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1.4px);
  background-size: 22px 22px;
  pointer-events: none;
}
.aside-contact-deco {
  position: absolute;
  top: -64px;
  right: -64px;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  pointer-events: none;
}
.aside-contact-deco::after {
  content: "";
  position: absolute;
  inset: 26px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
}
.aside-contact-card > * { position: relative; z-index: 1; }
.aside-contact-card h3 { margin-bottom: 10px; font-size: 15px; font-weight: 600; letter-spacing: 1px; color: rgba(255, 255, 255, .85); }
.aside-contact-card .aside-contact-tel { margin: 0 0 12px; font-size: 26px; font-weight: 800; color: #fff; }
.aside-contact-card .aside-contact-tel:hover { color: #ffd591; }
.aside-contact-card p { margin-bottom: 18px; font-size: 13px; line-height: 1.7; color: rgba(255, 255, 255, .78); }

/* 列表页侧栏：向下滚动时吸附固定，随列表区结束（进入荣誉资质区块）自动释放 */
.page-aside--sticky { position: sticky; top: calc(var(--header-h) + 20px); }
/* 侧栏列拉伸至与正文等高，为内部吸附元素提供足够的滚动行程 */
.page-main > .page-aside { align-self: stretch; }
/* 内容页侧栏：仅“快捷导航+咨询热线”吸附固定，热门文章随页面滚动（从吸附组后方滑过） */
.aside-sticky { position: sticky; top: calc(var(--header-h) + 20px); z-index: 5; }
.aside-sticky + .aside-card { margin-top: 24px; transition: opacity .3s ease, visibility .3s ease; }
/* 热门文章滚入吸附卡片区域时淡出，避免重叠穿帮 */
.aside-card.is-hidden { opacity: 0; visibility: hidden; }
.aside-card + .aside-contact-card { margin-top: 24px; }

/* ---------- 新闻列表页 ---------- */
.news-list-page .news-item {
  display: flex;
  gap: 24px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: box-shadow .3s, transform .3s;
}
.news-list-page .news-item + .news-item { margin-top: 18px; }
.news-list-page .news-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.news-thumb {
  flex-shrink: 0;
  width: 216px;
  height: 146px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(120deg, #0b5e9d, #17a2a2);
  color: rgba(255, 255, 255, .92);
}
.news-thumb svg { width: 56px; height: 56px; }
.news-body { flex: 1; min-width: 0; }
.news-body h3 { font-size: 18px; line-height: 1.5; color: var(--ink); }
.news-item:hover h3 a { color: var(--primary); }
.news-meta { display: flex; flex-wrap: wrap; gap: 16px; margin: 8px 0 10px; font-size: 12.5px; color: var(--text-light); }
.news-excerpt { font-size: 14px; color: var(--text-light); }
.news-excerpt.clamp {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.page-num {
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  font-size: 14px;
  color: var(--text);
  transition: border-color .2s, color .2s, background .2s;
}
.page-num:hover { border-color: var(--primary); color: var(--primary); }
.page-num.current { background: var(--primary); border-color: var(--primary); color: #fff; pointer-events: none; }
.page-num[disabled] { color: #c2ccd6; pointer-events: none; }

/* ---------- 新闻详情页 ---------- */
.article { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 42px 46px 38px; }
.article-header { padding-bottom: 22px; margin-bottom: 30px; text-align: center; border-bottom: 1px solid var(--border); }
.article-header h1 { font-size: 26px; line-height: 1.55; color: var(--ink); }
.article-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; margin-top: 16px; font-size: 13px; color: var(--text-light); }

.article-body { font-size: 16px; color: #3c4653; }
.article-body p { margin-bottom: 18px; text-align: justify; }
.article-body h2 {
  margin: 36px 0 16px;
  padding-left: 12px;
  border-left: 4px solid var(--primary);
  font-size: 20px;
  color: var(--ink);
}
.article-body h3 { margin: 24px 0 12px; font-size: 17px; color: var(--ink); }
.article-body ul, .article-body ol { margin: 0 0 18px 4px; }
.article-body ul li { position: relative; padding-left: 22px; margin-bottom: 8px; }
.article-body ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--primary);
}
.article-body blockquote {
  margin: 24px 0;
  padding: 18px 24px;
  border-left: 4px solid var(--accent);
  border-radius: 0 8px 8px 0;
  background: #fdf6e9;
  color: #7a5a1c;
  font-size: 15px;
}
.article-body table { width: 100%; margin: 20px 0 26px; border-collapse: collapse; font-size: 14.5px; }
.article-body th, .article-body td { padding: 12px 14px; border: 1px solid var(--border); text-align: left; }
.article-body th { background: var(--primary-light); color: var(--primary-dark); font-weight: 700; white-space: nowrap; }
.article-body tbody tr:nth-child(even) { background: #fafcfe; }
.article-body strong { color: var(--ink); }

.article-footer { margin-top: 34px; }
.article-tags { display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 20px; border-bottom: 1px dashed var(--border); }
.article-tags a {
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 13px;
}
.article-tags a:hover { background: var(--primary); color: #fff; }
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
.article-nav a {
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  color: var(--text);
  transition: border-color .2s, color .2s, box-shadow .2s;
}
.article-nav a:hover { border-color: var(--primary); color: var(--primary); box-shadow: var(--shadow-sm); }
.article-nav a:last-child { text-align: right; }
.article-nav .nav-label { display: block; font-size: 12px; color: var(--text-light); }

.related { margin-top: 34px; }
.related h2 {
  margin-bottom: 18px;
  padding-left: 12px;
  border-left: 4px solid var(--primary);
  font-size: 19px;
  color: var(--ink);
}
.related-list li + li { margin-top: 12px; }
.related-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text);
}
.related-list a::before { content: "•"; color: var(--primary); }
.related-list a:hover { color: var(--primary); }

/* ---------- 关于我们 ---------- */
.about-page-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-page-intro .section-head { margin-bottom: 0; text-align: left; }
.about-page-intro .section-title::after { margin-left: 0; }
.about-page-intro p { color: var(--text-light); }
.about-page-intro p + p { margin-top: 14px; }

.about-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 58px; }
.about-stat {
  padding: 26px 20px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.about-stat strong { display: block; font-size: 34px; font-weight: 800; color: var(--primary); font-variant-numeric: tabular-nums; }
.about-stat span { font-size: 14px; color: var(--text-light); }

.culture-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.culture-card {
  padding: 36px 30px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform .3s, box-shadow .3s;
}
.culture-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.culture-card .culture-icon {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
}
.culture-card .culture-icon svg { width: 34px; height: 34px; }
.culture-card h3 { font-size: 19px; color: var(--ink); }
.culture-card p { margin-top: 10px; font-size: 14px; color: var(--text-light); }

/* ---------- 关于我们：送检流程 ---------- */
.process-flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.process-step {
  position: relative;
  padding: 30px 20px 26px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: transform .3s, box-shadow .3s;
}
.process-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step-no {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #17a2a2);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.process-step h3 { margin-bottom: 6px; font-size: 17px; color: var(--ink); }
.process-step p { font-size: 13px; line-height: 1.7; color: var(--text-light); }
/* 步骤间的衔接箭头 */
.process-step:not(:last-child)::after {
  content: "›";
  position: absolute;
  top: 50%;
  right: -19px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: #fff;
  color: var(--primary);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  transform: translateY(-50%);
}

/* ---------- 联系我们 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; }
.contact-list { margin-top: 8px; }
.contact-list li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px dashed var(--border); }
.contact-list li:last-child { border-bottom: 0; }
.contact-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
}
.contact-icon svg { width: 22px; height: 22px; }
.contact-list h3 { font-size: 15.5px; color: var(--ink); }
.contact-list p { margin-top: 2px; font-size: 14px; color: var(--text-light); }

.map-box {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 320px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #eef4f9, #dbe8f2);
  box-shadow: inset 0 0 0 1px var(--border);
  color: var(--primary-dark);
  text-align: center;
  overflow: hidden;
}
.map-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(14, 109, 183, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 109, 183, .08) 1px, transparent 1px);
  background-size: 36px 36px;
}
.map-inner { position: relative; z-index: 2; }
.map-inner svg { width: 54px; height: 54px; margin-bottom: 10px; color: #c14a45; }
.map-inner p { font-size: 14px; color: var(--text-light); }

.message-form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 34px; }
.message-form h2 { margin-bottom: 8px; font-size: 22px; color: var(--ink); }
.message-form > p { margin-bottom: 22px; font-size: 14px; color: var(--text-light); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; margin-bottom: 7px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.form-field label em { font-style: normal; color: #c14a45; margin-left: 3px; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #d5dee8;
  border-radius: 6px;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  background: #fbfcfe;
  transition: border-color .2s, box-shadow .2s;
}
.form-field textarea { min-height: 110px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(14, 109, 183, .14);
}
.form-tip { display: none; margin-top: 14px; padding: 10px 16px; border-radius: 6px; background: #e9f7ef; color: #1d7a45; font-size: 14px; }
.form-tip.show { display: block; }

/* ---------- 荣誉页：荣誉承诺（证书质感文案区） ---------- */
.honor-promise {
  position: relative;
  width: 100%;
  padding: 54px 72px;
  border-radius: 18px;
  background: linear-gradient(160deg, #fdfaf1, #f4edda);
  box-shadow: inset 0 0 0 1px #e3cfa3, inset 0 0 0 5px #fdfaf1, inset 0 0 0 6px #e9d9b4;
  text-align: center;
}
.promise-quote {
  display: block;
  margin-bottom: 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 64px;
  line-height: 1;
  color: #c9a86a;
}
.honor-promise h2 { font-size: 26px; font-weight: 700; letter-spacing: 1px; color: #6d4d14; }
.honor-promise p { max-width: 720px; margin: 14px auto 0; font-size: 15px; line-height: 2; color: #7a6534; }
.promise-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }
.promise-list li {
  padding: 8px 18px;
  border: 1px solid #d9c48e;
  border-radius: 999px;
  background: #fff;
  font-size: 13.5px;
  color: #7a5a1c;
}

/* ---------- 仪器设备页 ---------- */
.equip-hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-bottom: 26px; }
.cat-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 60;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.cat-nav ul { display: flex; flex-wrap: wrap; }
.cat-nav a {
  position: relative;
  display: block;
  padding: 16px 22px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.cat-nav a::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 10px;
  height: 3px;
  border-radius: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform .25s;
}
.cat-nav a:hover, .cat-nav a.active { color: var(--primary); }
.cat-nav a:hover::after, .cat-nav a.active::after { transform: scaleX(1); }

.equip-section { padding: 64px 0 30px; }
.equip-section-head { display: flex; align-items: center; gap: 16px; margin-bottom: 34px; }
.equip-section-head .num {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), #17a2a2);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
}
.equip-section-head h2 { font-size: 24px; color: var(--ink); }
.equip-section-head p { margin-top: 2px; font-size: 13.5px; color: var(--text-light); }

/* ---------- 页脚 ---------- */
.site-footer { background: #0b2537; color: #93aebf; font-size: 14px; }
.footer-top { padding: 66px 0 44px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.25fr; gap: 44px; }
.footer-brand .logo {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  background: #fff;
  border-radius: 8px;
}
.footer-brand p { margin: 18px 0 20px; font-size: 13.5px; line-height: 1.9; }
.footer-qual { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-qual span {
  padding: 4px 12px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 4px;
  font-size: 12px;
  color: #b9d2e4;
}

.site-footer h3 {
  margin-bottom: 20px;
  padding-left: 12px;
  border-left: 3px solid var(--primary);
  font-size: 16px;
  color: #fff;
}
.footer-links li { margin-bottom: 11px; }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-links a { transition: color .2s, padding .2s; }

.footer-contact li { display: flex; gap: 10px; margin-bottom: 13px; line-height: 1.6; }
.footer-contact svg { flex-shrink: 0; width: 16px; height: 16px; margin-top: 5px; color: var(--primary); }
.footer-contact a:hover { color: #fff; }

.footer-tags { padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, .07); font-size: 13px; }
.footer-tags strong { color: #b9d2e4; font-weight: 600; }
.footer-tags a { margin: 0 8px; color: #6f8ba0; }
.footer-tags a:hover { color: #fff; }

.footer-bottom { padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .07); font-size: 13px; color: #6f8ba0; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.footer-bottom a:hover { color: #fff; }

/* ---------- 图片灯箱（仪器/资质图片放大查看） ---------- */
img.equip-photo, img.cert-img { cursor: zoom-in; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(6, 20, 36, .9);
}
.lightbox.open { display: flex; }
.lightbox-img {
  max-width: min(92vw, 1200px);
  max-height: 80vh;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .55);
}
.lightbox-caption {
  position: absolute;
  bottom: 26px;
  left: 0;
  right: 0;
  margin: 0;
  text-align: center;
  color: rgba(255, 255, 255, .9);
  font-size: 14.5px;
}
.lightbox-counter {
  position: absolute;
  top: 22px;
  left: 26px;
  color: rgba(255, 255, 255, .75);
  font-size: 13.5px;
  letter-spacing: 1px;
}
.lightbox-close, .lightbox-nav {
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, .14);
  transition: background .25s;
}
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255, 255, 255, .32); }
.lightbox-close { position: absolute; top: 18px; right: 24px; width: 46px; height: 46px; font-size: 26px; line-height: 1; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 28px; line-height: 1; }
.lightbox-nav--prev { left: 26px; }
.lightbox-nav--next { right: 26px; }

@media (max-width: 640px) {
  .lightbox-nav { width: 44px; height: 44px; font-size: 24px; }
  .lightbox-nav--prev { left: 10px; }
  .lightbox-nav--next { right: 10px; }
  .lightbox-img { max-width: 94vw; max-height: 76vh; }
}

/* ---------- 返回顶部 ---------- */
.back-to-top {
  position: fixed;
  right: 26px;
  bottom: 34px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--primary);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s, visibility .3s, transform .3s, background .3s, color .3s;
}
/* VR实验室右下角推广入口 */
.vr-ad {
  position: fixed;
  left: 3px;
  bottom: 92px;
  z-index: 91;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(7, 40, 66, .28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .4s, visibility .4s, transform .4s;
}
.vr-ad.show { opacity: 1; visibility: visible; transform: none; }
.vr-ad-link {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 204px;
  padding: 11px 12px;
  background: linear-gradient(112deg, #073b57, #0e6db7);
  color: #fff;
  transition: filter .2s;
}
.vr-ad-link:hover { filter: brightness(1.12); }
.vr-ad-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .3);
}
.vr-ad-icon svg { width: 22px; height: 22px; }
.vr-ad-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.vr-ad-text strong { font-size: 14.5px; letter-spacing: 1px; }
.vr-ad-text em { font-style: normal; font-size: 11.5px; color: rgba(255, 255, 255, .75); }
.vr-ad-close {
  position: absolute;
  top: 4px;
  right: 4px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .22);
  color: #fff;
  cursor: pointer;
  transition: background .2s;
}
.vr-ad-close:hover { background: rgba(255, 255, 255, .45); }
.vr-ad-close svg { width: 11px; height: 11px; }

.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--primary); color: #fff; }
.back-to-top svg { width: 20px; height: 20px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .slide .slide-molecule { opacity: .4; }
}

@media (max-width: 992px) {
  :root { --header-h: 80px; }

  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    background: #fff;
    box-shadow: 0 14px 26px rgba(15, 60, 110, .14);
  }
  .main-nav.open { display: block; }
  .main-nav > ul { flex-direction: column; }
  .main-nav > ul > li > a { padding: 14px 26px; border-bottom: 1px solid var(--border); }
  .main-nav > ul > li > a::after { display: none; }

  /* 移动端：服务子菜单点击展开/收起 */
  .caret { float: right; margin-top: 8px; transition: transform .25s; }
  .has-dropdown.open .caret { transform: rotate(180deg); }
  .nav-dropdown {
    position: static;
    display: none;
    min-width: 0;
    padding: 0;
    background: #f6f9fc;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .has-dropdown.open .nav-dropdown { display: block; }
  /* 触屏点击后 :hover 会粘滞，桌面端悬浮位移规则须在移动端中和，否则子菜单被推出屏幕外 */
  .main-nav .has-dropdown:hover .nav-dropdown,
  .main-nav .has-dropdown:focus-within .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav-dropdown a {
    padding: 12px 26px 12px 48px;
    font-size: 14px;
    text-align: left;
    border-bottom: 1px dashed var(--border);
  }
  .nav-dropdown li:last-child a { border-bottom: 0; }

  .carousel { height: 460px; }
  .banner--sub.banner--full, .banner--sub.banner--tall { min-height: 420px; }
  .slide-title { font-size: 34px; }
  .slide-desc { font-size: 15px; }
  .slide .slide-molecule { width: 320px; }

  .section { padding: 60px 0; }
  .section-title { font-size: 27px; }

  .service-grid, .culture-grid, .advantage-grid { grid-template-columns: repeat(2, 1fr); }
  .process-flow { grid-template-columns: repeat(3, 1fr); }
  .process-step:not(:last-child)::after { display: none; }
  .adv-dark-panel { padding: 42px 34px; }
  .adv-dark-grid { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .adv-dark-item:nth-child(3) { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .16); padding-top: 28px; }
  .adv-dark-item:nth-child(4) { border-top: 1px solid rgba(255, 255, 255, .16); padding-top: 28px; }
  .stats { padding: 64px 0; }
  .stats-panel { grid-template-columns: 1fr; gap: 40px; }
  .stats-intro .btn { margin-top: 20px; }
  .stats-grid, .about-stats-grid, .equip-hero-stats { grid-template-columns: repeat(2, 1fr); }
  .stats-grid .stat-item { padding: 22px 10px 22px 26px; }
  .about-split, .about-page-intro, .news-split, .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .equip-grid--3, .equip-grid--4, .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand, .footer-grid > div:not(.footer-brand) { grid-column: 1 / -1; }
  .page-main { grid-template-columns: minmax(0, 1fr); }
  .page-aside--sticky { position: static; }
  .about-badge { right: 10px; }

  .cat-nav { top: var(--header-h); }
  .cta { padding: 56px 0; }
  .cta .container { flex-direction: column; gap: 24px; }
  .cta-text h2, .cta-text p { text-align: center; }
  .cta-actions { justify-content: center; }
}

@media (max-width: 640px) {
  body { font-size: 14.5px; }
  /* 小屏头部仅64px高，限制logo最大高度避免溢出，其余尺寸保持原图 */
  .logo-img { max-height: 52px; width: auto; }
  .service-tile { padding: 22px 18px; }
  .tile-no { font-size: 22px; }
  .service-tile--wide { flex-wrap: wrap; }
  .service-tile--wide .btn { width: 100%; }

  .carousel { height: 420px; }
  .banner--sub.banner--full { min-height: 320px; }
  .slide-title { font-size: 26px; }
  .slide-tag { font-size: 12px; }
  .slide .slide-molecule { display: none; }
  .carousel-arrow { display: none; }
  .banner-title { font-size: 26px; }
  .banner--video { min-height: 320px; padding: 64px 0; }
  /* 移动端不显示视频背景，回退主题色渐变 */
  .banner-video, .banner-video-shade { display: none; }
  .vr-frame { aspect-ratio: 4 / 3; }
  .vr-ad { left: 3px; bottom: 86px; }
  .vr-ad-link { width: auto; padding: 9px 11px; gap: 9px; }
  .vr-ad-text em { display: none; }
  .banner--sub.banner--tall { min-height: 320px; }

  .service-grid, .culture-grid, .advantage-grid, .process-flow,
  .about-stats-grid,
  .equip-grid--3, .equip-grid--4, .cert-grid,
  .form-row, .article-nav { grid-template-columns: 1fr; }

  .news-list-page .news-item { flex-direction: column; }
  .news-thumb { width: 100%; height: 170px; }
  .article { padding: 28px 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom .container { justify-content: center; text-align: center; }
  .stat-item { padding: 20px 8px 20px 20px; }
  .stat-num { font-size: 34px; }
  .adv-dark-grid { grid-template-columns: 1fr; row-gap: 0; }
  .adv-dark-grid .adv-dark-item { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .14); padding: 24px 4px; }
  .adv-dark-grid .adv-dark-item:first-child { border-top: 0; padding-top: 0; }
  .section-title { font-size: 24px; }
}
