/* Bilby's Window Cleaning — site styles, ported from the Bilbys Website v2 design (Claude Design). */

@font-face { font-family: 'Caprasimo'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/assets/fonts/caprasimo-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Caprasimo'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/assets/fonts/caprasimo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Nunito Sans'; font-style: normal; font-weight: 200 1000; font-stretch: 100%; font-display: swap;
  src: url('/assets/fonts/nunito-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Nunito Sans'; font-style: normal; font-weight: 200 1000; font-stretch: 100%; font-display: swap;
  src: url('/assets/fonts/nunito-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --red-earth: #AE3F29; --rust: #832614; --sand: #EBD5BC;
  --blue: #2A6F94; --blue-light: #B8CFDD; --blue-pale: #CDDDE7; --blue-mist: #DBE6ED; --blue-mid: #86ADC6;
  --blue-deep: #163E57; --blue-dark: #1F5878;
  --cream: #F6F3EC; --ink: #2C2B29; --black: #111110; --white: #FFFFFF;
  --line: rgba(17, 17, 16, .14); --line-strong: rgba(17, 17, 16, .2);
  --space-1: 4.4px; --space-2: 8.8px; --space-3: 13.2px; --space-4: 17.6px; --space-6: 26.4px; --space-8: 35.2px;
  --font-heading: "Caprasimo", serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; } /* classes like .btn set display and would otherwise override it */
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
@media (min-width: 760px) { body { font-size: 18px; } }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--rust); }
button, input, select, textarea { font: inherit; }
:focus { outline: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
::selection { background: var(--blue-light); }
p { text-wrap: pretty; margin: 0; }
img { max-width: 100%; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.page { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
body.ov-open { overflow: hidden; }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 999px; border: 0; font-weight: 600; font-size: 17px; cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn-primary { background: var(--red-earth); color: var(--white); }
.btn-primary:hover, .btn-primary:active { background: var(--rust); color: var(--white); }
.btn-primary:disabled { opacity: .45; cursor: not-allowed; background: var(--red-earth); }
.btn-outline { background: transparent; color: var(--blue); border: 1px solid var(--line-strong); }
.btn-outline:hover { background: var(--cream); color: var(--blue); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 16px; }
.btn-lg { padding: 0 36px; }
.btn-link { background: transparent; border: 0; color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; padding: 10px 4px; min-height: 44px; cursor: pointer; }
.btn-link:hover { color: var(--rust); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.arrow-link { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--blue); font-weight: 600; font-size: 17px; text-decoration: underline; text-underline-offset: 4px; }

/* ---- header / footer ---- */
.site-header { background: var(--white); position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); }
.site-header .inner { max-width: 1040px; margin: 0 auto; padding: 8px 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; color: var(--blue); font-weight: 600; font-size: 16px; text-decoration: none; text-underline-offset: 6px; text-decoration-thickness: 2px; white-space: nowrap; }
.nav a:hover { color: var(--rust); }
.nav a[aria-current="page"] { text-decoration: underline; }
.site-footer { background: var(--white); border-top: 1px solid var(--line); padding: 32px 20px 40px; }
.site-footer .inner { max-width: 1040px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: var(--space-6); justify-content: space-between; align-items: flex-start; }
.site-footer .logo { height: 88px; width: auto; display: block; }
.site-footer .col { display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.site-footer .col a.plain { text-decoration: none; }

/* ---- sections ---- */
.sec { padding: 48px 20px; }
.sec-top { padding: 40px 20px 48px; }
.bg-white { background: var(--white); } .bg-blue { background: var(--blue-light); } .bg-cream { background: var(--cream); }
.wrap { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--space-6); }
.wrap.tight { gap: var(--space-4); }
.h-section { font-family: var(--font-heading); font-weight: 400; color: var(--blue); font-size: clamp(28px, 5vw, 36px); line-height: 1.15; margin: 0; }
.h-section.rust { color: var(--rust); }
.h-page { font-family: var(--font-heading); font-weight: 400; color: var(--red-earth); font-size: clamp(36px, 7vw, 52px); line-height: 1.08; margin: 0; }
.h-page.blue { color: var(--blue); font-size: clamp(34px, 6.5vw, 46px); line-height: 1.1; }
.small { font-size: 15px; }

/* home hero */
.hero { padding: 32px 20px 48px; }
.hero .wrap { gap: 4px; }
.hero-lead { margin: 0 auto; max-width: 480px; font-size: 20px; line-height: 1.65; display: flex; flex-direction: column; align-items: center; gap: 32px; text-align: center; }
.hero-logo { height: 123px; width: auto; max-width: 100%; flex: none; }
.town-img { width: 100%; height: auto; border-radius: 16px; display: block; margin: 0; }
.hero-tail { margin: 0 auto; max-width: 480px; font-size: 20px; line-height: 1.65; text-align: center; }
@media (min-width: 760px) { .hero-logo { width: 460px; height: auto; } .town-img { max-width: 480px; margin: 0 auto; } }

/* service cards (home) */
.svc-list { display: flex; flex-direction: column; gap: var(--space-3); }
.svc-card { background: var(--white); border-radius: 16px; padding: var(--space-4) var(--space-6); display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: var(--space-4); align-items: center; }
.svc-card .text { display: flex; flex-direction: column; gap: 6px; }
.svc-card p { font-size: 16px; line-height: 1.5; }
.svc-card img { width: 96px; height: auto; display: block; }
.svc-card strong { color: var(--blue-dark); font-weight: 800; }
.svc-card strong.rust { color: var(--rust); }
.tier-name { font-family: var(--font-body); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: 16px; margin: 0; align-self: flex-start; display: flex; }
.tier-name span { background: var(--white); border-style: solid; border-width: 3px 0; padding: 1px 5px; font-weight: 800; color: var(--blue-dark); }
.tier-name .solo { border-color: var(--blue-light); border-width: 3px; border-radius: 999px; padding: 1px 12px; }
.tier-name .l { border-left-width: 3px; border-radius: 999px 0 0 999px; padding-left: 12px; }
.tier-name .r { border-right-width: 3px; border-radius: 0 999px 999px 0; padding-right: 12px; }
.tier-name .c-light { border-color: var(--blue-light); } .tier-name .c-dark { border-color: var(--blue-dark); }
.tier-name .c-red { border-color: var(--red-earth); color: var(--red-earth); }

/* did you know / mascot */
.card-white { background: var(--white); border-radius: 16px; padding: var(--space-6); display: flow-root; }
.dyk { font-size: 19px; line-height: 1.6; }
.dyk .h { font-family: var(--font-heading); color: var(--blue); font-size: clamp(28px, 5vw, 36px); line-height: 1.15; margin-right: 10px; }
.dyk .hl { color: var(--blue); font-weight: 600; }
.mascot-para { font-size: 20px; line-height: 1.65; display: flow-root; padding: 0 26px; }
.mascot-para img { float: left; width: 120px; height: 120px; margin: 0 12px 4px -8px; }
.mascot-para strong { color: var(--rust); font-weight: 600; }
@media (min-width: 760px) {
  .mascot-para { position: relative; padding: 0 0 0 132px; min-height: 120px; }
  .mascot-para img { position: absolute; left: -8px; top: 0; float: none; margin: 0; }
}

/* promise */
.promise { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-4); }
.promise li { display: flex; gap: var(--space-4); align-items: flex-start; }
.promise .n { flex: none; font-family: var(--font-heading); color: var(--blue); font-size: 30px; line-height: 1; }
.promise p { margin: 4px 0 0; }

/* what to expect */
.expect-grid { display: flex; flex-direction: column; gap: var(--space-6); }
@media (min-width: 760px) { .expect-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-8) var(--space-6); } }
.expect { display: flex; flex-direction: column; gap: var(--space-2); }
.expect h3 { font-family: var(--font-heading); font-weight: 400; color: var(--rust); font-size: 22px; margin: 0; }
.expect.blue h3 { color: var(--blue); }
.cta-start { display: flex; flex-direction: column; gap: var(--space-3); align-items: flex-start; margin-top: var(--space-2); }

