/* ==========================================================================
   Sonia Djidji Cleaning Services
   Brand: seafoam #5FB8B1 + deep navy #123B4A (from the logo), on a cool linen
   white that matches the hero animation's backdrop. Lora (the wordmark) for
   headlines, Inter (the logo tagline face) for reading.
   ========================================================================== */

/* Self-hosted fonts (Latin + Spanish characters). Lora = the logo wordmark, Inter = the logo tagline. */
@font-face { font-family: "Lora"; src: url("../fonts/lora-var.woff") format("woff"); font-weight: 500 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Lora"; src: url("../fonts/lora-italic-var.woff") format("woff"); font-weight: 500 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-500.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-600.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-700.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --linen: #F4F5F0;        /* page, matches the hero video's surround */
  --linen-2: #EBEFE9;      /* quiet band */
  --white: #FFFFFF;
  --mist: #E2F0EE;         /* seafoam tint */
  --sand: #F4EEE4;         /* brand warm neutral, used once (Sonia) */
  --sea: #5FB8B1;          /* brand seafoam: shapes, icons, rules */
  --sea-ink: #23706A;      /* seafoam dark enough for text and links */
  --navy: #123B4A;         /* brand deep navy */
  --navy-2: #0C2B37;       /* footer, pressed */
  --text: #19343F;
  --text-2: #475F68;
  --line: #D3DDD9;
  --line-2: #B9CAC5;
  --mark: #FFF0B3;
  --mark-ink: #5C4400;
  --focus: #23706A;

  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --step--1: 0.9rem;
  --step-0: 1.0625rem;     /* 17px */
  --step-1: 1.25rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.75rem, 1.35rem + 1.5vw, 2.25rem);
  --step-4: clamp(2rem, 1.4rem + 2.4vw, 2.75rem);
  --step-5: clamp(2.35rem, 1.5rem + 3.4vw, 3.6rem);

  --radius: 14px;
  --radius-lg: 22px;
  --wrap: 1200px;
  --gutter: 20px;
  --header-h: 84px;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--linen);
  color: var(--text);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media (min-width: 900px) { body { font-size: 1.125rem; } }
