:root {
  --font-heading: "Noto Serif SC", "Songti SC", serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --background-50: 0.985 0.003 85;
  --background-100: 0.97 0.006 82;
  --background-200: 0.94 0.012 78;
  --background-300: 0.90 0.018 74;
  --primary-50: 0.972 0.012 25;
  --primary-100: 0.952 0.028 25;
  --primary-200: 0.905 0.06 25;
  --primary-300: 0.83 0.10 25;
  --primary-400: 0.71 0.16 25;
  --primary-500: 0.585 0.215 25;
  --primary-600: 0.52 0.22 25;
  --primary-700: 0.45 0.19 25;
  --primary-800: 0.38 0.16 25;
  --primary-900: 0.30 0.12 25;
  --primary-950: 0.22 0.08 25;
  --accent-100: 0.96 0.035 83;
  --accent-300: 0.88 0.12 72;
  --accent-500: 0.74 0.17 62;
  --accent-600: 0.66 0.16 56;
  --accent-950: 0.25 0.05 36;
  --secondary-100: 0.95 0.015 60;
  --secondary-900: 0.26 0.02 44;
  --foreground-100: 0.94 0.01 80;
  --foreground-300: 0.80 0.02 60;
  --foreground-400: 0.68 0.02 50;
  --foreground-500: 0.55 0.02 45;
  --foreground-600: 0.44 0.02 40;
  --foreground-700: 0.36 0.015 35;
  --foreground-800: 0.28 0.01 30;
  --foreground-900: 0.21 0.008 25;
  --foreground-950: 0.15 0.006 20;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: oklch(var(--background-50));
  color: oklch(var(--foreground-900));
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
button, input, textarea, select { font-family: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.25; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { cursor: pointer; }

.wrap { width: min(72rem, calc(100% - 2rem)); margin: 0 auto; }
.wrap-mid { width: min(56rem, calc(100% - 2rem)); margin: 0 auto; }
.wrap-read { width: min(48rem, calc(100% - 2rem)); margin: 0 auto; }
.wrap-stats { width: min(64rem, calc(100% - 2rem)); margin: 0 auto; }

.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.75rem;
  border-radius: 0.375rem;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-sm { padding: 0.55rem 1.15rem; font-size: 0.875rem; }
.btn-block { width: 100%; }
.btn-primary { background: oklch(var(--primary-500)); color: oklch(var(--background-50)); }
.btn-primary:hover { background: oklch(var(--primary-600)); }
.btn-line {
  background: transparent;
  color: oklch(var(--primary-600));
  border-color: oklch(var(--primary-300));
}
.btn-line:hover { background: oklch(var(--primary-50)); }
.btn-ghost {
  background: oklch(var(--background-50) / 0.1);
  color: oklch(var(--background-50));
  border-color: oklch(var(--background-50) / 0.3);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: oklch(var(--background-50) / 0.2); }
.btn-ivory {
  background: oklch(var(--background-50));
  color: oklch(var(--primary-600));
}
.btn-ivory:hover { background: oklch(var(--background-100)); }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: oklch(var(--background-50) / 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid oklch(var(--background-200));
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.04);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
body.has-hero:not(.is-scrolled):not(.is-menu-open) .site-header {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 4rem;
  padding: 0 1rem;
}
.brand, .footer-brand { display: flex; align-items: center; gap: 0.75rem; min-width: 0; }
.brand-mark, .brand-logo {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: oklch(var(--primary-500));
  color: oklch(var(--background-50));
  font-size: 1.25rem;
  flex: 0 0 auto;
  object-fit: cover;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: oklch(var(--foreground-900));
}
.brand-firm { font-size: 0.72rem; color: oklch(var(--foreground-500)); }
body.has-hero:not(.is-scrolled):not(.is-menu-open) .brand-name { color: oklch(var(--background-50)); }
body.has-hero:not(.is-scrolled):not(.is-menu-open) .brand-firm { color: oklch(var(--background-100) / 0.85); }
.nav-desktop { display: none; align-items: center; gap: 0.15rem; }
.nav-link {
  position: relative;
  padding: 0.45rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: oklch(var(--foreground-700));
  border-radius: 0.375rem;
}
.nav-link:hover, .nav-link.is-active { color: oklch(var(--primary-600)); }
.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.1rem;
  width: 1.25rem;
  height: 2px;
  border-radius: 99px;
  background: oklch(var(--primary-500));
  transform: translateX(-50%);
}
body.has-hero:not(.is-scrolled):not(.is-menu-open) .nav-link { color: oklch(var(--background-100)); }
body.has-hero:not(.is-scrolled):not(.is-menu-open) .nav-link:hover,
body.has-hero:not(.is-scrolled):not(.is-menu-open) .nav-link.is-active { color: oklch(var(--background-50)); }
.nav-cta { margin-left: 0.6rem; }
.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.header-phone {
  display: none;
  align-items: center;
  gap: 0.3rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: oklch(var(--primary-600));
}
body.has-hero:not(.is-scrolled):not(.is-menu-open) .header-phone { color: oklch(var(--background-50)); }
.nav-toggle {
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 0.375rem;
  background: transparent;
  color: oklch(var(--foreground-900));
  font-size: 1.5rem;
}
body.has-hero:not(.is-scrolled):not(.is-menu-open) .nav-toggle { color: oklch(var(--background-50)); }
.nav-mobile { background: oklch(var(--background-50)); border-top: 1px solid oklch(var(--background-200)); }
.nav-mobile-inner { padding: 0.75rem 1rem 5.5rem; }
.nav-mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0.75rem;
  border-radius: 0.375rem;
  font-weight: 500;
  color: oklch(var(--foreground-700));
}
.nav-mobile-link.is-active { color: oklch(var(--primary-600)); background: oklch(var(--primary-50)); }
.nav-mobile-cta { margin-top: 0.5rem; }
.nav-mobile-phone {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
  padding: 0.75rem;
  font-weight: 600;
  color: oklch(var(--primary-600));
}

