/* 藏青香槟 · lawyer-navy-champagne · Intellectual-property-04 移植 */
:root {
  --navy-50: #E8ECF2;
  --navy-100: #C5CFE0;
  --navy-200: #9EAFCC;
  --navy-300: #778FB8;
  --navy-400: #5977A8;
  --navy-500: #3B5F99;
  --navy-600: #2C4A7A;
  --navy-700: #1E355C;
  --navy-800: #122240;
  --navy-900: #0A1528;
  --champagne-50: #FBF8F0;
  --champagne-100: #F5EDD8;
  --champagne-200: #EDDFB8;
  --champagne-300: #E3CF94;
  --champagne-400: #D9BF70;
  --champagne-500: #CFAF4C;
  --champagne-600: #B8993A;
  --champagne-700: #91782D;
  --warm-50: #FDFCFB;
  --warm-100: #FAF8F5;
  --warm-200: #F5F1EC;
  --warm-300: #EDE7DE;
  --warm-400: #E0D8CC;
  --warm-500: #D1C7B7;
  --white: #ffffff;
  --text: #122240;
  --muted: #5977A8;
  --radius: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --radius-full: 9999px;
  --font-serif: "Playfair Display", "Noto Serif SC", serif;
  --font-sans: "Noto Sans SC", "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  --wrap: 80rem;
  --header-h: 4rem;
  --mobile-bar-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  padding-bottom: var(--mobile-bar-h);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--champagne-600); text-decoration: none; }
a:hover { color: var(--champagne-700); }
button { font-family: inherit; cursor: pointer; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
.wrap-6xl { max-width: 72rem; }
.wrap-5xl { max-width: 64rem; }
.wrap-4xl { max-width: 56rem; }
.wrap-2xl { max-width: 42rem; }
@media (min-width: 768px) {
  .wrap { padding-left: 1.5rem; padding-right: 1.5rem; }
  :root { --header-h: 5rem; }
  body { padding-bottom: 0; }
}

/* Buttons */
.btn-primary,
.btn-outline,
.btn-outline-light,
.btn-navy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid transparent;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--champagne-600);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--champagne-700);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  border-color: var(--navy-300);
  color: var(--navy-700);
}
.btn-outline:hover {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: var(--white);
}
.btn-outline-light {
  background: transparent;
  border-color: rgba(217, 191, 112, 0.5);
  color: var(--champagne-300);
}
.btn-outline-light:hover {
  background: rgba(217, 191, 112, 0.1);
  color: var(--champagne-300);
}
.btn-navy {
  background: var(--navy-800);
  color: var(--white);
}
.btn-navy:hover {
  background: var(--navy-700);
  color: var(--white);
}
.btn-pill { border-radius: var(--radius-full); padding: 1rem 2.5rem; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.8125rem; }

/* Header — solid by default; home hero uses transparent until scroll */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--white);
  box-shadow: 0 1px 8px rgba(10, 21, 40, 0.08);
  transition: background 0.3s, box-shadow 0.3s;
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}
.nav-brand {
  color: var(--navy-800);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.nav-brand:hover { color: var(--navy-800); }
.nav-logo-img { border-radius: 0.25rem; }
.nav-logo-text { font-family: var(--font-serif); }
.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.25rem;
}
@media (min-width: 768px) {
  .nav-desktop { display: flex; }
}
.nav-item {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy-800);
  border-radius: 0.375rem;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-item:hover,
