/* 暖橘鎏金 — 橘色-3 移植。标题 Noto Serif SC，正文 Noto Sans SC。 */

:root {
  --font-heading: "Noto Serif SC", ui-serif, Georgia, serif;
  --font-body: "Noto Sans SC", ui-sans-serif, system-ui, sans-serif;
  --pri-50: oklch(0.975 0.022 62);
  --pri-100: oklch(0.945 0.05 60);
  --pri-200: oklch(0.895 0.09 58);
  --pri-300: oklch(0.835 0.13 55);
  --pri-400: oklch(0.775 0.16 52);
  --pri-500: oklch(0.705 0.18 49);
  --pri-600: oklch(0.63 0.17 46);
  --pri-700: oklch(0.55 0.15 43);
  --pri-800: oklch(0.46 0.12 41);
  --pri-900: oklch(0.385 0.095 39);
  --pri-950: oklch(0.27 0.065 37);
  --acc-50: oklch(0.98 0.02 86);
  --acc-100: oklch(0.955 0.05 85);
  --acc-200: oklch(0.915 0.09 85);
  --acc-300: oklch(0.865 0.125 85);
  --acc-400: oklch(0.822 0.15 84);
  --acc-500: oklch(0.78 0.152 83);
  --acc-600: oklch(0.7 0.14 80);
  --acc-700: oklch(0.6 0.12 78);
  --acc-800: oklch(0.5 0.1 76);
  --acc-900: oklch(0.42 0.08 74);
  --sec-50: oklch(0.974 0.005 72);
  --sec-100: oklch(0.944 0.008 70);
  --sec-200: oklch(0.9 0.011 68);
  --sec-500: oklch(0.62 0.016 62);
  --sec-900: oklch(0.28 0.011 54);
  --bg-50: oklch(0.988 0.006 78);
  --bg-100: oklch(0.972 0.011 74);
  --bg-200: oklch(0.944 0.016 71);
  --bg-300: oklch(0.902 0.019 68);
  --fg-400: oklch(0.652 0.015 62);
  --fg-500: oklch(0.542 0.016 60);
  --fg-600: oklch(0.442 0.016 58);
  --fg-700: oklch(0.352 0.015 56);
  --fg-800: oklch(0.272 0.013 54);
  --fg-900: oklch(0.212 0.011 52);
  --fg-950: oklch(0.155 0.009 50);
  --line: oklch(0.944 0.016 71 / 0.7);
  --radius: 0.5rem;
  --header-h: 4rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg-50);
  color: var(--fg-950);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 5.25rem;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font-family: inherit; }
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.25; font-weight: 700; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }

