/* ============================================================
   Sky Blue Spa & Pool Water Treatment — clean, watery, friendly theme
   ============================================================ */

/* Nunito, self-hosted. One variable-weight file covers 400–900, so this is a
   single 38 KB download from our own server instead of a render-blocking
   round trip to Google's. font-display: swap means text shows immediately in
   the fallback face rather than sitting invisible while the font loads. */
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/fonts/nunito.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Brand ramp, built from the logo. Every step sits on the logo's own hue
     (198°) so the site and the logo read as one thing.

     --brand-400 IS the logo blue, exactly as it appears in the artwork. It's
     light — white text on it only reaches 2.3:1 — so it's used for fills and
     gradients, never behind text. --brand-500 is the same hue darkened until
     white text clears 4.5:1, which is what buttons and the booking stepper
     use. Don't swap the two. */
  --brand-900: #08334d; /* body text, footer background   — 12.5:1 on sand   */
  --brand-700: #10658f; /* links, secondary button text   —  6.1:1 on sand   */
  --brand-500: #1e7da6; /* solid fills behind white text  —  4.6:1 w/ white  */
  --brand-400: #39b5eb; /* the logo blue — decorative only                   */
  --brand-300: #8ed8f5; /* borders, hover edges, gradients                   */
  --brand-50:  #e9f6fd; /* tinted chip and hover backgrounds                 */

  --sand-100: #fdf8f0;
  --sand-200: #f7ecdb;
  --sand-300: #efddc4;

  --coral:    #ef7d57;
  --coral-dark:#d9663f;
  --sun:      #f6b94a;

  --ink:      #283635;
  --muted:    #5c6f6e;
  --line:     #e7ddcd;
  --white:    #ffffff;

  --shadow-sm: 0 2px 8px rgba(8, 51, 77, 0.06);
  --shadow-md: 0 10px 30px rgba(8, 51, 77, 0.10);
  --shadow-lg: 0 20px 50px rgba(8, 51, 77, 0.16);

  --radius: 18px;
  --radius-lg: 28px;
  --maxw: 1120px;

  --font: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--sand-100);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.15;
  color: var(--brand-900);
  margin: 0 0 0.4em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1rem; }

a { color: var(--brand-700); text-decoration: none; }
a:hover { color: var(--brand-500); }

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--coral-dark);
  background: #fdeee7;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.muted { color: var(--muted); }
.center { text-align: center; }

/* ---- Buttons ---------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-weight: 800;
  font-size: 1rem;
  border: none;
  border-radius: 999px;
  padding: 14px 28px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 8px 20px rgba(239, 125, 87, 0.35);
}
.btn-primary:hover { background: var(--coral-dark); color: #fff; box-shadow: 0 12px 26px rgba(239, 125, 87, 0.45); }

.btn-secondary {
  background: var(--white);
  color: var(--brand-700);
  border: 2px solid var(--brand-300);
}
.btn-secondary:hover { background: var(--brand-50); color: var(--brand-700); }

.btn-ghost {
  background: transparent;
  color: var(--brand-700);
  padding: 10px 18px;
}
.btn-ghost:hover { background: var(--brand-50); }

.btn-lg { font-size: 1.2rem; padding: 18px 40px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

/* ---- Header ----------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 248, 240, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--brand-900);
}
.brand:hover { color: var(--brand-700); }
/* The mark is a circular badge with its own white field, so it needs no tile
   behind it — it sits directly on the header and on the dark footer alike. */
