/* Home painting landing page. Relies on style.css for .container, .why-* and variables. */

.painting-page main { padding: 0; }

/* ── Hero + form ── */
.hp-hero { background: var(--dark); color: #fff; padding: 56px 0; }
.hp-hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
.hp-festive-tag { display: inline-block; margin: 0 0 16px; padding: 6px 14px; background: var(--accent); color: var(--dark); font-size: 13px; font-weight: 800; border-radius: 4px; }
.hp-title { font-size: 46px; line-height: 1.12; font-weight: 800; margin: 0 0 18px; }
.hp-accent { color: var(--accent); }
.hp-lead { font-size: 18px; line-height: 1.55; color: rgba(255, 255, 255, 0.8); margin: 0 0 22px; max-width: 560px; }
.hp-lead-dark { color: var(--text-muted); }
.hp-points { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 10px; }
.hp-points li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
.hp-points i { color: var(--accent); margin-top: 4px; }
.hp-points-dark { color: var(--text-primary); }
.hp-prices { display: flex; gap: 14px; flex-wrap: wrap; }
.hp-price { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 6px; padding: 14px 20px; min-width: 130px; display: flex; flex-direction: column; gap: 2px; }
.hp-price span { font-size: 13px; color: rgba(255, 255, 255, 0.7); }
.hp-price strong { font-size: 24px; color: var(--accent); font-weight: 800; }
.hp-price small { font-size: 12px; color: rgba(255, 255, 255, 0.6); }
.hp-fine { margin: 14px 0 0; font-size: 13px; color: rgba(255, 255, 255, 0.6); }

.hp-form-card { background: #fff; color: var(--text-primary); border-radius: 8px; padding: 28px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25); scroll-margin-top: 100px; }
.hp-form-title { font-size: 22px; font-weight: 800; margin: 0 0 4px; }
.hp-form-sub { margin: 0 0 18px; font-size: 14px; color: var(--text-muted-6); }
.hp-form { display: grid; gap: 14px; }
.hp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; }
.hp-field input { font: inherit; font-weight: 400; font-size: 15px; padding: 11px 12px; border: 1px solid var(--border-1); border-radius: 6px; background: var(--bg-page); width: 100%; }
.hp-field input:focus { outline: 2px solid var(--accent); background: #fff; }
.hp-err { color: #b91c1c; font-size: 12px; font-weight: 600; }
.hp-alert { margin: 0 0 12px; padding: 10px 12px; background: #fef2f2; color: #b91c1c; border-radius: 6px; font-size: 14px; }

.hp-choice { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.hp-choice legend { font-size: 13px; font-weight: 700; padding: 0; margin-bottom: 8px; float: left; width: 100%; }
.hp-choice label { cursor: pointer; }
.hp-choice input { position: absolute; opacity: 0; pointer-events: none; }
.hp-choice span { display: inline-block; padding: 10px 18px; border: 1px solid var(--border-1); border-radius: 6px; font-size: 14px; font-weight: 600; background: #fff; }
.hp-choice input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--dark); }
.hp-choice input:focus-visible + span { outline: 2px solid var(--dark); }

.hp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hp-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--text-muted); }
.hp-consent input { margin-top: 3px; }
.hp-consent a { color: var(--text-primary); text-decoration: underline; }

.hp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 6px; border: 0; font: inherit; font-size: 16px; font-weight: 700; text-decoration: none; cursor: pointer; }
.hp-btn-primary { background: var(--accent); color: var(--dark); width: 100%; }
.hp-btn-primary:hover { background: #ffd23f; }
.hp-btn-inline { width: auto; }
.hp-btn-dark { background: var(--dark); color: #fff; }
.hp-btn-dark:hover { background: #2b2b45; }
.hp-btn-ghost { border: 1px solid var(--dark); color: var(--dark); background: transparent; }
.hp-btn-ghost-dark { border: 1px solid var(--dark); color: var(--dark); background: transparent; }
.hp-whatsapp { text-align: center; font-size: 14px; font-weight: 600; color: var(--text-primary); text-decoration: none; }
.hp-whatsapp i { color: #16a34a; }
.hp-whatsapp:hover { text-decoration: underline; }

.hp-success { text-align: center; padding: 24px 8px; display: grid; gap: 12px; justify-items: center; }
.hp-success > i { font-size: 44px; color: #16a34a; }
.hp-success h2 { margin: 0; font-size: 22px; }
.hp-success p { margin: 0; color: var(--text-muted); }

/* ── Sections ── */
.hp-section { padding: 56px 0; background: var(--bg-page); }
.hp-section-white { background: #fff; }
.hp-section .why-title { margin-bottom: 12px; }
.hp-section-sub { text-align: center; color: var(--text-muted-6); margin: 0 auto 32px; max-width: 620px; }
.hp-section-white .why-card { background: var(--bg-page); }

.hp-packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hp-package { background: #fff; border-radius: 6px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.hp-package h3 { margin: 0; font-size: 22px; font-weight: 800; }
.hp-package-price { margin: 0; font-size: 32px; font-weight: 800; display: flex; flex-direction: column; line-height: 1.1; }
.hp-package-price span { font-size: 13px; font-weight: 500; color: var(--text-muted-6); margin-top: 4px; }
.hp-package ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; flex: 1; }
.hp-package li { font-size: 15px; color: var(--text-muted); padding-left: 22px; position: relative; }
.hp-package li::before { content: "\2713"; position: absolute; left: 0; color: #16a34a; font-weight: 800; }

.hp-steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.hp-step { background: #fff; border-radius: 6px; padding: 26px 22px; position: relative; }
.hp-step-num { position: absolute; top: 16px; right: 18px; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--dark); font-size: 14px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.hp-step-icon { font-size: 26px; margin-bottom: 18px; display: block; }
.hp-step h3 { margin: 0 0 6px; font-size: 18px; font-weight: 700; }
.hp-step p { margin: 0; font-size: 14px; color: var(--text-muted); line-height: 1.5; }

.hp-offer { display: grid; grid-template-columns: 340px 1fr; gap: 48px; align-items: center; }
.hp-offer-img { width: 100%; height: auto; border-radius: 6px; display: block; }
.hp-offer-copy { max-width: 560px; }

.hp-faq-wrap { max-width: 820px; }
.hp-faq { display: grid; gap: 10px; margin-top: 24px; }
.hp-faq-item { background: #fff; border-radius: 6px; padding: 4px 20px; }
.hp-faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; cursor: pointer; font-weight: 700; font-size: 16px; list-style: none; }
.hp-faq-item summary::-webkit-details-marker { display: none; }
.hp-faq-item summary i { font-size: 12px; color: var(--text-muted-6); transition: transform 0.2s ease; }
.hp-faq-item[open] summary i { transform: rotate(180deg); }
.hp-faq-item p { margin: 0 0 16px; color: var(--text-muted); line-height: 1.6; font-size: 15px; }

.hp-cta { background: var(--accent); padding: 36px 0; }
.hp-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hp-cta h2 { margin: 0 0 4px; font-size: 24px; font-weight: 800; color: var(--dark); }
.hp-cta p { margin: 0; color: var(--dark); }
.hp-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 1024px) {
    .hp-hero-inner { grid-template-columns: 1fr; gap: 32px; }
    .hp-title { font-size: 38px; }
    .hp-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 800px) {
    .hp-packages { grid-template-columns: 1fr; }
    .hp-offer { grid-template-columns: 1fr; gap: 24px; }
    .hp-offer-img { max-width: 340px; margin: 0 auto; }
    .hp-cta-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
    .hp-hero { padding: 32px 0; }
    .hp-title { font-size: 32px; }
    .hp-row { grid-template-columns: 1fr; }
    .hp-form-card { padding: 20px; }
    .hp-steps { grid-template-columns: 1fr; }
    .hp-section { padding: 40px 0; }
}


/* ── Motion ─────────────────────────────────────────────────────────────── */
@keyframes hp-up { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes hp-in-right { from { opacity: 0; transform: translateX(36px); } to { opacity: 1; transform: none; } }
@keyframes hp-shine { 0% { transform: translateX(-120%); } 55%, 100% { transform: translateX(220%); } }
@keyframes hp-pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.12); } 100% { transform: scale(1); opacity: 1; } }

/* Hero entrance: each piece rises in turn, the form slides in from the right. */
.hp-festive-tag, .hp-title, .hp-lead, .hp-points li, .hp-prices, .hp-fine { animation: hp-up .7s cubic-bezier(.2,.8,.2,1) both; }
.hp-festive-tag { animation-delay: .05s; position: relative; overflow: hidden; }
.hp-festive-tag::after { content: ""; position: absolute; inset: 0; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.65), transparent); animation: hp-shine 3.4s ease-in-out 1.2s infinite; }
.hp-title { animation-delay: .15s; }
.hp-lead { animation-delay: .28s; }
.hp-points li:nth-child(1) { animation-delay: .4s; } .hp-points li:nth-child(2) { animation-delay: .5s; } .hp-points li:nth-child(3) { animation-delay: .6s; }
.hp-prices { animation-delay: .7s; } .hp-fine { animation-delay: .85s; }
.hp-form-card { animation: hp-in-right .8s cubic-bezier(.2,.8,.2,1) .25s both; }

/* Scroll reveal (class added by script, so content stays visible without it). */
.hp-js .hp-reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease var(--d, 0ms), transform .7s cubic-bezier(.2,.8,.2,1) var(--d, 0ms); }
.hp-js .hp-reveal.in { opacity: 1; transform: none; }

/* Hover and press feedback. */
.hp-price { transition: transform .25s ease, border-color .25s ease; }
.hp-price:hover { transform: translateY(-4px); border-color: var(--accent); }
.hp-package { transition: transform .25s ease, box-shadow .25s ease; }
.hp-package:hover { transform: translateY(-6px); box-shadow: 0 16px 34px rgba(26,26,46,.12); }
.hp-step { transition: transform .25s ease, box-shadow .25s ease; }
.hp-step:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(26,26,46,.1); }
.hp-step-num { animation: hp-pop .5s cubic-bezier(.2,.8,.2,1) both; }
.hp-step-icon { transition: transform .3s ease; }
.hp-step:hover .hp-step-icon { transform: scale(1.18) rotate(-6deg); }
.hp-btn { transition: transform .15s ease, background .2s ease, box-shadow .2s ease; }
.hp-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,0,0,.15); }
.hp-btn:active { transform: translateY(0); box-shadow: none; }
.hp-offer-img { transition: transform .4s ease; }
.hp-offer-img:hover { transform: scale(1.025) rotate(-.6deg); }
.hp-faq-item { transition: box-shadow .2s ease; }
.hp-faq-item[open] { box-shadow: 0 6px 18px rgba(26,26,46,.08); }
.hp-faq-item[open] p { animation: hp-up .35s ease both; }
.hp-choice span { transition: background .15s ease, border-color .15s ease, transform .15s ease; }
.hp-choice input:checked + span { transform: scale(1.04); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .hp-js .hp-reveal { opacity: 1 !important; transform: none !important; }
}


/* ── Creative: brush stroke, drifting colour, repaint-the-wall preview ── */
@keyframes hp-draw { to { stroke-dashoffset: 0; } }
@keyframes hp-drift-a { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(60px,40px) scale(1.15); } }
@keyframes hp-drift-b { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-50px,-30px) scale(1.2); } }
@keyframes hp-sweep-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes hp-roll-x { from { transform: translateX(0); } to { transform: translateX(600px); } }

.hp-brush { position: relative; display: inline-block; }
.hp-brush-svg { position: absolute; left: 0; bottom: -10px; width: 100%; height: 12px; overflow: visible; }
.hp-brush-svg path { fill: none; stroke: rgba(255, 255, 255, 0.55); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 420; stroke-dashoffset: 420; animation: hp-draw 1.1s cubic-bezier(.4,0,.2,1) 1s forwards; }

