/* =========================================================
   Saleem Global — 出口清关认证服务官网
   设计基调：现代 / 极简 / SaaS 工具感
   主色 #0F4C3C · 纯白背景 · 8px 圆角 · 大留白
   ========================================================= */

/* ---------- 1. Design Token ---------- */
:root {
  --brand: #0F4C3C;
  --brand-hover: #0A3A2E;
  --brand-50: #EAF3EF;
  --brand-100: #D5E8DF;

  --text-1: #1D2129;
  --text-2: #4E5969;
  --text-3: #86909C;

  --border: #E5E6EB;
  --border-strong: #C9CDD4;

  --bg: #FFFFFF;
  --bg-soft: #F7F8FA;

  --danger: #D93026;
  --success: #00A870;

  --radius: 8px;
  --radius-sm: 6px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .04);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, .06);
  --shadow-card-hover: 0 12px 32px rgba(15, 76, 60, .14);

  --container: 1200px;
  --nav-h: 80px;
  --section-y: 96px;

  --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-1);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

section[id], footer[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--brand);
  color: #fff;
  font-size: 13px;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

/* ---------- 3. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 44px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 2px 8px rgba(15, 76, 60, .18);
}
.btn-primary:hover { background: var(--brand-hover); box-shadow: 0 6px 16px rgba(15, 76, 60, .24); }
.btn-primary:active { transform: translateY(1px); }

.btn-outline {
  background: #fff;
  border-color: var(--border-strong);
  color: var(--text-1);
}
.btn-outline:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-50); }

.btn-ghost {
  background: transparent;
  color: var(--text-1);
  padding: 0 16px;
}
.btn-ghost:hover { color: var(--brand); }
.btn-ghost .arrow { transition: transform .18s ease; }
.btn-ghost:hover .arrow { transform: translateX(3px); }

.btn-sm { height: 36px; padding: 0 16px; font-size: 13px; }
.btn-lg { height: 48px; padding: 0 28px; font-size: 15px; }

.btn[disabled] { cursor: not-allowed; opacity: .82; }

/* ---------- 4. 顶部导航 ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  transition: box-shadow .2s ease;
}
.nav.is-scrolled { box-shadow: 0 2px 16px rgba(0, 0, 0, .06); }

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

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-logo {
  display: block;
  width: auto;
  height: 48px;
}
.brand .logo-alt { display: none; }
/* 首页顶部透明导航：切换为白色 Logo */
body[data-page="home"] .nav:not(.is-scrolled):not(.is-open) .brand-logo:not(.logo-alt) { display: none; }
body[data-page="home"] .nav:not(.is-scrolled):not(.is-open) .logo-alt { display: block; }

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-2);
  transition: color .16s ease, background-color .16s ease;
}
.nav-link:hover { color: var(--text-1); background: var(--bg-soft); }
.nav-link.is-active { color: var(--brand); }

.nav-actions { display: flex; align-items: center; gap: 8px; }

