/* Bubble website styles. Colors, fonts and rules: brand/brand.md (they override everything else). */

/* ---------- Fonts (self-hosted Figtree, SIL OFL) ---------- */
@font-face { font-family: "Figtree"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/figtree-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/figtree-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/figtree-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/figtree-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/figtree-latin-800-normal.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  /* Brand (brand/tokens.css) */
  --navy: #002363;
  --blue: #0083EB;      /* icons, large type, shapes only: ~3.8:1 on white and navy */
  --white: #FFFFFF;
  --sky: #9FD2FF;       /* small labels on navy */
  --tint: #E9F3FE;
  --ink-2: #33415C;     /* secondary text on white */
  --divider: #D5E2F2;

  /* Semantic */
  --bg: var(--white);
  --text: var(--navy);
  --text-muted: var(--ink-2);
  --surface: var(--tint);
  --placeholder-bg: #E3E6EB;  /* neutral gray for photo slots */

  --font: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --track-head: -0.025em;
  --track-label: 0.12em;

  /* Spacing (4/8 rhythm) */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --gutter: 20px;
  --max: 1160px;
  --section-y: 64px;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --pill: 999px;
  --shadow: 0 1px 2px rgba(0, 35, 99, .06), 0 12px 32px -12px rgba(0, 35, 99, .18);

  --header-h: 64px;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 720px) {
  :root { --gutter: 32px; --section-y: 88px; }
}
@media (min-width: 1024px) {
  :root { --gutter: 48px; --section-y: 112px; --header-h: 76px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: var(--track-head); line-height: 1.08; text-wrap: balance; }
p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.on-navy :focus-visible { outline-color: var(--sky); }
[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--tint { background: var(--surface); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--s4); top: -100px; z-index: 100;
  background: var(--navy); color: var(--white); padding: var(--s3) var(--s4); border-radius: var(--radius-sm);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: var(--s3); }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.nowrap { white-space: nowrap; }

/* Section heading block */
.section-head { max-width: 40rem; margin-bottom: var(--s6); }
.section-head h2 { font-size: clamp(1.875rem, 6vw, 2.75rem); }
.section-head p { margin-top: var(--s3); color: var(--text-muted); font-size: 1.125rem; }

/* Small uppercase label: used only on navy bands, as on the printed pieces */
.label {
  display: block; font-size: .8125rem; font-weight: 800; letter-spacing: var(--track-label);
  text-transform: uppercase; color: var(--sky);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 52px; padding: 0 var(--s5);
  border-radius: var(--pill); border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 1.0625rem; text-decoration: none; line-height: 1;
  cursor: pointer; touch-action: manipulation;
  transition: background-color .15s ease, transform .15s var(--ease-out), box-shadow .15s ease;
}
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--navy); color: var(--white); box-shadow: 0 6px 16px -6px rgba(0, 35, 99, .5); }
.btn--primary:hover { background: #0a3480; }
.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { background: var(--tint); }
.btn--sm { min-height: 44px; padding: 0 var(--s4); font-size: 1rem; }
.btn .icon { width: 1.2em; height: 1.2em; }

.text-link {
  display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 700; color: var(--navy); text-decoration: underline;
  text-decoration-color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: 4px;
}
.text-link:hover { text-decoration-color: var(--navy); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--divider);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.4) blur(10px); }
}
.site-header .wrap {
  height: var(--header-h); display: flex; align-items: center; gap: var(--s3);
}
.brand { display: flex; align-items: center; margin-right: auto; min-height: 44px; }
.brand img { height: 40px; width: auto; }
@media (min-width: 1024px) { .brand img { height: 48px; } }

.header-actions { display: flex; align-items: center; gap: var(--s3); }

.nav { display: none; }
.nav ul { display: flex; gap: var(--s2); }
.nav a {
  position: relative;
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s3);
  font-weight: 600; text-decoration: none; border-radius: var(--pill);
}
.nav a:hover { background: var(--tint); }
/* Underline for the section currently in view (set by main.js) */
.nav a::after {
  content: ""; position: absolute; left: var(--s3); right: var(--s3); bottom: 6px;
  height: 3px; border-radius: 2px; background: var(--blue);
  transform: scaleX(0); transition: transform .25s var(--ease-out);
}
.nav a[aria-current="location"]::after { transform: scaleX(1); }
.mobile-nav a[aria-current="location"] {
  text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: 3px; text-underline-offset: 6px;
}
.header-phone { display: none; font-weight: 700; text-decoration: none; min-height: 44px; align-items: center; padding: 0 var(--s2); }
.header-phone:hover { text-decoration: underline; }