.nav-item.is-active { color: var(--champagne-700); }
.nav-item.is-cta {
  background: var(--champagne-600);
  color: var(--white) !important;
}
.nav-item.is-cta:hover { background: var(--champagne-700); }
.nav-phone {
  display: none;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--champagne-700);
  white-space: nowrap;
}
@media (min-width: 1024px) {
  .nav-phone { display: inline-flex; }
}
.nav-mobile-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: none;
  border: 0;
  color: var(--navy-800);
  font-size: 1.25rem;
  padding: 0;
}
body:has(.hero) .site-header:not(.is-scrolled) {
  background: transparent;
  box-shadow: none;
}
body:has(.hero) .site-header:not(.is-scrolled) .nav-brand,
body:has(.hero) .site-header:not(.is-scrolled) .nav-item,
body:has(.hero) .site-header:not(.is-scrolled) .nav-mobile-btn {
  color: var(--white);
}
body:has(.hero) .site-header:not(.is-scrolled) .nav-item:hover,
body:has(.hero) .site-header:not(.is-scrolled) .nav-item.is-active {
  color: var(--champagne-400);
}
body:has(.hero) .site-header:not(.is-scrolled) .nav-phone {
  color: var(--champagne-400);
}
body:has(.hero) .site-header:not(.is-scrolled) .nav-item.is-cta {
  color: var(--white) !important;
}
@media (min-width: 768px) {
  .nav-mobile-btn { display: none; }
}
.mobile-menu {
  position: fixed;
  inset: 0;
  top: var(--header-h);
  background: rgba(10, 21, 40, 0.95);
  backdrop-filter: blur(8px);
  z-index: 49;
}
.mobile-menu[hidden] { display: none !important; }
.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 2rem 1.5rem;
}
.mobile-nav-link {
  width: 100%;
  text-align: center;
  padding: 0.75rem;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  border-radius: 0.5rem;
}
.mobile-nav-link:hover,
.mobile-nav-link.is-active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}
.mobile-nav-phone {
  margin-top: 0.5rem;
  color: var(--champagne-400);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy-800);
}
@media (min-width: 768px) {
  .hero { min-height: 680px; }
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
}
.hero-bg-fallback {
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-700) 45%, var(--navy-800) 100%);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10, 21, 40, 0.7), rgba(10, 21, 40, 0.5), rgba(10, 21, 40, 0.7));
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 6rem 1rem 4rem;
  text-align: center;
}
.hero-pill {
  display: inline-block;
  margin-bottom: 1.5rem;
  padding: 0.5rem 1.25rem;
  border: 1px solid rgba(217, 191, 112, 0.4);
  border-radius: var(--radius-full);
}
.hero-pill span {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--champagne-300);
}
.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.hero-sub {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  color: rgba(217, 191, 112, 0.85);
  letter-spacing: 0.08em;
}
@media (min-width: 768px) {
  .hero-sub { font-size: 1.125rem; }
}
.hero-lead {
  margin: 0 auto 2rem;
  max-width: 36rem;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
@media (min-width: 640px) {
  .hero-ctas { flex-direction: row; flex-wrap: wrap; }
}
.hero-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4rem;
  background: linear-gradient(to top, var(--white), transparent);
  z-index: 2;
}

/* Lawyer info — warm */
.lawyer-info {
  padding: 3.5rem 0;
  background: var(--warm-50);
}
@media (min-width: 768px) {
  .lawyer-info { padding: 5rem 0; }
}
.lawyer-info-row {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .lawyer-info-row {
    flex-direction: row;
    gap: 4rem;
    align-items: center;
  }
}
.lawyer-photo { flex-shrink: 0; }
.lawyer-photo-frame {
  width: 280px;
  height: 400px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--navy-800);
}
@media (min-width: 768px) {
  .lawyer-photo-frame {
    width: 320px;
    height: 440px;
  }
}
@media (min-width: 1024px) {
  .lawyer-photo-frame { margin: 0; }
}
.lawyer-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.lawyer-photo-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--champagne-400);
  font-family: var(--font-serif);
  font-size: 2rem;
}
.lawyer-meta { flex: 1; min-width: 0; }
.eyebrow {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--champagne-700);
  font-weight: 500;
  margin-bottom: 1rem;
}
.eyebrow-en {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--champagne-700);
  font-weight: 500;
  text-transform: uppercase;
}
.lawyer-name {
  margin: 0 0 1.5rem;
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--navy-800);
  line-height: 1.2;
}
.lawyer-name span {
  display: block;
  color: var(--champagne-600);
  font-weight: 400;
}
.lawyer-quote {
  margin: 0 0 1.5rem;
  padding-left: 1.25rem;
  border-left: 2px solid var(--champagne-400);
  font-size: 0.9375rem;
  color: rgba(30, 53, 92, 0.8);
  line-height: 1.75;
}
.lawyer-meta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 640px) {
  .lawyer-meta-grid { grid-template-columns: 1fr 1fr; }
}
.meta-lbl {
  margin: 0 0 0.2rem;
  font-size: 0.75rem;
  color: var(--warm-400);
}
.meta-val {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy-800);
}
.meta-link { color: var(--champagne-700); }
.meta-btn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-weight: 500;
  color: var(--champagne-700);
}
.lawyer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* 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: 768px) {
  .section-head-row {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}
.section-title {
  margin: 0.75rem 0 0;
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--navy-800);
  line-height: 1.25;
}
.section-desc {
  margin: 0.5rem 0 0;
  font-size: 0.9375rem;
  color: var(--warm-400);
}
.section-cta { margin-top: 2rem; text-align: center; }
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy-700);
  white-space: nowrap;
}
.link-more:hover { color: var(--champagne-700); }

