/* 茶褐深灰 · lawyer-tea-gray · Medical-malpractice-04 移植 */
:root {
  --tea-50: #f9f6f2;
  --tea-100: #f0e9e0;
  --tea-200: #e0d0c0;
  --tea-300: #c9b097;
  --tea-400: #b08e6e;
  --tea-500: #8B6F4E;
  --tea-600: #7a6243;
  --tea-700: #66523a;
  --tea-800: #534432;
  --tea-900: #3e3429;
  --gray-50: #f5f5f5;
  --gray-100: #e8e8e8;
  --gray-200: #d1d1d1;
  --gray-300: #b4b4b4;
  --gray-400: #8a8a8a;
  --gray-500: #6b6b6b;
  --gray-600: #4a4a4a;
  --gray-700: #3A3A3A;
  --gray-800: #2C2C2C;
  --gray-900: #1a1a1a;
  --cream-50: #FDFCFA;
  --cream-100: #FAF7F3;
  --cream-200: #F5F0EB;
  --cream-300: #EDE6DE;
  --cream-400: #E0D6CC;
  --cream-500: #D4C8BC;
  --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-serif: "Noto Serif SC", "Songti SC", serif;
  --wrap: 72rem;
  --header-h: 4rem;
  --mobile-bar-h: 84px;
  --radius: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --shadow-card: 0 4px 24px rgba(139, 111, 78, 0.08);
  --shadow-md: 0 8px 28px rgba(139, 111, 78, 0.12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--gray-800);
  background: var(--cream-100);
  line-height: 1.6;
  padding-bottom: var(--mobile-bar-h);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--font-serif); font-weight: 700; line-height: 1.3; margin: 0; color: var(--gray-800); }
p { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--tea-600); text-decoration: none; transition: color .2s; }
a:hover { color: var(--tea-500); }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
ul { margin: 0; padding: 0; list-style: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.text-accent { color: var(--tea-500); }
.card-shadow { box-shadow: var(--shadow-card); }
.line-clamp-2 {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.line-clamp-3 {
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-in { animation: fadeIn .6s ease-out forwards; }
.animate-slide-up { animation: slideUp .6s ease-out forwards; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
.wrap-narrow { max-width: 56rem; }
@media (min-width: 768px) {
  .wrap { padding-left: 1.5rem; padding-right: 1.5rem; }
  :root { --header-h: 5rem; }
  body { padding-bottom: 0; }
}
@media (min-width: 1024px) {
  .wrap { padding-left: 2rem; padding-right: 2rem; }
}
@media (min-width: 1280px) {
  .wrap { padding-left: 3rem; padding-right: 3rem; }
}

/* Buttons */
.btn-primary,
.btn-outline,
.btn-cream,
.btn-sm,
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.25;
  transition: background .25s, color .25s, border-color .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--tea-500);
  color: #fff;
  border: 1px solid var(--tea-500);
}
.btn-primary:hover { background: var(--tea-600); border-color: var(--tea-600); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--tea-700);
  border: 1px solid var(--tea-300);
}
.btn-outline:hover { background: var(--tea-50); color: var(--tea-600); border-color: var(--tea-400); }
.btn-cream {
  background: var(--cream-200);
  color: var(--tea-700);
  border: 1px solid transparent;
  border-radius: 0.5rem;
}
.btn-cream:hover { background: var(--tea-100); color: var(--tea-800); }
.btn-sm { padding: 0.4rem 0.9rem; font-size: 0.8125rem; }
.btn-pill { border-radius: 9999px; padding: 1rem 2rem; box-shadow: var(--shadow-md); }
.btn-pill:hover { background: var(--tea-400); border-color: var(--tea-400); color: #fff; }
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  color: var(--tea-600);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.link-more:hover { color: var(--tea-700); }
.meta-link { color: var(--tea-600); }
.meta-btn { color: var(--tea-600); padding: 0; font-size: inherit; }
.tag-anon {
  display: inline-block;
  font-size: 0.6875rem;
  padding: 0.15rem 0.5rem;
  background: var(--tea-50);
  color: var(--tea-600);
  border-radius: 0.25rem;
  margin-bottom: 0.4rem;
}

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background .4s, box-shadow .4s;
}
.site-header.is-scrolled {
  background: rgba(253,252,250,0.95);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: inherit;
  flex-shrink: 0;
}
.nav-brand:hover { color: inherit; }
.nav-logo-img { width: 2.25rem; height: 2.25rem; border-radius: 0.5rem; object-fit: cover; }
.nav-logo-ico {
  width: 2.25rem; height: 2.25rem;
  border-radius: 0.5rem;
  background: var(--tea-500);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.125rem;
  flex-shrink: 0;
}
.nav-brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.nav-logo-text { font-family: var(--font-serif); font-weight: 700; font-size: 1rem; color: var(--gray-800); }
.nav-firm { font-size: 0.625rem; color: var(--gray-500); }
@media (min-width: 768px) {
  .nav-logo-text { font-size: 1.125rem; }
  .nav-firm { font-size: 0.75rem; }
  .nav-logo-ico, .nav-logo-img { width: 2.5rem; height: 2.5rem; }
}
.nav-desktop { display: none; align-items: center; gap: 0.25rem; }
.nav-item {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
  border-radius: 0.375rem;
  white-space: nowrap;
  transition: color .25s, background .25s;
}
.nav-item:hover { color: var(--tea-600); background: rgba(249,246,242,0.5); }
.nav-item.is-active { color: var(--tea-600); background: rgba(249,246,242,0.8); }
.nav-item.is-cta {
  background: var(--tea-500);
  color: #fff;
  margin-left: 0.25rem;
}
.nav-item.is-cta:hover { background: var(--tea-600); color: #fff; }
.nav-phone {
  display: none;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--tea-600);
  white-space: nowrap;
}
.nav-mobile-btn {
  width: 2.5rem; height: 2.5rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 0.375rem;
  color: var(--gray-700);
  font-size: 1.25rem;
}
.mobile-menu {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: rgba(253,252,250,0.98);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  padding: 0.75rem 1rem 1rem;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu-nav { display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-nav-link {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
}
.mobile-nav-link:hover,
.mobile-nav-link.is-active { background: var(--tea-50); color: var(--tea-600); }
.mobile-nav-phone {
  display: flex; align-items: center; gap: 0.35rem;
  padding: 0.75rem 1rem;
  margin-top: 0.5rem;
  color: var(--tea-600);
  font-weight: 500;
  font-size: 0.875rem;
}
@media (min-width: 768px) {
  .nav-desktop { display: flex; }
  .nav-phone { display: inline-flex; }
  .nav-mobile-btn { display: none; }
  .mobile-menu { display: none !important; }
}
@media (min-width: 1024px) {
  .nav-item { padding: 0.5rem 1rem; }
  .nav-desktop { gap: 0.5rem; }
}

.site-main { min-height: 50vh; }

/* Hero */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--header-h);
}
@media (min-width: 768px) {
  .hero { min-height: 700px; }
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, #FAF7F3, #f0e9e0, #d1d1d1);
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.hero-bg-fallback { background: linear-gradient(to bottom right, #FAF7F3, #f0e9e0, #d1d1d1); }
.hero.has-img .hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom right, rgba(250,247,243,0.85), rgba(240,233,224,0.75), rgba(209,209,209,0.7));
}
.hero-deco { position: absolute; inset: 0; pointer-events: none; opacity: 0.1; }
.hero-ring {
  position: absolute;
  border: 1px solid var(--tea-400);
  border-radius: 50%;
}
.hero-ring-1 { top: 5rem; right: 5rem; width: 16rem; height: 16rem; }
.hero-ring-2 {
  bottom: 8rem; left: 4rem;
  width: 10rem; height: 10rem;
  border-color: var(--gray-300);
}
.hero-watermark {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 25rem;
  color: var(--tea-600);
  opacity: 0.04;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding-top: 1.5rem;
  padding-bottom: 2.5rem;
  width: 100%;
}
@media (min-width: 1024px) {
  .hero-inner {
    flex-direction: row;
    gap: 3rem;
    align-items: center;
  }
}
.hero-copy { flex: 1; max-width: 40rem; width: 100%; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(4px);
  border: 1px solid var(--tea-200);
  border-radius: 9999px;
  margin-bottom: 1.5rem;
  font-size: 0.75rem;
  color: var(--tea-700);
  font-weight: 500;
}
@media (min-width: 768px) { .hero-badge { font-size: 0.875rem; } }
.hero-badge-ico {
  width: 1.25rem; height: 1.25rem;
  border-radius: 50%;
  background: var(--tea-100);
  color: var(--tea-500);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
}
.hero-copy h1 {
  font-size: 1.875rem;
  margin-bottom: 1rem;
  color: var(--gray-800);
}
@media (min-width: 768px) { .hero-copy h1 { font-size: 2.25rem; } }
@media (min-width: 1024px) { .hero-copy h1 { font-size: 3rem; } }
@media (min-width: 1280px) { .hero-copy h1 { font-size: 3.75rem; } }
.hero-lead {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 32rem;
}
@media (min-width: 768px) { .hero-lead { font-size: 1rem; } }
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}
.hero-wechat-link {
  font-size: 0.875rem;
  color: var(--tea-600);
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 0;
}
.hero-wechat-link:hover { color: var(--tea-700); }
.hero-card {
  width: 100%;
  max-width: 26rem;
  flex-shrink: 0;
}
@media (min-width: 1024px) {
  .hero-card { width: 26rem; max-width: none; }
}
@media (min-width: 1280px) {
  .hero-card { width: 30rem; }
}
.hero-card-inner {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--cream-300);
}
@media (min-width: 768px) { .hero-card-inner { padding: 2rem; } }
.hero-card-top {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.hero-card-avatar {
  width: 72px; height: 72px;
  border-radius: 0.75rem;
  overflow: hidden;
  background: var(--tea-100);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.hero-card-avatar img { width: 100%; height: 100%; object-fit: cover; }
.hero-card-avatar-fallback { color: var(--tea-500); font-size: 1.75rem; }
.hero-card-name { font-family: var(--font-serif); font-weight: 700; font-size: 1.25rem; color: var(--gray-800); }
.hero-card-title { font-size: 0.875rem; color: var(--tea-600); font-weight: 500; margin-top: 0.15rem; }
.hero-card-license {
  display: inline-block;
  margin-top: 0.35rem;
  padding: 0.15rem 0.6rem;
  background: var(--tea-50);
  color: var(--tea-600);
  font-size: 0.75rem;
  border-radius: 0.375rem;
}
.hero-card-meta { display: flex; flex-direction: column; gap: 0.75rem; }
.hero-card-meta li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--gray-600);
}
.hero-card-meta li i {
  width: 1.75rem; height: 1.75rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 0.375rem;
  background: var(--tea-50);
  color: var(--tea-500);
  font-size: 0.875rem;
  flex-shrink: 0;
}
.hero-card-meta a, .hero-card-meta button { color: var(--gray-600); }
.hero-card-meta a:hover, .hero-card-meta button:hover { color: var(--tea-600); }

