/* Spotless Stays: site styles. Mobile first. Bright, airy, photo led. */

:root {
  color-scheme: light;

  /* Brand */
  --brown: #403320;          /* headings and primary buttons, from the invoices */
  --brown-deep: #2e2517;
  --olive: #908d48;          /* from the logo: decorative only (glints, stars) */
  --accent: #66642c;         /* darker olive: text level accents */
  --accent-soft: #f1f0e2;
  --accent-mid: #cfcd9f;

  /* Light, clean surfaces */
  --white: #ffffff;
  --page: #fdfbf8;           /* warm white */
  --linen: #f5f8f9;          /* very light cool neutral band */
  --sky: #eaf4f8;            /* the fresh tint: pale sky */
  --sky-2: #d3e9f1;
  --sky-3: #a9cddb;          /* decorative only */
  --line: #ece5da;           /* decorative borders */
  --field-line: #8c7e69;     /* form borders, 3:1 or better */

  /* Text */
  --ink: #2b261f;
  --ink-soft: #4a4136;
  --muted: #6a5e4e;

  --error: #9a2a1f;
  --error-soft: #fff5f2;

  --font-body: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Fraunces", ui-serif, Georgia, "Times New Roman", serif;

  --radius-sm: 12px;
  --radius: 22px;
  --radius-lg: 32px;
  --shadow-sm: 0 1px 2px rgba(46, 37, 23, .05), 0 8px 24px -14px rgba(46, 37, 23, .22);
  --shadow-md: 0 1px 2px rgba(46, 37, 23, .06), 0 22px 44px -24px rgba(46, 37, 23, .32);
  --shadow-lg: 0 2px 4px rgba(46, 37, 23, .05), 0 40px 80px -36px rgba(46, 37, 23, .42);
  --header-h: 68px;

  --glint: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.75 6.6 4.65 10.5 12 12-7.35 1.5-11.25 5.4-12 12-.75-6.6-4.65-10.5-12-12C7.35 10.5 11.25 6.6 12 0Z'/%3E%3C/svg%3E");
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
p, li { text-wrap: pretty; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
[hidden] { display: none !important; }

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

.wrap { width: min(100% - 32px, 1160px); margin-inline: auto; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1.25em; height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Glints: small four point sparkles. White with a sky glow on photos, olive near headings. */
.glint {
  position: absolute;
  width: 22px; height: 22px;
  fill: #fff;
  stroke: none;
  filter: drop-shadow(0 0 1.5px rgba(50, 105, 128, .5)) drop-shadow(0 0 9px rgba(130, 196, 222, .95));
  pointer-events: none;
}

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--brown); color: #fff;
  padding: 12px 18px; border-radius: 999px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* Preview banner (added by main.js while launched is false) */
.preview-banner {
  background: var(--accent);
  color: #fff;
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .01em;
  text-align: center;
  padding: 7px 16px;
}
.preview-banner p { display: inline-flex; align-items: center; gap: 8px; }
/* While in preview, the banner's 40px strip is reserved up front (see the is-preview flag in the HTML head). */
.is-preview body { padding-top: 40px; }
.is-preview .preview-banner {
  position: absolute; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: center;
  height: 40px; padding-block: 0;
}
.preview-banner .icon { width: 1rem; height: 1rem; }

/* Buttons */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: 600 1rem/1.2 var(--font-body);
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}
.btn .icon { width: 1.2em; height: 1.2em; }
.btn-primary { background: var(--brown); color: #fff; box-shadow: 0 10px 22px -12px rgba(46, 37, 23, .7); }
.btn-primary:hover { background: var(--brown-deep); }
.btn-primary::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%);
  transform: translateX(-120%);
  pointer-events: none;
}
.btn-secondary { background: #fff; color: var(--brown); border-color: var(--brown); }
.btn-secondary:hover { background: var(--linen); }
.btn-ghost { background: transparent; color: var(--brown); padding-inline: 14px; text-decoration: underline; text-decoration-color: var(--accent-mid); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.btn-ghost:hover { text-decoration-color: var(--accent); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: .95rem; }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 1.0625rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 28px -24px rgba(46, 37, 23, .55); }
.header-inner { display: flex; align-items: center; gap: 12px; min-height: var(--header-h); }

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px;
  color: var(--brown);
  text-decoration: none;
  margin-right: auto;
}
.brand-logo { width: 40px; height: 40px; flex: none; border-radius: 50%; box-shadow: 0 0 0 1px var(--line); background: #f7f8f2; }
.site-footer .brand-logo { width: 44px; height: 44px; box-shadow: none; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; letter-spacing: -.01em; white-space: nowrap; }

.site-nav ul { list-style: none; }
.site-nav a { text-decoration: none; }
.header-actions { display: flex; align-items: center; gap: 8px; }

.menu-toggle {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--brown);
  cursor: pointer;
}
.menu-toggle .icon { width: 22px; height: 22px; grid-area: 1 / 1; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Mobile menu panel (only when JS runs) */
.js .site-nav {
  display: none;
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 40px -28px rgba(46, 37, 23, .5);
  padding: 4px 16px 20px;
}
.js .site-nav.is-open { display: block; }
.site-nav li a:not(.btn) {
  display: flex; align-items: center;
  min-height: 52px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 1.125rem;
  font-weight: 500;
}
.site-nav .nav-quote { margin-top: 16px; }

/* Without JS: show the nav as a simple wrapped row */
html:not(.js) .header-inner { flex-wrap: wrap; }
html:not(.js) .site-nav { order: 3; width: 100%; padding-bottom: 8px; }
html:not(.js) .site-nav ul { display: flex; flex-wrap: wrap; gap: 0 18px; }
html:not(.js) .site-nav li a:not(.btn) { border: 0; min-height: 44px; font-size: 1rem; }
html:not(.js) .site-nav .nav-quote,
html:not(.js) .menu-toggle { display: none; }

.header-cta { white-space: nowrap; padding: 0 16px; font-size: .92rem; }
@media (max-width: 419px) {
  .header-inner, .brand { gap: 8px; }
  .brand-name { font-size: 1.12rem; }
}
/* Small phones: a compact header button, so a quote button is on the first screen. Too tight below 340px. */
@media (max-width: 379px) {
  .header-inner, .brand { gap: 6px; }
  .brand-name { font-size: 1.05rem; }
  .brand-logo { width: 36px; height: 36px; }
  .header-cta { padding: 0 12px; font-size: .84rem; }
}
@media (max-width: 339px) {
  .header-cta { display: none; }
}
@media (max-width: 899px) {
  .menu-toggle { order: 3; }
}

@media (min-width: 900px) {
  .js .site-nav, .site-nav {
    display: block; position: static;
    background: none; border: 0; box-shadow: none; padding: 0;
  }
  .site-nav ul { display: flex; align-items: center; gap: 2px; }
  .site-nav li a:not(.btn) {
    min-height: 44px; padding: 0 14px;
    border: 0; border-radius: 999px;
    color: var(--ink-soft); font-size: .98rem;
  }
  .site-nav li a:not(.btn):hover { background: var(--linen); color: var(--brown); }
  .site-nav .nav-quote { display: none; }
  .menu-toggle { display: none; }
  .header-actions { margin-left: 12px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: #fff; padding: 0 0 56px; }
.hero-inner { display: grid; }

/* Phones and tablets: a big photo across the top, the copy on a white sheet that overlaps it. */
.hero-media {
  position: relative;
  order: -1;
  height: clamp(300px, 54svh, 480px);
  margin-inline: -16px;
}
.hero-photo { position: absolute; inset: 0; overflow: hidden; background: var(--sky); }
.hero-photo picture { display: block; height: 100%; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 62%; }
/* Phones and tablets show the towels close up (see the <picture>): a shorter frame keeps the quote button near the first screen. */
@media (max-width: 959px) {
  .hero-media { height: clamp(240px, 38svh, 340px); }
  .hero-photo img { object-position: 66% 72%; }
}
.photo-chip {
  position: absolute; left: 16px; top: 16px; z-index: 2;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--brown);
  font-size: .82rem; font-weight: 600; line-height: 1.2;
  box-shadow: 0 6px 18px -8px rgba(46, 37, 23, .35);
}
.photo-chip .icon { width: 1rem; height: 1rem; color: var(--accent); }
.hero-glint { z-index: 2; }
.hero-glint-1 { width: 30px; height: 30px; top: 22px; right: 22px; }
.hero-glint-2 { width: 15px; height: 15px; top: 62px; right: 60px; }

.hero-copy {
  position: relative; z-index: 2;
  margin: -40px -16px 0;
  padding: 30px 16px 0;
  background: #fff;
  border-radius: 28px 28px 0 0;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  background: var(--sky);
  color: var(--accent);
  font-size: .9rem; font-weight: 600; letter-spacing: .01em;
}
.eyebrow .icon { width: 1.1rem; height: 1.1rem; }
.hero h1 {
  margin: 18px 0 18px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.3rem, 1rem + 6vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -.025em;
  color: var(--brown);
}
.h1-line { display: block; }
.h1-accent { font-style: italic; font-weight: 500; white-space: nowrap; }
.swash {
  padding: 0 .06em;
  margin-left: -.06em;
  background: linear-gradient(transparent 60%, var(--sky-2) 60%, var(--sky-2) 92%, transparent 92%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.h1-glint {
  position: relative;
  display: inline-block;
  width: .46em; height: .46em;
  margin-left: .04em;
  vertical-align: .5em;
  fill: var(--olive);
  filter: none;
}
.lede { max-width: 34em; font-size: clamp(1.075rem, 1rem + .35vw, 1.2rem); line-height: 1.6; color: var(--ink-soft); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.hero-contact { display: flex; flex-wrap: wrap; gap: 4px 22px; margin-top: 14px; font-size: 1rem; }
.hero-contact a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  color: var(--brown); font-weight: 600; text-decoration: underline;
  text-decoration-color: var(--accent-mid); text-decoration-thickness: 2px; text-underline-offset: 5px;
  overflow-wrap: anywhere;
}
.hero-contact a:hover { text-decoration-color: var(--accent); }
.hero-contact .icon { color: var(--accent); }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 18px; color: var(--muted); font-size: .95rem; font-weight: 500; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .icon { color: var(--accent); stroke-width: 2.2; }

@media (max-width: 479px) {
  .hero-actions .btn { width: 100%; }
}

/* Rating card */
.rating-card {
  position: relative; z-index: 3;
  max-width: 440px;
  margin-top: 32px;
  padding: 24px 24px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}
.rating-head { display: flex; align-items: center; gap: 16px; }
.rating-score { display: flex; align-items: center; gap: 14px; }
.rating-num { font-family: var(--font-display); font-weight: 600; font-size: 2.75rem; line-height: 1; letter-spacing: -.02em; color: var(--brown); }
.rating-stars { display: inline-flex; gap: 3px; color: var(--olive); }
.rating-stars .icon { width: 19px; height: 19px; fill: currentColor; stroke: none; }
.rating-text { margin-top: 14px; color: var(--muted); font-size: .96rem; line-height: 1.5; }
.rating-quote { margin: 16px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.rating-quote p { font-family: var(--font-display); font-weight: 500; font-size: 1.18rem; line-height: 1.35; color: var(--brown); }
.rating-by { margin-top: 8px; color: var(--muted); font-size: .9rem; }
@media (max-width: 379px) {
  .rating-card { padding: 20px 18px; }
  .rating-num { font-size: 2.4rem; }
}

@media (min-width: 640px) and (max-width: 959px) {
  .hero-copy { padding-inline: 32px; margin-inline: -16px; }
  /* Tablets: the rating card runs the full width, score and line on the left, guest quote on the right. */
  .rating-card {
    max-width: none;
    margin-inline: 16px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    grid-template-rows: auto 1fr auto;
    grid-template-areas: "head quote" "text quote" "text by";
    column-gap: 32px;
    align-items: start;
  }
  .rating-head { grid-area: head; }
  .rating-text { grid-area: text; }
  .rating-quote { grid-area: quote; margin: 0; padding: 0 0 0 32px; border-top: 0; border-left: 1px solid var(--line); }
  .rating-by { grid-area: by; padding-left: 32px; }
}

/* Desktop: copy left, a large rounded photo right, the rating card overlapping its corner. */
@media (min-width: 960px) {
  .hero {
    padding: 36px 0 104px;
    background:
      radial-gradient(760px 560px at 96% 6%, rgba(220, 236, 242, .95), transparent 66%),
      radial-gradient(640px 520px at 0% 100%, var(--linen), transparent 62%),
      #fff;
  }
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    grid-template-areas: "copy media";
    column-gap: clamp(40px, 5vw, 72px);
    align-items: center;
  }
  .hero-copy { grid-area: copy; margin: 0; padding: 12px 0 56px; background: none; border-radius: 0; }
  .hero h1 { font-size: clamp(2.75rem, 1rem + 3.4vw, 3.75rem); margin-top: 22px; }
  .hero-media { grid-area: media; order: 0; margin: 0; height: clamp(540px, 72vh, 640px); }
  .hero-photo { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg), 0 0 0 8px rgba(255, 255, 255, .7); }
  /* Zoom the bedroom from the floor up, so the ceiling fan stays out of the frame. */
  .hero-photo img { scale: 1.3; transform-origin: 40% 100%; }
  .photo-chip { left: 20px; top: 20px; }
  .hero-glint-1 { width: 42px; height: 42px; top: -20px; right: -16px; }
  .hero-glint-2 { width: 18px; height: 18px; top: 40px; right: 48px; }
  .rating-card {
    grid-area: media;
    align-self: end; justify-self: start;
    width: 330px; max-width: none;
    margin: 0 0 -52px -64px;
    padding: 22px 22px 20px;
  }
  .rating-num { font-size: 2.5rem; }
  .rating-quote p { font-size: 1.08rem; }
}

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(64px, 9vw, 112px) 0; }
.section-white { background: #fff; }
.section-linen { background: var(--linen); }
.section-sky { background: linear-gradient(180deg, var(--sky) 0%, #f6fafb 100%); }
.section-tight-top { padding-top: 0; }
#services { background: linear-gradient(180deg, #fff 0%, var(--page) 100%); }
#faq { background: linear-gradient(180deg, var(--sky) 0%, #fff 100%); }

.section-head { max-width: 640px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head-split { max-width: none; display: grid; gap: 16px; }
.section-head-split .section-intro { margin-top: 0; }
.section-head-split > div > .section-intro { margin-top: 16px; }
.section-head-center { margin-inline: auto; text-align: center; }
@media (min-width: 900px) {
  .section-head-split { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: end; gap: 48px; }
  .section-head-split > .section-intro { justify-self: end; max-width: 28em; padding-bottom: 6px; }
}

.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: .82rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
}
.kicker::before {
  content: "";
  flex: none;
  width: 13px; height: 13px;
  background: var(--olive);
  -webkit-mask: var(--glint) center / contain no-repeat;
  mask: var(--glint) center / contain no-repeat;
}
.section h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--brown);
}
.section-intro { margin-top: 16px; color: var(--muted); font-size: 1.075rem; max-width: 36em; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; margin-top: 18px;
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--accent-mid);
}
.text-link:hover { text-decoration-color: var(--accent); }

/* Photo shine: a soft band of light that sweeps across a photo */
.shine { overflow: hidden; }
.svc-photo { position: relative; }
.shine::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .5) 50%, transparent 62%);
  transform: translateX(-130%);
  pointer-events: none;
}
.photo-glint { left: var(--x, 50%); top: var(--y, 30%); translate: -50% -50%; width: 26px; height: 26px; z-index: 1; }

