/* Law Firm - Frontend UI */
:root {
  /* ===== Font Families (报告 §1) ===== */
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", serif;
  --font-sans: "Noto Sans SC", -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", monospace;

  /* ===== Typography Scale · 1.250 Major Third (报告 §2) ===== */
  --text-display: 56px;
  --text-h1: 44px;
  --text-h2: 32px;
  --text-h3: 24px;
  --text-h4: 20px;
  --text-body-lg: 18px;
  --text-body: 16px;
  --text-body-sm: 14px;
  --text-caption: 13px;
  --text-micro: 12px;

  /* ===== Spacing · 8px base grid (报告 §5) ===== */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  /* ===== Brand (报告 §6) ===== */
  --navy: #172b57;
  --navy-2: #214476;
  --navy-3: #2d5a9e;
  --gold: #6f511a;
  --gold-2: #b89046;
  --gold-soft: rgba(111,81,26,.08);
  --green: #1f7a5c;

  /* ===== Neutral Gray Scale · 11-step (报告 §6) ===== */
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  /* ===== Semantic (报告 §6) ===== */
  --success: var(--green);
  --warning: #b45309;
  --danger: #b42318;
  --info: var(--navy-3);

  /* ===== Surface Layers (报告 §6) ===== */
  --paper: #f6f3ed;
  --surface: #ffffff;
  --surface-soft: #faf8f3;
  --surface-elevated: #ffffff;

  /* ===== Ink & Borders ===== */
  --ink: #172033;
  --ink-soft: #475569;
  --muted: #6b7280;
  --line: rgba(23,32,51,.11);
  --line-strong: rgba(23,32,51,.14);

  /* ===== Shadow · 5-level system (报告 §4) — 统一基色 rgba(23,32,51) ===== */
  --shadow-xs: 0 1px 2px rgba(23,32,51,.04);
  --shadow-sm: 0 2px 8px rgba(23,32,51,.06);
  --shadow-md: 0 8px 24px rgba(23,32,51,.08);
  --shadow-lg: 0 16px 40px rgba(23,32,51,.10);
  --shadow-xl: 0 24px 56px rgba(23,32,51,.14);
  --shadow-gold: 0 8px 24px rgba(111,81,26,.15);
  /* legacy aliases — 向后兼容，现有引用不破坏 */
  --shadow: var(--shadow-lg);
  --shadow-soft: var(--shadow-md);

  /* ===== Radius ===== */
  --radius-sm: 6px;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* ===== Responsive Breakpoints (报告 §7) ===== */
  --bp-sm: 640px;
  --bp-md: 768px;
  --bp-lg: 1024px;
  --bp-xl: 1280px;
  --bp-2xl: 1536px;

  --container: 1180px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  font-size: var(--text-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* Body background: clean, no decorative grid overlay */

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; }

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.narrow { width: min(900px, calc(100% - 40px)); }

.section { padding: var(--space-8) 0; }
.section + .section { padding-top: 0; }
.muted-section { background: rgba(255,255,255,.48); border-block: 1px solid var(--line); }

.section-kicker {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: var(--text-caption);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1, h2, h3, h4, p { margin-top: 0; }

/* 标题统一衬线 + 负字距 (报告 §1.2) */
h1, h2, h3 {
  font-family: var(--font-serif);
  letter-spacing: -0.02em;
}

h1 {
  font-size: var(--text-h1);
  line-height: 1.15;
  margin-bottom: 18px;
  font-weight: 800;
  text-wrap: balance;
}

h2 {
  font-size: var(--text-h2);
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 700;
  text-wrap: balance;
}

h3 {
  font-size: 19px;
  line-height: 1.35;
  margin-bottom: 12px;
  font-weight: 700;
}

/* 正文用无衬线 (报告 §1.2) */
p, span, a, input, textarea, select { font-family: var(--font-sans); }

/* 衬线标题覆盖 (报告 §1.2) */
.hero-title, .page-banner h1, .section-heading-wide h2 {
  font-family: var(--font-serif);
  letter-spacing: -0.02em;
}

p { color: var(--ink-soft); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  transition: transform .16s ease, background-color .16s ease, color .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.btn:active { transform: scale(.98); }
.btn-primary { background: var(--navy); color: #fff; border-color: var(--navy); box-shadow: 0 10px 22px rgba(23,32,51,.16); }
.btn-primary:hover { background: var(--navy-2); color: #fff; }
.btn-secondary { background: var(--surface); color: var(--navy); border-color: var(--line); }
.btn-secondary:hover { border-color: rgba(23,32,51,.28); box-shadow: var(--shadow-soft); }
.btn-outline { background: transparent; color: var(--navy); border-color: rgba(23,32,51,.28); }
.btn-outline:hover { background: rgba(23,32,51,.06); border-color: var(--navy); }
.btn-outline.light { color: #fff; border-color: rgba(255,255,255,.62); }
.btn-outline.light:hover { background: rgba(255,255,255,.12); }
.btn-full { width: 100%; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-weight: 700;
}

/* Header */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,.16);
  background: rgba(23,32,51,.08);
  transition: background-color .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.site-header.scrolled,
.site-header:not(.header-transparent) {
  position: fixed;
  background: rgba(255,255,255,.96);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.logo-icon,
.logo-img-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.logo-icon { background: rgba(255,255,255,.16); color: #fff; }
.site-header.scrolled .logo-icon,
.site-header:not(.header-transparent) .logo-icon { background: var(--navy); color: #fff; }

.logo-img-wrap {
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
}

.logo-img-wrap img { width: 40px; height: 40px; object-fit: contain; }

.logo-text .site-brand-name {
  display: block;
  margin: 0;
  color: #fff;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.logo-text p {
  margin: 2px 0 0;
  color: rgba(255,255,255,.72);
  font-size: 12px;
}

.site-header.scrolled .logo-text .site-brand-name,
.site-header:not(.header-transparent) .logo-text .site-brand-name { color: var(--navy); }
.site-header.scrolled .logo-text p,
.site-header:not(.header-transparent) .logo-text p { color: var(--muted); }

.main-nav {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0 8px;
}
.main-nav ul { display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; }
.main-nav a {
  display: block;
  white-space: nowrap;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,.9);
  font-size: 14px;
  font-weight: 600;
  transition: background-color .16s ease, color .16s ease;
}
.main-nav a:hover,
.main-nav a.active { background: rgba(255,255,255,.12); color: #fff; }
.site-header.scrolled .main-nav a,
.site-header:not(.header-transparent) .main-nav a { color: var(--ink); }
.site-header.scrolled .main-nav a:hover,
.site-header.scrolled .main-nav a.active,
.site-header:not(.header-transparent) .main-nav a:hover,
.site-header:not(.header-transparent) .main-nav a.active { background: rgba(23,32,51,.08); color: var(--navy); }

.mobile-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.1);
  color: #fff;
  cursor: pointer;
}

.site-header.scrolled .mobile-menu-btn,
.site-header:not(.header-transparent) .mobile-menu-btn {
  color: var(--navy);
  border-color: var(--line);
  background: #fff;
}

/* Hero */
.hero-section {
  position: relative;
  min-height: 680px;
  padding: 150px 0 82px;
  color: #fff;
  overflow: hidden;
  background: #121b31;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity .55s cubic-bezier(0.23, 1, 0.32, 1), transform 6s linear;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(13,22,40,.84), rgba(13,22,40,.52) 52%, rgba(13,22,40,.24));
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: end;
  gap: 48px;
  min-height: 450px;
}

.hero-copy { max-width: 690px; }
.hero-copy-track {
  position: relative;
  min-height: 224px;
}
.hero-copy-item {
  position: absolute;
  inset: 0 auto auto 0;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .28s ease, transform .28s ease;
}
.hero-copy-item.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.hero-copy .eyebrow {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 12px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.09);
  color: rgba(255,255,255,.92);
  font-size: 14px;
  font-weight: 650;
}
.hero-copy h1 { color: #fff; font-size: 54px; }
.hero-lead { max-width: 620px; color: rgba(255,255,255,.88); font-size: 19px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-dots {
  display: flex;
  gap: 8px;
  margin-top: 26px;
}
.hero-dots button {
  width: 38px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.34);
  cursor: pointer;
  transition: width .18s ease, background-color .18s ease;
}
.hero-dots button.active {
  width: 58px;
  background: #fff;
}

.hero-panel {
  padding: 24px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius);
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(16px);
  box-shadow: 0 22px 50px rgba(0,0,0,.18);
}
.hero-panel span { color: rgba(255,255,255,.72); font-size: 14px; }
.hero-panel strong { display: block; color: #fff; font-size: 34px; line-height: 1.1; margin: 8px 0 12px; }
.hero-panel p { color: rgba(255,255,255,.8); margin-bottom: 18px; }
.hero-panel a { color: #fff; font-weight: 800; font-size: 20px; }
.hero-mini-list {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.18);
}
.hero-mini-list small {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.82);
  font-size: 13px;
}
.hero-mini-list i { color: #f5d48b; }

.trust-strip {
  position: relative;
  z-index: 2;
  margin-top: -32px;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow);
}
.trust-item { background: var(--surface); padding: 24px; text-align: center; }
.trust-item strong { display: block; color: var(--navy); font-size: 28px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.trust-item span { display: block; margin-top: 6px; color: var(--muted); font-size: 14px; }

/* Layout + cards */
.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 500px);
  gap: 56px;
  align-items: center;
}

.image-card {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.image-card img,
.contact-photo img,
.article-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 26px; }

.service-grid,
.info-grid,
.news-grid,
.lawyer-grid {
  display: grid;
  gap: 22px;
}
.service-grid { grid-template-columns: repeat(3, 1fr); }
.info-grid { grid-template-columns: repeat(3, 1fr); }
.news-grid { grid-template-columns: repeat(3, 1fr); }
.lawyer-grid { grid-template-columns: repeat(4, 1fr); }
.process-grid { grid-template-columns: repeat(4, 1fr); }

.service-card,
.info-card,
.process-card,
.news-card,
.lawyer-card,
.article-card,
.side-card,
.profile-card,
.contact-panel,
.contact-form-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 1px 4px rgba(23,32,51,.04), 0 4px 12px rgba(23,32,51,.04);
}

.service-card,
.info-card {
  display: flex;
  min-height: 226px;
  flex-direction: column;
  padding: 28px;
  color: var(--ink);
  transition: transform .28s cubic-bezier(0.22,1,0.36,1), box-shadow .28s ease, border-color .28s ease;
}
.process-grid {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow-soft);
}
.process-card {
  min-height: 210px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(182,138,53,.08), rgba(255,255,255,0) 42%),
    var(--surface);
}
.process-card span {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--gold);
  font-size: 28px;
  line-height: 1;
  font-weight: 820;
  font-variant-numeric: tabular-nums;
}
.process-card p { margin: 0; }
.service-card:hover,
.info-card:hover,
.news-card:hover,
.lawyer-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-2);
  box-shadow: 0 8px 28px rgba(23,32,51,.09), 0 2px 8px rgba(111,81,26,.08);
}
.service-card.large { min-height: 200px; }
.card-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: var(--radius-sm);
  background: rgba(23,32,51,.08);
  color: var(--navy);
  font-size: 17px;
}
.service-card p,
.info-card p { margin-bottom: 18px; }
.service-card em {
  margin-top: auto;
  color: var(--gold);
  font-style: normal;
  font-weight: 700;
}

.lawyer-card {
  overflow: hidden;
  color: var(--ink);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.lawyer-card img { width: 100%; aspect-ratio: 4 / 4.7; object-fit: cover; object-position: top center; background: #e6e2da; }
.lawyer-card div { padding: 18px; }
.lawyer-card h3 { margin-bottom: 4px; color: var(--navy); }
.lawyer-card span { display: block; color: var(--gold); font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.lawyer-card p { margin: 0; font-size: 14px; }

.news-card {
  overflow: hidden;
  color: var(--ink);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.news-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #e6e2da; }
.news-body { padding: 18px; }
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 9px;
  border-radius: var(--radius-sm);
  background: rgba(31,122,92,.1);
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}
.news-body h3 { margin-top: 12px; }
.news-body small,
.article-meta,
.tag-list span { color: var(--muted); font-size: 13px; }

.team-preview {
  display: grid;
  grid-template-columns: minmax(360px, .92fr) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.72);
  box-shadow: var(--shadow-soft);
}
.team-preview-media {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-sm);
  aspect-ratio: 4 / 3;
  background: #e7e1d6;
}
.team-preview-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-preview-copy { padding: 10px 12px; }
.team-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.team-points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
}
.team-points i { color: var(--gold); }
.team-home-grid { margin-top: 24px; }

.cta-band {
  padding: 56px 0;
  background: linear-gradient(135deg, var(--navy) 0%, #0f1726 100%);
  color: #fff;
  border-top: 1px solid rgba(184, 144, 66, .15);
}
.cta-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.cta-band h2,
.cta-band p { color: #fff; }
.cta-band h2 { font-size: 28px; line-height: 1.3; margin-bottom: 8px; }
.cta-band p { opacity: .78; max-width: 640px; font-size: 15px; }
.cta-band .btn-primary { background: #fff; color: var(--navy); border-color: #fff; }
.cta-band .btn-primary:hover { background: var(--gold-soft); border-color: var(--gold-soft); }

/* Page banner */
.page-banner {
  padding: 132px 0 76px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(13,22,40,.92), rgba(23,32,51,.82)),
    url("/static/images/generated/hero-office-v3.jpg") center / cover;
}

.guide-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}
.guide-list div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.74);
}
.guide-list strong { color: var(--navy); }
.guide-list span { color: var(--ink-soft); }
.page-banner h1 { color: #fff; max-width: 860px; }
.page-banner p { max-width: 767px; color: rgba(255,255,255,.82); }

/* Filters and pagination */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.filter-bar a,
.pagination a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-soft);
  font-weight: 700;
}
.filter-bar a.active,
.filter-bar a:hover,
.pagination a.active,
.pagination a:hover {
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
}
.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 34px;
}

/* Articles */
.detail-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.detail-sidebar {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 96px;
}
.side-card { padding: 20px; }
.side-card.accent { background: var(--navy); color: #fff; }
.side-card.accent p { color: rgba(255,255,255,.86); font-size: 22px; font-weight: 800; }
.side-nav { display: grid; gap: 8px; }
.side-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
  font-weight: 700;
}
.side-nav a:hover,
.side-nav a.active { background: rgba(23,32,51,.08); color: var(--navy); }