/* Services — white */
.services-section {
  padding: 3.5rem 0;
  background: var(--white);
}
@media (min-width: 768px) {
  .services-section { padding: 5rem 0; }
}
.svc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .svc-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
}
@media (min-width: 1024px) {
  .svc-grid { grid-template-columns: 1fr 1fr 1fr 1fr; }
}
.svc-list {
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .svc-list { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .svc-list { grid-template-columns: 1fr 1fr 1fr; }
}
.svc-card {
  display: block;
  background: var(--warm-50);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  border-left: 2px solid transparent;
  transition: background 0.3s, border-color 0.3s;
  color: inherit;
}
.svc-card:hover {
  background: var(--warm-100);
  border-left-color: var(--champagne-400);
  color: inherit;
}
.svc-card-lg {
  padding: 1.5rem 2rem;
  border-left: 0;
  border: 1px solid transparent;
}
.svc-card-lg:hover {
  background: var(--white);
  border-color: var(--warm-200);
  box-shadow: 0 2px 12px rgba(10, 21, 40, 0.04);
}
.svc-ico {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--champagne-600);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}
.svc-ico-box {
  width: 3.5rem;
  height: 3.5rem;
  background: var(--navy-800);
  border-radius: var(--radius-lg);
  color: var(--white);
  font-size: 1.35rem;
  transition: background 0.3s;
}
.svc-card-lg:hover .svc-ico-box { background: var(--champagne-600); }
.svc-card h3 {
  margin: 0 0 0.5rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--navy-800);
  transition: color 0.2s;
}
.svc-card:hover h3 { color: var(--champagne-700); }
.svc-card p {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(30, 53, 92, 0.6);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: var(--champagne-600);
}

/* Home cases / news — warm text cards, no images */
.cases-home,
.news-home {
  padding: 3.5rem 0;
  background: var(--warm-50);
}
@media (min-width: 768px) {
  .cases-home,
  .news-home { padding: 5rem 0; }
}
.news-home { background: var(--warm-100); }
.home-text-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .home-text-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .home-text-grid { grid-template-columns: 1fr 1fr 1fr; }
}
.text-card {
  display: block;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  transition: box-shadow 0.3s;
  color: inherit;
}
.text-card:hover {
  box-shadow: 0 2px 12px rgba(10, 21, 40, 0.06);
  color: inherit;
}
.text-card h3 {
  margin: 0 0 0.5rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--navy-800);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}
.text-card:hover h3 { color: var(--champagne-700); }
.text-card p {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(30, 53, 92, 0.6);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.text-card-date {
  font-size: 0.75rem !important;
  color: var(--warm-400) !important;
  margin-bottom: 0.5rem !important;
  display: block !important;
  -webkit-line-clamp: unset !important;
}
.tag-pill {
  display: inline-block;
  font-size: 0.625rem;
  letter-spacing: 0.04em;
  color: var(--champagne-700);
  background: var(--champagne-50);
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

/* CTA band — navy */
.cta-band {
  padding: 3.5rem 0;
  background: var(--navy-800);
  text-align: center;
}
@media (min-width: 768px) {
  .cta-band { padding: 5rem 0; }
}
.cta-band h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
}
.cta-band-sub {
  margin: 0 0 0.5rem;
  font-family: var(--font-serif);
  font-size: clamp(1.125rem, 3vw, 1.75rem);
  color: rgba(255, 255, 255, 0.8);
}
.cta-band-italic {
  margin: 0 0 2.5rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.25rem, 3vw, 2rem);
  color: var(--champagne-400);
}

