.quote-page { min-height:100svh; background:var(--paper); }
.quote-header .nav { justify-content:flex-start; }
.quote-header .quote-exit { margin-left:auto; display:inline-flex; align-items:center; gap:8px; color:var(--muted); font-size:.82rem; font-weight:650; }
.quote-header .quote-exit span { font-size:1.25rem; line-height:1; }
.quote-header .theme-toggle { margin-left:14px; }
.quote-main { min-height:calc(100svh - 76px); display:flex; flex-direction:column; padding-block:34px 48px; }
.quote-progress { margin-bottom:clamp(36px,6vh,72px); }
.quote-stages { display:grid; grid-template-columns:repeat(5,1fr); gap:12px; margin-bottom:12px; color:var(--muted); font-size:.67rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; }
.quote-stages span { opacity:.38; }
.quote-stages span.is-active { color:var(--ink); opacity:1; }
.progress-track { height:2px; overflow:hidden; background:var(--line); }
.progress-track span { display:block; width:3%; height:100%; background:var(--orange); transition:width .35s ease; }
html[data-theme="dark"] .progress-track span { background:var(--blue); }
.quote-screen { flex:1; display:flex; flex-direction:column; max-width:980px; width:100%; margin-inline:auto; }
.quote-screen.is-entering .quote-question-wrap { animation:quote-enter .34s cubic-bezier(.2,.65,.3,1); }
.quote-question-wrap { flex:1; }
.quote-question-wrap h1,.result-hero h1 { max-width:890px; margin-bottom:16px; font-size:clamp(2.35rem,5.4vw,5.4rem); }
.question-help { margin-bottom:34px; color:var(--muted); }
.quote-options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.quote-options.is-compact { grid-template-columns:repeat(3,minmax(0,1fr)); }
.quote-option { min-height:66px; display:flex; align-items:center; gap:14px; padding:14px 17px; text-align:left; border:1px solid var(--line); border-radius:13px; background:var(--surface); cursor:pointer; transition:transform .2s ease,border-color .2s ease,background .2s ease; }
.quote-option:hover { transform:translateY(-2px); border-color:color-mix(in srgb,var(--orange) 48%,var(--line)); }
.quote-option.is-selected { border-color:var(--orange); background:color-mix(in srgb,var(--orange) 8%,var(--surface)); }
html[data-theme="dark"] .quote-option.is-selected { border-color:var(--blue); background:color-mix(in srgb,var(--blue) 12%,var(--surface)); }
.option-indicator { flex:0 0 auto; width:17px; height:17px; border:1px solid var(--muted); border-radius:50%; box-shadow:inset 0 0 0 4px var(--surface); }
.quote-option.is-selected .option-indicator { background:var(--orange); border-color:var(--orange); }
html[data-theme="dark"] .quote-option.is-selected .option-indicator { background:var(--blue); border-color:var(--blue); }
.quote-feedback { min-height:24px; margin:16px 0 0; color:var(--orange); font-size:.82rem; font-weight:650; }
.quote-actions { display:flex; justify-content:space-between; gap:12px; padding-top:28px; margin-top:22px; border-top:1px solid var(--line); }
.quote-actions .button { min-width:132px; cursor:pointer; }
.quote-actions .button:disabled { opacity:.35; cursor:not-allowed; transform:none; }
.scroll-hint { align-self:center; display:grid; place-items:center; width:56px; height:56px; padding:0; border:2px solid var(--orange); border-radius:50%; background:var(--orange); color:#fff; box-shadow:0 8px 24px color-mix(in srgb,var(--orange) 32%,transparent); cursor:pointer; font-size:2rem; font-weight:800; line-height:1; animation:scroll-hint 1.25s ease-in-out infinite; transition:filter .2s ease,transform .2s ease; }
.scroll-hint[hidden] { display:none; }
.scroll-hint:hover { filter:brightness(.92); }
html[data-theme="dark"] .scroll-hint { border-color:var(--blue); background:var(--blue); color:#071020; box-shadow:0 8px 24px color-mix(in srgb,var(--blue) 32%,transparent); }
.needs-answer { animation:quote-shake .28s ease; }
.quote-result { width:100%; max-width:1060px; margin-inline:auto; }
.result-hero { max-width:900px; margin-bottom:50px; }
.result-scroll-cue { display:inline-flex; align-items:center; gap:14px; margin-top:28px; padding:10px 12px 10px 18px; border:1px solid var(--line); border-radius:999px; background:var(--surface); color:var(--ink); cursor:pointer; font-size:.78rem; font-weight:700; }
.result-scroll-cue strong { display:grid; place-items:center; width:38px; height:38px; border-radius:50%; background:var(--orange); color:#fff; font-size:1.35rem; animation:scroll-hint 1.25s ease-in-out infinite; }
html[data-theme="dark"] .result-scroll-cue strong { background:var(--blue); color:#071020; }
.result-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.result-card { min-height:260px; padding:clamp(25px,4vw,42px); border:1px solid var(--line); border-radius:18px; background:var(--surface); }
.result-card p:last-child { margin-bottom:0; color:var(--muted); line-height:1.65; }
.result-card ul { display:flex; flex-wrap:wrap; gap:8px; margin:24px 0 0; padding:0; list-style:none; }
.result-card li { padding:8px 11px; border:1px solid var(--line); border-radius:999px; font-size:.76rem; font-weight:650; }
.result-label { margin-bottom:20px!important; color:var(--orange)!important; font-size:.7rem; font-weight:750; letter-spacing:.12em; text-transform:uppercase; }
html[data-theme="dark"] .result-label { color:var(--blue)!important; }
.result-price { display:block; margin:14px 0 20px; font-size:clamp(1.8rem,3.4vw,3.3rem); line-height:1.05; letter-spacing:-.055em; }
.result-investment { background:var(--ink); color:var(--paper); }
.result-investment p { color:color-mix(in srgb,var(--paper) 68%,transparent)!important; }
.result-investment .result-label { color:var(--orange-soft)!important; }
.result-investment h3 { font-size:clamp(1.7rem,3vw,2.8rem); line-height:1.06; letter-spacing:-.05em; }
.result-breakdown { grid-column:1 / -1; }
.result-breakdown h2 { margin:0 0 14px; font-size:clamp(2rem,4vw,4rem); }
.breakdown-intro { max-width:720px; }
.breakdown-table { margin-top:32px; border-top:1px solid var(--line); }
.breakdown-head,.breakdown-row,.breakdown-total { display:grid; grid-template-columns:minmax(220px,1.35fr) minmax(190px,.85fr) minmax(150px,.7fr); gap:24px; align-items:center; padding:17px 0; border-bottom:1px solid var(--line); }
.breakdown-head { color:var(--muted); font-size:.67rem; font-weight:750; letter-spacing:.09em; text-transform:uppercase; }
.breakdown-row strong { font-size:.9rem; }
.breakdown-row span { color:var(--muted); font-size:.85rem; }
.breakdown-row.is-custom span { color:var(--orange); font-weight:650; }
html[data-theme="dark"] .breakdown-row.is-custom span { color:var(--blue); }
.breakdown-total { padding-top:22px; border-bottom:0; color:var(--ink); }
.breakdown-note { margin-top:16px; color:var(--muted); font-size:.76rem; }
.result-actions { display:flex; align-items:center; gap:24px; flex-wrap:wrap; margin-top:28px; }
.restart-button { border:0; background:transparent; cursor:pointer; }
.quote-legal { margin:30px 0 0; color:var(--muted); font-size:.72rem; }
@keyframes quote-enter { from { opacity:0; transform:translateX(12px) scale(.995); } to { opacity:1; transform:none; } }
@keyframes quote-shake { 33% { transform:translateX(-5px); } 66% { transform:translateX(5px); } }
@keyframes scroll-hint { 0%,100% { transform:translateY(-2px); } 50% { transform:translateY(4px); } }
@media (max-width:760px) {
  .quote-main { min-height:calc(100svh - 64px); padding-block:24px 32px; }
  .quote-stages { gap:5px; font-size:.56rem; letter-spacing:0; }
  .quote-progress { margin-bottom:34px; }
  .quote-question-wrap h1,.result-hero h1 { font-size:clamp(2.35rem,12vw,4rem); }
  .quote-options,.quote-options.is-compact { grid-template-columns:1fr; }
  .quote-option { min-height:60px; }
  .quote-actions { position:sticky; bottom:0; padding:15px 0 max(8px,env(safe-area-inset-bottom)); background:color-mix(in srgb,var(--paper) 93%,transparent); backdrop-filter:blur(12px); }
  .result-grid { grid-template-columns:1fr; }
  .result-card { min-height:auto; }
  .breakdown-head { display:none; }
  .breakdown-row,.breakdown-total { grid-template-columns:1fr; gap:8px; padding:18px 0; }
  .breakdown-row span::before { content:attr(data-label) ": "; color:var(--ink); font-weight:650; }
  .breakdown-total { gap:5px; }
}
@media (max-width:430px) {
  .quote-stages span { font-size:0; }
  .quote-stages span::before { content:""; display:block; width:8px; height:8px; border-radius:50%; background:currentColor; }
  .quote-stages { display:flex; justify-content:space-between; }
  .quote-actions .button { min-width:0; flex:1; padding-inline:14px; }
  .scroll-hint { flex:0 0 52px; width:52px; height:52px; }
}
@media (prefers-reduced-motion:reduce) { .quote-screen.is-entering .quote-question-wrap,.needs-answer,.scroll-hint,.result-scroll-cue strong { animation:none; } .progress-track span { transition:none; } }