.article-card {
  padding: 34px;
  overflow: hidden;
}
.article-cover {
  max-height: 520px;
  margin: -34px -34px 28px;
  width: calc(100% + 68px);
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  padding-bottom: 18px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.lead-text { font-size: 18px; color: var(--ink); }
.rich-content { color: var(--ink-soft); }
.rich-content p { margin-bottom: 14px; }
.rich-content h1,
.rich-content h2,
.rich-content h3 { color: var(--navy); margin-top: 24px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.tag-list span {
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  background: rgba(23,32,51,.08);
}
.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.article-nav a,
.back-link a { color: var(--navy); font-weight: 800; }
.back-link {
  width: min(900px, calc(100% - 40px));
  margin: 24px auto 0;
}

.profile-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.profile-card { padding: 20px; }
.profile-card img {
  width: 100%;
  aspect-ratio: 4 / 4.7;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
}
.profile-card h2 { margin-bottom: 4px; }
.profile-title { color: var(--gold); font-weight: 800; }

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(380px, 1fr);
  gap: 28px;
  align-items: stretch;
}

/* Home professional v2 — restrained legal editorial */
.home-professional .section { padding-top:72px; padding-bottom:72px; }
.home-professional .home-hero-v2,.home-professional .home-hero-v2 .taste-hero-inner { min-height:680px; }
.home-professional .home-hero-v2 .taste-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  max-width: 720px;
  padding: 34px 0 82px;
}
.home-professional .home-hero-v2 .hero-title {
  width: 100%;
  max-width: none;
  min-height: 3.3em;
  margin: 0;
  font-size: clamp(46px, 3.1vw, 58px);
  line-height: 1.1;
  letter-spacing: .015em;
  text-wrap: pretty;
}
.home-professional .home-hero-v2 .hero-lead {
  width: min(620px, 100%);
  min-height: 3.5em;
  margin: 18px 0 0;
  padding: 2px 0 2px 18px;
  border-left: 2px solid var(--gold-2);
  font-size: 18px;
  line-height: 1.75;
}
.home-professional .home-hero-v2 .hero-actions {
  align-items: center;
  margin-top: 26px;
}
.home-professional .hero-intake-card li { align-items:flex-start; }
.home-professional .hero-intake-card li div { display:grid; gap:3px; }
.home-professional .hero-intake-card li small { color:#7b8490; font-size:12px; font-weight:400; line-height:1.45; }
.hero-intake-mobile { display:none; }
.hero-carousel-controls { display:flex; align-items:center; gap:8px; margin-top:24px; }
.hero-carousel-controls>button,.hero-carousel-dots button { display:inline-grid; place-items:center; width:38px; height:38px; padding:0; border:1px solid rgba(255,255,255,.32); border-radius:50%; background:rgba(8,18,35,.28); color:#fff; cursor:pointer; }
.hero-carousel-dots { display:flex; align-items:center; gap:7px; padding:0 4px; }
.hero-carousel-dots button { width:24px; height:4px; border:0; border-radius:99px; background:rgba(255,255,255,.35); transition:width .2s ease,background-color .2s ease; }
.hero-carousel-dots button[aria-selected="true"] { width:42px; background:var(--gold-2); }
.hero-carousel-controls button:hover,.hero-carousel-controls button:focus-visible { border-color:var(--gold-2); color:var(--gold-2); outline:none; }
.home-professional .business-bento { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.home-professional .business-card,.home-professional .business-card.active { grid-column:auto; min-height:260px; transform:none; }
.home-professional .business-card:hover { transform:translateY(-3px); }
.home-professional .lawyer-home-section { padding-top:72px; padding-bottom:72px; }
.home-professional .lawyer-grid-featured { gap:16px; }
.home-professional .neutral-seat { background:#fff; }
.professional-seat-visual { display:grid; place-items:center; align-content:center; gap:18px; aspect-ratio:1/1.18; background:linear-gradient(135deg,rgba(184,134,31,.08),transparent 42%),linear-gradient(180deg,#13233f,#0c172c); color:#fff; }
.professional-seat-visual i { color:#d4ad58; font-size:52px; }
.professional-seat-visual span { color:rgba(255,255,255,.5); font-size:11px; letter-spacing:.22em; }
.home-professional .neutral-seat h3 { font-size:18px; }
.home-professional .neutral-seat p { min-height:66px; }
.home-professional .news-card .news-meta { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.home-professional .news-card .news-meta time { color:#8a9098; font-size:12px; }
.home-professional .news-card h3,.home-professional .news-card p { display:-webkit-box; overflow:hidden; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
.home-professional .home-inquiry-phone { display:grid; gap:5px; margin-top:22px; }
.home-professional .home-inquiry-phone span { display:block; }
.home-professional .home-inquiry-phone small { color:var(--muted); }
@media (min-width:1024px) {
  .home-professional .home-hero-v2 .hero-carousel-controls {
    position:absolute;
    left:50%;
    bottom:34px;
    z-index:4;
    margin:0;
    transform:translateX(-50%);
  }
}
@media (max-width:1020px) {
  .home-professional .business-bento { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .home-professional .business-card,.home-professional .business-card.active { min-height:220px; }
}
@media (max-width:767px) {
  .home-professional .section { padding-top:52px; padding-bottom:52px; }
  .home-professional .home-hero-v2 { min-height:auto; padding:92px 0 30px; }
  .home-professional .home-hero-v2 .taste-hero-inner { min-height:auto; gap:22px; }
  .home-professional .home-hero-v2 .taste-hero-copy {
    display:flex;
    max-width:none;
    padding:0;
  }
  .home-professional .home-hero-v2 .hero-title {
    min-height:0;
    font-size:clamp(31px,10vw,40px);
    line-height:1.16;
  }
  .home-professional .home-hero-v2 .hero-lead {
    min-height:0;
    margin-top:18px;
    font-size:16px;
  }
  .home-professional .home-hero-v2 .hero-actions { margin-top:24px; }
  .home-professional .hero-intake-desktop { display:none; }
  .hero-intake-mobile { display:block; width:100%; border:1px solid rgba(255,255,255,.26); border-radius:8px; background:rgba(10,21,40,.72); color:#fff; backdrop-filter:blur(10px); }
  .hero-intake-mobile summary { display:grid; grid-template-columns:22px 1fr 18px; align-items:center; gap:10px; min-height:54px; padding:10px 14px; list-style:none; font-weight:700; cursor:pointer; }
  .hero-intake-mobile summary::-webkit-details-marker { display:none; }
  .hero-intake-mobile[open] summary .fa-chevron-down { transform:rotate(180deg); }
  .hero-intake-mobile ol { display:grid; gap:10px; margin:0; padding:0 14px 16px; list-style:none; }
  .hero-intake-mobile li { display:grid; grid-template-columns:30px 1fr; gap:8px; color:rgba(255,255,255,.82); font-size:14px; }
  .hero-intake-mobile li span { color:var(--gold-2); font-weight:800; }
  .hero-carousel-controls {
    justify-content:center;
    width:100%;
    margin:18px auto 0;
    padding:0 16px;
  }
  .hero-carousel-controls>button { width:44px; height:44px; }
  .hero-carousel-dots button { width:18px; }
  .hero-carousel-dots button[aria-selected="true"] { width:30px; }
  .home-professional .business-bento { grid-template-columns:1fr; }
  .home-professional .business-card,.home-professional .business-card.active { min-height:0; }
  .professional-seat-visual { aspect-ratio:16/10; }
  .home-professional .neutral-seat p { min-height:0; }
}
.contact-panel,
.contact-form-card { padding: 22px; }
.contact-panel,
.contact-form-card {
  display: flex;
  flex-direction: column;
}
.contact-photo {
  margin: 0 0 20px;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 16 / 10;
}
.contact-list { display: grid; gap: 12px; }
.contact-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
}
.contact-item i {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: rgba(23,32,51,.08);
  color: var(--navy);
}
.contact-item strong { display: block; color: var(--navy); margin-bottom: 2px; }
.contact-item p { margin: 0; word-break: break-word; }
.map-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.map-actions .btn { flex: 1 1 118px; justify-content: center; }
.map-note { margin: 12px 0 0; color: var(--muted); font-size: 13px; }
.contact-prepare {
  margin-top: 22px;
  padding: 18px;
  border-radius: var(--radius-sm);
  background: var(--navy);
  color: #fff;
}
.contact-prepare-inline { margin-top: 22px; }
.contact-prepare h3 { color: #fff; margin-bottom: 12px; }
.contact-prepare ul { display: grid; gap: 8px; }
.contact-prepare li {
  display: flex;
  gap: 8px;
  color: rgba(255,255,255,.82);
  font-size: 14px;
}
.contact-prepare i { color: #f5d48b; margin-top: 5px; }
.contact-form-card h2 { margin-bottom: 6px; }
.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Forms */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}
.required { color: var(--danger); }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  padding: 12px 13px;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.form-group textarea { resize: vertical; }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(23,32,51,.12);
}
.privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 10px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.6;
}
.privacy-check input { margin-top: 5px; }
.privacy-check a { color: var(--navy); font-weight: 800; }
.privacy-note { margin: 0 0 16px; color: var(--muted); font-size: 13px; }
.alert {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
}
.alert-success { color: #0f5132; background: #e8f6ef; border: 1px solid rgba(31,122,92,.18); }
.alert-error { color: var(--danger); background: #fff0ee; border: 1px solid rgba(180,35,24,.2); }

/* Misc pages */
.search-section .search-form {
  display: flex;
  gap: 10px;
  max-width: 720px;
  margin-bottom: 28px;
}
.search-section input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}
.search-group { margin-bottom: 30px; }
.search-item {
  display: block;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  margin-bottom: 10px;
}
.empty-tip {
  padding: 34px;
  border-radius: var(--radius);
  border: 1px dashed rgba(23,32,51,.24);
  background: rgba(255,255,255,.7);
  text-align: center;
}
.rich-empty h2 { margin-bottom: 10px; }
.rich-empty .btn { margin-top: 8px; }

/* Footer — Brand-coordinated navy with gold accent */
.site-footer {
  padding: 64px 0 24px;
  background: linear-gradient(180deg, #0e1a32 0%, #0b1326 100%);
  color: rgba(255,255,255,.88);
  border-top: 4px solid var(--gold);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.footer-brand p {
  margin-top: 10px;
  line-height: 1.75;
}
.site-footer h3,
.site-footer h4 { color: #fff; margin-bottom: 16px; font-family: var(--font-serif); letter-spacing: -0.01em; }
.site-footer h3 { font-size: 22px; }
.site-footer h4 { font-size: 16px; font-weight: 700; }
.site-footer p,
.site-footer a { color: rgba(255,255,255,.68); font-size: 14px; line-height: 1.7; }
.site-footer li { margin-bottom: 6px; }
.site-footer a:hover { color: var(--gold-2); }
.footer-qrs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}
.footer-qrs figure {
  margin: 0;
  width: 82px;
}
.footer-qrs img {
  width: 82px;
  height: 82px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 2px solid rgba(255,255,255,.12);
}
.footer-qrs figcaption {
  margin-top: 6px;
  color: rgba(255,255,255,.62);
  font-size: 12px;
  text-align: center;
}
.footer-bottom {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: 13px;
  color: rgba(255,255,255,.52);
}
.footer-bottom p { color: inherit; }
.footer-partners {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.footer-partners-title {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 8px;
  color: var(--gold-2);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
}
.footer-partners-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.site-footer .footer-partners-list a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 4px;
  background: rgba(255,255,255,.055);
  color: rgba(255,255,255,.86);
  line-height: 1.4;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}
.site-footer .footer-partners-list a:hover,
.site-footer .footer-partners-list a:focus-visible {
  border-color: rgba(199,151,48,.72);
  background: rgba(199,151,48,.12);
  color: #fff;
}
.footer-partners-list i {
  color: rgba(255,255,255,.45);
  font-size: 10px;
}

.float-actions {
  position: fixed;
  right: 22px;
  bottom: 22px;
  display: grid;
  gap: 10px;
  z-index: 1001;
}
.float-btn {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}
.float-btn.primary { background: var(--navy); color: #fff; border-color: var(--navy); }
.float-btn.wechat { background: #07c160; color: #fff; border-color: #07c160; }
.float-btn.wechat:hover { background: #06ad56; }

/* 2026 front polish — refined layout & spacing */
.section { padding: 96px 0; }
.section + .section { padding-top: 0; }
.muted-section { background: linear-gradient(180deg, rgba(255,255,255,.72) 0%, rgba(255,255,255,.38) 100%); border-block: 1px solid var(--line); }
.section-header {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}
.section-header.compact { margin-bottom: 30px; }
.section-header.split-header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  text-align: left;
  margin-bottom: 38px;
}
.section-header.split-header > div { max-width: 767px; }
.section-heading-wide {
  max-width: 900px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-heading-wide p {
  font-size: var(--text-body-lg);
  color: var(--ink-soft);
  line-height: 1.75;
  margin-top: 12px;
}
.section-bridge { height: 0; }

.hero-editorial { min-height: 720px; }
.hero-editorial .hero-grid {
  grid-template-columns: minmax(0, 1fr) 370px;
  align-items: center;
}
.hero-editorial .hero-shade {
  background:
    linear-gradient(90deg, rgba(9,16,30,.9), rgba(9,16,30,.66) 47%, rgba(9,16,30,.28)),
    linear-gradient(180deg, rgba(9,16,30,.18), rgba(9,16,30,.42));
}
.hero-editorial .hero-copy h1 {
  max-width: 767px;
  font-size: 58px;
  line-height: 1.08;
}
.hero-editorial .hero-lead {
  font-size: 20px;
  line-height: 1.75;
}
.hero-contact-card {
  padding: 26px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: var(--radius);
  background: rgba(255,255,255,.14);
  color: #fff;
  box-shadow: 0 22px 60px rgba(0,0,0,.2);
  backdrop-filter: blur(18px);
}
.hero-contact-card span {
  color: #f5d48b;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}
.hero-contact-card h2 {
  color: #fff;
  margin: 10px 0 18px;
  font-size: 27px;
}
.hero-contact-card ul {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}
.hero-contact-card li {
  display: flex;
  gap: 10px;
  color: rgba(255,255,255,.86);
  font-size: 14px;
}
.hero-contact-card i { color: #f5d48b; margin-top: 6px; }
.hero-contact-meta {
  display: grid;
  gap: 4px;
  margin: 20px 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.18);
}
.hero-contact-meta a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: #fff;
  font-size: 20px;
  font-weight: 820;
}
.hero-contact-meta small { color: rgba(255,255,255,.72); }

.intro-editorial .image-card { aspect-ratio: 16 / 10; }
.service-grid-refined .service-card {
  min-height: 250px;
  background:
    linear-gradient(180deg, rgba(23,32,51,.035), rgba(255,255,255,0) 54%),
    var(--surface);
}
.service-grid-refined .service-card:nth-child(1) {
  border-color: rgba(182,138,53,.28);
  box-shadow: 0 18px 46px rgba(23,32,51,.09);
}

.lawyer-home-section .section-header {
  margin-bottom: 32px;
}

.lawyer-home-section .section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  margin-top: 16px;
  background: var(--gold);
  border-radius: 2px;
}

.lawyer-grid-featured { gap: 20px; }
.lawyer-card-pro {
  min-height: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(23,32,51,.03);
  transition: transform .32s cubic-bezier(0.22,1,0.36,1), box-shadow .32s ease, border-color .32s ease;
}

.lawyer-card-pro:hover {
  box-shadow: 0 8px 28px rgba(23,32,51,.09), 0 2px 8px rgba(111,81,26,.06);
  transform: translateY(-6px);
  border-color: var(--gold-2);
}
.lawyer-card-pro img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  filter: saturate(.96) contrast(1.02);
  transition: transform .7s ease;
}
.lawyer-card-pro:hover img { transform: scale(1.04); }
.lawyer-card-pro div { padding: 22px; }
.lawyer-card-pro small {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.lawyer-card-pro h3 { font-size: 20px; margin: 4px 0 6px; }
.lawyer-card-pro span { color: var(--muted); font-size: 14px; font-weight: 600; }
.lawyer-card-pro p {
  min-height: 48px;
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.65;
}
.lawyer-card-pro em {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--navy);
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  transition: gap .22s ease;
}
.lawyer-card-pro:hover em { gap: 12px; }
.lawyer-card-pro em i,
.business-card em i { transition: transform .22s ease; }
.lawyer-card-pro:hover em i,
.business-card:hover em i { transform: translateX(4px); }
.lawyer-card-pro.is-placeholder img { filter: saturate(.82) contrast(.96); }
.lawyer-card-pro.is-placeholder h3 { color: var(--ink-soft); }

.news-feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 24px;
}
.news-feature-card,
.news-list-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.news-feature-card:hover,
.news-list-card:hover {
  transform: translateY(-3px);
  border-color: rgba(23,32,51,.26);
  box-shadow: var(--shadow);
}
.news-feature-card {
  display: grid;
  grid-template-columns: minmax(0, .98fr) minmax(0, 1fr);
  overflow: hidden;
}
.news-feature-card img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}
.news-feature-card > div { padding: 30px; }
.news-feature-card h2,
.news-feature-card h3 {
  margin-top: 16px;
  color: var(--navy);
  font-size: 28px;
}
.news-feature-card p { font-size: 16px; }
.news-side-list {
  display: grid;
  gap: 14px;
}
.news-list-card { padding: 20px; }
.news-list-card h3 {
  margin-top: 10px;
  color: var(--navy);
}
.news-list-feature { margin-bottom: 28px; }
.news-grid-list { margin-top: 0; }
.filter-bar-pro {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.72);
  box-shadow: var(--shadow-soft);
}

.team-banner,
.news-banner,
.practice-banner {
  background:
    linear-gradient(90deg, rgba(13,22,40,.92), rgba(23,32,51,.75)),
    url("/static/images/generated/hero-office-v3.jpg") center / cover;
}
.news-banner {
  background:
    linear-gradient(90deg, rgba(13,22,40,.92), rgba(23,32,51,.75)),
    url("/static/images/generated/news-research-v3.jpg") center / cover;
}
.practice-banner {
  background:
    linear-gradient(90deg, rgba(13,22,40,.92), rgba(23,32,51,.75)),
    url("/static/images/generated/consultation-materials-v3.jpg") center / cover;
}

.article-layout-pro {
  display: grid;
  grid-template-columns: minmax(0, 820px) 300px;
  gap: 28px;
  align-items: start;
}
.article-side-cta {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 96px;
}
.article-card-pro {
  padding: 38px;
}
.article-card-pro .article-cover {
  margin: 8px 0 28px;
  width: 100%;
  max-height: 500px;
  border-radius: var(--radius-sm);
}
.article-card-pro .rich-content {
  font-size: 17px;
  line-height: 1.9;
}
.back-link.compact {
  width: auto;
  margin: 0;
}
.side-check-list {
  display: grid;
  gap: 10px;
}
.side-check-list li {
  display: flex;
  gap: 8px;
  color: var(--ink-soft);
}
.side-check-list i { color: var(--gold); margin-top: 6px; }

.profile-layout-pro {
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 36px;
}
.profile-card-pro {
  position: sticky;
  top: 96px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 1px 4px rgba(23,32,51,.04);
  overflow: hidden;
}
.profile-card-pro img {
  width: 100%;
  aspect-ratio: 3/3.6;
  object-fit: cover;
  background: var(--gray-100);
}
.profile-card-pro > :not(img, .profile-tags, .btn-full) {
  padding: 0 24px;
}
.profile-card-pro h2 {
  margin: 22px 0 4px;
  font-size: 26px;
  color: var(--navy);
}
.profile-card-pro .profile-title {
  color: var(--gold);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 4px;
}
.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 24px 18px;
}
.profile-tags span {
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--gold-soft);
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
}
.profile-contact-list {
  display: grid;
  gap: 8px;
  margin: 16px 0 20px;
  padding: 0 24px;
}
.profile-contact-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 14px;
  word-break: break-word;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: var(--gray-50);
  transition: background .2s ease;
}
.profile-contact-list a:hover {
  background: var(--gold-soft);
  color: var(--navy);
}
.profile-contact-list i { color: var(--gold); width: 16px; text-align: center; }
.profile-card-pro .btn-full {
  margin: 0 24px 24px;
  display: flex;
  width: calc(100% - 48px);
}
.profile-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  margin-bottom: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--line);
}
.profile-facts div {
  padding: 24px;
  background: var(--surface-soft);
}
.profile-facts span {
  display: block;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 10px;
}
.profile-facts strong {
  display: block;
  color: var(--navy);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 600;
}

.profile-article h2 {
  font-size: 28px;
  margin-bottom: 18px;
  color: var(--navy);
}
.profile-article .lead-text {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.85;
}

.detail-callout {
  margin-top: 36px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: #fff;
}
.detail-callout h3,
.detail-callout p { color: #fff; }
.detail-callout p { opacity: .82; margin-bottom: 0; }
.detail-callout ul {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}
.detail-callout li {
  display: flex;
  gap: 10px;
  color: rgba(255,255,255,.82);
  font-size: 15px;
  line-height: 1.65;
}
.detail-callout i { color: #f5d48b; margin-top: 5px; min-width: 16px; }

.practice-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  margin: 28px 0 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}
.practice-quick-grid div {
  padding: 20px;
  background: var(--surface-soft);
}
.practice-quick-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 820;
}
.practice-quick-grid p { margin: 0; font-size: 14px; }
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

@media (max-width: 1023px) {
  .hero-grid,
  .hero-editorial .hero-grid,
  .split-layout,
  .contact-layout,
  .detail-layout,
  .detail-layout-pro,
  .article-layout-pro,
  .profile-layout {
    grid-template-columns: 1fr;
  }
  .hero-panel,
  .detail-sidebar,
  .article-side-cta,
  .profile-card-pro { position: static; }
  .service-grid,
  .info-grid,
  .news-grid,
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .lawyer-grid { grid-template-columns: repeat(2, 1fr); }
  .news-feature-layout,
  .news-feature-card,
  .profile-facts,
  .practice-quick-grid { grid-template-columns: 1fr; }
  .team-preview { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .container,
  .narrow,
  .back-link { width: min(100% - 28px, var(--container)); }
  .section { padding: 58px 0; }
  h1 { font-size: 34px; }
  h2 { font-size: 26px; }
  .site-header .container { min-height: 64px; }
  .logo-text .site-brand-name { font-size: 17px; }
  .logo-text p { display: none; }
  .mobile-menu-btn { display: grid; place-items: center; }
  .main-nav {
    position: fixed;
    top: 64px;
    left: 14px;
    right: 14px;
    display: none;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255,255,255,.98);
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: block; }
  .main-nav ul { display: grid; gap: 4px; }
  .main-nav a,
  .site-header .main-nav a { color: var(--ink); }
  .main-nav a:hover,
  .main-nav a.active { color: var(--navy); background: rgba(23,32,51,.08); }
  .hero-section { min-height: auto; padding: 124px 0 64px; }
  .hero-grid { min-height: auto; gap: 28px; }
  .hero-copy-track { min-height: 260px; }
  .hero-copy h1 { font-size: 38px; }
  .hero-editorial .hero-copy h1 { font-size: 38px; }
  .hero-lead { font-size: 17px; }
  .hero-contact-card { padding: 20px; }
  .trust-strip { margin-top: 0; }
  .trust-grid,
  .service-grid,
  .info-grid,
  .news-grid,
  .process-grid,
  .lawyer-grid,
  .footer-grid,
  .form-row { grid-template-columns: 1fr; }
  .footer-partners { display: block; }
  .footer-partners-list { margin-top: 14px; }
  .team-preview { padding: 12px; }
  .team-preview-copy { padding: 6px; }
  .section-header.split-header { display: block; }
  .section-header.split-header .btn { margin-top: 12px; }
  .news-feature-layout,
  .news-feature-card,
  .profile-facts,
  .practice-quick-grid,
  .article-layout-pro { grid-template-columns: 1fr; }
  .news-feature-card img { min-height: 220px; }
  .news-feature-card > div { padding: 22px; }
  .article-card-pro { padding: 22px; }
  .article-card-pro .article-cover { margin: 4px 0 22px; }
  .guide-list div { grid-template-columns: 1fr; gap: 4px; }
  .trust-item { padding: 18px; }
  .page-banner { padding: 108px 0 54px; }
  .article-card { padding: 22px; }
  .article-cover { margin: -22px -22px 22px; width: calc(100% + 44px); }
  .article-nav,
  .cta-grid { flex-direction: column; align-items: flex-start; }
  .float-actions { right: 14px; bottom: 14px; }
}

/* Design taste pass: quieter hierarchy, stronger editorial rhythm */
:root {
  --paper: #f7f5f0;
  --surface-soft: #fbfaf7;
  --ink: #142033;
  --ink-soft: #425066;
  --line: rgba(23,32,51,.095);
  --shadow: 0 18px 44px rgba(23,32,51,.075);
  --shadow-soft: 0 1px 2px rgba(23,32,51,.045), 0 10px 26px rgba(23,32,51,.055);
}

body::before { display: none; }
body { background: linear-gradient(180deg, #f8f6f1 0%, #f7f5f0 44%, #f2efe7 100%); }

h1 { font-size: clamp(38px, 5vw, 64px); line-height: 1.06; }
h2 { font-size: clamp(28px, 3vw, 38px); line-height: 1.14; }
h3 { line-height: 1.28; }
p { text-wrap: pretty; }

.section { padding: 108px 0; }
.section-header { margin-bottom: 42px; }
.section-kicker {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: .08em;
}
.muted-section {
  border-block: 0;
  background: rgba(255,255,255,.42);
}

.btn {
  min-height: 46px;
  padding-inline: 20px;
  box-shadow: none;
}
.btn-primary {
  background: #14264f;
  border-color: #14264f;
  box-shadow: 0 12px 24px rgba(23,32,51,.14);
}
.btn-primary:hover { background: #203d70; }
.btn-secondary,
.btn-outline {
  background: rgba(255,255,255,.86);
  border-color: rgba(23,32,51,.14);
}

.site-header.scrolled,
.site-header:not(.header-transparent) {
  background: rgba(250,249,245,.94);
  box-shadow: 0 1px 0 rgba(23,32,51,.08), 0 12px 30px rgba(23,32,51,.055);
}
.main-nav a {
  min-height: 38px;
  display: flex;
  align-items: center;
}

.hero-editorial {
  min-height: 710px;
  padding: 152px 0 92px;
}
.hero-editorial .hero-slide {
  background-position: center;
  filter: saturate(.96) contrast(1.04);
}
.hero-editorial .hero-shade {
  background:
    linear-gradient(90deg, rgba(8,14,27,.92), rgba(8,14,27,.72) 42%, rgba(8,14,27,.18)),
    linear-gradient(180deg, rgba(8,14,27,.12), rgba(8,14,27,.44));
}
.hero-editorial .hero-grid {
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 64px;
}
.hero-copy .eyebrow {
  border-color: rgba(255,255,255,.24);
  background: rgba(255,255,255,.08);
}
.hero-editorial .hero-copy h1 {
  max-width: 820px;
  letter-spacing: 0;
}
.hero-editorial .hero-lead {
  max-width: 660px;
  color: rgba(255,255,255,.86);
}
.hero-contact-card {
  border: 1px solid rgba(255,255,255,.9);
  background: rgba(255,255,255,.93);
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(0,0,0,.22);
  backdrop-filter: blur(14px);
}
.hero-contact-card span { color: var(--gold); }
.hero-contact-card h2 { color: var(--navy); }
.hero-contact-card li { color: var(--ink-soft); }
.hero-contact-card i { color: var(--gold); }
.hero-contact-meta { border-top-color: rgba(23,32,51,.1); }
.hero-contact-meta a { color: var(--navy); }
.hero-contact-meta small { color: var(--muted); }
.hero-dots button { height: 3px; background: rgba(255,255,255,.3); }

.trust-strip { margin-top: -44px; }
.trust-grid {
  gap: 0;
  border-color: rgba(23,32,51,.08);
  box-shadow: 0 18px 42px rgba(23,32,51,.09);
}
.trust-item {
  position: relative;
  padding: 26px 22px;
}
.trust-item + .trust-item { border-left: 1px solid rgba(23,32,51,.08); }
.trust-item strong { font-size: 30px; }

.service-card,
.info-card,
.process-card,
.news-card,
.lawyer-card,
.article-card,
.side-card,
.profile-card,
.contact-panel,
.contact-form-card,
.team-preview,
.news-feature-card,
.news-list-card {
  border-color: rgba(23,32,51,.09);
  box-shadow: 0 1px 0 rgba(23,32,51,.035), 0 12px 30px rgba(23,32,51,.045);
}
.service-card,
.info-card {
  padding: 28px;
  min-height: 238px;
}
.service-card:hover,
.info-card:hover,
.news-card:hover,
.lawyer-card:hover,
.news-feature-card:hover,
.news-list-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(23,32,51,.04), 0 18px 42px rgba(23,32,51,.075);
}
.card-icon {
  background: #f1eee6;
  color: #14264f;
}
.process-grid {
  gap: 0;
  box-shadow: 0 1px 0 rgba(23,32,51,.035), 0 12px 30px rgba(23,32,51,.045);
}
.process-card {
  border: 0;
  border-radius: 0;
}
.process-card + .process-card { border-left: 1px solid rgba(23,32,51,.09); }

.image-card,
.team-preview-media,
.contact-photo {
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.3);
}
.image-card img,
.team-preview-media img,
.contact-photo img,
.news-card img,
.news-feature-card img,
.article-cover {
  filter: saturate(.94) contrast(1.03);
}

.lawyer-card-pro img { aspect-ratio: 1 / 1.18; object-position: top center; }
.lawyer-card-pro div { padding: 22px; }
.lawyer-card-pro small { letter-spacing: .08em; }
.lawyer-card-pro p { min-height: 58px; }

.news-feature-card {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
}
.news-feature-card > div { padding: 34px; }
.news-list-card { padding: 22px; }

.page-banner {
  padding: 144px 0 82px;
}
.page-banner h1 { font-size: clamp(38px, 4vw, 56px); }
.page-banner p { font-size: 18px; }

.article-card-pro,
.practice-article,
.profile-article {
  max-width: 880px;
}
.article-card-pro .article-cover {
  aspect-ratio: 16 / 9;
}
.rich-content {
  line-height: 1.88;
}
.detail-callout,
.contact-prepare {
  background: #14264f;
}

.contact-panel,
.contact-form-card {
  padding: 28px;
}
.contact-item {
  background: #fbfaf7;
  border-color: rgba(23,32,51,.085);
}
.form-group input,
.form-group textarea,
.form-group select {
  background: #fbfaf7;
}

@media (max-width: 1023px) {
  .hero-editorial .hero-grid { gap: 34px; }
  .process-card + .process-card { border-left: 0; border-top: 1px solid rgba(23,32,51,.09); }
}

@media (max-width: 767px) {
  .section { padding: 68px 0; }
  .hero-editorial { padding: 118px 0 58px; }
  .hero-copy-track { min-height: 238px; }
  .hero-contact-card { margin-top: 8px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item + .trust-item { border-left: 0; }
  .trust-item:nth-child(even) { border-left: 1px solid rgba(23,32,51,.08); }
  .trust-item:nth-child(n+3) { border-top: 1px solid rgba(23,32,51,.08); }
  .news-feature-card > div,
  .contact-panel,
  .contact-form-card { padding: 20px; }
  .lawyer-card-pro p { min-height: 0; }
}

/* GSAP home pass: cinematic legal editorial */
html,
body,
main {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.taste-hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: center;
  padding: 138px 0 92px;
  color: #fff;
  isolation: isolate;
  background: #101827;
}

.taste-hero-bg,
.taste-hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.taste-hero-bg {
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  filter: saturate(.9) contrast(1.08);
  transform-origin: center;
  opacity: 1;
  transition: opacity 0.6s ease;
}

.taste-hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 14, 27, .92) 0%, rgba(8, 14, 27, .74) 42%, rgba(8, 14, 27, .28) 100%),
    linear-gradient(180deg, rgba(8, 14, 27, .26) 0%, rgba(8, 14, 27, .58) 100%);
}

.taste-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  align-items: start;
  gap: 64px;
  padding-top: 40px;
}

.taste-hero-copy {
  max-width: 980px;
}

.hero-title {
  max-width: 550px;
  margin: 0;
  color: #fff;
  font-size: 72px;
  line-height: 1.04;
  letter-spacing: 0;
  font-weight: 900;
  text-wrap: balance;
  word-break: normal;
  overflow-wrap: anywhere;
  writing-mode: horizontal-tb;
}

.inline-title-image {
  display: inline-block;
  width: 120px;
  height: 46px;
  margin-left: 12px;
  border-radius: 8px;
  vertical-align: middle;
  background: url('/static/images/generated/consultation-materials-v3.jpg') center / cover;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .36);
  filter: saturate(.9) contrast(1.05);
}

.taste-hero .hero-lead {
  max-width: 680px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, .86);
  font-size: 19px;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.taste-hero .btn {
  min-width: 132px;
  justify-content: center;
  border-radius: 6px;
}

.taste-hero .btn-outline.light {
  color: #fff;
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .42);
}

.taste-hero .btn-outline.light:hover {
  color: var(--navy);
  background: #fff;
  border-color: #fff;
}

.hero-intake-card {
  padding: 30px;
  border-radius: 8px;
  background: rgba(250, 249, 245, .94);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, .78);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .24);
  backdrop-filter: blur(16px);
}