/* about */
.john-block { display: flex; flex-direction: column; gap: var(--space-6); }
.john-block img { width: 100%; max-width: 440px; height: auto; display: block; align-self: center; }
.john-block .text { display: flex; flex-direction: column; gap: var(--space-4); }
.john-block p { font-size: 19px; line-height: 1.55; }
@media (min-width: 760px) { .john-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: var(--space-8); } }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); grid-auto-rows: 1fr; gap: var(--space-3); }
.quote { margin: 0; background: var(--white); border: 1.5px solid var(--blue); border-radius: 4px; padding: var(--space-3) var(--space-4); display: flex; flex-direction: column; gap: var(--space-2); min-width: 0; }
.quote p { font-size: 15px; line-height: 1.45; }
.quote footer { font-size: 15px; line-height: 1.35; color: var(--blue); text-align: right; margin-top: auto; }

/* terms / privacy */
.legal .meta { font-size: 15px; }
.legal h2 { font-family: var(--font-heading); font-weight: 400; color: var(--blue); font-size: clamp(28px, 5vw, 34px); line-height: 1.15; margin: var(--space-6) 0 0; }
.legal .clause { display: flex; flex-direction: column; gap: var(--space-2); }
.legal h3 { font-weight: 600; color: var(--blue); font-size: 19px; margin: 0; }
.legal .num { color: var(--blue); font-weight: 600; }
.legal ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 2px; }

