:root {
  --primary: #8B3A2A;
  --primary-dark: #7A3020;
  --primary-light: #C4785A;
  --bg-warm: #F5EDE8;
  --bg-card: #FAF6F3;
  --bg-dark: #1C1410;
  --bg-nav: #2A1E18;
  --stone-900: #1c1917;
  --stone-800: #292524;
  --stone-700: #44403c;
  --stone-600: #57534e;
  --stone-500: #78716c;
  --stone-400: #a8a29e;
  --stone-300: #d6d3d1;
  --stone-200: #e7e5e4;
  --stone-100: #f5f5f4;
  --stone-50: #fafaf9;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  color: var(--stone-600);
  line-height: 1.5;
  background: #fff;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.font-serif {
  font-family: 'Noto Serif SC', 'SimSun', serif;
}

/* ========== LAYOUT ========== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.top-8 { top: 32px; }
.-top-4 { top: -16px; }
.-bottom-4 { bottom: -16px; }
.-left-4 { left: -16px; }
.-right-4 { right: -16px; }

.z-0 { z-index: 0; }
.z-n10 { z-index: -10; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }

.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }

/* ========== FLEXBOX ========== */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-stretch { align-items: stretch; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-1 { flex: 1; }
.flex-shrink-0 { flex-shrink: 0; }

.gap-0 { gap: 0; }
.gap-1 { gap: 4px; }
.gap-1_5 { gap: 6px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-5 { gap: 20px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }
.gap-10 { gap: 40px; }
.gap-12 { gap: 48px; }
.gap-16 { gap: 64px; }
.gap-20 { gap: 80px; }
.gap-0_5 { gap: 2px; }

/* ========== GRID ========== */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid-cols-6 { grid-template-columns: repeat(6, 1fr); }

/* ========== SPACING ========== */
.p-1 { padding: 4px; }
.p-2 { padding: 8px; }
.p-3 { padding: 12px; }
.p-4 { padding: 16px; }
.p-5 { padding: 20px; }
.p-6 { padding: 24px; }
.p-8 { padding: 32px; }
.p-10 { padding: 40px; }

.px-3 { padding-left: 12px; padding-right: 12px; }
.px-4 { padding-left: 16px; padding-right: 16px; }
.px-5 { padding-left: 20px; padding-right: 20px; }
.px-6 { padding-left: 24px; padding-right: 24px; }
.px-7 { padding-left: 28px; padding-right: 28px; }
.px-8 { padding-left: 32px; padding-right: 32px; }
.px-10 { padding-left: 40px; padding-right: 40px; }

.py-1 { padding-top: 4px; padding-bottom: 4px; }
.py-2 { padding-top: 8px; padding-bottom: 8px; }
.py-3 { padding-top: 12px; padding-bottom: 12px; }
.py-4 { padding-top: 16px; padding-bottom: 16px; }
.py-6 { padding-top: 24px; padding-bottom: 24px; }
.py-8 { padding-top: 32px; padding-bottom: 32px; }
.py-10 { padding-top: 40px; padding-bottom: 40px; }
.py-12 { padding-top: 48px; padding-bottom: 48px; }
.py-14 { padding-top: 56px; padding-bottom: 56px; }
.py-16 { padding-top: 64px; padding-bottom: 64px; }
.py-20 { padding-top: 80px; padding-bottom: 80px; }
.py-24 { padding-top: 96px; padding-bottom: 96px; }
.py-0_5 { padding-top: 2px; padding-bottom: 2px; }

.pt-8 { padding-top: 32px; }
.pt-10 { padding-top: 40px; }
.pt-12 { padding-top: 48px; }
.pt-16 { padding-top: 64px; }
.pt-20 { padding-top: 80px; }
.pt-24 { padding-top: 96px; }

.pb-8 { padding-bottom: 32px; }
.pb-10 { padding-bottom: 40px; }
.pb-14 { padding-bottom: 56px; }
.pb-20 { padding-bottom: 80px; }
.pb-24 { padding-bottom: 96px; }

.mt-0_5 { margin-top: 2px; }
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-5 { margin-top: 20px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mt-10 { margin-top: 40px; }
.mt-12 { margin-top: 48px; }
.mt-14 { margin-top: 56px; }
.mt-16 { margin-top: 64px; }

.mb-0_5 { margin-bottom: 2px; }
.mb-1 { margin-bottom: 4px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mb-5 { margin-bottom: 20px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.mb-10 { margin-bottom: 40px; }
.mb-12 { margin-bottom: 48px; }
.mb-14 { margin-bottom: 56px; }

.mx-auto { margin-left: auto; margin-right: auto; }
.ml-2 { margin-left: 8px; }
.ml-auto { margin-left: auto; }
.mr-2 { margin-right: 8px; }

/* ========== SIZING ========== */
.w-full { width: 100%; }
.w-px { width: 1px; }
.w-1 { width: 4px; }
.w-1_5 { width: 6px; }
.w-3_5 { width: 14px; }
.w-4 { width: 16px; }
.w-5 { width: 20px; }
.w-6 { width: 24px; }
.w-8 { width: 32px; }
.w-9 { width: 36px; }
.w-10 { width: 40px; }
.w-12 { width: 48px; }
.w-14 { width: 56px; }
.w-20 { width: 80px; }
.w-32 { width: 128px; }
.w-36 { width: 144px; }
.w-260 { width: 260px; }

.h-px { height: 1px; }
.h-1 { height: 4px; }
.h-1_5 { height: 6px; }
.h-4 { height: 16px; }
.h-5 { height: 20px; }
.h-8 { height: 32px; }
.h-9 { height: 36px; }
.h-10 { height: 40px; }
.h-16 { height: 64px; }
.h-20 { height: 80px; }
.h-36 { height: 144px; }
.h-44 { height: 176px; }
.h-48 { height: 192px; }
.h-52 { height: 208px; }
.h-56 { height: 224px; }
.h-72 { height: 288px; }
.h-full { height: 100%; }
.h-screen { height: 100vh; }

.min-h-screen { min-height: 100vh; }
.min-w-0 { min-width: 0; }

.aspect-3-4 {
  aspect-ratio: 3/4;
  min-height: 360px;
}

/* ========== TYPOGRAPHY ========== */
.text-9xl { font-size: 8rem; line-height: 1; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }

.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }

.leading-none { line-height: 1; }
.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; }
.leading-relaxed { line-height: 1.625; }

.tracking-widest { letter-spacing: 0.1em; }

.uppercase { text-transform: uppercase; }

.text-center { text-align: center; }
.text-left { text-align: left; }

.whitespace-nowrap { white-space: nowrap; }
.break-all { word-break: break-all; }

.select-none { user-select: none; }
.pointer-events-none { pointer-events: none; }

/* ========== COLORS - TEXT ========== */
.text-white { color: #fff; }
.text-primary { color: var(--primary); }
.text-primary-light { color: var(--primary-light); }
.text-stone-900 { color: var(--stone-900); }
.text-stone-800 { color: var(--stone-800); }
.text-stone-700 { color: var(--stone-700); }
.text-stone-600 { color: var(--stone-600); }
.text-stone-500 { color: var(--stone-500); }
.text-stone-400 { color: var(--stone-400); }
.text-stone-300 { color: var(--stone-300); }
.text-stone-200 { color: var(--stone-200); }
.text-stone-100 { color: var(--stone-100); }

/* ========== COLORS - BACKGROUND ========== */
.bg-white { background: #fff; }
.bg-transparent { background: transparent; }
.bg-primary { background-color: var(--primary); }
.bg-primary-dark { background: var(--primary-dark); }
.bg-primary-light { background: var(--primary-light); }
.bg-warm { background-color: var(--bg-warm); }
.bg-card { background-color: var(--bg-card); }
.bg-dark { background-color: var(--bg-dark); }
.bg-nav { background: var(--bg-nav); }
.bg-stone-100 { background: var(--stone-100); }

.bg-black-10 { background: rgba(0,0,0,0.1); }
.bg-black-20 { background: rgba(0,0,0,0.2); }
.bg-black-35 { background: rgba(0,0,0,0.35); }
.bg-black-40 { background: rgba(0,0,0,0.4); }
.bg-black-55 { background: rgba(0,0,0,0.55); }
.bg-black-75 { background: rgba(0,0,0,0.75); }
.bg-white-10 { background: rgba(255,255,255,0.1); }
.bg-primary-8 { background: rgba(139,58,42,0.08); }
.bg-primary-10 { background: rgba(139,58,42,0.1); }

/* ========== BORDERS ========== */
.border { border: 1px solid; }
.border-t { border-top: 1px solid; }
.border-b { border-bottom: 1px solid; }
.border-l-4 { border-left: 4px solid; }

.border-white { border-color: #fff; }
.border-stone-100 { border-color: var(--stone-100); }
.border-stone-200 { border-color: var(--stone-200); }
.border-stone-700 { border-color: var(--stone-700); }
.border-primary { border-color: var(--primary); }
.border-primary-20 { border-color: rgba(139,58,42,0.2); }
.border-primary-30 { border-color: rgba(139,58,42,0.3); }
.border-white-60 { border-color: rgba(255,255,255,0.6); }

.rounded-md { border-radius: 6px; }
.rounded-lg { border-radius: 8px; }
.rounded-xl { border-radius: 12px; }
.rounded-2xl { border-radius: 16px; }
.rounded-full { border-radius: 9999px; }

/* ========== EFFECTS ========== */
.overflow-hidden { overflow: hidden; }

.object-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.object-top { object-position: top; }

.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05); }

.backdrop-blur-sm {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.cursor-pointer { cursor: pointer; }

/* ========== TRANSITIONS ========== */
.transition-colors { transition: color 0.15s, background-color 0.15s, border-color 0.15s; }
.transition-all { transition: all 0.3s ease; }
.transition-transform { transition: transform 0.3s ease; }

/* ========== LINE CLAMP ========== */
.line-clamp-1 {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.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;
}

/* ========== HOVER UTILITIES ========== */
.hover-translate-y:hover { transform: translateY(-4px); }
.group:hover .group-hover-scale { transform: scale(1.05); }
.group:hover .group-hover-color { color: var(--primary); }
.group:hover .group-hover-underline { text-decoration: underline; }

.hover-bg-primary-dark:hover { background: var(--primary-dark) !important; }
.hover-text-primary:hover { color: var(--primary); }
.hover-border-primary:hover { border-color: var(--primary); }
.hover-text-white:hover { color: #fff; }
.hover-bg-white-10:hover { background: rgba(255,255,255,0.1); }
.hover-text-stone-900:hover { color: var(--stone-900); }
.hover-border-stone-300:hover { border-color: var(--stone-300); }

.hover-text-primary-light:hover { color: var(--primary-light); }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  border-radius: 9999px;
  transition: all 0.15s;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  padding: 12px 28px;
}
.btn-primary:hover { background: var(--primary-dark); }

.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
  padding: 12px 28px;
}
.btn-outline-primary:hover {
  background: var(--primary);
  color: #fff;
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.6);
  padding: 12px 28px;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); }

.btn-small {
  padding: 6px 16px;
  font-size: 0.875rem;
}

/* ========== TAG ========== */
.tag {
  font-size: 0.75rem;
  color: var(--primary);
  border: 1px solid rgba(139,58,42,0.3);
  padding: 4px 12px;
  border-radius: 9999px;
  background: var(--bg-warm);
  display: inline-block;
}

/* ========== SECTION LABEL ========== */
.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.section-label-center {
  justify-content: center;
}
.section-label .line {
  width: 32px;
  height: 1px;
  background: var(--primary);
}
.section-label .text {
  color: var(--primary);
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ========== NAVBAR ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s ease;
}
.navbar.transparent { background: transparent; }
.navbar.scrolled {
  background: #fff;
  box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05);
  border-bottom: 1px solid var(--stone-200);
}
.navbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  height: 64px;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.navbar-brand-img {
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  overflow: hidden;
  border: 2px solid var(--primary);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-warm);
  color: var(--primary);
  font-size: 1.25rem;
}
.navbar.transparent .navbar-brand-img {
  background: rgba(255,255,255,0.12);
  border-color: var(--primary-light);
  color: #fff;
}
.navbar.scrolled .navbar-brand-img {
  background: var(--bg-warm);
  border-color: var(--primary);
  color: var(--primary);
}
.navbar-brand-text { display: none; }
.navbar-brand-text .name {
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.25;
  font-family: 'Noto Serif SC', 'SimSun', serif;
}
.navbar-brand-text .firm { font-size: 0.75rem; }
.navbar.transparent .navbar-brand-text .name { color: #fff; }
.navbar.transparent .navbar-brand-text .firm { color: var(--stone-200); }
.navbar.scrolled .navbar-brand-text .name { color: var(--stone-900); }
.navbar.scrolled .navbar-brand-text .firm { color: var(--stone-500); }

.navbar-nav {
  display: none;
  align-items: center;
  gap: 4px;
  margin: 0 auto;
}
.navbar-nav a {
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 6px;
  white-space: nowrap;
  transition: color 0.15s;
}
.navbar.transparent .navbar-nav a { color: var(--stone-200); }
.navbar.transparent .navbar-nav a:hover { color: #fff; }
.navbar.scrolled .navbar-nav a { color: var(--stone-700); }
.navbar.scrolled .navbar-nav a:hover { color: var(--primary); }
.navbar-nav a.active { color: var(--primary) !important; }

.navbar-cta {
  display: none;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 9999px;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s;
  text-decoration: none;
  flex-shrink: 0;
}
.navbar-cta:hover { background: var(--primary-dark); }

.navbar-mobile-toggle {
  display: flex;
  margin-left: auto;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.25rem;
}
.navbar.transparent .navbar-mobile-toggle { color: #fff; }
.navbar.scrolled .navbar-mobile-toggle { color: var(--stone-800); }

.navbar-mobile-menu {
  display: none;
  background: #fff;
  border-top: 1px solid var(--stone-100);
  padding: 12px 16px;
  flex-direction: column;
  gap: 4px;
}
.navbar-mobile-menu.open { display: flex; }
.navbar-mobile-menu a {
  padding: 12px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 6px;
  text-decoration: none;
  color: var(--stone-700);
}
.navbar-mobile-menu a.active {
  color: var(--primary);
  background: var(--bg-warm);
}
.navbar-mobile-cta {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 12px 20px;
  border-radius: 9999px;
  text-decoration: none;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--bg-dark);
  color: var(--stone-300);
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 16px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.footer-title {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  font-family: 'Noto Serif SC', 'SimSun', serif;
}
.footer-subtitle {
  color: var(--stone-400);
  font-size: 0.875rem;
  margin-bottom: 20px;
}
.footer-text {
  color: var(--stone-400);
  font-size: 0.875rem;
  line-height: 1.625;
  margin-bottom: 24px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
}
.footer-links a {
  color: var(--stone-400);
  font-size: 0.875rem;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--primary-light); }
.footer-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
}
.footer-services a {
  color: var(--stone-400);
  font-size: 0.875rem;
  transition: color 0.15s;
  text-decoration: none;
}
.footer-services a:hover { color: var(--primary-light); }
.footer-bottom {
  border-top: 1px solid var(--stone-700);
  margin-top: 48px;
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  color: var(--stone-500);
}
.footer-bottom span { color: var(--stone-600); }

/* ========== MOBILE BOTTOM NAV ========== */
.mobile-bottom-nav {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: #fff;
  border-top: 1px solid var(--stone-200);
}
.mobile-bottom-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 0;
  gap: 2px;
  font-size: 0.75rem;
  white-space: nowrap;
  color: var(--stone-500);
  text-decoration: none;
  transition: color 0.15s;
}
.mobile-bottom-nav a.active { color: var(--primary); }
.mobile-bottom-nav .phone-cta {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 0;
  gap: 2px;
  font-size: 0.75rem;
  white-space: nowrap;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.hero-gradient-r {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.75), rgba(0,0,0,0.55) 60%, rgba(0,0,0,0.35));
}
.hero-gradient-b {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2), transparent 50%, rgba(0,0,0,0.4));
}
.hero-content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  padding: 0 24px;
  max-width: 1280px;
  margin: 0 auto;
}
.hero-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.hero-bottom-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 32px;
}
.hero-bottom-inner .item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--stone-300);
  font-size: 0.75rem;
}