.wrap { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }
@media (min-width: 768px) {
  :root { --header-h: 5rem; }
  .wrap { width: min(1120px, calc(100% - 5rem)); }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.6rem;
  border-radius: 0.375rem;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.3;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-primary { background: var(--pri-500); color: var(--bg-50); }
.btn-primary:hover { background: var(--pri-600); }
.btn-ghost-light {
  background: oklch(1 0 0 / 0.1);
  color: #fff;
  border-color: oklch(1 0 0 / 0.3);
  backdrop-filter: blur(6px);
}
.btn-ghost-light:hover { background: oklch(1 0 0 / 0.2); }
.btn-outline {
  background: transparent;
  color: var(--pri-700);
  border-color: var(--pri-300);
}
.btn-outline:hover { background: var(--pri-50); }
.btn-sm { padding: 0.45rem 0.9rem; font-size: 0.85rem; }
.btn-block { width: 100%; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--acc-600);
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.eyebrow-center { justify-content: center; }
.kicker-line { width: 2rem; height: 1px; background: var(--acc-500); display: inline-block; }
.section-head { max-width: 40rem; }
.section-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2, .band h2 { font-size: 1.7rem; }
.section-head p { margin-top: 1rem; color: var(--fg-600); font-size: 0.95rem; }
@media (min-width: 768px) {
  .section-head h2, .band h2 { font-size: 2.25rem; }
}
.section-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.band { padding: 4rem 0; }
.band-muted { background: var(--bg-100); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (min-width: 768px) { .band { padding: 5.5rem 0; } }

/* header — 首页透明，内页暖白 */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
  border-bottom: 1px solid transparent;
  color: var(--fg-950);
  background: oklch(0.988 0.006 78 / 0.95);
  backdrop-filter: blur(12px);
}
html.is-home .site-header { background: transparent; color: #fff; backdrop-filter: none; }
html.is-home.is-scrolled .site-header,
html.nav-open .site-header {
  background: oklch(0.988 0.006 78 / 0.95);
  color: var(--fg-950);
  border-bottom-color: oklch(0.944 0.016 71 / 0.8);
  backdrop-filter: blur(12px);
}
.header-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1rem;
}
@media (min-width: 768px) { .header-inner { padding: 0 2.5rem; } }
.brand { display: flex; align-items: center; gap: 0.75rem; min-width: 0; }
.brand-mark {
  width: 2.5rem; height: 2.5rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 0.5rem;
  background: var(--pri-500);
  color: var(--bg-50);
  font-size: 1.25rem;
  flex: none;
}
.brand-logo { width: 2.5rem; height: 2.5rem; object-fit: contain; border-radius: 0.5rem; }
html.is-home .site-header .brand-mark { background: oklch(1 0 0 / 0.15); color: #fff; }
html.is-home.is-scrolled .site-header .brand-mark,
html.nav-open .site-header .brand-mark { background: var(--pri-500); color: var(--bg-50); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-name { font-family: var(--font-heading); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.04em; }
.brand-firm { font-size: 0.68rem; letter-spacing: 0.12em; opacity: 0.72; margin-top: 0.15rem; }
.nav-desktop { display: none; align-items: center; gap: 0.15rem; }
.nav-link {
  position: relative;
  padding: 0.5rem 0.85rem;
  font-size: 0.9rem;
  color: var(--fg-700);
}
html.is-home .site-header .nav-desktop .nav-link { color: oklch(1 0 0 / 0.88); }
html.is-home.is-scrolled .site-header .nav-link,
html.nav-open .site-header .nav-link { color: var(--fg-700); }
.nav-link:hover, .nav-link.is-active { color: var(--pri-600); }
html.is-home .site-header .nav-desktop .nav-link:hover,
html.is-home .site-header .nav-desktop .nav-link.is-active { color: #fff; }
html.is-home.is-scrolled .site-header .nav-link.is-active { color: var(--pri-600); }
.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0.15rem;
  width: 1.25rem; height: 2px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: var(--pri-500);
}
.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.header-phone {
  display: none;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
}
.header-phone i {
  width: 1.75rem; height: 1.75rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  border: 1px solid currentColor;
  font-size: 0.75rem;
}
.nav-cta { padding: 0.6rem 1.15rem; font-size: 0.9rem; }
.nav-toggle {
  width: 2.5rem; height: 2.5rem;
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; background: transparent; color: inherit;
  border-radius: 0.375rem; cursor: pointer; font-size: 1.25rem;
}
.nav-mobile {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--bg-50);
  border-top: 1px solid var(--line);
  padding: 0.75rem 1rem 1rem;
  display: flex;
  flex-direction: column;
}
.nav-mobile .nav-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem;
  border-radius: 0.375rem;
  color: var(--fg-700);
}
.nav-mobile .nav-link.is-active { background: oklch(0.945 0.05 60 / 0.7); color: var(--pri-700); }
.nav-mobile .nav-cta { margin-top: 0.4rem; }
@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
  .nav-toggle { display: none; }
}
@media (min-width: 1200px) { .header-phone { display: inline-flex; } }

