/* Bomai Law Firm - Frontend UI */
:root {
  --paper: #f6f3ed;
  --surface: #ffffff;
  --surface-soft: #faf8f3;
  --ink: #172033;
  --ink-soft: #475569;
  --muted: #6b7280;
  --line: rgba(23,32,51,.11);
  --navy: #172b57;
  --navy-2: #214476;
  --gold: #b68a35;
  --green: #1f7a5c;
  --danger: #b42318;
  --shadow: 0 16px 42px rgba(23,32,51,.08);
  --shadow-soft: 0 8px 24px rgba(23,32,51,.06);
  --radius: 8px;
  --radius-sm: 6px;
  --container: 1180px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(23,43,87,.035) 1px, transparent 1px),
    linear-gradient(rgba(23,43,87,.03) 1px, transparent 1px);
  background-size: 48px 48px;
}

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: 84px 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: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-header {
  max-width: 720px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-header.compact { margin-bottom: 30px; }

h1, h2, h3, h4, p { margin-top: 0; }

h1 {
  font-size: 46px;
  line-height: 1.16;
  margin-bottom: 18px;
  font-weight: 800;
  text-wrap: balance;
}

h2 {
  font-size: 32px;
  line-height: 1.22;
  margin-bottom: 18px;
  font-weight: 760;
  text-wrap: balance;
}

h3 {
  font-size: 19px;
  line-height: 1.35;
  margin-bottom: 10px;
  font-weight: 720;
}

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,43,87,.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,43,87,.28); box-shadow: var(--shadow-soft); }
.btn-outline { background: transparent; color: var(--navy); border-color: rgba(23,43,87,.28); }
.btn-outline:hover { background: rgba(23,43,87,.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: 24px;
}

.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 ul { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  display: block;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,.9);
  font-size: 15px;
  font-weight: 650;
  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,43,87,.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);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.service-card,
.info-card {
  display: flex;
  min-height: 226px;
  flex-direction: column;
  padding: 24px;
  color: var(--ink);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s 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(-3px);
  border-color: rgba(23,43,87,.26);
  box-shadow: var(--shadow);
}
.service-card.large { min-height: 250px; }
.card-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: var(--radius-sm);
  background: rgba(23,43,87,.08);
  color: var(--navy);
  font-size: 19px;
}
.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; 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: 64px 0;
  background: var(--navy);
  color: #fff;
}
.cta-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.cta-band h2,
.cta-band p { color: #fff; }
.cta-band p { opacity: .78; max-width: 640px; }
.cta-band .btn-primary { background: #fff; color: var(--navy); border-color: #fff; }

/* Page banner */
.page-banner {
  padding: 132px 0 76px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(13,22,40,.92), rgba(23,43,87,.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: 760px; 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,43,87,.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,43,87,.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: start;
}
.contact-panel,
.contact-form-card { padding: 22px; }
.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,43,87,.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-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 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,43,87,.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,43,87,.24);
  background: rgba(255,255,255,.7);
  text-align: center;
}
.rich-empty h2 { margin-bottom: 10px; }
.rich-empty .btn { margin-top: 8px; }

/* Footer */
.site-footer {
  padding: 58px 0 24px;
  background: #111827;
  color: #fff;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1.2fr;
  gap: 34px;
}
.site-footer h3,
.site-footer h4 { color: #fff; margin-bottom: 14px; }
.site-footer p,
.site-footer a { color: rgba(255,255,255,.72); }
.site-footer li { margin-bottom: 8px; }
.site-footer a:hover { color: #fff; }
.footer-qrs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  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;
}
.footer-qrs figcaption {
  margin-top: 4px;
  color: rgba(255,255,255,.72);
  font-size: 12px;
  text-align: center;
}
.footer-bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: 13px;
}

.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); }

/* 2026 front polish */
.section { padding: 96px 0; }
.muted-section { background: rgba(255,255,255,.56); }
.section-header.split-header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  text-align: left;
}
.section-header.split-header > div { max-width: 760px; }

.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: 760px;
  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,43,87,.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: 24px; }
.lawyer-card-pro {
  min-height: 100%;
  background: var(--surface);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(20, 32, 51, .06);
  transition: box-shadow .32s ease, transform .32s ease;
}

