/* ===========================================================
   Garcia & Coman — California Nursing Home Abuse Landing Page
   Mobile-first. Accessible. No external dependencies.
   =========================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Brand — pulled from lawgarcia.com (deep navy + gold accent) */
  --c-navy:        #0a2540;
  --c-navy-dark:   #061a30;
  --c-navy-light:  #14375f;
  --c-gold:        #c8a04a;
  --c-gold-dark:   #8a6a25; /* AA-compliant on white (5.0:1) — used for text */
  --c-gold-bg:     #a8852f; /* legacy mid-gold — for hover backgrounds only */
  --c-gold-soft:   #f5ecd6;

  --c-text:        #1c1c1c;
  --c-text-muted:  #4a5568; /* AA+ on white (8.0:1) and AA on bg-alt */
  --c-text-soft:   #6b7280; /* AA-compliant on white (4.83:1) */

  --c-bg:          #ffffff;
  --c-bg-alt:      #f6f8fb;
  --c-bg-tint:     #eff3f9;
  --c-border:      #e2e8f0;
  --c-border-soft: #eef2f7;

  --c-success:     #15803d;
  --c-error:       #b91c1c;
  --c-error-bg:    #fef2f2;
  --c-warning:     #b45309;
  --c-warning-bg:  #fffbeb;

  /* Type scale (fluid) */
  --fs-h1: clamp(2rem, 1.4rem + 2.5vw, 3.25rem);
  --fs-h2: clamp(1.625rem, 1.25rem + 2vw, 2.375rem);
  --fs-h3: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  --fs-lg: 1.125rem;
  --fs-base: 1rem;
  --fs-sm: 0.9375rem;
  --fs-xs: 0.8125rem;

  /* Spacing */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;

  /* Layout */
  --container: 1180px;
  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  --shadow-sm: 0 1px 2px rgba(10, 37, 64, 0.06), 0 1px 3px rgba(10, 37, 64, 0.05);
  --shadow:    0 4px 12px rgba(10, 37, 64, 0.08), 0 2px 6px rgba(10, 37, 64, 0.04);
  --shadow-lg: 0 16px 40px rgba(10, 37, 64, 0.16), 0 6px 16px rgba(10, 37, 64, 0.08);
  --shadow-xl: 0 24px 60px rgba(10, 37, 64, 0.24);

  --header-h: 140px;
}
@media (max-width: 767px) {
  :root { --header-h: 116px; }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: env(safe-area-inset-bottom);
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}
h1, h2, h3, h4 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.15;
  margin: 0 0 var(--sp-4);
  color: var(--c-navy);
  font-weight: 600;
  letter-spacing: -0.02em;
}
h1 { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 700; }
p { margin: 0 0 var(--sp-4); }
a {
  color: var(--c-gold-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1.5px;
}
a:hover { text-decoration-thickness: 2.5px; }
.btn,
.site-header a,
.site-footer__nav a,
.team__member a,
.review__author a,
.faq__item a.faq__q,
.modal a.modal__close,
nav a { text-decoration: none; }

/* Phone-number links in body content: explicit underline + weight so they
   are distinguishable beyond color alone (Lighthouse a11y) */
a.callrail-swap-target,
p a[href^="tel:"],
.faq__body a[href^="tel:"] {
  color: var(--c-gold-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1.5px;
  font-weight: 600;
}
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; display: block; height: auto; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--c-gold); outline-offset: 3px; border-radius: var(--radius-sm); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-4);
}
@media (min-width: 768px) {
  .container { padding: 0 var(--sp-6); }
}

main { padding-top: var(--header-h); }

section { padding: var(--sp-7) 0; }
@media (min-width: 768px) { section { padding: var(--sp-9) 0; } }

.section-head { margin-bottom: var(--sp-7); }
.section-head--center { text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.section-head__eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--c-gold-dark);
  margin: 0 0 var(--sp-3);
}
.section-head__sub { color: var(--c-text-muted); font-size: var(--fs-lg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: var(--fs-base);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  min-height: 48px;
  white-space: nowrap;
  line-height: 1.2;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--c-gold); color: var(--c-navy); border-color: var(--c-gold); box-shadow: var(--shadow); }
.btn--primary:hover { background: var(--c-gold-bg); border-color: var(--c-gold-bg); box-shadow: var(--shadow-lg); }