/* ========== INFO CARD ========== */
.info-card {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}
.info-card-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.25rem;
}

/* ========== SERVICE CARD ========== */
.service-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease;
  display: block;
  text-decoration: none;
}
.service-card:hover { transform: translateY(-4px); }
.service-card-img {
  width: 100%;
  height: 144px;
  overflow: hidden;
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.3s ease;
}
.service-card:hover .service-card-img img { transform: scale(1.05); }
.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.6));
}
.service-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
}
.service-card-content .title-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}
.service-card-content .icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  font-size: 0.875rem;
}
.service-card-content .title {
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
}
.service-card-content .desc {
  color: var(--stone-300);
  font-size: 0.75rem;
  line-height: 1.5;
}

/* ========== SERVICE PAGE CARD ========== */
.service-page-card {
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.2s ease;
  display: block;
  text-decoration: none;
}
.service-page-card:hover { transform: translateY(-4px); }
.service-page-card-img {
  width: 100%;
  height: 176px;
  overflow: hidden;
}
.service-page-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.3s ease;
}
.service-page-card:hover .service-page-card-img img { transform: scale(1.05); }
.service-page-card-body { padding: 20px; }
.service-page-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.service-page-card-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139,58,42,0.1);
  border-radius: 8px;
  color: var(--primary);
  font-size: 1rem;
}

