@charset "utf-8";
/* =============================================================
   法盾律师网 · 基础样式层 (base.css)
   零 CDN / 零网络字体 / 零第三方图标库 —— 全部本地化
   -------------------------------------------------------------
   目录
   01 设计变量      02 低层复位      03 版面容器
   04 排版与标题    05 内联图标      06 按钮与标签
   07 表单          08 卡片          09 顶部导航
   10 页脚          11 移动端操作条  12 通用组件
   13 响应式断点    14 无障碍与降级
   ============================================================= */

/* ============ 01 设计变量 ============ */
:root {
  /* 主色：深墨蓝，传递专业与权威 */
  --ink: #0c2340;
  --ink-2: #14304f;
  --ink-3: #1d4166;
  --ink-4: #2b5580;
  /* 点缀：鎏金 */
  --accent: #c39a4d;
  --accent-2: #d9b976;
  --accent-deep: #8a6220;
  --accent-soft: #f7f1e4;
  /* 辅助：青灰蓝 */
  --teal: #1f6f78;
  --teal-soft: #e6f1f2;
  /* 底色 */
  --paper: #f5f3ef;
  --paper-2: #eeebe4;
  --white: #ffffff;
  /* 文字 */
  --text: #1b2733;
  --text-2: #46586b;
  --text-3: #5a6b7b;
  --text-inv: #eef3f8;
  --line: #e4e0d8;
  --line-2: #edf0f3;
  /* 状态 */
  --ok: #1c6b45;
  --ok-bg: #e8f4ed;
  --err: #a92219;
  --err-bg: #fbeceb;
  /* 阴影 */
  --sd-s: 0 1px 2px rgba(12, 35, 64, .05), 0 2px 6px rgba(12, 35, 64, .04);
  --sd-m: 0 6px 18px rgba(12, 35, 64, .07), 0 2px 6px rgba(12, 35, 64, .04);
  --sd-l: 0 20px 48px rgba(12, 35, 64, .13);
  /* 圆角 */
  --r-s: 5px;
  --r-m: 10px;
  --r-l: 18px;
  /* 版面 */
  --wrap: 1200px;
  --gut: 24px;
  /* 字体：全部为系统字体栈，无网络请求 */
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC",
          "Noto Sans CJK SC", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-num: ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;
  /* 固定底栏高度（移动端正文避让用） */
  --mbar-h: 58px;
}

/* ============ 02 低层复位 ============ */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* 固定头部锚点定位时留出空隙 */
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  min-height: 100%;
  /* 移动端横向防溢出第一道闸 */
  overflow-x: hidden;
  background: var(--white);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, ol, ul, pre {
  margin: 0;
}

ol, ul { padding: 0; list-style: none; }

a { color: inherit; text-decoration: none; }

/* 图片：块级 + 自适应；注意此处不得包含 svg（见下方图标规则） */
img, video {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}

/* 内联图标复位：与上一条严格分离，避免把 <svg> 撑满容器 */
svg {
  display: inline-block;
  vertical-align: -.125em;
  flex: 0 0 auto;
}

/* 兜底：任何 24 格视窗图标若漏写尺寸，也不会撑破版面。
   必须写在所有组件级 svg 规则之前（同特异性，后写者胜）。 */
svg[viewBox="0 0 24 24"] {
  width: 16px;
  height: 16px;
  max-width: none;
}

/* 图标精灵容器必须彻底不占位 */
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

/* 统一图标类：宽度/高度成对声明，避免比例失衡 */
svg.icon {
  width: 18px;
  height: 18px;
  max-width: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
svg.icon--xs { width: 13px; height: 13px; }
svg.icon--sm { width: 15px; height: 15px; }
svg.icon--md { width: 20px; height: 20px; }
svg.icon--lg { width: 24px; height: 24px; }
svg.icon--xl { width: 32px; height: 32px; }
svg.icon--2x { width: 42px; height: 42px; stroke-width: 1.4; }

button { font: inherit; color: inherit; }

input, textarea, select { font: inherit; color: inherit; }

/* 长文本与长英文串强制换行，防止撑破栅格 */
p, li, dd, dt, h1, h2, h3, h4, h5, h6, a {
  overflow-wrap: break-word;
  word-break: break-word;
}

:focus-visible {
  outline: 2px solid var(--accent-deep);
  outline-offset: 2px;
  border-radius: 3px;
}

::selection { background: var(--accent); color: #fff; }

/* ============ 03 版面容器 ============ */
/* .wrap 只负责左右内边距。
   严禁在其上叠加带 padding 简写的修饰类（会静默清零左右留白）。 */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gut);
  padding-right: var(--gut);
}

