/* ==========================================================================
   Michael L. Walker, ESQ — Attorney at Law · Bay Ridge, Brooklyn
   brooklynlawyerseries.com — design system
   Palette: navy / burgundy / gold / white / light gray
   ========================================================================== */

:root {
  --navy-900: #0b1626;
  --navy-800: #10233a;
  --navy-700: #1a3454;
  --navy-600: #27476d;
  --burgundy: #7a1f2b;
  --burgundy-dark: #5d1620;
  --burgundy-light: #9c3140;
  --gold: #b0894f;
  --gold-light: #cfb07a;
  --gold-pale: #f0e6d4;

  --ink: #131b26;
  --body: #4b5665;
  --muted: #6d7787;
  --line: #dedbd4;
  --line-soft: #ecebe6;

  --white: #ffffff;
  --bg-alt: #f7f5f1;
  --bg-tint: #f1ede6;

  --font-display: "Playfair Display", "Times New Roman", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --shadow-sm: 0 1px 2px rgba(11, 22, 38, .06), 0 2px 8px rgba(11, 22, 38, .05);
  --shadow-md: 0 4px 12px rgba(11, 22, 38, .08), 0 12px 32px rgba(11, 22, 38, .07);
  --shadow-lg: 0 10px 30px rgba(11, 22, 38, .12), 0 30px 70px rgba(11, 22, 38, .10);

  --radius: 3px;
  --radius-md: 5px;
  --container: 1200px;
  --transition: .25s ease;
  --header-h: 96px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: hidden; max-width: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--burgundy); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--burgundy-light); }
ul, ol { padding-left: 1.25rem; }
figure { margin: 0; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--navy-900);
  line-height: 1.2;
  margin: 0 0 .6em;
  font-weight: 700;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.1rem, 4.4vw, 3.35rem); }
h2 { font-size: clamp(1.7rem, 3.1vw, 2.5rem); }
h3 { font-size: clamp(1.22rem, 1.9vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1.15rem; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--navy-900); color: #fff; padding: 12px 20px; font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; color: #fff; }

/* ---------- layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 860px; }
.section { padding: 88px 0; }
.section-sm { padding: 60px 0; }
.section-alt { background: var(--bg-alt); }
.section-tint { background: var(--bg-tint); }
.section-navy { background: var(--navy-900); color: rgba(255,255,255,.82); }
.section-navy h1, .section-navy h2, .section-navy h3, .section-navy h4 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.eyebrow-burgundy { color: var(--burgundy); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.06rem; margin-bottom: 0; }
.rule {
  width: 56px; height: 3px; background: var(--gold);
  margin: 0 0 22px; border: 0;
}
.section-head.center .rule { margin-left: auto; margin-right: auto; }
.lead { font-size: 1.12rem; color: var(--ink); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-body);
  font-size: .84rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 16px 30px; min-height: 52px;
  border: 1px solid transparent; border-radius: var(--radius);
  cursor: pointer; transition: all var(--transition); text-align: center;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-primary { background: var(--burgundy); color: #fff; border-color: var(--burgundy); }
.btn-primary:hover { background: var(--burgundy-dark); border-color: var(--burgundy-dark); color: #fff; }
.btn-navy { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.btn-navy:hover { background: var(--navy-900); color: #fff; }
.btn-gold { background: var(--gold); color: var(--navy-900); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-light); color: var(--navy-900); }
.btn-outline { background: transparent; color: var(--navy-800); border-color: var(--navy-800); }
.btn-outline:hover { background: var(--navy-800); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-outline-light:hover { background: #fff; color: var(--navy-900); border-color: #fff; }
.btn-ghost { background: transparent; color: var(--burgundy); border-color: var(--line); padding: 12px 20px; min-height: 44px; }
.btn-ghost:hover { border-color: var(--burgundy); background: #fff; }
.btn-sm { padding: 11px 20px; min-height: 44px; font-size: .76rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
/* two CTAs sharing one narrow column (e.g. under an image) */
.btn-row-split { gap: 12px; }
.btn-row-split .btn { flex: 1 1 0; min-width: 0; padding-left: 18px; padding-right: 18px; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--burgundy);
}
.text-link::after { content: "→"; transition: transform var(--transition); }
.text-link:hover::after { transform: translateX(4px); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.topbar {
  background: var(--navy-900);
  color: rgba(255,255,255,.72);
  font-size: .8rem;
  letter-spacing: .02em;
}
.topbar .container {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 20px; min-height: 40px; padding-top: 6px; padding-bottom: 6px;
}
.topbar-items { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: var(--gold-light); }
.topbar-item { display: inline-flex; align-items: center; gap: 8px; }
.topbar-item svg { width: 14px; height: 14px; stroke: var(--gold); fill: none; stroke-width: 1.7; flex: none; }

.site-header {
  position: sticky; top: 0; z-index: 200;
  background: #fff;
  border-bottom: 1px solid var(--line-soft);
  box-shadow: 0 1px 0 rgba(11,22,38,.04);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark { flex: none; width: 46px; height: 46px; }
.brand-text { display: block; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 700; color: var(--navy-900);
  line-height: 1.1; letter-spacing: -.01em; white-space: nowrap;
}
.brand-sub {
  display: block; margin-top: 4px; white-space: nowrap;
  font-size: .625rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold);
}
.brand a { color: inherit; }
.brand a:hover .brand-name { color: var(--burgundy); }

.main-nav > ul {
  display: flex; align-items: center; gap: 4px;
  list-style: none; margin: 0; padding: 0;
}
.main-nav a {
  display: block; padding: 12px 14px;
  font-size: .82rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
  color: var(--navy-800); white-space: nowrap;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--burgundy); }
