/* =========================================================================
   Survivors of Abuse PA — Design System
   Derived from STYLE-GUIDE.md (Trauma-informed Teal). Fraunces + Mulish.
   Primary CTA = Survivor Teal (white text, AA). Gold = sparing proof accent.
   All contrast pairs verified WCAG 2.1 AA.
   ========================================================================= */

:root {
  /* Brand tokens (STYLE-GUIDE) */
  --teal:        #0E6E70;   /* Survivor Teal — primary CTA / brand */
  --teal-deep:   #0B5B5D;   /* button hover (white text stays AA) */
  --teal-bright: #12888A;   /* decorative / icons / borders — NO text */
  --navy:        #16263D;   /* Midnight Navy — headings, dark bands, footer */
  --navy-deep:   #0F1B2D;   /* deeper navy (overlays/footer) */
  --gold:        #D9A24A;   /* Proof Gold — credentials/verdicts, sparing */
  --paper:       #F8F6F2;   /* Warm Off-White (page bg) */
  --sand:        #E7F1F0;   /* Teal Mist (alt sections / tints) */
  --ink:         #1E2A2B;   /* Body text */
  --slate:       #5C6B6B;   /* Muted text */
  --border:      #E6E2DA;   /* Hairlines */
  --white:       #FFFFFF;
  --blue:        #0E6E70;   /* links = teal */

  --success: #0E6E70;
  --warning: #B5841E;
  --danger:  #B4453C;

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Mulish", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --maxw: 1160px;
  --maxw-narrow: 760px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(22,38,61,.06), 0 2px 8px rgba(22,38,61,.06);
  --shadow-md: 0 10px 30px rgba(22,38,61,.10);
  --shadow-lg: 0 24px 60px rgba(22,38,61,.16);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---- Reset / base --------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--teal-deep); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; color: var(--navy); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.0rem, 4.2vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-family: var(--font-body); font-weight: 700; font-size: clamp(1.15rem, 2.4vw, 1.4rem); color: var(--navy); }
p { margin: 0 0 1.1rem; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--font-body); font-weight: 700; font-size: .8125rem;
  letter-spacing: .09em; text-transform: uppercase; color: var(--teal);
  margin: 0 0 .75rem;
}
.eyebrow--slate { color: var(--slate); }
.eyebrow--gold { color: #B5841E; } /* AA-safe gold-ish on light */

/* ---- Layout helpers ------------------------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: var(--maxw-narrow); }
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section--sand { background: var(--sand); }
.section--navy { background: var(--navy); color: #E7ECF2; }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--paper { background: var(--paper); }
.lead { font-size: clamp(1.125rem, 2vw, 1.3rem); color: var(--slate); line-height: 1.6; }
.section--navy .lead { color: #C2CCD8; }
.center { text-align: center; }
.measure { max-width: 64ch; }
.measure.center { margin-inline: auto; }

/* ---- Buttons -------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem; line-height: 1;
  padding: .95rem 1.6rem; border-radius: var(--radius); border: 2px solid transparent;
  cursor: pointer; text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
  will-change: transform;
}
.btn--primary { background: var(--teal); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--teal-deep); color: #fff; box-shadow: 0 8px 24px rgba(14,110,112,.34); }
.btn--ghost { background: transparent; color: var(--teal-deep); border-color: rgba(14,110,112,.35); }
.btn--ghost:hover { background: var(--teal); color: #fff; border-color: var(--teal); }
.section--navy .btn--ghost, .hero .btn--ghost, .svc-hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.45); }
.section--navy .btn--ghost:hover, .hero .btn--ghost:hover, .svc-hero .btn--ghost:hover { background: #fff; color: var(--navy); }
.btn--lg { padding: 1.1rem 2rem; font-size: 1.0625rem; }
.btn--block { width: 100%; }

/* ---- Quick-exit (trauma-informed requirement) ----------------------- */
.quick-exit {
  position: fixed; top: 10px; right: 12px; z-index: 200;
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--navy); color: #fff; font-family: var(--font-body);
  font-weight: 700; font-size: .8rem; padding: .5rem .8rem; border-radius: 999px;
  text-decoration: none; box-shadow: var(--shadow-md); border: 1.5px solid rgba(255,255,255,.18);
  opacity: .94;
}
.quick-exit:hover { background: #000; color: #fff; opacity: 1; }
.quick-exit svg { width: 15px; height: 15px; stroke: #fff; }
.quick-exit__hint { position: absolute; left: -9999px; }
@media (max-width: 760px){ .quick-exit { top: auto; bottom: 74px; right: 10px; } }

/* ---- Header --------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248,246,242,.93); backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 1.1rem; min-height: 76px; padding-block: .7rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; flex: 0 0 auto; }
.brand img { height: 48px; width: auto; }
/* Horizontal wordmark logo (720x80, ~9:1). Kept deliberately compact so the wide
   mark never crowds the nav/CTA on desktop or the hamburger on mobile. */
.brand img.brand-logo { height: clamp(30px, 3.6vw, 42px); width: auto; display: block; }
.brand-mark { width: 46px; height: 46px; flex:0 0 auto; border-radius: 50% 50% 50% 4px; background: var(--teal); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; display:flex; align-items:center; justify-content:center; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.16rem; color: var(--navy); }
.brand-sub { font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); font-weight: 700; }
.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; flex-wrap: nowrap; gap: 1.05rem; list-style: none; margin: 0; padding: 0; }
.primary-nav a { font-weight: 600; font-size: .9rem; color: var(--navy); text-decoration: none; white-space: nowrap; }
.primary-nav a:hover { color: var(--teal); }
/* Stack phone above the CTA button so the group is narrow (leaves room for the
   larger logo + nav) instead of a long single row. */