.wrap--narrow { max-width: 860px; }

/* 区块：纵向留白只用 padding-block，不影响任何左右内边距 */
.section { padding-top: 68px; padding-bottom: 68px; }
.section--tight { padding-top: 44px; padding-bottom: 44px; }
.section--paper { background: var(--paper); }
.section--paper-2 { background: var(--paper-2); }
.section--line { border-top: 1px solid var(--line); }

/* 深色区块：整体转为浅色文字。
   注意其内部的浅色卡片必须显式声明 color（见 .card--light 等）。 */
.section--dark {
  background: var(--ink);
  color: var(--text-inv);
}
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: #fff; }

/* 反杀保护：深色区的浅色卡片必须把文字色抢回来。
   上面的 .section--dark h3 (0,1,1) 会盖掉 .form-card__title (0,1,0)，
   导致白底白字。这里用更高特异性显式覆盖，且必须写在上一条之后。 */
.section--dark .form-card,
.section--dark .card--light,
.section--dark .widget--light { color: var(--text); }
.section--dark .form-card h2,
.section--dark .form-card h3,
.section--dark .form-card h4,
.section--dark .form-card .form-card__title,
.section--dark .card--light h2,
.section--dark .card--light h3,
.section--dark .card--light h4,
.section--dark .widget--light h2,
.section--dark .widget--light h3 { color: var(--ink); }

/* 细网格底纹：纯 CSS 渐变，无图片请求 */
.section--grid-bg {
  background-image:
    linear-gradient(rgba(12, 35, 64, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 35, 64, .045) 1px, transparent 1px);
  background-size: 34px 34px;
}

/* ============ 04 排版与标题 ============ */
.h-xxl { font-size: clamp(28px, 4.6vw, 46px); line-height: 1.24; font-weight: 800; letter-spacing: -.01em; }
.h-xl  { font-size: clamp(24px, 3.4vw, 34px); line-height: 1.3;  font-weight: 800; letter-spacing: -.01em; }
.h-lg  { font-size: clamp(20px, 2.4vw, 26px); line-height: 1.36; font-weight: 700; }
.h-md  { font-size: 19px; line-height: 1.45; font-weight: 700; }
.h-sm  { font-size: 16px; line-height: 1.5;  font-weight: 700; }

/* 正文栏宽用 em（中文 1 字≈1em），不要用 ch */
.prose { max-width: 38em; }
.muted { color: var(--text-3); }
.small { font-size: 13.5px; line-height: 1.7; }
.center { text-align: center; }

/* 区块标题组：中文主标题 + 英文副标 + 短竖线 */
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.sec-head__main { min-width: 0; }
.sec-head__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 8px;
}
.sec-head__kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.sec-head__title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(21px, 2.6vw, 28px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.01em;
}
.sec-head__title::before {
  content: "";
  width: 4px;
  height: 1.05em;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--accent), var(--accent-deep));
  flex: 0 0 auto;
}
.sec-head__desc {
  margin-top: 8px;
  font-size: 14.5px;
  color: var(--text-3);
  max-width: 46em;
}
.section--dark .sec-head__desc { color: #a9bccf; }
/* 深色区块里 --accent-deep(#8a6220) 对 #0c2340 只有 2.89:1，必须换成亮金 */
.section--dark .sec-head__kicker { color: var(--accent-2); }
.section--dark .sec-head__kicker::before { background: var(--accent-2); }
.sec-head__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-3);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color .2s, color .2s;
  white-space: nowrap;
}
.sec-head__more:hover { color: var(--accent-deep); border-bottom-color: var(--accent); }

/* ============ 05 内联图标（.icon 已在 02 定义） ============ */