/* 首屏：全幅暖橘夜景，左文案，底栏为真实职务/证号/律所 */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}
@media (min-width: 768px) { .hero { min-height: 760px; } }
.hero-bg, .hero-fallback, .hero-shade-x, .hero-shade-y { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg { object-fit: cover; object-position: top center; max-width: none; }
.hero-fallback {
  background:
    radial-gradient(circle at 72% 42%, oklch(0.55 0.15 43 / 0.7), transparent 46%),
    radial-gradient(circle at 18% 78%, oklch(0.42 0.08 74 / 0.45), transparent 40%),
    linear-gradient(120deg, oklch(0.2 0.04 40), oklch(0.32 0.07 46) 55%, oklch(0.27 0.065 37));
}
.hero-shade-x { background: linear-gradient(to right, oklch(0 0 0 / 0.8), oklch(0 0 0 / 0.55), oklch(0 0 0 / 0.25)); }
.hero-shade-y { background: linear-gradient(to top, oklch(0 0 0 / 0.5), transparent 42%, oklch(0 0 0 / 0.3)); }
.hero-inner { position: relative; z-index: 1; width: 100%; padding: 6.5rem 1rem 8.5rem; }
@media (min-width: 768px) { .hero-inner { padding: 8rem 2.5rem 9rem; } }
.hero-copy { max-width: 48rem; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 0.75rem;
  padding: 0.45rem 1rem; margin-bottom: 1.5rem;
  border-radius: 999px;
  background: oklch(1 0 0 / 0.1);
  border: 1px solid oklch(1 0 0 / 0.2);
  backdrop-filter: blur(6px);
  font-size: 0.8rem;
  color: oklch(1 0 0 / 0.92);
}
.hero-dot { width: 0.5rem; height: 0.5rem; border-radius: 999px; background: var(--pri-500); flex: none; }
.hero h1 { color: #fff; font-size: 2.25rem; font-weight: 700; line-height: 1.15; }
@media (min-width: 768px) { .hero h1 { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 4.5rem; } }
.hero-accent {
  margin-top: 0.85rem;
  max-width: 34rem;
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 600;
  color: var(--pri-400);
  line-height: 1.5;
}
.hero-lead { margin-top: 1.5rem; max-width: 36rem; color: oklch(1 0 0 / 0.82); font-size: 1rem; }
.hero-actions { margin-top: 2.1rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-bar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; flex-wrap: wrap;
  border-top: 1px solid oklch(1 0 0 / 0.15);
  background: oklch(0 0 0 / 0.25);
  backdrop-filter: blur(8px);
}
.hero-bar-item {
  flex: 1 1 11rem;
  min-width: 0;
  text-align: center;
  padding: 1.15rem 0.9rem;
  border-right: 1px solid oklch(1 0 0 / 0.1);
}
.hero-bar-item strong {
  display: block;
  font-family: var(--font-heading);
  color: var(--pri-400);
  font-size: 1rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.hero-bar-item span { display: block; margin-top: 0.2rem; font-size: 0.75rem; color: oklch(1 0 0 / 0.72); letter-spacing: 0.06em; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
.animate-fade-up { animation: fade-up 0.7s ease-out both; }

/* 律师简介预览 */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .about-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3.5rem; }
}
.portrait-wrap { position: relative; }
.portrait-corner { position: absolute; width: 6rem; height: 6rem; pointer-events: none; }
.portrait-corner-tl { top: -1rem; left: -1rem; border-top: 2px solid var(--pri-300); border-left: 2px solid var(--pri-300); border-radius: 0.5rem 0 0 0; }
.portrait-corner-br { bottom: -1rem; right: -1rem; border-bottom: 2px solid var(--acc-400); border-right: 2px solid var(--acc-400); border-radius: 0 0 0.5rem 0; }
.portrait-frame {
  position: relative;
  height: 440px;
  border-radius: 0.5rem;
  overflow: hidden;
  background: var(--bg-200);
}
@media (min-width: 768px) { .portrait-frame { height: 560px; } }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top center; max-width: none; }
.photo-fallback {
  height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.6rem;
  background: linear-gradient(160deg, var(--pri-100), var(--bg-100) 55%, var(--acc-100));
  color: var(--pri-800);
  font-family: var(--font-heading);
}
.photo-fallback i { font-size: 3rem; }
.portrait-plate {
  position: absolute; right: 1.25rem; bottom: 1.25rem;
  padding: 0.7rem 1.1rem;
  border-radius: 0.375rem;
  background: oklch(0.988 0.006 78 / 0.95);
  border: 1px solid var(--bg-200);
  backdrop-filter: blur(6px);
}
.portrait-plate strong { display: block; font-family: var(--font-heading); }
.portrait-plate span { display: block; margin-top: 0.15rem; font-size: 0.75rem; color: var(--fg-500); }
.lawyer-meta { margin-top: 1.1rem; }
.lawyer-meta li { padding: 0.35rem 0; color: var(--fg-800); font-size: 0.95rem; }
.about-lead { margin-top: 1rem; color: var(--fg-600); }
.text-link { display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 1.4rem; color: var(--pri-700); font-weight: 500; }
.text-link:hover { color: var(--pri-600); }

.practice-grid, .article-grid, .news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16.5rem, 1fr));
  gap: 1.35rem;
}
.practice-card, .article-card, .news-card {
  display: flex; flex-direction: column;
  padding: 1.6rem;
  border-radius: 0.5rem;
  background: var(--bg-50);
  border: 1px solid var(--line);
  min-width: 0;
  transition: border-color 0.25s;
}
.practice-card:hover { border-color: var(--pri-300); }
.article-card:hover, .news-card:hover { border-color: var(--acc-300); }
.card-icon {
  width: 3.5rem; height: 3.5rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 0.5rem;
  background: var(--pri-100);
  color: var(--pri-600);
  font-size: 1.45rem;
  transition: background 0.25s, color 0.25s;
}
.practice-card:hover .card-icon { background: var(--pri-500); color: var(--bg-50); }
.practice-card h3, .article-card h3, .news-card h2, .practice-card h2 {
  margin-top: 1.15rem;
  font-size: 1.15rem;
}
.practice-card:hover h3, .article-card:hover h3, .news-card:hover h2 { color: var(--pri-700); }
.practice-card p, .article-card p, .news-card p { margin-top: 0.85rem; color: var(--fg-600); font-size: 0.9rem; flex: 1; }
.card-more { margin-top: 1.15rem; display: inline-flex; align-items: center; gap: 0.3rem; color: var(--pri-600); font-size: 0.9rem; font-weight: 500; }
.card-more i { transition: transform 0.25s; }
.practice-card:hover .card-more i, .article-card:hover .card-more i, .news-card:hover .card-more i { transform: translateX(4px); }
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; margin-bottom: 0.85rem; flex-wrap: wrap; }
.pill {
  display: inline-flex; align-items: center;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: var(--acc-100);
  color: var(--acc-900);
  font-size: 0.75rem;
  font-weight: 500;
}
.pill-stone { background: var(--sec-100); color: var(--sec-900); }
.meta-date { font-size: 0.75rem; color: var(--fg-500); }
.article-card .card-foot, .news-card .card-foot {
  margin-top: 1.15rem; padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
}

