@charset "utf-8";
/* ==========================================================================
   明衡律师事务所 · 全站样式表
   --------------------------------------------------------------------------
   零 CDN 依赖策略：
     · 字体 → 系统字体栈（无 @font-face 外链）
     · 图标 → 文档内内联 SVG
     · 插图 / 缩略图 → 本地 SVG 文件（assets/img/*.svg）
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 设计变量
   -------------------------------------------------------------------------- */
:root {
  /* 底色 */
  --paper: #eef1f6;
  --paper-2: #e6ebf3;
  --surface: #ffffff;
  --surface-2: #f6f8fb;
  --surface-3: #e9eef5;

  /* 墨色 */
  --ink: #0b1524;
  --ink-2: #14223a;
  --ink-3: #22314b;
  --text: #1b2432;
  --muted: #5d6b80;
  --muted-2: #8492a6;

  /* 铜金 */
  --gold: #a9761f;
  --gold-2: #c9922f;
  --gold-3: #e0b25c;
  --gold-soft: #fbf3e2;
  --gold-line: #ead6a8;

  /* 线条 */
  --line: #dae2ec;
  --line-2: #c5d1e0;
  --line-3: #aab8ca;

  /* 深色区文字 */
  --on-dark: #e9eef7;
  --on-dark-2: #a9b9ce;
  --on-dark-line: rgba(233, 238, 247, .14);

  /* 功能色 */
  --ok: #1c7a4b;
  --err: #c02f22;

  /* 字体 */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC",
    "Noto Sans CJK SC", "WenQuanYi Micro Hei", Arial, sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas,
    "Liberation Mono", Menlo, monospace;

  /* 尺寸 */
  --wrap: 1200px;
  --wrap-narrow: 880px;
  --pad: 24px;
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 18px;

  /* 阴影 */
  --sh-1: 0 1px 2px rgba(11, 21, 36, .05);
  --sh-2: 0 10px 28px -12px rgba(11, 21, 36, .18);
  --sh-3: 0 22px 48px -20px rgba(11, 21, 36, .28);

  --header-h: 62px;
}

/* --------------------------------------------------------------------------
   2. 复位 / 基础
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--paper);
  overflow-x: hidden;
  overflow-wrap: break-word;
  word-break: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -.01em;
  color: var(--ink);
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--ink);
  text-decoration: none;
  transition: color .18s ease, border-color .18s ease;
}
a:hover { color: var(--gold); }

ul, ol { margin: 0 0 1em; padding-left: 1.35em; }
ul:last-child, ol:last-child { margin-bottom: 0; }

img, video {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}

/* 内联 SVG 图标：不要与 img 共用复位，避免被撑满父容器 */
svg {
  display: inline-block;
  vertical-align: -.125em;
  flex: 0 0 auto;
}
svg[viewBox="0 0 24 24"] {
  width: 16px;
  height: 16px;
  max-width: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}
button { cursor: pointer; }

table { border-collapse: collapse; width: 100%; }

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 40px 0;
}

::selection { background: var(--gold-3); color: var(--ink); }

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

.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;
  left: 12px; top: -60px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--ink);
  color: #fff;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  transition: top .2s ease;
}
.skip-link:focus { top: 0; color: #fff; }

/* --------------------------------------------------------------------------
   3. 布局工具
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.wrap--narrow { max-width: var(--wrap-narrow); }

.grid { display: grid; gap: 24px; }
.grid > * { min-width: 0; }

.sec { padding: clamp(48px, 6vw, 88px) 0; }
.sec--tight { padding: clamp(36px, 4.5vw, 60px) 0; }
.sec--paper { background: var(--paper); }
.sec--soft { background: var(--surface-2); }
.sec--surface { background: var(--surface); }
.sec--dark {
  position: relative;
  background: var(--ink);
  color: var(--on-dark);
  overflow: hidden;
}
.sec--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(233, 238, 247, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(233, 238, 247, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.sec--dark > * { position: relative; z-index: 1; }
.sec--dark h2, .sec--dark h3 { color: #fff; }
.sec--dark p { color: var(--on-dark-2); }

/* 区块标题组 */
.sec-head { margin-bottom: clamp(28px, 3.4vw, 46px); }
.sec-head--center { text-align: center; }
.sec-head--split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}
.sec-head__main { max-width: 720px; min-width: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--gold-2);
  flex: 0 0 auto;
}
.sec-head--center .eyebrow { justify-content: center; }
.sec--dark .eyebrow { color: var(--gold-3); }
.sec--dark .eyebrow::before { background: var(--gold-3); }

.sec-title {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 1.1rem + 1.7vw, 2.25rem);
  letter-spacing: -.02em;
}
.sec-lead {
  margin: 0;
  max-width: 36em; /* 用 em 而非 ch：中文一个汉字约等于 1em，ch 只等于半角 0 的宽度 */
  color: var(--muted);
  font-size: 1rem;
}
.sec--dark .sec-lead { color: var(--on-dark-2); }
.sec-head--center .sec-lead { margin-inline: auto; }

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  transition: background-color .18s ease, color .18s ease,
    border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn svg { width: 16px; height: 16px; }