/* ============ 06 按钮与标签 ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: var(--r-s);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  background: var(--ink);
  color: #fff;
  transition: background .2s, color .2s, border-color .2s, transform .15s, box-shadow .2s;
  text-align: center;
}
.btn:hover { background: var(--ink-3); transform: translateY(-1px); box-shadow: var(--sd-m); }
.btn:active { transform: translateY(0); }

.btn--accent { background: var(--accent); color: #241a05; }
.btn--accent:hover { background: var(--accent-2); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(12, 35, 64, .28);
}
.btn--ghost:hover { background: rgba(12, 35, 64, .06); border-color: var(--ink); }

.btn--on-dark {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .42);
}
.btn--on-dark:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: #f2f5f8; }

.btn--lg { padding: 14px 30px; font-size: 16px; }
.btn--sm { padding: 8px 15px; font-size: 13.5px; }
.btn--block { width: 100%; }

/* 文字箭头链接 */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-deep);
}
.link-arrow svg { transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* 标签 */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12.5px;
  line-height: 1.6;
  background: var(--accent-soft);
  color: var(--accent-deep);
  border: 1px solid #ecdfc4;
  white-space: nowrap;
}
.tag--ink { background: var(--brand-soft, #eaeff5); color: var(--ink-3); border-color: #d8e2ec; }
.tag--teal { background: var(--teal-soft); color: #175c63; border-color: #cfe4e6; }
.tag--plain { background: #f1f3f5; color: var(--text-3); border-color: #e5e8ec; }

/* 元信息行 */
.meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 13px;
  color: var(--text-3);
}
.meta__item { display: inline-flex; align-items: center; gap: 5px; }

/* 角标数字块 */
.badge-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 4px;
  font-family: var(--font-num);
  font-size: 12px;
  font-weight: 700;
  background: var(--ink);
  color: #fff;
}

/* ============ 07 表单 ============ */
.form-card {
  background: #fff;
  /* 关键：深色区块内的浅色卡片必须显式声明文字颜色 */
  color: var(--text);
  border-radius: var(--r-l);
  padding: 30px;
  box-shadow: var(--sd-l);
  border: 1px solid rgba(255, 255, 255, .5);
}
.form-card__head { margin-bottom: 20px; }
.form-card__title {
  font-size: 21px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.35;
}
.form-card__sub {
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--text-3);
  line-height: 1.7;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.form-grid > * { min-width: 0; }
.span-2 { grid-column: 1 / -1; }

.field { display: flex; flex-direction: column; gap: 7px; }
.field__label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-2);
}
.field__label .req { color: var(--err); margin-left: 3px; }

.input,
.textarea,
.select {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid #d8dce1;
  border-radius: var(--r-s);
  background: #fbfcfd;
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
  transition: border-color .18s, background .18s, box-shadow .18s;
}
.input::placeholder,
.textarea::placeholder { color: #9aa5b1; }
.input:focus,
.textarea:focus,
.select:focus {
  outline: none;
  border-color: var(--ink-3);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(29, 65, 102, .12);
}
.textarea { min-height: 108px; resize: vertical; }
.select { appearance: none; padding-right: 36px; cursor: pointer; }

.select-wrap { position: relative; }
.select-wrap::after {
  content: "";
  position: absolute;
  right: 13px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--text-3);
  border-bottom: 2px solid var(--text-3);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

/* 校验态 */
.field.is-invalid .input,
.field.is-invalid .textarea,
.field.is-invalid .select {
  border-color: var(--err);
  background: var(--err-bg);
}
.field__err {
  font-size: 12.5px;
  color: var(--err);
  display: none;
}
.field.is-invalid .field__err { display: block; }

/* 复选框 */
.check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;
  cursor: pointer;
}
.check input {
  width: 16px;
  height: 16px;
  margin: 3px 0 0;
  flex: 0 0 auto;
  accent-color: var(--ink-3);
  cursor: pointer;
}
.check a { color: var(--accent-deep); text-decoration: underline; }