/* ========== NEWS / CASE CARD ========== */
.article-card {
  display: block;
  text-decoration: none;
}
.article-card-img {
  width: 100%;
  height: 192px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
}
.article-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.3s ease;
}
.article-card:hover .article-card-img img { transform: scale(1.05); }
.article-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.article-card-title {
  color: var(--stone-800);
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.375;
  margin-bottom: 8px;
  transition: color 0.15s;
}
.article-card:hover .article-card-title { color: var(--primary); }
.article-card-summary {
  color: var(--stone-500);
  font-size: 0.75rem;
  line-height: 1.5;
}

/* ========== CASE CARD ========== */
.case-card {
  display: block;
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.2s ease;
  text-decoration: none;
}
.case-card:hover { transform: translateY(-4px); }
.case-card-img {
  width: 100%;
  height: 176px;
  overflow: hidden;
}
.case-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.3s ease;
}
.case-card:hover .case-card-img img { transform: scale(1.05); }
.case-card-body { padding: 20px; }
.case-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.case-card-result {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  color: var(--stone-500);
  font-size: 0.75rem;
}
.case-card-result i {
  color: var(--primary);
  font-size: 0.875rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ========== PROCESS CARD ========== */
.steps-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 24px;
}
.steps-grid .process-card {
  flex: 1 1 16.5rem;
  max-width: 22rem;
  min-width: 0;
  width: 100%;
}
.process-card {
  background: var(--bg-nav);
  border-radius: 16px;
  padding: 24px 20px 28px;
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.process-card-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}
.process-card-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  border-radius: 9999px;
  flex-shrink: 0;
  color: #fff;
  font-size: 1rem;
  margin: 0 auto 8px;
}
.process-card-number {
  display: block;
  font-family: 'Noto Serif SC', 'SimSun', serif;
  color: rgba(139,58,42,0.4);
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  margin-bottom: 12px;
}
.process-card h3 {
  width: 100%;
  text-align: center;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 8px;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.process-card p {
  width: 100%;
  text-align: center;
  color: var(--stone-400);
  font-size: 0.875rem;
  line-height: 1.625;
  margin: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* ========== PAGE HEADER ========== */
.page-header {
  background: var(--bg-dark);
  padding: 64px 16px;
}
.page-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}

/* ========== BREADCRUMB ========== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--stone-400);
  margin-bottom: 24px;
}
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--primary); }

/* ========== SHARE BUTTONS ========== */
.share-section { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--stone-200); }
.share-label { font-size: 0.875rem; color: var(--stone-500); margin-bottom: 16px; font-weight: 500; }
.share-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.share-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 9999px;
  border: 1px solid var(--stone-200);
  font-size: 0.875rem;
  color: var(--stone-600);
  background: #fff;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s;
}
.share-btn:hover {
  border-color: var(--stone-300);
  color: var(--stone-900);
}