.lawyer-card-pro:hover {
  box-shadow: 0 12px 32px rgba(20, 32, 51, .12);
  transform: translateY(-4px);
}
.lawyer-card-pro img {
  aspect-ratio: 4 / 5;
  filter: saturate(.96) contrast(1.02);
}
.lawyer-card-pro div { padding: 20px; }
.lawyer-card-pro small {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}
.lawyer-card-pro h3 { font-size: 21px; }
.lawyer-card-pro p {
  min-height: 48px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.lawyer-card-pro em {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--navy);
  font-style: normal;
  font-weight: 800;
}
.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,43,87,.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,43,87,.75)),
    url("/static/images/generated/hero-office-v3.jpg") center / cover;
}
.news-banner {
  background:
    linear-gradient(90deg, rgba(13,22,40,.92), rgba(23,43,87,.75)),
    url("/static/images/generated/news-research-v3.jpg") center / cover;
}
.practice-banner {
  background:
    linear-gradient(90deg, rgba(13,22,40,.92), rgba(23,43,87,.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: 340px minmax(0, 1fr);
}
.profile-card-pro {
  position: sticky;
  top: 96px;
}
.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 18px;
}
.profile-tags span {
  padding: 5px 9px;
  border-radius: var(--radius-sm);
  background: rgba(23,43,87,.08);
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
}
.profile-contact-list {
  display: grid;
  gap: 8px;
  margin: 18px 0;
}
.profile-contact-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 14px;
  word-break: break-word;
}
.profile-contact-list i { color: var(--gold); }
.profile-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  margin-bottom: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}
.profile-facts div {
  padding: 18px;
  background: var(--surface-soft);
}
.profile-facts span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.profile-facts strong {
  display: block;
  margin-top: 8px;
  color: var(--navy);
  font-size: 15px;
  line-height: 1.55;
}