.menu-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 0; border-radius: var(--pill);
  background: var(--tint); color: var(--navy); cursor: pointer;
}
.menu-btn .icon { width: 22px; height: 22px; }
.menu-btn .i-close { display: none; }
.menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }

.mobile-nav {
  border-top: 1px solid var(--divider); background: var(--white);
  padding: var(--s2) var(--gutter) var(--s5);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a {
  display: flex; align-items: center; min-height: 52px;
  font-size: 1.125rem; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--divider);
}
.mobile-nav .mobile-contact { margin-top: var(--s4); color: var(--text-muted); font-size: 1rem; }
.mobile-nav .mobile-contact a { display: inline; min-height: 0; border: 0; font-size: inherit; color: var(--navy); text-decoration: underline; }

@media (min-width: 1024px) {
  /* Logo left, links centered on the page, actions right */
  .site-header .wrap { display: grid; grid-template-columns: 1fr auto 1fr; }
  .brand { margin-right: 0; justify-self: start; }
  .header-actions { justify-self: end; }
  .nav { display: block; }
  .header-phone { display: inline-flex; }
  .menu-btn, .mobile-nav { display: none !important; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--surface);
  padding-top: var(--s6);
  padding-bottom: var(--s7);
}
.hero-grid { display: grid; gap: var(--s6); align-items: center; }
.hero h1 {
  font-size: clamp(2.1rem, 10.6vw, 4.9rem);
  line-height: 1.02;
}
.hero h1 .line { display: block; }
.hero h1 .line--blue { color: var(--blue); }
.hero-lede { margin-top: var(--s4); font-size: 1.1875rem; font-weight: 500; max-width: 30rem; }
.hero-actions { margin-top: var(--s5); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s5); }
.hero-actions .btn { flex: 1 1 100%; }
.hero-contact { display: none; color: var(--text-muted); font-size: 1rem; }
.hero-contact a { font-weight: 700; color: var(--navy); }

.guarantee {
  margin-top: var(--s5); display: flex; gap: var(--s3); align-items: center;
  max-width: 30rem; font-size: 1rem; line-height: 1.45;
}
.guarantee .badge {
  flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: var(--white);
}
.guarantee .badge .icon { width: 22px; height: 22px; }
.guarantee strong { font-weight: 800; }

/* The photo bubble */
.hero-media { position: relative; justify-self: center; width: min(78%, 280px); }
.hero-media .photo-bubble { border-radius: 50%; aspect-ratio: 1; overflow: hidden; }
.hero-media .dot {
  position: absolute; border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 2px var(--divider);
}
.hero-media .dot--a { width: 18%; aspect-ratio: 1; left: -4%; bottom: 8%; }
.hero-media .dot--b { width: 9%; aspect-ratio: 1; right: 2%; top: 4%; background: var(--blue); box-shadow: none; }

@media (min-width: 560px) {
  .hero-actions .btn { flex: 0 0 auto; }
}
@media (min-width: 1024px) {
  .hero { padding-top: var(--s8); padding-bottom: 160px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: var(--s7); }
  .hero-contact { display: block; }
  .hero-lede { max-width: 36rem; }
  .hero-media { width: min(100%, 460px); justify-self: end; }
}

/* ---------- Three reasons ---------- */
.reasons-wrap { position: relative; z-index: 2; }
.reasons {
  display: grid; gap: var(--s5);
  background: var(--white); border-radius: var(--radius-lg);
  padding: var(--s5); margin-top: calc(var(--s6) * -1);
  box-shadow: var(--shadow); border: 1px solid var(--divider);
}
.reason { display: flex; gap: var(--s3); align-items: flex-start; }
.reason h2 { font-size: 1.1875rem; letter-spacing: -0.01em; line-height: 1.25; }
.reason p { margin-top: var(--s1); color: var(--text-muted); }
.check { flex: none; width: 32px; height: 32px; color: var(--blue); }
@media (min-width: 900px) {
  .reasons { grid-template-columns: repeat(3, 1fr); padding: var(--s6); gap: var(--s6); margin-top: -96px; }
}

/* ---------- Get your price ---------- */
.price-grid { display: grid; gap: var(--s5); }
.from-prices { display: grid; gap: var(--s3); }
.from-price {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--s3);
  padding: var(--s4) 0; border-bottom: 1px solid var(--divider);
}
.from-price:first-child { border-top: 1px solid var(--divider); }
.from-price .name { font-weight: 700; }
.from-price .amount { font-size: 1.5rem; font-weight: 800; letter-spacing: var(--track-head); font-variant-numeric: tabular-nums; white-space: nowrap; }
.from-price .amount small { font-size: .9375rem; font-weight: 600; letter-spacing: 0; color: var(--text-muted); }
.price-notes { margin-top: var(--s4); color: var(--text-muted); display: grid; gap: var(--s2); font-size: 1rem; }

