:root{
  --text: #0b1220;
  --shadow: 0 18px 60px rgba(2, 6, 23, .22);
  --shadow2: 0 12px 35px rgba(2, 6, 23, .14);
  --primary: #2563eb;
  --primary2:#06b6d4;
  --radius: 18px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: #f4f7fb;
}

a{color:inherit}
.container{
  width: min(1120px, calc(100% - 40px));
  margin-inline:auto;
}

/* Top */
.topbar{
  /* position: sticky; */
  /* top:0; */
  /* z-index: 40; */
  /* background: rgba(255,255,255,.78); */
  /* backdrop-filter: blur(10px); */
  /* border-bottom: 1px solid rgba(2,6,23,.06); */
}
.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 0;
}
.brand{display:flex; align-items:center; gap:10px; text-decoration:none;}
.brand__mark{
  width: 34px; height: 34px; border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  box-shadow: 0 10px 22px rgba(37,99,235,.25);
}
.brand__name{font-weight:800; letter-spacing:-.02em}
.phone{display:flex; align-items:center; gap:10px; text-decoration:none; font-weight:700;}
.phone__pill{
  font-size:12px; padding: 6px 10px; border-radius: 999px;
  border: 1px solid rgba(37,99,235,.22);
  color: var(--primary);
  background: rgba(37,99,235,.06);
  display:none;
}
.phone__num{letter-spacing:-.01em; color:#f9f9f9; border: 1px solid #f9f9f9;padding:12px;font-size:22px; }

/* Hero */
.hero{position:relative; overflow:hidden;}
.hero__bg{
  position:absolute; inset:0;
  background:
    radial-gradient(1200px 500px at 10% 10%, rgba(6,182,212,.35), transparent 60%),
    radial-gradient(900px 460px at 90% 20%, rgba(37,99,235,.40), transparent 65%),
    linear-gradient(180deg, rgba(11,18,32,.78), rgba(11,18,32,.20)),
    url("../img/bg.jpg");
  background-size: cover;
  background-position: center;
  filter: saturate(1.02) contrast(1.02);
  transform: scale(1.02);
}
.hero__fade{
  position:absolute; inset:auto 0 0 0; height: 110px;
  background: linear-gradient(180deg, transparent, #f4f7fb);
}
.hero__content{
  position:relative;
  padding: 50px 0 30px;
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 26px;
  align-items:center;
}
.hero__copy{color: rgba(255,255,255,.96); padding: 6px 0;}
.hero__copy h1{
  margin:0 0 10px;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.05;
  letter-spacing:-.03em;
}
.hero__copy p{
  margin:0 0 18px;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255,255,255,.84);
  max-width: 56ch;
}
.bullets{margin:0; padding:0; list-style:none; display:grid; gap:10px;}
.bullets li{display:flex; align-items:center; gap:10px; color: rgba(255,255,255,.90);}
.dot{
  width: 9px; height: 9px; border-radius: 999px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 0 0 5px rgba(255,255,255,.10);
}

/* Card */
.card{
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.40);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.card--tight{max-width: 520px; justify-self:end;}
.card__header{padding: 18px 18px 0;}
.card__header--tight{padding-bottom: 4px;}
.card__eyebrow{
  display:inline-flex;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(2,6,23,.58);
}

/* Tight form: target under ~400px height */
.form{padding: 10px 18px 12px;}
.form--tight{padding-top: 8px}

.zipLine{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 12px;
  padding-bottom: 10px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(2,6,23,.10);
}
.zipLine__label{
  font-weight: 800;
  font-size: 14px;
  letter-spacing:-.01em;
}
.zipLine__control{flex: 0 0 220px; position:relative;}
.zipLine__control::after{
  content:"";
  position:absolute;
  left: 12px;
  right: 12px;
  bottom: -6px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(37,99,235,.22), rgba(6,182,212,.18));
  filter: blur(8px);
  opacity: .9;
  pointer-events:none;
}
.zipLine__input{
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(37,99,235,.30);
  background: rgba(255,255,255,.98);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .10em;
  text-transform: uppercase;
  outline:none;
}
.zipLine__input:focus{
  border-color: rgba(37,99,235,.60);
  box-shadow: 0 0 0 4px rgba(37,99,235,.12);
}

.row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 7px 0;
}
.row__label{
  font-weight: 650;
  font-size: 13px;
  color: rgba(2,6,23,.78);
}