/* Intro */
.intro-section {
  padding: 2.5rem 0;
  background: var(--cream-50);
}
@media (min-width: 768px) { .intro-section { padding: 3.5rem 0; } }
@media (min-width: 1024px) { .intro-section { padding: 5rem 0; } }
.intro-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .intro-grid { flex-direction: row; gap: 4rem; }
}
.intro-photo { width: 100%; max-width: 25rem; flex-shrink: 0; }
@media (min-width: 1024px) { .intro-photo { width: 45%; max-width: none; } }
.intro-photo-frame { position: relative; max-width: 25rem; margin: 0 auto; }
@media (min-width: 1024px) { .intro-photo-frame { margin: 0; } }
.intro-photo-shadow {
  position: absolute;
  top: -0.75rem; left: -0.75rem;
  width: 100%; height: 100%;
  background: var(--tea-100);
  border-radius: 1rem;
}
.intro-photo-box {
  position: relative;
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--cream-200);
  box-shadow: 0 10px 30px rgba(139,111,78,0.1);
}
.intro-photo-box img { width: 100%; height: auto; object-fit: cover; }
.intro-photo-fallback {
  min-height: 20rem;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--tea-50), var(--cream-200));
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--tea-600);
}
.intro-copy { flex: 1; width: 100%; }
.intro-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--tea-500);
  color: #fff;
  font-size: 0.75rem;
  border-radius: 0.375rem;
  margin-bottom: 1rem;
}
.intro-copy h2 { font-size: 1.5rem; margin-bottom: 0.5rem; }
@media (min-width: 768px) { .intro-copy h2 { font-size: 1.875rem; } }
@media (min-width: 1024px) { .intro-copy h2 { font-size: 2.25rem; } }
.intro-title { font-size: 1.125rem; color: var(--tea-600); font-weight: 500; margin-bottom: 1.5rem; }
.intro-lead {
  font-size: 0.9375rem;
  color: var(--gray-500);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.intro-firm { font-size: 0.875rem; color: var(--gray-500); margin-bottom: 2rem; }

/* Sections */
.section-head { margin-bottom: 2.5rem; }
.section-head-center { text-align: center; }
.section-head-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 640px) {
  .section-head-row {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}
.section-title { font-size: 1.5rem; margin-bottom: 0.5rem; }
@media (min-width: 768px) { .section-title { font-size: 1.875rem; } }
@media (min-width: 1024px) { .section-title { font-size: 2.25rem; } }
.section-sub {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--tea-500);
  margin-bottom: 0.25rem;
}
@media (min-width: 768px) { .section-sub { font-size: 1.25rem; } }
.section-desc {
  font-size: 0.875rem;
  color: var(--gray-400);
  max-width: 36rem;
  margin: 0.75rem auto 0;
}
@media (min-width: 768px) { .section-desc { font-size: 1rem; } }
.section-head-row .section-desc { margin: 0; }
.section-cta { text-align: center; margin-top: 2rem; }

/* Services */
.services-section {
  padding: 2.5rem 0;
  background: #fff;
}
@media (min-width: 768px) { .services-section { padding: 3.5rem 0; } }
@media (min-width: 1024px) { .services-section { padding: 5rem 0; } }
.svc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .svc-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .svc-grid { grid-template-columns: 1fr 1fr 1fr; gap: 1.5rem; }
}
.svc-card {
  display: block;
  padding: 1.25rem 1.5rem;
  border-radius: 0.75rem;
  background: var(--cream-50);
  border: 1px solid var(--cream-200);
  color: inherit;
  transition: border-color .3s, box-shadow .3s;
}
@media (min-width: 768px) { .svc-card { padding: 1.5rem; } }
.svc-card:hover {
  border-color: var(--tea-200);
  box-shadow: var(--shadow-md);
  color: inherit;
}
.svc-ico {
  width: 2.75rem; height: 2.75rem;
  border-radius: 0.5rem;
  background: var(--tea-100);
  color: var(--tea-500);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.125rem;
  margin-bottom: 1rem;
  transition: background .3s, color .3s;
}
@media (min-width: 768px) {
  .svc-ico { width: 3rem; height: 3rem; font-size: 1.25rem; }
}
.svc-card:hover .svc-ico { background: var(--tea-500); color: #fff; }
.svc-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  transition: color .25s;
}
@media (min-width: 768px) { .svc-card h3 { font-size: 1.125rem; } }
.svc-card:hover h3 { color: var(--tea-600); }
.svc-card p { font-size: 0.8125rem; color: var(--gray-400); line-height: 1.6; }
@media (min-width: 768px) { .svc-card p { font-size: 0.875rem; } }
.svc-list { margin-top: 0; }

