/* ===========================================================================
   Clearwater House Cleaning — house cleaning template
   Palette strategy: pure-white surface, fresh teal-green brand carries the
   "clean / fresh water" mood, warm coral CTA for conversion contrast.
   Type: Bricolage Grotesque (expressive display) + Hanken Grotesk (neutral body).
   =========================================================================== */

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

:root {
  /* Surfaces */
  --bg: oklch(1 0 0);
  --surface: oklch(0.976 0.008 195);
  --surface-2: oklch(0.955 0.012 195);
  --border: oklch(0.9 0.012 215);

  /* Ink */
  --ink: oklch(0.24 0.018 230);
  --muted: oklch(0.46 0.02 230);

  /* Brand */
  --brand: oklch(0.52 0.1 195);
  --brand-ink: oklch(0.4 0.095 197);     /* readable brand for small text/links */
  --brand-soft: oklch(0.96 0.024 195);

  /* CTA */
  --cta: oklch(0.57 0.2 33); /* white-on-CTA contrast 4.9:1 (WCAG AA) */
  --cta-press: oklch(0.5 0.21 33);
  --on-cta: oklch(1 0 0);

  /* Type */
  --star-ink: oklch(0.6 0.15 72); /* amber rating, >=3:1 on light surfaces */
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;

  /* Spacing rhythm */
  --space-section: clamp(3.5rem, 8vw, 7rem);
  --radius: 16px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px oklch(0.4 0.03 230 / 0.04), 0 12px 32px oklch(0.4 0.03 230 / 0.1);
  --shadow-sm: 0 1px 2px oklch(0.4 0.03 230 / 0.06), 0 6px 16px oklch(0.4 0.03 230 / 0.07);

  /* Z-index scale */
  --z-callbar: 40;
  --z-nav: 50;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3, .brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

a { color: inherit; }

.wrap { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.5rem); }

.skip {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 0.6rem 1rem; border-radius: 0 0 10px 0;
}
.skip:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  padding: 0.75rem 1.4rem; border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.btn--cta { background: var(--cta); color: var(--on-cta); box-shadow: 0 8px 20px oklch(0.62 0.2 33 / 0.28); }
.btn--cta:hover { background: var(--cta-press); transform: translateY(-2px); }
.btn--cta:active { transform: translateY(0); }
.btn--lg { font-size: 1.08rem; padding: 0.95rem 1.8rem; }
.btn--block { width: 100%; }

:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: var(--z-nav);
  background: oklch(1 0 0 / 0.82); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav__inner { display: flex; align-items: center; gap: 1.25rem; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; font-size: 1.18rem; color: var(--ink); }