.main-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--gold); }

.has-sub { position: relative; }
.has-sub > a::after { content: "▾"; margin-left: 7px; font-size: .7em; opacity: .65; }
.submenu {
  position: absolute; top: 100%; left: 0; min-width: 288px;
  background: #fff; border: 1px solid var(--line-soft); border-top: 3px solid var(--gold);
  box-shadow: var(--shadow-md);
  list-style: none; margin: 0; padding: 10px 0;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .2s ease;
}
.has-sub:hover .submenu,
.has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a {
  padding: 10px 22px; text-transform: none; letter-spacing: 0;
  font-size: .93rem; font-weight: 500; color: var(--ink);
}
.submenu a:hover { background: var(--bg-alt); color: var(--burgundy); }
.submenu .submenu-all { border-top: 1px solid var(--line-soft); margin-top: 8px; padding-top: 12px; }
.submenu .submenu-all a { font-weight: 700; color: var(--burgundy); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }

.header-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none; width: 48px; height: 48px;
  background: none; border: 1px solid var(--line); border-radius: var(--radius);
  cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy-900); position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--navy-900);
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 55%, #16304e 100%);
  color: rgba(255,255,255,.86);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 82% 18%, rgba(176,137,79,.16), transparent 46%),
                    radial-gradient(circle at 6% 92%, rgba(122,31,43,.24), transparent 42%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid; grid-template-columns: 1.08fr .92fr; gap: 60px; align-items: center;
  padding: 84px 0 88px;
}

/* full-bleed banner variant (homepage) */
.hero-banner {
  background-color: var(--navy-900);
  background-image: url("/assets/images/us-capitol-immigration-federal-law-banner.jpg");
  background-size: cover;
  background-position: 72% 28%;
  background-repeat: no-repeat;
}
.hero-banner::before {
  background-image:
    linear-gradient(100deg,
      rgba(8, 18, 32, .96) 0%,
      rgba(9, 20, 35, .93) 34%,
      rgba(11, 24, 41, .78) 58%,
      rgba(12, 28, 48, .58) 78%,
      rgba(12, 28, 48, .52) 100%),
    radial-gradient(circle at 88% 16%, rgba(176,137,79,.20), transparent 46%),
    radial-gradient(circle at 2% 94%, rgba(122,31,43,.26), transparent 46%);
}
.hero-banner .hero-grid {
  grid-template-columns: 1fr;
  padding: 70px 0 74px;
}
.hero-banner .hero-grid > div { max-width: 700px; }
.hero-banner .hero-trust { margin-bottom: 20px; }
.hero-banner .hero-sub { margin-bottom: 26px; }
.hero-banner .hero-note { margin-top: 20px; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero-sub { font-size: 1.1rem; line-height: 1.8; max-width: 60ch; margin-bottom: 30px; }
.hero-trust {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 26px; padding: 8px 16px 8px 12px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  border-radius: 100px; font-size: .84rem; color: rgba(255,255,255,.9);
}
.hero-trust svg { width: 16px; height: 16px; stroke: var(--gold-light); fill: none; stroke-width: 1.8; flex: none; }
.hero-note { margin-top: 24px; font-size: .84rem; color: rgba(255,255,255,.6); max-width: 56ch; }

.hero-figure { position: relative; }
.hero-figure img {
  width: 100%; border-radius: 2px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.12);
}
.hero-figure::after {
  content: ""; position: absolute; left: -18px; bottom: -18px; width: 130px; height: 130px;
  border-left: 3px solid var(--gold); border-bottom: 3px solid var(--gold);
  pointer-events: none;
}
.hero-badge {
  position: absolute; right: -16px; top: 28px;
  background: #fff; color: var(--navy-900);
  padding: 14px 18px; box-shadow: var(--shadow-md);
  border-left: 3px solid var(--burgundy);
  max-width: 210px;
}
.hero-badge strong { display: block; font-family: var(--font-display); font-size: 1.02rem; line-height: 1.25; }
.hero-badge span { display: block; margin-top: 3px; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* page hero (interior pages) */
.page-hero {
  position: relative;
  background: linear-gradient(150deg, var(--navy-900), var(--navy-700));
  color: rgba(255,255,255,.82);
  padding: 68px 0 60px;
  overflow: hidden;
}
.page-hero.has-image::before {
  content: ""; position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: .22;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; margin-bottom: 14px; max-width: 22ch; }
.page-hero p { max-width: 68ch; margin-bottom: 0; font-size: 1.05rem; }

/* navy hero with the copy split across two balanced columns */
.page-hero-split { padding: 58px 0 62px; }
.hero-split { display: grid; grid-template-columns: 1.12fr .88fr; gap: 52px; align-items: center; }
.hero-split h1 { margin-bottom: 16px; max-width: none; font-size: clamp(1.85rem, 3.05vw, 2.7rem); }
.hero-split .rule { margin-bottom: 0; }
.hero-split p { font-size: 1.06rem; line-height: 1.75; margin-bottom: 26px; max-width: 60ch; }
.hero-split .btn-row { margin-bottom: 0; }

/* balanced multi-column body copy */
.section-head-wide { max-width: none; }
.section-head-wide .lead { max-width: 92ch; }
.section-head-wide > p { max-width: 92ch; }
.body-cols { columns: 2; column-gap: 54px; }
.body-cols p { break-inside: avoid; margin-bottom: 1.15rem; }
.body-cols p:last-child { margin-bottom: 0; }
.matters-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 10px 40px; }