.header-cta { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: .4rem; flex: 0 0 auto; }
.header-phone { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--navy); text-decoration: none; white-space: nowrap; }
.header-phone span { display: block; font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: .4rem; }
.nav-toggle svg { width: 28px; height: 28px; stroke: var(--navy); }

/* skip link */
.skip-link { position: absolute; left: -999px; top: 0; background: var(--navy); color:#fff; padding:.6rem 1rem; z-index:210; border-radius:0 0 8px 0; }
.skip-link:focus { left: 0; }

/* ---- Hero ----------------------------------------------------------- */
.hero { position: relative; background: var(--navy); color: #E7ECF2; overflow: hidden; }
.hero::before {
  content:""; position:absolute; inset:0;
  background: radial-gradient(120% 90% at 82% 8%, rgba(18,136,138,.30), transparent 55%),
              radial-gradient(90% 70% at 10% 100%, rgba(14,110,112,.18), transparent 60%);
  pointer-events:none;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; padding-block: clamp(2.75rem, 6vw, 4.5rem); position: relative; }
.hero h1 { color: var(--white); margin-bottom: .65rem; }
.hero h1 .accent { color: #7FD6D6; } /* light teal — AA on navy */
.hero-sub { color: #C9D2DC; font-size: clamp(1.05rem, 2vw, 1.22rem); margin-bottom: 1.4rem; max-width: 42ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 1.4rem; }
.hero-reassure { font-size: .92rem; color: #A7B4C2; display:flex; align-items:center; gap:.5rem; }
.hero-reassure svg { width: 18px; height: 18px; stroke: #7FD6D6; flex:0 0 auto; }

/* hero with form card */
.hero-grid--form { grid-template-columns: 1.02fr .98fr; align-items: start; }
.hero-proof { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: .6rem; }
.hero-proof li { position: relative; padding-left: 1.6rem; color: #C9D2DC; font-size: .98rem; }
.hero-proof li::before { content: ""; position: absolute; left: 0; top: .5em; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.hero-proof strong { color: #fff; }
.hero-form { background: var(--white); border-radius: var(--radius-lg); padding: clamp(1.3rem, 2.5vw, 1.9rem); box-shadow: var(--shadow-lg); }
.hero-form .no-fee { margin-bottom: .6rem; }
.hero-form__head h2 { font-size: clamp(1.3rem, 2.3vw, 1.55rem); margin: .15rem 0 .3rem; color: var(--navy); }
.hero-form__head p { color: var(--slate); font-size: .95rem; margin-bottom: 1.1rem; }

/* trust strip */
.trust-strip { border-top: 1px solid rgba(255,255,255,.12); }
.trust-strip ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; list-style: none; margin: 0; padding: 1.4rem 0; }
.trust-strip li { text-align: center; padding-inline: .5rem; }
.trust-strip .num { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 3vw, 2rem); color: var(--gold); display: block; line-height: 1.1; }
.trust-strip .lbl { font-size: .8rem; color: #B6C0CC; line-height: 1.3; display:block; margin-top:.25rem; }

/* ---- Generic grids / cards ----------------------------------------- */
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.6rem 1.5rem; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card .ico { width: 48px; height: 48px; stroke: var(--teal); stroke-width: 1.75; margin-bottom: .9rem; }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--slate); font-size: .98rem; }
.card a.card-link { font-weight: 700; color: var(--teal); text-decoration: none; font-size: .95rem; display:inline-flex; gap:.3rem; align-items:center; margin-top:.7rem; }
.card a.card-link:hover { color: var(--teal-deep); gap: .55rem; }

/* practice-area card variant */
.practice-card { display:flex; flex-direction:column; }
.practice-card .ico-wrap { width: 56px; height: 56px; border-radius: 14px; background: var(--sand); display:flex; align-items:center; justify-content:center; margin-bottom: 1rem; }
.practice-card .ico { margin: 0; width: 30px; height: 30px; stroke: var(--teal); }

/* ---- Proof / verdicts ---------------------------------------------- */
.verdict-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.verdict {
  background: var(--navy-deep); border:1px solid rgba(217,162,74,.28); border-radius: var(--radius-lg);
  padding: 1.6rem 1.4rem; text-align: center; color: #C9D2DC;
}
.verdict .figure { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 5vw, 3rem); color: var(--gold); line-height: 1; display:block; }
.verdict .case { font-size: .9rem; margin-top: .55rem; color: #B6C0CC; }
.disclaimer { font-size: .82rem; color: var(--slate); margin-top: 1.4rem; }
.section--navy .disclaimer { color: #93A0AE; }

/* ---- Steps ---------------------------------------------------------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4,1fr); gap: 1.25rem; }
.step { position: relative; padding-top: .5rem; }
.step .n { counter-increment: step; font-family: var(--font-display); font-size: 1.1rem; font-weight:600; color: var(--teal); width: 44px; height: 44px; border-radius: 50%; background: var(--white); border: 2px solid var(--teal); display:flex; align-items:center; justify-content:center; margin-bottom: .8rem; }
.step .n::before { content: counter(step); }
.step h3 { margin-bottom: .3rem; }
.step p { color: var(--slate); font-size: .95rem; }

/* ---- Authority / attorney ------------------------------------------ */
.authority { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(1.5rem,4vw,3rem); align-items: center; }
.authority-img { position: relative; justify-self: center; }
.authority-img img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width:100%; max-width: 360px; }
.authority-img .badge { position:absolute; left:-14px; bottom:18px; background:#fff; color:var(--navy); border-radius:12px; padding:.7rem .9rem; box-shadow:var(--shadow-lg); max-width:210px; }
.authority-img .badge strong { font-family:var(--font-display); display:block; font-size:1.4rem; color:var(--navy); line-height:1; }
.authority-img .badge span { font-size:.72rem; color:var(--slate); line-height:1.3; display:block; margin-top:.2rem; }
.cred-list { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; gap: .7rem; }
.cred-list li { display:flex; gap:.6rem; align-items:flex-start; font-size: .98rem; }
.cred-list svg { width: 20px; height: 20px; stroke: var(--teal); flex:0 0 auto; margin-top:.15rem; }

/* ---- Testimonial ---------------------------------------------------- */
.quote { background: var(--white); border-left: 4px solid var(--teal); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.6rem 1.8rem; box-shadow: var(--shadow-sm); }
.quote p { font-family: var(--font-display); font-size: 1.15rem; color: var(--navy); font-style: italic; }
.quote cite { font-style: normal; font-weight: 700; color: var(--slate); font-size: .9rem; display:block; margin-top:.6rem; }

/* ---- CTA band / form ----------------------------------------------- */
.cta-band { background: linear-gradient(155deg, var(--teal) 0%, var(--navy) 78%); color:#EAF4F4; border-radius: var(--radius-lg); padding: clamp(2rem,5vw,3.25rem); }
.cta-band h2 { color: #fff; }
.cta-band .lead { color: #DCEBEB; }
.case-review-grid { display:grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem,4vw,3rem); align-items:start; }
.case-review-grid .form-wrap { background: var(--white); border-radius: var(--radius-lg); padding: clamp(1.4rem,3vw,2rem); box-shadow: var(--shadow-lg); }
.case-review-grid .form-wrap h3 { color: var(--navy); }
.no-fee { display:inline-flex; align-items:center; gap:.5rem; background: rgba(14,110,112,.12); color: var(--teal-deep); font-weight:700; font-size:.9rem; padding:.5rem .9rem; border-radius: 999px; margin-bottom: 1rem; }
.no-fee svg { width:18px; height:18px; stroke: var(--teal-deep); }
.cta-band .no-fee { background: rgba(255,255,255,.16); color:#fff; }
.cta-band .no-fee svg { stroke:#fff; }

/* ---- Case review form ---------------------------------------------- */
.case-form label { display:block; font-weight:700; font-size:.92rem; color: var(--navy); margin-bottom: 1rem; }
.case-form .opt { font-weight:400; color: var(--slate); }
.case-form select,
.case-form input[type="text"],
.case-form input[type="tel"],
.case-form input[type="email"],
.case-form textarea {
  display:block; width:100%; margin-top:.35rem; padding:.7rem .8rem; font-family: var(--font-body);
  font-size:1rem; color: var(--ink); background:#fff; border:1.5px solid var(--border); border-radius: 8px;
}
.case-form select:focus,
.case-form input:focus,
.case-form textarea:focus { outline:none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(14,110,112,.18); }
.case-form textarea { resize: vertical; }
.case-form__consent { display:flex; gap:.6rem; align-items:flex-start; font-weight:400; font-size:.85rem; color: var(--slate); }
.case-form__consent input { width:auto; margin-top:.2rem; flex:0 0 auto; }
.case-form__actions { display:flex; gap:.75rem; align-items:center; }
.case-form__actions .btn--ghost { color: var(--teal-deep); border-color: rgba(14,110,112,.3); }
.case-form__progress { display:flex; align-items:center; gap:.4rem; margin-bottom:1.1rem; flex-wrap:wrap; }
.case-form__progress span { width:34px; height:5px; border-radius:3px; background: var(--border); transition: background .3s var(--ease); }
.case-form__progress span.is-active { background: var(--teal); }
.case-form__steplabel { flex-basis:100%; font-style:normal; font-size:.78rem; letter-spacing:.06em; text-transform:uppercase; color: var(--slate); font-weight:700; margin-top:.3rem; }
.case-form__status { margin:.9rem 0 0; font-size:.9rem; }
.case-form__status.is-error { color: var(--danger); }
.case-form__status.is-ok { color: var(--success); }
.case-form__thanks h3 { color: var(--navy); }
.case-form__thanks p { color: var(--slate); }
.soa-hp { position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }

/* ---- Footer --------------------------------------------------------- */
.site-footer { background: var(--navy-deep); color: #B6C0CC; padding-block: clamp(2.5rem,5vw,3.5rem) 1.5rem; font-size: .95rem; }
.footer-grid { display:grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 2rem; }
.site-footer h4, .site-footer .foot-h { color:#fff; font-family: var(--font-body); font-size:.8rem; letter-spacing:.08em; text-transform:uppercase; margin:0 0 1rem; }
.site-footer a { color:#C9D2DC; text-decoration:none; }
.site-footer a:hover { color: #7FD6D6; }
.footer-links { list-style:none; margin:0; padding:0; display:grid; gap:.55rem; }
.footer-brand .brand-name { color:#fff; }
.footer-nap { font-style: normal; line-height:1.7; }
.footer-map { margin-top:1rem; border-radius:10px; overflow:hidden; border:1px solid rgba(255,255,255,.14); }
.footer-map iframe { display:block; width:100%; height:170px; border:0; filter:grayscale(.2); }
.footer-bottom { border-top:1px solid rgba(255,255,255,.12); margin-top:2.25rem; padding-top:1.4rem; display:flex; flex-wrap:wrap; gap:1rem; justify-content:space-between; font-size:.82rem; color:#9FACB9; }
.footer-disclaimer { font-size:.8rem; color:#9FACB9; line-height:1.6; margin-top:1.25rem; max-width: 78ch; }

/* ---- Sticky conversion bar ----------------------------------------- */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: rgba(15,27,45,.97); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-top: 1px solid rgba(18,136,138,.55); transform: translateY(110%); transition: transform .35s var(--ease); box-shadow: 0 -8px 28px rgba(0,0,0,.22); }
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta__inner { max-width: var(--maxw); margin: 0 auto; padding: .65rem var(--gutter) calc(.65rem + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.sticky-cta__txt { display: flex; flex-direction: column; line-height: 1.2; color: #fff; }
.sticky-cta__txt strong { font-family: var(--font-display); font-size: 1.05rem; }
.sticky-cta__txt span { color: #B6C0CC; font-size: .78rem; }
.sticky-cta__btns { display: flex; gap: .6rem; align-items: center; }
.sticky-cta .btn { padding: .8rem 1.2rem; }
.sticky-cta .btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); display: inline-flex; gap: .45rem; align-items: center; }
.sticky-cta .btn--ghost:hover { background: #fff; color: var(--navy); }
@media (max-width: 640px) {
  .sticky-cta__txt { display: none; }
  .sticky-cta__btns { width: 100%; }
  .sticky-cta__btns .btn--primary { flex: 1 1 auto; }
  .sticky-cta__btns .btn--ghost { flex: 0 0 auto; }
  .sticky-cta__call { display: none; }
}

/* ---- Generic page (page.php) --------------------------------------- */
.page-hero { background: var(--navy); color:#fff; padding-block: clamp(2.5rem,6vw,4rem); position:relative; overflow:hidden; }
.page-hero::before { content:""; position:absolute; inset:0; background: radial-gradient(120% 90% at 85% 0%, rgba(18,136,138,.26), transparent 55%); pointer-events:none; }
.page-hero .container { position:relative; }
.page-hero h1 { color:#fff; }
.page-body { padding-block: clamp(2.5rem,6vw,4rem); }
.page-body .container { max-width: var(--maxw-narrow); }
.page-body h2 { margin-top: 2rem; }
.answer-box { background: var(--sand); border-left: 4px solid var(--teal); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.3rem 1.5rem; margin: 0 0 1.5rem; }
.answer-box p { margin:0; font-size: 1.08rem; color: var(--navy); }
.byline { display:flex; align-items:center; gap:.6rem; font-size:.9rem; color: var(--slate); margin-top:1rem; }
.byline img { width:40px; height:40px; border-radius:50%; }

/* breadcrumbs */
.breadcrumbs { font-size:.85rem; color: #A7B4C2; padding-top: .5rem; }
.breadcrumbs a { color:#C9D2DC; }

/* ---- Service / pillar pages ---------------------------------------- */
.svc-hero { background: var(--navy); color: #E7ECF2; padding-block: clamp(2rem, 5vw, 3.25rem) clamp(2.25rem, 5vw, 3.5rem); position: relative; overflow:hidden; }
.svc-hero::before { content:""; position:absolute; inset:0; background: radial-gradient(120% 90% at 90% 0%, rgba(18,136,138,.24), transparent 55%); pointer-events:none; }
.svc-hero .container { position: relative; }
.svc-hero h1 { color:#fff; max-width: 18ch; }
.svc-hero .breadcrumbs { margin-bottom: 1rem; }
.svc-answer { background: rgba(255,255,255,.06); border-left: 4px solid var(--teal-bright); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.1rem 1.3rem; margin: 1.1rem 0 1.5rem; max-width: 70ch; }
.svc-answer p { margin:0; font-size: 1.12rem; line-height:1.6; color: #EEF4F4; }
.svc-hero-actions { display:flex; flex-wrap:wrap; gap:.8rem; }

.svc-body { padding-block: clamp(2.5rem, 6vw, 4rem); }
.svc-grid { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.svc-main { min-width: 0; }
.svc-main > h2 { margin-top: 2.2rem; font-size: clamp(1.4rem, 3vw, 1.9rem); }
.svc-main > h2:first-child { margin-top: 0; }
.svc-main > h3 { margin-top: 1.6rem; }
.svc-main p, .svc-main li { font-size: 1.06rem; line-height: 1.7; color: var(--ink); }
.svc-main ul, .svc-main ol { padding-left: 1.2rem; margin: 0 0 1.2rem; }
.svc-main li { margin-bottom: .5rem; }
.svc-main strong { color: var(--navy); }
.svc-main .answer-box { background: var(--sand); border-left: 4px solid var(--teal); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.2rem 1.4rem; margin: 0 0 1.6rem; }
.svc-main .answer-box p { margin:0; color: var(--navy); font-size: 1.1rem; }
.svc-main blockquote { border-left: 4px solid var(--teal); margin: 1.5rem 0; padding: .4rem 0 .4rem 1.3rem; font-family: var(--font-display); font-size: 1.2rem; color: var(--navy); font-style: italic; }
.svc-main table, .state-table { width: 100%; border-collapse: collapse; margin: 1.2rem 0 1.6rem; font-size: .98rem; }
.svc-main th, .svc-main td { text-align: left; padding: .7rem .9rem; border-bottom: 1px solid var(--border); }
.svc-main thead th { background: var(--navy); color: #fff; font-family: var(--font-body); font-weight: 700; font-size: .85rem; letter-spacing: .03em; }
.svc-main tbody tr:nth-child(even) { background: var(--sand); }
.svc-main .state-table a { font-weight: 700; }

/* FAQ — all answers visible (no accordion) */
.svc-faq { margin-top: 2.5rem; }
.faq-item { border-bottom: 1px solid var(--border); padding: 1.3rem 0; }
.faq-item:last-child { border-bottom: 0; padding-bottom: 0; }
.faq-q { color: var(--navy); margin: 0 0 .45rem; font-family: var(--font-body); font-weight: 700; font-size: 1.1rem; }
.faq-a { color: var(--slate); }
.faq-a p { margin: 0 0 .8rem; line-height: 1.65; }
.faq-a p:last-child { margin-bottom: 0; }

/* Related */
.svc-related { margin-top: 2.5rem; }
.related-card { display:flex; align-items:center; justify-content:space-between; gap:.6rem; background:#fff; border:1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.2rem; text-decoration:none; color: var(--navy); font-weight:700; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); color: var(--navy); }
.related-card svg { stroke: var(--teal); flex:0 0 auto; }

/* Sidebar */
.svc-sticky { position: sticky; top: 96px; display: grid; gap: 1.25rem; }
.aside-card { background:#fff; border:1px solid var(--border); border-radius: var(--radius-lg); padding: 1.4rem; box-shadow: var(--shadow-md); }
.aside-form .no-fee { margin-bottom:.5rem; }
.aside-form h3 { color: var(--navy); margin-bottom:.3rem; }
.aside-form p { color: var(--slate); font-size:.92rem; margin-bottom:1rem; }
.aside-attorney__label { display:block; font-size:.72rem; text-transform:uppercase; letter-spacing:.08em; color: var(--teal); font-weight:700; margin-bottom:.35rem; }
.aside-attorney img { width:64px; height:64px; border-radius:50%; float:left; margin:0 .8rem .4rem 0; }
.aside-attorney strong { display:block; color: var(--navy); font-family: var(--font-display); font-size:1.15rem; }
.aside-attorney span { display:block; font-size:.88rem; color: var(--slate); margin:.3rem 0 .5rem; line-height:1.5; }
.aside-attorney a { font-size:.9rem; font-weight:700; }

@media (max-width: 960px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc-sticky { position: static; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .svc-sticky { grid-template-columns: 1fr; }
}

/* ---- Motion (sonic-motion) — see MOTION-PROFILE.md ------------------
   Hide-before-reveal gated behind .sonic-js so NO-JS users always see
   content. JS adds .sonic-js in <head>. All disabled for reduced-motion. */
@media (prefers-reduced-motion: no-preference) {
  .sonic-js .sonic-fade-on-scroll { opacity: 0; transform: translateY(14px); }
  .sonic-js .sonic-stagger-children > * { opacity: 0; transform: translateY(14px); }
  .sonic-js .is-revealed.sonic-fade-on-scroll,
  .sonic-js .sonic-stagger-children > .is-revealed { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .6s var(--ease); }
}
.sonic-cta-hover { transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease); }
.soa-lift { transition: transform .18s var(--ease), box-shadow .18s var(--ease); }
.soa-lift:hover { transform: translateY(-3px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sonic-fade-on-scroll, .sonic-stagger-children > * { opacity: 1 !important; transform: none !important; }
}

/* ---- Responsive ----------------------------------------------------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .authority { grid-template-columns: 1fr; }
  .authority-img { justify-self: center; }
  .case-review-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4, .verdict-grid, .steps { grid-template-columns: repeat(2,1fr); }
  .trust-strip ul { grid-template-columns: repeat(2,1fr); gap: 1.25rem 1rem; }
}
@media (max-width: 760px) {
  .primary-nav { display: none; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .header-cta .header-phone .header-phone__txt { display:none; } /* mobile: phone icon only (beats desktop stack rule) */
  .site-header.nav-open .primary-nav { display:block; position:absolute; top:76px; left:0; right:0; background: var(--paper); border-bottom:1px solid var(--border); padding: 1rem var(--gutter); }
  .site-header.nav-open .primary-nav ul { flex-direction: column; gap: .9rem; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .grid-4, .verdict-grid, .steps, .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}

/* =========================================================================
   Stage-4 revisions: visible call CTA, header CTA, hero photo, 3-step wizard,
   E-E-A-T band, areas-we-serve geo section.
   ========================================================================= */

/* ---- Prominent click-to-call button -------------------------------- */
.btn--call { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.5); padding: .68rem 1.15rem; gap: .55rem; }
.btn--call:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn--call svg { flex: 0 0 auto; }
.btn--call__txt { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; text-align: left; }
.btn--call__txt small { font-size: .64rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .85; }
.btn--call__txt strong { font-size: 1.05rem; font-weight: 700; }
.section--sand .btn--call, .section--paper .btn--call { color: var(--teal-deep); border-color: rgba(14,110,112,.4); }
.section--sand .btn--call:hover, .section--paper .btn--call:hover { background: var(--teal); color: #fff; border-color: var(--teal); }
.hero-actions { align-items: center; }

/* ---- Header CTA (declutter + visible) ------------------------------ */
/* Stacked on desktop: helpline label -> phone number -> Free case review button. */
.header-cta { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: .5rem; flex: 0 0 auto; }
.header-phone { display: flex; align-items: center; gap: .5rem; }
.header-phone svg { stroke: var(--teal); flex: 0 0 auto; }
/* Higher specificity than the base ".header-phone span{display:block}" so the
   label stacks ABOVE the number (helpline label / phone number). */
.header-phone .header-phone__txt { display: flex; flex-direction: column; line-height: 1.15; text-align: right; }
.header-phone .header-phone__txt small { font-size: .63rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--slate); }
.header-phone .header-phone__txt strong { font-size: 1.05rem; color: var(--navy); }
.header-review { padding: .68rem 1.1rem; font-size: .92rem; white-space: nowrap; }

/* ---- Hero with photo ----------------------------------------------- */
.hero-grid--photo { grid-template-columns: minmax(0,1fr) minmax(0,540px); align-items: end; }
/* V1 hero photo: enlarged figure, CENTERED in its column, resting on a centered
   name card (eliminates the gap above her head; grounded by a soft shadow so she
   never looks like she's floating). */
.hero-photo { position: relative; align-self: end; justify-self: center; width: 100%; padding-bottom: 12px;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end; }
.hero-photo img { position: relative; z-index: 1; width: 100%; max-width: 540px; filter: drop-shadow(0 20px 40px rgba(0,0,0,.45)); }
.hero-photo__badge { position: relative; z-index: 2; margin-top: -14px; text-align: center;
  background: #fff; color: var(--navy); border-radius: 14px; padding: .55rem 1.2rem; box-shadow: var(--shadow-lg); max-width: 320px; }
.hero-photo__badge strong { font-family: var(--font-display); display: block; font-size: 1rem; color: var(--navy); line-height: 1.12; }
.hero-photo__badge span { font-size: .72rem; color: var(--slate); display: block; margin-top: .15rem; line-height: 1.25; }
/* Soft ground shadow beneath the card so she + the card feel planted. */
.hero-photo::after, .svc-hero-portrait::after {
  content: ""; position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%);
  width: 58%; height: 32px; z-index: 0;
  background: radial-gradient(ellipse at center, rgba(0,0,0,.42), transparent 72%);
  filter: blur(3px); pointer-events: none;
}

/* ---- Form band (3-step wizard near top) ---------------------------- */
.formband-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem,4vw,3rem); align-items: center; }
.soa-formband .form-wrap { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.4rem,3vw,2rem); box-shadow: var(--shadow-lg); }
.soa-formband .form-wrap h3 { color: var(--navy); margin: .2rem 0 1rem; }

/* ---- 3-step wizard progress tracker -------------------------------- */
.wiz-progress { list-style: none; display: flex; margin: 0 0 1.4rem; padding: 0; }
.wiz-progress li { flex: 1; position: relative; display: flex; flex-direction: column; align-items: center; gap: .4rem; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); text-align: center; }
.wiz-progress li::before { content: ""; position: absolute; top: 15px; left: -50%; width: 100%; height: 2px; background: var(--border); z-index: 0; }
.wiz-progress li:first-child::before { display: none; }
.wiz-progress__n { position: relative; z-index: 1; width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 2px solid var(--border); color: var(--muted); display: flex; align-items: center; justify-content: center; font-size: .85rem; font-family: var(--font-display); }
.wiz-progress li.is-active { color: var(--teal-deep); }
.wiz-progress li.is-active .wiz-progress__n { border-color: var(--teal); color: var(--teal); }
.wiz-progress li.is-done { color: var(--teal-deep); }
.wiz-progress li.is-done::before, .wiz-progress li.is-active::before { background: var(--teal); }
.wiz-progress li.is-done .wiz-progress__n { background: var(--teal); border-color: var(--teal); color: #fff; }
.case-form--wizard .case-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.case-form--wizard .case-form__row label { margin-bottom: .6rem; }
.case-form__fineprint { font-size: .8rem; color: var(--slate); margin-top: .7rem; line-height: 1.5; }

/* ---- Templated E-E-A-T credential band ----------------------------- */
.eeat-band { background: var(--navy); color: #E7ECF2; padding-block: clamp(2.25rem,5vw,3.25rem); position: relative; overflow: hidden; }
.eeat-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(110% 80% at 88% 0%, rgba(18,136,138,.22), transparent 55%); pointer-events: none; }
.eeat-band__inner { position: relative; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); display: grid; grid-template-columns: auto 1fr; gap: clamp(1.25rem,3vw,2rem); align-items: start; }
.eeat-band__img { width: 120px; height: 120px; border-radius: 14px; object-fit: cover; box-shadow: var(--shadow-md); }
.eeat-band__name { color: #fff; margin: .1rem 0 .4rem; }
.eeat-band__lead { color: #C9D2DC; max-width: 62ch; }
.eeat-band .aside-attorney__label { color: #7FD6D6; }
.eeat-band__creds { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .55rem 1.5rem; }
.eeat-band__creds li { display: flex; gap: .5rem; align-items: flex-start; font-size: .92rem; color: #D7DEE7; }
.eeat-band__creds svg { width: 18px; height: 18px; stroke: #7FD6D6; flex: 0 0 auto; margin-top: .12rem; }
.eeat-band__link { display: inline-block; margin-top: 1.1rem; color: var(--gold); font-weight: 700; text-decoration: none; }
.eeat-band__link:hover { color: #e9bd6f; }

/* ---- Areas we serve (geo) ------------------------------------------ */
.areas-served { margin-top: 2.5rem; padding: 1.5rem 1.6rem; background: var(--sand); border-radius: var(--radius-lg); }
.areas-served h2 { font-size: clamp(1.25rem,2.6vw,1.55rem); margin-bottom: .4rem; }
.areas-served p { color: var(--slate); margin-bottom: 1rem; }
.areas-served__grid { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.areas-served__grid li a { display: inline-block; background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: .45rem .9rem; font-weight: 600; font-size: .92rem; color: var(--teal-deep); text-decoration: none; }
.areas-served__grid li a:hover { background: var(--teal); color: #fff; border-color: var(--teal); }
.areas-served__all { background: var(--navy) !important; color: #fff !important; border-color: var(--navy) !important; }

/* ---- Stage-4 responsive -------------------------------------------- */
@media (max-width: 960px) {
  .hero-grid--photo { grid-template-columns: 1fr; }
  .hero-photo { order: -1; }
  .hero-photo img { max-width: 260px; }
  .formband-grid { grid-template-columns: 1fr; }
  .eeat-band__inner { grid-template-columns: 1fr; }
  .eeat-band__creds { grid-template-columns: 1fr; }
  .eeat-band__img { width: 92px; height: 92px; }
}
@media (max-width: 760px) {
  .header-review { display: none; }
  .header-phone__txt small { display: none; }
}
@media (max-width: 540px) {
  .case-form--wizard .case-form__row { grid-template-columns: 1fr; }
  .wiz-progress__lbl { font-size: .64rem; }
}

/* ---- Stage-4 v2: hub hero portrait, keyword-led H1 (.hero-photo img sizing set above; a duplicate rule here used to override the mobile down-size) */
.svc-hero-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,540px); gap: clamp(1.5rem,4vw,3rem); align-items: end; }
.svc-hero-copy { min-width: 0; }
.svc-hero-portrait { position: relative; align-self: end; justify-self: center; width: 100%; padding-bottom: 12px;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end; }
.svc-hero-portrait img { position: relative; z-index: 1; width: 100%; max-width: 540px; filter: drop-shadow(0 20px 40px rgba(0,0,0,.45)); }
.svc-hero-badge { position: relative; z-index: 2; margin-top: -14px; text-align: center; background: #fff; color: var(--navy); border-radius: 14px; padding: .55rem 1.2rem; box-shadow: var(--shadow-lg); max-width: 300px; }
.svc-hero-badge strong { font-family: var(--font-display); display: block; font-size: 1rem; color: var(--navy); line-height: 1.1; }
.svc-hero-badge span { font-size: .72rem; color: var(--slate); display: block; margin-top: .1rem; }
.svc-hero h1 .h1-kw { display: block; font-family: var(--font-body); font-size: .4em; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #7FD6D6; margin-bottom: .5rem; }
.svc-hero h1 .h1-sop { display: block; }
@media (max-width: 860px) {
  .svc-hero-grid { grid-template-columns: 1fr; }
  .svc-hero-portrait { display: none; }
}

/* ---- Global keyboard focus indicator (WCAG 2.1 AA — 2.4.7) ---------- */
a:focus-visible, button:focus-visible, .btn:focus-visible, [tabindex]:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--teal-bright);
  outline-offset: 2px;
  border-radius: 4px;
}
/* Keep the ring visible on dark backgrounds */
.hero a:focus-visible, .section--navy a:focus-visible, .svc-hero a:focus-visible,
.site-footer a:focus-visible, .sticky-cta a:focus-visible, .eeat-band a:focus-visible,
.quick-exit:focus-visible { outline-color: #ffffff; }