/* Consult steps */
.steps-section {
  padding: 3.5rem 0;
  background: var(--warm-50);
}
@media (min-width: 768px) {
  .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;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
}
.step-item h3,
.step-item p {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  border-radius: var(--radius-full);
  background: var(--navy-800);
  color: var(--champagne-400);
  font-family: var(--font-serif);
  font-size: 0.875rem;
  font-weight: 700;
}
.step-item h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-800);
}
.step-item p {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(30, 53, 92, 0.65);
  line-height: 1.65;
}
.steps-cta { margin-top: 2rem; text-align: center; }

/* Page head */
.page-head {
  padding: 6rem 0 2.5rem;
  background: var(--white);
  text-align: center;
}
@media (min-width: 768px) {
  .page-head { padding: 8rem 0 3.5rem; }
}
.page-head h1 {
  margin: 0.75rem 0 0;
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--navy-800);
}
.page-head-desc {
  margin: 1rem auto 0;
  max-width: 36rem;
  font-size: 0.9375rem;
  color: var(--warm-400);
}
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-bottom: 1rem;
  font-size: 0.8125rem;
  color: var(--warm-400);
}
.crumbs a { color: var(--warm-400); }
.crumbs a:hover { color: var(--champagne-600); }
.crumb-sep { opacity: 0.5; }
.crumb-current {
  color: var(--navy-600);
  max-width: 16rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-body { padding: 0 0 3.5rem; }
@media (min-width: 768px) {
  .page-body { padding-bottom: 5rem; }
}

/* About */
.about-intro {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}
@media (min-width: 1024px) {
  .about-intro {
    flex-direction: row;
    gap: 3rem;
    align-items: flex-start;
  }
}
.about-photo {
  flex-shrink: 0;
  width: 280px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--navy-800);
}
@media (min-width: 768px) {
  .about-photo { width: 340px; }
}
@media (min-width: 1024px) {
  .about-photo { margin: 0; }
}
.about-photo img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: top;
}
.about-info { flex: 1; min-width: 0; }
.about-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .about-info-grid { grid-template-columns: 1fr 1fr; }
}
.about-section {
  padding: 2rem 0;
  border-top: 1px solid var(--warm-300);
}
.about-section h2 {
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--warm-300);
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--navy-800);
}
.about-section-alt { background: transparent; }
.honor-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .honor-list { grid-template-columns: 1fr 1fr; }
}
.honor-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: rgba(30, 53, 92, 0.8);
}
.honor-item img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 0.375rem;
}

/* Contact */
.contact-panel {
  background: var(--warm-50);
  border-radius: var(--radius-xl);
  padding: 2rem;
  margin-bottom: 2rem;
}
@media (min-width: 768px) {
  .contact-panel { padding: 2.5rem; }
}
.contact-panel h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--navy-800);
}
.contact-lead {
  margin: 0 0 1.5rem;
  font-size: 0.875rem;
  color: rgba(30, 53, 92, 0.7);
  line-height: 1.7;
}
.contact-stack { display: flex; flex-direction: column; }
.contact-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--warm-200);
  color: inherit;
}
.contact-row.last,
.contact-row:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}
.contact-ico {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: 0.5rem;
  color: var(--champagne-500);
  font-size: 1.1rem;
}
.contact-row.is-phone .contact-ico {
  background: var(--champagne-100);
  color: var(--champagne-600);
}