.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; font-size: .8rem; }
.breadcrumb li::after { content: "/"; margin-left: 8px; opacity: .45; }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a { color: var(--gold-light); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li[aria-current] { color: rgba(255,255,255,.7); }

/* ==========================================================================
   CREDIBILITY STRIP
   ========================================================================== */
.credibility { background: var(--navy-800); border-top: 1px solid rgba(255,255,255,.08); }
.credibility ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, 1fr);
}
.credibility li {
  display: flex; align-items: center; gap: 12px;
  padding: 22px 20px;
  color: rgba(255,255,255,.9); font-size: .88rem; font-weight: 500; line-height: 1.4;
  border-left: 1px solid rgba(255,255,255,.1);
}
.credibility li:first-child { border-left: 0; }
.credibility svg { width: 22px; height: 22px; stroke: var(--gold); fill: none; stroke-width: 1.6; flex: none; }

/* ==========================================================================
   QUICK LINKS ROW (four-column signpost)
   ========================================================================== */
.quicklinks {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.quicklink {
  display: flex; flex-direction: column;
  padding: 44px 34px 40px;
  border-left: 1px solid var(--line-soft);
  transition: background var(--transition);
}
.quicklink:first-child { border-left: 0; }
.quicklink:hover { background: var(--bg-alt); }
.ql-icon { width: 26px; height: 26px; stroke: var(--navy-700); fill: none; stroke-width: 1.5; margin-bottom: 28px; }
.ql-label {
  font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px;
}
.quicklink h3 { font-size: 1.34rem; line-height: 1.25; margin-bottom: 12px; }
.quicklink h3 a { color: var(--navy-900); }
.quicklink h3 a:hover { color: var(--burgundy); }
.quicklink p { font-size: .95rem; margin-bottom: 24px; }
.quicklink .text-link { margin-top: auto; }

/* ==========================================================================
   ATTORNEY INTRO
   ========================================================================== */
.attorney-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: start; }

/* text wraps beside the portrait and continues underneath it */
.attorney-flow { display: block; }
.attorney-flow::after { content: ""; display: block; clear: both; }
.attorney-flow .attorney-figure {
  float: left;
  width: 42%;
  max-width: 470px;
  margin: 8px 46px 26px 0;
}
.attorney-flow .rule { display: inline-block; vertical-align: top; }
.attorney-figure { position: relative; }
.attorney-figure img { width: 100%; box-shadow: var(--shadow-md); }
.attorney-figure figcaption {
  margin-top: 14px; font-size: .82rem; color: var(--muted); font-style: italic;
}
.fact-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 0; }
.fact-list li {
  display: grid; grid-template-columns: 190px 1fr; gap: 18px;
  padding: 14px 0; border-top: 1px solid var(--line-soft);
  font-size: .96rem;
}
.fact-list li:last-child { border-bottom: 1px solid var(--line-soft); }
.fact-list dt, .fact-list .k {
  font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--navy-700);
}
.fact-list .v { color: var(--body); }

/* ==========================================================================
   AI LEGAL ISSUE CHECKER
   ========================================================================== */
