/* Get a Quote: a five-step wizard with big choice tiles and a progress bar */
.qt-hero { padding: 140px 0 30px; }
.qt-hero .wrap { display: grid; gap: 18px; }
.qt { padding: 20px 0 clamp(70px, 9vw, 120px); }
.wiz { max-width: 920px; padding: clamp(22px, 3.4vw, 44px); border-radius: 30px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 26px; }
.wiz__bar { height: 6px; border-radius: 6px; background: var(--bg-soft); overflow: hidden; }
.wiz__bar i { display: block; height: 100%; width: calc(var(--wp, .2) * 100%); background: var(--brand); border-radius: 6px; transition: width .6s var(--ease); }
.wiz__steps { list-style: none; margin: -12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); font-size: 12.5px; color: var(--muted); }
.wiz__steps li.is-on { color: var(--ink); font-weight: 500; }
.wiz__steps li.is-done { color: var(--green); }
.wiz__panel { display: none; margin: 0; padding: 0; border: 0; min-width: 0; }
.wiz__panel.is-on { display: grid; gap: 20px; animation: qt-in .45s var(--ease); }
@keyframes qt-in { from { opacity: 0; transform: translateX(20px); } }
.wiz__panel legend { display: flex; align-items: baseline; gap: 14px; padding: 0; margin-bottom: 4px; font-size: clamp(24px, 2.6vw, 34px); font-weight: 500; letter-spacing: -.02em; }
.wiz__panel legend span { font-size: 14px; color: var(--green); letter-spacing: .1em; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.tiles--sm { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.tile { position: relative; cursor: pointer; }
.tile input { position: absolute; opacity: 0; pointer-events: none; }
.tile span { display: grid; gap: 4px; min-height: 100%; padding: 18px; border-radius: 18px; border: 1.5px solid var(--line-2); font-size: 13px; color: var(--muted); transition: border-color .2s, background .2s, transform .25s var(--ease), color .2s; }
.tile b { font-size: 18px; font-weight: 500; color: var(--ink); }
.tile:hover span { border-color: var(--ink-2); transform: translateY(-2px); }
.tile input:checked + span { border-color: transparent; background: var(--navy); color: rgba(255, 255, 255, .8); }
.tile input:checked + span b { color: #fff; }
.tile input:checked + span::after { content: ""; position: absolute; right: 14px; top: 14px; width: 18px; height: 18px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%231e2a52' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 11px no-repeat; }
.tile input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.is-invalid .tile span { border-color: #d6453a; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--navy); }
.consent.is-invalid span { color: #d6453a; }
.wiz__nav { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 10px; border-top: 1px solid var(--line); }
.wiz__nav .btn { font-size: 15px; padding: 14px 26px; }
.wiz__nav [data-next], .wiz__nav [data-send] { margin-left: auto; }
.wiz__nav .form-note { flex-basis: 100%; }
.wiz__nav .btn[hidden] { display: none; }
.btn--ghost { background: #fff; color: var(--ink); border: 1px solid var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); }
@media (max-width: 560px) { .wiz__steps { font-size: 10.5px; } }
@media (prefers-reduced-motion: reduce) { .wiz__panel.is-on { animation: none; } }