/* ========== MODAL ========== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.4);
}
.modal-overlay.open { display: flex; }
.modal {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  max-width: 320px;
  width: 100%;
  margin: 0 16px;
}

/* ========== CONTACT CARD ========== */
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--stone-100);
  border-radius: 12px;
}
.contact-card-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-warm);
  border-radius: 12px;
  color: var(--primary);
  font-size: 1.125rem;
  flex-shrink: 0;
}

/* ========== RELATED ITEM ========== */
.related-item {
  display: flex;
  gap: 16px;
  text-decoration: none;
}
.related-item-img {
  width: 80px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
}
.related-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.2s ease;
}
.related-item:hover .related-item-img img { transform: scale(1.05); }
.related-item-title {
  color: var(--stone-700);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.375;
  transition: color 0.15s;
}
.related-item:hover .related-item-title { color: var(--primary); }
.related-item-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

/* ========== ARTICLE CONTENT ========== */
.article-content h2 {
  font-family: 'Noto Serif SC', 'SimSun', serif;
  color: var(--stone-900);
  font-weight: 700;
  font-size: 1.125rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.article-content p {
  color: var(--stone-600);
  margin-bottom: 1rem;
  line-height: 1.625;
}

/* ========== PORTRAIT DECO ========== */
.portrait-deco-1 {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 128px;
  height: 128px;
  background: rgba(139,58,42,0.08);
  border-radius: 16px;
  z-index: -1;
}
.portrait-deco-2 {
  position: absolute;
  top: -16px;
  left: -16px;
  width: 80px;
  height: 80px;
  background: var(--bg-warm);
  border-radius: 12px;
  z-index: -1;
}

/* ========== RESULT HIGHLIGHT ========== */
.result-highlight {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--bg-card);
  border-radius: 12px;
  border-left: 4px solid var(--primary);
  margin-bottom: 32px;
}
.result-highlight i {
  color: var(--primary);
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ========== SECTION LINK ========== */
.section-link {
  color: var(--stone-900);
  font-weight: 700;
  font-family: 'Noto Serif SC', 'SimSun', serif;
  font-size: 1.125rem;
  text-decoration: none;
}
.section-link:hover { color: var(--primary); }

/* ========== 404 ========== */
.notfound-bg {
  position: absolute;
  bottom: 0;
  font-size: 8rem;
  font-weight: 900;
  color: var(--stone-50);
  user-select: none;
  pointer-events: none;
  z-index: 0;
  line-height: 1;
}

/* ========== PROSE (legacy) ========== */
.prose p { margin-bottom: 1rem; line-height: 1.8; }
.prose h2 { margin-top: 2rem; margin-bottom: 0.75rem; }

/* ========== RESPONSIVE ========== */
@media (max-width: 767px) {
  .mobile-footer-pad { padding-bottom: calc(60px + 2rem); }
}

@media (min-width: 640px) {
  .sm\:block { display: block; }
  .sm\:flex { display: flex; }
  .sm\:flex-row { flex-direction: row; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .sm\:justify-between { justify-content: space-between; }
  .sm\:hidden { display: none; }
  .sm\:text-left { text-align: left; }
  .sm\:text-2xl { font-size: 1.5rem; }
  .sm\:text-4xl { font-size: 2.25rem; }
  .sm\:text-base { font-size: 1rem; }

  .service-card-img { height: 176px; }
}

@media (min-width: 768px) {
  .md\:block { display: block; }
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:flex-row { flex-direction: row; }
  .md\:items-end { align-items: flex-end; }
  .md\:items-start { align-items: flex-start; }
  .md\:justify-start { justify-content: flex-start; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
  .md\:grid-cols-6 { grid-template-columns: repeat(6, 1fr); }
  .md\:px-8 { padding-left: 32px; padding-right: 32px; }
  .md\:py-14 { padding-top: 56px; padding-bottom: 56px; }
  .md\:py-16 { padding-top: 64px; padding-bottom: 64px; }
  .md\:py-20 { padding-top: 80px; padding-bottom: 80px; }
  .md\:py-24 { padding-top: 96px; padding-bottom: 96px; }
  .md\:pt-20 { padding-top: 80px; }
  .md\:pb-20 { padding-bottom: 80px; }
  .md\:text-left { text-align: left; }
  .md\:text-sm { font-size: 0.875rem; }
  .md\:text-base { font-size: 1rem; }
  .md\:text-lg { font-size: 1.125rem; }
  .md\:text-3xl { font-size: 1.875rem; }
  .md\:text-4xl { font-size: 2.25rem; }
  .md\:h-20 { height: 80px; }
  .md\:h-44 { height: 176px; }
  .md\:h-52 { height: 208px; }
  .md\:h-72 { height: 288px; }
  .md\:w-auto { width: auto; }
  .md\:w-320 { width: 320px; }
  .md\:gap-8 { gap: 32px; }
  .md\:gap-10 { gap: 40px; }
  .md\:gap-16 { gap: 64px; }
  .md\:gap-20 { gap: 80px; }
  .md\:mb-4 { margin-bottom: 16px; }
  .md\:mb-0 { margin-bottom: 0; }
  .md\:mx-0 { margin-left: 0; margin-right: 0; }

  .container { padding: 0 32px; }
  .hero { height: 680px; }
  .hero-content { padding: 0 64px; }
  .hero-bottom-inner { padding: 12px 64px; }
  .page-header { padding: 96px 32px; }
  .footer-inner { padding: 80px 32px; }
  .navbar-inner { padding: 0 32px; height: 80px; }
  .navbar-brand-text { display: block; }
  .navbar-nav { display: flex; }
  .navbar-cta { display: inline-flex; }
  .navbar-mobile-toggle { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 64px; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
  .mobile-bottom-nav { display: none !important; }
  .article-card-img { height: 208px; }
  .case-card-img { height: 176px; }
  .service-page-card-img { height: 176px; }
}

@media (min-width: 1024px) {
  .lg\:flex-row { flex-direction: row; }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
  .lg\:grid-cols-6 { grid-template-columns: repeat(6, 1fr); }
  .lg\:block { display: block; }
  .lg\:w-auto { width: auto; }
  .lg\:w-340 { width: 340px; }
  .lg\:gap-20 { gap: 80px; }

  .process-connector {
    display: block;
    position: absolute;
    top: 32px;
    left: calc(50% + 32px);
    right: 0;
    height: 1px;
    background: rgba(139,58,42,0.3);
  }

  /* Lawyer info bar - desktop horizontal compact style */
  .info-card {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    text-align: left;
  }
  .info-card .info-card-icon {
    width: 24px;
    height: 24px;
    font-size: 1rem;
    flex-shrink: 0;
  }
}

/* ========== PROCESS CONNECTOR DESKTOP ========== */
@media (max-width: 1023px) {
  .process-connector { display: none; }
}

/* ========== SERVICE CARD HOVER FIX ========== */
.service-card:hover .service-card-overlay {
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.15) 50%, rgba(0,0,0,0.7));
}

/* ========== ARTICLE CARD IMG HEIGHTS ========== */
.news-page .article-card-img { height: 208px; }

/* ========== ENSURE SERVICE PAGE CARD HEIGHT ========== */
@media (min-width: 768px) {
  .service-page-card-img { height: 176px; }
}

/* ========== HERO CONTENT W-FULL ========== */
.hero-content > .w-full { width: 100%; }

/* ========== BG COLORS ========== */
.bg-primary { background-color: var(--primary); }
.bg-card { background-color: var(--bg-card); }
.bg-warm { background-color: var(--bg-warm); }
.bg-dark { background-color: var(--bg-dark); }

/* ========== BORDER COLORS ========== */
.border-primary { border-color: var(--primary); }

/* ========== TEXT COLORS ========== */
.text-primary { color: var(--primary); }
.text-primary-light { color: var(--primary-light); }

/* ========== HOVER COLORS ========== */
.hover-text-primary-light:hover { color: var(--primary-light); }

/* HOVER BG */
.hover-bg-primary-dark:hover { background: var(--primary-dark) !important; }

/* ========== LINE CLAMP 1 INLINE ========== */
.line-clamp-1 {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* ========== CASE CARD GROUP HOVER ========== */
.case-card:hover h3,
.case-card:hover .article-card-title { color: var(--primary); }

/* ========== BORDER FIX ========== */
.border-primary-20 { border-color: rgba(139,58,42,0.2); }

/* ========== PORTRAIT IMG FIX ========== */
.w-260 { width: 260px; }
.w-320 { width: 320px; }
.w-340 { width: 340px; }

/* ========== PORT CONVERSION LAYER (lawyer-sienna-ivory) ========== */

html { scroll-padding-top: 80px; }

body {
  padding-bottom: 88px;
}
@media (min-width: 768px) {
  body { padding-bottom: 72px; }
}

img { max-width: 100%; height: auto; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Hero fallback when theme_img.home is empty */
.hero-fallback-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #1C1410 0%, #2A1E18 40%, #8B3A2A 100%);
}
.page-header.has-img {
  position: relative;
  overflow: hidden;
  background: var(--bg-dark);
}
.page-header.has-img .page-header-bg {
  position: absolute;
  inset: 0;
}
.page-header.has-img .page-header-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.page-header.has-img .page-header-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(28,20,16,0.72), rgba(28,20,16,0.88));
}
.page-header.has-img .page-header-inner { position: relative; z-index: 1; }

.navbar-brand-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-warm);
  color: var(--primary);
  font-size: 1.125rem;
}
.navbar.transparent .navbar-brand-fallback {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

.navbar-nav a.is-cta {
  color: var(--primary) !important;
  font-weight: 600;
}

.portrait-fallback,
.avatar-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-warm);
  color: var(--primary);
  font-family: 'Noto Serif SC', 'SimSun', serif;
  font-weight: 700;
}

