:root{
  --charcoal:#121212; --burgundy:#4C1513; --gold:#D4B36A; --stone:#8A837A;
  --ivory:#F7F3EE; --sand:#F2E8DA; --clay:#C88655; --sky:#546c84; --sage:#70806B;
  --warmgray:#C9C2B8; --deepgray:#7E786F; --white:#fff;
}
*{margin:0;padding:0;box-sizing:border-box}
body{font-family:'Inter',sans-serif;color:var(--charcoal);background:var(--ivory);-webkit-font-smoothing:antialiased}
.serif{font-family:'Cormorant Garamond',serif}
.wrap{max-width:1180px;margin:0 auto;padding:0 32px}
.eyebrow{font:600 12px/1 'Inter';letter-spacing:.28em;text-transform:uppercase;color:var(--gold)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;font:600 14px/1 'Inter';letter-spacing:.04em;padding:16px 28px;border-radius:2px;text-decoration:none;border:0;cursor:pointer;transition:.2s}
.btn-gold{background:var(--gold);color:var(--charcoal)}
.btn-burg{background:var(--burgundy);color:#fff}
.btn-ghost-dark{border:1px solid var(--charcoal);color:var(--charcoal);background:transparent}
.btn[disabled]{opacity:.45;cursor:not-allowed}

/* header */
header{background:#fff;border-bottom:1px solid #e9e2d6}
header .wrap{display:flex;align-items:center;justify-content:space-between;height:84px}
header img{height:40px}
header .phone{text-align:right}
header .phone .lbl{font:500 10.5px/1.2 'Inter';color:var(--stone);letter-spacing:.08em;text-transform:uppercase}
header .phone .num{font:700 18px/1.2 'Inter';color:var(--burgundy)}

/* hero */
.hero{background:var(--charcoal);color:#fff;padding:64px 0 56px;text-align:center}
.hero h1{font-family:'Cormorant Garamond',serif;font-size:54px;font-weight:600;line-height:1.06;margin:20px auto 0;max-width:760px}
.hero h1 em{font-style:italic;color:var(--gold)}
.hero p{font:300 17px/1.65 'Inter';color:#d9d2c6;max-width:620px;margin:18px auto 0}
.hero .badges{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;margin-top:26px}
.hero .badge{font:500 12px/1 'Inter';letter-spacing:.1em;text-transform:uppercase;color:#e8e1d5;border:1px solid #3a352f;border-radius:100px;padding:10px 18px}
.hero .badge b{color:var(--gold)}

/* layout */
.demo{padding:56px 0 90px}
.demo .cols{display:grid;grid-template-columns:1.35fr 1fr;gap:28px;align-items:start}

/* wizard */
.panel{background:#fff;border:1px solid #eae2d4;border-radius:4px;box-shadow:0 24px 60px rgba(18,18,18,.08)}
.wizard{padding:36px 36px 30px}
.wz-top{display:flex;justify-content:space-between;align-items:center;font:600 12px/1 'Inter';letter-spacing:.16em;text-transform:uppercase;color:var(--stone)}
.progress{height:4px;background:#ece5d8;border-radius:2px;margin:18px 0 30px;overflow:hidden}
.progress i{display:block;height:100%;background:linear-gradient(90deg,var(--burgundy),var(--gold));width:0;transition:.35s}
.wizard h2{font-family:'Cormorant Garamond',serif;font-size:32px;font-weight:600;margin-bottom:6px}
.wizard .hint{font:400 14px/1.6 'Inter';color:var(--deepgray);margin-bottom:24px}
.opts{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.opt{border:1px solid #e2dacb;border-radius:3px;padding:16px 18px;font:500 14.5px/1.4 'Inter';cursor:pointer;background:#fff;text-align:left;transition:.15s}
.opt:hover{border-color:var(--gold)}
.opt.sel{border-color:var(--burgundy);background:var(--sand);box-shadow:inset 0 0 0 1px var(--burgundy)}
.opt small{display:block;font:400 12.5px/1.4 'Inter';color:var(--stone);margin-top:3px}
textarea{width:100%;border:1px solid #e2dacb;border-radius:3px;padding:14px 16px;font:400 14.5px/1.6 'Inter';min-height:120px;resize:vertical;background:#fff}
textarea:focus{outline:2px solid var(--gold)}
.wz-nav{display:flex;justify-content:space-between;align-items:center;margin-top:30px}
.wz-nav .back{font:600 14px/1 'Inter';color:var(--stone);cursor:pointer;background:none;border:0}

/* estimate sidebar */
.est-card{background:var(--charcoal);color:#fff;border-radius:4px;padding:32px;position:sticky;top:24px}
.est-card .lbl{font:600 11.5px/1 'Inter';letter-spacing:.2em;text-transform:uppercase;color:var(--gold)}
.est-card .range{font-family:'Cormorant Garamond',serif;font-size:46px;font-weight:600;color:var(--gold);margin:16px 0 6px;min-height:56px}
.est-card .conf{font:400 13px/1.6 'Inter';color:var(--warmgray)}
.est-card .factors{margin-top:24px;display:flex;flex-direction:column;gap:12px}
.est-card .factors li{font:400 13.5px/1.55 'Inter';color:#d9d2c6;list-style:none;padding-left:18px;position:relative}
.est-card .factors li::before{content:'—';position:absolute;left:0;color:var(--gold)}
.est-card .disc{margin-top:24px;padding-top:18px;border-top:1px solid #2c2823;font:400 11.5px/1.6 'Inter';color:#8b847a}
.est-card .cta{margin-top:22px;width:100%}
.spin{display:inline-block;width:18px;height:18px;border:2px solid var(--gold);border-top-color:transparent;border-radius:50%;animation:sp 1s linear infinite;vertical-align:middle}
@keyframes sp{to{transform:rotate(360deg)}}

/* chatbot */
.chatfab{position:fixed;right:24px;bottom:24px;z-index:60}
.chatfab .fab{width:60px;height:60px;border-radius:50%;background:var(--burgundy);color:var(--gold);font-size:24px;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 14px 34px rgba(18,18,18,.35);position:relative;border:0}
.chatfab .dot{position:absolute;top:4px;right:4px;width:12px;height:12px;border-radius:50%;background:#3fae62;border:2px solid var(--burgundy)}
.chatwin{position:fixed;right:24px;bottom:96px;width:390px;max-width:calc(100vw - 32px);height:560px;max-height:calc(100vh - 130px);background:#fff;border-radius:8px;box-shadow:0 30px 80px rgba(18,18,18,.35);display:none;flex-direction:column;overflow:hidden;z-index:60}
.chatwin.open{display:flex}
.chat-head{background:var(--charcoal);color:#fff;padding:16px 18px;display:flex;align-items:center;gap:12px}
.chat-head .av{width:38px;height:38px;border-radius:50%;background:var(--burgundy);color:var(--gold);display:flex;align-items:center;justify-content:center;font-size:17px}
.chat-head b{font:600 15px/1.2 'Inter'}
.chat-head small{display:block;font:400 11.5px/1.4 'Inter';color:var(--warmgray)}
.chat-head .on{display:inline-block;width:8px;height:8px;border-radius:50%;background:#3fae62;margin-right:6px}
.chat-body{flex:1;overflow-y:auto;padding:18px;display:flex;flex-direction:column;gap:12px;background:var(--ivory)}
.msg{max-width:85%;padding:12px 15px;border-radius:10px;font:400 14px/1.55 'Inter';white-space:pre-wrap}
.msg.bot{background:#fff;border:1px solid #eae2d4;border-bottom-left-radius:3px;align-self:flex-start}
.msg.user{background:var(--burgundy);color:#fff;border-bottom-right-radius:3px;align-self:flex-end}
.msg.sys{align-self:center;font:400 12px/1.4 'Inter';color:var(--stone);background:none;padding:2px}
.quick{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}
.quick button{font:500 12.5px/1 'Inter';color:var(--burgundy);border:1px solid var(--burgundy);background:#fff;border-radius:100px;padding:8px 14px;cursor:pointer}
.quick button:hover{background:var(--sand)}
.chat-input{display:flex;gap:10px;padding:14px;border-top:1px solid #eae2d4;background:#fff}
.chat-input input{flex:1;border:1px solid #e2dacb;border-radius:100px;padding:12px 18px;font:400 14px/1 'Inter'}
.chat-input input:focus{outline:2px solid var(--gold)}
.chat-input button{width:44px;height:44px;border-radius:50%;background:var(--burgundy);color:var(--gold);border:0;font-size:16px;cursor:pointer}
.typing i{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--stone);margin-right:4px;animation:blink 1.2s infinite}
.typing i:nth-child(2){animation-delay:.2s}.typing i:nth-child(3){animation-delay:.4s}
@keyframes blink{0%,80%,100%{opacity:.25}40%{opacity:1}}

/* trust bar */
.trustbar{background:var(--burgundy);color:#e8dcd2;padding:14px 0}
.trustbar .wrap{display:flex;justify-content:center;gap:44px;flex-wrap:wrap;font:400 13px/1 'Inter'}
.trustbar b{color:var(--gold);font-weight:700;margin-right:6px}
/* lead capture form */
.leadform{display:grid;gap:14px;margin-top:18px}
.leadform label{font:600 12.5px/1.4 'Inter';color:var(--deepgray);display:block}
.leadform input{display:block;width:100%;margin-top:6px;padding:12px 14px;border:1px solid #ddd3c2;background:#fff;font:400 14px/1.4 'Inter';color:var(--charcoal);outline:none;box-sizing:border-box}
.leadform input:focus{border-color:var(--gold)}
.leadform select{display:block;width:100%;margin-top:6px;padding:12px 14px;border:1px solid #ddd3c2;background:#fff;font:400 14px/1.4 'Inter';color:var(--charcoal);outline:none;box-sizing:border-box;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%238A837A'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center}
.leadform select:focus{border-color:var(--gold)}
.leadrow{display:grid;grid-template-columns:1fr 1fr;gap:14px}
@media(max-width:560px){.leadrow{grid-template-columns:1fr}}
.breakdown{margin:14px 0 4px;padding:12px 14px;background:rgba(212,179,106,.08);border:1px solid rgba(212,179,106,.35)}
.bd-row{display:flex;justify-content:space-between;align-items:baseline;padding:5px 0;font:400 12.5px/1.4 'Inter';color:var(--ivory)}
.bd-row+.bd-row{border-top:1px solid rgba(212,179,106,.18)}
.bd-row b{font:600 13px/1.4 'Inter';color:var(--gold)}
/* SOL banner */
.sol{margin-top:22px;background:var(--ivory);padding:14px 18px;font:400 13.5px/1.6 'Inter';color:var(--deepgray)}
.sol b{color:var(--charcoal)}
/* mic */
#chatMic{width:44px;height:44px;border-radius:50%;background:#fff;border:1px solid #e2dacb;font-size:15px;cursor:pointer}
#chatMic.rec{background:var(--gold);animation:pulse 1s infinite}
@keyframes pulse{50%{opacity:.6}}
/* entry animations */
.panel,.est-card{animation:rise .5s ease both}
@keyframes rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
.msg{animation:rise .25s ease both}

footer{background:var(--charcoal);color:#8b847a;padding:28px 0;font:400 12.5px/1.7 'Inter';text-align:center}
footer b{color:var(--gold);letter-spacing:.2em}

@media (max-width:900px){
  .demo .cols{grid-template-columns:1fr}
  .est-card{position:static}
  .hero h1{font-size:38px}
  .opts{grid-template-columns:1fr}
  .wizard{padding:26px 22px}
  header .phone{display:none}
}