/* Cases home */
.cases-home {
  padding: 2.5rem 0;
  background: var(--cream-50);
}
@media (min-width: 768px) { .cases-home { padding: 3.5rem 0; } }
@media (min-width: 1024px) { .cases-home { padding: 5rem 0; } }
.case-home-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .case-home-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .case-home-grid { grid-template-columns: 1fr 1fr 1fr; }
}
.case-text-card {
  display: block;
  background: #fff;
  border-radius: 0.75rem;
  padding: 1.25rem;
  border: 1px solid var(--cream-200);
  color: inherit;
  transition: box-shadow .3s, border-color .3s;
}
.case-text-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--tea-200);
  color: inherit;
}
.case-text-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  transition: color .25s;
}
.case-text-card:hover h3 { color: var(--tea-600); }
.case-text-card p { font-size: 0.8125rem; color: var(--gray-400); line-height: 1.6; }

/* News home */
.news-home {
  padding: 2.5rem 0;
  background: var(--cream-100);
}
@media (min-width: 768px) { .news-home { padding: 3.5rem 0; } }
@media (min-width: 1024px) { .news-home { padding: 5rem 0; } }
.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .news-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .news-grid { grid-template-columns: 1fr 1fr 1fr; }
}
.news-card {
  display: block;
  background: #fff;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid var(--cream-200);
  color: inherit;
  transition: box-shadow .3s;
}
.news-card:hover { box-shadow: var(--shadow-md); color: inherit; }
.news-card-body { padding: 1.25rem; }
.news-tag {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--tea-500);
  background: var(--tea-50);
  padding: 0.15rem 0.5rem;
  border-radius: 0.25rem;
}
.news-card h3 {
  margin-top: 0.5rem;
  font-size: 1rem;
  transition: color .25s;
}
.news-card:hover h3 { color: var(--tea-600); }
.news-card p { margin-top: 0.5rem; font-size: 0.75rem; color: var(--gray-400); line-height: 1.6; }
.news-date { margin-top: 0.75rem !important; color: var(--gray-300) !important; }

/* Steps */
.steps-section {
  padding: 2.5rem 0;
  background: #fff;
}
@media (min-width: 768px) { .steps-section { padding: 3.5rem 0; } }
@media (min-width: 1024px) { .steps-section { padding: 5rem 0; } }
.steps-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 1.5rem;
}
.step-item {
  flex: 1 1 16.5rem;
  max-width: 22rem;
  min-width: 0;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
  position: relative;
  padding: 0.5rem;
}
.step-item h3,
.step-item p {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.step-ico-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.step-num {
  position: absolute;
  top: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--tea-100);
  z-index: 0;
  line-height: 1;
  pointer-events: none;
}
.step-ico {
  position: relative;
  z-index: 1;
  width: 4rem; height: 4rem;
  border-radius: 50%;
  background: var(--tea-50);
  border: 2px solid var(--tea-200);
  color: var(--tea-500);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
}
@media (min-width: 768px) {
  .step-ico { width: 5rem; height: 5rem; font-size: 1.5rem; }
  .step-num { font-size: 2.5rem; }
}
.step-item h3 { font-size: 1.125rem; margin-bottom: 0.5rem; }
.step-item p { font-size: 0.875rem; color: var(--gray-400); line-height: 1.6; }
.steps-cta { text-align: center; margin-top: 2.5rem; }

/* CTA band */
.cta-band {
  position: relative;
  background: var(--gray-800);
  overflow: hidden;
  padding: 2.5rem 0;
  text-align: center;
}
@media (min-width: 768px) { .cta-band { padding: 3.5rem 0; } }
@media (min-width: 1024px) { .cta-band { padding: 5rem 0; } }
.cta-band-deco {
  position: absolute; inset: 0; opacity: 0.1; pointer-events: none;
  background:
    radial-gradient(circle at top right, var(--tea-500), transparent 50%),
    radial-gradient(circle at bottom left, var(--tea-400), transparent 45%);
}
.cta-band-inner { position: relative; z-index: 1; }
.cta-band-label {
  font-size: 0.75rem;
  color: var(--cream-300);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
@media (min-width: 768px) { .cta-band-label { font-size: 0.875rem; } }
.cta-band h2 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
@media (min-width: 768px) { .cta-band h2 { font-size: 1.875rem; } }
@media (min-width: 1024px) { .cta-band h2 { font-size: 3rem; } }
.cta-band-sub {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--tea-300);
  margin-bottom: 2rem;
}
@media (min-width: 768px) { .cta-band-sub { font-size: 1.25rem; } }