/* ---------- Services ---------- */
.services { list-style: none; display: grid; gap: 20px; }
.svc {
  display: flex; flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.svc-photo { aspect-ratio: 4 / 3; background: var(--sky); }
/* A light zoom from the floor up keeps ceiling fans and ceilings out of the crop. */
.svc-photo img { width: 100%; height: 100%; object-fit: cover; scale: 1.14; transform-origin: 50% 100%; }
.services > li:first-child .svc-photo img { scale: 1.3; }
.svc-body { position: relative; padding: 0 24px 26px; }
.svc-icon {
  position: relative;
  display: grid; place-items: center;
  flex: none;
  width: 54px; height: 54px;
  margin-top: -27px;
  border-radius: 17px;
  background: #fff;
  color: var(--accent);
  box-shadow: 0 0 0 1px var(--line), 0 10px 22px -10px rgba(46, 37, 23, .35);
}
.svc-icon .icon { width: 26px; height: 26px; }
.svc h3, .step h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.16rem;
  line-height: 1.3;
  color: var(--brown);
}
.svc h3 { margin: 16px 0 6px; }
.svc p, .step p { color: var(--muted); font-size: 1rem; }

.svc-wide {
  flex-direction: row; flex-wrap: wrap; align-items: center; gap: 16px 20px;
  padding: 24px;
  background: linear-gradient(115deg, var(--sky) 0%, #fff 75%);
  border-color: var(--sky-2);
}
.svc-wide .svc-icon { margin-top: 0; }
.svc-wide-copy { flex: 1 1 260px; }
.svc-wide h3 { margin: 0 0 4px; }
.svc-wide-link { margin-top: 0; }
.svc-plain { padding: 26px 24px 28px; }
.svc-plain .svc-icon { margin-top: 0; }

@media (min-width: 640px) {
  .svc-wide { padding: 26px 30px; flex-wrap: nowrap; }
  .svc-wide-link { margin-left: auto; white-space: nowrap; }
}
/* Tablets: one card per row, photo on the left. */
@media (min-width: 640px) and (max-width: 959px) {
  .svc:not(.svc-wide) { display: grid; grid-template-columns: 42% 1fr; }
  .svc-photo { aspect-ratio: auto; min-height: 210px; }
  .svc-body { align-self: center; padding: 26px 28px; }
  .svc-body .svc-icon { margin-top: 0; }
}
@media (min-width: 960px) {
  .services { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .svc-wide { grid-column: 1 / -1; }
}

/* ---------- Gallery ---------- */
.gallery-shell { position: relative; }
.gallery { list-style: none; display: grid; gap: 14px; }
.g-item figure {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 20px;
  background: var(--sky-2);
  box-shadow: var(--shadow-sm);
}
.g-item img { width: 100%; height: 100%; object-fit: cover; }
.g-item figcaption {
  position: absolute; left: 12px; bottom: 12px; z-index: 1;
  max-width: calc(100% - 24px);
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .93);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--brown);
  font-size: .86rem; font-weight: 600; line-height: 1.25;
  box-shadow: 0 6px 16px -8px rgba(46, 37, 23, .4);
}
/* The living room and the bedroom zoom from the floor up so their ceiling fans stay out of every crop. */
.g-a img { object-position: 62% 60%; scale: 1.16; transform-origin: 55% 100%; }
.g-b img { object-position: 55% 60%; }
.g-c img { object-position: 52% 50%; }
.g-d img { object-position: 40% 60%; }
.g-e img { object-position: 12% 60%; }
.g-f img { object-position: 50% 60%; scale: 1.34; transform-origin: 42% 100%; }
.g-g img { object-position: 60% 70%; }