.case-rows { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.case-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  padding: 1.5rem 0.5rem;
  border-bottom: 1px solid var(--line);
}
.case-row:last-child { border-bottom: 0; }
.case-row:hover h3 { color: var(--pri-700); }
.case-row h3 { font-size: 1.05rem; }
.case-row p { margin-top: 0.4rem; color: var(--fg-600); font-size: 0.9rem; }
.case-row-end { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; }
.result-text { color: var(--acc-700); font-size: 0.9rem; font-weight: 500; }
.case-arrow {
  width: 2.25rem; height: 2.25rem; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: var(--pri-100); color: var(--pri-600);
}
.case-row:hover .case-arrow { background: var(--pri-500); color: var(--bg-50); }
@media (min-width: 1024px) {
  .case-row { grid-template-columns: minmax(0, 1.3fr) minmax(0, 4.2fr) minmax(0, 2.2fr); gap: 1.5rem; align-items: center; }
  .case-row-end { justify-content: flex-end; }
}

.case-stack { display: flex; flex-direction: column; gap: 1.15rem; }
.case-stack-card {
  display: block;
  padding: 1.6rem;
  border-radius: 0.5rem;
  background: var(--bg-50);
  border: 1px solid var(--line);
}
.case-stack-card:hover { border-color: var(--pri-300); }
.case-stack-card:hover h2 { color: var(--pri-700); }
.case-stack-card h2 { font-size: 1.15rem; margin-top: 0.35rem; }
.case-stack-card p { margin-top: 0.7rem; color: var(--fg-600); font-size: 0.92rem; }
.case-stack-foot {
  margin-top: 1.1rem; padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.6rem;
}

/* 首页收尾：链到预约，不放表单 */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--pri-950);
  color: var(--bg-100);
}
.cta-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 15% 30%, oklch(0.63 0.17 46 / 0.55), transparent 45%),
    radial-gradient(circle at 85% 70%, oklch(0.7 0.14 80 / 0.45), transparent 45%);
  opacity: 0.7;
}
.cta-mark {
  position: absolute; right: 1rem; bottom: -2rem;
  font-size: 12rem; color: oklch(0.46 0.12 41 / 0.35); pointer-events: none;
}
.cta-inner {
  position: relative;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.75rem;
  padding: 4rem 0;
}
.cta-band h2 { color: var(--bg-50); font-size: clamp(1.6rem, 3vw, 2.4rem); max-width: 36rem; }
.cta-band p { margin-top: 0.9rem; color: oklch(0.902 0.019 68); max-width: 38rem; }
.cta-meta { margin-top: 1.1rem; display: flex; flex-wrap: wrap; gap: 0.7rem 1.6rem; color: oklch(0.902 0.019 68); font-size: 0.9rem; }
.cta-meta i { color: var(--pri-400); margin-right: 0.3rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn-line {
  background: transparent; color: var(--bg-50);
  border-color: oklch(0.988 0.006 78 / 0.3);
}
.btn-line:hover { background: oklch(0.988 0.006 78 / 0.1); }

/* 内页头 */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--bg-100);
  border-bottom: 1px solid var(--line);
  padding: 7.2rem 0 3rem;
}
@media (min-width: 768px) { .page-hero { padding: 8.5rem 0 3.8rem; } }
.page-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.22; }
.page-hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, oklch(0.972 0.011 74 / 0.92), oklch(0.972 0.011 74 / 0.78));
}
.page-hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 12% 20%, oklch(0.895 0.09 58 / 0.45), transparent 38%),
    radial-gradient(circle at 88% 8%, oklch(0.915 0.09 85 / 0.4), transparent 34%);
}
.page-hero-mark {
  position: absolute; right: -1rem; top: 4.5rem;
  font-size: 11rem; color: oklch(0.895 0.09 58 / 0.55); pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 3rem); }
