/* ==========================================================================
   Hampton Park Laundromat — site styles
   Built from the Fullstack Solutions starter. Brand colours are in :root.
   ========================================================================== */

:root {
  /* Brand, from the owner's logo: deep green, with gold call-to-action buttons. Colour stays on buttons, links and icons. */
  --primary-700: #03382a;   /* the logo's green: link hover, prices */
  --primary-600: #0b5c43;   /* links, icons */
  --primary-500: #158a63;   /* focus rings */
  --primary-300: #a9cfc0;   /* underlines, open FAQ border */
  --tint: #e6f1ec;          /* soft green tint behind icons */
  --accent-400: #d4b070;    /* the logo's gold: call-to-action buttons */
  --accent-500: #c9a25a;
  --on-accent: #03382a;     /* text on call-to-action buttons */
  --dark-950: #022a1f;      /* footer */
  --dark-900: #04382a;

  /* Text and surfaces */
  --ink: #0f1f1a;
  --ink-soft: #2b3a35;
  --muted: #56655f;
  --line: #e1e7e3;
  --surface: #ffffff;
  --surface-alt: #f5f4ef;

  /* Status and ratings */
  --open: #157a3a;
  --open-bg: #e2f5e8;
  --star: #f2a516;
  --gold-tint: #f7efdf;     /* soft gold behind the cash discount note */

  --font-head: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow: 0 12px 30px -14px rgba(4, 36, 27, .22);
  --shadow-lg: 0 28px 60px -24px rgba(4, 36, 27, .35);

  --header-h: 84px;
  --gutter: 24px;
  --container: 1200px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
h1, h2, h3 { font-family: var(--font-head); letter-spacing: -0.01em; }
h1, h2 { text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 1.6rem + 3.4vw, 4rem); font-weight: 800; line-height: 1.04; }
h2 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.75rem); font-weight: 700; line-height: 1.08; }
h3 { font-size: 1.2rem; font-weight: 600; line-height: 1.25; }

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

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 8px;
  background: var(--ink); color: #fff;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

.icon {
  width: 1em; height: 1em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.icon-fill { fill: currentColor; stroke: none; }
.star { color: var(--star); }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 7vw, 96px); }
.section-alt { background: var(--surface-alt); }

/* Laundry doodles (assets/img/laundry-pattern.svg) shown faintly behind a section: add class="has-pattern".
   They sit between the section's background and its content; on the dark footer they turn white. */
.has-pattern { position: relative; isolation: isolate; }
.has-pattern::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: url("../img/laundry-pattern.svg") 0 0 / 440px 440px repeat;
  opacity: .08;
  pointer-events: none;
}
.site-footer.has-pattern::before { filter: brightness(0) invert(1); opacity: .05; }

/* Section heading pattern: small eyebrow, headline, short intro */
.eyebrow {
  margin-bottom: 14px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--primary-600);
}
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head h2 { margin-bottom: 12px; }
.section-head p:not(.eyebrow) { font-size: 1.0625rem; color: var(--muted); }
.section-head.center { margin-inline: auto; text-align: center; }

/* Shop photos: rounded, with a soft shadow; the dark green shows while a photo loads.
   --y on a photo (or slide) moves the crop up or down where the frame is wider than the photo */
.photo-frame {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--dark-900);
  box-shadow: var(--shadow-lg);
}
.photo-frame > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% var(--y, 50%); }