.brand__mark { width: 30px; height: 30px; flex-shrink: 0; background: center / contain no-repeat url("data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%20512%20512%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20transform%3D%22translate%2846%2012%29%22%3E%0A%20%20%20%20%0A%20%20%20%20%3Cpath%20fill%3D%22%23E2643F%22%20d%3D%22M76%2032%20L88%2064%20L120%2076%20L88%2088%20L76%20120%20L64%2088%20L32%2076%20L64%2064%20Z%22%3E%3C%2Fpath%3E%0A%20%20%20%20%0A%20%20%20%20%3Crect%20fill%3D%22%232F8A86%22%20x%3D%22118%22%20y%3D%22106%22%20width%3D%2254%22%20height%3D%2232%22%20rx%3D%228%22%3E%3C%2Frect%3E%0A%20%20%20%20%0A%20%20%20%20%3Crect%20fill%3D%22%232F8A86%22%20x%3D%22164%22%20y%3D%2292%22%20width%3D%22184%22%20height%3D%2260%22%20rx%3D%2218%22%3E%3C%2Frect%3E%0A%20%20%20%20%0A%20%20%20%20%3Cline%20x1%3D%22160%22%20y1%3D%22170%22%20x2%3D%22132%22%20y2%3D%22248%22%20stroke%3D%22%23E2643F%22%20stroke-width%3D%2238%22%20stroke-linecap%3D%22round%22%3E%3C%2Fline%3E%0A%20%20%20%20%0A%20%20%20%20%3Crect%20fill%3D%22%232F8A86%22%20x%3D%22220%22%20y%3D%22146%22%20width%3D%2272%22%20height%3D%22104%22%3E%3C%2Frect%3E%0A%20%20%20%20%0A%20%20%20%20%3Cpath%20fill%3D%22%232F8A86%22%20d%3D%22M156%20288%20Q156%20236%20208%20236%20H304%20Q356%20236%20356%20288%20V412%20Q356%20460%20308%20460%20H204%20Q156%20460%20156%20412%20Z%22%3E%3C%2Fpath%3E%0A%20%20%3C%2Fg%3E%3C%2Fsvg%3E"); }
.nav__links { display: flex; gap: 1.35rem; margin-left: auto; }
.nav__links a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 0.96rem; white-space: nowrap; transition: color 0.15s; }
.nav__links a:hover { color: var(--brand-ink); }
.nav__right { display: flex; align-items: center; gap: 0.85rem; margin-left: 1rem; }
.nav__phone { text-decoration: none; font-weight: 700; color: var(--brand-ink); font-size: 0.98rem; white-space: nowrap; }

/* Between the mobile collapse and full width, scale the links down so the row
   stays on one line instead of wrapping. */
@media (max-width: 1180px) {
  .nav__links { gap: 0.95rem; }
  .nav__links a { font-size: 0.9rem; }
  .nav__inner { gap: 1rem; }
  .nav__right { margin-left: 0.8rem; }
}

.nav__toggle { display: none; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; margin-left: 0.35rem; padding: 0.4rem; background: none; border: 1px solid var(--border); border-radius: 9px; color: var(--ink); cursor: pointer; }
@media (max-width: 860px) {
  .nav__inner { flex-wrap: wrap; height: auto; min-height: 66px; }
  .nav__links { display: none; order: 99; flex-basis: 100%; width: 100%; flex-direction: column; gap: 0; margin-left: 0; margin-top: 0.4rem; border-top: 1px solid var(--border); }
  .nav.nav--open .nav__links { display: flex; }
  .nav__links a { min-height: 44px; display: flex; align-items: center; padding: 0.7rem 0.25rem; font-size: 1rem; }
  .nav__right { margin-left: auto; gap: 0.7rem; }
  .nav__phone { display: inline; padding: 0.35rem 0; }
  .nav__toggle { display: inline-flex; }
}
@media (max-width: 520px) {
  /* Shrink the brand so brand + phone + CTA never overflow the bar. */
  .brand { font-size: 1rem; }
  .nav__phone { font-size: 0.9rem; }
  .nav__cta, .nav__right .btn { padding: 0.55rem 0.95rem; font-size: 0.92rem; }
}
/* Comfortable tap targets for the inline service links on touch screens. */
@media (max-width: 720px) {
  .scard__links .link { padding: 0.35rem 0; }
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(2.5rem, 7vw, 5.5rem) 0 clamp(3rem, 7vw, 5.5rem); }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, oklch(1 0 0 / 0.97) 0%, oklch(1 0 0 / 0.92) 38%, oklch(1 0 0 / 0.55) 64%, oklch(1 0 0 / 0.15) 100%),
    linear-gradient(0deg, oklch(1 0 0 / 0.55), oklch(1 0 0 / 0));
}
.hero__inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero__kicker { color: var(--brand-ink); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.01em; margin-bottom: 1rem; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 800; max-width: 14ch; }
.hero h1 em { font-style: normal; color: var(--brand-ink); }
.hero__lead { margin-top: 1.2rem; font-size: clamp(1.05rem, 2.2vw, 1.22rem); color: var(--muted); max-width: 46ch; }
.hero__row { margin-top: 1.6rem; }
.rating { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.98rem; color: var(--muted); }
.rating__stars { color: var(--star-ink); letter-spacing: 1px; font-size: 1.05rem; }
.rating strong { color: var(--ink); }