@media (min-width: 900px) {
  .price-grid { grid-template-columns: .9fr 1.1fr; gap: var(--s7); align-items: start; }
}

/* ---------- Photo placeholders ---------- */
.ph {
  position: relative; display: grid; place-items: center;
  width: 100%; background: var(--placeholder-bg); color: var(--ink-2);
  font-size: .875rem; font-weight: 600; text-align: center; padding: var(--s3);
}
.ph::before {
  content: ""; position: absolute; inset: 10px; border: 1.5px dashed #9AA6B8; border-radius: inherit; pointer-events: none;
}
.ph span { position: relative; max-width: 22ch; overflow-wrap: anywhere; }
.ph--round::before { border-radius: 50%; }
.ph--3x2 { aspect-ratio: 3 / 2; }
.ph--4x3 { aspect-ratio: 4 / 3; }

/* ---------- What's included ---------- */
.which { display: flex; gap: var(--s3); align-items: flex-start; max-width: 44rem; margin-bottom: var(--s6); font-size: 1.125rem; font-weight: 500; }
.which .icon { color: var(--blue); width: 28px; height: 28px; margin-top: 1px; }
.services { display: grid; gap: var(--s5); }
.service {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--divider); border-radius: var(--radius-lg); overflow: hidden;
}
.service .ph { border-radius: 0; }
.service-body { display: flex; flex-direction: column; gap: var(--s4); padding: var(--s5); flex: 1; }
.service h3 { font-size: 1.625rem; }
.service .summary { color: var(--text-muted); }
.service .from { font-weight: 700; }
.service .from b { font-size: 1.375rem; font-weight: 800; letter-spacing: var(--track-head); }
.ticks { display: grid; gap: var(--s2); }
.ticks li { display: flex; gap: var(--s2); align-items: flex-start; }
.ticks .icon { width: 22px; height: 22px; margin-top: 2px; color: var(--blue); }
.service .text-link { margin-top: auto; align-self: flex-start; }

.service--plan { background: var(--navy); border-color: var(--navy); color: var(--white); }
.service--plan .summary { color: #D6E6FB; }
.service--plan .text-link { color: var(--white); text-decoration-color: var(--sky); }
.savings { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s2); padding: var(--s4) 0; border-block: 1px solid rgba(159, 210, 255, .35); }
.savings b { display: block; font-size: 2rem; font-weight: 800; letter-spacing: var(--track-head); line-height: 1.1; }
.savings span { font-size: .9375rem; color: #D6E6FB; }
.plan-note { font-size: .9375rem; color: #D6E6FB; }
.rotation { display: grid; gap: var(--s2); counter-reset: rot; }
.rotation li { display: flex; gap: var(--s2); align-items: center; }
.rotation li::before {
  counter-increment: rot; content: counter(rot);
  flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--white); color: var(--navy); font-weight: 800; font-size: .875rem;
}
@media (min-width: 900px) {
  .services { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- How it works ---------- */
.how-grid { display: grid; gap: var(--s7); align-items: start; }
.steps { display: grid; gap: 0; counter-reset: step; }
.step { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: var(--s4); padding-bottom: var(--s6); }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy); color: var(--white); font-weight: 800; font-size: 1.25rem;
  position: relative; z-index: 1;
}
/* dashed path joining the steps */
.step:not(:last-child)::after {
  content: ""; position: absolute; left: 23px; top: 52px; bottom: 4px;
  border-left: 2px dashed var(--blue);
}
.step h3 { font-size: 1.25rem; letter-spacing: -0.01em; line-height: 1.25; padding-top: 10px; }
.step p { margin-top: var(--s1); color: var(--text-muted); }

/* Example text thread: the page's one big idea */
.thread {
  background: var(--surface); border-radius: var(--radius-lg); padding: var(--s4) var(--s3);
  margin: 0 calc(var(--gutter) * -0.5);
  display: flex; flex-direction: column; gap: var(--s3);
}
@media (min-width: 560px) { .thread { margin: 0; padding: var(--s5) var(--s4); } }
.thread-head { display: flex; align-items: center; gap: var(--s3); padding-bottom: var(--s3); border-bottom: 1px solid var(--divider); margin-bottom: var(--s2); }
.thread-head .avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--white); display: grid; place-items: center; overflow: hidden; flex: none; border: 1px solid var(--divider); }
.thread-head .avatar img { width: 34px; height: 34px; }
.thread-head b { display: block; line-height: 1.2; }
.thread-head small { color: var(--text-muted); font-size: .875rem; }
.msg {
  max-width: 88%; padding: var(--s3) var(--s4); border-radius: 20px; font-size: 1rem; line-height: 1.45;
}
.msg--in { align-self: flex-start; background: var(--white); color: var(--navy); border-bottom-left-radius: 6px; box-shadow: 0 1px 0 var(--divider); }
.msg--out { align-self: flex-end; background: var(--navy); color: var(--white); border-bottom-right-radius: 6px; }
.msg ol { list-style: none; margin-top: var(--s1); }
.msg p + p { margin-top: var(--s2); }
.thread-note { font-size: .875rem; color: var(--text-muted); text-align: center; margin-top: var(--s2); }

