/* Valuation wizard (NEX-1707, v2 layout). Everything is scoped under .vw-wizard. Mobile first. */
.vw-wizard, .vw-wizard * { box-sizing: border-box; }
.vw-wizard {
    --vw-mint: #B3E4CD;
    --vw-mint-soft: #EAF6F0;
    --vw-green: #266447;
    --vw-green-dark: #1b4a34;
    --vw-text: #1d2b24;
    --vw-muted: #4a5a52;
    --vw-line: #cfdcd5;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    color: var(--vw-text);
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 16px 56px;
}
.vw-wizard h2, .vw-wizard h3, .vw-wizard legend, .vw-wizard .vw-mid {
    font-family: 'Cinzel', Georgia, 'Times New Roman', serif;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--vw-green);
}
.vw-wizard [hidden] { display: none !important; }
.vw-wizard a { color: var(--vw-green); text-decoration: underline; }

/* hero */
.vw-wizard .vw-hero { background: var(--vw-mint-soft); border-radius: 14px; padding: 24px 20px; margin: 0 0 30px; }
.vw-wizard .vw-eyebrow {
    display: inline-block; margin: 0 0 10px; padding: 4px 12px; border-radius: 999px;
    background: var(--vw-green); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
.vw-wizard .vw-title { font-size: 26px; line-height: 1.2; margin: 0 0 8px; }
.vw-wizard .vw-intro { margin: 0 0 14px; max-width: 60ch; }
.vw-wizard .vw-usps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.vw-wizard .vw-usps li {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; background: #fff; border: 1px solid var(--vw-mint);
    border-radius: 999px; font-size: 14px; font-weight: 500; margin: 0;
}
.vw-wizard .vw-usps li::before {
    content: ""; flex: 0 0 14px; width: 14px; height: 14px; border-radius: 50%; background: var(--vw-green);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.vw-wizard .vw-noscript { background: #fff3cd; padding: 12px 16px; border-left: 4px solid var(--vw-green); }

/* card */
.vw-wizard .vw-card { background: #fff; border: 1px solid var(--vw-line); border-radius: 14px; padding: 20px 16px 24px; box-shadow: 0 6px 24px rgba(38, 100, 71, .08); }

/* progress + stepper */
.vw-wizard .vw-progress { margin: 0 0 22px; }
.vw-wizard .vw-progress-label { margin: 0 0 8px; font-weight: 600; font-size: 14px; color: var(--vw-muted); text-transform: uppercase; letter-spacing: .05em; }
.vw-wizard .vw-bar { height: 10px; background: #e6ece9; border-radius: 999px; overflow: hidden; }
.vw-wizard .vw-bar-fill { display: block; height: 100%; background: var(--vw-green); border-radius: 999px; transition: width .3s ease; }
.vw-wizard .vw-steps { margin-top: 14px; }
.vw-wizard .vw-steps ol { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; gap: 4px; }
.vw-wizard .vw-steps li { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 0; padding: 0; text-align: center; font-size: 12px; color: var(--vw-muted); }
.vw-wizard .vw-step-num {
    width: 30px; height: 30px; line-height: 26px; text-align: center; border-radius: 50%;
    border: 2px solid var(--vw-line); background: #fff; color: var(--vw-muted); font-weight: 600; font-size: 14px;
}
.vw-wizard .vw-step-name { display: none; }
.vw-wizard .vw-steps li.is-current { color: var(--vw-green); font-weight: 600; }
.vw-wizard .vw-steps li.is-current .vw-step-name { display: block; }
.vw-wizard .vw-steps li.is-current .vw-step-num { border-color: var(--vw-green); background: #fff; color: var(--vw-green); }
.vw-wizard .vw-steps li.is-done .vw-step-num { background: var(--vw-green); border-color: var(--vw-green); color: #fff; }

/* form */
.vw-wizard fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.vw-wizard legend { font-size: 20px; line-height: 1.3; padding: 0; margin: 0 0 6px; width: 100%; }
.vw-wizard legend:focus { outline: none; }
.vw-wizard .vw-hint { margin: 0 0 18px; color: var(--vw-muted); font-size: 15px; }
.vw-wizard .vw-row { display: flex; gap: 0 16px; flex-wrap: wrap; }
.vw-wizard .vw-field { margin: 0 0 18px; flex: 1 1 200px; min-width: 0; }
.vw-wizard .vw-field.vw-narrow { flex: 0 1 180px; }
.vw-wizard .vw-field.vw-grow { flex: 2 1 260px; }
.vw-wizard .vw-field label { display: block; font-weight: 600; margin-bottom: 6px; }
.vw-wizard .vw-req { font-weight: 400; color: var(--vw-muted); }
.vw-wizard input[type=text], .vw-wizard input[type=email], .vw-wizard input[type=tel] {
    display: block; width: 100%; height: 50px; padding: 8px 14px; margin: 0;
    font: inherit; color: var(--vw-text); background: #fff;
    border: 1px solid #5d6f66; border-radius: 8px; box-shadow: none;
}
.vw-wizard input:focus-visible, .vw-wizard a:focus-visible, .vw-wizard button:focus-visible, .vw-wizard summary:focus-visible,
.vw-wizard legend:focus-visible, .vw-wizard h3:focus-visible {
    outline: 3px solid var(--vw-green); outline-offset: 2px;
}
.vw-wizard h3:focus, .vw-wizard legend:focus { outline: none; }

/* choices (radio): pills by default */
.vw-wizard .vw-choice-group { margin: 0 0 22px; }
.vw-wizard .vw-choice-group > legend { font-size: 16px; font-family: 'Montserrat', Arial, sans-serif; text-transform: none; letter-spacing: 0; font-weight: 600; color: var(--vw-text); margin-bottom: 8px; }
.vw-wizard .vw-choices { display: flex; flex-wrap: wrap; gap: 10px; }
.vw-wizard .vw-choice { position: relative; margin: 0; }
.vw-wizard .vw-choice input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; left: 0; top: 0; z-index: 1; }
.vw-wizard .vw-choice > span {
    display: block; min-width: 54px; min-height: 48px; padding: 11px 18px; text-align: center; font-weight: 500;
    background: #fff; color: var(--vw-green); border: 2px solid var(--vw-green); border-radius: 999px;
    transition: background .15s, color .15s, box-shadow .15s;
}
.vw-wizard .vw-choice:hover > span { background: var(--vw-mint-soft); }
.vw-wizard .vw-choice input:checked + span { background: var(--vw-green); color: #fff; }
.vw-wizard .vw-choice input:focus-visible + span { outline: 3px solid var(--vw-green); outline-offset: 3px; }
.vw-wizard .has-error .vw-choice > span { border-color: #9b1c1c; }

/* visual cards: property type + condition */
.vw-wizard .vw-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.vw-wizard .vw-cards .vw-choice > span {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
    height: 100%; min-height: 112px; padding: 14px 10px; border-radius: 12px; border: 2px solid var(--vw-line); color: var(--vw-text);
}
.vw-wizard .vw-cards .vw-choice:hover > span { border-color: var(--vw-green); background: var(--vw-mint-soft); }
.vw-wizard .vw-cards .vw-choice input:checked + span { background: var(--vw-mint-soft); border-color: var(--vw-green); box-shadow: inset 0 0 0 1px var(--vw-green); color: var(--vw-text); }
.vw-wizard .vw-cards .vw-choice input:checked + span .vw-icon { color: #fff; background: var(--vw-green); }
.vw-wizard .vw-icon { display: block; width: 60px; height: 60px; padding: 8px; border-radius: 50%; background: var(--vw-mint); color: var(--vw-green); transition: background .15s, color .15s; }
.vw-wizard .vw-card-label { font-weight: 600; font-size: 15px; text-align: center; }
.vw-wizard .vw-cards-condition { display: block; }
.vw-wizard .vw-cards-condition .vw-choices { display: grid; grid-template-columns: 1fr; gap: 10px; }
.vw-wizard .vw-cards-condition .vw-choice > span { align-items: flex-start; text-align: left; min-height: 0; padding: 12px 14px 12px 44px; position: relative; gap: 2px; }
.vw-wizard .vw-cards-condition .vw-choice > span::before {
    content: ""; position: absolute; left: 14px; top: 16px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--vw-green); background: #fff;
}
.vw-wizard .vw-cards-condition .vw-choice input:checked + span::before { background: var(--vw-green); box-shadow: inset 0 0 0 3px #fff; }
.vw-wizard .vw-desc { display: block; font-weight: 400; font-size: 13px; color: var(--vw-muted); line-height: 1.35; }

/* bedrooms: compact round chips */
.vw-wizard .vw-bedrooms .vw-choice > span { min-width: 52px; padding: 11px 14px; }

/* EPC scale */
.vw-wizard .vw-epc .vw-choices { gap: 8px; }
.vw-wizard .vw-epc .vw-choice > span { min-width: 52px; padding: 10px 12px; border-radius: 10px; border: 2px solid var(--vw-line); color: var(--vw-text); font-weight: 700; position: relative; padding-top: 16px; }
.vw-wizard .vw-epc .vw-choice > span::before { content: ""; position: absolute; left: 8px; right: 8px; top: 6px; height: 5px; border-radius: 3px; background: var(--epc, #999); }
.vw-wizard .vw-epc .vw-choice:nth-child(1) { --epc: #0f8a43; }
.vw-wizard .vw-epc .vw-choice:nth-child(2) { --epc: #3fa535; }
.vw-wizard .vw-epc .vw-choice:nth-child(3) { --epc: #8cbb3f; }
.vw-wizard .vw-epc .vw-choice:nth-child(4) { --epc: #d4c71f; }
.vw-wizard .vw-epc .vw-choice:nth-child(5) { --epc: #f2a900; }
.vw-wizard .vw-epc .vw-choice:nth-child(6) { --epc: #ee7d1a; }
.vw-wizard .vw-epc .vw-choice:nth-child(7) { --epc: #d9342b; }
.vw-wizard .vw-epc .vw-choice:hover > span { background: #fff; border-color: var(--vw-green); }
.vw-wizard .vw-epc .vw-choice input:checked + span { background: var(--vw-mint-soft); color: var(--vw-text); border-color: var(--vw-green); box-shadow: inset 0 0 0 1px var(--vw-green); }
.vw-wizard .vw-epc-hint { margin: -10px 0 8px; font-size: 14px; }

/* checkboxes */
.vw-wizard .vw-check { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; flex-basis: 100%; }
.vw-wizard .vw-check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--vw-green); }
.vw-wizard .vw-check label { font-weight: 400; margin: 0; }
.vw-wizard .vw-check .vw-error { grid-column: 2; }

/* errors */
.vw-wizard .vw-error { color: #9b1c1c; margin: 6px 0 0; font-size: 14px; font-weight: 500; }
.vw-wizard .has-error input[type=text], .vw-wizard .has-error input[type=email], .vw-wizard .has-error input[type=tel] { border: 2px solid #9b1c1c; }
.vw-wizard .vw-alert { background: #fdecea; color: #7a1616; border-left: 4px solid #9b1c1c; border-radius: 6px; padding: 10px 14px; margin: 0 0 16px; font-weight: 500; }
.vw-wizard .vw-note { background: var(--vw-mint-soft); border-left: 4px solid var(--vw-green); border-radius: 6px; padding: 12px 16px; margin: 0 0 18px; }

/* buttons */
.vw-wizard .vw-nav { display: flex; flex-direction: column-reverse; gap: 10px; margin-top: 10px; }
.vw-wizard .vw-btn {
    display: inline-block; cursor: pointer; font: inherit; font-weight: 600; text-decoration: none; text-align: center;
    padding: 14px 28px; border: 2px solid var(--vw-green); border-radius: 999px;
    background: var(--vw-green); color: #fff; text-transform: uppercase; letter-spacing: .04em; min-height: 50px;
}
.vw-wizard a.vw-btn { color: #fff; }
.vw-wizard .vw-btn:hover { background: var(--vw-green-dark); border-color: var(--vw-green-dark); color: #fff; }
.vw-wizard .vw-btn.vw-btn-secondary { background: #fff; color: var(--vw-green); }
.vw-wizard .vw-btn.vw-btn-secondary:hover { background: var(--vw-mint-soft); color: var(--vw-green); }
.vw-wizard .vw-btn[disabled] { opacity: .6; cursor: wait; }

/* result */
.vw-wizard .vw-result h3 { font-size: 20px; margin: 0 0 4px; }
.vw-wizard .vw-result-summary { margin: 0 0 16px; color: var(--vw-muted); }
.vw-wizard .vw-value-card { background: var(--vw-mint-soft); border: 1px solid var(--vw-mint); border-radius: 14px; padding: 20px 16px; text-align: center; }
.vw-wizard .vw-value-label { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--vw-muted); }
.vw-wizard .vw-mid { font-size: 38px; font-weight: 700; margin: 4px 0 18px; line-height: 1.15; letter-spacing: .02em; }
.vw-wizard .vw-range-bar { position: relative; height: 12px; background: var(--vw-mint); border-radius: 999px; margin: 0 8px 10px; }
.vw-wizard .vw-range-fill { position: absolute; left: 0; top: 0; bottom: 0; right: 0; background: var(--vw-green); border-radius: 999px; opacity: .85; }
.vw-wizard .vw-range-mid { position: absolute; top: -7px; width: 8px; height: 26px; margin-left: -4px; background: #fff; border: 3px solid var(--vw-green); border-radius: 4px; }
.vw-wizard .vw-range-ends { display: flex; justify-content: space-between; text-align: left; margin: 0 0 14px; }
.vw-wizard .vw-range-ends span { display: flex; flex-direction: column; font-size: 15px; }
.vw-wizard .vw-range-ends span:last-child { text-align: right; }
.vw-wizard .vw-range-ends span:nth-child(2) { text-align: center; }
.vw-wizard .vw-range-ends em { font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--vw-muted); }
.vw-wizard .vw-range-ends b { font-weight: 700; }
.vw-wizard .vw-confidence { margin: 0; }
.vw-wizard .vw-pill { display: inline-block; padding: 2px 12px; border-radius: 999px; background: var(--vw-green); color: #fff; font-weight: 600; font-size: 14px; }
.vw-wizard .vw-disclaimer { font-size: 14px; color: var(--vw-muted); margin: 14px 0 20px; }
.vw-wizard .vw-contact-title { font-family: 'Cinzel', Georgia, serif; text-transform: uppercase; color: var(--vw-green); font-size: 20px; margin: 0 0 8px; }
.vw-wizard .vw-mailed { font-size: 14px; margin: 0 0 18px; }
.vw-wizard .vw-next-box { background: #fff; border: 2px solid var(--vw-green); border-radius: 14px; padding: 16px; margin-top: 8px; }
.vw-wizard .vw-next-title { font-weight: 700; margin: 0 0 4px; }
.vw-wizard .vw-next-box p { margin: 0 0 12px; }
.vw-wizard .vw-next-box .vw-btn { width: 100%; }

/* how / trust / faq */
.vw-wizard .vw-how, .vw-wizard .vw-trust, .vw-wizard .vw-faq { margin-top: 30px; }
.vw-wizard .vw-how h3, .vw-wizard .vw-trust h3, .vw-wizard .vw-faq h3 { font-size: 20px; margin: 0 0 12px; }
.vw-wizard .vw-how-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 10px; }
.vw-wizard .vw-how-list li { display: grid; grid-template-columns: 36px 1fr; column-gap: 12px; align-items: start; background: var(--vw-mint-soft); border: 1px solid var(--vw-mint); border-radius: 12px; padding: 14px; margin: 0; }
.vw-wizard .vw-how-num { grid-row: 1 / span 2; width: 36px; height: 36px; line-height: 36px; text-align: center; border-radius: 50%; background: var(--vw-green); color: #fff; font-weight: 700; }
.vw-wizard .vw-how-list strong { display: block; }
.vw-wizard .vw-how-list li > span:last-child { font-size: 14px; color: var(--vw-muted); }
.vw-wizard .vw-trust { background: var(--vw-mint-soft); border-radius: 14px; padding: 20px 16px; }
.vw-wizard .vw-trust-lead { margin: 0 0 12px; max-width: 62ch; }
.vw-wizard .vw-trust-list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.vw-wizard .vw-trust-list li { margin: 0; padding-left: 28px; position: relative; font-weight: 500; }
.vw-wizard .vw-trust-list li::before {
    content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--vw-green);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.vw-wizard .vw-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0; }
.vw-wizard .vw-logos-label { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--vw-muted); }
.vw-wizard .vw-logos img { height: 40px; width: auto; background: #fff; padding: 4px 8px; border-radius: 6px; }
.vw-wizard .vw-faq details { border: 1px solid var(--vw-line); border-radius: 10px; margin: 0 0 8px; background: #fff; }
.vw-wizard .vw-faq summary { cursor: pointer; padding: 14px 44px 14px 16px; font-weight: 600; list-style: none; position: relative; }
.vw-wizard .vw-faq summary::-webkit-details-marker { display: none; }
.vw-wizard .vw-faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 22px; line-height: 1; color: var(--vw-green); }
.vw-wizard .vw-faq details[open] summary::after { content: "\2212"; }
.vw-wizard .vw-faq details p { margin: 0; padding: 0 16px 14px; color: var(--vw-muted); }

/* v3: wider layout (1200px), larger block spacing */
.vw-wizard .vw-row, .vw-wizard .vw-check { max-width: 900px; }

/* accessibility helpers */
.vw-wizard .vw-sr, .vw-wizard .vw-hp {
    position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
    clip: rect(0 0 0 0); clip-path: inset(50%); border: 0; white-space: nowrap;
}

@media (min-width: 600px) {
    .vw-wizard { padding: 32px 24px 72px; }
    .vw-wizard .vw-hero { padding: 36px 36px; margin-bottom: 44px; }
    .vw-wizard .vw-how, .vw-wizard .vw-trust, .vw-wizard .vw-faq { margin-top: 48px; }
    .vw-wizard .vw-title { font-size: 32px; }
    .vw-wizard .vw-card { padding: 28px 32px 32px; }
    .vw-wizard .vw-steps li .vw-step-name { display: block; }
    .vw-wizard .vw-steps li { font-size: 13px; }
    .vw-wizard .vw-cards-types { grid-template-columns: repeat(3, 1fr); }
    .vw-wizard .vw-cards-condition .vw-choices { grid-template-columns: 1fr 1fr; }
    .vw-wizard .vw-nav { flex-direction: row; justify-content: flex-end; }
    .vw-wizard .vw-btn { min-width: 160px; }
    .vw-wizard .vw-mid { font-size: 52px; }
    .vw-wizard .vw-range-ends span { font-size: 17px; }
    .vw-wizard .vw-value-card { padding: 28px 28px; }
    .vw-wizard .vw-next-box { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; }
    .vw-wizard .vw-next-box > * { flex: 1 1 100%; }
    .vw-wizard .vw-next-box .vw-btn { flex: 0 0 auto; width: auto; margin-top: 6px; }
    .vw-wizard .vw-how-list { grid-template-columns: repeat(3, 1fr); }
    .vw-wizard .vw-trust { padding: 28px 32px; }
}
@media (min-width: 900px) {
    .vw-wizard { max-width: 1200px; padding: 40px 0 88px; } /* blocks span the full 1200px template container */
    .vw-wizard .vw-hero { padding: 44px 48px; margin-bottom: 56px; }
    .vw-wizard .vw-how, .vw-wizard .vw-trust, .vw-wizard .vw-faq { margin-top: 56px; }
    .vw-wizard .vw-card { padding: 40px 48px 44px; }
    .vw-wizard .vw-title { font-size: 38px; }
    .vw-wizard .vw-how-list { gap: 20px; }
    .vw-wizard .vw-how-list li { padding: 20px; }
    .vw-wizard .vw-trust { display: grid; grid-template-columns: 1fr auto; column-gap: 48px; padding: 36px 48px; align-items: start; }
    .vw-wizard .vw-trust h3 { grid-column: 1 / -1; }
    .vw-wizard .vw-trust-lead, .vw-wizard .vw-trust-list { grid-column: 1; }
    .vw-wizard .vw-trust-list { margin-bottom: 0; }
    .vw-wizard .vw-trust .vw-logos { grid-column: 2; grid-row: 2 / span 2; flex-direction: column; align-items: flex-start; align-self: center; }
    .vw-wizard .vw-faq { display: grid; grid-template-columns: 1fr; gap: 10px; align-items: start; }
    .vw-wizard .vw-faq h3 { grid-column: 1 / -1; margin-bottom: 0; }
    .vw-wizard .vw-faq details { margin: 0; }
    .vw-wizard .vw-cards-types { grid-template-columns: repeat(6, 1fr); gap: 16px; }
    .vw-wizard .vw-cards { gap: 16px; }
    .vw-wizard .vw-cards .vw-choice > span { min-height: 150px; }
    .vw-wizard .vw-icon { width: 72px; height: 72px; padding: 10px; }
    .vw-wizard .vw-cards-condition .vw-choices { grid-template-columns: repeat(4, 1fr); gap: 16px; }
    .vw-wizard .vw-cards-condition .vw-choice > span { min-height: 120px; }
    .vw-wizard .vw-value-card, .vw-wizard .vw-next-box { max-width: 880px; margin-left: auto; margin-right: auto; }
    .vw-wizard .vw-next-box { margin-top: 24px; }
    .vw-wizard .vw-result > h3, .vw-wizard .vw-result-summary, .vw-wizard .vw-disclaimer, .vw-wizard .vw-mailed { max-width: 880px; margin-left: auto; margin-right: auto; }
    .vw-wizard .vw-result > h3 { text-align: center; }
}
@media (max-width: 599px) {
    .vw-wizard .vw-steps li:not(.is-current) .vw-step-name { display: none; }
    .vw-wizard .vw-field.vw-narrow, .vw-wizard .vw-field.vw-grow { flex: 1 1 100%; }
    .vw-wizard .vw-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .vw-wizard .vw-bar-fill, .vw-wizard .vw-choice > span, .vw-wizard .vw-icon { transition: none; }
}

/* ==========================================================================
   v4 (NEX-1707 design review). Later rules deliberately override the v2/v3 rules above.
   ========================================================================== */
.vw-wizard { --vw-ui: #659186; /* site heading colour, 3.53:1 on white: unselected UI border (WCAG 1.4.11) */ }
.vw-wizard h1 { font-family: 'Cinzel', Georgia, 'Times New Roman', serif; text-transform: uppercase; letter-spacing: .04em; color: var(--vw-green); font-weight: 700; }

/* template leaks (template.css p{padding-bottom:14px}, #content-row p{line-height:21px}, responsive.css h1,h2{padding:0 10px}, bootstrap legend rule) */
#content-row #vw-wizard p { padding-bottom: 0; line-height: 1.55; }
#content-row #vw-wizard .vw-mid { line-height: 1.1; }
#content-row #vw-wizard .vw-title { padding: 0; }
#vw-wizard legend { border: 0; line-height: 1.25; }

/* compact hero: first field above the fold */
.vw-wizard .vw-hero { padding: 16px 18px; margin: 0 0 20px; }
.vw-wizard .vw-title { font-size: 20px; letter-spacing: .02em; line-height: 1.2; margin: 0 0 6px; }
.vw-wizard .vw-intro { font-size: 14px; margin: 0; max-width: 60ch; }
.vw-wizard .vw-usps { display: none; }
.vw-wizard:not([data-step="1"]) .vw-hero > :not(.vw-title) { display: none; }
.vw-wizard:not([data-step="1"]) .vw-hero { padding: 12px 20px; }
.vw-wizard:not([data-step="1"]) .vw-title { font-size: 18px; margin: 0; }
/* result: no hero and no "zo werkt het"; the h1 stays available to assistive tech */
.vw-wizard[data-state="result"] .vw-hero {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); border: 0; white-space: nowrap;
}
.vw-wizard[data-state="result"] .vw-how { display: none; }

/* progress: bar on mobile, stepper with connector line on desktop */
.vw-wizard .vw-bar { height: 8px; }
.vw-wizard .vw-steps { display: none; }
.vw-wizard .vw-progress { margin-bottom: 20px; }

/* step title + hint */
.vw-wizard .vw-step > legend { font-size: 22px; margin-bottom: 6px; }
.vw-wizard .vw-hint { font-size: 15px; margin: 0 0 20px; }
.vw-wizard .vw-choice-group > legend { font-size: 16px; margin-bottom: 10px; }
.vw-wizard .vw-epc-hint { margin: 4px 0 8px; font-size: 14px; }

/* fields (required is announced via the required attribute; only optional fields carry a visible marker) */
.vw-wizard .vw-field { margin-bottom: 20px; }
.vw-wizard .vw-field label { font-size: 15px; }
.vw-wizard input[type=text], .vw-wizard input[type=email], .vw-wizard input[type=tel] { height: 52px; }
.vw-wizard .vw-error { display: flex; gap: 6px; align-items: flex-start; margin: 6px 0 0; }
.vw-wizard .vw-error[hidden] { display: none; }
.vw-wizard .vw-error::before {
    content: "!"; flex: 0 0 18px; height: 18px; margin-top: 2px; border-radius: 50%;
    background: #9b1c1c; color: #fff; font-weight: 700; font-size: 12px; line-height: 18px; text-align: center;
}
.vw-wizard .vw-check { grid-template-columns: 28px 1fr; gap: 12px; }
.vw-wizard .vw-check input { width: 24px; height: 24px; margin: 10px 0 0; }
.vw-wizard .vw-check label { display: block; padding: 10px 0; min-height: 44px; }

/* cards, pills, EPC: 3:1 unselected border + a check badge so selection is not colour only */
.vw-wizard .vw-cards .vw-choice > span { position: relative; border-color: var(--vw-ui); }
.vw-wizard .vw-bedrooms .vw-choice > span { border-color: var(--vw-ui); }
.vw-wizard .vw-epc .vw-choice > span { border-color: var(--vw-ui); }
.vw-wizard .vw-bedrooms .vw-choice input:checked + span { border-color: var(--vw-green); }
.vw-wizard .vw-cards .vw-choice:hover > span, .vw-wizard .vw-epc .vw-choice:hover > span, .vw-wizard .vw-bedrooms .vw-choice:hover > span { border-color: var(--vw-green); }
.vw-wizard .vw-cards .vw-choice input:checked + span, .vw-wizard .vw-epc .vw-choice input:checked + span { border-color: var(--vw-green); }
.vw-wizard .vw-cards-types .vw-choice input:checked + span::after {
    content: ""; position: absolute; top: 8px; right: 8px; width: 22px; height: 22px; border-radius: 50%; background: var(--vw-green)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3L12.5 5' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.vw-wizard .vw-cards-condition .vw-choice > span { justify-content: flex-start; }
.vw-wizard .vw-cards-condition .vw-choice > span::before { border-color: var(--vw-ui); }
.vw-wizard .vw-cards-condition .vw-choice input:checked + span::before { border-color: var(--vw-green); }
.vw-wizard .vw-desc { font-size: 14px; }

/* navigation: Volgende is the one filled button, Vorige a quiet text link; sticky action bar on mobile */
.vw-wizard .vw-nav {
    display: flex; flex-direction: row; justify-content: space-between; align-items: center; gap: 12px;
    position: sticky; bottom: 0; z-index: 5; background: #fff; margin: 12px -16px -24px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--vw-line);
    border-radius: 0 0 14px 14px; box-shadow: 0 -8px 16px rgba(29, 43, 36, .06);
}
.vw-wizard #vw-next { margin-left: auto; flex: 1 1 auto; width: auto; }
.vw-wizard #vw-prev {
    flex: 0 0 auto; width: auto; min-width: 0; padding: 12px 8px; border-color: transparent; background: transparent; color: var(--vw-green);
    text-transform: none; letter-spacing: 0; font-weight: 500; text-decoration: underline; text-underline-offset: 4px;
}
.vw-wizard #vw-prev:hover { background: var(--vw-mint-soft); border-color: transparent; color: var(--vw-green); }
.vw-wizard #vw-prev[hidden] { display: none; }

/* result */
.vw-wizard .vw-result h3 { text-align: left; }
.vw-wizard .vw-mid { font-size: 40px; margin: 6px 0 22px; }
.vw-wizard .vw-next-title { font-size: 18px; }

@media (min-width: 600px) {
    .vw-wizard .vw-bar { display: none; }
    .vw-wizard .vw-steps { display: block; margin-top: 0; }
    .vw-wizard .vw-steps li { position: relative; font-size: 13px; }
    .vw-wizard .vw-step-num { position: relative; z-index: 1; width: 32px; height: 32px; line-height: 28px; border-color: var(--vw-ui); }
    .vw-wizard .vw-steps li + li::before { content: ""; position: absolute; top: 15px; right: 50%; width: 100%; height: 2px; background: var(--vw-line); }
    .vw-wizard .vw-steps li.is-done::before, .vw-wizard .vw-steps li.is-current::before { background: var(--vw-green); }
    .vw-wizard .vw-steps li.is-current .vw-step-num, .vw-wizard .vw-steps li.is-done .vw-step-num { border-color: var(--vw-green); }
    .vw-wizard .vw-progress { margin-bottom: 28px; }
    .vw-wizard .vw-nav { position: static; margin: 24px 0 0; padding: 0; border: 0; box-shadow: none; background: none; border-radius: 0; }
    .vw-wizard #vw-next { flex: 0 0 auto; }
    .vw-wizard .vw-usps { display: flex; }
    .vw-wizard .vw-hero { padding: 22px 32px; margin-bottom: 24px; }
    .vw-wizard .vw-title { font-size: 30px; letter-spacing: .04em; }
    .vw-wizard .vw-intro { font-size: 15px; }
    .vw-wizard .vw-mid { font-size: 52px; }
    .vw-wizard:not([data-step="1"]) .vw-hero { padding: 14px 32px; }
    .vw-wizard:not([data-step="1"]) .vw-title { font-size: 20px; }
}
@media (min-width: 900px) {
    /* wizard card is as wide as the rest of the page (1200px); text fields are capped inside it */
    .vw-wizard .vw-hero { display: grid; grid-template-columns: 1fr auto; column-gap: 40px; align-items: center; padding: 26px 40px; margin-bottom: 32px; }
    .vw-wizard .vw-hero > .vw-title, .vw-wizard .vw-hero > .vw-intro { grid-column: 1; }
    .vw-wizard .vw-hero > .vw-usps { grid-column: 2; grid-row: 1 / span 2; flex-direction: column; align-items: flex-start; }
    .vw-wizard:not([data-step="1"]) .vw-hero { display: block; padding: 14px 40px; }
    .vw-wizard .vw-title { font-size: 34px; }
    .vw-wizard:not([data-step="1"]) .vw-title { font-size: 20px; }
    .vw-wizard .vw-card { max-width: none; padding: 40px 48px 44px; }
    .vw-wizard .vw-row, .vw-wizard .vw-check { max-width: 900px; }
    .vw-wizard .vw-step > legend { font-size: 28px; }
    .vw-wizard .vw-hint { font-size: 16px; margin-bottom: 28px; }
    .vw-wizard .vw-cards-types { grid-template-columns: repeat(6, 1fr); gap: 16px; }
    .vw-wizard .vw-cards-condition .vw-choices { grid-template-columns: repeat(4, 1fr); gap: 16px; }
    .vw-wizard .vw-value-card, .vw-wizard .vw-next-box { max-width: 880px; margin-left: auto; margin-right: auto; }
    .vw-wizard .vw-cards-condition .vw-choice > span { min-height: 0; }
}

/* NEX-1707 design 2026-11-04: lower section like reference (steps cards, coloured text band, FAQ accordion) */
.vw-wizard .vw-how { margin: 48px 0 0; text-align: center; }
.vw-wizard .vw-how h3 { font-size: 1.6em; margin: 0 0 24px; }
.vw-wizard .vw-how-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.vw-wizard .vw-how-list li { background: #fff; border: 1px solid var(--vw-line); border-radius: 14px; padding: 28px 24px 24px; display: flex; flex-direction: column; align-items: flex-start; text-align: left; gap: 8px; box-shadow: 0 2px 10px rgba(38,100,71,.06); }
.vw-wizard .vw-how-num { width: 48px; height: 48px; border-radius: 50%; background: var(--vw-green); color: #fff; font-weight: 700; font-size: 1.25em; display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.vw-wizard .vw-how-list strong { color: var(--vw-green); font-size: 1.05em; }
.vw-wizard .vw-how-list span:not(.vw-how-num) { color: var(--vw-muted); }
.vw-wizard .vw-trust { margin: 48px 0 0; background: var(--vw-green); color: #fff; border-radius: 14px; padding: 40px 32px; text-align: center; }
.vw-wizard .vw-trust h3 { color: #fff; margin: 0 0 12px; }
.vw-wizard .vw-trust-lead { max-width: 640px; margin: 0 auto 18px; font-size: 1.08em; line-height: 1.6; }
.vw-wizard .vw-trust-list { list-style: none; padding: 0; margin: 0 auto !important; display: flex !important; flex-direction: column; align-items: flex-start; gap: 10px; width: fit-content; max-width: 100%; text-align: left; }
.vw-wizard .vw-trust-list li::before { filter: brightness(0) invert(1); }
.vw-wizard .vw-trust a { color: #fff; }
.vw-wizard .vw-trust .vw-logos { display: none !important; }
.vw-wizard .vw-trust { display: block !important; grid-template-columns: none !important; }
.vw-wizard .vw-trust h3, .vw-wizard .vw-trust-lead { text-align: center !important; display: block; float: none; margin-left: auto; margin-right: auto; }
.vw-wizard .vw-trust > * { max-width: 760px; margin-left: auto; margin-right: auto; }
.vw-wizard .vw-trust-list { margin-bottom: 0; }
.vw-wizard .vw-faq { margin: 48px auto 0; max-width: 760px; display: block !important; gap: 0 !important; }
.vw-wizard .vw-faq h3 { text-align: center; font-size: 1.6em; margin: 0 0 20px; }
.vw-wizard .vw-faq details { border: 1px solid var(--vw-line); border-top: 0; border-radius: 0; margin: 0 !important; background: #fff; }
.vw-wizard .vw-faq details:first-of-type { border-top: 1px solid var(--vw-line); border-radius: 14px 14px 0 0; }
.vw-wizard .vw-faq details:last-of-type { border-radius: 0 0 14px 14px; }
.vw-wizard .vw-faq summary { list-style: none; cursor: pointer; padding: 16px 48px 16px 18px; font-weight: 600; color: var(--vw-green); position: relative; }
.vw-wizard .vw-faq summary::-webkit-details-marker { display: none; }
.vw-wizard .vw-faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.1em; line-height: 1; color: var(--vw-muted); }
.vw-wizard .vw-faq details[open] summary::after { content: "\2212"; }
.vw-wizard .vw-faq details p { margin: 0; padding: 0 48px 20px 18px !important; color: var(--vw-muted); line-height: 1.6; }
@media (max-width: 720px) {
  .vw-wizard .vw-how-list { grid-template-columns: 1fr; }
  .vw-wizard .vw-trust { padding: 28px 18px; }
}

.vw-wizard .vw-trust-list li { max-width: 100%; white-space: normal; overflow-wrap: break-word; }

/* NEX-1707 design2 2026-11-04: green band = one flowing centred paragraph */
.vw-wizard .vw-trust .vw-trust-text { max-width: 760px; margin: 0 auto !important; text-align: center; font-size: 1.25em; line-height: 1.65; color: #fff; }
@media (max-width: 720px) { .vw-wizard .vw-trust .vw-trust-text { font-size: 1.1em; } }

/* NEX-1707 design2b: brand colour #659186, full-bleed band, nicer form */
.vw-wizard { --vw-green: #659186; --vw-green-dark: #4e7468; --vw-mint: #c9dcd6; --vw-mint-soft: #eef4f2; --vw-line: #d6e1dd; }
.vw-wizard .vw-how-list li { box-shadow: 0 2px 10px rgba(101,145,134,.08); }
/* full-bleed without overflow: paint the band colour sideways via box-shadow, clip vertically */
.vw-wizard .vw-trust { border-radius: 0 !important; padding: 56px 24px !important; box-shadow: 0 0 0 100vmax var(--vw-green); clip-path: inset(0 -100vmax); }
.vw-wizard .vw-trust .vw-trust-text { font-size: 1.5em; line-height: 1.6; }
@media (max-width: 720px) { .vw-wizard .vw-trust { padding: 40px 20px !important; } .vw-wizard .vw-trust .vw-trust-text { font-size: 1.2em; } }
/* form */
.vw-wizard .vw-card { border: 0; border-radius: 18px; padding: 28px 20px 28px; box-shadow: 0 10px 40px rgba(40,60,55,.10), 0 1px 3px rgba(40,60,55,.06); }
@media (min-width: 721px) { .vw-wizard .vw-card { padding: 40px 48px 40px; } }
.vw-wizard .vw-progress { margin-bottom: 30px; }
.vw-wizard .vw-bar { height: 6px; background: var(--vw-mint-soft); }
.vw-wizard .vw-step-num { border-width: 2px; transition: background .2s, border-color .2s; }
.vw-wizard legend { font-size: 22px; margin-bottom: 8px; }
.vw-wizard .vw-hint { margin-bottom: 24px; }
.vw-wizard .vw-field label { font-size: 15px; color: var(--vw-text); }
.vw-wizard input[type=text], .vw-wizard input[type=email], .vw-wizard input[type=tel], .vw-wizard select {
  height: 52px; border: 1px solid #b9c8c3; border-radius: 10px; background: #fbfcfc; transition: border-color .15s, box-shadow .15s, background .15s; }
.vw-wizard input[type=text]:hover, .vw-wizard input[type=email]:hover, .vw-wizard input[type=tel]:hover, .vw-wizard select:hover { border-color: var(--vw-green); }
.vw-wizard input[type=text]:focus, .vw-wizard input[type=email]:focus, .vw-wizard input[type=tel]:focus, .vw-wizard select:focus {
  outline: none; border-color: var(--vw-green); background: #fff; box-shadow: 0 0 0 4px rgba(101,145,134,.22); }
.vw-wizard .vw-choice > span { border-width: 1.5px; box-shadow: 0 1px 2px rgba(40,60,55,.05); }
.vw-wizard .vw-cards .vw-choice > span { border-width: 1.5px; border-radius: 14px; }
.vw-wizard .vw-cards .vw-choice:hover > span { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(40,60,55,.10); }
.vw-wizard .vw-choice input:focus-visible + span { outline: none; box-shadow: 0 0 0 4px rgba(101,145,134,.35); }
.vw-wizard .vw-nav { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--vw-line); }
.vw-wizard .vw-btn { box-shadow: 0 4px 12px rgba(101,145,134,.30); transition: background .15s, box-shadow .15s, transform .15s; }
.vw-wizard .vw-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(101,145,134,.38); }
.vw-wizard .vw-btn.vw-btn-secondary { box-shadow: none; }
.vw-wizard .vw-btn:focus-visible { outline: 3px solid var(--vw-green-dark); outline-offset: 3px; }

/* NEX-1707 design3 2026-11-04: progress bar instead of numbered steps (JS already sets #vw-bar-fill width = step/5) */
.vw-wizard .vw-steps { display: none !important; }
.vw-wizard .vw-bar { display: block !important; height: 10px !important; background: var(--vw-mint-soft) !important; border-radius: 999px; overflow: hidden; box-shadow: inset 0 1px 2px rgba(40,60,55,.08); }
.vw-wizard .vw-bar-fill { background: var(--vw-green) !important; border-radius: 999px; min-width: 10px; }
.vw-wizard .vw-progress-label { color: var(--vw-green); margin-bottom: 10px; }
.vw-wizard .vw-progress { margin-bottom: 30px !important; }
.vw-wizard .vw-card { box-shadow: none !important; border: 1px solid #c9dcd6 !important; border-radius: 18px; }
.vw-wizard .vw-btn, .vw-wizard .vw-btn:hover { box-shadow: none !important; }
/* full-width field rows (was max-width:900px) */
.vw-wizard .vw-row, .vw-wizard .vw-check { max-width: none !important; }
.vw-wizard .vw-field.vw-narrow { flex: 0 0 180px; }
@media (max-width: 599px) { .vw-wizard .vw-field.vw-narrow { flex: 1 1 100%; } }

/* NEX-1707 design4 2026-11-04: full-bleed hero directly under the header (this page only) */
body.view-valuation_wizard #content-row { padding-top: 0 !important; margin-top: 0 !important; }
body.view-valuation_wizard #header-row { margin-bottom: 0 !important; padding-bottom: 0 !important; }
.vw-wizard { padding-top: 0 !important; }
.vw-wizard .vw-hero { border-radius: 0 !important; margin-top: 0 !important; box-shadow: 0 0 0 100vmax var(--vw-mint-soft); clip-path: inset(0 -100vmax); }
.vw-wizard .vw-hero { padding-top: 38px !important; padding-bottom: 38px !important; margin-bottom: 36px !important; }
@media (min-width: 721px) { .vw-wizard .vw-hero { padding-top: 60px !important; padding-bottom: 60px !important; margin-bottom: 40px !important; } }