.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(180deg, oklch(var(--primary-800)), oklch(var(--primary-950)));
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.hero-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgb(0 0 0 / 0.55), rgb(0 0 0 / 0.4) 45%, rgb(0 0 0 / 0.6));
}
.hero-inner {
  position: relative;
  width: min(56rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: 6.5rem 0 5rem;
  text-align: center;
  color: oklch(var(--background-50));
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: oklch(var(--background-50) / 0.1);
  border: 1px solid oklch(var(--background-50) / 0.2);
  backdrop-filter: blur(6px);
  font-size: 0.875rem;
  font-weight: 500;
}
.hero-kicker i { color: oklch(var(--accent-300)); }
.hero h1 {
  margin-top: 1.4rem;
  font-size: 2.15rem;
  font-weight: 700;
  line-height: 1.25;
  color: oklch(var(--background-50));
}
.hero-lead {
  margin: 1.35rem auto 0;
  max-width: 40rem;
  font-size: 1rem;
  line-height: 1.75;
  color: oklch(var(--background-100) / 0.92);
}
.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
}
.hero-actions .btn { width: 100%; }
.hero-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: oklch(var(--background-50));
  font-weight: 600;
}

.stats-overlap {
  position: relative;
  z-index: 10;
  margin-top: -3rem;
  padding: 0 1rem;
}
.stats-card {
  display: flex;
  flex-wrap: wrap;
  width: min(64rem, 100%);
  margin: 0 auto;
  background: oklch(var(--background-50));
  border: 1px solid oklch(var(--background-200));
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.06);
  overflow: hidden;
}
.stat-cell {
  flex: 1 1 9.5rem;
  min-width: 0;
  text-align: center;
  padding: 1.4rem 0.85rem;
  border-right: 1px solid oklch(var(--background-200));
  border-bottom: 1px solid oklch(var(--background-200));
}
.stat-value {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: oklch(var(--primary-600));
  overflow-wrap: anywhere;
}
.stat-value a { color: inherit; }
.stat-label { margin-top: 0.4rem; font-size: 0.875rem; color: oklch(var(--foreground-600)); }