/* Phones and tablets: a swipe row of square photos with a peek of the next one */
@media (max-width: 899px) {
  .gallery {
    grid-auto-flow: column;
    grid-auto-columns: min(80%, 400px);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 16px;
    margin-inline: -16px;
    padding: 4px 16px 18px;
    scrollbar-width: none;
  }
  .gallery::-webkit-scrollbar { display: none; }
  .g-item { aspect-ratio: 1 / 1; scroll-snap-align: start; }
  .gallery:focus-visible { outline-offset: -3px; border-radius: 20px; }
}
.gallery-nav { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.gallery-hint { margin-right: auto; color: var(--muted); font-size: .92rem; font-weight: 500; }
.gallery-btn {
  display: inline-grid; place-items: center;
  width: 46px; height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--brown);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}
.gallery-btn .icon { width: 20px; height: 20px; }
.gallery-btn:disabled { opacity: .4; cursor: default; }

/* Larger screens: a mosaic */
@media (min-width: 900px) {
  .gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: clamp(150px, 19vw, 236px);
    grid-template-areas:
      "a a b c"
      "a a d c"
      "e f g g";
    gap: 16px;
  }
  .g-a { grid-area: a; }
  .g-b { grid-area: b; }
  .g-c { grid-area: c; }
  .g-d { grid-area: d; }
  .g-e { grid-area: e; }
  .g-f { grid-area: f; }
  .g-g { grid-area: g; }
  .g-a img { object-position: 55% 60%; }
  .g-g img { object-position: 50% 76%; }
  .gallery-nav { display: none !important; }
}