/* Trust bar */
.trust-bar {
  background: var(--cream-200);
  border-top: 1px solid var(--cream-300);
  border-bottom: 1px solid var(--cream-300);
  padding: 1.25rem 0;
}
.trust-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (min-width: 768px) {
  .trust-inner { grid-template-columns: 1fr 1fr 1fr 1fr; }
}
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.8125rem;
}
.trust-item i {
  color: var(--tea-500);
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.trust-item strong { display: block; color: var(--gray-800); font-size: 0.875rem; }
.trust-item span { color: var(--gray-500); font-size: 0.75rem; }
.trust-item a { color: var(--tea-600); }

/* Footer */
.site-footer {
  background: var(--gray-800);
  color: var(--cream-100);
  padding: 2.5rem 0 0;
}
@media (min-width: 768px) { .site-footer { padding-top: 3.5rem; } }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr; gap: 3rem; }
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.footer-brand-name { font-family: var(--font-serif); font-weight: 700; font-size: 1.125rem; color: #fff; }
.footer-firm, .footer-license, .footer-phone, .footer-addr {
  font-size: 0.8125rem;
  color: var(--cream-300);
  margin-bottom: 0.35rem;
}
.footer-phone a { color: var(--tea-300); }
.footer-disclaimer-inline {
  font-size: 0.75rem;
  color: var(--cream-400);
  margin-top: 1rem;
  line-height: 1.5;
}
.footer-nav-links, .footer-practices {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 0.5rem 1.25rem;
  margin-bottom: 1rem;
}
.footer-nav-links a, .footer-practices a {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--cream-300);
}
.footer-nav-links a:hover, .footer-practices a:hover { color: var(--tea-300); }
.footer-practices {
  max-height: calc(1.25rem * 5 + 0.5rem * 4);
  overflow: hidden;
}
.footer-practices a { white-space: nowrap; }
.footer-bottom {
  border-top: 1px solid var(--gray-700);
  margin-top: 2.5rem;
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}
@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
.footer-copy, .footer-beian { font-size: 0.75rem; color: var(--cream-400); margin: 0; }
.footer-tech { font-size: 0.6875rem; color: rgba(224,214,204,0.45); margin: 0; }
.footer-tech a { color: rgba(224,214,204,0.55); }
.footer-tech a:hover { color: var(--tea-300); }

/* Page hero */
.page-hero {
  position: relative;
  padding: 7rem 0 3rem;
  background: linear-gradient(to bottom right, #FAF7F3, #f0e9e0);
  overflow: hidden;
}
@media (min-width: 768px) { .page-hero { padding: 8rem 0 4rem; } }
.page-hero.has-img { color: #fff; }
.page-hero-bg {
  position: absolute; inset: 0;
}
.page-hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.page-hero.has-img .page-hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(62,52,41,0.75), rgba(42,42,42,0.65));
}
.page-hero-fallback {
  background: linear-gradient(to bottom right, #FAF7F3, #f0e9e0);
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 { font-size: 1.5rem; }
@media (min-width: 768px) { .page-hero h1 { font-size: 1.875rem; } }
@media (min-width: 1024px) { .page-hero h1 { font-size: 2.25rem; } }
.page-hero.has-img h1,
.page-hero.has-img .page-hero-desc,
.page-hero.has-img .crumbs a,
.page-hero.has-img .crumb-current,
.page-hero.has-img .crumb-sep { color: #fff; }
.page-hero-desc {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  color: var(--gray-500);
  max-width: 40rem;
}
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  color: var(--gray-400);
  margin-bottom: 1rem;
}
.crumbs a { color: var(--gray-400); }
.crumbs a:hover { color: var(--tea-500); }
.crumb-sep { opacity: 0.6; }
.crumb-current { color: var(--tea-600); }

.page-body { padding: 2.5rem 0 3.5rem; background: #fff; }
.page-body-cream { background: var(--cream-50); }
@media (min-width: 768px) { .page-body { padding: 3.5rem 0 5rem; } }

/* List stacks */
.case-list-stack,
.news-list-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.list-row-card {
  display: block;
  background: #fff;
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--cream-200);
  color: inherit;
  transition: border-color .3s, box-shadow .3s;
}
@media (min-width: 768px) { .list-row-card { padding: 1.5rem; } }
.list-row-card:hover {
  border-color: var(--tea-200);
  box-shadow: var(--shadow-md);
  color: inherit;
}
.list-row-card h3 {
  font-size: 1rem;
  margin: 0.35rem 0 0.5rem;
  transition: color .25s;
}
@media (min-width: 768px) { .list-row-card h3 { font-size: 1.125rem; } }
.list-row-card:hover h3 { color: var(--tea-600); }
.list-row-card p { font-size: 0.8125rem; color: var(--gray-400); line-height: 1.6; margin-bottom: 0.5rem; }
@media (min-width: 768px) { .list-row-card p { font-size: 0.875rem; } }
.list-card-more {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8125rem;
  color: var(--tea-600);
  margin-top: 0.25rem;
}
.list-card {
  display: block;
  background: #fff;
  border-radius: 0.75rem;
  padding: 1.25rem;
  border: 1px solid var(--cream-200);
  color: inherit;
  transition: box-shadow .3s, border-color .3s;
}
.list-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--tea-200);
  color: inherit;
}
.list-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.list-card:hover h3 { color: var(--tea-600); }
.list-card p { font-size: 0.8125rem; color: var(--gray-400); }
.list-card-date { font-size: 0.75rem; color: var(--gray-300); margin-bottom: 0.35rem; }

/* Pager */
.pager {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}
.pager .pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.pager .pagination li a,
.pager .pagination li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.65rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  border: 1px solid var(--cream-300);
  background: #fff;
  color: var(--gray-600);
}
.pager .pagination li a:hover {
  border-color: var(--tea-400);
  color: var(--tea-600);
  background: var(--tea-50);
}
.pager .pagination li.active span,
.pager .pagination .active > a {
  background: var(--tea-500);
  border-color: var(--tea-500);
  color: #fff;
}
.pager .pagination li.disabled span {
  opacity: 0.45;
  cursor: not-allowed;
}