.page-hero-desc { margin-top: 0.9rem; max-width: 40rem; color: var(--fg-600); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.45rem; margin-bottom: 1.15rem; font-size: 0.82rem; color: var(--fg-500); }
.crumbs a:hover { color: var(--pri-600); }
.crumb-current { color: var(--fg-800); max-width: 14em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crumbs i { color: var(--fg-400); font-size: 0.9rem; }

.empty-note { color: var(--fg-500); padding: 1rem 0; }

.pager { margin-top: 2rem; display: flex; justify-content: center; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem; }
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 2.25rem; height: 2.25rem; padding: 0 0.7rem;
  border-radius: 0.375rem;
  border: 1px solid var(--bg-300);
  background: var(--bg-50);
  color: var(--fg-700);
  font-size: 0.85rem;
}
.pagination a:hover { border-color: var(--pri-400); color: var(--pri-700); }
.pagination .active span, .pagination .current span, .pagination li.active span {
  background: var(--pri-500); border-color: var(--pri-500); color: var(--bg-50);
}
.pagination .disabled span { color: var(--fg-400); background: var(--bg-100); }

.detail-layout, .contact-layout, .consult-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}
@media (min-width: 1024px) {
  .detail-layout { grid-template-columns: minmax(0, 8fr) minmax(16rem, 4fr); gap: 2.5rem; align-items: start; }
  .contact-layout, .consult-layout { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2.5rem; align-items: start; }
}
.detail-aside { display: flex; flex-direction: column; gap: 1.15rem; }
@media (min-width: 1024px) { .detail-aside { position: sticky; top: 6.5rem; } }
.prose { color: var(--fg-800); font-size: 1rem; overflow-wrap: anywhere; }
.prose > * + * { margin-top: 0.9rem; }
.prose h2, .prose h3 { margin-top: 1.4rem; }
.prose a { color: var(--pri-700); text-decoration: underline; }
.prose img { border-radius: 0.375rem; }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.article-lead { margin-bottom: 1rem; color: var(--fg-700); font-size: 1.05rem; }
.detail-meta { margin-bottom: 1rem; color: var(--fg-500); font-size: 0.85rem; gap: 0.8rem; }
.detail-meta span { display: inline-flex; align-items: center; gap: 0.3rem; }
.author-card {
  display: flex; gap: 0.85rem; align-items: center;
  margin-bottom: 1.1rem; padding: 0.85rem 1rem;
  border-radius: 0.5rem; background: var(--bg-100); border: 1px solid var(--line);
}
.author-card img { width: 64px; height: 80px; object-fit: cover; border-radius: 0.375rem; }
.author-card p { color: var(--fg-600); font-size: 0.85rem; }
.detail-practice { margin-bottom: 0.8rem; font-size: 0.9rem; }
.detail-practice a { color: var(--pri-700); }
.result-box, .alert-soft {
  display: flex; gap: 0.55rem; align-items: flex-start;
  padding: 0.85rem 1rem; margin-bottom: 1rem;
  border-radius: 0.5rem; background: var(--bg-100); border: 1px solid var(--line);
  font-size: 0.9rem;
}
.result-box { display: block; }
.result-box .tile-label { color: var(--acc-700); }
.alert-soft i { color: var(--pri-600); margin-top: 0.15rem; }
.faq-block { margin-top: 1.8rem; }
.faq-block h2 { font-size: 1.35rem; margin-bottom: 0.8rem; }
.faq-item { padding: 0.85rem 0; border-top: 1px solid var(--line); }
.faq-item h3 { font-size: 1rem; }
.faq-item p { margin-top: 0.35rem; color: var(--fg-600); font-size: 0.92rem; }
.detail-actions { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.65rem; }
.side-dark {
  position: relative; overflow: hidden;
  padding: 1.4rem 1.35rem;
  border-radius: 0.5rem;
  background: var(--pri-950);
  color: var(--bg-100);
}
.side-dark h2, .side-card h2, .side-form h3 { font-size: 1.15rem; color: inherit; }
.side-dark h2 { color: var(--bg-50); }
.side-dark p, .side-note { margin-top: 0.55rem; color: oklch(0.902 0.019 68); font-size: 0.88rem; }
.side-dark .side-note { color: oklch(0.902 0.019 68); }
.side-phone {
  display: inline-flex; align-items: center; gap: 0.45rem;
  margin-top: 0.9rem; color: var(--bg-50); font-weight: 600;
}
.side-phone i {
  width: 2rem; height: 2rem; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; background: var(--pri-500); color: var(--bg-50);
}
.side-card, .side-form, .contact-tile, .visit-row {
  padding: 1.15rem 1.2rem;
  border-radius: 0.5rem;
  background: var(--bg-100);
  border: 1px solid var(--line);
}
.side-card h2 { color: var(--fg-950); }
.side-card .side-note { color: var(--fg-600); }
.tile-label { font-size: 0.75rem; color: var(--fg-500); }
.tile-value { margin-top: 0.25rem; font-weight: 600; overflow-wrap: anywhere; }
.contact-tiles { display: flex; flex-direction: column; gap: 0.85rem; }
.contact-tile { display: flex; gap: 0.9rem; align-items: flex-start; }
.tile-icon {
  width: 2.75rem; height: 2.75rem; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 0.5rem; background: var(--pri-100); color: var(--pri-600); font-size: 1.2rem;
}
.visit-stack { display: flex; flex-direction: column; gap: 0.85rem; }
.visit-row { display: flex; gap: 0.85rem; align-items: flex-start; }
.consult-form-card {
  padding: 1.5rem 1.35rem 1.4rem;
  border-radius: 0.5rem;
  background: var(--bg-100);
  border: 1px solid var(--pri-300);
  box-shadow: 0 14px 36px oklch(0.27 0.065 37 / 0.08);
}
.contact-form-card {
  padding: 1.5rem 1.35rem 1.4rem;
  border-radius: 0.5rem;
  background: var(--bg-100);
  border: 1px solid var(--line);
}
.side-form { padding: 1.15rem 1.2rem 1.25rem; }
.consult-form-card .form-panel,
.contact-form-card .form-panel,
.side-form .form-panel { background: transparent; border: 0; padding: 0; box-shadow: none; }

