/* =========================================================
   恒正律师事务所 · 官网样式表
   设计基调：专业 / 高端 / 高效
   ========================================================= */

/* ---------- 1. 设计令牌 ---------- */
:root {
  /* 主色：深海军蓝（专业、稳重、权威） */
  --navy: #0B2340;
  --navy-900: #071729;
  --navy-800: #0A1E36;
  --navy-700: #123154;
  --navy-600: #1B3F6B;

  /* 辅色：香槟金（高端、克制、点缀） */
  --gold: #B4914F;
  --gold-600: #9C7A3C;
  --gold-300: #D9C49A;
  --gold-100: #F0E7D6;

  /* 中性色 */
  --ink: #16212E;
  --ink-2: #46525F;
  --ink-3: #7A848F;
  --line: #E2DED4;
  --line-2: #EFECE5;
  --bg: #FFFFFF;
  --bg-soft: #F6F5F1;
  --bg-soft-2: #FBFAF7;

  /* 字体 */
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong",
    "SimSun", Georgia, serif;
  --font-sans: "Inter", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB",
    "Helvetica Neue", Arial, sans-serif;

  /* 尺寸 */
  --maxw: 1240px;
  --radius: 2px;
  --radius-lg: 4px;
  --header-h: 76px;

  /* 阴影 */
  --shadow-sm: 0 1px 2px rgba(11, 35, 64, 0.06);
  --shadow: 0 8px 24px rgba(11, 35, 64, 0.08);
  --shadow-lg: 0 18px 48px rgba(11, 35, 64, 0.14);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 2. 基础重置 ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 16px;
  letter-spacing: 0.01em;
}
p { margin: 0 0 16px; }
a { color: inherit; text-decoration: none; transition: color 0.25s var(--ease); }
img { max-width: 100%; display: block; }
ul { margin: 0; padding-left: 0; list-style: none; }
button, input, textarea, select { font-family: inherit; font-size: inherit; }
::selection { background: var(--gold-300); color: var(--navy); }

/* ---------- 3. 通用容器与栅格 ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy); color: rgba(255,255,255,0.72); }
.section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }

.grid { display: grid; gap: 32px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- 4. 文字组件 ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { font-size: 34px; margin-bottom: 14px; }
.section-head p { font-size: 16px; color: var(--ink-3); margin: 0; }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.rule-gold { width: 56px; height: 2px; background: var(--gold); margin: 22px 0 0; }

.text-gold { color: var(--gold); }
.lead { font-size: 17px; line-height: 1.9; color: var(--ink-2); }

/* ---------- 5. 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 30px;
  font-size: 14px; font-weight: 600; letter-spacing: 0.06em;
  border: 1px solid transparent; border-radius: var(--radius);
  cursor: pointer; transition: all 0.28s var(--ease); white-space: nowrap;
}
.btn--primary { background: var(--gold); color: #fff; }
.btn--primary:hover { background: var(--gold-600); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(180,145,79,0.32); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-700); transform: translateY(-2px); }
.btn--ghost { border-color: rgba(255,255,255,0.42); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn--outline { border-color: var(--line); color: var(--ink); }
.btn--outline:hover { border-color: var(--navy); color: var(--navy); background: var(--bg-soft); }
.btn--sm { height: 40px; padding: 0 20px; font-size: 13px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--navy); letter-spacing: 0.04em;
}
.link-arrow svg { transition: transform 0.28s var(--ease); }
.link-arrow:hover { color: var(--gold); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- 6. 顶栏 & 页头 ---------- */
.topbar {
  background: var(--navy-900); color: rgba(255,255,255,0.62);
  font-size: 12.5px; letter-spacing: 0.03em;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.topbar span { display: inline-flex; align-items: center; gap: 8px; }
.topbar-right { display: flex; gap: 22px; align-items: center; }
.topbar a:hover { color: var(--gold-300); }

.site-header {
  position: sticky; top: 0; z-index: 80;
  background: rgba(255,255,255,0.94);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line-2);
  transition: box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 40px; }

.logo { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
/* 图片 LOGO：高度固定、宽度自适应（原图 994×249） */
.logo-img { display: block; height: 44px; width: auto; max-width: 100%; }
.logo-img--footer { height: 54px; }
.logo-mark {
  width: 42px; height: 42px; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--navy); color: var(--gold-300);
  font-family: var(--font-serif); font-size: 19px; font-weight: 700;
  border-radius: var(--radius);
}
.logo-text { line-height: 1.2; }
.logo-text strong { display: block; font-family: var(--font-serif); font-size: 19px; color: var(--navy); letter-spacing: 0.06em; }
.logo-text small { display: block; font-size: 10px; letter-spacing: 0.24em; color: var(--ink-3); text-transform: uppercase; }

.main-nav { display: flex; gap: 34px; align-items: center; }
.main-nav a {
  position: relative; font-size: 14.5px; font-weight: 500; color: var(--ink);
  padding: 26px 0;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 20px;
  height: 1.5px; background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.main-nav a.is-active { color: var(--navy); font-weight: 600; }
.header-cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.header-phone { font-family: var(--font-serif); font-size: 17px; color: var(--navy); font-weight: 600; letter-spacing: 0.02em; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  background: transparent; cursor: pointer; border-radius: var(--radius);
  align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--navy); position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--navy);
}
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }

/* ---------- 7. 首页 Hero ---------- */
/* 背景：深蓝底 + 法槌实拍图（右侧为视觉主体，左侧留出文案区） */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background-color: var(--navy-900);
  background-image: url("../img/hero-gavel.jpg");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
}
/* 左侧压暗遮罩：保证标题与正文在照片上依然清晰可读 */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7,23,41,0.95) 0%, rgba(7,23,41,0.88) 30%, rgba(7,23,41,0.66) 52%, rgba(7,23,41,0.26) 74%, rgba(7,23,41,0.06) 100%),
    linear-gradient(180deg, rgba(7,23,41,0.42) 0%, rgba(7,23,41,0) 36%, rgba(7,23,41,0.26) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0.14;
  background-image: repeating-linear-gradient(115deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 26px);
}
.hero-inner { position: relative; z-index: 2; padding: 120px 0 96px; max-width: 780px; }
.hero .eyebrow { color: var(--gold-300); }
.hero .eyebrow::before { background: var(--gold-300); }
.hero h1 {
  color: #fff; font-size: 52px; line-height: 1.28; margin-bottom: 24px; font-weight: 600;
  text-shadow: 0 2px 24px rgba(3,12,24,0.45);
}
.hero h1 em { font-style: normal; color: var(--gold-300); }
.hero-sub {
  font-size: 17px; line-height: 1.95; color: rgba(255,255,255,0.80); max-width: 620px; margin-bottom: 38px;
  text-shadow: 0 1px 14px rgba(3,12,24,0.35);
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-badges { display: flex; gap: 28px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.14); }
.hero-badges li { font-size: 13px; color: rgba(255,255,255,0.72); display: flex; align-items: center; gap: 8px; }
.hero-badges svg { flex-shrink: 0; }
.hero-side { display: none; }

