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

:root{
  --navy:#061D3A;
  --navy-2:#0A2B52;
  --gold:#C9963E;
  --gold-dark:#B7842F;
  --gold-light:#E6C789;
  --paper:#F7F8FA;
  --ink:#172033;
  --muted:#697386;
  --line:#DFE5EC;
  --white:#fff;
  --success:#26785C;
  --danger:#B42318;
  --shadow:0 18px 50px rgba(6,29,58,.13);
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--ink);background:var(--paper)}
button,input{font:inherit}
button{cursor:pointer}
a{color:inherit}
.hidden{display:none!important}

.site-header{
  position:sticky;top:0;z-index:40;
  display:flex;align-items:center;justify-content:space-between;
  padding:16px clamp(20px,5vw,76px);
  background:rgba(6,29,58,.98);color:#fff;
  backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(255,255,255,.07)
}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-family:"Playfair Display",serif;font-size:clamp(19px,2vw,27px)}
.brand-mark{width:38px;height:38px;color:var(--gold)}
.brand-mark svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:3;stroke-linejoin:round;stroke-linecap:round}
.desktop-nav{display:flex;align-items:center;gap:30px}.desktop-nav a{text-decoration:none;font-size:14px;color:#f7f9fc}.desktop-nav a:hover{text-decoration:underline}

.btn{border:0;border-radius:10px;padding:14px 24px;font-weight:700;transition:.18s transform,.18s background,.18s box-shadow;min-height:50px}
.btn:hover{transform:translateY(-1px)}
.btn-gold{background:linear-gradient(135deg,#D5A653,var(--gold));color:#fff;box-shadow:0 8px 24px rgba(201,150,62,.26)}
.btn-gold:hover{background:var(--gold-dark)}
.btn-small{padding:11px 18px;min-height:auto}
.btn-back{background:#E7CCA0;color:#5d4319;box-shadow:0 6px 18px rgba(201,150,62,.12)}
.btn-back:hover{background:#ddbd82}
.btn:disabled{cursor:default;opacity:.62;transform:none;box-shadow:none}

.hero{
  position:relative;overflow:hidden;
  min-height:calc(100vh - 71px);
  padding:38px clamp(22px,5.5vw,88px) 42px;
  display:grid;grid-template-columns:minmax(0,.92fr) minmax(520px,1.08fr);
  gap:42px;align-items:center;color:#fff;
  background:radial-gradient(circle at 78% 40%,rgba(37,85,135,.68),transparent 35%),linear-gradient(145deg,var(--navy),#021226)
}
.hero-copy{position:relative;z-index:1;padding:8px 0 0;min-width:0}
.eyebrow{display:inline-block;border:1px solid rgba(255,255,255,.3);border-radius:999px;padding:8px 13px;font-size:12px;font-weight:700;letter-spacing:.02em}
.hero h1{font-family:"Playfair Display",serif;font-size:clamp(43px,5vw,70px);line-height:1.02;margin:15px 0 15px;max-width:700px}
.hero-lead{font-size:clamp(17px,1.7vw,21px);line-height:1.55;color:#E5EAF1;max-width:640px;margin:0}
.gold-solid{color:#FFD36D;font-weight:800}

.how-inline{margin:22px 0 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;max-width:710px}
.how-inline-item{display:flex;align-items:center;gap:9px;min-height:60px;padding:10px 11px;border:1px solid rgba(255,255,255,.13);border-radius:12px;background:rgba(255,255,255,.055);backdrop-filter:blur(5px)}
.how-inline-item span{flex:0 0 30px;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:rgba(201,150,62,.17);border:1px solid rgba(201,150,62,.55);color:#FFD36D;font-weight:800;font-size:13px}
.how-inline-item strong{font-size:12.5px;line-height:1.28;color:#f7f9fc}
.trust-inline{display:flex;gap:20px;margin-top:16px;font-size:12.5px;color:#D8E0EA;flex-wrap:wrap}

.hero-art{position:relative;height:185px;max-width:420px;margin-top:14px;opacity:.97}
.doc-card{position:absolute;right:5%;top:1%;width:112px;height:138px;background:#fff;color:var(--navy);border-radius:11px;padding:15px;transform:rotate(7deg);box-shadow:var(--shadow)}
.doc-card strong{font-size:10px}.doc-card span{display:block;height:6px;background:#D7DEE8;margin-top:10px;border-radius:6px}
.house{position:absolute;left:0;bottom:0;width:220px;height:165px;filter:drop-shadow(0 15px 14px rgba(0,0,0,.25))}
.house .roof{position:absolute;left:18px;top:17px;width:185px;height:94px;background:#142D4A;clip-path:polygon(50% 0,100% 55%,89% 55%,89% 100%,11% 100%,11% 55%,0 55%)}
.house .body{position:absolute;left:44px;top:85px;width:136px;height:80px;background:#E8EDF2;border-radius:4px}
.window{position:absolute;width:28px;height:28px;background:#F3C777;top:16px;box-shadow:inset 0 0 0 4px #203954}.window:nth-child(1){left:17px}.window:nth-child(2){right:17px}.door{position:absolute;width:31px;height:45px;background:#8A6B45;left:52px;bottom:0}
.shield{position:absolute;right:0;bottom:4px;width:87px;height:104px;display:grid;place-items:center;font-size:41px;font-weight:800;background:linear-gradient(145deg,#264B7D,#0C2446);border:5px solid #C7D2E0;clip-path:polygon(50% 0,95% 15%,88% 70%,50% 100%,12% 70%,5% 15%);filter:drop-shadow(0 14px 13px rgba(0,0,0,.27))}

.form-shell{position:relative;background:#fff;color:var(--ink);border-radius:20px;padding:26px clamp(20px,2.6vw,36px) 22px;box-shadow:0 22px 65px rgba(2,18,38,.27);min-height:610px;display:flex;flex-direction:column;align-self:stretch;max-height:760px;overflow:hidden}
.form-top{display:flex;justify-content:space-between;align-items:end;margin-bottom:12px}.form-top div{display:flex;flex-direction:column;gap:3px}.form-top span{font-size:12px;color:var(--muted)}.form-top strong{color:var(--navy);font-size:14px}
.progress-track{height:7px;background:#E5E9EF;border-radius:999px;overflow:hidden;margin-bottom:24px}.progress-bar{height:100%;width:7%;background:linear-gradient(90deg,var(--gold),#E2B663);transition:width .28s ease}
#leadForm{display:flex;flex:1;min-height:0;flex-direction:column}
.step-host{flex:1;min-height:0;overflow-y:auto;padding:2px 2px 10px;scrollbar-width:thin;scrollbar-color:#cdd5df transparent}
.question-block{animation:fade .2s ease}
@keyframes fade{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
.question-block h2,.conditional-question h3{text-align:center;font-size:clamp(25px,2.35vw,34px);line-height:1.14;color:var(--navy);margin:8px auto 25px;max-width:800px;letter-spacing:-.015em}
.question-note{text-align:center;color:var(--muted);font-size:14px;line-height:1.55;margin:-12px auto 22px;max-width:700px}

.option-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.option-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.option-grid.one{grid-template-columns:1fr;max-width:620px;margin-left:auto;margin-right:auto}
.option{min-height:62px;background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:12px;padding:14px 15px;font-weight:650;line-height:1.28;text-align:left;box-shadow:0 5px 15px rgba(6,29,58,.04);transition:.16s border-color,.16s background,.16s transform,.16s box-shadow}
.option:hover{border-color:#A7B8CB;transform:translateY(-1px)}
.option.selected{border:2px solid var(--gold);background:#FFF9EF;box-shadow:0 8px 22px rgba(201,150,62,.15)}

.conditional-question{margin-top:23px;padding:19px;border-radius:15px;background:#F8FAFD;border:1px solid #D5DEE9;box-shadow:inset 4px 0 0 #C9963E;animation:reveal .18s ease}
@keyframes reveal{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.conditional-question .new-question{display:table;margin:0 auto 5px;padding:5px 9px;border-radius:999px;background:#F2E3C5;color:#79581f;font-size:10.5px;font-weight:800;letter-spacing:.09em}
.conditional-question h3{margin-top:10px;margin-bottom:18px}

.numeric-wrap{display:flex;align-items:center;justify-content:center;gap:14px;margin:22px 0 10px}
.counter-btn{width:64px;height:64px;border-radius:14px;border:1px solid var(--line);background:#F8FAFC;color:var(--navy);font-size:31px;font-weight:700;box-shadow:0 5px 14px rgba(6,29,58,.05)}
.counter-btn:hover{border-color:#A7B8CB}
.counter-value{width:120px;height:66px;border:2px solid var(--gold);border-radius:14px;text-align:center;font-size:30px;font-weight:800;color:var(--navy);background:#fff}
.counter-value:focus{outline:0;box-shadow:0 0 0 4px rgba(201,150,62,.13)}
.numeric-help{text-align:center;color:var(--muted);font-size:13px;margin:0 auto 17px;line-height:1.45}
.numeric-unknown{max-width:280px;margin:auto}

.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;max-width:780px;margin:auto}.field-grid .wide{grid-column:1/-1}
.field-grid label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:700;color:var(--navy)}
.field-grid input{width:100%;height:51px;padding:0 13px;border:1px solid var(--line);border-radius:10px;outline:0;background:#fff;color:var(--ink)}
.field-grid input:focus{border-color:var(--gold);box-shadow:0 0 0 3px rgba(201,150,62,.12)}
.field-grid input[readonly]{background:#F4F6F9;color:#536173}
.cep-wrap{display:flex;gap:9px;align-items:end}.cep-wrap label{flex:1}.cep-retry{height:51px;border:1px solid var(--line);background:#fff;color:var(--navy);border-radius:10px;padding:0 15px;font-weight:700;white-space:nowrap}
.field-message{font-size:12.5px;color:var(--muted);margin:3px 0 0}.field-message.error{color:var(--danger)}

.file-box{max-width:650px;margin:14px auto 0;padding:14px;border:1px dashed #bcc8d6;border-radius:12px;background:#fff}
.file-box input{width:100%}.file-note{font-size:12.5px!important;color:var(--muted)!important;margin:8px 0 0!important;text-align:left!important}

.contact-copy{text-align:center!important;color:var(--muted)!important;line-height:1.55!important;max-width:720px!important;margin:-10px auto 16px!important;font-size:14px!important}
.summary-mini{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-width:760px;margin:0 auto 15px;padding:11px;border-radius:12px;background:#F6F8FB;border:1px solid var(--line)}
.summary-row{display:flex;justify-content:space-between;gap:8px;padding:7px 9px;border-radius:8px;background:#fff;font-size:11.5px}.summary-row span{color:var(--muted)}.summary-row strong{color:var(--navy);text-align:right;max-width:62%}
.consent-box{display:grid;gap:8px;max-width:760px;margin:13px auto 0}.consent-line{display:flex;align-items:flex-start;gap:10px;font-size:12px;line-height:1.45;color:#4c596b}.consent-line input{margin-top:3px;transform:scale(1.14)}

.form-error{min-height:20px;text-align:center;color:var(--danger);font-size:13px;font-weight:700;margin:8px 0 0}
.form-actions{display:flex;justify-content:space-between;gap:12px;margin-top:12px;padding-top:12px;border-top:1px solid #EEF1F5}.form-actions .btn:last-child{margin-left:auto}
.save-status{min-height:16px;text-align:center;color:var(--muted);font-size:11px;margin:7px 0 0}

.busy-layer{position:absolute;inset:0;z-index:20;display:grid;place-items:center;background:rgba(255,255,255,.78);backdrop-filter:blur(2px);border-radius:20px}
.busy-card{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:17px 20px;box-shadow:var(--shadow);color:var(--navy)}
.spinner{width:24px;height:24px;border-radius:50%;border:3px solid #E3E7EC;border-top-color:var(--gold);animation:spin .75s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}

.success-panel{text-align:center;padding:55px 20px;margin:auto}.success-icon{width:74px;height:74px;margin:auto;border-radius:50%;display:grid;place-items:center;background:#E7F5EF;color:var(--success);font-size:40px}.success-panel h2{font-size:32px;color:var(--navy);margin:18px 0 10px}.success-panel p{color:var(--muted);max-width:570px;margin:0 auto 16px;line-height:1.6}.lead-code{font-size:12px!important}

.confidence-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;padding:24px clamp(22px,6vw,96px);background:#fff;border-top:1px solid #e8edf2}.confidence-strip div{display:flex;flex-direction:column;gap:5px}.confidence-strip strong{color:var(--navy);font-size:14px}.confidence-strip span{color:var(--muted);font-size:12.5px;line-height:1.45}

footer{display:flex;justify-content:space-between;gap:20px;padding:28px clamp(22px,6vw,96px);background:var(--navy);color:#fff}footer p{color:#BAC5D3;margin:7px 0 0;font-size:13px}footer div:last-child{display:flex;gap:22px;align-items:center}footer a{color:#fff;font-size:13px}

@media(max-width:1080px){
  .hero{grid-template-columns:minmax(0,.9fr) minmax(480px,1.1fr);gap:28px;padding-left:28px;padding-right:28px}
  .hero h1{font-size:50px}.how-inline-item strong{font-size:11.5px}
}

@media(max-width:900px){
  .desktop-nav a{display:none}
  .hero{grid-template-columns:1fr;align-items:start;padding:30px 18px 34px;gap:22px;min-height:auto}
  .hero-copy{max-width:820px;margin:auto;width:100%}
  .hero h1{font-size:clamp(39px,8vw,52px);max-width:760px}
  .hero-lead{max-width:700px}
  .hero-art{height:155px;max-width:360px}
  .form-shell{width:min(100%,820px);margin:auto;min-height:590px;max-height:none;overflow:visible}
  .step-host{overflow:visible}
  .option-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .confidence-strip{grid-template-columns:1fr 1fr}
}

@media(max-width:600px){
  .site-header{padding:12px 15px}.brand{font-size:18px}.brand-mark{width:31px;height:31px}.desktop-nav .btn{padding:9px 11px;font-size:11.5px}
  .hero{padding:22px 10px 25px;gap:16px}
  .hero-copy{padding:0 7px}
  .eyebrow{font-size:10.5px;padding:6px 10px}
  .hero h1{font-size:34px;line-height:1.05;margin:11px 0 10px}
  .hero-lead{font-size:15px;line-height:1.42}
  .how-inline{margin-top:14px;gap:6px}
  .how-inline-item{min-height:55px;padding:7px;gap:6px;align-items:flex-start}.how-inline-item span{width:25px;height:25px;flex-basis:25px;font-size:11px}.how-inline-item strong{font-size:9.8px;line-height:1.2}
  .trust-inline{gap:8px;font-size:10.5px;margin-top:11px}
  .hero-art{height:102px;max-width:260px;margin-top:7px}.house{width:140px;height:105px}.house .roof{width:118px;height:61px;left:12px;top:10px}.house .body{left:28px;top:54px;width:87px;height:51px}.window{width:18px;height:18px;top:10px;box-shadow:inset 0 0 0 3px #203954}.window:nth-child(1){left:11px}.window:nth-child(2){right:11px}.door{width:20px;height:29px;left:33px}.doc-card{width:68px;height:84px;padding:9px;right:11%;border-radius:7px}.doc-card strong{font-size:6.5px}.doc-card span{height:3.5px;margin-top:6px}.shield{width:52px;height:63px;font-size:25px;border-width:3px}
  .form-shell{padding:17px 12px 13px;border-radius:15px;min-height:555px}
  .form-top{margin-bottom:9px}.progress-track{margin-bottom:18px}
  .question-block h2,.conditional-question h3{font-size:25px;margin:5px auto 19px}
  .question-note{font-size:12.5px;margin-top:-9px}
  .option-grid,.option-grid.two,.option-grid.one{grid-template-columns:1fr;max-width:none}.option{min-height:57px;padding:12px 13px;font-size:14px}
  .conditional-question{padding:15px 11px;margin-top:16px}.conditional-question h3{font-size:24px}.conditional-question .new-question{font-size:9px}
  .numeric-wrap{margin-top:16px}.counter-btn{width:59px;height:59px}.counter-value{width:112px;height:61px;font-size:28px}.numeric-help{font-size:12px}
  .field-grid{grid-template-columns:1fr;gap:11px}.field-grid .wide{grid-column:auto}.cep-wrap{flex-direction:column;align-items:stretch}.cep-retry{width:100%}
  .summary-mini{grid-template-columns:1fr;gap:6px;padding:8px;margin-bottom:11px}.summary-row{font-size:11px}
  .contact-copy{font-size:12.5px!important;margin-bottom:11px!important}.consent-line{font-size:11.5px}
  .form-actions{position:sticky;bottom:0;z-index:8;background:#fff;padding:11px 0 1px;margin-top:8px}.form-actions .btn{padding:13px 17px;min-height:49px}.btn-back{min-width:96px}.save-status{font-size:10px;margin-top:5px}
  .confidence-strip{grid-template-columns:1fr;padding:19px 18px;gap:13px}
  footer{flex-direction:column;padding:24px 18px}footer div:last-child{align-items:flex-start;flex-direction:column;gap:10px}
}

@media(max-width:380px){
  .how-inline{grid-template-columns:1fr}.how-inline-item{min-height:43px;align-items:center}.hero-art{display:none}.hero h1{font-size:31px}
}