.band { padding: 4rem 0; }
.band-mist { background: oklch(var(--background-100)); }
.section-head { text-align: center; max-width: 40rem; margin: 0 auto; }
.section-head.left { text-align: left; margin: 0; }
.section-head.split {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: none;
  text-align: left;
  margin: 0;
}
.eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: oklch(var(--primary-600));
}
.section-head h2 { margin-top: 0.7rem; font-size: 1.85rem; color: oklch(var(--foreground-950)); }
.section-desc { margin-top: 0.9rem; color: oklch(var(--foreground-600)); }
.section-more { margin-top: 1.5rem; text-align: center; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: oklch(var(--primary-600));
}
.text-link:hover { color: oklch(var(--primary-700)); }

.card-grid, .case-grid, .honor-grid, .contact-tiles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.practice-card, .case-card, .article-card, .news-row, .honor-card, .contact-card, .detail-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border-radius: 0.5rem;
  background: oklch(var(--background-50));
  border: 1px solid oklch(var(--background-200));
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
a.practice-card:hover, a.case-card:hover, a.article-card:hover, a.news-row:hover, a.contact-card:hover {
  border-color: oklch(var(--primary-300));
  background: oklch(var(--primary-50) / 0.4);
}
.card-icon, .contact-icon {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background: oklch(var(--primary-100));
  color: oklch(var(--primary-600));
  font-size: 1.4rem;
  transition: background 0.2s ease, color 0.2s ease;
}
a.practice-card:hover .card-icon { background: oklch(var(--primary-500)); color: oklch(var(--background-50)); }
.practice-card h2, .practice-card h3, .case-card h2, .case-card h3, .article-card h3, .news-row h2 {
  margin-top: 1rem;
  font-size: 1.2rem;
  color: oklch(var(--foreground-900));
}
.card-summary { margin-top: 0.5rem; font-size: 0.9rem; color: oklch(var(--foreground-600)); line-height: 1.7; flex: 1; }
.clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-more {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: oklch(var(--primary-600));
}
.card-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: oklch(var(--secondary-100));
  color: oklch(var(--secondary-900));
  font-size: 0.75rem;
  font-weight: 600;
}
.pill-gold { background: oklch(var(--accent-100)); color: oklch(0.35 0.08 40); }
.meta-quiet { margin-left: auto; font-size: 0.75rem; color: oklch(var(--foreground-500)); }
.case-foot {
  margin-top: 1.1rem;
  padding-top: 0.9rem;
  border-top: 1px solid oklch(var(--background-200));
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.intro-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
.portrait-frame { position: relative; margin-bottom: 1.6rem; }
.portrait-photo, .portrait-fallback {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  border-radius: 0.5rem;
  display: block;
  background: linear-gradient(160deg, oklch(var(--primary-700)), oklch(var(--accent-600)));
}
.portrait-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  color: oklch(var(--background-50));
  font-size: 4rem;
}
.portrait-badge {
  position: absolute;
  right: 0.5rem;
  bottom: -1.2rem;
  background: oklch(var(--primary-500));
  color: oklch(var(--background-50));
  border-radius: 0.5rem;
  padding: 0.85rem 1.2rem;
}
.portrait-badge strong { display: block; font-family: var(--font-heading); font-size: 1.35rem; }
.portrait-badge span { font-size: 0.85rem; opacity: 0.9; }
.profile-role { margin-top: 0.55rem; font-size: 1.05rem; color: oklch(var(--foreground-500)); }
.intro-lead { margin-top: 1.2rem; color: oklch(var(--foreground-600)); }
.firm-note {
  margin-top: 0.7rem;
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  color: oklch(var(--foreground-700));
}
.check-list { margin-top: 1.2rem; display: grid; gap: 0.65rem; }
.check-list li { display: flex; align-items: flex-start; gap: 0.45rem; font-size: 0.92rem; color: oklch(var(--foreground-700)); }
.check-icon { color: oklch(var(--primary-500)); }
.intro-actions { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }

.news-list-vertical { display: flex; flex-direction: column; gap: 1rem; }
.news-row h2 { margin-top: 0.85rem; font-size: 1.35rem; }
.article-card h3 { margin-top: 0.9rem; }

.cta-band {
  position: relative;
  width: min(64rem, calc(100% - 2rem));
  margin: 0 auto 4rem;
  border-radius: 0.5rem;
  overflow: hidden;
  background: linear-gradient(100deg, oklch(var(--primary-800)), oklch(0.42 0.12 40));
  color: oklch(var(--background-50));
}
.cta-band.has-photo { background-size: cover; background-position: center top; }
.cta-inner { position: relative; padding: 3.2rem 1.5rem; }
.cta-inner h2 { font-size: 1.7rem; color: oklch(var(--background-50)); max-width: 36rem; }
.cta-inner p { margin-top: 0.9rem; max-width: 36rem; color: oklch(var(--background-100) / 0.92); }
.cta-actions { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }

.page-head {
  position: relative;
  padding: 7rem 0 2.5rem;
  overflow: hidden;
  background: linear-gradient(to bottom, oklch(var(--primary-50)), oklch(var(--background-50)));
}
.page-head-glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 24rem;
  height: 24rem;
  border-radius: 999px;
  background: oklch(var(--primary-100) / 0.55);
  filter: blur(48px);
  transform: translate(30%, -50%);
  pointer-events: none;
}
.page-head-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-head-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, oklch(var(--primary-950) / 0.72), oklch(var(--primary-900) / 0.55));
}
.page-head .wrap, .page-head .wrap-mid, .page-head .wrap-read { position: relative; }
.page-head h1 { margin-top: 0.7rem; font-size: 2rem; color: oklch(var(--foreground-950)); }
.page-head.has-photo h1, .page-head.has-photo .page-lead, .page-head.has-photo .crumbs, .page-head.has-photo .crumbs a { color: oklch(var(--background-50)); }
.page-lead { margin-top: 0.9rem; max-width: 40rem; font-size: 1.05rem; color: oklch(var(--foreground-600)); }
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: oklch(var(--primary-600));
}
.crumbs a:hover { color: oklch(var(--primary-700)); }
.crumb-current {
  max-width: 14rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: oklch(var(--foreground-700));
}
.crumb-sep { display: inline-flex; color: oklch(var(--foreground-400)); }
.detail-title-row { margin-top: 1.2rem; display: flex; align-items: center; gap: 1rem; }
.detail-icon {
  width: 4rem;
  height: 4rem;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background: oklch(var(--primary-500));
  color: oklch(var(--background-50));
  font-size: 1.8rem;
}
.detail-title-row h1 { margin-top: 0; }
.detail-meta { margin-top: 1rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; color: oklch(var(--foreground-500)); font-size: 0.9rem; }
.detail-meta span, .detail-meta a { display: inline-flex; align-items: center; gap: 0.3rem; }

.about-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.side-card { margin-top: 1.25rem; padding: 1.4rem; border-radius: 0.5rem; background: oklch(var(--background-100)); border: 1px solid oklch(var(--background-200)); }
.side-card h2 { font-size: 1.1rem; }
.info-list { margin-top: 0.9rem; display: grid; gap: 0.7rem; font-size: 0.92rem; color: oklch(var(--foreground-700)); }
.info-list li { display: flex; align-items: flex-start; gap: 0.45rem; }
.info-list i { color: oklch(var(--primary-500)); margin-top: 0.15rem; }
.prose { color: oklch(var(--foreground-800)); line-height: 1.9; }
.prose > * + * { margin-top: 0.95rem; }
.prose h2, .prose h3 { color: oklch(var(--foreground-950)); margin-top: 1.5rem; }
.prose a { color: oklch(var(--primary-600)); text-decoration: underline; }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose img { border-radius: 0.5rem; }
.prose blockquote {
  margin: 1rem 0;
  padding: 0.6rem 1rem;
  border-left: 3px solid oklch(var(--primary-400));
  background: oklch(var(--primary-50));
}
.alert-soft {
  margin-top: 1.2rem;
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  border-radius: 0.5rem;
  background: oklch(var(--background-100));
  color: oklch(var(--foreground-600));
  font-size: 0.9rem;
}
.alert-soft i { color: oklch(var(--primary-600)); }
.author-card, .related-lawyer {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  margin-bottom: 1.2rem;
  padding: 1rem;
  border-radius: 0.5rem;
  background: oklch(var(--background-100));
  border: 1px solid oklch(var(--background-200));
}
.author-card img, .related-lawyer img { width: 4rem; height: 5rem; object-fit: cover; border-radius: 0.4rem; }
.faq-block { margin-top: 1.6rem; }
.faq-item { border-top: 1px solid oklch(var(--background-200)); padding: 0.8rem 0; }
.faq-item summary { cursor: pointer; font-weight: 600; }
.faq-item p { margin-top: 0.45rem; color: oklch(var(--foreground-600)); }
.aside-phone {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  color: oklch(var(--primary-600));
}