.btn--ghost { background: transparent; color: var(--c-navy); border-color: var(--c-navy); }
.btn--ghost:hover { background: var(--c-navy); color: #fff; }

.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.btn--ghost-light:hover { background: #fff; color: var(--c-navy); border-color: #fff; }

.btn--lg { padding: 1rem 1.75rem; font-size: var(--fs-lg); min-height: 52px; }
.btn--xl { padding: 1.125rem 2rem; font-size: var(--fs-lg); min-height: 56px; }
.btn--block { display: flex; width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  background: rgba(255,255,255,0.98);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--c-border-soft);
  z-index: 100;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.site-header__brand { display: flex; align-items: center; }
.site-header__logo { height: 94px; width: auto; }
@media (min-width: 768px) { .site-header__logo { height: 115px; } }
.site-header__cta { padding: 0.625rem 1rem; min-height: 44px; font-size: var(--fs-sm); }
.site-header__cta-label { display: none; }
@media (min-width: 768px) {
  .site-header__cta-label { display: inline; }
  .site-header__cta-short { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(ellipse at top right, rgba(200,160,74,0.12), transparent 60%),
    linear-gradient(180deg, var(--c-navy) 0%, var(--c-navy-dark) 100%);
  color: #fff;
  padding-top: var(--sp-7);
  padding-bottom: var(--sp-7);
  position: relative;
}
@media (min-width: 1024px) {
  .hero { padding-top: var(--sp-8); padding-bottom: var(--sp-8); }
}
.hero h1, .hero h2, .hero h3 { color: #fff; }
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-7);
  align-items: start;
}
@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: 1.15fr 1fr; gap: var(--sp-8); }
}
.hero__pitch { max-width: 640px; }
.hero__eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--c-gold);
  margin: 0 0 var(--sp-4);
  background: rgba(200,160,74,0.12);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(200,160,74,0.3);
}
.hero__h1 { margin: 0 0 var(--sp-4); }
.hero__sub {
  font-size: var(--fs-lg);
  color: rgba(255,255,255,0.85);
  margin: 0 0 var(--sp-6);
  max-width: 560px;
}
.hero__sub strong { color: var(--c-gold); font-weight: 700; }
.hero__values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
  margin: 0 0 var(--sp-6);
  padding: var(--sp-5) 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.hero__values li { text-align: center; }
.hero__values strong {
  display: block;
  font-family: 'Playfair Display', Georgia, serif; font-variant-numeric: tabular-nums; letter-spacing: -0.01em;
  font-size: clamp(1.25rem, 1rem + 1.5vw, 1.75rem);
  color: var(--c-gold);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--sp-1);
}
.hero__values span { font-size: var(--fs-xs); color: rgba(255,255,255,0.7); display: block; }
.hero__cta-row {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
  margin-bottom: var(--sp-5);
}
.hero__cta-row .btn { flex: 1 1 0; min-width: 0; }
@media (max-width: 767px) {
  .hero__cta-row {
    flex-direction: column;
    align-items: stretch;
  }
  .hero__cta-row .btn { width: 100%; flex: 0 0 auto; }
}
.hero__cta-row .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.5); }
.hero__cta-row .btn--ghost:hover { background: #fff; color: var(--c-navy); border-color: #fff; }
.hero__trust {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.75);
  margin: 0;
}
.hero__trust strong { color: #fff; }
.stars { color: var(--c-gold); letter-spacing: 0.1em; font-size: 1rem; }

/* ---------- Form Card ---------- */
.form-card {
  background: #fff;
  color: var(--c-text);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0,0,0,0.35), 0 8px 24px rgba(0,0,0,0.15);
  overflow: hidden;
  scroll-margin-top: calc(var(--header-h) + 16px);
  border: 1px solid rgba(255,255,255,0.1);
  max-width: 440px;
  margin-left: auto;
  width: 100%;
}
.form-card__head {
  background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-navy-dark) 100%);
  color: #fff;
  padding: var(--sp-4) var(--sp-5);
  text-align: center;
  position: relative;
}
.form-card__head::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: var(--c-gold);
}
.form-card__head h2 { color: #fff; font-size: 1.375rem; margin: 0 0 var(--sp-1); }
.form-card__head p { margin: 0; font-size: var(--fs-xs); font-weight: 600; color: var(--c-gold); text-transform: uppercase; letter-spacing: 0.06em; }

.lead-form { padding: var(--sp-4) var(--sp-5) var(--sp-5); }
.field { margin-bottom: var(--sp-3); }
.field label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: var(--sp-1);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.field .req { color: var(--c-error); }
.field .opt { color: var(--c-text-soft); font-weight: 400; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.875rem;
  font-size: 0.9375rem;
  border: 1.5px solid #cbd5e0;
  border-radius: 8px;
  background: #f9fafc;
  color: var(--c-text);
  font-family: inherit;
  min-height: 44px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus { background: #fff; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--c-navy);
  box-shadow: 0 0 0 3px rgba(10,37,64,0.12);
}
.field textarea { resize: vertical; min-height: 72px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2); }
.field--invalid input,
.field--invalid select,
.field--invalid textarea { border-color: var(--c-error); background: var(--c-error-bg); }
.field-error {
  color: var(--c-error);
  font-size: var(--fs-xs);
  margin: var(--sp-2) 0 0;
  min-height: 0;
  display: none;
}
.field--invalid .field-error { display: block; }
.field-decline {
  margin: var(--sp-3) 0 0;
  padding: var(--sp-4);
  background: var(--c-warning-bg);
  border: 1px solid #fcd34d;
  border-radius: var(--radius);
  color: #78350f;
  font-size: var(--fs-sm);
  line-height: 1.5;
}
.field-decline strong { color: #78350f; }
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  font-size: 0.75rem;
  color: var(--c-text-muted);
  line-height: 1.4;
  margin-bottom: var(--sp-4);
  cursor: pointer;
}
.checkbox input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  flex-shrink: 0;
  accent-color: var(--c-navy);
  cursor: pointer;
}
.checkbox a { color: var(--c-navy); text-decoration: underline; }
.form-card__foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  margin: var(--sp-4) 0 0;
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
}
.form-card__foot svg { color: var(--c-success); }

