/* =========================================================
   Solaire Cleaning Services — Shared Styles
   Design tokens pulled from the logo:
   pacific-blue #08B9CB, blue-green #0A9CB9, amber-honey #E9AD1F,
   goldenrod-dark #b78d0f, soft-fawn #DFC585, parchment #FAF6F3, oat #EFE9E1,
   wheat #FBF3DC, border-fawn #E6DBC9, twilight-indigo #1E3562,
   slate #273a5f, slate-soft #6b7590, graphite #373536, white #FBFEFE
   ========================================================= */

:root {
  /* ===== Brand palette — the ONLY colours used site-wide ===== */
  --pacific-blue: #08B9CB;          /* primary accent (role: teal) */
  --blue-green: #0A9CB9;            /* darker accent / hovers (role: teal-dark) */
  --amber-honey: #E9AD1F;           /* gold accent */
  --goldenrod-dark: #b78d0f;        /* darker gold for hovers */
  --soft-fawn: #DFC585;             /* warm neutral */
  --parchment: #FAF6F3;             /* page base — cream */
  --oat: #EFE9E1;                   /* soft warm band */
  --wheat: #FBF3DC;                 /* warm honey band */
  --border-fawn: #E6DBC9;           /* soft tan hairline */
  --twilight-indigo: #1E3562;       /* headings / deep brand blue */
  --slate: #273a5f;                 /* body text — indigo */
  --slate-soft: #6b7590;            /* secondary / muted text */
  --graphite: #373536;              /* dark surfaces */
  --white: #FBFEFE;                 /* light surfaces / text on dark */

  /* Semantic roles mapped onto the palette above (no new colours) */
  --teal: var(--pacific-blue);      /* primary accent / links / highlighted words */
  --teal-dark: var(--blue-green);   /* darker teal for hovers */
  --goldenrod: var(--amber-honey);  /* gold accent */
  --logo-teal: var(--pacific-blue); /* hero SOLAIRE + slogan accent */
  --frosted-blue: var(--pacific-blue); /* light-on-dark accent (eyebrows, checks) */
  --tan: var(--soft-fawn);
  --charcoal: var(--slate);         /* body text */
  --ink: var(--twilight-indigo);    /* headings */
  --muted: var(--slate-soft);       /* secondary text */
  --bg: var(--parchment);           /* page base */
  --bg-soft: var(--oat);            /* soft warm band */
  --bg-warm: var(--wheat);          /* warm band */
  --border: var(--border-fawn);     /* hairline border */

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(30, 53, 98, 0.08);
  --shadow-lg: 0 18px 50px rgba(30, 53, 98, 0.14);

  --maxw: 1180px;
  --header-h: 110px;
  --font: "Mulish", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-head: "Montserrat", "Mulish", system-ui, sans-serif;
  --font-script: "Arima Madurai", "Segoe Script", cursive;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: var(--font);
  color: var(--charcoal);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip; /* guard against horizontal scroll on desktop + mobile (clip, not hidden, so sticky header still works) */
  width: 100%;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; font-weight: 700; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 0px; }
.section { padding: 84px 0; }
.section--soft { background: var(--bg-soft); }
.section--warm { background: var(--bg-warm); }
/* Extra breathing room around "Why choose us" */
.section--why { padding-top: 130px; padding-bottom: 130px; }
/* Extra breathing room between the hero (CTA) and the section right after it */
body.home .hero + .section { padding-top: clamp(120px, 12vw, 170px); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: .78rem;
  color: var(--blue-green);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-head);
  font-weight: 300;                  /* light / airy Montserrat display, like the hero slogan */
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
}
.section-title .accent-teal { color: var(--blue-green); }  /* highlighted words — blue-green */
.section-lead { color: var(--muted); max-width: 620px; margin-top: 14px; font-size: 1.15rem; }
.center { text-align: center; }
.center .section-lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);        /* body-text font (Mulish) for buttons */
  font-weight: 600;
  font-size: .98rem;
  padding: 10px 30px;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--goldenrod); color: var(--graphite); box-shadow: 0 8px 20px rgba(233, 173, 31, .35); }
.btn--primary:hover { background: var(--goldenrod-dark); color: var(--white); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(233, 173, 31, .5); }
.btn--teal { background: var(--teal); color: var(--white); box-shadow: 0 8px 20px rgba(10, 156, 185,.3); }
.btn--teal:hover { background: var(--teal-dark); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn--ghost:hover { background: var(--teal); color: var(--white); }
.btn--light { background: var(--white); color: var(--teal); }
.btn--light:hover { background: var(--teal); color: var(--white); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(10, 156, 185, .4); }
.btn--lg { padding: 13px 42px; font-size: 1.05rem; }

/* =========================================================
   Header / Nav
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.60);
  backdrop-filter: blur(10px);
  border-bottom: none;
}
/* Soft, blurred bottom edge that melts into the hero image below */
.site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -28px;
  height: 28px;
  pointer-events: none;
  background: linear-gradient(rgba(255,255,255,.30), rgba(255,255,255,0));
  backdrop-filter: blur(6px);
  -webkit-mask: linear-gradient(#000, transparent);
          mask: linear-gradient(#000, transparent);
}
/* Home page: header floats over the hero so the background image
   runs from the very top and the blurred edge melts into it. */
body.home .hero {
  margin-top: calc(-1 * var(--header-h));
  padding-top: var(--header-h);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap:20px;
  height: var(--header-h);
  /* Full-bleed header: logo hugs the far left, nav the far right,
     regardless of screen width (override the centred .container). */
  max-width: 100%;
  padding: 0 clamp(16px, 2.5vw, 44px);
}
.nav__logo { display: flex; align-items: center; }
.nav__logo img { height: calc(var(--header-h) - 20px); width: auto; }  /* big, but fits within the header (no overflow) */
.nav__right { display: flex; align-items: center; gap: 30px; }
.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: .98rem;
  color: var(--charcoal);
  position: relative;
  padding: 6px 0;
  transition: color .2s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--goldenrod);
  transition: width .25s ease;
}
.nav__links a:hover { color: var(--blue-green); }
.nav__links a:hover::after,
.nav__links a.is-active::after { width: 100%; }
.nav__links a.is-active { color: var(--blue-green); }