.hours-card {
  margin-top: 1.25rem;
  padding: 1.4rem;
  border-radius: 0.5rem;
  background: oklch(var(--accent-950));
  color: oklch(var(--background-100));
}
.hours-card h2, .hours-card h3 { color: oklch(var(--background-50)); font-size: 1.1rem; }
.hours-card p { margin-top: 0.7rem; color: oklch(var(--accent-300)); }
.hours-card .btn { margin-top: 1.1rem; }
.contact-value { margin-top: 0.45rem; font-weight: 600; overflow-wrap: anywhere; }
.contact-note { margin-top: 0.3rem; font-size: 0.78rem; color: oklch(var(--foreground-500)); }
.contact-layout, .consult-layout { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: start; }

.benefit-list { display: grid; gap: 0.9rem; margin-top: 1rem; }
.benefit-list li { display: flex; gap: 0.75rem; align-items: flex-start; }
.benefit-icon {
  width: 2.4rem;
  height: 2.4rem;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background: oklch(var(--primary-100));
  color: oklch(var(--primary-600));
}
.phone-callout {
  margin-top: 1.2rem;
  padding: 1rem 1.1rem;
  border-radius: 0.5rem;
  background: oklch(var(--accent-950));
  color: oklch(var(--background-100));
}
.phone-callout a { display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 0.4rem; font-weight: 700; color: oklch(var(--background-50)); }
.promise-card {
  margin-top: 1rem;
  padding: 1.2rem;
  border-radius: 0.5rem;
  background: oklch(var(--background-100));
  border: 1px solid oklch(var(--background-200));
}
.promise-card li { display: flex; gap: 0.4rem; margin-top: 0.55rem; font-size: 0.9rem; color: oklch(var(--foreground-600)); }
.promise-card i { color: oklch(var(--primary-500)); }

.form-slot-detail .form-panel {
  margin-top: 1.25rem;
  padding: 1.15rem 1.2rem 1.25rem;
  border-radius: 0.5rem;
  border: 1px solid oklch(var(--background-200));
  background: oklch(var(--background-50));
}
.form-slot-contact .form-panel {
  padding: 1.4rem;
  border-radius: 0.5rem;
  border: 1px solid oklch(var(--background-200));
  background: oklch(var(--background-50));
}
.form-slot-consult .form-panel {
  padding: 1.5rem 1.4rem 1.6rem;
  border-radius: 0.5rem;
  border: 1px solid oklch(var(--primary-300));
  background: oklch(var(--background-50));
  box-shadow: 0 10px 28px oklch(var(--primary-900) / 0.08);
}
.form-title { display: flex; align-items: center; gap: 0.5rem; font-size: 1.15rem; }
.accent-bar { width: 0.28rem; height: 1.15rem; border-radius: 99px; background: oklch(var(--primary-500)); }
.form-sub { margin: 0.45rem 0 1rem; font-size: 0.85rem; color: oklch(var(--foreground-500)); }
.form-field { margin-bottom: 0.9rem; }
.form-field label { display: block; margin-bottom: 0.35rem; font-size: 0.875rem; font-weight: 600; color: oklch(var(--foreground-700)); }
.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 oklch(var(--background-300));
  background: oklch(var(--background-50));
  color: oklch(var(--foreground-900));
  font-size: 0.92rem;
}
.form-field textarea { min-height: 7rem; resize: vertical; }
.form-field input:focus, .form-field textarea:focus {
  outline: 2px solid oklch(var(--primary-300));
  border-color: oklch(var(--primary-400));
}
.form-check { display: flex; align-items: flex-start; gap: 0.45rem; }
.form-check input { margin-top: 0.3rem; accent-color: oklch(var(--primary-600)); }
.form-check label { margin: 0; font-weight: 500; }
.form-check a { color: oklch(var(--primary-600)); text-decoration: underline; }
.form-disclaimer { margin-top: 0.7rem; font-size: 0.78rem; color: oklch(var(--foreground-500)); text-align: center; }
.form-btn { margin-top: 0.3rem; }