.hero-intake-card h2 {
  margin: 0 0 22px;
  color: var(--navy);
  font-size: 28px;
  line-height: 1.2;
}

.hero-intake-card ol {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-intake-card li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: center;
  color: var(--ink-soft);
  line-height: 1.55;
}

.hero-intake-card li span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: var(--gold);
  background: #f1eee6;
  font-weight: 800;
}

.hero-phone-row {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(23, 32, 51, .12);
}

.hero-phone-row a {
  display: block;
  color: var(--navy);
  font-size: 26px;
  font-weight: 900;
}

.hero-phone-row small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.section-heading-wide h2 {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: 42px;
  line-height: 1.18;
  letter-spacing: 0;
}

.section-heading-wide h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  margin: 16px auto 0;
  background: var(--gold);
  border-radius: 2px;
}

.section-heading-wide p {
  max-width: 720px;
  margin: 18px auto 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.9;
}

.intake-bento-section {
  background: linear-gradient(180deg, #f8f6f1 0%, #fbfaf7 100%);
}

.intake-bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(23, 32, 51, .1);
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  background: #fff;
  box-shadow: 0 24px 62px rgba(23, 32, 51, .07);
}

.intake-card {
  grid-column: span 3;
  min-height: 210px;
  padding: 28px;
  text-align: left;
  color: var(--ink);
  background: #fff;
  border: 0;
  border-right: 1px solid rgba(23, 32, 51, .08);
  border-bottom: 1px solid rgba(23, 32, 51, .08);
  cursor: pointer;
  transition: transform .28s ease, background .28s ease, color .28s ease;
}

.intake-card i {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 24px;
  border-radius: 8px;
  color: var(--navy);
  background: #f1eee6;
  font-size: 18px;
}

.intake-card strong,
.intake-card span {
  display: block;
}

.intake-card strong {
  color: var(--navy);
  font-size: 21px;
  line-height: 1.28;
}

.intake-card span {
  margin-top: 12px;
  color: var(--ink-soft);
  line-height: 1.72;
}

.intake-card:hover,
.intake-card.active {
  transform: translateY(-2px);
  background: #14264f;
  color: #fff;
}

.intake-card:hover i,
.intake-card.active i {
  color: #14264f;
  background: #fff;
}

.intake-card:hover strong,
.intake-card:hover span,
.intake-card.active strong,
.intake-card.active span {
  color: #fff;
}

.intake-detail {
  margin-top: 0;
  min-height: 228px;
  padding: 34px;
  border-radius: 0 0 8px 8px;
  background:
    linear-gradient(135deg, rgba(20, 38, 79, .96), rgba(16, 24, 39, .98)),
    url('/static/images/generated/news-research-v3.jpg') center / cover;
  color: #fff;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.intake-detail-panel {
  display: none;
  max-width: 860px;
}

.intake-detail-panel.active {
  display: block;
}

.intake-detail-panel span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

.intake-detail-panel p {
  margin: 16px 0 22px;
  color: rgba(255, 255, 255, .9);
  font-size: 22px;
  line-height: 1.72;
}

.intake-detail-panel .text-link,
.taste-cta .text-link {
  color: #fff;
}

.consultation-story {
  background: #101827;
  color: #fff;
}

.consultation-story-grid {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1fr);
  gap: 70px;
  align-items: start;
}

.story-copy {
  top: 112px;
  padding: 36px 0;
}

.story-copy h2 {
  margin: 0;
  color: #fff;
  font-size: 44px;
  line-height: 1.16;
}

.story-copy p {
  max-width: 520px;
  margin: 22px 0 28px;
  color: rgba(255, 255, 255, .76);
  font-size: 18px;
  line-height: 1.9;
}

.story-stack {
  display: grid;
  gap: 22px;
}