/* Practice cards without stock photos */
.service-card-fallback {
  width: 100%;
  height: 144px;
  background: linear-gradient(165deg, #2A1E18 0%, #8B3A2A 62%, #C4785A 100%);
}
@media (min-width: 640px) {
  .service-card-fallback { height: 176px; }
}

/* Text-only article / case cards (list + home modules) */
.article-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 20px;
  transition: transform 0.2s ease;
}
.article-card:hover { transform: translateY(-4px); }
.article-card-title {
  font-family: 'Noto Serif SC', 'SimSun', serif;
  font-size: 1rem;
}

.case-card .case-card-body { padding: 24px; }

.service-page-card-body { padding: 24px; }

/* Trust bar */
.trust-bar {
  background: var(--bg-warm);
  border-top: 1px solid rgba(139,58,42,0.12);
  border-bottom: 1px solid rgba(139,58,42,0.12);
}
.trust-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (min-width: 768px) {
  .trust-inner {
    grid-template-columns: repeat(4, 1fr);
    padding: 24px 32px;
  }
}
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.trust-item i {
  color: var(--primary);
  font-size: 1.125rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.trust-item strong {
  display: block;
  color: var(--stone-800);
  font-size: 0.8125rem;
}
.trust-item span,
.trust-item a {
  display: block;
  color: var(--stone-500);
  font-size: 0.75rem;
  line-height: 1.4;
}
.trust-item a:hover { color: var(--primary); }

/* Footer extras */
.footer-nap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--stone-400);
  margin-bottom: 16px;
}
.footer-nap a:hover { color: var(--primary-light); }
.footer-wechat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 8px 16px;
  border-radius: 9999px;
  border: 1px solid rgba(196,120,90,0.45);
  color: var(--primary-light);
  background: transparent;
  font-size: 0.8125rem;
  cursor: pointer;
}
.footer-wechat:hover { background: rgba(196,120,90,0.12); }
.footer-qr {
  margin-top: 12px;
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 8px;
}
.footer-disclaimer {
  font-size: 0.75rem;
  color: var(--stone-500);
  line-height: 1.6;
  margin-bottom: 6px;
}
.footer-tech {
  font-size: 0.6875rem;
  color: var(--stone-600);
  margin-top: 8px;
}
.footer-tech a {
  color: var(--stone-500);
  text-decoration: underline;
}
.footer-tech a:hover { color: var(--primary-light); }