.brand .logo {
  width: 38px; height: 38px;
  flex: none;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  font-weight: 700;
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 999px;
}
.nav-links a:hover { background: var(--brand-50); color: var(--brand-700); }
.nav-links a.active { color: var(--brand-700); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle svg { width: 26px; height: 26px; color: var(--brand-900); }

/* ---- Hero ------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(142, 216, 245, 0.45), transparent 60%),
    linear-gradient(180deg, var(--sand-100), var(--sand-200));
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 84px;
}
.hero h1 span { color: var(--coral); }
.hero p.lead {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 30ch;
  margin-bottom: 28px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.trust-row {
  display: flex;
  gap: 22px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.trust-row .trust {
  display: flex; align-items: center; gap: 8px;
  font-weight: 700; color: var(--brand-900); font-size: 0.95rem;
}
.trust-row .trust svg { width: 22px; height: 22px; color: var(--brand-500); }

.hero-art {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}
.hero-art .blob {
  position: absolute;
  inset: 6%;
  background: linear-gradient(140deg, var(--brand-300), var(--brand-400) 55%, var(--brand-500));
  border-radius: 42% 58% 56% 44% / 48% 42% 58% 52%;
  box-shadow: var(--shadow-lg);
  animation: float 7s ease-in-out infinite;
}
.hero-art .emoji {
  position: relative;
  font-size: clamp(5rem, 14vw, 9rem);
  filter: drop-shadow(0 10px 18px rgba(8, 51, 77, 0.25));
}
/* The logo mark riding on the blob. Its white field is what separates it from
   the blue behind it, so don't put it on a light background without a blob. */
.hero-art .mark {
  position: relative;
  width: clamp(7rem, 18vw, 11rem);
  height: auto;
  filter: drop-shadow(0 10px 18px rgba(8, 51, 77, 0.25));
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(-2deg); }
}

/* ---- Section scaffolding ---------------------------------- */
.section { padding: 76px 0; }
.section-head { max-width: 56ch; margin: 0 auto 48px; text-align: center; }

/* ---- Quick-book band -------------------------------------- */
.book-band {
  background: var(--brand-900);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-md);
  margin: -40px auto 0;
  position: relative;
  z-index: 2;
}
.book-band h2 { color: #fff; margin-bottom: 6px; }
.book-band p { color: rgba(255,255,255,0.78); margin: 0; }

/* ---- Steps ------------------------------------------------ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.step .num {
  width: 46px; height: 46px;
  margin: 0 auto 16px;
  display: grid; place-items: center;
  background: var(--coral);
  color: #fff;
  font-weight: 900;
  border-radius: 14px;
  font-size: 1.2rem;
}

/* ---- Service cards ---------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-card .icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  background: var(--brand-50);
  color: var(--brand-700);
  border-radius: 16px;
  margin-bottom: 18px;
}
.service-card .icon svg { width: 28px; height: 28px; }
.service-card .tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-700);
  background: var(--brand-50);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.service-card h3 { margin-bottom: 4px; }
.service-card .tagline { color: var(--coral-dark); font-weight: 700; font-size: 0.95rem; margin-bottom: 12px; }
.service-card ul {
  list-style: none;
  padding: 0;
  margin: 4px 0 20px;
}
.service-card ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 8px;
  color: var(--muted);
}
.service-card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 16px; height: 16px;
  background: var(--brand-300);
  border-radius: 50%;
  box-shadow: inset 0 0 0 3px var(--white);
}
.service-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
}
.service-meta .price { font-size: 1.5rem; font-weight: 900; color: var(--brand-900); }
.service-meta .price small { font-size: 0.8rem; font-weight: 700; color: var(--muted); }

/* Why a price varies — sits under the range on a service page. */
.price-note {
  font-size: 0.95rem;
  color: var(--muted);
  background: var(--brand-50);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 26px;
  max-width: 68ch;
}
.service-meta .duration { color: var(--muted); font-weight: 700; font-size: 0.9rem; }
.service-card .btn { margin-top: 18px; }

/* ---- CTA section ------------------------------------------ */
.cta {
  background:
    radial-gradient(900px 400px at 20% 120%, rgba(246, 185, 74, 0.35), transparent 60%),
    linear-gradient(135deg, var(--brand-700), var(--brand-900));
  color: #fff;
  border-radius: var(--radius-lg);
  text-align: center;
  padding: 64px 32px;
}
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,0.82); max-width: 50ch; margin: 0 auto 26px; }