.btn--gold {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 8px 20px -10px rgba(169, 118, 31, .7);
}
.btn--gold:hover { background: var(--gold-2); color: #fff; transform: translateY(-1px); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--ink-3); color: #fff; transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  border-color: var(--line-2);
  color: var(--ink);
}
.btn--ghost:hover { border-color: var(--gold-2); color: var(--gold); background: var(--gold-soft); }
.btn--on-dark {
  background: transparent;
  border-color: var(--on-dark-line);
  color: var(--on-dark);
}
.btn--on-dark:hover {
  border-color: var(--gold-3);
  color: var(--gold-3);
  background: rgba(224, 178, 92, .1);
}
.btn--block { width: 100%; }
.btn--sm { padding: 9px 18px; font-size: 14px; }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  border-bottom: 1px solid var(--gold-line);
  padding-bottom: 2px;
}
.link-more svg { width: 14px; height: 14px; }
.link-more:hover { color: var(--gold-2); border-color: var(--gold-2); }

/* 芯片 / 标签 */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 100px;
  background: var(--gold-soft);
  border: 1px solid var(--gold-line);
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
  white-space: nowrap;
}
.chip--plain {
  background: var(--surface-3);
  border-color: transparent;
  color: var(--muted);
}
.sec--dark .chip {
  background: rgba(224, 178, 92, .12);
  border-color: rgba(224, 178, 92, .35);
  color: var(--gold-3);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  font-size: 13px;
  color: var(--muted-2);
}
.meta__item { display: inline-flex; align-items: center; gap: 6px; }
.meta__item svg { width: 14px; height: 14px; opacity: .8; }
.meta .num { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .02em; }
.sec--dark .meta { color: var(--on-dark-2); }

/* --------------------------------------------------------------------------
   4. 顶部导航
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 24px -16px rgba(11, 21, 36, .35); }

/* 4.1 顶部信息条 */
.topbar {
  background: var(--ink);
  color: var(--on-dark-2);
  font-size: 13px;
  /* 留足两行的高度，否则内容换行后会被裁掉半行 */
  max-height: 64px;
  overflow: hidden;
  transition: max-height .28s ease, opacity .2s ease;
}
.site-header.is-scrolled .topbar { max-height: 0; opacity: 0; }
.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  min-height: 40px;
  /* 用 padding-top/bottom 而不是简写：简写会把 .wrap 的左右内边距一并清零 */
  padding-top: 4px;
  padding-bottom: 4px;
}
.topbar__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12.5px;
}
.topbar__list li { display: inline-flex; align-items: center; gap: 7px; min-width: 0; }
.topbar__list svg { width: 14px; height: 14px; color: var(--gold-3); }
.topbar a { color: var(--on-dark); }
.topbar a:hover { color: var(--gold-3); }
.topbar .num { font-family: var(--font-mono); letter-spacing: .02em; }

/* 4.2 主导航 */
.header-main {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: var(--header-h);
  padding-top: 10px;
  padding-bottom: 10px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  min-width: 0;
}
.brand__mark {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
}
.brand__text { display: flex; flex-direction: column; min-width: 0; }
.brand__name {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1.2;
  color: var(--ink);
  white-space: nowrap;
}
.brand__sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted-2);
  white-space: nowrap;
}
.brand:hover .brand__name { color: var(--gold); }

.nav {
  margin-left: auto;
  min-width: 0;
}
.nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav__list a {
  display: block;
  padding: 9px 14px;
  border-radius: var(--r-sm);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  white-space: nowrap;
}
.nav__list a:hover { background: var(--surface-2); color: var(--gold); }
.nav__list a[aria-current="page"] {
  color: var(--gold);
  font-weight: 700;
  background: var(--gold-soft);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}
.header-tel { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.25; }
.header-tel__label { font-size: 11px; color: var(--muted-2); letter-spacing: .04em; }
.header-tel__num {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.header-tel:hover .header-tel__num { color: var(--gold); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--ink);
}
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle__open { display: block; }
.nav-toggle__close { display: none; }
.site-header.is-open .nav-toggle__open { display: none; }
.site-header.is-open .nav-toggle__close { display: block; }