/* 语言切换 */
.lang-switch {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 11px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--text-2);
  white-space: nowrap;
  transition: color .16s ease, border-color .16s ease, background-color .16s ease;
}
.lang-switch:hover { color: var(--brand); border-color: var(--brand); background: var(--brand-50); }
body[data-page="home"] .nav:not(.is-scrolled):not(.is-open) .lang-switch {
  color: rgba(255, 255, 255, .85);
  border-color: rgba(255, 255, 255, .3);
}
body[data-page="home"] .nav:not(.is-scrolled):not(.is-open) .lang-switch:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, .65);
  background: rgba(255, 255, 255, .12);
}
body[data-page="home"] .nav.is-open .lang-switch { color: var(--text-2); border-color: var(--border); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  padding: 0 9px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--text-1);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav.is-open .nav-toggle span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav-toggle span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ---------- 5. Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 88px) 0 72px;
  overflow: hidden;
  background-image:
    linear-gradient(180deg, rgba(2, 8, 20, .62) 0%, rgba(2, 8, 20, .48) 50%, rgba(2, 8, 20, .7) 100%),
    url("../img/hero-bg-dark.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero .hero-glow { display: none; }

/* 深色 Banner 文案配色 */
.hero h1 { color: #fff; }
.hero .hero-sub { color: rgba(255, 255, 255, .78); }
.hero .eyebrow {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .22);
  color: rgba(255, 255, 255, .88);
}
.hero .eyebrow .dot {
  background: #3E9476;
  box-shadow: 0 0 0 3px rgba(62, 148, 118, .25);
}
.hero .hero-actions .btn-primary { box-shadow: 0 8px 24px rgba(15, 76, 60, .5); }
.hero .btn-ghost { color: rgba(255, 255, 255, .88); }
.hero .btn-ghost:hover { color: #A8CBBB; }
.hero .trust-bar li { border-left-color: rgba(255, 255, 255, .16); }
.hero .trust-bar strong { color: #fff; }
.hero .trust-bar span { color: rgba(255, 255, 255, .62); }

/* 首页导航：顶部透明，滚动后转白 */
body[data-page="home"] .nav:not(.is-scrolled):not(.is-open) {
  background: transparent;
  border-bottom-color: rgba(255, 255, 255, .1);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body[data-page="home"] .nav:not(.is-scrolled):not(.is-open) .nav-link { color: rgba(255, 255, 255, .85); }
body[data-page="home"] .nav:not(.is-scrolled):not(.is-open) .nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, .1);
}
body[data-page="home"] .nav:not(.is-scrolled):not(.is-open) .nav-link.is-current { color: #fff; }
body[data-page="home"] .nav:not(.is-scrolled):not(.is-open) .nav-toggle {
  background: transparent;
  border-color: rgba(255, 255, 255, .32);
}
body[data-page="home"] .nav:not(.is-scrolled):not(.is-open) .nav-toggle span { background: #fff; }
body[data-page="home"] .nav.is-open {
  background: #fff;
  border-bottom-color: var(--border);
}
body[data-page="home"] .nav.is-open .nav-toggle { background: #fff; border-color: var(--border); }
body[data-page="home"] .nav.is-open .nav-toggle span { background: var(--text-1); }
body[data-page="home"] .nav.is-open .nav-link { color: var(--text-2); }
.hero-glow {
  position: absolute;
  top: -180px;
  right: -120px;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(15, 76, 60, .09) 0%, rgba(15, 76, 60, .04) 38%, rgba(15, 76, 60, 0) 68%);
  pointer-events: none;
}
.hero-inner { position: relative; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  font-size: 12px;
  color: var(--text-2);
  letter-spacing: .02em;
}
.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 3px rgba(15, 76, 60, .12);
}

.hero h1 {
  max-width: 880px;
  margin: 24px auto 0;
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -.02em;
}

.hero-sub {
  max-width: 720px;
  margin: 20px auto 0;
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--text-2);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 56px;
}
.trust-bar li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 0 32px;
  border-left: 1px solid var(--border);
}
.trust-bar li:first-child { border-left: 0; }
.trust-bar strong { font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.trust-bar span { font-size: 13px; color: var(--text-3); }

/* ---------- 6. 询盘表单 ---------- */
.inquiry-band {
  padding: 8px 0 var(--section-y);
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.form-card {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: box-shadow .3s ease, border-color .3s ease;
}
.form-card.is-pulse {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(15, 76, 60, .12), var(--shadow-card);
}

.form-head { margin-bottom: 28px; }
.form-head h2 {
  font-size: 22px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -.01em;
}
.form-head p { margin-top: 8px; font-size: 13px; color: var(--text-3); }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field { display: flex; flex-direction: column; min-width: 0; }
.field-full { grid-column: 1 / -1; }

.label {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-1);
}
.req { color: var(--danger); margin-left: 2px; }
.opt {
  margin-left: 4px;
  font-size: 12px;
  font-weight: 400;
  color: var(--text-3);
}

.input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  font-size: 14px;
  color: var(--text-1);
  transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}
.input::placeholder { color: var(--text-3); }
.input:hover { border-color: var(--border-strong); }
.input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(15, 76, 60, .12);
}
.input.is-error { border-color: var(--danger); background: #FFFBFB; }
.input.is-error:focus { box-shadow: 0 0 0 3px rgba(217, 48, 38, .12); }

.select-wrap { position: relative; }
.select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  cursor: pointer;
}
.select.is-empty { color: var(--text-3); }
.select option { color: var(--text-1); }
.select-caret {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  color: var(--text-3);
  pointer-events: none;
}

.cert-field { margin: 0; padding: 0; border: 0; }
.cert-field .label { padding: 0; display: block; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  font-size: 13px;
  color: var(--text-2);
  cursor: pointer;
  user-select: none;
  transition: border-color .16s ease, background-color .16s ease, color .16s ease;
}
.chip:hover { border-color: var(--border-strong); }
.chip input {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}
.chip-box {
  position: relative;
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  border: 1px solid var(--border-strong);
  border-radius: 3px;
  background: #fff;
  transition: background-color .16s ease, border-color .16s ease;
}
.chip-box::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: 2px solid #fff;
  border-top: 0;
  border-left: 0;
  transform: rotate(43deg) scale(0);
  transition: transform .14s ease;
}
.chip.is-checked { border-color: var(--brand); background: var(--brand-50); color: var(--brand); }
.chip.is-checked .chip-box { background: var(--brand); border-color: var(--brand); }
.chip.is-checked .chip-box::after { transform: rotate(43deg) scale(1); }
.chip:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 2px; }

.err {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--danger);
}
.err[hidden] { display: none; }

