/* ============================================================
   上海盛沃律师事务所 · 帮信罪辩护专题站
   视觉系统：墨蓝 × 鎏金 × 宣纸暖白 · 锐利边角 · 原生 CSS3
   ============================================================ */

:root {
  /* 主色族：墨蓝（大面积深色场） */
  --ink-900: #071120;
  --ink-800: #0C1B30;
  --ink-700: #122844;
  --ink-600: #1B3A5F;
  --ink-500: #27507E;

  /* 鎏金主强调 */
  --gold-600: #A9873F;
  --gold-500: #C8A45D;
  --gold-400: #DDBB77;
  --gold-300: #EFD9A7;

  /* 语义与点缀色 */
  --cinnabar: #B23A2F;   /* 危险 / 刑事警示（朱砂） */
  --azure: #2F6DAE;      /* 信息（青金） */
  --jade: #2F7D5B;       /* 成功 / 从宽（松绿） */
  --amber: #C77F2E;      /* 警告（琥珀） */

  /* 中性：暖纸 / 冷灰分层 */
  --paper: #F6F3EB;
  --paper-2: #EDE8DC;
  --card: #FFFFFF;
  --cool: #E9EEF3;
  --line: #DFD8C6;
  --line-dark: rgba(200, 164, 93, 0.28);
  --text: #1E2A38;
  --muted: #5C6B7A;
  --muted-light: #A7B4C4;
  --scrim: rgba(7, 17, 32, 0.72);

  --font-serif: "Noto Serif SC", "Source Han Serif SC", "STZhongsong", "SimSun", serif;
  --font-sans: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;

  --header-h: 76px;
  --topbar-h: 34px;
  --shadow-1: 0 2px 10px rgba(7, 17, 32, 0.06);
  --shadow-2: 0 14px 40px rgba(7, 17, 32, 0.14);
  --shadow-gold: 0 10px 30px rgba(200, 164, 93, 0.22);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--paper);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }
strong { font-weight: 700; }
::selection { background: var(--gold-500); color: var(--ink-900); }

/* ---------- 站点自有滚动条 ---------- */
html { scrollbar-width: thin; scrollbar-color: var(--gold-600) var(--ink-800); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ink-800); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--gold-500), var(--gold-600)); border: 2px solid var(--ink-800); }
::-webkit-scrollbar-thumb:hover { background: var(--gold-400); }

.container { width: min(1200px, 92%); margin-inline: auto; }

/* 锚点定位避开固定导航 */
section[id], article[id], div[id="faq"], h2[id], h3[id] { scroll-margin-top: calc(var(--header-h) + 36px); }

