/* =========================================================
   上海盛沃律师事务所 · 夫妻共同债务专题
   纯静态样式表（HTML5 / CSS3），无第三方依赖
   ========================================================= */

:root {
  --paper: #F7F5F0;
  --paper-2: #F1EDE4;
  --paper-3: #FBF9F5;
  --white: #FFFFFF;
  --ink: #1B1917;
  --ink-soft: #33302C;
  --body: #4B4843;
  --muted: #6B7280;
  --red: #B3202A;
  --red-deep: #8C1820;
  --line: #DFD9CC;
  --line-strong: #C9C1B1;
  --line-soft: #ECE7DC;
  --sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans SC", Arial, sans-serif;
  --serif: "Source Han Serif SC", "Noto Serif SC", "Songti SC", "STSong", "SimSun", Georgia, serif;
  --head-h: 78px;
  --wrap: 1180px;
  --radius: 0px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--head-h) + 16px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open { overflow: hidden; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.01em;
}

p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }

::selection { background: rgba(179, 32, 42, 0.14); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 300;
  padding: 10px 16px;
  background: var(--red);
  color: #fff;
  font-size: 13px;
  transition: top 0.2s ease;
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 顶部导航 ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 245, 240, 0.96);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}
.site-head.is-stuck { box-shadow: 0 1px 0 rgba(27, 25, 23, 0.04), 0 10px 24px rgba(27, 25, 23, 0.06); }

.head-inner {
  display: flex;
  align-items: center;
  min-height: var(--head-h);
  gap: 28px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }

.brand-mark {
  width: 38px;
  height: 38px;
  border: 1px solid var(--red);
  color: var(--red);
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1;
  display: grid;
  place-items: center;
  flex: none;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.35; }
.brand-text strong { font-size: 15.5px; font-weight: 600; letter-spacing: 0.05em; color: var(--ink); }
.brand-text small { font-size: 11.5px; color: var(--muted); letter-spacing: 0.08em; margin-top: 2px; }

.nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.nav a {
  position: relative;
  font-size: 14.5px;
  color: var(--ink-soft);
  padding: 6px 0 8px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.nav a:hover,
.nav a.is-active { color: var(--red); border-bottom-color: var(--red); }

.head-call {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-left: 24px;
  border-left: 1px solid var(--line);
  line-height: 1.3;
  flex: none;
}
.head-call span { font-size: 11px; color: var(--muted); letter-spacing: 0.12em; }
.head-call strong { font-size: 16.5px; font-weight: 600; color: var(--red); letter-spacing: 0.04em; }

.nav-toggle { display: none; width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 5px; margin-left: auto; }
.nav-toggle span { display: block; width: 22px; height: 1px; background: var(--ink); margin: 0 auto; transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  padding: 66px 0 70px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 42%),
    var(--paper);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(32px, 4vw, 60px);
  align-items: start;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  letter-spacing: 0.2em;
  color: var(--red);
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--red); flex: none; }

.hero h1 {
  margin: 18px 0 20px;
  font-size: clamp(36px, 4.5vw, 60px);
  line-height: 1.18;
  letter-spacing: 0.005em;
}
.hero h1 em { font-style: normal; color: var(--red); }

.hero-lead {
  max-width: 640px;
  font-size: 16px;
  line-height: 1.95;
  color: var(--body);
}

.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 30px; }
.hero-tags li {
  font-size: 12.5px;
  color: var(--ink-soft);
  padding: 5px 12px;
  border: 1px solid var(--line-strong);
  background: transparent;
}

.hero-call {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 20px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  margin-bottom: 26px;
}
.hero-call .btn { margin-left: auto; flex: none; }
.call-label { font-size: 12px; color: var(--muted); letter-spacing: 0.1em; }
.call-number {
  display: block;
  margin-top: 2px;
  font-family: var(--serif);
  font-size: clamp(26px, 2.6vw, 32px);
  line-height: 1.3;
  color: var(--red);
  letter-spacing: 0.02em;
}
.call-number:hover { color: var(--red-deep); }
.call-meta { font-size: 12px; color: var(--muted); line-height: 1.7; margin-top: 2px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  background: var(--red);
  color: #fff;
  border: 1px solid var(--red);
  border-radius: var(--radius);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.5;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn:hover { background: var(--red-deep); border-color: var(--red-deep); }
.btn:active { transform: translateY(1px); }
.btn .ico { width: 18px; height: 18px; flex: none; }
.btn-block { display: flex; width: 100%; margin-top: 22px; }

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.hero-facts strong {
  display: block;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--red);
  line-height: 1.3;
}
.hero-facts span { display: block; margin-top: 3px; font-size: 12px; color: var(--muted); line-height: 1.6; }

