/* ==========================================================
   Bitterroot Valley Cleaning — site styles
   Colors and fonts live in :root below. Change them there
   and the whole site updates.
   ========================================================== */

:root {
  --slate: #0C1D36;       /* main text */
  --slate-soft: #4B5B6E;  /* secondary text */
  --navy: #17396A;        /* dark sections, footer */
  --pine: #1F63B5;        /* blue: links, icons */
  --bloom: #F6C31A;       /* yellow: buttons, highlights */
  --bloom-dark: #E3AE00;
  --mist: #EEF3FA;        /* light section background */
  --line: #D5DEEA;
  --white: #FFFFFF;

  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Atkinson Hyperlegible", system-ui, sans-serif;

  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius-sm: 6px;
  --radius-lg: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

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

body {
  margin: 0;
  background: var(--white);
  color: var(--slate);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--pine); text-underline-offset: 3px; }
a:hover { color: var(--slate); }

:focus-visible {
  outline: 3px solid var(--pine);
  outline-offset: 3px;
  border-radius: 2px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.3rem, 5.6vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 650; }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 1em; max-width: 68ch; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--slate); color: var(--white); padding: 10px 16px; z-index: 100;
}
.skip:focus { left: 8px; top: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  padding: 13px 22px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; line-height: 1.2;
  transition: background-color .15s ease, color .15s ease;
}
.btn-primary { background: var(--bloom); color: var(--slate); }
.btn-primary:hover { background: var(--bloom-dark); color: var(--slate); }
.btn-ghost { background: transparent; color: var(--slate); border-color: var(--slate); }
.btn-ghost:hover { background: var(--slate); color: var(--white); }
.btn-light { background: var(--white); color: var(--slate); }
.btn-light:hover { background: var(--mist); color: var(--slate); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(6px);
}
.header-row { display: flex; align-items: center; gap: 24px; min-height: 80px; padding-top: 6px; padding-bottom: 6px; }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--slate); }
.brand img { height: 60px; width: auto; }
.brand svg { width: 38px; height: 38px; flex: none; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; line-height: 1.05; }
.brand-name small { display: block; font-family: var(--font-body); font-weight: 400; font-size: .78rem; color: var(--slate-soft); letter-spacing: 0; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--slate); text-decoration: none; font-weight: 700; font-size: .98rem;
  padding: 8px 12px; border-radius: var(--radius-sm);
}
.nav a:hover { background: var(--mist); }
.nav a[aria-current="page"] { color: var(--pine); text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--bloom); text-underline-offset: 8px; }
.nav .nav-phone { color: var(--pine); white-space: nowrap; }
.nav .btn { margin-left: 8px; padding: 10px 18px; }
.nav .btn, .nav .btn:hover { color: var(--slate); }
.nav .btn:hover { background: var(--bloom-dark); }

.menu-toggle {
  display: none; margin-left: auto; background: none; border: 2px solid var(--slate);
  border-radius: var(--radius-sm); padding: 8px 12px; font: 700 .95rem var(--font-body); color: var(--slate);
}

@media (max-width: 880px) {
  .menu-toggle { display: inline-block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav .btn { margin: 16px 0 0; border-radius: 999px; border-bottom: 0; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--mist); overflow: hidden; }
.hero-inner { position: relative; z-index: 2; padding: clamp(40px, 7vw, 88px) 0 clamp(150px, 18vw, 210px); }
.hero h1 { max-width: 16ch; }
.hero .lede { font-size: 1.2rem; color: var(--slate-soft); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.ridge { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: auto; z-index: 1; }

/* "What needs cleaning?" picker — the main way people find their service */
.finder { position: relative; z-index: 3; margin-top: clamp(-120px, -12vw, -80px); }
.finder-card {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: 0 18px 40px -22px rgba(31,42,51,.45);
  padding: clamp(22px, 4vw, 36px);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 48px);
}
.finder h2 { font-size: 1.5rem; grid-column: 1 / -1; margin: 0; }
.finder h3 { font-size: 1rem; font-family: var(--font-body); font-weight: 700; color: var(--slate-soft); margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-block; padding: 9px 15px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--white);
  color: var(--slate); text-decoration: none; font-weight: 700; font-size: .95rem;
}
.chip:hover { border-color: var(--pine); background: var(--mist); color: var(--slate); }
@media (max-width: 680px) { .finder-card { grid-template-columns: 1fr; } }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 9vw, 104px) 0; }
.section-tight { padding: clamp(36px, 5vw, 56px) 0; }
.section-mist { background: var(--mist); }
.section-dark { background: var(--navy); color: var(--white); }
.section-dark a { color: var(--white); }
.section-dark .btn-light, .section-dark .btn-light:hover { color: var(--slate); }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head p { color: var(--slate-soft); }
.section-dark .section-head p { color: #C9D3DA; }

.page-title { background: var(--mist); padding: clamp(40px, 7vw, 80px) 0 clamp(32px, 5vw, 56px); }
.page-title p { font-size: 1.15rem; color: var(--slate-soft); }

/* Two-group service overview on the home page */
.groups { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); }
.group h3 { font-size: 1.45rem; padding-bottom: 12px; border-bottom: 2px solid var(--slate); }
.svc-list { list-style: none; margin: 0; padding: 0; }
.svc-list li { border-bottom: 1px solid var(--line); }
.svc-list a {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 16px;
  padding: 16px 0; text-decoration: none; color: var(--slate);
}
.svc-list strong { font-family: var(--font-display); font-size: 1.12rem; font-weight: 600; }
.svc-list span { grid-column: 1; color: var(--slate-soft); font-size: .98rem; }
.svc-list .more { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--pine); font-weight: 700; font-size: .92rem; }
.svc-list a:hover strong { color: var(--pine); }
@media (max-width: 760px) { .groups { grid-template-columns: 1fr; } }