/* Quote card */
.quote { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(1.4rem, 3vw, 2rem); }
.quote__title { font-size: 1.5rem; }
.quote__sub { color: var(--muted); margin-top: 0.4rem; font-size: 0.98rem; }
.quote .form { margin-top: 1.2rem; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 0.9rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.field { display: grid; gap: 0.35rem; }
.field__label { font-size: 0.86rem; font-weight: 600; color: var(--ink); }
.field__opt { color: var(--muted); font-weight: 400; }
input, select, textarea {
  font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: 0.7rem 0.85rem; border: 1px solid var(--border); border-radius: 11px;
  background: var(--bg); width: 100%; transition: border-color 0.15s, box-shadow 0.15s;
}
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--cta); outline-offset: 2px; }
textarea { resize: vertical; }
.form__fine { font-size: 0.8rem; color: var(--muted); text-align: center; }
.form__msg { font-size: 0.95rem; font-weight: 600; text-align: center; }
.form__msg[data-state="ok"] { color: var(--brand-ink); }
.form__msg[data-state="err"] { color: var(--cta-press); }

/* ---------- Proof band ---------- */
.proof { background: var(--ink); color: oklch(1 0 0 / 0.92); }
.proof__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; padding: 1.4rem 0; justify-content: space-between; }
.proof__lead { font-size: 1.05rem; }
.proof__lead strong { color: #fff; }
.proof__badges { display: flex; flex-wrap: wrap; gap: 0.5rem 0.7rem; list-style: none; }
.proof__badges li { font-size: 0.85rem; font-weight: 600; padding: 0.35rem 0.8rem; border-radius: 999px; background: oklch(1 0 0 / 0.1); border: 1px solid oklch(1 0 0 / 0.16); }

/* ---------- Section scaffolding ---------- */
.section { padding-block: var(--space-section); }
.section--tint { background: var(--surface); }
.lede { max-width: 56ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.lede h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.lede p { margin-top: 0.8rem; color: var(--muted); font-size: 1.1rem; }
.center { text-align: center; margin-top: 2.5rem; }
.link { color: var(--brand-ink); font-weight: 600; text-decoration: none; }
.link:hover { text-decoration: underline; }

/* ---------- Services ---------- */
.services { display: grid; gap: clamp(1.3rem, 3vw, 2rem); }
/* Primary service — full-width banner, image beside copy */
.feature { display: grid; grid-template-columns: 1.1fr 1fr; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.feature__img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; }
.feature__body { padding: clamp(1.4rem, 3vw, 2.2rem); display: grid; gap: 0.7rem; align-content: center; }
.feature__body h3 { font-size: 1.4rem; }
.feature__body p { color: var(--muted); }
/* Supporting services — image cards (4 services → clean 2x2) */
.service-cards { display: grid; grid-template-columns: 1fr; gap: clamp(1rem, 2vw, 1.5rem); }
@media (min-width: 560px) { .service-cards { grid-template-columns: repeat(2, 1fr); } }
.scard { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--border); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.scard:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.scard__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 0.5s var(--ease); }
.scard:hover .scard__img { transform: scale(1.05); }
.scard__body { padding: 1.1rem 1.25rem 1.3rem; display: grid; gap: 0.28rem; }
.scard__body h3 { font-size: 1.12rem; }
.scard__body p { color: var(--muted); font-size: 0.96rem; }
@media (prefers-reduced-motion: reduce) { .scard, .scard__img { transition: none; } .scard:hover { transform: none; } .scard:hover .scard__img { transform: none; } }
/* Card feature bullets + per-card CTAs */
.scard__list { list-style: none; display: grid; gap: 0.3rem; margin-top: 0.55rem; }
.scard__list li { position: relative; padding-left: 1.2rem; font-size: 0.92rem; color: var(--muted); }
.scard__list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--brand-ink); font-weight: 700; }
.scard__links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; margin-top: 0.75rem; font-size: 0.95rem; }
/* Compact text-only service cards (services without photography) */
.svc-more { display: grid; grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.scard--plain { background: var(--bg); }
.scard--plain .scard__body { padding: 1.25rem 1.35rem 1.4rem; }

/* ---------- Split sections ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split--reverse .split__media { order: -1; }
.split__media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.split__body h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
.split__intro { color: var(--muted); font-size: 1.1rem; margin-top: 0.9rem; max-width: 50ch; }
.reasons { display: grid; gap: 1.1rem; margin-top: 1.8rem; }
.reasons dt { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.reasons dd { color: var(--muted); margin-top: 0.15rem; }

/* ---------- Steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.4rem, 3vw, 2.2rem); counter-reset: step; }
.step { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2rem); box-shadow: var(--shadow-sm); }
.step__num {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--brand-soft); color: var(--brand-ink); font-family: var(--font-display);
  font-weight: 800; font-size: 1.2rem; margin-bottom: 1rem;
}
.step h3 { font-size: 1.2rem; }
.step p { color: var(--muted); margin-top: 0.4rem; }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(1.2rem, 2.5vw, 1.8rem); }
.review { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.6rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.review__stars { color: var(--star-ink); letter-spacing: 1px; margin-bottom: 0.8rem; }
.review blockquote { font-size: 1.05rem; }
.review figcaption { margin-top: auto; padding-top: 1rem; font-weight: 600; color: var(--brand-ink); font-size: 0.92rem; }

/* ---------- Areas ---------- */
.areas { list-style: none; display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1.6rem; }
.areas li { font-size: 0.9rem; font-weight: 500; padding: 0.45rem 0.9rem; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); color: var(--ink); }