/* ---------- Services dropdown ---------- */
.nav__dropdown { position: relative; display: flex; align-items: center; }
.nav__dropdown-toggle { display: inline-flex; align-items: center; gap: 5px; }
.nav__caret { transition: transform .2s ease; }
/* invisible bridge so the menu doesn't disappear while crossing the gap */
.nav__dropdown::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 14px; }
.nav__menu {
  position: absolute;
  top: calc(100% + 10px); left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 230px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 8px;
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 200;
}
.nav__dropdown:hover .nav__menu,
.nav__dropdown:focus-within .nav__menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.nav__dropdown:hover .nav__caret,
.nav__dropdown:focus-within .nav__caret { transform: rotate(180deg); }
.nav__menu a {
  display: block; white-space: nowrap;
  padding: 10px 14px; border-radius: 8px;
  font-family: var(--font-head); font-weight: 500; font-size: .92rem;
  color: var(--charcoal);
}
.nav__menu a::after { display: none; }
.nav__menu a:hover { background: var(--bg-soft); color: var(--blue-green); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span {
  width: 26px; height: 3px;
  background: var(--teal);
  border-radius: 3px;
  transition: transform .25s, opacity .25s;
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .nav__logo img { height: 46px; }
  .nav__toggle { display: flex; }
  .nav__right {
    position: fixed;
    top: var(--header-h); right: 0;
    width: min(320px, 84vw);
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));   /* dvh = the *visible* viewport, so the drawer doesn't run under the mobile toolbar */
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 26px 24px;
    box-shadow: var(--shadow-lg);
    transform: translateX(110%);
    visibility: hidden;                 /* fully gone when closed (can't be revealed by panning) */
    transition: transform .3s ease, visibility .3s ease;
    overflow-y: auto;
  }
  .nav__right.is-open { transform: translateX(0); visibility: visible; }
  .nav__links { flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; }
  .nav__links a { display: block; width: 100%; padding: 11px 0; border-bottom: 1px solid var(--border); font-size: .9rem; }
  .nav__links a::after { display: none; } /* underline hover looks odd on full-width rows */
  /* Services dropdown: submenu shown inline + indented in the drawer */
  .nav__dropdown { flex-direction: column; align-items: flex-start; width: 100%; }
  .nav__dropdown::after { display: none; }
  .nav__dropdown-toggle { width: 100%; }
  .nav__caret { display: none; }
  .nav__menu {
    position: static; transform: none; opacity: 1; visibility: visible;
    box-shadow: none; border: 0; background: transparent;
    padding: 0 0 0 16px; min-width: 0; width: 100%; z-index: auto;
  }
  .nav__menu a { padding: 10px 0; font-size: .85rem; border-bottom: 1px solid var(--border); white-space: normal; }
  .nav__right .btn { width: 100%; justify-content: center; margin-top: 14px; }
}

/* Dim the page behind the open mobile drawer */
.nav-backdrop {
  position: fixed; inset: 0;
  background: rgba(30, 53, 98, .45);
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
  z-index: 90;
}
.nav-backdrop.is-open { opacity: 1; visibility: visible; }
@media (min-width: 901px) { .nav-backdrop { display: none; } }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  isolation: isolate;
  background: var(--bg);
  overflow: hidden;
}
/* Background image carousel (slides injected by js/main.js) */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 3.2s ease-in-out;   /* slow, noticeable fade */
}
.hero__slide.is-active { opacity: 1; }
/* Colour scrim kept above the photos, below the content */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(rgba(30,53,98,.30), rgba(30,53,98,.92));
}
@media (prefers-reduced-motion: reduce) {
  .hero__slide { transition: opacity 1s ease; }
}
.hero__wordmark {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 auto;
  padding-top: 56px;
  font-family: var(--font-head);
  line-height: 1;
  text-shadow: 0 4px 18px rgba(30,53,98,.4);
}
.hero__wordmark-name {
  font-size: clamp(2.6rem, 8vw, 5rem);
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--logo-teal);
}
.hero__wordmark-sub {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 2px solid var(--goldenrod);
  font-size: clamp(.8rem, 2.4vw, 1.25rem);
  font-weight: 600;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--white);
}
.hero__wordmark-region {
  margin-top: 8px;
  font-size: clamp(.7rem, 1.8vw, 1rem);
  font-weight: 600;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--goldenrod);
}
.hero__inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 0 96px;
}
.hero__slogan {
  font-family: var(--font-head);
  font-weight: 300;                  /* light / airy Montserrat display */
  font-size: clamp(1.1rem, 3vw, 2rem);
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--white);                       /* white base */
  text-shadow: 0 2px 20px rgba(30,53,98,.45);
}
.hero__slogan .accent-frost { color: var(--logo-teal); }  /* logo teal on the accented slogan word */
.hero__lead {
  margin: 20px auto 0;
  font-size: 1.15rem;
  color: rgba(255,255,255,.94);
  max-width: 560px;
  text-shadow: 0 1px 12px rgba(30,53,98,.4);
}
.hero__cta { display: flex; justify-content: center; margin-top: 56px; }
@media (max-width: 860px) {
  .hero__wordmark { width: min(400px, 78vw); padding-top: 40px; }
  .hero__inner { padding: 36px 0 72px; }
}
@media (max-width: 520px) {
  .hero__wordmark { width: 82vw; padding-top: 30px; }
  .hero__inner { margin-top: 14px; padding: 26px 0 84px; }   /* gap above slogan + space under the button */
  .hero__slogan { font-size: 1.15rem; line-height: 1.25; }
  .hero__lead { margin-top: 12px; font-size: .85rem; line-height: 1.4; }
  .hero__cta { margin-top: 18px; margin-bottom: 18px; }
  /* button sizing now handled uniformly in the ≤600px block */
}

/* =========================================================
   Service / feature cards
   ========================================================= */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 50px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-top: 40px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 44px; }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card__icon {
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(10, 156, 185,.14), rgba(233, 173, 31,.14));
  font-size: 1.7rem;
  margin-bottom: 18px;
}
.card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.card p { color: var(--muted); }
.card__list { margin-top: 16px; }
.card__list li { position: relative; padding-left: 24px; margin-bottom: 8px; color: var(--charcoal); font-size: .95rem; }
.card__list li::before { content: "✓"; position: absolute; left: 0; color: var(--goldenrod); font-weight: 800; }

/* "Why choose Solaire" — one image row crossfading every 2s, reasons underneath */
.why-slideshow {
  position: relative;
  margin-top: 44px;
  width: 100%;
  height: clamp(240px, 40vw, 440px);
  border-radius: 10px;              /* match the "Get a Quote" button */
  overflow: hidden;
  box-shadow: var(--shadow);
}
.why-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: whyFade 9s infinite;   /* 3 photos × 3s each */
}
.why-slide:nth-child(1) { animation-delay: 0s; }
.why-slide:nth-child(2) { animation-delay: 3s; }
.why-slide:nth-child(3) { animation-delay: 6s; }
@keyframes whyFade {
  0%   { opacity: 0; }
  5%   { opacity: 1; }
  30%  { opacity: 1; }   /* held visible for ~3s */
  38%  { opacity: 0; }
  100% { opacity: 0; }
}

/* Six reasons — no boxes; a short gold rule like the one under the SOLAIRE wordmark */
.why-reasons {
  margin: 80px auto 0;
  max-width: 820px;                        /* keep the reasons in a tighter block */
  display: grid;
  grid-template-columns: repeat(2, 1fr);   /* 2 per row → 3 rows for 6 reasons */
  gap: 40px 44px;
}
.why-reason h3 {
  font-family: var(--font-script);   /* calligraphic titles, like the service titles */
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.15;
  color: var(--ink);
}
.why-reason__rule {
  display: block;
  width: 52px;
  height: 2px;
  background: var(--goldenrod);          /* the yellow-gold line, as under SOLAIRE */
  margin: 12px 0 14px;
}
.why-reason p { margin: 0; color: var(--muted); font-size: 1.05rem; line-height: 1.55; text-align: justify; }

