/* =============================================
   中科普瑞官网 v2 — 深蓝科技风（参考 jeznkj.com 整体风格）
   Apple 风格系统字体，无外部依赖，本地可预览
   ============================================= */
:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "SF Pro SC", "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --blue-900: #0b2440;
  --blue-800: #103055;
  --blue-700: #134d87;
  --blue-600: #0066cc;
  --blue-500: #1d74d2;
  --blue-100: #dcebf9;
  --blue-50:  #f2f6ff;
  --orange:   #ea5413;
  --ink: #222a33;
  --text: #333a42;
  --muted: #6b7684;
  --line: #e3e9f1;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(13,49,91,.10);
  --shadow-lg: 0 18px 50px rgba(9,36,66,.18);
  --header-h: 65px;
  --topbar-h: 38px;
  /* 内容区宽度自适应：视口 ≤1538px 时仍是 1200px（笔记本原样），
     更宽的屏幕上按 78vw 平滑放大，上限 1720px（1920 屏幕上约 1497px）。 */
  --page-w: min(92%, max(1200px, 78vw), 1720px);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: var(--font-sans);
  color: var(--text); background: #fff;
  font-size: 16px; line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
.container { width: var(--page-w); margin: 0 auto; }

.header { position: sticky; top: 0; z-index: 900; background: rgba(255,255,255,.97); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(13,49,91,.06); }
.header.scrolled { box-shadow: 0 6px 24px rgba(13,49,91,.14); }
.nav { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-img { display: block; height: 40px; width: auto; }
/* 原标识等比展示，不添加外框、底板或阴影。 */
.header .logo-img { height: 44px; width: auto; object-fit: contain; }
.header .logo:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 3px; }

.mm-logo { display: block; height: 32px; width: auto; }
.nav-list { display: flex; align-items: center; gap: 16px; flex: 0 0 auto; margin-left: auto; }
.nav-item { position: relative; }
.nav-link { display: flex; align-items: center; gap: 5px; padding: 0 17px; height: var(--header-h); font-size: 17px; font-weight: 500; color: var(--ink); position: relative; white-space: nowrap; transition: color .24s cubic-bezier(.4,0,.2,1); }
.nav-link::after { content: ""; position: absolute; left: 17px; right: 17px; bottom: 14px; height: 3px; border-radius: 2px; background: var(--blue-600); transform: scaleX(0); transition: transform .28s; }
.nav-item:hover > .nav-link, .nav-item.active > .nav-link { color: var(--blue-600); }
.nav-item:hover > .nav-link::after, .nav-item.active > .nav-link::after { transform: scaleX(1); }
/* 末项「联系我们」贴齐内容右缘：去掉末项右内边距，下划线同步收齐 */
.nav-list > .nav-item:last-child > .nav-link { padding-right: 0; }
.nav-list > .nav-item:last-child > .nav-link::after { right: 0; }

/* ---------- 导航展开面板：纯白底、灰色小标题与无装饰分栏目录。
   由 js/main.js 的 NAV_PANELS 生成，左右内容边界沿用导航对齐位置。 ---------- */
.dropdown { display: none; }
.header.nav-panel-active { background: #fff; box-shadow: none; }
.np-panel {
  position: fixed; top: var(--panel-top, var(--header-h)); left: 0; right: 0; z-index: 910;
  max-height: calc(100dvh - var(--panel-top, var(--header-h)));
  background: #fff;
  visibility: hidden; pointer-events: none;
}
.np-panel.np-open { visibility: visible; pointer-events: auto; }
/* 与文字共用 Apple 导航的缓动；收起时先留 120ms 给文字退场。 */
.np-shell { box-sizing: border-box; overflow: hidden; height: 0; transition: height .24s cubic-bezier(.4,0,.6,1) .12s, visibility 0s linear .36s; }
.np-shell.np-open { height: auto; transition: height .32s cubic-bezier(.4,0,.6,1), visibility 0s; }
/* 卷帘进行中内容必然高于壳体，overflow-y 必须保持 hidden，否则整个动画期挂着滚动条；
   落定（高度回到 auto）后加 .np-settled 才允许内部滚动（短视口超出 max-height 时） */
.np-shell.np-open.np-settled { overflow-y: auto; overscroll-behavior: contain; }
/* 栏目切换只调整已展开面板的高度，不反复收起重开。 */
.np-shell.np-open.np-swift { transition: height .32s cubic-bezier(.4,0,.6,1), visibility 0s; }
/* 高度形变会从行中间切过文字：用一块白色渐变在面板底部把切口融进留白，
   动画结束后淡出，静止时面板下缘仍是干净的直角。 */
.np-shell::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34px; z-index: 2;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 78%);
  opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.np-shell.np-animating::after { opacity: 1; }