.btn-submit {
  position: relative;
  width: 100%;
  height: 48px;
  margin-top: 24px;
  font-size: 15px;
}
.btn-submit .spinner {
  position: absolute;
  top: 50%; left: 50%;
  width: 16px; height: 16px;
  margin: -8px 0 0 -8px;
  border: 2px solid rgba(255, 255, 255, .38);
  border-top-color: #fff;
  border-radius: 50%;
  opacity: 0;
  animation: spin .7s linear infinite;
}
.btn-submit.is-loading .btn-label { opacity: 0; }
.btn-submit.is-loading .spinner { opacity: 1; }

@keyframes spin { to { transform: rotate(360deg); } }

.form-note {
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-3);
  text-align: center;
}

/* ---------- 7. 通用区块 ---------- */
.section { padding: var(--section-y) 0; }
.section-soft { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 {
  margin-top: 16px;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -.02em;
}
.section-head p { margin-top: 10px; font-size: 15px; color: var(--text-2); }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

/* ---------- 8. 认证卡片 ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cert-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(29, 33, 41, .04);
  transition: border-color .18s ease, box-shadow .2s ease, transform .2s ease, background-color .18s ease;
}
.cert-main {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
  color: inherit;
}
.cert-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}
.cert-card.is-active {
  border-color: var(--brand);
  background: #FBFDFC;
  box-shadow: 0 0 0 1px var(--brand) inset;
}
.cert-card:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

.cert-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.cert-card h3 {
  font-size: 17px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -.01em;
}
.tag {
  flex: 0 0 auto;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--brand-50);
  color: var(--brand);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.6;
  white-space: nowrap;
}

.cert-label {
  margin: 18px 0 8px;
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: .04em;
}
.cert-items { display: flex; flex-wrap: wrap; gap: 8px; }
.cert-items li {
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--bg-soft);
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-2);
}
.cert-items li.wide {
  flex: 1 1 100%;
  padding: 9px 12px;
  line-height: 1.7;
}

.cert-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding: 12px 20px;
  border-top: 1px solid #F2F3F5;
  background: #FCFCFD;
}
.cert-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 500;
  color: var(--brand);
}
.cert-more .arrow { transition: transform .18s ease; }
.cert-card:hover .cert-more .arrow { transform: translateX(3px); }

.cert-quick {
  height: 30px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 12px;
  color: var(--text-2);
  transition: color .16s ease, border-color .16s ease, background-color .16s ease;
}
.cert-quick:hover { color: var(--brand); border-color: var(--brand); background: var(--brand-50); }

.cert-card-note {
  justify-content: center;
  gap: 10px;
  padding: 24px;
  background: var(--bg-soft);
  border-style: dashed;
  cursor: default;
  text-align: left;
}
.cert-card-note:hover {
  transform: none;
  border-color: var(--border-strong);
  box-shadow: none;
  background: var(--bg-soft);
}
.cert-card-note p { font-size: 13px; color: var(--text-2); line-height: 1.75; }
.cert-card-note .btn { align-self: flex-start; margin-top: 6px; }

.grid-hint {
  margin-top: 28px;
  font-size: 13px;
  color: var(--text-3);
  text-align: center;
}

/* ---------- 9. 资料库 ---------- */
.library { display: grid; gap: 20px; }

.lib-group {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: box-shadow .2s ease, border-color .2s ease;
}
.lib-group:hover { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }

.lib-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 20px;
  border-bottom: 1px solid #F2F3F5;
  background: #FCFCFD;
}
.lib-head .folder { color: var(--brand); flex: 0 0 auto; }
.lib-head h3 { font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.lib-count {
  margin-left: auto;
  font-size: 12px;
  color: var(--text-3);
}

.file-list { display: block; }
.file-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 20px;
  border-bottom: 1px solid #F5F6F8;
  transition: background-color .16s ease;
}
.file-row:last-child { border-bottom: 0; }
.file-row:hover { background: #F9FCFA; }

.file-icon {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .02em;
}
.ft-pdf { background: #FEECEC; color: #D93026; }
.ft-doc { background: var(--brand-50); color: var(--brand); }
.ft-xls { background: #E8F7EF; color: #007F57; }
.ft-zip { background: #F2F3F5; color: var(--text-2); }

.file-meta { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.file-name {
  font-size: 13.5px;
  color: var(--text-1);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.file-size { font-size: 12px; color: var(--text-3); }

.file-dl {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-2);
  white-space: nowrap;
  transition: color .16s ease, border-color .16s ease, background-color .16s ease;
}
.file-dl:hover { color: var(--brand); border-color: var(--brand-100); background: var(--brand-50); }

/* ---------- 10. Footer（深色场景） ---------- */
.footer {
  background: linear-gradient(180deg, #0E1B33 0%, #0A1322 100%);
  border-top: 1px solid rgba(255, 255, 255, .06);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.25fr;
  gap: 40px;
  padding: 64px 0 48px;
}

.footer-brand p {
  max-width: 360px;
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.85;
  color: rgba(255, 255, 255, .62);
}

.footer-col h3 {
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  color: rgba(255, 255, 255, .92);
}
.contact-list { display: flex; flex-direction: column; gap: 10px; }
.contact-list li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255, 255, 255, .65); }
.contact-list .ci { display: inline-flex; color: rgba(255, 255, 255, .45); }
.contact-list a { transition: color .16s ease; }
.contact-list a:hover { color: #8FC4B2; }

.foot-links { display: flex; flex-direction: column; gap: 10px; }
.foot-links a { font-size: 13px; color: rgba(255, 255, 255, .65); transition: color .16s ease; }
.foot-links a:hover { color: #8FC4B2; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 20px 24px 28px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 12px;
  color: rgba(255, 255, 255, .45);
}
.footer-bottom a { transition: color .16s ease; }
.footer-bottom a:hover { color: #8FC4B2; }

/* ---------- 11. Toast ---------- */
.toast-stack {
  position: fixed;
  bottom: 28px;
  left: 50%;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(92vw, 440px);
  transform: translateX(-50%);
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  border-radius: var(--radius);
  background: #1D2129;
  color: #fff;
  font-size: 13px;
  line-height: 1.5;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .18);
  pointer-events: auto;
  animation: toastIn .24s ease both;
}
.toast.is-hiding { animation: toastOut .2s ease both; }
.toast .ico { flex: 0 0 16px; width: 16px; height: 16px; }
.toast-success .ico { color: #4ADE80; }
.toast-error .ico { color: #FF7875; }
.toast-close {
  margin-left: auto;
  padding: 2px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .55);
  line-height: 1;
  font-size: 16px;
}
.toast-close:hover { color: #fff; }

@keyframes toastIn {
  from { opacity: 0; transform: translateY(10px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes toastOut {
  to { opacity: 0; transform: translateY(6px) scale(.98); }
}

/* ---------- 11.5 内页与新增组件 ---------- */

.arrow { display: inline-block; transition: transform .18s ease; }

/* 导航（移动端抽屉内展示认证子项，桌面端不显示下拉） */
.nav-item { position: relative; }
.nav-link.is-current { color: var(--brand); }
.nav-sub {
  display: none;
}

/* 内页头部 */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + 56px) 0 56px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  position: relative;
  max-width: 880px;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.32;
  font-weight: 600;
  letter-spacing: -.02em;
}
.page-hero-sub {
  position: relative;
  max-width: 760px;
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-2);
}
.breadcrumb {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 12px;
  color: var(--text-3);
}
.breadcrumb a:hover { color: var(--brand); }
.hero-tags {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}
.hero-tag-note { font-size: 12px; color: var(--text-3); }

/* 详情页布局 */
.detail-layout,
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  align-items: start;
}
.article-layout { grid-template-columns: minmax(0, 1fr) 300px; }
.aside { min-width: 0; }
.aside-sticky { position: sticky; top: calc(var(--nav-h) + 24px); }

/* 正文排版 */
.prose h2 {
  margin: 40px 0 16px;
  font-size: 22px;
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: -.01em;
}
.prose h2:first-child { margin-top: 0; }
.prose p {
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-2);
}
.prose ul {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
  padding: 0;
}
.prose ul li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-2);
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 12px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
}
.prose strong { color: var(--text-1); font-weight: 600; }

.cert-items-lg li { padding: 6px 12px; font-size: 13px; }

/* 步骤 */
.steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.step {
  position: relative;
  display: flex;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}
.step-no {
  flex: 0 0 auto;
  padding-top: 2px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: .04em;
}
.step-body h3 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.step-body p { margin: 0; font-size: 13.5px; line-height: 1.75; color: var(--text-2); }
.steps-4 { grid-template-columns: repeat(4, 1fr); }
.steps-4 .step { flex-direction: column; gap: 10px; }

/* 资料清单 */
.doc-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: doc;
}
.doc-list li {
  position: relative;
  padding: 12px 16px 12px 46px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #FCFCFD;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-2);
}
.doc-list li::before {
  counter-increment: doc;
  content: counter(doc);
  position: absolute;
  left: 14px;
  top: 12px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand-50);
  color: var(--brand);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
}

/* 表格 */
.table-wrap {
  margin: 16px 0 8px;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.data-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.data-table th,
.data-table td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #F2F3F5;
  color: var(--text-2);
  line-height: 1.7;
}
.data-table th {
  background: #FCFCFD;
  font-weight: 500;
  color: var(--text-2);
  white-space: nowrap;
}
.data-table tr:last-child td { border-bottom: 0; }
.data-table td strong { color: var(--text-1); font-weight: 600; }

/* 常见问题 */
.faq { display: grid; gap: 10px; }
.faq details {
  padding: 0 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color .16s ease;
}
.faq details[open] { border-color: var(--brand-100); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 0;
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--text-3);
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
}
.faq details[open] summary::after { content: "−"; color: var(--brand); }
.faq details p {
  margin: 0;
  padding: 0 0 16px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-2);
}

