/* =======================
   Theme / Base
======================= */
:root{
  --bg:#f7fbff; --ink:#0b2440; --muted:#4b6075;
  --brand:#0b4a6f; --brand-2:#0f7aa8;
  --card:#fff; --line:#e5eef6; --success:#0e8746;
}
*{ box-sizing:border-box; }
html,body{
  margin:0; padding:0; background:var(--bg); color:var(--ink);
  font-family: system-ui,-apple-system,Segoe UI,Roboto,"Helvetica Neue",Arial,"Noto Sans","Apple Color Emoji","Segoe UI Emoji";
  max-width:100%; overflow-x:hidden;
}
img{ max-width:100%; height:auto; display:block; }
a{ color:var(--brand-2); text-decoration:none; }
a:hover{ text-decoration:underline; }
.container{ width:min(1100px,92%); margin-inline:auto; }

/* =======================
   Buttons
======================= */
.btn{ display:inline-block; padding:.9rem 1.2rem; border-radius:14px; border:1px solid transparent; font-weight:650; }
.btn-primary{ background:var(--brand); color:#fff; }
.btn-primary:hover{ background:var(--brand-2); }
.btn-secondary{ background:#fff; color:var(--brand); border-color:var(--brand); }
.btn-secondary:hover{ background:#eef6fb; }
.btn-call{ background:var(--success); color:#fff; }

/* =======================
   Header
======================= */
.site-header{ position:sticky; top:0; z-index:50; background:#ffffffcc; backdrop-filter:blur(10px); border-bottom:1px solid var(--line); }
.header-inner{ display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:.6rem 0; }
.logo{ font-weight:800; font-size:1.2rem; color:var(--ink); }
.logo span{ color:var(--brand); }
.nav{ display:flex; align-items:center; gap:.9rem; }
.nav a{ padding:.4rem .6rem; border-radius:10px; }

/* Make “Free Claim Review” look like a button */
.nav .btn-ghost{
  border:2px solid var(--brand); background:rgba(11,74,111,.06); color:var(--brand);
  border-radius:999px; padding:.55rem .9rem; font-weight:800; line-height:1; display:inline-flex; align-items:center; gap:.3rem;
}
.nav .btn-ghost:hover{ background:var(--brand); color:#fff; border-color:var(--brand); text-decoration:none; box-shadow:0 6px 14px rgba(11,74,111,.22); }
.nav .btn-ghost:focus-visible{ outline:none; box-shadow:0 0 0 3px rgba(11,122,168,.28),0 0 0 6px #fff; }
.nav .btn-ghost::after{ content:"→"; font-weight:900; transform:translateY(-1px); }

/* Mobile header wrap + nudge logo from screen edge */
@media (max-width:640px){
  .header-inner{ flex-wrap:wrap; gap:.5rem .75rem; }
  .nav{ order:1; flex:1 1 100%; flex-wrap:wrap; }
  .nav .btn-ghost{ white-space:nowrap; }
  .btn-call{ order:2; flex:1 1 100%; display:inline-flex; justify-content:center; white-space:nowrap; padding:.6rem .75rem; font-size:1rem; }
}
@media (max-width:560px){ .site-header .container{ padding-left:clamp(22px,6vw,28px); padding-right:clamp(14px,4vw,18px); } }

/* =======================
   Hero
======================= */
.hero{ color:#fff; background:linear-gradient(180deg,#0b4a6f 0%,#0b4a6f 60%,#0b4a6f11 100%); }
.hero-inner{ padding:4rem 0 2.5rem; text-align:center; max-width:1040px; }
.hero h1{ font-size:clamp(1.8rem,3.5vw,2.6rem); line-height:1.15; margin:0 0 .75rem; }
.subhead{ font-size:1.05rem; color:#e6f3fb; max-width:62ch; margin:0 auto; }
.cta-row{ display:flex; gap:.7rem; flex-wrap:wrap; justify-content:center; margin:1rem 0 0; }
.trust-badges{ display:flex; flex-wrap:wrap; justify-content:center; column-gap:1.25rem; row-gap:.4rem; list-style:none; padding:0; margin:1rem 0 0; color:#d6ecf8; font-weight:600; }
.trust-badges li{ display:inline-flex; align-items:center; gap:.35rem; white-space:nowrap; }

/* =======================
   Generic sections / cards
======================= */
section{ padding:2.2rem 0; }
.card{ background:var(--card); border:1px solid var(--line); border-radius:16px; padding:1rem; box-shadow:0 6px 20px rgba(21,43,74,.06); }
.small{ font-size:.95rem; color:var(--muted); }

/* =======================
   Why Choose Us
======================= */
.why h2{ text-align:center; }
.why .benefits{
  display:grid; grid-template-columns:repeat(2,minmax(240px,max-content));
  justify-content:center; gap:.6rem 2.2rem; margin:.8rem auto 1rem; list-style:none; padding:0; text-align:left;
}
.why .benefits li{ position:relative; padding-left:2rem; line-height:1.3; }
.why .benefits li::before{
  content:"✓"; position:absolute; left:0; top:.15rem; width:1.35rem; height:1.35rem; border-radius:.35rem;
  display:inline-grid; place-items:center; font-weight:900; color:#fff; background:#16a34a; box-shadow:inset 0 1px 0 rgba(0,0,0,.12);
}
.why .note{ color:var(--muted); max-width:80ch; margin-inline:auto; }
@media (max-width:700px){ .why .benefits{ grid-template-columns:1fr; } }

/* =======================
   Process (timeline card)
======================= */
.why{ padding-bottom:1.1rem; }
.process{ padding-top:1rem; }
.process h2{ text-align:center; margin-bottom:.6rem; }
.process .container{ max-width:900px; }

.process-card{ position:relative; padding:.25rem; }
.process-card::before{ content:""; position:absolute; left:32px; top:58px; bottom:74px; width:2px; background:#eaf3f9; }

.steps{ list-style:none; margin:.2rem; padding:.2rem 0 .4rem; position:relative; }
.steps li{
  display:grid; grid-template-columns:44px 1fr; align-items:start; gap:.9rem; margin:.18rem 0;
  padding:.6rem .8rem .6rem 3.1rem; border-radius:12px; background:#fff; transition:box-shadow .12s, background .12s;
}
.steps li:hover{ background:#eef7f3; box-shadow:0 6px 18px rgba(21,43,74,.06); }
.step-num{
  width:34px; height:34px; border-radius:999px; background:var(--brand); color:#fff; font-weight:800;
  display:flex; align-items:center; justify-content:center; box-shadow:0 4px 12px rgba(11,74,111,.18); z-index:1;
}
.steps li.paid{ background:rgba(14,135,70,.06); }
.steps li.paid:hover{ background:rgba(14,135,70,.09); }
.steps li.paid .step-num{ background:var(--success); }
.steps h3{ margin:.05rem 0 .2rem; font-size:1.05rem; font-weight:750; }
.steps p{ margin:0; color:var(--muted); }
.process-card .cta-row{ justify-content:center; padding:.9rem; border-top:1px solid var(--line); background:linear-gradient(#fff,#fafcff); border-radius:0 0 16px 16px; }
@media (max-width:520px){ .steps li{ grid-template-columns:40px 1fr; } .step-num{ width:32px; height:32px; } }

/* =======================
   Local Authority
======================= */
.local .container{ max-width:1100px; }
.local .grid-2{ display:grid; grid-template-columns:1.5fr 1fr; gap:1.2rem; align-items:start; }
@media (max-width:900px){ .local .grid-2{ grid-template-columns:1fr; } }
.local .area-copy p{ color:var(--muted); }
.inline-cta{ display:inline-block; margin-top:.6rem; font-weight:700; color:var(--brand-2); }
.inline-cta:hover{ text-decoration:underline; }
.icon-list{ list-style:none; margin:.4rem 0 0; padding:0; display:grid; gap:.5rem; }
.icon-list li{ display:flex; align-items:flex-start; gap:.5rem; }
.icon-list .ico{ width:1.5rem; height:1.5rem; display:inline-grid; place-items:center; border-radius:.4rem; background:#eef7ff; font-size:1.05rem; box-shadow:inset 0 1px 0 rgba(0,0,0,.06); }

/* ZIP drawer */
.zipbox summary{ cursor:pointer; font-weight:800; display:inline-flex; align-items:center; gap:.4rem; list-style:none; }
.zipbox summary::after{ content:"▾"; transform:translateY(-1px); opacity:.7; }
.zipbox[open] summary::after{ content:"▴"; }
.zip-scroll{ max-height:180px; overflow:auto; border:1px solid var(--line); border-radius:12px; padding:.6rem .8rem; background:#fff; margin-top:.5rem; }

/* =======================
   Explore (nav cards)
======================= */
.explore h2{ text-align:center; }
.explore-grid{ align-items:stretch; }
.nav-card{
  display:flex; align-items:flex-start; gap:1rem; padding:1rem 1.1rem; border-radius:16px; border:1px solid var(--line);
  background:var(--card); box-shadow:0 6px 20px rgba(21,43,74,.06); text-decoration:none; color:inherit;
  transition:transform .12s, box-shadow .12s, border-color .12s;
}
.nav-card:hover{ transform:translateY(-2px); box-shadow:0 12px 26px rgba(21,43,74,.10); border-color:rgba(11,74,111,.25); text-decoration:none; }
.nav-icon{ flex:0 0 44px; height:44px; width:44px; border-radius:12px; display:flex; align-items:center; justify-content:center; background:rgba(11,74,111,.1); font-size:20px; box-shadow:inset 0 1px 0 rgba(255,255,255,.6); }
.nav-body h3{ margin:.1rem 0 .25rem; font-size:1.05rem; }
.nav-body p{ margin:0; color:var(--muted); }
.nav-cta{ display:inline-flex; align-items:center; gap:.35rem; margin-top:.55rem; font-weight:700; color:var(--brand-2); }
.nav-cta .chev{ transition:transform .12s; }
.nav-card:hover .nav-cta .chev{ transform:translateX(3px); }
@media (max-width:900px){ .explore .grid-3{ display:grid; grid-template-columns:1fr; gap:1rem; } }

/* =======================
   Popular Claim Types
======================= */
.popular h2{ text-align:center; }
.popular-grid{ align-items:stretch; }
.type-card{
  display:flex; flex-direction:column; gap:.55rem; padding:1rem 1.1rem; border-radius:16px; border:1px solid var(--line);
  background:var(--card); box-shadow:0 6px 20px rgba(21,43,74,.06); text-decoration:none; color:inherit;
  transition:transform .12s, box-shadow .12s, border-color .12s;
}
.type-card:hover{ transform:translateY(-2px); box-shadow:0 12px 26px rgba(21,43,74,.10); border-color:rgba(11,74,111,.25); text-decoration:none; }
.type-icon{ width:46px; height:46px; border-radius:12px; display:inline-flex; align-items:center; justify-content:center; background:rgba(11,74,111,.10); box-shadow:inset 0 1px 0 rgba(255,255,255,.6); font-size:22px; }
.type-card h3{ margin:.1rem 0 .25rem; font-size:1.05rem; }
.type-card p{ margin:0; color:var(--muted); }
.type-cta{ display:inline-flex; gap:.35rem; margin-top:.55rem; font-weight:700; color:var(--brand-2); }
.type-cta .chev{ transition:transform .12s; }
.type-card:hover .type-cta .chev{ transform:translateX(3px); }

/* grid utilities used above */
.grid-3{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; }
.grid-4{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1rem; }
@media (max-width:900px){ .grid-3{ grid-template-columns:1fr; } .grid-4{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:520px){ .grid-4{ grid-template-columns:1fr; } }

/* =======================
   Comparison table
======================= */
.compare h2{ text-align:center; }
.compare-card{ padding:0; overflow:hidden; }
.compare-table{ width:100%; border-collapse:separate; border-spacing:0; background:#fff; }
.compare-table thead th{ text-align:left; font-weight:800; color:var(--ink); padding:.9rem; border-bottom:1px solid var(--line); background:#f8fbff; }
.compare-table th[scope="row"], .compare-table td{ padding:.9rem; border-bottom:1px solid var(--line); vertical-align:top; }
.compare-table tbody tr:hover{ background:#fcfeff; }
.compare-table .good{ position:relative; padding-left:1.4rem; font-weight:700; }
.compare-table .good::before{
  content:"✓"; position:absolute; left:0; top:.1rem; width:1rem; height:1rem; border-radius:.3rem;
  display:inline-grid; place-items:center; background:#16a34a; color:#fff; font-weight:900; font-size:.8rem;
}
.compare-table .neutral{ color:var(--muted); }
.compare-table .na{ display:inline-block; padding:.1rem .5rem; border:1px solid var(--line); border-radius:999px; color:var(--muted); background:#f9fbfe; font-weight:600; }
.compare-cta{ display:flex; gap:.6rem; justify-content:center; align-items:center; padding:.9rem; border-top:1px solid var(--line); background:linear-gradient(180deg,#fafcff,#f7fbff); }

/* Mobile stacking */
@media (max-width:720px){
  .compare-table thead{ display:none; }
  .compare-table, .compare-table tbody, .compare-table tr, .compare-table td, .compare-table th{ display:block; width:100%; }
  .compare-table tr{ background:#fff; border:1px solid var(--line); border-radius:14px; padding:.6rem .75rem; margin:.65rem 0; box-shadow:0 6px 16px rgba(21,43,74,.06); }
  .compare-table th[scope="row"]{ border:none; padding:.2rem 0 .5rem; font-weight:800; }
  .compare-table td{ display:flex; gap:.6rem; justify-content:space-between; align-items:flex-start; padding:.35rem 0; border:none; }
  .compare-table td::before{ content:attr(data-label); flex:0 0 45%; color:var(--muted); font-weight:700; }
}

/* =======================
   Evidence / Factoid band
======================= */
.factoid{ padding:1.4rem 0; background:linear-gradient(90deg,rgba(11,74,111,.08),rgba(11,74,111,.02)); border-block:1px solid var(--line); }
.factoid .container{ text-align:center; }
.factoid-kicker{ margin:0 0 .25rem; font-weight:700; color:var(--muted); }
.factoid-inner{ display:flex; gap:.6rem; align-items:baseline; justify-content:center; flex-wrap:wrap; }
.factoid-number{ font-size:clamp(2rem,6vw,3rem); font-weight:900; color:var(--brand); }
.factoid-text{ font-weight:800; }
.factoid-footnote{ margin:.35rem auto 0; max-width:720px; font-size:.9rem; color:var(--muted); }

/* =======================
   Reviews (unified box)
======================= */
.reviews h2{ text-align:center; }
.reviews > .container > p{ text-align:center; margin:.25rem auto 1.1rem; max-width:70ch; color:var(--muted); }
.reviews-box{ padding:1rem 1.25rem; }
.reviews-list{ list-style:none; margin:0; padding:0; display:grid; gap:1rem; grid-template-columns:repeat(3,minmax(0,1fr)); }
.review-item{ background:#fff; border:1px solid var(--line); border-radius:12px; padding:.9rem 1rem; display:flex; flex-direction:column; gap:.45rem; box-shadow:0 6px 14px rgba(21,43,74,.05); }
.review-item .quote{ margin:0; line-height:1.55; }
.review-item .byline{ margin:.25rem 0 .1rem; color:var(--muted); }
.rating{ display:flex; align-items:center; gap:.45rem; margin-top:.2rem; }
.rating .stars{ color:#f5b301; letter-spacing:2px; text-shadow:0 1px 0 rgba(0,0,0,.15); }
.rating .rating-text{ font-weight:700; }
@media (max-width:1150px){ .reviews-list{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:900px){ .reviews-list{ grid-template-columns:1fr; } }

/* =======================
   Form Section
======================= */
.form-section{ background:linear-gradient(0deg,rgba(11,74,111,.03),rgba(11,74,111,.03)); border-block:1px solid var(--line); }
.form-section .container{ max-width:980px; }
.form-section h2{ text-align:center; margin-bottom:.5rem; }
.form-section > .container > p{ text-align:center; margin:.25rem auto 1.1rem; max-width:70ch; color:var(--muted); }
.lead-form{ background:#fff; border:1px solid var(--line); border-radius:16px; padding:1rem; box-shadow:0 10px 26px rgba(21,43,74,.08); }
.grid-2{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.8rem; }
@media (max-width:900px){ .grid-2{ grid-template-columns:1fr; } }
.field{ display:flex; flex-direction:column; gap:.35rem; }
label{ font-weight:600; }
input,textarea{ border:1px solid var(--line); border-radius:12px; padding:.8rem; font:inherit; background:#fff; }
.hp{ position:absolute; left:-5000px; width:1px; height:1px; overflow:hidden; }
.form-msg{ margin-top:.6rem; color:var(--muted); }

/* =======================
   Sticky CTA
======================= */
.sticky-cta{
  position:fixed; left:0; right:0; bottom:0; z-index:60;
  background:#0b2a49; color:#d4e4f1;
  display:flex; align-items:center; justify-content:center; gap:.9rem; padding:.7rem .9rem;
}
.sticky-cta .sticky-copy{ font-weight:700; }
.sticky-cta .sticky-actions{ display:flex; gap:.6rem; flex-wrap:wrap; }
@media (max-width:640px){ .sticky-cta{ justify-content:space-between; } }
body.has-sticky-padding{ padding-bottom:80px; }

/* =======================
   Footer (clean + centered)
======================= */
.site-footer{ background:#0a1f36; color:#d4e4f1; margin-top:2rem; }
.site-footer .container{ max-width:980px; }                /* align with form width */

.footer-top{
  padding:2.2rem 1rem 1.4rem;
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:2rem; align-items:start;
}
.site-footer h3{ color:#fff; margin:0 0 .6rem; font-size:1.05rem; letter-spacing:.2px; }
.site-footer p,.site-footer li{ color:#c5d7e6; line-height:1.5; }
.footer-top ul{ list-style:none; margin:0; padding:0; display:grid; gap:.35rem; }
.footer-top a{ color:#d4e4f1; text-decoration:none; }
.footer-top a:hover{ color:#fff; text-decoration:underline; }

/* hide duplicate inline links row from fallback include */
.inline-links{ display:none !important; }

/* Copyright row centered; no extra rule line */
.footer-bottom{
  padding:.8rem 1rem; font-size:.95rem; color:#b8d0e1;
  display:flex; justify-content:center; align-items:center; gap:.75rem; flex-wrap:wrap;
  border-top:0;
}

/* Responsive footer columns */
@media (max-width:900px){ .footer-top{ grid-template-columns:1fr 1fr; } }
@media (max-width:600px){ .footer-top{ grid-template-columns:1fr; } .footer-bottom{ text-align:center; } }

/* === Footer fix pack (drop-in) === */

/* Equal-width 3-col grid, centered */
.site-footer .footer-top{
  display: grid;                       /* override any inherited layouts */
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 980px;                    /* matches your form width */
  margin-inline: auto;                 /* center the grid */
  align-items: start;
}
.site-footer .footer-top > *{ min-width: 0; } /* prevent weird shrinking */

/* Keep the footer container centered on the same 980px rail */
.site-footer .container{ max-width: 980px; margin-inline: auto; }

/* Remove the thin divider and center the copyright block */
.site-footer .footer-bottom{
  border-top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  text-align: center;
  padding: 1rem 0;
}

/* Kill duplicate inline page links under the copyright */
.site-footer .inline-links{ display: none !important; }

/* Just in case a <hr> sneaks in via an include */
.site-footer hr{ display: none; }

/* Responsive: stack columns on small screens */
@media (max-width: 900px){
  .site-footer .footer-top{ grid-template-columns: 1fr; }
}

/* === Footer: final layout & centering === */

/* Keep the footer on the same visual grid as the form above */
.site-footer .container {
  max-width: 980px;          /* aligns with .form-section .container */
  margin-inline: auto;
}

/* Three even columns, centered within the container */
.site-footer .footer-top {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  padding: 2rem 0 1.25rem;
}

/* If your included footer uses .grid-3 on the same node, normalize it */
.site-footer .footer-top.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

/* Column basics */
.site-footer h3 { color:#fff; margin:0 0 .6rem; font-size:1.05rem; }
.site-footer p, .site-footer li { color:#c5d7e6; }
.site-footer ul { list-style:none; margin:0; padding:0; display:grid; gap:.4rem; }
.site-footer a { color:#d4e4f1; text-decoration:none; }
.site-footer a:hover { color:#fff; text-decoration:underline; }

/* Bottom row: center everything, hide duplicate quick-links if present */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: .9rem 0;
  text-align: center;
  display: block;
  font-size: .95rem;
  color: #b8d0e1;
}
.footer-bottom .inline-links { display: none !important; } /* kills the duplicate links row */
.footer-bottom .license { display:block; margin-top:.25rem; opacity:.85; }

/* Responsive stacking */
@media (max-width: 900px){
  .site-footer .footer-top { grid-template-columns: 1fr; }
}

/* ===== Minimal centered header ===== */
.site-header{
  position: static;                 /* no sticky white bar */
  background: transparent;
  border: 0;
  backdrop-filter: none;
}
.header-inner{
  display: flex;
  justify-content: center;          /* center the brand */
  align-items: center;
  padding: .6rem 0 .25rem;
  gap: 0;
}
.site-header .logo{
  font-weight: 900;
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  text-align: center;
  color: var(--ink);
}
.site-header .logo span{ color: var(--brand); }

/* Hide old nav + top CTA buttons */
.site-header .nav,
.site-header .btn-call,
.site-header .nav .btn-ghost{ display: none !important; }

/* Pull the hero up now that the top bar is gone */
.hero .hero-inner{ padding-top: 2.25rem; }
@media (max-width: 640px){
  .hero .hero-inner{ padding-top: 1.6rem; }
}

/* Slot you can drop a compact form into later (keeps things tight) */
.top-form-slot{ margin: .25rem 0 0; }

/* Undo previous mobile header padding tweaks so centering is perfect */
@media (max-width: 560px){
  .site-header .container{ padding-inline: 1rem !important; }
  .site-header .logo{ margin-left: 0 !important; }
}

/* Remove the white header bar entirely */
#site-header,
.site-header { display: none !important; }

/* Pull page content up since header is gone */
.hero .hero-inner{ padding-top: 1.25rem; }           /* was larger before */
@media (max-width: 640px){
  .hero .hero-inner{ padding-top: .9rem; }
}

/* Brand logo above the hero headline */
.brand-logo{
  display:block;
  margin: 0 auto .9rem;         /* center + spacing to headline */
  width: clamp(160px, 18vw, 260px);
  height: auto;
  filter: drop-shadow(0 2px 12px rgba(0,0,0,.06));   /* subtle lift */
  image-rendering: auto;
}

/* If your source logo has extra padding, you can tighten its visual size a touch */
@media (max-width: 420px){
  .brand-logo{ width: clamp(140px, 46vw, 200px); }
}

/* clickable logo container */
.brand-logo-link{
  display:block;
  width:max-content;
  margin:0 auto .9rem;   /* centers the logo and adds the bottom spacing */
  text-decoration:none;  /* no underline on focus/active */
}

/* logo image sizing (keeps what you already had, minus the margin) */
.brand-logo{
  display:block;
  margin:0;              /* spacing handled by the link wrapper */
  width: clamp(160px, 18vw, 260px);
  height: auto;
  filter: drop-shadow(0 2px 12px rgba(0,0,0,.06));
}

/* mobile size */
@media (max-width: 420px){
  .brand-logo{ width: clamp(140px, 46vw, 200px); }
}

/* clear visible focus (keyboard users) */
.brand-logo-link:focus-visible{
  outline: 3px solid rgba(15,122,168,.35);
  outline-offset: 6px;
  border-radius: 12px;
}

/* Tighten space above the logo/hero */
.hero-inner{
  /* was: padding: 4rem 0 2.5rem; */
  padding-top: clamp(1.1rem, 3.5vw, 2rem) !important;
}

/* Optional: slightly reduce the gap below the logo too */
.brand-logo-link{ margin-bottom: .6rem; }  /* was ~.9rem */

/* Extra snug on very small phones */
@media (max-width: 420px){
  .hero-inner{ padding-top: 1rem !important; }
}

/* Remove legacy header bar everywhere */
.site-header{ display:none !important; }

/* Logo sizing & spacing */
.brand-logo-link{ display:inline-block; margin-bottom:.6rem; }
.brand-logo{ display:block; height:auto; width:min(56vw, 260px); }

/* Smaller on narrow phones */
@media (max-width: 480px){
  .brand-logo{ width:min(62vw, 200px); }
}

/* Tighten hero top space now that header is gone */
.hero-inner{ padding-top: clamp(.75rem, 2.6vw, 1.6rem) !important; }

/* Pull the hero up toward the top (desktop + mobile) */
.hero-inner{
  /* tiny top pad, then we let the safe-area add a couple px on iOS */
  padding-top: .4rem !important;
}

/* Respect iOS safe-area but keep it tight */
@supports(padding: max(0px)){
  .hero-inner{
    padding-top: max(6px, env(safe-area-inset-top) + 2px) !important;
  }
}

/* Tighten the logo spacing above the headline */
.brand-logo-link{ margin-top: 0; margin-bottom: .35rem; }
.brand-logo{ display:block; }

/* Slightly reduce the gap above trust badges so the whole hero compacts */
.trust-badges{ margin-top: .75rem; }

/* Mobile-only sticky call bar */
.sticky-call{
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 80;
  display: none;                 /* hidden by default (desktop) */
  background: #0e8746;           /* green */
  color: #fff;
  text-align: center;
  font-weight: 800;
  letter-spacing: .2px;
  text-decoration: none;
  padding: .9rem 1rem;
  border-top: 1px solid rgba(0,0,0,.08);
}

/* iOS safe-area padding for the bottom bar */
@supports(padding: max(0px)){
  .sticky-call{ padding-bottom: max(.9rem, env(safe-area-inset-bottom)); }
}

/* Show only on mobile; reserve space so content isn't covered */
@media (max-width: 640px){
  .sticky-call{ display:block; }
  body.has-sticky-padding{ padding-bottom: 80px; } /* JS fine-tunes exact height */
}

/* Ensure the old sticky (if present anywhere) never shows */
.sticky-cta{ display: none !important; }

/* Mobile-only sticky CALL bar */
.sticky-call{
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9999;                 /* above everything */
  display: none;                 /* default hidden (desktop) */
  width: 100%;
  background: #0e8746;           /* green */
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .2px;
  padding: 14px 16px;
  border-top: 1px solid rgba(0,0,0,.08);
  transform: translateZ(0);      /* Safari fixed-pos stability */
}

/* iOS notch / home-indicator padding */
@supports(padding: max(0px)){
  .sticky-call{ padding-bottom: max(14px, env(safe-area-inset-bottom)); }
}

/* Show on phones/tablets only */
@media (max-width: 900px){
  .sticky-call{ display: block !important; }
}

/* Kill the old sticky (if still present anywhere) */
.sticky-cta{ display: none !important; }

/* ==== Why + Top Form split layout ==== */
.split-grid{
  display:grid;
  grid-template-columns: 1.25fr 1fr;   /* why left, form right */
  gap: 1.2rem;
  align-items: start;
}

/* Make the top form look good when used outside .form-section */
.split .lead-form{
  margin: 0;                      /* remove extra margin */
}
.form-title{ margin:.25rem 0 .1rem; }
.form-sub{ margin:0 0 .6rem; color:var(--muted); }

/* Mobile: stack and show the form ABOVE the why block */
@media (max-width: 900px){
  .split-grid{ grid-template-columns:1fr; }
  .split-grid .col-form{ order:-1; }     /* form first on mobile */
}

/* SMS consent styling */
.consent{ margin:.5rem 0 .25rem; }
.chk{ display:flex; align-items:flex-start; gap:.55rem; }
.chk input[type="checkbox"]{ margin-top:.2rem; }
.chk span{ font-size:.85rem; line-height:1.4; color:var(--muted); }
.chk a{ color:var(--brand-2); text-decoration:underline; }

/* Table-based footer columns */
.footer-table{
  width:100%;
  table-layout:fixed;
  border-collapse:separate;
  border-spacing:2rem 0;      /* space between the 3 cells */
}
.footer-table .ft-col{
  width:33.333%;
  vertical-align:top;
}

/* Tidy footer text/links */
.site-footer h3{ color:#fff; margin:0 0 .6rem; font-size:1.05rem; }
.site-footer p, .site-footer li{ color:#c5d7e6; margin:0; }
.footer-links, .contact-list{ list-style:none; padding:0; margin:0; }
.footer-links li + li, .contact-list li + li{ margin-top:.35rem; }
.footer-links a{ color:#d4e4f1; text-decoration:none; }
.footer-links a:hover{ color:#fff; text-decoration:underline; }
.contact-list .phone{ font-weight:800; color:#fff; text-decoration:none; }
.contact-list .phone:hover{ text-decoration:underline; }

/* Bottom row centered, no duplicate inline links */
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.12);
  padding: .9rem 0 1.2rem;
  display:flex; justify-content:center; align-items:center;
}
.footer-bottom .copy{ color:#b8d0e1; margin:0; }
.inline-links{ display:none !important; } /* hide any older inline link row if present */

/* Mobile: stack the 3 columns */
@media (max-width: 900px){
  .footer-table, .footer-table tr, .footer-table td{ display:block; width:100%; }
  .footer-table{ border-spacing:0; }
  .footer-table .ft-col{ margin-bottom:1.4rem; }
}

/* === FINAL FOOTER LAYOUT === */
.site-footer { background:#0a1f36; color:#d4e4f1; }
.site-footer .container { max-width:1100px; margin:0 auto; padding-inline:1rem; }

.footer-top { padding:2rem 0 1.25rem; }
.footer-cols {
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:2rem;
  align-items:start;
  width:100%;
}
.footer-cols > * { min-width:0; }

.site-footer h3 { color:#fff; margin:0 0 .6rem; font-size:1.05rem; }
.contact-list, .footer-links { list-style:none; margin:0; padding:0; display:grid; gap:.35rem; }
.footer-links a { color:#d4e4f1; text-decoration:none; }
.footer-links a:hover, .contact-list .phone:hover { color:#fff; text-decoration:underline; }

.footer-bottom {
  border-top:1px solid rgba(255,255,255,.12);
  padding:1rem 0;
  text-align:center;
  color:#b8d0e1;
}

/* stack on small screens */
@media (max-width:900px){
  .footer-cols { grid-template-columns:1fr; row-gap:1.25rem; }
}

/* === FINAL FOOTER LAYOUT (single source of truth) === */
.site-footer { background:#0a1f36; color:#d4e4f1; }
.site-footer .container { max-width:1100px; margin:0 auto; padding-inline:1rem; }

.footer-top { padding:2rem 0 1.25rem; }
.footer-cols{
  /* kill any older max-width rules */
  max-width: none !important;

  display:grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr)); /* never too skinny */
  gap: 2rem;
  align-items:start;
}
.footer-cols > * { min-width:0; }

.site-footer h3 { color:#fff; margin:0 0 .6rem; font-size:1.05rem; }
.site-footer p, .site-footer li { color:#c5d7e6; word-break: normal; overflow-wrap: normal; }

.contact-list, .footer-links { list-style:none; margin:0; padding:0; display:grid; gap:.35rem; }
.footer-links a { color:#d4e4f1; text-decoration:none; }
.footer-links a:hover, .contact-list .phone:hover { color:#fff; text-decoration:underline; }

.footer-bottom {
  border-top:1px solid rgba(255,255,255,.12);
  padding:1rem 0;
  text-align:center;
  color:#b8d0e1;
}

/* Stack nicely on small screens */
@media (max-width: 900px){
  .footer-cols { grid-template-columns: 1fr; row-gap:1.25rem; }
}

/* ==== Footer — equal 3-col layout, centered ==== */
.site-footer{ background:#0a1f36; color:#d4e4f1; }
.site-footer .container{
  max-width: 980px;        /* wide and centered */
  margin-inline: auto;
  padding-inline: 16px;
}

.footer-cols{
  /* nuke any earlier width caps */
  max-width: none !important;
  margin: 0 !important;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); /* 3 equal columns */
  gap: 28px 48px;
  align-items: start;
  width: 100%;
}

.site-footer h3{ color:#fff; margin:0 0 .6rem; font-size:1.05rem; }
.contact-list, .footer-links{ list-style:none; margin:0; padding:0; display:grid; gap:.35rem; }
.footer-links a{ color:#d4e4f1; text-decoration:none; }
.footer-links a:hover{ color:#fff; text-decoration:underline; }
.contact-list .phone{ font-weight:800; color:#fff; text-decoration:none; }
.contact-list .phone:hover{ text-decoration:underline; }

.footer-bottom{
  border-top:1px solid rgba(255,255,255,.12);
  margin-top: 18px;
  padding: 10px 0;
  text-align: center;       /* center the © line */
  color:#b8d0e1;
}

/* Responsive */
@media (max-width: 900px){
  .footer-cols{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px){
  .footer-cols{ grid-template-columns: 1fr; }
}

/* Footer: match page width so it centers with sections above */
.site-footer .container {
  max-width: 980px !important;   /* same as .form-section .container */
  margin-inline: auto;
  padding-inline: 16px;
}
