/* ===========================================================
   广东龙晟环保科技有限公司 · 官网 方案E「稳重商务风」
   设计基调：藏青蓝 / 小圆角 / 结构化表格 / 编号章节 · 政企正式调性
   =========================================================== */

:root {
  --navy: #0b2545;
  --navy-2: #13315c;
  --navy-3: #1d4e89;
  --ink: #16202e;
  --ink-2: #41506a;
  --muted: #5c6d85;          /* 对比度 4.69:1 on --bg-band（原 #7b8aa0 仅 3.51，不达 WCAG AA） */
  --line: #dde3ec;
  --line-2: #c6cfdc;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --bg-band: #eef2f7;
  --accent: #a8342a;
  --radius: 5px;
  --radius-lg: 7px;
  --shadow: 0 2px 12px -4px rgba(11, 37, 69, .10);
  --shadow-h: 0 16px 38px -20px rgba(11, 37, 69, .38);
  --maxw: 1200px;
  /* 不依赖 Google Fonts（大陆不可达）：直接用系统字体栈，
     Inter 若已本地安装则优先，否则回落到各平台默认无衬线字体。 */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
          "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑",
          "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  line-height: 1.75; font-size: 16px; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; font-weight: 700; letter-spacing: -.005em; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; box-sizing: border-box; min-width: 0; }

/* ---------- 顶部信息条 ---------- */
.topbar { background: var(--navy); color: #b8c6da; font-size: 12.5px; letter-spacing: .2px; }
/* min-height 而非固定 height：窄屏文字换行时不会被裁切 */
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 20px; padding-top: 4px; padding-bottom: 4px; }
.topbar b { color: #fff; font-weight: 600; }
.topbar .r { display: flex; gap: 24px; flex: none; }
/* 左右两区都不换行，窄屏时逐级隐藏次要信息 */
.topbar .l { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar .r span { white-space: nowrap; }
.topbar a:hover { color: #fff; }
@media (max-width: 1180px) { .topbar .r span:nth-child(3) { display: none; } }
@media (max-width: 1000px) { .topbar .r span:not(:last-child) { display: none; } }
@media (max-width: 860px) { .topbar .l { font-size: 12px; } }
@media (max-width: 640px) { .topbar { font-size: 12px; } .topbar .r { display: none; } .topbar .wrap { line-height: 1.45; } }

/* ---------- 页头 ---------- */
.header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.header.scrolled { box-shadow: 0 6px 20px -14px rgba(11, 37, 69, .45); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 82px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand-mark {
  width: 44px; height: 44px; flex: none; border-radius: 6px;
  background: var(--navy); color: #fff; display: grid; place-items: center;
  font-size: 20px; font-weight: 700; letter-spacing: .5px;
}
/* 真实 LOGO 图片（替代「龙」字方块） */
.brand-logo { width: 52px; height: 52px; flex: none; object-fit: contain; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text b { font-size: 17px; color: var(--navy); letter-spacing: .2px; }
.brand-text span { font-size: 10.5px; color: var(--muted); letter-spacing: 1.4px; text-transform: uppercase; font-weight: 600; }
/* 页脚 LOGO 背景为深色，加白色圆底保证清晰 */
.footer .brand-logo { background: #fff; border-radius: 50%; padding: 4px; width: 52px; height: 52px; }
@media (max-width: 560px) { .brand-logo { width: 42px; height: 42px; } .footer .brand-logo { width: 42px; height: 42px; } }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  padding: 10px 17px; font-size: 15px; font-weight: 600; color: var(--ink-2);
  border-bottom: 2px solid transparent; transition: .2s;
  white-space: nowrap;   /* 防止菜单文字被挤压换行 */
}
.nav-links a:hover { color: var(--navy); }
.nav-links a.active { color: var(--navy); border-bottom-color: var(--navy); }

.hotline { display: flex; align-items: center; gap: 12px; flex: none; padding-left: 22px; border-left: 1px solid var(--line); }
.hotline .ico { width: 36px; height: 36px; border-radius: 50%; background: var(--bg-band); display: grid; place-items: center; color: var(--navy); flex: none; }
/* 热线文案区 */
.hotline .t { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.hotline .hotline-label {
  display: block; font-size: 11.5px; color: var(--muted);
  font-weight: 600; letter-spacing: .4px; line-height: 1.2;
  text-align: center;
}

/* 两个号码：统一字号与行高，纵向排列，左对齐 */
.hotline .hotline-nums { display: flex; flex-direction: column; align-items: center; gap: 1px; }
.hotline .hotline-nums a {
  display: block;
  font-size: 16px; font-weight: 700; color: var(--navy);
  letter-spacing: .3px; line-height: 1.3;
  text-decoration: none; white-space: nowrap;
  text-align: center;
  transition: color .18s;
}
.hotline .hotline-nums a:hover { color: var(--navy-3); }

/* 手机号：字号略小，但与座机左对齐 */
.hotline .hotline-nums .num-mobile { font-size: 13px; color: var(--ink-2); font-weight: 600; }
.hotline .hotline-nums .num-mobile:hover { color: var(--navy); }

/* 导航右侧「立即咨询」按钮 */
.nav-cta {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 22px; border-radius: var(--radius);
  /* 半透明绿：与手机端保持一致 */
  background: rgba(26, 127, 75, .78); color: #fff; font-size: 15px; font-weight: 600;
  border: 1px solid rgba(26, 127, 75, .45);
  letter-spacing: .2px; white-space: nowrap;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  transition: background .22s, border-color .22s, box-shadow .22s, transform .22s;
  box-shadow: 0 10px 22px -14px rgba(26, 127, 75, .55);
}
.nav-cta:hover { background: rgba(21, 102, 60, .92); border-color: rgba(21, 102, 60, .7);
  color: #fff; transform: translateY(-1px);
  box-shadow: 0 14px 26px -14px rgba(26, 127, 75, .7); }

.nav-toggle { display: none; background: none; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 10px 12px; cursor: pointer; }
/* 仅作用于直接子级 i（旧结构兼容），新结构横线在 .nav-toggle-bars 内 */
.nav-toggle > i { display: block; width: 20px; height: 2px; background: var(--navy); margin: 4px 0; }

@media (max-width: 1280px) {
  .nav { gap: 14px; }
  .nav-links a { padding: 10px 13px; font-size: 14.5px; }
  .hotline .num-mobile { display: none; }   /* 中屏隐藏手机号，仅保留座机 */
  .nav-cta { padding: 10px 18px; font-size: 14.5px; }
}
@media (max-width: 1120px) {
  .nav { gap: 12px; }
  .nav-links { display: none; position: absolute; top: 82px; left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 18px; border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px -22px rgba(11,37,69,.5); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links a.active { border-bottom-color: var(--line); }
  .nav-toggle { display: block; }
  .nav-cta { margin-left: auto; padding: 10px 16px; font-size: 14px; }
}
/* 窄屏：品牌名过长会挤掉按钮，改为可收缩 */
@media (max-width: 720px) {
  .brand { min-width: 0; flex: 1 1 auto; }
  .brand-logo { flex: none; }
  .brand-text { min-width: 0; }
  .brand-text b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
  .brand-text span { font-size: 9.5px; letter-spacing: .8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
  .nav { gap: 8px; }
  .nav-cta { padding: 9px 13px; font-size: 13px; margin-left: auto; }
  .nav-toggle { flex: none; padding: 8px 10px; }
}
@media (max-width: 420px) {
  .brand-logo { width: 38px; height: 38px; }
  .brand-text b { font-size: 14px; }
  .brand-text span { display: none; }   /* 极窄屏隐藏英文名 */
  .nav-cta { padding: 8px 11px; font-size: 12.5px; }
}

/* ---------- 按钮 ---------- */
.btn { display: inline-flex; align-items: center; gap: 9px; padding: 13px 26px; border-radius: var(--radius);
  font-size: 15px; font-weight: 600; border: 1px solid transparent; transition: .22s; cursor: pointer; font-family: inherit; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-line { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn-line:hover { border-color: var(--navy); color: var(--navy); }
.btn-ghost { background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.30); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.2); }
.btn-accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-accent:hover { background: #8e2a21; border-color: #8e2a21; }
.arrow { transition: transform .22s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- 首屏 ---------- */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(80% 70% at 70% 20%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(80% 70% at 70% 20%, #000, transparent 78%);
}
.hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(29,78,137,.85), transparent 68%); }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.45fr .9fr; gap: 60px; padding: 78px 0 70px; align-items: center; }
.hero-tag { display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px; border: 1px solid rgba(255,255,255,.26);
  border-radius: 999px; font-size: 12.5px; font-weight: 600; letter-spacing: .4px; color: #cfdcec; margin-bottom: 24px; }
.hero-tag i { width: 6px; height: 6px; border-radius: 50%; background: #6fb1ff; }
.hero h1 { font-size: clamp(32px, 4vw, 50px); line-height: 1.22; letter-spacing: -.02em; }
.hero h1 em { font-style: normal; color: #7fb6ff; }
.hero-lead { margin-top: 22px; font-size: 17px; color: #c3d2e5; max-width: 620px; }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }

.hero-side { display: grid; gap: 16px; }
.side-panel { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-lg); padding: 26px; }
.side-panel h3 { font-size: 15px; letter-spacing: .6px; color: #fff; padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.16); }
.side-panel li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: #c3d2e5; padding: 7px 0; }
.side-panel li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #7fb6ff; flex: none; }
.side-contact .k { font-size: 12.5px; color: #9db4cf; letter-spacing: .5px; }
.side-contact .v { font-size: 26px; font-weight: 700; color: #fff; letter-spacing: .3px; margin: 4px 0 6px; }
.side-contact .s { font-size: 13px; color: #9db4cf; }
/* 注意：.hero-inner 与 .wrap 是同一个元素（class="wrap hero-inner"），
   这里若把左右 padding 设为 0，会覆盖 .wrap 的 24px，导致手机端首屏文字贴边。 */
@media (max-width: 980px) { .hero-inner { grid-template-columns: 1fr; gap: 40px; padding-top: 56px; padding-bottom: 50px; } }

/* ---------- 数据带 ---------- */
.statband { background: var(--navy-2); color: #fff; }
.statband-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.statband .c { padding: 34px 28px; border-right: 1px solid rgba(255,255,255,.14); }
.statband .c:last-child { border-right: 0; }
.statband .c b { display: block; font-size: clamp(28px, 3vw, 38px); line-height: 1; letter-spacing: -.02em; }
.statband .c b small { font-size: .45em; color: #7fb6ff; margin-left: 3px; font-weight: 700; }
.statband .c span { display: block; margin-top: 12px; font-size: 13.5px; color: #a9bed8; }
@media (max-width: 800px) { .statband-inner { grid-template-columns: repeat(2, 1fr); }
  .statband .c:nth-child(2) { border-right: 0; }
  .statband .c:nth-child(1), .statband .c:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.14); } }

/* ---------- 章节 ---------- */
.section { padding: 82px 0; }
.section.soft { background: var(--bg-soft); }
.section.band { background: var(--bg-band); }
.sec-title { display: flex; align-items: flex-end; gap: 20px; padding-bottom: 22px; margin-bottom: 44px; border-bottom: 2px solid var(--navy); }
.sec-title .no { font-size: 13px; font-weight: 700; letter-spacing: 2px; color: #fff; background: var(--accent);
  padding: 4px 11px; border-radius: 3px; flex: none; margin-bottom: 5px; }
.sec-title .tx h2 { font-size: clamp(23px, 2.6vw, 31px); color: var(--navy); }
.sec-title .tx p { margin-top: 8px; color: var(--ink-2); font-size: 15px; }
.sec-title .more { margin-left: auto; font-size: 14px; font-weight: 600; color: var(--navy-3); flex: none; margin-bottom: 6px; }
.sec-title .more:hover { color: var(--accent); }
@media (max-width: 720px) { .sec-title { flex-wrap: wrap; } .sec-title .more { margin-left: 0; } }

/* ---------- 双栏 ---------- */
.cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.cols.wide-left { grid-template-columns: minmax(0, 1.25fr) minmax(0, .95fr); }
.cols p.body { color: var(--ink-2); font-size: 15.5px; margin-bottom: 16px; }
/* 网格子项允许收缩，避免内部表格/长文本把整列撑宽 */
.cols > div { min-width: 0; }
@media (max-width: 900px) { .cols, .cols.wide-left { grid-template-columns: minmax(0, 1fr); gap: 34px; } }

/* ---------- 图 / 照片位 ---------- */
.figure { border: 1px solid var(--line-2); background: var(--bg-band); position: relative; overflow: hidden; border-radius: var(--radius-lg); }
.figure svg { display: block; width: 100%; height: 100%; }
.fig-16-9 { aspect-ratio: 16 / 9; }
.fig-4-3 { aspect-ratio: 4 / 3; }
.ph-tag { position: absolute; left: 12px; bottom: 12px; font-size: 11px; font-weight: 600; letter-spacing: .4px;
  color: var(--navy); background: rgba(255,255,255,.92); border: 1px solid var(--line); border-radius: 3px; padding: 4px 9px; }

/* ---------- 服务清单（表格） ---------- */
.data-table { border: 1px solid var(--line-2); border-radius: var(--radius-lg); overflow: hidden; }
.data-table thead th {
  background: var(--navy); color: #fff; font-size: 14px; font-weight: 600; letter-spacing: .5px;
  padding: 15px 20px; text-align: left; white-space: nowrap;
}
.data-table tbody td { padding: 18px 20px; border-bottom: 1px solid var(--line); font-size: 14.8px; color: var(--ink-2); vertical-align: top; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: var(--bg-soft); }
.data-table .no-cell { color: var(--accent); font-weight: 700; width: 64px; }
.data-table .name { color: var(--ink); font-weight: 700; font-size: 15.5px; }
.data-table .sub { display: block; font-size: 12.5px; color: var(--muted); font-weight: 600; letter-spacing: 1px; margin-top: 4px; }
.data-table .tag { display: inline-block; font-size: 12px; font-weight: 600; color: var(--navy-3);
  background: var(--bg-band); border-radius: 3px; padding: 3px 9px; margin: 2px 6px 2px 0; }

/* 服务范围表：桌面端列宽（原内联样式迁移至此） */
.data-table .col-no { width: 64px; }
.data-table .col-name { width: 220px; }
.data-table .col-desc { width: auto; }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; position: relative; max-width: 100%; }
@media (max-width: 760px) {
  .data-table thead th, .data-table tbody td { padding: 12px 14px; font-size: 13.8px; }
  /* 列宽在下方「服务范围表格：手机端列宽优化」统一控制，
     此处不再设置 min-width，避免与 class 选择器冲突。 */
  /* 横向滚动提示：仅窄屏且可滚动时显示 */
  .table-scroll::after {
    content: "← 左右滑动查看完整表格 →";
    display: block; padding: 10px 2px 0; font-size: 12px;
    color: var(--muted); letter-spacing: .5px;
  }
}
@media (min-width: 761px) { .table-scroll::after { content: none; } }

/* ---------- 资质网格 ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cert { border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: 26px; background: #fff; transition: .25s; }
.cert:hover { border-color: var(--navy-3); box-shadow: var(--shadow-h); }
.cert .badge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 1.6px; color: var(--accent);
  border: 1px solid var(--line-2); border-radius: 3px; padding: 3px 9px; margin-bottom: 16px; }
.cert h3 { font-size: 17px; color: var(--navy); margin-bottom: 10px; }
.cert p { font-size: 14.2px; color: var(--ink-2); }
@media (max-width: 900px) { .cert-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cert-grid { grid-template-columns: 1fr; } }

/* 证书图墙 */
.cert-gallery { margin-top: 44px; padding-top: 34px; border-top: 1px solid var(--line-2); }
.cert-gallery-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 22px; flex-wrap: wrap; }
.cert-gallery-head h3 { font-size: 19px; color: var(--navy); }
.cert-gallery-head p { font-size: 13.5px; color: var(--muted); }
.cert-gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cert-thumb { display: block; border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden;
  background: #fff; text-decoration: none; transition: .25s; }
.cert-thumb:hover { border-color: var(--accent); box-shadow: var(--shadow-h); transform: translateY(-3px); }
.cert-thumb img { display: block; width: 100%; height: 210px; object-fit: contain; background: #f7f9fb; padding: 10px; }
.cert-thumb span { display: block; padding: 10px 12px; font-size: 13px; font-weight: 600; color: var(--ink-2);
  text-align: center; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .cert-gallery-grid { grid-template-columns: repeat(3, 1fr); } .cert-thumb img { height: 180px; } }
@media (max-width: 620px) { .cert-gallery-grid { grid-template-columns: repeat(2, 1fr); } .cert-thumb img { height: 150px; } .cert-thumb span { font-size: 12px; padding: 8px 6px; } }

/* ---------- 合作企业 LOGO 轮播（两排反向滑动） ---------- */
.partners { margin-top: 46px; padding-top: 34px; border-top: 1px solid var(--line-2); }
.partners-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 26px; flex-wrap: wrap; }
.partners-head h3 { font-size: 19px; color: var(--navy); }
.partners-head p { font-size: 13.5px; color: var(--muted); }

/* 两排之间的间距 */
.partners-marquee + .partners-marquee { margin-top: 10px; }

.partners-marquee {
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.partners-track {
  display: flex; align-items: center; gap: 0; width: max-content;
}
/* 第一排向左 */
.partners-track--left { animation: partners-scroll-left 38s linear infinite; }
/* 第二排向右：从 -50% 回到 0，视觉上反向 */
.partners-track--right { animation: partners-scroll-right 44s linear infinite; }

/* 悬停暂停 */
.partners-marquee:hover .partners-track { animation-play-state: paused; }

.partner-item {
  flex: none; width: 168px; height: 96px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 6px;
}
.partner-item img {
  width: 84px; height: 84px;
  object-fit: contain; display: block;
  background: #fff; border-radius: 50%; padding: 12px;
  box-shadow: 0 2px 10px -4px rgba(11, 37, 69, .18);
  filter: grayscale(0.1); opacity: .92;
  transition: opacity .3s, filter .3s, transform .3s, box-shadow .3s;
}
.partner-item:hover img {
  opacity: 1; filter: none; transform: scale(1.08);
  box-shadow: 0 10px 22px -10px rgba(11, 37, 69, .45);
}

@keyframes partners-scroll-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes partners-scroll-right {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

/* 尊重「减少动态效果」偏好 */
@media (prefers-reduced-motion: reduce) {
  .partners-track { animation: none !important; }
  .partners-marquee { overflow-x: auto; }
}

@media (max-width: 900px) {
  .partner-item { width: 148px; height: 88px; padding: 0 6px; }
  .partner-item img { width: 76px; height: 76px; padding: 10px; }
}
@media (max-width: 620px) {
  .partner-item { width: 128px; height: 78px; padding: 0 5px; }
  .partner-item img { width: 66px; height: 66px; padding: 9px; }
  .partners-track--left { animation-duration: 28s; }
  .partners-track--right { animation-duration: 32s; }
}

/* ---------- 优势列表 ---------- */
.adv-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid var(--line-2); border-radius: var(--radius-lg); overflow: hidden; }
.adv { display: flex; gap: 18px; padding: 26px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.adv:nth-child(2n) { border-right: 0; }
.adv:nth-last-child(-n+2) { border-bottom: 0; }
.adv .n { font-size: 13px; font-weight: 700; color: #fff; background: var(--navy); width: 34px; height: 34px; flex: none;
  border-radius: 4px; display: grid; place-items: center; }
.adv h4 { font-size: 16px; color: var(--navy); margin-bottom: 6px; }
.adv p { font-size: 14.2px; color: var(--ink-2); }
@media (max-width: 760px) { .adv-list { grid-template-columns: 1fr; } .adv { border-right: 0; }
  .adv:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); } .adv:last-child { border-bottom: 0; } }

/* ---------- 流程 ---------- */
.steps { display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--line-2); border-radius: var(--radius-lg); overflow: hidden; }
.step { padding: 26px 20px; border-right: 1px solid var(--line); }
.step:last-child { border-right: 0; }
.step .n { font-size: 12px; font-weight: 700; letter-spacing: 1.6px; color: var(--accent); margin-bottom: 12px; }
.step h4 { font-size: 15.5px; color: var(--navy); margin-bottom: 8px; }
.step p { font-size: 13.5px; color: var(--ink-2); }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(3, 1fr); }
  .step:nth-child(3n) { border-right: 0; }
  .step:nth-child(-n+3) { border-bottom: 1px solid var(--line); } }
@media (max-width: 620px) { .steps { grid-template-columns: 1fr; } .step { border-right: 0; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; } }

/* ---------- FAQ ---------- */
.faq { border: 1px solid var(--line-2); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary { cursor: pointer; padding: 20px 26px; font-size: 15.5px; font-weight: 600; color: var(--ink);
  list-style: none; display: flex; justify-content: space-between; gap: 20px; align-items: center; transition: background .2s; }
.faq summary:hover { background: var(--bg-soft); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 20px; font-weight: 400; color: var(--navy-3); transition: transform .25s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details[open] summary { color: var(--navy); background: var(--bg-soft); }
.faq .ans { padding: 4px 26px 22px; color: var(--ink-2); font-size: 14.8px; }

/* ---------- 筛选 ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.filters button { font-family: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: .2s;
  padding: 9px 18px; border: 1px solid var(--line-2); border-radius: var(--radius); background: #fff; color: var(--ink-2); }
.filters button:hover { border-color: var(--navy-3); color: var(--navy); }
.filters button.active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- 联系 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; }
/* 左栏容器撑满，使表格与右侧卡片等高 */
.contact-grid > div { display: flex; flex-direction: column; }
.info-table { border: 1px solid var(--line-2); border-radius: var(--radius-lg); overflow: hidden; flex: 1; display: flex; flex-direction: column; }
.info-table .row { display: grid; grid-template-columns: 136px 1fr; border-bottom: 1px solid var(--line); flex: 1; }
.info-table .row:last-child { border-bottom: 0; }
/* 标签不换行（如「企业信用代码」） */
.info-table .k { background: var(--bg-soft); padding: 16px 18px; font-size: 13.5px; font-weight: 600; color: var(--ink-2);
  white-space: nowrap; display: flex; align-items: center; }
.info-table .v { padding: 16px 20px; font-size: 14.8px; color: var(--ink); display: flex; align-items: center; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .info-table .row { flex: none; } }

/* ---------- 公司位置（两栏，窄屏收成一栏） ---------- */
.loc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; align-items: start; }
.loc-grid .info-table { flex: none; }
.loc-note { margin-top: 20px; font-size: 14px; color: var(--muted); line-height: 1.8; }
.loc-map { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: 18px; }
.loc-map img { width: 100%; height: auto; display: block; }

@media (max-width: 820px) {
  .loc-grid { grid-template-columns: 1fr; gap: 26px; }
  /* 窄屏下地图适度收窄并居中，避免过高 */
  .loc-map { max-width: 420px; margin: 0 auto; padding: 12px; }
  .loc-note { margin-top: 14px; font-size: 13.5px; }
}
@media (max-width: 480px) {
  .info-table .row { grid-template-columns: 108px 1fr; }
  .info-table .k { padding: 13px 12px; font-size: 12.8px; }
  .info-table .v { padding: 13px 12px; font-size: 13.8px; }
  .loc-map { max-width: 100%; }
}

/* 二维码 */
.qr-card { border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: 34px; text-align: center; background: #fff;
  height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.qr-card h3 { font-size: 20px; color: var(--navy); margin-bottom: 8px; }
.qr-lead { color: var(--ink-2); font-size: 14.5px; margin-bottom: 26px; max-width: 420px; }
.qr-frame { display: inline-block; position: relative; padding: 16px; background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); }
.qr-frame svg, .qr-frame img { display: block; width: 300px; height: 300px; object-fit: contain; }
.qr-tag { position: absolute; left: 50%; transform: translateX(-50%); bottom: -12px; white-space: nowrap;
  font-size: 11px; font-weight: 600; color: #fff; background: var(--accent); border-radius: 3px; padding: 4px 11px; }
.qr-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 34px 0 0;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.qr-steps li { list-style: none; padding: 16px 12px; font-size: 13.2px; color: var(--ink-2); border-right: 1px solid var(--line); }
.qr-steps li:last-child { border-right: 0; }
.qr-steps li b { display: block; font-size: 15px; color: var(--navy); margin-bottom: 5px; }
.qr-alt { margin-top: 22px; font-size: 13.5px; color: var(--muted); }
.qr-alt b { color: var(--ink); }
@media (max-width: 620px) { .qr-steps { grid-template-columns: 1fr; } .qr-steps li { border-right: 0; border-bottom: 1px solid var(--line); }
  .qr-steps li:last-child { border-bottom: 0; }
  .qr-frame svg, .qr-frame img { width: 240px; height: 240px; } }

/* ---------- CTA ---------- */
.cta { background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: 52px 56px; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(29,78,137,.9), transparent 70%); }
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(24px, 2.8vw, 34px); }
.cta p { color: #b8c6da; margin-top: 12px; max-width: 620px; }
@media (max-width: 720px) { .cta { padding: 36px 26px; } }

/* ---------- 页脚 ---------- */
.footer { background: var(--navy); color: #a9bed8; padding: 62px 0 28px; }
.footer-top { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 42px; border-bottom: 1px solid rgba(255,255,255,.14); }
.footer .brand-text b { color: #fff; }
.footer .brand-text span { color: #7b93b3; }
.footer .brand-mark { background: #fff; color: var(--navy); }
.footer h5 { color: #fff; font-size: 15px; margin-bottom: 18px; font-weight: 600; }
.footer li { margin-bottom: 11px; font-size: 14.2px; }
.footer a:hover { color: #fff; }
.footer .desc { margin-top: 20px; font-size: 13.8px; line-height: 1.85; max-width: 340px; color: #8fa6c2; }
.footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #7b93b3; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 600px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- 内页头 ---------- */
.page-head { background: var(--navy); color: #fff; padding: 58px 0 54px; position: relative; overflow: hidden; }
.page-head::before { content: ""; position: absolute; inset: 0; opacity: .45;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 52px 52px; mask-image: radial-gradient(70% 100% at 20% 0%, #000, transparent 76%);
  -webkit-mask-image: radial-gradient(70% 100% at 20% 0%, #000, transparent 76%); }
.page-head .wrap { position: relative; z-index: 1; }
.crumbs { font-size: 13.5px; color: #9db4cf; margin-bottom: 16px; }
.crumbs a:hover { color: #fff; }
.page-head h1 { font-size: clamp(27px, 3.2vw, 40px); letter-spacing: -.02em; }
.page-head .lead { margin-top: 16px; color: #b8c6da; font-size: 16.5px; max-width: 760px; }

/* ---------- 时间线 ---------- */
.tl { border-left: 2px solid var(--line-2); padding-left: 30px; }
.tl-row { position: relative; padding-bottom: 30px; }
.tl-row:last-child { padding-bottom: 0; }
.tl-row::before { content: ""; position: absolute; left: -37px; top: 6px; width: 12px; height: 12px; border-radius: 50%;
  background: #fff; border: 2px solid var(--navy-3); }
.tl-row .y { font-size: 14px; font-weight: 700; color: var(--accent); letter-spacing: .4px; }
.tl-row h4 { font-size: 16.5px; color: var(--navy); margin: 4px 0 6px; }
.tl-row p { font-size: 14.5px; color: var(--ink-2); }

/* ---------- 团队表 ---------- */
.team-table .tname { font-size: 16px; font-weight: 700; color: var(--navy); }
.team-table .trole { font-size: 14px; color: var(--accent); font-weight: 600; }
.team-table .tsub { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; }

/* ---------- 动画 ----------
   注意：仅在 <html> 带 .js 类时才把内容设为透明。
   这样 JS 被拦截/加载失败时内容依然可见（由 <head> 内联脚本添加 .js）。 */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s cubic-bezier(.16,.8,.3,1), transform .65s cubic-bezier(.16,.8,.3,1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- 工具 ---------- */
.center { text-align: center; }

/* ---------- [hidden] 兜底 ----------
   .btn 等组件设置了 display:inline-flex，会覆盖浏览器默认的
   [hidden]{display:none}，导致 hidden 属性失效（按钮无法真正隐藏）。
   这里用 !important 保证 hidden 始终生效。 */
[hidden] { display: none !important; }

.mt0 { margin-top: 0; }

/* ===========================================================
   无障碍与动效偏好（WCAG 2.1 AA）
   1) prefers-reduced-motion：尊重系统「减少动态效果」设置
   2) :focus-visible：键盘导航时提供清晰焦点环
   3) .skip-link：键盘 / 读屏用户可跳过导航直达正文
   =========================================================== */

/* ---------- 1. 减少动态效果 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  /* 入场元素直接显示，不做位移 */
  .js .reveal, .reveal { opacity: 1 !important; transform: none !important; }
  /* 无限滚动字幕停止 */
  .marquee-track { animation: none !important; }
  /* 雷达扫描等旋转装饰停止 */
  .radar .sweep, .sweep { animation: none !important; }
}

/* ---------- 2. 键盘焦点可见 ---------- */
:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
  border-radius: 3px;
}
/* 深色底上的焦点环换成亮色，保证可见 */
.footer :focus-visible, .cta-band :focus-visible, .band :focus-visible { outline-color: #ffffff; }
/* 鼠标点击时不显示焦点环 */
:focus:not(:focus-visible) { outline: none; }

/* ---------- 3. 跳到主内容 ---------- */
.skip-link {
  position: absolute; left: 12px; top: -70px; z-index: 999;
  padding: 11px 20px; font-size: 14.5px; font-weight: 700;
  background: var(--navy); color: #ffffff;
  border-radius: 8px; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ===========================================================
   公示公告模块
   （列表 / 详情 / PDF 卡片；与既有 .data-table / .filters 风格一致）
   =========================================================== */

/* ---------- 列表页 ---------- */
.notice-desktop { display: block; }
.notice-mobile { display: none; }

.notice-title { color: var(--ink); font-weight: 700; font-size: 15.5px; transition: color .2s; }
.notice-title:hover { color: var(--navy-3); }
.notice-sum {
  display: block; margin-top: 6px; font-size: 13.5px; color: var(--ink-2);
  line-height: 1.65; font-weight: 400;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.notice-date { color: var(--ink-2); font-size: 14px; white-space: nowrap; }
.notice-file { white-space: nowrap; }
.pdf-mini {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .3px;
  color: var(--accent); background: rgba(168, 52, 42, .07);
  border: 1px solid rgba(168, 52, 42, .22); border-radius: 3px;
  padding: 3px 8px;
}
.muted { color: var(--muted); }

/* 移动端卡片 */
.notice-card {
  display: block; padding: 20px 22px; border: 1px solid var(--line-2);
  border-radius: var(--radius-lg); background: #fff; transition: .22s;
}
.notice-card + .notice-card { margin-top: 12px; }
.notice-card:hover { border-color: var(--navy-3); box-shadow: var(--shadow-h); }
.notice-card .nc-tag {
  display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .6px;
  color: var(--navy-3); background: var(--bg-soft); border-radius: 3px; padding: 3px 9px;
  margin-bottom: 10px;
}
.notice-card h3 { font-size: 16px; color: var(--ink); line-height: 1.5; margin-bottom: 8px; }
.notice-card p { font-size: 13.5px; color: var(--ink-2); line-height: 1.7; margin-bottom: 10px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.notice-card .nc-meta { font-size: 12.5px; color: var(--muted); }

/* 空状态 */
.notice-empty {
  text-align: center; padding: 70px 20px; border: 1px dashed var(--line-2);
  border-radius: var(--radius-lg); background: var(--bg-soft);
}
.notice-empty p { font-size: 15px; color: var(--ink-2); margin-bottom: 20px; }

/* 分页 */
.pager { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 34px; }
.pager .pg {
  min-width: 42px; height: 42px; padding: 0 14px; display: inline-flex;
  align-items: center; justify-content: center;
  border: 1px solid var(--line-2); border-radius: var(--radius); background: #fff;
  font-size: 14px; font-weight: 600; color: var(--ink-2); transition: .2s;
}
.pager a.pg:hover { border-color: var(--navy-3); color: var(--navy); }
.pager .pg.current { background: var(--navy); border-color: var(--navy); color: #fff; }

.notice-note { margin-top: 22px; text-align: center; font-size: 13px; color: var(--muted); }

@media (max-width: 900px) {
  .notice-desktop { display: none; }
  .notice-mobile { display: block; }
}

/* ---------- 详情页 ---------- */
.wrap--narrow { max-width: 1056px; }   /* 原 880px，加宽 20% */
.page-head--slim { padding: 34px 0 30px; }
.page-head--slim .crumbs { margin-bottom: 0; }

.notice-detail {
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  padding: 44px 40px; box-shadow: var(--shadow);
}
.nd-head { padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.nd-tag {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .8px;
  color: #fff; background: var(--accent); border-radius: 3px; padding: 4px 11px;
  margin-bottom: 16px;
}
.nd-head h1 { font-size: clamp(21px, 2.6vw, 28px); color: var(--navy); line-height: 1.45; }
.nd-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  margin-top: 16px; font-size: 13.5px; color: var(--muted);
}
.nd-pin {
  font-size: 11.5px; font-weight: 700; color: var(--accent);
  border: 1px solid rgba(168,52,42,.3); border-radius: 3px; padding: 2px 8px;
}
.nd-summary {
  margin-top: 24px; padding: 18px 22px; background: var(--bg-soft);
  border-left: 3px solid var(--navy-3); border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 14.5px; color: var(--ink-2); line-height: 1.8;
}

/* Markdown 正文 */
.md { margin-top: 30px; font-size: 15.5px; color: var(--ink); line-height: 1.95; }
.md p { margin: 0 0 16px; }
.md h2 { font-size: 20px; color: var(--navy); margin: 32px 0 14px; }
.md h3 { font-size: 17.5px; color: var(--navy); margin: 26px 0 12px; }
.md h4, .md h5 { font-size: 16px; color: var(--navy-2); margin: 22px 0 10px; }
.md ul, .md ol { margin: 0 0 16px; padding-left: 24px; }
.md li { margin-bottom: 8px; }
.md ul li { list-style: disc; }
.md ol li { list-style: decimal; }
.md blockquote {
  margin: 0 0 16px; padding: 14px 20px; background: var(--bg-soft);
  border-left: 3px solid var(--line-2); color: var(--ink-2); font-size: 14.5px;
}
.md code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13.5px; background: var(--bg-band); border-radius: 3px; padding: 2px 6px;
}
.md a { color: var(--navy-3); border-bottom: 1px solid currentColor; }
.md a:hover { color: var(--accent); }
.md hr { border: 0; border-top: 1px solid var(--line); margin: 30px 0; }
.md .md-table { overflow-x: auto; margin: 0 0 18px; }
.md table { width: 100%; border-collapse: collapse; font-size: 14px; }
.md th, .md td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.md th { background: var(--bg-soft); color: var(--navy); font-weight: 700; }

/* PDF 卡片 */
.pdf-card {
  margin-top: 36px; padding: 22px 20px; border: 1px solid var(--line-2);
  border-radius: var(--radius-lg); background: var(--bg-soft);
}
.pdf-card--empty { text-align: center; color: var(--muted); font-size: 14.5px; }
.pdf-info {
  display: flex; align-items: center; gap: 16px;
  padding-bottom: 18px; border-bottom: 1px dashed var(--line-2);
}
.pdf-info-main { flex: 1; min-width: 0; }
.pdf-badge {
  flex: none; width: 52px; height: 52px; border-radius: var(--radius);
  background: var(--accent); color: #fff; font-size: 12px; font-weight: 800;
  letter-spacing: .5px; display: grid; place-items: center;
}
.pdf-meta b { display: block; font-size: 15.5px; color: var(--ink); margin-bottom: 5px; word-break: break-all; }
.pdf-meta span { font-size: 13px; color: var(--muted); }
.pdf-actions {
  display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px;
  justify-content: flex-start;
}
.pdf-frame-wrap { margin-top: 22px; border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; background: #fff; }
.pdf-frame { width: 100%; height: 620px; border: 0; display: block; }
.pdf-tip {
  margin-top: 16px; padding: 12px 16px; font-size: 13.5px; color: var(--ink-2);
  background: rgba(168,52,42,.06); border-radius: var(--radius);
}

/* 上一篇 / 下一篇 */
.pn-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 36px; }
.pn {
  padding: 18px 20px; border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  background: #fff; transition: .22s;
}
.pn:hover { border-color: var(--navy-3); box-shadow: var(--shadow-h); }
.pn span { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.pn b { font-size: 14.5px; color: var(--ink); line-height: 1.55; font-weight: 600;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pn.next { text-align: right; }
.nd-back { margin-top: 34px; }

@media (max-width: 620px) {
  .notice-detail { padding: 30px 22px; }
  .pn-nav { grid-template-columns: 1fr; }
  .pdf-frame { height: 460px; }
  .pdf-actions .btn { flex: 1; justify-content: center; }
}

/* ---------- 窄屏 PDF 预览兜底 ----------
   多数移动端浏览器与微信内置浏览器无法渲染 iframe 中的 PDF，
   会显示为一块空白或黑色区域。JS 已按 UA 隐藏，这里再用媒体查询兜底：
   即使 UA 检测失效，窄屏也不会出现空白框。 */
@media (max-width: 900px) {
  .pdf-frame-wrap { display: none !important; }
  .pdf-tip { display: block !important; }
}

/* ---------- Markdown 表格窄屏优化 ----------
   窄屏下若不给表格最小宽度，浏览器会把列压到极窄，中文逐字换行。
   这里保留最小宽度并允许横向滚动；单元格默认不换行，仅首列（点位名称）可换行。 */
.md .md-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
/* 覆盖前面 .md table { width: 100% }：窄屏用固定布局 + 最小宽度，超出横向滚动 */
.md .md-table table { width: auto; min-width: 560px; table-layout: auto; }
.md .md-table th, .md .md-table td { white-space: nowrap; }
.md .md-table th:first-child, .md .md-table td:first-child { white-space: normal; min-width: 110px; }

/* ---------- 后台预览徽章 ---------- */
.preview-badge {
  display: inline-block;
  margin-top: 14px;
  padding: 6px 14px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .4px;
  color: #fff;
  background: var(--accent);
  border-radius: 4px;
}

/* ---------- PDF 权限提示 ---------- */
.pdf-note {
  margin-top: 16px;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--ink-2);
  background: rgba(168, 52, 42, .06);
  border-left: 3px solid rgba(168, 52, 42, .4);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* ---------- 详情页内嵌 PDF 预览（桌面端） ---------- */
.pdf-inline {
  margin-top: 18px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  overflow: hidden;
  background: #f4f6f9;
  /* 撑满父容器，避免左右留白 */
  width: 100%;
}

.pdf-inline-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
}
.pdf-inline-hint {
  font-weight: 400;
  color: var(--muted);
  font-size: 12.5px;
}

.pdf-inline-stage {
  position: relative;
  max-height: 82vh;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 10px 8px;
  -webkit-overflow-scrolling: touch;
}

.pdf-inline-pages {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.pdf-inline-page {
  background: #fff;
  box-shadow: 0 2px 12px -4px rgba(11, 37, 69, .28);
  border-radius: 2px;
  overflow: hidden;
  min-height: 120px;
}

.pdf-inline-canvas { display: block; max-width: none; }

.pdf-inline-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 70px 20px;
  color: var(--muted);
  font-size: 13.5px;
}
.pdf-inline-loading .vspinner {
  width: 30px; height: 30px;
  border: 3px solid var(--line-2);
  border-top-color: var(--navy-3);
  border-radius: 50%;
  animation: pdfinline-spin .8s linear infinite;
}
@keyframes pdfinline-spin { to { transform: rotate(360deg); } }

.pdf-inline-error {
  padding: 56px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 13.5px;
}
.pdf-inline-error p { margin-bottom: 16px; }

/* 移动端与窄屏：隐藏内嵌预览，只保留「全屏查看」按钮 */
@media (max-width: 900px) {
  .pdf-inline { display: none !important; }
}


/* ===========================================================
   移动端可读性优化
   =========================================================== */

/* ---------- 1. 窄屏增加左右留白 ----------
   24px 在手机上偏紧，正文贴边。按断点递增到 20/22px。 */
@media (max-width: 640px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 420px) {
  .wrap { padding-left: 18px; padding-right: 18px; }
}

/* hero 区域额外留白，首屏文字不贴边 */
@media (max-width: 980px) {
  .hero-lead { max-width: 100%; }
}
@media (max-width: 640px) {
  .hero-inner { padding: 46px 20px 44px; }
  .hero-lead { font-size: 15.5px; line-height: 1.75; margin-top: 18px; }
  .hero-actions { margin-top: 26px; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
}

/* 内页头与正文段落也增加呼吸感 */
@media (max-width: 640px) {
  .page-head { padding: 44px 0 40px; }
  .section { padding: 52px 0; }
  .nd-body, .md { font-size: 15px; line-height: 1.9; }
}


/* ---------- 2. 服务范围表格：手机端列宽优化 ----------
   原来「服务项目」固定 220px，窄屏下挤占「服务内容」，
   导致内容列最窄、项目列最宽，与信息量完全相反。
   这里：服务项目按「6 个汉字」定宽，服务内容占据剩余全部宽度。 */
@media (max-width: 760px) {
  /* 用 thead th / tbody td + class 双重选择器，保证特异性足够高，
     能覆盖前面 .data-table thead th:nth-child(2) 这类规则。 */

  /* 序号列：尽量窄 */
  .data-table thead th.col-no,
  .data-table tbody td.col-no,
  .data-table tbody td:first-child {
    width: 40px; min-width: 40px; max-width: 40px;
    padding-left: 10px; padding-right: 6px;
  }

  /* 服务项目：约 6 个汉字宽（6em），超出自动换行 */
  .data-table thead th.col-name,
  .data-table tbody td.col-name,
  .data-table tbody td:nth-child(2) {
    width: 6em;
    min-width: 6em;
    max-width: 6em;
    white-space: normal;
    word-break: break-word;
    line-height: 1.55;
  }

  /* 服务内容：占据剩余全部宽度 */
  .data-table thead th.col-desc,
  .data-table tbody td.col-desc,
  .data-table tbody td:nth-child(3) {
    width: auto;
    min-width: 0;
    max-width: none;
    word-break: break-word;
  }

  .data-table .name { font-size: 14px; line-height: 1.55; display: block; }
  .data-table .tag { font-size: 11.5px; padding: 2px 7px; margin: 4px 4px 2px 0; }
}


/* ===========================================================
   页头热线改造
   1) 整体可点击 → 跳转联系页
   2) 内部电话/手机号独立拨号
   3) 窄屏保留热线（原来 1120px 以下直接隐藏），
      「立即咨询」缩为「咨询」腾出空间
   =========================================================== */

.hotline-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  padding: 4px 8px;
  margin: -4px -8px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .18s;
}
.hotline-link:hover { background: var(--bg-soft); }
.hotline-link:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }

/* 电话/手机号：独立可点，点击直接拨号 */
.hotline-link .t a { position: relative; z-index: 1; }

/* ---------- 中屏（≤1280px）：只保留座机 ---------- */
@media (max-width: 1280px) {
  .hotline .num-mobile { display: none; }
  .hotline .hotline-nums a { font-size: 15px; }
}

/* ---------- 窄屏（≤1120px）：保留热线，按钮缩为「咨询」 ---------- */
@media (max-width: 1120px) {
  .hotline { padding-left: 12px; }
  .hotline .ico { width: 30px; height: 30px; }
  .hotline .hotline-label { font-size: 10.5px; }
  .hotline .hotline-nums a { font-size: 14px; }

  .nav-cta[data-short] { font-size: 0; padding: 9px 14px; }
  .nav-cta[data-short]::after { content: attr(data-short); font-size: 13.5px; }
}

/* ---------- 手机（≤720px）----------
   1) 隐藏图标与「全国服务热线」字样，只留号码
   2) 座机与手机号纵向排列、左对齐，字号行高统一
   3) 两者各自独立可点，分别拨号
   ------------------------------------ */
@media (max-width: 720px) {
  .nav { gap: 8px; }
  .brand { min-width: 0; flex: 1 1 auto; }

  .hotline {
    flex: none;
    padding-left: 0;
    border-left: 0;
    margin-left: auto;
  }
  .hotline-link { gap: 0; padding: 2px 6px; margin: -2px -6px; }
  .hotline .ico { display: none; }
  .hotline .hotline-label { display: none; }

  .hotline .t { gap: 0; }

  /* 两个号码：居中排列，纵向堆叠 */
  .hotline .hotline-nums {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
  }
  .hotline .hotline-nums a,
  .hotline .hotline-nums .num-mobile {
    display: block;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 700;
    letter-spacing: 0;
    text-align: center;
    padding: 1px 0;
  }
  .hotline .hotline-nums .num-tel { color: var(--navy); }
  .hotline .hotline-nums .num-mobile { color: var(--ink-2); font-weight: 600; }

  .nav-cta { margin-left: 6px; padding: 8px 12px; }
  .nav-cta[data-short]::after { font-size: 12.5px; }

  .nav-toggle { flex: none; padding: 8px 10px; }
}

/* ---------- 极窄（≤420px）：整体再收紧 ---------- */
@media (max-width: 420px) {
  .hotline .hotline-nums a,
  .hotline .hotline-nums .num-mobile { font-size: 12px; line-height: 1.3; }
  .hotline-link { padding: 2px 4px; margin: -2px -4px; }
  .nav-cta { padding: 7px 10px; }
  .nav-cta[data-short]::after { font-size: 12px; }
  .brand-logo { width: 36px; height: 36px; }
  .brand-text b { font-size: 13.5px; }
}


/* ===========================================================
   手机端双层页头（≤720px）
   -----------------------------------------------------------
   原问题：公司名在手机端被 ellipsis 截断，只剩「广东龙晟环…」
   方案：页头分两层
     第一层：LOGO + 公司全称 + 汉堡菜单按钮
     第二层：全国服务热线（座机 / 手机）+ 立即咨询
   =========================================================== */
@media (max-width: 720px) {
  /* ---------- 容器：改为纵向两层 ---------- */
  .header .wrap { padding-top: 10px; padding-bottom: 10px; }

  .nav {
    flex-direction: column;
    align-items: stretch;
    height: auto;
    gap: 0;
    position: relative;
  }

  /* ---------- 第一层：品牌 + 汉堡 ---------- */
  .brand {
    order: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 0 0 auto;
    padding-right: 52px;   /* 给右侧汉堡按钮留位 */
  }
  .brand-logo { width: 44px; height: 44px; }

  /* 公司名完整显示：不再省略，允许换行 */
  .brand-text { min-width: 0; flex: 1 1 auto; }
  .brand-text b {
    display: block;
    font-size: 15.5px;
    line-height: 1.3;
    letter-spacing: 0;
    white-space: normal;      /* 关键：不再 nowrap */
    overflow: visible;        /* 关键：不再 hidden */
    text-overflow: clip;      /* 关键：不再省略号 */
    word-break: break-word;
  }
  .brand-text span {
    display: block;
    font-size: 9px;
    letter-spacing: .6px;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    margin-top: 1px;
  }

  /* 汉堡按钮：绝对定位到第一层右侧 */
  .nav-toggle {
    position: absolute;
    top: 0;
    right: 0;
    order: 2;
    flex: none;
    padding: 9px 11px;
    align-self: flex-start;
  }

  /* ---------- 第二层：热线 + 咨询 ---------- */
  /* 第二层：52px 高，内部垂直居中；右侧给按钮留位 */
  .hotline {
    order: 3;
    display: flex;
    align-items: center;
    margin: 10px 0 0;
    padding: 0 84px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
    width: 100%;
    height: 52px;
    box-sizing: border-box;
  }
  .hotline-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    padding: 0;
    margin: 0;
    width: 100%;
  }

  /* 恢复「全国服务热线」字样（第二层有空间了） */
  .hotline .ico { display: grid; width: 30px; height: 30px; margin-right: 9px; flex: none; }
  .hotline .hotline-label {
    display: block;
    font-size: 10.5px;
    text-align: left;
  }
  .hotline .t { align-items: flex-start; gap: 1px; }

  /* 号码：左对齐、横向排列更省高度 */
  .hotline .hotline-nums {
    flex-direction: row;
    align-items: baseline;
    justify-content: flex-start;
    gap: 12px;
  }
  .hotline .hotline-nums a,
  .hotline .hotline-nums .num-mobile {
    font-size: 13.5px;
    line-height: 1.3;
    font-weight: 700;
    text-align: left;
    padding: 0;
  }
  .hotline .hotline-nums .num-tel { color: var(--navy); }
  .hotline .hotline-nums .num-mobile { color: var(--ink-2); font-weight: 600; }

  /* 咨询按钮：绿色背景 + 与服务热线垂直居中对齐
     定位基准是 .nav（含两层），所以用 bottom 锚定到第二层中心：
     bottom = 第二层高度的一半 - 按钮高度的一半
     第二层 min-height 46px，按钮 38px → bottom: 4px 恰好居中 */
  .nav-cta {
    order: 4;
    position: absolute;
    right: 0;
    top: auto;
    bottom: 7px;              /* (52 - 38) / 2 = 7，精确居中 */
    transform: none;
    margin: 0;
    padding: 0 18px;
    font-size: 13px;
    height: 38px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    /* 绿色主色调，与蓝色页头形成对比但保持商务感 */
    background: #1a7f4b;
    border-color: #1a7f4b;
    color: #fff;
    box-shadow: 0 8px 18px -10px rgba(26, 127, 75, .95);
  }
  .nav-cta:hover,
  .nav-cta:active {
    background: #15663c;
    border-color: #15663c;
    color: #fff;
  }
  .nav-cta[data-short] { font-size: 0; }
  .nav-cta[data-short]::after { content: attr(data-short); font-size: 13px; }

  /* ---------- 下拉菜单：页头变高，需重新定位 ---------- */
  .nav-links {
    order: 5;
    top: calc(100% + 10px);
    left: -20px;
    right: -20px;
    padding: 8px 20px 18px;
  }
}

/* ---------- 极窄（≤420px）：进一步收紧 ---------- */
@media (max-width: 420px) {
  .brand-logo { width: 40px; height: 40px; }
  .brand-text b { font-size: 14.5px; }
  .brand-text span { font-size: 8.5px; }

  .hotline .hotline-nums a,
  .hotline .hotline-nums .num-mobile { font-size: 12.5px; }
  .hotline .hotline-nums { gap: 10px; }

  .nav-cta { padding: 7px 14px; }
  .nav-cta[data-short]::after { font-size: 12.5px; }

  .nav-links { left: -18px; right: -18px; padding: 8px 18px 16px; }
}

/* 手机端顶部深色条：公司名已在页头第一层完整显示，
   这里去掉重复的公司名，只保留资质标签，并居中。 */
@media (max-width: 720px) {
  .topbar { font-size: 11.5px; }
  .topbar .wrap {
    min-height: 32px;
    justify-content: center;
    padding-top: 5px;
    padding-bottom: 5px;
  }
  .topbar .l {
    white-space: normal;      /* 允许换行，不再截断 */
    overflow: visible;
    text-overflow: clip;
    text-align: center;
    line-height: 1.5;
  }
  .topbar .r { display: none; }
}


/* ===========================================================
   「更多服务」按钮（原汉堡按钮）
   -----------------------------------------------------------
   结构：
     <button class="nav-toggle">
       <span class="nav-toggle-label">更多服务</span>
       <span class="nav-toggle-bars"><i></i><i></i><i></i></span>
     </button>
   桌面端不显示；手机端显示为「文字 + 三条横线」
   =========================================================== */

/* 基础：按钮容器 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 7px 10px;
  cursor: pointer;
  font-family: inherit;
  transition: border-color .18s, background .18s;
}
.nav-toggle:hover { border-color: var(--navy-3); }
.nav-toggle:active { background: var(--bg-soft); }

/* 文字标签 */
.nav-toggle-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .2px;
  white-space: nowrap;
  line-height: 1;
}

/* 三条横线图标 */
.nav-toggle-bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 3px;
  width: 15px;
  height: 12px;            /* 3*2px + 2*3px = 12px */
  flex: none;
}
.nav-toggle-bars i {
  display: block;
  width: 100%;
  height: 2px;
  min-height: 2px;
  flex: none;              /* 关键：不被 flex 压缩 */
  margin: 0;               /* 清除旧规则的 margin: 4px 0 */
  background: var(--navy);
  border-radius: 1px;
  transition: transform .22s, opacity .22s;
}

/* 菜单展开时：文字改为「收起」，图标变成 × */
.nav-toggle[aria-expanded="true"] .nav-toggle-label { font-size: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-label::after {
  content: "收起";
  font-size: 12px;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* ---------- 手机端：按钮绝对定位在第一层右侧 ---------- */
@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    padding: 8px 10px;
    gap: 6px;
  }
  .nav-toggle-label { font-size: 11.5px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-label::after { font-size: 11.5px; }
}

/* 极窄屏：隐藏文字，只留三条横线，避免挤压公司名 */
@media (max-width: 380px) {
  .nav-toggle-label,
  .nav-toggle[aria-expanded="true"] .nav-toggle-label::after { display: none; }
  .nav-toggle { padding: 9px 11px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-label { font-size: 0; }
}


/* ===== 手机页头居中修正（追加覆盖，优先级高于上方规则） ===== */
@media (max-width: 720px) {
  /* Grid：两行两列
       row1: [品牌][更多服务]
       row2: [热线跨两列][咨询叠加右端] */
  .header .wrap { padding-top: 8px; padding-bottom: 8px; }

  .nav {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-rows: auto 52px !important;
    grid-template-areas: none !important;
    align-items: center !important;
    gap: 0 !important;
    height: auto !important;
    position: relative;
  }

  /* ---- 第一层：品牌 ---- */
  .brand {
    grid-row: 1 !important;
    grid-column: 1 !important;
    grid-area: auto !important;
    display: flex !important;
    align-items: center !important;
    align-self: center !important;
    min-width: 0;
    padding: 2px 0;
  }
  .brand-logo { width: 44px; height: 44px; flex: none; }
  .brand-text { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
  .brand-text b {
    display: block; font-size: 15.5px; line-height: 1.3; letter-spacing: 0;
    white-space: normal !important; overflow: visible !important;
    text-overflow: clip !important; word-break: break-word;
  }
  .brand-text span {
    display: block; font-size: 9px; letter-spacing: .6px;
    white-space: normal !important; overflow: visible !important;
    text-overflow: clip !important; margin-top: 1px;
  }

  /* ---- 第一层：更多服务 ---- */
  .nav-toggle {
    grid-row: 1 !important;
    grid-column: 2 !important;
    grid-area: auto !important;
    align-self: center !important;
    justify-self: end !important;
    position: static !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px;
    margin: 0 !important;
    padding: 8px 10px;
    line-height: 1;
  }

  /* ---- 第二层：热线（跨两列，画分隔线） ---- */
  .hotline {
    grid-row: 2 !important;
    grid-column: 1 / -1 !important;
    grid-area: auto !important;
    display: flex !important;
    align-items: center !important;
    width: 100%;
    height: 52px !important;
    margin: 8px 0 0 !important;
    padding: 0 !important;
    border-left: 0 !important;
    border-top: 1px solid var(--line);
    box-sizing: border-box;
  }
  .hotline-link {
    display: flex !important;
    align-items: center !important;
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0 100px 0 0;   /* 给右侧咨询按钮让位 */
    box-sizing: border-box;
  }
  .hotline .t { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1px; min-width: 0; }
  .hotline .hotline-nums { display: flex !important; flex-direction: row !important; align-items: baseline !important; gap: 12px; margin: 0; }

  /* ---- 第二层：咨询按钮（叠在 row2 右端，行内垂直居中） ---- */
  .nav-cta {
    grid-row: 2 !important;
    grid-column: 2 !important;
    align-self: center !important;
    justify-self: end !important;
    position: static !important;
    transform: none !important;
    z-index: 2;
    margin: 8px 0 0 !important;
    padding: 0 18px;
    height: 38px;
    box-sizing: border-box;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: var(--radius);

    /* 半透明绿 */
    background: rgba(26, 127, 75, .78) !important;
    border: 1px solid rgba(26, 127, 75, .45) !important;
    color: #fff !important;
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    box-shadow: 0 4px 12px -6px rgba(26, 127, 75, .5);
  }
  .nav-cta:hover,
  .nav-cta:active {
    background: rgba(21, 102, 60, .92) !important;
    border-color: rgba(21, 102, 60, .7) !important;
  }

  /* ---- 下拉菜单 ---- */
  .nav-links {
    position: absolute;
    top: calc(100% + 8px) !important;
    left: -20px !important;
    right: -20px !important;
    padding: 8px 20px 18px;
    z-index: 10;
  }
}

/* 极窄屏：按钮收窄 */
@media (max-width: 420px) {
  .nav-cta { padding: 0 14px !important; height: 36px !important; }
}


/* ===== 筛选按钮同时支持 a 标签 ===== */
.filters a {
  display: inline-flex;
  align-items: center;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: .2s;
  padding: 9px 18px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink-2);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.4;
}
.filters a:hover { border-color: var(--navy-3); color: var(--navy); }
.filters a.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}


/* ===== <picture> 容器适配 ===== */
/* picture 默认是 inline，需要显式设为 block/flex 才能继承尺寸 */
picture {
  display: contents;   /* 让 img 直接参与父级布局，最省事且不破坏现有选择器 */
}

/* display:contents 在极老浏览器无效，提供兜底 */
@supports not (display: contents) {
  picture { display: block; }
  /* 合作 LOGO：保持居中 */
  .partner-item picture { display: flex; align-items: center; justify-content: center; }
  .cert-thumb picture { display: block; width: 100%; }
  .qr-frame picture { display: block; }
  .loc-map picture { display: block; width: 100%; }
}


/* ===== 服务客户类型卡片 ===== */
.client-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.client-card {
  position: relative;
  padding: 26px 24px 24px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  transition: border-color .22s, box-shadow .22s, transform .22s;
}
.client-card:hover {
  border-color: var(--navy-3);
  box-shadow: var(--shadow-h);
  transform: translateY(-3px);
}

.client-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .8px;
  color: var(--navy-3);
  background: var(--bg-soft);
  border-radius: 3px;
  padding: 3px 9px;
  margin-bottom: 14px;
}

.client-card h3 {
  font-size: 17px;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.4;
}

.client-card p {
  font-size: 14.2px;
  color: var(--ink-2);
  line-height: 1.75;
}

/* 平板：两列 */
@media (max-width: 900px) {
  .client-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

/* 手机：单列 */
@media (max-width: 620px) {
  .client-grid { grid-template-columns: 1fr; gap: 14px; }
  .client-card { padding: 22px 20px; }
}


/* ===== 资质与认证：左右分栏 ===== */
.cert-split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);   /* 左 5 : 右 7 */
  gap: 32px;
  align-items: stretch;        /* 两栏等高：顶部与底部同时对齐 */
}

/* ---------- 两栏通用：标题区 ---------- */
.cert-split-left,
.cert-split-right {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.cert-split-head {
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.cert-split-head h3 {
  font-size: 17px;
  color: var(--navy);
  margin-bottom: 6px;
}
.cert-split-head p {
  font-size: 13.5px;
  color: var(--muted);
}

/* ---------- 左栏：单列卡片 ---------- */
.cert-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1 1 auto;              /* 撑满剩余高度 */
}

.cert--compact {
  padding: 20px 22px;
  flex: 1 1 auto;              /* 5 张卡片均分高度，铺满左栏 */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;     /* 关键：badge 不再被拉满整行 */
}
.cert--compact .badge { margin-bottom: 12px; }
.cert--compact h3 {
  font-size: 15.5px;
  margin-bottom: 8px;
  line-height: 1.45;
}
.cert--compact p {
  font-size: 13.8px;
  line-height: 1.7;
}

/* ---------- 右栏：双列证书网格 ---------- */
.cert-thumb-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;         /* 每行等高 */
  gap: 16px;
  flex: 1 1 auto;
}

.cert-thumb-grid .cert-thumb {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.cert-thumb-grid .cert-thumb img {
  height: 168px;               /* 略低于原来的 210px，保证 4 行能对齐左栏 */
  flex: none;
}
.cert-thumb-grid .cert-thumb span {
  flex: 1 1 auto;              /* 标题区撑满，卡片整体等高 */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- 响应式 ---------- */
/* 中屏：左栏略窄 */
@media (max-width: 1080px) {
  .cert-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px; }
  .cert--compact { padding: 18px 18px; }
  .cert--compact h3 { font-size: 15px; }
  .cert--compact p { font-size: 13.2px; }
  .cert-thumb-grid .cert-thumb img { height: 148px; }
}

/* 窄屏：上下堆叠，各自占满宽度 */
@media (max-width: 860px) {
  .cert-split {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .cert-stack { gap: 12px; }
  .cert--compact { flex: none; }   /* 堆叠时不再拉伸 */
  .cert-thumb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .cert-thumb-grid .cert-thumb img { height: 160px; }
  /* 堆叠后左右各自独立，不需要等高 */
  .cert-split { align-items: start; }
}

/* 手机：证书改两列但更紧凑 */
@media (max-width: 560px) {
  .cert-thumb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cert-thumb-grid .cert-thumb img { height: 120px; padding: 6px; }
  .cert-thumb-grid .cert-thumb span { font-size: 11.5px; padding: 7px 4px; }
  .cert--compact { padding: 16px 16px; }
}


/* ===== 环形辐射式资质布局 ===== */
.cert-orbit {
  position: relative;
  width: 100%;
  max-width: 860px;
  height: 460px;
  margin: 0 auto 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- 中心：CMA 核心 ---------- */
.orbit-core {
  position: relative;
  z-index: 3;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-3) 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  box-shadow:
    inset 0 0 32px rgba(127, 182, 255, .18),
    0 0 0 8px rgba(11, 37, 69, .07),
    0 0 0 18px rgba(11, 37, 69, .04),
    0 18px 44px -18px rgba(11, 37, 69, .7);
  box-sizing: border-box;
}

.orbit-core-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #7fb6ff;
  border: 1px solid rgba(127, 182, 255, .45);
  border-radius: 999px;
  padding: 3px 11px;
  margin-bottom: 12px;
}

.orbit-core h3 {
  font-size: 16.5px;
  line-height: 1.45;
  color: #fff;
  margin-bottom: 10px;
  font-weight: 700;
}

.orbit-core p {
  font-size: 12.5px;
  color: #9db4cf;
  line-height: 1.4;
}

/* ---------- 辐射光环（装饰） ---------- */
.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 340px;
  height: 340px;
  margin: -170px 0 0 -170px;
  border: 1px dashed rgba(29, 78, 137, .45);
  border-radius: 50%;
  animation: orbit-spin 46s linear infinite;
  pointer-events: none;
}

.orbit-ring--2 {
  width: 452px;
  height: 452px;
  margin: -226px 0 0 -226px;
  border-style: solid;
  border-color: rgba(29, 78, 137, .2);
  animation-duration: 72s;
  animation-direction: reverse;
}

@keyframes orbit-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* 辐射刻度：用伪元素在光环上打点，形成「辐射」意象 */
.orbit-ring::before,
.orbit-ring::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--navy-3);
  box-shadow: 0 0 0 3px rgba(29, 78, 137, .12);
}
.orbit-ring::before { top: -4px; left: 50%; margin-left: -4px; }
.orbit-ring::after  { bottom: -4px; left: 50%; margin-left: -4px; }

/* ---------- 四面辐射连线 ---------- */
.orbit-spokes {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 320px;
  height: 320px;
  margin: -160px 0 0 -160px;
  pointer-events: none;
  background:
    linear-gradient(to top,    rgba(29,78,137,.38) 0 20%, transparent 20%) center top / 1px 100% no-repeat,
    linear-gradient(to bottom, rgba(29,78,137,.38) 0 20%, transparent 20%) center bottom / 1px 100% no-repeat,
    linear-gradient(to left,   rgba(29,78,137,.38) 0 20%, transparent 20%) left center / 100% 1px no-repeat,
    linear-gradient(to right,  rgba(29,78,137,.38) 0 20%, transparent 20%) right center / 100% 1px no-repeat;
}

/* ---------- 四个环绕资质 ---------- */
.orbit-item {
  position: absolute;
  z-index: 2;
  width: 200px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px -16px rgba(11, 37, 69, .45);
  transition: border-color .22s, box-shadow .22s, transform .22s;
}
.orbit-item:hover {
  border-color: var(--navy-3);
  box-shadow: 0 14px 30px -16px rgba(11, 37, 69, .55);
  transform: translateY(-2px);
}

/* 四方位定位 */
.orbit-item--top    { top: 0;    left: 50%; transform: translateX(-50%); }
.orbit-item--right  { right: 0;  top: 50%;  transform: translateY(-50%); }
.orbit-item--bottom { bottom: 0; left: 50%; transform: translateX(-50%); }
.orbit-item--left   { left: 0;   top: 50%;  transform: translateY(-50%); }

/* hover 时保持位移不丢失 */
.orbit-item--top:hover    { transform: translateX(-50%) translateY(-2px); }
.orbit-item--right:hover  { transform: translateY(-50%) translateX(2px); }
.orbit-item--bottom:hover { transform: translateX(-50%) translateY(2px); }
.orbit-item--left:hover   { transform: translateY(-50%) translateX(-2px); }

.orbit-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1.4px;
  color: var(--accent);
  border: 1px solid rgba(168, 52, 42, .28);
  border-radius: 3px;
  padding: 2px 7px;
  margin-bottom: 9px;
}

.orbit-item h4 {
  font-size: 14.5px;
  color: var(--navy);
  margin-bottom: 5px;
  line-height: 1.4;
}

.orbit-item p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
}

/* ---------- 下方说明（承接详细文字） ---------- */
.orbit-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 8px;
}

.orbit-note {
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  transition: border-color .22s;
}
.orbit-note:hover { border-color: var(--navy-3); }

.orbit-note b {
  display: block;
  font-size: 14.5px;
  color: var(--navy);
  margin-bottom: 9px;
  line-height: 1.45;
}

.orbit-note span {
  display: block;
  font-size: 13.2px;
  color: var(--ink-2);
  line-height: 1.75;
}

/* ===========================================================
   响应式
   =========================================================== */

/* 中屏：缩小环形尺寸 */
@media (max-width: 1080px) {
  .cert-orbit { max-width: 720px; height: 420px; }
  .orbit-core { width: 176px; height: 176px; }
  .orbit-core h3 { font-size: 15px; }
  .orbit-ring { width: 300px; height: 300px; margin: -150px 0 0 -150px; }
  .orbit-ring--2 { width: 390px; height: 390px; margin: -195px 0 0 -195px; }
  .orbit-spokes { width: 270px; height: 270px; margin: -135px 0 0 -135px; }
  .orbit-item { width: 176px; padding: 13px 15px; }
  .orbit-item h4 { font-size: 13.5px; }
  .orbit-item p { font-size: 12px; }
  .orbit-notes { gap: 16px; }
}

/* 窄屏：环形不适合，改为竖向列表 */
@media (max-width: 860px) {
  .cert-orbit {
    height: auto;
    max-width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin-bottom: 28px;
  }
  /* 隐藏装饰 */
  .orbit-ring,
  .orbit-spokes { display: none; }

  /* 中心改为普通卡片 */
  .orbit-core {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    padding: 24px 22px;
    box-shadow: 0 10px 26px -18px rgba(11, 37, 69, .6);
  }
  .orbit-core h3 { font-size: 16px; }
  .orbit-core h3 br { display: none; }

  /* 四个环绕项改为列表 */
  .orbit-item {
    position: static;
    width: 100%;
    transform: none !important;
  }
  .orbit-item--top,
  .orbit-item--right,
  .orbit-item--bottom,
  .orbit-item--left { top: auto; right: auto; bottom: auto; left: auto; }

  .orbit-notes { grid-template-columns: 1fr; gap: 12px; }
}

/* 手机：进一步紧凑 */
@media (max-width: 560px) {
  .orbit-core { padding: 20px 18px; }
  .orbit-core h3 { font-size: 15px; }
  .orbit-item { padding: 14px 16px; }
  .orbit-note { padding: 16px 18px; }
  .orbit-note span { font-size: 12.8px; }
}

/* 减少动效偏好：关闭旋转 */
@media (prefers-reduced-motion: reduce) {
  .orbit-ring { animation: none !important; }
}


/* ===== 资质证书灯箱 ===== */
.cert-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 18, 34, .82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, visibility .22s ease;
}

.cert-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

/* ---------- 顶部信息条 ---------- */
.clb-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 24px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .45), transparent);
  color: #fff;
  pointer-events: none;
}

.clb-title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .02em;
  pointer-events: auto;
}

.clb-counter {
  font-size: 13px;
  color: rgba(255, 255, 255, .6);
  font-variant-numeric: tabular-nums;
  pointer-events: auto;
}

.clb-close {
  margin-left: auto;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
  transition: background .18s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.clb-close:hover { background: rgba(255, 255, 255, .24); }

/* ---------- 图片舞台 ---------- */
.clb-stage {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 76px 92px 64px;
  box-sizing: border-box;
}

.clb-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 24px 70px -20px rgba(0, 0, 0, .8);
  transform-origin: center center;
  transition: transform .12s ease-out;
  user-select: none;
  -webkit-user-drag: none;
  will-change: transform;
}

.clb-img.is-dragging {
  transition: none;
  cursor: grabbing !important;
}

/* ---------- 左右箭头 ---------- */
.clb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  transition: background .18s, transform .18s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 4px;
  box-sizing: border-box;
}
.clb-nav:hover {
  background: rgba(255, 255, 255, .26);
  transform: translateY(-50%) scale(1.06);
}
.clb-prev { left: 22px; }
.clb-next { right: 22px; }

/* ---------- 底部提示 ---------- */
.clb-hint {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12.5px;
  color: rgba(255, 255, 255, .5);
  white-space: nowrap;
  pointer-events: none;
}

/* ---------- 缩放后允许平移 ---------- */
.cert-lightbox[data-zoomed="1"] .clb-img { cursor: grab; }
.cert-lightbox[data-zoomed="1"] .clb-stage { cursor: grab; }

/* ---------- 响应式 ---------- */
@media (max-width: 760px) {
  .clb-bar { height: 56px; padding: 0 16px; gap: 10px; }
  .clb-title { font-size: 14px; }
  .clb-counter { font-size: 12px; }
  .clb-close { width: 36px; height: 36px; font-size: 22px; }

  .clb-stage { padding: 64px 16px 56px; }

  .clb-nav {
    width: 42px;
    height: 42px;
    font-size: 26px;
  }
  .clb-prev { left: 8px; }
  .clb-next { right: 8px; }

  .clb-hint { font-size: 11px; bottom: 12px; }
}

/* 触屏设备隐藏鼠标操作提示 */
@media (hover: none) {
  .clb-hint { display: none; }
}


/* ===== 置顶标记（A 金色标签 + D 竖条） ===== */
:root {
  --pin-gold: #a67c00;
  --pin-gold-bg: #fdf6e3;
  --pin-gold-line: #f0e0b0;
  --pin-bar: #e3c05a;
}

/* ---------- A：金色「置顶」标签 ---------- */
.pin-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .5px;
  color: var(--pin-gold);
  background: var(--pin-gold-bg);
  border: 1px solid var(--pin-gold-line);
  border-radius: 3px;
  padding: 2px 6px;
  margin-right: 6px;
  vertical-align: 1px;
  white-space: nowrap;
  line-height: 1.5;
}

/* ---------- D：桌面表格左侧金色竖条 ---------- */
.data-table tbody tr.is-pinned > td:first-child {
  box-shadow: inset 3px 0 0 var(--pin-bar);
}
.data-table tbody tr.is-pinned {
  background: #fffdf7;
}
.data-table tbody tr.is-pinned:hover {
  background: #fdf9ee;
}
/* 置顶行标题加粗 */
.data-table tbody tr.is-pinned .notice-title {
  font-weight: 700;
}

/* 桌面序号列的星标 */
.pin-star {
  color: var(--pin-bar);
  font-size: 15px;
  line-height: 1;
  display: inline-block;
}

/* ---------- D：手机卡片左侧金色竖条 ---------- */
.notice-card.is-pinned {
  border-left: 3px solid var(--pin-bar);
  background: #fffdf7;
}
.notice-card.is-pinned h3 {
  font-weight: 700;
}
.notice-card.is-pinned .pin-tag {
  margin-left: 6px;
  margin-right: 0;
}

/* 手机卡片：分类标签与置顶标签并排 */
.notice-card .nc-tag + .pin-tag {
  margin-left: 6px;
}


/* ===== 手机端表格卡片化 ===== */
@media (max-width: 760px) {
  /* 容器不再横向滚动 */
  .table-scroll {
    overflow-x: visible;
    padding-bottom: 0;
  }
  /* 去掉「可横向滑动」的提示遮罩 */
  .table-scroll::after { content: none !important; }

  /* 表格转块 */
  .data-table,
  .data-table tbody,
  .data-table tr,
  .data-table td {
    display: block;
    width: auto;
  }

  .data-table {
    border: 0;
    background: transparent;
    border-radius: 0;
  }

  /* 隐藏表头 */
  .data-table thead {
    display: none;
  }

  /* 每行变卡片 */
  .data-table tbody tr {
    background: #fff;
    border: 1px solid var(--line-2);
    border-radius: var(--radius-lg);
    padding: 18px 18px 16px;
    margin-bottom: 14px;
    box-shadow: 0 1px 2px rgba(11, 37, 69, .04);
  }
  .data-table tbody tr:last-child { margin-bottom: 0; }
  .data-table tbody tr:hover { background: #fff; }

  /* 单元格：去内边距，改为纵向排列 */
  .data-table tbody td {
    padding: 0;
    border: 0;
    font-size: 14.5px;
    line-height: 1.7;
  }
  .data-table tbody td + td {
    margin-top: 10px;
  }

  /* 字段名（来自 data-label）：纯文字，不加底色 */
  .data-table tbody td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .6px;
    color: var(--muted);
    text-transform: none;
    margin-bottom: 3px;
    background: none;
    border: 0;
    padding: 0;
  }

  /* 序号：变醒目的小标签 */
  .data-table tbody td.no-cell {
    display: inline-block;
    width: auto;
    min-width: 0;
    max-width: none;
    font-size: 12.5px;
    font-weight: 800;
    color: var(--accent);
    background: rgba(168, 52, 42, .07);
    border-radius: 3px;
    padding: 2px 8px;
    margin-bottom: 10px;
    line-height: 1.6;
  }
  .data-table tbody td.no-cell::before { content: none; }

  /* 服务项目名：加大加粗 */
  .data-table tbody td .name {
    font-size: 16px;
    line-height: 1.45;
    display: block;
  }
  .data-table tbody td .sub {
    display: inline-block;
    font-size: 11.5px;
    letter-spacing: 1px;
    margin-top: 3px;
  }

  /* 正文列：去掉宽度限制，占满卡片 */
  .data-table tbody td.col-desc,
  .data-table tbody td:nth-child(3),
  .data-table tbody td:nth-child(4) {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  /* 标签换行更宽松 */
  .data-table tbody .tag {
    font-size: 11.5px;
    padding: 3px 8px;
    margin: 6px 6px 0 0;
  }

  /* 置顶行保持金色竖条 */
  .data-table tbody tr.is-pinned {
    border-left: 3px solid var(--pin-bar);
    background: #fffdf7;
  }

  /* 两列的表格（如「客户类型 / 服务内容」）：不需要字段名，直接排版 */
  .data-table tbody td[data-label]:only-of-type::before,
  .data-table tbody td[data-plain]::before {
    content: none;
  }

  /* ---- 解除所有单元格的宽度约束，一律占满卡片 ---- */
  .data-table tbody td,
  .data-table tbody td[class],
  .data-table tbody td.col-no,
  .data-table tbody td.col-name,
  .data-table tbody td.col-desc,
  .data-table tbody td:nth-child(n) {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    display: block;
  }

  /* 序号徽章恢复为行内块（被上面的 block 覆盖了） */
  .data-table tbody td.no-cell {
    display: inline-block;
    width: auto !important;
  }

  /* 服务项目名：不折行、字号克制 */
  .data-table tbody td.col-name,
  .data-table tbody td .name {
    font-size: 15.5px;
    line-height: 1.5;
    word-break: break-word;
  }
}

/* 超窄屏：进一步收紧 */
@media (max-width: 400px) {
  .data-table tbody tr { padding: 16px 15px 14px; }
  .data-table tbody td { font-size: 14px; }
  .data-table tbody td .name { font-size: 15.5px; }
}

/* ===== 两列字段表（关于页「项目/内容」）手机端 ===== */
@media (max-width: 760px) {
  /* 两列表格：字段名小字 + 值大字，减少行高 */
  .data-table tbody tr td:first-child:not(.no-cell) {
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
    letter-spacing: .3px;
    margin-bottom: 2px;
  }
  .data-table tbody tr td:last-child {
    font-size: 15px;
    color: var(--ink);
    line-height: 1.6;
  }
  /* 两列表格卡片内边距收紧 */
  .data-table tbody tr:has(td:only-child),
  .data-table tbody tr {
    padding-top: 16px;
    padding-bottom: 14px;
  }
}

/* ===== 字段名单元格（关于页「项目 / 内容」表） ===== */
.data-table td.field-key {
  background: var(--bg-soft);
  font-weight: 600;
}

/* 手机端卡片化后：去掉灰底，改为小字标签 */
@media (max-width: 760px) {
  .data-table tbody td.field-key {
    background: none !important;
    border: 0;
    padding: 0;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .6px;
    color: var(--muted);
    margin-bottom: 2px;
  }
}


/* ===== 首页数据看板（资质与能力） ===== */
.factboard {
  position: relative;
  background: linear-gradient(155deg, #0b2545 0%, #123157 55%, #17396a 100%);
  border-radius: var(--radius-lg);
  padding: 18px 20px 14px;      /* 逐轮压低，贴近左栏高度 */
  color: #fff;
  overflow: hidden;
  box-shadow: 0 20px 50px -24px rgba(11, 37, 69, .65);
}

/* 右上角装饰光晕 */
.factboard::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(127, 182, 255, .22), transparent 70%);
  pointer-events: none;
}

/* 左下角细线装饰 */
.factboard::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(127, 182, 255, .3), transparent);
}

/* ---------- CMA 主项 ---------- */
.fb-hero {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(127, 182, 255, .22);
  border-radius: 9px;
  margin-bottom: 10px;
}

.fb-hero-badge {
  flex: none;
  width: 44px;                 /* 56 → 44 */
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;             /* 15 → 13 */
  font-weight: 800;
  letter-spacing: .5px;
  color: #0b2545;
  background: linear-gradient(145deg, #cfe4ff, #9ec7ff);
  border-radius: 8px;
}

.fb-hero-text {
  min-width: 0;
}

.fb-hero-text b {
  display: block;
  font-size: 15.5px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 5px;
  line-height: 1.4;
}

.fb-hero-text span {
  display: block;
  font-size: 12px;
  color: #9db4cf;
  line-height: 1.5;
}

/* ---------- 四宫格 ---------- */
.fb-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-bottom: 10px;
}

.fb-cell {
  padding: 10px 12px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(127, 182, 255, .16);
  border-radius: 8px;
  transition: background .2s, border-color .2s;
}
.fb-cell:hover {
  background: rgba(255, 255, 255, .09);
  border-color: rgba(127, 182, 255, .32);
}

.fb-cell b {
  display: block;
  font-size: 21px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.02em;
  color: #fff;
  margin-bottom: 5px;
}
.fb-cell b small {
  font-size: 12px;
  font-weight: 700;
  color: #7fb6ff;
  margin-left: 4px;
  letter-spacing: 0;
}

.fb-cell > span {
  display: block;
  font-size: 12.5px;
  color: #9db4cf;
  line-height: 1.55;
}
.fb-cell > span em {
  display: block;
  font-style: normal;
  font-size: 11px;
  color: #7691b0;
  margin-top: 3px;
  letter-spacing: .2px;
}

/* 「电磁 · 电离 · 噪声 · 振动」较长，允许换行 */
.fb-cell > span em {
  word-break: break-word;
}

/* ---------- 底部 ---------- */
.fb-foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;             /* 11.5 → 11 */
  color: #8aa4c2;
  letter-spacing: .2px;
  padding-top: 9px;
  border-top: 1px solid rgba(127, 182, 255, .14);
}

.fb-dot {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7fb6ff;
  box-shadow: 0 0 0 3px rgba(127, 182, 255, .18);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .factboard { padding: 26px 24px 20px; }
  .fb-hero { padding: 14px 15px; gap: 13px; }
  .fb-hero-badge { width: 48px; height: 48px; font-size: 13px; }
  .fb-hero-text b { font-size: 14.5px; }
  .fb-cell { padding: 13px 14px; }
  .fb-cell b { font-size: 23px; }
}

@media (max-width: 900px) {
  /* 单列堆叠时限制最大宽度，避免拉得过宽 */
  .factboard { max-width: 520px; margin: 0 auto; }
}

@media (max-width: 480px) {
  .factboard { padding: 22px 18px 18px; }
  .fb-head h3 { font-size: 18px; }
  .fb-hero { flex-direction: column; align-items: flex-start; gap: 10px; }
  .fb-hero-badge { width: 44px; height: 44px; font-size: 12px; }
  .fb-grid { gap: 10px; }
  .fb-cell { padding: 12px 13px; }
  .fb-cell b { font-size: 21px; }
  .fb-cell > span { font-size: 12px; }
  .fb-foot { font-size: 11px; flex-wrap: wrap; }
}


/* ===== PDF 缩略图预览（方案 B） ===== */
.pdf-thumb-preview {
  margin-top: 16px;
}

.ptp-frame {
  position: relative;
  display: block;
  background: #f7f9fb;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .22s, box-shadow .22s;
}
.ptp-frame:hover {
  border-color: var(--navy-3);
  box-shadow: var(--shadow-h);
}

.ptp-frame img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: contain;
  object-position: top center;
}

/* 悬停遮罩 */
.ptp-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 37, 69, 0);
  transition: background .22s;
}
.ptp-frame:hover .ptp-overlay {
  background: rgba(11, 37, 69, .38);
}

.ptp-btn {
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  background: rgba(255, 255, 255, .96);
  border-radius: 999px;
  box-shadow: 0 6px 20px -8px rgba(0, 0, 0, .5);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .22s, transform .22s;
}
.ptp-frame:hover .ptp-btn {
  opacity: 1;
  transform: translateY(0);
}

/* 触屏设备：无 hover，按钮常显 */
@media (hover: none) {
  .ptp-overlay { background: rgba(11, 37, 69, .18); }
  .ptp-btn { opacity: 1; transform: none; }
}

.ptp-hint {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
}

/* 有缩略图时，隐藏原来的内嵌 pdf.js 预览（避免重复加载完整 PDF） */
.pdf-inline--hidden-when-thumb {
  display: none !important;
}

/* 手机端：缩略图高度限制，避免占满屏 */
@media (max-width: 640px) {
  .ptp-frame img { max-height: 420px; }
  .ptp-btn { font-size: 13px; padding: 9px 18px; }
}


/* ===== 渐进式 PDF 预览 ===== */
.pdf-progressive {
  margin-top: 16px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #f4f6f9;
}

.ppg-viewport {
  position: relative;
  /* 兜底高度：JS 会按实际页高动态覆盖为 2.5 页 */
  height: 1400px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 14px;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: auto;
}

/* 双页并排 */
.ppg-pages {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}

/* 单页 */
.ppg-page {
  position: relative;          /* pending 内容用 absolute 定位，必须 */
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  opacity: 0;
  transition: opacity .3s ease;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ppg-page.is-loaded,
.ppg-page.ppg-page--canvas {
  opacity: 1;
}

.ppg-page img,
.ppg-page canvas {
  display: block;
  width: 100%;
  height: auto;
}

/* 首屏骨架 */
.ppg-skeleton {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 300px;
  color: var(--muted);
  font-size: 13.5px;
}

/* 底部后续页加载提示（跨两列） */
.ppg-page--pending {
  opacity: 1;
  border-style: dashed;
  background: rgba(255, 255, 255, .55);
}
.ppg-pending-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--muted);
  font-size: 13.5px;
}

/* 底栏：左页码 / 右总页数 */
.ppg-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 18px;
  border-top: 1px solid var(--line);
  background: #fff;
  font-size: 12.5px;
}

.ppg-cur {
  color: var(--navy);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.ppg-total {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* 移动端：单页显示（双页太挤） */
@media (max-width: 640px) {
  .ppg-viewport { padding: 10px; }
  .ppg-pages { gap: 10px; }
  .ppg-foot { padding: 9px 14px; font-size: 12px; }
}


/* ===== Markdown 代码块 ===== */
.md-pre {
  margin: 0 0 20px;
  padding: 16px 18px;
  background: #f6f8fa;
  border: 1px solid var(--line);
  border-left: 3px solid var(--navy-3);
  border-radius: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.md-pre code {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  line-height: 1.7;
  color: #2d3a4d;
  white-space: pre;
  word-break: normal;
  background: none;
  padding: 0;
}

/* 行内 code 保持原样 */
.md :not(.md-pre) > code {
  background: var(--bg-band);
  border-radius: 3px;
  padding: 2px 6px;
  font-size: 13px;
}

@media (max-width: 640px) {
  .md-pre { padding: 12px 14px; }
  .md-pre code { font-size: 12px; line-height: 1.65; }
}


/* ===== 整行可点击提示 ===== */
.data-table tbody tr[data-href] {
  cursor: pointer;
}

/* 键盘聚焦时的可见轮廓 */
.data-table tbody tr[data-href]:focus-visible {
  outline: 2px solid var(--navy-3);
  outline-offset: -2px;
}

/* 移动端卡片已是 <a>，无需额外处理 */