/* Case list — single column stack */
.case-list-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.case-row-card {
  display: block;
  background: var(--warm-50);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  transition: background 0.25s;
  color: inherit;
}
.case-row-card:hover {
  background: var(--warm-100);
  color: inherit;
}
.case-row-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-800);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}
.case-row-card:hover h3 { color: var(--champagne-700); }
.case-row-card p {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  color: rgba(30, 53, 92, 0.6);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.list-card-more {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8125rem;
  color: var(--champagne-600);
}

/* News grid — 2 col */
.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .news-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}
.list-card {
  display: block;
  background: var(--warm-50);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  transition: background 0.25s;
  color: inherit;
}
.list-card:hover {
  background: var(--warm-100);
  color: inherit;
}
.list-card-date {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  color: var(--warm-400);
}
.list-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-800);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}
.list-card:hover h3 { color: var(--champagne-700); }
.list-card p {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  color: rgba(30, 53, 92, 0.6);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Detail */
.detail-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .detail-shell {
    grid-template-columns: minmax(0, 1fr) 20rem;
    align-items: start;
  }
}
.detail-panel {
  background: var(--white);
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.75rem;
  color: var(--warm-400);
}
.article-lead {
  margin: 0 0 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--warm-50);
  border-left: 3px solid var(--champagne-400);
  font-size: 0.9375rem;
  color: rgba(30, 53, 92, 0.8);
  line-height: 1.7;
}
.meta-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding: 0.75rem;
  background: var(--warm-50);
  border-radius: var(--radius);
  color: inherit;
}
.meta-card:hover { color: inherit; }
.meta-card img {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  object-fit: cover;
}
.meta-card strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--navy-800);
}
.meta-card span {
  font-size: 0.75rem;
  color: var(--warm-400);
}
.detail-practice {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  color: var(--muted);
}
.detail-practice a { color: var(--champagne-700); }
.result-box {
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--champagne-50);
  border-radius: var(--radius);
}
.result-box strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.8125rem;
  color: var(--champagne-700);
}
.result-box p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--navy-800);
  line-height: 1.65;
}
.alert-soft {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding: 0.75rem 1rem;
  background: var(--warm-50);
  border-radius: var(--radius);
  font-size: 0.8125rem;
  color: var(--muted);
}
.faq-section { margin-top: 2.5rem; }
.faq-section h2 {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--navy-800);
}
.faq-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--warm-200);
}
.faq-item h3 {
  margin: 0 0 0.35rem;
  font-size: 0.9375rem;
  color: var(--navy-800);
}
.faq-item p {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(30, 53, 92, 0.7);
  line-height: 1.65;
}

/* Related */
.related-section {
  padding: 3rem 0;
  background: var(--warm-50);
}
.related-section h2 {
  margin: 0 0 1.5rem;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--navy-800);
}
.related-lawyer {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  color: inherit;
}
.related-lawyer img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  object-fit: cover;
}
.related-lawyer-name {
  font-weight: 700;
  color: var(--navy-800);
}
.related-lawyer p {
  margin: 0.25rem 0 0;
  font-size: 0.8125rem;
  color: var(--muted);
}
.related-block { margin-bottom: 1.5rem; }
.related-block h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  color: var(--navy-800);
}
.case-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .case-grid { grid-template-columns: 1fr 1fr; }
}
.related-list { display: flex; flex-direction: column; gap: 0.5rem; }
.related-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--white);
  border-radius: var(--radius);
  color: var(--navy-800);
  font-size: 0.875rem;
}
.related-item:hover { color: var(--champagne-700); }

/* Forms */
.ch-form {
  background: var(--warm-50);
  border: 1px solid var(--warm-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.ch-form h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--navy-800);
}
.form-sub {
  margin: 0 0 1.25rem;
  font-size: 0.8125rem;
  color: var(--muted);
}
.form-field { margin-bottom: 1rem; }
.form-field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.8125rem;
  color: var(--navy-700);
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.75rem 0.875rem;
  border: 1px solid var(--warm-300);
  border-radius: 0.375rem;
  font: inherit;
  font-size: 0.875rem;
  background: var(--white);
  color: var(--navy-800);
}
.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid rgba(207, 175, 76, 0.35);
  border-color: var(--champagne-500);
}
.form-field textarea { min-height: 6rem; 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-size: 0.8125rem; }
.form-btn { width: 100%; margin-top: 0.5rem; }
.form-disclaimer {
  margin: 0.75rem 0 0;
  font-size: 0.75rem;
  color: var(--warm-400);
  line-height: 1.5;
}
.consult-error {
  margin: 0 0 1rem;
  padding: 0.75rem;
  background: #fef2f2;
  color: #b91c1c;
  border-radius: 0.375rem;
  font-size: 0.875rem;
}
.form-sidebar .ch-form {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  border-top: 3px solid var(--champagne-500);
}
.form-contact .ch-form {
  border-radius: var(--radius-xl);
  border-color: var(--warm-300);
}
.form-consult-page .ch-form {
  border: 1px solid var(--champagne-300);
  box-shadow: 0 4px 24px rgba(18, 34, 64, 0.06);
}
.form-consult-lead {
  margin: 0 0 1.5rem;
  font-size: 0.9375rem;
  color: rgba(30, 53, 92, 0.75);
  line-height: 1.7;
  text-align: center;
}