/* Forms — shared fields */
.si-form h3 {
  font-family: 'Noto Serif SC', 'SimSun', serif;
  color: var(--stone-900);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.si-form .form-sub {
  color: var(--stone-500);
  font-size: 0.8125rem;
  margin-bottom: 16px;
  line-height: 1.6;
}
.si-form .form-field { margin-bottom: 14px; }
.si-form label {
  display: block;
  font-size: 0.8125rem;
  color: var(--stone-600);
  margin-bottom: 6px;
}
.si-form input[type="text"],
.si-form input[type="tel"],
.si-form textarea {
  width: 100%;
  border: 1px solid var(--stone-200);
  background: #fff;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 0.875rem;
  color: var(--stone-800);
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s;
}
.si-form input:focus,
.si-form textarea:focus {
  border-color: var(--primary);
}
.si-form textarea { min-height: 96px; resize: vertical; }
.si-form .form-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.si-form .form-check label { margin: 0; line-height: 1.5; }
.si-form .form-check a { color: var(--primary); text-decoration: underline; }
.si-form .form-check input { margin-top: 3px; accent-color: var(--primary); }
.si-form .form-btn {
  width: 100%;
  margin-top: 4px;
}
.si-form .form-disclaimer {
  margin-top: 12px;
  font-size: 0.75rem;
  color: var(--stone-500);
  line-height: 1.6;
}
.consult-error {
  background: #fde8e4;
  color: var(--primary-dark);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.8125rem;
  margin-bottom: 12px;
}

/* 5.4 form-band: home / list bottoms */
.form-band {
  background: var(--bg-warm);
  padding: 64px 0;
}
.form-band-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  gap: 32px;
}
@media (min-width: 768px) {
  .form-band { padding: 80px 0; }
  .form-band-inner {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    padding: 0 32px;
  }
}
.form-band-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--primary);
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}
.form-band-kicker .line {
  width: 32px;
  height: 1px;
  background: var(--primary);
}
.form-band-intro h2 {
  font-family: 'Noto Serif SC', 'SimSun', serif;
  color: var(--stone-900);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.form-band-desc {
  color: var(--stone-600);
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 20px;
}
.form-band-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--stone-600);
}
.form-band-meta i { color: var(--primary); margin-right: 6px; }
.form-band-meta a { color: var(--primary); font-weight: 600; }
.form-band-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid rgba(139,58,42,0.12);
}
.form-band-card .si-form h3,
.form-band-card .si-form .form-sub { display: none; }