/* About */
.about-top {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--cream-200);
  margin-bottom: 2rem;
}
@media (min-width: 768px) {
  .about-top {
    flex-direction: row;
    align-items: center;
    padding: 2.5rem;
    gap: 2.5rem;
  }
}
.about-photo {
  width: 6rem; height: 6rem;
  border-radius: 0.75rem;
  overflow: hidden;
  background: var(--tea-100);
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .about-photo { width: 8rem; height: 8rem; }
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-top-info { flex: 1; }
.about-top-info h2 { font-size: 1.25rem; margin-bottom: 0.25rem; }
@media (min-width: 768px) { .about-top-info h2 { font-size: 1.5rem; } }
.about-title { color: var(--tea-600); font-weight: 500; margin-bottom: 1rem; }
.about-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  font-size: 0.875rem;
  color: var(--gray-500);
}
.about-top-cta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.about-card {
  background: #fff;
  border-radius: 0.75rem;
  padding: 1.5rem;
  border: 1px solid var(--cream-200);
}
@media (min-width: 768px) { .about-card { padding: 2rem; } }
.about-section { margin-bottom: 2rem; }
.about-section:last-child { margin-bottom: 0; }
.about-section h2 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}
.about-section h2 i {
  width: 2rem; height: 2rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 0.375rem;
  background: var(--tea-50);
  color: var(--tea-500);
  font-size: 0.875rem;
}
.honor-list { display: flex; flex-direction: column; gap: 0.75rem; }
.honor-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--gray-600);
}
.honor-item img { border-radius: 0.375rem; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 1.2fr 0.9fr; align-items: start; }
}
.contact-card {
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--cream-200);
}
@media (min-width: 768px) { .contact-card { padding: 2.5rem; } }
.contact-card-head { text-align: center; margin-bottom: 2rem; }
.contact-head-ico {
  width: 4rem; height: 4rem;
  border-radius: 50%;
  background: var(--tea-50);
  color: var(--tea-500);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}
.contact-card-head h2 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.contact-card-head p { font-size: 0.875rem; color: var(--gray-500); }
.contact-tiles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .contact-tiles { grid-template-columns: 1fr 1fr; }
}
.contact-tile {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--cream-50);
  border-radius: 0.75rem;
  border: 1px solid var(--cream-200);
  color: inherit;
}
.contact-tile:hover { color: inherit; }
.contact-tile-ico {
  width: 3rem; height: 3rem;
  border-radius: 0.5rem;
  background: var(--tea-500);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.contact-tile-ico-wechat { background: #16a34a; }
.meta-lbl { display: block; font-size: 0.75rem; color: var(--gray-400); margin-bottom: 0.2rem; }
.meta-val { display: block; font-size: 0.9375rem; font-weight: 600; color: var(--gray-800); }
.contact-form-wrap { position: sticky; top: calc(var(--header-h) + 1rem); }

/* Detail */
.detail-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .detail-shell { grid-template-columns: 1fr 20rem; align-items: start; }
}
.detail-panel {
  background: #fff;
  border-radius: 0.75rem;
  padding: 1.5rem;
  border: 1px solid var(--cream-200);
  box-shadow: var(--shadow-card);
}
@media (min-width: 768px) { .detail-panel { padding: 2rem; } }
.detail-aside { position: sticky; top: calc(var(--header-h) + 1rem); }
.form-sidebar .tg-form { box-shadow: var(--shadow-card); }
.meta-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--cream-50);
  border-radius: 0.5rem;
  margin-bottom: 1.25rem;
  color: inherit;
  border: 1px solid var(--cream-200);
}
.meta-card:hover { color: inherit; border-color: var(--tea-200); }
.meta-card img { width: 3.5rem; height: 3.5rem; border-radius: 0.5rem; object-fit: cover; }
.meta-card strong { display: block; font-size: 0.9375rem; }
.meta-card span { font-size: 0.75rem; color: var(--gray-500); }
.detail-practice { font-size: 0.875rem; color: var(--gray-500); margin-bottom: 1rem; }
.result-box {
  background: var(--tea-50);
  border-left: 3px solid var(--tea-500);
  padding: 1rem 1.25rem;
  border-radius: 0 0.5rem 0.5rem 0;
  margin-bottom: 1.5rem;
}
.result-box strong { display: block; font-size: 0.8125rem; color: var(--tea-700); margin-bottom: 0.35rem; }
.result-box p { font-size: 0.9375rem; color: var(--gray-700); }
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--gray-400);
  margin-bottom: 1.25rem;
}
.article-lead {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--cream-200);
}
.alert-soft {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--cream-100);
  border-radius: 0.5rem;
  font-size: 0.8125rem;
  color: var(--gray-600);
  margin-bottom: 1.25rem;
}
.alert-soft i { color: var(--tea-500); }