/* Pager */
.pager {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}
.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.pagination li a,
.pagination li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.65rem;
  border: 1px solid var(--warm-300);
  border-radius: 0.375rem;
  font-size: 0.8125rem;
  color: var(--navy-700);
  background: var(--white);
}
.pagination li a:hover {
  border-color: var(--champagne-500);
  color: var(--champagne-700);
}
.pagination li.active span,
.pagination .active a {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: var(--white);
}
.pagination li.disabled span {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Trust bar */
.trust-bar {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.75);
  padding: 1.5rem 0;
}
.trust-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .trust-inner { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .trust-inner { grid-template-columns: 1fr 1fr 1fr 1fr; }
}
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.trust-item i {
  color: var(--champagne-400);
  font-size: 1.25rem;
  margin-top: 0.15rem;
}
.trust-item strong {
  display: block;
  font-size: 0.875rem;
  color: var(--white);
}
.trust-item span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
}
.trust-item a { color: var(--champagne-300); }

/* Footer */
.site-footer {
  background: var(--navy-800);
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
}
.footer-brand:hover { color: var(--champagne-400); }
.footer-firm,
.footer-license,
.footer-phone,
.footer-addr {
  margin: 0.5rem 0 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
}
.footer-phone a { color: var(--champagne-300); }
.footer-disclaimer-inline {
  margin: 0.75rem 0 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.5;
}
.footer-nav-links,
.footer-practices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}
.footer-nav-links a,
.footer-practices a {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
}
.footer-nav-links a:hover,
.footer-practices a:hover { color: var(--champagne-400); }
.footer-practices { margin-top: 1rem; }
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  text-align: center;
}
@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
.footer-copy,
.footer-beian {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}
.footer-tech {
  margin: 0;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.3);
}
.footer-tech a { color: rgba(255, 255, 255, 0.35); }
.footer-tech a:hover { color: var(--champagne-400); }

/* PC convert / mobile bar */
.pc-convert {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: rgba(18, 34, 64, 0.96);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(217, 191, 112, 0.2);
  padding: 0.75rem 1rem;
}
@media (min-width: 768px) {
  .pc-convert { display: block; }
  body { padding-bottom: 72px; }
}
.pc-convert-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.pc-convert-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.pc-convert-text strong {
  font-size: 0.9375rem;
  color: var(--white);
}
.pc-convert-text span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
}
.pc-convert-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.pc-convert-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--champagne-300);
  font-size: 0.875rem;
  font-weight: 500;
}

.mobile-bar {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--navy-800);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  height: 4rem;
  align-items: stretch;
  justify-content: space-around;
  padding: 0 0.25rem;
}
@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: 0.15rem;
  background: none;
  border: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.625rem;
  min-width: 0;
  padding: 0.25rem;
}
.mobile-bar-item i { font-size: 1.125rem; }
.mobile-bar-item span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.mobile-bar-item:hover { color: rgba(255, 255, 255, 0.85); }
.mobile-cta {
  color: var(--white);
  background: var(--champagne-600);
  border-radius: 0.5rem;
  margin: 0.35rem 0.15rem;
}