/* --------------------------------------------------------------------------
   5. 首页 Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(233, 238, 247, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(233, 238, 247, .045) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  top: -30%;
  right: -12%;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(201, 146, 47, .22), transparent 62%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  padding-top: clamp(48px, 6vw, 92px);
  padding-bottom: clamp(84px, 9vw, 132px);
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 10px;
  border: 1px solid var(--on-dark-line);
  border-radius: 100px;
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--gold-3);
  background: rgba(224, 178, 92, .08);
  margin-bottom: 22px;
}
.hero__eyebrow svg { width: 14px; height: 14px; }
.hero h1 {
  margin: 0 0 22px;
  color: #fff;
  font-size: clamp(1.85rem, 1.1rem + 3.4vw, 3.35rem);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.18;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold-3);
  position: relative;
  white-space: nowrap;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: .06em;
  height: .3em;
  background: rgba(224, 178, 92, .2);
  z-index: -1;
}
.hero__lead {
  max-width: 32em;
  margin: 0 0 32px;
  color: var(--on-dark-2);
  font-size: clamp(1rem, .96rem + .2vw, 1.1rem);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}
.hero__tags li {
  font-size: 12.5px;
  color: var(--on-dark-2);
  padding-left: 16px;
  position: relative;
}
.hero__tags li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 7px;
  height: 7px;
  border: 1px solid var(--gold-3);
  transform: rotate(45deg);
}

/* 5.1 Hero 右侧：服务承诺卡 */
.promise-card {
  position: relative;
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 30px 28px 26px;
  box-shadow: var(--sh-3);
  color: var(--text);
}
.promise-card::before {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-3));
  border-radius: 0 0 3px 3px;
}
.promise-card__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 6px;
  font-size: 1.0625rem;
}
.promise-card__title svg { width: 20px; height: 20px; color: var(--gold); }
.promise-card__note { margin: 0 0 20px; font-size: 13px; color: var(--muted); line-height: 1.6; }
.promise-list {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.promise-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.promise-list svg { width: 18px; height: 18px; margin-top: 3px; color: var(--gold); }
.promise-list b { display: block; font-size: 14.5px; color: var(--ink); }
.promise-list span { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.promise-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.promise-card__tel { display: flex; flex-direction: column; line-height: 1.3; }
.promise-card__tel small { font-size: 11.5px; color: var(--muted-2); }
.promise-card__tel strong {
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--ink);
  letter-spacing: .01em;
}

/* 5.2 数据条（上浮压边） */
.statbar {
  position: relative;
  z-index: 2;
  margin-top: clamp(-72px, -6vw, -56px);
  padding-bottom: clamp(26px, 3.2vw, 46px);
}
.statbar__inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-2);
  overflow: hidden;
}
.statbar__item {
  padding: 24px 26px;
  border-right: 1px solid var(--line);
  min-width: 0;
}
.statbar__item:last-child { border-right: 0; }
.statbar__num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.02em;
  line-height: 1.15;
}
.statbar__num i { font-style: normal; font-size: .55em; color: var(--gold); margin-left: 2px; }
.statbar__label { display: block; margin-top: 6px; font-size: 13.5px; color: var(--muted); }

/* --------------------------------------------------------------------------
   6. 分类信息（业务领域）
   -------------------------------------------------------------------------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.cat-grid > * { min-width: 0; }

.cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 24px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.cat-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--line-2);
  transition: background-color .22s ease;
}
.cat-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-line);
  box-shadow: var(--sh-2);
}
.cat-card:hover::before { background: var(--gold-2); }
.cat-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: var(--r-sm);
  background: var(--gold-soft);
  border: 1px solid var(--gold-line);
  color: var(--gold);
}
.cat-card__icon svg { width: 22px; height: 22px; }
.cat-card__title { margin: 0 0 8px; font-size: 1.0625rem; }
.cat-card__desc {
  margin: 0 0 18px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
}
.cat-card__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12.5px;
  color: var(--muted-2);
  font-family: var(--font-mono);
}
.cat-card__arrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
}
.cat-card__arrow svg { width: 14px; height: 14px; transition: transform .22s ease; }
.cat-card:hover .cat-card__arrow svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   7. 文章卡片（带缩略图）
   -------------------------------------------------------------------------- */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: box-shadow .22s ease, border-color .22s ease;
}
.feature:hover { border-color: var(--gold-line); box-shadow: var(--sh-2); }
.feature__thumb {
  position: relative;
  min-height: 260px;
  background: var(--surface-3);
  overflow: hidden;
}
.feature__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.feature:hover .feature__thumb img { transform: scale(1.04); }
.feature__body {
  padding: clamp(26px, 3vw, 42px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.feature__title {
  margin: 14px 0 12px;
  font-size: clamp(1.2rem, 1rem + .9vw, 1.6rem);
  letter-spacing: -.015em;
}
.feature__title a { color: var(--ink); }
.feature__excerpt {
  margin: 0 0 20px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--muted);
}
.feature__foot { margin-top: auto; }

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 24px;
}
.post-grid > * { min-width: 0; }