/* 痛点卡 */
.hero-pain {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 2px solid var(--red);
}
.pain-head { padding: 24px 24px 18px; border-bottom: 1px solid var(--line); }
.pain-kicker { font-size: 11.5px; letter-spacing: 0.2em; color: var(--red); }
.pain-head h2 { margin-top: 8px; font-size: 22px; line-height: 1.45; }
.pain-list li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  padding: 15px 24px;
  border-bottom: 1px solid var(--line-soft);
  align-items: start;
}
.pain-list li:last-child { border-bottom: 0; }
.pain-no { font-family: var(--serif); font-size: 13px; color: var(--red); line-height: 1.8; letter-spacing: 0.06em; }
.pain-list p { font-size: 14.5px; line-height: 1.8; color: var(--ink-soft); }
.pain-foot {
  padding: 15px 24px 17px;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--muted);
  background: var(--paper-3);
  border-top: 1px solid var(--line-soft);
}

/* ---------- 通用区块 ---------- */
.sec { padding: 84px 0; border-top: 1px solid var(--line); }
.sec-framework { background: var(--paper-2); border-top: 0; }
.sec-topics { background: var(--white); }
.sec-team { background: var(--paper); }
.sec-why { background: var(--white); }
.sec-process { background: var(--paper); }
.sec-cases { background: var(--white); }
.sec-laws { background: var(--paper); }
.sec-faq { background: var(--white); }
.sec-contact { background: var(--paper-2); }

.sec-head {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 0;
  align-items: start;
  margin-bottom: 42px;
}
.sec-index {
  display: inline-block;
  width: 38px;
  padding-top: 8px;
  border-top: 2px solid var(--red);
  font-family: var(--serif);
  font-size: 14px;
  color: var(--red);
  letter-spacing: 0.08em;
}
.sec-head h2 {
  font-size: clamp(25px, 2.6vw, 34px);
  line-height: 1.42;
  max-width: 850px;
}
.sec-head-text > p {
  margin-top: 14px;
  max-width: 820px;
  font-size: 15px;
  line-height: 1.95;
  color: var(--body);
}

.note {
  margin-top: 20px;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--red);
  border-bottom: 1px solid rgba(179, 32, 42, 0.3);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.text-link:hover { color: var(--red-deep); border-bottom-color: var(--red-deep); }