img, svg, video { max-width: 100%; }
img { height: auto; }
a { color: var(--sea-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; color: var(--navy); line-height: 1.15; letter-spacing: -0.01em; text-wrap: balance; margin: 0; }
h1 { font-size: var(--step-5); letter-spacing: -0.018em; }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
p { margin: 0; }
p + p { margin-top: 1em; }
.lead { font-size: var(--step-1); color: var(--text-2); line-height: 1.55; max-width: 60ch; }
@media (min-width: 900px) { .lead { font-size: 1.3rem; } }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.narrow { max-width: calc(760px + 2 * var(--gutter)); }
.section { padding-block: clamp(56px, 7vw, 96px); }
.section-tight { padding-block: clamp(40px, 5vw, 64px); }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 4vw, 48px); max-width: 720px; }
.section-head p { color: var(--text-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border-radius: var(--radius);
  font: 600 1.0625rem/1 var(--sans);
  text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease;
  cursor: pointer;
}
.btn svg { flex: none; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); color: #fff; transform: translateY(-1px); box-shadow: 0 12px 24px -14px rgba(18,59,74,.7); }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); background: rgba(255,255,255,.7); transform: translateY(-1px); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--mist); color: var(--navy); }
.btn-line-light { color: #fff; border-color: rgba(255,255,255,.45); background: transparent; }
.btn-line-light:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(244, 245, 240, .92);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
  padding-top: env(safe-area-inset-top, 0px);
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: block; flex: none; line-height: 0; }
.brand img { width: auto; height: 64px; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.site-nav a.nav-link {
  color: var(--text); text-decoration: none; font-weight: 500; font-size: 1rem;
  padding: 10px 12px; border-radius: 10px;
}
.site-nav a.nav-link:hover { background: rgba(18, 59, 74, .06); color: var(--navy); }
.site-nav a.nav-link[aria-current="page"] { color: var(--navy); box-shadow: inset 0 -2px 0 var(--sea); border-radius: 0; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-link {
  font-weight: 600; font-size: .95rem; color: var(--navy); text-decoration: none;
  padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line-2);
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
}
.lang-link:hover { border-color: var(--navy); color: var(--navy); }
.header-phone { font-weight: 600; color: var(--navy); text-decoration: none; white-space: nowrap; font-size: 1rem; display: inline-flex; align-items: center; gap: 8px; }
.header-phone svg { color: var(--sea-ink); }
.header-actions .btn { min-height: 46px; padding: 0 18px; font-size: 1rem; }
.menu-btn {
  display: none; appearance: none; background: transparent; border: 1px solid var(--line-2);
  border-radius: 12px; width: 46px; height: 46px; align-items: center; justify-content: center; color: var(--navy); cursor: pointer;
}
.menu-btn .i-close { display: none; }
.nav-open .menu-btn .i-close { display: block; }
.nav-open .menu-btn .i-menu { display: none; }
.nav-extra { display: none; }

@media (max-width: 1120px) {
  .header-phone span.num { display: none; }
}
@media (max-width: 980px) {
  .brand img { height: 50px; }
  .menu-btn { display: inline-flex; }
  .header-actions .btn, .header-phone { display: none; }
  .header-actions { margin-left: auto; }
  .site-nav {
    position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 0 0;
    background: var(--linen);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px max(var(--gutter), env(safe-area-inset-right, 0px)) calc(120px + env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px));
    overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-6px);
    transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
    margin: 0;
  }
  .nav-open .site-nav { visibility: visible; opacity: 1; transform: none; transition: opacity .18s ease, transform .18s ease; }
  .site-nav a.nav-link { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: var(--navy); padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .site-nav a.nav-link[aria-current="page"] { box-shadow: none; color: var(--sea-ink); }
  .nav-extra { display: grid; gap: 12px; margin-top: 24px; }
  .nav-extra .btn { width: 100%; }
  .nav-open { overflow: hidden; }
}
@media (max-width: 420px) { .brand img { height: 46px; } .lang-link { padding: 7px 10px; } }

/* ---------- Mobile action bar ---------- */
.action-bar { display: none; }
@media (max-width: 760px) {
  .action-bar {
    display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 35;
    padding: 10px max(12px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
    background: rgba(244, 245, 240, .96);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
  }
  .action-bar a {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; border-radius: 12px; text-decoration: none; font-weight: 600; font-size: 1rem;
    color: var(--navy); background: #fff; border: 1px solid var(--line);
  }
  .action-bar a.ab-quote { background: var(--navy); color: #fff; border-color: var(--navy); }
  body.has-action-bar { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .nav-open .action-bar { display: none; }
}

/* ---------- Hero: one big animation behind everything ---------- */
.home-hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(620px, calc(100svh - var(--header-h) - 64px), 900px);
  display: flex; align-items: center;
  padding-block: clamp(36px, 5vw, 64px);
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg video, .hero-bg .hero-still, .hero-bg .hero-chars {
  position: absolute; top: 0; height: 100%;
  left: 19%; width: 108%; display: block; max-width: none;
}
.hero-bg video, .hero-bg .hero-still {
  z-index: 0; object-fit: cover; object-position: 50% 50%;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 18%, #000 100%), linear-gradient(to bottom, transparent 0, #000 12%, #000 82%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(to right, transparent 0, #000 18%, #000 100%), linear-gradient(to bottom, transparent 0, #000 12%, #000 82%, transparent 100%);
          mask-composite: intersect;
}
/* soft veil so the broom sweeps out from behind the words without fighting them */
.hero-bg::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, var(--linen) 0%, rgba(244,245,240,.94) 30%, rgba(244,245,240,.6) 45%, rgba(244,245,240,0) 60%);
}
/* Sonia and her dogs: above the veil, pop up after the house lands */
.hero-bg .hero-chars { z-index: 2; overflow: visible; }
.hero-chars .who { transform-box: fill-box; transform-origin: 50% 100%; }
.anim .hero-chars:not(.peek) .who { opacity: 0; }
.hero-chars.peek .who { animation: char-pop .55s cubic-bezier(.2, .9, .3, 1.3) both; }
.hero-chars.peek .dog-a { animation-delay: .12s; }
.hero-chars.peek .dog-b { animation-delay: .22s; }
.hero-chars.peek .shadows { animation-name: char-fade; }
.hero-chars .wave { transform-box: view-box; transform-origin: 684px 562px; }
.hero-chars.peek .wave { animation: char-wave .46s ease-in-out .5s 4; }
.hero-chars .tail { transform-box: view-box; }
.hero-chars .tail-a { transform-origin: 1186px 738px; }
.hero-chars .tail-b { transform-origin: 1234px 742px; }
.hero-chars.peek .tail { animation: char-wag .2s ease-in-out .7s 9; }
@keyframes char-pop { 0% { opacity: 0; transform: translateY(46px) scaleY(.9); } 55% { opacity: 1; transform: translateY(-7px) scaleY(1.04); } 100% { opacity: 1; transform: none; } }
@keyframes char-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes char-wave { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-17deg); } }
@keyframes char-wag { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(24deg); } }
@media (prefers-reduced-motion: reduce) { .hero-chars .who, .hero-chars .wave, .hero-chars .tail { animation: none !important; opacity: 1 !important; } }
.hero-bg video { display: none; }
.anim .hero-bg video { display: block; }
.anim .hero-bg .hero-still { display: none; }
.hero-inner { position: relative; width: 100%; }
.hero-copy { display: grid; gap: 20px; max-width: 590px; }
.home-hero h1 { font-size: clamp(2.4rem, 1.3rem + 3.6vw, 4rem); max-width: 13ch; }
html[lang="es"] .home-hero h1 { max-width: 15ch; font-size: clamp(2.3rem, 1.25rem + 3.3vw, 3.7rem); }
.home-hero .lead { max-width: 31em; }
.hero-notes { list-style: none; padding: 0; margin: 2px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--text-2); font-size: .98rem; }
.hero-notes li { display: inline-flex; align-items: center; gap: 8px; }
.hero-notes svg { color: var(--sea-ink); flex: none; }
.hero-replay {
  position: absolute; z-index: 2; right: max(24px, 6%); top: 18%;
  width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line-2);
  background: rgba(255,255,255,.8); color: var(--navy); display: grid; place-items: center; cursor: pointer;
  opacity: 0; transition: opacity .3s ease;
}
.hero-replay.show { opacity: 1; }
.hero-replay:hover { background: #fff; border-color: var(--navy); }

/* ---------- Instant price bar (glass, in front of the animation) ---------- */
.estimator {
  margin-top: clamp(28px, 4vw, 48px);
  display: grid; grid-template-columns: auto auto auto auto minmax(150px, 1fr) auto; align-items: center; gap: 12px 20px;
  padding: 14px 14px 14px 22px; border-radius: 22px;
  background: rgba(255, 255, 255, .62);
  -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 1px 2px rgba(18,59,74,.05), 0 28px 60px -32px rgba(18,59,74,.45);
}
.est-title { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); font-size: .98rem; white-space: nowrap; }
.est-title svg { color: var(--sea); flex: none; }
.est-svc { border: 0; margin: 0; padding: 3px; display: inline-flex; gap: 2px; background: rgba(18,59,74,.06); border-radius: 999px; width: max-content; }
.est-svc label { position: relative; cursor: pointer; }
.est-svc input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.est-svc span { display: block; padding: 9px 14px; border-radius: 999px; font-weight: 600; font-size: .95rem; color: var(--text-2); white-space: nowrap; transition: background-color .15s, color .15s; }
.est-svc input:checked + span { background: var(--navy); color: #fff; box-shadow: 0 6px 16px -8px rgba(18,59,74,.6); }
.est-svc input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.est-step { display: grid; gap: 4px; justify-items: start; }
.est-label { font-size: .8rem; font-weight: 600; color: var(--text-2); line-height: 1; }
.est-ctrl { display: inline-flex; align-items: center; gap: 6px; }
.est-ctrl button {
  appearance: none; width: 34px; height: 34px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff;
  color: var(--navy); font: 600 1.15rem/1 var(--sans); cursor: pointer; display: grid; place-items: center;
}
.est-ctrl button:hover:not(:disabled) { border-color: var(--navy); }
.est-ctrl button:disabled { opacity: .4; cursor: default; }
.est-ctrl output { min-width: 3.4em; text-align: center; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.est-out { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 6px; justify-self: end; justify-content: flex-end; text-align: right; min-width: 0; }
.est-from { flex-basis: 100%; }
.est-from, .est-per { font-size: .85rem; color: var(--text-2); font-weight: 500; }
.est-price { font-family: var(--serif); font-weight: 600; font-size: 1.55rem; color: var(--navy); font-variant-numeric: tabular-nums; display: inline-block; white-space: nowrap; }
.est-price.bump { animation: est-bump .35s ease; }
@keyframes est-bump { 0% { transform: translateY(3px); opacity: .4; } 100% { transform: none; opacity: 1; } }
.est-note { grid-column: 1 / -1; font-size: .82rem; color: var(--text-2); margin-top: -6px; }
@media (max-width: 1180px) {
  .estimator { grid-template-columns: auto auto auto minmax(0, 1fr); }
  .est-title { grid-column: 1 / -1; }
  .est-out { grid-column: 1 / 3; justify-self: start; text-align: left; }
  .est-cta { grid-column: 3 / -1; justify-self: end; }
}
@media (max-width: 1100px) {
  .hero-bg video, .hero-bg .hero-still, .hero-bg .hero-chars { left: 12%; width: 122%; }
}
@media (max-width: 1180px) and (min-width: 861px) { .home-hero .lead { max-width: 25em; } }
@media (max-width: 860px) {
  .home-hero { min-height: 0; display: block; padding-top: 72vw; padding-bottom: 44px; }
  .hero-bg::after { display: none; }
  .hero-bg video, .hero-bg .hero-still, .hero-bg .hero-chars { top: -10px; left: -22%; width: 144%; height: 92vw; }
  .hero-bg video, .hero-bg .hero-still {
    object-position: 50% 50%;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 10%, #000 70%, transparent 92%);
            mask-image: linear-gradient(to bottom, transparent 0, #000 10%, #000 70%, transparent 92%);
    -webkit-mask-composite: source-over; mask-composite: add;
  }
  .home-hero h1, html[lang="es"] .home-hero h1 { max-width: 16ch; font-size: clamp(2.2rem, 1.4rem + 3.6vw, 2.9rem); }
  .hero-replay { top: calc(72vw - 64px); right: 16px; }
  .estimator { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 18px; gap: 16px; }
  .est-svc { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .est-svc span { text-align: center; padding: 10px 6px; }
  .est-out { grid-column: 1 / -1; justify-self: start; text-align: left; }
  .est-cta { grid-column: 1 / -1; justify-self: stretch; width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .est-price.bump { animation: none; } }

/* ---------- Facts strip ---------- */
.facts { border-block: 1px solid var(--line); }
.facts ul { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 28px; }
.facts li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: var(--navy); line-height: 1.35; font-size: 1rem; }
.facts svg { color: var(--sea-ink); flex: none; margin-top: 1px; }
@media (max-width: 900px) { .facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .facts ul { grid-template-columns: minmax(0, 1fr); gap: 14px; } }

/* ---------- Services list (typographic rows, not cards) ---------- */
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.svc { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) auto; gap: 18px 40px; padding: 30px 0; border-bottom: 1px solid var(--line); align-items: start; }
.svc h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 1.9rem); }
.svc h3 a { color: inherit; text-decoration: none; }
.svc h3 a:hover { color: var(--sea-ink); }
.svc-facts { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 4px; color: var(--text-2); font-size: .98rem; }
.svc-blurb { color: var(--text); }
.svc .more { font-weight: 600; white-space: nowrap; align-self: center; }
.svc-note { margin-top: 22px; color: var(--text-2); display: flex; gap: 10px; align-items: flex-start; }
.svc-note svg { color: var(--sea-ink); flex: none; margin-top: 3px; }
@media (max-width: 860px) {
  .svc { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 24px 0; }
  .svc .more { align-self: start; }
}

/* ---------- Checklist explorer (signature) ---------- */
.inc { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(18px, 3vw, 36px); box-shadow: 0 1px 2px rgba(18,59,74,.04), 0 24px 48px -32px rgba(18,59,74,.25); }
.tabs { display: inline-flex; background: var(--linen); border: 1px solid var(--line); border-radius: 999px; padding: 4px; gap: 2px; margin-bottom: clamp(20px, 3vw, 32px); max-width: 100%; overflow-x: auto; }
.tabs button {
  appearance: none; border: 0; background: transparent; cursor: pointer;
  font: 600 1rem/1 var(--sans); color: var(--text-2);
  min-height: 44px; padding: 0 20px; border-radius: 999px; white-space: nowrap;
}
.tabs button[aria-selected="true"] { background: var(--navy); color: #fff; }
.tabs button:not([aria-selected="true"]):hover { color: var(--navy); background: rgba(18,59,74,.06); }
.rooms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 40px; }
.room h3 { font-size: 1.3rem; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 2px solid var(--mist); display: flex; align-items: center; gap: 10px; }
.room h3 svg { color: var(--sea); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; line-height: 1.4; font-size: 1rem; }
.checks li svg { color: var(--sea-ink); margin-top: 2px; }
.checks.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
.panel-intro { font-weight: 600; color: var(--navy); margin-bottom: 16px; }
.panel-foot { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--text-2); font-size: 1rem; }
@media (max-width: 900px) { .rooms { grid-template-columns: minmax(0, 1fr); } .checks.cols-2 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; } .tabs button { padding: 0 8px; } }