.form-success {
  padding: var(--sp-7) var(--sp-5);
  text-align: center;
}
.form-success__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--c-success);
  color: #fff;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-4);
  font-weight: 700;
}
.form-success h3 { font-size: 1.5rem; margin-bottom: var(--sp-2); }
.form-success__phone { margin-top: var(--sp-4); font-size: var(--fs-base); }

/* ---------- Trust badges ---------- */
.badges { background: var(--c-bg-alt); padding: var(--sp-6) 0; }
.badges__label {
  text-align: center;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--c-text-muted);
  font-weight: 600;
  margin-bottom: var(--sp-5);
}
.badges__row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-6);
}
.badges__row li img {
  height: 80px;
  width: auto;
  filter: grayscale(20%);
  opacity: 0.95;
  transition: filter 0.2s ease, opacity 0.2s ease;
}
.badges__row li img:hover { filter: none; opacity: 1; }
@media (min-width: 768px) {
  .badges__row li img { height: 100px; }
}

/* ---------- Proof banner / settlements ---------- */
.proof-banner {
  background: linear-gradient(180deg, #fff 0%, var(--c-bg-tint) 100%);
}
.proof-banner__lead { text-align: center; margin-bottom: var(--sp-7); max-width: 800px; margin-left: auto; margin-right: auto; }
.proof-banner__eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--c-gold-dark);
  margin: 0 0 var(--sp-3);
}
.proof-banner__h2 { margin: 0 0 var(--sp-4); }
.proof-banner__h2 .big {
  display: block;
  font-size: clamp(2.75rem, 2rem + 4vw, 4.5rem);
  color: var(--c-gold-dark);
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-2);
}
.proof-banner__sub { font-size: var(--fs-lg); color: var(--c-text-muted); }
.proof-banner__sub strong { color: var(--c-navy); font-weight: 700; }

.settlements__hint {
  text-align: center;
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 var(--sp-5);
}
.settlements {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
}
@media (min-width: 768px) { .settlements { grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); } }
.settlements li { list-style: none; }

.settlement {
  background: #fff;
  border: 1px solid var(--c-border);
  border-top: 4px solid var(--c-gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  width: 100%;
  height: 100%;
  padding: var(--sp-5) var(--sp-4);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.settlement:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-top-color: var(--c-gold-dark);
}
.settlement__amt {
  font-family: 'Playfair Display', Georgia, serif; font-variant-numeric: tabular-nums; letter-spacing: -0.01em;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--c-navy);
  line-height: 1;
}
.settlement__type {
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
  line-height: 1.4;
  font-weight: 600;
  flex: 1;
  display: flex;
  align-items: center;
}
.settlement__more {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-gold-dark);
  font-weight: 700;
  margin-top: var(--sp-2);
}

.settlements__view-all {
  text-align: center;
  margin: var(--sp-5) 0 0;
}
.settlements__view-all a {
  color: var(--c-navy);
  font-weight: 700;
  font-size: var(--fs-sm);
  text-decoration: underline;
}