.steps-band { padding: 4rem 0; background: oklch(var(--background-100)); width: 100%; }
.steps-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 1.5rem;
  margin-top: 2rem;
}
.step-item {
  flex: 1 1 16.5rem;
  max-width: 22rem;
  min-width: 0;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
  padding: 1.4rem 1.2rem;
  border-radius: 0.5rem;
  background: oklch(var(--background-50));
  border: 1px solid oklch(var(--background-200));
}
.step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  background: oklch(var(--primary-500));
  color: oklch(var(--background-50));
  font-family: var(--font-heading);
  font-weight: 700;
}
.step-item h3 { margin-top: 0.8rem; font-size: 1.1rem; }
.step-item p { margin-top: 0.45rem; color: oklch(var(--foreground-600)); font-size: 0.92rem; }
.step-item h3, .step-item p { overflow-wrap: anywhere; word-break: break-word; }

.trust-bar { background: oklch(var(--background-50)); border-top: 1px solid oklch(var(--background-200)); }
.trust-inner { display: flex; flex-wrap: wrap; gap: 0.8rem 1.2rem; padding: 1rem 0; }
.trust-item { display: flex; align-items: center; gap: 0.6rem; flex: 1 1 12rem; min-width: 0; }
.trust-icon {
  width: 2.2rem;
  height: 2.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.45rem;
  background: oklch(var(--primary-100));
  color: oklch(var(--primary-600));
  font-size: 1.15rem;
  line-height: 1;
}
.trust-item .trust-icon i { font-size: 1em; line-height: 1; display: block; }
.trust-item strong, .trust-item > div span, .trust-item a { display: block; }
.trust-item strong { font-size: 0.92rem; }
.trust-item > div span, .trust-item a { font-size: 0.8rem; color: oklch(var(--foreground-600)); overflow-wrap: anywhere; }

.site-footer { background: oklch(var(--accent-950)); color: oklch(var(--background-100)); margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 1.8rem; padding: 3rem 0; }
.site-footer .brand-name { color: oklch(var(--background-50)); }
.site-footer .brand-firm, .footer-blurb, .footer-license { color: oklch(var(--foreground-300)); }
.footer-blurb { margin-top: 0.9rem; font-size: 0.9rem; }
.footer-license { margin-top: 0.35rem; font-size: 0.82rem; }
.site-footer h3 { margin-bottom: 0.8rem; font-size: 1rem; color: oklch(var(--background-50)); }
.footer-links a, .footer-nap-list { color: oklch(var(--foreground-300)); font-size: 0.9rem; }
.footer-links li + li, .footer-nap-list li + li { margin-top: 0.5rem; }
.footer-links a:hover { color: oklch(var(--background-50)); }
.footer-nap-list li { display: flex; align-items: flex-start; gap: 0.45rem; }
.footer-nap-list i { color: oklch(var(--accent-300)); margin-top: 0.15rem; }
.footer-wechat {
  border: 0;
  background: transparent;
  color: oklch(var(--background-50));
  padding: 0;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.footer-bottom { border-top: 1px solid oklch(var(--foreground-800) / 0.45); }
.footer-bottom-inner { padding: 1.1rem 0 1.4rem; display: grid; gap: 0.35rem; font-size: 0.78rem; color: oklch(var(--foreground-400)); }
.footer-tech a { color: oklch(var(--foreground-300)); }

.related-band { padding: 1rem 0 3rem; }
.related-block { margin-top: 1.2rem; }
.related-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid oklch(var(--background-200));
}
.related-item span { flex: 1; min-width: 0; }
.related-item em { font-style: normal; font-size: 0.8rem; color: oklch(var(--primary-600)); }
.chip-list { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: oklch(var(--background-50));
  border: 1px solid oklch(var(--background-200));
  font-size: 0.88rem;
}
.honor-card { align-items: flex-start; flex-direction: row; gap: 0.7rem; }
.honor-icon { color: oklch(var(--accent-500)); font-size: 1.3rem; }
.empty-note { text-align: center; color: oklch(var(--foreground-500)); padding: 2rem 0; }