.form-panel { position: relative; }
.form-kicker { display: flex; align-items: center; gap: 0.6rem; color: var(--acc-600); font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase; }
.form-title { margin-top: 0.45rem; font-size: 1.35rem; }
.form-sub { margin-top: 0.4rem; color: var(--fg-600); font-size: 0.88rem; }
.form-field { margin-top: 0.95rem; }
.form-field label { display: block; margin-bottom: 0.4rem; font-size: 0.88rem; font-weight: 500; color: var(--fg-800); }
.form-field input[type="text"],
.form-field input[type="tel"],
.form-field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: 0.375rem;
  border: 1px solid var(--bg-300);
  background: var(--bg-50);
  color: var(--fg-900);
  font-size: 0.9rem;
  outline: none;
}
.form-field textarea { min-height: 7.5rem; resize: vertical; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--pri-500); box-shadow: 0 0 0 3px oklch(0.895 0.09 58 / 0.45); }
.form-check { display: flex; align-items: flex-start; gap: 0.5rem; }
.form-check input { margin-top: 0.3rem; accent-color: var(--pri-500); }
.form-check label { margin: 0; font-weight: 400; }
.form-check a { color: var(--pri-700); text-decoration: underline; }
.form-btn { margin-top: 1rem; }
.form-disclaimer { margin-top: 0.7rem; font-size: 0.75rem; color: var(--fg-500); }
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
}

.reading { max-width: 46rem; }

.related-lawyer {
  display: flex; gap: 0.85rem; align-items: center;
  padding: 1rem; margin-bottom: 1.25rem;
  border-radius: 0.5rem; background: var(--bg-50); border: 1px solid var(--line);
}
.related-lawyer img { width: 64px; height: 64px; object-fit: cover; border-radius: 0.375rem; }
.related-lawyer-name { font-family: var(--font-heading); font-weight: 700; }
.related-lawyer-lead { color: var(--fg-600); font-size: 0.85rem; }
.related-block { margin-top: 1.25rem; }
.related-block h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.related-item {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}
.related-item em { font-style: normal; color: var(--acc-700); font-size: 0.8rem; }

