/* =====================================================================
   Precision Restoration CT — Water Damage Insurance Claim Landing Page
   Brand: deep navy + emergency red (from logo). Mobile-first.
   Fonts: Fraunces (display) + Inter (body)
   ===================================================================== */

/* ----------------------------- Tokens ----------------------------- */
:root {
  /* Brand */
  --navy-950: #081627;
  --navy-900: #0b1f3a;
  --navy-800: #10305c;
  --navy-700: #163e77;
  --navy-600: #1e4c8a;
  --blue-500: #2b6cb0;
  --blue-100: #e8f1fb;
  --blue-50:  #f2f7fd;

  --green-600: #1f9d55;
  --green-700: #177a41;

  --red-600: #c21f26;
  --red-700: #9e141b;
  --red-100: #fdecec;

  --ink:      #0e1826;
  --ink-soft: #35485f;
  --muted:    #64748b;
  --line:     #dbe6f0;
  --paper:    #f5f9fd;
  --white:    #ffffff;

  /* Semantic */
  --bg: var(--paper);
  --primary: var(--navy-700);
  --accent: var(--red-600);

  /* Type — Rapid Rooter design language: Archivo (rigid display) + Barlow (body) */
  --font-display: "Archivo", "Arial Black", system-ui, sans-serif;
  --font-sans: "Barlow", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Shape — zero radius; chamfered (cut) corners are the signature detail */
  --cut: 12px;
  --r-sm: 0px;
  --r-md: 0px;
  --r-lg: 0px;
  --r-pill: 0px;

  /* Matte grain overlay for textured button/CTA surfaces */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.16' intercept='0'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");

  --shadow-sm: 0 1px 2px rgba(11,31,58,.06), 0 2px 8px rgba(11,31,58,.05);
  --shadow-md: 0 8px 28px rgba(11,31,58,.10);
  --shadow-lg: 0 24px 60px rgba(11,31,58,.18);
  --shadow-red: 0 10px 30px rgba(194,31,38,.30);

  --container: 1180px;
  --gutter: clamp(18px, 5vw, 40px);

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ----------------------------- Reset ------------------------------ */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* `overflow-x: hidden` here promotes overflow-y to `auto`, which turns html/body into
   scroll containers and silently kills `position: sticky` on the header. `clip` stops
   horizontal scroll WITHOUT creating a scroll container, so the sticky header works.
   The `hidden` declaration stays as the fallback for browsers without `clip`. */
html, body { max-width: 100%; overflow-x: hidden; }
@supports (overflow-x: clip) {
  html, body { overflow-x: clip; }
}
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; border-radius: 4px; }

/* ----------------------------- Layout ----------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 9vw, 104px); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.center { text-align: center; }

/* ----------------------------- Type ------------------------------- */
h1,h2,h3 {
  font-family: var(--font-display);
  font-variation-settings: "wdth" 118;
  font-weight: 800;
  text-transform: uppercase;
  line-height: .98;
  letter-spacing: -.012em;
  color: var(--navy-900);
  text-wrap: balance;
}
.h1 { font-size: clamp(1.82rem, 6.1vw, 3.7rem); font-variation-settings: "wdth" 122; font-weight: 860; }
.h2 { font-size: clamp(1.75rem, 5vw, 2.9rem); }
.h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); font-variation-settings: "wdth" 114; }
.eyebrow {
  font-family: var(--font-sans);
  font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--red-600); display: inline-flex; align-items: center; gap: .55rem;
}
.eyebrow::before { content:""; width: 26px; height: 2px; background: var(--red-600); display:inline-block; }
.eyebrow--center::after { content:""; width: 26px; height: 2px; background: var(--red-600); display:inline-block; }
.lead { font-size: clamp(1.02rem, 2.4vw, 1.22rem); color: var(--ink-soft); }
.section-head { max-width: 720px; margin-inline: auto; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head p { margin-top: 14px; }
.text-red { color: var(--red-600); }

/* ----------------------------- Buttons ---------------------------- */
.btn {
  --btn-bg: var(--navy-700);
  --btn-fg: #fff;
  --cut: 10px;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-display);
  font-variation-settings: "wdth" 112;
  font-weight: 760; font-size: .95rem; line-height: 1;
  text-transform: uppercase; letter-spacing: .035em;
  padding: 1.05rem 1.6rem; min-height: 54px; border-radius: 0;
  /* textured matte grain over the flat brand color */
  background-color: var(--btn-bg);
  background-image: var(--grain);
  color: var(--btn-fg);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease);
  box-shadow: var(--shadow-sm); text-align: center;
  /* wide uppercase labels must be allowed to wrap, or they push past the
     viewport on narrow screens (the old mixed-case face was narrower) */
  white-space: normal; text-wrap: balance; min-width: 0; max-width: 100%;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn--red { --btn-bg: var(--red-600); box-shadow: var(--shadow-red); }
.btn--red:hover { --btn-bg: var(--red-700); }
.btn--navy { --btn-bg: var(--navy-800); }
.btn--navy:hover { --btn-bg: var(--navy-900); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--navy-800); border: 2px solid var(--line); box-shadow: none; background-image: none; }
.btn--ghost:hover { --btn-bg: var(--white); border-color: var(--navy-600); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--navy-800); background-image: none; }
.btn--block { width: 100%; }
.btn--lg { font-size: 1.06rem; padding: 1.2rem 2rem; min-height: 60px; }
/* clipped buttons can't show an outside ring — pulse the surface instead */
.btn__pulse { position: relative; animation: pulse-surface 2.4s var(--ease) infinite; }
@keyframes pulse-surface {
  0%, 100% { box-shadow: var(--shadow-red); }
  50% { box-shadow: 0 10px 34px rgba(194,31,38,.55); }
}

/* ── the chamfer (shared shape utility) ─────────────────── */
.cut {
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}
.cut-sm { --cut: 8px; }

/* ══════════════════════════════════════════════════════════════
   SHAPE LAYER — Rapid Rooter design language
   Zero radius everywhere; chamfered (cut) corners on every card,
   panel, form control and media tile. Colors/content unchanged.
   ══════════════════════════════════════════════════════════════ */
.scard, .formcard, .step, .stat, .pillar, .acc,
.insurance__media, .insurance__badge, .showcase figure,
.team__photo, .team__video, .team__hero, .marquee__item,
.trustbar__inner, .area-map, .aside-call, .modal__dialog,
.situation__btn, .situation__menu, .grw, .rev-card, .gr-head,
.stallcard, .covcol, .covnote, .report__media, .report__badge, .sflip__face, .srail__nav,
.field input, .field select, .field textarea,
.chip, .uopt, .filedrop, .cbadge, .badge, .hero__stat-inline,
.area-tags span, .scard__list span, .grw-reopen {
  border-radius: 0 !important;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}
/* smaller chamfer on small controls so the cut stays proportional */
.chip, .uopt, .field input, .field select, .badge, .sflip__tag,
.area-tags span, .scard__list span, .grw-reopen,
.insurance__badge, .hero__stat-inline { --cut: 7px; }
.field textarea, .filedrop, .situation__btn, .situation__menu,
.acc, .step, .stat, .pillar, .rev-card, .gr-head, .cbadge { --cut: 9px; }
.scard, .formcard, .modal__dialog, .team__hero, .team__photo,
.team__video, .showcase figure, .marquee__item, .area-map,
.insurance__media, .aside-call, .grw, .trustbar__inner { --cut: 14px; }

/* grid/flex children default to min-width:auto, which lets a wide uppercase
   label force its track past the viewport — opt them back into shrinking */