/* Services page detail blocks */
.svc-detail { display: grid; grid-template-columns: 260px 1fr; gap: clamp(20px, 4vw, 56px); padding: 40px 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.svc-detail:first-of-type { border-top: 0; }
.svc-detail h3 { font-size: 1.55rem; }
.svc-detail .for { color: var(--slate-soft); font-size: .95rem; }
.svc-detail ul { margin: 0 0 1.2em; padding-left: 1.2em; }
.svc-detail li { margin-bottom: 4px; }
.svc-group-title { margin-top: 24px; }
@media (max-width: 760px) { .svc-detail { grid-template-columns: 1fr; gap: 8px; } }

/* Booking steps — a real sequence, so numbered */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step); display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%; margin-bottom: 14px;
  background: var(--bloom); color: var(--slate); font: 700 1.15rem var(--font-display);
}
.steps h3 { font-size: 1.15rem; }
.steps p { color: #C9D3DA; font-size: .98rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Promises strip */
.promises { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.promises li { display: flex; gap: 12px; align-items: flex-start; font-weight: 700; }
.promises svg { flex: none; width: 26px; height: 26px; color: var(--pine); }
@media (max-width: 820px) { .promises { grid-template-columns: 1fr 1fr; } }

/* Split layout */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3.5vw, 32px); }
.section-mist .panel { border-color: transparent; }

/* Team */
.team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.team li { padding: 14px 16px; border-radius: var(--radius-sm); background: var(--white); }
.team strong { display: block; font-family: var(--font-display); font-weight: 600; }
.team span { color: var(--slate-soft); font-size: .92rem; }
.team .lead { background: var(--navy); color: var(--white); }
.team .lead span { color: #C9D3DA; }

/* Contact list */
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .label { display: block; color: var(--slate-soft); font-size: .9rem; }
.contact-list a, .contact-list .value { font-weight: 700; font-size: 1.12rem; color: var(--slate); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: block; font-weight: 700; font-size: .95rem; }
.form label > input, .form label > select, .form label > textarea { margin-top: 6px; }
.form .opt { font-weight: 400; color: var(--slate-soft); }
.form input, .form select, .form textarea {
  font: inherit; font-size: 1rem; color: var(--slate);
  padding: 12px 14px; border: 1.5px solid #B9C5BF; border-radius: var(--radius-sm); background: var(--white);
  width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--pine); box-shadow: 0 0 0 3px rgba(31,99,181,.2); }