/* ---------- 01 认定标准 ---------- */
.gates {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.gate {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 2px solid var(--red);
  padding: 24px 22px 20px;
}
.gate-no { font-size: 11.5px; letter-spacing: 0.14em; color: var(--red); }
.gate h3 { margin: 10px 0 10px; font-size: 19px; line-height: 1.45; }
.gate p { font-size: 14px; line-height: 1.85; color: var(--body); }
.gate-law {
  margin-top: 14px;
  padding-top: 11px;
  border-top: 1px dashed var(--line);
  font-size: 12px;
  color: var(--muted);
}

.compare {
  margin-top: 40px;
  background: var(--white);
  border: 1px solid var(--line);
}
.compare-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}
.compare-head h3 { font-size: 20px; }
.compare-head p { font-size: 12.5px; color: var(--muted); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-hint { display: none; }
.compare table { font-size: 14px; min-width: 620px; }
.compare th,
.compare td { padding: 14px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-soft); }
.compare thead th { background: #F4F1E9; font-family: var(--sans); font-size: 12.5px; font-weight: 600; color: var(--ink); letter-spacing: 0.04em; white-space: nowrap; }
.compare tbody th { width: 20%; font-weight: 600; color: var(--ink-soft); font-family: var(--sans); font-size: 13.5px; }
.compare tbody td { color: var(--body); line-height: 1.8; }
.compare tbody tr:last-child th,
.compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody tr:hover { background: var(--paper-3); }

/* ---------- 02 专题 ---------- */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.topic {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 26px 24px 24px;
  transition: border-color 0.22s ease, transform 0.22s ease;
}
.topic:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.topic-no { font-family: var(--serif); font-size: 13px; color: var(--red); letter-spacing: 0.1em; }
.topic h3 { margin: 12px 0 10px; font-size: 19px; line-height: 1.5; }
.topic > p { font-size: 14px; line-height: 1.85; color: var(--body); }
.topic ul { margin: 15px 0 20px; }
.topic li {
  position: relative;
  padding-left: 16px;
  font-size: 13.2px;
  line-height: 1.75;
  color: #5B5851;
}
.topic li + li { margin-top: 5px; }
.topic li::before { content: "—"; position: absolute; left: 0; color: var(--red); font-size: 12px; }
.topic .text-link { margin-top: auto; align-self: flex-start; }

/* ---------- 03 团队 ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.lawyer {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 28px;
}
.lawyer-top { display: flex; gap: 18px; align-items: flex-start; }
.lawyer-mark {
  width: 74px;
  height: 74px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid var(--red);
  background: var(--paper-3);
  color: var(--red);
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1;
}
.lawyer-id h3 { font-size: 24px; line-height: 1.35; }
.lawyer-id h3 span { font-family: var(--sans); font-size: 12.5px; font-weight: 400; color: var(--muted); letter-spacing: 0.08em; margin-left: 4px; }
.lawyer-role { margin-top: 5px; font-size: 13px; color: var(--red); letter-spacing: 0.02em; }
.lawyer-edu { margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.lawyer-desc { margin-top: 16px; font-size: 14.2px; line-height: 1.92; color: var(--body); }
.lawyer-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.lawyer > .text-link { margin-top: auto; align-self: flex-start; }
.lawyer-tags li {
  font-size: 12.2px;
  color: #55524B;
  padding: 4px 10px;
  border: 1px solid var(--line);
  background: var(--paper-3);
}

.team-mode {
  display: grid;
  grid-template-columns: 0.8fr 1.6fr;
  gap: 32px;
  margin-top: 32px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.team-mode-head h3 { font-size: 20px; }
.team-mode-head p { margin-top: 8px; font-size: 13px; line-height: 1.8; color: var(--muted); }
.team-mode-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; }
.team-mode-list span { display: block; font-size: 13.5px; font-weight: 600; color: var(--red); margin-bottom: 4px; }
.team-mode-list p { font-size: 13.2px; line-height: 1.75; color: var(--body); }

/* ---------- 04 优势 ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.why {
  background: var(--paper-3);
  border: 1px solid var(--line);
  padding: 26px 24px;
}
.why-no { font-family: var(--serif); font-size: 13px; letter-spacing: 0.1em; color: var(--red); }
.why h3 { margin: 10px 0 8px; font-size: 18px; line-height: 1.5; }
.why p { font-size: 14px; line-height: 1.88; color: var(--body); }

/* ---------- 05 流程 ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.steps li {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 24px 24px 22px;
}
.step-no { display: block; font-family: var(--serif); font-size: 28px; line-height: 1; color: rgba(179, 32, 42, 0.55); }
.steps h3 { margin: 12px 0 8px; font-size: 18px; }
.steps p { font-size: 13.5px; line-height: 1.8; color: var(--body); }

/* ---------- 06 案例 ---------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.case {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 26px 26px 24px;
  transition: border-color 0.22s ease;
}
.case:hover { border-color: var(--line-strong); }
.case-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px dashed var(--line);
  font-size: 12.2px;
}
.case-meta span:first-child { color: var(--red); letter-spacing: 0.04em; }
.case-meta span + span { color: var(--muted); }
.case h3 { font-size: 19px; line-height: 1.6; margin-bottom: 12px; }
.case dt { margin-top: 10px; font-size: 12.2px; letter-spacing: 0.08em; color: var(--red); }
.case dd { margin-top: 3px; font-size: 13.8px; line-height: 1.85; color: var(--body); }

/* ---------- 07 法规 ---------- */
.law-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.law {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 24px;
}
.law-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
}
.law-head span {
  flex: none;
  font-size: 11.5px;
  color: var(--red);
  border: 1px solid rgba(179, 32, 42, 0.35);
  padding: 1px 6px;
  line-height: 1.6;
}
.law-head h3 { font-size: 18px; line-height: 1.5; }
.law-text { margin: 14px 0 12px; font-size: 13.5px; line-height: 1.9; color: var(--body); }
.law-tip {
  padding-left: 10px;
  border-left: 2px solid var(--red);
  font-size: 12.8px;
  line-height: 1.75;
  color: var(--muted);
}