/* One orchestrated moment: messages arrive one after another, same timing each, every time the
   thread scrolls into view. main.js gives each message its place (--i). Reduced motion: all shown at once. */
@media (prefers-reduced-motion: no-preference) {
  .js .thread .msg { opacity: 0; transform: translateY(12px) scale(.98); transition: opacity .4s var(--ease-out), transform .4s var(--ease-out); }
  .js .thread.is-in .msg { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * .7s); }
}
@media (min-width: 900px) {
  .how-grid { grid-template-columns: 1fr 1fr; gap: var(--s8); }
  .thread { padding: var(--s6); }
}

/* ---------- Every clean comes with ---------- */
.comes-grid { display: grid; gap: var(--s6); align-items: center; }
.comes-grid .ph { border-radius: var(--radius-lg); }
.comes { display: grid; gap: var(--s4); }
.comes li { display: flex; gap: var(--s4); align-items: center; font-size: 1.125rem; font-weight: 600; }
.comes .ico { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--white); color: var(--blue); }
.comes .ico .icon { width: 26px; height: 26px; }
@media (min-width: 900px) {
  .comes-grid { grid-template-columns: 1fr 1fr; gap: var(--s8); }
  .comes { grid-template-columns: 1fr 1fr; gap: var(--s5); }
}

/* ---------- About us ---------- */
.about { display: grid; gap: var(--s6); align-items: center; }
.owners { display: flex; align-items: center; }
.owner-mark {
  display: grid; place-items: center; width: 120px; height: 120px; border-radius: 50%;
  background: var(--navy); color: var(--white); font-size: 3rem; font-weight: 800; letter-spacing: var(--track-head);
}
.owner-mark + .owner-mark { margin-left: -20px; background: var(--blue); box-shadow: 0 0 0 6px var(--white); }
.about h2 { font-size: clamp(1.875rem, 6vw, 2.75rem); }
.about .lead { margin-top: var(--s3); font-size: 1.1875rem; font-weight: 600; }
.about-points { margin-top: var(--s5); display: grid; gap: var(--s4); }
.about-points b { display: block; }
.about-points p { color: var(--text-muted); }
@media (min-width: 900px) {
  .about { grid-template-columns: auto 1fr; gap: var(--s8); }
  .owner-mark { width: 200px; height: 200px; font-size: 5rem; }
  .owner-mark + .owner-mark { margin-left: -36px; box-shadow: 0 0 0 8px var(--white); }
}

/* ---------- Where we clean ---------- */
.areas { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s5); }
.areas li {
  display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; padding: 0 var(--s4);
  border-radius: var(--pill); background: var(--white); border: 1px solid var(--divider); font-weight: 600;
}
.areas .icon { width: 18px; height: 18px; color: var(--blue); }

/* ---------- FAQ ---------- */
.faq { max-width: 48rem; border-top: 1px solid var(--divider); }
.faq details { border-bottom: 1px solid var(--divider); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: var(--s4);
  min-height: 64px; padding: var(--s3) 0; cursor: pointer; list-style: none;
  font-size: 1.125rem; font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--blue); width: 24px; height: 24px; transition: transform .2s var(--ease-out); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq .answer { padding-bottom: var(--s5); color: var(--text-muted); display: grid; gap: var(--s3); max-width: 42rem; }
.faq-more { margin-top: var(--s5); }