.form textarea { min-height: 120px; resize: vertical; }
.form .btn { justify-self: start; }
.form-note { font-size: .92rem; color: var(--slate-soft); margin: 0; }
.form-status { font-weight: 700; margin: 0; }
.form-status.ok { color: var(--pine); }
.form-status.err { color: #A3262E; }
.hp { position: absolute; left: -9999px; }

/* Booking embed */
.booking-frame { width: 100%; min-height: 900px; border: 0; border-radius: var(--radius-lg); background: var(--white); }

/* CTA band */
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta-band h2 { margin: 0; max-width: 22ch; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-ghost { color: var(--white); border-color: var(--white); }
.cta-band .btn-ghost:hover { background: var(--white); color: var(--slate); }

/* Hillyard note */
.product-note { display: flex; gap: 32px; align-items: center; }
.product-note img { flex: none; width: 180px; }
.product-note ul { padding-left: 1.2em; }
@media (max-width: 680px) { .product-note { flex-direction: column; align-items: flex-start; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--slate); color: #C9D3DA; padding: 56px 0 32px; font-size: .97rem; }
.site-footer a { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h2, .site-footer h3 { color: var(--white); font-size: 1.05rem; font-family: var(--font-body); font-weight: 700; margin-bottom: 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.footer-logo { width: 120px; height: auto; margin-bottom: 14px; }
.footer-brand { font-family: var(--font-display); font-size: 1.3rem; color: var(--white); font-weight: 700; margin-bottom: 8px; }
.site-footer { border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom { max-width: none; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.15); font-size: .88rem; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }



/* ---------- Photos ----------
   Every photo sits in a .photo frame. If a photo file is missing,
   the frame shows a soft blue block instead of a broken image. */
.photo {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: linear-gradient(140deg, #DCE7F5, #EEF3FA 60%, #FBF1C8);
  aspect-ratio: 4 / 3; margin: 0;
}
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* Hero with photo */
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero .photo { aspect-ratio: 5 / 4; border: 6px solid var(--white); box-shadow: 0 24px 50px -28px rgba(20,37,59,.55); }
@media (max-width: 820px) { .hero-inner { grid-template-columns: 1fr; } .hero .photo { aspect-ratio: 16 / 10; } }

/* Service cards with photos (home page) */
.svc-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.svc-cards a { display: block; height: 100%; text-decoration: none; color: var(--slate); background: var(--white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.svc-cards .photo { border-radius: 0; aspect-ratio: 3 / 2; }
.svc-cards .body { padding: 16px 18px 20px; }
.svc-cards strong { display: block; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; margin-bottom: 4px; }
.svc-cards span { color: var(--slate-soft); font-size: .97rem; }
.svc-cards a:hover strong { color: var(--pine); }
.svc-cards a:hover { border-color: var(--pine); }
.group + .group { margin-top: 48px; }
.group h3 { border-bottom-color: var(--bloom); border-bottom-width: 4px; display: inline-block; padding-right: 8px; }

/* Services page photo column */
.svc-detail .photo { margin-bottom: 14px; aspect-ratio: 4 / 3; }
.svc-detail h3 { margin-top: 4px; }

/* ---------- Carpet booking: spots on the home and services pages ---------- */
.hero-note { margin-top: 18px; color: var(--slate-soft); }
.hero-note a { font-weight: 700; }
.tag {
  display: inline-block; margin-left: 8px; vertical-align: 2px;
  font: 700 .74rem var(--font-body); font-style: normal; letter-spacing: .01em;
  background: var(--bloom); color: var(--slate); padding: 3px 9px; border-radius: 999px;
}
.carpet-band { padding: clamp(48px, 7vw, 80px) 0; }
.carpet-band-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.carpet-band .photo { aspect-ratio: 4 / 3; }
.carpet-band h2 { margin-bottom: .4em; }
.small-print { color: var(--slate-soft); font-size: .95rem; }
@media (max-width: 760px) { .carpet-band-inner { grid-template-columns: 1fr; } }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.page-title .aside { font-size: 1rem; margin-top: 4px; }

/* ---------- Carpet booking page ---------- */
.bk-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 40px); align-items: start; }
@media (max-width: 900px) { .bk-grid { grid-template-columns: minmax(0, 1fr); } }
.bk-panel { padding: clamp(20px, 3.5vw, 36px); }
.bk-step { border: 0; padding: 0 0 28px; margin: 0 0 28px; border-bottom: 1px solid var(--line); min-width: 0; }
.bk-step:last-of-type { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.bk-step legend { display: flex; align-items: center; gap: 10px; font: 650 1.35rem var(--font-display); color: var(--slate); padding: 0; margin-bottom: 18px; }
.bk-step .num { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--bloom); color: var(--slate); font: 700 1rem var(--font-display); flex: none; }
.hint { color: var(--slate-soft); font-size: .95rem; margin: 8px 0 0; }
.bk-rooms { display: grid; gap: 4px; margin-bottom: 18px; }
.bk-rooms .lbl { font-weight: 700; font-size: .95rem; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid #B9C5BF; border-radius: 999px; width: max-content; overflow: hidden; }
.stepper button { width: 48px; height: 46px; border: 0; background: var(--white); font: 700 1.4rem var(--font-body); color: var(--slate); cursor: pointer; }
.stepper button:hover:not(:disabled) { background: var(--mist); }
.stepper button:disabled { color: #B9C5BF; cursor: default; }
.stepper output { min-width: 44px; text-align: center; font: 700 1.3rem var(--font-display); }
.bk-fields .row { margin: 0; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--pine); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.day-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.day-btn { display: grid; gap: 2px; padding: 10px 8px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--white); color: var(--slate); text-align: center; cursor: pointer; font-family: var(--font-body); }
.day-btn .dow { font-size: .85rem; color: var(--slate-soft); }
.day-btn .dnum { font-weight: 700; font-size: 1.02rem; }
.day-btn .cnt { font-size: .8rem; color: var(--pine); font-weight: 700; }
.day-btn:hover:not(:disabled) { border-color: var(--pine); }
.day-btn[aria-pressed="true"] { border-color: var(--slate); background: var(--slate); color: var(--white); }
.day-btn[aria-pressed="true"] .dow, .day-btn[aria-pressed="true"] .cnt { color: var(--bloom); }
.day-btn:disabled { background: var(--mist); color: #8C99A8; cursor: default; border-color: transparent; }
.day-btn:disabled .cnt { color: #8C99A8; }
.more-days { margin-top: 12px; }
.times-head { font: 650 1.1rem var(--font-display); margin: 22px 0 10px; }
.time-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.time-btn { padding: 11px 8px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); color: var(--slate); font: 700 .98rem var(--font-body); cursor: pointer; }
.time-btn:hover { border-color: var(--pine); }
.time-btn[aria-pressed="true"] { background: var(--bloom); border-color: var(--bloom); }
.sample-note { font-size: .9rem; background: #FFF6D6; border-radius: 8px; padding: 8px 12px; margin: 0 0 12px; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .95rem; color: var(--slate-soft); }
.form .check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--pine); }
.bk-side { display: grid; gap: 20px; position: sticky; top: calc(96px + env(safe-area-inset-top, 0px)); }
@media (max-width: 900px) { .bk-side { position: static; } }
.bk-summary { background: var(--navy); color: var(--white); border: 0; }
.bk-summary h2 { font-size: 1.3rem; color: var(--white); }
.bk-summary dl { margin: 0; display: grid; gap: 12px; }
.bk-summary dl div { display: grid; gap: 2px; }
.bk-summary dt { font-size: .85rem; color: #B9CBE4; }
.bk-summary dd { margin: 0; font-weight: 700; font-size: 1.05rem; }
.bk-expect { padding: 0 4px; }
.bk-expect h3 { font-size: 1.1rem; }
.bk-expect ul { margin: 0; padding-left: 1.2em; color: var(--slate-soft); }
.bk-expect li { margin-bottom: 6px; }
#bk-done h2 { font-size: 1.6rem; }

/* ==========================================================
   MOTION
   One load sequence in the hero, sections that rise in as you
   scroll, a slow line of towns, and hover lifts on cards.
   Everything stays still for people who ask for reduced motion.
   ========================================================== */
.site-header { transition: box-shadow .25s ease, background-color .25s ease; }
.site-header.scrolled { box-shadow: 0 8px 24px -18px rgba(12,29,54,.55); }

/* Hero: words rise in, the picture settles, sparkles twinkle, the mountains drift */
.hero-kicker { font-weight: 700; color: var(--pine); margin: 0 0 12px; font-size: 1rem; }
.hero-copy > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(4) { animation-delay: .24s; }
.hero-copy > :nth-child(5) { animation-delay: .32s; }
.hero-art { position: relative; animation: settle .9s cubic-bezier(.2,.7,.2,1) .15s both; }
.hero-art .photo { transform: translateY(calc(var(--drift, 0px) * -0.4)); }
.ridge-back { transform: translateY(calc(var(--drift, 0px) * 0.5)); }
.sparkle { position: absolute; width: 22px; height: 22px; background: var(--bloom); pointer-events: none;
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  animation: twinkle 2.8s ease-in-out infinite; }
.sparkle.s1 { top: -10px; right: 12%; }
.sparkle.s2 { top: 30%; left: -12px; width: 16px; height: 16px; animation-delay: .9s; }
.sparkle.s3 { bottom: 10%; right: -10px; width: 28px; height: 28px; animation-delay: 1.7s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; transform: translateY(24px) rotate(1.5deg) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes twinkle { 0%, 100% { transform: scale(.6) rotate(0); opacity: .55; } 50% { transform: scale(1.1) rotate(45deg); opacity: 1; } }

/* Scroll reveals: only when JavaScript is on, so content is never hidden without it */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }

/* Towns we serve: a slow moving band */
.towns { overflow: hidden; background: var(--navy); color: var(--white); padding: 14px 0; }
.towns-track { display: flex; gap: 0; width: max-content; animation: towns 38s linear infinite; }
.towns-track span { font: 600 1.05rem var(--font-display); padding: 0 26px; white-space: nowrap; display: inline-flex; align-items: center; gap: 26px; }
.towns-track span::after { content: ""; width: 9px; height: 9px; background: var(--bloom); clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); }
.towns:hover .towns-track { animation-play-state: paused; }
@keyframes towns { to { transform: translateX(-50%); } }

/* Cards and buttons answer the pointer */
.btn { transition: background-color .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 20px -12px rgba(227,174,0,.9); }
.svc-cards a { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.svc-cards a:hover { transform: translateY(-4px); box-shadow: 0 18px 34px -24px rgba(12,29,54,.6); }
.svc-cards .photo img, .svc-detail .photo img, .intro .photo img { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.svc-cards a:hover .photo img, .svc-detail:hover .photo img, .intro .photo:hover img { transform: scale(1.05); }
.chip { transition: background-color .15s ease, border-color .15s ease, transform .15s ease; }
.chip:hover { transform: translateY(-2px); }

/* Process: the yellow numbers fill in one after another */
.process .steps li::before { transition: transform .5s cubic-bezier(.3,1.6,.5,1), background-color .3s ease; }
.js .process .steps li.reveal:not(.in)::before { transform: scale(.4); background: rgba(246,195,26,.3); }
.process .steps li a { color: var(--bloom); font-weight: 700; text-underline-offset: 4px; }
.process .steps li a:hover { color: var(--white); }

/* Reviews: stars pop in */
.reviews-inner { text-align: center; max-width: 720px; margin: 0 auto; }
.reviews-inner p { margin-left: auto; margin-right: auto; }
.reviews-inner .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.stars { font-size: 2rem; letter-spacing: 6px; color: var(--bloom); margin-bottom: 8px; }
.stars span { display: inline-block; }
.js .reviews-inner.in .stars span { animation: pop .5s cubic-bezier(.3,1.6,.5,1) both; }
.reviews-inner .stars span:nth-child(2) { animation-delay: .08s; }
.reviews-inner .stars span:nth-child(3) { animation-delay: .16s; }
.reviews-inner .stars span:nth-child(4) { animation-delay: .24s; }
.reviews-inner .stars span:nth-child(5) { animation-delay: .32s; }
@keyframes pop { from { transform: scale(0) rotate(-30deg); opacity: 0; } to { transform: none; opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .towns-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .towns-track span:nth-child(n+11) { display: none; }
}

/* ==========================================================
   PAGE PIECES
   ========================================================== */
.text-link { font-weight: 700; }
.intro .photo { aspect-ratio: 4 / 3; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 6px; }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 8px; border-left: 3px solid var(--pine); border-bottom: 3px solid var(--pine); transform: rotate(-45deg); }
.svc-detail { grid-template-columns: minmax(0, 380px) minmax(0, 1fr); align-items: start; }
.svc-detail h3 { margin-top: 0; }
.svc-group-title { margin-top: 48px; }
.svc-group-title:first-child { margin-top: 0; }
.page-title .chips { margin-top: 22px; }
.hillyard { position: relative; width: 180px; height: 180px; border-radius: 50%; background: var(--white); display: grid; place-items: center; flex: none; box-shadow: 0 14px 30px -22px rgba(12,29,54,.6); }
.hillyard img { width: 150px; height: auto; position: relative; z-index: 1; }
.hillyard span { position: absolute; font: 700 1.3rem var(--font-display); color: var(--pine); }
.hillyard img + span { display: none; }

.faq-wrap { max-width: 860px; }
.faqs { display: grid; gap: 10px; }
.faq { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; font: 650 1.08rem var(--font-display); padding: 16px 0; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 700 1.4rem/1 var(--font-body); color: var(--pine); transition: transform .25s ease; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 16px; color: var(--slate-soft); }

.team li { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; transition: transform .2s ease; }
.team li:hover { transform: translateY(-3px); }
.team .avatar { grid-row: 1 / span 2; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--bloom); color: var(--slate); font: 700 1.1rem var(--font-display); }
.team li.lead .avatar { background: var(--white); }

.form-intro { color: var(--slate-soft); }
.panel h2 { font-size: 1.6rem; }
.map { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--mist); box-shadow: 0 18px 40px -28px rgba(12,29,54,.6); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-split { align-items: center; }

.cta-section { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 72px); }
.cta-section .cta-band { background: var(--bloom); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 44px); }
.cta-section .cta-band p { margin: 6px 0 0; }
.cta-section .btn-primary { background: var(--slate); color: var(--white); }
.cta-section .btn-primary:hover { background: var(--navy); color: var(--white); box-shadow: none; }
.cta-section .btn-ghost { border-color: var(--slate); color: var(--slate); }
.cta-section .btn-ghost:hover { background: var(--slate); color: var(--white); }

/* Book or get a quote */
.book-section { padding-top: clamp(32px, 5vw, 56px); }
.svc-pick { border: 0; padding: 0; margin: 0 0 8px; min-width: 0; }
.svc-pick legend { font: 650 1.35rem var(--font-display); margin-bottom: 14px; padding: 0; }
.svc-pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.svc-pick-item { position: relative; cursor: pointer; }
.svc-pick-item input { position: absolute; opacity: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.svc-pick-item span { display: grid; gap: 2px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--white); transition: border-color .15s ease, background-color .15s ease, transform .15s ease; height: 100%; }
.svc-pick-item strong { font: 650 1.02rem var(--font-display); }
.svc-pick-item small { color: var(--pine); font-weight: 700; font-size: .85rem; }
.svc-pick-item:hover span { border-color: var(--pine); transform: translateY(-2px); }
.svc-pick-item input:focus-visible + span { outline: 3px solid var(--pine); outline-offset: 2px; }
.svc-pick-item input:checked + span { background: var(--slate); border-color: var(--slate); color: var(--white); }
.svc-pick-item input:checked + span small { color: var(--bloom); }
#pick-hint .center { text-align: center; max-width: none; margin-top: 20px; }
.bk-grid { margin-top: 28px; }
.panel-in { animation: rise .45s cubic-bezier(.2,.7,.2,1) both; }
.mini-steps { margin: 0; padding-left: 1.3em; display: grid; gap: 8px; }
.bk-summary .mini-steps li::marker { color: var(--bloom); font-weight: 700; }
.done { text-align: left; }
.done-check { width: 64px; height: 64px; border-radius: 50%; background: var(--bloom); color: var(--slate); display: grid; place-items: center; margin-bottom: 12px; animation: pop .5s cubic-bezier(.3,1.6,.5,1) both; }
.done-check svg { width: 36px; height: 36px; }
.form .opt, .bk-step legend .opt { font-weight: 400; color: var(--slate-soft); font-family: var(--font-body); font-size: .95rem; }
.form-status.err a, .form-status.ok a { color: inherit; }
@media (max-width: 760px) { .svc-detail { grid-template-columns: minmax(0, 1fr); gap: 14px; } }
@media (min-width: 1000px) {
  .group:nth-of-type(2) .svc-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .group:nth-of-type(3) .svc-cards { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .svc-pick-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Social icons: Facebook, message, Yelp, Google */
.socials { list-style: none; display: flex; gap: 10px; padding: 0; margin: 4px 0 12px; }
.socials li { margin: 0; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--bloom); border: 1.5px solid rgba(246,195,26,.45); transition: background-color .2s ease, color .2s ease, transform .2s ease; }
.socials a:hover { background: var(--bloom); color: var(--slate); transform: translateY(-3px); }
.socials svg { width: 20px; height: 20px; }
.socials-dark a { color: var(--slate); border-color: var(--line); background: var(--white); }
.socials-dark a:hover { background: var(--slate); color: var(--bloom); border-color: var(--slate); }
.find-us { padding-top: 14px; }
.find-us .label { display: block; color: var(--slate-soft); font-size: .9rem; margin-bottom: 4px; }
.small-links { margin: 0; font-size: .92rem; }

/* ==========================================================
   SPECIALTIES: commercial cleaning, floor care, carpet cleaning
   ========================================================== */
.hero-stack { padding: 0 0 56px 0; }
.hero-stack .hero-main { aspect-ratio: 5 / 4; }
.hero-stack .hero-side { position: absolute; width: 42%; aspect-ratio: 4 / 3; border: 5px solid var(--white); box-shadow: 0 18px 36px -22px rgba(12,29,54,.6); }
.hero-stack .hero-side-1 { left: -8%; bottom: 0; transform: rotate(-4deg) translateY(calc(var(--drift, 0px) * -0.8)); animation: settle .9s cubic-bezier(.2,.7,.2,1) .45s both; }
.hero-stack .hero-side-2 { right: -6%; bottom: 14px; transform: rotate(3deg) translateY(calc(var(--drift, 0px) * -1.1)); animation: settle .9s cubic-bezier(.2,.7,.2,1) .6s both; }
@media (max-width: 820px) { .hero-stack { padding-bottom: 40px; } .hero-stack .hero-side { width: 38%; } .hero-stack .hero-side-1 { left: 2%; } .hero-stack .hero-side-2 { right: 2%; } }

.specialties { padding-top: clamp(24px, 4vw, 48px); }
.spec-list { display: grid; gap: clamp(28px, 5vw, 56px); }
.spec { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(22px, 5vw, 64px); align-items: center; }
.spec-flip .photo { order: 2; }
.spec .photo { aspect-ratio: 4 / 3; box-shadow: 0 22px 44px -30px rgba(12,29,54,.6); }
.spec .photo img { transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.spec:hover .photo img { transform: scale(1.04); }
.spec h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); position: relative; padding-bottom: 12px; margin-bottom: 14px; }
.spec h3::after { content: ""; position: absolute; left: 0; bottom: 0; height: 5px; width: 0; border-radius: 3px; background: var(--bloom); transition: width .8s cubic-bezier(.2,.7,.2,1) .2s; }
.spec.in h3::after, html:not(.js) .spec h3::after { width: 72px; }
.spec p { color: var(--slate-soft); }
@media (max-width: 820px) { .spec { grid-template-columns: minmax(0, 1fr); } .spec-flip .photo { order: 0; } }

.svc-more { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
@media (min-width: 1000px) { .svc-more { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.chip-feat { border-color: var(--bloom); background: #FFF8DC; }
.svc-feat { padding-top: 48px; padding-bottom: 48px; }
.svc-feat h3 { font-size: 1.9rem; }
.pick-feat span { border-width: 2px; border-color: #E9D489; background: #FFFBEB; }
@media (min-width: 1000px) {
  /* specialties three across on top, the other five across below */
  .svc-pick-grid { grid-template-columns: repeat(15, minmax(0, 1fr)); }
  .svc-pick-item.pick-feat { grid-column: span 5; }
  .svc-pick-item:not(.pick-feat) { grid-column: span 3; }
}

/* ==========================================================
   PHOTOS: specialists, gallery, Hillyard
   ========================================================== */
.photo-square { aspect-ratio: 1 / 1 !important; }
.team { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2.5vw, 24px); }
@media (max-width: 760px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .team { grid-template-columns: minmax(0, 1fr); } }
.team li { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 0 0 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.team li:hover { transform: translateY(-4px); box-shadow: 0 18px 34px -26px rgba(12,29,54,.6); }
.team .face { width: 100%; aspect-ratio: 1 / 1; overflow: hidden; background: linear-gradient(140deg, #DCE7F5, #EEF3FA 60%, #FBF1C8); display: grid; place-items: center; margin-bottom: 12px; }
.team .face img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.team li:hover .face img { transform: scale(1.05); }
.team .face .avatar { width: 96px; height: 96px; font-size: 2.4rem; grid-row: auto; }
.team strong, .team li > span { padding: 0 18px; }
.team strong { font-size: 1.15rem; }
.team .lead { background: var(--navy); border-color: var(--navy); }
.team .lead strong { color: var(--white); }

.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.gallery li { border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--line); }
.gallery li.wide { grid-column: span 2; aspect-ratio: auto; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.gallery li:hover img { transform: scale(1.06); }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.product-note { align-items: center; }
.hillyard-art { position: relative; flex: 0 0 44%; max-width: 44%; }
.hillyard-art .photo { aspect-ratio: 4 / 3; box-shadow: 0 22px 44px -30px rgba(12,29,54,.6); }
.hillyard-logo { position: absolute; left: -14px; bottom: -18px; width: 170px; height: auto; background: var(--white); padding: 12px 14px; border-radius: 12px; box-shadow: 0 14px 30px -18px rgba(12,29,54,.55); }
@media (max-width: 680px) { .hillyard-art { flex-basis: auto; max-width: 100%; width: 100%; margin-bottom: 22px; } .hillyard-logo { left: 10px; } }

/* ==========================================================
   HOME PAGE TOP: mountain photo behind the logo
   ========================================================== */
.hero-photo { position: relative; overflow: hidden; background: var(--navy); color: var(--white); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%;
  transform: translateY(calc(var(--drift, 0px) * 1.2)) scale(1.02); animation: drift-in 14s cubic-bezier(.2,.6,.2,1) both; }
@keyframes drift-in { from { scale: 1.1; } to { scale: 1; } }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(12,29,54,.58) 0%, rgba(12,29,54,.28) 38%, rgba(12,29,54,.45) 70%, rgba(12,29,54,.8) 100%); }
.hero-center { position: relative; z-index: 2; text-align: center; display: flex; flex-direction: column; align-items: center;
  padding-top: clamp(44px, 7vw, 84px); padding-bottom: clamp(150px, 16vw, 190px); }
.hero-center > * { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.hero-center > :nth-child(2) { animation-delay: .12s; }
.hero-center > :nth-child(3) { animation-delay: .2s; }
.hero-center > :nth-child(4) { animation-delay: .28s; }
.hero-center > :nth-child(5) { animation-delay: .36s; }
.hero-center > :nth-child(6) { animation-delay: .44s; }
.hero-logo { width: clamp(150px, 20vw, 230px); height: auto; margin-bottom: 18px; filter: drop-shadow(0 6px 18px rgba(0,0,0,.35)); }
.hero-photo .hero-kicker { color: var(--bloom); text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.hero-photo h1 { color: var(--white); max-width: 18ch; text-shadow: 0 2px 18px rgba(0,0,0,.35); text-wrap: balance; }
.hero-photo .lede { color: #E7EEF7; max-width: 58ch; margin-left: auto; margin-right: auto; text-shadow: 0 1px 10px rgba(0,0,0,.4); }
.hero-photo .hero-actions { justify-content: center; }
.hero-photo .btn-ghost { color: var(--white); border-color: rgba(255,255,255,.85); background: rgba(12,29,54,.25); }
.hero-photo .btn-ghost:hover { background: var(--white); color: var(--slate); }
.hero-photo .hero-note { color: #D6E1EE; }
.hero-photo .hero-note a { color: var(--white); }
@media (prefers-reduced-motion: reduce) { .hero-bg { animation: none; transform: none; } }

/* ---------- BOOK NOW FORM (like the original site) ---------- */
.book-now { background: var(--mist); }
.book-now h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.book-now .lede { font-size: 1.15rem; }
.form-panel { box-shadow: 0 22px 44px -30px rgba(12,29,54,.55); border-top: 6px solid var(--bloom); }
.form-panel h3 { font-size: 1.5rem; margin: 0 0 14px; }
#message > .form-panel { margin-top: 18px; }

/* ---------- GOOGLE REVIEWS (live, from CrewMount) ---------- */
.greviews-summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
.greviews-summary strong { font: 700 1.6rem var(--font-display); color: var(--slate); }
.gr-g { width: 22px; height: 22px; flex: none; }
.gr-stars { color: var(--bloom); letter-spacing: 2px; font-size: 1.1rem; }
.gr-stars .gr-off { color: #CBD5E1; }
.greviews { list-style: none; padding: 0; margin: 28px 0 8px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; text-align: left; }
.gr-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 16px 34px -28px rgba(12,29,54,.5); }
.gr-card p { margin: 0; color: var(--slate-soft); }
.gr-head { display: flex; align-items: center; gap: 12px; }
.gr-head > div { flex: 1; min-width: 0; }
.gr-head strong { display: block; color: var(--slate); }
.gr-head strong a { color: inherit; text-decoration: none; }
.gr-head strong a:hover { text-decoration: underline; }
.gr-head small { color: var(--slate-soft); }
.gr-head img, .gr-avatar { width: 40px; height: 40px; border-radius: 50%; flex: none; object-fit: cover; }
.gr-avatar { display: grid; place-items: center; background: var(--navy); color: var(--white); font-weight: 700; }
.gr-more { font-weight: 700; font-size: .92rem; }
.gr-by { grid-column: 1 / -1; text-align: center; font-size: .85rem; color: var(--slate-soft); }

/* ---------- HOME: all services in one grid, specialties first ---------- */
.svc-all { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .svc-all { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .svc-all { grid-template-columns: 1fr; } }
.svc-all a { position: relative; display: flex; flex-direction: column; }
.svc-all .body { display: flex; flex-direction: column; flex: 1; }
.svc-all .body span { flex: 1; }
.card-go { margin-top: 12px; font-size: .95rem; color: var(--pine); }
.svc-all a:hover .card-go { text-decoration: underline; }
.card-feat a { border: 2px solid var(--bloom); }
.card-feat a:hover { border-color: var(--bloom); }
.spec-badge { position: absolute; top: 12px; left: 12px; background: var(--bloom); color: var(--slate); font-style: normal; font-weight: 700; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; box-shadow: 0 6px 14px -8px rgba(12,29,54,.6); }

/* ---------- CLEANING MOTION: photos get wiped clean and sparkle as they scroll in ----------
   Before a photo scrolls in it has a dull, smudged film over it. When it comes into view a squeegee
   sweeps across, the film goes with it, and a few sparkles pop. Headings get a yellow swipe underneath.
   Only runs with JavaScript on, and never for visitors who have reduced motion turned on. */
.photo.wipe-ready::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    radial-gradient(40% 30% at 22% 30%, rgba(110, 96, 72, .38), transparent 70%),
    radial-gradient(35% 28% at 74% 62%, rgba(96, 86, 66, .34), transparent 70%),
    radial-gradient(30% 22% at 48% 86%, rgba(120, 104, 80, .3), transparent 70%),
    linear-gradient(160deg, rgba(150, 140, 120, .42), rgba(110, 104, 92, .48));
  -webkit-backdrop-filter: blur(2px) saturate(.55) brightness(.92);
  backdrop-filter: blur(2px) saturate(.55) brightness(.92);
  clip-path: inset(0 0 0 0);
}
.photo.wipe-ready::before {
  /* the squeegee blade: a soft white rubber edge with a blue handle line */
  content: ""; position: absolute; top: -6%; bottom: -6%; left: -14%; width: 14px; z-index: 3; pointer-events: none;
  border-radius: 8px; opacity: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.95), #fff 40%, #dfe8f5 60%, var(--pine) 61%, var(--pine) 100%);
  box-shadow: -10px 0 22px rgba(255,255,255,.75), 3px 0 10px rgba(12,29,54,.35);
  transform: rotate(8deg);
}
.photo.wiped::after { animation: wipe-film .95s cubic-bezier(.55,.1,.35,1) forwards; }
.photo.wiped::before { animation: squeegee .95s cubic-bezier(.55,.1,.35,1) forwards; }
@keyframes wipe-film { to { clip-path: inset(0 0 0 100%); } }
@keyframes squeegee {
  0% { left: -14%; opacity: 0; }
  10% { opacity: 1; }
  88% { opacity: 1; }
  100% { left: 104%; opacity: 0; }
}

/* sparkles that pop once a photo is clean */
.sparkle-pop { position: absolute; z-index: 4; width: 26px; height: 26px; pointer-events: none; background: #fff;
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  filter: drop-shadow(0 0 6px rgba(246,195,26,.95)) drop-shadow(0 0 2px rgba(255,255,255,1));
  animation: sparkle-pop 1.3s cubic-bezier(.3,1.5,.5,1) both; }
.sparkle-pop.gold { background: var(--bloom); }
@keyframes sparkle-pop {
  0% { transform: scale(0) rotate(-40deg); opacity: 0; }
  30% { transform: scale(1.15) rotate(0); opacity: 1; }
  55% { transform: scale(.75) rotate(25deg); opacity: .9; }
  75% { transform: scale(1) rotate(45deg); opacity: 1; }
  100% { transform: scale(0) rotate(90deg); opacity: 0; }
}

/* a yellow swipe under section headings, like a cloth pass */
.js .section-head h2, .js .reviews-inner h2, .js .book-now h2 { position: relative; display: inline-block; }
.js .section-head h2::after, .js .reviews-inner h2::after, .js .book-now h2::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 6px; border-radius: 6px;
  background: linear-gradient(90deg, var(--bloom), #FFE07A); transform: scaleX(0); transform-origin: left;
  transition: transform .8s cubic-bezier(.2,.7,.2,1) .25s;
}
.js .reviews-inner h2::after { transform-origin: center; }
.js .reveal.in .section-head h2::after, .js .section-head.reveal.in h2::after,
.js .reviews-inner.reveal.in h2::after, .js .book-now .reveal.in h2::after { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  .photo.wipe-ready::after, .photo.wipe-ready::before, .sparkle-pop { display: none; }
  .js .section-head h2::after, .js .reviews-inner h2::after, .js .book-now h2::after { transition: none; transform: scaleX(1); }
}
.spec-badge { z-index: 5; }

/* Specialists: three across, with a short last row centered */
.team { display: flex; flex-wrap: wrap; justify-content: center; }
.team > li { flex: 0 1 calc((100% - 2 * clamp(14px, 2.5vw, 24px)) / 3); }
@media (max-width: 760px) { .team > li { flex-basis: calc((100% - clamp(14px, 2.5vw, 24px)) / 2); } }
@media (max-width: 420px) { .team > li { flex-basis: 100%; } }

/* ---------- SEE US IN ACTION (home page video) ---------- */
.action-split { align-items: center; grid-template-columns: 1.2fr .8fr; }
.action-video { justify-self: center; width: 100%; max-width: 340px; }
.action-video video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 28px; background: var(--slate);
  border: 6px solid var(--white); box-shadow: 0 30px 60px -30px rgba(12,29,54,.6), 0 0 0 2px var(--bloom); }
@media (max-width: 820px) { .action-split { grid-template-columns: 1fr; } .action-video { max-width: 300px; } }


/* ---------- Floating Call button (phones) ---------- */
.call-fab { display: none; position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 60;
  align-items: center; gap: 8px; padding: 14px 20px 14px 16px; border-radius: 999px; text-decoration: none;
  background: var(--bloom); color: var(--slate); font: 700 1.05rem var(--font-display);
  box-shadow: 0 14px 30px -10px rgba(12,29,54,.55), 0 0 0 3px rgba(255,255,255,.9); }
.call-fab svg { width: 22px; height: 22px; }
.call-fab::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(246,195,26,.6); animation: fab-pulse 2.6s ease-out infinite; }
@keyframes fab-pulse { 0% { box-shadow: 0 0 0 0 rgba(246,195,26,.55); } 70%, 100% { box-shadow: 0 0 0 16px rgba(246,195,26,0); } }
@media (max-width: 640px) { .call-fab { display: inline-flex; } }
@media (prefers-reduced-motion: reduce) { .call-fab::before { animation: none; } }

/* ---------- BOOK NOW over the mountain sunset photo ---------- */
.book-now { position: relative; overflow: hidden; background: var(--slate); color: var(--white); padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(48px, 7vw, 88px); }
.book-now-bg { position: absolute; inset: 0; z-index: 0; }
.book-now-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.book-now::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(12,29,54,.88) 0%, rgba(12,29,54,.62) 48%, rgba(12,29,54,.25) 100%); }
.book-now-inner { position: relative; z-index: 1; align-items: center; }
.book-now h2, .book-now .lede { color: var(--white); }
.book-now .lede { color: #E4ECF7; max-width: 34ch; }
.book-now .btn-ghost { color: var(--white); border-color: var(--white); }
.book-now .btn-ghost:hover { background: var(--white); color: var(--slate); }
.book-now .form-panel { color: var(--slate); }
.book-now-facts { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 12px; }
.book-now-facts li { display: grid; gap: 2px; font-size: 1.05rem; color: #E4ECF7; }
.book-now-facts span { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--bloom); }
.book-now-facts a { color: var(--white); font-weight: 700; text-decoration: none; }
.book-now-facts a:hover { text-decoration: underline; }
.form-panel .form { gap: 12px; }
.form-panel .form textarea { min-height: 96px; }
@media (max-width: 820px) {
  .book-now::after { background: linear-gradient(180deg, rgba(12,29,54,.82) 0%, rgba(12,29,54,.7) 55%, rgba(12,29,54,.55) 100%); }
  .book-now-facts { margin: 16px 0 20px; }
}
@media (max-width: 640px) {
  .book-now-facts li:nth-child(n+2) { display: none; }   /* office and service area are in the footer */
  .book-now .btn-row { flex-wrap: nowrap; gap: 8px; }
  .book-now .btn-row .btn { padding: 12px 14px; font-size: .95rem; }
  .book-now h2 { font-size: 2rem; }
}
@media (max-width: 640px) {
  .book-now .btn-row .btn { white-space: nowrap; }
  .site-footer { padding-bottom: 96px; } /* room for the floating Call button */
}

/* ===== Privacy, Terms and Text messages pages ===== */
.legal .narrow { max-width: 760px; }
.legal h2 { font-size: 1.35rem; margin: 2rem 0 .6rem; }
.legal p, .legal li { line-height: 1.6; }
.legal ul { padding-left: 1.2rem; }
.legal .updated { color: #5b6b80; font-size: .92rem; }
.legal blockquote { margin: .8rem 0 1.1rem; padding: .8rem 1rem; border-left: 4px solid #2a5a96; background: #f2f6fb; border-radius: 8px; font-size: .96rem; }
.legal figure { margin: 1rem 0 1.4rem; }
.legal figure img { display: block; max-width: min(100%, 560px); height: auto; border: 1px solid #dfe6ef; border-radius: 12px; box-shadow: 0 6px 18px rgba(12, 29, 54, .08); }
.legal figcaption { font-size: .88rem; color: #5b6b80; margin-top: .4rem; }
.footer-bottom.legal-links a { color: inherit; }
.footer-bottom.legal-links + .footer-bottom { margin-top: 8px; padding-top: 0; border-top: 0; }
.check a { text-decoration: underline; }