.hp-hero { position: relative; overflow: hidden; }
.hp-hero::before, .hp-hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(70px); opacity: .28; pointer-events: none; }
.hp-hero::before { width: 380px; height: 380px; background: #FFC107; left: -120px; top: -100px; animation: hp-drift-a 14s ease-in-out infinite; }
.hp-hero::after { width: 340px; height: 340px; background: #2F7F86; right: 30%; bottom: -140px; animation: hp-drift-b 17s ease-in-out infinite; }
.hp-hero-inner { position: relative; z-index: 1; }

.hp-colour-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.hp-colour-copy .hp-btn { margin-top: 22px; }
.hp-colour-now { margin: 4px 0 14px; font-size: 15px; color: var(--text-muted); }
.hp-colour-now strong { color: var(--text-primary); }
.hp-swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.hp-swatch { width: 40px; height: 40px; border-radius: 50%; border: 3px solid #fff; background: var(--c); box-shadow: 0 0 0 1px rgba(26,26,46,.2), 0 3px 8px rgba(0,0,0,.12); cursor: pointer; padding: 0; transition: transform .2s cubic-bezier(.3,1.5,.5,1), box-shadow .2s ease; }
.hp-swatch:hover { transform: scale(1.14); }
.hp-swatch.on { transform: scale(1.18); box-shadow: 0 0 0 3px var(--dark), 0 5px 12px rgba(0,0,0,.2); }
.hp-swatch:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.hp-room-wrap { background: var(--bg-page); border-radius: 10px; padding: 18px; box-shadow: 0 20px 40px rgba(26,26,46,.1); }
.hp-room { display: block; width: 100%; height: auto; border-radius: 6px; overflow: hidden; }
.hp-wall-new { transform-box: fill-box; transform-origin: 0 50%; transform: scaleX(0); }
.hp-wall-new.sweep { animation: hp-sweep-x .9s cubic-bezier(.45,0,.25,1) forwards; }
.hp-roller { opacity: 0; transform: translateX(0); }
.hp-roller.sweep { opacity: 1; animation: hp-roll-x .9s cubic-bezier(.45,0,.25,1) forwards; }

@media (max-width: 900px) {
    .hp-colour-inner { grid-template-columns: 1fr; gap: 28px; }
    .hp-hero::before, .hp-hero::after { opacity: .18; }
}
@media (prefers-reduced-motion: reduce) {
    .hp-brush-svg path { stroke-dashoffset: 0 !important; }
    .hp-wall-new, .hp-wall-new.sweep { transform: scaleX(0) !important; }
    .hp-roller { display: none; }
}


/* ── More interaction ── */
.hp-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); z-index: 1000; pointer-events: none; }

.hp-countdown { margin: 18px 0 0; display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border: 1px dashed rgba(255, 193, 7, .7); border-radius: 999px; font-size: 14px; color: rgba(255, 255, 255, .9); animation: hp-up .7s cubic-bezier(.2,.8,.2,1) 1s both; }
.hp-countdown i { color: var(--accent); }
.hp-countdown strong { color: var(--accent); font-size: 18px; }

@keyframes hp-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.hp-ticker { background: var(--accent); color: var(--dark); overflow: hidden; padding: 13px 0; }
.hp-ticker-track { display: flex; align-items: center; gap: 28px; width: max-content; font-weight: 800; font-size: 15px; letter-spacing: .03em; text-transform: uppercase; animation: hp-marquee 32s linear infinite; }
.hp-ticker-track span { white-space: nowrap; }
.hp-ticker-track i { width: 8px; height: 8px; background: var(--dark); border-radius: 50%; flex-shrink: 0; }
.hp-ticker:hover .hp-ticker-track { animation-play-state: paused; }

/* Find your package */
.hp-finder { background: #fff; border-radius: 10px; padding: 24px 28px 20px; margin: 0 auto 28px; max-width: 760px; box-shadow: 0 10px 28px rgba(26,26,46,.08); }
.hp-finder-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 18px; flex-wrap: wrap; }
.hp-finder-label { margin: 0 0 4px; font-size: 14px; color: var(--text-muted-6); font-weight: 600; }
.hp-finder-size { margin: 0; font-size: 20px; }
.hp-finder-size strong { font-size: 38px; font-weight: 900; }
.hp-finder-result { text-align: right; display: flex; flex-direction: column; gap: 2px; min-width: 170px; }
.hp-finder-result span { font-size: 14px; font-weight: 700; color: var(--text-muted); }
.hp-finder-result strong { font-size: 32px; font-weight: 900; line-height: 1.1; }
.hp-finder-result small { font-size: 12px; color: var(--text-muted-6); }
#hpRange { --fill: 50%; -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--accent) var(--fill), #E5E7EB var(--fill)); outline: none; cursor: pointer; }
#hpRange::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; border-radius: 50%; background: var(--dark); border: 4px solid var(--accent); box-shadow: 0 3px 10px rgba(0,0,0,.25); transition: transform .15s ease; }
#hpRange::-webkit-slider-thumb:hover { transform: scale(1.15); }
#hpRange::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--dark); border: 4px solid var(--accent); }
#hpRange:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; }
.hp-finder-scale { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12px; color: var(--text-muted-6); }

.hp-package { position: relative; border: 2px solid transparent; }
.hp-package h3 small { display: block; margin-top: 2px; font-size: 12px; font-weight: 500; color: var(--text-muted-6); }
.hp-package.match { border-color: var(--accent); box-shadow: 0 16px 36px rgba(255,193,7,.25); transform: translateY(-6px); }
.hp-package.match::before { content: "Your match"; position: absolute; top: -13px; left: 24px; background: var(--accent); color: var(--dark); font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 999px; }

/* Process line that draws between the steps */
@media (min-width: 1025px) {
    .hp-step::after { content: ""; position: absolute; top: 44px; left: calc(100% - 4px); width: 28px; height: 3px; background: var(--accent); border-radius: 2px; transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s ease calc(var(--d, 0ms) + 350ms); }
    .hp-step.in::after, html:not(.hp-js) .hp-step::after { transform: scaleX(1); }
    .hp-step:last-child::after { display: none; }
}

/* Mobile action bar */
.hp-sticky { display: none; }
@media (max-width: 800px) {
    .hp-sticky { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -6px 20px rgba(0,0,0,.12); z-index: 900; transform: translateY(110%); transition: transform .3s ease; }
    .hp-sticky.show { transform: translateY(0); }
    .hp-sticky-btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: 8px; font-weight: 800; font-size: 14px; text-decoration: none; }
    .hp-sticky-call, .hp-sticky-wa { flex: 0 0 auto; width: 52px; border: 1px solid var(--border-1); color: var(--dark); }
    .hp-sticky-call span, .hp-sticky-wa span { display: none; }
    .hp-sticky-wa i { color: #16a34a; font-size: 20px; }
    .hp-sticky-book { flex: 1; background: var(--accent); color: var(--dark); }
    .painting-page { padding-bottom: 74px; }
    .hp-finder { padding: 18px; }
    .hp-finder-result { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
    .hp-ticker-track { animation: none !important; }
    .hp-package.match { transform: none; }
}


/* ── Top banner, then the inspection form ── */
.hp-banner { background: #2a1a12; line-height: 0; }
.hp-banner img { display: block; width: 100%; height: auto; }
.hp-hero-form { padding: 48px 0 64px; }
.hp-hero-form::before, .hp-hero-form::after { display: none; }
.hp-hero-form .hp-hero-inner { display: block; max-width: 640px; }
.hp-hero-form .hp-form-card { animation: none; }
@media (max-width: 560px) { .hp-hero-form { padding: 28px 0 40px; } }
.hp-hero-form { background: var(--bg-page); }
.hp-hero-form .hp-form-card { box-shadow: 0 10px 30px rgba(26, 26, 46, 0.08); }


/* ── Form section: story panel + tile choices + progress ── */
.hp-hero-form .hp-hero-inner { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; max-width: 1120px; align-items: start; }
.hp-side { position: sticky; top: 110px; background: var(--dark); color: #fff; border-radius: 16px; padding: 38px 34px; overflow: hidden; }
.hp-side::before { content: ""; position: absolute; right: -70px; top: -70px; width: 220px; height: 220px; border-radius: 50%; background: var(--accent); opacity: .16; }
.hp-side::after { content: ""; position: absolute; left: -60px; bottom: -80px; width: 200px; height: 200px; border-radius: 50%; background: #2F7F86; opacity: .25; }
.hp-side > * { position: relative; z-index: 1; }
.hp-side-eyebrow { margin: 0 0 10px; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.hp-side-title { margin: 0 0 28px; font-size: 30px; line-height: 1.15; font-weight: 800; }
.hp-side-title span { color: var(--accent); }
.hp-timeline { list-style: none; margin: 0 0 26px; padding: 0; counter-reset: st; }
.hp-timeline li { counter-increment: st; position: relative; padding: 0 0 22px 54px; }
.hp-timeline li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--dark); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.hp-timeline li::after { content: ""; position: absolute; left: 17px; top: 40px; bottom: 4px; width: 2px; background: rgba(255,255,255,.2); transform-origin: top; transform: scaleY(0); transition: transform .6s ease calc(var(--i, 0) * 250ms + 400ms); }
.hp-timeline li:last-child { padding-bottom: 0; }
.hp-timeline li:last-child::after { display: none; }
.hp-timeline.in li::after, html:not(.hp-js) .hp-timeline li::after { transform: scaleY(1); }
.hp-timeline li:nth-child(2) { --i: 1; } .hp-timeline li:nth-child(3) { --i: 2; }
.hp-timeline b { display: block; font-size: 16px; margin-bottom: 2px; }
.hp-timeline span { font-size: 14px; color: rgba(255,255,255,.7); line-height: 1.5; }
.hp-side-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.hp-side-chips span { font-size: 12px; font-weight: 700; padding: 7px 12px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; }
.hp-side-call { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: rgba(255,255,255,.08); border-radius: 12px; color: #fff; text-decoration: none; transition: background .2s ease; }
.hp-side-call:hover { background: rgba(255,255,255,.14); }
.hp-side-call i { font-size: 28px; color: #4ade80; }
.hp-side-call span { display: flex; flex-direction: column; font-size: 12px; color: rgba(255,255,255,.7); }
.hp-side-call strong { font-size: 20px; color: #fff; letter-spacing: .02em; }

.hp-hero-form .hp-form-card { position: relative; border-radius: 16px; padding: 38px 36px 34px; overflow: hidden; }
.hp-hero-form .hp-form-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, #FFC107, #F6C945 30%, #2F7F86 70%, #C8694A); }

.hp-meter { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; font-size: 12px; font-weight: 700; color: var(--text-muted-6); }
.hp-meter-bar { flex: 1; height: 6px; border-radius: 3px; background: #E8EAF1; overflow: hidden; }
.hp-meter-bar i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 3px; transition: width .35s ease; }
.hp-form.ready ~ * , .hp-form.ready { --ready: 1; }
.hp-meter span { white-space: nowrap; min-width: 118px; text-align: right; }

.hp-hero-form .hp-field input { background: var(--bg-page); border: 1.5px solid transparent; border-radius: 10px; padding: 12px 14px; transition: border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.hp-hero-form .hp-field input:focus { outline: 0; border-color: var(--dark); background: #fff; box-shadow: 0 0 0 4px rgba(255,193,7,.3); }

.hp-choice { gap: 10px; }
.hp-choice.hp-sizes .hp-tile { flex: 1 1 0; min-width: 0; }
.hp-choice.hp-sizes legend { float: none; }
.hp-tile span { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 14px 8px; border-radius: 12px; width: 100%; text-align: center; border: 1.5px solid var(--border-1); }
.hp-tile { display: block; }
.hp-tile b { font-size: 17px; }
.hp-tile small { font-size: 12px; font-weight: 600; color: var(--text-muted-6); }
.hp-choice input:checked + span small { color: var(--dark); }
.hp-tile:hover span { border-color: var(--dark); }
.hp-choice input:checked + span { box-shadow: 0 6px 16px rgba(255,193,7,.35); }

.hp-form .hp-btn-primary { border-radius: 12px; padding: 16px 24px; position: relative; overflow: hidden; }
.hp-form.ready .hp-btn-primary::after { content: ""; position: absolute; inset: 0; width: 35%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.7), transparent); animation: hp-shine 2.6s ease-in-out infinite; }

@media (max-width: 960px) {
    .hp-hero-form .hp-hero-inner { grid-template-columns: 1fr; gap: 28px; max-width: 640px; }
    .hp-side { position: relative; top: auto; order: 2; padding: 28px 24px; }
    .hp-hero-form .hp-form-card { order: 1; }
}
@media (max-width: 560px) {
    .hp-hero-form .hp-form-card { padding: 30px 20px 26px; }
    .hp-side-title { font-size: 26px; }
    .hp-tile span { padding: 12px 4px; }
}
@media (prefers-reduced-motion: reduce) { .hp-form.ready .hp-btn-primary::after { display: none; } }


/* ── Living room: sway, glow, light beam, evening mode, splashes ── */
@keyframes hp-sway { 0%,100% { transform: rotate(-2.2deg); } 50% { transform: rotate(2.2deg); } }
@keyframes hp-glow-pulse { 0%,100% { opacity: .3; } 50% { opacity: .55; } }
@keyframes hp-beam-shift { 0%,100% { opacity: .16; } 50% { opacity: .3; } }
@keyframes hp-dust-float { 0% { transform: translate(0,0); opacity: 0; } 20% { opacity: .9; } 100% { transform: translate(18px,-34px); opacity: 0; } }
@keyframes hp-twinkle { 0%,100% { opacity: .2; } 50% { opacity: 1; } }
@keyframes hp-splat-out { from { transform: translate(-50%,-50%) scale(1); opacity: 1; } to { transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) scale(.2); opacity: 0; } }

.hp-plant { transform-box: fill-box; transform-origin: 50% 100%; animation: hp-sway 5s ease-in-out infinite; }
.hp-glow { opacity: .3; animation: hp-glow-pulse 3.6s ease-in-out infinite; transition: opacity .8s ease; pointer-events: none; }
.hp-beam { opacity: .2; animation: hp-beam-shift 6s ease-in-out infinite; transition: opacity .8s ease; pointer-events: none; }
.hp-dust circle { opacity: 0; animation: hp-dust-float 6s ease-in infinite; }
.hp-dust circle:nth-child(2) { animation-delay: 1.2s; } .hp-dust circle:nth-child(3) { animation-delay: 2.4s; }
.hp-dust circle:nth-child(4) { animation-delay: 3.6s; } .hp-dust circle:nth-child(5) { animation-delay: 4.8s; }
.hp-stars { opacity: 0; transition: opacity .8s ease; }
.hp-stars circle { animation: hp-twinkle 2.4s ease-in-out infinite; }
.hp-stars circle:nth-child(2) { animation-delay: .6s; } .hp-stars circle:nth-child(3) { animation-delay: 1.2s; } .hp-stars circle:nth-child(4) { animation-delay: 1.8s; }
.hp-sky, .hp-dusk { transition: opacity .8s ease; }
.hp-cushion { transform-box: fill-box; transform-origin: 50% 100%; transition: transform .25s cubic-bezier(.3,1.6,.5,1); cursor: pointer; }
.hp-cushion:hover { transform: translateY(-6px) rotate(-4deg); }
.hp-cushion.c2:hover { transform: translateY(-6px) rotate(4deg); }

.hp-room-wrap.evening .hp-dusk { opacity: .5; }
.hp-room-wrap.evening .hp-sky { opacity: 1; }
.hp-room-wrap.evening .hp-stars { opacity: 1; }
.hp-room-wrap.evening .hp-beam { animation: none; opacity: 0; }
.hp-room-wrap.evening .hp-glow { animation: none; opacity: 1; }
.hp-room-wrap.evening .hp-dust { opacity: 0; }

.hp-room-ctl { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.hp-seg { display: inline-flex; background: #fff; border: 1px solid var(--border-1); border-radius: 999px; padding: 3px; }
.hp-seg button { border: 0; background: none; font: inherit; font-size: 13px; font-weight: 700; padding: 8px 16px; border-radius: 999px; cursor: pointer; color: var(--text-muted); transition: background .2s ease, color .2s ease; }
.hp-seg button.on { background: var(--dark); color: #fff; }
.hp-seg i { margin-right: 4px; }
.hp-shuffle { border: 1.5px dashed var(--dark); background: none; font: inherit; font-size: 13px; font-weight: 700; padding: 8px 16px; border-radius: 999px; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.hp-shuffle:hover { background: var(--accent); border-style: solid; border-color: var(--accent); }
.hp-shuffle:active i { animation: hp-spin .5s ease; }
@keyframes hp-spin { to { transform: rotate(360deg); } }

.hp-splat { position: absolute; width: 9px; height: 9px; border-radius: 50%; pointer-events: none; animation: hp-splat-out .65s cubic-bezier(.2,.8,.3,1) forwards; z-index: 2; }

@media (prefers-reduced-motion: reduce) {
    .hp-plant, .hp-glow, .hp-beam, .hp-dust circle, .hp-stars circle { animation: none !important; }
    .hp-dust { display: none; }
}


/* ── Aesthetic motion pass ── */
@keyframes hp-kenburns { from { transform: scale(1.07); } to { transform: scale(1); } }
@keyframes hp-banner-shine { 0% { transform: translateX(-130%) skewX(-18deg); } 40%,100% { transform: translateX(330%) skewX(-18deg); } }
@keyframes hp-bounce-in { 0% { transform: scale(.3) rotate(-20deg); opacity: 0; } 60% { transform: scale(1.18) rotate(6deg); opacity: 1; } 100% { transform: scale(1) rotate(0); opacity: 1; } }
@keyframes hp-ring { 0% { box-shadow: 0 0 0 0 rgba(255,193,7,.55); } 70%,100% { box-shadow: 0 0 0 16px rgba(255,193,7,0); } }
@keyframes hp-float-a { 0%,100% { transform: translate(0,0); } 50% { transform: translate(40px,-30px); } }
@keyframes hp-float-b { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-36px,34px); } }
@keyframes hp-pulse-num { 0%,100% { box-shadow: 0 0 0 0 rgba(255,193,7,.0); } 50% { box-shadow: 0 0 0 9px rgba(255,193,7,.28); } }

/* Banner: slow settle-in zoom and a soft light sweep. */
.hp-banner { position: relative; overflow: hidden; }
.hp-banner img { animation: hp-kenburns 9s cubic-bezier(.2,.7,.2,1) both; transform-origin: 70% 50%; }
.hp-banner::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 18%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent); animation: hp-banner-shine 7s ease-in-out 1.6s infinite; pointer-events: none; }

/* Form section: soft pastel colour drifting behind the card. */
.hp-hero-form { position: relative; overflow: hidden; }
.hp-hero-form::before, .hp-hero-form::after { display: block; content: ""; position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; pointer-events: none; }
.hp-hero-form::before { width: 340px; height: 340px; background: #FFE29A; left: -90px; top: 10%; animation: hp-float-a 15s ease-in-out infinite; }
.hp-hero-form::after { width: 300px; height: 300px; background: #BFE0E3; right: -80px; bottom: 5%; animation: hp-float-b 18s ease-in-out infinite; }
.hp-hero-form .hp-hero-inner { position: relative; z-index: 1; }

/* Headings: the yellow highlighter draws itself in. */
.hp-js .hp-section .why-accent { background-repeat: no-repeat; background-size: 0 100%; transition: background-size .8s cubic-bezier(.3,.7,.2,1) .35s; }
.hp-js .hp-section .why-title.in .why-accent { background-size: 100% 100%; }

/* Why-choose icons pop in and wiggle on hover. */
.hp-js .why-card .why-icon { opacity: 0; }
.hp-js .why-card.in .why-icon { animation: hp-bounce-in .7s cubic-bezier(.3,1.4,.5,1) calc(var(--d, 0ms) + 250ms) both; }
.why-card:hover .why-icon { animation: none; opacity: 1; transform: scale(1.18) rotate(-8deg); transition: transform .3s cubic-bezier(.3,1.6,.5,1); }
.why-card .why-icon { color: var(--dark); transition: transform .3s ease; }

/* Packages: a yellow bar slides in across the top on hover. */
.hp-package { overflow: hidden; }
.hp-package::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s cubic-bezier(.3,.7,.2,1); }
.hp-package:hover::after, .hp-package.match::after { transform: scaleX(1); }

/* Steps: numbers pulse one after another. */
.hp-steps.in .hp-step-num, .hp-step.in .hp-step-num { animation: hp-pop .5s cubic-bezier(.2,.8,.2,1) both, hp-pulse-num 3.2s ease-in-out 1.2s infinite; }
.hp-step:nth-child(2) .hp-step-num { animation-delay: 0s, 1.6s; } .hp-step:nth-child(3) .hp-step-num { animation-delay: 0s, 2s; } .hp-step:nth-child(4) .hp-step-num { animation-delay: 0s, 2.4s; }

/* A painted stripe that rolls across before the closing call-to-action. */
.hp-stripe { height: 10px; background: #fff; overflow: hidden; }
.hp-stripe i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #FFC107 0 25%, #2F7F86 25% 50%, #C8694A 50% 75%, #C3B1E1 75% 100%); transform-origin: 0 50%; }
.hp-js .hp-stripe { opacity: 1; transform: none; }
.hp-js .hp-stripe i { transform: scaleX(0); transition: transform 1.3s cubic-bezier(.5,0,.2,1); }
.hp-js .hp-stripe.in i { transform: scaleX(1); }

/* Call button: a gentle attention ring. */
.hp-cta .hp-btn-primary, .hp-cta-actions .hp-btn-dark { animation: hp-ring 2.4s ease-out infinite; }

@media (max-width: 800px) { .hp-hero-form::before, .hp-hero-form::after { opacity: .35; } }
@media (prefers-reduced-motion: reduce) {
    .hp-banner img, .hp-banner::after, .hp-hero-form::before, .hp-hero-form::after, .hp-cta-actions .hp-btn-dark { animation: none !important; }
    .hp-js .hp-section .why-accent { background-size: 100% 100%; }
    .hp-js .why-card .why-icon { opacity: 1; animation: none !important; }
    .hp-js .hp-stripe i { transform: none; }
}


/* ── Scenes: finish picker, before/after slider, floor plan ── */
@keyframes hp-sheen-run { from { transform: translateX(0) skewX(-18deg); } to { transform: translateX(900px) skewX(-18deg); } }
@keyframes hp-sparkle { 0%,100% { transform: scale(.4) rotate(0); opacity: 0; } 50% { transform: scale(1.1) rotate(45deg); opacity: 1; } }

/* Finish */
.hp-gloss { opacity: 0; transition: opacity .5s ease; pointer-events: none; }
.hp-sheen { opacity: 0; pointer-events: none; }
.hp-room-wrap[data-finish="silk"] .hp-gloss { opacity: .35; }
.hp-room-wrap[data-finish="gloss"] .hp-gloss { opacity: .85; }
.hp-sheen.play { animation: hp-sheen-run 1.3s cubic-bezier(.4,0,.2,1) forwards; opacity: .9; }
.hp-room-ctl-finish { justify-content: flex-start; margin-top: 14px; }
.hp-ctl-label { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted-6); }

/* Before / after */
.hp-ba { background: var(--bg-page); }
.hp-ba-stage { --pos: 50%; position: relative; max-width: 780px; margin: 0 auto; border-radius: 16px; overflow: hidden; box-shadow: 0 24px 50px rgba(26,26,46,.16); background: #fff; user-select: none; -webkit-user-select: none; }
.hp-ba-layer { display: block; width: 100%; height: auto; }
.hp-ba-before-wrap { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.hp-ba-before-wrap .hp-ba-layer { height: 100%; }
.hp-ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 12px rgba(0,0,0,.3); pointer-events: none; }
.hp-ba-handle i { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: var(--accent); color: var(--dark); display: flex; align-items: center; justify-content: center; font-size: 18px; box-shadow: 0 6px 16px rgba(0,0,0,.3); animation: hp-ring 2.4s ease-out infinite; }
.hp-ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.hp-ba-range:focus-visible + * , .hp-ba-stage:focus-within .hp-ba-handle i { outline: 3px solid var(--dark); outline-offset: 3px; }
.hp-ba-tag { position: absolute; top: 14px; padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; pointer-events: none; }
.hp-ba-tag-b { left: 14px; background: rgba(26,26,46,.75); color: #fff; }
.hp-ba-tag-a { right: 14px; background: var(--accent); color: var(--dark); }
.hp-sparkles path { transform-box: fill-box; transform-origin: center; animation: hp-sparkle 2.6s ease-in-out infinite; }
.hp-sparkles path:nth-child(2) { animation-delay: .7s; } .hp-sparkles path:nth-child(3) { animation-delay: 1.4s; } .hp-sparkles path:nth-child(4) { animation-delay: 2s; }
.hp-ba-cta { text-align: center; margin: 32px 0 0; }

/* Floor plan in the finder */
.hp-plan-wrap { margin-top: 22px; text-align: center; }
.hp-plan { width: 100%; max-width: 420px; height: auto; display: inline-block; }
.hp-room-r { fill: #EEF0F6; stroke: #D8DCE8; stroke-width: 1.5; transform-box: fill-box; transform-origin: center; transition: fill .45s ease, transform .45s cubic-bezier(.3,1.5,.5,1), stroke .3s ease; }
.hp-room-r.on { fill: var(--c); stroke: rgba(26,26,46,.18); transform: scale(1); animation: hp-room-pop .5s cubic-bezier(.3,1.5,.5,1) both; }
@keyframes hp-room-pop { 0% { transform: scale(.85); } 100% { transform: scale(1); } }
.hp-plan-cap { margin: 6px 0 0; font-size: 12px; color: var(--text-muted-6); }

@media (max-width: 560px) {
    .hp-ba-handle i { width: 38px; height: 38px; margin: -19px 0 0 -19px; font-size: 15px; }
    .hp-ba-tag { top: 8px; font-size: 10px; padding: 5px 10px; }
}
@media (prefers-reduced-motion: reduce) {
    .hp-sparkles path, .hp-ba-handle i, .hp-room-r.on { animation: none !important; }
    .hp-sheen.play { animation: none; opacity: 0; }
}


/* ── Form card: paint drips + a house that paints itself as you fill in details ── */
@keyframes hp-drip-grow { from { height: 0; } to { height: var(--h); } }
@keyframes hp-house-hop { 0%,100% { transform: translateY(0); } 40% { transform: translateY(-7px); } }
@keyframes hp-spark-pop { 0% { transform: scale(0) rotate(0); opacity: 0; } 50% { transform: scale(1.2) rotate(40deg); opacity: 1; } 100% { transform: scale(0) rotate(90deg); opacity: 0; } }

.hp-drips { position: absolute; left: 0; right: 0; top: 5px; height: 0; pointer-events: none; z-index: 1; }
.hp-drips i { position: absolute; left: var(--l); top: 0; width: 8px; margin-left: -4px; height: 0; background: var(--c); border-radius: 0 0 8px 8px; animation: hp-drip-grow 1.1s cubic-bezier(.4,0,.2,1) var(--d) forwards; }
.hp-drips i::after { content: ""; position: absolute; left: -1px; bottom: -3px; width: 10px; height: 10px; border-radius: 50%; background: var(--c); }

.hp-house { position: absolute; top: 30px; right: 30px; width: 96px; height: 80px; }
.hp-house-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hp-house-paint { position: absolute; inset: 0; clip-path: inset(100% 0 0 0); transition: clip-path .7s cubic-bezier(.4,0,.2,1); }
.hp-house-col .hp-house-win { transition: fill .4s ease .5s; }
.hp-card-ready .hp-house { animation: hp-house-hop .7s cubic-bezier(.3,1.4,.5,1) .6s; }
.hp-house-spark { position: absolute; width: 12px; height: 12px; background: var(--accent); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); opacity: 0; }
.hp-house-spark.s1 { left: -8px; top: 6px; } .hp-house-spark.s2 { right: -6px; top: -4px; } .hp-house-spark.s3 { right: 12px; bottom: -6px; }
.hp-card-ready .hp-house-spark { animation: hp-spark-pop 1.1s ease-out .7s both; }
.hp-card-ready .hp-house-spark.s2 { animation-delay: .9s; } .hp-card-ready .hp-house-spark.s3 { animation-delay: 1.1s; }
.hp-hero-form .hp-form-title, .hp-hero-form .hp-form-sub { padding-right: 110px; }

@media (max-width: 560px) {
    .hp-house { width: 64px; height: 54px; top: 24px; right: 18px; }
    .hp-hero-form .hp-form-title, .hp-hero-form .hp-form-sub { padding-right: 76px; }
}
@media (prefers-reduced-motion: reduce) {
    .hp-drips i { animation: none; height: var(--h); }
    .hp-card-ready .hp-house, .hp-card-ready .hp-house-spark { animation: none; }
    .hp-house-paint { transition: none; }
}


/* ── Two-step form + date chips ── */
@keyframes hp-step-in { from { opacity: 0; transform: translateX(22px); } to { opacity: 1; transform: none; } }

.hp-steps-ind { display: none; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 12px; font-weight: 700; color: var(--text-muted-6); }
.hp-multistep .hp-steps-ind { display: flex; }
.hp-steps-ind span { display: inline-flex; align-items: center; gap: 8px; }
.hp-steps-ind b { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid #CBD0DE; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; transition: all .3s ease; }
.hp-steps-ind span.on { color: var(--dark); }
.hp-steps-ind span.on b { background: var(--accent); border-color: var(--accent); color: var(--dark); }
.hp-steps-ind span.done b { background: var(--dark); border-color: var(--dark); color: transparent; position: relative; }
.hp-steps-ind span.done b::after { content: "\2713"; position: absolute; color: #fff; font-size: 12px; }
.hp-steps-ind i { flex: 0 0 28px; height: 2px; background: #DDE1EC; border-radius: 1px; }

.hp-stepbox { display: grid; gap: 14px; }
.hp-multistep .hp-form:not(.hp-all) .hp-step2 { display: none; }
.hp-multistep .hp-form:not(.hp-all).step2 .hp-step1 { display: none; }
.hp-multistep .hp-form:not(.hp-all).step2 .hp-step2 { display: grid; }
.hp-multistep .hp-form:not(.hp-all) .hp-stepbox { animation: hp-step-in .35s cubic-bezier(.2,.8,.2,1) both; }
.hp-form.hp-all .hp-next, .hp-form.hp-all .hp-back, .hp-form.hp-all ~ .hp-steps-ind { display: none; }
.hp-next { margin-top: 4px; }
html:not(.hp-multistep) .hp-next, html:not(.hp-multistep) .hp-back { display: none; }
.hp-back { background: none; border: 0; font: inherit; font-size: 14px; font-weight: 600; color: var(--text-muted); cursor: pointer; padding: 6px; justify-self: center; }
.hp-back:hover { color: var(--dark); text-decoration: underline; }

/* +91 prefix on the phone field */
.hp-phone { display: flex; align-items: stretch; background: var(--bg-page); border-radius: 10px; border: 1.5px solid transparent; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.hp-phone em { display: flex; align-items: center; padding: 0 4px 0 14px; font-style: normal; font-weight: 700; font-size: 15px; color: var(--text-muted); }
.hp-phone input { background: none !important; border: 0 !important; box-shadow: none !important; padding-left: 8px !important; }
.hp-phone:focus-within { background: #fff; border-color: var(--dark); box-shadow: 0 0 0 4px rgba(255,193,7,.3); }
.hp-phone:has(input[aria-invalid="true"]) { border-color: #dc2626; }
.hp-hero-form .hp-field input[aria-invalid="true"] { border-color: #dc2626; }
.hp-err { display: block; margin-top: 2px; }

/* Date chips */
.hp-fieldlabel { font-size: 13px; font-weight: 700; }
.hp-datechips { display: none; gap: 8px; }
.hp-multistep .hp-datechips { display: grid; grid-template-columns: repeat(4, 1fr); }
.hp-chip { border: 1.5px solid var(--border-1); background: #fff; border-radius: 12px; padding: 10px 4px; font: inherit; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 1px; transition: all .2s ease; min-height: 56px; }
.hp-chip b { font-size: 14px; font-weight: 800; }
.hp-chip small { font-size: 12px; font-weight: 600; color: var(--text-muted-6); }
.hp-chip:hover { border-color: var(--dark); }
.hp-chip.on { background: var(--accent); border-color: var(--accent); box-shadow: 0 6px 16px rgba(255,193,7,.35); }
.hp-chip.on small { color: var(--dark); }
.hp-chip:focus-visible { outline: 2px solid var(--dark); outline-offset: 2px; }
.hp-multistep .hp-datepick { display: none; }
.hp-multistep .hp-datepick.show { display: block; margin-top: 8px; animation: hp-step-in .3s ease both; }
.hp-datefield { gap: 8px; }
.hp-datefield input[type=date] { font: inherit; font-size: 15px; padding: 11px 14px; border: 1.5px solid var(--border-1); border-radius: 10px; background: #fff; width: 100%; }

/* Bigger tap targets on the form */
.hp-whatsapp { display: block; padding: 14px 0 4px; font-size: 15px; }
.hp-consent input { width: 20px; height: 20px; flex: 0 0 20px; margin-top: 1px; accent-color: var(--dark); }
.hp-consent { font-size: 14px; }

@media (max-width: 560px) { .hp-chip { min-height: 60px; } .hp-steps-ind { font-size: 11px; } }
@media (prefers-reduced-motion: reduce) { .hp-multistep .hp-form:not(.hp-all) .hp-stepbox, .hp-datepick.show { animation: none !important; } }


/* ── Calm pass: fewer endless animations, and the rest only run while on screen ── */
/* Removed: banner light sweep, drifting blurred colour behind the form, scrolling brand strip, call-button ring. */
.hp-banner::after { display: none; }
.hp-hero-form::before, .hp-hero-form::after { display: none; }
.hp-cta .hp-btn-primary, .hp-cta-actions .hp-btn-dark { animation: none; }

/* Brand strip: static and centred instead of scrolling. */
.hp-ticker-track { animation: none; width: auto; justify-content: center; flex-wrap: wrap; gap: 14px 28px; padding: 0 16px; }
.hp-ticker-track > *:nth-child(n+6) { display: none; }

/* Room: only a gentle sway, glow and light beam. Two dust specks instead of five; stars twinkle only in evening mode. */
.hp-dust circle:nth-child(n+3) { display: none; }
.hp-stars circle { animation: none; }
.hp-room-wrap.evening .hp-stars circle { animation: hp-twinkle 2.4s ease-in-out infinite; }

/* Anything that loops inside a scene pauses when the scene is scrolled out of view. */
.hp-offscreen, .hp-offscreen *, .hp-offscreen *::before, .hp-offscreen *::after { animation-play-state: paused !important; }


/* ── Colour chosen in the visualizer, shown in the form ── */
.hp-colourchip { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--bg-page); border-radius: 12px; font-size: 14px; animation: hp-step-in .3s ease both; }
.hp-colourchip[hidden] { display: none; }
.hp-colourchip-dot { flex: 0 0 22px; height: 22px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(26,26,46,.25); }
.hp-colourchip span:nth-child(2) { flex: 1; }
.hp-colourchip button { border: 0; background: none; font-size: 22px; line-height: 1; cursor: pointer; color: var(--text-muted-6); padding: 0 6px; }
.hp-colourchip button:hover { color: var(--dark); }


/* ── Polish: tap targets, readable captions, swatch names, unavailable slots ── */
.hp-swatches { gap: 12px; }
.hp-swatch { width: 44px; height: 44px; position: relative; }
.hp-swatch::after { content: attr(data-name); position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translate(-50%, 4px); background: var(--dark); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 6px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s ease, transform .15s ease; }
.hp-swatch:hover::after, .hp-swatch:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
@media (hover: none) { .hp-swatch::after { display: none; } }

/* Small grey text a shade darker so it stays readable. */
.hp-form-sub, .hp-finder-label, .hp-meter, .hp-finder-scale span, .hp-package h3 small, .hp-package-price span,
.hp-finder-result small, .hp-chip small, .hp-tile small, .hp-steps-ind, .hp-section-sub, .hp-colourchip button { color: #565B6E; }
.hp-chip.on small, .hp-choice input:checked + span small { color: var(--dark); }

/* Slots that have passed */
.hp-choice label.hp-gone { cursor: not-allowed; }
.hp-choice label.hp-gone span { opacity: .4; text-decoration: line-through; background: var(--bg-page); }
.hp-chip.hp-gone, .hp-chip:disabled { opacity: .4; cursor: not-allowed; text-decoration: line-through; }


/* ── UI refinement: one card language, eyebrows, watermarks, tidier FAQ ── */
:root { --hp-r: 14px; --hp-line: #E6E8F0; }

.hp-section { padding: 80px 0; }
.hp-eyebrow { margin: 0 0 10px; text-align: center; font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: #B27F00; }
.hp-colour-copy .hp-eyebrow { text-align: left; }
.hp-section .why-title { font-size: 32px; letter-spacing: -.01em; margin-bottom: 14px; }
.hp-section-sub { margin-bottom: 40px; }

/* Same radius, hairline border and soft shadow on every card. */
.hp-finder, .hp-package, .hp-step, .hp-section .why-card, .hp-faq-item, .hp-form-card, .hp-colourchip { border-radius: var(--hp-r); }
.hp-package, .hp-step, .hp-section .why-card, .hp-faq-item { border: 1px solid var(--hp-line); box-shadow: 0 1px 2px rgba(26,26,46,.04), 0 8px 24px rgba(26,26,46,.04); }
.hp-section-white .why-card { background: #fff; }
.hp-btn { border-radius: 12px; }

/* Packages */
.hp-package { position: relative; overflow: hidden; padding: 32px 28px 28px; }
.hp-package > * { position: relative; z-index: 1; }
.hp-wm { position: absolute !important; z-index: 0 !important; right: 14px; top: -14px; font-size: 128px; line-height: 1; font-weight: 900; color: rgba(255,193,7,.16); pointer-events: none; transition: transform .5s cubic-bezier(.3,1.3,.5,1), color .3s ease; }
.hp-package:hover .hp-wm, .hp-package.match .hp-wm { transform: translateY(6px) scale(1.06) rotate(-4deg); color: rgba(255,193,7,.3); }
.hp-package li { padding-left: 26px; }
.hp-package li::before { content: ""; width: 16px; height: 16px; top: 3px; background: #16a34a; -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z'/%3E%3C/svg%3E"); font-size: 0; }
.hp-package.match { border-color: var(--accent); }

/* Why-choose icons sit in a yellow tile */
.hp-section .why-card .why-icon { width: 48px; height: 48px; padding: 13px; margin-bottom: 22px; background: rgba(255,193,7,.22); border-radius: 12px; color: var(--dark); box-sizing: border-box; }
.hp-section .why-card:hover .why-icon { background: var(--accent); }

/* Steps */
.hp-step { padding: 28px 24px; }
.hp-step-icon { width: 26px; height: 26px; }

/* FAQ */
.hp-faq-wrap { max-width: 780px; }
.hp-faq { gap: 12px; }
.hp-faq-item { padding: 2px 22px; transition: border-color .2s ease, box-shadow .2s ease; }
.hp-faq-item[open] { border-color: var(--accent); box-shadow: 0 10px 28px rgba(255,193,7,.16); }
.hp-faq-item summary { padding: 18px 0; }
.hp-faq-item summary i { width: 28px; height: 28px; padding: 8px; border-radius: 50%; background: var(--bg-page); color: var(--dark); box-sizing: border-box; transition: transform .25s ease, background .2s ease; }
.hp-faq-item[open] summary i { background: var(--accent); transform: rotate(180deg); }
.hp-faq-more { margin: 26px 0 0; text-align: center; color: #565B6E; font-size: 15px; }
.hp-faq-more a { color: var(--dark); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--accent); }
.hp-faq-more a i { color: #16a34a; }

/* Closing bar */
.hp-cta { padding: 44px 0; }
.hp-cta h2 { font-size: 26px; letter-spacing: -.01em; }

@media (max-width: 800px) {
    .hp-section { padding: 56px 0; }
    .hp-section .why-title { font-size: 26px; }
    .hp-wm { font-size: 96px; }
}
.hp-package.match::before { top: 16px; left: auto; right: 16px; z-index: 2; }
.hp-package.match .hp-wm { top: 30px; }
.hp-package.match h3 { padding-right: 96px; }


/* Icons are CSS masks, so a tile/circle behind one has to be drawn by a pseudo-element, not by the icon itself. */
.hp-section .why-card { position: relative; }
.hp-section .why-card::before { content: ""; position: absolute; left: 28px; top: 32px; width: 48px; height: 48px; border-radius: 12px; background: rgba(255,193,7,.22); transition: background .25s ease; }
.hp-section .why-card:hover::before { background: var(--accent); }
.hp-section .why-card .why-icon { width: 24px; height: 24px; padding: 0; margin: 12px 12px 34px; background: var(--dark); border-radius: 0; position: relative; z-index: 1; }
.hp-section .why-card:hover .why-icon { background: var(--dark); }

.hp-faq-item summary i { width: 16px; height: 16px; padding: 0; border-radius: 0; background: var(--dark); box-sizing: content-box; }
.hp-faq-item[open] summary i { background: #B27F00; transform: rotate(180deg); }

.hp-ba-handle::before { content: ""; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: var(--accent); box-shadow: 0 6px 16px rgba(0,0,0,.3); animation: hp-ring 2.4s ease-out infinite; }
.hp-ba-handle i { width: 20px; height: 20px; margin: -10px 0 0 -10px; padding: 0; border-radius: 0; background: var(--dark); box-shadow: none; animation: none; z-index: 1; }
@media (max-width: 560px) {
    .hp-ba-handle::before { width: 38px; height: 38px; margin: -19px 0 0 -19px; }
    .hp-ba-handle i { width: 16px; height: 16px; margin: -8px 0 0 -8px; }
    .hp-section .why-card::before { left: 24px; top: 28px; }
}
@media (prefers-reduced-motion: reduce) { .hp-ba-handle::before { animation: none; } }


/* ── Detail pass ── */
/* Form card: clear the paint drips so they never run through the title. */
.hp-hero-form .hp-form-card { padding-top: 50px; }
.hp-drips i { max-height: 26px; }
.hp-house { top: 38px; }
section[id] { scroll-margin-top: 84px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.hp-btn:focus-visible, .hp-chip:focus-visible, .hp-tile input:focus-visible + span, .hp-faq-item summary:focus-visible { outline: 3px solid var(--dark); outline-offset: 3px; }
::selection { background: rgba(255,193,7,.45); }

/* Dark panel: fine outline rings instead of muddy filled blobs. */
.hp-side::before { right: -90px; top: -90px; width: 240px; height: 240px; background: none; border: 2px solid rgba(255,193,7,.28); opacity: 1; }
.hp-side::after { left: -70px; bottom: -90px; width: 220px; height: 220px; background: none; border: 2px solid rgba(255,255,255,.12); opacity: 1; }

/* Brand strip stays on one line. */
.hp-ticker-track { font-size: 14px; }
@media (max-width: 560px) {
    .hp-ticker { padding: 12px 0; }
    .hp-ticker-track { font-size: 11.5px; letter-spacing: .02em; gap: 10px; flex-wrap: nowrap; padding: 0 8px; }
    .hp-ticker-track i { width: 6px; height: 6px; }
    .hp-hero-form .hp-form-card { padding-top: 46px; }
    .hp-house { top: 34px; }
}

/* Phones: compact horizontal cards instead of tall stacks. */
@media (max-width: 560px) {
    .hp-section .why-grid { gap: 12px; }
    .hp-section .why-card { padding: 20px 20px 20px 88px; min-height: 92px; }
    .hp-section .why-card::before { left: 20px; top: 20px; }
    .hp-section .why-card .why-icon { position: absolute; left: 32px; top: 32px; margin: 0; }
    .hp-section .why-card-title { font-size: 18px; margin-bottom: 4px; }
    .hp-section .why-card-text { font-size: 14px; }

    .hp-steps { gap: 12px; margin-top: 28px; }
    .hp-step { display: grid; grid-template-columns: 34px 1fr; column-gap: 16px; align-items: start; padding: 18px 56px 18px 20px; }
    .hp-step-icon { grid-row: 1 / span 2; margin: 2px 0 0; width: 26px; height: 26px; }
    .hp-step h3 { margin: 0 0 3px; font-size: 17px; }
    .hp-step p { grid-column: 2; font-size: 14px; }
    .hp-step-num { top: 14px; right: 14px; }
}

/* Colour visualizer on phones: the room comes first so a tap on a swatch is seen immediately. */
@media (max-width: 900px) {
    .hp-colour-inner { display: grid; grid-template-columns: 1fr; gap: 14px; }
    .hp-colour-copy { display: contents; }
    .hp-colour-copy .hp-eyebrow { order: 1; margin: 0; }
    .hp-colour-copy .why-title { order: 2; margin: 0 !important; }
    .hp-colour-copy .hp-section-sub { order: 3; margin: 0 0 6px !important; }
    .hp-room-wrap { order: 4; }
    .hp-colour-now { order: 5; margin: 8px 0 0; }
    .hp-swatches { order: 6; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; justify-items: center; }
    .hp-colour-copy .hp-btn { order: 7; margin-top: 8px; justify-self: stretch; text-align: center; }
    .hp-swatch { width: 52px; height: 52px; }
}

/* Room controls: two tidy rows that fill the width. */
.hp-room-ctl .hp-seg { flex: 1; }
.hp-room-ctl .hp-seg button { flex: 1; text-align: center; }
.hp-room-ctl-finish .hp-seg { max-width: none; }
.hp-room-ctl { flex-wrap: nowrap; }
@media (min-width: 901px) { .hp-room-ctl .hp-seg { flex: 0 1 auto; } .hp-room-ctl .hp-seg button { flex: 0 1 auto; } .hp-room-ctl:not(.hp-room-ctl-finish) { justify-content: space-between; } }
@media (max-width: 560px) { .hp-shuffle { padding: 8px 12px; white-space: nowrap; } .hp-seg button { padding: 8px 10px; } }

/* The banner carries text, so it must never be cropped by a zoom while loading. */
.hp-banner img { animation: none; transform: none; }


/* ── Form on phones: compact header, 16px inputs (stops iOS zooming in on focus), roomier step-2 controls ── */
@media (max-width: 560px) {
    .hp-hero-form .hp-form-title { font-size: 20px; padding-right: 64px; margin-bottom: 10px; }
    .hp-hero-form .hp-form-sub { display: none; }
    .hp-house { width: 52px; height: 44px; top: 36px; right: 18px; }
    .hp-meter { margin-bottom: 14px; }
    .hp-steps-ind { margin-bottom: 12px; }
    .hp-hero-form .hp-field input, .hp-datefield input[type=date], .hp-phone input { font-size: 16px; }
    .hp-stepbox { gap: 16px; }
    .hp-chip { padding: 10px 2px; }
    .hp-chip b { font-size: 13px; }
    .hp-chip small { font-size: 11.5px; }
    .hp-choice span { padding: 11px 14px; }
    .hp-form .hp-btn-primary { padding: 17px 24px; font-size: 17px; }
    .hp-back { padding: 12px; }
}

/* Consent: the error drops onto its own line under the checkbox text. */
.hp-consent { flex-wrap: wrap; }
.hp-consent .hp-err { flex: 0 0 100%; margin: 0 0 0 30px; }
.hp-datefield .hp-err { margin-top: 0; }

/* Success state: the check pops in with a ring, then the text follows. */
@keyframes hp-ok-pop { 0% { transform: scale(.3); opacity: 0; } 60% { transform: scale(1.15); opacity: 1; } 100% { transform: scale(1); } }
@keyframes hp-ok-ring { from { transform: scale(.6); opacity: .6; } to { transform: scale(1.9); opacity: 0; } }
.hp-success { padding: 36px 8px 28px; }
.hp-success > i { position: relative; width: 64px; height: 64px; color: #16a34a; animation: hp-ok-pop .6s cubic-bezier(.3,1.5,.5,1) both; }
.hp-success::before { content: ""; position: absolute; left: 50%; top: 36px; width: 64px; height: 64px; margin-left: -32px; border-radius: 50%; border: 3px solid #16a34a; animation: hp-ok-ring 1.2s ease-out .3s both; pointer-events: none; }
.hp-success h2, .hp-success p, .hp-success .hp-btn { animation: hp-up .6s cubic-bezier(.2,.8,.2,1) .45s both; }
.hp-hero-form .hp-form-card:has(.hp-success) { position: relative; }
@media (prefers-reduced-motion: reduce) { .hp-success::before { display: none; } }


/* ── Tablets (561 to 900px) ── */
@media (min-width: 561px) and (max-width: 900px) {
    /* The tall poster would be taller than the screen at full width. */
    .hp-banner picture { display: block; text-align: center; }
    .hp-banner img { width: auto; max-width: 100%; height: auto; max-height: none; }
    .hp-banner picture img { width: min(100%, 440px); margin: 0 auto; }
}
@media (min-width: 561px) and (max-width: 800px) {
    /* Package cards: details beside the price instead of one tall stretched column. */
    .hp-package { display: grid; grid-template-columns: 1fr 1.25fr; grid-template-rows: auto auto auto; column-gap: 32px; row-gap: 10px; align-items: start; padding: 28px 32px; }
    .hp-package h3 { grid-column: 1; grid-row: 1; }
    .hp-package .hp-package-price { grid-column: 1; grid-row: 2; }
    .hp-package ul { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
    .hp-package .hp-btn { grid-column: 1 / -1; grid-row: 3; margin-top: 6px; }
    .hp-package.match h3 { padding-right: 0; }
    .hp-package.match::before { right: 20px; }
    .hp-packages { gap: 16px; }
}


/* ── Closing section ── */
.hp-cta.hp-cta-final { position: relative; overflow: hidden; background: var(--dark); color: #fff; padding: 80px 0 72px; text-align: center; }
.hp-cta-final::before, .hp-cta-final::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.hp-cta-final::before { width: 420px; height: 420px; left: -140px; top: -170px; border: 2px solid rgba(255,193,7,.22); }
.hp-cta-final::after { width: 360px; height: 360px; right: -120px; bottom: -190px; border: 2px solid rgba(255,255,255,.1); }
.hp-cta-final-inner { position: relative; z-index: 1; max-width: 760px; display: block; }
.hp-cta-eyebrow { margin: 0 0 12px; font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.hp-cta-final h2 { margin: 0 0 14px; font-size: 42px; line-height: 1.1; letter-spacing: -.02em; color: #fff; }
.hp-cta-lead { margin: 0 auto 30px; max-width: 560px; font-size: 17px; line-height: 1.55; color: rgba(255,255,255,.75); }
.hp-cta-final .hp-cta-actions { justify-content: center; gap: 12px; margin-bottom: 28px; }
.hp-btn-cta { background: var(--accent); color: var(--dark); padding: 16px 28px; font-size: 17px; }
.hp-btn-cta:hover { background: #ffd23f; }
.hp-btn-line { background: none; color: #fff; border: 1.5px solid rgba(255,255,255,.4); padding: 16px 22px; }
.hp-btn-line:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.hp-cta-final .hp-btn i { font-size: 1.05em; }
.hp-cta-ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; font-size: 14px; color: rgba(255,255,255,.7); }
.hp-cta-ticks li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 9px 2px 0; border-radius: 50%; background: var(--accent); }
@media (max-width: 800px) {
    .hp-cta.hp-cta-final { padding: 56px 0 52px; }
    .hp-cta-final h2 { font-size: 32px; }
    .hp-cta-lead { font-size: 16px; }
    .hp-cta-final .hp-cta-actions { flex-direction: column; align-items: stretch; max-width: 360px; margin: 0 auto 24px; }
    .hp-cta-final .hp-btn { width: 100%; }
    .hp-cta-ticks { flex-direction: column; gap: 6px; align-items: center; }
}
.hp-cta-final .hp-cta-eyebrow { color: var(--accent); margin: 0 0 12px; }
.hp-cta-final .hp-cta-lead { color: rgba(255,255,255,.78); margin: 0 auto 30px; }
@media (max-width: 800px) { .hp-cta-final .hp-cta-lead { margin-bottom: 26px; } }


/* ── GSAP-driven effects (only active when the script loads: html.gsap-on) ── */
.hp-steps { --p: 0; position: relative; }
@media (min-width: 1025px) {
    .gsap-on .hp-step::after { display: none; }
    .gsap-on .hp-steps::before { content: ""; position: absolute; left: 0; right: 0; top: 30px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--accent) 0, var(--accent) 100%) no-repeat, #D5D8E3; background-size: calc(var(--p) * 100%) 100%, 100% 100%; z-index: 0; }
    .gsap-on .hp-step { z-index: 1; }
}
.gsap-on .hp-step { transition: border-color .4s ease, box-shadow .4s ease, transform .25s ease; }
.gsap-on .hp-step.active { border-color: var(--accent); box-shadow: 0 10px 28px rgba(255,193,7,.18); }
.gsap-on .hp-step.active .hp-step-num { background: var(--dark); color: #fff; }
.gsap-on .hp-step.active .hp-step-icon { color: #B27F00; }
.gsap-on .hp-package:hover .hp-wm { transform: none; }
.gsap-on .hp-cta-final::before { transform: translateY(calc(var(--py1, 0) * 1px)); }
.gsap-on .hp-cta-final::after { transform: translateY(calc(var(--py2, 0) * 1px)); }

/* Paint drips wait for the form intro (when GSAP is running) before they start to run. */
.gsap-on .hp-drips:not(.go) i { animation-play-state: paused; }


/* ── Home-size tiles: equal height, labels never wrap (also on phones with larger text) ── */
.hp-choice.hp-sizes { align-items: stretch; flex-wrap: wrap; gap: 8px; }
.hp-choice.hp-sizes .hp-tile { display: flex; flex: 1 1 0; min-width: 0; }
.hp-choice.hp-sizes .hp-tile span { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 14px 4px; min-width: 0; }
.hp-tile b { white-space: nowrap; font-size: 17px; line-height: 1.2; }
.hp-tile small { white-space: nowrap; font-size: 12px; line-height: 1.2; }
.hp-tile .hp-sq { display: block; }
@media (max-width: 380px) { .hp-tile b { font-size: 16px; } .hp-tile small { font-size: 11px; } }


/* ── Get an estimate ── */
.hp-est { max-width: 980px; margin: 0 auto; }
.hp-est-group { border: 0; margin: 0 0 28px; padding: 0; min-width: 0; }
.hp-est-group legend { padding: 0; margin: 0 0 14px; font-size: 18px; font-weight: 800; }
.hp-est-cards { display: grid; gap: 14px; }
.hp-est-cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hp-est-cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hp-est-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1.5px solid var(--hp-line, #E6E8F0); border-radius: 14px; overflow: hidden; cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.hp-est-card input { position: absolute; opacity: 0; pointer-events: none; }
.hp-est-band { display: block; height: 78px; background: var(--band); transition: height .25s ease; }
.hp-est-card-damage .hp-est-band { height: 56px; }
.hp-est-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; }
.hp-est-body b { font-size: 17px; font-weight: 700; line-height: 1.25; }
.hp-est-body em { font-style: normal; font-size: 20px; font-weight: 800; }
.hp-est-card:hover { border-color: var(--dark); transform: translateY(-2px); }
.hp-est-card:has(input:checked) { border-color: var(--dark); box-shadow: 0 0 0 2px var(--dark), 0 10px 24px rgba(26,26,46,.12); }
.hp-est-card:has(input:checked)::after { content: "\2713"; position: absolute; top: 10px; right: 10px; width: 26px; height: 26px; border-radius: 50%; background: var(--dark); color: var(--accent); font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.hp-est-card:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 3px; }
.hp-est-total { display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--dark); color: #fff; border-radius: 16px; padding: 22px 28px; margin-top: 8px; }
.hp-est-sum { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hp-est-sum small { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.hp-est-sum strong { font-size: 32px; line-height: 1.15; font-weight: 800; }
.hp-est-sum span { font-size: 14px; color: rgba(255,255,255,.72); }
.hp-est-total .hp-btn { flex: 0 0 auto; }
.hp-estchip-icon { flex: 0 0 22px; height: 22px; border-radius: 50%; background: var(--accent); color: var(--dark); font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.hp-ba.hp-section-white { background: #fff; }
.hp-colour .hp-room-wrap { background: #fff; }

@media (max-width: 900px) {
    .hp-est-cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .hp-est-cards-3 { grid-template-columns: 1fr; }
    .hp-est-card-damage { flex-direction: row; }
    .hp-est-card-damage .hp-est-band { width: 14px; height: auto; flex: 0 0 14px; }
    .hp-est-card-damage .hp-est-body { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 44px 14px 16px; flex: 1; }
    .hp-est-body b { font-size: 16px; }
    .hp-est-band { height: 54px; }
    .hp-est-total { flex-direction: column; align-items: stretch; gap: 16px; padding: 20px; }
    .hp-est-sum strong { font-size: 28px; }
    .hp-est-total .hp-btn { width: 100%; }
}
.hp-est-body em { white-space: nowrap; }
@media (max-width: 640px) { .hp-est-card-damage .hp-est-body b { min-width: 0; } .hp-est-card-damage .hp-est-body em { font-size: 18px; } }


/* ── Form: step 2 (paint and walls) and the 3-step flow ── */
.hp-multistep .hp-form:not(.hp-all) .hp-step3 { display: none; }
.hp-multistep .hp-form:not(.hp-all).step3 .hp-step1,
.hp-multistep .hp-form:not(.hp-all).step3 .hp-step2 { display: none; }
.hp-multistep .hp-form:not(.hp-all).step3 .hp-step3 { display: grid; }
.hp-steps-ind span { white-space: nowrap; }
.hp-steps-ind { flex-wrap: wrap; gap: 8px 10px; }
.hp-steps-ind i { flex: 0 0 18px; }

.hp-step-note { margin: 0; font-size: 14px; line-height: 1.5; color: #565B6E; }
.hp-choice.hp-fp, .hp-choice.hp-fd { gap: 8px; }
.hp-opt { display: block; cursor: pointer; }
.hp-opt input { position: absolute; opacity: 0; pointer-events: none; }
.hp-opt span { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 1.5px solid var(--border-1); border-radius: 12px; background: #fff; transition: all .15s ease; }
.hp-opt b { font-size: 15px; font-weight: 700; line-height: 1.25; }
.hp-opt small { font-size: 13px; font-weight: 600; color: #565B6E; white-space: nowrap; }
.hp-opt:hover span { border-color: var(--dark); }
.hp-opt input:checked + span { background: var(--accent); border-color: var(--accent); box-shadow: 0 6px 16px rgba(255,193,7,.35); }
.hp-opt input:checked + span small { color: var(--dark); }
.hp-opt input:focus-visible + span { outline: 2px solid var(--dark); outline-offset: 2px; }
.hp-fp .hp-opt { flex: 1 1 calc(50% - 8px); }
.hp-fd .hp-opt { flex: 1 1 100%; }
.hp-fd .hp-opt span { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; }
.hp-form-total { display: flex; align-items: baseline; gap: 10px; padding: 12px 16px; background: var(--dark); color: #fff; border-radius: 12px; }
.hp-form-total[hidden] { display: none; }
.hp-form-total small { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.hp-form-total strong { font-size: 22px; font-weight: 800; }
.hp-linkbtn { margin-left: auto; border: 0; background: none; color: rgba(255,255,255,.75); font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; }
.hp-linkbtn:hover { color: #fff; }
.hp-opt input:checked + span { transform: none; }


/* ── How painting works: vertical list with a dotted line ── */
.hp-flow-wrap { max-width: 640px; }
.hp-flow-title { margin: 0 0 36px; font-size: 32px; line-height: 1.15; font-weight: 800; letter-spacing: -.015em; color: var(--dark); }
.hp-flow { --p: 0; list-style: none; margin: 0; padding: 0; position: relative; }
.hp-flow-item { position: relative; display: flex; align-items: center; gap: 24px; padding-bottom: 44px; }
.hp-flow-item:last-child { padding-bottom: 0; }
/* dotted line to the next step, with a yellow line growing over it as you scroll */
.hp-flow-item:not(:last-child)::before { content: ""; position: absolute; left: 49px; top: 100px; bottom: 0; width: 0; border-left: 2px dotted #C5C9D6; }
.hp-flow-item:not(:last-child)::after { content: ""; position: absolute; left: 49px; top: 100px; bottom: 0; width: 2px; margin-left: -1px; background: var(--accent); transform: scaleY(0); transform-origin: top; transition: transform .7s ease; }
.hp-flow-item.active:not(:last-child)::after { transform: scaleY(1); }
html:not(.gsap-on) .hp-flow-item:not(:last-child)::after { display: none; }
.hp-flow-icon { flex: 0 0 100px; width: 100px; height: 100px; border-radius: 50%; background: #F3F4F7; display: flex; align-items: center; justify-content: center; transition: background .4s ease, transform .4s cubic-bezier(.3,1.5,.5,1); position: relative; z-index: 1; }
.hp-flow-icon i { font-size: 36px; color: var(--dark); transition: color .3s ease; }
.hp-flow-item.active .hp-flow-icon { background: var(--accent); transform: scale(1.04); }
.hp-flow-text h3 { margin: 0 0 4px; font-size: 22px; font-weight: 700; color: #3f4254; }
.hp-flow-text p { margin: 0; font-size: 16px; line-height: 1.5; color: #565B6E; }
@media (max-width: 560px) {
    .hp-flow-title { font-size: 26px; margin-bottom: 28px; }
    .hp-flow-item { gap: 16px; padding-bottom: 32px; }
    .hp-flow-icon { flex-basis: 72px; width: 72px; height: 72px; }
    .hp-flow-icon i { font-size: 26px; }
    .hp-flow-item:not(:last-child)::before, .hp-flow-item:not(:last-child)::after { left: 35px; top: 72px; }
    .hp-flow-text h3 { font-size: 18px; }
    .hp-flow-text p { font-size: 15px; }
}


/* ═══ Booking flow v2: 3 steps, layouts, 5 paint tiers, add-ons, live total ═══ */
.hp-step-title { margin: 0; font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.hp-steps-ind span { font-size: 12px; }
.hp-help { margin: 0; font-size: 13px; line-height: 1.5; color: #565B6E; }
.hp-skip { background: none; border: 0; font: inherit; font-size: 14px; font-weight: 600; color: #565B6E; text-decoration: underline; cursor: pointer; padding: 6px; justify-self: center; }
.hp-skip:hover { color: var(--dark); }
@media (max-width: 560px) {
    .hp-steps-ind span:not(.on) { font-size: 0; gap: 0; }
    .hp-steps-ind span:not(.on) b { font-size: 12px; }
}

/* Step 1: layouts */
.hp-layouts { border: 0; margin: 0; padding: 0; min-width: 0; }
.hp-layouts legend { padding: 0; margin: 0 0 10px; font-size: 13px; font-weight: 700; }
.hp-layouts legend small { font-weight: 500; color: #565B6E; }
.hp-layoutgroup { display: grid; gap: 8px; }
.hp-layoutgroup[hidden] { display: none; }
.hp-lay { display: block; cursor: pointer; }
.hp-lay input { position: absolute; opacity: 0; pointer-events: none; }
.hp-lay-in { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 1.5px solid var(--border-1); border-radius: 12px; background: #fff; transition: all .15s ease; }
.hp-lay-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.hp-lay-top b { font-size: 16px; font-weight: 700; }
.hp-lay-top em { font-style: normal; font-size: 13px; font-weight: 800; color: #565B6E; white-space: nowrap; }
.hp-lay-in small { font-size: 13px; color: #565B6E; line-height: 1.4; }
.hp-lay-desc { color: #7a7f90; }
.hp-lay:hover .hp-lay-in { border-color: var(--dark); }
.hp-lay input:checked + .hp-lay-in { background: #FFF8DC; border-color: var(--accent); box-shadow: 0 0 0 1.5px var(--accent); }
.hp-lay input:checked + .hp-lay-in .hp-lay-top em { color: var(--dark); }
.hp-lay input:focus-visible + .hp-lay-in { outline: 2px solid var(--dark); outline-offset: 2px; }

/* Step 2: toggle */
.hp-toggle { display: flex; gap: 8px; }
.hp-toggle button { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 10px; border: 1.5px solid var(--border-1); border-radius: 12px; background: #fff; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; transition: all .15s ease; }
.hp-toggle button:hover { border-color: var(--dark); }
.hp-toggle button[aria-pressed="true"] { background: var(--dark); border-color: var(--dark); color: #fff; }
.hp-toggle i { font-size: 14px; }

/* Step 2: five paint tiers */
.hp-tiers { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 10px; }
.hp-tiers legend { padding: 0; margin: 0 0 8px; font-size: 13px; font-weight: 700; }
.hp-tier { position: relative; display: block; cursor: pointer; }
.hp-tier input { position: absolute; opacity: 0; pointer-events: none; }
.hp-tier-in { display: block; padding: 14px 16px; border: 1.5px solid var(--border-1); border-radius: 14px; background: #fff; transition: all .2s ease; }
.hp-tier-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.hp-tier-name { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.hp-tier-name strong { font-size: 15px; font-weight: 800; line-height: 1.3; }
.hp-badge { align-self: flex-start; font-style: normal; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: #EEF0F6; color: #3f4254; }
.hp-tier[data-tier="3"] .hp-badge { background: #DDF3E4; color: #166534; }
.hp-tier[data-tier="5"] .hp-badge { background: #FBE9B0; color: #7a5200; }
.hp-tier-price { font-size: 19px; font-weight: 800; white-space: nowrap; }
.hp-tier-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed #DDE1EC; font-size: 12.5px; line-height: 1.4; color: #3f4254; }
.hp-tier-meta span { display: flex; flex-direction: column; gap: 1px; }
.hp-tier-meta b { font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #7a7f90; }
.hp-tier-use { grid-column: 1 / -1; }
.hp-tier:hover .hp-tier-in { border-color: var(--dark); }
.hp-tier input:checked + .hp-tier-in { border-color: var(--dark); box-shadow: 0 0 0 2px var(--dark), 0 10px 24px rgba(26,26,46,.1); background: #FFFDF4; }
.hp-tier input:checked + .hp-tier-in::after { content: "\2713"; position: absolute; top: -9px; right: 14px; width: 24px; height: 24px; border-radius: 50%; background: var(--dark); color: var(--accent); font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.hp-tier input:focus-visible + .hp-tier-in { outline: 3px solid var(--accent); outline-offset: 3px; }
.hp-tier.rec .hp-tier-in { border-color: var(--accent); background: #FFFBEA; }
.hp-tier.rec .hp-tier-in::before { content: "Suggested for you"; position: absolute; top: -9px; left: 14px; padding: 2px 9px; border-radius: 999px; background: var(--accent); color: var(--dark); font-size: 10.5px; font-weight: 800; letter-spacing: .04em; }
.has-rec .hp-tier:not(.rec) .hp-tier-in { opacity: .72; }

/* Step 2: add-ons */
.hp-addons { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 8px; }
.hp-addons legend { padding: 0; margin: 0 0 8px; font-size: 13px; font-weight: 700; }
.hp-addons legend small { font-weight: 500; color: #565B6E; }
.hp-addon { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px; border: 1.5px solid var(--border-1); border-radius: 12px; background: #fff; }
.hp-addon-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hp-addon-text b { font-size: 14.5px; font-weight: 700; }
.hp-addon-text small { font-size: 12.5px; line-height: 1.45; color: #565B6E; }
.hp-counter { display: inline-flex; align-items: center; flex: 0 0 auto; border: 1.5px solid var(--border-1); border-radius: 999px; overflow: hidden; background: #fff; }
.hp-counter button { width: 38px; height: 38px; border: 0; background: #F3F4F7; font: inherit; font-size: 20px; line-height: 1; font-weight: 700; cursor: pointer; }
.hp-counter button:hover { background: var(--accent); }
.hp-counter input { width: 40px; height: 38px; border: 0; text-align: center; font: inherit; font-size: 16px; font-weight: 800; background: #fff; -moz-appearance: textfield; padding: 0; }
.hp-counter input::-webkit-outer-spin-button, .hp-counter input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.hp-addon-check { cursor: pointer; justify-content: flex-start; align-items: flex-start; }
.hp-addon-check input { width: 20px; height: 20px; margin-top: 2px; flex: 0 0 20px; accent-color: var(--dark); }
.hp-addon-check:has(input:checked) { border-color: var(--dark); background: #FFFDF4; }
.hp-note { margin: 4px 0 0; font-size: 12.5px; line-height: 1.5; color: #565B6E; }

/* The live total stays at the bottom of the screen while you choose */
.hp-form-total { position: sticky; bottom: 10px; z-index: 6; display: flex; flex-direction: column; gap: 4px; padding: 12px 16px; background: var(--dark); color: #fff; border-radius: 14px; box-shadow: 0 10px 28px rgba(26,26,46,.3); }
.hp-form-total-main { display: flex; align-items: baseline; gap: 10px; }
.hp-form-total small { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.hp-form-total strong { font-size: 26px; font-weight: 800; line-height: 1.1; }
.hp-form-break { font-size: 12px; color: rgba(255,255,255,.72); line-height: 1.4; }
.hp-form-total.is-empty strong { color: rgba(255,255,255,.5); }

/* Step 3: summary of what they chose */
.hp-summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; background: #FFF8DC; border: 1.5px solid var(--accent); border-radius: 12px; }
.hp-summary[hidden] { display: none; }
.hp-summary-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hp-summary-text small { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #8a6200; }
.hp-summary-text strong { font-size: 14.5px; line-height: 1.35; }
.hp-linkbtn-dark { color: var(--dark); font-weight: 700; margin-left: 0; flex: 0 0 auto; }

@media (max-width: 560px) {
    .hp-toggle { flex-direction: column; }
    .hp-addon { flex-wrap: wrap; }
    .hp-form-total strong { font-size: 24px; }
}


/* ═══ Thank-you screen, society welcome, itemised bill ═══ */
@keyframes hp-line-in { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }

/* itemised bill in the total bar */
.hp-form-total-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hp-receipt-btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: #fff; font: inherit; font-size: 13px; font-weight: 700; padding: 7px 12px; border-radius: 999px; cursor: pointer; transition: background .2s ease; }
.hp-receipt-btn:hover { background: rgba(255,255,255,.18); }
.hp-receipt-btn i { font-size: 11px; transition: transform .25s ease; }
.hp-form-total.open .hp-receipt-btn i { transform: rotate(180deg); }
.hp-form-total.is-empty .hp-receipt-btn { display: none; }
.hp-form-total.open .hp-form-break { display: none; }
.hp-receipt { list-style: none; margin: 8px 0 2px; padding: 8px 0 0; border-top: 1px dashed rgba(255,255,255,.28); display: grid; gap: 6px; font-size: 13px; }
.hp-receipt[hidden] { display: none; }
.hp-receipt li { display: flex; justify-content: space-between; gap: 14px; animation: hp-line-in .35s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i, 0) * 70ms); color: rgba(255,255,255,.85); }
.hp-receipt li b { font-weight: 700; white-space: nowrap; color: #fff; }
.hp-receipt li.is-total { margin-top: 4px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.28); font-weight: 800; color: var(--accent); font-size: 14px; }
.hp-receipt li.is-total b { color: var(--accent); }

/* society welcome */
.hp-society-badge { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; padding: 7px 13px; background: #FFF3C4; border: 1px solid #F2D56B; border-radius: 999px; font-size: 13px; color: var(--dark); animation: hp-line-in .5s ease both; }
.hp-society-badge i { font-size: 14px; color: #8a6200; }

/* thank-you screen */
.hp-success { text-align: center; }
.hp-rc { margin: 6px 0 0; padding: 4px 18px; width: 100%; max-width: 440px; text-align: left; background: var(--bg-page); border-radius: 14px; }
.hp-rc > div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid #E2E5EE; }
.hp-rc > div:first-child { border-top: 0; }
.hp-rc dt { flex: 0 0 auto; font-size: 13px; color: #565B6E; }
.hp-rc dd { margin: 0; font-size: 14.5px; font-weight: 600; text-align: right; }
.hp-rc dd small { display: block; font-weight: 400; font-size: 12px; color: #565B6E; }
.hp-success-actions { display: grid; gap: 10px; width: 100%; max-width: 440px; margin-top: 4px; }
.hp-success-actions .hp-btn { width: 100%; }
.hp-success-note { max-width: 420px; font-size: 12.5px; line-height: 1.5; color: #565B6E !important; }
@media (max-width: 560px) { .hp-rc { padding: 2px 14px; } .hp-receipt { font-size: 12.5px; } }
@media (prefers-reduced-motion: reduce) { .hp-receipt li, .hp-society-badge { animation: none; } }
.hp-form-total { align-items: stretch; }
.hp-form-total-row { width: 100%; }


/* ═══ Layout drawing, scrub test, upgrade hint ═══ */
.hp-plan { margin: 0; padding: 12px; background: var(--bg-page); border-radius: 14px; text-align: center; }
.hp-plan-svg { display: block; width: 100%; max-width: 380px; height: auto; margin: 0 auto; overflow: visible; }
.hp-plan-g { transform-origin: 50% 50%; transform-box: fill-box; transition: transform .6s cubic-bezier(.3,1.2,.4,1); }
.hp-prm { transform-box: fill-box; transform-origin: center; transition: opacity .45s ease, transform .5s cubic-bezier(.3,1.4,.5,1); }
.hp-prm rect { fill: var(--rc); stroke: rgba(26,26,46,.28); stroke-width: 1.5; transition: fill .4s ease; }
.hp-prm text { font: 700 10.5px Roboto, sans-serif; fill: #2b2d42; pointer-events: none; }
.hp-prm.off { opacity: 0; transform: scale(.6); }
.hp-plan figcaption { margin-top: 6px; font-size: 12px; color: #565B6E; }

.hp-scrub { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; padding: 4px 10px 4px 4px; border: 1px solid #DDE1EC; border-radius: 10px; background: #fff; font: inherit; cursor: pointer; text-align: left; transition: border-color .2s ease, background .2s ease; }
.hp-scrub:hover { border-color: var(--dark); background: #FAFAFC; }
.hp-scrub svg { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 7px; overflow: hidden; display: block; }
.hp-scrub .st { fill: #8B5E3C; opacity: 1; transform-box: fill-box; transform-origin: center; }
.hp-scrub .cl { fill: #fff; stroke: #C5C9D6; stroke-width: 1.5; }
.hp-scrub-t { display: flex; flex-direction: column; gap: 1px; }
.hp-scrub-t b { font-size: 12px; font-weight: 800; letter-spacing: 0; text-transform: none; color: var(--dark); }
.hp-scrub-res { font-style: normal; font-size: 11.5px; font-weight: 600; color: #565B6E; min-height: 1em; }
@keyframes hp-cloth { from { transform: translateX(0); } to { transform: translateX(86px); } }
@keyframes hp-stain-clean { 0%, 35% { opacity: 1; } 100% { opacity: 0; } }
@keyframes hp-stain-part { 0%, 35% { opacity: 1; } 100% { opacity: .22; } }
@keyframes hp-stain-smear { 0%, 35% { opacity: 1; transform: scale(1); } 100% { opacity: .7; transform: scale(1.7, 1.25); } }
.hp-scrub.run .cl { animation: hp-cloth 1.2s ease-in-out both; }
.hp-scrub.run[data-eff="clean"] .st { animation: hp-stain-clean 1.2s ease-in-out forwards; }
.hp-scrub.run[data-eff="partial"] .st { animation: hp-stain-part 1.2s ease-in-out forwards; }
.hp-scrub.run[data-eff="smear"] .st { animation: hp-stain-smear 1.2s ease-in-out forwards; }
.hp-scrub:not(.run) .cl { opacity: 0; }
.hp-scrub.done .cl { opacity: 0; }

.hp-hint { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; background: #FFF8DC; border: 1.5px solid #F2D56B; border-radius: 12px; font-size: 13.5px; line-height: 1.5; animation: hp-line-in .4s ease both; flex-wrap: wrap; }
.hp-hint[hidden] { display: none; }
.hp-hint i { flex: 0 0 18px; font-size: 18px; margin-top: 1px; color: #B27F00; }
.hp-hint span { flex: 1 1 200px; }
.hp-hint-btn { flex: 0 0 auto; margin-left: 30px; padding: 8px 14px; border: 1.5px solid var(--dark); border-radius: 999px; background: #fff; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.hp-hint-btn:hover { background: var(--dark); color: #fff; }
.hp-roomlink { font-size: 13px; font-weight: 600; color: var(--dark); text-decoration: underline; text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .hp-scrub.run .cl, .hp-scrub.run .st, .hp-hint { animation: none !important; } .hp-scrub.run[data-eff="clean"] .st { opacity: 0; } .hp-scrub.run[data-eff="partial"] .st { opacity: .22; } .hp-plan-g, .hp-prm { transition: none; } }
.hp-scrub { align-self: flex-start; }


/* ═══════════════ Paint plan builder (single scrolling page, like the prototype video) ═══════════════ */
.hb { background: var(--bg-page); padding: 40px 0 120px; }
.hb .container { max-width: 760px; }
.hb-form { display: grid; gap: 18px; }
.hb-head { text-align: center; padding: 6px 0 4px; }
.hb-head h2 { margin: 0 0 8px; font-size: 34px; line-height: 1.12; font-weight: 800; letter-spacing: -.02em; }
.hb-head p { margin: 0 auto; max-width: 560px; color: #565B6E; font-size: 15.5px; line-height: 1.55; }
.hb-card { background: #fff; border: 1px solid var(--hp-line, #E6E8F0); border-radius: 18px; padding: 22px 22px 24px; box-shadow: 0 1px 2px rgba(26,26,46,.04), 0 10px 28px rgba(26,26,46,.05); }
.hb-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.hb-card-top h3 { margin: 0 0 3px; font-size: 21px; font-weight: 800; letter-spacing: -.01em; }
.hb-card-top p { margin: 0; font-size: 13.5px; color: #565B6E; }
.hb-reset { border: 0; background: none; font: inherit; font-size: 13.5px; font-weight: 700; color: #565B6E; cursor: pointer; padding: 4px 2px; }
.hb-reset:hover { color: var(--dark); text-decoration: underline; }
.hb-help, .hb-fine { margin: 12px 0 0; font-size: 12.5px; line-height: 1.5; color: #565B6E; }
.hb-fine { padding: 10px 12px; background: var(--bg-page); border-radius: 10px; }

/* 1. flat cards */
.hb-flats { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.hb-flat { display: block; cursor: pointer; }
.hb-flat input { position: absolute; opacity: 0; pointer-events: none; }
.hb-flat-in { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 8px 8px 12px; border: 1.5px solid var(--border-1); border-radius: 14px; background: #fff; transition: all .2s ease; }
.hb-flat-img { display: flex; align-items: baseline; justify-content: center; gap: 4px; height: 76px; margin-bottom: 8px; border-radius: 9px; background: var(--fc); color: #2b2d42; align-self: stretch; align-items: center; }
.hb-flat-img b { font-size: 34px; font-weight: 800; line-height: 1; }
.hb-flat-img i { font-style: normal; font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.hb-flat-name { font-size: 16px; font-weight: 800; padding: 0 4px; }
.hb-flat-in small { font-size: 12.5px; color: #565B6E; padding: 0 4px; }
.hb-flat-in em { font-style: normal; font-size: 13.5px; font-weight: 800; padding: 4px 4px 0; }
.hb-flat-sel { display: none; margin: 6px 4px 0; font-size: 11.5px; font-weight: 800; color: #166534; }
.hb-flat:hover .hb-flat-in { border-color: var(--dark); }
.hb-flat input:checked + .hb-flat-in { border-color: var(--accent); background: #FFFBEA; box-shadow: 0 0 0 1.5px var(--accent), 0 10px 24px rgba(255,193,7,.22); }
.hb-flat input:checked + .hb-flat-in .hb-flat-sel { display: block; }
.hb-flat input:focus-visible + .hb-flat-in { outline: 3px solid var(--dark); outline-offset: 2px; }
.hb-plan-fig { margin: 0 0 18px; }

/* size */
.hb-size { padding: 16px; background: var(--bg-page); border-radius: 14px; }
.hb-size-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.hb-size-in { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; }
.hb-numwrap { display: inline-flex; align-items: center; gap: 8px; }
.hb-numwrap input { width: 120px; padding: 10px 12px; border: 1.5px solid var(--border-1); border-radius: 10px; font: inherit; font-size: 20px; font-weight: 800; background: #fff; }
.hb-numwrap input:focus { outline: 2px solid var(--accent); }
.hb-numwrap em { font-style: normal; font-size: 13px; font-weight: 600; color: #565B6E; }
.hb-quick { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.hb-quick span { font-size: 12px; font-weight: 700; color: #565B6E; margin-right: 4px; }
.hb-quick button { padding: 7px 11px; border: 1.5px solid var(--border-1); border-radius: 999px; background: #fff; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.hb-quick button:hover { border-color: var(--dark); }
#hbRange { --fill: 30%; -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--accent) var(--fill), #DADDE8 var(--fill)); outline: none; cursor: pointer; }
#hbRange::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: var(--dark); border: 4px solid var(--accent); box-shadow: 0 3px 10px rgba(0,0,0,.25); }
#hbRange::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--dark); border: 4px solid var(--accent); }
.hb-range-scale { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12px; color: #565B6E; }
.hb-band { margin: 10px 0 0; font-size: 13px; font-weight: 600; color: var(--dark); }
.hb-cond { border: 0; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.hb-cond legend { padding: 0; margin: 0 0 8px; font-size: 14px; font-weight: 800; float: left; width: 100%; }
.hb-cond label { cursor: pointer; }
.hb-cond input { position: absolute; opacity: 0; pointer-events: none; }
.hb-cond span { display: inline-block; padding: 10px 16px; border: 1.5px solid var(--border-1); border-radius: 999px; font-size: 14px; font-weight: 700; background: #fff; transition: all .15s ease; }
.hb-cond input:checked + span { background: #FFF1B8; border-color: var(--accent); box-shadow: 0 0 0 1.5px var(--accent); }
.hb-cond input:focus-visible + span { outline: 2px solid var(--dark); outline-offset: 2px; }

/* 2. paint cards (reuse the tier cards, one column) */
.hb-card .hp-toggle { margin-bottom: 14px; }
.hb-card .hp-tiers { gap: 12px; }
.hp-tier-pricebox { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; }
.hp-tier-pricebox small { font-size: 11px; color: #565B6E; font-weight: 600; }
.hb-card .hp-hint { margin-top: 14px; }
.hb-card .hp-roomlink { display: inline-block; margin-top: 12px; }

/* 3. extra work */
.hb-extras { display: grid; gap: 10px; }
.hb-extra { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1.5px solid var(--border-1); border-radius: 14px; background: #fff; }
.hb-extra-ic { flex: 0 0 52px; height: 52px; border-radius: 12px; background: #EEF0F6; display: flex; align-items: center; justify-content: center; }
.hb-extra-ic i { font-size: 22px; color: var(--dark); }
.hb-extra-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.hb-extra-text b { font-size: 15px; font-weight: 700; }
.hb-extra-text small { font-size: 12.5px; line-height: 1.4; color: #565B6E; }
.hb-extra-text em { font-style: normal; font-size: 12.5px; font-weight: 800; color: #8a6200; }
.hb-extra-check { cursor: pointer; }
.hb-extra-check input { width: 20px; height: 20px; flex: 0 0 20px; accent-color: var(--dark); }
.hb-extra-check:has(input:checked) { border-color: var(--dark); background: #FFFDF4; }
.hb-note-g { margin: 14px 0 0; padding: 12px 14px; background: #E8F5EC; border: 1px solid #BFE2CB; border-radius: 12px; font-size: 13px; line-height: 1.5; color: #1d4b2d; }

/* plan summary */
.hb-live { padding: 4px 10px; border-radius: 999px; background: #DDF3E4; color: #166534; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hb-rows { margin: 0; }
.hb-rows > div { display: flex; justify-content: space-between; gap: 18px; padding: 10px 0; border-top: 1px solid #ECEEF4; font-size: 14px; }
.hb-rows > div[hidden] { display: none; }
.hb-rows dt { color: #565B6E; flex: 0 0 auto; }
.hb-rows dd { margin: 0; font-weight: 700; text-align: right; }
.hb-lines { margin: 4px 0 0; padding: 12px 14px; background: var(--bg-page); border-radius: 12px; border: 0; }
.hb-lines li { color: #3f4254; }
.hb-lines li b { color: var(--dark); }
.hb-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 2px solid var(--dark); }
.hb-total span { font-size: 14px; font-weight: 700; }
.hb-total strong { font-size: 30px; font-weight: 800; letter-spacing: -.01em; }
.hb-actions { display: flex; gap: 10px; margin-top: 16px; }
.hb-btn-primary { flex: 1; padding: 15px 20px; border: 0; border-radius: 12px; background: var(--accent); color: var(--dark); font: inherit; font-size: 16px; font-weight: 800; cursor: pointer; box-shadow: 0 6px 16px rgba(255,193,7,.35); transition: background .2s ease, transform .15s ease; }
.hb-btn-primary:hover { background: #ffd23f; }
.hb-btn-primary:active { transform: translateY(1px); }
.hb-btn-ghost { flex: 0 0 auto; padding: 15px 18px; border: 1.5px solid var(--border-1); border-radius: 12px; background: #fff; font: inherit; font-size: 14.5px; font-weight: 700; cursor: pointer; }
.hb-btn-ghost:hover { border-color: var(--dark); }
.hb-warn { margin: 12px 0 0; padding: 10px 12px; background: #FFF4E5; border: 1px solid #F4D3A1; border-radius: 10px; font-size: 12.5px; color: #7a4a00; }
.hb-warn[hidden] { display: none; }

/* sticky estimate bar */
.hb-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 920; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -8px 24px rgba(26,26,46,.14); }
.hb-bar[hidden] { display: none; }
.hb-bar-sum { display: flex; flex-direction: column; line-height: 1.1; }
.hb-bar-sum small { font-size: 11.5px; color: #565B6E; font-weight: 600; }
.hb-bar-sum strong { font-size: 24px; font-weight: 800; }
.hb-bar .hb-btn-primary { flex: 0 0 auto; padding: 13px 22px; font-size: 15px; }
@media (min-width: 900px) { .hb-bar { left: 50%; right: auto; width: 560px; margin-left: -280px; bottom: 16px; border-radius: 18px; padding: 12px 18px; } }

/* booking pop-up */
body.hb-lock { overflow: hidden; }
.hb-modal { position: fixed; inset: 0; z-index: 1100; background: rgba(15,18,38,.55); display: flex; align-items: flex-end; justify-content: center; padding: 0; overflow-y: auto; }
.hb-modal[hidden] { display: none; }
.hb-modal-box { width: 100%; max-width: 520px; max-height: 94vh; overflow-y: auto; background: #fff; border-radius: 22px 22px 0 0; padding: 22px 22px 26px; display: grid; gap: 14px; animation: hb-up .3s cubic-bezier(.2,.8,.2,1) both; }
@keyframes hb-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (min-width: 640px) { .hb-modal { align-items: center; padding: 24px; } .hb-modal-box { border-radius: 22px; } }
.hb-modal-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.hb-modal-top h3 { margin: 0; font-size: 22px; font-weight: 800; }
.hb-x { width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--bg-page); font-size: 22px; line-height: 1; cursor: pointer; }
.hb-x:hover { background: #E3E6EF; }
.hb-modal-sub { margin: -6px 0 0; font-size: 13.5px; color: #565B6E; line-height: 1.5; }
.hb-modal-sum { padding: 10px 12px; background: #FFF8DC; border: 1.5px solid var(--accent); border-radius: 10px; font-size: 13.5px; font-weight: 700; }
.hb-modal-sum[hidden] { display: none; }
.hb-modal .hp-field input, .hb-modal .hp-field textarea { font: inherit; font-size: 16px; padding: 12px 14px; border: 1.5px solid transparent; border-radius: 10px; background: var(--bg-page); width: 100%; font-weight: 400; }
.hb-modal .hp-field textarea { resize: vertical; }
.hb-modal .hp-field input:focus, .hb-modal .hp-field textarea:focus { outline: 0; border-color: var(--dark); background: #fff; box-shadow: 0 0 0 4px rgba(255,193,7,.3); }
.hb-modal .hp-phone input { border: 0; background: none; box-shadow: none; padding-left: 8px; }
.hb-modal .hp-datechips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.hb-submit { flex: none; width: 100%; }

/* thank-you inside the builder */
.hb-done { padding: 0; border: 0; box-shadow: none; background: none; }
.hb-successwrap { position: relative; background: #fff; border-radius: 18px; padding: 24px 22px; box-shadow: 0 10px 28px rgba(26,26,46,.08); overflow: hidden; }
.hb-successwrap .hp-success { text-align: center; }

@media (max-width: 640px) {
    .hb { padding: 24px 0 110px; }
    .hb-head h2 { font-size: 27px; }
    .hb-card { padding: 18px 16px 20px; border-radius: 16px; }
    .hb-card-top h3 { font-size: 19px; }
    .hb-flats { gap: 8px; }
    .hb-flat-img { height: 60px; }
    .hb-flat-img b { font-size: 28px; }
    .hb-flat-name { font-size: 15px; }
    .hb-flat-in small { font-size: 11.5px; }
    .hb-extra { gap: 10px; padding: 10px; }
    .hb-extra-ic { flex-basis: 44px; height: 44px; }
    .hb-actions { flex-direction: column-reverse; }
    .hb-btn-ghost { text-align: center; }
    .hb-total strong { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) { .hb-modal-box { animation: none; } }
.hb-plan-fig { width: 100%; max-width: none; box-sizing: border-box; }
@media (max-width: 640px) {
    .hb-extra { flex-wrap: wrap; }
    .hb-extra-text { flex: 1 1 calc(100% - 60px); }
    .hb-extra .hp-counter { margin-left: 54px; }
    .hb-extra-check .hb-extra-text { flex: 1 1 calc(100% - 100px); }
}

/* Home condition: three clear choices with a short explanation each */
.hb-cond { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.hb-cond legend { grid-column: 1 / -1; float: none; margin-bottom: 2px; }
.hb-cond label { display: block; }
.hb-cond span { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 12px 14px; border-radius: 12px; }
.hb-cond span b { font-size: 14.5px; font-weight: 800; }
.hb-cond span small { font-size: 12px; font-weight: 500; line-height: 1.35; color: #565B6E; }
.hb-cond input:checked + span small { color: var(--dark); }
@media (max-width: 640px) { .hb-cond { grid-template-columns: 1fr; } .hb-cond span { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 10px; } }


/* ── Desktop: steps on the left, the live plan stays in view on the right (no empty sides) ── */
@media (min-width: 1100px) {
    .hb { padding-bottom: 72px; }
    .hb .container { max-width: 1200px; }
    .hb-form { grid-template-columns: minmax(0, 1fr) 390px; column-gap: 28px; align-items: start; }
    .hb-head { grid-column: 1 / -1; }
    .hb-form > #hbFlat, .hb-form > #hbPaint, .hb-form > #hbExtra { grid-column: 1; }
    .hb-form > #hbSummary { grid-column: 2; grid-row: 2 / span 3; position: sticky; top: 96px; align-self: start; }
    .hb-bar { display: none !important; }
    .hb-flat-img { height: 84px; }
}
@media (min-width: 1500px) { .hb .container { max-width: 1260px; } .hb-form { grid-template-columns: minmax(0, 1fr) 420px; } }

/* The site sets overflow on <html> and <body>, which stops position: sticky from working. "clip" hides sideways overflow the same way without making body a scroll box. */
html:has(body.painting-page) { overflow-x: clip; overflow-y: visible; }
body.painting-page { overflow-x: clip; overflow-y: visible; }

/* flat cards now show a picture of a typical flat */
.hb-flat-img { display: block; height: auto; aspect-ratio: 4 / 3; margin-bottom: 8px; padding: 0; background: #EEF0F6; overflow: hidden; border-radius: 9px; }
.hb-flat-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hb-help-img { margin: -6px 0 16px; font-size: 12px; color: #7a7f90; }
@media (min-width: 1100px) { .hb-flat-img { height: auto; } }
@media (max-width: 640px) { .hb-flat-img { height: auto; } .hb-help-img { margin-top: -4px; } }


/* paint cards get a small picture that shows the finish */
.hp-tier-in { display: grid; grid-template-columns: 132px minmax(0, 1fr); column-gap: 18px; align-items: start; }
.hp-tier-img { grid-row: 1 / span 2; display: block; border-radius: 10px; overflow: hidden; border: 1px solid #E3E6EF; align-self: start; }
.hp-tier-img img { display: block; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; }
.hp-tier-svg .tw { fill: var(--wall, #F3E3C3); transition: fill .4s ease; }
.hp-tier-head, .hp-tier-meta { grid-column: 2; }
.hp-tier-meta { margin-top: 10px; padding-top: 10px; }
@media (max-width: 640px) {
    .hp-tier-in { grid-template-columns: 84px minmax(0, 1fr); column-gap: 12px; }
    .hp-tier-img { grid-row: 1; }
    .hp-tier-head { grid-column: 2; }
    .hp-tier-meta { grid-column: 1 / -1; grid-row: 2; }
}

/* Designer texture showcase */
.hp-tex-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.hp-tex-card { background: #fff; border: 1px solid #E3E6EF; border-radius: 16px; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.hp-tex-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(26,26,46,.10); }
.hp-tex-card img { display: block; width: 100%; height: auto; aspect-ratio: 640 / 279; object-fit: cover; }
.hp-tex-body { padding: 16px 18px 18px; }
.hp-tex-body h3 { margin: 0 0 4px; font-size: 18px; color: var(--dark); }
.hp-tex-body p { margin: 0 0 12px; font-size: 14px; color: #5b6070; line-height: 1.5; }
.hp-tex-ask { font: inherit; font-size: 13px; font-weight: 700; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--dark); background: #fff; color: var(--dark); cursor: pointer; }
.hp-tex-ask:hover { background: var(--accent); border-color: var(--accent); }
.hp-tex-fine { margin-top: 18px; text-align: center; }
@media (max-width: 640px) { .hp-tex-grid { grid-template-columns: 1fr; gap: 14px; } }

.hb-cond { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 640px) { .hb-cond { grid-template-columns: 1fr; } }

.hb-extra-tex { display: flex; gap: 14px; align-items: flex-start; }
.hb-tex-opts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.hb-tex-opts label { cursor: pointer; }
.hb-tex-opts input { position: absolute; opacity: 0; pointer-events: none; }
.hb-tex-opts span { display: inline-block; padding: 8px 14px; border: 1.5px solid var(--border-1); border-radius: 999px; font-size: 13px; font-weight: 700; background: #fff; }
.hb-tex-opts input:checked + span { background: #FFF1B8; border-color: var(--accent); box-shadow: 0 0 0 1.5px var(--accent); }
.hb-tex-opts input:focus-visible + span { outline: 2px solid var(--dark); outline-offset: 2px; }

.hb-extra-img { flex: 0 0 112px; width: 112px; height: 76px; border-radius: 10px; object-fit: cover; display: block; background: #EEF0F6; }
@media (max-width: 640px) { .hb-extra-img { flex-basis: 76px; width: 76px; height: 58px; } }

/* Slim starting-prices strip (replaces the long packages section) */
.hp-prices { background: var(--bg-page); padding: 28px 0 8px; text-align: center; }
.hp-prices-t { margin: 0 0 12px; font-size: 14px; color: #565B6E; font-weight: 600; }
.hp-prices-list { list-style: none; margin: 0 auto 12px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.hp-prices-list li { display: flex; gap: 8px; align-items: baseline; padding: 10px 18px; background: #fff; border: 1px solid #E3E6EF; border-radius: 999px; font-size: 15px; }
.hp-prices-list b { font-weight: 800; }
.hp-prices-list span { color: #8a6200; font-weight: 800; }
.hp-prices-link { font-size: 14px; font-weight: 700; color: var(--dark); text-decoration: underline; text-underline-offset: 3px; }
/* Progress */
.hb-prog { display: block; }
.hb-prog-t { display: block; font-size: 11.5px; font-weight: 700; color: #565B6E; margin-bottom: 5px; }
.hb-prog-bar { display: block; height: 5px; border-radius: 99px; background: #E3E6EF; overflow: hidden; }
.hb-prog-f { display: block; height: 100%; width: 8%; border-radius: 99px; background: var(--accent); transition: width .45s ease; }
.hb-bar-sum .hb-prog { width: 150px; margin-bottom: 6px; }
.hb-plan > .hb-prog { margin: 0 0 14px; }
@media (max-width: 640px) {
    .hb-extra .hb-extra-img { flex: 0 0 76px; }
    .hb-extra .hb-extra-text { flex: 1 1 calc(100% - 100px); }
    .hb-extra .hp-counter { margin-left: 90px; }
    .hb-extra-tex .hb-extra-text, .hb-extra-check .hb-extra-text { flex: 1 1 calc(100% - 100px); }
}

/* Texture cards: swipe sideways on a phone instead of a tall stack */
@media (max-width: 640px) {
    .hp-tex-grid { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; margin: 22px -16px 0; padding: 4px 16px 14px; scrollbar-width: none; }
    .hp-tex-grid::-webkit-scrollbar { display: none; }
    .hp-tex-card { flex: 0 0 78%; scroll-snap-align: center; }
    .hp-tex-card:hover { transform: none; }
    .hp-tex-hint { display: block; text-align: center; font-size: 12px; color: #565B6E; margin: 0 0 4px; }
}
.hp-tex-hint { display: none; }
@media (max-width: 640px) { .hp-tex-hint { display: block; } }

/* Wide screens: let the builder use the whole width */
@media (min-width: 1100px) {
    .hb .container { max-width: min(1760px, 96vw); width: 96vw; }
    .hb-form { grid-template-columns: minmax(0, 1fr) 440px; column-gap: 32px; }
}
@media (min-width: 1500px) {
    .hb .container { max-width: min(1760px, 96vw); }
    .hb-form { grid-template-columns: minmax(0, 1fr) 480px; }
    .hb-extras { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hb-extras .hb-extra-tex, .hb-extras .hb-extra-check { grid-column: 1 / -1; }
}

/* ── Diwali mood (all created by script, so nothing shows without it) ── */
.hp-dw-greet { position: fixed; left: 0; right: 0; top: 38%; z-index: 10000; pointer-events: none; text-align: center; opacity: 0; line-height: 1.15; }
.hp-dw-greet b { display: block; font: 800 clamp(34px, 7vw, 76px)/1.1 'Playfair Display', Georgia, serif; background: linear-gradient(180deg, #FFF3C4, #FFC107 55%, #FF8F00); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 18px rgba(255, 160, 0, .75)); }
.hp-dw-greet small { display: block; margin-top: 8px; font-size: clamp(13px, 2vw, 18px); font-weight: 700; letter-spacing: .08em; color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .7); }
.hp-dw-diya { display: block; font-size: clamp(34px, 6vw, 60px); filter: drop-shadow(0 0 18px rgba(255, 193, 7, .9)); }
.hp-dw-petal { position: fixed; top: 0; z-index: 9998; pointer-events: none; border-radius: 80% 20% 80% 20%; opacity: .85; box-shadow: inset -2px -2px 3px rgba(190, 80, 0, .35); }
.hp-dw-lights { position: absolute; left: 0; top: 0; width: 100%; height: clamp(26px, 4vw, 56px); z-index: 3; pointer-events: none; overflow: visible; }
.hp-dw-wire { fill: none; stroke: rgba(255, 224, 130, .55); stroke-width: 2; vector-effect: non-scaling-stroke; }
.hp-dw-bulb { filter: drop-shadow(0 0 7px currentColor); }
.hp-dw-diyas { position: absolute; left: 3%; bottom: 2%; z-index: 3; display: flex; gap: 14px; align-items: flex-end; pointer-events: none; line-height: 0; }
.hp-dw-d { position: relative; width: 34px; height: 36px; display: block; }
.hp-dw-bowl { position: absolute; left: 0; right: 0; bottom: 0; height: 13px; border-radius: 0 0 40px 40px; background: linear-gradient(#E0813A, #8E3B12); box-shadow: 0 0 22px 4px rgba(255, 170, 40, .5); }
.hp-dw-flame { position: absolute; left: 50%; bottom: 11px; width: 11px; height: 22px; margin-left: -5.5px; border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%; background: radial-gradient(ellipse at 50% 75%, #FFF8E1 0 20%, #FFC107 55%, #FF6F00 100%); box-shadow: 0 0 18px 6px rgba(255, 193, 7, .7); }
.hp-dw-ember { position: absolute; top: 0; z-index: 2; pointer-events: none; border-radius: 50%; background: #FFD54F; box-shadow: 0 0 8px 2px rgba(255, 193, 7, .8); opacity: 0; }
@media (max-width: 900px) { .hp-dw-lights { height: 22px; } }

/* ── Finishing touches ── */
.hp-dw-spark { position: fixed; z-index: 9997; pointer-events: none; margin: -4px 0 0 -4px; background: #FFC107; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); filter: drop-shadow(0 0 4px rgba(255, 193, 7, .9)); }
.hp-dw-confetti { position: fixed; z-index: 9997; width: 8px; height: 14px; margin: -7px 0 0 -4px; border-radius: 2px; pointer-events: none; }
.hb-total strong { display: inline-block; }
@media (hover: hover) {
    .hp-prices-list li, .why-card { transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease; }
    .hp-prices-list li:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 10px 24px rgba(255, 193, 7, .28); }
    .why-card:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(0, 0, 0, .12); }
}

/* ── Diwali countdown strip ── */
.hp-count { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; padding: 12px 16px; background: linear-gradient(90deg, #2a1a12, #4a2a12 50%, #2a1a12); color: #fff; border-bottom: 2px solid #FFC107; text-align: center; }
.hp-count[hidden] { display: none; }
.hp-count-lbl { font-weight: 800; font-size: 15px; letter-spacing: .02em; color: #FFE082; }
.hp-count-t { display: inline-flex; gap: 8px; }
.hp-count-t b { display: inline-flex; flex-direction: column; align-items: center; min-width: 54px; padding: 6px 8px 5px; border-radius: 10px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 193, 7, .45); line-height: 1; }
.hp-count-t em { font-style: normal; font-weight: 800; font-size: 22px; color: #FFC107; font-variant-numeric: tabular-nums; }
.hp-count-t small { margin-top: 3px; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: #fff; opacity: .8; }
.hp-count-end { font-size: 13px; opacity: .85; }
@media (max-width: 640px) { .hp-count { gap: 8px; padding: 10px 12px; } .hp-count-lbl { font-size: 13px; width: 100%; } .hp-count-end { display: none; } .hp-count-t b { min-width: 48px; } .hp-count-t em { font-size: 19px; } }

/* ── Click reactions (elements are created by script and never take clicks) ── */
.hp-dw-fx { position: fixed; z-index: 9996; pointer-events: none; }
.hp-dw-ring { width: 26px; height: 26px; margin: -13px 0 0 -13px; border: 2px solid #FFC107; border-radius: 50%; box-shadow: 0 0 10px rgba(255, 193, 7, .6); }
.hp-dw-spark2 { margin: -4px 0 0 -4px; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); filter: drop-shadow(0 0 4px rgba(255, 193, 7, .9)); }
.hp-dw-drop { margin: -4px 0 0 -4px; border-radius: 50%; }
.hp-dw-float { margin: -14px 0 0 -14px; font-size: 26px; line-height: 1; font-style: normal; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .3)); }

/* ── Mobile tidy-up: shorter paint cards, one-row size chips ── */
@media (max-width: 560px) {
    .hp-tier-in { padding: 12px; }
    .hp-tier-meta { grid-template-columns: 1fr 1fr; gap: 8px 10px; font-size: 12px; margin-top: 10px; padding-top: 10px; }
    .hp-tier-meta b { font-size: 10px; }
    .hp-tier-meta .hp-scrub { margin-top: 6px; padding-right: 8px; gap: 8px; }
    .hp-tier-meta .hp-scrub svg { flex-basis: 30px; width: 30px; height: 30px; }
    .hp-tier-meta .hp-scrub-t b { font-size: 11px; letter-spacing: 0; text-transform: none; color: var(--dark); }
    .hb-quick { display: flex; flex-wrap: nowrap; gap: 6px; width: 100%; }
    .hb-quick button { flex: 1 1 0; min-width: 0; padding-left: 0; padding-right: 0; }
}

/* ── Mobile: flat cards become tidy rows (photo left, details right) ── */
@media (max-width: 560px) {
    .hb-flats { grid-template-columns: 1fr; gap: 10px; }
    .hb-flat-in { position: relative; display: grid; grid-template-columns: 104px minmax(0, 1fr); grid-template-rows: auto auto auto; column-gap: 14px; row-gap: 2px; align-content: center; align-items: center; height: auto; padding: 10px; }
    .hb-flat-img { grid-column: 1; grid-row: 1 / span 3; margin: 0; height: auto; }
    .hb-flat-name, .hb-flat-in small, .hb-flat-in em { grid-column: 2; padding: 0; }
    .hb-flat-name { grid-row: 1; font-size: 17px; align-self: end; }
    .hb-flat-in small { grid-row: 2; font-size: 13px; }
    .hb-flat-in em { grid-row: 3; font-size: 15px; padding-top: 2px; align-self: start; }
    .hb-flat-sel { position: absolute; top: 10px; right: 12px; margin: 0; padding: 2px 8px; border-radius: 999px; background: #DCFCE7; font-size: 11px; }
}