/* ---------- Buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row.center { justify-content: center; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px;
  padding: 14px 26px;
  border: 1.5px solid transparent;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 15px; font-weight: 600; line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .25s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn .icon { font-size: 18px; }
.btn-primary { background: var(--accent-400); color: var(--on-accent); box-shadow: 0 10px 24px -12px rgba(176, 138, 64, .75); }
.btn-primary:hover { background: var(--accent-500); transform: translateY(-2px); }
.btn-ghost { border-color: #cdd5d0; background: #fff; color: var(--ink); }
.btn-ghost:hover { border-color: var(--primary-500); color: var(--primary-700); }
.btn-pill { min-height: 44px; padding: 11px 22px; border-radius: 999px; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 28px;
  font-weight: 600; color: var(--primary-700);
  text-decoration: underline; text-decoration-color: var(--primary-300); text-underline-offset: 4px;
}
.text-link:hover { color: var(--primary-600); text-decoration-color: currentColor; }
.text-link .icon { font-size: 18px; }

/* ---------- Brand ---------- */
/* The owner's logo: logo.webp in the header; the stacked logo-reverse.webp (white lettering) in the dark footer */
.brand { display: inline-flex; flex: none; }
.brand-logo { width: auto; height: 64px; }
.footer-logo { width: auto; height: 132px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; transition: box-shadow .25s ease, border-color .25s ease; }
/* The blur sits on a pseudo-element so the mobile menu inside can blur the page too */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -16px rgba(4, 36, 27, .35); }
.header-inner { display: flex; align-items: center; gap: 32px; height: var(--header-h); }

.nav { flex: 1; display: flex; align-items: center; }
.nav-list { display: flex; gap: 28px; margin-inline: auto; }
.nav-list a { display: block; padding: 8px 0; font-size: 14.5px; font-weight: 500; color: var(--ink-soft); white-space: nowrap; transition: color .2s; }
.nav-list a:hover,
.nav-list a.is-active { color: var(--primary-600); }
.nav-cta .icon { font-size: 16px; }
.nav-cta-number { display: none; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 12px;
  background: #fff; color: var(--ink);
  font-size: 22px;
  cursor: pointer;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(40px, 6vw, 80px); background: var(--surface-alt); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 5vw, 64px); }
/* The hero text sits on a white panel so it stands clear of the background doodles */
.hero-content {
  padding: clamp(24px, 3.6vw, 44px);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 24px 60px -32px rgba(4, 36, 27, .35);
}
.hero h1 { max-width: 14ch; margin-bottom: 16px; }
.hero-hours { margin-bottom: 22px; font-family: var(--font-head); font-size: clamp(1.25rem, 1.1rem + .6vw, 1.55rem); font-weight: 600; color: var(--ink); }
.hero-facts { display: grid; gap: 12px; margin-bottom: 30px; }
.hero-facts li { display: flex; align-items: flex-start; gap: 12px; color: var(--ink-soft); }
.hero-facts .icon { margin-top: 3px; font-size: 20px; color: var(--primary-600); }
.hero-facts .icon.star { color: var(--star); }
.hero-facts a { text-decoration: underline; text-decoration-color: var(--primary-300); text-underline-offset: 3px; }
.hero-facts a:hover { color: var(--primary-700); text-decoration-color: currentColor; }
.hero-media { aspect-ratio: 6 / 5; }

.status-pill {
  display: inline-block; padding: 1px 10px;
  border-radius: 999px;
  background: var(--line); color: var(--ink);
  font-size: 14px; font-weight: 600;
}
.status-pill.is-open { background: var(--open-bg); color: var(--open); }