/* 正文内 CTA */
.inline-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding: 24px;
  border: 1px solid var(--brand-100);
  border-radius: var(--radius);
  background: var(--brand-50);
}
.inline-cta strong { font-size: 15px; }
.inline-cta p { margin: 4px 0 0; font-size: 13px; color: var(--text-2); line-height: 1.7; }

/* 侧栏卡片 */
.aside-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.aside-card + .aside-card { margin-top: 16px; }
.aside-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.aside-desc { font-size: 13px; line-height: 1.7; color: var(--text-2); margin-bottom: 16px; }
.aside-contact {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  font-size: 13px;
}
.aside-contact li { display: flex; gap: 10px; }
.aside-contact li > span:first-child { flex: 0 0 52px; color: var(--text-3); }
.aside-contact a { color: var(--text-1); word-break: break-all; }
.aside-contact a:hover { color: var(--brand); }
.aside-addr { color: var(--text-2); line-height: 1.65; }
.btn-block { display: flex; width: 100%; margin-bottom: 8px; }
.aside-related { margin-top: 20px; padding-top: 16px; border-top: 1px solid #F2F3F5; }
.aside-related h4 {
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-3);
  letter-spacing: .04em;
}
.aside-related a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 13px;
  color: var(--text-2);
}
.aside-related a:hover { color: var(--brand); }

