/* WeHunt site styles. Mobile first; one breakpoint at 768px. Colors come from tokens.css. */

@font-face { font-family: 'Montserrat'; font-weight: 600; font-display: swap; src: url('/fonts/montserrat-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-weight: 700; font-display: swap; src: url('/fonts/montserrat-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-weight: 800; font-display: swap; src: url('/fonts/montserrat-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-weight: 400; font-display: swap; src: url('/fonts/source-sans-3-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-weight: 600; font-display: swap; src: url('/fonts/source-sans-3-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-weight: 700; font-display: swap; src: url('/fonts/source-sans-3-latin-700-normal.woff2') format('woff2'); }

:root {
  --heading: 'Montserrat', system-ui, sans-serif;
  --body: 'Source Sans 3', system-ui, sans-serif;
  --gutter: 20px;
  --radius: 4px;
  --wh-error: #B3261E;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--wh-ivory); color: var(--wh-ink); font-family: var(--body); font-size: 18px; line-height: 1.55; -webkit-text-size-adjust: 100%; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--wh-navy-light); }
a:hover { color: var(--wh-navy); }
h1, h2, h3 { font-family: var(--heading); color: var(--wh-navy); margin: 0; line-height: 1.1; }
h2 { font-weight: 800; font-size: 28px; }
h3 { font-weight: 700; font-size: 20px; }
p { margin: 0; }
.icon { flex-shrink: 0; }
.muted { color: var(--wh-slate); }
.wrap { max-width: 1200px; margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: 48px; }
.section-white { background: var(--wh-white); border-block: 1px solid var(--wh-line); }
.section-tint { background: var(--wh-rose-tint); }
.section-navy { background: var(--wh-navy); color: var(--wh-white); }
.section-navy h2 { color: var(--wh-white); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 8px; top: -60px; background: var(--wh-navy); color: var(--wh-white); padding: 10px 16px; z-index: 20; border-radius: var(--radius); }
.skip-link:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--wh-navy-light); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border: 0; border-radius: var(--radius); background: var(--wh-navy); color: var(--wh-white); font: inherit; font-weight: 700; font-size: 18px; text-decoration: none; cursor: pointer; }
.btn:hover { color: var(--wh-white); }
.btn-light { background: var(--wh-white); color: var(--wh-navy); }
.btn-light:hover { color: var(--wh-navy); }
.btn-outline { background: var(--wh-white); color: var(--wh-navy); border: 2px solid var(--wh-navy); }
.btn-outline:hover { color: var(--wh-navy); }
.btn-lg { min-height: 56px; font-size: 19px; padding: 0 36px; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.link-button { background: none; border: 0; color: var(--wh-navy-light); font: inherit; font-weight: 600; text-decoration: underline; min-height: 44px; padding: 0 12px; cursor: pointer; }

/* Header */
.site-header { background: var(--wh-ivory); border-bottom: 1px solid var(--wh-line); position: relative; z-index: 10; }
.header-row { display: flex; align-items: center; gap: 12px; padding-block: 12px; }
.header-logo img { height: 36px; width: auto; }
.main-nav { display: none; }
.main-nav.is-open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--wh-ivory); border-bottom: 1px solid var(--wh-line); padding: 8px var(--gutter) 16px; }
.main-nav a { color: var(--wh-ink); text-decoration: none; font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.menu-button { order: 3; width: 44px; height: 44px; border: 1px solid var(--wh-line); border-radius: var(--radius); background: var(--wh-white); color: var(--wh-navy); display: flex; align-items: center; justify-content: center; padding: 0; cursor: pointer; }
.lang-toggle { margin-left: auto; display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; color: var(--wh-slate); }
.lang-toggle [aria-current] { color: var(--wh-navy); border-bottom: 2px solid var(--wh-rose); }
.lang-toggle a { color: var(--wh-navy); text-decoration: none; min-height: 44px; display: flex; align-items: center; padding: 0 4px; font-weight: 700; }
.header-cta { display: none; }
.header-phone { display: none; }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero-video, .hero-overlay { display: none; }
.hero-content { padding-block: 36px 48px; display: flex; flex-direction: column; gap: 20px; }
.hero h1 { display: flex; flex-direction: column; gap: 16px; font-weight: 800; font-size: 34px; line-height: 1.12; letter-spacing: -0.015em; }
.hero-kicker { font-family: var(--body); font-size: 15px; font-weight: 600; letter-spacing: 0; line-height: 1.4; color: var(--wh-rose-text); }
.hero-intro { font-size: 18px; color: var(--wh-slate); }
.hero-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.hero-call { display: flex; align-items: center; justify-content: center; gap: 10px; }
.hero-actions .btn-light { background: var(--wh-navy); color: var(--wh-white); }
.hero-actions .wh-btn.btn-light:hover, .hero-actions .wh-btn.btn-light:focus-visible { background-color: var(--wh-ink); }
.hero-spanish { font-size: 15px; font-weight: 600; color: var(--wh-rose-text); text-align: center; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-bottom: 5px solid var(--wh-rose); }

/* Trust strip */
.trust { list-style: none; margin: 0; padding: 0 12px; background: var(--wh-white); border-bottom: 1px solid var(--wh-line); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.trust li { padding: 14px 8px; text-align: center; font-weight: 700; color: var(--wh-navy); font-size: 15px; }
.trust li:nth-child(even) { border-left: 1px solid var(--wh-line); }
.trust li:nth-child(n+3) { border-top: 1px solid var(--wh-line); }

/* Problem */
.problem p { font-size: 19px; line-height: 1.5; }
.problem h2 { font-size: 30px; }

/* Coverage */
.cards { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.card { display: flex; flex-direction: column; gap: 6px; padding: 20px; background: var(--wh-ivory); border-top: 4px solid var(--wh-navy-light); }
.card:first-child { border-top-color: var(--wh-navy); }
.card p { font-size: 17px; color: var(--wh-slate); }
.also { font-size: 17px; color: var(--wh-slate); }
.also strong { color: var(--wh-navy); }

/* Pricing */
.price-toggle { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--wh-navy); border-radius: var(--radius); overflow: hidden; }
.price-toggle button { min-height: 44px; border: 0; background: var(--wh-white); color: var(--wh-navy); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.price-toggle button + button { border-left: 1px solid var(--wh-navy); }
.price-toggle button[aria-pressed="true"] { background: var(--wh-navy); color: var(--wh-white); }
.price-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.price-table th, .price-table td { padding: 14px 0; text-align: right; }
.price-table th:first-child { text-align: left; }
.price-table thead tr { border-bottom: 2px solid var(--wh-navy); }
.price-table thead th { font-family: var(--heading); font-size: 14px; color: var(--wh-navy); }
.price-table tbody tr { border-bottom: 1px solid var(--wh-line); }
.price-table tbody th { font-weight: 600; }
.price-table td { color: var(--wh-slate); }
.js .price-table [data-household]:not(.is-shown) { display: none; }
.price-note { font-size: 14px; color: var(--wh-slate); }
.included { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.included li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: 17px; }
.included svg { margin-top: 3px; color: var(--wh-rose-deep); }

/* Process */
.steps { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--wh-navy); }
.steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 10px; padding: 16px 0; border-bottom: 1px solid var(--wh-line); }
.step-num { font-family: var(--heading); font-weight: 800; font-size: 30px; line-height: 1; color: var(--wh-rose-deep); }
.steps strong { display: block; }
.steps span span { font-size: 16px; color: var(--wh-slate); }

/* Agent */
.agent-name { font-family: var(--heading); font-weight: 700; font-size: 20px; color: var(--wh-rose-text); margin-top: 4px; }
.agent-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-bottom: 5px solid var(--wh-rose); }
.agent-quote, .agent-bio { font-size: 20px; line-height: 1.5; }
.agent-details { font-size: 16px; color: var(--wh-slate); display: flex; flex-wrap: wrap; gap: 4px 12px; }
.agent-details a { font-weight: 700; color: var(--wh-navy); }

/* FAQ */
.faq { border-top: 2px solid var(--wh-navy); }
.faq details { border-bottom: 1px solid var(--wh-line); padding: 18px 8px; }
.faq summary { display: flex; justify-content: space-between; gap: 16px; font-family: var(--heading); font-weight: 700; font-size: 17px; color: var(--wh-navy); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq-icon { color: var(--wh-rose-deep); display: inline-block; }
.faq p { margin-top: 12px; color: var(--wh-slate); font-size: 17px; max-width: 640px; }

/* Contact */
.contact-phone { color: var(--wh-rose); text-decoration: none; font-family: var(--heading); font-weight: 800; font-size: 28px; }
.contact-phone:hover { color: var(--wh-rose); }
.contact-lead { color: #DCE3EC; }
.contact-meta { color: #DCE3EC; font-size: 16px; }

/* Forms */
.form-panel { background: var(--wh-white); color: var(--wh-ink); border-radius: var(--radius); padding: 24px 20px; display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-group { border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field-label { font-weight: 600; font-size: 16px; }
.optional { font-weight: 400; color: var(--wh-slate); }
.input { height: 48px; width: 100%; border: 1px solid #8A93A0; border-radius: var(--radius); padding: 0 14px; font: inherit; background: var(--wh-white); color: var(--wh-ink); }
textarea.input { height: auto; padding: 12px 14px; resize: vertical; }
.input[aria-invalid="true"] { border: 2px solid var(--wh-error); }
.error { font-size: 15px; font-weight: 600; color: var(--wh-error); }
.error:empty { display: none; }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; border: 0; padding: 0; margin: 0; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 12px; border: 1px solid #8A93A0; border-radius: var(--radius); background: var(--wh-white); color: var(--wh-navy); font-weight: 700; font-size: 16px; text-align: center; }
.choice input:checked + span { border: 2px solid var(--wh-navy); background: #EEF1F5; }
.choice input:focus-visible + span { outline: 3px solid var(--wh-navy-light); outline-offset: 2px; }
.choices[aria-invalid="true"] .choice span { border-color: var(--wh-error); }
.choices-lg .choice span { min-height: 64px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--wh-slate); }
.consent input { width: 20px; height: 20px; margin-top: 3px; flex-shrink: 0; accent-color: var(--wh-navy); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { padding: 14px 16px; border-left: 4px solid var(--wh-error); background: #FBEBEB; color: var(--wh-ink); font-weight: 600; }
.form-alert:empty { display: none; }
.form-success h2 { margin-bottom: 8px; }


/* Quote page */
[hidden] { display: none !important; }
.quote-layout { padding-block: 24px 48px; display: flex; flex-direction: column; gap: 24px; }
.quote-intro h1 { font-weight: 800; font-size: 30px; line-height: 1.12; letter-spacing: -0.015em; }
.quote-panel { border-top: 4px solid var(--wh-navy); padding: 24px 20px 28px; }
.progress { display: none; list-style: none; margin: 0; padding: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.js .progress { display: grid; }
.progress li { padding-top: 8px; border-top: 4px solid var(--wh-line); font-size: 14px; color: var(--wh-slate); }
.progress li.is-done, .progress li[aria-current] { border-top-color: var(--wh-navy); color: var(--wh-navy); }
.progress li[aria-current] { font-weight: 700; }
.step { gap: 18px; }
.step legend { padding: 0; margin-bottom: 4px; float: left; width: 100%; }
.step legend + * { clear: both; }
.step h2 { font-size: 25px; line-height: 1.15; }
.step h2:focus { outline: none; }
.person { padding-top: 16px; border-top: 1px solid var(--wh-line); gap: 12px; }
.person h3 { font-size: 17px; }
.kids { display: flex; flex-direction: column; gap: 12px; }
.input-short { max-width: 220px; }
.field-zip { max-width: 220px; }
.step-actions { display: flex; flex-direction: column; gap: 8px; align-items: stretch; margin-top: 4px; }
.step-actions .link-button { align-self: center; }
.js-steps .step-actions [data-next], .js-steps .step-actions [data-back] { display: inline-flex; }
.step-actions [data-next], .step-actions [data-back] { display: none; }
.js .nojs-note { display: none; }
html:not(.js) [data-add-kid] { display: none; }
.nojs-note { color: var(--wh-slate); font-size: 16px; }
.privacy-line { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--wh-slate); }
.privacy-line svg { flex-shrink: 0; margin-top: 3px; color: var(--wh-rose-deep); }
.thanks-page { padding-block: 64px 96px; }

/* Text pages */
.prose { max-width: 760px; display: flex; flex-direction: column; gap: 16px; }
.prose h1 { font-weight: 800; font-size: 34px; }
.prose h2 { font-size: 24px; margin-top: 16px; }
.prose ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.link-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.link-list a { min-height: 44px; display: inline-flex; align-items: center; font-weight: 700; }
.thanks-page h1 { font-weight: 800; font-size: 34px; }

/* Footer */
.site-footer { background: var(--wh-ink); color: #DCE3EC; font-size: 15px; }
.footer-inner { padding-block: 40px 48px; display: flex; flex-direction: column; gap: 20px; }
.footer-top { display: flex; flex-direction: column; gap: 16px; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-brand img { height: 36px; width: auto; }
.footer-phone { display: flex; align-items: center; gap: 10px; min-height: 44px; color: var(--wh-white); text-decoration: none; font-family: var(--heading); font-weight: 700; font-size: 19px; }
.footer-phone:hover { color: var(--wh-white); }
.footer-phone .icon { color: var(--wh-rose); }
.footer-nav { display: flex; flex-direction: column; }
.footer-nav a { color: var(--wh-white); min-height: 44px; display: flex; align-items: center; }
.footer-states, .footer-copy { color: #AEBBCB; }
.site-footer-simple { border-top: 1px solid var(--wh-line); font-size: 14px; color: var(--wh-slate); }
.site-footer-simple .wrap { padding-block: 24px 40px; }

/* Sticky call bar (phones) */
.call-bar { position: sticky; bottom: 0; z-index: 5; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 10px var(--gutter) 14px; background: var(--wh-ivory); border-top: 1px solid var(--wh-line); }
.call-bar.single { grid-template-columns: 1fr; }
.call-bar .btn { font-size: 16px; padding: 0 12px; gap: 8px; }

/* Hover effects (also on keyboard focus) */
.wh-btn, .wh-card, .wh-row, .wh-faq, .wh-choice span, .faq-icon, .wh-arrow { transition: background-color .2s ease, box-shadow .2s ease, border-color .2s ease, transform .2s ease, width .2s ease, margin .2s ease, opacity .2s ease; }
.wh-arrow { display: inline-block; width: 0; margin-left: 0; opacity: 0; overflow: hidden; }
.wh-btn:hover .wh-arrow, .wh-btn:focus-visible .wh-arrow { width: 1em; margin-left: .4em; opacity: 1; }
.wh-btn:hover, .wh-btn:focus-visible { background-color: var(--wh-ink); }
.wh-btn.btn-light:hover, .wh-btn.btn-light:focus-visible, .wh-btn.btn-outline:hover, .wh-btn.btn-outline:focus-visible { background-color: #EEF1F5; }
.wh-card:hover { background-color: var(--wh-white); box-shadow: inset 0 4px 0 var(--wh-navy); }
.wh-link { text-decoration: none; background: linear-gradient(var(--wh-rose), var(--wh-rose)) no-repeat 0 100% / 0 2px; transition: background-size .25s ease; }
.wh-link:hover, .wh-link:focus-visible { background-size: 100% 2px; }
.wh-row:hover { background-color: var(--wh-rose-tint); }
.wh-faq:hover { background-color: var(--wh-ivory); }
.wh-faq[open] .faq-icon { transform: rotate(45deg); }
.wh-choice:hover span, .wh-choice input:focus-visible + span { border-color: var(--wh-navy); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

@media (min-width: 768px) {
  :root { --gutter: 40px; }
  .section { padding-block: 96px; }
  h2 { font-size: 36px; }
  .header-row { gap: 32px; padding-block: 18px; }
  .header-logo img { height: 48px; }
  .menu-button { display: none; }
  .main-nav, .main-nav.is-open { display: flex; flex-direction: row; position: static; gap: 28px; margin-left: auto; padding: 0; border: 0; background: none; font-size: 17px; }
  .lang-toggle { margin-left: 0; }
  .header-cta { display: inline-flex; font-size: 16px; padding: 0 20px; }
  .header-phone { display: flex; margin-left: auto; align-items: center; gap: 10px; color: var(--wh-navy); text-decoration: none; font-family: var(--heading); font-weight: 700; font-size: 19px; }
  .header-phone .icon { color: var(--wh-rose-deep); }
  .no-nav .lang-toggle { margin-left: 0; }

  .hero { background: var(--wh-navy); min-height: 680px; display: flex; align-items: center; }
  .hero-video { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .hero-overlay { display: block; position: absolute; inset: 0; background: rgba(24, 48, 80, 0.7); }
  .hero-content { position: relative; width: 100%; max-width: 1200px; margin: 0 auto; padding: 64px var(--gutter); color: var(--wh-white); }
  .hero-content > * { max-width: 680px; }
  .hero h1 { color: var(--wh-white); font-size: 54px; line-height: 1.08; letter-spacing: -0.02em; gap: 20px; }
  .hero-kicker, .hero-intro, .hero-spanish { color: var(--wh-white); }
  .hero-kicker { font-size: 17px; }
  .hero-intro { font-size: 20px; line-height: 1.5; }
  .hero-actions { flex-direction: row; align-items: center; gap: 28px; margin-top: 8px; }
  .hero-actions .btn-light { background: var(--wh-white); color: var(--wh-navy); font-size: 18px; min-height: 56px; padding: 0 28px; }
  .hero-actions .wh-btn.btn-light:hover, .hero-actions .wh-btn.btn-light:focus-visible { background-color: #EEF1F5; }
  .btn-start { align-self: flex-start; }
  .hero-call { border: 0; background: none; color: var(--wh-white); font-family: var(--heading); font-size: 21px; padding: 0; min-height: 44px; }
  .hero-call:hover { background: none; color: var(--wh-white); }
  .hero-call .icon { color: var(--wh-rose); }
  .hero-spanish { text-align: left; font-size: 16px; }
  .hero-photo { display: none; }

  .trust { padding: 0 var(--gutter); grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .trust li { padding: 20px 24px; font-size: 17px; border-top: 0 !important; }
  .trust li + li { border-left: 1px solid var(--wh-line); }

  .problem { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; align-items: start; }
  .problem h2 { font-size: 44px; }
  .problem p { font-size: 23px; margin-top: 8px; }

  .cards { flex-direction: row; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .card { padding: 28px 28px 32px; }
  .card h3 { font-size: 23px; }
  .card p { font-size: 18px; }

  .price-toggle { display: none; }
  .js .price-table [data-household] { display: table-cell !important; }
  .price-table th, .price-table td { padding: 16px; }
  .price-table th:first-child { padding-left: 0; }
  .price-table th:last-child, .price-table td:last-child { padding-right: 0; }
  .price-table thead th { font-size: 15px; }
  .price-note { font-size: 15px; }
  .included { flex-direction: row; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-top: 24px; border-top: 1px solid var(--wh-line); }
  .included li { font-size: 18px; }

  .steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; border-top: 0; }
  .steps li { display: flex; flex-direction: column; gap: 6px; padding: 20px 0 0; border-bottom: 0; border-top: 2px solid var(--wh-navy); }
  .step-num { font-size: 44px; }
  .steps strong { font-size: 21px; margin-top: 8px; }
  .steps span span { font-size: 18px; }

  .agent-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
  .agent-photo img { aspect-ratio: 4 / 5; border-bottom-width: 6px; }
  .agent-name { font-size: 24px; }
  .agent-quote, .agent-bio { font-size: 23px; }
  .agent-details { font-size: 17px; }

  .faq-grid, .contact-grid { display: grid; gap: 72px; align-items: start; }
  .faq-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
  .contact-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .faq details { padding: 22px 8px; }
  .faq summary { font-size: 19px; }
  .faq p { font-size: 18px; }
  .contact-phone { font-size: 34px; }
  .form-panel { padding: 40px; }
  .field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

  .footer-top { flex-direction: row; justify-content: space-between; align-items: center; }
  .footer-brand img { height: 44px; }
  .footer-brand { flex-direction: row; align-items: center; gap: 32px; }
  .footer-nav { flex-direction: row; gap: 24px; }

  .call-bar { display: none; }
  .quote-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; padding-block: 64px 96px; }
  .quote-intro h1 { font-size: 46px; line-height: 1.1; letter-spacing: -0.02em; }
  .quote-intro p { font-size: 20px; }
  .quote-panel { padding: 36px 40px 40px; }
  .progress li { font-size: 15px; }
  .step h2 { font-size: 30px; }
  .choices-lg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step-actions { flex-direction: row; align-items: center; gap: 16px; }
  .step-actions .link-button { align-self: auto; }
}

/* ===== Design refresh (formerly effects.css) ===== */
/* Design refresh: color rhythm, brand shapes and motion.
   Motion only runs when <html> has .fx (set in head.njk when the browser supports it and the
   visitor hasn't asked for reduced motion). Without .fx everything shows in its final state. */

/* ---------- Color rhythm: dark bands with light text break up the light sections ---------- */
.section-navy, .section-black { position: relative; overflow: hidden; }
.section-navy > .wrap, .section-black > .wrap { position: relative; z-index: 1; }
.section-black { background: var(--wh-navy-deep); color: #DCE3EC; }
.section-black h2 { color: var(--wh-white); }
#contact { background: linear-gradient(160deg, var(--wh-navy) 0%, #12243C 55%, var(--wh-navy-deep) 100%); }
.site-footer { background: var(--wh-navy-deep); }

/* Patterns */
.pattern-dots { background-image: radial-gradient(rgba(203, 157, 143, .3) 1.2px, transparent 1.6px); background-size: 24px 24px; }
.pattern-dots.section-black { background-color: var(--wh-navy-deep); }
.pattern-dots::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--wh-navy-deep) 0%, rgba(12, 26, 46, .55) 45%, rgba(12, 26, 46, 0) 100%); pointer-events: none; }
.problem p { color: #DCE3EC; margin-top: 20px; }

/* Deep navy as the hover anchor for navy buttons */
.wh-btn:hover, .wh-btn:focus-visible { background-color: var(--wh-navy-deep); }

/* ---------- Hero: navy-to-black gradient over the video (and on phones, without the video) ---------- */
.hero { background: linear-gradient(165deg, var(--wh-navy) 0%, #12243C 55%, var(--wh-navy-deep) 100%); }
.hero h1, .hero-kicker { color: var(--wh-white); }
.hero-kicker { color: var(--wh-rose); }
.hero-intro { color: #DCE3EC; }
.hero-spanish { color: var(--wh-rose); }
.hero-actions .btn-light { background: var(--wh-white); color: var(--wh-navy); }
.hero-actions .wh-btn.btn-light:hover, .hero-actions .wh-btn.btn-light:focus-visible { background-color: #E6EAF0; color: var(--wh-navy); }
.hero-actions .hero-call { background: transparent; color: var(--wh-white); border-color: rgba(255, 255, 255, .7); }
.hero-actions .hero-call:hover, .hero-actions .hero-call:focus-visible { background-color: rgba(255, 255, 255, .08); color: var(--wh-white); }
.hero-call .icon { color: var(--wh-rose); }

/* Rose-gold rule under section headings */
.section h2::after { content: ''; display: block; width: 56px; height: 3px; margin-top: 18px; background: var(--wh-rose); transform-origin: left; }
.form-success h2::after { display: none; }

/* Rose-gold check badges in "What's included" */
.included svg { width: 30px; height: 30px; padding: 6px; margin-top: -1px; border-radius: 50%; background: var(--wh-rose-tint); color: var(--wh-rose-deep); }

/* ---------- Swoosh dividers (from the logo's swoosh) ---------- */
.swoosh { position: absolute; left: 0; width: 100%; pointer-events: none; }
.swoosh-fill { fill: var(--wh-white); }
.swoosh-line { fill: none; stroke: var(--wh-rose); stroke-width: 3; vector-effect: non-scaling-stroke; }
.swoosh-contact { top: -1px; height: 36px; }
#contact { padding-top: 84px; }
#faq { border-bottom: 0; }

/* ---------- Shield watermark on navy ---------- */
.watermark { position: absolute; right: -90px; top: 50%; width: 300px; height: auto; transform: translateY(-50%); fill: none; stroke: var(--wh-white); stroke-width: 5; stroke-linecap: round; opacity: .07; pointer-events: none; }
#contact .watermark { top: auto; bottom: -60px; transform: none; }

/* ---------- Trust strip count-up ---------- */
.trust .count { font-family: var(--heading); font-weight: 800; color: var(--wh-rose-deep); font-variant-numeric: tabular-nums; }

/* ---------- Coverage cards: icons and lift ---------- */
.card-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 8px; border-radius: 50%; background: var(--wh-rose-tint); color: var(--wh-rose-deep); }
.wh-card:hover { transform: translateY(-4px); box-shadow: inset 0 4px 0 var(--wh-navy), 0 16px 32px rgba(14, 30, 53, .10); }

/* ---------- 1-2-3 on navy, joined by a rose-gold line ---------- */
.process .steps { position: relative; border-top: 0; }
.process .steps li { border-bottom-color: rgba(255, 255, 255, .14); }
.process .steps strong { color: var(--wh-white); font-size: 19px; }
.process .steps span span { color: #DCE3EC; }
.process .step-num { position: relative; z-index: 1; width: 40px; padding-block: 2px; text-align: center; background: var(--wh-navy); color: var(--wh-rose); font-size: 34px; }
.process .steps::before { content: ''; position: absolute; left: 19px; top: 24px; bottom: 24px; width: 2px; background: var(--wh-rose); transform-origin: top; }
.process .btn-start { background: var(--wh-white); color: var(--wh-navy); }
.process .btn-start:hover, .process .btn-start:focus-visible { background-color: #EEF1F5; color: var(--wh-navy); }

/* ---------- Agent photo with an offset rose-gold frame ---------- */
.agent-photo { position: relative; display: block; isolation: isolate; margin: 0 12px 12px 0; }
.agent-photo::before { content: ''; position: absolute; inset: 0; z-index: -1; border: 2px solid var(--wh-rose); transform: translate(12px, 12px); }
.agent-photo img { border-bottom: 0; }

/* ---------- Header: sticky, shrinks and gains a shadow after scrolling ---------- */
.site-header { position: sticky; top: 0; z-index: 30; transition: box-shadow .25s ease; }
.site-header .header-row, .header-logo img { transition: padding .25s ease, height .25s ease; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(14, 30, 53, .10); }
.site-header.is-scrolled .header-row { padding-block: 8px; }
.site-header.is-scrolled .header-logo img { height: 30px; }
section[id] { scroll-margin-top: 72px; }

/* Phone call bar slides up once the hero is out of view (only on pages with a hero) */
.fx .call-bar { transition: transform .3s ease; }
.fx .hero ~ .call-bar:not(.is-shown) { transform: translateY(110%); }

/* Menu button sits at the right edge even while the Spanish toggle is hidden */
.header-row:not(:has(.lang-toggle)) .menu-button { margin-left: auto; }

/* ---------- Quote form: progress bar fills, steps slide, check draws ---------- */
.progress li { position: relative; border-top: 0; padding-top: 12px; }
.progress li::before, .progress li::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; }
.progress li::before { background: var(--wh-line); }
.progress li::after { background: var(--wh-navy); transform: scaleX(0); transform-origin: left; transition: transform .5s ease; }
.progress li.is-done::after { transform: scaleX(1); }
.progress li[aria-current]::after { background: var(--wh-rose-deep); transform: scaleX(1); }

.success-check { display: block; width: 56px; height: 56px; margin-bottom: 16px; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.success-check circle { stroke: var(--wh-rose); }
.success-check path { stroke: var(--wh-navy); }

/* ---------- Rollover effects on numbers ---------- */
.trust .count { display: inline-block; transition: transform .25s ease, color .25s ease; }
.trust li:hover .count { transform: translateY(-2px) scale(1.18); color: var(--wh-navy); }

.process .step-num { transition: transform .3s cubic-bezier(.2, .7, .2, 1), color .3s ease, -webkit-text-stroke-color .3s ease; -webkit-text-stroke: 2px transparent; }
.process .steps li:hover .step-num { transform: translateY(-4px); color: transparent; -webkit-text-stroke-color: var(--wh-rose); }

.price-table td { transition: color .2s ease, box-shadow .2s ease; }
.price-table td:hover { color: var(--wh-navy); font-weight: 700; box-shadow: inset 0 -2px 0 var(--wh-rose); }

.contact-phone, .header-phone, .footer-phone { text-decoration: none; background: linear-gradient(var(--wh-rose), var(--wh-rose)) no-repeat 0 100% / 0 2px; transition: background-size .3s ease, letter-spacing .3s ease; }
.contact-phone:hover, .contact-phone:focus-visible, .header-phone:hover, .footer-phone:hover { background-size: 100% 2px; }
.contact-phone:hover, .contact-phone:focus-visible { letter-spacing: .02em; }

/* ---------- Motion ---------- */
@keyframes fx-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes fx-grow-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes fx-grow-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes fx-frame { from { opacity: 0; transform: translate(0, 0); } }
@keyframes fx-slide-fwd { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes fx-slide-back { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
@keyframes fx-draw { from { stroke-dashoffset: var(--len); } to { stroke-dashoffset: 0; } }

/* Fade-up as things scroll into view. Animations (not transitions) so hover effects keep their own timing. */
.fx .reveal:not(.is-in) { opacity: 0; }
.fx .reveal.is-in { animation: fx-rise .7s cubic-bezier(.2, .7, .2, 1) backwards; animation-delay: calc(var(--i, 0) * 90ms); }
.fx .section h2.reveal:not(.is-in)::after { transform: scaleX(0); }
.fx .section h2.reveal.is-in::after { animation: fx-grow-x .7s ease backwards; animation-delay: calc(var(--i, 0) * 90ms + .35s); }
.fx .agent-photo.reveal.is-in::before { animation: fx-frame .8s cubic-bezier(.2, .7, .2, 1) .45s backwards; }

.fx .process .steps.draw:not(.is-in)::before { transform: scaleY(0); }
.fx .process .steps.draw.is-in::before { animation: fx-grow-y 1.2s ease .2s backwards; }

.fx .step-in-fwd { animation: fx-slide-fwd .35s ease backwards; }
.fx .step-in-back { animation: fx-slide-back .35s ease backwards; }

.success-check circle { --len: 151; stroke-dasharray: 151; }
.success-check path { --len: 36; stroke-dasharray: 36; }
.fx .success-check circle { animation: fx-draw .6s ease backwards; }
.fx .success-check path { animation: fx-draw .4s ease .5s backwards; }

@media (min-width: 768px) {
  .hero-overlay { background: linear-gradient(160deg, rgba(24, 48, 80, .72) 0%, rgba(18, 36, 60, .80) 50%, rgba(12, 26, 46, .92) 100%); }
  .hero-actions .hero-call { border: 0; background: none; }
  .hero-actions .hero-call:hover, .hero-actions .hero-call:focus-visible { background: none; }
  .swoosh-contact { height: 60px; }
  #contact { padding-top: 140px; }
  .watermark { width: 520px; right: -120px; }

  .process .steps { gap: 40px; }
  .process .steps li { border-top: 0; padding-top: 28px; }
  .process .steps::before { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 2px; transform-origin: left; }
  .process .step-num { width: auto; padding: 0; text-align: left; background: none; font-size: 64px; }
  .process .steps strong { font-size: 22px; }
  .fx .process .steps.draw:not(.is-in)::before { transform: scaleX(0); }
  .fx .process .steps.draw.is-in::before { animation-name: fx-grow-x; }

  .agent-photo { margin: 0 18px 18px 0; }
  .agent-photo::before { transform: translate(18px, 18px); }
  .site-header.is-scrolled .header-logo img { height: 38px; }
  section[id] { scroll-margin-top: 88px; }
}

/* ===== Light gray on dark: buttons, headings and the trust strip ===== */
.hero-actions .btn-light, .process .btn-start { background: var(--wh-gray-light); color: var(--wh-navy); }
.hero-actions .wh-btn.btn-light:hover, .hero-actions .wh-btn.btn-light:focus-visible,
.process .btn-start:hover, .process .btn-start:focus-visible { background-color: #D9DEE6; color: var(--wh-navy); }
.hero h1, .section-navy h2, .section-black h2 { color: var(--wh-gray-light); }

.trust { background: var(--wh-gray-light); border-bottom: 0; }
.trust li { color: var(--wh-navy); }
.trust li:nth-child(even), .trust li + li { border-left-color: rgba(24, 48, 80, .14); }
.trust li:nth-child(n+3) { border-top-color: rgba(24, 48, 80, .14); }

/* Navy buttons turn light on hover: light gray with a navy outline and navy text. */
.wh-btn:not(.btn-light):not(.btn-outline):not(.btn-start) { transition: background-color .2s ease, color .2s ease, box-shadow .2s ease; }
.wh-btn:not(.btn-light):not(.btn-outline):not(.btn-start):hover,
.wh-btn:not(.btn-light):not(.btn-outline):not(.btn-start):focus-visible { background-color: var(--wh-gray-light); color: var(--wh-navy); box-shadow: inset 0 0 0 2px var(--wh-navy); }

/* Keep longer intros at a readable line length */
#coverage .stack > .muted, #pricing > .muted { max-width: 760px; }