.story-card {
  min-height: 232px;
  padding: 34px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .13);
  background: rgba(255, 255, 255, .06);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .2);
  transform: translateZ(0);
}

.story-card span {
  color: var(--gold);
  font-size: 34px;
  font-weight: 900;
}

.story-card h3 {
  margin: 22px 0 12px;
  color: #fff;
  font-size: 28px;
}

.story-card p {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  line-height: 1.85;
}

.business-bento-section {
  background: #fff;
}

.business-bento {
  display: flex;
  overflow: hidden;
  border: 1px solid rgba(23, 32, 51, .1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 48px rgba(23, 32, 51, .06);
}

.business-card {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 170px;
  padding: 20px 22px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  margin: 5px;
  box-shadow: 0 1px 4px rgba(23,32,51,.03);
  transition: flex-basis .42s ease, background .32s ease, color .32s ease, box-shadow .32s ease, transform .32s ease, border-color .32s ease;
}

.business-card.active {
  flex-basis: 28%;
  color: #fff;
  background:
    linear-gradient(155deg, #1a3360 0%, #101e3a 60%, #0d1526 100%);
  border-color: transparent;
  box-shadow: 0 8px 32px rgba(23,32,51,.18);
}

.business-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-2);
  box-shadow: 0 8px 28px rgba(23,32,51,.08), 0 2px 8px rgba(111,81,26,.06);
}

.business-card.active:hover {
  transform: translateY(-4px);
  border-color: rgba(184,144,66,.48);
  box-shadow: 0 12px 40px rgba(23,32,51,.24);
}

.business-image-card {
  grid-column: span 4;
  grid-row: span 2;
  min-height: 446px;
  margin: 0;
  padding: 0;
  background: #111a2b;
  border-right: 1px solid rgba(23, 32, 51, .08);
  border-bottom: 1px solid rgba(23, 32, 51, .08);
  overflow: hidden;
}

.business-image-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.9) contrast(1.04);
  transition: transform .7s ease;
}

.business-card i {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: var(--radius);
  color: var(--navy);
  background: var(--gold-soft);
  font-size: 16px;
}

.business-card.active i {
  color: #f0d39b;
  background: rgba(255,255,255,.1);
}

.business-card h3 {
  margin: 0;
  color: inherit;
  font-size: 18px;
  line-height: 1.25;
}

.business-card p {
  margin: 8px 0 0;
  color: var(--ink-soft);
  line-height: 1.65;
  font-size: 13px;
}

.business-card.active p {
  color: rgba(255,255,255,.72);
  font-size: 15px;
}

.business-card em {
  margin-top: auto;
  padding-top: 16px;
  color: var(--gold);
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
}
.news-feature-card:hover h3,
.news-list-card:hover h3,
.lawyer-card-pro:hover em i {
  transform: translateX(4px);
}

.business-image-card:hover img {
  transform: scale(1.05);
}

.lawyer-home-section {
  background: #fbfaf7;
}

.split-header.no-cheap-label {
  align-items: end;
  gap: 24px;
}

.lawyer-card-pro em i,
.business-card em i,
.news-feature-card h3,
.news-list-card h3 {
  transition: transform .28s ease, color .28s ease;
}

.news-feature-card:hover h3,
.news-list-card:hover h3 { color: var(--navy-3); }

.method-accordion-section {
  background: #f4f1ea;
}

.method-accordion {
  display: flex;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid rgba(23, 32, 51, .1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 62px rgba(23, 32, 51, .07);
}

.method-panel {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
  padding: 30px;
  border-right: 1px solid rgba(23, 32, 51, .08);
  background: #fff;
  transition: flex-basis .42s ease, background .32s ease, color .32s ease;
}

.method-panel:last-child {
  border-right: 0;
}

.method-panel.active {
  flex-basis: 42%;
  color: #fff;
  background:
    linear-gradient(160deg, rgba(20, 38, 79, .97), rgba(16, 24, 39, .96)),
    url('/static/images/generated/hero-office-v3.jpg') center / cover;
}

.method-panel span {
  color: var(--gold);
  font-size: 34px;
  font-weight: 900;
}

.method-panel h3 {
  margin: 22px 0 12px;
  color: inherit;
  font-size: 26px;
}

.method-panel p {
  max-width: 440px;
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.82;
}

.method-panel em {
  margin-top: auto;
  padding-top: 20px;
  color: var(--gold);
  font-style: normal;
  font-weight: 800;
  font-size: 15px;
}

.method-panel em i {
  transition: transform .28s ease;
}

.method-panel:hover em i {
  transform: translateX(4px);
}

.method-panel.active em {
  color: var(--gold);
}

.method-panel.active p {
  color: rgba(255, 255, 255, .82);
}

.news-home-section {
  background: #fff;
  color: var(--ink);
}

.news-home-section .section-header h2,
.news-home-section .section-header p {
  color: var(--navy);
}

.news-home-section .section-header p {
  color: var(--ink-soft);
}

.news-home-section .btn-secondary {
  color: var(--navy);
  background: transparent;
  border-color: var(--navy);
}

.editorial-news-stack {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, .82fr);
  gap: 18px;
}

.editorial-news-stack .news-feature-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(23, 32, 51, .08);
  box-shadow: 0 4px 16px rgba(23, 32, 51, .06);
}

.editorial-news-stack .news-feature-card img {
  width: 100%;
  aspect-ratio: 16 / 8.4;
  object-fit: cover;
  transition: transform .7s ease;
}

.editorial-news-stack .news-feature-card > div {
  padding: 34px;
}

.editorial-news-stack .news-feature-card h3,
.editorial-news-stack .news-list-card h3 {
  color: var(--navy);
}

.editorial-news-stack .news-feature-card p,
.editorial-news-stack .news-list-card p,
.editorial-news-stack .news-feature-card small,
.editorial-news-stack .news-list-card small {
  color: var(--ink-soft);
}

.editorial-news-stack .news-feature-card:hover img {
  transform: scale(1.04);
}

.news-side-list {
  display: grid;
  gap: 14px;
}

.editorial-news-stack .news-list-card {
  display: block;
  min-height: 168px;
  padding: 26px;
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(23, 32, 51, .08);
  box-shadow: 0 4px 16px rgba(23, 32, 51, .06);
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 6px;
  color: #fff;
  background: rgba(184, 132, 42, .92);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.taste-cta {
  padding: 70px 0;
  color: #fff;
  background:
    linear-gradient(135deg, #14264f 0%, #101827 100%);
}

.taste-cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, .7fr) auto;
  gap: 36px;
  align-items: center;
}

.taste-cta h2 {
  margin: 0;
  color: #fff;
  font-size: 42px;
  line-height: 1.18;
}

.taste-cta p {
  max-width: 640px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, .76);
  line-height: 1.85;
}

.taste-cta ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.taste-cta li {
  position: relative;
  padding-left: 18px;
  color: rgba(255, 255, 255, .86);
}

.taste-cta li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .74em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.taste-cta-actions {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.taste-cta .btn-primary {
  color: var(--navy);
  background: #fff;
  border-color: #fff;
  box-shadow: none;
}

.taste-cta .btn-primary:hover {
  background: #f1eee6;
}

@media (max-width: 1100px) {
  .hero-title {
    font-size: 58px;
  }

  .taste-hero-inner {
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 38px;
  }

  .lawyer-grid-featured {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1023px) {
  .taste-hero {
    min-height: auto;
    padding: 118px 0 64px;
  }

  .taste-hero-inner,
  .consultation-story-grid,
  .editorial-news-stack,
  .taste-cta-grid {
    grid-template-columns: 1fr;
  }

  .taste-hero-copy,
  .hero-title,
  .taste-hero .hero-lead {
    max-width: 100%;
  }

  .hero-intake-card {
    max-width: 560px;
  }

  .story-copy {
    position: static;
    padding: 0;
  }

  .method-accordion {
    display: grid;
    min-height: 0;
  }

  .method-panel,
  .method-panel.active {
    flex-basis: auto;
    min-height: 190px;
  }

  .business-bento {
    flex-wrap: wrap;
  }

  .business-card {
    flex: 1 1 50%;
    min-height: 160px;
    padding: 18px;
  }

  .business-card.active {
    flex-basis: 50%;
  }
}

@media (max-width: 767px) {
  .taste-hero {
    padding: 104px 0 54px;
  }

  .taste-hero-shade {
    background:
      linear-gradient(180deg, rgba(8, 14, 27, .88) 0%, rgba(8, 14, 27, .72) 52%, rgba(8, 14, 27, .9) 100%);
  }

  .taste-hero-inner {
    gap: 26px;
  }

  .hero-title {
    font-size: 38px;
    line-height: 1.12;
    text-wrap: balance;
    overflow-wrap: break-word;
  }

  .inline-title-image {
    width: 78px;
    height: 32px;
    margin-left: 6px;
  }

  .taste-hero .hero-lead {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.72;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .taste-hero .btn {
    flex: 1 1 150px;
    min-width: 0;
  }

  .hero-intake-card {
    padding: 22px;
  }

  .hero-intake-card h2 {
    font-size: 24px;
  }

  .hero-phone-row a {
    font-size: 22px;
  }

  .section-heading-wide {
    text-align: left;
    margin-bottom: 28px;
  }

  .section-heading-wide h2,
  .story-copy h2,
  .taste-cta h2 {
    font-size: 30px;
  }

  .section-heading-wide p,
  .story-copy p {
    font-size: 16px;
  }

  .intake-bento {
    display: grid;
    border-radius: 8px 8px 0 0;
  }

  .intake-card {
    grid-column: 1 / -1;
    min-height: 0;
    padding: 22px;
    border-right: 0;
  }

  .intake-card i {
    margin-bottom: 16px;
  }

  .intake-detail {
    padding: 24px;
  }

  .intake-detail-panel p {
    font-size: 17px;
  }

  .consultation-story-grid {
    gap: 34px;
  }

  .story-card {
    min-height: 0;
    padding: 24px;
  }

  .business-bento {
    flex-direction: column;
  }

  .business-card {
    flex: 1 1 auto;
    min-height: 140px;
    padding: 16px 18px;
  }

  .business-card.active {
    flex-basis: auto;
  }

  .lawyer-grid-featured {
    grid-template-columns: 1fr;
  }

  .split-header.no-cheap-label {
    align-items: flex-start;
  }

  .method-panel,
  .method-panel.active {
    padding: 24px;
  }

  .editorial-news-stack .news-feature-card > div,
  .editorial-news-stack .news-list-card {
    padding: 22px;
  }

  .editorial-news-stack .news-feature-card img {
    aspect-ratio: 16 / 10;
  }

  .taste-cta {
    padding: 54px 0;
  }

  .taste-cta-grid {
    gap: 24px;
  }

  .float-actions {
    right: 12px;
    bottom: 12px;
  }
}

/* ===== Header 电话按钮 ===== */
.header-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--accent, #b8860b);
  color: #fff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s, transform .2s;
  margin-left: 12px;
  flex-shrink: 0;
}
.header-phone-btn:hover { background: #9a7209; transform: translateY(-1px); }
.header-phone-btn i { font-size: 13px; }

@media (max-width: 1000px) {
  .header-phone-btn span { display: none; }
  .header-phone-btn { padding: 8px 10px; margin-left: 8px; }
}
@media (max-width: 600px) {
  .header-phone-btn { display: none; }
}

/* ===== 面包屑导航 ===== */
.breadcrumb-nav {
  background: var(--surface-soft, #faf8f3);
  border-bottom: 1px solid rgba(0,0,0,.06);
  padding: 12px 0;
  font-size: 13px;
  color: var(--muted, #64748b);
}
.breadcrumb-nav .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}
.breadcrumb-nav a {
  color: var(--accent, #b8860b);
  text-decoration: none;
  transition: color .2s;
}
.breadcrumb-nav a:hover { color: var(--navy, #1e293b); }
.breadcrumb-sep { color: #cbd5e1; margin: 0 2px; }
.breadcrumb-current { color: var(--muted, #64748b); }
.page-banner + .breadcrumb-nav,
.taste-hero + .breadcrumb-nav { border-top: none; }

/* ===== Geo Summary (首页律所简介条) ===== */
.geo-summary-section {
  background: #f8f9fa;
  padding: 30px 0;
  margin: 0;
}
.geo-summary-card {
  background: #fff;
  border-radius: 12px;
  padding: 25px 30px;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  border-left: 4px solid var(--navy);
}
.geo-summary-card p {
  font-size: 16px;
  line-height: 1.8;
  margin: 0;
  color: #333;
}
.geo-summary-card .geo-firm { color: var(--navy); }
.geo-summary-card .geo-areas { color: var(--danger); }
.geo-summary-card .geo-phone { color: var(--navy); font-weight: 700; text-decoration: none; }
.geo-summary-card .geo-phone:hover { text-decoration: underline; }
@media (max-width: 767px) {
  .geo-summary-card { padding: 18px 20px; }
  .geo-summary-card p { font-size: 15px; line-height: 1.7; }
}

/* ===== 404 Error Page ===== */
.error-page { background: var(--surface-soft); }
.error-hero {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 56px;
}
.error-code {
  display: block;
  font-size: 96px;
  font-weight: 900;
  line-height: 1;
  color: var(--navy);
  letter-spacing: -2px;
  opacity: .9;
}
.error-hero h1 {
  margin: 16px 0 12px;
  font-size: 30px;
  color: var(--ink);
}
.error-hero p {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}
.error-search {
  display: flex;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto 18px;
}
.error-search input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 15px;
  background: #fff;
}
.error-search input:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(23,32,51,.1);
}
.error-areas { margin-bottom: 48px; }
.error-areas h2,
.error-contact h2 {
  text-align: center;
  margin: 0 0 24px;
  font-size: 22px;
  color: var(--ink);
}
.error-areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
}
.error-area-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.error-area-card i {
  font-size: 28px;
  color: var(--gold);
}
.error-area-card span {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.error-area-card:hover {
  transform: translateY(-3px);
  border-color: rgba(143,106,37,.4);
  box-shadow: 0 8px 24px rgba(23,32,51,.08);
}
.error-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 767px;
  margin: 0 auto;
  padding: 36px;
  background: var(--navy);
  border-radius: var(--radius);
  color: #fff;
}
.error-contact h2 {
  text-align: left;
  margin: 0 0 8px;
  font-size: 22px;
  color: #fff;
}
.error-contact p {
  margin: 0;
  color: rgba(255,255,255,.74);
  font-size: 15px;
}
.error-contact-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.error-contact .btn-outline {
  color: #fff;
  border-color: rgba(255,255,255,.4);
}
.error-contact .btn-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,.1);
}
@media (max-width: 767px) {
  .error-code { font-size: 72px; }
  .error-hero h1 { font-size: 24px; }
  .error-areas-grid { grid-template-columns: repeat(2, 1fr); }
  .error-contact {
    flex-direction: column;
    text-align: center;
    padding: 28px 22px;
  }
  .error-contact h2 { text-align: center; }
  .error-contact-actions { width: 100%; }
  .error-contact-actions .btn { flex: 1; }
}

/* ===== Form Validation (联系表单实时校验) ===== */
.contact-form .field-invalid {
  border-color: var(--danger) !important;
  box-shadow: 0 0 0 3px rgba(180,35,24,.1);
}
.contact-form .field-error {
  display: block;
  margin-top: 6px;
  color: var(--danger);
  font-size: 13px;
  font-weight: 600;
}

/* ===== Related Content (内页相关推荐) ===== */
.related-section { background: var(--surface-soft); }
.related-block { margin-bottom: 48px; }
.related-block:last-child { margin-bottom: 0; }
.related-block .section-header { margin-bottom: 24px; }
.related-block .section-header h2 {
  margin: 0;
  font-size: 24px;
  color: var(--ink);
}
.related-grid {
  display: grid;
  gap: 18px;
}
.related-lawyer-grid { grid-template-columns: repeat(4, 1fr); }
.related-news-grid { grid-template-columns: repeat(3, 1fr); }
.related-area-grid { grid-template-columns: repeat(3, 1fr); }

.related-lawyer-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.related-lawyer-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
}
.related-lawyer-card > div {
  padding: 16px;
}
.related-lawyer-card h3 {
  margin: 0 0 4px;
  font-size: 17px;
  color: var(--ink);
}
.related-lawyer-card span {
  display: block;
  font-size: 13px;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 6px;
}
.related-lawyer-card p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}
.related-lawyer-card:hover {
  transform: translateY(-3px);
  border-color: rgba(143,106,37,.36);
  box-shadow: 0 12px 32px rgba(23,32,51,.1);
}

.related-news-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.related-news-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.related-news-card > div {
  padding: 18px;
}
.related-news-card .badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  background: rgba(23,32,51,.08);
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
}
.related-news-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.4;
  color: var(--ink);
}
.related-news-card small {
  color: var(--muted);
  font-size: 12px;
}
.related-news-card:hover {
  transform: translateY(-3px);
  border-color: rgba(143,106,37,.36);
  box-shadow: 0 12px 32px rgba(23,32,51,.1);
}
.related-news-card:hover h3 { color: var(--navy-2); }

.related-area-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.related-area-card i {
  font-size: 30px;
  color: var(--gold);
}
.related-area-card span {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.related-area-card:hover {
  transform: translateY(-3px);
  border-color: rgba(143,106,37,.36);
  box-shadow: 0 12px 32px rgba(23,32,51,.1);
}
.related-area-card:hover i { color: var(--navy); }

/* ===== Section Bridge & Spacing (解决页面空旷区域) ===== */
.section-bridge {
  min-height: 48px;
  padding: 0;
  background: linear-gradient(180deg, var(--paper) 0%, rgba(255,255,255,.48) 50%, var(--paper) 100%);
  border-block: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.section-bridge::before {
  content: "";
  width: 64px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border-radius: 1px;
}
.section-bridge + .section { padding-top: 0; }

/* Section divider: subtle gradient line for visual separation */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(23,32,51,.1), transparent);
  max-width: var(--container);
  margin: 0 auto;
}
.section-divider + .section { padding-top: 0; }

/* ============================================================
   前端设计审阅报告优化（2026-07-08）
   对应报告章节：§1 / §3A / §3B / §3C / §7 / §8 / §9
   ============================================================ */

/* §1.2 等宽字体：数字与代码 */
.stat-num, .error-code, code, kbd, samp, pre {
  font-family: var(--font-mono);
}

/* §3A 页面加载淡入 —— 消除页面硬切感 */
main {
  animation: pageEnter 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes pageEnter {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* §3B 顶部滚动进度条 */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--navy-2));
  z-index: 9999;
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.1s linear;
  pointer-events: none;
}