/* 能力卡片 */
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cap-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color .18s ease, box-shadow .2s ease, transform .2s ease;
}
.cap-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}
.cap-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: var(--brand-50);
  color: var(--brand);
}
.cap-icon svg { width: 22px; height: 22px; }
.cap-card h3 { font-size: 15px; font-weight: 600; }
.cap-card p { flex: 1; margin: 0; font-size: 13px; line-height: 1.75; color: var(--text-2); }
.cap-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 500;
  color: var(--brand);
}
.cap-card:hover .cap-link .arrow { transform: translateX(3px); }

/* 关于区块 */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.about-copy h2 {
  margin: 16px 0;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.42;
  font-weight: 600;
  letter-spacing: -.01em;
}
.about-copy p { margin-bottom: 14px; font-size: 15px; line-height: 1.9; color: var(--text-2); }
.about-copy .btn { margin-top: 10px; }
.check-list { display: grid; gap: 10px; margin: 18px 0 24px; padding: 0; list-style: none; }
.check-list li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-2);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  width: 5px;
  height: 8px;
  border: 1.5px solid var(--brand);
  border-top: 0;
  border-left: 0;
  transform: rotate(43deg);
}
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}
.stat strong {
  display: block;
  margin-bottom: 4px;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--brand);
}
.stat span { font-size: 13px; color: var(--text-2); }

/* 资质墙 */
.logo-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.logo-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 92px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.logo-tile strong { font-size: 14px; font-weight: 600; letter-spacing: .04em; color: var(--text-1); }
.logo-tile span { font-size: 11px; color: var(--text-3); }
.logo-tile:hover { border-color: var(--brand-100); box-shadow: var(--shadow-sm); }

/* 新闻 */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color .18s ease, box-shadow .2s ease, transform .2s ease;
}
.news-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}
.news-card[hidden] { display: none; }
.news-meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--text-3); }
.news-cat {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--brand-50);
  color: var(--brand);
  font-size: 11px;
  font-weight: 500;
}
.news-card h3 { font-size: 16px; line-height: 1.55; font-weight: 600; letter-spacing: -.01em; }
.news-card p { flex: 1; margin: 0; font-size: 13px; line-height: 1.75; color: var(--text-2); }
.news-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--brand);
}
.news-card:hover .news-more .arrow { transform: translateX(3px); }

.section-more { margin-top: 28px; text-align: center; }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--brand);
}
.link-arrow:hover .arrow { transform: translateX(3px); }

/* 服务列表 */
.service-list { display: grid; gap: 12px; margin-bottom: 28px; }
.service-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color .18s ease, box-shadow .2s ease, transform .2s ease;
}
.service-row:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-1px);
}
.service-row-main h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  font-size: 17px;
  font-weight: 600;
}
.service-row-main p { max-width: 760px; margin: 0; font-size: 13.5px; line-height: 1.7; color: var(--text-2); }
.service-row-go {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 500;
  color: var(--brand);
}
.more-certs {
  padding: 24px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  background: #FCFCFD;
}
.more-certs h3 { margin-bottom: 14px; font-size: 14px; font-weight: 600; }
.more-note { margin-top: 12px; font-size: 12.5px; color: var(--text-3); }