/* ---------- 8. 数据条 ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-2); }
.stats-item { padding: 44px 24px; border-right: 1px solid var(--line-2); text-align: center; }
.stats-item:last-child { border-right: 0; }
.stats-num {
  font-family: var(--font-serif); font-size: 40px; color: var(--navy); font-weight: 600;
  line-height: 1.1; margin-bottom: 8px;
}
.stats-num sup { font-size: 18px; color: var(--gold); top: -1em; }
.stats-label { font-size: 13px; color: var(--ink-3); letter-spacing: 0.06em; }

/* ---------- 9. 业务领域卡片 ---------- */
.card {
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  padding: 36px 32px; transition: all 0.34s var(--ease); position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--gold); transform: scaleY(0); transform-origin: top; transition: transform 0.34s var(--ease);
}
.card:hover { border-color: var(--line); box-shadow: var(--shadow); transform: translateY(-4px); }
.card:hover::before { transform: scaleY(1); }
.card-icon { width: 46px; height: 46px; margin-bottom: 22px; color: var(--gold); }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { font-size: 14px; color: var(--ink-3); margin-bottom: 20px; line-height: 1.8; }
.card-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tag {
  font-size: 12px; padding: 4px 10px; background: var(--bg-soft); color: var(--ink-2);
  border-radius: 2px; letter-spacing: 0.02em;
}

/* ---------- 10. 服务优势 ---------- */
.adv-item { display: flex; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line-2); }
.adv-item:last-child { border-bottom: 0; }
.adv-num {
  font-family: var(--font-serif); font-size: 13px; color: var(--gold);
  letter-spacing: 0.12em; padding-top: 4px; flex-shrink: 0; width: 34px;
}
.adv-item h4 { font-size: 17px; margin-bottom: 8px; }
.adv-item p { font-size: 14px; margin: 0; color: var(--ink-3); }

.adv-feature {
  background: #fff; border: 1px solid var(--line-2); padding: 40px 34px;
  border-radius: var(--radius-lg); transition: all 0.3s var(--ease);
}
.adv-feature:hover { box-shadow: var(--shadow); border-color: var(--gold-300); }
.adv-feature .ic { width: 44px; height: 44px; color: var(--navy); margin-bottom: 22px; }
.adv-feature h4 { font-size: 18px; margin-bottom: 12px; }
.adv-feature p { font-size: 14px; color: var(--ink-3); margin: 0; line-height: 1.82; }

/* ---------- 11. 团队 ---------- */
.team-card { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius-lg); overflow: hidden; transition: all 0.34s var(--ease); }
.team-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.team-photo { position: relative; aspect-ratio: 3 / 3.6; background: linear-gradient(160deg, #DCE3EC 0%, #C6D1DE 100%); display: grid; place-items: center; overflow: hidden; }
.team-photo .initials { font-family: var(--font-serif); font-size: 54px; color: rgba(11,35,64,0.28); letter-spacing: 0.04em; }
.team-photo::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,0.10) 0 2px, transparent 2px 9px);
}
.team-body { padding: 26px 26px 30px; }
.team-body h3 { font-size: 20px; margin-bottom: 4px; }
.team-role { font-size: 13px; color: var(--gold); letter-spacing: 0.08em; margin-bottom: 14px; }
.team-body p { font-size: 13.5px; color: var(--ink-3); line-height: 1.8; margin-bottom: 18px; }
.team-meta { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid var(--line-2); font-size: 12.5px; color: var(--ink-3); }
.team-meta a { color: var(--navy); font-weight: 600; }

/* ---------- 12. 案例 ---------- */
.case-card {
  display: block; background: #fff; border: 1px solid var(--line-2);
  border-radius: var(--radius-lg); overflow: hidden; transition: all 0.34s var(--ease); height: 100%;
}
.case-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: var(--line); }
.case-visual {
  height: 150px; position: relative; display: flex; align-items: flex-end; padding: 20px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 100%);
}
.case-visual.alt { background: linear-gradient(135deg, #1B3F6B 0%, #2A5A8C 100%); }
.case-visual.gold { background: linear-gradient(135deg, #8E6F3A 0%, #B4914F 100%); }
.case-visual::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(60deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 14px);
}
.case-amount { position: relative; z-index: 2; font-family: var(--font-serif); font-size: 26px; color: #fff; }
.case-amount small { display: block; font-family: var(--font-sans); font-size: 11px; letter-spacing: 0.16em; color: var(--gold-300); text-transform: uppercase; }
.case-body { padding: 26px; }
.case-body .tag { background: var(--gold-100); color: var(--gold-600); margin-bottom: 14px; display: inline-block; }
.case-body h3 { font-size: 18px; margin-bottom: 10px; line-height: 1.5; }
.case-body p { font-size: 13.5px; color: var(--ink-3); margin-bottom: 18px; line-height: 1.8; }

.case-row {
  display: grid; grid-template-columns: 160px 1fr 200px 120px; gap: 28px; align-items: center;
  padding: 30px 0; border-bottom: 1px solid var(--line-2); transition: background 0.3s var(--ease);
}
.case-row:hover { background: var(--bg-soft-2); }
.case-row .cr-tag { font-size: 12px; color: var(--gold-600); letter-spacing: 0.08em; }
.case-row h3 { font-size: 19px; margin-bottom: 6px; }
.case-row p { font-size: 13.5px; color: var(--ink-3); margin: 0; }
.case-row .cr-amount { font-family: var(--font-serif); font-size: 20px; color: var(--navy); }

/* 案件信息卡（诉讼类案例的案件概览） */
.case-info {
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  padding: 40px 44px; margin-bottom: 56px;
}
.ci-title {
  font-size: 19px; line-height: 1.25; padding-left: 14px;
  border-left: 3px solid var(--gold); margin-bottom: 26px;
}
.ci-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; margin: 0; }
.ci-row {
  display: flex; align-items: baseline; gap: 20px;
  padding: 15px 0; border-bottom: 1px solid var(--line-2);
}
.ci-row dt {
  flex-shrink: 0; width: 84px; font-size: 13.5px; color: var(--ink-3);
  letter-spacing: 0.06em; white-space: nowrap;
}
.ci-row dd { margin: 0; flex: 1; font-size: 14.5px; color: var(--ink); line-height: 1.85; }
.ci-full { grid-column: 1 / -1; }
.ci-full dd { color: var(--ink-2); }
@media (max-width: 760px) {
  .case-info { padding: 26px 22px; margin-bottom: 40px; }
  .ci-grid { grid-template-columns: 1fr; gap: 0; }
  .ci-row { flex-direction: column; gap: 4px; padding: 14px 0; }
  .ci-row dt { width: auto; font-size: 12.5px; }
}
.case-row .cr-arrow { text-align: right; color: var(--ink-3); }

/* ---------- 13. 流程 ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.process-step { padding: 0 28px; border-right: 1px solid rgba(255,255,255,0.12); position: relative; }
.process-step:last-child { border-right: 0; }
.process-step .ps-num {
  width: 46px; height: 46px; border: 1px solid var(--gold); color: var(--gold-300);
  display: grid; place-items: center; border-radius: 50%; margin-bottom: 20px;
  font-family: var(--font-serif); font-size: 16px;
}
.process-step h4 { font-size: 17px; margin-bottom: 10px; }
.process-step p { font-size: 13.5px; color: rgba(255,255,255,0.62); margin: 0; }

/* ---------- 14. 客户评价 ---------- */
.quote-card { background: #fff; border: 1px solid var(--line-2); padding: 40px 36px; border-radius: var(--radius-lg); }
.quote-mark { font-family: var(--font-serif); font-size: 46px; color: var(--gold-300); line-height: 1; margin-bottom: 12px; }
.quote-card p { font-size: 15px; line-height: 1.9; color: var(--ink-2); margin-bottom: 24px; }
.quote-author { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line-2); }
.quote-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--bg-soft); display: grid; place-items: center; font-family: var(--font-serif); color: var(--navy); font-size: 15px; }
.quote-author strong { display: block; font-size: 14px; color: var(--ink); }
.quote-author span { font-size: 12.5px; color: var(--ink-3); }

/* ---------- 15. CTA 通栏 ---------- */
.cta-band { background: var(--navy); color: #fff; padding: 76px 0; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; right: -60px; top: -60px; width: 320px; height: 320px;
  border: 1px solid rgba(180,145,79,0.28); border-radius: 50%;
}
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.cta-inner h2 { font-size: 32px; margin-bottom: 10px; color: #fff;}
.cta-inner p { color: rgba(255,255,255,0.66); margin: 0; font-size: 15px; }
.cta-actions { display: flex; gap: 14px; }

/* ---------- 16. 内页页头 ---------- */
.page-hero {
  background: linear-gradient(150deg, var(--navy-900), var(--navy) 60%, var(--navy-700));
  color: #fff; padding: 72px 0 68px; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; opacity: 0.3;
  background-image: repeating-linear-gradient(115deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 24px);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: 42px; margin-bottom: 14px; }
.page-hero p { color: rgba(255,255,255,0.7); font-size: 16px; max-width: 640px; margin: 0; }
.breadcrumb { display: flex; gap: 10px; font-size: 12.5px; color: rgba(255,255,255,0.55); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--gold-300); }
.breadcrumb span { opacity: 0.5; }

/* ---------- 17. 筛选 / 列表工具条 ---------- */
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; padding-bottom: 20px; border-bottom: 1px solid var(--line-2); }
.filters { display: flex; gap: 10px; flex-wrap: wrap; }
.filter-btn {
  padding: 8px 18px; border: 1px solid var(--line); background: transparent; cursor: pointer;
  font-size: 13.5px; color: var(--ink-2); border-radius: 2px; transition: all 0.25s var(--ease);
}
.filter-btn:hover { border-color: var(--navy); color: var(--navy); }
.filter-btn.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.result-count { font-size: 13px; color: var(--ink-3); }