/* ---------- How it works ---------- */
.steps { list-style: none; position: relative; display: grid; gap: 28px; }
.step { position: relative; display: grid; grid-template-columns: 72px 1fr; column-gap: 20px; align-items: start; }
.step:not(:last-child)::before {
  content: "";
  position: absolute; left: 35px; top: 92px; bottom: -16px;
  border-left: 2px dashed var(--sky-3);
}
.step-badge {
  position: relative;
  grid-row: 1 / span 2;
  display: grid; place-items: center;
  width: 72px; height: 72px;
  border-radius: 50%;
  background: #fff;
  color: var(--accent);
  box-shadow: 0 0 0 8px var(--sky-2), 0 14px 28px -12px rgba(46, 37, 23, .35);
}
.step-icon { display: grid; place-items: center; }
.step-icon .icon { width: 28px; height: 28px; }
.step-num {
  position: absolute; top: -6px; right: -8px;
  display: grid; place-items: center;
  width: 28px; height: 28px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--brown); color: #fff;
  font-size: .82rem; font-weight: 700; line-height: 1;
  box-sizing: content-box;
}
.step h3 { margin: 8px 0 6px; }
/* Stacked steps: a minimum height keeps the dashed line between badges, and the inset keeps the badge ring inside the gutter. */
@media (max-width: 859px) {
  .steps { padding-inline-start: 8px; }
  .step { min-height: 112px; align-content: start; }
}