/* 5.4 sidebar */
.detail-shell {
  display: grid;
  gap: 40px;
}
@media (min-width: 1024px) {
  .detail-shell {
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
    gap: 48px;
  }
}
.detail-aside { min-width: 0; }
@media (min-width: 1024px) {
  .form-sidebar { position: sticky; top: 96px; }
}
.form-sidebar {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid rgba(139,58,42,0.1);
}
.form-sidebar .si-form h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}
.form-sidebar .si-form h3::before {
  content: "";
  width: 3px;
  height: 16px;
  background: var(--primary);
  border-radius: 2px;
}
.form-sidebar .si-form .form-sub { font-size: 0.75rem; }
.form-sidebar .si-form input,
.form-sidebar .si-form textarea {
  padding: 8px 12px;
  border-radius: 10px;
}
.form-sidebar .si-form textarea { min-height: 72px; }

/* 5.4 about embed — no nested thick white card */
.form-about {
  margin-top: 8px;
}
.form-about .si-form h3 {
  display: flex;
  align-items: center;
  gap: 12px;
}
.form-about .si-form h3::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--stone-100);
}

/* 5.4 contact — same tile language */
.form-contact {
  margin-top: 32px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--stone-100);
  border-radius: 12px;
}

/* 5.4 consult page — slightly stronger */
.form-consult-page {
  max-width: 640px;
  margin: 0 auto;
}
.form-consult-lead {
  color: var(--stone-600);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 24px;
}
.form-consult-lead a { color: var(--primary); font-weight: 600; }
.form-consult-page .si-form {
  background: var(--bg-card);
  border: 1px solid rgba(139,58,42,0.22);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 8px 28px rgba(28,20,16,0.06);
}

/* Pager */
.pager {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}
.pager ul,
.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.pager a,
.pager span,
.pager li a,
.pager li span,
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 9999px;
  border: 1px solid var(--stone-200);
  color: var(--stone-600);
  font-size: 0.8125rem;
  background: #fff;
  text-decoration: none;
}
.pager a:hover,
.pager li a:hover,
.pagination a:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.pager .active,
.pager .current,
.pager span.current,
.pager li.active span,
.pager li.active a,
.pagination .active,
.pagination .current {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.pager .disabled,
.pager li.disabled span,
.pagination .disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* PC convert bar */
.pc-convert {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--stone-200);
  box-shadow: 0 -4px 20px rgba(28,20,16,0.06);
}
@media (min-width: 768px) {
  .pc-convert { display: block; }
}
.pc-convert-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.pc-convert-text strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--stone-800);
  font-family: 'Noto Serif SC', 'SimSun', serif;
}
.pc-convert-text span {
  font-size: 0.75rem;
  color: var(--stone-500);
}
.pc-convert-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.pc-convert-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9375rem;
}

/* Mobile tabbar (replaces reference 5-key + 首页) */
.mobile-bar {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 45;
  background: #fff;
  border-top: 1px solid var(--stone-200);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 768px) {
  .mobile-bar { display: none; }
}
.mobile-bar-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 6px 0;
  border: none;
  background: transparent;
  color: var(--stone-500);
  font-size: 0.75rem;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.mobile-bar-item i { font-size: 1.125rem; }
.mobile-bar-item.mobile-cta {
  background: var(--primary);
  color: #fff;
}
.mobile-bar-item.mobile-cta i { color: #fff; }

/* WeChat modal — contract structure, sienna skin */
#wechat-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(28,20,16,0.5);
  align-items: center;
  justify-content: center;
  padding: 24px;
}
#wechat-modal.is-open { display: flex; }
.wechat-modal-box {
  position: relative;
  width: 100%;
  max-width: 320px;
  background: #fff;
  border-radius: 16px;
  padding: 32px 24px 24px;
  text-align: center;
}
.wechat-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  color: var(--stone-500);
  font-size: 1.25rem;
  cursor: pointer;
}
.wechat-modal-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  border-radius: 9999px;
  background: rgba(139,58,42,0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.wechat-modal-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--stone-800);
  margin-bottom: 6px;
  font-family: 'Noto Serif SC', 'SimSun', serif;
}
.wechat-modal-desc {
  font-size: 0.8125rem;
  color: var(--stone-500);
  margin-bottom: 16px;
}
.wechat-qr {
  width: 180px;
  height: 180px;
  object-fit: cover;
  margin: 0 auto 16px;
  border-radius: 12px;
  border: 1px solid var(--stone-100);
}
.wechat-modal-dismiss {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  padding: 8px 24px;
  border-radius: 9999px;
  border: 1px solid var(--stone-200);
  background: #fff;
  color: var(--stone-600);
  font-size: 0.875rem;
  cursor: pointer;
}
.wechat-modal-dismiss:hover { border-color: var(--primary); color: var(--primary); }