/* 咨询步骤：参考站圆环序号，整组 flex 居中换行 */
.steps-band { background: var(--bg-50); padding: 4rem 0; }
@media (min-width: 768px) { .steps-band { padding: 5.5rem 0; } }
.steps-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.step-item {
  flex: 1 1 16.5rem;
  max-width: 22rem;
  min-width: 0;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
  background: transparent;
}
.step-orb {
  position: relative;
  width: 104px; height: 104px;
  margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: var(--bg-50);
  border: 1px solid var(--line);
}
.step-icon {
  width: 72px; height: 72px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: var(--pri-100);
  color: var(--pri-600);
  font-size: 1.7rem;
}
.step-num {
  position: absolute; top: -0.25rem; right: -0.25rem;
  width: 2rem; height: 2rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: var(--acc-500);
  color: var(--bg-50);
  font-size: 0.85rem;
  font-weight: 700;
}
.step-item h3 { margin-top: 1.15rem; font-size: 1.05rem; }
.step-item p { margin-top: 0.45rem; font-size: 0.9rem; color: var(--fg-600); }
.step-item h3, .step-item p { overflow-wrap: anywhere; word-break: break-word; }

.trust-bar { background: var(--bg-50); border-top: 1px solid var(--line); }
.trust-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.1rem 1.5rem;
  padding-top: 1.35rem;
  padding-bottom: 1.35rem;
}
.trust-item {
  flex: 1 1 12rem;
  max-width: 18rem;
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}
.trust-item i { color: var(--pri-600); font-size: 1.3rem; margin-top: 0.1rem; }
.trust-item strong { display: block; font-size: 0.92rem; }
.trust-item span { display: block; font-size: 0.78rem; color: var(--fg-600); overflow-wrap: anywhere; }

.site-footer { background: var(--pri-950); color: oklch(0.902 0.019 68); padding: 3.4rem 0 1.4rem; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 2.2rem; }
.footer-col { flex: 1 1 15rem; min-width: 0; }
.footer-brand { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.9rem; color: var(--bg-50); }
.footer-brand .brand-name, .footer-brand .brand-firm { display: block; }
.footer-brand .brand-firm { color: oklch(0.902 0.019 68); opacity: 1; letter-spacing: 0.08em; }
.footer-col h3 { color: var(--bg-50); font-size: 1rem; margin-bottom: 0.85rem; }
.footer-col p, .footer-links a { font-size: 0.875rem; }
.footer-links li { margin: 0.4rem 0; }
.footer-links a:hover, .footer-practices a:hover, .footer-nap-list a:hover { color: var(--pri-300); }
.footer-nap-list li { display: flex; gap: 0.5rem; align-items: flex-start; margin: 0.55rem 0; font-size: 0.875rem; }
.footer-nap-list i { color: var(--pri-400); margin-top: 0.15rem; }
.footer-wechat {
  display: inline-flex; align-items: center; gap: 0.35rem;
  background: transparent; border: 0; padding: 0; color: inherit; cursor: pointer; font-size: 0.875rem;
}
.footer-cta { margin-top: 0.9rem; }
.footer-practices-row { margin-top: 2rem; padding-top: 1.1rem; border-top: 1px solid oklch(0.988 0.006 78 / 0.12); }
.footer-practices-row h3 { color: var(--bg-50); font-size: 0.95rem; margin-bottom: 0.65rem; }
.footer-practices { display: flex; flex-wrap: wrap; gap: 0.4rem 1.15rem; }
.footer-practices a { font-size: 0.85rem; }
.footer-bottom {
  margin-top: 1.4rem; padding-top: 0.9rem;
  border-top: 1px solid oklch(0.988 0.006 78 / 0.12);
  display: flex; flex-direction: column; gap: 0.3rem;
  font-size: 0.75rem; color: oklch(0.852 0.021 66 / 0.75);
}
.footer-tech { font-size: 0.72rem; color: oklch(0.852 0.021 66 / 0.55); }
.footer-tech a { color: inherit; text-decoration: underline; }

.pc-convert {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: oklch(0.27 0.065 37 / 0.96);
  color: var(--bg-50);
  border-top: 1px solid oklch(0.78 0.152 83 / 0.35);
}
.pc-convert-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 4.25rem; padding-top: 0.55rem; padding-bottom: 0.55rem;
}
.pc-convert-text { display: flex; flex-direction: column; }
.pc-convert-text span { font-size: 0.78rem; color: oklch(0.902 0.019 68 / 0.8); }
.pc-convert-actions { display: flex; align-items: center; gap: 0.85rem; }
.pc-convert-phone { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--acc-200); }