.post-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.post-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-line);
  box-shadow: var(--sh-2);
}
.post-card__thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--surface-3);
  overflow: hidden;
}
.post-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.post-card:hover .post-card__thumb img { transform: scale(1.05); }
.post-card__cat {
  position: absolute;
  left: 12px;
  top: 12px;
  background: rgba(11, 21, 36, .82);
  border-color: rgba(224, 178, 92, .45);
  color: var(--gold-3);
  backdrop-filter: blur(4px);
}
.post-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 22px 22px;
}
.post-card__title {
  margin: 0 0 10px;
  font-size: 1.0625rem;
  line-height: 1.55;
  letter-spacing: -.01em;
}
.post-card__title a { color: var(--ink); }
.post-card__title a:hover { color: var(--gold); }
.post-card__excerpt {
  margin: 0 0 16px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card__foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* --------------------------------------------------------------------------
   8. 无缩略图文章列表（深色索引式）
   -------------------------------------------------------------------------- */
.index-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 44px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.index-list > li { min-width: 0; }
.index-item {
  display: flex;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--on-dark-line);
  transition: border-color .22s ease;
  /* 必须显式声明颜色：.index-item 本身是 <a>，全局 a{color:var(--ink)} 会让
     标题文字在深色区块上变成与背景同色的深墨蓝而完全看不见。
     只写在 .index-item__title a 上是无效的，因为这里锚点就是父元素。 */
  color: var(--on-dark);
}
.index-item:hover { border-color: rgba(224, 178, 92, .5); }
.index-item__no {
  flex: 0 0 auto;
  width: 34px;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--gold-3);
  opacity: .75;
  letter-spacing: .02em;
  padding-top: 1px;
}
.index-item__main { min-width: 0; }
.index-item__title {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
}
.index-item__title a { color: var(--on-dark); }
.index-item__title a:hover { color: var(--gold-3); }
.index-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 12.5px;
  color: var(--on-dark-2);
}
.index-item__meta .num { font-family: var(--font-mono); }

/* 浅底版本（侧栏 / 文章页内用） */
.index-list--light { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 36px; }
.index-list--light .index-item { border-color: var(--line); padding: 18px 0; color: var(--ink); }
.index-list--light .index-item:hover { border-color: var(--gold-line); }
.index-list--light .index-item__no { color: var(--gold); }
.index-list--light .index-item__title a { color: var(--ink); }
.index-list--light .index-item__title a:hover { color: var(--gold); }
.index-list--light .index-item__meta { color: var(--muted-2); }

/* --------------------------------------------------------------------------
   9. 服务流程
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  counter-reset: step;
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps > li { min-width: 0; }
.step {
  position: relative;
  height: 100%;
  padding: 28px 24px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color .22s ease, box-shadow .22s ease;
}
.step::after {
  content: "";
  position: absolute;
  right: -12px;
  top: 50%;
  width: 22px;
  height: 1px;
  background: var(--line-2);
}
.steps > li:last-child .step::after { display: none; }
.step:hover { border-color: var(--gold-line); box-shadow: var(--sh-1); }
.step__no {
  display: inline-block;
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--gold);
  padding: 3px 10px;
  border: 1px solid var(--gold-line);
  border-radius: 100px;
  background: var(--gold-soft);
}
.step__title { margin: 0 0 8px; font-size: 1.0625rem; }
.step__desc { margin: 0; font-size: 13.5px; line-height: 1.75; color: var(--muted); }

/* --------------------------------------------------------------------------
   10. 咨询表单模块
   -------------------------------------------------------------------------- */
.form-sec__grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.form-intro__list {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}
.form-intro__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}
.form-intro__list svg { width: 18px; height: 18px; margin-top: 3px; color: var(--gold); }
.form-intro__list b { color: var(--ink); }

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--sh-2);
}
.form-card__head { margin-bottom: 24px; }
.form-card__head h3 { margin: 0 0 8px; font-size: 1.25rem; }
.form-card__head p { margin: 0; font-size: 13.5px; color: var(--muted); }

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.form-row > * { min-width: 0; }
.field { margin-bottom: 18px; }
.field__label {
  display: block;
  margin-bottom: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
}
.field__label .req { color: var(--err); margin-left: 3px; }
.field__control {
  display: block;
  width: 100%;
  padding: 12px 14px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: 14.5px;
  line-height: 1.5;
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.field__control::placeholder { color: var(--muted-2); }
.field__control:hover { border-color: var(--line-2); }
.field__control:focus {
  outline: none;
  background: var(--surface);
  border-color: var(--gold-2);
  box-shadow: 0 0 0 3px rgba(201, 146, 47, .14);
}
select.field__control {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d6b80' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px 16px;
  padding-right: 38px;
}
textarea.field__control { min-height: 112px; resize: vertical; }

.field__hint { display: block; margin-top: 6px; font-size: 12px; color: var(--muted-2); }
.field__error {
  display: none;
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--err);
}
.field.is-invalid .field__control { border-color: var(--err); background: #fdf5f4; }
.field.is-invalid .field__error { display: block; }

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}
.check input {
  width: 17px;
  height: 17px;
  margin: 3px 0 0;
  flex: 0 0 auto;
  accent-color: var(--gold);
}
.check a { color: var(--gold); border-bottom: 1px solid var(--gold-line); }

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}
.form-actions .btn { flex: 0 1 auto; }
.form-note { font-size: 12px; color: var(--muted-2); line-height: 1.6; }

.form-alert {
  display: none;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  font-size: 14px;
  line-height: 1.65;
}
.form-alert svg { width: 18px; height: 18px; margin-top: 2px; }
.form-alert--ok {
  display: flex;
  background: #eef8f1;
  border: 1px solid #b9e0c8;
  color: #17633e;
}
.form-alert--err {
  display: flex;
  background: #fdf3f2;
  border: 1px solid #f0c7c2;
  color: #9c2a1f;
}
[hidden] { display: none !important; }