/* §8 可访问性：全局焦点可见样式（修复 hover:focus = 53:4） */
*:focus-visible {
  outline: 2px solid var(--navy-3);
  outline-offset: 2px;
  border-radius: 2px;
}
.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
a:focus-visible {
  outline: 2px solid var(--navy-3);
  outline-offset: 2px;
}

/* §3C 卡片悬浮微交互 — 精炼低调 */
.business-card,
.lawyer-card-pro,
.service-card {
  transform-style: preserve-3d;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.38s ease,
              border-color 0.38s ease;
}
.business-card:hover,
.lawyer-card-pro:hover,
.service-card:hover {
  transform: perspective(1200px) rotateX(0.5deg) translateY(-4px);
  box-shadow: 0 12px 36px rgba(23,32,51,.1), 0 2px 8px rgba(111,81,26,.05);
}

/* §9 滚动吸附（首页区块，proximity 模式不打断自由滚动） */
.scroll-snap-container {
  scroll-snap-type: y proximity;
}
.scroll-snap-section {
  scroll-snap-align: start;
}

/* §7 宽屏增强断点（规范化 1280px） */
@media (min-width: 1280px) {
  .container { width: min(1280px, calc(100% - 48px)); }
  .section { padding: var(--space-9) 0; }
}

/* §8 skip-link 跳到主内容（键盘可访问性） */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  padding: 10px 16px;
  background: var(--navy);
  color: #fff;
  border-radius: 0 0 var(--radius-sm) 0;
  font-size: var(--text-body-sm);
  font-weight: 600;
}
.skip-link:focus { left: 0; }

/* 内联样式提取（设计系统收敛）—— 替代 practice/lawyers/practice-detail 内联 style */
.section-header-gap { margin-bottom: var(--space-7); }
.practice-summary-box {
  background: var(--gray-50);
  padding: var(--space-5) var(--space-6);
  border-radius: var(--radius);
  border-left: 4px solid var(--navy);
  margin: var(--space-5) 0;
}
.practice-summary-box p {
  font-size: var(--text-body);
  line-height: 1.8;
  margin: 0;
  color: var(--ink);
}
@media (max-width: 767px) {
  .practice-summary-box { padding: var(--space-4) var(--space-5); }
}

/* GEO 内容增强：对比表、署名、最后更新、专家引言 */
.practice-compare {
  margin: var(--space-6) 0;
}
.practice-compare h3 {
  margin: 0 0 var(--space-4);
  font-size: var(--text-lg);
  color: var(--ink);
}
.compare-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  font-size: 14px;
  min-width: 560px;
}
.compare-table th,
.compare-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.compare-table thead th {
  background: var(--gray-50);
  font-weight: 700;
  color: var(--ink);
}
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody td:first-child {
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.practice-attribution {
  margin: var(--space-6) 0;
  padding: var(--space-5) var(--space-6);
  background: var(--gray-50);
  border-radius: var(--radius);
  border-left: 4px solid var(--gold);
}
.practice-attribution h3 {
  margin: 0 0 var(--space-4);
  font-size: var(--text-lg);
  color: var(--ink);
}
.attribution-list {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.attribution-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: var(--surface);
  border-radius: 999px;
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: border-color .2s ease, transform .2s ease;
}
.attribution-card:hover {
  border-color: var(--gold);
  transform: translateY(-1px);
}
.attribution-card img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.attribution-card strong {
  display: block;
  font-size: 14px;
  color: var(--ink);
}
.attribution-card span {
  display: block;
  font-size: 12px;
  color: #64748b;
}
.attribution-note {
  margin: var(--space-4) 0 0;
  font-size: 13px;
  color: #94a3b8;
}

.last-updated {
  margin: var(--space-5) 0 0;
  font-size: 13px;
  color: #94a3b8;
  text-align: right;
}

.lawyer-quote {
  margin: var(--space-6) 0;
  padding: var(--space-5) var(--space-6);
  background: linear-gradient(135deg, var(--gray-50), var(--surface));
  border-radius: var(--radius);
  border-left: 4px solid var(--gold);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.lawyer-quote i {
  color: var(--gold);
  font-size: 20px;
  margin-top: 2px;
}
.lawyer-quote p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
}
@media (max-width: 767px) {
  .attribution-list { flex-direction: column; align-items: flex-start; }
  .last-updated { text-align: left; }
  .lawyer-quote { padding: var(--space-4) var(--space-5); }
}

/* §14 按钮按压 ripple 效果 */
.btn { position: relative; overflow: hidden; }
.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  transform: scale(0);
  animation: btnRipple 0.6s ease-out;
  pointer-events: none;
}
.btn-secondary .btn-ripple { background: rgba(23,32,51,.15); }
@keyframes btnRipple {
  to { transform: scale(2.2); opacity: 0; }
}

/* reduce-motion：关闭新增动效，保证可访问性 */
@media (prefers-reduced-motion: reduce) {
  main { animation: none; }
  .scroll-progress { transition: none; }
  .btn-ripple { display: none; }
  .business-card:hover,
  .lawyer-card-pro:hover,
  .service-card:hover {
    transform: translateY(-2px);
  }
}

@media (max-width: 1023px) {
  .related-lawyer-grid { grid-template-columns: repeat(2, 1fr); }
  .related-news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .related-lawyer-grid,
  .related-news-grid,
  .related-area-grid { grid-template-columns: 1fr; }
  .related-block .section-header h2 { font-size: 20px; }
}

/* ===== 导航搜索入口（内联式，与导航风格统一） ===== */
.header-search-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-full);
  padding: 7px 18px;
  transition: border-color .2s ease, background .2s ease;
}
.header-search-inline i { color: rgba(255,255,255,.7); font-size: 14px; }
.header-search-inline input {
  background: transparent; border: 0; padding: 0;
  font-size: 14px; color: #fff; width: 180px; outline: none;
}
.header-search-inline input::placeholder { color: rgba(255,255,255,.5); }
.header-search-inline:hover,
.header-search-inline:focus-within { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.18); }
.site-header.scrolled .header-search-inline,
.site-header:not(.header-transparent) .header-search-inline {
  background: var(--gray-50); border-color: var(--line);
}
.site-header.scrolled .header-search-inline i,
.site-header:not(.header-transparent) .header-search-inline i { color: var(--muted); }
.site-header.scrolled .header-search-inline input,
.site-header:not(.header-transparent) .header-search-inline input { color: var(--ink); }
.site-header.scrolled .header-search-inline input::placeholder,
.site-header:not(.header-transparent) .header-search-inline input::placeholder { color: var(--gray-400); }
.site-header.scrolled .header-search-inline:focus-within,
.site-header:not(.header-transparent) .header-search-inline:focus-within { border-color: var(--gold); }
@media (max-width: 1100px) {
  .header-search-inline { display: none; }
}
@media (max-width: 1023px) { .header-search-inline { display: none; } }

/* ===== 长文目录 TOC ===== */
.article-toc {
  background: var(--gray-50); border: 1px solid var(--line); border-left: 3px solid var(--gold);
  border-radius: var(--radius); padding: var(--space-4) var(--space-5); margin-bottom: var(--space-5);
}
.article-toc[hidden] { display: none; }
.article-toc h3 { font-size: var(--text-caption); font-weight: 700; color: var(--gold); margin: 0 0 var(--space-2); text-transform: uppercase; letter-spacing: .04em; font-family: var(--font-sans); }
.article-toc ol { margin: 0; padding-left: var(--space-4); }
.article-toc li { margin: 4px 0; }
.article-toc a { color: var(--ink-soft); font-size: var(--text-body-sm); text-decoration: none; }
.article-toc a:hover { color: var(--navy); }
.article-toc .toc-h3 { padding-left: var(--space-3); }
@media (max-width: 767px) { .article-toc { padding: var(--space-3) var(--space-4); } }

/* ===== 表单提交 loading ===== */
.btn.is-loading { position: relative; color: transparent !important; pointer-events: none; }
.btn.is-loading::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px;
  border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%;
  animation: btnSpin 0.6s linear infinite;
}
@keyframes btnSpin { to { transform: rotate(360deg); } }

/* ===== 搜索结果高亮 ===== */
.search-mark { background: var(--gold-soft); color: var(--gold); font-weight: 700; padding: 0 2px; border-radius: 2px; }
.search-count { color: var(--muted); font-size: var(--text-body-sm); margin: var(--space-3) 0 var(--space-5); }

/* ============================================================
   用户截图反馈 UI 优化（2026-07-08）
   ============================================================ */

/* ===== 导航美化 ===== */
.main-nav ul { gap: 2px; }
.main-nav a { padding: 9px 14px; font-size: 15px; border-radius: var(--radius-sm); position: relative; }
.main-nav a.active::after {
  content: ""; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%);
  width: 18px; height: 2px; background: var(--gold); border-radius: 1px;
}

/* ===== 律师团队介绍模块（重新设计） ===== */
.team-intro-section { padding: var(--space-8) 0; background: linear-gradient(180deg, var(--surface) 0%, var(--surface-soft) 100%); }
.team-intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-6);
}
.team-intro-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px var(--space-6);
  text-align: center;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.32s ease, border-color 0.32s ease;
}
.team-intro-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 28px rgba(23,32,51,.08), 0 2px 8px rgba(111,81,26,.06);
  border-color: var(--gold-2);
}
.team-intro-card .intro-icon {
  width: 60px; height: 60px; margin: 0 auto var(--space-4);
  background: linear-gradient(135deg, var(--gold-soft), rgba(111,81,26,.12));
  color: var(--gold);
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.team-intro-card h3 { font-size: var(--text-h4); font-weight: 700; margin-bottom: var(--space-2); color: var(--navy); }
.team-intro-card p { font-size: var(--text-body-sm); color: var(--ink-soft); line-height: 1.72; margin: 0; }
.team-intro-header { text-align: center; max-width: 640px; margin: 0 auto; }
.team-intro-header h2 { font-size: var(--text-h2); margin-bottom: var(--space-3); }
.team-intro-header p { font-size: var(--text-body-lg); color: var(--ink-soft); line-height: 1.7; }
@media (max-width: 1023px) { .team-intro-grid { grid-template-columns: 1fr; } }

/* ===== 业务领域相关板块（重新设计） ===== */
.related-section { background: var(--surface); }
.related-section .related-block + .related-block { margin-top: var(--space-7); }
.related-lawyer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}
.related-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.related-lawyer-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.related-lawyer-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold-2); }
.related-lawyer-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top center; background: var(--gray-100); }
.related-lawyer-card > div { padding: var(--space-4); }
.related-lawyer-card h3 { font-size: var(--text-body); font-weight: 700; margin-bottom: 4px; color: var(--navy); }
.related-lawyer-card span { font-size: var(--text-caption); color: var(--gold); font-weight: 600; }
.related-lawyer-card p { font-size: var(--text-body-sm); color: var(--muted); margin-top: 6px; line-height: 1.5; }

.related-news-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex; flex-direction: column;
}
.related-news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold-2); }
.related-news-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: var(--gray-100); }
.related-news-card > div { padding: var(--space-4); flex: 1; }
.related-news-card .badge { display: inline-block; font-size: var(--text-micro); color: var(--gold); background: var(--gold-soft); padding: 2px 8px; border-radius: var(--radius-full); margin-bottom: 8px; }
.related-news-card h3 { font-size: var(--text-body); font-weight: 700; line-height: 1.4; color: var(--navy); }

@media (max-width: 1023px) {
  .related-lawyer-grid { grid-template-columns: repeat(2, 1fr); }
  .related-news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .related-lawyer-grid { grid-template-columns: 1fr; }
  .related-news-grid { grid-template-columns: 1fr; }
}

/* ===== 首页排版优化 20260713：呼吸感 / 居中标题 / 简介摘要卡 ===== */

/* 1. 律所简介摘要卡（GEO答案块，可见展示） */
.geo-answer-section { background: transparent; }
.geo-answer-card {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 44px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}
.geo-answer-card h2 {
  margin: 0 0 16px;
  font-size: clamp(22px, 2.4vw, 28px);
  color: var(--navy);
}
.geo-answer-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 2;
  font-size: 15px;
}

/* 2. 首页区块节奏：恢复上下留白 + 细分隔线（覆盖 .section + .section { padding-top: 0 }） */
.section.geo-answer-section,
.section.method-accordion-section,
.section.business-bento-section,
.section.lawyer-home-section,
.section.news-home-section {
  padding-top: 96px;
  padding-bottom: 96px;
  border-top: 1px solid var(--line);
}
.section.geo-answer-section { border-top: 0; }

/* 3. 律师区底色加深，与白色新闻区形成明确交替 */
.section.lawyer-home-section { background: #f4f1ea; }

/* 4. 居中标题下的金色短线居中 */
.lawyer-home-section .section-header h2::after { margin-inline: auto; }

/* 5. 卡片下方居中按钮 */
.section-footer-action {
  margin-top: 40px;
  text-align: center;
}

@media (max-width: 767px) {
  .section.geo-answer-section,
  .section.method-accordion-section,
  .section.business-bento-section,
  .section.lawyer-home-section,
  .section.news-home-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .geo-answer-card { padding: 28px 24px; }
  .section-footer-action { margin-top: 28px; }
}

/* ===== 首页排版优化 20260713d：简介卡仅 AI 可读 / 首图恢复整屏 / 按钮竖排修复 ===== */

/* 1. 桌面端首屏 hero 铺满整个视口（移动端内容较高，保持自适应高度） */
@media (min-width: 1024px) {
  .taste-hero {
    min-height: 100vh;
    min-height: 100svh;
  }
}

/* 2. 律所简介卡含敏感信息（执业许可证号/统一社会信用代码等），
   对访客完全隐藏、不占版面；但完整保留在 HTML 中供 AI 爬虫读取。
   用视觉隐藏技术而非 display:none，爬虫与读屏仍可解析 */
.section.geo-answer-section {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* 3. 区块标题行：标题居中 + 按钮在标题行右侧。
   修复竖排按钮 bug：中间列限宽 780px（原 auto 会被长副标题撑满，把按钮列挤没） */
.section-header.has-side-action {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 780px) minmax(0, 1fr);
  align-items: end;
  gap: 24px;
}
.section-header.has-side-action .header-title { grid-column: 2; }
.section-header.has-side-action .header-action {
  grid-column: 3;
  justify-self: end;
  margin-bottom: 6px;
  white-space: nowrap;
}
@media (max-width: 767px) {
  .section-header.has-side-action { display: block; }
  .section-header.has-side-action .header-action { margin-top: 18px; }
}

/* ===== 首页修正 20260713e：业务卡统一 / 新闻限3条 / 底部询盘表单 ===== */

/* 4. 底部询盘表单区：白底 + 左文案右表单 */
.section.home-inquiry-section {
  background: #fff;
  padding-top: 96px;
  padding-bottom: 96px;
  border-top: 1px solid var(--line);
}
.home-inquiry-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
  gap: 64px;
  align-items: start;
}
.home-inquiry-intro h2 {
  margin: 0 0 16px;
  font-size: clamp(24px, 2.6vw, 32px);
  color: var(--navy);
}
.home-inquiry-intro p { color: var(--ink-soft); line-height: 1.9; }
.home-inquiry-intro ul { margin: 20px 0; padding: 0; list-style: none; }
.home-inquiry-intro li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  color: var(--ink);
}
.home-inquiry-intro li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}
.home-inquiry-phone a { color: var(--navy); font-weight: 700; }
.home-inquiry-qrs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 190px));
  gap: 14px;
  margin-top: 28px;
}