/* Related */
.related-section { padding: 2.5rem 0; background: var(--cream-50); }
.related-section h2 { font-size: 1.25rem; margin-bottom: 1.25rem; }
.related-block { margin-top: 1.5rem; }
.related-block h3 { font-size: 1rem; margin-bottom: 0.75rem; color: var(--tea-700); }
.related-list { display: flex; flex-direction: column; gap: 0.5rem; }
.related-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  background: #fff;
  border-radius: 0.5rem;
  border: 1px solid var(--cream-200);
  color: var(--gray-700);
  font-size: 0.9375rem;
}
.related-item:hover { border-color: var(--tea-300); color: var(--tea-600); }
.related-lawyer {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: #fff;
  border-radius: 0.75rem;
  border: 1px solid var(--cream-200);
  color: inherit;
  margin-bottom: 1rem;
}
.related-lawyer:hover { color: inherit; border-color: var(--tea-200); }
.related-lawyer img { border-radius: 0.5rem; object-fit: cover; }
.related-lawyer-name { font-weight: 600; display: block; margin-bottom: 0.25rem; }
.related-lawyer p { font-size: 0.8125rem; color: var(--gray-500); }
.case-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .case-grid { grid-template-columns: 1fr 1fr; }
}

/* FAQ */
.faq-section { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--cream-200); }
.faq-section h2 { font-size: 1.125rem; margin-bottom: 1rem; }
.faq-item { margin-bottom: 1rem; }
.faq-item h3 { font-size: 0.9375rem; margin-bottom: 0.35rem; color: var(--tea-800); }
.faq-item p { font-size: 0.875rem; color: var(--gray-500); }

/* Forms */
.tg-form {
  background: #fff;
  border-radius: 0.75rem;
  padding: 1.5rem;
  border: 1px solid var(--cream-200);
}
.form-contact .tg-form {
  border-color: var(--tea-200);
  box-shadow: var(--shadow-card);
}
.form-consult-page .tg-form {
  border: 2px solid var(--tea-300);
  box-shadow: var(--shadow-md);
  max-width: 32rem;
  margin: 0 auto;
}
.form-sidebar .tg-form {
  padding: 1.25rem;
}
.tg-form h3 {
  font-size: 1.125rem;
  margin-bottom: 0.35rem;
  padding-left: 0.75rem;
  border-left: 3px solid var(--tea-500);
}
.form-sub { font-size: 0.8125rem; color: var(--gray-500); margin-bottom: 1.25rem; }
.form-field { margin-bottom: 1rem; }
.form-field label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 0.35rem;
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--cream-300);
  border-radius: 0.375rem;
  font-size: 0.9375rem;
  font-family: inherit;
  background: var(--cream-50);
  color: var(--gray-800);
  transition: border-color .2s, box-shadow .2s;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--tea-400);
  box-shadow: 0 0 0 3px rgba(139,111,78,0.12);
  background: #fff;
}
.form-field textarea { min-height: 5.5rem; resize: vertical; }
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.form-check input { width: auto; margin-top: 0.2rem; }
.form-check label { margin: 0; font-weight: 400; }
.form-btn { width: 100%; margin-top: 0.5rem; }
.form-disclaimer { font-size: 0.75rem; color: var(--gray-400); margin-top: 0.75rem; line-height: 1.5; }
.consult-error {
  background: #fef2f2;
  color: #b91c1c;
  padding: 0.65rem 0.85rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}
.form-consult-lead {
  text-align: center;
  font-size: 0.9375rem;
  color: var(--gray-500);
  margin-bottom: 1.5rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}
.form-consult-lead a { color: var(--tea-600); font-weight: 500; }

/* Privacy */
.privacy-wrap {
  background: #fff;
  border-radius: 0.75rem;
  padding: 1.5rem;
  border: 1px solid var(--cream-200);
  box-shadow: var(--shadow-card);
  max-width: 48rem;
  margin: 0 auto;
}
@media (min-width: 768px) { .privacy-wrap { padding: 2.5rem; } }