.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex;
  background: oklch(0.988 0.006 78 / 0.97);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--bg-200);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar-item {
  flex: 1 1 0; min-width: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.15rem; padding: 0.4rem 0.1rem 0.5rem;
  border: 0; background: transparent; color: var(--fg-500);
  font-size: 0.68rem; cursor: pointer;
}
.mobile-bar-item i {
  width: 2.15rem; height: 2.15rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; font-size: 1.05rem;
}
.mobile-cta { color: var(--pri-600); }
.mobile-cta i { background: var(--pri-100); }
@media (max-width: 767px) { .pc-convert { display: none; } }
@media (min-width: 768px) { .mobile-bar { display: none; } }

.wechat-modal {
  display: none; position: fixed; inset: 0; z-index: 80;
  background: oklch(0.155 0.009 50 / 0.55);
  padding: 1.25rem;
}
.wechat-modal.is-open { display: flex; align-items: center; justify-content: center; }
.wechat-modal-box {
  position: relative; width: min(100%, 22rem);
  padding: 2rem 1.35rem 1.35rem;
  border-radius: 0.5rem;
  background: var(--bg-50);
  border: 1px solid var(--bg-200);
  text-align: center;
  box-shadow: 0 18px 48px oklch(0.27 0.065 37 / 0.28);
}
.wechat-modal-close {
  position: absolute; top: 0.55rem; right: 0.55rem;
  width: 2rem; height: 2rem; border: 0; border-radius: 0.375rem;
  background: var(--bg-100); color: var(--fg-700); cursor: pointer;
}
.wechat-modal-icon {
  width: 3rem; height: 3rem; margin: 0 auto 0.55rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 0.5rem; background: var(--pri-100); color: var(--pri-600); font-size: 1.55rem;
}
.wechat-modal-title { font-family: var(--font-heading); font-size: 1.25rem; }
.wechat-modal-desc { margin-top: 0.35rem; font-size: 0.85rem; color: var(--fg-600); }
.wechat-qr { width: 180px; height: 180px; margin: 0.85rem auto 0; object-fit: contain; }
.wechat-modal-dismiss {
  margin-top: 0.35rem;
  border: 1px solid var(--pri-300); background: transparent; color: var(--pri-700);
  border-radius: 0.375rem; padding: 0.45rem 1.2rem; cursor: pointer;
}
.wechat-id-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.4rem 0.6rem; margin-top: 0.85rem; }
.wechat-id-label { font-size: 0.8rem; color: var(--fg-600); }
.wechat-id-hint { margin-top: 0.45rem; font-size: 0.8rem; color: var(--fg-600); }
.wechat-id-hint strong { color: var(--pri-700); }
@media (min-width: 768px) {
  body:has(#wechat-modal img) .wechat-id-row,
  body:has(#wechat-modal img) .wechat-id-hint { display: none !important; }
}

.thanks-inner { max-width: 40rem; margin: 0 auto; text-align: center; }
.thanks-icon { font-size: 3rem; color: var(--pri-600); }
.thanks-lead { margin-top: 0.75rem; font-size: 1.05rem; }
.thanks-actions { margin-top: 1.3rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem; }
.thanks-wechat { margin-top: 1.2rem; }
.thanks-wechat img { width: 180px; height: 180px; object-fit: contain; }
.thanks-hours { margin-top: 1.6rem; text-align: left; }
.thanks-hours h2 { font-size: 1.15rem; }
.thanks-disclaimer { margin-top: 1rem; font-size: 0.8rem; color: var(--fg-500); }
.off-hours-tip { margin-top: 0.75rem; }
.off-hours-tip-inner {
  display: flex; gap: 0.5rem; align-items: flex-start;
  padding: 0.8rem 0.9rem; border-radius: 0.375rem;
  background: var(--acc-100); color: var(--acc-900); font-size: 0.85rem;
}

.not-found {
  position: relative; min-height: 70vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 7rem 1.25rem 3rem;
}
.not-found-code {
  position: absolute; font-family: var(--font-heading);
  font-size: clamp(5rem, 16vw, 10rem); color: var(--bg-200); user-select: none;
}
.not-found-inner { position: relative; z-index: 1; }
.not-found-inner p { margin-top: 0.75rem; color: var(--fg-600); }
.not-found-actions { margin-top: 1.4rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem; }

@media (prefers-reduced-motion: reduce) {
  .animate-fade-up { animation: none; }
}