/* ---------- 通用按钮：切角造型 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 30px;
  font-size: 15px; font-weight: 700; letter-spacing: 0.06em;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn-gold { background: linear-gradient(135deg, var(--gold-400), var(--gold-500) 55%, var(--gold-600)); color: var(--ink-900); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.btn-ghost { box-shadow: inset 0 0 0 1px var(--gold-500); color: var(--gold-400); background: rgba(200,164,93,0.06); }
.btn-ghost:hover { background: rgba(200,164,93,0.16); transform: translateY(-2px); }
.btn-ink { background: var(--ink-800); color: var(--gold-300); }
.btn-ink:hover { background: var(--ink-700); transform: translateY(-2px); box-shadow: var(--shadow-2); }
.btn-sm { padding: 10px 20px; font-size: 13px; }
.btn-block { width: 100%; }

/* ---------- 顶部信息条 + 固定导航 ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 900;
  background: rgba(7, 17, 32, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-dark);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: 0 8px 30px rgba(7, 17, 32, 0.45); }
.header-top {
  height: var(--topbar-h);
  background: linear-gradient(90deg, var(--ink-900), var(--ink-700) 50%, var(--ink-900));
  border-bottom: 1px solid rgba(200,164,93,0.14);
  font-size: 12px; color: var(--muted-light);
  overflow: hidden; transition: height 0.3s ease, opacity 0.3s ease;
}
.site-header.scrolled .header-top { height: 0; opacity: 0; border-bottom: 0; }
.header-top-inner { height: var(--topbar-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.header-top-inner .ht-brand { letter-spacing: 0.12em; }
.header-top-inner .ht-tel { display: flex; align-items: center; gap: 8px; }
.header-top-inner .ht-tel a { color: var(--gold-400); font-weight: 700; letter-spacing: 0.05em; }
.header-top-inner .ht-tel svg { width: 13px; height: 13px; stroke: var(--gold-500); }

.header-main { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand-mark { width: 46px; height: 46px; flex: none; }
.brand-text { display: flex; flex-direction: column; justify-content: center; line-height: 1.3; }
.brand-text strong { font-family: var(--font-serif); font-size: 21px; color: #F3EAD8; letter-spacing: 0.1em; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav a {
  position: relative; display: block; padding: 10px 13px;
  font-size: 15px; color: #D8DFE8; letter-spacing: 0.04em;
  transition: color 0.25s ease;
}
.main-nav a::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px;
  background: linear-gradient(90deg, var(--gold-400), var(--gold-600));
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease;
}
.main-nav a:hover { color: var(--gold-300); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--gold-400); font-weight: 700; }
.header-cta { flex: none; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 10px; margin-left: auto; }
.nav-toggle span { width: 24px; height: 2px; background: var(--gold-400); transition: transform 0.3s ease, opacity 0.3s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + var(--topbar-h) + 56px) 0 90px;
  background:
    radial-gradient(1100px 600px at 82% 12%, rgba(200,164,93,0.16), transparent 60%),
    radial-gradient(900px 700px at 8% 90%, rgba(47,109,174,0.20), transparent 62%),
    linear-gradient(160deg, var(--ink-900) 0%, var(--ink-800) 46%, var(--ink-700) 100%);
  color: #EDF1F6;
  overflow: hidden;
}
.hero-grid-lines {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image:
    linear-gradient(rgba(200,164,93,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,164,93,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(80% 80% at 50% 40%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(80% 80% at 50% 40%, #000 30%, transparent 100%);
}
.hero-grain {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.25fr 0.9fr; gap: 64px; align-items: center; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; letter-spacing: 0.3em; color: var(--gold-400);
  margin-bottom: 22px;
}
.hero-kicker::before { content: ""; width: 44px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-500)); }
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(38px, 5.2vw, 64px);
  line-height: 1.22; font-weight: 900; letter-spacing: 0.02em;
  color: #F5EFE2;
}
.hero h1 .em-gold {
  background: linear-gradient(120deg, var(--gold-300), var(--gold-500) 60%, var(--gold-600));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { margin-top: 22px; max-width: 560px; font-size: 17px; color: var(--muted-light); }
.hero-sub strong { color: #E8DDC5; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; font-size: 13px; color: var(--muted-light); }
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 15px; height: 15px; stroke: var(--gold-500); flex: none; }

.hero-visual { position: relative; display: flex; flex-direction: column; align-items: center; gap: 26px; }
.hero-shield { width: min(300px, 64%); filter: drop-shadow(0 24px 60px rgba(200,164,93,0.28)); animation: shieldFloat 7s ease-in-out infinite; }
@keyframes shieldFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; width: 100%; }
.hero-stat {
  padding: 16px 14px; text-align: center;
  background: rgba(12,27,48,0.66);
  border: 1px solid var(--line-dark);
  border-top: 2px solid var(--gold-500);
}
.hero-stat b { display: block; font-family: var(--font-serif); font-size: 24px; color: var(--gold-400); line-height: 1.2; }
.hero-stat span { font-size: 12px; color: var(--muted-light); letter-spacing: 0.05em; }

/* 跑马灯法条带 */
.ticker {
  position: relative; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark);
  background: var(--ink-900); overflow: hidden; padding: 13px 0;
}
.ticker-track { display: flex; gap: 56px; width: max-content; animation: tickerMove 36s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span { display: flex; align-items: center; gap: 56px; font-size: 13px; letter-spacing: 0.18em; color: var(--gold-500); white-space: nowrap; }
.ticker-track span::after { content: ""; width: 6px; height: 6px; background: var(--gold-600); transform: rotate(45deg); flex: none; }
@keyframes tickerMove { to { transform: translateX(-50%); } }

/* ---------- 章节骨架 ---------- */
.section { padding: 96px 0; position: relative; }
.section.alt { background: var(--paper-2); }
.section.dark { background: linear-gradient(165deg, var(--ink-900), var(--ink-800) 60%, var(--ink-700)); color: #E7ECF2; }
.section-head { max-width: 760px; margin-bottom: 54px; }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.3em; color: var(--gold-600);
  margin-bottom: 14px;
}
.kicker .num { font-family: var(--font-serif); font-size: 15px; color: var(--cinnabar); letter-spacing: 0.05em; }
.kicker::after { content: ""; width: 44px; height: 1px; background: linear-gradient(90deg, var(--gold-500), transparent); }
.section-head.center .kicker::before { content: ""; width: 44px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-500)); }
.section.dark .kicker { color: var(--gold-400); }
.section-title { font-family: var(--font-serif); font-size: clamp(28px, 3.4vw, 40px); font-weight: 900; line-height: 1.3; color: var(--ink-800); }
.section.dark .section-title { color: #F3EAD8; }
.section-lead { margin-top: 16px; color: var(--muted); font-size: 16px; }
.section.dark .section-lead { color: var(--muted-light); }

/* ---------- 法条引用块 ---------- */
.law-quote {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold-500);
  padding: 28px 30px 22px;
  box-shadow: var(--shadow-1);
}
.law-quote::before {
  content: "法"; position: absolute; top: -14px; left: 22px;
  width: 28px; height: 28px; display: grid; place-items: center;
  background: var(--cinnabar); color: #F6EFE2;
  font-family: var(--font-serif); font-size: 15px; font-weight: 700;
}
.law-quote p { font-family: var(--font-serif); font-size: 16.5px; line-height: 2; color: var(--ink-700); }
.law-quote .law-source { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 13px; color: var(--muted); }
.law-quote .law-source b { color: var(--cinnabar); font-weight: 700; }
.section.dark .law-quote { background: rgba(12,27,48,0.6); border-color: var(--line-dark); }
.section.dark .law-quote p { color: #E4DCC8; }
.section.dark .law-quote .law-source { border-top-color: var(--line-dark); color: var(--muted-light); }

/* ---------- 卡片 ---------- */
.card-grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative; background: var(--card);
  border: 1px solid var(--line);
  padding: 30px 26px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-600) 60%, transparent);
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); border-color: var(--gold-500); }
.card:hover::before { transform: scaleX(1); }
.card-icon {
  width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(150deg, var(--ink-800), var(--ink-600));
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
.card-icon svg { width: 26px; height: 26px; stroke: var(--gold-400); }
.card h3 { font-family: var(--font-serif); font-size: 20px; color: var(--ink-800); margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--muted); }
.card .card-note { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 12.5px; color: var(--gold-600); }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 13.5px; font-weight: 700; color: var(--azure); }
.card-link svg { width: 14px; height: 14px; stroke: currentColor; transition: transform 0.25s ease; }
.card-link:hover svg { transform: translateX(4px); }