.np-shell .np-content { position: relative; z-index: 1; opacity: 1; }
/* 栏目切换：旧内容 120ms 淡出，新内容随后 120ms 淡入。
   使用过渡接续当前透明度，快速切换也不会突然闪回完整文字。 */
.np-shell .np-content.np-swap { transition: opacity .12s cubic-bezier(.4,0,.6,1); }
.np-shell .np-content.np-swap:not(.np-visible) { opacity: 0; }
.np-shell .np-content.np-swap.np-visible:not(.np-out) { transition-delay: .12s; }
.np-shell .np-out {
  position: absolute; top: 0; left: 0; right: 0; z-index: 0; pointer-events: none;
}
.np-shell .np-content.np-out { opacity: 0; transition: opacity .12s cubic-bezier(.4,0,.6,1); }
/* 面板下方的页面轻度变灰并模糊，白色导航层自身保持纯色。 */
.nav-veil {
  position: fixed; top: var(--panel-top, var(--header-h)); left: 0; right: 0; bottom: 0; z-index: 890;
  background: rgba(232,232,237,.4);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .26s cubic-bezier(.4,0,.2,1), visibility 0s linear .3s;
}
.nav-veil.show { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .34s cubic-bezier(.4,0,.2,1) .06s, visibility 0s; }
/* 第一组标题和链接从原有左缘起排；大组共享一个标题，产品分两列。 */
.tp-inner { width: auto; margin: 0 var(--panel-inset-right, 4%) 0 var(--panel-inset-left, 4%); padding: 24px 0; }
.tp-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 36px; align-items: start; }
.tp-group { min-width: 0; }
.tp-group-h { margin: 0 0 6px; padding: 0; font-size: 12.5px; font-weight: 400; color: #6e6e73; line-height: 21px; }
.tp-list { margin: 0; padding: 0; list-style: none; }
.tp-list li { min-width: 0; }
.tp-link { display: flex; align-items: center; height: 100%; min-height: 44px; padding: 10px 0; font-size: 14px; font-weight: 600; line-height: 1.65; color: #333336; text-decoration: none; overflow-wrap: anywhere; transition: color .32s cubic-bezier(.4,0,.6,1); }
.tp-link:hover, .tp-link:focus-visible { color: #000; }
.tp-group--wide { grid-column: span 2; grid-row: span 2; }
.tp-group--tall { grid-row: span 2; }
.tp-group--wide .tp-list { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); grid-template-rows: repeat(var(--tp-rows), auto); grid-auto-flow: column; gap: 0 30px; }
.np-panel a:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 3px; }
/* 参考 Apple globalheader.css：从上方 4px 淡入，持续 320ms，
   组间错开 40ms、行间错开 20ms；双列列表按视觉行同步。
   动画施加在标题和 li 上，链接本身的悬停颜色不受入场延迟影响。 */
.tp-anim {
  opacity: 0; transform: translateY(-4px);
  transition-property: opacity, transform;
  transition-duration: min(calc(160ms + (var(--tp-item-total, 0) - var(--tp-item, 0)) * 20ms), 240ms);
  transition-timing-function: cubic-bezier(.4,0,.6,1);
  transition-delay: 0s;
}
.np-visible .tp-anim {
  opacity: 1; transform: none;
  transition-duration: .32s;
  transition-delay: calc(80ms + var(--tp-group-delay, 0ms) + var(--tp-item, 0) * 20ms);
}
/* 已展开后的切换只做内容层淡入淡出，不重放逐行入场。 */
.np-swap .tp-anim {
  opacity: 1; transform: none; transition: none;
}

@media (max-width: 1200px) {
  .tp-inner { padding-top: 22px; padding-bottom: 24px; }
  .tp-groups { gap: 24px 28px; }
  .tp-group--wide .tp-list { column-gap: 24px; }
}

@media (max-width: 1080px) { .np-panel, .nav-veil { display: none; } }
.nav-right { display: none; align-items: center; gap: 22px; flex-shrink: 0; }
.nav-tel { display: none; align-items: center; gap: 10px; color: var(--ink); }
.nav-tel svg { width: 20px; height: 20px; color: var(--blue-600); }
.nav-tel span { display: flex; flex-direction: column; line-height: 1.25; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.nav-tel i { font-style: normal; font-size: 11px; font-weight: 400; color: var(--muted); letter-spacing: .1em; }

@media (min-width: 1600px) { .nav { gap: 20px; } }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 10px; }
.hamburger span { width: 24px; height: 2.5px; background: var(--blue-700); border-radius: 2px; transition: all .3s; }

/* ---------- 页脚 ----------
   与全站编辑式留白同一套中性色（白 / #f5f5f7 / 墨色文字 / 细线），
   不再用带蓝调的渐变底；二维码说明文字放在二维码下方，与备案号同一行顶部对齐，
   整块压到 170px 上下，页尾不拖长。 */
.footer { background: var(--ap-alt); border-top: 1px solid var(--ap-line-light); color: var(--ap-body); }
.footer-top { padding: 24px 0 0; display: grid; grid-template-columns: 1.5fr 1.1fr 204px; gap: 36px; align-items: start; }
.footer h4 { display: flex; align-items: center; gap: 8px; color: var(--ap-ink); font-size: 13.5px; font-weight: 600; margin-bottom: 10px; letter-spacing: .06em; }
.footer h4::before { content: ""; width: 3px; height: 12px; border-radius: 1.5px; background: var(--ap-blue); flex-shrink: 0; }
.footer-contact li { display: flex; gap: 10px; font-size: 13.5px; color: var(--ap-body); margin-bottom: 5px; line-height: 1.5; }
.footer-contact li:last-child { margin-bottom: 0; }
.footer-contact svg { width: 15px; height: 15px; stroke: var(--ap-muted); flex-shrink: 0; margin-top: 2px; }
.footer-contact .fc-label { color: var(--ap-muted); font-weight: 400; margin-right: 2px; }
.footer-contact a { color: var(--ap-ink); }
.footer-contact a:hover { color: var(--ap-blue); }
.footer-qr { display: flex; align-items: center; justify-content: center; }
.footer-qr-card { background: #fff; border: 1px solid var(--ap-line-light); border-radius: 10px; padding: 6px; box-shadow: 0 2px 10px rgba(0,0,0,.04); flex-shrink: 0; }
.footer-qr-card img { width: 80px; height: 80px; border-radius: 4px; }
.footer-qr-tip { font-size: 12px; color: var(--ap-muted); letter-spacing: .04em; line-height: 1.5; text-align: center; }
.footer-bottom { padding: 12px 0 16px; }
/* 第三列留出二维码区的宽度，备案号才能和上方「联系咨询」严格同列 */
.footer-bottom .container { display: grid; grid-template-columns: 1.5fr 1.1fr 204px; column-gap: 36px; align-items: baseline; font-size: 12.5px; color: var(--ap-muted); }
.footer-bottom a { color: var(--ap-muted); }
.footer-bottom a:hover { color: var(--ap-blue); }

/* ---------- 产品列表页 ---------- */

.pitem { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 36px 34px; transition: all .3s; position: relative; overflow: hidden; }
.pitem:hover { box-shadow: var(--shadow-lg); border-color: transparent; transform: translateY(-4px); }

/* ---------- 悬浮工具 ---------- */
.float-tools { position: fixed; right: 22px; bottom: 26px; z-index: 800; display: flex; flex-direction: column; gap: 12px; }
.float-btn { width: 50px; height: 50px; border-radius: 50%; background: var(--blue-600); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(13,95,177,.4); transition: all .3s; position: relative; }
.float-btn svg { width: 22px; height: 22px; stroke: #fff; }
.float-btn:hover { transform: translateY(-3px); }
.float-btn.top-btn { background: #fff; border: 1.5px solid var(--line); opacity: 0; visibility: hidden; }
.float-btn.top-btn.show { opacity: 1; visibility: visible; }
.float-btn.top-btn svg { stroke: var(--blue-600); }
.float-btn .pop { position: absolute; right: 64px; top: 50%; transform: translateY(-50%); background: var(--blue-900); color: #fff; font-size: 13.5px; white-space: nowrap; padding: 10px 16px; border-radius: 10px; opacity: 0; visibility: hidden; transition: all .25s; }
.float-btn:hover .pop { opacity: 1; visibility: visible; }

/* 内容默认完整可见：不再依赖滚动触发。
   原实现初始 opacity:0，需 IntersectionObserver 达到 12% 可见比例才显现，
   超高容器（如产品品类整块）永远达不到阈值，进页面后整段空白，必须滑动才出现。 */
.reveal, .reveal.in, .reveal.d1, .reveal.d2, .reveal.d3 { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .np-panel .tp-anim { opacity: 1; transform: none; }
}

/* ---------- 响应式 ---------- */

@media (max-width: 1200px) { .nav-link { padding: 0 13px; font-size: 16px; } .nav-link::after { left: 13px; right: 13px; } }

@media (max-width: 1080px) {
  .nav-list { display: none; }
  .hamburger { display: flex; }
  .nav-right{ display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 26px 40px; }
  .footer-addr { grid-column: 1 / -1; }
  .footer-bottom .container { display: flex; flex-wrap: wrap; gap: 10px; }
}

@media (max-width: 640px) {
  :root { --header-h: 62px; }
  .logo-img { height: 32px; }
  .header .logo-img { height: 36px; }
  .footer-top { grid-template-columns: 1fr; gap: 22px; }
  .footer-addr { grid-column: auto; }
}
.pitem[data-type] { transition: all .3s; }

/* ---------- 修复：移动菜单在桌面端隐藏 ---------- */
.mobile-menu { position: fixed; top: 0; right: 0; bottom: 0; width: min(84vw, 360px); background: #fff; z-index: 1000; transform: translateX(100%); visibility: hidden; transition: transform .35s ease, visibility .35s; box-shadow: -12px 0 40px rgba(9,36,66,.18); overflow-y: auto; padding: 20px 22px 40px; }
.mobile-menu.open { transform: none; visibility: visible; }
.mobile-menu .mm-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.mobile-menu .mm-close { width: 44px; height: 44px; display: grid; place-items: center; font-size: 26px; line-height: 1; color: var(--muted); padding: 0; }
body.menu-open { overflow: hidden; }
.mm-group { border-bottom: 1px solid var(--line); }
.mm-toggle { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 15px 4px; font-size: 16px; font-weight: 600; color: var(--ink); }
.mm-toggle .arr { transition: transform .3s; }
.mm-group.open .arr { transform: rotate(180deg); }
.mm-sub { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.mm-group.open .mm-sub { max-height: 1200px; }
.mm-sub a { display: block; padding: 10px 12px 10px 20px; font-size: 14px; color: var(--muted); border-left: 2px solid var(--line); margin-left: 6px; }
.mm-sub a:hover { color: var(--blue-600); border-left-color: var(--blue-600); }
.mm-cat { display: block; margin-left: 6px; padding: 12px 12px 2px 20px; border-left: 2px solid var(--line); font-size: 11.5px; color: #9aa0a8; letter-spacing: .05em; }

.mask { position: fixed; inset: 0; background: rgba(9,30,55,.5); z-index: 990; opacity: 0; visibility: hidden; transition: all .3s; }
.mask.show { opacity: 1; visibility: visible; }

/* ============================================================
   气体纯化设备专页（精致工业科技风 · p-* 命名空间）
   ============================================================ */
:root {
  --h-navy: #0a1f38;
  --h-navy-2: #0f2c4f;
  --h-blue: #1560b0;
  --h-sky: #5aa9f0;
  --h-steel: #5b6b7d;
  --h-ink: #14202e;
  --h-mist: #f3f6f9;
  --h-line: #e4e9ef;
  --h-accent: #ea5413;
}

/* 共享工业风基础组件（供子页面独立使用） */

.h-title { font-size: clamp(26px, 3vw, 38px); font-weight: 700; line-height: 1.28; letter-spacing: .02em; color: var(--h-ink); margin-top: 14px; }
.h-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 44px; }

/* 左侧图片画廊与工业摄影棚展台 */
.p-gallery { position: static; display: flex; flex-direction: column; }
.p-stage { position: relative; height: 340px; background: linear-gradient(180deg, #f8fafd 0%, #eef3f8 100%); border: 1px solid var(--h-line); border-radius: 4px; display: flex; align-items: center; justify-content: center; padding: 22px; overflow: hidden; }

.p-main-img { max-width: 100%; max-height: 292px; width: auto; height: auto; object-fit: contain; transition: transform .4s ease, opacity .2s ease; filter: drop-shadow(0 8px 18px rgba(10,31,56,.10)); }
.p-stage:hover .p-main-img { transform: scale(1.03); }

.p-caption { margin-top: 9px; font-size: 12px; color: var(--h-steel); text-align: center; line-height: 1.5; }

/* ---------- 4. 型号编码解析器 & 快速选型对比总表 ---------- */
.p-guide-sec { padding: 36px 0; background: #fff; border-top: 1px solid var(--h-line); scroll-margin-top: var(--header-h); }
.p-guide-sec .reveal{ opacity: 1; transform: none; }

/* 横向选型对比表 */
.p-matrix-wrap { border: 1px solid var(--h-line); border-radius: 6px; overflow: hidden; box-shadow: 0 10px 30px rgba(10,31,56,.05); }
.p-matrix-scroll { overflow-x: auto; }
.p-matrix-table { width: 100%; min-width: 980px; border-collapse: collapse; font-size: 13.5px; line-height: 1.55; font-variant-numeric: tabular-nums; }
.p-matrix-table thead th { background: var(--h-navy-2); color: #fff; font-weight: 600; padding: 13px 14px; text-align: left; border-right: 1px solid rgba(255,255,255,.1); white-space: nowrap; }
.p-matrix-table thead th:last-child { border-right: none; }
.p-matrix-table tbody td { padding: 12px 14px; border-top: 1px solid var(--h-line); border-right: 1px solid var(--h-line); color: var(--text); background: #fff; }
.p-matrix-table tbody td:last-child { border-right: none; }
.p-matrix-table tbody td:first-child { white-space: nowrap; }
.p-matrix-table tbody td:first-child a { color: var(--h-navy-2); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.p-matrix-table tbody td:first-child a:hover { color: var(--h-blue); text-decoration: underline; }
.p-matrix-table code { font-family: Consolas, Monaco, monospace; font-size: 12.5px; color: var(--h-blue); background: #eef5fc; padding: 2px 6px; border-radius: 3px; white-space: nowrap; }
.p-tbl-new { font-size: 10px; font-weight: 700; color: #fff; background: var(--h-accent); padding: 1px 5px; border-radius: 2px; }

/* ---------- 6. 净化机专页响应式适配 ---------- */

@media (max-width: 1080px) {
  .p-gallery { position: static; }
  .p-stage { height: 290px; }
  .p-main-img { max-height: 250px; }
  .h-head { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* ============================================================
   全站子页面升级组件（环保 / 管阀 / 关于 / 新闻 / 联系我们）
   ============================================================ */
.p-guide-sec .reveal{ opacity: 1; transform: none; }

/* ============================================================
   Apple 极简现代风格系统 (.ap-* 命名空间 · 深度整合灵动版)
   白与浅灰纯净留白 · 模块化大统合 · 零碎片化视觉
   ============================================================ */
:root {
  --ap-bg: #ffffff;
  --ap-alt: #f5f5f7;
  --ap-ink: #1d1d1f;
  --ap-body: #424245;
  --ap-muted: #86868b;
  --ap-blue: #0066cc;
  --ap-blue-soft: rgba(0, 102, 204, 0.08);
  --ap-line: #d2d2d7;
  --ap-line-light: rgba(0, 0, 0, 0.07);
  --ap-radius: 20px;
  --ap-radius-sm: 14px;
}

/* 通用极简章节 */
.ap-section {
  padding: 36px 0;
  background: var(--ap-bg);
  color: var(--ap-ink);
  scroll-margin-top: var(--header-h);
}
.ap-section.ap-alt {
  background: var(--ap-alt);
}
.ap-sec-head {
  margin-bottom: 28px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.ap-sec-title {
  font-size: clamp(26px, 2.8vw, 34px);
  font-weight: 700;
  color: var(--ap-ink);
  letter-spacing: -0.015em;
  line-height: 1.2;
}

/* ============================================================
   2. 发展历程 (#history) — 水平时间轴：上年份 · 中主轴 · 下卡片
   ============================================================ */
.ap-hs {
  position: relative;
  /* 宽度交给外层 .container，宽屏时间轴与上方章节标题同宽 */
  max-width: none;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  column-gap: 16px;
  align-items: stretch;
}
/* 水平主轴线：横贯全行，两端淡出 */
.ap-hs::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 52.5px;
  height: 2px;
  background: linear-gradient(90deg,
    rgba(0, 102, 204, 0) 0%,
    rgba(0, 102, 204, 0.55) 7%,
    #0066cc 50%,
    rgba(56, 189, 248, 0.55) 93%,
    rgba(56, 189, 248, 0) 100%);
  border-radius: 2px;
}
.ap-hs-item {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
/* 年份：固定高度年份区，保证各列轴点严格水平对齐 */
.ap-hs-year {
  height: 34px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  color: #103055;
  background: linear-gradient(180deg, #103055 0%, #0066cc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
/* 轴点：白芯蓝环 + 外发光 */
.ap-hs-dot {
  margin-top: 12px;
  position: relative;
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #ffffff;
  border: 3.5px solid var(--ap-blue);
  box-shadow: 0 0 0 5px rgba(0, 102, 204, 0.1), 0 0 18px rgba(0, 102, 204, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ap-hs-item:hover .ap-hs-dot {
  transform: scale(1.2);
  box-shadow: 0 0 0 7px rgba(0, 102, 204, 0.14), 0 0 24px rgba(0, 102, 204, 0.36);
}
/* 轴点 → 卡片竖向连接线 */
.ap-hs-dot::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 16px;
  background: linear-gradient(180deg, rgba(0, 102, 204, 0.45), rgba(0, 102, 204, 0.06));
}
/* 里程碑卡片：同行等高 */
.ap-hs-card {
  margin-top: 16px;
  flex: 1;
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--ap-line-light);
  border-radius: 16px;
  padding: 16px 14px 18px;
  box-shadow: 0 6px 20px rgba(11, 36, 64, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.ap-hs-item:hover .ap-hs-card {
  transform: translateY(-4px);
  border-color: rgba(0, 102, 204, 0.45);
  box-shadow: 0 14px 32px rgba(11, 36, 64, 0.12);
}
.ap-hs-title {
  margin-top: 10px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ap-ink);
}
.ap-hs-card p {
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ap-body);
}
/* 最新里程碑（2025 专精特新）：深蓝主视觉卡片 */
.ap-hs-item.is-latest .ap-hs-card {
  background: linear-gradient(135deg, #0b2440 0%, #103055 55%, #134d87 100%);
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 14px 34px rgba(11, 36, 64, 0.28);
}
.ap-hs-item.is-latest:hover .ap-hs-card {
  border-color: rgba(56, 189, 248, 0.6);
  box-shadow: 0 18px 40px rgba(11, 36, 64, 0.34);
}
.ap-hs-item.is-latest .ap-hs-title { color: #ffffff; }
.ap-hs-item.is-latest .ap-hs-card p { color: rgba(255, 255, 255, 0.78); }
.ap-hs-item.is-latest .ap-hs-year {
  background: linear-gradient(180deg, #004ea2 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.ap-hs-item.is-latest .ap-hs-dot {
  border-color: #38bdf8;
  box-shadow: 0 0 0 5px rgba(56, 189, 248, 0.16), 0 0 22px rgba(56, 189, 248, 0.45);
}
/* 窄屏（≤1080px）：回退为左侧主轴的垂直时间轴 */

@media (max-width: 1080px) {
  .ap-hs {
    max-width: 560px;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .ap-hs::before {
    left: 20px;
    right: auto;
    top: 0;
    bottom: 0;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg,
      rgba(0, 102, 204, 0) 0%,
      rgba(0, 102, 204, 0.55) 7%,
      #0066cc 50%,
      rgba(56, 189, 248, 0.55) 93%,
      rgba(56, 189, 248, 0) 100%);
  }
  .ap-hs-item {
    display: grid;
    grid-template-columns: 42px 1fr;
    grid-template-rows: auto auto;
    row-gap: 8px;
    align-items: start;
    text-align: left;
  }
  .ap-hs-year {
    grid-column: 2;
    grid-row: 1;
    height: auto;
    justify-self: start;
    font-size: 24px;
  }
  .ap-hs-dot {
    grid-column: 1;
    grid-row: 1 / span 2;
    justify-self: center;
    margin-top: 6px;
  }
  .ap-hs-dot::after { display: none; }
  .ap-hs-card {
    grid-column: 2;
    grid-row: 2;
    margin-top: 0;
    flex: none;
    width: auto;
  }
}

/* ============================================================
   3. 荣誉资质 (#certs) — 无外层矩形框、去多余白底，真实证书纸质悬浮质感
   ============================================================ */
.ap-cert-grid-landscape {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}
.ap-cert-grid-portrait {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.ap-cert-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.ap-cert-frame {
  width: 100%;
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ap-cert-frame img {
  width: 100%;
  height: auto;
  max-height: 290px;
  object-fit: contain;
  display: block;
  border-radius: 4px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ap-cert-card:hover .ap-cert-frame img {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}
.ap-cert-frame.landscape img {
  max-height: 280px;
}
.ap-cert-frame.portrait img {
  max-height: 290px;
}
.ap-cert-card figcaption {
  margin-top: 14px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ap-ink);
  line-height: 1.4;
}

/* 三张横版证书：统一展台高度，按原比例完整展示。 */
.ap-cert-grid-landscape.cert-grid-3 {
  max-width: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}
.cert-grid-3 .ap-cert-frame.landscape { aspect-ratio: 1040 / 736; }
.cert-grid-3 .ap-cert-frame.landscape img { max-width: 100%; max-height: 100%; width: auto; height: auto; }

/* 两张主证书同排（高新技术企业 + 专精特新），其余横版证书按同宽续排。 */
.ap-cert-grid-landscape.cert-grid-2 {
  max-width: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 44px 40px;
  align-items: stretch;
}
/* 图片撑满列宽，左右边界与下行五张竖版证书对齐；说明文字统一压在卡片底部 */
.cert-grid-2 .ap-cert-card,
body.ab .ab-cert .cert-grid-2 .ap-cert-card { display: flex; flex-direction: column; }
.cert-grid-2 .ap-cert-frame.landscape { aspect-ratio: auto; }
.cert-grid-2 .ap-cert-frame.landscape img { width: 100%; height: auto; max-width: 100%; max-height: none; }
.cert-grid-2 .ap-cert-card figcaption { margin-top: auto; padding-top: 14px; }
body.ab .ab-cert .cert-grid-2 .ap-cert-frame.landscape img,
body.ep .hm-cert .cert-grid-2 .ap-cert-frame.landscape img { max-height: none; }

/* 首页：前四张横版证书并排一行，四列等宽，左右边界与下方五张竖版证书对齐。 */
.ap-cert-grid-landscape.cert-grid-4 {
  max-width: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 24px;
  align-items: stretch;
}
.cert-grid-4 .ap-cert-card,
body.ab .ab-cert .cert-grid-4 .ap-cert-card,
body.ep .hm-cert .cert-grid-4 .ap-cert-card { display: flex; flex-direction: column; }
.cert-grid-4 .ap-cert-frame.landscape {
  /* Use the tallest landscape source as the shared stage so all four
     certificate images finish on the same baseline. */
  aspect-ratio: 1023 / 721;
  align-items: flex-end;
}
.cert-grid-4 .ap-cert-frame.landscape img { width: 100%; height: auto; max-width: 100%; max-height: none; }
.cert-grid-4 .ap-cert-card figcaption { margin-top: auto; padding-top: 12px; }
body.ab .ab-cert .cert-grid-4 .ap-cert-frame.landscape img,
body.ep .hm-cert .cert-grid-4 .ap-cert-frame.landscape img { max-height: none; }
.ap-cert-card:focus-visible { outline: 2px solid #0066cc; outline-offset: 8px; border-radius: 12px; }

@media (max-width: 900px) {
  .ap-cert-grid-landscape.cert-grid-3,
  .ap-cert-grid-landscape.cert-grid-2 { grid-template-columns: 1fr; max-width: 560px; gap: 30px; }
}

/* 响应式适配 */

@media (max-width: 1080px) {
  .ap-cert-grid-portrait {
    grid-template-columns: repeat(3, 1fr);
  }
  .ap-cert-grid-landscape.cert-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  /* 前三张横版证书各占一行；后五张竖版证书两列排布，奇数张时末张居中 */
  .ap-cert-grid-portrait {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
  }
  .ap-cert-grid-portrait > .ap-cert-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 8px);
  }
  .ap-cert-grid-landscape,
  .ap-cert-grid-landscape.cert-grid-2,
  .ap-cert-grid-landscape.cert-grid-3,
  .ap-cert-grid-landscape.cert-grid-4 {
    grid-template-columns: minmax(0, 1fr);
    max-width: none;
    gap: 24px;
  }
  .cert-grid-4 .ap-cert-frame.landscape {
    aspect-ratio: auto;
    align-items: center;
  }
  .ap-cert-grid-landscape .ap-cert-card figcaption,
  .ap-cert-grid-portrait .ap-cert-card figcaption {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.45;
  }
}

/* ============================================================
   荣誉资质点击放大交互与全屏画廊灯箱 (Apple Lightbox Modal)
   ============================================================ */
.ap-cert-card {
  cursor: zoom-in;
  position: relative;
}
.ap-cert-frame {
  position: relative;
  cursor: zoom-in;
}
.ap-cert-card:hover .ap-cert-frame img {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 14px 32px rgba(0, 102, 204, 0.16);
}

/* ============================================================
   专利证书横向带（关于普瑞 · 首页共用）
   19 张 A4 证书，默认缓慢往返滚动，可拖动滚动条或点击放大
   ============================================================ */
.ab-patent-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 10px 2px 18px;
  overscroll-behavior-x: contain;
  scrollbar-color: #a9bdd0 transparent;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.ab-patent-viewport:focus-visible {
  outline: 2px solid #0066cc;
  outline-offset: -2px;
}
.ab-patent-track {
  display: flex;
  width: max-content;
  gap: 18px;
  align-items: stretch;
}
.ab-patent-card {
  flex: 0 0 clamp(176px, 18vw, 248px);
  min-width: 0;
  margin: 0;
  overflow: hidden;
  cursor: zoom-in;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(9, 36, 66, 0.04);
  transition: transform 0.28s, box-shadow 0.28s, border-color 0.28s;
}
.ab-patent-card:focus-visible {
  outline: 2px solid #0066cc;
  outline-offset: 3px;
}
.ab-patent-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 102, 204, 0.28);
  box-shadow: 0 16px 36px rgba(0, 102, 204, 0.09);
}
.ab-patent-image {
  display: block;
  aspect-ratio: 2480 / 3508;
  background: #eef2f7;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.ab-patent-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ab-patent-card figcaption {
  padding: 12px 14px 13px;
  text-align: center;
  color: #1d1d1f;
  font-size: 13px;
  line-height: 1.5;
}
@media (max-width: 760px) {
  .ab-patent-viewport { padding: 8px 2px 16px; }
  .ab-patent-track { gap: 14px; }
  .ab-patent-card { flex-basis: 164px; }
  .ab-patent-card figcaption { padding: 10px 12px; }
}

.ap-lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1d1d1f;
  overflow: hidden;
  overscroll-behavior: contain;
  /* 连点箭头（SVG）或图片会被当作双击/三击选区，出现整块蓝色高亮 */
  -webkit-user-select: none;
  user-select: none;
}
.ap-lightbox-overlay:not([open]), .ap-lightbox-overlay[hidden] { display: none; }
.ap-lightbox-overlay[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}
/* 全站预览统一沿用荣誉资质风格。磨砂层保持静态，开关即时完成，
   避免关闭后透明遮罩仍拦截点击，以及全屏透明度动画引起额外合成。 */
.ap-lightbox-overlay::backdrop {
  background: rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
}
.ap-lightbox-content {
  position: relative;
  z-index: 2;
  width: min(94vw, 1100px);
  height: min(92vh, 880px);
  height: min(92dvh, 880px);
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  /* 容器自身不拦截指针：图片之外的空白点击穿透到背景层即可关闭预览 */
  pointer-events: none;
}
.ap-lightbox-close,
.ap-lightbox-nav,
.ap-lightbox-img-wrap img { pointer-events: auto; }
/* 图片在预览层内不可拖拽，避免按住箭头或图片时拖出半透明缩略图 */
.ap-lightbox-overlay img {
  -webkit-user-drag: none;
}
.ap-lightbox-bar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #1d1d1f;
  padding: 0 8px 12px;
}
.ap-lightbox-title {
  min-width: 0;
  line-height: 1.5;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.ap-lightbox-counter {
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 13.5px;
  color: rgba(29, 29, 31, 0.55);
  font-variant-numeric: tabular-nums;
  background: rgba(29, 29, 31, 0.05);
  padding: 3px 12px;
  border-radius: 999px;
}
.ap-lightbox-close {
  width: 46px;
  height: 46px;
  padding: 0;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(29, 29, 31, 0.05);
  border: 1px solid rgba(29, 29, 31, 0.08);
  color: #1d1d1f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  touch-action: manipulation;
  transition: background 0.12s ease;
}
.ap-lightbox-close:hover {
  background: rgba(29, 29, 31, 0.12);
}
.ap-lightbox-overlay button:focus-visible,
.ap-lightbox-overlay [tabindex]:focus-visible { outline: 2px solid #0066cc; outline-offset: 3px; }
.ap-lightbox-overlay button[hidden] { display: none; }
.ap-lightbox-close svg {
  width: 20px;
  height: 20px;
}
.ap-lightbox-viewport {
  width: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  gap: 16px;
  min-height: 0;
}
.ap-lightbox-img-wrap {
  flex: 1;
  min-width: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.ap-lightbox-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.16);
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #ffffff;
}
.ap-lightbox-nav {
  padding: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(29, 29, 31, 0.05);
  border: 1px solid rgba(29, 29, 31, 0.08);
  color: #1d1d1f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  touch-action: manipulation;
  transition: background 0.12s ease;
}
.ap-lightbox-nav:hover {
  background: rgba(29, 29, 31, 0.12);
}
.ap-lightbox-nav svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 760px) {
  .ap-lightbox-content { width: 100%; height: calc(100dvh - 24px); padding: 8px 12px; }
  .ap-lightbox-bar { gap: 8px; padding: 0 0 12px; }
  .ap-lightbox-counter { font-size: 12px; padding: 3px 8px; }
  /* 手机端翻页按钮移到图片下方，证书占满整个宽度，避免箭头压住证书内容 */
  .ap-lightbox-viewport {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 10px 12px;
  }
  .ap-lightbox-img-wrap { grid-column: 1 / -1; grid-row: 1; width: 100%; height: 100%; }
  .ap-lightbox-nav { grid-row: 2; align-self: end; }
  .ap-lightbox-nav.prev { grid-column: 1; justify-self: start; }
  .ap-lightbox-nav.next { grid-column: 2; justify-self: end; }
  .ap-lightbox-close, .ap-lightbox-nav {
    width: 44px;
    height: 44px;
  }
  .ap-lightbox-title {
    font-size: 15px;
  }
}

/* ============================================================
   合作客户 · 官方Logo墙 (#clients / ap-cl2-*)
   ============================================================ */
.ap-cl2-head { margin-bottom: 44px; }
.ap-cl2-title {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  color: var(--ap-ink);
  line-height: 1.25;
  margin: 0 0 14px;
}

.ap-cl2-group { margin-bottom: 38px; }
.ap-cl2-group:last-child { margin-bottom: 0; }
.ap-cl2-cat { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.ap-cl2-cat-cn {
  font-size: 17px;
  font-weight: 800;
  color: var(--ap-ink);
  white-space: nowrap;
}
.ap-cl2-cat-cn::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 16px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--ap-blue), #38bdf8);
  margin-right: 10px;
  vertical-align: -2px;
}

.ap-cl2-cat-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--ap-line), transparent);
}
.ap-cl2-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.ap-cl2-card {
  background: #fff;
  border: 1px solid var(--ap-line-light);
  border-radius: 14px;
  padding: 24px 16px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.ap-cl2-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 102, 204, .45);
  box-shadow: 0 14px 32px rgba(11, 36, 64, .12);
}
.ap-cl2-logo {
  height: 64px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ap-cl2-logo img {
  max-height: 64px;
  max-width: 84%;
  object-fit: contain;
}
.ap-cl2-name {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ap-body);
  text-align: center;
  line-height: 1.45;
}

@media (max-width: 1080px) {
  .ap-cl2-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .ap-cl2-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
}

@media (max-width: 640px) {
  .ap-cl2-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .ap-cl2-card { padding: 18px 10px 12px; border-radius: 12px; }
  .ap-cl2-logo { height: 52px; }
  .ap-cl2-logo img { max-height: 52px; }
  .ap-cl2-name { min-height: 20px; font-size: 12.5px; }
  .ap-cl2-group { margin-bottom: 30px; }
}
