:root{
  --primary:#15386f;
  --primary-dark:#0d2248;
  --primary-soft:#1c4d96;
  --accent:#1ec6f7;
  --accent-dark:#11a9dd;
  --accent-soft:#e6f8ff;
  --selected-2:#12b8df;
  --text:#10213f;
  --muted:#5f6f89;
  --line:#dbe5f2;
  --soft:#f4f8fc;
  --soft-2:#eef5fb;
  --white:#ffffff;
  --shadow:0 20px 45px rgba(12,32,73,.08);
  --shadow-sm:0 10px 25px rgba(12,32,73,.08);
  --radius:22px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}

.icon{width:20px;height:20px;display:block;stroke:currentColor;fill:none;stroke-width:1.85;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.question-icon .icon,.phone .icon,.success-icon .icon{width:22px;height:22px}
.success-icon .icon{width:38px;height:38px}
.choice-icon .icon{width:20px;height:20px}
.nav-actions .icon{width:18px;height:18px}

body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--text);
  background:linear-gradient(180deg,#f1f6fb 0%, #edf3f9 100%);
}
body::before{
  content:"";
  position:fixed;
  inset:0;
  background:
    radial-gradient(circle at 10% 10%, rgba(30,198,247,.18), transparent 26%),
    radial-gradient(circle at 90% 0%, rgba(21,56,111,.08), transparent 28%);
  pointer-events:none;
}
.topbar{
  position:relative;
  z-index:1;
  background:linear-gradient(90deg,var(--primary) 0%, var(--primary-dark) 100%);
  color:#fff;
  box-shadow:0 8px 20px rgba(12,32,73,.16);
}
.topbar-inner{
  max-width:1320px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 34px;
  gap:18px;
}
.question-strip{
  display:flex;
  align-items:center;
  gap:14px;
  font-size:15px;
}
.question-strip strong{display:block;font-size:16px;margin-bottom:2px}
.question-strip span:last-child{opacity:.9}
.question-icon{
  width:42px;
  height:42px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.16);
  border:1px solid rgba(255,255,255,.22);
  flex:0 0 auto;
}
.phone{
  color:#fff;
  text-decoration:none;
  font-weight:800;
  font-size:26px;
  display:flex;
  align-items:center;
  gap:12px;
  white-space:nowrap;
}
.page-shell{
  position:relative;
  z-index:1;
  max-width:1320px;
  margin:0 auto;
  padding:34px 20px 70px;
}
.funnel-card{
  width:100%;
  max-width:1100px;
  margin:0 auto;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(6px);
  border:1px solid rgba(219,229,242,.8);
  border-radius:34px;
  box-shadow:var(--shadow);
  padding:34px 38px 42px;
  text-align:center;
}
.brand-wrap{margin-bottom:18px}
.brand-logo{
  max-width:370px;
  width:min(100%, 370px);
  height:auto;
  filter:drop-shadow(0 12px 18px rgba(17,66,140,.08));
}
.progress-wrap{
  position:relative;
  max-width:860px;
  margin:0 auto 34px;
  padding:14px 0;
}
.progress-bar{
  height:12px;
  background:#d9e3ef;
  border-radius:999px;
  overflow:hidden;
}
.progress-bar > div{
  height:100%;
  width:10%;
  background:linear-gradient(90deg,var(--primary) 0%, var(--accent) 100%);
  border-radius:999px;
  transition:width .35s ease;
}
.progress-badge{
  position:absolute;
  top:50%;
  transform:translate(-50%,-50%);
  left:10%;
  min-width:58px;
  padding:10px 10px;
  border-radius:999px;
  background:linear-gradient(135deg,var(--primary) 0%, var(--accent-dark) 100%);
  color:#fff;
  font-size:13px;
  font-weight:800;
  box-shadow:0 8px 18px rgba(17,66,140,.22);
  transition:left .35s ease, transform .35s ease;
}
.progress-badge.is-complete{
  transform:translate(-100%,-50%);
}
.intro-block{max-width:760px;margin:0 auto 40px}
.eyebrow{
  display:inline-block;
  margin-bottom:10px;
  padding:8px 14px;
  border-radius:999px;
  background:var(--accent-soft);
  color:var(--primary);
  font-size:12px;
  font-weight:800;
  letter-spacing:.12em;
}
h1{
  margin:0 0 10px;
  font-size:40px;
  line-height:1.12;
  color:var(--primary-dark);
}
.subtitle{
  margin:0;
  font-size:16px;
  line-height:1.7;
  color:var(--muted);
}
.quote-form{min-height:420px}
.step{display:none;animation:slideFade .3s ease}
.step.active{display:block}
@keyframes slideFade{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
h2{
  margin:0 0 28px;
  font-size:28px;
  line-height:1.3;
  color:var(--primary-dark);
}
.choice-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(180px,1fr));
  gap:18px;
  max-width:900px;
  margin:0 auto;
}
.choice-grid.two{
  max-width:600px;
  grid-template-columns:repeat(2,minmax(240px,1fr));
}
.quantity-grid .choice:last-child{
  grid-column:2;
}
.choice{
  position:relative;
  min-height:82px;
  padding:18px 18px;
  border:1px solid var(--line);
  border-radius:20px;
  background:linear-gradient(180deg,#ffffff 0%, #f7fbff 100%);
  color:var(--primary-dark);
  font-weight:700;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:14px;
  text-align:left;
  box-shadow:var(--shadow-sm);
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease, color .2s ease;
}
.choice:hover{
  transform:translateY(-3px);
  box-shadow:0 16px 28px rgba(12,32,73,.12);
  border-color:#bcd1eb;
}
.choice.selected{
  color:#fff;
  background:linear-gradient(135deg,var(--primary) 0%, var(--selected-2) 100%);
  border-color:transparent;
}
.choice-icon{
  width:44px;
  height:44px;
  flex:0 0 44px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#fff;
  color:var(--primary-soft);
  border:2px solid rgba(30,198,247,.4);
  font-size:18px;
  box-shadow:0 4px 10px rgba(30,198,247,.12);
}
.choice.selected .choice-icon{
  color:var(--primary);
  border-color:#fff;
}
.choice-text{font-size:17px;line-height:1.35}
.field-grid{
  max-width:860px;
  margin:0 auto;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
  text-align:left;
}
.field-grid label,
.full-label{
  font-size:14px;
  font-weight:700;
  color:var(--primary-dark);
}
.label-copy{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:10px;
}
.label-copy .icon{color:var(--primary-soft)}
.field-grid input,
.field-grid select,
.full-label textarea{
  width:100%;
  border:1px solid var(--line);
  border-radius:18px;
  padding:16px 16px;
  font:inherit;
  color:var(--text);
  background:#fff;
  outline:none;
  box-shadow:inset 0 1px 2px rgba(12,32,73,.03);
}
.field-grid input:focus,
.field-grid select:focus,
.full-label textarea:focus{
  border-color:var(--accent-dark);
  box-shadow:0 0 0 4px rgba(30,198,247,.15);
}
.full-label{
  display:block;
  max-width:860px;
  margin:0 auto;
  text-align:left;
}
.full-label textarea{resize:vertical;min-height:140px}
.consent{
  max-width:860px;
  margin:22px auto 0;
  display:flex;
  gap:12px;
  align-items:flex-start;
  text-align:left;
  color:var(--muted);
}
.consent input{margin-top:4px;accent-color:var(--primary)}
.form-error{
  min-height:24px;
  margin:24px 0 0;
  color:#c62828;
  font-weight:700;
}
.nav-actions{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:16px;
  margin-top:32px;
  min-height:70px;
}
.back-btn,
.next-btn,
.submit-btn,
.restart{
  border:0;
  border-radius:999px;
  padding:0 28px;
  height:58px;
  min-width:170px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  line-height:1;
  font-weight:800;
  font-size:15px;
  cursor:pointer;
  text-decoration:none;
  transition:transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.submit-btn{min-width:310px}
.back-btn:hover,
.next-btn:hover,
.submit-btn:hover,
.restart:hover{transform:translateY(-2px)}
.back-btn{
  background:#eef3f9;
  color:var(--primary-dark);
  border:1px solid #d7e3f1;
}
.next-btn,
.submit-btn,
.restart{
  color:#fff;
  background:linear-gradient(135deg,var(--primary) 0%, var(--accent-dark) 100%);
  box-shadow:0 14px 24px rgba(17,66,140,.18);
}
.submit-btn{display:none;min-width:310px}
.hp-field{position:absolute;left:-9999px;opacity:0}
.success-screen{padding:70px 8px}
.success-icon{
  width:86px;
  height:86px;
  border-radius:50%;
  margin:0 auto 22px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,var(--primary) 0%, var(--accent-dark) 100%);
  color:#fff;
  font-size:40px;
  box-shadow:0 18px 28px rgba(17,66,140,.18);
}
.success-screen h2{margin-bottom:10px}
.success-screen p{margin:0 0 20px;color:var(--muted)}
.footer-socials{
  max-width:1320px;
  margin:0 auto 24px;
  display:flex;
  justify-content:center;
  gap:12px;
}
.footer-socials span{
  width:42px;
  height:42px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#fff;
  border:1px solid #dbe5f2;
  color:var(--primary);
  box-shadow:var(--shadow-sm);
}
@media (max-width:1024px){
  .funnel-card{padding:28px 24px 34px}
  .choice-grid{grid-template-columns:repeat(2,minmax(180px,1fr))}
  .quantity-grid .choice:last-child{grid-column:auto}
}
@media (max-width:820px){
  .topbar-inner{
    padding:14px 16px;
    flex-direction:column;
    text-align:center;
  }
  .question-strip{justify-content:center;align-items:flex-start}
  .phone{font-size:22px}
  .page-shell{padding:20px 14px 50px}
  .funnel-card{border-radius:28px;padding:24px 16px 28px}
  .brand-logo{max-width:300px}
  h1{font-size:32px}
  h2{font-size:24px}
  .choice-grid,
  .choice-grid.two,
  .field-grid{grid-template-columns:1fr;max-width:100%}
  .nav-actions{
    position:sticky;
    bottom:0;
    background:linear-gradient(180deg,rgba(255,255,255,.35) 0%, rgba(255,255,255,.98) 25%);
    backdrop-filter:blur(6px);
    padding:14px 0 4px;
    flex-wrap:wrap;
    gap:12px;
  }
}
@media (max-width:520px){
  .question-strip{font-size:13px;gap:10px}
  .question-strip strong{font-size:14px}
  .phone{font-size:19px}
  .progress-wrap{max-width:96%;margin-bottom:28px}
  .progress-bar{height:10px}
  .progress-badge{min-width:50px;padding:8px 8px;font-size:12px}
  .eyebrow{font-size:11px}
  h1{font-size:28px}
  h2{font-size:22px;margin-bottom:22px}
  .choice{min-height:74px;padding:16px 14px}
  .choice-text{font-size:15px}
  .choice-icon{width:40px;height:40px;flex-basis:40px;font-size:16px}
  .back-btn,
  .next-btn,
  .submit-btn,
  .restart{width:100%;min-width:0;height:56px}
  .footer-socials{padding:0 0 10px}
}