.hero__inner > *, .hero__copy, .hero__cta, .team__grid > *, .formwrap > *,
.insurance__wrap > *, .sgrid > *, .scard__actions > *, .form-nav > *,
.report__wrap > *, .report__price > *, .stallgrid > *, .covgrid > * { min-width: 0; }

/* kickers/eyebrows pick up the body face, wide-tracked */
.eyebrow { font-family: var(--font-sans); letter-spacing: .22em; font-weight: 600; }

/* form labels: compact uppercase like the RR field spec */
.field label { text-transform: uppercase; letter-spacing: .04em; font-size: .8rem; }

/* ----------------------------- Top bar ---------------------------- */
.topbar {
  background: linear-gradient(90deg, var(--navy-900), var(--navy-700));
  color: #dce8f6; font-size: .82rem; font-weight: 500;
}
.topbar__inner { display: flex; align-items: center; justify-content: center; gap: 1.4rem; padding: 8px var(--gutter); text-align:center; }
.topbar strong { color: #fff; }
.topbar .dot { width: 7px; height: 7px; border-radius: 50%; background: #45e08a; box-shadow: 0 0 0 rgba(69,224,138,.6); animation: live 2s infinite; flex:none; }
@keyframes live { 0%{box-shadow:0 0 0 0 rgba(69,224,138,.55);} 70%{box-shadow:0 0 0 8px rgba(69,224,138,0);} 100%{box-shadow:0 0 0 0 rgba(69,224,138,0);} }
.topbar__phone { display: inline-flex; align-items:center; gap:.4rem; color:#fff; font-weight:700; }
.topbar .hide-sm { display: none; }

/* ----------------------------- Header ----------------------------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s var(--ease), padding .25s var(--ease);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 14px; transition: padding .25s var(--ease); }
.header.is-shrunk { box-shadow: var(--shadow-md); }
.header.is-shrunk .header__inner { padding-block: 8px; }
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { height: 42px; width: auto; transition: height .25s var(--ease); }
.header.is-shrunk .brand img { height: 34px; }
.nav { display: none; align-items: center; gap: 1.55rem; }
.nav a { white-space: nowrap; }
/* "Check Coverage Eligibility" is a long label — never let header items wrap */
.header__cta .btn, .header__call { white-space: nowrap; }
.nav a { font-weight: 600; font-size: .95rem; color: var(--ink-soft); position: relative; padding-block: 4px; }
.nav a::after { content:""; position:absolute; left:0; bottom:-2px; width:0; height:2px; background: var(--red-600); transition: width .25s var(--ease); }
.nav a:hover { color: var(--navy-800); }
.nav a:hover::after { width: 100%; }
.header__cta { display: flex; align-items: center; gap: .6rem; }
.header__call { display:none; }
.header .btn { min-height: 46px; padding: .75rem 1.15rem; font-size: .92rem; }

/* ----------------------------- Hero ------------------------------- */
.hero { position: relative; background:
    radial-gradient(120% 90% at 100% 0%, #16305a 0%, transparent 55%),
    linear-gradient(180deg, var(--navy-950), var(--navy-800));
  color: #fff; overflow: hidden;
}
.hero::before { /* subtle grid texture */
  content:""; position:absolute; inset:0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(90% 70% at 60% 20%, #000 0%, transparent 75%); pointer-events:none;
}
.hero__inner { position: relative; display: grid; gap: clamp(30px, 5vw, 56px); padding-block: clamp(40px, 7vw, 76px); }
.hero__copy { max-width: 640px; }
.badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(194,31,38,.16); border: 1px solid rgba(194,31,38,.45); color: #ffd9db;
  padding: .5rem .9rem; border-radius: var(--r-pill); font-size: .8rem; font-weight: 700; letter-spacing: .04em;
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #ff5a60; animation: live 1.8s infinite; }
.hero h1 { color: #fff; margin-top: 22px; }
.hero h1 .accent { color: #ff6b70; font-style: italic; font-weight: 500; }
.hero__sub { margin-top: 20px; font-size: clamp(1.02rem, 2.6vw, 1.24rem); color: #cdddf0; max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 30px; }
.hero__cta .btn { flex: 1 1 auto; }
.hero__micro { margin-top: 16px; font-size: .85rem; color: #a9c2de; display:flex; align-items:center; gap:.5rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 1.2rem 1.6rem; margin-top: 34px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); }
.hero__trust li { display: flex; align-items: center; gap: .55rem; font-size: .9rem; font-weight: 600; color: #dfeaf7; }
.hero__trust svg { width: 20px; height: 20px; color: #6fe3a0; flex: none; }

/* Hero image mosaic */
.hero__media { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 12px; }
.hero__media figure { position: relative; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-lg); background:#0d2b4d; aspect-ratio: 1/1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media .tall { grid-row: span 2; aspect-ratio: auto; }
.hero__media figure::after { content:""; position:absolute; inset:0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.10); border-radius: inherit; }
.hero__stat {
  position:absolute; left:12px; bottom:12px; right:12px;
  background: rgba(8,22,39,.78); backdrop-filter: blur(6px); border:1px solid rgba(255,255,255,.14);
  border-radius: var(--r-sm); padding:.7rem .85rem; display:flex; align-items:center; gap:.6rem;
}
.hero__stat b { color:#fff; font-family:var(--font-display); font-size:1.15rem; }
.hero__stat span { color:#bcd0e8; font-size:.76rem; line-height:1.25; }

/* ----------------------------- Hero video ------------------------- */
.hero__video { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__video video { width: 100%; height: 100%; object-fit: cover; }
.hero__video::after { /* navy overlay for text legibility */
  content:""; position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(8,22,39,.72) 0%, rgba(11,31,58,.68) 55%, rgba(8,22,39,.86) 100%),
    linear-gradient(90deg, rgba(8,22,39,.80) 0%, rgba(8,22,39,.30) 100%);
}
.hero--video .hero__inner { grid-template-columns: 1fr; position: relative; z-index: 2; }
.hero--video::before { opacity: .5; z-index: 1; }
.hero__proof { display:flex; flex-wrap:wrap; align-items:center; gap: 1rem 1.4rem; margin-top: 30px; }
.hero__rating { display:flex; align-items:center; gap:.55rem; font-size:.92rem; color:#dfeaf7; font-weight:600; }
.hero__rating b { color:#fff; }
.hero__stars { color:#ffc107; letter-spacing:1px; font-size:1rem; }
.hero__stat-inline { display:flex; align-items:center; gap:.6rem; background: rgba(8,22,39,.5); border:1px solid rgba(255,255,255,.15); border-radius: var(--r-pill); padding:.5rem .95rem; }
.hero__stat-inline b { font-family:var(--font-display); color:#ff6b70; font-size:1.15rem; line-height:1; }
.hero__stat-inline span { color:#cdddf0; font-size:.8rem; max-width: 260px; line-height:1.25; }
@media (min-width: 900px) {
  .hero--video .hero__copy { max-width: 720px; }
}

/* ----------------------------- Trust strip ------------------------ */
.trustbar { background: var(--navy-900); color:#cfe0f2; }
.trustbar__inner { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: rgba(255,255,255,.08); border-radius: var(--r-md); overflow: hidden; }
.trustbar__item { background: var(--navy-900); padding: 1.1rem 1rem; display:flex; align-items:center; gap:.7rem; font-weight:600; font-size:.9rem; }
.trustbar__item svg { width: 26px; height: 26px; color: #ff6b70; flex:none; }

/* ----------------------------- Problem cards ---------------------- */
.problems { background:
    linear-gradient(180deg, var(--white), var(--blue-50)); }
.pgrid { display: grid; gap: 14px; grid-template-columns: 1fr; }
.pcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 1.3rem; text-align: left; display: flex; flex-direction: column; gap: .5rem;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease); cursor: pointer; width: 100%;
}
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue-500); }
.pcard__icon { width: 46px; height: 46px; border-radius: 12px; display:grid; place-items:center; background: var(--red-100); color: var(--red-600); }
.pcard__icon svg { width: 24px; height: 24px; }
.pcard h3 { font-family: var(--font-sans); font-weight: 700; font-size: 1.05rem; color: var(--navy-900); }
.pcard p { font-size: .92rem; color: var(--muted); flex: 1; }
.pcard__link { color: var(--red-600); font-weight: 700; font-size: .9rem; display:flex; align-items:center; gap:.35rem; }
.pcard__link svg { width:16px; height:16px; transition: transform .2s var(--ease); }
.pcard:hover .pcard__link svg { transform: translateX(4px); }

/* ----------------------------- Situation picker ------------------- */
.situation { max-width: 560px; margin-inline: auto; }
.situation__picker { position: relative; }
.situation__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: #fff; border: 2px solid var(--line); border-radius: var(--r-md);
  padding: 1.15rem 1.3rem; font-family: var(--font-sans); font-weight: 700; font-size: 1.02rem;
  color: var(--navy-900); box-shadow: var(--shadow-sm); transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  min-height: 60px; text-align: left;
}
.situation__btn:hover { border-color: var(--blue-500); }
.situation__picker.is-open .situation__btn { border-color: var(--navy-700); box-shadow: 0 0 0 4px rgba(43,108,176,.14); }
.situation__label { color: var(--ink-soft); font-weight: 600; }
.situation__picker.is-chosen .situation__label { color: var(--navy-900); font-weight: 700; }
.situation__chev { width: 22px; height: 22px; color: var(--red-600); flex: none; transition: transform .25s var(--ease); }
.situation__picker.is-open .situation__chev { transform: rotate(180deg); }
.situation__menu {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 20;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-lg);
  overflow: hidden; padding: 6px; animation: fade .2s var(--ease);
}
.situation__menu[hidden] { display: none; }
.situation__menu li {
  display: flex; align-items: center; gap: .8rem; padding: .95rem 1rem; border-radius: var(--r-sm);
  font-weight: 600; font-size: 1rem; color: var(--navy-900); cursor: pointer; transition: background .15s var(--ease);
}
.situation__menu li svg { width: 22px; height: 22px; color: var(--red-600); flex: none; }
.situation__menu li:hover, .situation__menu li.is-active { background: var(--blue-50); }
.situation__hint {
  display: flex; align-items: flex-start; gap: .55rem; justify-content: center; text-align: left;
  margin-top: 16px; font-size: .86rem; color: var(--muted); max-width: 480px; margin-inline: auto;
}
.situation__hint svg { width: 18px; height: 18px; color: var(--blue-500); flex: none; margin-top: 2px; }

/* ----------------------------- Meet the brothers ------------------ */
.team { background: linear-gradient(180deg, var(--blue-50), var(--white)); }
.team__grid { display: grid; gap: clamp(28px, 5vw, 48px); align-items: center; }
.team__copy .eyebrow { margin-bottom: 16px; }
.team__copy .lead { margin-top: 14px; }
.team__body { margin-top: 14px; color: var(--ink-soft); }
.team__points { margin-top: 22px; }
.team__media { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.team__media figure { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); background: #0d2b4d; }
.team__photo img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.team__media figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: .9rem 1rem .8rem;
  background: linear-gradient(180deg, transparent, rgba(8,22,39,.88));
  color: #fff; font-size: .82rem; font-weight: 600;
}
.team__video { display: flex; }
.team__video video { width: 100%; aspect-ratio: 3/4; object-fit: cover; background: #0d2b4d; display: block; }
.team__play-tag { display: block; color: #ff8f93; font-weight: 800; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 2px; }

@media (min-width: 860px) {
  .team__grid { grid-template-columns: 1fr 1fr; }
}

/* ----------------------------- Services --------------------------- */
.sgrid { display: grid; gap: 20px; grid-template-columns: 1fr; }
.scard {
  background: #fff; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line);
  display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.scard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.scard__media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.scard__media img { width:100%; height:100%; object-fit: cover; transition: transform .5s var(--ease); }
.scard:hover .scard__media img { transform: scale(1.06); }
.scard__media::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, transparent 40%, rgba(8,22,39,.55)); }
.scard__tag { position:absolute; top:12px; left:12px; z-index:2; background: rgba(255,255,255,.94); color: var(--navy-800); font-weight:700; font-size:.72rem; letter-spacing:.05em; text-transform:uppercase; padding:.35rem .7rem; border-radius: var(--r-pill); }
.scard__body { padding: 1.4rem; display:flex; flex-direction:column; gap:.7rem; flex:1; }
.scard__body h3 { font-size: 1.28rem; }
.scard__body p { color: var(--muted); font-size: .95rem; flex:1; }
.scard__list { display:flex; flex-wrap:wrap; gap:.4rem; margin-top:.2rem; }
.scard__list span { font-size:.76rem; font-weight:600; color: var(--navy-700); background: var(--blue-100); padding:.28rem .6rem; border-radius: var(--r-pill); }
.scard__actions { display:flex; gap:.6rem; margin-top: .6rem; }
.scard__actions .btn { flex:1; min-height: 48px; padding: .8rem 1rem; font-size:.92rem; }

/* ----------------------------- Stats / authority ------------------ */
.authority { background: linear-gradient(160deg, var(--navy-900), var(--navy-700)); color:#fff; position:relative; overflow:hidden; }
.authority::before { content:""; position:absolute; right:-10%; top:-30%; width:60%; height:160%; background: radial-gradient(circle, rgba(194,31,38,.22), transparent 60%); }
.authority .section-head h2 { color:#fff; }
.authority .section-head p { color:#cdddf0; }
.statgrid { display:grid; grid-template-columns: repeat(2,1fr); gap: 14px; position:relative; }
.stat { background: rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.12); border-radius: var(--r-md); padding: 1.4rem 1.1rem; text-align:center; }
.stat b { display:block; font-family: var(--font-display); font-size: clamp(1.5rem, 6vw, 2.3rem); color:#fff; line-height:1; }
.stat span { display:block; margin-top:.5rem; font-size:.82rem; color:#bcd0e8; font-weight:600; }
.pillars { display:grid; gap:12px; margin-top: 30px; position:relative; }
.pillar { display:flex; gap:.9rem; align-items:flex-start; background: rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.10); border-radius: var(--r-md); padding: 1.1rem; }
.pillar svg { width:26px; height:26px; color:#6fe3a0; flex:none; margin-top:2px; }
.pillar h3 { font-family: var(--font-sans); font-size:1rem; color:#fff; font-weight:700; }
.pillar p { font-size:.88rem; color:#bcd0e8; margin-top:.2rem; }

/* ----------------------------- Process ---------------------------- */
.process { background: var(--white); }
.steps { display:grid; gap:16px; grid-template-columns: 1fr; counter-reset: step; }
.step { position:relative; background: var(--blue-50); border:1px solid var(--line); border-radius: var(--r-md); padding: 1.4rem 1.3rem 1.4rem 1.3rem; }
.step__n { font-family: var(--font-display); font-size: 1.6rem; color: var(--red-600); font-weight:600; line-height:1; }
.step h3 { font-family: var(--font-sans); font-size: 1.08rem; margin-top:.5rem; color: var(--navy-900); }
.step p { font-size:.92rem; color: var(--muted); margin-top:.35rem; }

/* ----------------------------- Insurance -------------------------- */
.insurance { background: linear-gradient(180deg, var(--blue-50), var(--white)); }
.insurance__wrap { display:grid; gap: 28px; align-items:center; }
.insurance__media { border-radius: var(--r-lg); overflow:hidden; box-shadow: var(--shadow-md); position:relative; }
.insurance__media img { width:100%; aspect-ratio: 4/3; object-fit: cover; }
.insurance__badge { position:absolute; left:16px; bottom:16px; background:#fff; border-radius: var(--r-md); padding:.8rem 1rem; box-shadow: var(--shadow-md); display:flex; align-items:center; gap:.6rem; }
.insurance__badge svg { width:30px; height:30px; color: var(--navy-700); }
.insurance__badge b { font-size:.95rem; color: var(--navy-900); } .insurance__badge span{ display:block; font-size:.75rem; color:var(--muted);}
.ilist { display:grid; gap:.7rem; margin-top: 22px; }
.ilist li { display:flex; align-items:flex-start; gap:.7rem; font-weight:500; color: var(--ink-soft); }
.ilist svg { width:22px; height:22px; color: var(--red-600); flex:none; margin-top:2px; }

/* ----------------------------- Areas ------------------------------ */
.areas { background: var(--navy-900); color:#fff; }
.areas .section-head h2 { color:#fff; } .areas .section-head p{ color:#cdddf0; }
.area-tags { display:flex; flex-wrap:wrap; gap:.5rem; justify-content:center; max-width: 900px; margin-inline:auto; }
.area-tags span { background: rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.13); color:#dbe8f6; padding:.5rem .85rem; border-radius: var(--r-pill); font-size:.85rem; font-weight:500; }
.area-tags span.is-hub { background: var(--red-600); border-color: var(--red-600); color:#fff; font-weight:700; }

/* ----------------------------- Form ------------------------------- */
.formsec { background: linear-gradient(180deg, var(--white), var(--blue-50)); }
.formwrap { display:grid; gap: 30px; align-items:start; }
.formwrap__aside h2 { margin-top: 14px; }
.formwrap__aside .lead { margin-top: 14px; }
.aside-points { display:grid; gap:.8rem; margin-top: 24px; }
.aside-points li { display:flex; gap:.7rem; align-items:flex-start; font-weight:600; color: var(--navy-800); }
.aside-points svg { width:22px; height:22px; color: var(--red-600); flex:none; }
.aside-call { margin-top: 26px; padding: 1.2rem 1.3rem; background: var(--navy-900); border-radius: var(--r-md); color:#fff; display:flex; align-items:center; justify-content:space-between; gap:1rem; flex-wrap:wrap; }
.aside-call span { font-size:.82rem; color:#bcd0e8; display:block; }
.aside-call b { font-family: var(--font-display); font-size:1.5rem; color:#fff; }

/* Form card + 2-step */
.formcard { background:#fff; border:1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-md); padding: clamp(1.3rem, 4vw, 2rem); }
.form-progress { display:flex; align-items:center; gap:.6rem; margin-bottom: 1.4rem; }
.form-progress .fp { flex:1; height:6px; border-radius:999px; background: var(--line); overflow:hidden; }
.form-progress .fp i { display:block; height:100%; width:50%; background: var(--red-600); border-radius:999px; transition: width .35s var(--ease); }
.form-progress span { font-size:.78rem; font-weight:700; color: var(--muted); letter-spacing:.04em; white-space:nowrap; }
.fstep { display:none; animation: fade .35s var(--ease); }
.fstep.is-active { display:block; }
@keyframes fade { from{opacity:0; transform:translateY(8px);} to{opacity:1; transform:none;} }
.field { margin-bottom: 1rem; }
.field label { display:block; font-weight:700; font-size:.85rem; color: var(--navy-900); margin-bottom:.4rem; }
.field label .req { color: var(--red-600); }
.field input, .field select, .field textarea {
  width:100%; font-family:inherit; font-size:1rem; color:var(--ink);
  padding: .95rem 1rem; border:1.5px solid var(--line); border-radius: var(--r-sm); background:#fff; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline:none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(43,108,176,.14); }
.field-row { display:grid; gap: 1rem; grid-template-columns: 1fr; }
.chips { display:flex; flex-wrap:wrap; gap:.5rem; }
.chip { border:1.5px solid var(--line); border-radius: var(--r-pill); padding:.6rem .95rem; font-weight:600; font-size:.88rem; color: var(--ink-soft); background:#fff; transition: all .18s var(--ease); }
.chip:hover { border-color: var(--blue-500); }
.chip.is-on { background: var(--navy-800); border-color: var(--navy-800); color:#fff; }
.urgency-opts { display:grid; gap:.6rem; }
.uopt { display:flex; align-items:center; gap:.75rem; border:1.5px solid var(--line); border-radius: var(--r-sm); padding:.85rem 1rem; cursor:pointer; transition: all .18s var(--ease); font-weight:600; color:var(--ink-soft); }
.uopt:hover { border-color: var(--blue-500); }
.uopt input { width:auto; accent-color: var(--red-600); }
.uopt.is-on { border-color: var(--red-600); background: var(--red-100); color: var(--navy-900); }
.form-nav { display:flex; gap:.7rem; margin-top: 1.2rem; }
.form-nav .btn { flex:1; }
.form-fine { margin-top:.9rem; font-size:.76rem; color: var(--muted); text-align:center; }
.form-success { display:none; text-align:center; padding: 1rem .5rem; }
.form-success.is-shown { display:block; animation: fade .4s var(--ease); }
.form-success .tick { width:74px; height:74px; margin:0 auto 1rem; border-radius:50%; background: var(--red-100); display:grid; place-items:center; }
.form-success .tick svg { width:38px; height:38px; color: var(--red-600); }
.form-success h3 { font-size:1.5rem; }
.form-success p { color: var(--muted); margin-top:.5rem; }
.form-success p b { color: var(--navy-900); }
.success-email { display:inline-block; margin-top:1rem; font-weight:600; font-size:.9rem; color: var(--navy-700); text-decoration: underline; text-underline-offset: 3px; }
.success-email:hover { color: var(--red-600); }

/* optional-field tag + file upload */
.field-opt { font-weight:500; color: var(--muted); font-size:.78rem; }
.filedrop { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:.5rem; text-align:center;
  border:1.5px dashed var(--line); border-radius: var(--r-sm); padding: 1.2rem 1rem; cursor:pointer; background: var(--blue-50);
  transition: border-color .2s var(--ease), background .2s var(--ease); position:relative; }
.filedrop:hover { border-color: var(--blue-500); background: var(--blue-100); }
.filedrop.has-files { border-color: var(--navy-700); border-style: solid; background:#fff; }
.filedrop input[type="file"] { position:absolute; inset:0; opacity:0; width:100%; height:100%; cursor:pointer; }
.filedrop svg { width:26px; height:26px; color: var(--navy-600); }
.filedrop__text { font-size:.86rem; font-weight:600; color: var(--ink-soft); }

/* ----------------------------- Showcase --------------------------- */
.showcase { background: var(--white); }
.showcase__grid { display:grid; gap: 16px; grid-template-columns: 1fr; }
.showcase figure { border-radius: var(--r-lg); overflow:hidden; box-shadow: var(--shadow-md); position:relative; }
.showcase figure img { width:100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .6s var(--ease); }
.showcase figure:hover img { transform: scale(1.04); }
@media (min-width: 700px) { .showcase__grid { grid-template-columns: 1fr 1fr; } }

/* ----------------------------- Recent Projects marquees ----------- */
.projects { background: linear-gradient(180deg, var(--white), var(--blue-50)); overflow: hidden; }
.marquee { overflow: hidden; width: 100%; padding-block: 7px; }
.marquee + .marquee { margin-top: 14px; }
.marquee__track { display: flex; gap: 14px; width: max-content; will-change: transform; }
/* two directions, both slow */
.marquee__track--rtl { animation: marquee-rtl 64s linear infinite; }
.marquee__track--ltr { animation: marquee-ltr 72s linear infinite; }
@keyframes marquee-rtl { from { transform: translateX(0); }        to { transform: translateX(-50%); } }
@keyframes marquee-ltr { from { transform: translateX(-50%); }     to { transform: translateX(0); } }
.marquee:hover .marquee__track { animation-play-state: paused; }
/* touch devices have no hover — JS sets .is-paused while a tile is flipped open */
.marquee.is-paused .marquee__track { animation-play-state: paused; }
.marquee__item {
  flex: 0 0 auto; width: clamp(210px, 34vw, 340px); margin: 0;
  background: var(--navy-900); border: 1px solid var(--line);
}
.marquee__item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; }
  .marquee__track { animation: none !important; }
}


/* --- Services rail: flip tiles on a paused-on-hover marquee ----------- */
.services-rail { background: var(--white); overflow: hidden; }
.srail { position: relative; }

/* manual skip controls — inside .marquee so hovering them also pauses the rail */
.srail__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 42px; height: 42px; display: grid; place-items: center;
  background: var(--navy-900); color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: var(--shadow-md);
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.srail__nav:hover { background: var(--red-600); transform: translateY(-50%) scale(1.07); }
.srail__nav svg { width: 20px; height: 20px; }
.srail__nav--prev { left: 10px; }
.srail__nav--next { right: 10px; }
@media (min-width: 768px) {
  .srail__nav--prev { left: 18px; }
  .srail__nav--next { right: 18px; }
}
.srail .marquee__track { gap: 16px; }
/* was 78s; sped up ~30% at the client's request */
.srail .marquee__track--rtl { animation-duration: 60s; }

.sflip {
  flex: 0 0 auto;
  width: clamp(196px, 27vw, 248px);
  height: 268px;
  margin: 0;
  perspective: 1000px;
}
/* NOTE: keep this element free of overflow/clip-path/filter — any of them would
   flatten the 3D context and kill the flip. Clip the faces instead. */
.sflip__inner {
  position: relative; width: 100%; height: 100%;
  transform-style: preserve-3d;
  transition: transform .6s var(--ease);
}
.sflip:hover .sflip__inner,
.sflip:focus-within .sflip__inner,
.sflip.is-flipped .sflip__inner { transform: rotateY(180deg); }

.sflip__face {
  position: absolute; inset: 0; overflow: hidden;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  display: flex; flex-direction: column;
  border: 1px solid var(--line);
}
.sflip__front { background: var(--navy-900); justify-content: flex-end; }
.sflip__front img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.sflip__front::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,22,39,.10) 30%, rgba(8,22,39,.86) 100%);
}
.sflip__tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--red-600); color: #fff;
  font-family: var(--font-display); font-variation-settings: "wdth" 108;
  text-transform: uppercase; font-weight: 800; font-size: .62rem; letter-spacing: .07em;
  padding: .3rem .5rem;
}
.sflip__title {
  position: relative; z-index: 2; margin: 0; padding: 0 .9rem 1rem;
  color: #fff; font-size: .95rem; line-height: 1.1;
  font-variation-settings: "wdth" 106;
}

.sflip__back {
  transform: rotateY(180deg);
  background: linear-gradient(160deg, var(--navy-800), var(--navy-950));
  color: #cfe0f2; padding: 1.1rem 1rem; gap: .6rem; justify-content: center;
}
.sflip__back h3 {
  color: #fff; font-size: .88rem; line-height: 1.12;
  font-variation-settings: "wdth" 104;
}
.sflip__back p { font-size: .8rem; line-height: 1.5; }
.sflip__btn {
  margin-top: .35rem; align-self: flex-start;
  font-size: .74rem; padding: .58rem .85rem;
}

/* the whole tile is tappable on touch, so show a pointer */
.sflip { cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
  .sflip__inner { transition: none; }
}

/* ----------------------------- Team hero photo -------------------- */
.team__hero { grid-column: 1 / -1; position: relative; overflow: hidden; box-shadow: var(--shadow-md); background: var(--navy-900); }
.team__hero img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.team__hero figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: .9rem 1rem .8rem;
  background: linear-gradient(180deg, transparent, rgba(8,22,39,.88));
  color: #fff; font-size: .82rem; font-weight: 600;
}

/* ----------------------------- FAQ -------------------------------- */
.faq { background: var(--white); }
.faq__list { max-width: 820px; margin-inline:auto; display:grid; gap: 12px; }
.acc { border:1px solid var(--line); border-radius: var(--r-md); background:#fff; overflow:hidden; transition: border-color .2s, box-shadow .2s; }
.acc[open] { border-color: var(--blue-500); box-shadow: var(--shadow-sm); }
.acc summary { list-style:none; cursor:pointer; padding: 1.15rem 1.3rem; font-weight:700; color: var(--navy-900); display:flex; align-items:center; justify-content:space-between; gap:1rem; font-size: 1rem; }
.acc summary::-webkit-details-marker { display:none; }
.acc summary .ico { width:26px; height:26px; border-radius:50%; background: var(--blue-100); color: var(--navy-700); display:grid; place-items:center; flex:none; transition: transform .25s var(--ease), background .2s; }
.acc[open] summary .ico { transform: rotate(45deg); background: var(--red-600); color:#fff; }
.acc summary .ico svg { width:16px; height:16px; }
.acc__body { padding: 0 1.3rem 1.2rem; color: var(--muted); font-size:.95rem; }

/* ----------------------------- Final CTA -------------------------- */
.finalcta { position:relative; color:#fff; overflow:hidden; background: var(--navy-950); }
.finalcta__bg { position:absolute; inset:0; }
.finalcta__bg img { width:100%; height:100%; object-fit:cover; opacity:.28; }
.finalcta::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(8,22,39,.82), rgba(11,31,58,.92)); }
.finalcta__inner { position:relative; z-index:2; text-align:center; max-width: 720px; margin-inline:auto; }
.finalcta h2 { color:#fff; }
.finalcta p { color:#cdddf0; margin-top:16px; font-size: clamp(1rem,2.4vw,1.18rem); }
.finalcta__cta { display:flex; flex-wrap:wrap; gap:.8rem; justify-content:center; margin-top:30px; }
.finalcta__cta .btn { flex:1 1 240px; max-width: 340px; }

/* ----------------------------- Footer ----------------------------- */
.footer { background: var(--navy-950); color:#a9c2de; padding-block: 48px 120px; }
.footer__grid { display:grid; gap: 28px; grid-template-columns: 1fr; }
.footer__logo { background:#fff; padding:.7rem .9rem; border-radius: var(--r-sm); display:inline-block; }
.footer__logo img { height: 40px; }
.footer p { font-size:.9rem; margin-top:14px; max-width: 340px; }
.footer h4 { color:#fff; font-family: var(--font-sans); font-size:.82rem; letter-spacing:.12em; text-transform:uppercase; margin-bottom:14px; }
.footer a { display:inline-flex; align-items:center; gap:.5rem; padding:.28rem 0; font-size:.92rem; transition: color .2s; }
.footer a:hover { color:#fff; }
.footer__col li { margin-bottom:.2rem; }
.footer__contact svg { width:18px; height:18px; color:#ff6b70; flex:none; }
.footer__social { display:flex; gap:.6rem; margin-top: 6px; }
.footer__social a { width:42px; height:42px; border-radius:50%; background: rgba(255,255,255,.08); display:grid; place-items:center; padding:0; }
.footer__social a:hover { background: var(--red-600); }
.footer__social svg { width:18px; height:18px; color:#fff; }
.footer__bottom { border-top:1px solid rgba(255,255,255,.1); margin-top: 34px; padding-top: 22px; display:flex; flex-wrap:wrap; gap:.6rem 1.2rem; justify-content:space-between; font-size:.8rem; color:#7f9bbb; }

/* ----------------------------- Floating / sticky ------------------ */
.fabs { position: fixed; right: 16px; bottom: 84px; z-index: 55; display:none; flex-direction:column; gap:.7rem; }
.fab { width: 56px; height: 56px; border-radius:50%; display:grid; place-items:center; box-shadow: var(--shadow-lg); color:#fff; transition: transform .2s var(--ease); }
.fab svg { width:24px; height:24px; }
.fab:hover { transform: scale(1.08); }
.fab--call { background: var(--red-600); }
.fab--quote {
  background: var(--navy-700);
  /* labelled pill, not a circle — carries the "Check Eligibility" ask */
  width: auto; height: 52px; padding: 0 1.1rem; gap: .55rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 0;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  font-family: var(--font-display); font-variation-settings: "wdth" 110;
  text-transform: uppercase; font-weight: 800; font-size: .8rem; letter-spacing: .04em;
  white-space: nowrap;
}
.fab--quote svg { width: 20px; height: 20px; }
/* column is right-aligned so the round call FAB and the wide pill both sit flush */
.fabs { align-items: flex-end; }
.fab--call::after { content:""; position:absolute; inset:0; border-radius:50%; box-shadow:0 0 0 0 rgba(194,31,38,.5); animation: live 1.8s infinite; }

.mobilebar { position: fixed; left:0; right:0; bottom:0; z-index: 58; display:grid; grid-template-columns: 1fr 1fr; gap:1px; background: var(--line); box-shadow: 0 -6px 20px rgba(11,31,58,.14); }
.mobilebar a {
  display:flex; align-items:center; justify-content:center; gap:.5rem;
  padding: .95rem; font-weight:700; font-size:.95rem;
  /* textured matte grain over the flat brand color, same as .btn */
  background-color: var(--navy-700); background-image: var(--grain); color: #fff;
  transition: background-color .2s var(--ease);
}
.mobilebar a.is-call { background: var(--red-600); color:#fff; }
.mobilebar svg { width:20px; height:20px; }


/* --- Abandoned-form nudge -------------------------------------------
   A form was started but never submitted: the bottom-right quote control
   turns green, relabels itself, and gives one soft double-bounce every 10s. */
.mobilebar a.is-nudge,
.fab--quote.is-nudge {
  background-color: var(--green-600);
  background-image: var(--grain);
  color: #fff;
  animation: cta-nudge 10s ease-in-out infinite;
}
.mobilebar a.is-nudge { box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.fab--quote.is-nudge:hover { background-color: var(--green-700); }

/* the movement occupies the first ~0.6s of each 10s cycle, then rests */
@keyframes cta-nudge {
  0%, 100%          { transform: translateY(0); }
  1.5%              { transform: translateY(-7px); }
  3%                { transform: translateY(0); }
  4.5%              { transform: translateY(-3px); }
  6%                { transform: translateY(0); }
}
/* the FAB pill is vertically centred by a transform, so it needs its own track */
.fab--quote.is-nudge { animation-name: cta-nudge-fab; }
@keyframes cta-nudge-fab {
  0%, 100%          { transform: translateY(0); }
  1.5%              { transform: translateY(-7px); }
  3%                { transform: translateY(0); }
  4.5%              { transform: translateY(-3px); }
  6%                { transform: translateY(0); }
}

/* ----------------------------- Modal ------------------------------ */
.modal { position: fixed; inset:0; z-index: 90; display:none; align-items:flex-start; justify-content:center; padding: 4vh 16px; overflow-y:auto; }
.modal.is-open { display:flex; }
.modal__overlay { position:fixed; inset:0; background: rgba(8,22,39,.62); backdrop-filter: blur(3px); animation: fade .25s var(--ease); }
.modal__dialog { position:relative; z-index:2; width:100%; max-width: 520px; background:#fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); animation: pop .3s var(--ease); margin: auto; }
@keyframes pop { from{opacity:0; transform: translateY(16px) scale(.98);} to{opacity:1; transform:none;} }
.modal__head { background: linear-gradient(120deg, var(--navy-900), var(--navy-700)); color:#fff; padding: 1.4rem 1.5rem; border-radius: var(--r-lg) var(--r-lg) 0 0; }
.modal__head .eyebrow { color:#ff9498; }
.modal__head .eyebrow::before { background:#ff6b70; }
.modal__head h3 { color:#fff; font-size:1.4rem; margin-top:.5rem; }
.modal__head p { color:#cdddf0; font-size:.9rem; margin-top:.35rem; }
.modal__close { position:absolute; top:14px; right:14px; width:38px; height:38px; border-radius:50%; background: rgba(255,255,255,.15); color:#fff; display:grid; place-items:center; }
.modal__close:hover { background: rgba(255,255,255,.28); }
.modal__close svg { width:20px; height:20px; }
.modal__body { padding: 1.5rem; }

/* ----------------------------- Reviews / testimonials ------------- */
.reviews { background: linear-gradient(180deg, var(--blue-50), var(--white)); }
.gr-head { display:flex; flex-direction:column; gap:1rem; align-items:flex-start; background:#fff; border:1px solid var(--line); border-radius: var(--r-md); padding: 1.2rem 1.3rem; margin-bottom: 22px; box-shadow: var(--shadow-sm); }
.gr-head__left { display:flex; align-items:center; gap:.9rem; }
.gr-logo { height: 24px; width:auto; }
.gr-head__left strong { display:block; font-size:1.05rem; color: var(--navy-900); }
.gr-rating { display:flex; align-items:center; gap:.4rem; font-size:.9rem; color: var(--muted); }
.gr-rating b { color: var(--ink); font-size:1.05rem; }
.gr-rating .stars, .grw__rating .stars, .rev-card .stars { color:#fbbc05; letter-spacing:1px; }
.gr-count { color: var(--muted); }
.gr-head .btn { min-height: 44px; padding:.7rem 1.1rem; font-size:.9rem; }

.review-track { display:grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 14px; overflow-x:auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
.review-track::-webkit-scrollbar { display:none; }
.rev-card { scroll-snap-align: start; background:#fff; border:1px solid var(--line); border-radius: var(--r-md); padding: 1.2rem; box-shadow: var(--shadow-sm); display:flex; flex-direction:column; gap:.6rem; }
.rev-card__top { display:flex; align-items:center; gap:.7rem; }
.rev-av { width:42px; height:42px; border-radius:50%; display:grid; place-items:center; color:#fff; font-weight:700; font-size:1rem; position:relative; flex:none; }
.rev-av::after { content:""; position:absolute; right:-2px; bottom:-2px; width:16px; height:16px; border-radius:50%; background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%234285F4' d='M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92a5.06 5.06 0 0 1-2.2 3.32v2.77h3.57c2.08-1.92 3.27-4.74 3.27-8.1z'/%3E%3Cpath fill='%2334A853' d='M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84A11 11 0 0 0 12 23z'/%3E%3Cpath fill='%23FBBC05' d='M5.84 14.1a6.6 6.6 0 0 1 0-4.2V7.06H2.18a11 11 0 0 0 0 9.88z'/%3E%3Cpath fill='%23EA4335' d='M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.06l3.66 2.84C6.71 7.3 9.14 5.38 12 5.38z'/%3E%3C/svg%3E") center/11px no-repeat; box-shadow:0 0 0 1.5px #fff; }
.rev-card__name { font-weight:700; font-size:.95rem; color: var(--navy-900); display:flex; align-items:center; gap:.35rem; }
.rev-card__name svg { width:14px; height:14px; color:#4285F4; }
.rev-card__date { font-size:.76rem; color: var(--muted); }
.rev-card .stars { font-size:.95rem; }
.rev-card__text { font-size:.92rem; color: var(--ink-soft); line-height:1.55; }
.review-dots { display:flex; justify-content:center; gap:.4rem; margin-top: 16px; }
.review-dots button { width:8px; height:8px; border-radius:50%; background: var(--line); transition: background .2s, width .2s; }
.review-dots button.is-on { background: var(--navy-700); width:22px; border-radius:999px; }

/* ----------------------------- Area map --------------------------- */
.area-map { height: 340px; border-radius: var(--r-lg); overflow:hidden; margin-bottom: 26px; border:1px solid rgba(255,255,255,.15); box-shadow: var(--shadow-md); background:#0d2b4d; }
.leaflet-container { font-family: var(--font-sans); background:#0d2b4d; }
.leaflet-popup-content-wrapper { border-radius: 10px; }
.leaflet-popup-content { margin: 10px 14px; font-weight:600; color: var(--navy-900); }
.map-pin { display:grid; place-items:center; }
.map-pin svg { filter: drop-shadow(0 3px 4px rgba(0,0,0,.35)); }

/* ----------------------------- Footer badges ---------------------- */
.footer__badges { display:flex; align-items:center; gap:.7rem; margin-top: 20px; }
.cbadge { background:#fff; border-radius: 10px; padding:6px; box-shadow: var(--shadow-sm); display:grid; place-items:center; }
.cbadge--iicrc svg { width: 64px; height: 64px; }
.cbadge--bbb svg { width: 104px; height: 66px; }

/* ----------------------------- Floating Google widget ------------- */
.grw { position: fixed; left: 20px; bottom: 24px; z-index: 56; width: 300px; background:#fff; border-radius: 14px; box-shadow: var(--shadow-lg); overflow:hidden; display:none; animation: grwIn .5s var(--ease); border:1px solid var(--line); }
@keyframes grwIn { from{opacity:0; transform: translateY(16px);} to{opacity:1; transform:none;} }
.grw.is-visible { display:block; }
.grw-reopen.is-visible { display:inline-flex; }
.grw__min { position:absolute; top:10px; right:10px; width:26px; height:26px; border-radius:50%; background:#f1f5f9; color: var(--muted); display:grid; place-items:center; }
.grw__min:hover { background:#e2e8f0; }
.grw__min svg { width:16px; height:16px; }
.grw__head { display:flex; align-items:center; gap:.6rem; padding: 14px 16px 10px; }
.grw__g { width: 26px; height: 26px; flex:none; }
.grw__meta strong { display:block; font-size:.95rem; color: var(--navy-900); }
.grw__rating { display:flex; align-items:center; gap:.35rem; font-size:.82rem; color: var(--muted); }
.grw__rating b { color: var(--ink); font-size:.95rem; }
.grw__body { padding: 4px 16px 12px; min-height: 118px; }
.grw__foot { display:block; text-align:center; background: var(--blue-50); color: var(--navy-700); font-weight:700; font-size:.85rem; padding: 11px; border-top:1px solid var(--line); }
.grw__foot:hover { background: var(--blue-100); }
.grw-card { animation: fade .5s var(--ease); }
.grw-card__top { display:flex; align-items:center; gap:.6rem; margin-bottom:.4rem; }
.grw-card .rev-av { width:36px; height:36px; font-size:.9rem; }
.grw-card__name { font-weight:700; font-size:.88rem; color: var(--navy-900); }
.grw-card__date { font-size:.72rem; color: var(--muted); }
.grw-card .stars { color:#fbbc05; font-size:.9rem; letter-spacing:1px; }
.grw-card__text { font-size:.82rem; color: var(--ink-soft); line-height:1.5; margin-top:.3rem;
  display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.grw-reopen { position: fixed; left: 20px; bottom: 24px; z-index: 56; display:none; align-items:center; gap:.5rem; background:#fff; border:1px solid var(--line); border-radius: var(--r-pill); padding:.55rem .9rem; box-shadow: var(--shadow-md); font-size:.82rem; color: var(--navy-800); font-weight:600; }
.grw-reopen .grw__g { width:20px; height:20px; }
.grw-reopen b { color: var(--ink); }
.grw-reopen:hover { box-shadow: var(--shadow-lg); }

/* ----------------------------- Reveal anim ------------------------ */
.reveal { opacity:0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity:1; transform:none; }
.reveal.d1{transition-delay:.08s;} .reveal.d2{transition-delay:.16s;} .reveal.d3{transition-delay:.24s;} .reveal.d4{transition-delay:.32s;}


/* =====================================================================
   WATER DAMAGE CLAIM PAGE — sections unique to this landing page
   (.stall = why claims stall · .report = the free-report offer ·
    .coverage = plain-English coverage education)
   ===================================================================== */

/* --- Why claims stall ------------------------------------------------ */
.stall { background: linear-gradient(180deg, var(--white), var(--blue-50)); }
.stallgrid { display:grid; gap:18px; grid-template-columns: 1fr; }
.stallcard {
  position:relative; background:#fff; border:1px solid var(--line);
  padding: 1.5rem 1.4rem 1.3rem; box-shadow: var(--shadow-sm);
  transition: background .25s var(--ease), border-color .25s var(--ease),
              box-shadow .25s var(--ease), transform .25s var(--ease);
}
/* hover: flip the card to brand blue with white copy — the red step number is
   deliberately left untouched */
.stallcard:hover,
.stallcard:focus-within {
  background: var(--navy-700); border-color: var(--navy-700);
  box-shadow: var(--shadow-md); transform: translateY(-3px);
}
.stallcard:hover h3, .stallcard:focus-within h3 { color: #fff; }
.stallcard:hover p, .stallcard:focus-within p { color: #e2edf9; }
.stallcard:hover .stallcard__fix,
.stallcard:focus-within .stallcard__fix {
  color: #e2edf9 !important; border-top-color: rgba(255,255,255,.28);
}
.stallcard:hover .stallcard__fix b,
.stallcard:focus-within .stallcard__fix b { color: #fff; }
.stallcard__n {
  font-family: var(--font-display); font-variation-settings:"wdth" 112;
  font-size: 1.18rem; font-weight: 800; color: var(--red-600); line-height:1;
  text-transform: uppercase; letter-spacing: .03em;
  display:block; margin-bottom:.55rem;
}
.stallcard h3 { font-family: var(--font-sans); font-size:1.1rem; text-transform:none; letter-spacing:0; line-height:1.25; color: var(--navy-900); }
.stallcard p { font-size:.94rem; color: var(--muted); margin-top:.5rem; }
.stallcard__fix {
  margin-top:.9rem !important; padding-top:.85rem; border-top:1px dashed var(--line);
  color: var(--navy-800) !important; font-size:.9rem !important;
}
.stallcard__fix b { color: var(--navy-900); }
.stallcard__fix em { font-style: normal; text-decoration: underline; text-underline-offset: 3px; }

/* --- The offer: free claim-ready damage report ----------------------- */
.report { background: var(--white); }
.report__wrap { display:grid; gap: 30px; align-items:center; }
.report__media { position:relative; overflow:hidden; box-shadow: var(--shadow-md); }
.report__media img { width:100%; aspect-ratio: 4/3; object-fit: cover; }
.report__badge {
  position:absolute; left:16px; bottom:16px; background:#fff; padding:.8rem 1rem;
  box-shadow: var(--shadow-md); display:flex; align-items:center; gap:.6rem;
}
.report__badge svg { width:30px; height:30px; color: var(--red-600); }
.report__badge b { font-size:.95rem; color: var(--navy-900); }
.report__badge span { display:block; font-size:.75rem; color: var(--muted); }
.report__price {
  display:grid; grid-template-columns: repeat(3, 1fr); gap:12px; margin-top: 28px;
}
.report__price > div {
  background: var(--navy-900); color:#fff; padding: 1rem .75rem; text-align:center;
  clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
}
.report__price b {
  display:block; font-family: var(--font-display); font-variation-settings:"wdth" 112;
  font-size: clamp(1.5rem, 5vw, 2rem); line-height:1; color:#fff;
}
.report__price span { display:block; margin-top:.35rem; font-size:.72rem; letter-spacing:.06em; text-transform:uppercase; color:#b9cfe8; }

/* --- Coverage education --------------------------------------------- */
.coverage { background: linear-gradient(180deg, var(--blue-50), var(--white)); }
.covgrid { display:grid; gap:18px; grid-template-columns: 1fr; }
.covcol { background:#fff; border:1px solid var(--line); padding: 1.6rem 1.5rem; box-shadow: var(--shadow-sm); }
.covcol h3 {
  display:flex; align-items:center; gap:.6rem; font-family: var(--font-sans);
  font-size: 1.02rem; text-transform:none; letter-spacing:0; line-height:1.3; color: var(--navy-900);
}
.covcol h3 svg { width:24px; height:24px; flex:none; }
.covcol ul { display:grid; gap:.65rem; margin-top: 1.1rem; }
.covcol li { position:relative; padding-left: 1.1rem; font-size:.95rem; color: var(--ink-soft); font-weight:500; }
.covcol li::before { content:""; position:absolute; left:0; top:.62em; width:6px; height:6px; }
.covcol--yes h3 svg { color: #1f9d55; }
.covcol--yes { border-top: 3px solid #1f9d55; }
.covcol--yes li::before { background: #1f9d55; }
.covcol--no h3 svg { color: var(--red-600); }
.covcol--no { border-top: 3px solid var(--red-600); }
.covcol--no li::before { background: var(--red-600); }
.covnote {
  display:flex; gap:.9rem; align-items:flex-start; margin-top: 22px;
  background: var(--navy-900); color:#cfe0f2; padding: 1.2rem 1.35rem;
}
.covnote svg { width:24px; height:24px; flex:none; color:#7fb2e8; margin-top:2px; }
.covnote p { font-size:.9rem; line-height:1.65; }
.covnote b { color:#fff; }

/* --- Footer legal line ---------------------------------------------- */
.footer__legal {
  margin-top: 30px; padding-top: 20px; border-top:1px solid rgba(255,255,255,.10);
  font-size:.78rem; line-height:1.7; color:#93aac4; max-width: 900px;
}


/* The claim headline runs long. On small screens, tighten the hero stack so the
   primary CTA clears the sticky call bar (which starts ~55px off the bottom)
   instead of sitting underneath it. */
@media (max-width: 560px) {
  /* "Check Coverage Eligibility" is far longer than the label this header was built
     for — shrink the logo and let the button wrap to two lines so the brand keeps
     its full width instead of being squeezed to a sliver. */
  .brand img { height: 32px; }
  .header__inner { gap: .6rem; }
  .header__cta .btn {
    white-space: normal; line-height: 1.15; text-align: center;
    font-size: .66rem; padding: .5rem .7rem; max-width: 185px;
  }
  .hero--video .hero__inner { padding-block: 24px 34px; }
  .hero .badge { font-size: .74rem; padding: .5rem .8rem; }
  .hero h1 { margin-top: 14px; }
  .hero__sub { font-size: .95rem; line-height: 1.5; margin-top: 14px; }
  .hero__cta { margin-top: 20px; }
}

/* ----------------------------- Responsive ------------------------- */
@media (min-width: 560px) {
  .topbar .hide-sm { display: inline; }
  .pgrid { grid-template-columns: repeat(2,1fr); }
  .field-row { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2,1fr); }
  .stallgrid { grid-template-columns: repeat(2,1fr); }
  .covgrid { grid-template-columns: repeat(2,1fr); }
  .scard__media { aspect-ratio: 16/9; }
  .review-track { grid-auto-columns: 46%; }
  .gr-head { flex-direction:row; align-items:center; justify-content:space-between; }
}

/* Floating Google widget: on mobile it sits above the sticky call/quote bar */
@media (max-width: 899px) {
  .grw { left: 12px; right: 12px; width: auto; max-width: 340px; bottom: 74px; }
  .grw-reopen { left: 12px; bottom: 74px; }
}
@media (min-width: 1024px) {
  .review-track { grid-auto-columns: 31.5%; }
  .area-map { height: 440px; }
}
@media (min-width: 768px) {
  .trustbar__inner { grid-template-columns: repeat(3,1fr); }
  .sgrid { grid-template-columns: repeat(2,1fr); }
  .pgrid { grid-template-columns: repeat(3,1fr); }
  .statgrid { grid-template-columns: repeat(4,1fr); }
  .pillars { grid-template-columns: repeat(3,1fr); }
  .steps { grid-template-columns: repeat(3,1fr); }
  .insurance__wrap { grid-template-columns: 1fr 1fr; }
  .report__wrap { grid-template-columns: 1.05fr .95fr; gap: 48px; }
  .formwrap { grid-template-columns: 1fr 1.1fr; gap: 48px; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
  .fabs { display:none; } /* replaced by inline CTAs on desktop-ish, keep mobile bar off */
}
@media (min-width: 900px) {
  .hero__inner { grid-template-columns: 1.05fr .95fr; align-items: center; }
  .mobilebar { display: none; }
  .fabs { display:flex; bottom: 24px; }
  .footer { padding-block: 56px; }
  .sgrid { grid-template-columns: repeat(3,1fr); }
  .stallgrid { grid-template-columns: repeat(4,1fr); }
}
@media (min-width: 1100px) {
  .hero__media { gap: 14px; }
  /* nav only once brand + 5 links + the long CTA button fit on one line */
  .nav { display: flex; }
}
@media (min-width: 1280px) {
  /* the header phone is the first thing to drop; the top bar still shows it */
  .header__call { display: inline-flex; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity:1 !important; transform:none !important; }
}