/* ---------- 08 常见问题 ---------- */
.faq-wrap { max-width: 960px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 20px 46px 20px 0;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.65;
  color: var(--ink);
  transition: color 0.2s ease;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--red);
  line-height: 1;
}
.faq-list details[open] summary { color: var(--red); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list summary:hover { color: var(--red); }
.faq-a { padding: 0 46px 20px 0; }
.faq-a p { font-size: 14px; line-height: 1.95; color: var(--body); }

/* ---------- 09 联系我们 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 24px;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 2px solid var(--red);
  padding: 30px;
}
.contact-label { font-size: 12.5px; letter-spacing: 0.12em; color: var(--muted); }
.contact-phone {
  display: block;
  margin: 6px 0 20px;
  font-family: var(--serif);
  font-size: clamp(30px, 3.2vw, 38px);
  line-height: 1.3;
  color: var(--red);
  letter-spacing: 0.02em;
}
.contact-phone:hover { color: var(--red-deep); }
.contact-info div {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line-soft);
}
.contact-info dt { font-size: 12.5px; color: var(--muted); }
.contact-info dd { font-size: 13.5px; line-height: 1.8; color: var(--ink-soft); }
.contact-hint { margin-top: 10px; font-size: 12px; color: var(--muted); text-align: center; }

.prepare {
  background: var(--paper-3);
  border: 1px solid var(--line);
  padding: 30px;
}
.prepare h3 { font-size: 21px; line-height: 1.5; }
.prepare-list { margin-top: 18px; }
.prepare-list li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
}
.prepare-list li:last-child { border-bottom: 0; }
.prepare-list span { font-family: var(--serif); font-size: 13px; color: var(--red); line-height: 1.9; }
.prepare-list h4 { font-family: var(--sans); font-size: 14px; font-weight: 600; line-height: 1.6; }
.prepare-list p { margin-top: 2px; font-size: 13px; line-height: 1.75; color: var(--body); }
.prepare-note { margin-top: 14px; font-size: 12.5px; color: var(--muted); }

/* ---------- 页脚 ---------- */
.site-foot {
  background: #1E1C19;
  color: #CFC9BC;
  padding: 56px 0 26px;
}
.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 42px;
}
.brand-foot { margin-bottom: 16px; }
.brand-foot .brand-mark { border-color: var(--red); color: #E4A5A8; background: transparent; }
.brand-foot .brand-text strong { color: #F7F5F0; }
.brand-foot .brand-text small { color: #9C968B; }
.foot-brand > p { font-size: 13px; line-height: 1.9; color: #A8A296; max-width: 420px; }
.foot-col h2 {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #F7F5F0;
  margin-bottom: 14px;
}
.foot-col li { font-size: 13px; line-height: 2; color: #A8A296; }
.foot-col a { transition: color 0.2s ease; }
.foot-col a:hover { color: #F7F5F0; }
.foot-legal {
  margin-top: 38px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 11.8px;
  line-height: 1.9;
  color: #8E887D;
}
.foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.copyright { color: #7C766C; font-size: 12px; }
.to-top { font-size: 12px; color: #A8A296; border-bottom: 1px solid rgba(255, 255, 255, 0.18); padding-bottom: 1px; transition: color 0.2s ease, border-color 0.2s ease; }
.to-top:hover { color: #F7F5F0; border-bottom-color: #F7F5F0; }

/* ---------- 移动端拨号条 ---------- */
.callbar { display: none; }
.callbar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 48px;
  background: var(--red);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.callbar a:active { background: var(--red-deep); }
.callbar .ico { width: 18px; height: 18px; flex: none; }
.callbar small { font-size: 11px; font-weight: 400; opacity: 0.82; margin-right: 8px; letter-spacing: 0.06em; }

/* ---------- 动效 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .nav { gap: 18px; }
  .head-call { padding-left: 18px; }
  .gates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-mode { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 980px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 6px 24px 16px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(27, 25, 23, 0.08);
    max-height: calc(100vh - var(--head-h));
    overflow-y: auto;
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
  .nav a:hover, .nav a.is-active { border-bottom-color: var(--line-soft); }
  .head-call { margin-left: 0; }
  .head-inner { gap: 16px; }
  .brand { margin-right: auto; }

  .hero { padding: 52px 0 56px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hero-lead { max-width: none; }
  .topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-grid { grid-template-columns: minmax(0, 1fr); }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-grid { grid-template-columns: minmax(0, 1fr); }
  .law-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .sec { padding: 66px 0; }
  .sec-head { grid-template-columns: 58px minmax(0, 1fr); }
}

@media (max-width: 600px) {
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .wrap { padding: 0 18px; }
  .head-inner { min-height: 64px; }
  .brand-mark { width: 34px; height: 34px; font-size: 18px; }
  .brand-text strong { font-size: 14px; }
  .brand-text small { font-size: 10.5px; }
  .head-call { display: none; }

  .hero { padding: 38px 0 44px; }
  .hero h1 { font-size: clamp(30px, 9vw, 40px); margin: 14px 0 16px; }
  .eyebrow { font-size: 11.5px; letter-spacing: 0.14em; }
  .hero-lead { font-size: 15px; line-height: 1.9; }
  .hero-tags { margin: 18px 0 22px; }
  .hero-call { flex-direction: column; align-items: stretch; gap: 14px; padding: 18px; }
  .hero-call .btn { margin-left: 0; width: 100%; white-space: normal; text-align: center; line-height: 1.45; }
  .call-number { font-size: 26px; }
  .call-meta { font-size: 11.5px; }
  .hero-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .hero-facts strong { font-size: 18px; }
  .hero-facts span { font-size: 11px; }
  .pain-head { padding: 20px 18px 15px; }
  .pain-head h2 { font-size: 20px; }
  .pain-list li { padding: 13px 18px; grid-template-columns: 32px minmax(0, 1fr); gap: 8px; }
  .pain-list p { font-size: 13.8px; }
  .pain-foot { padding: 14px 18px; }

  .sec { padding: 52px 0; }
  .sec-head { grid-template-columns: minmax(0, 1fr); margin-bottom: 30px; }
  .sec-index { width: 34px; padding-top: 6px; margin-bottom: 12px; font-size: 12.5px; }
  .sec-head h2 { font-size: 24px; line-height: 1.5; }
  .sec-head-text > p { font-size: 14px; line-height: 1.9; margin-top: 10px; }
  .gates { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .gate { padding: 20px 18px 18px; }
  .compare-head { padding: 18px; }
  .compare th, .compare td { padding: 12px 16px; }
  .compare table { min-width: 560px; font-size: 13px; }
  .table-hint { display: block; padding: 9px 16px; border-top: 1px solid var(--line-soft); background: var(--paper-3); font-size: 11.5px; color: var(--muted); }
  .topic-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .topic { padding: 22px 18px; }
  .team-grid { gap: 16px; }
  .lawyer { padding: 22px 18px; }
  .lawyer-mark { width: 58px; height: 58px; font-size: 26px; }
  .lawyer-id h3 { font-size: 21px; }
  .lawyer-desc { font-size: 13.8px; }
  .team-mode-list { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .why-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .why { padding: 22px 18px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .steps li { padding: 20px 18px; }
  .case { padding: 22px 18px; }
  .case h3 { font-size: 17.5px; }
  .law { padding: 20px 18px; }
  .law-head h3 { font-size: 16.5px; }
  .faq-list summary { font-size: 14.5px; padding: 17px 38px 17px 0; }
  .faq-a { padding-right: 0; }
  .faq-a p { font-size: 13.5px; }
  .contact-card, .prepare { padding: 22px 18px; }
  .contact-phone { font-size: 30px; }
  .contact-info div { grid-template-columns: 76px minmax(0, 1fr); gap: 8px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .site-foot { padding: 40px 0 24px; }
  .foot-legal { margin-top: 26px; }
  .callbar {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 120;
    background: var(--paper);
    border-top: 1px solid var(--line);
    padding: 8px 14px calc(8px + env(safe-area-inset-bottom, 0px));
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