/* ---------- Steps (a real sequence) ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: step; }
.steps li { counter-increment: step; display: grid; gap: 10px; align-content: start; }
.steps li::before {
  content: counter(step); font-family: var(--serif); font-weight: 600; font-size: 1.15rem; color: var(--navy);
  width: 44px; height: 44px; border-radius: 999px; border: 1.5px solid var(--sea); display: grid; place-items: center; background: var(--white);
}
.steps h3 { font-size: 1.3rem; }
.steps p { color: var(--text-2); font-size: 1rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) {
  .steps, .steps.five { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .steps li { grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; row-gap: 4px; }
  .steps li::before { grid-row: span 2; }
  .steps h3 { align-self: end; }
}
.steps.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1000px) { .steps.five { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Sonia band ---------- */
.band-sand { background: var(--sand); }
.sonia { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.sonia-copy { display: grid; gap: 18px; }
.sonia-copy p { max-width: 58ch; }
@media (max-width: 860px) { .sonia { grid-template-columns: minmax(0, 1fr); } .sonia .photo { max-width: 420px; } }

/* ---------- Photo slots ---------- */
.photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--mist); max-width: 100%; }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo.r-45 { aspect-ratio: 4 / 5; }
.photo.r-32 { aspect-ratio: 3 / 2; }
.photo.r-11 { aspect-ratio: 1 / 1; }
.photo-empty { display: grid; place-items: center; text-align: center; padding: 24px; }
.photo .photo-empty-mark, .photo-empty .ph-mark { width: 30%; max-width: 132px; height: auto; object-fit: contain; opacity: .85; }
.photo-empty .ph-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 16px; font-size: .9rem; color: var(--text-2); }
.is-review .photo-empty { background:
  repeating-linear-gradient(135deg, rgba(95,184,177,.10) 0 12px, rgba(95,184,177,.03) 12px 24px), var(--mist);
  outline: 2px dashed var(--line-2); outline-offset: -10px; }