/* ---------- Final band: promise + contact ---------- */
.final { position: relative; background: var(--navy); color: var(--white); }
.final .wave { display: block; width: 100%; height: 40px; color: var(--navy); background: var(--white); }
.final-inner { display: grid; gap: var(--s7); padding-block: var(--s7) var(--section-y); }
.final .promise { font-size: clamp(1.75rem, 6vw, 2.75rem); margin-top: var(--s3); }
.final .phone {
  display: inline-block; margin-top: var(--s2); padding-block: 4px;
  font-size: clamp(2.5rem, 12vw, 4.5rem); font-weight: 800; letter-spacing: var(--track-head); line-height: 1;
  color: var(--white); text-decoration: none; font-variant-numeric: tabular-nums;
}
.final .phone:hover { text-decoration: underline; text-decoration-thickness: 3px; }
.final .email { display: inline-flex; align-items: center; min-height: 44px; margin-top: var(--s2); font-size: 1.125rem; color: var(--white); }
.final .btn { margin-top: var(--s5); width: 100%; }
@media (min-width: 560px) { .final .btn { width: auto; } }
@media (min-width: 900px) {
  .final-inner { grid-template-columns: 1fr 1fr; gap: var(--s8); align-items: center; }
  .final .wave { height: 64px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #D6E6FB; border-top: 1px solid rgba(159, 210, 255, .25); }
.footer-inner { display: grid; gap: var(--s5); padding-block: var(--s7); font-size: 1rem; }
.footer-inner img { height: 52px; width: auto; }
.footer-inner a { color: var(--white); }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 var(--s5); }
.footer-links a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; font-weight: 600; }
.footer-legal { font-size: .875rem; }
@media (min-width: 900px) {
  .footer-inner { grid-template-columns: auto 1fr auto; align-items: center; gap: var(--s7); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Photos (temporary placeholder room photos; see PLAN.md) ---------- */
.photo-bubble { background: var(--placeholder-bg); }
.photo-bubble img { width: 100%; height: 100%; object-fit: cover; }
.service-photo { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; background: var(--placeholder-bg); }
.comes-photo { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); background: var(--placeholder-bg); }

/* ---------- Instant quote (self-contained: uses only the tokens above) ---------- */
.quote { container: quote / inline-size;
  background: var(--white); border: 1px solid var(--divider); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); overflow: hidden;
}
.quote-title { font-size: 1.5rem; padding: var(--s5) var(--s5) 0; }
.q-label { display: block; font-size: 1.0625rem; font-weight: 700; color: var(--navy); }
.q-hint { display: block; font-size: .9375rem; color: var(--text-muted); }

.q-counts { display: grid; gap: var(--s4); padding: var(--s4) var(--s5) var(--s2); }
.q-count { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "label stepper" "hint stepper" "error error"; align-items: center; column-gap: var(--s4); }
.q-count .q-label { grid-area: label; }
.q-count .q-hint { grid-area: hint; }
.q-count .stepper { grid-area: stepper; }
.q-count .q-error { grid-area: error; }

