/* ---------- STEP-BY-STEP QUOTE FORM (quote-form.js) ---------- */
/* Sits on dark panels (hero .quote-panel and .contact-panel-side), so colors are light-on-dark */
.qw { --qw-accent: #2AA7E0; --qw-accent-hi: #48B8E6; --qw-on-accent: #04212F; --qw-soft: #A9C2CE; --qw-faint: #8CA1AC; --qw-bad: #FF9E9E;
  color: #FFFFFF; font-family: 'Work Sans', system-ui, sans-serif; text-align: left; position: relative; }
.qw *, .qw *::before, .qw *::after { box-sizing: border-box; }
.qw button { font-family: inherit; line-height: 1.3; }
.qw [hidden] { display: none !important; }

.qw-prog { margin: 0 0 18px; }
.qw-prog-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 8px; }
.qw-prog-row .qw-of { color: var(--qw-faint); font-variant-numeric: tabular-nums; white-space: nowrap; }
.qw-segs { display: flex; gap: 4px; }
.qw-segs i { flex: 1; height: 4px; border-radius: 999px; background: rgba(255,255,255,0.14); transition: background .3s; }
.qw-segs i.on { background: var(--qw-accent); }

.qw-stage { min-height: 280px; }
.qw-step { animation: qw-in .28s cubic-bezier(.2,.7,.3,1) both; }
@keyframes qw-in { from { opacity: .001; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.qw .qw-q { font-family: 'Fredoka', 'Work Sans', sans-serif; font-weight: 500; font-size: 22px; line-height: 1.15; margin: 0 0 4px; color: #FFFFFF; text-transform: none; letter-spacing: 0; }
.qw .qw-hint { font-size: 14px; color: var(--qw-soft); margin: 0 0 16px; }

.qw-tiles { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
.qw-tile { appearance: none; color: #FFFFFF; text-align: left; cursor: pointer; position: relative; display: flex; flex-direction: column; gap: 6px;
  background: rgba(255,255,255,0.05); border: 1.5px solid rgba(255,255,255,0.12); border-radius: 14px; padding: 11px 12px 12px; transition: border-color .15s, background .15s, transform .1s; }
.qw-tile:hover { border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.08); }
.qw-tile:active { transform: scale(.98); }
.qw-tile .qw-head { display: flex; align-items: center; gap: 10px; padding-right: 20px; }
.qw-ic { flex: none; width: 32px; height: 32px; border-radius: 9px; background: rgba(42,167,224,0.16); color: var(--qw-accent); display: grid; place-items: center; transition: background .15s, color .15s; }
.qw-ic svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.qw-tile .qw-t { font-weight: 600; font-size: 14.5px; line-height: 1.2; }
.qw-tile .qw-s { font-size: 12px; color: var(--qw-soft); line-height: 1.35; }
.qw-tile[aria-pressed="true"] { border-color: var(--qw-accent); background: rgba(42,167,224,0.14); }
.qw-tile[aria-pressed="true"] .qw-ic { background: var(--qw-accent); color: var(--qw-on-accent); }
.qw-tick { position: absolute; top: 10px; right: 10px; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.25); display: grid; place-items: center; transition: background .15s, border-color .15s; }
.qw-tick svg { width: 11px; height: 11px; fill: none; stroke: var(--qw-on-accent); stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.qw [aria-pressed="true"] > .qw-tick { background: var(--qw-accent); border-color: var(--qw-accent); }
.qw [aria-pressed="true"] > .qw-tick svg { opacity: 1; }
.qw-tiles.two .qw-tile { padding: 16px 14px; }
.qw-tiles.two .qw-ic { width: 40px; height: 40px; border-radius: 11px; }
.qw-tiles.two .qw-ic svg { width: 22px; height: 22px; }
.qw-tiles.two .qw-head { flex-direction: column; align-items: flex-start; gap: 10px; }
@media (max-width: 400px) { .qw-tiles { grid-template-columns: minmax(0,1fr); } }

.qw-groups { display: grid; gap: 16px; }
.qw-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--qw-accent); margin-bottom: 6px; }
.qw-chip .qw-ic { width: 22px; height: 22px; border-radius: 6px; }
.qw-chip .qw-ic svg { width: 14px; height: 14px; }
.qw .qw-gl { font-size: 12.5px; font-weight: 700; letter-spacing: 0.02em; color: #D0DEE4; margin: 0 0 8px; }
.qw-pills { display: flex; flex-wrap: wrap; gap: 7px; }
.qw-pill { appearance: none; font-size: 13.5px; font-weight: 600; color: #C7D6DE; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.15); border-radius: 999px; padding: 8px 14px; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.qw-pill:hover { border-color: rgba(255,255,255,0.34); color: #FFFFFF; }
.qw-pill[aria-pressed="true"] { background: var(--qw-accent); color: var(--qw-on-accent); border-color: var(--qw-accent); }
.qw-pill[aria-pressed="true"]::before { content: "\2713  "; font-weight: 700; }

.qw-plans { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; padding-top: 8px; }
.qw-plan { appearance: none; color: #FFFFFF; text-align: left; cursor: pointer; position: relative; display: flex; flex-direction: column; gap: 2px;
  background: rgba(255,255,255,0.05); border: 1.5px solid rgba(255,255,255,0.12); border-radius: 14px; padding: 14px 14px 13px; transition: border-color .15s, background .15s, transform .1s; }
.qw-plan:hover { border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.08); }
.qw-plan:active { transform: scale(.98); }
.qw-plan .qw-when { font-size: 13px; font-weight: 600; color: var(--qw-soft); padding-right: 22px; }
.qw-plan .qw-off { font-family: 'Fredoka', 'Work Sans', sans-serif; font-weight: 600; font-size: 30px; line-height: 1.1; color: #FFFFFF; font-variant-numeric: tabular-nums; margin-top: 4px; }
.qw-plan .qw-off small { font-size: 15px; font-weight: 500; margin-left: 2px; }
.qw-plan .qw-off .qw-up { font-family: 'Work Sans', sans-serif; font-size: 12.5px; font-weight: 600; margin-right: 5px; color: var(--qw-soft); }
.qw-plan .qw-off.base { font-size: 18px; padding-block: 7px 6px; color: var(--qw-soft); font-weight: 500; }
.qw-plan .qw-per { font-size: 12px; color: var(--qw-faint); }
.qw-plan .qw-tick { top: 12px; right: 12px; }
.qw-plan[aria-pressed="true"] { border-color: var(--qw-accent); background: rgba(42,167,224,0.14); }
.qw-plan[aria-pressed="true"] .qw-when { color: #FFFFFF; }
.qw-plan[aria-pressed="true"] .qw-off { color: var(--qw-accent); }
.qw-ribbon { position: absolute; top: -9px; left: 12px; font-size: 9.5px; font-weight: 700; letter-spacing: 0.08em; background: var(--qw-accent); color: var(--qw-on-accent); padding: 3px 8px; border-radius: 999px; }
@media (max-width: 360px) { .qw-plans { grid-template-columns: minmax(0,1fr); } }

.qw-fields { display: grid; gap: 12px; }
.qw-row2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
@media (max-width: 420px) { .qw-row2 { grid-template-columns: minmax(0,1fr); } }
.qw-field label { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.02em; margin-bottom: 6px; color: #D0DEE4; }
.qw-field label .qw-opt { font-weight: 500; color: var(--qw-faint); }
.qw-field input { width: 100%; font: inherit; font-size: 16px; color: #FFFFFF; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14); border-radius: 10px; padding: 12px 13px; outline: none; }
.qw-field input::placeholder { color: var(--qw-faint); }
.qw-field input:focus { border-color: var(--qw-accent); box-shadow: 0 0 0 3px rgba(42,167,224,0.2); }
.qw-field input[aria-invalid="true"] { border-color: var(--qw-bad); }

.qw-err { min-height: 20px; font-size: 13px; color: var(--qw-bad); margin: 10px 0 4px; font-weight: 500; }
.qw-actions { display: flex; gap: 10px; align-items: center; }
.qw-back { appearance: none; flex: none; width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.25); background: none; color: #FFFFFF; cursor: pointer; display: grid; place-items: center; }
.qw-back:hover { border-color: rgba(255,255,255,0.55); }
.qw-back svg, .qw-go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.qw-go { appearance: none; flex: 1; height: 50px; border: 0; border-radius: 999px; background: var(--qw-accent); color: var(--qw-on-accent); font-weight: 700; font-size: 15.5px; letter-spacing: 0.02em; cursor: pointer; display: flex; justify-content: center; align-items: center; gap: 8px; transition: background .15s, transform .1s; }
.qw-go:hover { background: var(--qw-accent-hi); }
.qw-go:active { transform: scale(.985); }
.qw-go:disabled { opacity: .7; cursor: wait; }
.qw .qw-note { font-size: 11.5px; color: #9FB3BD; text-align: center; margin: 12px 0 0; }
.qw .qw-consent { font-size: 11px; color: #9FB3BD; margin: 10px 0 0; line-height: 1.45; }
.qw .qw-consent a { color: inherit; text-decoration: underline; }
.qw-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.qw-done { text-align: center; padding-top: 4px; }
.qw-done-ic { width: 60px; height: 60px; border-radius: 50%; background: var(--qw-accent); color: var(--qw-on-accent); display: grid; place-items: center; margin: 0 auto 12px; box-shadow: 0 0 0 10px rgba(42,167,224,0.16); }
.qw-done-ic svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.qw-summary { text-align: left; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 14px; padding: 4px 16px; margin: 18px 0 0; font-size: 13.5px; }
.qw-summary div { display: grid; grid-template-columns: 92px minmax(0,1fr); gap: 10px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.qw-summary div:last-child { border: 0; }
.qw-summary dt { color: var(--qw-soft); }
.qw-summary dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.qw .qw-call { font-size: 14px; color: var(--qw-soft); margin: 16px 0 0; }
.qw .qw-call a { color: #FFFFFF; font-weight: 700; text-decoration: none; }
.qw-again { appearance: none; background: none; border: 0; color: var(--qw-accent); font-weight: 700; font-size: 14px; cursor: pointer; margin-top: 10px; padding: 6px; }

.qw button:focus-visible { outline: 2px solid var(--qw-accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .qw-step, .qw-segs i { animation: none; transition: none; } }