/* --------------------------------------------------------------------------
   11. FAQ（原生 details，无 JS 亦可展开）
   -------------------------------------------------------------------------- */
.faq-list {
  max-width: var(--wrap-narrow);
  margin: 0 auto;
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item > summary {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 44px 20px 0;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.6;
  list-style: none;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::marker { content: ""; }
.faq-item > summary::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 26px;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  transition: transform .24s ease;
}
.faq-item[open] > summary::after { transform: rotate(-135deg); top: 30px; }
.faq-item > summary:hover { color: var(--gold); }
.faq-item__q {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  padding-top: 5px;
  letter-spacing: .06em;
}
/* 内容容器禁止 display:none，否则 details 原生展开也会被隐藏 */
.faq-item__body { padding: 0 44px 24px 40px; }
.faq-item__body p { font-size: 14.5px; line-height: 1.85; color: var(--muted); }

/* --------------------------------------------------------------------------
   12. 友情链接
   -------------------------------------------------------------------------- */
.links-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding-top: 26px;
  padding-bottom: 26px;
}
.links-bar__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--muted-2);
  text-transform: uppercase;
  flex: 0 0 auto;
}
.links-bar ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.links-bar a {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 13px;
  color: var(--muted);
  background: var(--surface);
}
.links-bar a:hover { color: var(--gold); border-color: var(--gold-line); background: var(--gold-soft); }

/* --------------------------------------------------------------------------
   13. 页脚
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: var(--on-dark-2);
  font-size: 14px;
}
.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  padding-top: clamp(44px, 5vw, 68px);
  padding-bottom: 40px;
}
.footer-main > * { min-width: 0; }
.footer-brand .brand__name { color: #fff; }
.footer-brand .brand__sub { color: var(--muted-2); }
.footer-brand__desc {
  margin: 18px 0 20px;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--on-dark-2);
  max-width: 30em;
}
.footer-tel {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.3;
}
.footer-tel small { font-size: 12px; color: var(--muted-2); }
.footer-tel strong {
  font-family: var(--font-mono);
  font-size: 22px;
  color: #fff;
  letter-spacing: .01em;
}
.footer-tel:hover strong { color: var(--gold-3); }

.footer-col__title {
  margin: 0 0 18px;
  font-size: 15px;
  color: #fff;
  letter-spacing: .02em;
}
.footer-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.footer-col a { color: var(--on-dark-2); font-size: 13.5px; }
.footer-col a:hover { color: var(--gold-3); }
.footer-col .num { font-family: var(--font-mono); font-size: 13px; }
.footer-col li { display: flex; gap: 9px; align-items: flex-start; font-size: 13.5px; }
.footer-col li svg { width: 15px; height: 15px; margin-top: 4px; color: var(--gold-3); flex: 0 0 auto; }

.footer-disclaimer {
  padding-top: 20px;
  padding-bottom: 20px;
  border-top: 1px solid var(--on-dark-line);
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--muted-2);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 18px;
  padding-bottom: 26px;
  border-top: 1px solid var(--on-dark-line);
  font-size: 12.5px;
  color: var(--muted-2);
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; padding: 0; list-style: none; }
.footer-bottom a { color: var(--muted-2); }
.footer-bottom a:hover { color: var(--gold-3); }
.footer-bottom .num { font-family: var(--font-mono); }

/* --------------------------------------------------------------------------
   14. 内页 Banner + 面包屑
   -------------------------------------------------------------------------- */
.page-banner {
  position: relative;
  background: var(--ink-2);
  color: var(--on-dark);
  overflow: hidden;
}
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(233, 238, 247, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(233, 238, 247, .05) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
}
.page-banner::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(201, 146, 47, .2), transparent 65%);
  pointer-events: none;
}
.page-banner__inner {
  position: relative;
  z-index: 1;
  padding-top: clamp(34px, 4.5vw, 60px);
  padding-bottom: clamp(30px, 4vw, 52px);
  max-width: 780px;
}
.page-banner h1 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(1.5rem, 1.15rem + 1.6vw, 2.2rem);
  letter-spacing: -.02em;
}
.page-banner p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--on-dark-2);
  max-width: 40em;
}
/* 文章页 Banner 不重复正文标题，改用导语承担视觉重量 */
.page-banner__lead {
  margin: 6px 0 0;
  max-width: 44em;
  font-size: clamp(1rem, .95rem + .45vw, 1.2rem);
  line-height: 1.85;
  color: #cfdaea;
}
.page-banner .eyebrow { color: var(--gold-3); }
.page-banner .eyebrow::before { background: var(--gold-3); }

.crumb {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.crumb__inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 13px;
  padding-bottom: 13px;
  font-size: 13px;
  color: var(--muted);
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
}
.crumb__inner::-webkit-scrollbar { display: none; }
.crumb__inner svg { width: 13px; height: 13px; color: var(--muted-2); flex: 0 0 auto; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--gold); }
.crumb [aria-current="page"] { color: var(--ink); font-weight: 600; }

