/* Instant estimate wizard (quote-app.js) — Gallery brand tokens from theme.css */
.qz { background: var(--tint); color: var(--ink); border-top: 1px solid var(--line); }
.qz-wrap { max-width: 980px; margin: 0 auto; padding: 0 24px; }
.qz-loading { padding: 80px 0; text-align: center; color: var(--mute); }

/* hero bar + progress */
.qz-bar { background: #fff; border-bottom: 1px solid var(--line); padding: 18px 0; }
.qz-bar-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.qz-bar-title { font-family: "Source Serif 4", Georgia, serif; font-weight: 550; font-size: 20px; line-height: 1.25; color: var(--ink); margin: 0 0 4px; }
.qz-bar-sub { font-size: 13px; color: var(--mute); max-width: 520px; margin: 0; line-height: 1.5; }
.qz-bar-cpa { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.qz-bar-cpa img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.qz-bar-cpa strong { display: block; font-size: 12.5px; color: var(--ink); }
.qz-bar-cpa span { display: block; font-size: 11.5px; color: var(--mute); line-height: 1.4; max-width: 230px; }
.qz-bar-cpa a { font-size: 12px; color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.qz-progress { background: #fff; border-bottom: 1px solid var(--line); padding: 11px 0; position: sticky; top: 0; z-index: 5; }
.qz-progress-row { display: flex; justify-content: space-between; font-size: 12px; margin-bottom: 7px; }
.qz-progress-row span:first-child { font-weight: 600; color: var(--ink); }
.qz-progress-row span:last-child { color: var(--mute); font-weight: 500; }
.qz-track { height: 5px; background: #E9E3D9; border-radius: 999px; position: relative; }
.qz-fill { height: 100%; background: var(--ink); border-radius: 999px; min-width: 12px; position: relative; transition: width .4s ease; }
.qz-fill i { position: absolute; right: -5px; top: 50%; transform: translateY(-50%); width: 11px; height: 11px; background: var(--gold); border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 2px var(--gold); }

/* page grid */
.qz-page { padding: 36px 0 72px; animation: qzIn .28s ease; }
.qz-grid { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 44px; align-items: start; }
.qz-page-wide .qz-grid { grid-template-columns: minmax(0, 1fr) 260px; }
.qz-topline { display: flex; align-items: center; gap: 22px; margin-bottom: 28px; min-height: 28px; }
.qz-back { background: none; border: 0; padding: 0; font: inherit; font-size: 15px; font-weight: 500; color: rgba(15, 32, 68, .7); cursor: pointer; }
.qz-back:hover { color: var(--ink); }
.qz-tag { display: inline-block; background: rgba(15, 32, 68, .08); color: var(--ink); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 6px; }
.qz-banner { display: inline-flex; align-items: center; gap: 8px; background: var(--gold-soft); border: 1px solid rgba(201, 166, 83, .35); color: var(--ink); border-radius: 9px; padding: 9px 14px; font-size: 13px; font-weight: 500; margin-bottom: 16px; }
.qz-title { font-family: "Source Serif 4", Georgia, serif; font-weight: 550; font-size: clamp(26px, 3vw, 32px); line-height: 1.22; color: var(--ink); margin: 0 0 8px; letter-spacing: -.01em; outline: none; }
.qz-hint { font-size: 14.5px; color: var(--mute); line-height: 1.6; margin: 0 0 24px; max-width: 580px; }
.qz-hint-sm { margin-bottom: 14px; }
.qz-label { font-size: 14px; font-weight: 600; color: var(--ink); margin: 26px 0 8px; }
.qz-fine { font-size: 11.5px; color: var(--mute); margin: -6px 0 14px; }

/* options */
.qz-opts { display: grid; grid-template-columns: 1fr; gap: 10px; max-width: 620px; }
.qz-opts.qz-cols-2 { grid-template-columns: 1fr 1fr; }
.qz-opt { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 15px 18px; font: inherit; font-size: 15px; font-weight: 500; color: var(--ink); cursor: pointer; transition: transform .15s, box-shadow .15s, border-color .15s, background .15s; }
.qz-opt:hover { border-color: var(--ink); transform: translateY(-1px); box-shadow: 0 6px 16px -10px rgba(15, 32, 68, .35); }
.qz-opt.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.qz-opt-icon { font-size: 17px; width: 22px; text-align: center; flex-shrink: 0; }
.qz-opt-body { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.qz-opt-sub { font-size: 12.5px; font-weight: 400; color: var(--mute); line-height: 1.4; }
.qz-opt.is-on .qz-opt-sub { color: rgba(255, 255, 255, .72); }
.qz-opt-box { width: 18px; height: 18px; border: 1.5px solid var(--line); border-radius: 4px; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; flex-shrink: 0; color: var(--ink); }
.qz-opt.is-on .qz-opt-box { background: #fff; border-color: #fff; }

/* stepper */
.qz-stepper { margin-top: 22px; }
.qz-stepper-row { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.qz-step { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; font: inherit; font-size: 22px; color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background .15s, color .15s, border-color .15s; }
.qz-step:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.qz-step-val { font-family: "Source Serif 4", Georgia, serif; font-size: 52px; font-weight: 550; color: var(--ink); width: 84px; text-align: center; background: transparent; border: 0; outline: none; -moz-appearance: textfield; appearance: textfield; }
.qz-step-val::-webkit-outer-spin-button, .qz-step-val::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* buttons */
.qz-cont { margin-top: 22px; }
.qz-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--ink); color: #fff; border: 0; border-radius: 999px; padding: 14px 28px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; text-decoration: none; transition: background .15s, opacity .15s; }
.qz-btn:hover { background: #1a3560; }
.qz-btn:disabled { opacity: .35; cursor: not-allowed; }
.qz-btn-full { width: 100%; }
.qz-btn-gold { background: var(--gold); color: var(--ink); }
.qz-btn-gold:hover { background: #d8b866; }
.qz-btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.qz-btn-ghost:hover { background: #fff; border-color: var(--ink); }
.qz-link { background: none; border: 0; padding: 0; font: inherit; font-size: 13px; color: var(--mute); cursor: pointer; margin-top: 16px; }
.qz-link:hover { color: var(--ink); }

/* capture form */
.qz-form { max-width: 620px; }
.qz-field { display: block; margin-bottom: 14px; }
.qz-field span { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.qz-field span em { font-style: normal; font-weight: 400; color: var(--mute); }
.qz-field input { width: 100%; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; font-size: 15px; color: var(--ink); background: #fff; }
.qz-field input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(15, 32, 68, .08); }
.qz-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 12.5px; color: var(--mute); line-height: 1.5; margin: 6px 0 20px; cursor: pointer; }
.qz-consent input { margin-top: 2px; width: 16px; height: 16px; accent-color: var(--ink); flex-shrink: 0; }

/* sidebar */
.qz-side { position: sticky; top: 72px; }
.qz-side-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; margin-bottom: 12px; }
.qz-side-title { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); margin-bottom: 12px; }
.qz-side-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.qz-side-card li { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: #3B4A63; line-height: 1.5; }
.qz-check { width: 17px; height: 17px; border-radius: 50%; background: rgba(46, 125, 82, .12); color: #2e7d52; font-size: 10px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.qz-q { width: 17px; height: 17px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-ink); font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.qz-quote-card { background: var(--tint); border-radius: 10px; padding: 14px; margin-top: 12px; }
.qz-stars { color: var(--gold); font-size: 11px; margin-bottom: 4px; }
.qz-quote-card p { font-size: 12px; font-style: italic; color: #3B4A63; line-height: 1.5; margin: 0 0 6px; }
.qz-quote-card span { font-size: 11px; font-weight: 600; color: var(--ink); }
.qz-side-help { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--mute); line-height: 1.4; }
.qz-side-help img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.qz-side-help a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.qz-side .qz-btn-full { margin-top: 14px; }

/* transition page */
.qz-transition { text-align: center; max-width: 520px; padding: 40px 24px 60px; }
.qz-transition .qz-back { display: block; text-align: left; margin-bottom: 24px; }
.qz-transition-icon { font-size: 48px; margin-bottom: 18px; }
.qz-transition .qz-hint { margin: 0 auto 28px; }

/* final page */
.qz-final-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.qz-final-check { width: 42px; height: 42px; border-radius: 50%; background: rgba(46, 125, 82, .12); color: #2e7d52; font-size: 20px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.qz-final-h { font-family: "Source Serif 4", Georgia, serif; font-weight: 550; font-size: 25px; color: var(--ink); margin: 0; outline: none; }
.qz-final-head p { font-size: 13px; color: var(--mute); margin: 2px 0 0; }
.qz-price-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 36px 24px 28px; text-align: center; margin-bottom: 18px; max-width: 600px; }
.qz-price-label { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); font-weight: 700; margin-bottom: 10px; }
.qz-price { font-family: "Source Serif 4", Georgia, serif; font-size: clamp(52px, 7vw, 68px); font-weight: 550; color: var(--gold-ink); line-height: 1; }
.qz-price sup { font-size: 26px; vertical-align: top; }
.qz-price-unit { font-size: 24px; color: var(--mute); }
.qz-price-meta { font-size: 13px; color: var(--mute); margin-top: 10px; }
.qz-price-valid { font-size: 11.5px; color: var(--mute); margin-top: 6px; }
.qz-sent { background: rgba(46, 125, 82, .08); border: 1px solid rgba(46, 125, 82, .2); color: #2e7d52; border-radius: 10px; padding: 12px 16px; font-size: 13px; font-weight: 500; margin-bottom: 18px; max-width: 600px; }
.qz-included { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px; margin-bottom: 14px; max-width: 600px; }
.qz-included-title { font-size: 12.5px; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.qz-cat { font-size: 13px; font-weight: 600; color: var(--ink); margin-top: 12px; }
.qz-inc { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: #3B4A63; line-height: 1.4; margin-top: 7px; }
.qz-note { display: flex; gap: 10px; align-items: flex-start; background: var(--gold-soft); border: 1px solid #F0D890; border-radius: 10px; padding: 14px; margin-bottom: 14px; max-width: 600px; font-size: 14px; }
.qz-note p { margin: 0; font-size: 13px; color: #7A5C00; line-height: 1.55; }
.qz-review { font-size: 13.5px; color: var(--ink); font-weight: 500; line-height: 1.6; margin: 16px 0; max-width: 540px; }
.qz-disclaimer { font-size: 12.5px; color: var(--mute); line-height: 1.55; margin: 0 0 20px; max-width: 540px; }
.qz-cpa-card { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; max-width: 540px; margin-bottom: 20px; }
.qz-cpa-card img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.qz-cpa-card strong { display: block; font-size: 14px; color: var(--ink); }
.qz-cpa-card em { display: block; font-style: normal; font-size: 12px; color: var(--gold-ink); font-weight: 600; margin-top: 2px; }
.qz-cpa-card span { display: block; font-size: 12.5px; color: var(--mute); line-height: 1.5; margin-top: 4px; }
.qz-final-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

@keyframes qzIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (max-width: 860px) {
  .qz-grid, .qz-page-wide .qz-grid { grid-template-columns: 1fr; gap: 28px; }
  .qz-side { position: static; }
  .qz-bar-cpa { display: none; }
  .qz-opts.qz-cols-2 { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .qz-wrap { padding: 0 16px; }
  .qz-page { padding: 24px 0 56px; }
  .qz-step-val { font-size: 42px; width: 70px; }
  .qz-final-ctas .qz-btn { width: 100%; }
}

/* collapsible full price list under the wizard */
details.qz-pricelist { border: 1px solid var(--line); border-radius: 16px; padding: 18px 24px; background: #fff; }
details.qz-pricelist summary { cursor: pointer; font-family: "Source Serif 4", Georgia, serif; font-weight: 550; font-size: 20px; color: var(--ink); list-style: none; display: flex; align-items: center; justify-content: space-between; }
details.qz-pricelist summary::-webkit-details-marker { display: none; }
details.qz-pricelist summary::after { content: "+"; font-size: 24px; color: var(--gold-ink); }
details.qz-pricelist[open] summary::after { content: "−"; }