.lab-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lab-card {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}
.lab-card h3 { margin-bottom: 6px; font-size: 15px; font-weight: 600; }
.lab-card p { margin: 0; font-size: 13px; line-height: 1.75; color: var(--text-2); }

/* 双栏内容 */
.two-col { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.two-col-reverse { grid-template-columns: .95fr 1.05fr; }
.h2-left {
  margin: 16px 0;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.42;
  font-weight: 600;
  letter-spacing: -.01em;
}
.body-text { margin-bottom: 16px; font-size: 15px; line-height: 1.9; color: var(--text-2); }
.info-panel {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.info-panel h3 { margin-bottom: 16px; font-size: 15px; font-weight: 600; }
.panel-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.panel-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #F5F6F8;
  font-size: 13.5px;
  color: var(--text-2);
}
.panel-list li:last-child { padding-bottom: 0; border-bottom: 0; }
.panel-list em { font-style: normal; font-size: 12.5px; color: var(--text-3); white-space: nowrap; }

/* 领域 / 优势 / 网点 */
.field-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.field-card {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}
.field-card h3 { margin-bottom: 6px; font-size: 15px; font-weight: 600; }
.field-card p { margin: 0; font-size: 13px; line-height: 1.75; color: var(--text-2); }

.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}
.why-card h3 { margin-bottom: 8px; font-size: 15px; font-weight: 600; }
.why-card p { margin: 0; font-size: 13px; line-height: 1.8; color: var(--text-2); }

.branch-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.branch {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}
.branch-primary { border-color: var(--brand-100); background: #FBFDFC; }
.branch h3 { margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.branch-tel { margin-bottom: 4px; font-size: 13px; font-weight: 500; color: var(--brand); word-break: break-all; }
.branch-addr { margin: 0; font-size: 12.5px; line-height: 1.7; color: var(--text-3); }

/* 证书查询 */
.verify-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.verify-form {
  display: grid;
  gap: 10px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}
.verify-form .btn { width: 100%; margin-top: 2px; }
.verify-result {
  margin: 0;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--brand-50);
  color: var(--brand);
  font-size: 13px;
  line-height: 1.7;
}
.verify-result.is-error { background: #FEECEC; color: var(--danger); }
.verify-note { margin: 0; font-size: 12px; line-height: 1.7; color: var(--text-3); }

.faq-wrap.container { max-width: 900px; }

/* 服务支持入口 */
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.support-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color .18s ease, box-shadow .2s ease, transform .2s ease;
}
.support-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}
.support-card h3 { font-size: 15px; font-weight: 600; }
.support-card p { flex: 1; margin: 0; font-size: 13px; line-height: 1.75; color: var(--text-2); }

/* 资讯筛选与分页 */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter-chip {
  height: 32px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  color: var(--text-2);
  transition: color .16s ease, border-color .16s ease, background-color .16s ease;
}
.filter-chip:hover { border-color: var(--brand); color: var(--brand); }
.filter-chip.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.filter-empty { margin-top: 24px; font-size: 13px; color: var(--text-3); text-align: center; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 36px; }
.page-item {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text-2);
}
.page-item.is-current { background: var(--brand); border-color: var(--brand); color: #fff; }
.page-item.is-disabled { opacity: .5; }

/* 文章 */
.article-title { max-width: 840px; }
.article-meta {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  font-size: 12px;
  color: var(--text-3);
}

/* 联系我们 */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: 32px;
  align-items: start;
}
.contact-form-card { padding: 36px; }
.contact-form-card h2 { margin-bottom: 6px; font-size: 22px; font-weight: 600; }
.contact-form-sub { margin-bottom: 24px; font-size: 13px; color: var(--text-3); }
.textarea {
  height: auto;
  min-height: 120px;
  padding: 12px 14px;
  line-height: 1.7;
  resize: vertical;
}