@media (max-width: 900px) {
  .why-reasons { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .why-reasons { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .why-slide { animation: none; }
  .why-slide:nth-child(1) { opacity: 1; }   /* just show the first photo */
}

/* Trust strip / stats */
/* Always five even columns, at any screen size (fluid gap + text so it never breaks) */
.stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(5px, 1.4vw, 24px); margin-top: 90px; }
.stat { text-align: center; padding: clamp(2px, 0.8vw, 10px); min-width: 0; overflow-wrap: break-word; }
.stat__num { font-family: var(--font-head); font-weight: 800; font-size: clamp(.78rem, 2.1vw, 1.55rem); line-height: 1.15; color: var(--blue-green); }
.stat__label { color: var(--muted); font-weight: 500; margin-top: 6px; font-size: clamp(.66rem, 1.5vw, 1rem); line-height: 1.3; }

/* =========================================================
   Testimonials carousel
   ========================================================= */
.carousel { position: relative; max-width: 820px; margin: 46px auto 0; }
.carousel__track { position: relative; overflow: hidden; border-radius: var(--radius); padding: 8px; }
/* Horizontal sliding track: all slides in a row, translated left/right by the arrows */
.carousel__row { display: flex; transition: transform .5s ease; }
.slide {
  flex: 0 0 100%;
  box-sizing: border-box;
  align-self: stretch;               /* equal height so the box doesn't jump */
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 44px 46px;
  box-shadow: var(--shadow);
  text-align: center;
}
@keyframes fade { from { opacity: 0; transform: translateY(8px);} to { opacity: 1; transform: none; } }
.slide__stars { color: var(--goldenrod); font-size: 1.2rem; letter-spacing: 3px; margin-bottom: 16px; }
.slide__quote { font-size: 1.2rem; color: var(--ink); font-style: italic; }
.slide__author { margin-top: 20px; font-family: var(--font-head); font-weight: 600; color: var(--teal); }
.slide__role { color: var(--muted); font-size: .9rem; }

.carousel__btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--white);
  color: var(--teal); font-size: 1.3rem; cursor: pointer;
  display: grid; place-items: center;
  box-shadow: var(--shadow);
  transition: background .2s, color .2s;
  z-index: 2;
}
.carousel__btn:hover { background: var(--teal); color: var(--white); }
.carousel__btn--prev { left: -12px; }
.carousel__btn--next { right: -12px; }
.carousel__dots { display: flex; justify-content: center; gap: 10px; margin-top: 26px; }
.dot { width: 11px; height: 11px; border-radius: 50%; border: 0; background: var(--tan); cursor: pointer; transition: background .2s, transform .2s; }
.dot.is-active { background: var(--goldenrod); transform: scale(1.25); }

/* Leave-a-Google-review invitation under the testimonials */
.reviews-cta { margin-top: 40px; }
.reviews-cta__text { margin-bottom: 16px; color: var(--muted); font-size: 1.05rem; }
.reviews-cta__btn { gap: 10px; }
.reviews-cta__g {
  display: inline-grid;
  place-items: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--white);
  color: var(--teal);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .9rem;
  line-height: 1;
}

@media (max-width: 620px) {
  .carousel { margin-top: 34px; }
  .carousel__btn { width: 40px; height: 40px; font-size: 1.15rem; }
  .carousel__btn--prev { left: -6px; }
  .carousel__btn--next { right: -6px; }
  .slide { padding: 34px 20px; }
  .slide__quote { font-size: 1.05rem; }
}
/* Below 380px the arrows crowd the text — hide them; dots + swipe still work */
@media (max-width: 380px) {
  .carousel__btn { display: none; }
  .carousel { margin-left: 0; margin-right: 0; }
}

/* =========================================================
   Services carousel — one service at a time. Image (with an
   offset flat-colour card behind it) on the left, calligraphic
   title + description on the right. Prev arrow sits by the
   picture, next arrow by the text. One --accent per service.
   ========================================================= */
/* Extra breathing room below the hero, above "What we do" */
#services { padding-top: clamp(110px, 12vw, 150px); }

.services-rotator {
  margin-top: clamp(72px, 8vw, 104px);
  display: flex;
  align-items: center;
  gap: clamp(10px, 2.5vw, 30px);
}
/* Mobile-only quote button under the services carousel (shown at <=900px) */
.services-cta { display: none; justify-content: center; margin-top: clamp(32px, 7vw, 48px); }

/* =========================================================
   Service cards (home "What we do") + service pages
   ========================================================= */
.services-grid {
  margin-top: clamp(46px, 6vw, 72px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 26px);
}
.service-card {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease;
}
.service-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.service-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(30,53,98,.88) 0%, rgba(30,53,98,.42) 46%, rgba(30,53,98,.04) 78%);
  transition: background .3s ease;
}
.service-card__overlay {
  position: absolute; inset: auto 0 0 0;
  z-index: 1;
  padding: clamp(16px, 1.8vw, 24px);
}
.service-card__title { color: var(--white); font-size: clamp(1.05rem, 1.4vw, 1.3rem); line-height: 1.2; }
.service-card__tagline { color: rgba(255,255,255,.9); font-size: .9rem; margin-top: 6px; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card:hover img { transform: scale(1.06); }
.service-card:hover::after { background: linear-gradient(to top, rgba(10,156,185,.9) 0%, rgba(30,53,98,.55) 60%, rgba(30,53,98,.12) 100%); }
.service-card:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .services-grid { grid-template-columns: 1fr; } }

/* Service detail pages */
.service-hero {
  position: relative;
  isolation: isolate;
  background-size: cover;
  background-position: center;
  min-height: clamp(300px, 34vw, 440px);
  display: flex;
  align-items: center;
}
.service-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(rgba(30, 53, 98, .74), rgba(10, 156, 185, .72));
  z-index: -1;
}
.service-hero .eyebrow { color: var(--frosted-blue); }
.service-hero .section-title { color: var(--white); }
.service-hero .section-lead { color: rgba(255, 255, 255, .92); }
/* Simple text intro at the top of the service pages (replaces the photo hero) */
.service-intro { padding-bottom: clamp(8px, 1.5vw, 16px); }
.service-intro .section-lead { margin-top: 16px; }
.service-detail {
  display: grid;
  grid-template-columns: 1.4fr .9fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.service-detail__text p { color: var(--muted); font-size: 1.05rem; line-height: 1.75; margin-bottom: 20px; }
.service-detail__text .srv__points { margin-top: 8px; }
.service-detail__aside {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 34px);
}
@media (max-width: 820px) { .service-detail { grid-template-columns: 1fr; } }
/* Variant where the photo becomes a full-bleed panel behind the description */
.service-detail--media { grid-template-columns: 1.6fr .9fr; }
.service-detail__feature {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-height: clamp(360px, 40vw, 520px);
  display: flex;
  align-items: center;
}
.service-detail__bg {                 /* image covers the whole panel, slides in from the left */
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}
.service-detail__feature::after {     /* scrim so the overlaid text stays readable */
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(30,53,98,.86) 0%, rgba(30,53,98,.62) 55%, rgba(30,53,98,.45) 100%);
  z-index: -1;
}
.service-detail__feature .service-detail__text { padding: clamp(26px, 3.5vw, 48px); }
.service-detail__feature .service-detail__text p { color: rgba(255,255,255,.94); }
.service-detail__feature .srv__points li { color: var(--white); }
.service-detail__feature .srv__points li::before { color: var(--frosted-blue); }
@media (max-width: 980px) { .service-detail--media { grid-template-columns: 1fr; } }
/* Full-bleed feature: family photo covers the whole section (subject right),
   copy sits over it on the left — like the home CTA background treatment. */