/* --------------------------------------------------------------------------
   15. 列表页布局
   -------------------------------------------------------------------------- */
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 336px;
  gap: clamp(24px, 3.2vw, 44px);
  align-items: start;
}
.layout > * { min-width: 0; }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  margin-bottom: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.filter-bar__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--muted-2);
  text-transform: uppercase;
  margin-right: 4px;
}
.filter-bar a {
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13.5px;
  color: var(--muted);
  border: 1px solid transparent;
  background: var(--surface-2);
}
.filter-bar a:hover { color: var(--gold); background: var(--gold-soft); }
.filter-bar a[aria-current="true"] {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  font-weight: 600;
}

.list-stack { display: grid; gap: 20px; }

.entry {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}
.entry:hover {
  border-color: var(--gold-line);
  box-shadow: var(--sh-2);
  transform: translateY(-2px);
}
.entry__thumb {
  position: relative;
  background: var(--surface-3);
  overflow: hidden;
}
.entry__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.entry:hover .entry__thumb img { transform: scale(1.05); }
.entry__body {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
}
.entry__title { margin: 10px 0 8px; font-size: 1.15rem; line-height: 1.5; }
.entry__title a { color: var(--ink); }
.entry__title a:hover { color: var(--gold); }
.entry__excerpt {
  margin: 0 0 16px;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--muted);
}
.entry__foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.entry__tags { display: flex; flex-wrap: wrap; gap: 6px; }

.pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 34px;
}
.pager a, .pager span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
  font-size: 14px;
  color: var(--muted);
  font-family: var(--font-mono);
}
.pager a:hover { border-color: var(--gold-2); color: var(--gold); }
.pager [aria-current="page"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  font-weight: 700;
}
.pager .is-disabled { opacity: .45; }
.pager__dots { border-color: transparent; background: transparent; }

/* --------------------------------------------------------------------------
   16. 侧栏
   -------------------------------------------------------------------------- */
.widget {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px;
  margin-bottom: 22px;
}
.widget:last-child { margin-bottom: 0; }
.widget__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
}
.widget__title::before {
  content: "";
  width: 3px;
  height: 15px;
  background: var(--gold-2);
  border-radius: 2px;
  flex: 0 0 auto;
}
.widget__title svg { width: 17px; height: 17px; color: var(--gold); }

.widget-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; }
.widget-list li { border-bottom: 1px solid var(--line); }
.widget-list li:last-child { border-bottom: 0; }
.widget-list a {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text);
}
.widget-list a:hover { color: var(--gold); }
.widget-list .no {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gold);
  opacity: .8;
  padding-top: 2px;
  flex: 0 0 auto;
}
.widget-list .no--muted { color: var(--muted-2); opacity: 1; }
.widget-list time { display: block; margin-top: 4px; font-size: 12px; color: var(--muted-2); font-family: var(--font-mono); }

.widget-cats { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.widget-cats a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  background: var(--surface-2);
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font-size: 14px;
  color: var(--ink-2);
}
.widget-cats a:hover { background: var(--gold-soft); border-color: var(--gold-line); color: var(--gold); }
.widget-cats .count { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted-2); }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a {
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 12.5px;
  color: var(--muted);
  background: var(--surface-2);
}
.tag-cloud a:hover { color: var(--gold); border-color: var(--gold-line); background: var(--gold-soft); }

.widget--cta {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--on-dark-2);
}
.widget--cta .widget__title { color: #fff; border-color: var(--on-dark-line); }
.widget--cta .widget__title::before { background: var(--gold-3); }
.widget--cta .widget__title svg { color: var(--gold-3); }
.widget--cta p { font-size: 13.5px; line-height: 1.8; color: var(--on-dark-2); margin: 0 0 18px; }
.widget--cta .tel {
  display: block;
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .01em;
}
.widget--cta .tel:hover { color: var(--gold-3); }
.widget--cta .widget__note { margin: 14px 0 0; font-size: 12px; color: var(--muted-2); }

/* 侧栏目录 */
.toc { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; counter-reset: toc; }
.toc a {
  display: block;
  padding: 9px 12px 9px 14px;
  border-left: 2px solid var(--line);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
}
.toc a:hover { color: var(--gold); border-color: var(--gold-line); background: var(--surface-2); }
.toc a.is-active {
  color: var(--gold);
  border-color: var(--gold-2);
  background: var(--gold-soft);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   17. 文章详情页
   -------------------------------------------------------------------------- */
.article-head { margin-bottom: 26px; }
.article-head h1 {
  margin: 14px 0 18px;
  font-size: clamp(1.5rem, 1.1rem + 1.9vw, 2.15rem);
  line-height: 1.38;
  letter-spacing: -.02em;
}
.article-head__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted-2);
}
.article-head__meta .meta__item svg { color: var(--gold); opacity: 1; }
.article-head__lead {
  margin: 22px 0 0;
  padding: 18px 20px;
  background: var(--surface-2);
  border-left: 3px solid var(--gold-2);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--ink-2);
}