/* ---------- Settlement modal ---------- */
.settle-modal[hidden] { display: none; }
.settle-modal {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-4);
  animation: fadeIn 0.2s ease;
}
.settle-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 26, 48, 0.78);
  backdrop-filter: blur(4px);
}
.settle-modal__card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: var(--sp-7) var(--sp-6) var(--sp-6);
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  animation: zoomIn 0.25s ease;
  border-top: 6px solid var(--c-gold);
}
.settle-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--c-bg-alt);
  border: none;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--c-text);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.settle-modal__close:hover { background: var(--c-navy); color: #fff; }
.settle-modal__amt {
  font-family: 'Playfair Display', Georgia, serif; font-variant-numeric: tabular-nums; letter-spacing: -0.01em;
  font-size: clamp(2.25rem, 1.75rem + 2vw, 3.25rem);
  font-weight: 700;
  color: var(--c-gold-dark);
  line-height: 1;
  margin: 0 0 var(--sp-2);
}
.settle-modal__title {
  font-size: 1.375rem;
  margin: 0 0 var(--sp-2);
  color: var(--c-navy);
}
.settle-modal__meta {
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  margin: 0 0 var(--sp-5);
}
.settle-modal__body {
  font-size: var(--fs-base);
  color: var(--c-text);
  line-height: 1.6;
  margin: 0 0 var(--sp-6);
}
.settle-modal__cta {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-bottom: var(--sp-4);
}
@media (max-width: 480px) {
  .settle-modal__cta { flex-direction: column; }
  .settle-modal__cta .btn { width: 100%; }
}
.settle-modal__disc {
  font-size: var(--fs-xs);
  color: var(--c-text-soft);
  font-style: italic;
  margin: 0;
  text-align: center;
}

.proof-banner__disc {
  text-align: center;
  font-size: var(--fs-xs);
  color: var(--c-text-soft);
  margin: 0;
  font-style: italic;
}

/* ---------- Pain section ---------- */
.pain { background: #fff; }
.pain__intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  align-items: center;
  margin-bottom: var(--sp-7);
}
@media (min-width: 900px) {
  .pain__intro {
    grid-template-columns: 5fr 7fr;
    gap: var(--sp-8);
  }
}
.pain__photo {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  background: var(--c-bg-alt);
}
.pain__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pain__head { text-align: left; margin: 0; max-width: none; }
@media (max-width: 899px) {
  .pain__head { text-align: center; }
}

.pain__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
  margin-bottom: var(--sp-7);
}
@media (min-width: 640px) { .pain__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .pain__grid { grid-template-columns: 1fr 1fr 1fr; } }
.pain__card {
  background: var(--c-bg-alt);
  padding: var(--sp-6) var(--sp-5);
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pain__card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pain__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: var(--c-gold-soft);
  color: var(--c-gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-4);
}
.pain__card h3 { margin: 0 0 var(--sp-3); font-size: 1.25rem; }
.pain__card p { color: var(--c-text-muted); font-size: var(--fs-sm); margin: 0; }

.pain__cta {
  text-align: center;
  background: var(--c-navy);
  color: #fff;
  padding: var(--sp-6) var(--sp-5);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
}
.pain__cta p { margin: 0; font-size: var(--fs-lg); }
.pain__cta strong { color: var(--c-gold); }
@media (min-width: 768px) {
  .pain__cta { flex-direction: row; justify-content: center; gap: var(--sp-6); }
}

/* ---------- Solution ---------- */
.solution { background: var(--c-bg-alt); }
.solution__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-7);
  align-items: center;
}
@media (min-width: 1024px) { .solution__grid { grid-template-columns: 5fr 7fr; gap: var(--sp-8); } }
.solution__photo {
  margin: 0;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  max-height: 560px;
  background: var(--c-bg-alt);
}
@media (max-width: 1023px) {
  .solution__photo { aspect-ratio: 4 / 3; max-height: 420px; max-width: 560px; margin: 0 auto; }
}
.solution__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.solution__photo-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: var(--sp-5) var(--sp-5) var(--sp-4);
  background: linear-gradient(to top, rgba(10,37,64,0.85) 0%, rgba(10,37,64,0.4) 60%, rgba(10,37,64,0) 100%);
  color: #fff;
  font-style: italic;
  font-size: var(--fs-base);
}
.solution__inline-stats {
  list-style: none;
  padding: 0;
  margin: var(--sp-5) 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--sp-4);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  padding: var(--sp-5) 0;
}
.solution__inline-stats li {
  display: flex;
  flex-direction: column;
  text-align: center;
}
.solution__inline-stats strong {
  font-size: clamp(1.5rem, 1rem + 1.5vw, 2rem);
  color: var(--c-gold-dark);
  font-weight: 800;
  line-height: 1;
}
.solution__inline-stats span {
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
  margin-top: var(--sp-2);
  line-height: 1.3;
}
.solution__copy h2 { margin-bottom: var(--sp-4); }
.solution__copy p { color: var(--c-text-muted); font-size: var(--fs-lg); }
.solution__copy p strong { color: var(--c-navy); font-weight: 700; }
.solution__list { margin: var(--sp-5) 0 var(--sp-6); }
.solution__list li {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  margin-bottom: var(--sp-4);
  font-size: var(--fs-base);
  color: var(--c-text);
}
.solution__list svg {
  flex-shrink: 0;
  color: var(--c-gold-dark);
  background: var(--c-gold-soft);
  border-radius: 50%;
  padding: 4px;
  margin-top: 2px;
}
.solution__list strong { color: var(--c-navy); }

