/* ============================================================
   WINTERA — shared styles
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root{
  /* blues */
  --ice-blue:#EAF3FC;
  --sky-blue:#BFE0FB;
  --arctic-blue:#3E8EDE;
  --polaris-blue:#1F5AA6;
  --midnight-blue:#123A73;
  --midnight-blue-deep:#0C2A54;

  /* neutrals */
  --white:#FFFFFF;
  --neutral-surface:#F6F9FC;
  --neutral-border:#E2E8F0;
  --neutral-heading:#12161C;
  --neutral-body:#3D4652;
  --neutral-mute:#6B7684;

  /* status */
  --status-green:#1FAE5B;
  --status-yellow:#F5A200;
  --status-red:#DC2626;

  --font:'Space Grotesk', sans-serif;

  --radius-sm:8px;
  --radius-md:14px;
  --radius-lg:24px;
  --shadow-card: 0 1px 2px rgba(18,58,115,.06), 0 8px 24px rgba(18,58,115,.08);
  --shadow-lift: 0 12px 32px rgba(18,58,115,.16);
  --ease: cubic-bezier(.2,.7,.2,1);
}

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  *,*::before,*::after{animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important;}
}

body{
  margin:0;
  font-family:var(--font);
  color:var(--neutral-body);
  background:var(--white);
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3,h4{
  font-family:var(--font);
  font-weight:700;
  color:var(--neutral-heading);
  line-height:1.1;
  margin:0;
  letter-spacing:-.01em;
}

p{margin:0;}
a{color:inherit; text-decoration:none;}
img,svg{display:block; max-width:100%;}
button{font-family:var(--font);}

:focus-visible{
  outline:3px solid var(--arctic-blue);
  outline-offset:2px;
  border-radius:4px;
}

.wrap{
  max-width:1180px;
  margin:0 auto;
  padding:0 32px;
}

/* ---------- eyebrow / kicker ---------- */
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--polaris-blue);
}
.eyebrow::before{
  content:"";
  width:7px; height:7px;
  border-radius:50%;
  background:var(--arctic-blue);
  display:inline-block;
}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-family:var(--font);
  font-weight:600;
  font-size:15.5px;
  padding:14px 26px;
  border-radius:999px;
  border:1.5px solid transparent;
  cursor:pointer;
  transition:transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
  white-space:nowrap;
}
.btn-primary{
  background:var(--polaris-blue);
  color:var(--white);
  box-shadow:0 6px 18px rgba(31,90,166,.32);
}
.btn-primary:hover{background:var(--midnight-blue); transform:translateY(-1px); box-shadow:0 10px 24px rgba(31,90,166,.4);}
.btn-secondary{
  background:var(--white);
  color:var(--midnight-blue);
  border-color:var(--neutral-border);
}
.btn-secondary:hover{border-color:var(--polaris-blue); color:var(--polaris-blue); transform:translateY(-1px);}
.btn-ghost-white{
  background:transparent;
  color:var(--white);
  border-color:rgba(255,255,255,.4);
}
.btn-ghost-white:hover{background:rgba(255,255,255,.12); border-color:#fff;}
.btn-block{width:100%;}
.btn-lg{padding:17px 32px; font-size:17px;}
.btn:disabled{opacity:.45; cursor:not-allowed; transform:none !important; box-shadow:none !important;}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(255,255,255,.86);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--neutral-border);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  height:76px;
}
.logo-link{display:flex; align-items:center; gap:10px;}
.nav-links{
  display:flex; align-items:center; gap:36px;
  list-style:none; margin:0; padding:0;
}
.nav-links a{
  font-size:15px; font-weight:600; color:var(--neutral-body);
  padding:6px 2px; border-bottom:2px solid transparent;
  transition:color .15s, border-color .15s;
}
.nav-links a:hover, .nav-links a.active{color:var(--midnight-blue); border-color:var(--arctic-blue);}
.nav-cta{display:flex; align-items:center; gap:14px;}
.nav-phone{font-size:14.5px; font-weight:600; color:var(--midnight-blue); display:flex; align-items:center; gap:7px;}
.nav-toggle{display:none; background:none; border:none; cursor:pointer; padding:8px;}