/* ---- Quick Estimate overlay ---- */
.ov-wrap { position: fixed; inset: 0; z-index: 50; }
.ov-wrap[hidden] { display: none; }
.ov-backdrop { position: absolute; inset: 0; background: rgba(44, 43, 41, .4); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.ov-card { position: absolute; background: var(--white); display: flex; flex-direction: column; overflow: hidden;
  top: 48px; left: 0; right: 0; bottom: 0; border-radius: 24px 24px 0 0; animation: sheetUp .32s cubic-bezier(.2, .8, .2, 1); }
@media (min-width: 760px) {
  .ov-card { top: 50%; left: 50%; right: auto; bottom: auto; transform: translate(-50%, -50%); width: calc(100% - 32px); max-width: 720px; height: min(860px, calc(100vh - 48px)); border-radius: 24px; animation: cardIn .25s ease-out; }
  .ov-grab { display: none !important; }
}
@keyframes sheetUp { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes cardIn { from { transform: translate(-50%, -48%); opacity: 0; } to { transform: translate(-50%, -50%); opacity: 1; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes breakOpen { from { clip-path: inset(0 0 100% 0); opacity: .4; } to { clip-path: inset(0 0 0 0); opacity: 1; } }
.fade { animation: fadeIn .35s ease-out; }
@media (prefers-reduced-motion: reduce) { .fade, .ov-card, .price-band { animation: none !important; } }
.ov-head { flex: none; padding: 8px 12px 0; display: flex; flex-direction: column; align-items: center; }
.ov-grab { width: 44px; height: 5px; border-radius: 3px; background: var(--line-strong); margin-top: 2px; }
.ov-head .row { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 4px 0; }
.progress { flex: 1; display: flex; flex-direction: column; gap: 6px; padding-top: 6px; }
.progress .bars { display: flex; gap: 5px; }
.progress .bars span { flex: 1; height: 6px; border-radius: 3px; background: var(--cream); border: 1px solid var(--line); }
.progress .bars span.on { background: var(--blue); border-color: var(--blue); }
.progress .label { font-size: 15px; color: var(--blue); font-weight: 600; }
.icon-btn { width: 44px; height: 44px; border-radius: 999px; border: 0; background: transparent; display: grid; place-items: center; cursor: pointer; color: var(--blue); flex: none; }
.icon-btn:hover { background: var(--sand); }
.ov-body { flex: 1; overflow-y: auto; padding: 16px 20px 32px; position: relative; overscroll-behavior: contain; }
.ov-foot { flex: none; background: var(--sand); padding: 8px 20px; font-size: 15px; display: flex; align-items: center; gap: 12px; justify-content: space-between; min-height: 56px; }
.ov-foot .call { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ov-foot a { color: var(--rust); font-weight: 600; }
.help-rest { flex: none; border: 0; background: transparent; display: flex; align-items: center; gap: 6px; cursor: pointer; padding: 0; min-height: 44px; }
.help-rest img { width: 44px; height: 44px; }
.help-rest span { font-size: 15px; font-weight: 600; color: var(--rust); background: var(--white); border-radius: 999px; padding: 3px 12px; }

.step { display: flex; flex-direction: column; gap: var(--space-6); }
.step.gap4 { gap: var(--space-4); }
.step-h { font-family: var(--font-heading); font-weight: 400; color: var(--blue); font-size: 28px; margin: 0; }
.step-h.sm { font-size: 24px; }
.step-sub { font-size: 16px; color: var(--ink); font-weight: 600; }
.group { display: flex; flex-direction: column; gap: var(--space-6); }
.groups { display: flex; flex-direction: column; gap: var(--space-8); padding-bottom: 8px; }
.field { display: flex; flex-direction: column; gap: var(--space-2); position: relative; }
.field > label, .field > .label { font-weight: 600; font-size: 17px; color: var(--ink); }
.field .opt-note { font-weight: 400; font-size: 15px; }
.input { width: 100%; max-width: 460px; min-height: 52px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; font-size: 17px; color: var(--ink); }
.input.short { max-width: 180px; }
select.input { padding: 0 44px 0 18px; -webkit-appearance: none; appearance: none; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%232A6F94' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center; }
textarea.area { width: 100%; max-width: 520px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line-strong); background: #fff; font-size: 17px; line-height: 1.5; color: var(--ink); resize: vertical; }
.choices { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.choice { min-width: 80px; min-height: 48px; padding: 0 20px; border-radius: 999px; border: 2px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; font-size: 17px; cursor: pointer; }
.choice[aria-pressed="true"] { border-color: var(--blue); background: var(--blue-light); }
.choice.wide { min-width: 120px; }
.note-sand { font-size: 15px; background: var(--sand); border-radius: 16px; padding: 12px 16px; max-width: 460px; }
.note-sand a { color: var(--rust); font-weight: 600; }
.err { font-size: 15px; color: #9B1C1C; }

/* address drop-down */
.addr-list { list-style: none; margin: 4px 0 0; padding: 6px; max-width: 460px; background: #fff; border: 1px solid var(--line-strong); border-radius: 16px; box-shadow: 0 8px 24px rgba(17, 17, 16, .12); position: absolute; top: 100%; left: 0; right: 0; z-index: 5; }
.addr-list li { padding: 10px 12px; border-radius: 10px; cursor: pointer; line-height: 1.3; }
.addr-list li[aria-selected="true"], .addr-list li:hover { background: var(--blue-mist); }
.addr-list .main { font-weight: 600; display: block; }
.addr-list .sub { font-size: 14px; color: var(--ink); }
.addr-list .attrib { cursor: default; padding: 4px 12px 2px; font-size: 12px; color: #5f6368; text-align: right; }
.addr-list .attrib:hover { background: none; }
.addr-chosen { font-size: 15px; display: flex; gap: 8px; align-items: center; color: var(--blue-dark); }

/* counters */
.rows { display: flex; flex-direction: column; }
.count-row { border-bottom: 1px solid rgba(17, 17, 16, .12); }
.count-row .line { display: flex; align-items: center; gap: 12px; padding: 10px 0; min-height: 64px; }
.count-row .pic { display: block; width: 72px; height: 72px; flex: none; background: center / contain no-repeat; }
.count-row .info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.count-row .name { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.count-row .desc { font-size: 15px; line-height: 1.35; }
.count-row .cap { font-size: 15px; flex: none; }
.count-row .extra { display: flex; flex-direction: column; gap: 8px; padding: 2px 0 16px 84px; }
.count-row .extra textarea { width: 100%; padding: 12px 16px; border-radius: 12px; border: 1px solid rgba(17, 17, 16, .25); background: #fff; font-size: 16px; color: var(--ink); resize: vertical; }
.qmark { width: 26px; height: 26px; flex: none; border-radius: 999px; border: 1.5px solid var(--blue); background: transparent; color: var(--blue); font-weight: 600; font-size: 14px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0; }
.stepper { display: inline-flex; align-items: center; gap: 6px; flex: none; }
.stepper button { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--blue); }
.stepper button:hover { background: var(--cream); }
.stepper input { width: 52px; height: 44px; text-align: center; font-weight: 600; font-size: 18px; color: var(--ink); border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; padding: 0; }
.stepper input:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
@media (max-width: 400px) { .count-row .pic { width: 56px; height: 56px; } .count-row .extra { padding-left: 68px; } .stepper button { width: 40px; height: 40px; } .stepper input { width: 44px; } }

/* bilby speech */
.bubble { position: relative; background: var(--blue-light); border-radius: 20px; padding: 14px 18px; margin-bottom: 26px; flex: 1; }
.bubble p { margin: 0 0 8px; font-size: 16px; }
.bubble::after { content: ''; position: absolute; left: -7px; bottom: 24px; width: 16px; height: 16px; background: var(--blue-light); transform: rotate(45deg); }
.bubble.right::after { left: auto; right: -7px; }
.tut { display: flex; align-items: flex-end; gap: 4px; }
.tut.rev { flex-direction: row-reverse; }
.tut img { width: 150px; height: 150px; flex: none; }
.tut img.flip { transform: scaleX(-1); }
.tut .acts { display: flex; gap: 16px; }
.tut .acts button { background: transparent; border: 0; text-decoration: underline; text-underline-offset: 3px; padding: 8px 0; cursor: pointer; color: var(--ink); }
.tut .acts button.go { color: var(--rust); font-weight: 600; }
.welcome { display: flex; flex-direction: column; gap: var(--space-4); padding: 8px 0 16px; }
.welcome .tap { display: flex; flex-direction: column; gap: var(--space-4); cursor: pointer; padding-bottom: 8px; background: none; border: 0; text-align: left; color: inherit; padding-left: 0; }
.welcome .say { position: relative; background: var(--blue-light); border-radius: 24px; padding: 18px 22px; max-width: 460px; align-self: flex-start; font-size: 18px; }
.welcome .say::after { content: ''; position: absolute; left: 44px; bottom: -8px; width: 18px; height: 18px; background: var(--blue-light); transform: rotate(45deg); }
.welcome .who { display: block; width: 160px; height: 160px; margin-left: 8px; }
.loading { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3); padding: 24px 0; min-height: 240px; }
.loading .say { display: flex; align-items: flex-end; gap: 8px; }
.loading .say img { width: 160px; height: 160px; flex: none; }
.loading .say p { background: var(--white); border: 1.5px solid var(--blue); border-radius: 16px; padding: 12px 16px; font-size: 18px; font-weight: 600; color: var(--blue); max-width: 240px; margin: 0 0 70px; }
.centre-col { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-4); padding: 16px 0; }
.centre-col > img { width: 160px; height: 160px; }

/* help modal */
.hm-back { position: fixed; inset: 0; z-index: 60; background: rgba(17, 17, 16, .45); display: flex; align-items: center; justify-content: center; padding: 20px; }
.hm { position: relative; background: var(--white); border-radius: 16px; box-shadow: 0 12px 40px rgba(17, 17, 16, .25); width: 100%; max-width: 400px; max-height: calc(100% - 40px); overflow: auto; padding: 20px 22px 24px; display: flex; flex-direction: column; gap: var(--space-3); }
.hm .top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.hm h3 { font-family: var(--font-heading); font-weight: 400; color: var(--blue); font-size: 24px; line-height: 1.15; margin: 0; padding-top: 8px; }
.hm .close { width: 44px; height: 44px; flex: none; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--blue); }
.hm .pic { position: relative; width: 240px; height: 240px; max-width: 100%; flex: none; align-self: center; }
.hm .pic span { display: block; width: 100%; height: 100%; background: center / contain no-repeat; }
.hm .pic svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hm p { font-size: 17px; line-height: 1.45; }
.hm .rule { background: var(--blue-light); border-radius: 12px; padding: 12px 16px; }
.hm .rule strong { color: var(--rust); font-weight: 600; }

/* caveats + consent */
.dash-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-4); max-width: 520px; }
.dash-list li { display: flex; gap: var(--space-3); align-items: baseline; }
.dash-list li::before { content: '—'; color: var(--blue); font-weight: 600; flex: none; }
.consent { display: flex; flex-direction: column; gap: var(--space-3); max-width: 520px; }
.tick { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 16px; line-height: 1.4; }
.tick input { width: 24px; height: 24px; margin: 0; flex: none; accent-color: var(--blue); cursor: pointer; }

/* estimate cards */
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 36px 12px; padding-bottom: 20px; }
.tier { position: relative; border: 2px solid var(--blue-deep); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left; cursor: pointer; color: var(--blue-deep); font: inherit; }
.tier.t-outsides { background: var(--blue-mist); }
.tier.t-insides_out { background: var(--blue-light); padding-bottom: 32px; }
.tier.t-full_reset { background: var(--blue); color: var(--white); }
.tier[aria-pressed="true"] { box-shadow: 0 0 0 6px rgba(174, 63, 41, .55); }
.tier.static { cursor: default; }
.tier .top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; width: 100%; }
.tier .head { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1; }
.tier .nm { font-weight: 600; text-transform: uppercase; letter-spacing: .04em; font-size: 16px; }
.tier .reveal { font-weight: 600; font-size: 17px; line-height: 1.15; height: 52px; margin: 2px 0; display: flex; align-items: center; white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; }
.tier .reveal.tall { height: 112px; }
.price-band { display: flex; align-items: center; gap: 5px; height: 52px; margin: 2px -20px; padding: 0 20px; background: var(--white); color: #9B1C1C; font-weight: 600; font-size: 30px; line-height: 1.15; white-space: nowrap; animation: breakOpen .35s cubic-bezier(.2, .8, .2, 1) both; }
.price-band .from { font-size: 15px; line-height: 1; align-self: flex-start; padding-top: 11px; }
.price-band .num { font-weight: 800; }
.price-band .tot { font-size: 15px; line-height: 1; align-self: flex-end; padding-bottom: 12px; }
.price-band.disc { flex-direction: column; justify-content: center; align-items: stretch; gap: 2px; height: 112px; }
.price-band .was-row { display: flex; align-items: center; gap: 6px; font-size: 15px; line-height: 1.2; }
.price-band .was { position: relative; font-size: 20px; opacity: .75; }
.price-band .was::after { content: ''; position: absolute; left: -3px; right: -3px; top: 50%; border-top: 2px solid currentColor; transform: rotate(-14deg); }
.price-band .now-row { display: flex; align-items: flex-end; gap: 5px; font-size: 30px; line-height: 1.1; }
.price-band .now-row .tot { padding-bottom: 5px; align-self: auto; }
.price-band .why { font-size: 15px; line-height: 1.3; color: var(--ink); white-space: normal; }
.tier .badge { flex: none; width: 60px; height: 58px; position: absolute; bottom: -29px; left: 16px; z-index: 2; }
.tier ul { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 15px; line-height: 1.4; }
.tier li { display: flex; gap: 8px; align-items: flex-start; }
.tier li.off { opacity: .55; }
.tier li svg { flex: none; margin-top: 3px; }
.tier .ico { margin-top: auto; padding-top: 12px; align-self: stretch; display: flex; justify-content: flex-end; align-items: flex-end; height: 96px; }
.tier .ico img { max-width: 100%; max-height: 88px; width: auto; height: auto; display: block; }

/* calendar */
.cal-wrap { display: flex; flex-wrap: wrap; gap: var(--space-6); align-items: flex-start; width: 100%; }
.cal { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 16px; width: 100%; max-width: 400px; flex: 0 1 400px; display: flex; flex-direction: column; gap: 12px; }
.cal .bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cal .bar span { font-weight: 600; color: var(--blue); font-size: 18px; }
.cal .bar button { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--blue); }
.cal .bar button:disabled { opacity: .35; cursor: default; }
.cal .grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; }
.cal .dow { font-size: 14px; font-weight: 600; padding: 4px 0; }
.cal .day { aspect-ratio: 1; min-height: 40px; border-radius: 999px; border: 1px solid transparent; background: transparent; color: var(--ink); font-size: 16px; cursor: pointer; padding: 0; position: relative; }
.cal .day:disabled { color: rgba(44, 43, 41, .35); cursor: default; }
.cal .day.half::after { content: ''; position: absolute; left: 30%; right: 30%; bottom: 5px; height: 3px; border-radius: 2px; background: var(--blue-mid); }
.cal .day[aria-pressed="true"] { border: 2px solid var(--blue); background: var(--blue-light); font-weight: 600; }
.times { display: flex; flex-direction: column; gap: var(--space-3); flex: 1 1 220px; min-width: 0; padding-top: 8px; }
.summary { background: var(--sand); border-radius: 16px; padding: 16px 20px; display: flex; flex-direction: column; gap: 4px; width: 100%; max-width: 460px; }
.summary .small { font-size: 15px; }

/* ---- Phase 1b B: commercial page ---- */
.strip { background: var(--blue-light); padding: 12px 0; overflow: hidden; }
.strip-track { display: flex; width: max-content; animation: strip 28s linear infinite; }
.strip:hover .strip-track, .strip:focus-within .strip-track { animation-play-state: paused; }
.strip ul { list-style: none; margin: 0; padding: 0 20px 0 0; display: flex; gap: 48px; white-space: nowrap; }
.strip li { font-weight: 700; color: var(--blue-dark); font-size: 15px; }
@keyframes strip { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .strip-track { animation: none; width: auto; justify-content: center; }
  .strip ul { flex-wrap: wrap; white-space: normal; justify-content: center; gap: 8px 32px; padding: 0 20px; }
  .strip ul[aria-hidden] { display: none; }
}
.sectors { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: var(--space-3); }
.sector { background: var(--blue-mist); border-radius: 16px; padding: var(--space-4); display: flex; flex-direction: column; gap: 6px; }
.sector p { font-weight: 800; color: var(--blue-deep); font-size: 16px; }
.sector span { font-size: 14px; }
.ticks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: var(--space-2); }
.ticks li { display: flex; gap: 10px; align-items: baseline; }
.ticks li::before { content: '✓'; color: var(--blue); font-weight: 800; flex: none; }
.faq { background: var(--white); border-radius: 12px; padding: 14px 18px; }
.faq summary { font-weight: 700; color: var(--blue); cursor: pointer; }
.faq p { margin-top: 8px; }
.cq { display: flex; flex-direction: column; gap: var(--space-4); }
.cq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: var(--space-4); }
.cq .input { max-width: none; }
.cq-docs { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--space-2); }
.cq-docs legend { padding: 0; margin-bottom: var(--space-2); }
.cq-site { display: flex; gap: 8px; align-items: flex-start; flex-wrap: wrap; position: relative; margin-bottom: 8px; }
.cq-site .addr { flex: 1 1 260px; position: relative; }
.cq-site .unit { flex: 0 1 120px; }
.cq-site .remove { min-height: 52px; }
.cq .err { margin: 2px 0 0; }
.cq .err:empty { display: none; }
#cq-done { max-width: none; font-size: 16px; }
.cq .hint { margin: 2px 0 0; font-size: 15px; }