/* CTA 横幅 */
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding: 40px;
  border-radius: var(--radius);
  background: var(--brand);
  color: #fff;
}
.cta-band h2 { margin-bottom: 8px; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.4; font-weight: 600; color: #fff; }
.cta-band p { margin: 0; font-size: 14px; line-height: 1.7; color: rgba(255, 255, 255, .82); }
.btn-white { background: #fff; color: var(--brand); box-shadow: 0 2px 10px rgba(0, 0, 0, .12); }
.btn-white:hover { background: #F1F8F4; color: var(--brand-hover); }

/* 页脚补充 */
.footer-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.footer-tags span {
  padding: 3px 10px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  font-size: 11px;
  color: rgba(255, 255, 255, .55);
}
.footer-legal { display: flex; align-items: center; gap: 8px; }

/* ---------- 12. 响应式 ---------- */
@media (max-width: 1080px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }

  /* 导航折叠为抽屉 */
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100dvh - var(--nav-h));
    overflow-y: auto;
    padding: 8px 24px 16px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 28px rgba(0, 0, 0, .08);
  }
  .nav.is-open .nav-menu { display: flex; }
  .nav-link { padding: 14px 4px; border-bottom: 1px solid #F5F6F8; border-radius: 0; }
  .nav-link:last-child { border-bottom: 0; }
  .nav-item { position: static; }
  .nav-sub {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0 0 8px 14px;
  }
  .nav-sub a { padding: 9px 4px; font-size: 13px; color: var(--text-2); }
  .nav-sub a:hover { color: var(--brand); }
  .nav-sub .nav-sub-all { padding-top: 8px; color: var(--brand); font-weight: 500; }

  .hero { padding: calc(var(--nav-h) + 64px) 0 56px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }

  .detail-layout,
  .article-layout { grid-template-columns: 1fr; gap: 32px; }
  .aside-sticky { position: static; }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
  .branch-grid { grid-template-columns: repeat(3, 1fr); }
  .steps-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .about-grid,
  .two-col,
  .two-col-reverse,
  .contact-layout,
  .verify-wrap { grid-template-columns: 1fr; gap: 32px; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .lab-grid,
  .field-grid { grid-template-columns: 1fr 1fr; }
  .service-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .steps-4 { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --section-y: 64px; }

  .container { padding: 0 20px; }

  .hero h1 { font-size: 30px; margin-top: 20px; }
  .br-lg { display: none; }
  .hero-actions .btn { width: 100%; }
  .hero-actions { gap: 10px; margin-top: 28px; }

  .trust-bar { flex-wrap: wrap; gap: 12px 0; margin-top: 40px; }
  .trust-bar li { flex: 0 0 50%; justify-content: center; padding: 0 8px; border-left: 0; }
  .trust-bar strong { font-size: 17px; }
  .trust-bar span { font-size: 12px; }

  .inquiry-band { padding-bottom: var(--section-y); }
  .form-card { padding: 24px; }
  .form-head h2 { font-size: 19px; }
  .form-grid { grid-template-columns: 1fr; gap: 16px; }

  .card-grid { grid-template-columns: 1fr; }
  .section-head { margin-bottom: 32px; }

  .file-row { padding: 12px 16px; gap: 10px; flex-wrap: wrap; }
  .lib-head { padding: 14px 16px; }
  .file-meta { flex: 1 1 60%; }
  .file-name { white-space: normal; word-break: break-all; }
  .file-dl { margin-left: 44px; }

  .footer-inner { grid-template-columns: 1fr; padding: 48px 0 32px; gap: 32px; }
  .footer-bottom { padding: 18px 20px 24px; }

  .toast-stack { bottom: 16px; width: calc(100vw - 32px); }
}

@media (max-width: 768px) {
  :root { --nav-h: 68px; }
  .brand-logo { height: 40px; }
}

@media (max-width: 420px) {
  .nav-cta { padding: 0 12px; font-size: 12px; }
  .brand-logo { height: 36px; }
  .hero h1 { font-size: 26px; }
  .section-head h2 { font-size: 22px; }
}

/* ---------- 12.5 动效层 ---------- */
:root {
  --ease-out: cubic-bezier(.22, .61, .36, 1);
  --ease-soft: cubic-bezier(.33, 1, .68, 1);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* 首屏文案逐层进入 */
.hero .eyebrow,
.hero h1,
.hero .hero-sub,
.hero .hero-actions,
.hero .trust-bar,
.page-hero .breadcrumb,
.page-hero h1,
.page-hero .page-hero-sub,
.page-hero .hero-tags {
  animation: fadeUp .72s var(--ease-out) both;
}
.hero .eyebrow, .page-hero .breadcrumb { animation-delay: .04s; }
.hero h1, .page-hero h1 { animation-delay: .12s; }
.hero .hero-sub, .page-hero .page-hero-sub { animation-delay: .2s; }
.hero .hero-actions, .page-hero .hero-tags { animation-delay: .28s; }
.hero .trust-bar { animation-delay: .36s; }

/* 滚动进入视口 */
.reveal { opacity: 0; will-change: opacity, transform; }
.reveal.is-visible {
  animation: fadeUp .66s var(--ease-out) both;
  animation-delay: var(--reveal-delay, 0ms);
}

/* 导航：下划线滑入 + 背景过渡更柔和 + 滚动收窄 */
.nav { transition: box-shadow .28s var(--ease-soft), background-color .28s var(--ease-soft), border-color .28s var(--ease-soft), height .28s var(--ease-soft); }
.nav-inner { transition: height .28s var(--ease-soft); }
.nav .brand-logo { transition: height .28s var(--ease-soft); }
.nav.is-scrolled { height: 64px; }
.nav.is-scrolled .nav-inner { height: 64px; }
.nav.is-scrolled .brand-logo { height: 40px; }
.nav.is-scrolled .nav-link { font-size: 13.5px; }
.nav-link { transition: color .18s ease, background-color .18s ease, font-size .28s var(--ease-soft); }
.nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 3px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  opacity: .55;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .26s var(--ease-out);
}
.nav-link:hover::after,
.nav-link.is-current::after { transform: scaleX(1); }

/* 按钮微交互 */
.btn { transition: background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .28s var(--ease-soft), transform .16s var(--ease-soft); }
.btn:active { transform: translateY(1px) scale(.995); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0) scale(.995); }

/* 卡片悬停统一抬升节奏 */
.cert-card,
.cap-card,
.news-card,
.lab-card,
.field-card,
.why-card,
.support-card,
.service-row,
.file-row,
.aside-card,
.form-card,
.contact-form-card {
  transition:
    transform .3s var(--ease-out),
    box-shadow .3s var(--ease-out),
    border-color .2s ease,
    background-color .2s ease;
}
.cap-card:hover,
.news-card:hover,
.lab-card:hover,
.field-card:hover,
.why-card:hover,
.support-card:hover,
.service-row:hover { transform: translateY(-3px); }

/* 图标 / 箭头跟随 */
.cap-icon,
.stat strong,
.aside-related a .arrow,
.news-more .arrow,
.cert-more .arrow,
.cap-link .arrow,
.link-arrow .arrow { transition: transform .24s var(--ease-out), color .2s ease; }
.news-card:hover .news-more .arrow,
.link-arrow:hover .arrow { transform: translateX(4px); }

/* 锚点滚动更顺滑 */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* ---------- 12.6 首页能力区：深色 + 背景图 ---------- */
#capabilities {
  position: relative;
  background:
    linear-gradient(180deg, rgba(6, 20, 16, .86) 0%, rgba(5, 16, 13, .93) 100%),
    url("../img/hero-bg-dark.jpg") center / cover no-repeat;
}
#capabilities .section-head .eyebrow {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .22);
  color: rgba(255, 255, 255, .88);
}
#capabilities .section-head .eyebrow .dot { background: #8FC4B2; box-shadow: 0 0 0 3px rgba(143, 196, 178, .22); }
#capabilities .section-head h2 { color: #fff; }
#capabilities .section-head p { color: rgba(255, 255, 255, .6); }