.service-feature {
  position: relative;
  isolation: isolate;
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
}
.service-feature::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(30,53,98,.94) 0%, rgba(30,53,98,.82) 42%, rgba(30,53,98,.45) 72%, rgba(30,53,98,.12) 100%);
  z-index: -1;
}
.service-feature__content { max-width: 560px; color: var(--white); }
.service-feature__content p { color: rgba(255,255,255,.94); font-size: 1.05rem; line-height: 1.75; margin-bottom: 20px; }
.service-feature__content .srv__points li { color: var(--white); }
.service-feature__content .srv__points li::before { color: var(--frosted-blue); }
.service-feature__content .srv__included { border-top-color: rgba(255,255,255,.22); }
.service-feature__content .srv__included-title { color: rgba(255,255,255,.85); }
.service-feature__content .srv__tags li {
  color: var(--white);
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.30);
}
/* Subtle "From $0000" price on the opposite (right) side of the copy */
.service-feature__price {
  position: absolute;
  right: clamp(20px, 5vw, 56px);
  bottom: clamp(22px, 4vw, 46px);
  text-align: right;
  font-family: var(--font-head);
  color: rgba(255, 255, 255, .6);
  z-index: 1;
  pointer-events: none;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, .3);   /* subtle rule, like above 'Standard cleaning includes' */
}
/* Smaller CTA buttons on the service-feature block */
.service-feature .hero__cta .btn--lg { padding: 10px 26px; font-size: .95rem; }
.service-feature__from { display: block; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; }
.service-feature__amt { display: block; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; color: rgba(255, 255, 255, .7); line-height: 1; }
@media (max-width: 820px) { .service-feature__price { display: none; } }   /* avoid overlap when the layout stacks */
@media (max-width: 700px) {
  .service-feature__content { max-width: none; }
  .service-feature::before { background: linear-gradient(rgba(30,53,98,.90), rgba(30,53,98,.84)); }
}
.addons-list {
  max-width: 720px;
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 40px;
}
.addons-note { max-width: 720px; margin: 22px auto 0; text-align: center; color: var(--muted); font-size: .95rem; }
@media (max-width: 560px) { .addons-list { grid-template-columns: 1fr; } }

/* Room-by-room scope checklists (service detail pages) */
.scope-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(26px, 4vw, 46px); margin-top: 44px; }
.scope-col h3 {
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; font-size: 1rem; color: var(--ink);
}
.scope-col .srv__points { margin-top: 4px; }
/* Two short scope-cols stacked in one grid cell, spread to fill the taller
   neighbour (Bathrooms) */
.scope-stack { display: flex; flex-direction: column; justify-content: space-between; gap: clamp(26px, 4vw, 46px); }
/* Final check & reporting: centered block below the grid */
.scope-final { max-width: 560px; margin: clamp(28px, 4vw, 48px) auto 0; text-align: center; }
.scope-final .why-reason__rule { margin-left: auto; margin-right: auto; }
.scope-final .srv__points { display: inline-grid; text-align: left; }
@media (max-width: 720px) { .scope-grid { grid-template-columns: 1fr; } }

/* Titled step / info cards (guest-ready standard, optional add-ons) */
.step-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.2vw, 26px); margin-top: 44px; }
.step-grid--3 { grid-template-columns: repeat(3, 1fr); max-width: 960px; margin-left: auto; margin-right: auto; }
.step-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(20px, 2.5vw, 28px); box-shadow: var(--shadow); }
.step-card h3 { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .95rem; color: var(--teal); margin-bottom: 10px; }
.step-card p { color: var(--muted); font-size: .96rem; line-height: 1.6; }
@media (max-width: 860px) { .step-grid, .step-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .step-grid, .step-grid--3 { grid-template-columns: 1fr; } }

/* Generic prose block for the longer service copy (before-we-arrive, T&C, etc.) */
.service-copy { max-width: 820px; }
.service-copy p { color: var(--charcoal); line-height: 1.75; margin-bottom: 16px; }
.service-copy .srv__points { margin: 18px 0 22px; }
.service-copy h3 {
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; font-size: 1rem; color: var(--ink); margin: 6px 0 12px;
}

.srv-stage {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}
.srv {
  display: none;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(28px, 5vw, 72px);
}
.srv.is-active { display: grid; animation: srvFade .5s ease both; }
@keyframes srvFade {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.srv__media {
  position: relative;
  isolation: isolate;
}
/* The flat-colour "card" sitting slightly behind the photo,
   nudged up and to the right (see resources/shape1.png). */
.srv__media::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translate(18px, -18px);
  background: var(--accent);
  border-radius: 22px;
  z-index: -1;
}
.srv__media img {
  width: 100%;
  height: auto;                 /* override the HTML height attr so aspect-ratio scales the image with the column */
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.srv__title {
  font-family: var(--font-head);       /* same as the "Experienced team" stat */
  font-weight: 800;
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  line-height: 1.1;
  color: var(--accent);
  white-space: nowrap;   /* keep titles like "Office & Commercial" on one line */
}
.srv__tagline {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.12rem;
  color: var(--ink);
  margin-top: 8px;
}
.srv__desc {
  color: var(--muted);
  margin-top: 14px;
  font-size: 1.02rem;
  max-width: 52ch;
  text-align: justify;
}
.srv__points {
  margin-top: 16px;
  display: grid;
  gap: 8px;
}
.srv__points li {
  position: relative;
  padding-left: 26px;
  color: var(--charcoal);
  font-size: .98rem;
}
.srv__points li::before {
  content: "\2713";                 /* check mark */
  position: absolute;
  left: 0; top: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.5;
}
.srv__note {
  margin-top: 16px;
  font-style: italic;
  color: var(--muted);
  font-size: .96rem;
  max-width: 52ch;
}
/* "What's included" chip list at the foot of each service card */
.srv__included {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(30, 53, 98, .08);
}
.srv__included-title {
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .74rem;
  color: var(--muted);
  margin-bottom: 12px;
}
.srv__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.srv__tags li {
  padding: 6px 14px;
  border-radius: 6px;
  font-size: .86rem;
  font-weight: 500;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
}

/* Prev / next arrows flanking the stage */
.srv-nav {
  flex: 0 0 auto;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--teal);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  transition: background .2s, color .2s, transform .2s;
}
.srv-nav:hover { background: var(--teal); color: var(--white); transform: translateY(-2px); }