@media (max-width: 880px){
  .nav-links{
    position:fixed; inset:76px 0 0 0; height:calc(100vh - 76px);
    background:var(--white); flex-direction:column; align-items:flex-start;
    padding:28px 32px; gap:22px; transform:translateX(100%);
    transition:transform .25s var(--ease); overflow-y:auto;
  }
  .nav-links.open{transform:translateX(0);}
  .nav-links a{font-size:19px;}
  .nav-toggle{display:block;}
  .nav-phone{display:none;}
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer{
  background:var(--midnight-blue-deep);
  color:#C9D6E8;
  padding:64px 0 28px;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1fr;
  gap:40px;
  padding-bottom:40px;
  border-bottom:1px solid rgba(255,255,255,.12);
}
.footer-grid h4{color:#fff; font-size:14px; letter-spacing:.05em; text-transform:uppercase; margin-bottom:16px;}
.footer-grid ul{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:11px;}
.footer-grid a{font-size:14.5px; color:#AEC0D9; transition:color .15s;}
.footer-grid a:hover{color:#fff;}
.footer-brand p{color:#9FB3CC; font-size:14.5px; line-height:1.6; margin-top:14px; max-width:280px;}
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center;
  padding-top:24px; font-size:13px; color:#7E93B1; flex-wrap:wrap; gap:12px;
}
@media (max-width:820px){
  .footer-grid{grid-template-columns:1fr 1fr; row-gap:32px;}
}

/* ============================================================
   HERO / snowfall canvas
   ============================================================ */
.hero{
  position:relative;
  background:linear-gradient(180deg, var(--midnight-blue) 0%, var(--midnight-blue-deep) 100%);
  overflow:hidden;
  color:#fff;
}
.hero-canvas{position:absolute; inset:0; width:100%; height:100%; pointer-events:none; opacity:.55;}
.hero-inner{position:relative; z-index:2; padding:120px 0 96px;}
.hero .eyebrow{color:#9FC7F7;}
.hero .eyebrow::before{background:#9FC7F7;}
.hero h1{
  color:#fff; font-size:clamp(38px,5.4vw,64px); max-width:780px; margin-top:18px;
}
.hero .lede{
  color:#C9D9EF; font-size:19px; line-height:1.6; max-width:560px; margin-top:22px;
}
.hero-actions{display:flex; gap:14px; margin-top:36px; flex-wrap:wrap;}
.hero-stats{
  display:flex; gap:44px; margin-top:64px; flex-wrap:wrap;
}
.hero-stat b{display:block; font-size:30px; color:#fff;}
.hero-stat span{font-size:13.5px; color:#9FB3CC;}

/* clearing reveal signature: text wipes in like a plow path */
.clear-in{
  clip-path: inset(0 100% 0 0);
  animation: clearReveal 1.1s var(--ease) forwards;
}
@keyframes clearReveal{ to{ clip-path: inset(0 0 0 0);} }

/* ============================================================
   GENERIC SECTIONS
   ============================================================ */
section{padding:96px 0;}
.section-tight{padding:64px 0;}
.section-head{max-width:640px; margin-bottom:52px;}
.section-head h2{font-size:clamp(28px,3.4vw,40px); margin-top:14px;}
.section-head p{font-size:16.5px; color:var(--neutral-mute); margin-top:14px; line-height:1.6;}
.bg-surface{background:var(--neutral-surface);}
.bg-ice{background:var(--ice-blue);}
.bg-midnight{background:var(--midnight-blue); color:#fff;}
.bg-midnight .section-head h2{color:#fff;}
.bg-midnight .section-head p{color:#B9CDE6;}

/* ---------- route steps (numbered — represents an actual sequence: dispatch route) ---------- */
.route{
  display:grid; grid-template-columns:repeat(4,1fr); gap:0; position:relative;
}
.route::before{
  content:""; position:absolute; top:23px; left:8%; right:8%; height:2px;
  background:repeating-linear-gradient(90deg, var(--sky-blue) 0 10px, transparent 10px 20px);
}
.route-step{position:relative; padding-right:24px;}
.route-num{
  width:46px; height:46px; border-radius:50%;
  background:var(--white); border:2px solid var(--polaris-blue); color:var(--polaris-blue);
  display:flex; align-items:center; justify-content:center; font-weight:700; font-size:16px;
  position:relative; z-index:2; margin-bottom:20px;
}
.route-step h3{font-size:17px; margin-bottom:8px;}
.route-step p{font-size:14.5px; color:var(--neutral-mute); line-height:1.55;}
@media (max-width:860px){
  .route{grid-template-columns:1fr; gap:28px;}
  .route::before{display:none;}
}

/* ---------- cards ---------- */
.card-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
.card{
  background:var(--white); border:1px solid var(--neutral-border); border-radius:var(--radius-md);
  padding:30px; box-shadow:var(--shadow-card); transition:transform .2s var(--ease), box-shadow .2s var(--ease);
}
.card:hover{transform:translateY(-4px); box-shadow:var(--shadow-lift);}
.card .icon-badge{margin-bottom:18px;}
.card h3{font-size:18px; margin-bottom:9px;}
.card p{font-size:14.5px; color:var(--neutral-mute); line-height:1.6;}
.icon-badge{
  width:46px; height:46px; border-radius:12px;
  background:var(--ice-blue); display:flex; align-items:center; justify-content:center;
  color:var(--polaris-blue);
}
@media (max-width:900px){ .card-grid{grid-template-columns:1fr 1fr;} }
@media (max-width:620px){ .card-grid{grid-template-columns:1fr;} }

/* ---------- weather widget ---------- */
.weather-widget{
  background:var(--white); border:1px solid var(--neutral-border); border-radius:var(--radius-lg);
  padding:26px 28px; display:flex; align-items:center; justify-content:space-between; gap:24px;
  box-shadow:var(--shadow-lift); max-width:520px;
}
.weather-left{display:flex; align-items:center; gap:16px;}
.weather-left b{display:block; font-size:15px; color:var(--neutral-heading);}
.weather-left span{font-size:13px; color:var(--neutral-mute);}
.weather-temp{font-size:34px; font-weight:700; color:var(--midnight-blue);}

/* ---------- testimonial / trust ---------- */
.trust-bar{
  display:flex; align-items:center; justify-content:space-between; gap:28px; flex-wrap:wrap;
  padding:28px 0; border-top:1px solid var(--neutral-border); border-bottom:1px solid var(--neutral-border);
}
.trust-item{display:flex; align-items:center; gap:10px; font-size:14px; font-weight:600; color:var(--neutral-heading);}

.quote-card{
  background:var(--white); border:1px solid var(--neutral-border); border-radius:var(--radius-md);
  padding:28px; box-shadow:var(--shadow-card);
}
.stars{color:var(--status-yellow); font-size:15px; letter-spacing:2px; margin-bottom:14px;}
.quote-card p.body{font-size:15px; color:var(--neutral-body); line-height:1.65;}
.quote-card .who{margin-top:16px; font-size:13.5px; color:var(--neutral-mute); font-weight:600;}

/* ---------- split layout ---------- */
.split{display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center;}
@media (max-width:900px){ .split{grid-template-columns:1fr; gap:36px;} }
.split-reverse .split{direction:rtl;}
.split-reverse .split > *{direction:ltr;}

/* ---------- illustration frame ---------- */
.illus-frame{
  border-radius:var(--radius-lg); overflow:hidden; border:1px solid var(--neutral-border);
  box-shadow:var(--shadow-card); background:var(--ice-blue);
}
.illus-frame svg{width:100%; height:auto; display:block;}

/* ---------- CTA band ---------- */
.cta-band{
  background:var(--midnight-blue);
  border-radius:var(--radius-lg);
  padding:56px 60px;
  display:flex; align-items:center; justify-content:space-between; gap:32px; flex-wrap:wrap;
  color:#fff;
  position:relative; overflow:hidden;
}
.cta-band h2{color:#fff; font-size:clamp(24px,3vw,32px);}
.cta-band p{color:#B9CDE6; margin-top:8px; font-size:15.5px;}

/* ---------- pill / badge ---------- */
.pill{
  display:inline-flex; align-items:center; gap:6px;
  background:var(--ice-blue); color:var(--polaris-blue);
  font-size:12.5px; font-weight:700; letter-spacing:.03em;
  padding:6px 12px; border-radius:999px; text-transform:uppercase;
}
.pill-red{background:#FCEBEB; color:var(--status-red);}
.pill-green{background:#E7F7ED; color:var(--status-green);}

/* ============================================================
   FORMS (quote wizard)
   ============================================================ */
.field{margin-bottom:20px;}
.field label{display:block; font-size:13.5px; font-weight:600; color:var(--neutral-heading); margin-bottom:8px;}
.field input, .field textarea, .field select{
  width:100%; border:1.5px solid var(--neutral-border); border-radius:var(--radius-sm);
  padding:13px 15px; font-family:var(--font); font-size:15px; color:var(--neutral-heading);
  background:var(--white); transition:border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus, .field select:focus{
  outline:none; border-color:var(--arctic-blue); box-shadow:0 0 0 4px rgba(62,142,222,.15);
}
.field textarea{resize:vertical; min-height:90px;}
.field-row{display:grid; grid-template-columns:1fr 1fr; gap:18px;}
@media (max-width:600px){ .field-row{grid-template-columns:1fr;} }
.hint{font-size:12.5px; color:var(--neutral-mute); margin-top:6px;}

.wizard-shell{
  max-width:560px; margin:0 auto; background:var(--white);
  border:1px solid var(--neutral-border); border-radius:var(--radius-lg);
  box-shadow:var(--shadow-lift); padding:44px 44px 38px;
}
@media (max-width:640px){ .wizard-shell{padding:32px 22px;} }

.wizard-progress{display:flex; gap:6px; margin-bottom:32px;}
.wizard-progress i{flex:1; height:4px; border-radius:99px; background:var(--neutral-border); transition:background .3s;}
.wizard-progress i.done{background:var(--polaris-blue);}

.wizard-step{display:none; animation:stepIn .35s var(--ease);}
.wizard-step.active{display:block;}
@keyframes stepIn{ from{opacity:0; transform:translateY(8px);} to{opacity:1; transform:translateY(0);} }

.wizard-foot{display:flex; justify-content:space-between; align-items:center; margin-top:28px; gap:12px;}
.link-back{font-size:14px; font-weight:600; color:var(--neutral-mute);}
.link-back:hover{color:var(--midnight-blue);}

/* loading step */
.loading-block{text-align:center; padding:40px 0 20px;}
.spinner{
  width:56px; height:56px; margin:0 auto 26px;
  border-radius:50%; border:4px solid var(--ice-blue); border-top-color:var(--polaris-blue);
  animation:spin 1s linear infinite;
}
@keyframes spin{ to{transform:rotate(360deg);} }
.loading-block h3{font-size:19px; margin-bottom:8px;}
.loading-block p{font-size:14.5px; color:var(--neutral-mute);}

/* quote result */
.quote-reveal{text-align:center; padding:16px 0 8px;}
.quote-reveal .eyebrow{justify-content:center; margin-bottom:18px;}
.quote-price{
  font-size:clamp(72px,15vw,120px); font-weight:700; color:var(--midnight-blue);
  line-height:1; letter-spacing:-.02em;
}
.quote-price sup{font-size:.32em; top:-2.2em; font-weight:600; color:var(--polaris-blue);}
.quote-sub{font-size:15px; color:var(--neutral-mute); margin-top:14px;}
.confirm-slot{margin-top:34px; min-height:56px;}
.confirm-appear{animation:fadeUp .5s var(--ease);}
@keyframes fadeUp{ from{opacity:0; transform:translateY(10px);} to{opacity:1; transform:translateY(0);} }

.success-block{text-align:center; padding:8px 0;}
.success-icon{
  width:64px; height:64px; border-radius:50%; background:#E7F7ED; color:var(--status-green);
  display:flex; align-items:center; justify-content:center; margin:0 auto 22px;
}
.success-block h3{font-size:22px; margin-bottom:10px;}
.success-block p{font-size:15px; color:var(--neutral-mute); line-height:1.6; max-width:400px; margin:0 auto;}

.summary-box{
  background:var(--neutral-surface); border:1px solid var(--neutral-border); border-radius:var(--radius-md);
  padding:18px 20px; margin-top:22px; font-size:14px;
}
.summary-row{display:flex; justify-content:space-between; padding:7px 0; border-bottom:1px solid var(--neutral-border);}
.summary-row:last-child{border-bottom:none;}
.summary-row span:first-child{color:var(--neutral-mute);}
.summary-row span:last-child{font-weight:600; color:var(--neutral-heading);}

.checkbox-row{display:flex; align-items:flex-start; gap:11px; margin:18px 0 6px;}
.checkbox-row input{width:18px; height:18px; margin-top:2px; accent-color:var(--polaris-blue);}
.checkbox-row label{font-size:13.5px; color:var(--neutral-body); line-height:1.55;}

.agreement-box{
  background:var(--neutral-surface); border:1px solid var(--neutral-border); border-radius:var(--radius-sm);
  padding:16px 18px; font-size:13px; color:var(--neutral-mute); line-height:1.6; max-height:130px; overflow-y:auto; margin-bottom:6px;
}

.demo-note{
  display:flex; gap:10px; align-items:flex-start; background:var(--ice-blue); color:var(--polaris-blue);
  border-radius:var(--radius-sm); padding:12px 14px; font-size:12.5px; line-height:1.55; margin-bottom:26px;
}

/* page hero (interior pages) */
.page-hero{
  background:var(--midnight-blue); color:#fff; padding:72px 0 60px; position:relative; overflow:hidden;
}
.page-hero h1{color:#fff; font-size:clamp(32px,4.6vw,52px); margin-top:14px; max-width:680px;}
.page-hero p.lede{color:#C9D9EF; font-size:17px; margin-top:16px; max-width:560px;}
.breadcrumb{font-size:13px; color:#9FC7F7;}

/* emergency banner */
.emergency-banner{
  background:#FCEBEB; border-bottom:1px solid #F6C9C9; color:#7A1F1F;
  text-align:center; font-size:13.5px; font-weight:600; padding:10px 16px;
}
.emergency-banner a{text-decoration:underline;}

/* stat strip */
.stat-strip{display:grid; grid-template-columns:repeat(4,1fr); gap:24px; text-align:center;}
.stat-strip b{display:block; font-size:32px; color:var(--midnight-blue);}
.stat-strip span{font-size:13.5px; color:var(--neutral-mute);}
@media (max-width:700px){ .stat-strip{grid-template-columns:1fr 1fr; gap:32px;} }

/* generic value list */
.value-list{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:18px;}
.value-list li{display:flex; gap:14px; align-items:flex-start; font-size:15px; color:var(--neutral-body); line-height:1.6;}
.value-list .chk{
  width:22px; height:22px; border-radius:50%; background:var(--polaris-blue); color:#fff; flex:none;
  display:flex; align-items:center; justify-content:center; margin-top:2px;
}

.timeline{display:flex; flex-direction:column; gap:0;}
.timeline-item{display:grid; grid-template-columns:90px 24px 1fr; gap:0; min-height:100px;}
.timeline-year{font-weight:700; color:var(--midnight-blue); font-size:14.5px; padding-top:2px;}
.timeline-dot-col{display:flex; flex-direction:column; align-items:center;}
.timeline-dot{width:12px; height:12px; border-radius:50%; background:var(--polaris-blue); margin-top:4px;}
.timeline-line{flex:1; width:2px; background:var(--neutral-border); margin-top:4px;}
.timeline-item:last-child .timeline-line{display:none;}
.timeline-body h4{font-size:16px; margin-bottom:6px;}
.timeline-body p{font-size:14px; color:var(--neutral-mute); line-height:1.6; padding-bottom:34px;}

@media (max-width:700px){
  section{padding:64px 0;}
  .split{gap:28px;}
  .cta-band{padding:40px 28px;}
}