/* ---- Footer ----------------------------------------------- */
.site-footer {
  background: var(--brand-900);
  color: rgba(255,255,255,0.8);
  padding: 56px 0 28px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer a { color: rgba(255,255,255,0.8); display: block; margin-bottom: 8px; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 22px;
  text-align: center;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
}

/* ============================================================
   Booking page
   ============================================================ */
.booking-hero {
  background: linear-gradient(180deg, var(--sand-100), var(--sand-200));
  padding: 48px 0 36px;
  text-align: center;
}

.stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 26px auto 0;
  flex-wrap: wrap;
}
.stepper .dot {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; color: var(--muted);
}
.stepper .dot .circle {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--line);
  font-size: 0.9rem;
}
.stepper .dot.active .circle { background: var(--coral); border-color: var(--coral); color: #fff; }
.stepper .dot.done .circle { background: var(--brand-500); border-color: var(--brand-500); color: #fff; }
.stepper .dot.active, .stepper .dot.done { color: var(--brand-900); }
.stepper .bar { width: 28px; height: 2px; background: var(--line); }

/* Mode toggle: one-time vs. easy recurring */
.mode-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 560px;
  margin: 26px auto 0;
}
.mode-btn {
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: center;
  text-align: center;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.15s, background 0.15s, transform 0.1s;
}
.mode-btn:hover { border-color: var(--brand-300); }
.mode-btn.active { border-color: var(--coral); background: #fdeee7; }
.mode-btn strong { color: var(--brand-900); font-size: 1.05rem; }
.mode-btn span { color: var(--muted); font-size: 0.85rem; font-weight: 700; }

.booking-wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

/* Arrival-window slots (bigger than time slots) */
.window-slot {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-start;
  padding: 16px 18px;
  position: relative;
}
.window-slot .win-range { font-weight: 700; font-size: 0.85rem; color: var(--muted); }
.window-slot.selected .win-range { color: var(--coral-dark); }
.window-slot .win-full {
  position: absolute; top: 10px; right: 14px;
  font-size: 0.7rem; font-weight: 800; text-transform: uppercase;
  color: var(--muted);
}

/* Recurring option cards (frequency / preference) */
.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.option-card {
  border: 2px solid var(--line);
  background: var(--white);
  border-radius: 14px;
  padding: 16px 18px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 800;
  color: var(--brand-900);
  text-align: center;
  transition: border-color 0.15s, background 0.15s;
}
.option-card:hover { border-color: var(--brand-300); background: var(--brand-50); }
.option-card.selected { border-color: var(--coral); background: #fdeee7; color: var(--coral-dark); }
.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 36px;
}
.step-pane { display: none; }
.step-pane.active { display: block; animation: fadein 0.25s ease; }
@keyframes fadein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Service select list */
.service-select { display: grid; gap: 14px; }
.service-option {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.service-option:hover { border-color: var(--brand-300); background: var(--brand-50); }
.service-option.selected { border-color: var(--coral); background: #fdeee7; }
.service-option .icon {
  width: 48px; height: 48px; flex: none;
  display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand-700);
  border-radius: 14px;
}
.service-option.selected .icon { background: #fff; color: var(--coral-dark); }
.service-option .icon svg { width: 26px; height: 26px; }
.service-option .info { flex: 1; }
.service-option .info strong { display: block; color: var(--brand-900); font-size: 1.05rem; }
.service-option .info span { color: var(--muted); font-size: 0.9rem; }
.service-option .opt-price { font-weight: 900; color: var(--brand-900); font-size: 1.1rem; white-space: nowrap; }

/* Calendar */
.calendar-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.calendar {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}
.cal-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.cal-head .cal-title { font-weight: 800; color: var(--brand-900); }
.cal-nav {
  background: var(--brand-50); border: none; cursor: pointer;
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center; color: var(--brand-700);
}
.cal-nav:hover { background: var(--brand-300); color: #fff; }
.cal-nav:disabled { opacity: 0.35; cursor: not-allowed; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow {
  text-align: center; font-size: 0.72rem; font-weight: 800;
  color: var(--muted); text-transform: uppercase; padding: 6px 0;
}
.cal-day {
  aspect-ratio: 1; border: none; background: transparent;
  border-radius: 10px; cursor: pointer; font-family: inherit;
  font-weight: 700; color: var(--ink); font-size: 0.95rem;
}
.cal-day:hover:not(:disabled) { background: var(--brand-50); }
.cal-day.empty { visibility: hidden; cursor: default; }
.cal-day:disabled { color: var(--line); cursor: not-allowed; }
.cal-day.selected { background: var(--coral); color: #fff; }
.cal-day.today { box-shadow: inset 0 0 0 2px var(--brand-300); }

.slots-panel h3 { margin-bottom: 4px; }
.slots-panel .slots-date { color: var(--muted); margin-bottom: 16px; font-weight: 700; }
.slot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.slot {
  border: 2px solid var(--line); background: var(--white);
  border-radius: 12px; padding: 12px; cursor: pointer;
  font-family: inherit; font-weight: 800; color: var(--brand-900);
  transition: border-color 0.15s, background 0.15s;
}
.slot:hover:not(:disabled) { border-color: var(--brand-300); background: var(--brand-50); }
.slot.selected { border-color: var(--coral); background: #fdeee7; color: var(--coral-dark); }
.slot:disabled { opacity: 0.4; text-decoration: line-through; cursor: not-allowed; }
.slots-empty { color: var(--muted); padding: 20px 0; }

/* Form */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 800; color: var(--brand-900); font-size: 0.92rem; }
.field input, .field textarea {
  font-family: inherit; font-size: 1rem;
  border: 2px solid var(--line); border-radius: 12px;
  padding: 12px 14px; color: var(--ink); background: var(--sand-100);
  transition: border-color 0.15s;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--brand-300); background: #fff;
}
.field textarea { resize: vertical; min-height: 90px; }

/* Summary card */
.summary {
  background: var(--sand-200);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 26px;
}
.summary h3 { margin-bottom: 14px; }
.summary-row {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 8px 0; border-bottom: 1px dashed var(--line);
}
.summary-row:last-child { border-bottom: none; }
.summary-row .k { color: var(--muted); font-weight: 700; }
.summary-row .v { font-weight: 800; color: var(--brand-900); text-align: right; }
.summary-row.total .v { font-size: 1.3rem; color: var(--coral-dark); }

/* Step nav buttons */
.step-actions {
  display: flex; justify-content: space-between; gap: 12px;
  margin-top: 28px;
}

/* Confirmation */
.confirm {
  text-align: center;
  padding: 20px 0;
}
.confirm .check {
  width: 88px; height: 88px; margin: 0 auto 22px;
  display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand-500);
  border-radius: 50%;
  animation: pop 0.4s ease;
}
.confirm .check svg { width: 48px; height: 48px; }
@keyframes pop { 0% { transform: scale(0.6); opacity: 0; } 60% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }
.confirm .code {
  display: inline-block;
  background: var(--sand-200);
  border: 2px dashed var(--brand-300);
  border-radius: 12px;
  padding: 10px 22px;
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  color: var(--brand-900);
  margin: 8px 0 22px;
}

/* Inline alert */
.alert {
  background: #fdecec;
  border: 1px solid #f3c0c0;
  color: #b23b3b;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 700;
  margin-bottom: 18px;
  display: none;
}
.alert.show { display: block; }

/* ---- Responsive ------------------------------------------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 64px; }
  .hero-art { max-width: 360px; margin: 0 auto; }
  .hero p.lead { max-width: none; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .calendar-layout { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .book-band { padding: 30px 24px; text-align: center; justify-content: center; }
  .form-grid { grid-template-columns: 1fr; }
  .panel { padding: 24px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .step-actions { flex-direction: column-reverse; }
  .step-actions .btn { width: 100%; }
}

/* ============================================================
   Service detail pages, FAQ, and breadcrumbs
   ============================================================ */

.container.narrow { max-width: 820px; }

/* Card headings became links once each service got its own page. */
.service-card h3 a {
  color: inherit;
  text-decoration: none;
}
.service-card h3 a:hover { color: var(--brand-700); text-decoration: underline; }

.footer-note {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-top: 10px;
}

/* --- Breadcrumbs --- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 22px;
}
.breadcrumbs a { color: var(--brand-700); }
.breadcrumbs span[aria-hidden] { color: var(--line); }
.breadcrumbs [aria-current] { color: var(--muted); font-weight: 600; }

/* --- Service detail --- */
.service-detail h1 { margin-bottom: 10px; }
.service-detail .lead {
  color: var(--coral-dark);
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 26px;
}

.service-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}
.service-detail-meta > div {
  flex: 1 1 150px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
}
.service-detail-meta strong {
  display: block;
  font-size: 1.5rem;
  color: var(--brand-700);
  line-height: 1.2;
}
.service-detail-meta span {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-top: 4px;
}

.prose { margin-top: 42px; }
.prose h2 { margin-bottom: 10px; }
.prose h2 + p, .prose h2 + ul { margin-top: 0; }
.prose p { color: var(--muted); max-width: 68ch; }
.prose + .related { margin-top: 52px; }

.checklist { list-style: none; padding: 0; margin: 0 0 26px; }
.checklist li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  color: var(--muted);
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-50);
  color: var(--brand-700);
  font-size: 0.75rem;
  font-weight: 900;
}

.related h2 { margin-bottom: 20px; }

/* --- Service areas --- */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.area-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.area-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.area-card h3 { margin-bottom: 10px; }
.area-card p { font-size: 0.95rem; margin-bottom: 18px; }
.area-card .area-link {
  margin-top: auto;
  font-weight: 800;
  color: var(--brand-700);
}

/* --- FAQ --- */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-item > summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 56px 20px 22px;
  font-weight: 800;
  position: relative;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary:hover { color: var(--brand-700); }
.faq-item > summary:focus-visible {
  outline: 3px solid var(--brand-300);
  outline-offset: -3px;
}

/* The +/– affordance on the right */
.faq-item > summary::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  background:
    linear-gradient(var(--brand-700), var(--brand-700)) center/12px 2.5px no-repeat,
    linear-gradient(var(--brand-700), var(--brand-700)) center/2.5px 12px no-repeat;
  transition: transform 0.2s ease;
}
.faq-item[open] > summary::after {
  background: linear-gradient(var(--brand-700), var(--brand-700)) center/12px 2.5px no-repeat;
  transform: rotate(180deg);
}

.faq-item > p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
  max-width: 68ch;
}

@media (prefers-reduced-motion: reduce) {
  .faq-item > summary::after { transition: none; }
  .service-card:hover { transform: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 680px) {
  .service-detail-meta > div { flex-basis: 100%; }
}

/* The business name is long, so the mobile menu has to appear well before the
   usual phone breakpoint — otherwise the brand wraps into the nav links. */
.brand { white-space: nowrap; }

@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--sand-100);
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 18px;
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .nav-links .btn { margin-top: 6px; }
  .nav-toggle { display: block; }
}

/* "Sky Blue Spa & Pool Water Treatment" is 35 characters. Combined with
   white-space: nowrap above, it runs straight off a phone header and shoves the
   menu button off screen — so below 560px the header falls back to the short
   name from data/business.js. The footer keeps the full name; it has the room. */
.brand-name-short { display: none; }

@media (max-width: 560px) {
  .brand-name-full { display: none; }
  .brand-name-short { display: inline; }
}

@media (max-width: 420px) {
  .brand { font-size: 1.05rem; }
  .brand .logo { width: 32px; height: 32px; }
}