.is-review .photo-empty .ph-cap::before { content: "📷  "; }
.rv-off .photo-empty { outline: none; background: var(--mist); }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.quote { margin: 0; padding: 28px; background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--line); display: grid; gap: 16px; align-content: start; }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: 1.2rem; line-height: 1.5; color: var(--navy); }
.quote figcaption { color: var(--text-2); font-size: .95rem; }
.quote figcaption b { color: var(--navy); font-weight: 600; }
.quote.slot { background: transparent; border: 2px dashed var(--line-2); }
.quote.slot blockquote { color: var(--text-2); font-style: italic; }
.quotes-foot { margin-top: 24px; color: var(--text-2); }
@media (max-width: 900px) { .quotes { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Areas ---------- */
.area-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 40px; }
.area-cols h3 { font-size: 1.1rem; font-family: var(--sans); font-weight: 700; color: var(--sea-ink); margin-bottom: 10px; }
.towns { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.towns li { font-family: var(--serif); font-size: 1.3rem; color: var(--navy); }
.area-inline { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.area-inline li { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 500; color: var(--navy); font-size: 1rem; }
@media (max-width: 760px) { .area-cols { grid-template-columns: minmax(0, 1fr); } }

.zip { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); display: grid; gap: 14px; max-width: 560px; }
.zip form { display: flex; gap: 10px; flex-wrap: wrap; }
.zip label { font-weight: 600; color: var(--navy); }
.zip input {
  flex: 1 1 160px; min-width: 0; min-height: 52px; padding: 0 16px; font: 500 1.15rem var(--sans); letter-spacing: .08em;
  border: 1.5px solid var(--line-2); border-radius: var(--radius); background: #fff; color: var(--text);
}
.zip input:focus { border-color: var(--sea-ink); outline: none; box-shadow: 0 0 0 3px rgba(35,112,106,.18); }
.zip-out { min-height: 1.6em; }
.zip-out.ok { color: var(--sea-ink); font-weight: 500; }

/* ---------- FAQ ---------- */
.faq-group + .faq-group { margin-top: 48px; }
.faq-group .section-head h2 { font-size: var(--step-3); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center;
  padding: 20px 0; font-weight: 600; color: var(--navy); font-size: 1.1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 28px; height: 28px; border-radius: 999px; border: 1.5px solid var(--line-2); position: relative; transition: transform .2s ease, border-color .2s; }
.faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: var(--navy); transform: translate(-50%, -50%); }
.faq summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .2s ease; }
.faq details[open] summary .plus { border-color: var(--sea); }
.faq details[open] summary .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq summary:hover { color: var(--sea-ink); }
.faq .answer { padding: 0 0 22px; color: var(--text); max-width: 68ch; }
.faq-foot { margin-top: 28px; }
.faq-split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 24px clamp(32px, 6vw, 96px); align-items: start; }
.faq-split .section-head { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 24px); }
.faq-split .faq { border-top: 1px solid var(--line); }
@media (max-width: 860px) { .faq-split { grid-template-columns: minmax(0, 1fr); } .faq-split .section-head { position: static; } }