/* ---------- Booking ---------- */
.book { background: var(--brand); color: oklch(1 0 0 / 0.95); padding-block: var(--space-section); }
.book__inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.book__copy h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.7rem); }
.book__copy p { margin-top: 0.9rem; font-size: 1.1rem; color: oklch(1 0 0 / 0.9); max-width: 42ch; }
.book__phone { display: inline-block; margin-top: 1.4rem; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 3.5vw, 2.2rem); color: #fff; text-decoration: none; }
.book__hours { margin-top: 0.4rem; font-size: 0.95rem; color: oklch(1 0 0 / 0.8); }
.form--book { background: var(--bg); padding: clamp(1.4rem, 3vw, 2rem); border-radius: var(--radius-lg); box-shadow: var(--shadow); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: oklch(1 0 0 / 0.72); }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.footer__brand .brand__name { color: #fff; font-size: 1.3rem; }
.footer__brand p { margin-top: 0.6rem; max-width: 32ch; }
.footer__col h3 { font-family: var(--font-display); color: #fff; font-size: 1rem; margin-bottom: 0.8rem; }
.footer__col a, .footer__col span { display: block; text-decoration: none; color: oklch(1 0 0 / 0.72); font-size: 0.95rem; margin-bottom: 0.5rem; }
.footer__col a:hover { color: #fff; }
.footer__legal { border-top: 1px solid oklch(1 0 0 / 0.12); padding-block: 1.2rem; font-size: 0.85rem; color: oklch(1 0 0 / 0.6); }

/* ---------- Sticky mobile call bar ---------- */
.callbar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-callbar);
  background: var(--cta); color: #fff; text-align: center; font-weight: 700; padding: 0.95rem;
  text-decoration: none; box-shadow: 0 -6px 20px oklch(0.4 0.03 230 / 0.18);
}

/* ---------- Motion ---------- */
.reveal { opacity: 1; }
html.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
html.gsap .reveal { opacity: 1; transform: none; transition: none; }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .nav__links a, input, select, textarea { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .split, .split--reverse { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .book__inner { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__scrim { background: linear-gradient(0deg, oklch(1 0 0 / 0.92) 30%, oklch(1 0 0 / 0.78) 100%); }
  .proof__inner { justify-content: flex-start; }
  .callbar { display: block; }
  body { padding-bottom: 56px; }
  .footer__inner { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .form__row { grid-template-columns: 1fr; }
}

/* ── FAQ accordion ─────────────────────────────────────────────── */
.faq { display: grid; gap: 0.75rem; max-width: 60rem; }
.faq__item { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq__item > summary {
  list-style: none; cursor: pointer; padding: 1.05rem 1.25rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq__item > summary::-webkit-details-marker { display: none; }
.faq__item > summary::after {
  content: "+"; font-size: 1.4rem; line-height: 1; color: var(--brand-ink); flex: none; transition: transform 0.2s var(--ease);
}
.faq__item[open] > summary::after { transform: rotate(45deg); }
.faq__item > summary:hover { color: var(--brand-ink); }
.faq__a { padding: 0 1.25rem 1.15rem; color: var(--muted); }
.faq__a p { max-width: 64ch; }

/* ── Blog cards ────────────────────────────────────────────────── */
.posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.25rem; }
.post-card {
  display: flex; flex-direction: column; gap: 0.5rem; text-decoration: none;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.4rem; box-shadow: var(--shadow-sm); transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-card__tag {
  align-self: flex-start; font-family: var(--font-display); font-weight: 700; font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.04em; color: var(--brand-ink);
  background: var(--brand-soft); border-radius: 999px; padding: 0.2rem 0.7rem;
}
.post-card h3 { color: var(--ink); font-size: 1.15rem; line-height: 1.3; }
.post-card p { color: var(--muted); flex: 1; }
.post-card .link { margin-top: 0.25rem; }

/* ── Article (blog post) ───────────────────────────────────────── */
.crumbs { font-size: 0.9rem; color: var(--muted); padding: 1.5rem 0 0; }
.crumbs a { color: var(--brand-ink); text-decoration: none; font-weight: 600; }
.crumbs a:hover { text-decoration: underline; }
.article { max-width: 46rem; margin: 0 auto; padding: 1.5rem 0 var(--space-section); }
.article__head { margin-bottom: 2rem; }
.article__tag {
  font-family: var(--font-display); font-weight: 700; font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 0.04em; color: var(--brand-ink); background: var(--brand-soft); border-radius: 999px; padding: 0.2rem 0.7rem;
}
.article h1 { font-size: clamp(1.9rem, 5vw, 2.9rem); line-height: 1.1; margin: 0.9rem 0 0.6rem; }
.article__meta { color: var(--muted); font-size: 0.92rem; }
.article__body > * + * { margin-top: 1.1rem; }
.article__body h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); margin-top: 2.2rem; }
.article__body p, .article__body li { color: var(--ink); font-size: 1.08rem; line-height: 1.7; }
.article__body ul, .article__body ol { padding-left: 1.3rem; display: grid; gap: 0.5rem; }
.article__cta {
  margin-top: 2.5rem; background: var(--brand-soft); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.6rem; text-align: center;
}
.article__cta h2 { margin-top: 0; }
.article__cta p { color: var(--muted); margin: 0.5rem 0 1.2rem; }
.post-list { display: grid; gap: 1.1rem; max-width: 46rem; margin: 0 auto; padding-bottom: 1rem; }


.contact__line { margin-top: 0.4rem; }
.contact__line a { color: inherit; }

/* Service-area page */
.area-blocks { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1.25rem; margin-top: 1.5rem; }
.area-block { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.4rem; box-shadow: var(--shadow-sm); }
.area-block h2 { font-size: 1.2rem; line-height: 1.25; }
.area-block p { color: var(--muted); margin: 0.5rem 0 0.8rem; font-size: 0.97rem; }
.map-embed { margin-top: 1.5rem; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); aspect-ratio: 16 / 7; }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

.areas__more { margin-top: 1.1rem; }

/* ── Cleaning checklist comparison ─────────────────────────────── */
.checklist { overflow-x: auto; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.checklist__table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 0.96rem; }
.checklist__caption { caption-side: bottom; text-align: left; padding: 0.8rem 1.25rem; font-size: 0.82rem; color: var(--muted); }
.checklist__table th, .checklist__table td { padding: 0.65rem 1.25rem; border-bottom: 1px solid var(--border); text-align: left; }
.checklist__table thead th { font-family: var(--font-display); font-size: 0.95rem; background: var(--surface); white-space: nowrap; }
.checklist__table thead th + th, .checklist__table td.ck { text-align: center; width: 6.5rem; }
.checklist__table tbody th[scope="row"] { font-weight: 500; color: var(--ink); }
.checklist__room th { font-family: var(--font-display); font-size: 0.92rem; color: var(--brand-ink); background: var(--brand-soft); padding-block: 0.5rem; }
.ck { color: var(--muted); }
.ck--y { color: var(--brand-ink); font-weight: 700; }
.ck--n { opacity: 0.55; }
.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; }
.checklist__table tbody tr:last-child th, .checklist__table tbody tr:last-child td { border-bottom: 0; }

/* ── Add-on chips ──────────────────────────────────────────────── */
.addons-wrap { margin-top: clamp(2rem, 4vw, 3rem); }
.addons-wrap h3 { font-size: 1.25rem; }
.addons__sub { color: var(--muted); margin-top: 0.35rem; font-size: 0.98rem; }
.addons { list-style: none; display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1.1rem; }
.addons li { font-size: 0.9rem; font-weight: 500; padding: 0.45rem 0.95rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--ink); }

/* Internal cross-links on area / service pages */
.xsection { max-width: 46rem; margin: 2.5rem auto 0; }
.xsection h2 { font-size: 1.2rem; margin-bottom: 0.8rem; }
.xlinks { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 0.5rem 1.25rem; padding: 0; }
.xlinks a { color: var(--brand-ink); text-decoration: none; font-weight: 600; }
.xlinks a:hover { text-decoration: underline; }

/* Floating Google-reviews trust badge (bottom-left, desktop only) */
.gbadge { position: fixed; left: 1rem; bottom: 1rem; z-index: var(--z-callbar, 40); display: flex; align-items: center; gap: 0.7rem; background: var(--bg); color: var(--ink); text-decoration: none; border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); padding: 0.65rem 0.95rem; transition: transform 0.25s var(--ease, ease), box-shadow 0.25s var(--ease, ease); }
.gbadge:not([data-has-rating="1"]) { display: none; }
.gbadge:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.gbadge__g { flex-shrink: 0; }
.gbadge__text { display: flex; flex-direction: column; gap: 0.1rem; font-size: 0.8rem; line-height: 1.25; }
.gbadge__text strong { font-size: 0.84rem; }
.gbadge__row { color: var(--muted); }
.gbadge__stars { color: var(--star-ink); letter-spacing: 0.1em; }
@media (max-width: 720px) { .gbadge { display: none; } }
@media (prefers-reduced-motion: reduce) { .gbadge { transition: none; } .gbadge:hover { transform: none; } }