.solution__aside {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--sp-3);
}
@media (min-width: 1024px) { .solution__aside { grid-template-columns: 1fr; gap: var(--sp-4); } }
.solution__stat {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: var(--sp-5) var(--sp-4);
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.solution__stat-num {
  display: block;
  font-family: 'Playfair Display', Georgia, serif; font-variant-numeric: tabular-nums; letter-spacing: -0.01em;
  font-size: clamp(1.75rem, 1.25rem + 2vw, 2.5rem);
  color: var(--c-gold-dark);
  font-weight: 700;
  line-height: 1;
  margin-bottom: var(--sp-2);
}
.solution__stat-label { font-size: var(--fs-xs); color: var(--c-text-muted); display: block; line-height: 1.3; }

/* ---------- How it works ---------- */
.how { background: #fff; }
.how__steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
  counter-reset: step;
}
@media (min-width: 768px) { .how__steps { grid-template-columns: 1fr 1fr 1fr; gap: var(--sp-6); } }
.how__steps li {
  background: var(--c-bg-alt);
  padding: var(--sp-6) var(--sp-5);
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid var(--c-border-soft);
}
.how__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--c-navy);
  color: var(--c-gold);
  font-family: 'Playfair Display', Georgia, serif; font-variant-numeric: tabular-nums; letter-spacing: -0.01em;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--sp-4);
}
.how__steps h3 { margin: 0 0 var(--sp-3); font-size: 1.25rem; }
.how__steps p { color: var(--c-text-muted); font-size: var(--fs-sm); margin: 0; }

/* ---------- Team bubbles ---------- */
.team { background: var(--c-bg-alt); }
.team__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-5);
}
@media (min-width: 640px) { .team__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .team__grid { grid-template-columns: repeat(6, 1fr); } }
.team__card { text-align: center; }
.team__bubble {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  margin: 0 auto var(--sp-4);
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: var(--shadow);
  background: var(--c-gold-soft);
  position: relative;
}
.team__bubble img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.team__card h3 { font-size: 1rem; margin: 0 0 var(--sp-1); }
.team__title { font-size: var(--fs-xs); color: var(--c-gold-dark); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin: 0 0 var(--sp-2); }
.team__bio { font-size: var(--fs-xs); color: var(--c-text-muted); margin: 0; line-height: 1.4; }

/* ---------- Reviews ---------- */
.reviews { background: #fff; }
.reviews__quote {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--sp-7) var(--sp-5);
  background: var(--c-bg-alt);
  border-radius: var(--radius-lg);
  text-align: center;
  border-left: 4px solid var(--c-gold);
}
.reviews__quote p {
  font-size: clamp(1.125rem, 0.9rem + 0.75vw, 1.375rem);
  font-style: italic;
  color: var(--c-navy);
  margin: 0 0 var(--sp-4);
  line-height: 1.5;
}
.reviews__quote footer { display: flex; flex-direction: column; align-items: center; gap: var(--sp-2); }
.reviews__quote cite { font-style: normal; color: var(--c-text-muted); font-size: var(--fs-sm); }

/* ---------- FAQ ---------- */
.faq { background: var(--c-bg-alt); }
.faq__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}
@media (min-width: 1024px) { .faq__layout { grid-template-columns: 1fr 1.6fr; gap: var(--sp-8); } }
.faq__list { display: grid; gap: var(--sp-3); }
.faq__item {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq__item summary {
  list-style: none;
  padding: var(--sp-4) var(--sp-5);
  font-weight: 600;
  color: var(--c-navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  font-size: var(--fs-base);
  position: relative;
  transition: background 0.15s ease;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--c-gold-dark);
  flex-shrink: 0;
  transition: transform 0.2s ease;
  font-weight: 300;
  line-height: 1;
}
.faq__item[open] summary::after { content: '−'; }
.faq__item summary:hover { background: var(--c-bg-tint); }
.faq__body { padding: 0 var(--sp-5) var(--sp-5); color: var(--c-text-muted); font-size: var(--fs-sm); }
.faq__body p { margin: 0; }

/* ---------- Final CTA ---------- */
.final-cta {
  background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-navy-dark) 100%);
  color: #fff;
  text-align: center;
}
.final-cta h2 { color: #fff; max-width: 800px; margin: 0 auto var(--sp-4); }
.final-cta p { color: rgba(255,255,255,0.85); font-size: var(--fs-lg); max-width: 700px; margin: 0 auto var(--sp-6); }
.final-cta__row { display: flex; gap: var(--sp-3); flex-wrap: wrap; justify-content: center; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--c-navy-dark);
  color: rgba(255,255,255,0.7);
  padding: var(--sp-7) 0 var(--sp-6);
  font-size: var(--fs-sm);
}
.site-footer img { filter: brightness(0) invert(1); opacity: 0.9; margin-bottom: var(--sp-3); }
.site-footer a { color: var(--c-gold); }
.site-footer__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  padding-bottom: var(--sp-6);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: var(--sp-5);
}
@media (min-width: 768px) { .site-footer__row { grid-template-columns: 1.5fr 1fr 1fr; } }
.site-footer__heading {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: var(--fs-xs);
  color: #fff;
  font-weight: 700;
  margin-bottom: var(--sp-3);
}
.site-footer__tagline { color: rgba(255,255,255,0.6); font-size: var(--fs-xs); }
.site-footer__legal { font-size: var(--fs-xs); color: rgba(255,255,255,0.5); }
.site-footer__legal p { margin: 0 0 var(--sp-3); }
.site-footer__disclaimer { line-height: 1.6; }