/* 团队列表行 */
.member-row {
  display: grid; grid-template-columns: 150px 1fr 260px; gap: 36px; align-items: center;
  padding: 32px 0; border-bottom: 1px solid var(--line-2); transition: background 0.3s var(--ease);
}
.member-row:hover { background: var(--bg-soft-2); }
.member-avatar {
  aspect-ratio: 3/3.6; background: linear-gradient(160deg, #DCE3EC, #C6D1DE);
  display: grid; place-items: center; border-radius: var(--radius);
}
.member-avatar .initials { font-family: var(--font-serif); font-size: 38px; color: rgba(11,35,64,0.3); }
.member-row h3 { font-size: 21px; margin-bottom: 6px; }
.member-row .role { font-size: 13px; color: var(--gold-600); letter-spacing: 0.06em; margin-bottom: 12px; }
.member-row p { font-size: 14px; color: var(--ink-3); margin-bottom: 12px; line-height: 1.8; }
.member-contact { text-align: right; font-size: 13px; color: var(--ink-3); line-height: 2; }
.member-contact strong { color: var(--navy); }

/* 洞察列表 */
.insight-row { display: grid; grid-template-columns: 130px 1fr 140px; gap: 32px; padding: 30px 0; border-bottom: 1px solid var(--line-2); align-items: start; }
.insight-date { font-size: 13px; color: var(--ink-3); font-family: var(--font-serif); }
.insight-row h3 { font-size: 20px; margin-bottom: 8px; }
.insight-row p { font-size: 14px; color: var(--ink-3); margin: 0; line-height: 1.8; }

/* 分页 */
/* 讯睿默认输出结构：div.pagination > ul.pagination > li(.active) > a */
.pagination {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  margin: 56px 0 0; padding: 0; list-style: none;
}
.pagination ul {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  margin: 0; padding: 0; list-style: none;
}
.pagination li { display: block; }
.pagination a, .pagination span {
  min-width: 40px; height: 40px; padding: 0 12px; display: grid; place-items: center;
  border: 1px solid var(--line-2); border-radius: var(--radius-lg); background: #fff;
  font-size: 14px; line-height: 1; color: var(--ink-2); text-decoration: none;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.pagination a:hover { border-color: var(--gold-300); background: var(--gold-100); color: var(--gold-600); }
/* 当前页：实心深蓝底 + 白字（兼容 li.active / a.active / .current 三种写法） */
.pagination li.active a, .pagination li.active span,
.pagination a.active, .pagination a.current, .pagination span.current,
.pagination .is-current, .pagination .current {
  background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.pagination li.active a:hover, .pagination a.active:hover, .pagination a.current:hover {
  background: var(--navy); border-color: var(--navy); color: #fff;
}
.pagination li.disabled a, .pagination li.disabled span { opacity: 0.45; pointer-events: none; }
@media (max-width: 600px) {
  .pagination, .pagination ul { gap: 6px; }
  .pagination a, .pagination span { min-width: 34px; height: 34px; padding: 0 9px; font-size: 13px; }
}

/* ---------- 18. 内容页（两栏） ---------- */
.article-layout { display: grid; grid-template-columns: 1fr 320px; gap: 64px; align-items: start; }
/* 正文列容器：正文与「相关阅读」同列纵向排列，避免 related-box 落进第二行网格产生大块留白 */
.article-main { min-width: 0; }
.article-body { min-width: 0; }
.article-body h2 { font-size: 26px; margin-top: 48px; }
.article-body h3 { font-size: 20px; margin-top: 34px; }
.article-body p { font-size: 15.5px; line-height: 1.95; color: var(--ink-2); }
.article-body ul.checklist li { position: relative; padding-left: 26px; margin-bottom: 12px; font-size: 15px; line-height: 1.85; }
.article-body ul.checklist li::before {
  content: ""; position: absolute; left: 0; top: 11px; width: 10px; height: 1.5px; background: var(--gold);
}
.article-lead { font-size: 18px; line-height: 1.9; color: var(--ink); border-left: 2px solid var(--gold); padding-left: 22px; margin-bottom: 36px; }
.article-meta { display: flex; gap: 24px; flex-wrap: wrap; font-size: 13px; color: var(--ink-3); padding-bottom: 24px; border-bottom: 1px solid var(--line-2); margin-bottom: 40px; }
.article-meta span { display: inline-flex; align-items: center; gap: 7px; }

/* ---------- 18b. 正文富文本排版（引用 / 表格 / 列表） ---------- */
.article-body > h2:first-child,
.article-body > p:first-child { margin-top: 0; }
.article-body p { margin-bottom: 22px; }
.article-body strong { color: var(--navy); font-weight: 600; }
.article-body em { font-style: normal; color: var(--gold-600); }
.article-body a { color: var(--gold-600); border-bottom: 1px solid var(--gold-300); }
.article-body a:hover { color: var(--gold); border-bottom-color: var(--gold); }
.article-body hr { border: 0; border-top: 1px solid var(--line-2); margin: 44px 0; }
.article-body img { border-radius: var(--radius-lg); margin: 30px 0; }

/* 列表：全局 reset 清掉了 ul 的符号与缩进，正文内恢复 */
.article-body ul:not(.checklist) { padding-left: 20px; margin: 0 0 22px; }
.article-body ul:not(.checklist) li { list-style: disc; }
.article-body ol { padding-left: 22px; margin: 0 0 22px; }
.article-body ol li { list-style: decimal; }
.article-body li { font-size: 15.5px; line-height: 1.9; color: var(--ink-2); margin-bottom: 10px; padding-left: 4px; }
.article-body li::marker { color: var(--gold); }

/* 引用块：案例索引 / 法官观点 / 要点提示 */
.article-body blockquote {
  margin: 34px 0; padding: 24px 30px;
  background: var(--bg-soft-2);
  border: 1px solid var(--line-2);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
.article-body blockquote p { margin: 0; font-size: 15px; line-height: 1.9; color: var(--ink-2); }
.article-body blockquote p + p { margin-top: 14px; }
.article-body blockquote strong { color: var(--navy); font-weight: 600; }

/* 表格：深蓝表头 + 斑马纹 + 行 hover（编辑器若带 border 属性，统一线色） */
.article-body table {
  width: 100%; margin: 36px 0; font-size: 14.5px;
  border-collapse: separate; border-spacing: 0;
  border: 1px solid var(--line-2); border-radius: var(--radius-lg); overflow: hidden;
}
.article-body table[border],
.article-body table[border] th,
.article-body table[border] td { border-color: var(--line-2); }
.article-body table caption {
  caption-side: top; text-align: left; padding: 0 2px 12px;
  font-size: 13.5px; color: var(--ink-3);
}
.article-body table th,
.article-body table td {
  padding: 14px 18px; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--line-2); border-right: 1px solid var(--line-2);
  line-height: 1.8;
}
.article-body table th:last-child,
.article-body table td:last-child { border-right: 0; }
.article-body table tbody tr:last-child td { border-bottom: 0; }
.article-body table thead th {
  background: var(--navy); color: #fff; font-weight: 600; font-size: 14px;
  letter-spacing: 0.02em; border-bottom-color: var(--navy);
  border-right-color: rgba(255, 255, 255, 0.16);
}
.article-body table tbody td { color: var(--ink-2); }
.article-body table tbody tr:nth-child(even) { background: var(--bg-soft-2); }
.article-body table tbody tr:hover { background: var(--gold-100); }

/* 窄屏：默认横滚兜底；带表头的表格由 JS 加 .rtable 转为卡片式 */
@media (max-width: 760px) {
  .article-body table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .article-body table.rtable {
    display: block; border: 0; border-radius: 0; overflow: visible;
  }
  .article-body table.rtable thead { display: none; }
  .article-body table.rtable tbody,
  .article-body table.rtable tr,
  .article-body table.rtable td { display: block; width: 100%; }
  .article-body table.rtable tr {
    border: 1px solid var(--line-2); border-radius: var(--radius-lg);
    margin-bottom: 14px; background: #fff; overflow: hidden;
  }
  .article-body table.rtable tbody tr:nth-child(even) { background: #fff; }
  .article-body table.rtable td {
    display: flex; gap: 14px; padding: 11px 16px; font-size: 14px;
    border: 0; border-bottom: 1px dashed var(--line-2);
  }
  .article-body table.rtable tr td:last-child { border-bottom: 0; }
  .article-body table.rtable td::before {
    content: attr(data-label); flex: 0 0 84px;
    color: var(--ink-3); font-size: 12.5px; line-height: 1.75;
  }
  .article-body blockquote { padding: 20px 20px; margin: 28px 0; }
}

.side-card { background: var(--bg-soft); border: 1px solid var(--line-2); padding: 30px 28px; margin-bottom: 24px; border-radius: var(--radius-lg); }
.side-card h4 { font-size: 16px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.side-nav a { display: block; padding: 10px 0; font-size: 14px; color: var(--ink-2); border-bottom: 1px solid var(--line-2); }
.side-nav a:last-child { border-bottom: 0; }
.side-nav a:hover { color: var(--gold-600); padding-left: 6px; }
.side-contact { background: var(--navy); color: rgba(255,255,255,0.7); border: 0; }
.side-contact h4 { color: #fff; border-color: rgba(255,255,255,0.16); }
.side-contact p { font-size: 14px; }
.side-contact .phone { font-family: var(--font-serif); font-size: 22px; color: var(--gold-300); margin: 6px 0 18px; }

/* 律师详情页 */
.lawyer-hero { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: start; }
.lawyer-photo { aspect-ratio: 3/3.8; background: linear-gradient(160deg, #DCE3EC, #C0CCDB); display: grid; place-items: center; border-radius: var(--radius-lg); }
.lawyer-photo .initials { font-family: var(--font-serif); font-size: 76px; color: rgba(11,35,64,0.26); }
.lawyer-title { font-size: 13px; color: var(--gold); letter-spacing: 0.14em; margin-bottom: 12px; }
.lawyer-hero h1 { font-size: 38px; margin-bottom: 18px; }
.lawyer-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line-2); }
.lawyer-facts .k { font-size: 12px; color: var(--ink-3); letter-spacing: 0.08em; margin-bottom: 4px; }
.lawyer-facts .v { font-family: var(--font-serif); font-size: 17px; color: var(--navy); }

/* ---------- 19. 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 420px; gap: 64px; align-items: start; }
.info-block { display: flex; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line-2); }
.info-block:last-child { border-bottom: 0; }
.info-ic { width: 40px; height: 40px; flex-shrink: 0; border: 1px solid var(--line); display: grid; place-items: center; border-radius: var(--radius); color: var(--gold-600); }
.info-block .k { font-size: 12.5px; color: var(--ink-3); letter-spacing: 0.1em; margin-bottom: 4px; }
.info-block .v { font-size: 15.5px; color: var(--ink); line-height: 1.7; }
.info-block .v strong { font-family: var(--font-serif); font-size: 19px; color: var(--navy); }

.qr-card { background: #fff; border: 1px solid var(--line-2); padding: 28px; border-radius: var(--radius-lg); text-align: center; }
.qr-box { width: 168px; height: 168px; margin: 0 auto 16px; padding: 10px; border: 1px dashed var(--line); background: var(--bg-soft-2); }
.qr-card p { font-size: 13px; color: var(--ink-3); margin: 0; }
.qr-card strong { display: block; font-size: 15px; color: var(--ink); margin-bottom: 4px; }

.form-card { background: var(--bg-soft); border: 1px solid var(--line-2); padding: 40px 36px; border-radius: var(--radius-lg); }
.form-card h3 { font-size: 22px; margin-bottom: 8px; }
.form-card > p { font-size: 14px; color: var(--ink-3); margin-bottom: 28px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 13px; color: var(--ink-2); margin-bottom: 8px; font-weight: 500; }
.field label i { color: var(--gold); font-style: normal; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line);
  background: #fff; border-radius: var(--radius); outline: none; transition: border-color 0.25s var(--ease);
  font-size: 14px; color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold); }
.field textarea { min-height: 110px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 12px; color: var(--ink-3); margin-top: 14px; line-height: 1.7; }

.map-placeholder {
  height: 260px; border: 1px solid var(--line-2); background:
    repeating-linear-gradient(0deg, var(--line-2) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px 32px),
    var(--bg-soft-2);
  display: grid; place-items: center; position: relative; border-radius: var(--radius-lg);
}
.map-pin { width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: var(--gold-300); display: grid; place-items: center; box-shadow: var(--shadow); }
.map-placeholder .map-tip {
  position: absolute; bottom: 16px; left: 16px; background: #fff; padding: 8px 14px;
  font-size: 12.5px; color: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius);
}

/* ---------- 20. 页脚 ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,0.62); padding: 76px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.25fr; gap: 48px; padding-bottom: 44px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 22px; letter-spacing: 0.06em; }
.footer-col p { line-height: 1.9; margin-bottom: 18px; }
.footer-col a { display: block; padding: 6px 0; font-size: 13.5px; }
.footer-col a:hover { color: var(--gold-300); }
.footer-contact li { display: flex; gap: 12px; padding: 8px 0; font-size: 13.5px; line-height: 1.7; }
.footer-contact svg { flex-shrink: 0; margin-top: 3px; color: var(--gold); }
.footer-contact .big { font-family: var(--font-serif); font-size: 21px; color: var(--gold-300); }
/* 左栏：资质信息 */
.footer-meta { margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-meta li { position: relative; padding-left: 14px; font-size: 12.5px; line-height: 1.9; color: rgba(255,255,255,0.45); }
.footer-meta li::before { content: ""; position: absolute; left: 0; top: 10px; width: 4px; height: 4px; background: var(--gold); }

/* 中栏：微信扫码（居中两枚二维码） */
.footer-col-wechat { text-align: center; }
.footer-col-wechat h4 { margin-bottom: 26px; }
.qr-group { display: flex; gap: 26px; justify-content: center; align-items: flex-start; }
.qr-item { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.qr-item .qr { width: 98px; height: 98px; background: #fff; padding: 6px; box-shadow: 0 6px 18px rgba(0,0,0,0.22); }
.qr-item span { font-size: 13px; color: rgba(255,255,255,0.82); line-height: 1.5; }
.qr-item span em { display: block; font-style: normal; font-size: 11.5px; color: rgba(255,255,255,0.42); margin-top: 3px; }
.qr-note { margin: 20px 0 0 !important; font-size: 11.5px; color: rgba(255,255,255,0.32); letter-spacing: 0.02em; }

/* 友情链接栏 */
.footer-friends { border-top: 1px solid rgba(255,255,255,0.1); padding: 26px 0 30px; display: flex; align-items: flex-start; gap: 24px; }
.friends-title { flex-shrink: 0; padding-top: 6px; color: #fff; font-size: 13px; letter-spacing: 0.12em; }
.friends-title::after { content: ""; display: block; width: 26px; height: 1px; background: var(--gold); margin-top: 6px; }
.friends-list { flex: 1; display: flex; flex-wrap: wrap; gap: 10px; }
.friends-list a { padding: 6px 14px; font-size: 12.5px; line-height: 1.4; color: rgba(255,255,255,0.62); border: 1px solid rgba(255,255,255,0.14); border-radius: 2px; transition: all 0.25s var(--ease); }
.friends-list a:hover { color: var(--gold-300); border-color: var(--gold); background: rgba(180,145,79,0.1); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 24px 0; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 12.5px; color: rgba(255,255,255,0.42); }
.footer-bottom a:hover { color: var(--gold-300); }
.footer-links { display: flex; gap: 22px; }

/* ---------- 21. 动效 ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ---------- 22. 响应式 ---------- */
@media (max-width: 1080px) {
  .article-layout { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-col-wechat { grid-column: 1 / -1; order: 3; padding-top: 8px; }
  .footer-friends { flex-direction: column; gap: 14px; }
  .hero-side { display: none; }
  /* 平板：法槌居中偏右，遮罩整体压暗一档，避免与文字抢视线 */
  .hero { background-position: 60% center; }
  .hero::before {
    background:
      linear-gradient(90deg, rgba(7,23,41,0.90) 0%, rgba(7,23,41,0.84) 42%, rgba(7,23,41,0.62) 100%),
      linear-gradient(180deg, rgba(7,23,41,0.40) 0%, rgba(7,23,41,0) 40%, rgba(7,23,41,0.30) 100%);
  }
  .lawyer-hero { grid-template-columns: 240px 1fr; gap: 40px; }
  /* 服务优势：左右双栏塌为单栏，右侧卡片区才能保住两列卡片的可读宽度 */
  .adv-grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 900px) {
  .container { padding: 0 22px; }
  .main-nav {
    position: fixed; top: calc(var(--header-h) + 38px); left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: flex-start; gap: 0;
    padding: 8px 22px 20px; border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: all 0.3s var(--ease); box-shadow: var(--shadow); max-height: calc(100vh - 120px); overflow-y: auto;
  }
  .main-nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .main-nav a { padding: 14px 0; width: 100%; border-bottom: 1px solid var(--line-2); }
  .main-nav a::after { display: none; }
  .nav-toggle { display: flex; }
  .header-cta .header-phone { display: none; }
  .topbar { display: none; }
  .hero-inner { padding: 84px 0 72px; }
  .hero h1 { font-size: 36px; }
  /* 窄屏：法槌收到画面右上方，遮罩改为「上淡下浓」，保证长段落压得住 */
  .hero { background-size: auto 62%; background-position: 26% top; }
  .hero::before {
    background: linear-gradient(180deg,
      rgba(7,23,41,0.26) 0%, rgba(7,23,41,0.52) 16%, rgba(7,23,41,0.80) 38%,
      rgba(7,23,41,0.94) 58%, rgba(7,23,41,0.97) 100%);
  }
  .page-hero h1 { font-size: 30px; }
  .section { padding: 64px 0; }
  .section-head h2 { font-size: 27px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats-item:nth-child(2) { border-right: 0; }
  .stats-item:nth-child(1), .stats-item:nth-child(2) { border-bottom: 1px solid var(--line-2); }
  .g-3, .g-4, .g-2 { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); gap: 36px 0; }
  .process-step:nth-child(2) { border-right: 0; }
  .case-row { grid-template-columns: 1fr; gap: 12px; }
  .case-row .cr-arrow { text-align: left; }
  .member-row { grid-template-columns: 100px 1fr; gap: 20px; }
  .member-contact { grid-column: 1 / -1; text-align: left; }
  .insight-row { grid-template-columns: 1fr; gap: 10px; }
  .lawyer-hero { grid-template-columns: 1fr; gap: 28px; }
  .lawyer-photo { max-width: 240px; }
  .lawyer-facts { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-col-wechat { padding-top: 0; }
  .qr-group { gap: 18px; }
  .qr-item .qr { width: 88px; height: 88px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stats-item { border-right: 0; border-bottom: 1px solid var(--line-2); }
  .process { grid-template-columns: 1fr; }
  .process-step { border-right: 0; }
  .field-row { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
  .hero-actions .btn { width: 100%; }
  .form-card { padding: 28px 22px; }
}

/* ---------- 23. 法律知识栏目 ---------- */
/* 搜索框 */
.ksearch { display: flex; gap: 0; max-width: 620px; }
.ksearch input {
  flex: 1; height: 52px; padding: 0 20px; border: 1px solid rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.08); color: #fff; border-radius: var(--radius) 0 0 var(--radius);
  outline: none; font-size: 15px; transition: border-color 0.25s var(--ease);
}
.ksearch input::placeholder { color: rgba(255,255,255,0.5); }
.ksearch input:focus { border-color: var(--gold-300); }
.ksearch button {
  height: 52px; padding: 0 28px; border: 0; background: var(--gold); color: #fff;
  font-size: 14px; font-weight: 600; letter-spacing: 0.06em; cursor: pointer;
  border-radius: 0 var(--radius) var(--radius) 0; transition: background 0.25s var(--ease);
}
.ksearch button:hover { background: var(--gold-600); }
.ksearch-hint { font-size: 12.5px; color: rgba(255,255,255,0.5); margin-top: 12px; }

/* 分类宫格 */
.kcat {
  display: flex; gap: 18px; align-items: flex-start; padding: 22px 20px;
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  transition: all 0.3s var(--ease);
}
.kcat:hover { border-color: var(--gold-300); box-shadow: var(--shadow); transform: translateY(-3px); }
/* 分类图标：使用 <i class="kcat-ic fa fa-home"> 字体图标，尺寸与原 SVG 完全一致 */
.kcat-ic {
  width: 38px; height: 38px; flex-shrink: 0; color: var(--navy);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 26px; line-height: 1; font-style: normal; text-align: center;
  font-family: "FontAwesome", "Font Awesome 5 Free", "Font Awesome 5 Pro", sans-serif;
  font-weight: 400;
}
.kcat strong { display: block; font-size: 15px; color: var(--ink); margin-bottom: 2px; }
.kcat span { font-size: 12px; color: var(--ink-3); }

/* 列表行（含元信息） */
.krow {
  display: grid; grid-template-columns: 1fr 170px; gap: 28px; align-items: center;
  padding: 26px 0; border-bottom: 1px solid var(--line-2); transition: background 0.3s var(--ease);
}
.krow:hover { background: var(--bg-soft-2); }
.krow h3 { font-size: 19px; margin-bottom: 8px; line-height: 1.5; }
.krow h3 a:hover { color: var(--gold-600); }
.krow p { font-size: 13.5px; color: var(--ink-3); margin-bottom: 12px; line-height: 1.8; }
.kmeta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--ink-3); align-items: center; }
.chip {
  display: inline-block; padding: 3px 10px; background: var(--gold-100); color: var(--gold-600);
  border-radius: 2px; font-size: 12px; letter-spacing: 0.02em;
}
.chip--navy { background: #E7EDF5; color: var(--navy-700); }
.krow-side { text-align: right; font-size: 12.5px; color: var(--ink-3); line-height: 1.9; }

/* 热门排行 */
.hot-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-2); align-items: flex-start; }
.hot-list li:last-child { border-bottom: 0; }
.hot-num {
  font-family: var(--font-serif); font-size: 15px; color: var(--ink-3); width: 22px; flex-shrink: 0;
  padding-top: 1px;
}
.hot-list li:nth-child(1) .hot-num,
.hot-list li:nth-child(2) .hot-num,
.hot-list li:nth-child(3) .hot-num { color: var(--gold); }
.hot-list a { font-size: 14px; color: var(--ink); line-height: 1.6; }
.hot-list a:hover { color: var(--gold-600); }
.hot-count { display: block; font-size: 12px; color: var(--ink-3); margin-top: 4px; }

/* 结论卡 */
.kconclusion {
  display: flex; gap: 18px; background: var(--bg-soft-2); border: 1px solid var(--line-2);
  border-left: 3px solid var(--gold); border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 26px 28px; margin: 0 0 40px;
}
.kconclusion svg { flex-shrink: 0; color: var(--gold); margin-top: 2px; }
.kconclusion .kc-label { font-size: 12px; letter-spacing: 0.14em; color: var(--gold-600); margin-bottom: 6px; }
.kconclusion p { font-family: var(--font-serif); font-size: 18px; line-height: 1.75; color: var(--ink); margin: 0; }

/* 法律依据引用块 */
.legal-basis {
  background: #FBFAF7; border: 1px solid var(--line); border-left: 3px solid var(--navy);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0; padding: 24px 28px; margin: 28px 0;
}
.legal-basis h4 { font-size: 14px; color: var(--navy); letter-spacing: 0.06em; margin-bottom: 14px; }
.legal-basis ol { margin: 0; padding-left: 20px; }
.legal-basis li { font-size: 14px; color: var(--ink-2); line-height: 1.85; margin-bottom: 10px; }
.legal-basis li:last-child { margin-bottom: 0; }
.legal-basis li b { color: var(--ink); font-weight: 600; }

/* 提示 / 警示框 */
.knote { display: flex; gap: 16px; padding: 20px 24px; border-radius: var(--radius-lg); margin: 26px 0; font-size: 14.5px; line-height: 1.8; }
.knote svg { flex-shrink: 0; margin-top: 3px; }
.knote p { margin: 0; }
.knote--tip { background: #F2F6F1; border: 1px solid #D6E2D3; color: #3B5A38; }
.knote--warn { background: #FFF8F2; border: 1px solid #F0DFCB; color: var(--gold-600); }
.knote strong { font-weight: 600; }

/* FAQ 折叠 */
.kfaq { border: 1px solid var(--line-2); border-radius: var(--radius-lg); overflow: hidden; margin-top: 8px; }
.kfaq details { border-bottom: 1px solid var(--line-2); }
.kfaq details:last-child { border-bottom: 0; }
.kfaq summary {
  padding: 18px 24px; font-size: 15px; color: var(--ink); cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-weight: 500; transition: background 0.25s var(--ease);
}
.kfaq summary::-webkit-details-marker { display: none; }
.kfaq summary:hover { background: var(--bg-soft-2); }
.kfaq summary::after {
  content: "+"; font-family: var(--font-serif); font-size: 20px; color: var(--gold); flex-shrink: 0;
  transition: transform 0.25s var(--ease);
}
.kfaq details[open] summary::after { content: "−"; }
.kfaq details[open] summary { color: var(--gold-600); }
.kfaq .answer { padding: 0 24px 22px; font-size: 14.5px; color: var(--ink-2); line-height: 1.9; }
.kfaq .answer p { margin-bottom: 10px; }
.kfaq .answer p:last-child { margin-bottom: 0; }

/* 相关阅读卡 */
.krel { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-2); }
.krel:last-child { border-bottom: 0; }
.krel-ic { width: 34px; height: 34px; flex-shrink: 0; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--gold); border-radius: var(--radius); }
.krel a { font-size: 14.5px; color: var(--ink); line-height: 1.6; }
.krel a:hover { color: var(--gold-600); }
.krel span { display: block; font-size: 12px; color: var(--ink-3); margin-top: 4px; }

/* 免责声明条 */
.kdisclaimer {
  font-size: 12.5px; color: var(--ink-3); line-height: 1.85; background: var(--bg-soft-2);
  border: 1px dashed var(--line); padding: 18px 22px; border-radius: var(--radius-lg); margin-top: 44px;
}

/* 情形对照表 */
.ktable { border: 1px solid var(--line-2); border-radius: var(--radius-lg); overflow: hidden; margin: 24px 0 30px; }
.ktable-row { display: grid; grid-template-columns: 240px 1fr; gap: 20px; padding: 16px 24px; border-bottom: 1px solid var(--line-2); }
.ktable-row:last-child { border-bottom: 0; }
.ktable-row.head { background: var(--bg-soft); }
.ktable-row.head > div { font-size: 13px; font-weight: 600; color: var(--ink); letter-spacing: 0.04em; }
.ktable-row .kt-l { font-size: 14.5px; color: var(--ink); font-weight: 500; }
.ktable-row .kt-r { font-size: 14px; color: var(--ink-2); line-height: 1.8; }
@media (max-width: 700px) {
  .ktable-row { grid-template-columns: 1fr; gap: 6px; padding: 16px 20px; }
  .ktable-row.head { display: none; }
  .ktable-row .kt-l { color: var(--gold-600); font-size: 13.5px; }
}

@media (max-width: 900px) {
  .krow { grid-template-columns: 1fr; gap: 12px; }
  .krow-side { text-align: left; }
  .kconclusion { flex-direction: column; gap: 10px; }
  .ksearch input, .ksearch button { height: 46px; }
}

/* ---------- 23.5 业务领域详情页 · 特性与痛点对照 ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 26px 0 8px; }
.feat-cell {
  background: var(--bg-soft-2); border: 1px solid var(--line-2); border-top: 2px solid var(--gold);
  padding: 22px 20px; border-radius: var(--radius-lg);
}
.feat-cell .fc-k { font-size: 11.5px; letter-spacing: 0.16em; color: var(--gold-600); margin-bottom: 8px; }
.feat-cell h5 { font-family: var(--font-serif); font-size: 16px; font-weight: 600; color: var(--ink); margin: 0 0 8px; line-height: 1.5; }
.feat-cell p { font-size: 13.5px; color: var(--ink-3); line-height: 1.8; margin: 0; }

.pair { border: 1px solid var(--line-2); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 14px; }
.pair-row { display: grid; grid-template-columns: 1fr 1fr; }
.pair-cell { padding: 18px 22px; font-size: 14.5px; line-height: 1.85; }
.pair-cell .pc-k { display: block; font-size: 11.5px; letter-spacing: 0.14em; margin-bottom: 6px; font-weight: 600; }
.pair-pain { background: #FFF8F2; border-right: 1px solid var(--line-2); color: #6E5230; }
.pair-pain .pc-k { color: var(--gold-600); }
.pair-fix { background: #F2F6F1; color: #35543A; }
.pair-fix .pc-k { color: #4B7A46; }
@media (max-width: 760px) {
  .feat-grid { grid-template-columns: 1fr; gap: 12px; }
  .pair-row { grid-template-columns: 1fr; }
  .pair-pain { border-right: 0; border-bottom: 1px solid var(--line-2); }
}

/* ---------- 23.6 首页 · 法律知识更新板块 ---------- */
.kupdate-layout { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.kupdate-list { border-top: 1px solid var(--line-2); }
.kupdate-list .krow { padding: 24px 0; }
.kupdate-list .krow h3 { font-size: 18px; }
.knew-flag {
  display: inline-block; font-size: 11px; letter-spacing: 0.1em; color: #fff;
  background: var(--gold); padding: 2px 7px; border-radius: 2px; margin-left: 8px;
  transform: translateY(-2px);
}
.kupdate-side { display: flex; flex-direction: column; gap: 18px; }
@media (max-width: 1080px) {
  .kupdate-layout { grid-template-columns: 1fr; gap: 36px; }
}

/* ---------- 24. 全局吸底咨询横幅 ---------- */
/* 通栏 CTA：向下滚动出现，滑到底部向右侧收起，向上滑动再次展开 */
.cta-dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  pointer-events: none;
}
/* 横幅向右收起时会溢出视口，抑制横向滚动条（clip 不产生滚动容器，不影响 sticky） */
html, body { overflow-x: clip; }

/* 横幅本体 */
.cta-dock-bar {
  position: relative; pointer-events: auto;
  background: linear-gradient(180deg, var(--navy-800) 0%, var(--navy) 100%);
  box-shadow: 0 -14px 44px rgba(7, 23, 41, 0.24);
  transform: translateX(0);
  transition: transform 0.6s cubic-bezier(0.22, 0.85, 0.2, 1), opacity 0.35s ease, visibility 0.35s;
  will-change: transform;
}
.cta-dock-bar::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold-600) 0%, var(--gold-300) 45%, var(--gold-600) 100%);
}
.cta-dock-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 15px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 26px;
}
.cta-dock-copy { display: flex; align-items: center; gap: 16px; min-width: 0; }
.cta-dock-badge {
  flex-shrink: 0; font-size: 11.5px; letter-spacing: 0.14em; color: var(--gold-300);
  border: 1px solid rgba(180, 145, 79, 0.45); background: rgba(180, 145, 79, 0.1);
  border-radius: var(--radius); padding: 5px 10px; white-space: nowrap;
}
.cta-dock-text { min-width: 0; }
.cta-dock-text strong {
  display: block; font-family: var(--font-serif); font-weight: 600;
  font-size: 18px; letter-spacing: 0.01em; color: #fff; line-height: 1.35;
}
.cta-dock-text span {
  display: block; font-size: 13px; color: rgba(255, 255, 255, 0.58);
  margin-top: 3px; letter-spacing: 0.02em;
}
.cta-dock-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.cta-dock .btn { height: 44px; padding: 0 22px; font-size: 14px; }
.cta-dock-close {
  width: 34px; height: 34px; flex-shrink: 0; display: grid; place-items: center;
  background: transparent; border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%; color: rgba(255, 255, 255, 0.6); cursor: pointer;
  transition: color 0.25s, border-color 0.25s, transform 0.25s;
}
.cta-dock-close:hover { color: var(--gold-300); border-color: var(--gold); transform: rotate(90deg); }

/* 收起后露出的悬浮按钮 */
.cta-dock-knob {
  position: absolute; right: 22px; bottom: 16px; z-index: 2;
  pointer-events: auto; width: 60px; height: 60px; border: 0; border-radius: 50%;
  background: linear-gradient(160deg, var(--gold) 0%, var(--gold-600) 100%);
  color: #fff; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  box-shadow: 0 12px 28px rgba(7, 23, 41, 0.34);
  opacity: 0; visibility: hidden; transform: translateX(30px) scale(0.86);
  transition: opacity 0.3s ease, transform 0.45s cubic-bezier(0.22, 0.85, 0.2, 1), visibility 0.3s;
}
.cta-dock-knob .knob-label { font-size: 11.5px; letter-spacing: 0.06em; line-height: 1; }
.cta-dock-knob:hover { transform: translateX(0) scale(1.04); }

/* 三种状态 */
.cta-dock.is-idle .cta-dock-bar { transform: translateY(26px); opacity: 0; visibility: hidden; }
.cta-dock.is-open .cta-dock-bar { transform: translateX(0) translateY(0); opacity: 1; visibility: visible; }
.cta-dock.is-collapsed .cta-dock-bar { transform: translateX(101%); pointer-events: none; }
.cta-dock.is-collapsed .cta-dock-knob { opacity: 1; visibility: visible; transform: translateX(0) scale(1); }

/* 页脚避让：展开时留出横幅高度，收起后还原 */
body.has-cta-dock footer { padding-bottom: 96px; transition: padding-bottom 0.5s ease; }
body.has-cta-dock.dock-collapsed footer { padding-bottom: 30px; }

@media (max-width: 900px) {
  .cta-dock-inner { padding: 12px 16px; gap: 12px; }
  .cta-dock-badge { display: none; }
  .cta-dock-text span { display: none; }
  .cta-dock-text strong { font-size: 15.5px; }
  .cta-dock .btn { height: 40px; padding: 0 15px; font-size: 13px; }
  .cta-dock-close { display: none; }
  .cta-dock-knob { right: 14px; bottom: 14px; width: 54px; height: 54px; }
  body.has-cta-dock footer { padding-bottom: 104px; }
}
@media (max-width: 520px) {
  .cta-dock-text strong { font-size: 14px; }
  .cta-dock-inner { gap: 10px; }
  .cta-dock-actions { gap: 8px; }
  .cta-dock .btn { padding: 0 12px; }
}

/* 锚点定位时预留顶栏高度，点击目录跳转后标题不会被吸顶导航盖住 */
.article-body h2, .article-body h3 { scroll-margin-top: calc(var(--header-h) + 26px); }

/* ---------- 18d. 内容页侧栏：热门文章 / 律师推荐 / 图文相关阅读 ---------- */
.hot-list { margin-top: -4px; }
.hot-item { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; border-bottom: 1px solid var(--line-2); }
.hot-list .hot-item:last-child { border-bottom: 0; }
.hot-num { flex: 0 0 18px; font-family: var(--font-serif); font-size: 13px; color: var(--gold-600); line-height: 1.7; }
.hot-txt { font-size: 14px; color: var(--ink-2); line-height: 1.65; }
.hot-item:hover .hot-txt { color: var(--gold-600); }

.lawyer-mini { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.lawyer-mini:last-of-type { border-bottom: 0; margin-bottom: 4px; }
.lawyer-mini .member-avatar { width: 52px; flex-shrink: 0; }
.lawyer-mini .member-avatar .initials { font-size: 20px; }
.lawyer-mini strong { display: block; font-size: 15px; color: var(--ink); margin-bottom: 3px; }
.lawyer-mini span { font-size: 12.5px; color: var(--gold-600); }
.lawyer-mini:hover strong { color: var(--gold-600); }

.side-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.side-tags a { font-size: 13px; padding: 6px 13px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink-2); transition: all 0.25s var(--ease); }
.side-tags a:hover { border-color: var(--gold-300); background: var(--gold-100); color: var(--gold-600); }

.related-box { margin-top: 48px; padding-top: 34px; border-top: 1px solid var(--line-2); }
.side-title { font-size: 20px; margin-bottom: 24px; padding-left: 14px; border-left: 2px solid var(--gold); }
.rel-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.rel-card {
  display: grid; grid-template-columns: 168px 1fr; gap: 24px; align-items: center;
  padding: 16px 18px; background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.rel-card:hover { border-color: var(--gold-300); box-shadow: var(--shadow-sm); }
.rel-thumb {
  aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(160deg, #DCE3EC, #C6D1DE);
  display: grid; place-items: center;
}
.rel-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rel-initial { font-family: var(--font-serif); font-size: 26px; color: rgba(11, 35, 64, 0.3); }
.rel-body strong { display: block; font-size: 15.5px; color: var(--ink); line-height: 1.6; margin-bottom: 6px; }
.rel-card:hover .rel-body strong { color: var(--gold-600); }
.rel-body p {
  font-size: 13px; color: var(--ink-3); line-height: 1.75; margin-bottom: 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.rel-date { font-size: 12px; color: var(--ink-3); }

@media (max-width: 760px) {
  .rel-card { grid-template-columns: 118px 1fr; gap: 16px; padding: 12px 14px; }
}
@media (max-width: 520px) {
  .rel-card { grid-template-columns: 96px 1fr; gap: 14px; padding: 12px; }
  .rel-body p { font-size: 12.5px; }
  .side-title { font-size: 18px; }
}

/* ---------- 18e. 案例相关阅读：一行一条（标题 + 描述 + 案由 / 审理法院） ---------- */
.rel-list { display: grid; gap: 14px; }
.rel-row {
  display: block; padding: 20px 24px; background: #fff;
  border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.rel-row:hover { border-color: var(--gold-300); box-shadow: var(--shadow-sm); }
.rel-row-title { display: block; font-size: 17px; line-height: 1.6; color: var(--ink); margin-bottom: 8px; }
.rel-row:hover .rel-row-title { color: var(--gold-600); }
.rel-row-desc {
  font-size: 13.5px; line-height: 1.8; color: var(--ink-3); margin-bottom: 14px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.rel-row-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.rel-tag {
  font-size: 12.5px; padding: 4px 12px; border-radius: 999px;
  background: var(--gold-100); color: var(--gold-600);
}
.rel-row-meta .rel-date { margin-left: auto; }
@media (max-width: 600px) {
  .rel-row { padding: 16px 18px; }
  .rel-row-title { font-size: 16px; }
  .rel-row-meta .rel-date { margin-left: 0; }
}

/* ---------- 18f. 窄屏头部适配：logo 可收缩 + 预约按钮转圆形电话图标 ---------- */
.header-cta-btn { display: inline-flex; align-items: center; gap: 8px; }
.header-cta-btn .cta-ic { flex-shrink: 0; }

@media (max-width: 900px) {
  .header-inner { gap: 16px; }
  .logo { flex-shrink: 1; min-width: 0; }
  .logo-img { height: 38px; }
  .logo-text { min-width: 0; }
  .logo-text strong { font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .nav-toggle { flex-shrink: 0; }
  .header-cta { gap: 10px; }
  /* 顶栏在窄屏已隐藏，下拉菜单需紧贴页头，否则上方会露出 38px 空隙 */
  .main-nav { top: var(--header-h); }
}
@media (max-width: 680px) {
  .logo-text small { display: none; }
}
@media (max-width: 560px) {
  .header-cta .btn-label { display: none; }
  .header-cta-btn { width: 40px; height: 40px; padding: 0; gap: 0; border-radius: 50%; }
  .logo-img { height: 32px; }
  .logo-img--footer { height: 44px; }
  .logo-mark { width: 36px; height: 36px; font-size: 16px; }
  .logo-text strong { font-size: 16px; letter-spacing: 0.03em; }
}
@media (max-width: 400px) {
  .logo-mark { width: 34px; height: 34px; }
  .logo-img { height: 29px; }
  .logo-text strong { font-size: 15px; }
}
@media (max-width: 360px) {
  .logo-text strong { font-size: 14px; }
  .nav-toggle { width: 40px; height: 40px; }
}

/* ---------- 18g. GEO / 语义增强：结论锚点、关键词区、要点框 ---------- */
#answer { scroll-margin-top: calc(var(--header-h) + 20px); }

/* 文末关键词区：显式暴露实体与主题词，便于搜索与 AI 抽取 */
.article-tags {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin-top: 44px; padding: 20px 22px;
  background: var(--bg-soft-2); border-radius: var(--radius-lg);
}
.article-tags .at-label {
  font-size: 12.5px; color: var(--ink-3); letter-spacing: 0.06em; margin-right: 4px;
}
.article-tags a {
  font-size: 13px; color: var(--navy); background: #fff;
  border: 1px solid var(--line-2); border-radius: 999px;
  padding: 5px 14px; transition: color 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.article-tags a:hover { color: #fff; background: var(--navy); border-color: var(--navy); }

/* 要点框：结论性短段落，GEO 场景下最容易被引用 */
.article-body .key-takeaways {
  background: #fff; border: 1px solid var(--gold-300);
  border-left: 3px solid var(--gold); border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 22px 26px; margin: 0 0 30px;
}
.article-body .key-takeaways .kt-title {
  font-size: 14px; color: var(--gold-600); letter-spacing: 0.08em;
  margin-bottom: 12px; font-weight: 600;
}
.article-body .key-takeaways ul { margin: 0; padding-left: 20px; }
.article-body .key-takeaways li { margin-bottom: 8px; }
.article-body .key-takeaways ol { counter-reset: kt; list-style: none; padding-left: 24px; margin: 0; }
.article-body .key-takeaways ol li { position: relative; counter-increment: kt; }
.article-body .key-takeaways ol li::before {
  content: counter(kt); position: absolute; left: -24px; top: 2px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--gold); color: #fff; font-size: 11px; line-height: 18px; text-align: center;
}

/* 常见问题小节（对应 FAQPage 结构化数据） */
.article-body h2 + h3 { margin-top: 20px; }

@media (max-width: 600px) {
  .article-tags { padding: 16px 18px; }
  .article-body .key-takeaways { padding: 18px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .cta-dock-bar, .cta-dock-knob, .cta-dock-close,
  body.has-cta-dock footer { transition: none; }
}