.wechat-id-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  font-size: 0.875rem;
}
.wechat-id-label { color: var(--stone-500); }
.wechat-id-value { color: var(--stone-800); }
.wechat-id-row button {
  border: 1px solid var(--primary);
  background: transparent;
  color: var(--primary);
  border-radius: 9999px;
  padding: 4px 12px;
  font-size: 0.75rem;
  cursor: pointer;
}
.wechat-id-row button:hover { background: var(--primary); color: #fff; }
.wechat-id-hint {
  margin-top: 8px;
  font-size: 0.75rem;
  color: var(--stone-500);
}
.wechat-id-hint strong { color: var(--primary); }
@media (min-width: 768px) {
  /* 仅在弹层有二维码时隐藏复制区，避免无码站点电脑端无法添加微信 */
  body:has(#wechat-modal img) .wechat-id-row,
  body:has(#wechat-modal img) .wechat-id-hint { display: none !important; }
}

/* Prose / rich text */
.prose {
  color: var(--stone-600);
  font-size: 0.9375rem;
  line-height: 1.8;
}
.prose p { margin-bottom: 1rem; }
.prose h2, .prose h3 {
  font-family: 'Noto Serif SC', 'SimSun', serif;
  color: var(--stone-900);
  font-weight: 700;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}
.prose h2 { font-size: 1.25rem; }
.prose h3 { font-size: 1.0625rem; }
.prose ul, .prose ol { margin: 0 0 1rem 1.25rem; }
.prose li { margin-bottom: 0.35rem; }
.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 1rem 0;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.875rem;
}
.prose th, .prose td {
  border: 1px solid var(--stone-200);
  padding: 8px 10px;
  text-align: left;
}
.prose a { color: var(--primary); }
.prose blockquote {
  border-left: 4px solid var(--primary);
  background: var(--bg-card);
  padding: 12px 16px;
  margin: 1rem 0;
  color: var(--stone-600);
}

.article-lead {
  background: var(--bg-card);
  border-left: 4px solid var(--primary);
  border-radius: 12px;
  padding: 16px;
  color: var(--stone-600);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.meta-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0 20px;
  text-decoration: none;
}
.meta-card img {
  width: 56px;
  height: 56px;
  border-radius: 9999px;
  object-fit: cover;
  object-position: top;
  border: 2px solid var(--primary);
}
.meta-card strong {
  display: block;
  color: var(--stone-800);
  font-size: 0.9375rem;
}
.meta-card span {
  display: block;
  color: var(--stone-500);
  font-size: 0.75rem;
}

.alert-soft {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: var(--bg-warm);
  color: var(--stone-600);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.8125rem;
  margin-bottom: 20px;
}
.alert-soft i { color: var(--primary); }

.faq-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--stone-100);
}
.faq-item h3 {
  font-size: 0.9375rem;
  color: var(--stone-800);
  margin-bottom: 6px;
}
.faq-item p {
  font-size: 0.875rem;
  color: var(--stone-600);
  line-height: 1.7;
}

.related-section { padding: 16px 0 48px; }
.related-section h2,
.related-block h3 {
  font-family: 'Noto Serif SC', 'SimSun', serif;
  color: var(--stone-800);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.related-lawyer {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: var(--bg-card);
  border-radius: 12px;
  margin-bottom: 24px;
  text-decoration: none;
}
.related-lawyer img {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
  object-position: top;
}
.related-lawyer span { color: var(--stone-800); font-size: 0.875rem; }
.related-lawyer p { color: var(--stone-500); font-size: 0.75rem; margin-top: 4px; }

.related-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--stone-100);
}
.related-item-title { font-size: 0.875rem; }

.honor-list { list-style: none; }
.honor-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: var(--stone-600);
  font-size: 0.875rem;
}
.honor-item img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 8px;
}

.off-hours-tip {
  margin-top: 8px;
  font-size: 0.8125rem;
  color: var(--primary);
  background: var(--bg-warm);
  border-radius: 8px;
  padding: 8px 12px;
}

.thanks-page,
.error-page {
  padding: 80px 16px 64px;
  min-height: 60vh;
  text-align: center;
}
.thanks-icon,
.error-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 9999px;
  background: var(--bg-warm);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}
.thanks-page h1,
.error-page h1 {
  font-family: 'Noto Serif SC', 'SimSun', serif;
  color: var(--stone-900);
  font-size: 1.75rem;
  margin-bottom: 12px;
}
.thanks-lead,
.error-lead {
  color: var(--stone-600);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 24px;
}
.thanks-actions,
.error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}
.thanks-wechat { margin: 16px 0 24px; }
.thanks-hours {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 16px;
  text-align: left;
  margin-bottom: 16px;
}
.thanks-hours h2 {
  font-size: 0.9375rem;
  color: var(--stone-800);
  margin-bottom: 6px;
}
.error-practices {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}
.error-practices a {
  border: 1px solid rgba(139,58,42,0.3);
  color: var(--primary);
  border-radius: 9999px;
  padding: 6px 14px;
  font-size: 0.8125rem;
  background: var(--bg-warm);
}
.privacy-wrap { max-width: 768px; margin: 0 auto; padding: 48px 16px 64px; }

.tag-anon {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--primary);
  border: 1px solid rgba(139,58,42,0.3);
  padding: 2px 10px;
  border-radius: 9999px;
  background: var(--bg-warm);
  margin-bottom: 8px;
}

.about-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.about-heading h2,
.about-heading h3 {
  font-family: 'Noto Serif SC', 'SimSun', serif;
  color: var(--stone-900);
  font-size: 1.125rem;
  font-weight: 700;
}
.about-heading .line {
  flex: 1;
  height: 1px;
  background: var(--stone-100);
}

.page-body { background: #fff; }

.navbar.transparent .navbar-nav a.is-cta { color: var(--primary-light) !important; }
.bg-warm .case-card { background: #fff; }
.form-contact .si-form h3 { font-size: 1.125rem; }