.thanks-inner { text-align: center; max-width: 40rem; }
.thanks-icon { font-size: 3rem; color: oklch(var(--primary-500)); }
.thanks-lead { margin-top: 0.8rem; font-size: 1.05rem; }
.thanks-actions { margin-top: 1.2rem; display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: center; }
.thanks-wechat { margin: 1.2rem auto 0; max-width: 22rem; }
.thanks-wechat img { width: 180px; height: 180px; object-fit: contain; }
.thanks-hours { margin-top: 1.4rem; }
.thanks-disclaimer { margin-top: 1rem; font-size: 0.82rem; color: oklch(var(--foreground-500)); }
.not-found-code {
  margin-top: 0.4rem;
  font-family: var(--font-heading);
  font-size: 5rem;
  line-height: 1;
  color: oklch(var(--primary-100));
}
.not-found-inner { text-align: center; }
.not-found-actions { margin-top: 1.2rem; display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: center; }
.not-found-grid { margin-top: 2rem; text-align: left; }

.pager { display: flex; justify-content: center; margin-top: 1.75rem; }
.pagination { display: flex; flex-wrap: wrap; gap: 0.4rem; justify-content: center; }
.pagination li a, .pagination li span {
  display: inline-flex;
  min-width: 2.3rem;
  height: 2.3rem;
  padding: 0 0.55rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  border: 1px solid oklch(var(--background-300));
  background: oklch(var(--background-50));
  color: oklch(var(--foreground-700));
  font-size: 0.88rem;
}
.pagination li a:hover { border-color: oklch(var(--primary-400)); color: oklch(var(--primary-600)); }
.pagination li.active span, .pagination li.current span {
  background: oklch(var(--primary-500));
  border-color: oklch(var(--primary-500));
  color: oklch(var(--background-50));
}
.pagination li.disabled span { color: oklch(var(--foreground-400)); background: oklch(var(--background-100)); }

.wechat-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgb(0 0 0 / 0.55);
  padding: 1rem;
}
.wechat-modal.is-open { display: flex; align-items: center; justify-content: center; }
.wechat-modal-box {
  position: relative;
  width: min(22rem, 100%);
  padding: 1.6rem 1.3rem 1.3rem;
  border-radius: 0.5rem;
  background: oklch(var(--background-50));
  text-align: center;
  box-shadow: 0 16px 40px rgb(0 0 0 / 0.2);
}
.wechat-modal-close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: oklch(var(--background-100));
  color: oklch(var(--foreground-700));
}
.wechat-modal-icon { font-size: 2rem; color: oklch(var(--primary-600)); }
.wechat-modal-title { margin-top: 0.35rem; font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; }
.wechat-modal-desc { margin-top: 0.35rem; font-size: 0.88rem; color: oklch(var(--foreground-600)); }
.wechat-qr { width: 180px; height: 180px; margin-top: 0.8rem; object-fit: contain; }
.wechat-modal-dismiss {
  margin-top: 0.4rem;
  border: 0;
  background: transparent;
  color: oklch(var(--foreground-500));
  font-weight: 600;
}
.wechat-id-label { font-size: 0.82rem; color: oklch(var(--foreground-500)); }
.off-hours-tip { margin-top: 0.8rem; }
.off-hours-tip[hidden] { display: none; }
.off-hours-tip-inner {
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
  padding: 0.75rem 0.85rem;
  border-radius: 0.5rem;
  background: oklch(var(--accent-100));
  color: oklch(var(--foreground-800));
  font-size: 0.85rem;
  text-align: left;
}