@media (max-width: 760px) {
  /* Card spans the full width (so the text can never run past the image);
     both arrows sit in a centred row beneath it. */
  .services-rotator {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);   /* minmax(0,…) so the stage can't force the tracks past the screen */
    grid-template-areas: "stage stage" "prev next";
    align-items: center;
    row-gap: 22px;
    margin-top: clamp(48px, 9vw, 80px);
  }
  .srv-stage { grid-area: stage; width: 100%; min-width: 0; }
  .srv { grid-template-columns: minmax(0, 1fr); gap: 26px; }   /* single full-width column; minmax(0,…) so content wraps */
  .srv__media, .srv__text { min-width: 0; max-width: 100%; }
  .srv__media img { aspect-ratio: 1 / 1; height: auto; max-width: 100%; }   /* squarer photo on mobile (was 4/3); height:auto lets aspect-ratio win over the HTML height attr */
  .srv__media::before { transform: translate(12px, -12px); }
  .srv__desc { max-width: none; text-align: left; }   /* left-align (not justified) so long copy doesn't jam against the right edge like the short "Windows" card */
  .srv__title { white-space: normal; }   /* let long titles wrap */
  .srv-nav { position: static; width: 44px; height: 44px; font-size: 1.3rem; }
  .srv-nav--prev { grid-area: prev; justify-self: end; margin-right: 8px; }
  .srv-nav--next { grid-area: next; justify-self: start; margin-left: 8px; }
}

/* =========================================================
   CTA band
   ========================================================= */
/* Full-width photo background for the CTA section */
.cta-section { background: url('../assets/gallery/close2.jpg') center / cover no-repeat; }
/* About page CTA uses the living-room photo instead */
.cta-section--living { background-image: url('../assets/gallery/livingroom.jpg'); }
/* ...and drops the inner container photo (just the tint box over the section photo).
   Extra class specificity so it wins over the later `.cta-section .container` rule. */
.cta-section.cta-section--living .container { background: none; }
/* Photo background on the CTA container (behind the translucent box) */
.cta-section .container {
  background: url('../assets/gallery/beds3.jpg') center / cover no-repeat;
  border-radius: 8px;
  overflow: hidden;
  padding: 0;
}

.cta-band {
  /* Translucent brand tint so the section photo shows through the box */
  background: linear-gradient(120deg, rgba(10,156,185,.62), rgba(30,53,98,.62));
  color: var(--white);
  text-align: center;
  border-radius: 8px;
  padding: 40px 30px;
  position: relative;
  overflow: hidden;
}
.cta-band > * { position: relative; }
.cta-band h2 { color: var(--white); font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
.cta-band p { color: rgba(255,255,255,.9); margin: 14px auto 28px; max-width: 540px; font-size: 1.1rem; }
/* CTA buttons: a touch smaller and spaced apart */
.cta-band .hero__cta { gap: 18px; }
.cta-band .hero__cta .btn--lg { padding: 10px 26px; font-size: .95rem; }

/* =========================================================
   About page
   ========================================================= */
.about__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.about__img { border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; background: var(--white); padding: 30px; border: 1px solid var(--border); }

/* Values — boxless, reusing the "why-reason" treatment (script title + gold rule) */
.about-values { margin-top: clamp(40px, 6vw, 90px); }   /* space between About Solaire and Values */
.values-list {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 44px;
}
@media (max-width: 820px) { .values-list { grid-template-columns: 1fr; } }

/* Mission & vision — two columns side by side */
.mission-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
}
.mission-col__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--ink);
  margin-bottom: 16px;
}
.mission-col p { color: var(--muted); font-size: 1.05rem; line-height: 1.7; margin-bottom: 14px; text-align: justify; }
.mission__tagline { color: var(--ink); font-weight: 600; }
@media (max-width: 820px) { .mission-grid { grid-template-columns: 1fr; } }

/* About intro: text left (kept slightly left), tall image flush to the right */
.about-intro { margin-top: clamp(40px, 6vw, 90px); padding-bottom: clamp(8px, 1.5vw, 16px); }  /* space below the quote section; trimmed bottom padding so the button isn't marooned */
.about-intro__text .section-title { margin-bottom: 26px; } /* empty line before the first paragraph */
/* Headings that slide in from the left when scrolled into view */
.reveal-left {
  opacity: 0;
  transform: translateX(-48px);
  transition: opacity 1.1s ease, transform 1.1s ease;
  will-change: opacity, transform;
}
.reveal-left.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal-left { opacity: 1; transform: none; transition: none; }
}
.about-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 600px) 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: stretch;
}
/* Every paragraph in the intro shares one treatment */
.about-intro__text p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 14px;
  text-align: justify;
}
.about-intro__text .about-intro__tagline { color: var(--ink); font-weight: 600; }
.about-intro__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}
.about-intro__cta {
  grid-column: 1 / -1;               /* full-width row beneath both columns */
  display: flex;
  justify-content: center;
  margin-top: 0;
}
@media (max-width: 820px) {
  .about-intro__grid { grid-template-columns: 1fr; }
  .about-intro__img img { height: 340px; }   /* sits below the text on small screens */
}

/* About hero: quote (blue) + logo (white), both low-opacity for a transparent feel */
.about-hero { position: relative; }
/* Background photo fades in over 3s once the section scrolls into view (.is-visible added by JS) */
.about-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: url("../assets/gallery/gold-coast2.jpg") center / cover no-repeat;
  opacity: 0;
  transition: opacity 3s ease;
  z-index: 0;
}
.about-hero.is-visible::before { opacity: 1; }
.about-hero > .container { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) {
  .about-hero::before { transition: none; opacity: 1; }
}

/* Stacked: a big logo panel on top, a separate thinner quote panel below */
.about-hero__grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.about-hero__panel { padding: clamp(28px, 4vw, 48px); display: grid; place-items: center; }
.about-hero__logo {
  min-height: 320px;
  align-items: start;                        /* logo hugs the top, no top gap */
  padding: 0 clamp(60px, 10vw, 130px);       /* no top margin, wider sides */
  background: rgba(255, 255, 255, .6);      /* white, low opacity */
  border-radius: 16px;
}
.about-hero__logo img { max-width: 480px; width: 100%; }
/* On mobile the fixed min-height left a big empty gap under the shrunk logo —
   let the panel fit the logo, centred with balanced padding. */
@media (max-width: 700px) {
  .about-hero__logo {
    min-height: 0;
    align-items: center;
    padding: clamp(20px, 6vw, 36px) clamp(24px, 8vw, 60px);
  }
}
/* Standalone quote section (below the hero) */
.quote-section { background: rgba(30, 53, 98, .12); margin-top: clamp(40px, 6vw, 90px); }   /* darker band, extra space above */

/* Two-stage layout: image column starts collapsed; on .is-spread it grows on the
   left and the quote slides into the right half. */