.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; }
.detail-callout {
  margin-top: 32px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
}
.detail-callout h3,
.detail-callout p { color: #fff; }
.detail-callout p { opacity: .82; }
.detail-callout ul {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}
.detail-callout li {
  display: flex;
  gap: 8px;
  color: rgba(255,255,255,.84);
}
.detail-callout i { color: #f5d48b; margin-top: 6px; }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

@media (max-width: 1020px) {
  .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: 760px) {
  .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,43,87,.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; }
  .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(20,32,51,.095);
  --shadow: 0 18px 44px rgba(20,32,51,.075);
  --shadow-soft: 0 1px 2px rgba(20,32,51,.045), 0 10px 26px rgba(20,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(20,38,79,.14);
}
.btn-primary:hover { background: #203d70; }
.btn-secondary,
.btn-outline {
  background: rgba(255,255,255,.86);
  border-color: rgba(20,32,51,.14);
}

.site-header.scrolled,
.site-header:not(.header-transparent) {
  background: rgba(250,249,245,.94);
  box-shadow: 0 1px 0 rgba(20,32,51,.08), 0 12px 30px rgba(20,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(20,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(20,32,51,.08);
  box-shadow: 0 18px 42px rgba(20,32,51,.09);
}
.trust-item {
  position: relative;
  padding: 26px 22px;
}
.trust-item + .trust-item { border-left: 1px solid rgba(20,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(20,32,51,.09);
  box-shadow: 0 1px 0 rgba(20,32,51,.035), 0 12px 30px rgba(20,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(20,32,51,.04), 0 18px 42px rgba(20,32,51,.075);
}
.card-icon {
  background: #f1eee6;
  color: #14264f;
}
.process-grid {
  gap: 0;
  box-shadow: 0 1px 0 rgba(20,32,51,.035), 0 12px 30px rgba(20,32,51,.045);
}
.process-card {
  border: 0;
  border-radius: 0;
}
.process-card + .process-card { border-left: 1px solid rgba(20,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; }
.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(20,32,51,.085);
}
.form-group input,
.form-group textarea,
.form-group select {
  background: #fbfaf7;
}

.site-footer {
  background: #111a2b;
}

@media (max-width: 1020px) {
  .hero-editorial .hero-grid { gap: 34px; }
  .process-card + .process-card { border-left: 0; border-top: 1px solid rgba(20,32,51,.09); }
}

@media (max-width: 760px) {
  .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(20,32,51,.08); }
  .trust-item:nth-child(n+3) { border-top: 1px solid rgba(20,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(20, 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 {
  max-width: 900px;
  margin: 0 auto 44px;
  text-align: center;
}

.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(20, 32, 51, .1);
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  background: #fff;
  box-shadow: 0 24px 62px rgba(20, 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(20, 32, 51, .08);
  border-bottom: 1px solid rgba(20, 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(20, 32, 51, .1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 62px rgba(20, 32, 51, .07);
}

.business-card {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 360px;
  padding: 28px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(20, 32, 51, .08);
  border-radius: 8px;
  margin: 8px;
  box-shadow: 0 4px 16px rgba(20, 32, 51, .06);
  transition: flex-basis .42s ease, background .32s ease, color .32s ease, box-shadow .32s ease;
}

.business-card:hover {
  box-shadow: 0 8px 28px rgba(20, 32, 51, .12);
}

.business-card.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;
  box-shadow: 0 12px 36px rgba(20, 32, 51, .2);
}

.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(20, 32, 51, .08);
  border-bottom: 1px solid rgba(20, 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: 48px;
  height: 48px;
  margin-bottom: 28px;
  border-radius: 8px;
  color: var(--navy);
  background: #f1eee6;
}

.business-card.active i {
  color: #fff;
  background: rgba(255, 255, 255, .14);
}

.business-card h3 {
  margin: 0;
  color: inherit;
  font-size: 24px;
  line-height: 1.25;
}

.business-card p {
  margin: 14px 0 0;
  color: var(--ink-soft);
  line-height: 1.78;
}

.business-card.active p {
  color: rgba(255, 255, 255, .78);
  font-size: 17px;
}

.business-card em {
  margin-top: auto;
  padding-top: 24px;
  color: var(--gold);
  font-style: normal;
  font-weight: 800;
}

.business-card:hover {
  transform: translateY(-4px);
  border-color: rgba(184, 132, 42, .36);
  box-shadow: 0 1px 0 rgba(20, 32, 51, .04), 0 24px 58px rgba(20, 32, 51, .09);
}

.business-card:hover em i,
.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-grid-featured {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.lawyer-card-pro {
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  transition: transform .32s ease, box-shadow .32s ease, border-color .32s ease;
}

.lawyer-card-pro img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  filter: saturate(.92) contrast(1.04);
  transition: transform .7s ease;
}

.lawyer-card-pro:hover img {
  transform: scale(1.04);
}

.lawyer-card-pro div {
  padding: 24px;
}

.lawyer-card-pro small {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.lawyer-card-pro h3 {
  margin: 10px 0 8px;
  color: var(--navy);
  font-size: 24px;
}

.lawyer-card-pro span {
  color: var(--muted);
  font-weight: 700;
}

.lawyer-card-pro p {
  min-height: 72px;
  margin: 16px 0 22px;
  color: var(--ink-soft);
  line-height: 1.72;
}

.lawyer-card-pro em {
  color: var(--gold);
  font-style: normal;
  font-weight: 800;
}

.lawyer-card-pro em i,
.business-card em i,
.news-feature-card h3,
.news-list-card h3 {
  transition: transform .28s ease, color .28s ease;
}

.lawyer-card-pro.is-placeholder img {
  background: #eef0f3;
}

.method-accordion-section {
  background: #f4f1ea;
}

.method-accordion {
  display: flex;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid rgba(20, 32, 51, .1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 62px rgba(20, 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(20, 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(20, 32, 51, .08);
  box-shadow: 0 4px 16px rgba(20, 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(20, 32, 51, .08);
  box-shadow: 0 4px 16px rgba(20, 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;
}

.site-footer {
  padding: 44px 0 18px;
  background: #0f1726;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.footer-grid {
  gap: 30px;
}

.site-footer h3,
.site-footer h4 {
  color: #fff;
  font-size: 17px;
  line-height: 1.35;
}

.site-footer h4 {
  color: #f0d39b;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, .7);
  line-height: 1.72;
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .09);
}

@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: 1020px) {
  .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: 200px;
  }

  .business-card.active {
    flex-basis: 50%;
  }
}

@media (max-width: 760px) {
  .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: 180px;
  }

  .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;
  }
}

/* ===== 面包屑导航 ===== */
.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; }