@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .step { display: block; text-align: center; padding: 0 8px; }
  .step:not(:last-child)::before { left: calc(50% + 56px); right: calc(-40px - 50% + 56px); top: 36px; bottom: auto; border-left: 0; border-top: 2px dashed var(--sky-3); }
  .step-badge { margin: 0 auto 26px; }
  .step p { max-width: 22em; margin-inline: auto; }
}

/* ---------- Why work with us ---------- */
.why-inner { display: grid; gap: 36px; }
.why-copy .section-intro { font-size: clamp(1.075rem, 1rem + .3vw, 1.2rem); color: var(--ink-soft); }
.medallion {
  position: relative;
  width: clamp(136px, 20vw, 220px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #f7f8f2;
  box-shadow: 0 0 0 10px #fff, 0 0 0 11px var(--line), var(--shadow-lg);
}
.medallion img { width: 100%; height: 100%; border-radius: 50%; }
.medallion-glint-1 { width: 30px; height: 30px; top: -8px; right: -10px; }
.medallion-glint-2 { width: 16px; height: 16px; bottom: 18px; left: -16px; }
/* The logo seal is shown beside the copy on wide screens only; on narrow ones it is filler. */
@media (max-width: 899px) {
  .medallion { display: none; }
}
@media (min-width: 900px) {
  .why-inner { grid-template-columns: auto minmax(0, 1fr); gap: 72px; align-items: center; max-width: 980px; }
  .medallion { margin-left: 24px; }
}

/* ---------- Testimonial on a soft photo ---------- */
.testimonial-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(72px, 10vw, 136px) 0;
  background: var(--linen);
}
.band-photo {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 60% 78%;
}
.testimonial-band::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(255, 255, 255, .62) 0%, rgba(255, 255, 255, .3) 55%, rgba(255, 255, 255, .2) 100%);
}
.testimonial {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 56px) clamp(22px, 5vw, 64px);
  text-align: center;
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  backdrop-filter: blur(12px) saturate(1.1);
  border: 1px solid rgba(255, 255, 255, .95);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.testimonial-glint { width: 34px; height: 34px; top: -14px; right: 36px; }
