/* ==========================================================
   CUSTOMIZE: brand colors and fonts. Changing these re-themes
   the whole page.
   ========================================================== */
:root {
  --accent: #0b7a70;        /* buttons, checks, highlights (white text on it passes WCAG AA) */
  --accent-dark: #085e56;
  --tint: #e3f4f1;          /* soft accent background */
  --sky: #bfe3f2;           /* hero illustration windows */
  --sun: #f2b544;           /* sparkles */
  --ink: #17303b;           /* body text */
  --muted: #5b6f78;
  --line: #d9e4e6;
  --paper: #f7fbfb;         /* page background */
  --card: #ffffff;
  --dark: #12303a;          /* request section + footer */
  --on-dark: #eaf6f4;
  --font-display: "DM Serif Display", Georgia, serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(23, 48, 59, .08);
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
a { color: var(--accent-dark); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
h1, h2 { font-family: var(--font-display); font-weight: 400; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
small { font-size: .78em; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
.section { padding: clamp(64px, 9vw, 104px) 0; }
.section-tint { background: var(--tint); }
.section-tint .eyebrow { color: var(--accent-dark); }
.section-dark { background: var(--dark); color: var(--on-dark); }
.section-dark a { color: #8fe0d5; }
.section-head { max-width: 720px; margin-bottom: 32px; }
.section-head p:last-child { color: var(--muted); font-size: 1.1rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 700; color: var(--accent); margin-bottom: 10px; }
.section-dark .eyebrow { color: #8fe0d5; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 700;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid var(--accent);
  text-decoration: none;
  cursor: pointer;
  transition: background .15s, transform .15s;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-1px); }
.btn:disabled { opacity: .7; cursor: wait; transform: none; }
.btn-ghost { background: transparent; color: var(--accent-dark); }
.btn-ghost:hover { background: var(--tint); }
.btn-small { padding: 8px 18px; }
.btn-block { display: block; width: 100%; text-align: center; }
.btn.is-disabled { opacity: .5; }
.link-button { background: none; border: 0; padding: 6px 0; font: inherit; font-size: .92rem; color: var(--muted); text-decoration: underline; cursor: pointer; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(247, 251, 251, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.15rem; }
.brand span { font-weight: 500; color: var(--muted); }
.brand-mark { width: 30px; height: 30px; color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav-links a:not(.btn):hover { color: var(--accent); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--ink); transition: transform .2s, opacity .2s; }

/* Hero */
.hero { padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px); background: linear-gradient(180deg, var(--tint), var(--paper)); }
.hero-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 36rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 0; font-weight: 600; font-size: .92rem; }
.hero-trust li::before { content: "✓"; color: var(--accent); margin-right: 6px; }
.hero-art svg { width: 100%; max-width: 420px; margin-inline: auto; display: block; }

/* Disclaimer */
.disclaimer {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff8e8; border: 1px solid #f1dca8; border-radius: var(--radius);
  padding: 16px 20px; margin-bottom: 28px; max-width: 900px;
}
.disclaimer svg { flex: none; width: 24px; height: 24px; fill: none; stroke: #b07d12; stroke-width: 2; stroke-linecap: round; margin-top: 2px; }
.disclaimer p { margin: 0; font-size: .95rem; }

/* Estimator layout */
.estimator { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.rooms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.noscript { grid-column: 1 / -1; background: var(--card); padding: 20px; border-radius: var(--radius); }

/* Room card */
.room {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: opacity .2s, border-color .2s;
}
.room:has(input:checked), .room:not(.is-off) { border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
/* rooms set to 0: muted, but still readable (fading with opacity failed contrast) */
.room.is-off .service-label, .room.is-off .price { color: var(--muted); }
.room.is-off input:checked + .check { background: #9db4b8; border-color: #9db4b8; }
.room-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fff, var(--paper)); }
.room-icon { flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--tint); display: grid; place-items: center; }
.room-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--accent-dark); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.room-title { flex: 1; min-width: 0; }
.room-title h3 { margin: 0; }
.room-subtotal { font-size: .85rem; color: var(--muted); font-weight: 600; }
.room.is-off .room-subtotal { font-weight: 500; }

.stepper { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: #fff; flex: none; }
.stepper button {
  width: 36px; height: 36px; border: 0; background: none; border-radius: 50%;
  font: inherit; font-size: 1.25rem; line-height: 1; color: var(--accent-dark); cursor: pointer;
}
.stepper button:hover:not(:disabled) { background: var(--tint); }
.stepper button:disabled { color: #b8c6ca; cursor: default; }
.stepper output { min-width: 22px; text-align: center; font-weight: 700; }
.stepper-small button { width: 30px; height: 30px; font-size: 1.05rem; }

.services { list-style: none; margin: 0; padding: 8px 10px 12px; transition: opacity .2s; }
.service label, .extra {
  display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 10px;
  padding: 8px; border-radius: 10px; cursor: pointer; position: relative;
}
.service label:hover, .extra:hover { background: var(--paper); }
.service input, .extra input { position: absolute; opacity: 0; pointer-events: none; }
.check {
  width: 20px; height: 20px; border-radius: 6px; border: 2px solid #b8c9cd; background: #fff;
  display: grid; place-items: center; transition: background .15s, border-color .15s;
}
input:checked + .check { background: var(--accent); border-color: var(--accent); }
input:checked + .check::after { content: ""; width: 9px; height: 5px; border: solid #fff; border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg); }
input:focus-visible + .check { outline: 3px solid var(--sun); outline-offset: 2px; }
.service-label { font-size: .95rem; }
.price { font-weight: 700; font-size: .92rem; white-space: nowrap; color: var(--ink); }
.price small { font-weight: 500; color: var(--muted); }

.service-per { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 10px; padding: 10px 8px; margin-top: 4px; border-top: 1px dashed var(--line); }
.service-per .service-label { display: grid; gap: 2px; }
.service-per small { color: var(--muted); font-size: .8rem; }

/* Summary */
.summary { position: sticky; top: calc(var(--header-h) + 16px); }
.summary-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.summary-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; margin-bottom: 14px; }
.frequency { border: 0; padding: 0; margin: 0 0 16px; }
.frequency legend { font-weight: 700; font-size: .9rem; margin-bottom: 8px; }
.frequency-options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; }
.pill span {
  display: flex; justify-content: center; align-items: baseline; gap: 6px;
  padding: 9px 8px; border: 1px solid var(--line); border-radius: 10px;
  font-size: .88rem; font-weight: 600; text-align: center;
}
.pill small { color: var(--accent-dark); font-weight: 700; }
.pill input:checked + span { background: var(--tint); border-color: var(--accent); color: var(--accent-dark); }
.pill input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }
.summary-lines { list-style: none; padding: 0; margin: 0 0 14px; border-top: 1px solid var(--line); }
.summary-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.summary-lines .discount { color: var(--accent-dark); font-weight: 600; }
.summary-lines .empty { color: var(--muted); justify-content: center; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.summary-total span { font-weight: 700; }
.summary-total strong { font-size: 1.7rem; color: var(--accent-dark); }
.summary-note { font-size: .82rem; color: var(--muted); margin: 4px 0 16px; min-height: 1.2em; }
.summary .link-button { display: block; margin: 8px auto 0; }

/* Extras */
.extras { margin-top: 36px; }
.extras-intro { color: var(--muted); margin-top: -4px; }
.extras-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.extra { background: var(--card); border: 1px solid var(--line); padding: 12px 14px; }
.extra:has(input:checked) { border-color: var(--accent); background: var(--tint); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { background: var(--card); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.step-num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; margin-bottom: 14px; }
.steps p { color: var(--muted); margin: 0; }

/* FAQ */
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--muted); }

/* Request */
.request { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.request-text p { opacity: .9; }
.request-summary { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 18px 20px; margin: 24px 0; }
.request-estimate { display: grid; gap: 2px; margin: 0 0 10px; }
.request-estimate span { font-size: .85rem; opacity: .8; }
.request-estimate strong { font-size: 1.6rem; color: #fff; }
.request-estimate small { opacity: .8; }
.request-estimate.empty { margin: 0; }
.request-summary ul { list-style: none; padding: 0; margin: 0 0 6px; display: flex; flex-wrap: wrap; gap: 6px; }
.request-summary li { background: rgba(255,255,255,.1); border-radius: 999px; padding: 3px 12px; font-size: .85rem; }
.request-summary .link-button { color: #8fe0d5; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.12); display: flex; gap: 12px; flex-wrap: wrap; }
.contact-list span { min-width: 100px; font-weight: 700; }

.request-form { background: var(--card); color: var(--ink); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); display: grid; gap: 14px; position: relative; }
.request-form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.request-form input:not([type="radio"]), .request-form textarea {
  font: inherit; font-weight: 400; width: 100%;
  padding: 11px 13px; border: 1px solid #c9d7da; border-radius: 10px; background: var(--paper);
}
.request-form input:focus, .request-form textarea:focus { outline: 3px solid color-mix(in srgb, var(--accent) 40%, transparent); border-color: var(--accent); }
.time-window { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.time-window legend { font-weight: 600; font-size: .92rem; margin-bottom: 6px; padding: 0; }
.time-window label { display: flex; align-items: center; gap: 6px; font-weight: 500; }
.time-window input { accent-color: var(--accent); width: 18px; height: 18px; }
.req { color: #c0392b; font-weight: 700; }
.opt { color: var(--muted); font-weight: 500; font-size: .85em; }
.form-key { margin: 0; font-size: .85rem; color: var(--muted); }
.was-validated input:invalid, .was-validated textarea:invalid { border-color: #c0392b; background: #fdf3f2; }
.form-fineprint { font-size: .8rem; color: var(--muted); margin: 0; text-align: center; }
.form-success, .form-error { margin: 0; padding: 12px 16px; border-radius: 10px; font-weight: 600; }
.form-success { background: var(--tint); border-left: 4px solid var(--accent); }
.form-error { background: #fdeceb; border-left: 4px solid #c0392b; }

/* Footer */
.site-footer { background: #0c242c; color: var(--on-dark); padding: 28px 0; text-align: center; }
.site-footer p { margin: 4px 0; }
.site-footer a { color: #8fe0d5; }
.small { font-size: .85rem; opacity: .8; }

/* Mobile estimate bar */
.mobile-bar { display: none; }

/* !important so form styles can't stretch hidden fields past the page edge */
.visually-hidden {
  position: absolute !important; width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important; border: 0 !important;
  overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important;
}

/* Responsive */
@media (max-width: 1100px) {
  .rooms { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .estimator { grid-template-columns: minmax(0, 1fr); }
  .summary { position: static; }
  .steps { grid-template-columns: 1fr; }
  .request { grid-template-columns: 1fr; }
  .mobile-bar:not([hidden]) {
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30;
    background: var(--dark); color: #fff; border-radius: 14px; padding: 10px 12px 10px 18px;
    box-shadow: 0 12px 30px rgba(0,0,0,.25);
  }
  .mobile-bar span { display: block; font-size: .75rem; opacity: .8; }
  .mobile-bar strong { font-size: 1.15rem; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 16px 18px;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { display: block; padding: 12px 0; }
  .nav-links .btn { margin-top: 8px; display: block; text-align: center; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .brand span { display: none; }
}
@media (max-width: 520px) {
  .form-row { grid-template-columns: 1fr; }
  .room-head { flex-wrap: wrap; }
  .service-per { grid-template-columns: 1fr auto; }
  .service-per .stepper { grid-column: 1 / -1; justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Accessibility: skip link (hidden until focused) and a visible keyboard focus ring */
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }
#main:focus { outline: none; }