/* Reviews section hidden until the prospect has real Google reviews */
#reviews:not([data-has-reviews="1"]) { display: none; }

/* reviews carousel — exactly 3 up (2 tablet, 1 mobile), circular arrow nav */
.reviews-carousel { position: relative; padding-inline: 54px; }
.reviews-carousel .reviews {
  --rgap: clamp(0.9rem, 2vw, 1.4rem);
  display: flex;
  flex-wrap: nowrap;
  gap: var(--rgap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.reviews-carousel .reviews::-webkit-scrollbar { display: none; }
.reviews-carousel .review {
  flex: 0 0 calc((100% - 2 * var(--rgap)) / 3);
  scroll-snap-align: start;
}
@media (max-width: 860px) { .reviews-carousel .review { flex-basis: calc((100% - var(--rgap)) / 2); } }
@media (max-width: 560px) { .reviews-carousel .review { flex-basis: 100%; } }
.reviews-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  line-height: 1;
  border-radius: 999px;
  cursor: pointer;
  color: var(--ink, #16202e);
  background: var(--surface, #ffffff);
  border: 1px solid var(--border, rgba(0, 0, 0, 0.12));
  box-shadow: var(--shadow-sm, 0 6px 18px rgba(0, 0, 0, 0.14));
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.reviews-nav:hover { transform: translateY(-50%) scale(1.06); }
.reviews-nav--prev { left: 0; }
.reviews-nav--next { right: 0; }
.reviews-nav[hidden] { display: none; }
@media (max-width: 560px) {
  .reviews-carousel { padding-inline: 42px; }
  .reviews-nav { width: 38px; height: 38px; font-size: 1.35rem; }
}
@media (prefers-reduced-motion: reduce) {
  .reviews-carousel .reviews { scroll-behavior: auto; }
  .reviews-nav { transition: none; }
}

/* service-area (#areas): two-column; the map card stretches to the text column
   height and the map fills it (no dead space, top-aligned with the heading).
   Scoped to #areas so shared .areas__inner sections (e.g. #makes) are untouched. */
#areas .areas__inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(2rem, 5vw, 4rem); align-items: stretch; }
#areas .areas__text { display: grid; gap: clamp(1.3rem, 3vw, 2rem); align-content: start; }
.map-card { margin: 0; display: flex; flex-direction: column; border-radius: var(--radius-lg, 20px); overflow: hidden; border: 1px solid var(--border); background: var(--surface, #fff); box-shadow: var(--shadow, 0 12px 34px rgba(0, 0, 0, 0.12)); }
.map-card__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.85rem 1.1rem; border-bottom: 1px solid var(--border); }
.map-card__label { display: block; font-size: 0.68rem; letter-spacing: 0.09em; text-transform: uppercase; font-weight: 700; color: var(--muted, #6b7280); }
.map-card__addr { display: block; font-weight: 700; color: var(--ink); font-size: 0.95rem; }
.map-card__link { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.85rem; font-weight: 700; color: var(--brand, var(--cta, #0f62d6)); text-decoration: none; white-space: nowrap; }
.map-card__link:hover { text-decoration: underline; }
.map-card .map-embed { margin: 0; border: 0; border-radius: 0; flex: 1 1 auto; min-height: 340px; aspect-ratio: auto; }
.map-card .map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 780px) {
  #areas .areas__inner { grid-template-columns: 1fr; align-items: start; }
  .map-card .map-embed { flex: none; aspect-ratio: 16 / 11; min-height: 0; }
}

/* coverage map (MapLibre + Carto) fills the map card; the canvas is absolutely
   positioned so it fills #coverage-map regardless of flex/aspect-ratio height. */
#coverage-map { position: relative; }
#coverage-map .maplibregl-map { position: absolute; inset: 0; width: 100%; height: 100%; }
#coverage-map .maplibregl-marker { cursor: pointer; }
#coverage-map .maplibregl-popup-content { font-weight: 700; font-size: 0.85rem; color: #1f2937; padding: 0.4rem 0.65rem; border-radius: 8px; }
#coverage-map .maplibregl-ctrl-attrib { font-size: 10px; }
/* areas split holds the coverage map in the media column — top-align it with the
   heading (the shared .split centres vertically) so the map card doesn't float. */
#areas .split { align-items: start; }