/* ---------- Sticky mobile call bar ---------- */
.sticky-call {
  position: fixed;
  inset: auto 0 0 0;
  background: var(--c-gold);
  color: var(--c-navy);
  padding: var(--sp-4);
  padding-bottom: calc(var(--sp-4) + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  font-weight: 700;
  font-size: var(--fs-base);
  text-decoration: none;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.15);
  z-index: 90;
  border-top: 2px solid var(--c-gold-dark);
}
.sticky-call:hover { background: var(--c-gold-dark); text-decoration: none; }
@media (min-width: 1024px) { .sticky-call { display: none; } }
@media (max-width: 1023px) { body { padding-bottom: 80px; } }

/* ---------- Exit modal ---------- */
.exit-modal[hidden] { display: none; }
.exit-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-4);
  animation: fadeIn 0.25s ease;
}
.exit-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 26, 48, 0.75);
  backdrop-filter: blur(4px);
}
.exit-modal__card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: var(--sp-7) var(--sp-6) var(--sp-6);
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-xl);
  animation: zoomIn 0.3s ease;
}
.exit-modal__close {
  position: absolute;
  top: var(--sp-3);
  right: var(--sp-3);
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: var(--c-text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.exit-modal__close:hover { background: var(--c-bg-alt); }
.exit-modal__alert {
  display: inline-block;
  background: #fef2f2;
  color: var(--c-error);
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-pill);
  margin-bottom: var(--sp-4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.exit-modal__card h3 { margin: 0 0 var(--sp-3); font-size: 1.5rem; }
.exit-modal__card p { color: var(--c-text-muted); font-size: var(--fs-base); margin-bottom: var(--sp-5); }
.exit-modal__row { display: flex; gap: var(--sp-3); justify-content: center; flex-wrap: wrap; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes zoomIn { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: scale(1); } }

/* ---------- Chat widget ---------- */
.chat-launcher {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--c-navy);
  color: var(--c-gold);
  border: none;
  box-shadow: var(--shadow-lg);
  z-index: 95;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease;
}
.chat-launcher:hover { background: var(--c-navy-light); transform: scale(1.05); }
@media (max-width: 1023px) { .chat-launcher { bottom: 90px; right: 16px; width: 56px; height: 56px; } }
.chat-launcher__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--c-gold);
  opacity: 0.4;
  animation: pulse 2s ease-out infinite;
  z-index: -1;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(1.4); opacity: 0; }
}