.stepper { display: flex; align-items: center; gap: var(--s2); }
.step-btn {
  display: grid; place-items: center; width: 48px; height: 48px; flex: none;
  border: 0; border-radius: 50%; background: var(--tint); color: var(--navy); cursor: pointer; touch-action: manipulation;
  transition: background-color .15s ease, transform .15s var(--ease-out);
}
.step-btn .icon { width: 22px; height: 22px; }
.step-btn:hover:not(:disabled) { background: var(--divider); }
.step-btn:active:not(:disabled) { transform: scale(.94); }
.step-btn:disabled { opacity: .4; cursor: not-allowed; }
.step-input {
  width: 3.25rem; height: 48px; text-align: center;
  font: inherit; font-size: 1.375rem; font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums;
  border: 2px solid var(--divider); border-radius: var(--radius-sm); background: var(--white);
  -moz-appearance: textfield; appearance: textfield;
}
.step-input::-webkit-outer-spin-button, .step-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.step-input:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-color: var(--navy); }
.step-input[aria-invalid="true"] { border-color: #B42318; }
.q-error { color: #B42318; font-size: .9375rem; font-weight: 600; }
.q-error:not(:empty) { margin-top: var(--s2); }

.q-group { border: 0; margin: 0; padding: var(--s4) var(--s5) var(--s2); min-width: 0; }
.q-group legend { padding: 0; margin-bottom: var(--s3); }
.q-options { display: grid; gap: var(--s2); }
.q-options--grid { grid-template-columns: 1fr 1fr; }
.q-help { margin-top: var(--s3); font-size: .9375rem; color: var(--text-muted); }

.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt > span {
  display: flex; flex-direction: column; justify-content: center; min-height: 52px; height: 100%;
  padding: var(--s2) var(--s4) var(--s2) 44px; position: relative;
  border: 2px solid var(--divider); border-radius: var(--radius); background: var(--white);
  font-weight: 600; line-height: 1.3; transition: border-color .15s ease, background-color .15s ease;
}
.opt > span::before {
  content: ""; position: absolute; left: 14px; top: 50%; width: 20px; height: 20px; margin-top: -10px;
  border: 2px solid #8A97AB; border-radius: 50%; background: var(--white); box-sizing: border-box;
}
.opt small { font-size: .875rem; font-weight: 600; color: var(--text-muted); }
.opt:hover > span { border-color: #A9BEDB; }
.opt input:checked + span { border-color: var(--navy); background: var(--tint); }
.opt input:checked + span::before { border: 6px solid var(--navy); }
.opt input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }

.q-result {
  margin-top: var(--s4); padding: var(--s5); background: var(--navy); color: var(--white);
  display: grid; gap: var(--s2);
}
.q-service { font-weight: 700; color: var(--sky); }
.q-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 var(--s3); }
.q-amount { font-size: clamp(2.75rem, 12vw, 3.5rem); font-weight: 800; letter-spacing: var(--track-head); line-height: 1; font-variant-numeric: tabular-nums; }
.q-when { font-weight: 600; color: #D6E6FB; }
.q-plan { font-size: 1.125rem; font-weight: 700; }
.q-notes { display: grid; gap: var(--s2); font-size: .9375rem; color: #D6E6FB; }
.q-notes li { padding-left: 18px; position: relative; }
.q-notes li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--sky); }
.q-book { margin-top: var(--s3); width: 100%; }
.q-desktop { display: none; font-size: .9375rem; color: #D6E6FB; }
.q-desktop a, .q-small a { color: var(--white); font-weight: 700; }
.q-small { font-size: .875rem; color: #D6E6FB; }
.q-noscript { padding: var(--s5); font-weight: 600; }
/* Computers (mouse, no touch): sms links need a phone, so show the number and email next to the button */
@media (hover: hover) and (pointer: fine) { .q-desktop { display: block; } }
@container quote (min-width: 540px) {
  .q-counts { grid-template-columns: repeat(3, 1fr); }
  .q-count { grid-template-columns: 1fr; grid-template-areas: "label" "hint" "stepper" "error"; row-gap: var(--s1); }
  .q-count .stepper { margin-top: var(--s2); }
  .q-book { width: auto; justify-self: start; }
}
/* Very small phones: put each counter under its label so labels don't squeeze */
@media (max-width: 379px) {
  .q-count { grid-template-columns: 1fr; grid-template-areas: "label" "hint" "stepper" "error"; row-gap: var(--s1); }
  .q-count .stepper { margin-top: var(--s2); }
  .quote-title, .q-counts, .q-group, .q-result { padding-inline: var(--s4); }
}
/* Desktop: keep the "from" prices in view beside the taller quote form */
@media (min-width: 900px) {
  .price-grid > :first-child { position: sticky; top: calc(var(--header-h) + var(--s5)); }
}

/* Quote card (feedback 2026-10-18): a soft light-blue panel so it reads apart from the text on the left,
   with white answer cards and the navy result. Kept gentle on purpose. */
.quote { background: var(--tint); border: 1px solid var(--divider); box-shadow: var(--shadow); }
.quote-title { padding: var(--s5) var(--s5) 0; }
.quote .step-btn { background: var(--white); box-shadow: inset 0 0 0 2px var(--divider); }
.quote .step-btn:hover:not(:disabled) { background: var(--white); box-shadow: inset 0 0 0 2px var(--blue); }
.quote .step-btn:disabled { opacity: .45; }
.quote .opt > span { border-color: #C9DBF2; }
.quote .opt:hover > span { border-color: var(--blue); }
.quote .opt input:checked + span { background: var(--white); border-color: var(--navy); box-shadow: 0 0 0 1px var(--navy); }
.quote .opt input:checked + span::before { border-color: var(--blue); }
@media (max-width: 379px) { .quote-title { padding-inline: var(--s4); } }

/* Quote layout tidy-up (feedback 2026-10-18): bigger heading, each question tight to its answers,
   even space and a faint divider between questions. */
.quote-title { font-size: clamp(1.875rem, 7vw, 2.375rem); line-height: 1.1; padding: var(--s6) var(--s5) var(--s2); }
.quote .q-label { font-size: 1.125rem; }
.quote .q-hint { margin-top: 2px; }
.quote .q-counts { padding: var(--s4) var(--s5) var(--s5); gap: var(--s4); }
.quote .q-group { padding: var(--s5); border-top: 1px solid var(--divider); }
.quote .q-group legend { float: left; width: 100%; margin: 0 0 var(--s3); }
.quote .q-group legend + * { clear: both; }
.quote .q-options { gap: var(--s2); }
.quote .q-help { margin-top: var(--s3); }
.quote .q-result { margin-top: 0; padding: var(--s6) var(--s5); }
@container quote (min-width: 540px) {
  .quote .q-counts { column-gap: var(--s5); }
  .quote .q-count .stepper { margin-top: var(--s3); }
}
@media (max-width: 379px) {
  .quote-title { padding-inline: var(--s4); }
  .quote .q-counts, .quote .q-group, .quote .q-result { padding-inline: var(--s4); }
}
/* Three counters side by side: compact steppers so they always fit inside the card (min 44px taps) */
@container quote (min-width: 540px) {
  .quote .q-counts { column-gap: var(--s4); }
  .quote .stepper { gap: 6px; }
  .quote .step-btn { width: 44px; height: 44px; }
  .quote .step-input { width: 3rem; height: 44px; }
}

/* =====================================================================
   Inner pages: What's included, FAQ, 404 (step 5). Same tokens as home.
   ===================================================================== */

/* Current page in the header (inner pages); home uses the scroll underline */
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.mobile-nav a[aria-current="page"] {
  text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: 3px; text-underline-offset: 6px;
}

/* Page intro band */
.page-hero { background: var(--surface); padding-block: var(--s7) var(--s7); }
.page-hero h1 { font-size: clamp(2.5rem, 10vw, 4.25rem); line-height: 1.02; }
.page-lede { margin-top: var(--s4); max-width: 38rem; font-size: 1.1875rem; font-weight: 500; }
.jump { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s5); }
.jump a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s4);
  border-radius: var(--pill); background: var(--white); border: 1px solid var(--divider);
  font-weight: 600; text-decoration: none; transition: border-color .15s ease;
}
.jump a:hover { border-color: var(--blue); }
@media (min-width: 1024px) { .page-hero { padding-block: var(--s8); } }

/* What's included sections */
.wi-head { display: grid; gap: var(--s5); align-items: center; margin-bottom: var(--s6); }
.wi-head h2 { font-size: clamp(1.875rem, 6vw, 2.75rem); }
.wi-note { margin-top: var(--s3); font-size: 1.125rem; color: var(--text-muted); max-width: 34rem; }
.wi-from { margin-top: var(--s3); font-weight: 700; }
.wi-from b { font-size: 1.5rem; font-weight: 800; letter-spacing: var(--track-head); }
.wi-photo { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-lg); background: var(--placeholder-bg); }
@media (min-width: 900px) {
  .wi-head { grid-template-columns: 1fr 440px; gap: var(--s7); }
}