/* ===== 真实案例与收费公示 20260728 ===== */
.cases-banner,.case-detail-banner,.fees-banner {
  background:
    linear-gradient(90deg,rgba(10,24,47,.96),rgba(10,24,47,.72)),
    url('/static/images/generated/legal-documents.jpg') center / cover;
}
.cases-fee-intro { background:#fff; }
.cases-fee-grid {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(360px,.85fr);
  gap:72px;
  align-items:center;
}
.cases-fee-grid h2 { max-width:650px; color:var(--navy); font-size:clamp(30px,3.8vw,48px); }
.cases-fee-grid>div>p { max-width:680px; color:var(--ink-soft); line-height:1.9; }
.fee-preview-list { border-top:1px solid var(--line); }
.fee-preview-list>div {
  display:grid;
  grid-template-columns:92px minmax(0,1fr) auto;
  gap:16px;
  align-items:center;
  min-height:70px;
  border-bottom:1px solid var(--line);
}
.fee-preview-list span,.case-card small { color:var(--gold); font-size:13px; font-weight:800; }
.fee-preview-list strong { color:var(--navy); }
.fee-preview-list em { color:var(--navy); font-style:normal; font-weight:800; }
.safe-empty { display:block!important; padding:24px 0; }
.safe-empty p { margin-bottom:0; color:var(--muted); }
.case-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.case-card {
  display:flex;
  flex-direction:column;
  min-width:0;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
  color:inherit;
  box-shadow:0 14px 40px rgba(18,35,62,.06);
  transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease;
}
.case-card:hover,.case-card:focus-visible {
  transform:translateY(-3px);
  border-color:rgba(184,134,31,.48);
  box-shadow:0 20px 48px rgba(18,35,62,.1);
  outline:none;
}
.case-card img,.case-card-visual { width:100%; aspect-ratio:16/10; object-fit:cover; }
.case-card-visual { display:grid; place-items:center; background:linear-gradient(145deg,#14284a,#0d192e); color:#d7b35f; font-size:54px; }
.case-card>div { display:flex; flex:1; flex-direction:column; padding:26px; }
.case-card h3 { margin:8px 0 12px; color:var(--navy); font-size:21px; line-height:1.45; }
.case-card p { color:var(--ink-soft); line-height:1.8; }
.case-card span { margin-top:auto; padding-top:16px; color:var(--gold); font-weight:800; }
.case-card.text-only { min-height:250px; border-top:3px solid var(--gold); }
.case-grid.compact { grid-template-columns:repeat(3,minmax(0,1fr)); }
.case-empty {
  max-width:760px;
  margin:0 auto;
  padding:54px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
  text-align:center;
}
.case-empty>i { color:var(--gold); font-size:40px; }
.case-empty h2,.case-empty h3 { color:var(--navy); }
.case-empty p { color:var(--ink-soft); line-height:1.9; }
.case-disclaimer { padding:36px 0; background:#10213d; color:#fff; }
.case-disclaimer .container { display:grid; grid-template-columns:180px minmax(0,1fr); gap:28px; align-items:center; }
.case-disclaimer strong { color:#d7b35f; font-size:20px; }
.case-disclaimer p { margin:0; color:rgba(255,255,255,.75); line-height:1.8; }
.case-detail-layout { display:grid; grid-template-columns:minmax(0,1fr) 310px; gap:28px; align-items:start; }
.case-preview-bar { display:flex; align-items:center; justify-content:center; gap:14px; min-height:48px; padding:10px 20px; color:#fff; background:#8a6110; font-size:14px; }
.case-preview-bar strong { font-size:15px; }
.case-preview-bar a { color:#fff; font-weight:800; text-decoration:underline; text-underline-offset:3px; }
.case-article section { padding:24px 0; border-top:1px solid var(--line); }
.case-article section h2 { color:var(--navy); }
.case-article section p { color:var(--ink-soft); line-height:2; }
.case-meta { display:flex; flex-wrap:wrap; gap:18px; padding:18px 0 24px; color:var(--muted); }
.case-meta span { display:inline-flex; align-items:center; gap:7px; }
.case-result { padding:26px!important; border:1px solid rgba(184,134,31,.28)!important; background:#fbf8ef; }
.case-warning { display:grid; grid-template-columns:36px minmax(0,1fr); gap:14px; margin-top:28px; padding:20px; border:1px solid var(--line); background:var(--surface-soft); }
.case-warning i { color:var(--gold); font-size:24px; }
.case-warning strong { color:var(--navy); }
.case-warning p { margin:6px 0 0; color:var(--ink-soft); }
.case-detail-side { position:sticky; top:96px; display:grid; gap:16px; }
.home-cases-section { background:#f4f1ea; }
.home-case-empty {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
  padding:28px 32px;
  border:1px solid var(--line);
  background:#fff;
}
.home-case-empty>div { display:grid; grid-template-columns:40px minmax(0,1fr); gap:3px 14px; }
.home-case-empty i { grid-row:1/3; color:var(--gold); font-size:30px; }
.home-case-empty strong { color:var(--navy); font-size:18px; }
.home-case-empty p { margin:0; color:var(--muted); }
.home-case-empty>a { color:var(--navy); font-weight:800; white-space:nowrap; }
.practice-cases { margin:36px 0; }
.practice-case-list { display:grid; gap:12px; }
.practice-case-list a { display:grid; gap:5px; padding:20px; border:1px solid var(--line); background:var(--surface-soft); }
.practice-case-list span { color:var(--gold); font-size:12px; font-weight:800; }
.practice-case-list strong { color:var(--navy); }
.practice-case-list p,.case-module-note { margin:0; color:var(--muted); }
.case-module-note { margin-top:10px; font-size:13px; }
.practice-fee-entry { display:flex; justify-content:space-between; align-items:center; gap:24px; margin:32px 0; padding:26px; border-left:3px solid var(--gold); background:#f6f3ec; }
.practice-fee-entry small { color:var(--gold); font-weight:800; }
.practice-fee-entry h3 { margin:4px 0 7px; color:var(--navy); }
.practice-fee-entry p { margin:0; color:var(--ink-soft); }
.contact-fee-disclosure { margin:18px 0; border:1px solid var(--line); border-radius:8px; background:#fff; }
.contact-fee-disclosure summary { display:flex; justify-content:space-between; align-items:center; min-height:48px; padding:10px 14px; color:var(--navy); font-weight:800; cursor:pointer; }
.contact-fee-disclosure summary::-webkit-details-marker { display:none; }
.contact-fee-disclosure[open] summary i { transform:rotate(180deg); }
.contact-fee-disclosure>div { padding:0 14px 16px; color:var(--ink-soft); }
.contact-fee-disclosure a { color:var(--gold); font-weight:800; }
.fee-principles { background:#fff; }
.fee-principle-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.fee-principle-grid>div { padding:30px; border-right:1px solid var(--line); }
.fee-principle-grid>div:last-child { border-right:0; }
.fee-principle-grid span { color:var(--gold); font-size:26px; font-weight:900; }
.fee-principle-grid h3 { color:var(--navy); }
.fee-principle-grid p { color:var(--ink-soft); line-height:1.8; }
.fee-content { display:grid; gap:40px; }
.fee-group { display:grid; grid-template-columns:210px minmax(0,1fr); gap:30px; }
.fee-group-title h2 { margin:0; color:var(--navy); }
.fee-group-title p { color:var(--muted); }
.fee-table-wrap { overflow-x:auto; border:1px solid var(--line); background:#fff; }
.fee-table { width:100%; border-collapse:collapse; }
.fee-table th,.fee-table td { padding:16px; border-bottom:1px solid var(--line); text-align:left; vertical-align:top; }
.fee-table th { background:#eef1f5; color:var(--navy); font-size:13px; }
.fee-table td { color:var(--ink-soft); line-height:1.7; }
.fee-table tr:last-child td { border-bottom:0; }
.fee-table strong { color:var(--navy); }
.fee-table small { display:block; margin-top:6px; color:var(--muted); }
.fee-amount { color:#9a6d10; font-weight:900; white-space:nowrap; }
.fee-notes { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; margin-top:12px; }
.fee-notes>h2 { grid-column:1/-1; color:var(--navy); }
.fee-notes>div { padding:24px; border:1px solid var(--line); background:#fff; }
.fee-notes h3 { color:var(--navy); }
.fee-notes p { color:var(--ink-soft); line-height:1.85; }
.fee-notes .fee-compliance { border-top:3px solid var(--gold); }
.fee-cta { background:#10213d; color:#fff; text-align:center; }
.fee-cta h2 { color:#fff; }
.fee-cta p { color:rgba(255,255,255,.75); }

@media (max-width:1023px) {
  .cases-fee-grid,.case-detail-layout,.fee-group { grid-template-columns:1fr; gap:28px; }
  .case-detail-side { position:static; grid-template-columns:1fr 1fr; }
  .case-grid,.case-grid.compact { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .fee-notes { grid-template-columns:1fr; }
}
@media (max-width:767px) {
  .case-preview-bar { align-items:flex-start; flex-direction:column; gap:4px; padding:12px 18px; }
  .case-grid,.case-grid.compact,.fee-principle-grid,.case-detail-side { grid-template-columns:1fr; }
  .cases-fee-grid { gap:34px; }
  .fee-preview-list>div { grid-template-columns:1fr; gap:3px; padding:14px 0; }
  .case-empty { padding:34px 20px; }
  .case-disclaimer .container { grid-template-columns:1fr; gap:8px; }
  .home-case-empty,.practice-fee-entry { align-items:flex-start; flex-direction:column; }
  .fee-principle-grid>div { border-right:0; border-bottom:1px solid var(--line); }
  .fee-principle-grid>div:last-child { border-bottom:0; }
  .fee-table,.fee-table tbody,.fee-table tr,.fee-table td { display:block; width:100%; }
  .fee-table thead { display:none; }
  .fee-table tr { padding:12px 16px; border-bottom:1px solid var(--line); }
  .fee-table tr:last-child { border-bottom:0; }
  .fee-table td { display:grid; grid-template-columns:92px minmax(0,1fr); gap:12px; padding:8px 0; border:0; }
  .fee-table td::before { content:attr(data-label); color:var(--muted); font-size:13px; }
  .fee-amount { white-space:normal; }
}
.home-inquiry-qr {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-soft);
}
.home-inquiry-qr img {
  width: 96px;
  height: 96px;
  padding: 5px;
  object-fit: contain;
  border: 1px solid rgba(23, 32, 51, .1);
  border-radius: 6px;
  background: #fff;
}
.home-inquiry-qr figcaption { display: grid; gap: 5px; min-width: 0; }
.home-inquiry-qr strong { color: var(--navy); font-size: 15px; }
.home-inquiry-qr small { color: var(--muted); overflow-wrap: anywhere; }
.home-inquiry-form {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}
@media (max-width: 900px) {
  .home-inquiry-grid { grid-template-columns: 1fr; gap: 32px; }
  .section.home-inquiry-section { padding-top: 64px; padding-bottom: 64px; }
}
@media (max-width: 480px) {
  .home-inquiry-qrs { grid-template-columns: 1fr 1fr; }
  .home-inquiry-qr {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
}

/* ===== 华颖内容落地修复 20260723：导航、关于我们、文章页、富文本、业务领域 ===== */
.about-profile-section { background: var(--surface); }
.about-profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  align-items: start;
}
.about-story-card,
.about-side-panel > *,
.about-highlight-card,
.about-service-list article {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 1px 4px rgba(23,32,51,.04);
}
.about-story-card { padding: 40px; }
.about-story-card h2 { color: var(--navy); }
.about-lead {
  margin-bottom: 24px;
  padding: 18px 20px;
  border-left: 3px solid var(--gold);
  background: var(--surface-soft);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.9;
}
.about-side-panel {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 96px;
}
.about-photo {
  margin: 0;
  overflow: hidden;
}
.about-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.about-contact-card { padding: 22px; }
.about-contact-card h3 { color: var(--navy); }
.about-contact-card p { margin-bottom: 12px; }
.about-contact-card a {
  display: inline-flex;
  color: var(--navy);
  font-size: 22px;
  font-weight: 800;
}
.about-credential-list {
  margin: 0;
  padding: 8px 0;
  overflow: hidden;
}
.about-credential-list div {
  display: grid;
  gap: 4px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.about-credential-list div:last-child { border-bottom: 0; }
.about-credential-list dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.about-credential-list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  word-break: break-word;
}
.about-highlights-section,
.about-history-section { background: var(--surface-soft); }
.about-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.about-highlight-card { padding: 24px; }
.about-highlight-card h3 { color: var(--navy); }
.about-highlight-card p { margin: 0; }
.about-service-list {
  display: grid;
  gap: 12px;
}
.about-service-list article {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  padding: 20px;
}
.about-service-list i {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--gold-soft);
  color: var(--gold);
}
.about-service-list h3 { margin-bottom: 6px; color: var(--navy); }
.about-service-list p { margin: 0; }

.article-page-section {
  padding-top: 118px;
  background: var(--surface-soft);
}
.article-shell { width: min(920px, calc(100% - 40px)); }
.article-readable { padding: 0; overflow: hidden; }
.article-top-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 28px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.article-top-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-weight: 800;
}
.article-top-nav div { display: flex; gap: 14px; flex-wrap: wrap; }
.article-title-block { padding: 34px 38px 20px; }
.article-title-block h1 {
  margin: 14px 0 16px;
  max-width: none;
  color: var(--navy);
  font-size: clamp(30px, 4vw, 46px);
}
.article-title-block .article-meta {
  margin: 0;
  padding: 0;
  border: 0;
}
.article-readable .article-cover {
  width: calc(100% - 76px);
  margin: 16px 38px 28px;
  border-radius: var(--radius);
  max-height: 460px;
}
.article-readable .lead-text,
.article-readable .article-toc,
.article-readable .rich-content,
.article-readable .tag-list,
.article-readable .article-nav,
.article-bottom-cta {
  margin-left: 38px;
  margin-right: 38px;
}
.article-bottom-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  margin-top: 36px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--navy), #101e3a);
  color: #fff;
}
.article-bottom-cta h2 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 24px;
}
.article-bottom-cta p { margin: 0; color: rgba(255,255,255,.78); }
.article-bottom-actions {
  display: grid;
  gap: 10px;
  min-width: 180px;
}
.article-phone {
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  text-align: center;
}
.article-bottom-cta .btn-primary {
  background: #fff;
  border-color: #fff;
  color: var(--navy);
}
.article-side-cta { display: none; }

.rich-content {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.95;
  word-break: break-word;
}
.rich-content p { margin: 0 0 18px; }
.rich-content h1,
.rich-content h2,
.rich-content h3,
.rich-content h4 {
  margin: 30px 0 14px;
  color: var(--navy);
  line-height: 1.35;
}
.rich-content ul,
.rich-content ol {
  margin: 0 0 20px 1.4em;
  padding-left: 1.2em;
}
.rich-content ul { list-style: disc; }
.rich-content ol { list-style: decimal; }
.rich-content li { margin: 6px 0; }
.rich-content blockquote {
  margin: 24px 0;
  padding: 16px 20px;
  border-left: 4px solid var(--gold);
  background: var(--surface-soft);
  color: var(--ink);
}
.rich-content img {
  max-width: 100%;
  height: auto;
  margin: 22px auto;
  border-radius: var(--radius);
}
.rich-content table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  margin: 24px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.rich-content thead { background: var(--gray-50); }
.rich-content th,
.rich-content td {
  min-width: 120px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.rich-content th {
  color: var(--navy);
  font-weight: 800;
}

.business-bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.business-card,
.business-card.active {
  min-height: 190px;
  margin: 0;
  padding: 24px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 4px rgba(23,32,51,.04);
  flex-basis: auto;
}
.business-card i,
.business-card.active i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: var(--radius-sm);
  background: var(--gold-soft);
  color: var(--gold);
}
.business-card h3,
.business-card.active h3 { color: var(--navy); }
.business-card p,
.business-card.active p { color: var(--ink-soft); }
.business-card em,
.business-card.active em {
  margin-top: auto;
  color: var(--gold);
}

@media (max-width: 1023px) {
  .about-profile-grid { grid-template-columns: 1fr; }
  .about-side-panel { position: static; }
  .about-highlight-grid,
  .business-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .about-story-card,
  .article-title-block { padding: 24px; }
  .about-highlight-grid,
  .business-bento,
  .article-bottom-cta { grid-template-columns: 1fr; }
  .article-page-section { padding-top: 96px; }
  .article-top-nav { display: grid; padding: 16px 22px; }
  .article-readable .article-cover {
    width: calc(100% - 44px);
    margin: 12px 22px 24px;
  }
  .article-readable .lead-text,
  .article-readable .article-toc,
  .article-readable .rich-content,
  .article-readable .tag-list,
  .article-readable .article-nav,
  .article-bottom-cta {
    margin-left: 22px;
    margin-right: 22px;
  }
  .article-bottom-actions { min-width: 0; }
}

/* ===== Contact page refinement: aligned info/form cards ===== */
.contact-section {
  padding-top: 64px;
}
.contact-layout {
  align-items: stretch;
}
.contact-panel,
.contact-form-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.contact-form-card .contact-form {
  margin-top: 18px;
}
.contact-prepare-inline {
  margin-top: 24px;
  border-radius: 14px;
}
.map-actions .btn {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 767px) {
  .contact-section {
    padding-top: 48px;
  }
  .map-actions .btn {
    flex: 1 1 calc(50% - 10px);
  }
}

/* ===== News detail refinement ===== */
.article-shell {
  width: min(980px, calc(100% - 40px));
}
.article-readable {
  border-radius: 18px;
}
.article-top-nav {
  align-items: flex-start;
  padding: 20px 38px;
  background: #fff;
}
.article-nav-primary {
  display: grid;
  gap: 14px;
  min-width: 0;
}
.article-category-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.article-category-jump a {
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
}
.article-category-jump a.active,
.article-category-jump a:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.article-nav-sibling {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.article-nav-sibling a {
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}
.article-title-block {
  padding: 34px 38px 18px;
}
.article-title-block h1 {
  max-width: 860px;
  letter-spacing: -.04em;
  line-height: 1.12;
}
.article-title-block .article-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--ink-soft);
}
.article-title-block .article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--ink-soft);
  font-size: 13px;
}
.article-title-block .article-meta i {
  color: var(--gold);
}
.article-readable .article-cover {
  display: block;
  width: 100%;
  height: clamp(300px, 42vw, 520px);
  aspect-ratio: 16 / 9;
  max-height: none;
  margin: 18px 0 32px;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  background: var(--surface-soft);
}
.article-nav-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
  padding-top: 24px;
}
.article-nav-cards a {
  min-height: 86px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-soft);
  color: var(--navy);
}
.article-nav-cards a:hover {
  border-color: var(--gold-2);
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.article-nav-cards span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.article-nav-cards strong {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.45;
}
.article-bottom-cta {
  grid-template-columns: minmax(0, 1fr) minmax(180px, 220px);
}
.related-section {
  padding-top: 74px;
}

/* ===== Floating contact buttons with left popovers ===== */
.float-item {
  position: relative;
  display: grid;
  place-items: center;
}
.float-btn.phone {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.float-btn.douyin {
  background: #111827;
  color: #fff;
  border-color: #111827;
}
.float-popover {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  z-index: 10;
  width: 168px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(23,32,51,.16);
  color: var(--ink);
  opacity: 0;
  visibility: hidden;
  transform: translate(8px, -50%);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  pointer-events: none;
}
.float-popover::after {
  content: "";
  position: absolute;
  right: -7px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  background: #fff;
  transform: translateY(-50%) rotate(45deg);
}
.float-item:hover .float-popover,
.float-item:focus-within .float-popover {
  opacity: 1;
  visibility: visible;
  transform: translate(0, -50%);
}
.float-popover img {
  display: block;
  width: 128px;
  height: 128px;
  margin: 0 auto 8px;
  object-fit: cover;
  border-radius: 10px;
}
.float-popover strong,
.float-popover span {
  display: block;
  text-align: center;
}
.float-popover strong {
  color: var(--navy);
  font-size: 14px;
}
.float-popover span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.text-popover {
  width: 150px;
}

@media (max-width: 767px) {
  .article-shell {
    width: calc(100% - 24px);
  }
  .article-top-nav {
    padding: 16px 18px;
  }
  .article-title-block {
    padding: 24px 22px 12px;
  }
  .article-title-block h1 {
    font-size: clamp(26px, 8vw, 34px);
  }
  .article-readable .article-cover {
    width: 100%;
    height: clamp(220px, 58vw, 320px);
    margin: 14px 0 24px;
    border-radius: 0;
  }
  .article-readable .lead-text,
  .article-readable .article-toc,
  .article-readable .rich-content,
  .article-readable .tag-list,
  .article-readable .article-nav,
  .article-bottom-cta {
    margin-left: 22px;
    margin-right: 22px;
  }
  .article-nav-cards,
  .article-bottom-cta {
    grid-template-columns: 1fr;
  }
  .float-popover {
    display: none;
  }
}
/* ===== 关于我们重构 20260727：克制、真实、专业 ===== */
.about-new {
  color: var(--ink);
  background: var(--surface);
}
.about-new .container {
  width: min(1180px, calc(100% - 48px));
}
.about-hero {
  padding: 138px 0 72px;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 18%, rgba(187, 151, 91, .16), transparent 28%),
    linear-gradient(145deg, #f7f5f0 0%, #fff 56%, #f4f6f8 100%);
}
.about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(480px, 1.08fr);
  gap: clamp(44px, 7vw, 90px);
  align-items: center;
}
.about-hero-grid.no-media { grid-template-columns: minmax(0, 760px); }
.about-hero-copy h1 {
  max-width: 720px;
  margin: 10px 0 22px;
  color: var(--navy);
  font-size: clamp(40px, 5vw, 66px);
  line-height: 1.12;
  letter-spacing: -.035em;
}
.about-hero-lead {
  max-width: 680px;
  margin: 0;
  color: #475467;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.9;
}
.about-trust-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 30px;
}
.about-trust-tags span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}
.about-trust-tags i { color: #9b7334; }
.about-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.about-hero-actions .btn {
  min-height: 46px;
  padding-inline: 24px;
}
.about-hero-media,
.about-team-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
  background: #e9e8e4;
  box-shadow: 0 28px 65px rgba(22, 34, 54, .14);
}
.about-hero-media::before {
  position: absolute;
  inset: 16px;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, .72);
  content: "";
  pointer-events: none;
}
.about-hero-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.about-hero-media figcaption {
  position: absolute;
  right: 24px;
  bottom: 20px;
  z-index: 2;
  padding: 7px 11px;
  background: rgba(18, 33, 55, .86);
  color: #fff;
  font-size: 12px;
  letter-spacing: .04em;
}
.about-facts {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.about-facts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.about-facts-grid > div {
  min-width: 0;
  padding: 25px 28px;
  border-left: 1px solid var(--line);
}
.about-facts-grid > div:last-child { border-right: 1px solid var(--line); }
.about-facts-grid span,
.about-license-list dt {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
}
.about-facts-grid strong {
  display: block;
  overflow-wrap: anywhere;
  color: var(--navy);
  font-size: 15px;
  line-height: 1.55;
}
.about-story-section { background: #fff; }
.about-story-grid {
  display: grid;
  grid-template-columns: minmax(420px, .92fr) minmax(0, 1.08fr);
  gap: clamp(48px, 8vw, 104px);
  align-items: center;
}
.about-story-grid.no-media {
  grid-template-columns: minmax(0, 820px);
  justify-content: center;
}
.about-team-media img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}
.about-story-copy h2,
.about-section-heading h2,
.about-license-copy h2,
.about-contact-shell h2 {
  margin: 8px 0 20px;
  color: var(--navy);
  font-size: clamp(30px, 3.5vw, 44px);
  line-height: 1.25;
  letter-spacing: -.025em;
}
.about-story-copy > p {
  margin: 0 0 18px;
  color: #475467;
  font-size: 17px;
  line-height: 1.95;
}
.about-text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
}
.about-text-link:hover { color: #8d672d; }
.about-text-link:focus-visible,
.about-license-preview:focus-visible,
.about-license-dialog button:focus-visible {
  outline: 3px solid rgba(155, 115, 52, .42);
  outline-offset: 4px;
}
.about-section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}
.about-section-heading > p:last-child {
  margin: 0;
  color: #667085;
  font-size: 17px;
}
.about-services-section { background: #f6f7f8; }
.about-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.about-service-grid article,
.about-value-grid article {
  position: relative;
  border: 1px solid #e3e6ea;
  background: #fff;
}
.about-service-grid article {
  min-height: 230px;
  padding: 30px;
}
.about-service-grid article > i {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 28px;
  place-items: center;
  border: 1px solid rgba(155, 115, 52, .28);
  color: #8d672d;
  font-size: 19px;
}
.about-service-grid h3,
.about-value-grid h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 20px;
}
.about-service-grid p,
.about-value-grid p {
  margin: 0;
  color: #667085;
  line-height: 1.8;
}
.about-values-section { background: #fff; }
.about-value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.about-value-grid article {
  min-height: 245px;
  padding: 30px 26px;
}
.about-value-grid article > span {
  display: block;
  margin-bottom: 42px;
  color: #a27839;
  font-family: Georgia, serif;
  font-size: 16px;
  font-weight: 700;
}
.about-value-grid article::after {
  position: absolute;
  top: 64px;
  left: 26px;
  width: 36px;
  height: 2px;
  background: #b58a49;
  content: "";
}
.about-license-section { background: #f5f2ec; }
.about-license-grid {
  display: grid;
  grid-template-columns: minmax(420px, .95fr) minmax(0, 1.05fr);
  gap: clamp(44px, 7vw, 88px);
  align-items: center;
}
.about-license-grid.no-media {
  grid-template-columns: minmax(0, 780px);
  justify-content: center;
}
.about-license-preview {
  position: relative;
  width: 100%;
  padding: 14px;
  border: 1px solid #ded7c8;
  background: #fff;
  cursor: zoom-in;
  box-shadow: 0 18px 48px rgba(34, 38, 46, .11);
}
.about-license-preview img {
  display: block;
  width: 100%;
  max-height: 620px;
  object-fit: contain;
}
.about-license-preview span {
  position: absolute;
  right: 24px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  background: rgba(18, 33, 55, .9);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.about-license-copy > p {
  color: #667085;
  font-size: 16px;
  line-height: 1.85;
}
.about-license-list {
  margin: 30px 0 0;
  border-top: 1px solid #d8d2c6;
}
.about-license-list > div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid #d8d2c6;
}
.about-license-list dt { margin: 0; }
.about-license-list dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--navy);
  font-weight: 700;
}
.about-license-dialog {
  width: min(920px, calc(100% - 32px));
  max-height: calc(100vh - 48px);
  padding: 0;
  border: 0;
  background: #fff;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .32);
}
.about-license-dialog::backdrop { background: rgba(8, 18, 32, .76); }
.about-license-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}
.about-license-dialog-head h2 {
  margin: 0;
  color: var(--navy);
  font-size: 20px;
}
.about-license-dialog-head button {
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  cursor: pointer;
}
.about-license-dialog > img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 130px);
  margin: 0 auto;
  object-fit: contain;
}
.about-history-section { background: #fff; }
.about-contact-section {
  padding-top: 28px;
  background: #fff;
}
.about-contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
  padding: clamp(34px, 5vw, 58px);
  background: var(--navy);
}
.about-contact-shell h2 {
  max-width: 680px;
  margin-bottom: 12px;
  color: #fff;
}
.about-contact-shell p {
  max-width: 720px;
  margin: 0 0 8px;
  color: rgba(255,255,255,.78);
  line-height: 1.8;
}
.about-contact-shell small { color: rgba(255,255,255,.62); }
.about-contact-actions {
  display: grid;
  min-width: 210px;
  gap: 12px;
}
.about-phone {
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

@media (max-width: 1023px) {
  .about-hero-grid,
  .about-story-grid,
  .about-license-grid {
    grid-template-columns: 1fr;
  }
  .about-hero-media { max-width: 760px; }
  .about-facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-contact-shell { grid-template-columns: 1fr; }
  .about-contact-actions { max-width: 300px; }
}

@media (max-width: 767px) {
  .about-new .container { width: min(100% - 32px, 1180px); }
  .about-hero { padding: 104px 0 48px; }
  .about-hero-grid { gap: 36px; }
  .about-hero-copy h1 { font-size: 38px; }
  .about-hero-lead,
  .about-story-copy > p { font-size: 16px; }
  .about-hero-actions { display: grid; }
  .about-hero-actions .btn { width: 100%; min-height: 46px; }
  .about-trust-tags { display: grid; gap: 12px; }
  .about-facts-grid,
  .about-service-grid,
  .about-value-grid { grid-template-columns: 1fr; }
  .about-facts-grid > div {
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    border-left: 0;
  }
  .about-facts-grid > div:last-child { border-right: 0; border-bottom: 0; }
  .about-story-grid,
  .about-license-grid { gap: 36px; }
  .about-section-heading { margin-bottom: 28px; }
  .about-service-grid article,
  .about-value-grid article { min-height: 0; padding: 24px; }
  .about-value-grid article > span { margin-bottom: 34px; }
  .about-license-list > div { grid-template-columns: 1fr; gap: 5px; }
  .about-contact-shell { gap: 30px; padding: 28px 22px; }
  .about-contact-actions { width: 100%; min-width: 0; max-width: none; }
  .about-phone { min-height: 44px; }
}
/* ===== 关于我们：专业目录融合式 20260727 ===== */
.about-editorial-page { background: #f7f4ed; color: #17283c; }
.about-editorial-page .site-header { background:#102943; border-bottom:0; box-shadow:none; }
.about-editorial-page .site-header:not(.header-transparent) .logo-text .site-brand-name,
.about-editorial-page .site-header .logo-text p,
.about-editorial-page .site-header .main-nav a,
.about-editorial-page .site-header .mobile-menu-btn { color:#fff; }
.about-editorial-page .site-header .main-nav a::after { background:#bd8b32; }
.about-editorial-page .site-header .main-nav a.active,
.about-editorial-page .site-header .main-nav a:hover { color:#d6ad61; background:transparent; }
.about-editorial-page .site-header .header-search-inline { background:rgba(255,255,255,.1); border-color:rgba(255,255,255,.18); }
.about-editorial-page .site-header .header-search-inline input,
.about-editorial-page .site-header .header-search-inline i { color:#fff; }
.about-editorial-page .site-header .header-phone-btn { color:#d6ad61; }
.about-editorial-page .site-header .logo-img-wrap img { filter:brightness(0) invert(1); }
.about-editorial { --ae-navy:#102943; --ae-gold:#bd8b32; --ae-paper:#f7f4ed; --ae-line:#ddd7cb; background:var(--ae-paper); }
.about-editorial .container { max-width:1180px; }
.ae-hero { padding:58px 0 42px; background:#fbfaf7; }
.ae-hero-grid { display:grid; grid-template-columns:minmax(0,.96fr) minmax(440px,1.04fr); gap:76px; align-items:center; }
.ae-eyebrow { margin:0 0 24px; color:var(--ae-gold); font-size:14px; font-weight:700; letter-spacing:.08em; }
.ae-eyebrow span { color:#7d8289; font-size:12px; font-weight:500; margin-left:8px; }
.ae-hero h1 { max-width:620px; margin:0; color:var(--ae-navy); font-family:"Noto Serif SC",serif; font-size:clamp(38px,4.1vw,62px); line-height:1.32; letter-spacing:.02em; }
.ae-hero h1::after { content:""; display:block; width:42px; height:3px; margin:24px 0; background:var(--ae-gold); }
.ae-lead { max-width:590px; margin:0 0 28px; color:#525b65; font-size:16px; line-height:2; }
.ae-outline-btn,.ae-gold-btn { display:inline-flex; min-height:46px; align-items:center; justify-content:center; gap:18px; padding:0 24px; border:1px solid var(--ae-gold); color:#8c641e; font-weight:700; transition:.2s ease; }
.ae-outline-btn:hover,.ae-outline-btn:focus-visible { background:var(--ae-gold); color:#fff; }
.ae-hero-media,.ae-team-media { margin:0; overflow:hidden; background:#e8e6e2; }
.ae-hero-media { aspect-ratio:4/3; }
.ae-hero-media img,.ae-team-media img { width:100%; height:100%; object-fit:cover; display:block; }
.ae-hero-media figcaption { padding:9px 12px; color:#68717a; font-size:12px; background:#f1efe9; }
.ae-media-placeholder { display:flex; aspect-ratio:4/3; flex-direction:column; align-items:center; justify-content:center; gap:12px; color:#85888a; background:#e6e5e1; }
.ae-media-placeholder i { font-size:34px; }
.ae-facts { border-top:1px solid var(--ae-line); border-bottom:1px solid var(--ae-line); background:#fff; }
.ae-facts-grid { display:grid; grid-template-columns:repeat(4,1fr); }
.ae-fact { min-width:0; display:flex; gap:18px; align-items:center; padding:28px 25px; border-right:1px solid var(--ae-line); }
.ae-fact:last-child { border-right:0; }
.ae-fact i { flex:none; color:var(--ae-gold); font-size:25px; }
.ae-fact span { color:#333d48; font-size:14px; }
.ae-fact strong { display:block; margin-top:7px; color:var(--ae-navy); font-size:14px; font-weight:600; line-height:1.5; overflow-wrap:anywhere; }
.ae-section { padding:62px 0; }
.ae-section-head { display:flex; justify-content:space-between; align-items:flex-end; gap:30px; padding-bottom:22px; border-bottom:1px solid var(--ae-line); }
.ae-section-head>div { display:flex; align-items:center; gap:15px; }
.ae-head-mark { width:4px; height:28px; background:var(--ae-gold); }
.ae-section h2 { margin:0; color:var(--ae-navy); font-family:"Noto Serif SC",serif; font-size:29px; line-height:1.35; }
.ae-section-head p { margin:0; color:#6c737a; font-size:15px; }
.ae-practice { background:#fff; }
.ae-practice-list { border-bottom:1px solid var(--ae-line); }
.ae-practice-row { display:grid; grid-template-columns:64px 220px minmax(0,1fr) 100px; gap:20px; align-items:center; min-height:82px; padding:14px 18px; border-top:1px solid var(--ae-line); color:inherit; transition:background .2s ease,padding .2s ease; }
.ae-practice-row:first-child { border-top:0; }
.ae-practice-row:hover,.ae-practice-row:focus-visible { padding-left:26px; background:#faf7f0; outline:none; }
.ae-practice-index { color:var(--ae-gold); font-family:"Noto Serif SC",serif; font-size:25px; }
.ae-practice-row h3 { margin:0; color:var(--ae-navy); font-family:"Noto Serif SC",serif; font-size:20px; }
.ae-practice-row p { margin:0; color:#606870; font-size:15px; line-height:1.7; }
.ae-practice-link { justify-self:end; color:#59636c; font-size:13px; white-space:nowrap; }
.ae-practice-link i { margin-left:7px; color:var(--ae-gold); }
.ae-team-grid { display:grid; grid-template-columns:minmax(0,.86fr) minmax(440px,1.14fr); gap:70px; align-items:center; }
.ae-team article>p { margin:22px 0 28px; color:#58616a; font-size:16px; line-height:1.95; }
.ae-methods { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-bottom:25px; }
.ae-methods div { min-width:0; }
.ae-methods i { display:block; margin-bottom:12px; color:var(--ae-gold); font-size:25px; }
.ae-methods strong,.ae-methods span { display:block; }
.ae-methods strong { margin-bottom:6px; color:var(--ae-navy); font-size:15px; }
.ae-methods span { color:#747a80; font-size:12px; line-height:1.55; }
.ae-text-link { color:#9a6c1f; font-weight:700; }
.ae-text-link i { margin-left:6px; transition:transform .2s ease; }
.ae-text-link:hover i { transform:translateX(4px); }
.ae-team-media,.ae-team-placeholder { aspect-ratio:1.45/1; }
.ae-office { background:#fff; }
.ae-simple-head { padding-bottom:18px; border-bottom:1px solid var(--ae-line); margin-bottom:28px; }
.ae-gallery { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.ae-gallery-item { position:relative; min-height:220px; padding:0; overflow:hidden; border:0; background:#e4e3df; cursor:zoom-in; }
.ae-gallery-item img { width:100%; height:240px; display:block; object-fit:cover; transition:transform .35s ease; }
.ae-gallery-item:hover img,.ae-gallery-item:focus-visible img { transform:scale(1.035); }
.ae-gallery-item span { position:absolute; right:0; bottom:0; left:0; padding:10px 14px; color:#fff; text-align:left; font-size:13px; background:rgba(16,41,67,.86); }
.ae-gallery-placeholder { min-height:220px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; color:#84888b; background:#e4e3df; }
.ae-gallery-placeholder i { font-size:30px; }
.ae-proof { border-top:1px solid var(--ae-line); background:#fbfaf7; }
.ae-proof-grid { display:grid; grid-template-columns:1.05fr .95fr; gap:55px; }
.ae-license { padding-right:55px; border-right:1px solid var(--ae-line); }
.ae-license-body { display:grid; grid-template-columns:210px minmax(0,1fr); gap:28px; margin-top:25px; align-items:start; }
.ae-license-image { padding:0; border:0; background:#e7e4dd; cursor:zoom-in; }
.ae-license-image img { display:block; width:100%; height:155px; object-fit:contain; }
.ae-license-placeholder { display:flex; min-height:155px; flex-direction:column; align-items:center; justify-content:center; padding:18px; background:#e7e4dd; color:#555d65; text-align:center; line-height:1.8; }
.ae-license-body p { margin:0 0 17px; color:#58616a; line-height:1.8; }
.ae-credit-list { margin:0; }
.ae-credit-list div { display:grid; grid-template-columns:110px 1fr; gap:8px; padding:6px 0; border-top:1px solid #e3ded4; font-size:12px; }
.ae-credit-list dt { color:#7a8086; }
.ae-credit-list dd { margin:0; color:#273746; overflow-wrap:anywhere; }
.ae-values-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:30px 24px; margin-top:28px; }
.ae-values-grid div { display:flex; gap:15px; }
.ae-values-grid i { flex:none; width:28px; color:var(--ae-gold); font-size:23px; }
.ae-values-grid strong,.ae-values-grid small { display:block; }
.ae-values-grid strong { margin-bottom:6px; color:var(--ae-navy); font-size:16px; }
.ae-values-grid small { color:#69717a; font-size:12px; line-height:1.65; }
.ae-contact { background:var(--ae-navy); color:#fff; }
.ae-contact-grid { min-height:150px; display:flex; align-items:center; justify-content:space-between; gap:45px; }
.ae-contact-grid>div { display:flex; align-items:center; gap:22px; }
.ae-contact-grid>div>i { font-size:38px; color:#fff; }
.ae-contact-grid strong,.ae-contact-grid small { display:block; }
.ae-contact-grid strong { font-family:"Noto Serif SC",serif; font-size:20px; }
.ae-contact-grid small { margin-top:8px; color:#c3ccd5; font-size:13px; }
.ae-gold-btn { min-width:190px; border-color:var(--ae-gold); color:#fff; background:var(--ae-gold); }
.ae-gold-btn:hover,.ae-gold-btn:focus-visible { color:var(--ae-navy); background:#d0a453; }
.ae-lightbox { width:min(960px,calc(100vw - 32px)); max-height:90vh; padding:0; border:0; color:#fff; background:#0d1c2b; box-shadow:0 24px 70px rgba(0,0,0,.35); }
.ae-lightbox::backdrop { background:rgba(4,12,20,.82); }
.ae-lightbox-head { display:flex; justify-content:space-between; align-items:center; padding:14px 18px; }
.ae-lightbox-head h2 { margin:0; font-size:17px; }
.ae-lightbox-head button { width:44px; height:44px; border:0; color:#fff; background:transparent; cursor:pointer; }
.ae-lightbox>img { display:block; max-width:100%; max-height:calc(90vh - 72px); margin:0 auto; object-fit:contain; }
.ae-gallery-item:focus-visible,.ae-license-image:focus-visible,.ae-lightbox button:focus-visible { outline:3px solid #d5aa5e; outline-offset:3px; }

@media (max-width: 980px) {
  .ae-hero-grid,.ae-team-grid { grid-template-columns:1fr; gap:35px; }
  .ae-hero-media,.ae-media-placeholder { max-height:520px; }
  .ae-facts-grid { grid-template-columns:repeat(2,1fr); }
  .ae-fact:nth-child(2) { border-right:0; }
  .ae-fact:nth-child(-n+2) { border-bottom:1px solid var(--ae-line); }
  .ae-practice-row { grid-template-columns:55px 190px minmax(0,1fr); }
  .ae-practice-link { grid-column:3; justify-self:start; }
  .ae-proof-grid { grid-template-columns:1fr; }
  .ae-license { padding-right:0; padding-bottom:42px; border-right:0; border-bottom:1px solid var(--ae-line); }
}
@media (max-width: 680px) {
  .ae-hero { padding:38px 0 28px; }
  .ae-hero-grid { gap:28px; }
  .ae-hero h1 { font-size:34px; }
  .ae-lead { font-size:16px; line-height:1.85; }
  .ae-outline-btn,.ae-gold-btn { width:100%; min-height:48px; }
  .ae-facts-grid { grid-template-columns:1fr; }
  .ae-fact,.ae-fact:nth-child(2) { border-right:0; border-bottom:1px solid var(--ae-line); }
  .ae-fact:last-child { border-bottom:0; }
  .ae-section { padding:44px 0; }
  .ae-section-head { display:block; }
  .ae-section-head p { margin:12px 0 0 19px; line-height:1.65; }
  .ae-practice-row { grid-template-columns:48px 1fr; gap:6px 12px; min-height:0; padding:20px 8px; }
  .ae-practice-row:hover,.ae-practice-row:focus-visible { padding-left:12px; }
  .ae-practice-index { grid-row:1/4; font-size:21px; }
  .ae-practice-row h3 { font-size:18px; }
  .ae-practice-row p { font-size:14px; }
  .ae-practice-link { grid-column:2; font-size:13px; }
  .ae-methods { grid-template-columns:1fr; gap:20px; }
  .ae-methods div { display:grid; grid-template-columns:32px 1fr; }
  .ae-methods i { grid-row:1/3; }
  .ae-gallery { grid-template-columns:1fr; }
  .ae-gallery-item,.ae-gallery-placeholder { min-height:210px; }
  .ae-license-body { grid-template-columns:1fr; }
  .ae-license-image img { height:auto; max-height:340px; }
  .ae-values-grid { grid-template-columns:1fr; }
  .ae-contact-grid { min-height:0; padding-top:32px; padding-bottom:32px; flex-direction:column; align-items:stretch; }
  .ae-contact-grid>div { align-items:flex-start; }
  .ae-contact-grid strong { font-size:17px; line-height:1.6; }
}

/* ===== Verified cases and official fee disclosure v2 ===== */
.case-filter {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:0 0 28px;
}
.case-filter a {
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:9px 16px;
  border:1px solid var(--line);
  border-radius:6px;
  color:var(--navy);
  background:#fff;
  font-weight:700;
  transition:border-color .2s ease,background .2s ease,color .2s ease;
}
.case-filter a:hover,.case-filter a:focus-visible,.case-filter a.active {
  border-color:var(--navy);
  color:#fff;
  background:var(--navy);
}
.case-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.case-card-meta {
  min-height:38px;
  margin:-2px 0 12px;
  color:var(--muted);
  font-size:12px;
  line-height:1.55;
}
.case-card-meta b { margin:0 6px; color:var(--line); font-weight:400; }
.case-facts {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  margin:0 0 10px;
  border-top:1px solid var(--line);
  border-left:1px solid var(--line);
}
.case-facts>div {
  min-width:0;
  padding:16px 18px;
  border-right:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background:#fff;
}
.case-facts dt { margin-bottom:5px; color:var(--muted); font-size:12px; }
.case-facts dd { margin:0; color:var(--navy); font-weight:700; overflow-wrap:anywhere; }
.case-lawyers>div { display:flex; flex-wrap:wrap; gap:10px; }
.case-lawyers a,.case-lawyers span {
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:9px 14px;
  border:1px solid var(--line);
  border-radius:6px;
  color:var(--navy);
  background:#fff;
  font-weight:700;
}
.case-lawyers a:hover,.case-lawyers a:focus-visible { border-color:var(--gold); color:#8a6110; }
.fee-preview-list>div { grid-template-columns:minmax(130px,.7fr) minmax(0,1.3fr); }

.fee-document { color:var(--ink); background:#f6f7f8; }
.fee-authority { border-bottom:1px solid var(--line); background:#fff; }
.fee-authority-grid {
  display:grid;
  grid-template-columns:1.35fr repeat(3,1fr);
}
.fee-authority-grid>div {
  min-width:0;
  padding:22px 24px;
  border-right:1px solid var(--line);
}
.fee-authority-grid>div:first-child { padding-left:0; }
.fee-authority-grid>div:last-child { padding-right:0; border-right:0; }
.fee-authority-grid span,.fee-authority-grid strong { display:block; }
.fee-authority-grid span { margin-bottom:6px; color:var(--muted); font-size:12px; }
.fee-authority-grid strong { color:var(--navy); font-size:16px; overflow-wrap:anywhere; }
.fee-opening { background:#f6f7f8; }
.fee-editorial-grid {
  display:grid;
  grid-template-columns:220px minmax(0,1fr);
  gap:64px;
  align-items:start;
}
.fee-document-index {
  position:sticky;
  top:96px;
  display:grid;
  gap:2px;
  padding-top:4px;
}
.fee-document-index strong {
  margin-bottom:10px;
  padding-bottom:12px;
  border-bottom:2px solid var(--gold);
  color:var(--navy);
  font-size:15px;
}
.fee-document-index a {
  display:flex;
  align-items:center;
  min-height:40px;
  padding:7px 0;
  color:var(--muted);
  font-size:14px;
}
.fee-document-index a:hover,.fee-document-index a:focus-visible { color:var(--navy); }
.fee-document-body {
  min-width:0;
  padding:6px 46px 54px;
  border:1px solid var(--line);
  background:#fff;
  box-shadow:0 18px 46px rgba(16,33,61,.06);
}
.fee-prose-section {
  scroll-margin-top:100px;
  padding:42px 0;
  border-bottom:1px solid var(--line);
}
.fee-prose-section:last-child { border-bottom:0; }
.fee-prose-section h2 {
  margin:0 0 18px;
  color:var(--navy);
  font-size:clamp(25px,2.4vw,34px);
  line-height:1.35;
}
.fee-prose-section>p {
  max-width:760px;
  margin:10px 0 0;
  color:var(--ink-soft);
  line-height:1.95;
}
.fee-quick-list { margin:22px 0 0; border-top:1px solid var(--line); }
.fee-quick-list>div {
  display:grid;
  grid-template-columns:190px minmax(0,1fr);
  gap:24px;
  padding:16px 0;
  border-bottom:1px solid var(--line);
}
.fee-quick-list dt { color:var(--navy); font-weight:800; }
.fee-quick-list dd { margin:0; color:#8a6110; font-weight:800; }
.fee-subsection { margin-top:34px; }
.fee-subsection-heading { margin-bottom:14px; }
.fee-subsection-heading h3 { margin:0 0 6px; color:var(--navy); font-size:20px; }
.fee-subsection-heading p { max-width:720px; margin:0; color:var(--muted); line-height:1.75; }
.fee-table-wrap { overflow-x:auto; border:1px solid var(--line); background:#fff; }
.fee-table { width:100%; border-collapse:collapse; }
.fee-table th,.fee-table td { padding:15px 16px; border-bottom:1px solid var(--line); text-align:left; vertical-align:middle; }
.fee-table th { color:var(--navy); background:#edf1f5; font-size:13px; }
.fee-table td { color:var(--ink-soft); line-height:1.65; }
.fee-table th:first-child,.fee-table td:first-child { width:28%; }
.fee-table th:nth-child(2),.fee-table td:nth-child(2) { width:21%; }
.fee-table tr:last-child td { border-bottom:0; }
.fee-table strong { color:var(--navy); }
.fee-amount { color:#8a6110; font-weight:900; white-space:nowrap; }
.fee-cost-columns {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:1px;
  border:1px solid var(--line);
  background:var(--line);
}
.fee-cost-columns>div { padding:26px; background:#fff; }
.fee-cost-columns h3 { margin:0 0 10px; color:var(--navy); }
.fee-cost-columns p { margin:0; color:var(--ink-soft); line-height:1.85; }
.fee-compliance-panel {
  margin:0 -20px;
  padding:38px 20px 38px 32px;
  border-left:4px solid var(--gold);
  background:#f7f3e9;
}
.fee-contact-section dl { margin:22px 0; border-top:1px solid var(--line); }
.fee-contact-section dl>div {
  display:grid;
  grid-template-columns:130px minmax(0,1fr);
  gap:24px;
  padding:14px 0;
  border-bottom:1px solid var(--line);
}
.fee-contact-section dt { color:var(--muted); }
.fee-contact-section dd { margin:0; color:var(--navy); font-weight:700; }
.fee-contact-section a { color:#8a6110; }
.fee-review-empty { max-width:760px; margin:0 auto; }
.contact-fee-quick { margin:12px 0 16px; border-top:1px solid var(--line); }
.contact-fee-quick>div { display:grid; grid-template-columns:130px minmax(0,1fr); gap:12px; padding:9px 0; border-bottom:1px solid var(--line); }
.contact-fee-quick dt { color:var(--navy); font-weight:700; }
.contact-fee-quick dd { margin:0; color:#8a6110; font-weight:700; }

@media (max-width: 980px) {
  .fee-authority-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .fee-authority-grid>div,.fee-authority-grid>div:first-child,.fee-authority-grid>div:last-child { padding:18px; border-right:1px solid var(--line); border-bottom:1px solid var(--line); }
  .fee-editorial-grid { grid-template-columns:1fr; gap:24px; }
  .fee-document-index {
    position:static;
    display:flex;
    overflow-x:auto;
    gap:8px;
    padding:0 0 8px;
    scrollbar-width:thin;
  }
  .fee-document-index strong { display:none; }
  .fee-document-index a { flex:0 0 auto; min-height:44px; padding:9px 13px; border:1px solid var(--line); border-radius:6px; background:#fff; }
  .fee-document-body { padding:4px 34px 42px; }
}
@media (max-width: 700px) {
  .case-grid,.case-grid.compact { grid-template-columns:1fr; }
  .case-filter { flex-wrap:nowrap; overflow-x:auto; padding-bottom:5px; }
  .case-filter a { flex:0 0 auto; }
  .case-facts { grid-template-columns:1fr; }
  .fee-authority-grid { grid-template-columns:1fr 1fr; }
  .fee-document-body { padding:0 18px 28px; }
  .fee-prose-section { padding:32px 0; }
  .fee-prose-section h2 { font-size:25px; }
  .fee-quick-list>div,.fee-contact-section dl>div { grid-template-columns:1fr; gap:5px; }
  .fee-cost-columns { grid-template-columns:1fr; }
  .fee-compliance-panel { margin:0 -10px; padding:30px 14px 30px 20px; }
  .fee-table,.fee-table tbody,.fee-table tr,.fee-table td { display:block; width:100%; }
  .fee-table thead { display:none; }
  .fee-table tr { padding:12px 16px; border-bottom:1px solid var(--line); }
  .fee-table tr:last-child { border-bottom:0; }
  .fee-table td,.fee-table td:first-child,.fee-table td:nth-child(2) { display:grid; grid-template-columns:96px minmax(0,1fr); width:auto; gap:12px; padding:8px 0; border:0; }
  .fee-table td::before { content:attr(data-label); color:var(--muted); font-size:13px; }
  .fee-amount { white-space:normal; }
}
@media (prefers-reduced-motion: reduce) {
  .case-filter a { transition:none; }
}