/* Small select */
.select--sm{
  width: 160px;
  padding: 9px 10px;
  border-radius: 12px;
  border: 1px solid rgba(2,6,23,.14);
  background: rgba(255,255,255,.98);
  font-size: 13px;
  outline:none;
}
.select--sm:focus{
  border-color: rgba(37,99,235,.55);
  box-shadow: 0 0 0 4px rgba(37,99,235,.10);
}

/* Switch (smaller, calmer) */
.switch{position:relative; display:inline-block;}
.switch input{opacity:0; width:0; height:0;}
.switch--sm{width: 74px; height: 26px;}
.switch__track{
  position:absolute; inset:0;
  border-radius: 999px;
  background: rgba(2,6,23,.08);
  border: 1px solid rgba(2,6,23,.14);
  transition: .18s ease;
}
.switch__track::after{
  content:"";
  position:absolute;
  top: 50%;
  left: 3px;
  transform: translateY(-50%);
  width: 34px;
  height: 20px;
  border-radius: 999px;
  background: lightgray;
  box-shadow: 0 2px 2px rgba(2,6,23,.16);
  transition: .18s ease;
  z-index:99999;
}
.switch__text, .switch__text2{
  position:absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  user-select:none;
  pointer-events:none;
  opacity: .65;
}
.switch__text{left: 10px;}   /* YES */
.switch__text2{right: 10px;} /* NO */

.switch input:checked + .switch__track{
  background: linear-gradient(135deg, rgba(37,99,235,.18), rgba(6,182,212,.16));
  border-color: rgba(37,99,235,.24);
}
.switch input:checked + .switch__track::after{left: calc(100% - 37px);}
.switch input:checked ~ .switch__text{opacity:.95}
.switch input:checked ~ .switch__text2{opacity:.45}
.switch input:not(:checked) ~ .switch__text{opacity:.45}
.switch input:not(:checked) ~ .switch__text2{opacity:.95}

.btn{
  width:100%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border: none;
  border-radius: 999px;
  padding: 12px 14px;
  font-weight: 900;
  font-size: 15px;
  background: dodgerblue;
  color: white;
  cursor:pointer;
  box-shadow: 0 14px 26px rgba(37,99,235,.20);
}
.btn--tight{margin-top: 6px;}
.btn:hover{filter: brightness(1.02)}
.btn:active{transform: translateY(1px)}
.btn__arrow{font-size: 18px; line-height: 1}

.form__error{
  margin-top: 8px;
  font-size: 13px;
  color: #b91c1c;
  min-height: 16px;
}
.fineprint{
  margin: 8px 0 0;
  font-size: 11px;
  line-height:1.4;
  color: rgba(2,6,23,.55);
  text-align:center;
}
.fineprint--tight{margin-top: 6px;}
.link{color: var(--primary); text-decoration:none}
.link:hover{text-decoration:underline}

/* Thin trust line */
.trustLine{
  display:flex;
  gap: 14px;
  justify-content:center;
  padding: 10px 14px 14px;
  color: rgba(2,6,23,.62);
  font-size: 12px;
  border-top: 1px solid rgba(2,6,23,.06);
}

/* Below fold */
.content{padding: 44px 0 18px;}
.sectionHead{display:flex; align-items:flex-end; justify-content:space-between; gap: 20px; margin-bottom: 18px;}
.sectionHead h3{margin:0; font-size: 22px; letter-spacing:-.02em;}
.sectionHead p{margin:0; color: rgba(2,6,23,.62); max-width: 56ch;}

.tiles{display:grid; grid-template-columns: repeat(3, 1fr); gap: 14px;}
.tile{
  background: white;
  border-radius: 18px;
  padding: 18px;
  border: 1px solid rgba(2,6,23,.08);
  box-shadow: var(--shadow2);
}
.tile h4{margin: 0 0 10px; letter-spacing:-.02em;}
.tile p{margin: 0 0 12px; color: rgba(2,6,23,.64); line-height:1.55;}
.tile__link{color: var(--primary); text-decoration:none; font-weight:800;}
.tile__link:hover{text-decoration:underline}

.footer{
  border-top: 1px solid rgba(2,6,23,.08);
  padding: 18px 0;
  background: white;
}
.footer__inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 10px;
  color: rgba(2,6,23,.65);
  font-size: 13px;
}
.footer__right{display:flex; align-items:center; gap: 10px}
.footer__link{text-decoration:none}
.footer__link:hover{text-decoration:underline}
.sep{opacity:.5}