.check-grid { display: grid; gap: var(--s6); }
.check-group h3 {
  font-size: .875rem; font-weight: 800; letter-spacing: var(--track-label); text-transform: uppercase;
  padding-bottom: var(--s2); margin-bottom: var(--s4); border-bottom: 1px solid var(--divider);
}
.checklist { display: grid; gap: var(--s3); }
.checklist li { display: flex; gap: var(--s3); align-items: flex-start; }
.checklist > li > .icon { width: 24px; height: 24px; color: var(--blue); margin-top: 1px; }
.icon.rot { display: inline-block; vertical-align: -3px; width: 18px; height: 18px; color: var(--blue); margin-left: 2px; }
.rot-key { display: flex; align-items: center; gap: var(--s2); margin-top: var(--s5); color: var(--text-muted); font-weight: 600; }
.rot-key .icon.rot { margin: 0; flex: none; }
@media (min-width: 640px) { .check-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .check-grid { grid-template-columns: repeat(4, 1fr); gap: var(--s6); } }

/* Recurring: the four-visit rotation (a real sequence, so numbered) */
.rotation-steps { display: grid; gap: var(--s3); counter-reset: rot; }
.rotation-steps li {
  position: relative; display: flex; align-items: center; gap: var(--s3); min-height: 72px;
  padding: var(--s4); border-radius: var(--radius); background: var(--tint); font-weight: 700; font-size: 1.0625rem;
}
.rotation-steps li::before {
  counter-increment: rot; content: counter(rot); flex: none;
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--navy); color: var(--white); font-weight: 800;
}
@media (min-width: 900px) { .rotation-steps { grid-template-columns: repeat(4, 1fr); } .rotation-steps li { flex-direction: column; align-items: flex-start; min-height: 140px; } }

.plan-grid { display: grid; gap: var(--s6); margin-top: var(--s7); align-items: start; }
.plan-points { display: grid; gap: var(--s5); }
.plan-point { display: flex; gap: var(--s4); align-items: flex-start; }
.plan-point .ico { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--tint); color: var(--blue); }
.plan-point .ico .icon { width: 26px; height: 26px; }
.plan-point p { color: var(--text-muted); font-size: 1.0625rem; }
.plan-point b { display: block; color: var(--navy); font-size: 1.1875rem; }
.plan-savings { border: 2px solid var(--navy); border-radius: var(--radius-lg); padding: var(--s5); }
.plan-savings h3 { font-size: .875rem; font-weight: 800; letter-spacing: var(--track-label); text-transform: uppercase; }
.savings-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); margin-top: var(--s4); }
.savings-row b { display: block; font-size: clamp(2rem, 8vw, 2.75rem); font-weight: 800; letter-spacing: var(--track-head); line-height: 1.05; }
.savings-row span { font-size: .9375rem; color: var(--text-muted); }
.plan-small { margin-top: var(--s4); color: var(--text-muted); font-size: .9375rem; }
.plan-savings .btn { margin-top: var(--s5); }
@media (min-width: 900px) { .plan-grid { grid-template-columns: 1fr 1fr; gap: var(--s8); } }