.quote-layout {
  display: grid;
  grid-template-columns: 0fr 1fr;
  gap: 0;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  transition: grid-template-columns 1.8s ease, gap 1.8s ease;
}
.quote-section.is-spread .quote-layout {
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
}
.quote-layout__img {
  min-width: 0;
  align-self: stretch;
  border-radius: 16px;
  overflow: hidden;
  opacity: 0;
  transition: opacity 1.8s ease;
}
.quote-section.is-spread .quote-layout__img { opacity: 1; }
.quote-layout__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 50%; display: block; }
@media (max-width: 700px) {
  /* Mobile-only transition: single column, image slides in from the LEFT and
     the quote slides in from the RIGHT, both settling to centre. */
  .quote-layout,
  .quote-section.is-spread .quote-layout { grid-template-columns: 1fr; transition: none; }
  .quote-layout__img {
    max-height: 300px;
    transform: translateX(-70px);
    transition: opacity 1.8s ease, transform 1.8s cubic-bezier(.2, .7, .2, 1);
  }
  .quote-section.is-spread .quote-layout__img { opacity: 1; transform: translateX(0); }
  /* quote band enters from the right, only AFTER the image has fully landed
     (delay > image duration) */
  .quote-band {
    transform: translateX(70px) scale(1);
    transition: opacity 1.8s ease 2s, transform 1.8s cubic-bezier(.2, .7, .2, 1) 2s;
  }
  .quote-band.is-visible { transform: translateX(0); }
}

.quote-band {
  background: rgba(10, 156, 185, .6);      /* pacific blue, low opacity */
  border-radius: 16px;
  text-align: center;
  padding: clamp(36px, 6vw, 64px);
  max-width: 900px;
  margin: 0 auto;
  /* Reveal effect: fade + rise + settle when scrolled into view (.is-visible via JS) */
  opacity: 0;
  transform: translateY(28px) scale(.97);
  transition: opacity 1.6s ease, transform 1.6s cubic-bezier(.2, .7, .2, 1);
}
.quote-band.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .quote-band { opacity: 1; transform: none; transition: none; }
}
.quote-band blockquote {
  font-family: var(--font-script);
  font-weight: 500;
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  line-height: 1.4;
  color: var(--ink);
}
.quote-band cite {
  display: block;
  margin-top: 18px;
  font-style: normal;
  font-weight: 800;
  color: var(--goldenrod-dark);
}
.owner { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
.owner__photo {
  position: relative;
  isolation: isolate;
  aspect-ratio: 1; border-radius: 22px;
  background: var(--twilight-indigo);     /* flat dark-blue box — the photo sits over this */
  display: grid; place-items: center; color: var(--white); font-size: 4rem; font-family: var(--font-head); font-weight: 800;
  box-shadow: var(--shadow-lg);
}
/* A second flat-colour box behind, offset to the bottom-right */
.owner__photo::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translate(16px, 16px);
  background: var(--goldenrod);
  border-radius: 22px;
  z-index: -1;
}
/* Owner cut-out photo sitting on the gradient card */
.owner__photo--img img {
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center bottom;
}
.team-member { text-align: center; }
.team-member__avatar {
  width: 110px; height: 110px; border-radius: 50%;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, rgba(10, 156, 185,.9), rgba(233, 173, 31,.9));
  display: grid; place-items: center; color: var(--white); font-size: 2rem; font-family: var(--font-head); font-weight: 700;
}
.team-member h4 { font-size: 1.1rem; }
.team-member p { color: var(--muted); font-size: .92rem; }
.values { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 40px; }

@media (max-width: 820px) {
  .about__grid { grid-template-columns: 1fr; }
  .owner { grid-template-columns: 1fr; text-align: center; }
  .owner__photo { width: 200px; margin: 0 auto; }
}

/* ---------- "Together, behind every clean" — circular team diagram ---------- */
.together-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.together-copy p { color: var(--muted); font-size: 1.05rem; line-height: 1.7; margin-top: 16px; }
.together-copy .together-emph { color: var(--ink); font-weight: 600; }
/* Circle */
.team-circle { position: relative; width: min(480px, 92vw); aspect-ratio: 1; margin: 0 auto; }
.team-circle::before {              /* dashed ring linking the four stages */
  content: ""; position: absolute; inset: 21%;
  border: 2px dashed var(--border-fawn); border-radius: 50%;
}
.team-circle__hub {
  position: absolute; inset: 34%; border-radius: 50%;
  background: var(--twilight-indigo); color: var(--white);
  display: grid; place-items: center; text-align: center;
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; font-size: clamp(.7rem, 1.5vw, .9rem); line-height: 1.25;
}
.team-circle__node { position: absolute; width: 40%; text-align: center; }
.team-circle__node h3 {
  font-family: var(--font-head); font-weight: 800; text-transform: uppercase;
  letter-spacing: .08em; font-size: .95rem; color: var(--teal); margin-bottom: 4px;
}
.team-circle__node p { color: var(--muted); font-size: .86rem; line-height: 1.4; margin: 0; }
.team-circle__node--top    { top: 0;    left: 50%; transform: translate(-50%, 0); }
.team-circle__node--bottom { bottom: 0; left: 50%; transform: translate(-50%, 0); }
/* Left/right nodes: narrower and pulled to the outer edge so their text
   clears the central hub */
.team-circle__node--right  { right: 0; top: 50%; transform: translate(0, -50%); width: 30%; }
.team-circle__node--left   { left: 0;  top: 50%; transform: translate(0, -50%); width: 30%; }

@media (max-width: 820px) {
  /* Stack the copy above, and keep the circular figure (centered) on mobile */
  .together-grid { grid-template-columns: 1fr; }
  .team-circle { width: min(360px, 82vw); margin: 28px auto 0; }
}
/* Scale the circle text/hub down and pull the side labels inward so nothing
   clips at the screen edge on phones */
@media (max-width: 520px) {
  .team-circle__node h3 { font-size: .76rem; }
  .team-circle__node p  { font-size: .62rem; line-height: 1.3; }
  .team-circle__hub { font-size: .56rem; letter-spacing: .06em; }
  .team-circle__node--top, .team-circle__node--bottom { width: 46%; }
  .team-circle__node--left  { left: 4%;  width: 30%; }
  .team-circle__node--right { right: 4%; width: 30%; }
}

/* =========================================================
   Forms (quote + contact)
   ========================================================= */
.form-wrap { display: grid; grid-template-columns: 1fr; gap: 0; }
.form-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 38px; box-shadow: var(--shadow);
}
.field { margin-bottom: 22px; }
.field > label.field__label {
  display: block; font-family: var(--font-head); font-weight: 600;
  margin-bottom: 10px; color: var(--ink);
}
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="number"],
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 1rem;
  color: var(--charcoal);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(10, 156, 185,.15);
}
.field textarea { min-height: 130px; resize: vertical; }
.field--error input, .field--error select, .field--error textarea { border-color: var(--amber-honey); }
.field__error { color: var(--amber-honey); font-size: .85rem; margin-top: 6px; display: none; }
.field--error .field__error { display: block; }

/* Radio / checkbox option pills */
.options { display: flex; flex-wrap: wrap; gap: 12px; }
.option {
  position: relative;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  cursor: pointer;
  font-weight: 500;
  transition: all .18s ease;
  display: flex; align-items: center; gap: 10px;
  min-width: 120px;
}
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option .option__emoji { font-size: 1.3rem; }
.option:hover { border-color: var(--teal); }
.option:has(input:checked) {
  border-color: var(--teal);
  background: var(--bg-soft);
  box-shadow: 0 0 0 3px rgba(10, 156, 185,.12);
}
.options--grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); }