/* Thank you page */
.thankyou{padding: 36px 0 54px;}
.thankyou__card{max-width: 760px; margin: 0 auto}
.thankyou__sub{margin:0 0 10px; color: rgba(2,6,23,.70);}
.summary{padding: 0 22px 10px}
.summary h3{margin: 10px 0 12px; letter-spacing:-.02em}
.summary__grid{
  border: 1px solid rgba(2,6,23,.10);
  border-radius: 14px;
  overflow:hidden;
  background: rgba(255,255,255,.85);
}
.summary__row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(2,6,23,.08);
}
.summary__row:last-child{border-bottom:none}
.summary__label{font-weight:900}
.summary__value{color: rgba(2,6,23,.68)}
.thankyou__actions{padding: 0 22px 22px}
.btn--ghost{
  background: transparent;
  color: rgba(2,6,23,.88);
  border: 1px solid rgba(2,6,23,.16);
  box-shadow: none;
  width:auto;
  padding: 12px 16px;
  text-decoration:none;
  border-radius: 999px;
  font-weight: 900;
}

@media (max-width: 980px){
  .hero__content{grid-template-columns: 1fr; padding-top: 34px}
  .hero__copy{order: 2}
  .card--tight{justify-self:stretch; max-width: none}
  .tiles{grid-template-columns: 1fr}
  .zipLine{align-items:center}
  .zipLine__control{flex-basis: 190px}
}
@media (max-width: 420px){
  .zipLine{flex-direction:column; align-items:stretch}
  .zipLine__control{flex-basis:auto}
  .row__label{max-width: 54%}
  .select--sm{width: 150px}
}
/* Centered ZIP (no label) */
.zipCentered{
  display: flex;
  justify-content: center;
  margin: 6px 0 10px;
}

.zipCentered__input{
  width: 240px;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(37,99,235,.30);
  background: rgba(255,255,255,.98);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .06em;
  text-align: center;
  outline: none;
}

/* Subtle focus to draw attention without visual noise */
.zipCentered__input:focus{
  border-color: rgba(37,99,235,.60);
  box-shadow: 0 0 0 4px rgba(37,99,235,.12);
}

/* ===== Full-height hero + vertically centered content (added) ===== */
:root{
  --header-h: 64px; /* adjust if your header is taller/shorter */
}

/* Make header overlay the hero instead of taking page height */
.topbar{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 50;
}

/* Hero fills the viewport; content centered vertically */
.hero{
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* Center the grid while leaving breathing room for the overlay header */
.hero__content{
  width: 100%;
  padding: calc(var(--header-h) + 18px) 0 30px;
}

/* Ensure the fade sits at the very bottom of the viewport */
.hero__fade{
  bottom: 0;
}

@media (max-width: 980px){
  .hero__content{
    padding: calc(var(--header-h) + 14px) 0 26px;
  }
}
/* FIX: keep hero__content constrained like .container */
.hero .hero__content{
  width: min(1120px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}

/* Sticky header that appears only after scroll */
/*
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;

  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;

  transition: transform 220ms ease, opacity 220ms ease;
}
*/
/* When active (scrolled), show it */
.topbar.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* Optional: add a subtle drop shadow when visible */
.topbar.is-visible {
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.12);
}

.formTrust{
  text-align:center;
  margin-bottom:12px;
}

.formTrust__stars{
  font-size:13px;
  font-weight:600;
  opacity:.8;
  margin-bottom:6px;
}

.formTrust__logos{
  display:flex;
  justify-content:center;
  gap:14px;
  opacity:.7;
}

.formTrust__logos img{
  height:18px;
  filter:grayscale(100%);
}
/* FULL PAGE OVERLAY */
.pageLoader{
  position: fixed;
  inset: 0;
  z-index: 99999;

  background: rgba(255,255,255,.85);
  backdrop-filter: blur(3px);

  display: flex;
  justify-content: center;
  align-items: center;

  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease;
}

/* SHOW STATE */
.pageLoader.active{
  opacity: 1;
  visibility: visible;
}

/* SPINNER */
.pageLoader__spinner{
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 4px solid rgba(0,0,0,.15);
  border-top-color: #2563eb;

  animation: spin .8s linear infinite;
}

@keyframes spin{
  to { transform: rotate(360deg); }
}