/* 提交提示条：位于 <form> 之外、卡片之内 */
.form-alert {
  display: none;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 18px;
  padding: 11px 14px;
  border-radius: var(--r-s);
  font-size: 13.5px;
  line-height: 1.65;
  border: 1px solid transparent;
}
.form-alert.is-on { display: flex; }
.form-alert--ok { background: var(--ok-bg); color: var(--ok); border-color: #c3e2d1; }
.form-alert--err { background: var(--err-bg); color: var(--err); border-color: #f0cfcc; }

.form-foot {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.form-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--text-3);
}

/* ============ 08 卡片 ============ */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  overflow: hidden;
  transition: border-color .22s, box-shadow .22s, transform .22s;
}
.card--hover:hover {
  border-color: #cfd8e2;
  box-shadow: var(--sd-m);
  transform: translateY(-3px);
}
/* 浅色卡片用于深色区块时，显式声明文字色兜底 */
.card--light { color: var(--text); }
.card--light .card__title { color: var(--ink); }

.card__body { padding: 18px 20px 20px; }

/* ============ 09 顶部导航 ============ */
/* 顶部信息条 */
.topbar {
  background: var(--ink);
  color: #b9c9d9;
  font-size: 12.5px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  flex-wrap: wrap;
  /* 只用纵向简写，不触碰左右 */
  padding-top: 7px;
  padding-bottom: 7px;
  min-height: 34px;
}
.topbar__left,
.topbar__right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  min-width: 0;
}
.topbar a { color: #b9c9d9; transition: color .2s; }
.topbar a:hover { color: var(--accent-2); }
.topbar__hot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-2) !important;
  font-weight: 600;
}
.topbar__tel { font-family: var(--font-num); letter-spacing: .02em; }

/* 主体导航条 */
.header-bar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s, background .25s;
}
.header-bar.is-stuck { box-shadow: 0 6px 22px rgba(12, 35, 64, .09); }

.header-main {
  display: flex;
  align-items: center;
  gap: 20px;
  /* 必须允许换行：抽屉导航靠 flex:1 0 100% 落到第二行 */
  flex-wrap: wrap;
  padding-top: 12px;
  padding-bottom: 12px;
  min-height: 74px;
}
.header-main .nav { order: 3; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  min-width: 0;
}
.brand__mark { width: 42px; height: 42px; flex: 0 0 auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand__name {
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: .01em;
  white-space: nowrap;
}
.brand__sub {
  font-family: var(--font-num);
  font-size: 9.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-3);
  white-space: nowrap;
}

.nav {
  flex: 1 1 auto;
  min-width: 0;
  /* 无条件下只做裁剪声明，折叠高度交给 .is-collapsible 控制 */
  overflow: hidden;
}
.nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
  min-width: 0;
}
.nav__link {
  position: relative;
  display: block;
  padding: 10px 14px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text-2);
  border-radius: var(--r-s);
  white-space: nowrap;
  transition: color .2s, background .2s;
}
.nav__link:hover { color: var(--ink); background: rgba(12, 35, 64, .05); }
.nav__link.is-active { color: var(--ink); }
.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  margin-left: auto;
}
.header-search-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  background: #fafbfc;
  color: var(--text-3);
  font-size: 13.5px;
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}
.header-search-btn:hover { border-color: #c2ccd6; color: var(--ink-3); background: #fff; }

/* 抽屉开关按钮（桌面隐藏） */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  flex: 0 0 auto;
}
.nav-toggle:hover { border-color: #c2ccd6; }
.nav-toggle .icon { width: 20px; height: 20px; }

/* ============ 10 页脚 ============ */
.site-footer {
  background: var(--ink);
  color: #a9bccf;
  font-size: 14px;
}
.site-footer h2,
.site-footer h3,
.site-footer h4 { color: #fff; }

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr) 1.15fr;
  gap: 34px 28px;
  padding-top: 54px;
  padding-bottom: 42px;
}
.footer-top > * { min-width: 0; }