/* Quote result */
.quote-result {
  margin-top: 26px;
  display: none;
  background: linear-gradient(120deg, var(--teal), var(--teal-dark));
  color: var(--white); border-radius: var(--radius); padding: 34px; text-align: center;
  box-shadow: var(--shadow-lg);
}
.quote-result.is-visible { display: block; animation: fade .4s ease; }
.quote-result__price { font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem,6vw,3rem); margin: 6px 0; }
.quote-result small { color: rgba(255,255,255,.85); display: block; margin-top: 10px; }
.quote-result .btn { margin-top: 22px; }
/* The light button sits on the teal result box — its default teal hover blends
   in, so give it a contrasting indigo hover here */
.quote-result .btn--light:hover { background: var(--twilight-indigo); color: var(--white); box-shadow: 0 10px 24px rgba(30, 53, 98, .38); }

/* Form success message */
.form-success {
  display: none;
  background: var(--bg-soft);
  border: 1.5px solid var(--teal);
  color: var(--teal-dark);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin-bottom: 22px;
  font-weight: 500;
}
.form-success.is-visible { display: block; animation: fade .4s ease; }

/* =========================================================
   Contact page
   ========================================================= */
/* Hero band: team photo behind the "Get in touch" header, dark scrim + light text */
.contact-hero {
  position: relative;
  isolation: isolate;
  background: url('../assets/gallery/team8.jpg') center 22% / cover no-repeat;
  min-height: clamp(380px, 40vw, 560px);   /* from ~his eyes down far enough to show his raised hand */
  display: flex;
  align-items: center;                       /* vertically centre the header text */
  padding-top: clamp(50px, 7vw, 90px);
  padding-bottom: clamp(50px, 7vw, 90px);
}
.contact-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(rgba(30, 53, 98, .78), rgba(10, 156, 185, .74));
  z-index: -1;
}
.contact-hero .eyebrow { color: var(--frosted-blue); }
.contact-hero .section-title { color: var(--white); }
.contact-hero .section-lead { color: rgba(255, 255, 255, .92); }

.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: start; }
/* Phone / Email / Hours in one horizontal row */
.contact-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.contact-details .info-item { margin-bottom: 0; }
.map-embed--tall { height: clamp(400px, 55vw, 620px); }
.form-card--center { max-width: 640px; margin-left: auto; margin-right: auto; }
/* Photo background behind the message form (white card pops over the scrim) */
.form-section {
  position: relative;
  isolation: isolate;
  background: url('../assets/gallery/team10-flank.jpg') center / cover no-repeat;
  display: flex;
  align-items: center;
  min-height: clamp(600px, 60vw, 860px);   /* keeps section wide enough to show both flanking figures */
}
.form-section::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(rgba(30, 53, 98, .82), rgba(10, 156, 185, .80));
  z-index: -1;
}
.form-section > .container { width: 100%; }
.form-section .eyebrow { color: var(--frosted-blue); }
.form-section .section-title { color: var(--white); }
@media (max-width: 700px) { .contact-details { grid-template-columns: 1fr; gap: 18px; } }
.info-item { display: flex; gap: 16px; margin-bottom: 26px; }
.info-item__icon {
  flex: 0 0 auto; width: 28px; height: 28px;
  display: grid; place-items: center; color: var(--teal);
}
.info-item__icon svg { width: 26px; height: 26px; }
.info-item h4 { font-size: 1.05rem; margin-bottom: 3px; }
.info-item p, .info-item a { color: var(--muted); }
.info-item a:hover { color: var(--blue-green); }
.map-embed {
  margin-top: 20px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); height: 240px; box-shadow: var(--shadow);
}
.map-embed iframe { display: block; width: 100%; height: 100%; }
.socials { display: flex; gap: 14px; margin-top: 8px; }
.social-link {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--white); border: 1px solid var(--border);
  color: var(--teal); font-weight: 700; font-size: 1.1rem;
  transition: all .2s;
}
.social-link:hover { background: var(--teal); color: var(--white); transform: translateY(-3px); }

@media (max-width: 820px) {
  .contact__grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--twilight-indigo); color: rgba(251, 254, 254, .85); padding: 60px 0 26px; }
/* Full-bleed footer content (matches the full-width header) so it expands and
   spreads across wide screens instead of staying capped at the container width */
.site-footer > .container { max-width: 100%; padding: 0 clamp(16px, 2.5vw, 44px); }
/* Charcoal footer variant (service pages): keeps the light footer text +
   icons, just swaps the background to a dark charcoal */
.site-footer--light { background: var(--graphite); }
.footer__grid { display: grid; grid-template-columns: 1.9fr 1fr 1fr; gap: 34px; align-items: stretch; }
/* Every column fills the same height; the info columns spread their content
   evenly from top to bottom, the brand column stays centered */
.footer__grid > div { display: flex; flex-direction: column; }
.footer__grid > div:not(.footer__brand) { justify-content: flex-start; }
/* Brand column: centered, larger logo */
.footer__brand { text-align: center; justify-content: flex-start; align-items: center; }
.footer__brand img { height: 130px; display: block; margin: 0 auto 8px; }
/* Live-text wordmark lines under the footer logo (brighter for contrast) */
.footer__wordmark-sub {
  display: block; font-family: var(--font-head); font-weight: 600;
  letter-spacing: .3em; text-transform: uppercase; font-size: .74rem;
  color: var(--white); line-height: 1.1;
}
.footer__wordmark-region {
  display: block; font-family: var(--font-head); font-weight: 600;
  letter-spacing: .3em; text-transform: uppercase; font-size: .68rem;
  color: var(--amber-honey); margin-top: 4px; line-height: 1.1;
}
.footer__brand p { color: rgba(255,255,255,.82); max-width: 460px; margin: 20px auto 0; text-align: center; }
.footer__services { display: block; white-space: nowrap; font-size: .8rem; }   /* one-line service list in the footer tagline */
.footer h4 { color: var(--white); font-size: 1.05rem; margin-bottom: 16px; }
/* Working selector (the .footer one above is dead — element is .site-footer):
   "Get in touch:" in blue-green with breathing room above the Email label. */
.site-footer h4 { color: var(--blue-green); font-size: 1.05rem; margin-bottom: 22px; }
/* "Follow us:" (last column's label) matches the "Get in touch:" heading:
   same blue-green, font-size and line-height so their tops line up */
.footer__grid > div:last-child > .footer__label { color: var(--blue-green); font-size: 1.05rem; line-height: 1.2; }
.footer a { color: rgba(255,255,255,.85); display: block; padding: 5px 0; transition: color .2s; }
.footer a:hover { color: var(--goldenrod); }
/* Footer text links: fade to pacific-blue on hover (the .footer selectors above
   are dead — element is .site-footer — so drive the hover from .site-footer) */