.checker-section {
  background: linear-gradient(165deg, var(--navy-900) 0%, #142a45 100%);
  color: rgba(255,255,255,.82);
  position: relative; overflow: hidden;
}
.checker-section::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 88% 12%, rgba(176,137,79,.16), transparent 45%),
                    radial-gradient(circle at 4% 88%, rgba(122,31,43,.22), transparent 45%);
}
.checker-section .container { position: relative; z-index: 2; }
.checker-head { max-width: 780px; margin: 0 auto 34px; text-align: center; }
.checker-head h2 { color: #fff; }
.checker-head p { color: rgba(255,255,255,.78); }

.disclaimer-box {
  border: 1px solid rgba(255,255,255,.2);
  border-left: 3px solid var(--gold);
  background: rgba(255,255,255,.05);
  padding: 16px 20px; margin: 0 auto 14px; max-width: 900px;
  font-size: .88rem; line-height: 1.65; color: rgba(255,255,255,.84);
  text-align: left;
}
.disclaimer-box strong { color: #fff; }
.disclaimer-box.privacy { border-left-color: var(--burgundy-light); }

.checker-card {
  max-width: 900px; margin: 30px auto 0;
  background: #fff; color: var(--body);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.checker-top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 18px 28px; background: var(--bg-alt); border-bottom: 1px solid var(--line-soft);
}
.checker-step-label {
  font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--navy-700);
}
.checker-skip { font-size: .82rem; font-weight: 600; color: var(--burgundy); }
.progress-track { height: 5px; background: var(--line-soft); }
.progress-bar { height: 100%; width: 14.28%; background: linear-gradient(90deg, var(--burgundy), var(--gold)); transition: width .35s ease; }

.checker-body { padding: 34px 28px 30px; }
.checker-q { font-family: var(--font-display); font-size: 1.5rem; color: var(--navy-900); margin: 0 0 8px; line-height: 1.28; }
.checker-hint { font-size: .9rem; color: var(--muted); margin-bottom: 22px; }

.opt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(232px, 1fr)); gap: 12px; }
.opt {
  display: flex; align-items: center; gap: 13px;
  width: 100%; min-height: 62px; padding: 14px 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  font-family: var(--font-body); font-size: .96rem; font-weight: 500; color: var(--ink);
  text-align: left; cursor: pointer; transition: all var(--transition);
}
.opt:hover { border-color: var(--navy-600); background: var(--bg-alt); }
.opt[aria-pressed="true"], .opt.selected {
  border-color: var(--burgundy); background: #fdf6f6;
  box-shadow: inset 0 0 0 1px var(--burgundy);
}
.opt[aria-pressed="true"]::after, .opt.selected::after {
  content: "✓"; margin-left: auto; color: var(--burgundy); font-weight: 700;
}
.opt-icon { width: 34px; height: 34px; flex: none; stroke: var(--navy-700); fill: none; stroke-width: 1.5; }
.opt[aria-pressed="true"] .opt-icon, .opt.selected .opt-icon { stroke: var(--burgundy); }

.checker-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.checker-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  padding: 18px 28px; border-top: 1px solid var(--line-soft); background: var(--bg-alt);
}
.checker-count { font-size: .82rem; color: var(--muted); }
.checker-foot-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* result */
.result-banner {
  padding: 22px 26px; border-radius: var(--radius);
  background: var(--navy-800); color: #fff; margin-bottom: 24px;
}
.result-banner .tag {
  display: inline-block; padding: 5px 12px; border-radius: 100px;
  background: var(--gold); color: var(--navy-900);
  font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px;
}
.result-banner h3 { color: #fff; margin-bottom: 8px; }
.result-banner p { color: rgba(255,255,255,.85); margin-bottom: 0; font-size: .96rem; }
.result-block { margin-bottom: 24px; }
.result-block h4 {
  font-family: var(--font-body); font-size: .76rem; font-weight: 800;
  letter-spacing: .13em; text-transform: uppercase; color: var(--navy-700);
  padding-bottom: 8px; border-bottom: 1px solid var(--line-soft); margin-bottom: 14px;
}
.summary-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.summary-list li { display: grid; grid-template-columns: 190px 1fr; gap: 14px; font-size: .94rem; }
.summary-list .k { color: var(--muted); font-size: .84rem; }
.summary-list .v { color: var(--ink); font-weight: 500; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.check-list li { position: relative; padding-left: 28px; font-size: .95rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 14px; height: 8px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}
.result-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.fineprint { font-size: .8rem; color: var(--muted); line-height: 1.6; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line-soft); }

.checker-fallback { max-width: 900px; margin: 22px auto 0; text-align: center; font-size: .88rem; color: rgba(255,255,255,.7); }
.checker-fallback a { color: var(--gold-light); text-decoration: underline; }

/* ==========================================================================
   LONG-FORM SERVICE PAGE: main column + sticky sidebar
   ========================================================================== */
.page-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 330px;
  gap: 60px; align-items: start;
}
.page-main { min-width: 0; }
.page-side { position: sticky; top: 118px; display: grid; gap: 24px; }