/* Add-ons and what we don't do */
.two-lists { display: grid; gap: var(--s7); }
.list-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); flex-wrap: wrap; padding-bottom: var(--s3); margin-bottom: var(--s4); border-bottom: 1px solid var(--divider); }
.list-head h2 { font-size: clamp(1.625rem, 5vw, 2.125rem); }
.list-head p { color: var(--text-muted); font-weight: 600; }
.plain-list { display: grid; gap: var(--s3); }
.plain-list li { display: flex; gap: var(--s3); align-items: flex-start; font-size: 1.0625rem; }
.plain-list .icon { width: 24px; height: 24px; color: var(--blue); flex: none; margin-top: 1px; }
.plain-list--dont .icon { color: var(--ink-2); }
@media (min-width: 900px) { .two-lists { grid-template-columns: 1fr 1fr; gap: var(--s8); } }

/* Every clean comes with: four across on inner pages */
.comes--row .ico { background: var(--tint); }
@media (min-width: 900px) { .comes.comes--row { grid-template-columns: repeat(4, 1fr); } }

/* FAQ page */
.faq-page { padding-top: var(--s7); }
.faq-wrap { display: grid; gap: var(--s7); }
.faq-group h2 { font-size: clamp(1.5rem, 5vw, 2rem); margin-bottom: var(--s3); }
.faq-group .faq { max-width: 52rem; }
.inline-link { font-weight: 700; color: var(--navy); text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.inline-link:hover { text-decoration-color: var(--navy); }

/* 404 */
.page-hero--404 { padding-block: var(--s8) var(--s9); min-height: 60vh; }
.nf-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s5); margin-top: var(--s6); }
.nf-actions .text-link { gap: var(--s2); }
.nf-actions .text-link .icon { width: 20px; height: 20px; }
.nf-links { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s6); }
.nf-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s4);
  border-radius: var(--pill); background: var(--white); border: 1px solid var(--divider); font-weight: 600; text-decoration: none;
}
.nf-links a:hover { border-color: var(--blue); }

/* About us: founders' story */
.about .story { margin-top: var(--s4); font-size: 1.125rem; line-height: 1.6; max-width: 38rem; }
.about .story + .lead { margin-top: var(--s4); }
.inline-link { padding-block: 12px; }
html { scroll-padding-top: calc(var(--header-h) + 12px); } /* keeps keyboard focus clear of the sticky header */

/* Quote: "Which clean?" and short notes (2026-10-18) */
.quote .q-group--first { border-top: 0; padding-top: var(--s4); }
.q-options--service .opt > span { min-height: 76px; }
.q-options--service small { display: block; margin-top: 2px; font-weight: 500; line-height: 1.35; }
.opt input:disabled + span { opacity: .5; cursor: not-allowed; background: transparent; }
.opt input:disabled + span::before { border-style: dashed; }
.q-switch:not(:empty) {
  margin-top: var(--s3); padding: var(--s3) var(--s4); border-radius: var(--radius-sm);
  background: var(--white); border-left: 4px solid var(--navy); font-size: .9375rem; font-weight: 600;
}
.q-plan-note { font-size: .9375rem; color: #D6E6FB; }
.q-confirm { font-size: .9375rem; font-weight: 600; color: var(--white); }
.q-confirm, .q-notes:not(:empty) + .q-confirm { margin-top: var(--s1); }

/* FAQ: Good to know */
.gtk { display: grid; gap: var(--s4); }
.gtk li { background: var(--white); border: 1px solid var(--divider); border-radius: var(--radius); padding: var(--s5); }
.gtk h3 { font-size: 1.125rem; letter-spacing: -0.01em; line-height: 1.3; }
.gtk p { margin-top: var(--s2); color: var(--text-muted); }
@media (min-width: 720px) { .gtk { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .gtk { grid-template-columns: repeat(3, 1fr); } }
.quote .q-options--service { grid-template-columns: 1fr; }
.quote .q-options--service .opt > span { min-height: 64px; }
@container quote (min-width: 540px) { .quote .q-options--service { grid-template-columns: 1fr 1fr; } }