.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-brand__row { display: flex; align-items: center; gap: 11px; }
.footer-brand__name { font-size: 18px; font-weight: 800; color: #fff; }
.footer-brand p { font-size: 13.5px; line-height: 1.85; color: #9db1c6; max-width: 26em; }

.footer-col__title {
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-col__title::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: rgba(255, 255, 255, .12);
}
.footer-list { display: flex; flex-direction: column; gap: 9px; }
.footer-list a {
  font-size: 13.5px;
  color: #9db1c6;
  transition: color .2s, padding-left .2s;
}
.footer-list a:hover { color: var(--accent-2); padding-left: 4px; }

.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-contact__item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13.5px;
  line-height: 1.7;
  color: #9db1c6;
}
.footer-contact__item .icon { margin-top: 4px; color: var(--accent-2); }
.footer-tel {
  font-family: var(--font-num);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .01em;
}
.footer-tel-note { font-size: 12px; color: #8499b0; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: 18px;
  padding-bottom: 20px;
}
.footer-bottom__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 22px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: #8499b0;
}
.footer-bottom__inner a { color: #8499b0; }
.footer-bottom__inner a:hover { color: var(--accent-2); }
.footer-bottom__links { display: flex; align-items: center; gap: 8px 16px; flex-wrap: wrap; }

/* ============ 11 移动端底部操作条 ============ */
/* 栅格直接写在 .mobile-bar 上（HTML 里不得再嵌套 __inner） */
.mobile-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(255, 255, 255, .97);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 18px rgba(12, 35, 64, .08);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.mobile-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  height: var(--mbar-h);
  font-size: 11.5px;
  color: var(--text-3);
  font-weight: 600;
  line-height: 1.2;
}
.mobile-bar__item .icon { width: 21px; height: 21px; }
.mobile-bar__item.is-active { color: var(--ink); }
.mobile-bar__item--cta {
  background: var(--ink);
  color: #fff;
  margin: 6px 6px 6px 0;
  height: calc(var(--mbar-h) - 12px);
  border-radius: var(--r-s);
}
.mobile-bar__item--cta .icon { color: var(--accent-2); }

/* ============ 12 通用组件 ============ */
/* 面包屑 */
.crumb {
  border-bottom: 1px solid var(--line);
  background: #fff;
  font-size: 13.5px;
}
.crumb__inner {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 13px;
  padding-bottom: 13px;
  color: var(--text-3);
}
.crumb__inner a { color: var(--text-2); transition: color .2s; }
.crumb__inner a:hover { color: var(--accent-deep); }
.crumb__sep { color: #b9c3cd; display: inline-flex; }
.crumb__current { color: var(--ink); font-weight: 600; }
.crumb__home { display: inline-flex; align-items: center; gap: 5px; }

/* 内页 banner */
.page-banner {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.page-banner__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .5;
}
.page-banner__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 46px;
  padding-bottom: 46px;
}
.page-banner__kicker {
  font-family: var(--font-num);
  font-size: 11.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 8px;
}
.page-banner__title {
  font-size: clamp(23px, 3.1vw, 32px);
  font-weight: 800;
  line-height: 1.3;
  color: #fff;
}
.page-banner__desc {
  margin-top: 9px;
  font-size: 14.5px;
  color: #b2c5d8;
  max-width: 46em;
}
.page-banner__stat {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}
.page-banner__stat b {
  display: block;
  font-family: var(--font-num);
  font-size: 25px;
  font-weight: 700;
  color: var(--accent-2);
  line-height: 1.2;
}
.page-banner__stat span { font-size: 12.5px; color: #9db1c6; }

/* 侧栏小部件 */
.widget {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  overflow: hidden;
}
.widget + .widget { margin-top: 22px; }
.widget__head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line-2);
  background: #fafbfc;
}
.widget__head h2,
.widget__head h3 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
}
.widget__head .icon { color: var(--accent-deep); }
.widget__body { padding: 8px 18px 18px; }
.widget__body--padded { padding: 18px; }

/* 无缩略图文章列表（通用） */
.tlist { display: flex; flex-direction: column; }
.tlist__item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14.5px;
  line-height: 1.62;
}
.tlist__item:last-child { border-bottom: 0; }
.tlist__item a {
  color: var(--text-2);
  transition: color .18s;
  /* 单行省略，保证列表整齐 */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tlist__item a:hover { color: var(--accent-deep); }
.tlist__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex: 0 0 auto;
  margin-top: 9px;
}
.tlist__date {
  margin-left: auto;
  flex: 0 0 auto;
  font-family: var(--font-num);
  font-size: 12px;
  /* 对比度 4.76:1（#93a1af 仅 2.64:1，白底上几乎看不清） */
  color: #64748b;
  white-space: nowrap;
}