.side-card { background: #fff; border: 1px solid var(--line-soft); padding: 24px 22px 26px; }
.side-card > h3 {
  font-family: var(--font-body); font-size: .74rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase; color: var(--navy-700);
  margin: 0 0 16px; padding-bottom: 11px; border-bottom: 1px solid var(--line-soft);
}
.side-card p { font-size: .92rem; margin-bottom: .9rem; }
.side-card p:last-child { margin-bottom: 0; }
.side-card.navy { background: var(--navy-900); border-color: var(--navy-900); color: rgba(255,255,255,.78); }
.side-card.navy > h3 { color: var(--gold); border-bottom-color: rgba(255,255,255,.16); }
.side-phone {
  display: block; font-family: var(--font-display); font-size: 1.5rem;
  color: var(--gold-light); margin-bottom: 6px;
}
.side-phone:hover { color: #fff; }
.side-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.side-links a {
  display: block; padding: 9px 12px; font-size: .93rem; color: var(--ink);
  border-left: 2px solid transparent; transition: all var(--transition);
}
.side-links a:hover { background: var(--bg-alt); color: var(--burgundy); }
.side-links a[aria-current="page"] {
  background: var(--bg-alt); border-left-color: var(--gold);
  color: var(--burgundy); font-weight: 600;
}
.side-meta { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; font-size: .92rem; }
.side-meta li { display: flex; gap: 11px; }
.side-meta svg { width: 17px; height: 17px; stroke: var(--burgundy); fill: none; stroke-width: 1.7; flex: none; margin-top: 3px; }

/* inline CTA banner inside the article */
.inline-cta {
  background: linear-gradient(150deg, var(--navy-900), var(--navy-700));
  border-left: 4px solid var(--gold);
  color: rgba(255,255,255,.84);
  padding: 32px 34px 34px; margin: 2.8rem 0;
}
.inline-cta h3 { color: #fff; font-size: 1.4rem; margin-bottom: 10px; }
.inline-cta p { font-size: 1rem; margin-bottom: 20px; }
.inline-cta .btn-row { margin: 0; }

/* numbered process list inside an article */
.step-list { list-style: none; counter-reset: st; margin: 0 0 1.6rem; padding: 0; display: grid; gap: 16px; }
.step-list li {
  counter-increment: st; position: relative;
  padding: 18px 22px 18px 62px;
  background: #fff; border: 1px solid var(--line-soft);
  font-size: .98rem; line-height: 1.7; margin: 0;
}
.step-list li::before {
  content: counter(st, decimal-leading-zero);
  position: absolute; left: 20px; top: 17px;
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--gold);
}
.step-list li strong { color: var(--navy-900); }
.section-alt .step-list li { background: var(--white); }

/* prev / next practice area */
.page-nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  margin-top: 52px; padding-top: 28px; border-top: 1px solid var(--line-soft);
}
.page-nav a { display: block; }
.page-nav .lbl {
  display: block; font-size: .68rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 6px;
}
.page-nav .ttl { font-family: var(--font-display); font-size: 1.08rem; color: var(--navy-900); }
.page-nav a:hover .ttl { color: var(--burgundy); }
.page-nav .next { text-align: right; }

@media (max-width: 1080px) {
  .page-layout { grid-template-columns: 1fr; gap: 48px; }
  .page-side { position: static; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
}
@media (max-width: 720px) {
  .page-nav { grid-template-columns: 1fr; }
  .page-nav .next { text-align: left; }
  .inline-cta { padding: 26px 22px 28px; }
}

/* ==========================================================================
   PRACTICE AREAS GRID
   ========================================================================== */
.practice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.practice-card {
  background: #fff; padding: 32px 28px 30px;
  display: flex; flex-direction: column;
  transition: background var(--transition), box-shadow var(--transition);
}
.practice-card:hover { background: var(--bg-alt); }
.practice-icon { width: 38px; height: 38px; stroke: var(--burgundy); fill: none; stroke-width: 1.5; margin-bottom: 18px; }
.practice-card h3 { font-size: 1.28rem; margin-bottom: 10px; }
.practice-card h3 a { color: var(--navy-900); }
.practice-card h3 a:hover { color: var(--burgundy); }
.practice-card p { font-size: .96rem; margin-bottom: 14px; }
.matters {
  list-style: none; margin: 0 0 20px; padding: 0;
  display: grid; gap: 6px; font-size: .88rem; color: var(--muted);
}
.matters li { position: relative; padding-left: 16px; }
.matters li::before { content: ""; position: absolute; left: 0; top: .68em; width: 6px; height: 6px; background: var(--gold); }
.practice-card .text-link { margin-top: auto; }

/* ==========================================================================
   WHY CHOOSE / FEATURES
   ========================================================================== */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(288px, 1fr)); gap: 34px; }
.feature { padding-top: 22px; border-top: 3px solid var(--navy-800); }
.feature h3 { font-size: 1.18rem; margin-bottom: 8px; }
.feature p { font-size: .96rem; margin-bottom: 0; }
.feature-num {
  display: block; font-family: var(--font-display); font-size: .9rem; color: var(--gold);
  letter-spacing: .1em; margin-bottom: 10px; font-weight: 700;
}

/* process steps */
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 26px; }
.process-step { position: relative; padding: 30px 24px; background: #fff; border: 1px solid var(--line-soft); }
.process-step .n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--navy-900); color: var(--gold);
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 700;
  margin-bottom: 16px;
}
.process-step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.process-step p { font-size: .93rem; margin-bottom: 0; }

/* ==========================================================================
   CONSULTATION FORM
   ========================================================================== */
.consult-section { background: var(--bg-alt); }
.consult-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 52px; align-items: start; }
.consult-aside .rule { margin-bottom: 20px; }
.contact-blocks { display: grid; gap: 20px; margin-top: 28px; }
.contact-block {
  display: flex; gap: 15px; padding: 18px 20px;
  background: #fff; border: 1px solid var(--line-soft);
}
.contact-block svg { width: 22px; height: 22px; stroke: var(--burgundy); fill: none; stroke-width: 1.6; flex: none; margin-top: 3px; }
.contact-block strong { display: block; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--navy-700); margin-bottom: 4px; }
.contact-block span, .contact-block a { font-size: .98rem; color: var(--ink); }
.contact-block a:hover { color: var(--burgundy); }