/* Thanks / 404 */
.thanks-page, .error-page {
  padding: 7rem 0 4rem;
  min-height: 60vh;
  background: linear-gradient(to bottom right, #FAF7F3, #f0e9e0);
}
.thanks-inner, .error-inner {
  max-width: 32rem;
  margin: 0 auto;
  text-align: center;
  background: #fff;
  border-radius: 1rem;
  padding: 2.5rem 1.5rem;
  border: 1px solid var(--cream-200);
  box-shadow: var(--shadow-card);
}
.thanks-icon, .error-icon {
  font-size: 3rem;
  color: var(--tea-500);
  margin-bottom: 1rem;
}
.thanks-lead, .error-lead {
  font-size: 0.9375rem;
  color: var(--gray-500);
  margin: 1rem 0 1.5rem;
  line-height: 1.7;
}
.thanks-actions, .error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.thanks-wechat {
  margin: 1.5rem auto;
  max-width: 14rem;
}
.thanks-wechat img {
  margin: 0 auto 1rem;
  border-radius: 0.5rem;
  border: 1px solid var(--cream-300);
}
.thanks-hours {
  text-align: left;
  background: var(--cream-50);
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1rem;
}
.thanks-hours h2 { font-size: 0.9375rem; margin-bottom: 0.35rem; }
.thanks-hours p { font-size: 0.875rem; color: var(--gray-500); }
.thanks-disclaimer { font-size: 0.75rem; color: var(--gray-400); }
.off-hours-tip {
  font-size: 0.8125rem;
  color: var(--tea-700);
  background: var(--tea-50);
  padding: 0.65rem 0.85rem;
  border-radius: 0.375rem;
  margin-top: 0.75rem;
}
.error-practices-label { font-size: 0.875rem; color: var(--gray-500); margin: 1.5rem 0 0.75rem; }
.error-practices {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}
.error-practices a {
  font-size: 0.8125rem;
  padding: 0.35rem 0.75rem;
  background: var(--cream-100);
  border-radius: 9999px;
  color: var(--tea-700);
  border: 1px solid var(--cream-300);
}
.error-practices a:hover { background: var(--tea-50); border-color: var(--tea-300); }

/* Prose */
.prose {
  font-size: 0.96875rem;
  line-height: 1.8;
  color: var(--gray-600);
}
.prose > * + * { margin-top: 1rem; }
.prose h2, .prose h3, .prose h4 {
  color: var(--gray-800);
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}
.prose h2 { font-size: 1.25rem; }
.prose h3 { font-size: 1.125rem; }
.prose a { color: var(--tea-600); text-decoration: underline; text-underline-offset: 2px; }
.prose ul, .prose ol { padding-left: 1.25rem; margin: 1rem 0; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 0.35rem; }
.prose li + li { margin-top: 0.25rem; }
.prose img { border-radius: 0.5rem; margin: 1.25rem 0; }
.prose blockquote {
  border-left: 3px solid var(--tea-400);
  padding: 0.5rem 0 0.5rem 1rem;
  color: var(--gray-500);
  background: var(--cream-50);
  border-radius: 0 0.375rem 0.375rem 0;
}
.prose table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.prose th, .prose td { border: 1px solid var(--cream-300); padding: 0.5rem 0.75rem; text-align: left; }
.prose th { background: var(--cream-100); }

/* PC convert / mobile bar */
.pc-convert {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 40;
  background: rgba(253,252,250,0.96);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--cream-300);
  box-shadow: 0 -4px 20px rgba(139,111,78,0.08);
  padding: 0.75rem 1rem;
}
.pc-convert-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.pc-convert-text strong { display: block; font-size: 0.9375rem; color: var(--gray-800); }
.pc-convert-text span { font-size: 0.75rem; color: var(--gray-500); }
.pc-convert-actions { display: flex; align-items: center; gap: 0.75rem; }
.pc-convert-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 500;
  color: var(--tea-600);
  font-size: 0.9375rem;
}
.mobile-bar {
  display: flex;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 50;
  background: var(--cream-50);
  border-top: 1px solid var(--cream-300);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
  height: 4rem;
  align-items: stretch;
  justify-content: space-around;
  padding: 0 0.25rem;
}
.mobile-bar-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  font-size: 0.625rem;
  color: var(--gray-400);
  padding: 0.25rem;
}
.mobile-bar-item i { font-size: 1.2rem; }
.mobile-bar-item.mobile-cta { color: var(--tea-600); }
.mobile-bar-item.mobile-cta i { color: var(--tea-500); }
@media (min-width: 768px) {
  .pc-convert { display: block; }
  .mobile-bar { display: none; }
  body { padding-bottom: 4.5rem; }
}

/* Wechat modal */
.wechat-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(26,26,26,0.55);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.wechat-modal.is-open { display: flex; }
.wechat-modal-box {
  position: relative;
  background: #fff;
  border-radius: 1rem;
  padding: 2rem 1.5rem 1.5rem;
  max-width: 22rem;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.wechat-modal-close {
  position: absolute;
  top: 0.75rem; right: 0.75rem;
  width: 2rem; height: 2rem;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-400);
  font-size: 1.25rem;
  border-radius: 0.375rem;
}
.wechat-modal-close:hover { background: var(--cream-100); color: var(--gray-700); }
.wechat-modal-icon {
  width: 3rem; height: 3rem;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  background: #e8f8ee;
  color: #16a34a;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}
.wechat-modal-title {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 0.35rem;
}
.wechat-modal-desc {
  font-size: 0.8125rem;
  color: var(--gray-500);
  margin-bottom: 1.25rem;
}
.wechat-qr {
  width: 180px; height: 180px;
  margin: 0 auto 1rem;
  border-radius: 0.5rem;
  border: 1px solid var(--cream-300);
  object-fit: contain;
}
.wechat-id-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}
.wechat-id-label { color: var(--gray-500); }
.wechat-id-value { color: var(--gray-800); }
.wechat-id-row button {
  padding: 0.35rem 0.75rem;
  background: var(--tea-500);
  color: #fff;
  border-radius: 0.375rem;
  font-size: 0.8125rem;
}
.wechat-id-row button:hover { background: var(--tea-600); }
.wechat-id-hint {
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-bottom: 1rem;
}
.wechat-id-hint strong { color: #b45309; }
.wechat-modal-dismiss {
  width: 100%;
  padding: 0.65rem;
  border-radius: 0.375rem;
  background: var(--cream-200);
  color: var(--gray-700);
  font-size: 0.875rem;
}
.wechat-modal-dismiss:hover { background: var(--cream-300); }

@media (min-width: 768px) {
  body:has(#wechat-modal img) .wechat-id-row,
  body:has(#wechat-modal img) .wechat-id-hint { display: none !important; }
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream-200); }
::-webkit-scrollbar-thumb { background: var(--tea-300); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--tea-500); }