/* ---------- Cards (from the starter; unused on the home page for now) ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: 0 1px 2px rgba(4, 36, 27, .04); }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 15px; color: var(--muted); }

/* ---------- Machines and prices ---------- */
/* "Pay cash and save": the large prices are cash prices */
.cash-note {
  display: flex; align-items: center; gap: 12px;
  width: fit-content; max-width: 100%;
  margin-bottom: 24px; padding: 12px 18px;
  border: 1px solid #ecdcbc; border-radius: 12px;
  background: var(--gold-tint); color: var(--ink-soft);
  font-size: 15px;
}
.cash-note .icon { font-size: 22px; color: var(--primary-600); }
.cash-note strong { color: var(--ink); }
.machine-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.machine {
  display: flex; flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 1px 2px rgba(4, 36, 27, .04);
}
.machine-size { font-size: 14.5px; color: var(--muted); }
/* The icon grows with the machine, so the sizes read at a glance */
.machine-icon {
  display: flex; align-items: center; justify-content: center;
  height: 112px; margin-block: 14px;
  background: radial-gradient(circle, var(--tint) 0 54px, transparent 55px);
  color: var(--primary-600);
}
.machine-icon .icon { stroke-width: 1.4; }
.machine-icon.size-s .icon { font-size: 56px; }
.machine-icon.size-m .icon { font-size: 68px; }
.machine-icon.size-l .icon { font-size: 82px; }
.machine-price { font-family: var(--font-head); font-size: 2rem; font-weight: 700; line-height: 1.1; color: var(--primary-700); }
.machine-price span { display: block; margin-top: 4px; font-family: var(--font-body); font-size: 14.5px; font-weight: 500; line-height: 1.45; color: var(--muted); }
.machine-alt { margin-top: 8px; font-size: 15px; font-weight: 600; color: var(--ink-soft); }
.machine-time { margin-top: 6px; font-size: 14.5px; color: var(--muted); }
.ticks { display: grid; gap: 8px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-soft); }
.ticks li { display: flex; align-items: flex-start; gap: 10px; }
.ticks .icon { margin-top: 4px; font-size: 16px; color: var(--primary-600); }
.machines-note { margin-top: 20px; font-size: 14px; color: var(--muted); }
.machines-note a { font-weight: 600; color: var(--primary-700); text-decoration: underline; text-decoration-color: var(--primary-300); text-underline-offset: 3px; }
.machines-note a:hover { color: var(--primary-600); text-decoration-color: currentColor; }

/* "Need more time?": topping up a running machine from home */
.topup {
  display: flex; align-items: flex-start; gap: 16px;
  margin-top: 28px; padding: 22px 24px;
  border: 1px solid var(--primary-300); border-radius: var(--radius-lg);
  background: var(--tint);
}
.topup .chip { background: #fff; }
.topup h3 { margin-bottom: 4px; font-size: 1.15rem; }
.topup p:not(.tag) { max-width: 72ch; font-size: 15px; color: var(--ink-soft); }
.topup a { font-weight: 600; color: var(--primary-700); text-decoration: underline; text-decoration-color: var(--primary-300); text-underline-offset: 3px; }
.topup a:hover { color: var(--primary-600); text-decoration-color: currentColor; }
.tag {
  display: inline-block; margin-bottom: 8px; padding: 3px 11px;
  border-radius: 999px;
  background: var(--accent-400); color: var(--on-accent);
  font-size: 12.5px; font-weight: 600;
}

/* Green icon on a soft green tile, beside a line or two of text */
.chip {
  display: grid; place-items: center; flex: none;
  width: 44px; height: 44px;
  border-radius: 14px;
  background: var(--tint); color: var(--primary-600);
}
.chip .icon { font-size: 22px; }
/* On grey sections the tiles go white so they still stand out */
.section-alt .chip { background: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 1px 2px rgba(4, 36, 27, .05); }

/* What you can wash: a compact row under the machine cards */
.wash { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--line); }
.wash h3 { margin-bottom: 22px; font-size: 1.35rem; }
.wash-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.wash-list li { display: flex; align-items: flex-start; gap: 12px; }
.wash-list strong { display: block; font-size: 15px; font-weight: 600; color: var(--ink); }
.wash-list div span { display: block; font-size: 14px; line-height: 1.45; color: var(--muted); }

/* ---------- Why locals choose us ---------- */
.why-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 5vw, 64px); }
.feature-list { display: grid; gap: 22px; }
.feature-list li { display: flex; align-items: flex-start; gap: 16px; }
.feature-list .chip { width: 48px; height: 48px; }
.feature-list .chip .icon { font-size: 24px; }
.feature-list h3 { margin-bottom: 2px; font-size: 1.05rem; }
.feature-list p { font-size: 15px; color: var(--muted); }
.why-media { aspect-ratio: 1 / 1; }