/* Wechat modal */
.wechat-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(10, 21, 40, 0.55);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.wechat-modal.is-open { display: flex; }
.wechat-modal-box {
  position: relative;
  width: 100%;
  max-width: 22rem;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem 1.5rem;
  text-align: center;
}
.wechat-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: none;
  border: 0;
  font-size: 1.25rem;
  color: var(--muted);
  padding: 0.25rem;
}
.wechat-modal-icon {
  font-size: 2.5rem;
  color: #07c160;
  margin-bottom: 0.5rem;
}
.wechat-modal-title {
  margin: 0 0 0.35rem;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-800);
}
.wechat-modal-desc {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  color: var(--muted);
}
.wechat-qr {
  width: 180px;
  height: 180px;
  margin: 0 auto 1rem;
  object-fit: contain;
}
.wechat-id-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.wechat-id-label {
  font-size: 0.75rem;
  color: var(--muted);
}
.wechat-id-value {
  font-size: 0.9375rem;
  color: var(--navy-800);
}
.wechat-id-row button {
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--champagne-400);
  border-radius: 0.375rem;
  background: var(--champagne-50);
  color: var(--champagne-700);
  font-size: 0.75rem;
}
.wechat-id-hint {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  color: var(--muted);
}
.wechat-id-hint strong { color: #b45309; }
.wechat-modal-dismiss {
  width: 100%;
  padding: 0.65rem;
  border: 1px solid var(--warm-300);
  border-radius: 0.375rem;
  background: var(--warm-50);
  color: var(--navy-700);
  font-size: 0.875rem;
}

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

/* Thanks / 404 / privacy */
.thanks-page,
.error-page {
  padding: 7rem 0 4rem;
  text-align: center;
}
.thanks-inner,
.error-inner { max-width: 36rem; margin: 0 auto; }
.thanks-icon,
.error-icon {
  font-size: 3rem;
  color: var(--champagne-500);
  margin-bottom: 1rem;
}
.thanks-page h1,
.error-page h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--navy-800);
}
.thanks-lead,
.error-lead {
  margin: 0 0 1.5rem;
  font-size: 0.9375rem;
  color: rgba(30, 53, 92, 0.7);
  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: 18rem;
}
.thanks-wechat img {
  width: 180px;
  height: 180px;
  margin: 0 auto 1rem;
}
.thanks-hours {
  margin: 1.5rem 0;
  padding: 1rem;
  background: var(--warm-50);
  border-radius: var(--radius);
}
.thanks-hours h2 {
  margin: 0 0 0.35rem;
  font-size: 0.9375rem;
  color: var(--navy-800);
}
.thanks-hours p { margin: 0; font-size: 0.875rem; color: var(--muted); }
.off-hours-tip {
  margin: 0.75rem 0 0;
  font-size: 0.8125rem;
  color: #b45309;
}
.thanks-disclaimer {
  margin: 1rem 0 0;
  font-size: 0.75rem;
  color: var(--warm-400);
}
.error-practices-label {
  margin: 1.5rem 0 0.75rem;
  font-size: 0.8125rem;
  color: var(--muted);
}
.error-practices {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}
.error-practices a {
  padding: 0.35rem 0.75rem;
  background: var(--warm-50);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  color: var(--navy-700);
}
.privacy-wrap { max-width: 48rem; margin: 0 auto; }

/* Prose */
.prose {
  font-size: 0.9375rem;
  color: rgba(30, 53, 92, 0.8);
  line-height: 1.8;
}
.prose h2,
.prose h3,
.prose h4 {
  font-family: var(--font-serif);
  color: var(--navy-800);
  margin: 1.75rem 0 0.75rem;
  line-height: 1.35;
}
.prose h2 { font-size: 1.35rem; }
.prose h3 { font-size: 1.15rem; }
.prose p { margin: 0 0 1rem; }
.prose ul,
.prose ol { margin: 0 0 1rem; padding-left: 1.25rem; }
.prose li { margin-bottom: 0.35rem; }
.prose a { color: var(--champagne-700); text-decoration: underline; }
.prose img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 1rem 0;
}
.prose blockquote {
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  border-left: 3px solid var(--champagne-400);
  background: var(--warm-50);
  color: rgba(30, 53, 92, 0.75);
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.875rem;
}
.prose th,
.prose td {
  border: 1px solid var(--warm-300);
  padding: 0.5rem 0.75rem;
  text-align: left;
}
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-content {
  animation: fadeInUp 0.7s ease-out both;
}