.chat[hidden] { display: none; }
.chat {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: min(380px, calc(100vw - 32px));
  height: min(560px, calc(100vh - 48px));
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  z-index: 210;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: zoomIn 0.25s ease;
}
@media (max-width: 1023px) {
  .chat { bottom: 90px; right: 16px; left: 16px; width: auto; height: min(560px, calc(100vh - 120px)); }
}
.chat__head {
  background: var(--c-navy);
  color: #fff;
  padding: var(--sp-4) var(--sp-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.chat__head p { margin: 0; font-weight: 700; }
.chat__head .chat__sub { font-weight: 400; font-size: var(--fs-xs); opacity: 0.7; }
.chat__close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  opacity: 0.7;
}
.chat__close:hover { background: rgba(255,255,255,0.1); opacity: 1; }
.chat__body {
  flex: 1;
  overflow-y: auto;
  padding: var(--sp-4);
  background: var(--c-bg-alt);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.chat__msg {
  max-width: 85%;
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--radius-lg);
  font-size: var(--fs-sm);
  line-height: 1.5;
  animation: msgIn 0.25s ease;
}
@keyframes msgIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.chat__msg--bot {
  background: #fff;
  color: var(--c-text);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  box-shadow: var(--shadow-sm);
}
.chat__msg--user {
  background: var(--c-navy);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.chat__choices { display: flex; flex-direction: column; gap: var(--sp-2); align-self: stretch; }
.chat__choice {
  background: #fff;
  border: 1.5px solid var(--c-navy);
  color: var(--c-navy);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--radius);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.chat__choice:hover { background: var(--c-navy); color: #fff; }
.chat__decline {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #78350f;
  padding: var(--sp-4);
  border-radius: var(--radius);
  font-size: var(--fs-sm);
  align-self: stretch;
}
.chat__foot {
  border-top: 1px solid var(--c-border-soft);
  background: #fff;
  flex-shrink: 0;
}
.chat__input-row {
  display: flex;
  gap: var(--sp-2);
  padding: var(--sp-3);
}
.chat__input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  font-family: inherit;
  min-height: 44px;
}
.chat__input:focus { outline: none; border-color: var(--c-navy); }
.chat__send {
  background: var(--c-navy);
  color: var(--c-gold);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 700;
  flex-shrink: 0;
}
.chat__send:hover { background: var(--c-navy-light); }

/* ---------- Hero team bubbles ---------- */
.hero__team {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  margin: 0 0 var(--sp-5);
  padding: var(--sp-3) 0;
}
.hero__team-avatars { display: flex; align-items: center; }
.hero__team-avatars img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid var(--c-navy);
  outline: 2px solid var(--c-gold);
  object-fit: cover;
  object-position: center top;
  margin-left: -14px;
  background: var(--c-gold-soft);
  transition: transform 0.2s ease, z-index 0.2s ease;
  position: relative;
}
.hero__team-avatars img:first-child { margin-left: 0; }
.hero__team-avatars img:hover { transform: translateY(-3px) scale(1.1); z-index: 5; }
.hero__team-text p { margin: 0; color: rgba(255,255,255,0.95); font-size: var(--fs-sm); line-height: 1.3; }
.hero__team-text p strong { color: #fff; font-weight: 700; }
.hero__team-text .hero__team-sub { color: rgba(255,255,255,0.65); font-size: var(--fs-xs); }

/* ---------- How it works (redesigned with connecting line + icons) ---------- */
.how__steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
  position: relative;
  counter-reset: step;
}
@media (min-width: 768px) {
  .how__steps { grid-template-columns: 1fr 1fr 1fr; gap: var(--sp-6); position: relative; }
  .how__steps::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 16.6%;
    right: 16.6%;
    height: 3px;
    background: linear-gradient(90deg, var(--c-gold) 0%, var(--c-gold-dark) 100%);
    z-index: 0;
    border-radius: 2px;
  }
}
.how__step {
  background: #fff;
  padding: var(--sp-7) var(--sp-5) var(--sp-6);
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
}
.how__step-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--c-navy);
  color: var(--c-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-4);
  border: 4px solid #fff;
  box-shadow: 0 0 0 3px var(--c-gold), var(--shadow);
}
.how__step .how__num {
  display: inline-block;
  width: auto;
  height: auto;
  background: var(--c-gold);
  color: var(--c-navy);
  font-family: inherit;
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-pill);
  margin-bottom: var(--sp-3);
  line-height: 1;
}
.how__step h3 { margin: 0 0 var(--sp-3); font-size: 1.25rem; }
.how__step p { color: var(--c-text-muted); font-size: var(--fs-sm); margin: 0; }
.how__step p strong { color: var(--c-navy); }
.how__cta { text-align: center; margin-top: var(--sp-7); }

/* ---------- Reviews (aggregate banner + cards grid) ---------- */
.reviews__aggregate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  background: var(--c-navy);
  color: #fff;
  padding: var(--sp-5) var(--sp-6);
  border-radius: var(--radius-lg);
  margin-bottom: var(--sp-6);
  box-shadow: var(--shadow);
  flex-wrap: wrap;
}
.reviews__rating { display: flex; align-items: center; gap: var(--sp-4); }
.reviews__rating-num {
  font-family: 'Playfair Display', Georgia, serif; font-variant-numeric: tabular-nums; letter-spacing: -0.01em;
  font-size: 3rem;
  font-weight: 700;
  color: var(--c-gold);
  line-height: 1;
}
.reviews__rating .stars { font-size: 1.25rem; display: block; }
.reviews__rating p { margin: var(--sp-1) 0 0; color: rgba(255,255,255,0.85); font-size: var(--fs-sm); }
.reviews__rating p strong { color: #fff; }
.reviews__aggregate .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.5); }
.reviews__aggregate .btn--ghost:hover { background: #fff; color: var(--c-navy); border-color: #fff; }
.reviews__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}
@media (min-width: 640px) { .reviews__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .reviews__grid { grid-template-columns: repeat(3, 1fr); } }
.reviews__card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-left: 4px solid var(--c-gold);
  border-radius: var(--radius);
  padding: var(--sp-5) var(--sp-6);
  box-shadow: var(--shadow-sm);
  margin: 0;
}
.reviews__card .stars { display: block; margin-bottom: var(--sp-3); font-size: 1rem; }
.reviews__card p {
  font-style: italic;
  color: var(--c-text);
  font-size: var(--fs-base);
  margin: 0 0 var(--sp-4);
  line-height: 1.5;
}
.reviews__card footer { display: flex; flex-direction: column; gap: 2px; }
.reviews__card footer strong { color: var(--c-navy); font-style: normal; font-size: var(--fs-sm); }
.reviews__card footer span { color: var(--c-text-muted); font-size: var(--fs-xs); }