#capabilities .cap-card {
  background: rgba(255, 255, 255, .055);
  border-color: rgba(255, 255, 255, .14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
#capabilities .cap-card:hover {
  border-color: rgba(143, 196, 178, .65);
  background: rgba(255, 255, 255, .09);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .38);
}
#capabilities .cap-icon { background: rgba(143, 196, 178, .14); color: #8FC4B2; }
#capabilities .cap-card h3 { color: #fff; }
#capabilities .cap-card p { color: rgba(255, 255, 255, .62); }
#capabilities .cap-link { color: #8FC4B2; }
#capabilities .cap-card:hover .cap-link { color: #B9DCCD; }

/* 打印时跳过动效 */
@media print {
  .reveal { opacity: 1 !important; animation: none !important; }
}

/* ---------- 13. 降低动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* ---------- 14. 内页移动端补充 ---------- */
@media (max-width: 768px) {
  .news-grid,
  .cap-grid,
  .why-grid,
  .lab-grid,
  .field-grid,
  .support-grid { grid-template-columns: 1fr; }

  .logo-wall { grid-template-columns: 1fr 1fr; }
  .branch-grid { grid-template-columns: 1fr 1fr; }

  .page-hero { padding: calc(var(--nav-h) + 40px) 0 40px; }
  .page-hero h1 { font-size: 26px; }
  .page-hero-sub { font-size: 14px; }

  .prose h2 { margin-top: 32px; font-size: 19px; }
  .prose p,
  .prose ul li { font-size: 14px; line-height: 1.85; }
  .prose .btn { width: 100%; }

  .cta-band { padding: 28px; flex-direction: column; align-items: flex-start; gap: 20px; }
  .cta-band .btn { width: 100%; }

  .contact-form-card { padding: 22px; }
  .aside-card { padding: 20px; }
  .inline-cta { padding: 20px; }
  .inline-cta .btn { width: 100%; }
  .article-title { font-size: 24px; }
  .service-row { padding: 18px; }
  .more-certs { padding: 18px; }
  .two-col { gap: 28px; }
  .verify-form { padding: 20px; }
  .filter-bar { gap: 6px; }
  .filter-chip { height: 30px; padding: 0 12px; font-size: 12px; }
  .cert-main { padding: 20px; }
  .cert-foot { padding: 12px 16px; }
  .steps-4 { grid-template-columns: 1fr; }
  .stat-grid { gap: 10px; }
  .stat { padding: 18px; }
  .stat strong { font-size: 22px; }
}

@media (max-width: 480px) {
  .branch-grid { grid-template-columns: 1fr; }
  .logo-wall { grid-template-columns: 1fr 1fr; }
}