.tag {
  display: inline-block; padding: 3px 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  border: 1px solid currentColor;
}
.tag-danger { color: var(--cinnabar); background: rgba(178,58,47,0.07); }
.tag-warn { color: var(--amber); background: rgba(199,127,46,0.08); }
.tag-info { color: var(--azure); background: rgba(47,109,174,0.07); }
.tag-ok { color: var(--jade); background: rgba(47,125,91,0.08); }
.tag-gold { color: var(--gold-600); background: rgba(200,164,93,0.10); }

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow-1); }
.table-wrap::-webkit-scrollbar { height: 8px; }
.table-wrap::-webkit-scrollbar-track { background: var(--paper-2); }
.table-wrap::-webkit-scrollbar-thumb { background: var(--gold-500); border: 0; }
table.data-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.data-table caption { text-align: left; padding: 16px 20px 0; font-size: 13px; color: var(--muted); }
.data-table th {
  background: linear-gradient(150deg, var(--ink-800), var(--ink-700));
  color: var(--gold-300); font-size: 14px; letter-spacing: 0.08em;
  padding: 14px 18px; text-align: left; font-weight: 700; white-space: nowrap;
}
.data-table td { padding: 14px 18px; font-size: 14.5px; border-top: 1px solid var(--line); vertical-align: top; }
.data-table tbody tr:nth-child(even) { background: #FBF9F3; }
.data-table tbody tr:hover { background: rgba(200,164,93,0.10); }
.data-table td b { color: var(--cinnabar); }
.table-source { margin-top: 12px; font-size: 12.5px; color: var(--muted); }
.table-source b { color: var(--gold-600); }

/* ---------- 双栏要点 ---------- */
.split-points { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.point-panel { background: var(--card); border: 1px solid var(--line); padding: 30px 28px; }
.point-panel.tone-red { border-top: 4px solid var(--cinnabar); }
.point-panel.tone-green { border-top: 4px solid var(--jade); }
.point-panel.tone-blue { border-top: 4px solid var(--azure); }
.point-panel.tone-gold { border-top: 4px solid var(--gold-500); }
.point-panel h3 { font-family: var(--font-serif); font-size: 21px; color: var(--ink-800); margin-bottom: 6px; }
.point-panel .panel-sub { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.point-list li { display: flex; gap: 12px; padding: 11px 0; border-top: 1px dashed var(--line); font-size: 14.5px; }
.point-list li:first-child { border-top: 0; }
.point-list svg { width: 18px; height: 18px; flex: none; margin-top: 4px; }
.point-list .i-check { stroke: var(--jade); }
.point-list .i-shield { stroke: var(--cinnabar); }
.point-list .i-scale { stroke: var(--azure); }
.point-list b { color: var(--ink-700); }
.point-list p { color: var(--muted); font-size: 13.5px; }

/* ---------- 时间轴 / 流程 ---------- */
.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 10px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(180deg, var(--gold-500), var(--ink-600)); }
.timeline-item { position: relative; padding: 0 0 34px 18px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ""; position: absolute; left: -30px; top: 8px; width: 12px; height: 12px;
  background: var(--paper); border: 3px solid var(--gold-500); transform: rotate(45deg);
}
.timeline-item h3 { font-family: var(--font-serif); font-size: 19px; color: var(--ink-800); }
.timeline-item .tl-meta { font-size: 12.5px; color: var(--cinnabar); font-weight: 700; letter-spacing: 0.1em; margin-bottom: 4px; }
.timeline-item p { margin-top: 6px; font-size: 14.5px; color: var(--muted); }
.section.dark .timeline-item h3 { color: #F3EAD8; }
.section.dark .timeline-item p { color: var(--muted-light); }
.section.dark .timeline-item::before { background: var(--ink-800); }

.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: step; }
.step {
  position: relative; padding: 26px 22px 26px 26px;
  background: rgba(12,27,48,0.55); border: 1px solid var(--line-dark); border-left: 0;
}
.step:first-child { border-left: 1px solid var(--line-dark); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-family: var(--font-serif); font-size: 30px; font-weight: 900;
  color: transparent; -webkit-text-stroke: 1px var(--gold-500); margin-bottom: 10px;
}
.step::after {
  content: ""; position: absolute; top: 50%; right: -7px; z-index: 2;
  width: 12px; height: 12px; transform: translateY(-50%) rotate(45deg);
  background: var(--gold-500);
}
.step:last-child::after { display: none; }
.step h3 { font-size: 16.5px; color: var(--gold-300); font-family: var(--font-serif); margin-bottom: 8px; }
.step p { font-size: 13px; color: var(--muted-light); line-height: 1.7; }

/* ---------- FAQ 手风琴（原生 details） ---------- */
.faq-list { display: grid; gap: 14px; }
.faq-item { background: var(--card); border: 1px solid var(--line); transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.faq-item[open] { border-color: var(--gold-500); box-shadow: var(--shadow-1); }
.faq-item summary {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 24px; cursor: pointer; list-style: none;
  font-family: var(--font-serif); font-size: 17px; font-weight: 700; color: var(--ink-800);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .q-mark {
  flex: none; width: 30px; height: 30px; display: grid; place-items: center;
  background: var(--ink-800); color: var(--gold-400);
  font-family: var(--font-serif); font-size: 15px;
}
.faq-item summary .chev { margin-left: auto; flex: none; width: 18px; height: 18px; stroke: var(--gold-600); transition: transform 0.3s ease; }
.faq-item[open] summary .chev { transform: rotate(180deg); }
.faq-item[open] summary { border-bottom: 1px dashed var(--line); }
.faq-answer { padding: 20px 24px 24px 70px; font-size: 14.5px; color: var(--muted); }
.faq-answer p + p { margin-top: 10px; }
.faq-answer .law-ref { display: block; margin-top: 12px; font-size: 12.5px; color: var(--gold-600); }
.faq-answer b { color: var(--ink-700); }

/* ---------- 子页面 Hero ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + var(--topbar-h) + 64px) 0 64px;
  background:
    radial-gradient(900px 420px at 88% 0%, rgba(200,164,93,0.15), transparent 60%),
    radial-gradient(700px 420px at 0% 100%, rgba(47,109,174,0.18), transparent 60%),
    linear-gradient(155deg, var(--ink-900), var(--ink-800) 55%, var(--ink-700));
  color: #EDF1F6; overflow: hidden;
}
.page-hero .hero-grid-lines { opacity: 0.4; }
.breadcrumb { position: relative; display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted-light); margin-bottom: 22px; }
.breadcrumb a { color: var(--gold-400); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { color: var(--gold-600); }
.page-hero h1 { position: relative; font-family: var(--font-serif); font-size: clamp(30px, 4vw, 46px); font-weight: 900; color: #F5EFE2; line-height: 1.3; }
.page-hero .page-lead { position: relative; margin-top: 16px; max-width: 780px; color: var(--muted-light); font-size: 16px; }
.page-meta { position: relative; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.page-meta span {
  padding: 5px 14px; font-size: 12.5px; letter-spacing: 0.08em;
  color: var(--gold-300); border: 1px solid var(--line-dark); background: rgba(200,164,93,0.07);
}

/* ---------- 子页正文布局 ---------- */
.page-body { padding: 72px 0 96px; }
.page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
.page-content > section { margin-bottom: 64px; }
.page-content > section:last-child { margin-bottom: 0; }
.content-h2 {
  display: flex; align-items: baseline; gap: 14px;
  font-family: var(--font-serif); font-size: 27px; font-weight: 900; color: var(--ink-800);
  padding-bottom: 14px; margin-bottom: 24px; border-bottom: 2px solid var(--line);
  position: relative;
}
.content-h2::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 88px; height: 2px; background: var(--gold-500); }
.content-h2 .h2-num { font-size: 15px; color: var(--cinnabar); letter-spacing: 0.1em; }
.content-h3 { font-family: var(--font-serif); font-size: 19px; color: var(--ink-700); margin: 26px 0 12px; }
.prose p { margin-bottom: 14px; font-size: 15.5px; color: #33414F; }
.prose p b, .prose li b { color: var(--ink-800); }
.prose .hl { color: var(--cinnabar); font-weight: 700; }
.prose ul.dash-list { margin: 0 0 16px; }
.prose ul.dash-list li { position: relative; padding: 6px 0 6px 22px; font-size: 15px; color: #33414F; }
.prose ul.dash-list li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 10px; height: 2px; background: var(--gold-500); }
.prose ol.num-list { counter-reset: nlist; margin-bottom: 16px; }
.prose ol.num-list li { position: relative; counter-increment: nlist; padding: 8px 0 8px 40px; font-size: 15px; color: #33414F; }
.prose ol.num-list li::before {
  content: counter(nlist, decimal-leading-zero); position: absolute; left: 0; top: 9px;
  font-family: var(--font-serif); font-weight: 900; font-size: 15px; color: var(--gold-600);
}
.callout {
  display: flex; gap: 14px; padding: 18px 20px; margin: 20px 0;
  border: 1px solid var(--line); border-left: 4px solid var(--azure);
  background: rgba(47,109,174,0.05); font-size: 14px; color: #33414F;
}
.callout.warn { border-left-color: var(--amber); background: rgba(199,127,46,0.06); }
.callout.danger { border-left-color: var(--cinnabar); background: rgba(178,58,47,0.05); }
.callout.ok { border-left-color: var(--jade); background: rgba(47,125,91,0.06); }
.callout svg { width: 20px; height: 20px; flex: none; margin-top: 3px; }
.callout.warn svg { stroke: var(--amber); }
.callout.danger svg { stroke: var(--cinnabar); }
.callout.ok svg { stroke: var(--jade); }
.callout svg { stroke: var(--azure); }

/* ---------- 侧栏 ---------- */
.page-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 22px; }
.aside-box { background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.aside-box .aside-title {
  padding: 14px 20px; font-family: var(--font-serif); font-size: 16px; font-weight: 700;
  color: var(--gold-300); background: linear-gradient(150deg, var(--ink-800), var(--ink-700));
  border-bottom: 2px solid var(--gold-500);
}
.toc-list { padding: 10px 0; }
.toc-list a { display: flex; gap: 10px; padding: 9px 20px; font-size: 13.5px; color: var(--muted); border-left: 3px solid transparent; transition: all 0.25s ease; }
.toc-list a:hover { color: var(--ink-800); background: rgba(200,164,93,0.08); border-left-color: var(--gold-500); }
.toc-list a .toc-num { font-family: var(--font-serif); color: var(--gold-600); font-weight: 700; }
.aside-contact { padding: 22px 20px; background: linear-gradient(160deg, var(--ink-800), var(--ink-700)); border: 1px solid var(--line-dark); color: var(--muted-light); }
.aside-contact h3 { font-family: var(--font-serif); color: #F3EAD8; font-size: 18px; margin-bottom: 6px; }
.aside-contact .ac-sub { font-size: 12.5px; margin-bottom: 16px; }
.aside-contact .ac-tel { display: flex; align-items: center; gap: 10px; font-family: var(--font-serif); font-size: 22px; font-weight: 900; color: var(--gold-400); margin-bottom: 4px; }
.aside-contact .ac-tel svg { width: 20px; height: 20px; stroke: var(--gold-500); }
.aside-contact .ac-hours { font-size: 12px; color: var(--muted-light); margin-bottom: 18px; }
.aside-links { padding: 8px 0; }
.aside-links a { display: flex; align-items: center; justify-content: space-between; padding: 11px 20px; font-size: 13.5px; color: var(--muted); border-top: 1px dashed var(--line); transition: all 0.25s ease; }
.aside-links a:first-child { border-top: 0; }
.aside-links a:hover { color: var(--cinnabar); padding-left: 26px; }
.aside-links svg { width: 13px; height: 13px; stroke: var(--gold-600); }

/* ---------- 案例卡 ---------- */
.case-card { background: var(--card); border: 1px solid var(--line); padding: 30px 28px; position: relative; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.case-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); }
.case-card .case-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.case-card h3 { font-family: var(--font-serif); font-size: 19px; color: var(--ink-800); }
.case-card .case-facts { font-size: 14px; color: var(--muted); padding-bottom: 14px; border-bottom: 1px dashed var(--line); }
.case-card .case-facts b { color: var(--ink-700); }
.case-card .case-result { display: flex; gap: 10px; margin-top: 14px; font-size: 14px; }
.case-card .case-result svg { width: 18px; height: 18px; flex: none; margin-top: 4px; stroke: var(--jade); }
.case-card .case-result b { color: var(--jade); }
.case-card .case-key { margin-top: 12px; font-size: 13px; color: var(--gold-600); }

/* ---------- 对比表 / 罪名区分 ---------- */
.vs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

/* ---------- CTA 大横幅 ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band .cta-inner {
  position: relative; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center;
}
.cta-band h2 { font-family: var(--font-serif); font-size: clamp(26px, 3.2vw, 38px); font-weight: 900; color: #F3EAD8; line-height: 1.4; }
.cta-band .cta-sub { margin-top: 14px; color: var(--muted-light); font-size: 15px; }
.cta-tel-big {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 26px;
  font-family: var(--font-serif); font-size: clamp(30px, 4vw, 46px); font-weight: 900;
  color: var(--gold-400); letter-spacing: 0.03em; transition: color 0.25s ease;
}
.cta-tel-big:hover { color: var(--gold-300); }
.cta-tel-big svg { width: 34px; height: 34px; stroke: var(--gold-500); animation: ring 2.6s ease-in-out infinite; }
@keyframes ring { 0%, 86%, 100% { transform: rotate(0); } 88% { transform: rotate(-12deg); } 92% { transform: rotate(10deg); } 96% { transform: rotate(-6deg); } }
.cta-info-card { background: rgba(12,27,48,0.6); border: 1px solid var(--line-dark); border-top: 3px solid var(--gold-500); padding: 28px; }
.cta-info-card li { display: flex; gap: 12px; padding: 10px 0; font-size: 14px; color: var(--muted-light); border-top: 1px dashed var(--line-dark); }
.cta-info-card li:first-child { border-top: 0; }
.cta-info-card svg { width: 18px; height: 18px; stroke: var(--gold-500); flex: none; margin-top: 4px; }
.cta-info-card b { color: #E8DDC5; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--ink-900); color: var(--muted-light); border-top: 3px solid var(--gold-600); }
.footer-main { display: grid; grid-template-columns: 1.3fr 0.8fr 1fr 1fr; gap: 44px; padding: 64px 0 48px; }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { font-size: 13.5px; line-height: 1.9; }
.footer-col h3 { font-family: var(--font-serif); font-size: 16px; color: var(--gold-400); margin-bottom: 18px; letter-spacing: 0.1em; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 13.5px; transition: color 0.25s ease, padding-left 0.25s ease; }
.footer-col a:hover { color: var(--gold-300); padding-left: 6px; }
.footer-contact li { display: flex; gap: 10px; font-size: 13.5px; margin-bottom: 14px; line-height: 1.7; }
.footer-contact svg { width: 16px; height: 16px; stroke: var(--gold-500); flex: none; margin-top: 5px; }
.footer-contact a { color: var(--gold-400); font-weight: 700; }
.footer-note { border-top: 1px solid rgba(200,164,93,0.16); padding: 20px 0; font-size: 12px; color: #6E7E90; }
.footer-note .container { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* ---------- 返回顶部 ---------- */
.back-top {
  position: fixed; right: 26px; bottom: 90px; z-index: 800;
  width: 46px; height: 46px; display: grid; place-items: center;
  background: var(--ink-800); border: 1px solid var(--gold-500);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: all 0.3s ease;
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--gold-500); }
.back-top svg { width: 18px; height: 18px; stroke: var(--gold-400); }
.back-top:hover svg { stroke: var(--ink-900); }

/* ---------- 移动端底部快捷栏 ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 850;
  display: none; grid-template-columns: 1fr 1fr;
  background: var(--ink-900); border-top: 2px solid var(--gold-500);
}
.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 8px; font-size: 14px; font-weight: 700; }
.mobile-bar a svg { width: 16px; height: 16px; }
.mobile-bar .mb-tel { background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); color: var(--ink-900); }
.mobile-bar .mb-tel svg { stroke: var(--ink-900); }
.mobile-bar .mb-home { color: var(--gold-300); }
.mobile-bar .mb-home svg { stroke: var(--gold-400); }

/* ---------- 入场动效 ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-shield, .ticker-track, .cta-tel-big svg { animation: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .main-nav a { padding: 10px 9px; font-size: 14px; }
  .header-cta { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { flex-direction: row; justify-content: flex-start; }
  .hero-shield { width: 180px; }
  .hero-stats { flex: 1; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step { border-left: 1px solid var(--line-dark); }
  .step::after { display: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .page-layout { grid-template-columns: minmax(0, 1fr); }
  .page-content { min-width: 0; }
  .page-aside { position: static; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .header-top-inner .ht-brand { display: none; }
  .header-top-inner { justify-content: center; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-text strong { font-size: 16px; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; top: calc(var(--header-h) + var(--topbar-h)); left: 0; right: 0;
    margin: 0; background: var(--ink-900); border-bottom: 2px solid var(--gold-500);
    max-height: 0; overflow: hidden; transition: max-height 0.4s ease;
  }
  .site-header.scrolled .main-nav { top: var(--header-h); }
  .main-nav.open { max-height: 480px; box-shadow: 0 30px 50px rgba(7,17,32,0.5); }
  .main-nav ul { flex-direction: column; gap: 0; padding: 8px 0; }
  .main-nav a { padding: 14px 6%; font-size: 15px; border-top: 1px solid rgba(200,164,93,0.12); }
  .main-nav a::after { display: none; }
  .main-nav a.active { background: rgba(200,164,93,0.10); }
  .section { padding: 68px 0; }
  .grid-3, .grid-2, .split-points, .vs-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .cta-band .cta-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero { min-height: auto; padding-bottom: 64px; }
  .hero-visual { flex-direction: column; align-items: stretch; }
  .hero-shield { width: 160px; margin-inline: auto; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .hero-stat b { font-size: 19px; }
  .page-aside { grid-template-columns: 1fr; }
  .faq-answer { padding-left: 24px; }
  .mobile-bar { display: grid; }
  body { padding-bottom: 52px; }
  .back-top { bottom: 120px; right: 16px; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; padding: 48px 0 36px; }
}
@media (max-width: 520px) {
  .grid-4 { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1; }
  .hero-trust { gap: 8px 16px; }
  .law-quote { padding: 24px 18px 18px; }
  .data-table th, .data-table td { padding: 12px 12px; }
}