.site-footer a { transition: color .2s; }
.site-footer a:hover { color: var(--pacific-blue); }
.footer__contact li { color: rgba(255,255,255,.85); padding: 5px 0; }
.footer__label { color: var(--white); font-family: var(--font-head); font-weight: 700; margin-top: 16px; margin-bottom: 2px; }
.footer__label:first-of-type { margin-top: 0; }
.footer__links { list-style: none; margin-top: 24px; }
.footer__links li { padding: 8px 0; }
.footer__socials { display: flex; gap: 12px; margin-top: 12px; }
.footer__socials a {
  width: 40px; height: 40px; border-radius: 10px; padding: 0;
  display: grid; place-items: center; background: rgba(255,255,255,.08); color: var(--white); font-weight: 700;
}
.footer__socials a:hover { background: var(--goldenrod); color: var(--graphite); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 40px; padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  color: rgba(255,255,255,.72); font-size: .9rem;
}

/* Back-to-top button — floats bottom-right, appears after scrolling down */
.to-top {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  width: 48px; height: 48px;
  border: 0; border-radius: 50%;
  background: var(--blue-green); color: var(--white);
  font-size: 1.4rem; line-height: 1; cursor: pointer;
  box-shadow: 0 8px 22px rgba(30, 53, 98, .28);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s, background .2s;
  z-index: 60;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--teal); transform: translateY(-2px); }

@media (max-width: 900px) {
  .grid-3, .grid-4, .values { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .services-cta { display: flex; margin-top: clamp(52px, 12vw, 76px); }   /* show the quote button (nav collapsed) + more gap above it, clear of the arrows */
  body.home .hero + .section { padding-top: 48px; }   /* override the 120-170px desktop gap over "Our experience" on mobile — a bit of room under the hero CTA */
  #services { padding-top: 48px; padding-bottom: 24px; }   /* consistent top space over "What we do"; small gap below the quote button */
  .section--why { padding-top: 48px; padding-bottom: 60px; }   /* consistent top space over "Why choose us" (130px desktop gap is too big when stacked) */
}
@media (max-width: 560px) {
  .section { padding: 54px 0; }
  .stats { margin-top: 36px; }                        /* tighten the gap under the "…what that looks like" lead */
  .container { padding: 0 18px; }
  .grid-3, .grid-2, .grid-4, .values { grid-template-columns: 1fr; }
  .card { padding: 26px 22px; }
  .cta-band { padding: 44px 22px; border-radius: 18px; }
  .cta-section .container { border-radius: 18px; }   /* match the blue box's mobile radius so the bed photo doesn't peek out at the corners */
  .footer__grid { grid-template-columns: 1fr; gap: 26px; }
  .footer__bottom { flex-direction: column; text-align: center; gap: 6px; }
  /* Extra bottom room so the footer clears the mobile browser toolbar / home indicator */
  .site-footer { padding-bottom: calc(26px + env(safe-area-inset-bottom, 24px)); }
  .form-card { padding: 24px 18px; }
  /* button sizing now handled uniformly in the ≤600px block */
  .options--grid { grid-template-columns: 1fr 1fr; } /* two option pills per row stays tappable */
  .about__grid, .contact__grid { gap: 34px; }
}
@media (max-width: 400px) {
  .options--grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Legal + FAQ pages
   ========================================================= */
.legal { max-width: 820px; margin: 40px auto 0; }
.legal__notice {
  background: var(--bg-warm);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
  color: var(--charcoal);
  font-size: .95rem;
  margin-bottom: 30px;
}
.legal__updated { color: var(--muted); font-size: .9rem; margin-bottom: 24px; }
.legal h2 { margin-top: 34px; font-size: 1.3rem; color: var(--ink); }
.legal h3 { margin-top: 22px; font-size: 1.05rem; color: var(--ink); }
.legal p { color: var(--charcoal); line-height: 1.7; margin-top: 10px; }
.legal ul { margin-top: 10px; padding-left: 22px; list-style: disc; color: var(--charcoal); }
.legal li { line-height: 1.7; margin-top: 6px; }
.legal a { color: var(--blue-green); text-decoration: underline; }

.faq { max-width: 820px; margin: 40px auto 0; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 4px 20px;
  margin-bottom: 14px;
  background: var(--white);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--teal); font-size: 1.4rem; line-height: 1; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { color: var(--charcoal); line-height: 1.7; margin: 0 0 18px; }

/* =========================================================
   Uniform body-paragraph size across the whole site on mobile
   (matches the hero "Sunshine-fresh" lead)
   ========================================================= */
@media (max-width: 600px) {
  .hero__lead,
  .section-lead,
  .srv__desc,
  .srv__points li,
  .why-reason p,
  .about-intro__text p,
  .mission-col p,
  .together-copy p,
  .owner p,
  .card p,
  .cta-band p,
  .reviews-cta__text,
  .slide__quote,
  .legal p,
  .faq-item p,
  .footer__brand p,
  .footer__contact li,
  .footer__label,
  .site-footer a,
  .footer__bottom span {
    font-size: .85rem;
  }
  /* Scale titles down proportionally with the smaller mobile body text */
  .section-title { font-size: 1.3rem; }
  .srv__title    { font-size: 1.25rem; }
  .cta-band h2   { font-size: 1.25rem; }
  .why-reason h3 { font-size: 1.2rem; }
  .mission-col__title { font-size: 1.1rem; }
  .eyebrow { font-size: .7rem; }
  .quote-band blockquote { font-size: 1rem; }   /* calligraphy quote, scaled down too */
  /* "What's included" chips scaled down with everything else */
  .srv__included-title { font-size: .66rem; }
  .srv__tags li { font-size: .78rem; }
  /* Stats reflow to 2 columns on mobile — the 5-up row cut words on narrow screens */
  .stats { grid-template-columns: 1fr 1fr; gap: 24px 16px; margin-top: 36px; }
  .stats .stat:last-child { grid-column: 1 / -1; }   /* lone 5th stat spans + centres across both columns */
  /* Testimonial card bits scaled down too */
  .slide__stars { font-size: 1rem; }
  .slide__author { font-size: .9rem; }
  .slide__role { font-size: .78rem; }
  /* Smaller back-to-top button on mobile (was oversized at 48px) */
  .to-top { width: 38px; height: 38px; font-size: 1.1rem; }
  /* Let button rows wrap/reorganize on narrow screens instead of stacking full-width */
  .hero__cta { flex-wrap: wrap; gap: 12px; }
  /* One uniform compact button size for EVERY button across the site on mobile.
     Selectors listed so this beats the hero / CTA-band overrides too. */
  .btn,
  .hero__cta .btn--lg,
  .cta-band .hero__cta .btn,
  .cta-band .hero__cta .btn--lg,
  .reviews-cta__btn {
    width: auto;
    padding: 8px 22px;
    font-size: .86rem;
    border-radius: 8px;
    justify-content: center;
  }
}

/* Consistent top space above section headings on mobile/tablet (matches "Our experience") */
@media (max-width: 900px) {
  .section--why,                     /* Why choose us (home) */
  body.home .section--warm,          /* Testimonials (home) */
  section.about-intro,               /* About Solaire */
  section.about-values,              /* What we stand for */
  section.about-mission,             /* What drives us */
  section.about-owner {              /* Meet the owner */
    padding-top: 48px;
  }
  section.about-intro { margin-top: 0; }   /* padding-top now provides the gap under the hero */
}
