/* Brightwater Home Cleaning — demo site. Light, friendly, mobile-first; no framework. */
:root {
  --ink: #12312f;
  --ink-2: #3c5856;
  --teal: #0b6b66;
  --aqua: #2ec4b6;
  --aqua-soft: #d7f3f1;
  --aqua-mist: #eefaf9;
  --sun: #ffd23f;
  --sun-hi: #ffdc66;
  --paper: #ffffff;
  --line: #d5e6e4;
  --danger: #b42318;
  --radius: 22px;
  --display: "Fredoka", "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: 16px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.6 var(--body); overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--teal); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 8px; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }

/* Type */
h1, h2, h3, .brand-text, .result-price, .how-num { font-family: var(--display); font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 9.5vw, 4rem); line-height: 1.05; }
h2 { font-size: clamp(1.9rem, 7vw, 2.8rem); line-height: 1.1; }
h3 { font-size: 1.3rem; line-height: 1.2; }
.hl { color: var(--teal); background: linear-gradient(transparent 62%, var(--sun) 62%, var(--sun) 92%, transparent 92%); padding: 0 .1em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.lede, .section-lede { color: var(--ink-2); font-size: 1.08rem; max-width: 58ch; }
.section-lede { margin-top: 12px; }
.pill { display: inline-block; background: var(--aqua-soft); color: var(--teal); font-weight: 700; font-size: .82rem; letter-spacing: .02em; padding: 5px 14px; border-radius: 999px; margin-bottom: 14px; }
.tag { display: inline-block; vertical-align: 1px; background: var(--sun); color: var(--ink); border-radius: 999px; padding: 1px 10px; margin-right: 6px; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.hint, .hint-inline { color: var(--ink-2); font-size: .85rem; font-weight: 400; }
.text-link { font-weight: 700; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 24px; border-radius: 999px; border: 2px solid transparent; font: 700 1rem/1.1 var(--body); text-decoration: none; cursor: pointer; transition: background-color .15s, transform .15s, box-shadow .15s; }
.btn:active { transform: translateY(1px); }
.btn-sun { background: var(--sun); color: var(--ink); box-shadow: 0 6px 0 -2px #e0b21d; }
.btn-sun:hover { background: var(--sun-hi); }
.btn-soft { background: var(--paper); color: var(--teal); border-color: var(--aqua); }
.btn-soft:hover { background: var(--aqua-mist); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #1d4744; }
.btn-sm { min-height: 44px; padding: 9px 18px; font-size: .95rem; }
.btn-block { width: 100%; }

/* Demo strip + header */
.demo-strip { background: var(--ink); color: #fff; font-size: .8rem; line-height: 1.4; text-align: center; padding: 7px var(--gutter); }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.95); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(255,255,255,.85); backdrop-filter: blur(8px); } }
.header-row { display: flex; align-items: center; gap: 10px; min-height: 66px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-text { font-size: 1.25rem; line-height: 1; display: flex; flex-direction: column; }
.brand-text span { font-family: var(--body); font-weight: 600; font-size: .72rem; color: var(--teal); letter-spacing: .08em; text-transform: uppercase; margin-top: 4px; }
.menu-toggle { order: 3; width: 44px; height: 44px; display: grid; place-items: center; background: var(--paper); color: var(--ink); border: 2px solid var(--line); border-radius: 14px; cursor: pointer; }
.menu-toggle svg { width: 22px; height: 22px; }
.header-cta { order: 2; }
.site-nav { order: 4; width: 100%; display: none; padding-bottom: 12px; }
.site-nav.is-open { display: block; }
.site-nav a { display: block; padding: 12px 4px; color: var(--ink); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
.site-nav a:hover { color: var(--teal); }

/* Hero */
.hero { padding: 40px 0 56px; background: radial-gradient(ellipse 70% 60% at 85% 20%, var(--aqua-soft), transparent 70%), var(--paper); overflow: hidden; }
.hero-grid { display: grid; gap: 28px; align-items: center; }
.hero .lede { margin-top: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 26px; }
.hero-points li { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .95rem; }
.hero-points svg { width: 22px; height: 22px; color: var(--paper); background: var(--aqua); border-radius: 50%; padding: 2px; flex: none; }
.hero-art svg { width: 100%; max-width: 300px; margin: 0 auto; height: auto; }
.nowrap { white-space: nowrap; }

/* Sections */
.section { padding: 64px 0; }
.section-soft { background: var(--aqua-mist); }
.section-head { margin-bottom: 30px; }
.section-head.center { text-align: center; }
.section-head.center .section-lede { margin-left: auto; margin-right: auto; }
.notice { background: var(--aqua-mist); border: 2px solid var(--aqua); padding: 14px; border-radius: 16px; margin-bottom: 16px; }

/* Calculator */
.section-quote { background: linear-gradient(180deg, var(--aqua-mist), var(--paper) 70%); }
.calc { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.calc-inputs { background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius); padding: 20px; min-width: 0; }
.calc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stepper label { display: block; font-weight: 700; margin-bottom: 8px; }
.stepper-ctl { display: flex; align-items: center; border: 2px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--aqua-mist); }
.stepper-ctl input { width: 100%; min-width: 0; border: 0; background: transparent; text-align: center; font: 600 1.4rem/1 var(--display); color: var(--ink); height: 48px; -moz-appearance: textfield; appearance: textfield; }
.stepper-ctl input::-webkit-outer-spin-button, .stepper-ctl input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper-ctl input:focus { outline: none; }
.stepper-ctl:focus-within { border-color: var(--teal); }
.step-btn { flex: none; width: 48px; height: 48px; border: 0; background: var(--aqua); color: var(--ink); font: 700 1.5rem/1 var(--body); cursor: pointer; }
.step-btn:hover { background: var(--teal); color: var(--paper); }
.step-btn:disabled { background: var(--line); color: var(--ink-2); cursor: not-allowed; }
.stepper .hint { margin-top: 6px; }

.group { border: 0; padding: 0; margin: 22px 0 0; min-width: 0; }
.group legend { font-weight: 700; padding: 0; margin-bottom: 10px; }
.opt { position: relative; }
.opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.opt label { cursor: pointer; }
.opt input:focus-visible + label { outline: 3px solid var(--teal); outline-offset: 2px; }
.cards { display: grid; gap: 10px; }
.cards label { display: grid; gap: 2px; padding: 14px 16px 14px 48px; border: 2px solid var(--line); border-radius: 18px; background: var(--paper); position: relative; }
.cards label::before { content: ""; position: absolute; left: 16px; top: 17px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); background: var(--paper); }
.cards label span { color: var(--ink-2); font-size: .9rem; }
.cards input:checked + label { border-color: var(--aqua); background: var(--aqua-mist); }
.cards input:checked + label::before { border-color: var(--aqua); background: radial-gradient(circle, var(--aqua) 0 5px, var(--paper) 6px); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 16px; border: 2px solid var(--line); border-radius: 999px; background: var(--paper); font-weight: 600; }
.chips label em { font-style: normal; color: var(--teal); font-weight: 700; font-size: .85rem; }
.chips input:checked + label { background: var(--aqua); border-color: var(--aqua); color: var(--ink); }
.chips input:checked + label em { color: var(--ink); }
.extras { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 185px), 1fr)); gap: 8px; }
.extra label { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 48px; padding: 10px 14px; border: 2px dashed var(--line); border-radius: 16px; font-weight: 600; font-size: .95rem; background: var(--paper); }
.extra label small { color: var(--teal); font-weight: 700; font-size: .85rem; }
.extra input:checked + label { border-style: solid; border-color: var(--sun); background: #fff8dc; }

.calc-result { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 22px; align-self: start; }
.result-label { color: var(--aqua); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: .82rem; }
.result-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-size: 3.4rem; line-height: 1; margin: 8px 0 6px; }
.result-price small { font: 600 1rem/1 var(--body); color: #b9d6d3; }
.result-time { color: #d0e6e4; }
.result-lines { margin: 16px 0 6px; border-top: 1px solid #2c5552; }
.result-lines div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid #2c5552; font-size: .95rem; }
.result-lines dt { color: #d0e6e4; }
.result-lines dd { font-weight: 700; font-variant-numeric: tabular-nums; }
.result-lines .is-discount dd { color: var(--sun); }
.result-save { background: rgba(255, 210, 63, .14); color: var(--sun); border-radius: 12px; padding: 8px 12px; font-weight: 700; font-size: .92rem; margin: 10px 0 0; }
.calc-result .btn { margin-top: 16px; }
.result-note { color: #b9d6d3; font-size: .82rem; margin-top: 12px; }

.mobile-bar { position: sticky; bottom: 12px; z-index: 20; margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--ink); color: #fff; border-radius: 999px; padding: 8px 8px 8px 20px; box-shadow: 0 10px 30px -10px rgba(18, 49, 47, .6); transition: opacity .2s, transform .2s; }
.mobile-bar strong { font-family: var(--display); font-size: 1.3rem; margin-left: 4px; }
.mobile-bar.is-hidden { opacity: 0; transform: translateY(10px); pointer-events: none; }

/* Request form */
.request-grid { display: grid; gap: 28px; }
.quote-chip { margin-top: 22px; background: var(--aqua-mist); border: 2px solid var(--aqua-soft); border-radius: 18px; padding: 16px 18px; }
.quote-chip-label { color: var(--teal); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }
.quote-chip-main { font-weight: 700; margin-top: 4px; }
.quote-chip-price { font-family: var(--display); font-weight: 600; font-size: 1.6rem; margin: 2px 0 4px; }
.form-card { background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: 0 24px 50px -30px rgba(18, 49, 47, .35); }
.field-row { display: grid; gap: 0 14px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; min-width: 0; align-content: start; }
.field label, .field-set legend { font-weight: 700; font-size: .95rem; }
.field-set { border: 0; padding: 0; }
.field-set legend { padding: 0; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--ink); background: var(--paper); border: 2px solid var(--line); border-radius: 14px; padding: 11px 14px; min-height: 50px; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--aqua-soft); }
.field [aria-invalid="true"] { border-color: var(--danger); }
::placeholder { color: #6f8886; }
.chips-sm label { min-height: 44px; padding: 8px 14px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; margin: 4px 0 6px; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--teal); flex: none; }
.check.is-invalid span { color: var(--danger); font-weight: 600; }
.form-error { color: var(--danger); font-weight: 600; min-height: 1.6em; margin: 6px 0; }
.form-error:empty { min-height: 0; margin: 0; }
.privacy-note { color: var(--ink-2); font-size: .85rem; margin-top: 10px; text-align: center; }
#request-form .btn { margin-top: 8px; }

.request-done { text-align: center; padding: 6px 0; }
.request-done:focus { outline: none; }
.done-badge { width: 64px; height: 64px; margin: 0 auto 14px; }
.request-done h3 { font-size: 1.6rem; }
.done-lede { color: var(--ink-2); margin: 10px auto 18px; max-width: 44ch; }
.done-card { text-align: left; background: var(--aqua-mist); border-radius: 18px; padding: 6px 16px; margin-bottom: 8px; }
.done-card div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.done-card div:last-child { border-bottom: 0; }
.done-card dt { color: var(--ink-2); }
.done-card dd { font-weight: 700; text-align: right; }
.request-done .btn { margin-top: 14px; }

/* How it works */
.how-grid { display: grid; gap: 14px; counter-reset: none; }
.how-card { background: var(--paper); border-radius: var(--radius); padding: 22px; border: 2px solid var(--aqua-soft); }
.how-num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--sun); font-size: 1.3rem; margin-bottom: 12px; }
.how-card p { color: var(--ink-2); margin-top: 6px; }

/* Services */
.service-grid { display: grid; gap: 16px; }
.service { position: relative; background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.service-featured { border-color: var(--aqua); box-shadow: 0 20px 40px -28px rgba(11, 107, 102, .6); }
.badge { position: absolute; top: -14px; left: 22px; background: var(--aqua); color: var(--ink); font-weight: 700; font-size: .8rem; padding: 4px 12px; border-radius: 999px; }
.service-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.from { color: var(--ink-2); font-size: .9rem; }
.from strong { font-family: var(--display); font-size: 1.6rem; color: var(--teal); font-weight: 600; }
.ticks { display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 28px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .25em; width: 18px; height: 18px; border-radius: 50%; background: var(--aqua-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 10 3.5 3.5L15 7' fill='none' stroke='%230b6b66' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.service .btn { margin-top: auto; align-self: flex-start; }

/* Trust */
.badges { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.trust { background: var(--paper); border-radius: var(--radius); padding: 18px; text-align: center; }
.trust svg { width: 52px; height: 52px; margin: 0 auto 10px; }
.trust h3 { font-size: 1.1rem; }
.trust p { color: var(--ink-2); font-size: .9rem; margin-top: 4px; }

/* Area */
.area-grid { display: grid; gap: 28px; align-items: center; }
.area-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.area-list li { background: var(--aqua-mist); border: 2px solid var(--aqua-soft); border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: .95rem; }
.area-list li.is-home { background: var(--sun); border-color: var(--sun); }
.area-note { color: var(--ink-2); margin-top: 16px; font-size: .95rem; }
.area-map svg { width: 100%; height: auto; }
.area-map figcaption { color: var(--ink-2); font-size: .85rem; text-align: center; margin-top: 8px; }

/* FAQ */
.faq-wrap { max-width: 820px; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--paper); border-radius: 18px; border: 2px solid var(--aqua-soft); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 52px 16px 18px; font-weight: 700; position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--aqua-soft); color: var(--teal); display: grid; place-items: center; font-size: 1.2rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; background: var(--aqua); color: var(--ink); }
.faq details[open] { border-color: var(--aqua); }
.faq details p { padding: 0 18px 18px; color: var(--ink-2); }

/* CTA + footer */
.cta-band { background: var(--sun); padding: 48px 0; }
.cta-row { display: grid; gap: 20px; justify-items: start; }
.site-footer { padding: 34px 0 40px; background: var(--ink); color: #fff; }
.footer-row { display: grid; gap: 8px; }
.footer-brand { font-family: var(--display); font-weight: 600; font-size: 1.3rem; }
.footer-demo { font-weight: 600; }
.footer-small { color: #b9d6d3; font-size: .85rem; }

/* Tablet */
@media (min-width: 640px) {
  :root { --gutter: 24px; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .how-grid, .service-grid { grid-template-columns: repeat(3, 1fr); }
  .badges { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .calc-inputs, .form-card { padding: 26px; }
}

/* Desktop */
@media (min-width: 960px) {
  .menu-toggle { display: none; }
  .site-nav { display: block; order: 1; width: auto; padding: 0; margin-right: 18px; }
  .site-nav ul { display: flex; gap: 26px; }
  .site-nav a { border: 0; padding: 8px 0; font-size: .97rem; }
  .header-row { min-height: 78px; flex-wrap: nowrap; }

  .hero { padding: 72px 0 88px; }
  .hero-grid { grid-template-columns: 1.15fr 1fr; gap: 40px; }
  .hero-art svg { max-width: 440px; }
  h1 { font-size: clamp(3rem, 5vw, 4.1rem); }
  .section { padding: 92px 0; }
  .calc { grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; }
  .calc-result { position: sticky; top: 104px; padding: 28px; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .cards label { height: 100%; padding: 46px 16px 16px; }
  .cards label::before { top: 16px; }
  .mobile-bar { display: none; }
  .request-grid { grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: start; }
  .request-copy { position: sticky; top: 110px; }
  .area-grid { grid-template-columns: 1fr 1.1fr; gap: 56px; }
  .cta-row { grid-template-columns: 1fr auto; align-items: center; }
  .footer-row { grid-template-columns: auto 1fr; align-items: baseline; column-gap: 32px; }
  .footer-demo { justify-self: end; }
  .footer-small { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .mobile-bar { transition: none; }
}