.form-card {
  background: #fff; border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-md);
  padding: 34px 32px 30px;
  border-top: 4px solid var(--burgundy);
}
.form-card h3 { font-size: 1.5rem; margin-bottom: 6px; }
.form-card .form-intro { font-size: .93rem; color: var(--muted); margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label {
  font-size: .78rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--navy-800);
}
.field .req { color: var(--burgundy); }
.field .help { font-size: .8rem; color: var(--muted); font-weight: 400; letter-spacing: 0; text-transform: none; }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 13px 14px; min-height: 50px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--navy-600); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--burgundy); box-shadow: 0 0 0 3px rgba(122,31,43,.13);
}
.field input:invalid:not(:placeholder-shown) { border-color: #b3261e; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234b5665' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 17px; padding-right: 40px; }

.urgency-set { border: 0; margin: 0; padding: 0; }
.urgency-set legend {
  font-size: .78rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--navy-800);
  padding: 0; margin-bottom: 9px;
}
.urgency-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.urgency-opts label {
  display: flex; align-items: center; gap: 9px;
  padding: 12px 14px; min-height: 50px;
  border: 1px solid var(--line); border-radius: var(--radius);
  font-size: .9rem; color: var(--ink); cursor: pointer; font-weight: 500;
  letter-spacing: 0; text-transform: none;
  transition: all var(--transition);
}
.urgency-opts label:hover { border-color: var(--navy-600); background: var(--bg-alt); }
.urgency-opts input { width: 18px; height: 18px; min-height: 0; accent-color: var(--burgundy); flex: none; padding: 0; }
.urgency-opts input:focus-visible + span { text-decoration: underline; }
.urgency-opts label:has(input:checked) { border-color: var(--burgundy); background: #fdf6f6; box-shadow: inset 0 0 0 1px var(--burgundy); }

.form-consent {
  display: flex; gap: 11px; align-items: flex-start;
  font-size: .84rem; color: var(--muted); line-height: 1.6;
  margin: 20px 0 22px;
}
.form-consent input { width: 19px; height: 19px; flex: none; margin-top: 2px; accent-color: var(--burgundy); }
.form-footnote { font-size: .8rem; color: var(--muted); margin: 16px 0 0; line-height: 1.6; }

/* ==========================================================================
   REVIEWS / EXPERIENCE
   ========================================================================== */
.review-note {
  border: 1px dashed var(--line); background: var(--bg-alt);
  padding: 26px 28px; text-align: center;
}
.review-note p:last-child { margin-bottom: 0; }
.profile-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 18px; }

.experience-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 22px; margin-top: 30px; }
.stat { border-left: 3px solid var(--gold); padding-left: 16px; }
.stat b { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--navy-900); line-height: 1.1; }
.stat span { font-size: .84rem; color: var(--muted); }
.section-navy .stat b { color: #fff; }
.section-navy .stat span { color: rgba(255, 255, 255, .68); }

/* ==========================================================================
   INSIGHTS
   ========================================================================== */
.insight-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 30px; }
.insight-card {
  background: #fff; border: 1px solid var(--line-soft);
  display: flex; flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}
.insight-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.insight-card .thumb { aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-tint); }
.insight-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.insight-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.insight-cat {
  font-size: .7rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px;
}
.insight-card h3 { font-size: 1.16rem; margin-bottom: 10px; }
.insight-card h3 a { color: var(--navy-900); }
.insight-card h3 a:hover { color: var(--burgundy); }
.insight-card p { font-size: .93rem; margin-bottom: 16px; }
.insight-card .text-link { margin-top: auto; }