.article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3.6vw, 52px);
}
.article__cover {
  margin: 0 0 32px;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
}
.article__cover img { width: 100%; height: auto; }
.article__cover figcaption {
  padding: 10px 16px;
  background: var(--surface-2);
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted-2);
}

.prose { font-size: 16px; line-height: 1.9; color: var(--text); }
.prose > p { margin: 0 0 1.35em; }
.prose h2 {
  margin: 2.2em 0 .8em;
  padding-left: 14px;
  border-left: 3px solid var(--gold-2);
  font-size: 1.3rem;
  line-height: 1.5;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.7em 0 .6em; font-size: 1.1rem; }
.prose ul, .prose ol { margin: 0 0 1.35em; padding-left: 1.4em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--gold); }
.prose strong { color: var(--ink); font-weight: 700; }
.prose a { color: var(--gold); border-bottom: 1px solid var(--gold-line); }
.prose a:hover { color: var(--gold-2); }
.prose img { border-radius: var(--r-sm); margin: 1.5em 0; }

.prose blockquote {
  margin: 1.8em 0;
  padding: 20px 24px;
  background: var(--surface-2);
  border-radius: var(--r-sm);
  border-left: 3px solid var(--line-2);
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-2);
}
.prose blockquote p { margin: 0; }
.prose blockquote cite { display: block; margin-top: 10px; font-size: 13px; color: var(--muted-2); font-style: normal; }

.table-wrap {
  margin: 1.8em 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  -webkit-overflow-scrolling: touch;
}
.table-wrap table { min-width: 520px; font-size: 14px; }
.table-wrap th, .table-wrap td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.7;
}
.table-wrap thead th {
  background: var(--surface-2);
  font-size: 13px;
  color: var(--ink);
  font-weight: 700;
  white-space: nowrap;
}
.table-wrap tbody tr:last-child td { border-bottom: 0; }
.table-wrap tbody th { background: var(--surface-2); font-weight: 600; white-space: nowrap; }

.callout {
  display: flex;
  gap: 14px;
  margin: 1.8em 0;
  padding: 18px 20px;
  border-radius: var(--r-sm);
  background: var(--gold-soft);
  border: 1px solid var(--gold-line);
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--ink-2);
}
.callout svg { width: 20px; height: 20px; margin-top: 4px; color: var(--gold); flex: 0 0 auto; }
.callout p { margin: 0 0 .6em; }
.callout p:last-child { margin-bottom: 0; }
.callout__title { display: block; margin-bottom: 6px; font-weight: 700; color: var(--ink); }
.callout--ink { background: var(--surface-2); border-color: var(--line); }
.callout--ink svg { color: var(--ink-3); }

.article__foot {
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.article__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.article__tags .label { font-size: 13px; color: var(--muted-2); margin-right: 4px; }

.article__note {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px dashed var(--line-2);
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--muted-2);
}

/* 上下篇 */
.nav-post {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
}
.nav-post > * { min-width: 0; }
.nav-post__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}
.nav-post__item:hover { border-color: var(--gold-line); box-shadow: var(--sh-1); transform: translateY(-2px); }
.nav-post__item--next { text-align: right; }
.nav-post__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.nav-post__item--next .nav-post__label { justify-content: flex-end; }
.nav-post__label svg { width: 14px; height: 14px; }
.nav-post__title { font-size: .95rem; font-weight: 600; line-height: 1.6; color: var(--ink); }
.nav-post__item:hover .nav-post__title { color: var(--gold); }
.nav-post__item--empty { opacity: .55; pointer-events: none; }

/* 文章页内相关/最新列表 */
.related-sec { margin-top: 46px; }
.related-sec__title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  font-size: 1.1rem;
}
.related-sec__title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.related-sec__title svg { width: 18px; height: 18px; color: var(--gold); }

/* --------------------------------------------------------------------------
   18. 移动端底部操作条 + 返回顶部
   -------------------------------------------------------------------------- */
.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, .96);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.mobile-bar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 12px;
  border-radius: var(--r-sm);
  font-size: 14.5px;
  font-weight: 600;
}
.mobile-bar svg { width: 17px; height: 17px; }
.mobile-bar__tel { background: var(--gold); color: #fff; }
.mobile-bar__tel:hover { background: var(--gold-2); color: #fff; }
.mobile-bar__consult { background: var(--ink); color: #fff; }
.mobile-bar__consult:hover { background: var(--ink-3); color: #fff; }

.to-top {
  position: fixed;
  right: 22px;
  bottom: 26px;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--sh-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
}
.to-top svg { width: 18px; height: 18px; }
.to-top:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

/* --------------------------------------------------------------------------
   19. 入场动画（渐进增强：默认可见，仅 JS 确认接管后才隐藏）
   -------------------------------------------------------------------------- */
.reveal { opacity: 1; transform: none; }

html.js-reveal .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s cubic-bezier(.22, .61, .36, 1),
    transform .6s cubic-bezier(.22, .61, .36, 1);
  will-change: opacity, transform;
}
html.js-reveal .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js-reveal .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* --------------------------------------------------------------------------
   20. 响应式
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); }
  .layout { grid-template-columns: minmax(0, 1fr) 300px; }
}