/* Slideshow (slideshow.js). The photos sit on top of each other: the new one fades in over the old,
   which stays put underneath until the fade ends, so there's no dark flash between them */
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0s linear 1s, visibility 0s linear 1s; }
.slide.is-active { z-index: 1; opacity: 1; visibility: visible; transition: opacity 1s ease; }
.slide img { width: 100%; height: 100%; object-fit: cover; object-position: 50% var(--y, 50%); }
.slide.is-active img { animation: slide-zoom 6s ease-out both; }
@keyframes slide-zoom { from { scale: 1.05; } to { scale: 1; } }

.slideshow-controls {
  position: absolute; z-index: 2; left: 14px; bottom: 14px;
  display: none; align-items: center;
  padding: 2px 8px 2px 2px;
  border-radius: 999px;
  background: rgba(2, 42, 31, .62);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.js .slideshow-controls { display: flex; }
.slideshow-toggle {
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border: 0; border-radius: 50%;
  background: none; color: #fff;
  font-size: 15px;
  cursor: pointer;
}
.slideshow-toggle:hover { background: rgba(255, 255, 255, .16); }
.slideshow-toggle .icon-play,
.slideshow.is-paused .slideshow-toggle .icon-pause { display: none; }
.slideshow.is-paused .slideshow-toggle .icon-play { display: block; }
.slideshow-dots { display: flex; }
.slideshow-dot {
  display: grid; place-items: center;
  width: 24px; height: 36px; padding: 0;
  border: 0; background: none;
  cursor: pointer;
}
.slideshow-dot::before {
  content: ""; width: 8px; height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .55);
  transition: width .3s ease, background-color .3s ease;
}
.slideshow-dot:hover::before { background: #fff; }
.slideshow-dot[aria-current="true"]::before { width: 18px; background: var(--accent-400); }
.slideshow-controls :focus-visible { outline-color: #fff; outline-offset: -2px; }

/* ---------- Reviews: the page's one dark green section ---------- */
.section-dark { background: linear-gradient(160deg, #0a4636 0%, var(--dark-950) 75%); color: #fff; }
.section-dark .eyebrow { color: var(--accent-400); }
.section-dark .section-head h2 { color: #fff; }
.section-dark .section-head p:not(.eyebrow) { color: rgba(255, 255, 255, .8); }
.section-dark .review figure { border-color: transparent; box-shadow: 0 24px 48px -28px rgba(0, 0, 0, .6); }
.section-dark .text-link { color: #fff; text-decoration-color: rgba(255, 255, 255, .35); }
.section-dark .text-link:hover { color: var(--accent-400); text-decoration-color: currentColor; }
.section-dark .carousel-btn { border-color: rgba(255, 255, 255, .35); background: transparent; color: #fff; }
.section-dark .carousel-btn:hover { border-color: var(--accent-400); color: var(--accent-400); }
.section-dark .carousel-btn[aria-disabled="true"],
.section-dark .carousel-btn[aria-disabled="true"]:hover { border-color: rgba(255, 255, 255, .35); color: #fff; opacity: .35; }
/* Gold focus rings on the dark backgrounds, where the green ones wouldn't show */
.section-dark :focus-visible,
.site-footer :focus-visible { outline-color: var(--accent-400); }

/* Review carousel: cards scroll sideways and snap; carousel.js adds the arrows */
.reviews-bar { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.reviews-bar .section-head { margin-bottom: 0; }
.carousel-nav { display: none; gap: 10px; }
.js .carousel-nav { display: flex; }
.reviews.is-static .carousel-nav { display: none; }
.carousel-btn {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px;
  border: 1.5px solid #cdd5d0; border-radius: 50%;
  background: #fff; color: var(--ink);
  font-size: 20px;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease, opacity .2s ease;
}
.carousel-btn:hover { border-color: var(--primary-500); color: var(--primary-700); }
.carousel-btn[aria-disabled="true"],
.carousel-btn[aria-disabled="true"]:hover { border-color: #cdd5d0; color: var(--ink); opacity: .4; cursor: default; }

.review-track {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * 20px) / 3);
  gap: 20px;
  margin: -4px; padding: 4px;   /* room for the card borders and focus rings */
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: 4px;
  scrollbar-width: none;
}
.review-track::-webkit-scrollbar { display: none; }
.review { display: flex; scroll-snap-align: start; }
.review figure {
  position: relative; flex: 1;
  display: flex; flex-direction: column; gap: 14px;
  padding: 26px 26px 22px;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: #fff;
}
.review-mark { position: absolute; top: 22px; right: 22px; font-size: 30px; color: #d3e2db; }
.stars { display: flex; gap: 3px; font-size: 18px; color: var(--star); }
.review blockquote p { font-size: 1rem; color: var(--ink); }
.review figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 4px; font-size: 13.5px; color: var(--muted); }
.review figcaption strong { display: block; font-size: 15px; font-weight: 600; color: var(--ink); }
.avatar {
  display: grid; place-items: center; flex: none;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--tint); color: var(--primary-600);
  font-family: var(--font-head); font-size: 17px; font-weight: 700;
}
.reviews-foot { margin-top: 24px; }
.reviews-foot .text-link { margin-top: 0; }

/* Review prize draw: a panel under the carousel */
.review-draw {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px 24px;
  margin-top: 40px; padding: 24px 28px;
  border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .06);
}
.review-draw .chip { align-self: start; background: rgba(212, 176, 112, .16); color: var(--accent-400); }
.review-draw h3 { margin-bottom: 4px; font-size: 1.25rem; color: #fff; }
.review-draw p:not(.tag) { font-size: 15px; color: rgba(255, 255, 255, .8); }
.review-draw a:not(.btn) { font-weight: 600; color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 3px; }
.review-draw a:not(.btn):hover { color: var(--accent-400); text-decoration-color: currentColor; }

/* ---------- Find us ---------- */
.find-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; gap: clamp(28px, 4vw, 56px); }
.map-wrap { display: grid; gap: 18px; }
.map {
  display: block; width: 100%; aspect-ratio: 16 / 10;
  border: 0; border-radius: var(--radius-lg);
  background: var(--tint);   /* shows while the map loads */
  box-shadow: 0 0 0 1px var(--line), 0 18px 40px -26px rgba(4, 36, 27, .45);
}
.find-list { display: grid; gap: 20px; }
.find-list li { display: flex; align-items: flex-start; gap: 14px; }
.find-list h3 { margin-bottom: 2px; font-family: var(--font-body); font-size: 1rem; font-weight: 600; }
.find-list p { font-size: 15px; color: var(--muted); }
.find-list a { font-weight: 600; color: var(--primary-700); }
.find-list a:hover { color: var(--primary-600); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 10px; max-width: 860px; }
.faq { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 20px;
  font-weight: 600; color: var(--ink);
  cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { font-size: 20px; color: var(--muted); transition: transform .2s ease; }
.faq[open] { border-color: var(--primary-300); }
.faq[open] summary { color: var(--primary-700); }
.faq[open] summary .icon { transform: rotate(180deg); color: var(--primary-600); }
/* While an answer slides shut (faq.js), the question goes back to its closed look straight away */
.faq.is-closing { border-color: var(--line); }
.faq.is-closing summary { color: var(--ink); }
.faq.is-closing summary .icon { transform: none; color: var(--muted); }
.faq-body { overflow: hidden; color: var(--ink-soft); }
.faq-body > p { padding: 0 20px 18px; }
.faq-body a { font-weight: 600; color: var(--primary-700); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark-950); color: rgba(255, 255, 255, .75); }
.footer-inner { display: grid; grid-template-columns: 1.3fr 1fr auto; align-items: start; gap: 28px 48px; padding-block: 52px 38px; }
.footer-brand p { margin-top: 16px; font-size: 14px; }
.footer-contact { display: grid; gap: 10px; font-size: 14px; }
.footer-contact li,
.footer-contact a { display: inline-flex; align-items: center; gap: 9px; color: rgba(255, 255, 255, .85); }
.footer-contact a:hover { color: var(--accent-400); }
.footer-contact .icon { font-size: 16px; color: var(--accent-400); }
.footer-bottom { padding-bottom: 28px; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-bottom p { font-size: 13px; color: rgba(255, 255, 255, .6); }
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 24px; }
.footer-legal ul { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-legal a { font-size: 13px; color: rgba(255, 255, 255, .75); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .25); text-underline-offset: 3px; }
.footer-legal a:hover { color: var(--accent-400); }

/* ---------- Phone action bar (shown at 820px and below) ---------- */
.action-bar { display: none; }

/* ---------- Legal pages and 404 ---------- */
.legal-back { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-size: 14px; font-weight: 600; color: var(--ink); }
.legal-back .icon { font-size: 18px; }
.legal-back:hover { color: var(--primary-600); }
.legal { max-width: calc(760px + var(--gutter) * 2); padding-block: 56px 88px; }
.legal h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem); font-weight: 700; line-height: 1.1; }
.legal-meta { margin-top: 10px; font-size: 14px; color: var(--muted); }
.legal-lead { margin-top: 24px; font-size: 1.125rem; color: var(--ink-soft); }
.legal h2 { margin: 40px 0 12px; font-size: 1.35rem; font-weight: 600; line-height: 1.25; }
.legal p:not(.eyebrow):not(.legal-meta):not(.legal-lead),
.legal li { color: var(--ink-soft); }
.legal p + p,
.legal ul + p,
.legal ol + p { margin-top: 12px; }
.legal ul { margin-top: 10px; padding-left: 22px; list-style: disc; }
.legal ol { margin-top: 14px; padding-left: 28px; list-style: decimal; }
.legal li + li { margin-top: 8px; }
.legal li::marker { color: var(--primary-600); }
.legal a:not(.btn) { color: var(--primary-600); text-decoration: underline; text-underline-offset: 3px; }
.legal .btn { margin-top: 28px; }
.legal-footer .footer-bottom-inner { border-top: 0; padding-top: 28px; }

/* ---------- Toast (e.g. "Email address copied") ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 200;
  max-width: calc(100% - 32px);
  padding: 12px 18px;
  border: 1px solid var(--line); border-radius: 12px;
  background: #fff; color: var(--ink);
  font-size: 14px; font-weight: 500;
  box-shadow: 0 18px 40px -12px rgba(2, 30, 22, .45);
  opacity: 0; transform: translate(-50%, 12px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reveal on scroll (only when JS is running) ---------- */
.js .reveal { opacity: 0; }
.js .reveal.is-visible { animation: reveal .8s var(--ease-out) var(--delay, 0s) both; }
@keyframes reveal { from { opacity: 0; translate: 0 24px; } to { opacity: 1; translate: 0 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; }
}

/* ==========================================================================
   Responsive: 1180 / 960 / 820 / 600 / 360
   ========================================================================== */
@media (max-width: 1180px) {
  .header-inner { gap: 24px; }
  .nav-list { gap: 20px; }
  .nav-list a { font-size: 14px; }
  .wash-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Laptops: give the hero panel more room so the name stays on two lines and the buttons side by side */
@media (min-width: 961px) and (max-width: 1180px) {
  .hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; }
  .hero-content { padding: 32px; }
  .hero h1 { font-size: 3.2rem; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .brand-logo { height: 50px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 16px;
    padding: 12px var(--gutter) 24px;
    background: rgba(255, 255, 255, .9);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    backdrop-filter: blur(22px) saturate(180%);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(4, 36, 27, .35);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .2s ease, visibility 0s; }
  .nav-list { flex-direction: column; gap: 0; margin: 0; }
  .nav-list a { padding: 14px 4px; font-size: 16px; border-bottom: 1px solid rgba(4, 36, 27, .08); }
  .nav-cta { align-self: stretch; min-height: 50px; }
  .nav-cta-number { display: inline; }

  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { max-width: none; }
  .hero-media { aspect-ratio: 16 / 9; }

  .machine-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .review-track { grid-auto-columns: calc((100% - 20px) / 2); }

  .why-grid { grid-template-columns: minmax(0, 1fr); }
  .why-media { aspect-ratio: 16 / 10; }

  .footer-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .card-grid,
  .find-grid { grid-template-columns: minmax(0, 1fr); }

  /* Directions and Call stay within thumb reach once the hero buttons scroll away */
  .action-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, .94);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 -10px 30px -18px rgba(4, 36, 27, .4);
    transition: transform .3s var(--ease-out), visibility 0s;
  }
  .action-bar .btn { min-height: 48px; padding: 12px 14px; }
  .js .action-bar:not(.is-visible) {
    transform: translateY(110%); visibility: hidden;
    transition: transform .3s var(--ease-out), visibility 0s linear .3s;
  }
  .site-footer { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  /* The action bar and the map's own "Open in Maps" link cover these on phones */
  .map-wrap .btn-row { display: none; }
}

@media (max-width: 600px) {
  :root { --gutter: 16px; --header-h: 64px; }
  .brand-logo { height: 46px; }
  .footer-logo { height: 120px; }
  .btn-row .btn { flex: 1 1 100%; }
  .section-head { margin-bottom: 32px; }

  .wash { margin-top: 36px; padding-top: 32px; }
  .wash-list { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .reviews-bar { flex-wrap: wrap; margin-bottom: 24px; }
  .review-draw { grid-template-columns: auto minmax(0, 1fr); margin-top: 32px; padding: 20px; }
  .review-draw .btn { grid-column: 1 / -1; }

  .map { aspect-ratio: 1 / 1; }
  /* The photos' own shapes, so nothing is cropped on phones */
  .hero-media { aspect-ratio: 4 / 3; }
  .why-media { aspect-ratio: 1 / 1; }

  /* One review at a time, with the edge of the next showing so it's clear the row swipes */
  .review-track { grid-auto-columns: 86%; gap: 14px; }
  .review figure { padding: 22px 20px 20px; }

  /* Machine cards go side by side (icon left, text right) to save scrolling */
  .machine-grid { grid-template-columns: minmax(0, 1fr); }
  .machine { display: grid; grid-template-columns: 72px minmax(0, 1fr); column-gap: 18px; padding: 20px; }
  .machine h3 { grid-area: 1 / 2; }
  .machine-size { grid-area: 2 / 2; }
  .machine-price { grid-area: 3 / 2; margin-top: 8px; font-size: 1.75rem; }
  .machine-alt { grid-area: 4 / 2; }
  .machine-time { grid-area: 5 / 2; }
  .machine-icon { grid-column: 1; grid-row: 1 / 6; height: auto; margin: 0; background-image: radial-gradient(circle, var(--tint) 0 36px, transparent 37px); }
  .machine-icon.size-s .icon { font-size: 40px; }
  .machine-icon.size-m .icon { font-size: 46px; }
  .machine-icon.size-l .icon { font-size: 54px; }
  .ticks { grid-column: 1 / -1; grid-row: 6; margin-top: 16px; padding-top: 16px; }

  .cash-note { align-items: flex-start; padding: 12px 16px; }
  .cash-note .icon { margin-top: 1px; }
  .topup { padding: 18px; gap: 14px; }

  .footer-inner { grid-template-columns: minmax(0, 1fr); }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 380px) {
  .header-inner { gap: 16px; }
  .brand-logo { height: 42px; }
}