/* article body */
.article-body { font-size: 1.06rem; line-height: 1.85; }
.article-body h2 { margin-top: 2.2em; font-size: 1.75rem; }
.article-body h3 { margin-top: 1.8em; font-size: 1.28rem; }
.article-body ul, .article-body ol { margin: 0 0 1.3rem; padding-left: 1.35rem; }
.article-body li { margin-bottom: .55rem; }
.article-body img { margin: 2rem 0; box-shadow: var(--shadow-sm); }
.article-meta { font-size: .84rem; color: var(--muted); margin-bottom: 0; }
.callout {
  background: var(--bg-alt); border-left: 3px solid var(--gold);
  padding: 22px 24px; margin: 2rem 0; font-size: .98rem;
}
.callout strong { color: var(--navy-900); }
.callout p:last-child { margin-bottom: 0; }
.callout.warn { border-left-color: var(--burgundy); background: #fdf6f6; }

/* ==========================================================================
   LOCATIONS
   ========================================================================== */
.location-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 30px; }
.location-card { background: #fff; border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.location-card .map-frame { aspect-ratio: 16 / 10; background: var(--bg-tint); }
.location-card iframe { width: 100%; height: 100%; border: 0; display: block; }
.location-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.location-body h3 { font-size: 1.3rem; margin-bottom: 4px; }
.location-neighborhood { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.location-meta { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 12px; font-size: .95rem; }
.location-meta li { display: flex; gap: 12px; }
.location-meta svg { width: 18px; height: 18px; stroke: var(--burgundy); fill: none; stroke-width: 1.7; flex: none; margin-top: 4px; }
.location-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }

/* ---- locations page ---- */
.visual-pair { display: grid; grid-template-columns: 1.1fr .9fr; gap: 26px; align-items: stretch; }
.visual-pair > * { min-height: 400px; }
.visual-pair .map-frame { aspect-ratio: auto; height: 100%; border: 1px solid var(--line-soft); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.visual-pair .photo { overflow: hidden; box-shadow: var(--shadow-md); }
.visual-pair .photo img { width: 100%; height: 100%; object-fit: cover; }

.info-cols {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px; background: var(--line-soft);
  border: 1px solid var(--line-soft); margin-top: 26px;
}
.info-col { background: #fff; padding: 26px 26px 28px; }
.info-col h3 {
  font-family: var(--font-body); font-size: .74rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase; color: var(--navy-700); margin-bottom: 14px;
}
.info-col p { font-size: .97rem; margin-bottom: .7rem; }
.info-col p:last-child { margin-bottom: 0; }
.info-col a { color: var(--ink); }
.info-col a:hover { color: var(--burgundy); }
.info-col .btn { margin-top: 6px; }

.guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 34px; }
.guide-item { padding-top: 20px; border-top: 3px solid var(--navy-800); }
.guide-item h3 { font-size: 1.12rem; margin-bottom: 10px; }
.guide-item p { font-size: .95rem; margin-bottom: .7rem; }

.area-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
@media (max-width: 1080px) { .area-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .area-grid { grid-template-columns: 1fr; } }
@media (max-width: 860px) {
  .visual-pair { grid-template-columns: 1fr; }
  .visual-pair > * { min-height: 300px; }
}

.hours-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours-table th, .hours-table td { text-align: left; padding: 9px 0; border-bottom: 1px solid var(--line-soft); }
.hours-table th { font-weight: 600; color: var(--navy-800); }
.hours-table td { color: var(--body); text-align: right; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { max-width: 900px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
  width: 100%; padding: 22px 4px; background: none; border: 0; cursor: pointer;
  font-family: var(--font-display); font-size: 1.12rem; font-weight: 700; color: var(--navy-900);
  text-align: left; line-height: 1.4;
}
.faq-q:hover { color: var(--burgundy); }
.faq-q .icon { flex: none; width: 22px; height: 22px; position: relative; margin-top: 3px; }
.faq-q .icon::before, .faq-q .icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; background: var(--gold);
  transform: translate(-50%, -50%); transition: transform var(--transition);
}
.faq-q .icon::before { width: 16px; height: 2px; }
.faq-q .icon::after { width: 2px; height: 16px; }
.faq-q[aria-expanded="true"] .icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-a { display: none; padding: 0 4px 24px; font-size: 1rem; max-width: 78ch; }
.faq-a p:last-child { margin-bottom: 0; }
.faq-item.open .faq-a { display: block; }
.confirm-flag {
  display: inline-block; margin-left: 8px; padding: 2px 8px;
  background: var(--gold-pale); color: #7a5c22;
  font-family: var(--font-body); font-size: .66rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; border-radius: 2px; vertical-align: middle;
}

/* ==========================================================================
   FINAL CTA
   ========================================================================== */
.final-cta {
  background: linear-gradient(150deg, var(--burgundy-dark), var(--burgundy) 60%, #8d2634);
  color: rgba(255,255,255,.9);
  text-align: center;
}
.final-cta h2 { color: #fff; }
.final-cta p { max-width: 62ch; margin-left: auto; margin-right: auto; }
.final-cta .btn-row { justify-content: center; margin-top: 8px; }
.final-cta .fineprint { color: rgba(255,255,255,.72); border-top-color: rgba(255,255,255,.2); max-width: 70ch; margin-left: auto; margin-right: auto; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer.site-footer { background: var(--navy-900); color: rgba(255,255,255,.7); padding: 66px 0 26px; font-size: .93rem; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 44px; }
.footer-section h3 {
  color: #fff; font-family: var(--font-body);
  font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-section ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-section a { color: rgba(255,255,255,.72); }
.footer-section a:hover { color: var(--gold-light); }
.footer-section p { margin-bottom: .8rem; }
.footer-brand .brand-name { color: #fff; font-size: 1.3rem; }
.footer-brand .brand-sub { color: var(--gold); }
.footer-brand p { max-width: 42ch; margin-top: 16px; font-size: .9rem; line-height: 1.7; }
.footer-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.8);
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-900); }
.footer-social svg { width: 18px; height: 18px; }
.footer-social svg [fill="currentColor"], .footer-social svg path { fill: currentColor; }
.footer-social svg .stroked { fill: none; stroke: currentColor; stroke-width: 1.8; }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 24px; font-size: .82rem; line-height: 1.7; color: rgba(255,255,255,.55);
}
.footer-legal p { margin-bottom: 1rem; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,.12); margin-top: 22px; padding-top: 22px;
  font-size: .84rem; color: rgba(255,255,255,.55);
}
.footer-bottom p { margin: 0; }
.footer-partner a { color: var(--gold-light); }
.footer-partner a:hover { color: #fff; }
.footer-links-inline { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; margin: 0; padding: 0; }

/* sticky mobile action bar */
.mobile-bar { display: none; }

/* ==========================================================================
   UTILITIES
   ========================================================================== */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.split-center { align-items: center; }
.img-frame { position: relative; }
.img-frame img { box-shadow: var(--shadow-md); width: 100%; }
.img-frame::after {
  content: ""; position: absolute; right: -16px; bottom: -16px; width: 118px; height: 118px;
  border-right: 3px solid var(--gold); border-bottom: 3px solid var(--gold); pointer-events: none;
}
.note-flag {
  display: block; margin-top: 14px; padding: 12px 16px;
  background: var(--gold-pale); border-left: 3px solid var(--gold);
  font-size: .84rem; color: #6b501d; line-height: 1.6;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1320px) {
  .brand-sub { font-size: .58rem; letter-spacing: .1em; }
  .main-nav a { padding: 12px 11px; font-size: .79rem; }
  .header-cta .btn { padding: 12px 16px; }
}

@media (max-width: 1080px) {
  .main-nav a { padding: 12px 10px; font-size: .78rem; }
  .quicklinks { grid-template-columns: 1fr 1fr; }
  .quicklink { padding: 34px 26px 32px; }
  .quicklink:nth-child(3) { border-left: 0; }
  .quicklink:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
  .credibility ul { grid-template-columns: repeat(3, 1fr); }
  .credibility li:nth-child(4) { border-left: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 960px) {
  :root { --header-h: 78px; }
  .hero-grid { grid-template-columns: 1fr; gap: 42px; padding: 56px 0 64px; }
  .hero-banner .hero-grid { padding: 72px 0 78px; }
  .hero-banner { background-position: 68% 26%; }
  .hero-badge { right: 12px; top: 12px; }
  .attorney-grid, .consult-grid, .experience-grid, .split { grid-template-columns: 1fr; gap: 38px; }
  .attorney-flow .attorney-figure { float: none; width: 100%; max-width: none; margin: 0 0 30px; }
  .hero-split { grid-template-columns: 1fr; gap: 26px; }
  .body-cols { columns: 1; }
  .section { padding: 64px 0; }

  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 88vw);
    background: #fff; box-shadow: var(--shadow-lg);
    padding: 84px 0 40px; overflow-y: auto;
    transform: translateX(102%); transition: transform .3s ease; z-index: 210;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--line-soft); }
  .main-nav a { padding: 16px 26px; font-size: .88rem; }
  .has-sub > a::after { float: right; }
  .submenu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-top: 1px solid var(--line-soft);
    background: var(--bg-alt); padding: 4px 0; display: none;
  }
  .has-sub.open .submenu { display: block; }
  .has-sub:hover .submenu { opacity: 1; }
  .submenu a { padding: 12px 38px; }
  .nav-backdrop {
    position: fixed; inset: 0; background: rgba(11,22,38,.5); z-index: 205;
    opacity: 0; visibility: hidden; transition: opacity .3s ease;
  }
  .nav-backdrop.show { opacity: 1; visibility: visible; }
  .header-cta .btn { display: none; }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 52px 0; }
  .hero-banner { background-position: 62% 24%; }
  .hero-banner::before {
    background-image:
      linear-gradient(170deg,
        rgba(8, 18, 32, .95) 0%,
        rgba(9, 20, 35, .92) 48%,
        rgba(11, 24, 41, .84) 100%),
      radial-gradient(circle at 88% 12%, rgba(176,137,79,.18), transparent 48%);
  }
  .hero-banner .hero-grid { padding: 56px 0 62px; }
  .quicklinks { grid-template-columns: 1fr; }
  .quicklink { border-left: 0; border-top: 1px solid var(--line-soft); padding: 30px 4px 28px; }
  .quicklink:first-child { border-top: 0; }
  .ql-icon { margin-bottom: 18px; }
  .topbar .container { justify-content: center; }
  .topbar-items { gap: 16px; justify-content: center; font-size: .76rem; }
  .topbar-hide-sm { display: none; }
  .credibility ul { grid-template-columns: 1fr 1fr; }
  .credibility li { border-left: 0; border-top: 1px solid rgba(255,255,255,.1); padding: 16px 12px; font-size: .82rem; }
  .form-grid { grid-template-columns: 1fr; }
  .fact-list li, .summary-list li { grid-template-columns: 1fr; gap: 3px; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-figure::after, .img-frame::after { display: none; }
  .hero-badge { position: static; margin-top: 16px; max-width: none; }
  .checker-body, .checker-top, .checker-foot { padding-left: 20px; padding-right: 20px; }
  .opt-grid { grid-template-columns: 1fr; }
  .form-card { padding: 26px 20px 24px; }
  .btn { width: 100%; }
  .btn-row .btn { width: auto; flex: 1 1 auto; min-width: 200px; }
  .checker-foot-actions { width: 100%; }
  .checker-foot-actions .btn { flex: 1 1 auto; }

  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 190;
    background: var(--navy-900); border-top: 1px solid rgba(255,255,255,.14);
  }
  .mobile-bar a {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 15px 10px; color: #fff;
    font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  }
  .mobile-bar a + a { border-left: 1px solid rgba(255,255,255,.14); background: var(--burgundy); }
  .mobile-bar svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.9; }
  body { padding-bottom: 56px; }

  .header-inner { gap: 12px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand a > span { gap: 10px !important; }
  .brand-name { font-size: 1.05rem; }
  .brand-sub { font-size: .5rem; letter-spacing: .08em; margin-top: 3px; }
  .topbar-item { max-width: 100%; }
}

@media (max-width: 400px) {
  .brand-name { font-size: .95rem; }
  .brand-sub { display: none; }
  .brand-mark { width: 32px; height: 32px; }
}

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

@media print {
  .topbar, .site-header, .mobile-bar, .final-cta, .checker-section { display: none; }
  body { color: #000; }
}