.quote-mark { width: 50px; height: 50px; margin: 0 auto; fill: var(--olive); stroke: none; }
.testimonial blockquote { margin: 16px 0 26px; }
.testimonial blockquote p {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.45rem, 1.05rem + 1.8vw, 2.25rem);
  line-height: 1.3;
  letter-spacing: -.01em;
  color: var(--brown);
}
.testimonial figcaption { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.testimonial figcaption::before { content: ""; width: 36px; height: 2px; margin-bottom: 12px; background: var(--olive); border-radius: 2px; }
.t-name { font-weight: 600; color: var(--brown); }
.t-role { color: var(--muted); font-size: .95rem; }
/* Phones and tablets: the towels photo is already the hero, so the band gets a fresh sky tint instead (a hidden lazy image is not fetched). */
@media (max-width: 959px) {
  .band-photo { display: none; }
  .testimonial-band { background: linear-gradient(180deg, var(--linen) 0%, var(--sky) 45%, #fff 100%); padding-block: 56px; }
  .testimonial-band::before { content: none; }
}
/* Desktop: the card sits to the left so the robe and towels show on the right. */
@media (min-width: 960px) {
  .testimonial { margin: 0 auto 0 0; max-width: 640px; text-align: left; }
  .testimonial figcaption { align-items: flex-start; }
  .quote-mark { margin: 0; }
  .band-photo { object-position: 70% 70%; }
  .testimonial-band::before { background: linear-gradient(90deg, rgba(255, 255, 255, .7) 0%, rgba(255, 255, 255, .15) 60%, transparent 100%); }
}

/* ---------- Guest reviews ---------- */
.score {
  justify-self: start;
  display: flex; align-items: center; gap: 14px;
  padding: 14px 22px 14px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
}
.score-num { font-family: var(--font-display); font-weight: 600; font-size: 2.6rem; line-height: 1; letter-spacing: -.02em; color: var(--brown); }
.score-side { display: flex; flex-direction: column; gap: 4px; }
.score-stars { display: inline-flex; gap: 2px; color: var(--olive); }
.score-stars .icon { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.score-text { color: var(--muted); font-size: .92rem; font-weight: 600; }
@media (min-width: 900px) { .section-head-split > .score { justify-self: end; } }

.reviews { list-style: none; display: grid; gap: 16px; }
.review figure {
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  height: 100%; padding: 24px 24px 22px;
  background: var(--page);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.review blockquote { margin: 0; }
.review blockquote p { font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; line-height: 1.42; color: var(--brown); }
.review figcaption { display: flex; flex-direction: column; gap: 2px; padding-top: 14px; border-top: 1px solid var(--line); }
.reviews-note { margin-top: 20px; color: var(--muted); font-size: .92rem; }
/* Phones: the three strongest quotes. Wider screens: a masonry of all six, so short quotes do not leave empty cards. */
@media (max-width: 639px) {
  .review:nth-child(n+4) { display: none; }
}
@media (min-width: 640px) {
  .reviews { display: block; columns: 2; column-gap: 18px; }
  .review { break-inside: avoid; margin-bottom: 18px; }
  .review figure { height: auto; }
}
@media (min-width: 1040px) {
  .reviews { columns: 3; column-gap: 20px; }
  .review { margin-bottom: 20px; }
}

/* ---------- Service area ---------- */
.area-card {
  display: grid;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.area-copy { padding: clamp(28px, 5vw, 56px); }
.area-copy h2 { margin-bottom: 16px; }
.area-copy p:not(.kicker) { color: var(--muted); font-size: 1.075rem; max-width: 30em; }
.area-visual {
  position: relative;
  display: grid; place-items: center;
  min-height: 230px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, #fff 0, var(--sky) 42%, var(--sky-2) 100%);
}
.ring {
  position: absolute; left: 50%; top: 50%;
  border: 1.5px solid rgba(80, 140, 165, .2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.ring-1 { width: 140px; height: 140px; background: rgba(255, 255, 255, .55); }
.ring-2 { width: 250px; height: 250px; }
.ring-3 { width: 380px; height: 380px; border-style: dashed; }
.area-pin {
  position: relative;
  display: grid; place-items: center;
  width: 62px; height: 62px;
  border-radius: 50%;
  background: var(--brown); color: #fff;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, .85), 0 16px 30px -12px rgba(46, 37, 23, .55);
}
.area-pin .icon { width: 30px; height: 30px; stroke-width: 1.9; }
.area-label {
  position: absolute; left: 50%; top: calc(50% + 80px);
  transform: translateX(-50%);
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--brown);
  font-size: .9rem; font-weight: 600; white-space: nowrap;
  box-shadow: var(--shadow-sm);
}
.area-glint-1 { width: 26px; height: 26px; top: 22%; left: 22%; }
.area-glint-2 { width: 16px; height: 16px; bottom: 20%; right: 22%; }
/* On narrow screens the rings are only filler under a heading that already says Lexington. */
@media (max-width: 819px) {
  .area-visual { display: none; }
}
@media (min-width: 820px) {
  .area-card { grid-template-columns: 1.15fr .85fr; }
  .area-copy { align-self: center; }
  .area-visual { min-height: 360px; }
}

/* ---------- FAQ ---------- */
.faq-inner { display: grid; gap: 0; }
.faq-list { display: grid; gap: 12px; }
.faq-list details {
  padding: 0 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 1px 2px rgba(46, 37, 23, .04);
}
.faq-list details[open] { border-color: var(--sky-2); box-shadow: var(--shadow-sm); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px;
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
  color: var(--brown);
  font-size: 1.08rem; font-weight: 600; line-height: 1.35;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon {
  width: 34px; height: 34px; padding: 6px;
  border-radius: 50%;
  background: var(--sky); color: var(--accent);
  stroke-width: 2;
}
.faq-list details[open] summary .icon { transform: rotate(45deg); }
.faq-list summary:hover { color: var(--brown-deep); }
.faq-a { padding: 0 50px 20px 0; }
.faq-a p { color: var(--muted); }
.faq-a a { color: var(--brown); font-weight: 600; text-decoration-color: var(--accent-mid); text-decoration-thickness: 2px; text-underline-offset: 4px; }
@media (min-width: 900px) {
  .faq-inner { grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: start; }
}

/* ---------- Quote ---------- */
/* No overflow rule here: it would make this section the sticky container for .quote-copy. */
.section-quote {
  background:
    radial-gradient(760px 520px at 0% 0%, var(--sky), transparent 64%),
    radial-gradient(700px 520px at 100% 100%, var(--linen), transparent 62%),
    #fff;
}
.quote-glint-1 { width: 30px; height: 30px; top: 26px; right: 7%; }
.quote-glint-2 { width: 15px; height: 15px; top: 62px; right: calc(7% + 40px); }
@media (min-width: 940px) {
  .quote-glint-1 { width: 36px; height: 36px; top: 56px; right: 8%; }
  .quote-glint-2 { width: 18px; height: 18px; top: 64px; right: calc(8% + 48px); }
}
.quote-inner { position: relative; display: grid; gap: 36px; align-items: start; }
.quote-copy h2 { margin-bottom: 16px; }
.quote-copy > p:not(.kicker):not(.contact-title) { color: var(--ink-soft); font-size: 1.075rem; max-width: 30em; }
.quote-points { list-style: none; display: grid; gap: 12px; margin-top: 24px; color: var(--ink-soft); font-weight: 500; }
.quote-points li { display: flex; align-items: center; gap: 12px; }
.quote-points .icon { color: var(--accent); }
.contact-title { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font-weight: 600; color: var(--brown); }
.contact-list { list-style: none; display: grid; gap: 4px; margin-top: 6px; }
.contact-link {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 44px;
  color: var(--brown); font-weight: 600;
  text-decoration: underline; text-decoration-color: var(--accent-mid); text-decoration-thickness: 2px; text-underline-offset: 5px;
  overflow-wrap: anywhere;
}
.contact-link .icon { color: var(--accent); }

.form-card {
  position: relative;
  padding: clamp(22px, 4vw, 40px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.form-legend { margin-bottom: 22px; color: var(--muted); font-size: .95rem; }
.req {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--accent-soft); color: var(--accent);
  font-size: .75rem; font-weight: 600; letter-spacing: .02em;
  vertical-align: 2px;
}
.form-legend .req { margin-left: 2px; }
.field { margin-bottom: 20px; }
.field label { display: block; margin-bottom: 6px; color: var(--ink); font-weight: 600; font-size: 1rem; }
.hint { margin: -2px 0 8px; color: var(--muted); font-size: .92rem; }
.field input, .field select, .field textarea {
  display: block;
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1.5px solid var(--field-line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  -webkit-appearance: none;
  appearance: none;
}
.field input[type="date"] { min-height: 50px; }
.field input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.field textarea { min-height: 120px; resize: vertical; }
.field select {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23403320' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  cursor: pointer;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 3px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
  border-radius: var(--radius-sm);
}
.field [aria-invalid="true"] { border-color: var(--error); background-color: var(--error-soft); }
.field-error {
  display: flex; align-items: flex-start; gap: 6px;
  margin-top: 8px;
  color: var(--error);
  font-size: .92rem; font-weight: 600;
}
.field-error::before { content: "!"; display: inline-grid; place-items: center; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--error); color: #fff; font-size: .72rem; }
.field-row { display: grid; gap: 0 14px; }
.field-row-2 { grid-template-columns: 1fr 1fr; }
@media (min-width: 520px) { .field-row { grid-template-columns: 1fr 1fr; } }

.form-errors {
  margin-bottom: 24px;
  padding: 16px 18px;
  border: 1.5px solid var(--error);
  border-radius: 14px;
  background: var(--error-soft);
}
.form-errors:focus-visible { outline-offset: 2px; }
.form-errors h3 { margin-bottom: 6px; color: var(--error); font-size: 1.05rem; }
.form-errors ul { padding-left: 20px; }
.form-errors a { color: var(--error); font-weight: 600; text-underline-offset: 3px; }
.form-errors li { padding: 3px 0; }

#quote-form button[type="submit"] { margin-top: 8px; }

.result:focus { outline: none; }
.result:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; }
.result-title {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.6rem; line-height: 1.2;
  color: var(--brown);
}
.result-title .icon { width: 40px; height: 40px; padding: 8px; border-radius: 50%; background: var(--sky); color: var(--accent); stroke-width: 2; }
.result-note { margin-top: 12px; color: var(--ink-soft); }
.result-note a { color: var(--brown); font-weight: 600; text-decoration-color: var(--accent-mid); text-decoration-thickness: 2px; text-underline-offset: 4px; overflow-wrap: anywhere; }
.result-label { display: block; margin: 20px 0 6px; font-weight: 600; font-size: .95rem; }
.result-message {
  display: block; width: 100%;
  min-height: 240px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--page);
  color: var(--ink);
  font: inherit; font-size: .98rem; line-height: 1.55;
  white-space: pre-wrap;
  resize: vertical;
}
.result-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.copy-status { min-height: 1.5em; margin-top: 10px; color: var(--accent); font-weight: 600; font-size: .95rem; }
@media (max-width: 479px) { .result-actions .btn { flex: 1 1 100%; } }

@media (min-width: 940px) {
  .quote-inner { grid-template-columns: .82fr 1.18fr; gap: 64px; }
  .quote-copy { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--brown-deep); color: #faf6ef; padding: 64px 0 28px; }
.site-footer :focus-visible { outline-color: var(--accent-mid); }
.footer-inner { display: grid; gap: 32px; }
.brand-light { color: #faf6ef; margin-right: 0; }
.footer-brand p { margin-top: 14px; max-width: 26em; color: #d6c9b4; font-size: 1rem; }
.footer-nav ul, .footer-contact { list-style: none; display: grid; gap: 0; }
.footer-nav ul { grid-template-columns: repeat(2, max-content); column-gap: 48px; }
.site-footer a:not(.brand) {
  display: inline-flex; align-items: center;
  min-height: 44px;
  color: #faf6ef;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.site-footer a:not(.brand):hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--accent-mid); }
.footer-base { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(250, 246, 239, .14); color: #cdbfa9; font-size: .92rem; }
@media (min-width: 760px) {
  .footer-inner { grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; }
  .footer-inner:has(.footer-contact[hidden]) { grid-template-columns: minmax(0, 1fr) auto; }
  .footer-inner:has(.footer-contact[hidden]) .footer-nav { justify-self: end; }
}

/* ---------- 404 ---------- */
.notfound {
  padding: clamp(72px, 12vw, 140px) 0;
  text-align: center;
  background:
    radial-gradient(640px 420px at 50% 0%, var(--sky), transparent 70%),
    #fff;
}
.notfound .report-icon {
  display: grid; place-items: center;
  width: 72px; height: 72px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: #fff;
  color: var(--accent);
  box-shadow: 0 0 0 8px var(--sky), var(--shadow-md);
}
.notfound .report-icon .icon { width: 32px; height: 32px; }
.notfound h1 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.2rem, 1.5rem + 3vw, 3.4rem);
  line-height: 1.08; letter-spacing: -.02em;
  color: var(--brown);
}
.notfound p { max-width: 30em; margin: 18px auto 0; color: var(--muted); font-size: 1.1rem; }
.notfound .hero-actions { justify-content: center; }

/* Slim footer on pages without the full footer (404) */
.site-footer > .footer-base:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.notfound + .site-footer { padding: 28px 0; }
.page-404 { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.page-404 .notfound { flex: 1 0 auto; display: flex; align-items: center; }

/* ---------- Motion: only when the visitor has not asked for less ---------- */
@keyframes sweep { from { transform: translateX(-130%); } to { transform: translateX(130%); } }
@keyframes twinkle {
  0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
  50% { opacity: .3; transform: scale(.55) rotate(45deg); }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .btn, .site-nav a, .menu-toggle, .text-link, .contact-link, .btn-ghost, .gallery-btn { transition: background-color .2s ease, color .2s ease, border-color .2s ease, text-decoration-color .2s ease; }
  .faq-list summary .icon { transition: transform .25s ease; }
  .site-header { transition: border-color .2s ease, box-shadow .2s ease; }

  .btn-primary::after { transition: transform .8s ease; }
  .btn-primary:hover::after { transform: translateX(120%); }

  /* The hero photo gets one slow gleam on load. */
  .hero-photo::after { animation: sweep 1.8s cubic-bezier(.4, 0, .2, 1) .5s 1 both; }

  /* Glints twinkle twice (under five seconds), then rest. */
  .hero .glint, .is-in .glint { animation: twinkle 2.2s ease-in-out .8s 2; }
  .hero .hero-glint-2, .is-in .glint:nth-of-type(2) { animation-delay: 1.3s; }

  /* Cards lift a touch and their photos catch the light on hover. */
  .svc, .review figure { transition: translate .35s ease, box-shadow .35s ease; }
  .svc:hover, .review figure:hover { translate: 0 -4px; box-shadow: var(--shadow-md); }
  .svc-photo img, .g-item img { transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
  .svc:hover .svc-photo img, .g-item:hover img { transform: scale(1.04); }
  .svc:hover .shine::after { transform: translateX(130%); transition: transform 1.1s ease; }

  /* Fade in on scroll. main.js adds .reveal-on only when it can watch the page. */
  .reveal-on .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s ease var(--d, 0s), transform .8s cubic-bezier(.2, .7, .2, 1) var(--d, 0s), translate .35s ease, box-shadow .35s ease;
  }
  .reveal-on .reveal.is-in { opacity: 1; transform: none; }
  .services > .reveal:nth-child(2), .steps > .reveal:nth-child(2), .reviews > .reveal:nth-child(2), .reviews > .reveal:nth-child(5) { --d: .08s; }
  .services > .reveal:nth-child(3), .steps > .reveal:nth-child(3), .reviews > .reveal:nth-child(3), .reviews > .reveal:nth-child(6) { --d: .16s; }
  .services > .reveal:nth-child(4) { --d: .1s; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  .reveal { opacity: 1 !important; transform: none !important; }
  .site-header { position: static; }
}

@media (forced-colors: active) {
  .btn, .menu-toggle, .svc, .step-badge, .form-card, .rating-card, .testimonial, .review figure, .faq-list details, .gallery-btn { border: 1px solid CanvasText; }
  .icon { stroke: CanvasText; }
  .glint, .shine::after { display: none; }
}