@media (max-width: 1024px) {
  :root { --pad: 20px; }

  .hero__inner { grid-template-columns: minmax(0, 1fr); padding-bottom: clamp(72px, 9vw, 110px); }
  .promise-card { max-width: 560px; }
  .statbar__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .statbar__item:nth-child(2) { border-right: 0; }
  .statbar__item:nth-child(1), .statbar__item:nth-child(2) { border-bottom: 1px solid var(--line); }

  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .index-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 36px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step::after { display: none; }

  .feature { grid-template-columns: minmax(0, 1fr); }
  .feature__thumb { min-height: 0; aspect-ratio: 16 / 9; }

  .form-sec__grid { grid-template-columns: minmax(0, 1fr); }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 28px; }
  .layout { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }

  /* 窄屏：信息条只保留热线/邮箱/工作时间，地址整块隐藏，避免挤成多行 */
  .topbar { max-height: 76px; }
  .topbar__inner .topbar__list:last-child { display: none; }

  /* 无 JS 降级：菜单换行到独立整行并自动折行。
     若脚本未加载，导航不会被挤出屏幕，所有菜单项始终可见可点；
     JS 接管后 .is-collapsible 生效，改为抽屉式展开。 */
  .site-header:not(.is-collapsible) .header-main { flex-wrap: wrap; }
  .site-header:not(.is-collapsible) .nav { flex: 1 0 100%; margin: 0 0 6px; }
  .site-header:not(.is-collapsible) .nav__list { flex-wrap: wrap; gap: 6px 2px; }
  .site-header:not(.is-collapsible) .header-cta { margin-left: auto; width: 100%; }
  .header-tel { display: none; }
  .header-cta .btn { display: none; }

  /* 仅在 JS 接管后折叠导航；无 JS 时导航平铺可横向滚动 */
  .site-header.is-collapsible .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin: 0;
    padding: 10px var(--pad) 18px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--sh-2);
    display: none;
  }
  .site-header.is-collapsible.is-open .nav { display: block; }
  .site-header.is-collapsible .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    max-height: min(62vh, 460px);
    overflow-y: auto;
  }
  .site-header.is-collapsible .nav__list a { padding: 12px 14px; font-size: 15.5px; }
  .site-header.is-collapsible .nav__list::after {
    content: "";
    display: block;
    height: 1px;
    background: var(--line);
    margin: 12px 0;
  }
}

@media (max-width: 720px) {
  .entry { grid-template-columns: minmax(0, 1fr); }
  .entry__thumb { aspect-ratio: 16 / 9; }
  .article__cover { margin-bottom: 24px; }
  .nav-post { grid-template-columns: minmax(0, 1fr); }
  .nav-post__item--next { text-align: left; }
  .nav-post__item--next .nav-post__label { justify-content: flex-start; }
  .index-list--light { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  :root { --pad: 16px; --header-h: 58px; }

  .topbar { font-size: 12px; }
  .topbar__list { gap: 4px 14px; }
  .topbar__list li:nth-child(3) { display: none; }

  .brand__mark { width: 36px; height: 36px; }
  .brand__name { font-size: 17px; }

  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .promise-card { padding: 26px 20px 22px; }

  .statbar { margin-top: -48px; }
  .statbar__inner { grid-template-columns: minmax(0, 1fr); }
  .statbar__item { border-right: 0; border-bottom: 1px solid var(--line); padding: 18px 20px; }
  .statbar__item:nth-child(1), .statbar__item:nth-child(2) { border-bottom: 1px solid var(--line); }
  .statbar__item:last-child { border-bottom: 0; }

  .cat-grid,
  .post-grid,
  .index-list,
  .steps { grid-template-columns: minmax(0, 1fr); }
  .index-list { gap: 0; }
  .index-list--light { gap: 0; }

  .form-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .form-actions { flex-direction: column; align-items: stretch; }
  .form-actions .btn { width: 100%; }

  .faq-item > summary { padding-right: 36px; }
  .faq-item__body { padding: 0 0 22px 34px; }
  .faq-item__q { padding-top: 4px; }

  .footer-main { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .article { padding: 22px 18px; }
  .article-head__lead { padding: 16px; }
  .prose { font-size: 15.5px; }
  .prose h2 { font-size: 1.18rem; }
  .widget { padding: 20px 18px; }
  .filter-bar { padding: 14px 14px; gap: 8px; }

  /* 移动端底部操作条 */
  .mobile-bar { display: grid; }
  body { padding-bottom: 72px; }
  .to-top { bottom: 88px; right: 14px; }
}

@media (max-width: 380px) {
  .topbar__list li:nth-child(2) { display: none; }
  .links-bar { padding: 20px 0; }
}