/* 可横向滚动的宽内容容器 */
.scroll-x {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* 进场动画：仅在有 JS 时启用，无 JS 永远可见 */
html.js .reveal {
  opacity: 0;
  transform: translateY(16px);
}
html.js .reveal.is-in {
  opacity: 1;
  transform: none;
}
html.js .reveal {
  transition: opacity .55s ease, transform .55s ease;
}

/* 无障碍跳转链接：用 clip 隐藏，不用负定位（负定位会污染溢出审计） */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 999;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
  background: var(--ink);
  color: #fff;
  padding: 0;
}
.skip-link:focus {
  clip: auto;
  clip-path: none;
  width: auto;
  height: auto;
  padding: 10px 18px;
  font-size: 14px;
}

/* 回到顶部 */
.to-top {
  position: fixed;
  right: 18px;
  bottom: 84px;
  z-index: 65;
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--sd-m);
  cursor: pointer;
}
.to-top:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.to-top.is-on { display: inline-flex; }

/* ============ 13 响应式断点 ============ */
@media (max-width: 1180px) {
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-col--contact { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
  :root { --gut: 20px; }
  .section { padding-top: 52px; padding-bottom: 52px; }
  .section--tight { padding-top: 36px; padding-bottom: 36px; }

  /* 抽屉式导航开关 */
  .nav-toggle { display: inline-flex; }

  /* JS 就绪后：导航折叠到第二行，可展开 */
  .site-header.is-collapsible .nav {
    flex: 1 0 100%;
    max-height: 0;
    transition: max-height .3s ease;
  }
  .site-header.is-collapsible .nav.is-open { max-height: 70vh; }
  .site-header.is-collapsible .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid var(--line-2);
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .site-header.is-collapsible .nav__link {
    padding: 12px 6px;
    border-radius: 0;
    border-bottom: 1px solid var(--line-2);
    font-size: 15px;
  }
  .site-header.is-collapsible .nav__link.is-active::after { display: none; }
  .site-header.is-collapsible .nav__link.is-active {
    color: var(--ink);
    background: rgba(12, 35, 64, .045);
  }

  /* 无 JS 兜底：导航必须仍然可见、可点、可换行 */
  .site-header:not(.is-collapsible) .nav { flex: 1 0 100%; }
  .site-header:not(.is-collapsible) .nav__list { flex-wrap: wrap; }

  .header-main { gap: 12px; min-height: 62px; padding-top: 10px; padding-bottom: 10px; }
  .brand__mark { width: 36px; height: 36px; }
  .brand__name { font-size: 17px; }
  .header-search-btn { display: none; }
}

@media (max-width: 720px) {
  :root { --gut: 16px; }
  body { padding-bottom: var(--mbar-h); }
  .mobile-bar { display: grid; }
  .to-top { bottom: calc(var(--mbar-h) + 16px); }
  .section { padding-top: 40px; padding-bottom: 40px; }
  .section--tight { padding-top: 30px; padding-bottom: 30px; }
  .form-card { padding: 22px 18px; border-radius: var(--r-m); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .span-2 { grid-column: auto; }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 40px; padding-bottom: 30px; gap: 26px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .page-banner__inner { padding-top: 32px; padding-bottom: 32px; }
  .sec-head { margin-bottom: 22px; }
  .sec-head__more { font-size: 13.5px; }
}

@media (max-width: 560px) {
  /* 顶栏放不下时，收起次要信息 */
  .topbar__right { display: none; }
  .topbar__inner { justify-content: center; }
  /* 顶栏 CTA 让位给底部操作条 */
  .header-tools .btn--cta { display: none; }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .page-banner__stat { gap: 18px; }
}

@media (max-width: 380px) {
  .brand__sub { display: none; }
  .mobile-bar__item { font-size: 11px; }
}

/* 宽屏放大留白 */
@media (min-width: 1440px) {
  :root { --wrap: 1280px; --gut: 32px; }
}

/* ============ 14 无障碍与降级 ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  html.js .reveal { opacity: 1; transform: none; }
}

@media print {
  .header-bar, .topbar, .mobile-bar, .to-top, .site-footer { display: none !important; }
  /* 打印时强制显示所有进场元素，避免打印到半透明/隐藏态 */
  html.js .reveal { opacity: 1 !important; transform: none !important; }
}