/* ---------- Footer offices override ---------- */
.site-footer__brand-col img { height: auto; max-height: 64px; width: auto; }
.site-footer__contact { margin-top: var(--sp-3); }
.site-footer__contact a { font-size: var(--fs-lg); font-weight: 700; }
.site-footer__offices .office-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
  margin: 0;
}
@media (min-width: 768px) { .site-footer__offices .office-list { grid-template-columns: repeat(3, 1fr); } }
.site-footer__offices .office-list li {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}
.site-footer__offices .office-list li strong {
  display: block;
  color: var(--c-gold);
  font-size: var(--fs-sm);
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.site-footer__row { grid-template-columns: 1fr; }
@media (min-width: 1024px) { .site-footer__row { grid-template-columns: 1fr 2fr; gap: var(--sp-7); } }

/* ---------- Chat: avatar + preview tooltip ---------- */
.chat-launcher-wrap {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 95;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--sp-3);
}
@media (max-width: 1023px) { .chat-launcher-wrap { bottom: 90px; right: 16px; } }

.chat-launcher {
  position: relative;
  bottom: auto;
  right: auto;
  width: 82px;
  height: 82px;
  padding: 0;
  background: #fff;
  border-radius: 50%;
  border: 3px solid var(--c-navy);
  box-shadow: var(--shadow-lg);
}
.chat-launcher__avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: 50%;
}
.chat-launcher__dot {
  position: absolute;
  bottom: 0;
  right: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #16a34a;
  border: 3px solid #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  z-index: 2;
}
.chat-launcher__pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--c-gold);
  opacity: 0.35;
  animation: pulse 2.5s ease-out infinite;
  z-index: -1;
}
.chat-launcher:hover { transform: scale(1.05); }

.chat-preview {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: var(--sp-3) var(--sp-4) var(--sp-3) var(--sp-3);
  max-width: 280px;
  position: relative;
  animation: previewIn 0.4s ease 1.5s both;
  border: 1px solid var(--c-border-soft);
}
.chat-preview[hidden] { display: none; }
@keyframes previewIn {
  from { opacity: 0; transform: translateY(8px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.chat-preview::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 24px;
  width: 16px;
  height: 16px;
  background: #fff;
  transform: rotate(45deg);
  border-right: 1px solid var(--c-border-soft);
  border-bottom: 1px solid var(--c-border-soft);
}
.chat-preview__close {
  position: absolute;
  top: 4px;
  right: 6px;
  background: none;
  border: none;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--c-text-soft);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  padding: 0;
}
.chat-preview__close:hover { background: var(--c-bg-alt); color: var(--c-text); }
.chat-preview__row { display: flex; align-items: center; gap: var(--sp-3); }
.chat-preview__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--c-navy);
  flex-shrink: 0;
  object-fit: cover;
}
.chat-preview__name { margin: 0; font-size: var(--fs-xs); font-weight: 700; color: var(--c-navy); }
.chat-preview__msg  { margin: 2px 0 0; font-size: var(--fs-sm); color: var(--c-text); line-height: 1.3; }

/* Chat header avatar */
.chat__head { gap: var(--sp-3); }
.chat__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--c-gold);
  object-fit: cover;
  flex-shrink: 0;
}
.chat__head-text { flex: 1; }
.chat__online {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16a34a;
  margin-right: 6px;
  vertical-align: middle;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Mobile centering fixes ---------- */
@media (max-width: 767px) {
  /* Center pain card icons (bedsores, falls, etc.) */
  .pain__card { text-align: center; }
  .pain__icon { margin-left: auto; margin-right: auto; }

  /* Center the "Talk to a Lawyer Now" button under the solution copy */
  .solution__copy > .btn {
    display: flex;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }

  /* Center the "Start with Step 1" button (parent already text-align center,
     but force flex centering in case button is stretched) */
  .how__cta { display: flex; justify-content: center; }

  /* Center the "Read All Reviews on Google" button inside the dark stats bar */
  .reviews__aggregate { justify-content: center; text-align: center; }
  .reviews__rating { justify-content: center; }
}

/* Honeypot anti-spam field: visible to simple bots, hidden from real users. */
.hp-field{position:absolute !important;left:-10000px !important;top:auto !important;width:1px !important;height:1px !important;overflow:hidden !important;opacity:0 !important;}