/* ---------- Hiring band ---------- */
.band-navy { background: var(--navy); color: #E6F1EF; }
.band-navy h2 { color: #fff; }
.hire { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 48px; align-items: center; }
.hire .alt { font-family: var(--serif); font-style: italic; color: var(--sea); font-size: var(--step-1); margin-top: 6px; }
.hire p.copy { margin-top: 14px; max-width: 60ch; color: #CFE2DF; }
@media (max-width: 760px) { .hire { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Final CTA ---------- */
.final { text-align: center; display: grid; justify-items: center; gap: 18px; }
.final h2 { font-size: var(--step-5); }
.final p { color: var(--text-2); font-size: var(--step-1); }
.final .btn-row { justify-content: center; margin-top: 8px; }
.final .mark { width: 64px; height: auto; }

/* ---------- Inner page header ---------- */
.page-head { padding-block: clamp(32px, 5vw, 72px) clamp(28px, 4vw, 48px); }
.page-head .wrap > * + * { margin-top: 18px; }
.crumbs { font-size: .92rem; color: var(--text-2); display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 18px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-2); }
.crumbs a { color: var(--text-2); }
.page-head h1 { max-width: 20ch; }

/* ---------- Two-column content ---------- */
.split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.split.stretch { align-items: stretch; gap: 24px; }
.split.stretch .aside-card { align-content: start; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }
.aside-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 30px); display: grid; gap: 14px; }
.aside-card h2, .aside-card h3 { font-size: 1.35rem; }
.price-line { font-family: var(--serif); font-size: 1.35rem; color: var(--navy); line-height: 1.35; }
.muted { color: var(--text-2); }
.small { font-size: .95rem; }
.know { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.know li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; }
.know li svg { color: var(--sea-ink); margin-top: 3px; }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 1.6em; font-size: var(--step-3); }
.prose h3 { margin-top: 1.4em; }

/* ---------- Price table ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
table { border-collapse: collapse; width: 100%; font-size: 1rem; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-weight: 700; color: var(--navy); background: var(--linen); font-size: .95rem; }
tbody tr:last-child td { border-bottom: 0; }
td.price { font-family: var(--serif); font-weight: 600; color: var(--navy); white-space: nowrap; }
@media (max-width: 640px) {
  .price-table thead { display: none; }
  .price-table tr { display: grid; grid-template-columns: 1fr auto; padding: 14px 16px; border-bottom: 1px solid var(--line); gap: 2px 12px; }
  .price-table tbody tr:last-child { border-bottom: 0; }
  .price-table td { padding: 0; border: 0; }
  .price-table td:nth-child(1) { font-weight: 600; color: var(--navy); }
  .price-table td:nth-child(2) { grid-row: 2; color: var(--text-2); font-size: .95rem; }
  .price-table td:nth-child(3) { grid-column: 2; grid-row: 1; text-align: right; }
  .price-table td:nth-child(4) { grid-column: 2; grid-row: 2; text-align: right; color: var(--text-2); font-size: .95rem; }
}

/* ---------- About ---------- */
.how { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 40px; }
.how li { border-top: 2px solid var(--mist); padding-top: 16px; }
.how b { display: block; font-family: var(--serif); font-size: 1.3rem; color: var(--navy); font-weight: 600; margin-bottom: 6px; }
.how span { color: var(--text-2); }
@media (max-width: 760px) { .how { grid-template-columns: minmax(0, 1fr); } }
.note-card { background: var(--sand); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); }
.note-card p.note { font-family: var(--serif); font-size: clamp(1.25rem, 1.05rem + .8vw, 1.6rem); line-height: 1.5; color: var(--navy); }
.note-card .sign { margin-top: 18px; font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--sea-ink); }
.photo-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
@media (max-width: 640px) { .photo-pair { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Careers ---------- */
.job-facts { margin: 0; display: grid; gap: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.job-facts > div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.job-facts > div:last-child { border-bottom: 0; }
.job-facts dt { font-weight: 700; color: var(--navy); }
.job-facts dd { margin: 0; color: var(--text); }
@media (max-width: 560px) { .job-facts > div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
.cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 40px; }
.cols-3 h2 { font-size: var(--step-2); margin-bottom: 16px; }
@media (max-width: 960px) { .cols-3 { grid-template-columns: minmax(0, 1fr); } }
.eeo { font-size: .92rem; color: var(--text-2); max-width: 80ch; }
.es-callout { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; color: var(--text-2); }

/* ---------- Legal / documents ---------- */
.doc-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.doc-toc { position: sticky; top: calc(var(--header-h) + 24px); font-size: .95rem; max-height: calc(100vh - var(--header-h) - 48px); overflow: auto; }
.doc-toc summary { font-size: .95rem; font-weight: 700; color: var(--text-2); margin-bottom: 10px; cursor: pointer; list-style: none; }
.doc-toc summary::-webkit-details-marker { display: none; }
@media (max-width: 960px) { .doc-toc details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; } .doc-toc summary { margin: 0; display: flex; justify-content: space-between; } .doc-toc summary::after { content: "+"; font-weight: 600; color: var(--navy); } .doc-toc details[open] summary { margin-bottom: 10px; } .doc-toc details[open] summary::after { content: "\2212"; } }
.doc-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; border-left: 2px solid var(--line); }
.doc-toc a { display: block; padding: 4px 0 4px 14px; color: var(--text-2); text-decoration: none; line-height: 1.35; margin-left: -2px; border-left: 2px solid transparent; }
.doc-toc a:hover { color: var(--navy); border-left-color: var(--sea); }
.doc { max-width: 74ch; }
.doc > * + * { margin-top: 1em; }
.doc h2 { font-size: var(--step-3); margin-top: 1.8em; scroll-margin-top: calc(var(--header-h) + 20px); }
.doc h3 { font-size: 1.3rem; margin-top: 1.5em; }
.doc ul, .doc ol { padding-left: 1.25em; }
.doc li + li { margin-top: .35em; }
.doc hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.doc blockquote { margin: 1em 0; padding: 14px 18px; background: var(--mist); border-radius: var(--radius); }
.doc .table-wrap { margin-top: 1.2em; }
.doc-meta { color: var(--text-2); font-size: 1rem; }
@media (max-width: 960px) { .doc-layout { grid-template-columns: minmax(0, 1fr); } .doc-toc { position: static; max-height: none; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-2); color: #BFD3D0; padding-block: 64px calc(32px + env(safe-area-inset-bottom, 0px)); font-size: 1rem; }
.site-footer a { color: #E4F0EE; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 36px 32px; }
.foot-brand img { height: 60px; width: auto; }
.foot-brand p { margin-top: 18px; max-width: 34ch; }
.foot-contact { margin-top: 18px; display: grid; gap: 6px; }
.foot-contact a, .foot-contact span { display: inline-flex; gap: 10px; align-items: center; }
.foot-contact svg { color: var(--sea); flex: none; }
.site-footer h2 { font-family: var(--sans); font-size: .98rem; font-weight: 700; color: #fff; margin-bottom: 14px; letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: .92rem; color: #93AFAB; }
.site-footer .rv-ph { color: var(--mark-ink); }
@media (max-width: 1000px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; } }

/* ---------- Skip link ---------- */
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; color: #fff; }

/* ---------- Review build marks ---------- */
.rv-ph.wrap { white-space: normal; }
.rv-ph { background: var(--mark); color: var(--mark-ink); padding: 0 .3em; border-radius: 4px; font-weight: 600; box-shadow: inset 0 -1px 0 #E5C65A; white-space: nowrap; }
.rv-c { background: linear-gradient(transparent 62%, rgba(255, 214, 102, .55) 62%); border-bottom: 1.5px dotted #C9A227; }
.rv-off .rv-c { background: none; border-bottom: 0; }
.rv-off .rv-ph { background: none; box-shadow: none; color: inherit; font-weight: inherit; padding: 0; }
.rv-pill {
  position: fixed; left: max(14px, env(safe-area-inset-left, 0px)); bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 60;
  display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 14px; border-radius: 999px;
  background: #2B2410; color: #FFF3C4; font: 600 .85rem/1 var(--sans); box-shadow: 0 8px 24px -8px rgba(0,0,0,.4);
}
.rv-pill button, .rv-pill a { appearance: none; border: 0; cursor: pointer; font: inherit; color: #2B2410; background: #FFE58A; border-radius: 999px; padding: 8px 12px; text-decoration: none; }
.rv-pill a { background: transparent; color: #FFF3C4; text-decoration: underline; padding: 8px 6px; }
@media (max-width: 760px) {
  .rv-pill { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); padding: 4px; font-size: .78rem; gap: 2px; }
  .rv-pill > span { display: none; }
  .rv-pill button, .rv-pill a { padding: 7px 10px; }
  .has-form .rv-pill { bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
}
.doc-draft { display: flex; gap: 10px; align-items: flex-start; background: var(--mark); color: var(--mark-ink); border-radius: var(--radius); padding: 12px 16px; font-size: .95rem; font-weight: 500; }
.rv-off .doc-draft { display: none; }

/* ---------- Review checklist page ---------- */
.rv-table td:first-child { white-space: nowrap; }
.rv-kind { display: inline-block; font-size: .8rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.rv-kind.ph { background: var(--mark); color: var(--mark-ink); }
.rv-kind.c { background: #FDE7C2; color: #6B4300; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .action-bar, .site-footer, .rv-pill, .hero-media, .doc-toc { display: none !important; }
  body { background: #fff; }
  .rv-c, .rv-ph { background: none !important; box-shadow: none !important; border: 0 !important; }
}