.pc-convert { display: none; }
.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  gap: 0.2rem;
  padding: 0.35rem 0.4rem calc(0.4rem + env(safe-area-inset-bottom));
  background: oklch(var(--background-50) / 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid oklch(var(--background-200));
}
.mobile-bar-item {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  border: 0;
  background: transparent;
  color: oklch(var(--foreground-500));
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.2rem;
}
.mobile-bar-item i { font-size: 1.2rem; }
.mobile-cta {
  color: oklch(var(--foreground-700));
}
.mobile-cta i {
  width: 2.8rem;
  height: 2.8rem;
  margin-top: -1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: oklch(var(--primary-500));
  color: oklch(var(--background-50));
  box-shadow: 0 8px 16px oklch(var(--primary-700) / 0.35);
}
.back-top {
  position: fixed;
  right: 1rem;
  bottom: 5.6rem;
  z-index: 40;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 999px;
  background: oklch(var(--foreground-900));
  color: oklch(var(--background-50));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.back-top.is-on { opacity: 1; pointer-events: auto; }

@media (max-width: 767px) {
  body { padding-bottom: 5.4rem; }
}
@media (min-width: 768px) {
  body { padding-bottom: 4.4rem; }
  .header-bar { height: 5rem; padding: 0 1.5rem; }
  .brand-mark, .brand-logo { width: 2.75rem; height: 2.75rem; }
  .brand-name { font-size: 1.2rem; }
  .nav-desktop { display: flex; }
  .nav-toggle, .nav-mobile { display: none !important; }
  .header-phone { display: inline-flex; }
  .hero { min-height: 680px; }
  .hero h1 { font-size: 3.4rem; }
  .hero-lead { font-size: 1.2rem; }
  .hero-actions { flex-direction: row; }
  .hero-actions .btn { width: auto; }
  .stat-cell { padding: 1.8rem 1rem; border-bottom: 0; }
  .section-head h2, .page-head h1 { font-size: 2.4rem; }
  .section-head.split { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .card-grid, .honor-grid { grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
  .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .intro-split, .about-grid { grid-template-columns: 0.9fr 1.1fr; gap: 3rem; }
  .about-grid { grid-template-columns: 1fr 2fr; }
  .contact-layout { grid-template-columns: 1.1fr 0.9fr; }
  .consult-layout { grid-template-columns: 1.4fr 1fr; }
  .cta-inner { padding: 4.2rem 3.2rem; }
  .cta-inner h2 { font-size: 2.2rem; }
  .page-head { padding: 9rem 0 3.5rem; }
  .pc-convert {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    background: oklch(var(--accent-950));
    color: oklch(var(--background-100));
    border-top: 1px solid oklch(var(--primary-800));
  }
  .pc-convert-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; }
  .pc-convert-text { display: flex; flex-direction: column; }
  .pc-convert-text span { font-size: 0.8rem; color: oklch(var(--foreground-300)); }
  .pc-convert-actions { display: flex; align-items: center; gap: 0.8rem; }
  .pc-convert-phone { display: inline-flex; align-items: center; gap: 0.3rem; font-weight: 700; color: oklch(var(--accent-300)); }
  .mobile-bar { display: none; }
  .back-top { bottom: 5rem; right: 1.5rem; }
  .footer-grid { grid-template-columns: 1.3fr 0.8fr 0.9fr 1.1fr; }
  body:has(#wechat-modal img) .wechat-id-row,
  body:has(#wechat-modal img) .wechat-id-hint { display: none !important; }
}

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