/* ==========================================================================
   Olympic Park Wellness Centre
   Design tokens carried over from the existing brand: navy #205090 with
   emerald accents, gradient section washes, rounded white cards.
   Light-only by design.
   ========================================================================== */

:root {
  /* Brand */
  --navy:          #205090;
  --navy-dark:     #1a4278;
  --navy-darker:   #143459;

  /* Dark gradient triad (slate-900 → slate-800 → emerald-950) */
  --slate-900:     oklch(0.208 0.042 265.755);
  --slate-800:     oklch(0.279 0.041 260.031);
  --emerald-950:   oklch(0.262 0.051 172.552);

  /* Emerald accents */
  --emerald-700:   oklch(0.508 0.118 165.612);
  --emerald-600:   oklch(0.596 0.145 163.225);
  --emerald-100:   oklch(0.95  0.052 163.051);
  --emerald-50:    oklch(0.979 0.021 166.113);

  /* Blue tints */
  --blue-50:       oklch(0.97  0.014 254.604);
  --blue-100:      oklch(0.984 0.003 247.858);
  --blue-200:      oklch(0.932 0.032 255.585);

  /* Neutrals */
  --bg:            #ffffff;
  --surface:       oklch(0.985 0.002 247.839);
  --text:          #6b6375;
  --text-strong:   #4a4453;
  --heading:       #08060d;
  --border:        rgba(0, 0, 0, 0.10);
  --border-soft:   oklch(0.922 0 0);

  /* Shape & depth */
  --radius:        0.625rem;
  --radius-card:   1.5rem;
  --radius-pill:   999px;
  --shadow-sm:     0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md:     0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg:     0 25px 50px -12px rgba(0, 0, 0, 0.18);

  /* Type */
  --sans:          system-ui, "Segoe UI", Roboto, sans-serif;

  /* Rhythm */
  --pad-x:         1.25rem;
  --section-y:     clamp(3.5rem, 7vw, 6rem);
  --maxw:          80rem;

  /* Signature washes */
  --wash-light:    linear-gradient(to bottom right, var(--emerald-50) 0%, #fff 50%, var(--blue-50) 100%);
  --wash-dark:     linear-gradient(to bottom right, var(--slate-900) 0%, var(--slate-800) 50%, var(--emerald-950) 100%);
  --wash-pale:     linear-gradient(to bottom right, var(--blue-50) 0%, var(--blue-200) 100%);
}

/* ── Base ────────────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }

html {
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  color: var(--heading);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.05rem, 1.6vw, 1.2rem); }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-dark); }

ul, ol { margin: 0; padding: 0; list-style: none; }

img, svg { max-width: 100%; }
svg { display: block; }

:focus-visible {
  outline: 3px solid var(--emerald-600);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--navy);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ── Layout primitives ───────────────────────────────────────────────────── */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}
@media (min-width: 768px) { :root { --pad-x: 2rem; } }
@media (min-width: 1024px) { :root { --pad-x: 3rem; } }

.section { padding-block: var(--section-y); position: relative; overflow: hidden; }
.section--wash { background: var(--wash-light); }
.section--surface { background: var(--surface); }

.section-head {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto clamp(2.25rem, 4vw, 3.25rem);
}
.section-head h2 { color: var(--navy); }
.section-head p { font-size: 1.0625rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-pill);
  background: var(--emerald-100);
  color: var(--emerald-700);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 1.25rem;
}
.eyebrow--on-dark {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  backdrop-filter: blur(4px);
}
.eyebrow .dot {
  width: 0.45rem; height: 0.45rem;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--navy-dark); color: #fff; box-shadow: var(--shadow-md); }

.btn--ghost { background: rgba(255, 255, 255, 0.14); color: #fff; border-color: rgba(255, 255, 255, 0.35); backdrop-filter: blur(4px); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.24); color: #fff; }

.btn--outline { background: #fff; color: var(--navy); border-color: var(--border-soft); }
.btn--outline:hover { background: var(--blue-50); color: var(--navy-dark); }

.btn--pill { border-radius: var(--radius-pill); padding-inline: 1.35rem; }
.btn--block { width: 100%; }
.btn--lg { padding: 0.95rem 1.9rem; font-size: 1rem; }

/* ── Header ──────────────────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
}

/* Direct child only — the mobile panel has its own .wrap that must stay block-level. */
.site-header > .wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  margin-right: auto;
}
/* The logo is wider than it is tall — size by height and let width follow, or it
   distorts. `height:auto` would break the reserved aspect box, so set both. */
.brand__mark {
  flex: none;
  width: auto;
  height: 2.75rem;
  max-width: 4.25rem;
  object-fit: contain;
}
.brand__name {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand__name b {
  color: var(--navy);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.brand__name span {
  color: var(--emerald-700);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

/* Click-to-call in the header. Hidden on the smallest screens, where the sticky
   bottom bar carries the same action. */
.header-phone {
  display: none;
  align-items: center;
  gap: 0.45rem;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none;
  white-space: nowrap;
}
.header-phone:hover { color: var(--navy-dark); text-decoration: underline; }
@media (min-width: 560px) { .header-phone { display: inline-flex; } }

.header-cta { display: inline-flex; }

/* ── Hero ────────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  background: var(--wash-dark);
  color: #fff;
  padding-block: clamp(4rem, 10vw, 7.5rem);
  overflow: hidden;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero::before {
  width: 34rem; height: 34rem;
  top: -14rem; right: -10rem;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.28) 0%, transparent 68%);
}
.hero::after {
  width: 30rem; height: 30rem;
  bottom: -16rem; left: -8rem;
  background: radial-gradient(circle, rgba(32, 80, 144, 0.45) 0%, transparent 68%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero__inner { max-width: 46rem; }
.hero h1 { color: #fff; }
.hero__lead {
  font-size: clamp(1.0625rem, 1.7vw, 1.1875rem);
  color: rgba(255, 255, 255, 0.82);
  max-width: 38rem;
  margin-bottom: 2rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* Split hero: pitch on the left, form on the right and above the fold.
   On mobile the order becomes copy → form → proof points, so the conversion
   point is reached without scrolling past a wall of text. */
.hero--split { padding-block: clamp(2rem, 6vw, 4.5rem); }
.hero-grid {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  grid-template-areas:
    "copy"
    "form"
    "ticks";
}
.hero__inner { grid-area: copy; }
.tick-list   { grid-area: ticks; }
.form-card--hero { grid-area: form; }

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    grid-template-areas:
      "copy  form"
      "ticks form";
    align-items: start;
    row-gap: 1.75rem;
  }
  .form-card--hero { align-self: center; }
}

.hero--split .hero__inner { max-width: 34rem; }
.hero--split h1 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.hero--split .hero__lead { margin-bottom: 0; }

.tick-list { display: grid; gap: 0.75rem; }
.tick-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9375rem;
}
.tick-list svg { flex: none; margin-top: 0.2rem; color: var(--emerald-600); }

/* ── Trust strip ─────────────────────────────────────────────────────────── */

.trust-strip {
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 1.25rem;
}
.trust-strip ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  text-align: center;
}
@media (min-width: 720px) { .trust-strip ul { grid-template-columns: repeat(4, 1fr); } }
.trust-strip b {
  display: block;
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.trust-strip span { color: rgba(255, 255, 255, 0.7); font-size: 0.8125rem; }

.chip {
  flex: none;
  width: 2.75rem; height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--emerald-100);
  color: var(--emerald-700);
}

/* ── Steps row ───────────────────────────────────────────────────────────── */

.steps-row {
  display: grid;
  gap: 1.5rem;
  counter-reset: step;
}
@media (min-width: 760px) { .steps-row { grid-template-columns: repeat(3, 1fr); } }
.steps-row li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.steps-row b {
  display: block;
  color: var(--heading);
  font-size: 1.0625rem;
  margin: 1rem 0 0.35rem;
}
.steps-row > li > span:last-child {
  display: block;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.step-num {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.25rem; height: 2.25rem;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
}

/* ── Steps card + paired form ────────────────────────────────────────────── */

.start-grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2rem);
  align-items: start;
}
@media (min-width: 900px) { .start-grid { grid-template-columns: 0.85fr 1fr; } }

.steps-card {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-card);
  padding: clamp(1.75rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-md);
}
.steps-card h3 { color: #fff; font-size: 1.35rem; }
.steps-card > p { color: rgba(255, 255, 255, 0.8); font-size: 0.9375rem; }

.steps { display: grid; gap: 1.25rem; margin-top: 1.75rem; }
.steps li { display: flex; gap: 0.9rem; align-items: flex-start; }
.steps b { display: block; color: #fff; font-size: 0.9375rem; margin-bottom: 0.15rem; }
.steps span { color: rgba(255, 255, 255, 0.78); font-size: 0.875rem; line-height: 1.55; }
/* On the navy card the plain navy pill would disappear — lighten it. */
.steps .step-num { background: rgba(255, 255, 255, 0.16); }

.steps-note {
  margin-top: 1.75rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8125rem;
  text-align: center;
}

/* ── Form card ───────────────────────────────────────────────────────────── */

.form-card {
  background: #fff;
  /* Explicit: the card sits inside .hero, which sets color:#fff — without this
     the intro paragraph inherits white and disappears against the card. */
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: clamp(1.75rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-md);
}
.form-card h3 { font-size: 1.35rem; margin-bottom: 0.35rem; }
.form-card > p { font-size: 0.9375rem; margin-bottom: 1.5rem; }

/* Sits in the hero on a dark ground, so it needs its own lift and a top accent. */
.form-card--hero {
  border: 0;
  box-shadow: var(--shadow-lg);
  scroll-margin-top: 6rem;
}
.form-card--hero::before {
  content: "";
  display: block;
  height: 4px;
  margin: -1.5rem -1.5rem 1.5rem;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  background: linear-gradient(to right, var(--navy) 0%, var(--emerald-600) 100%);
}
@media (min-width: 640px) {
  .form-card--hero::before { margin: -2.25rem -2.25rem 1.75rem; }
}
.form-card--hero h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin-bottom: 0.35rem; }
.form-card--hero > p { font-size: 0.9375rem; margin-bottom: 1.5rem; }

.field-grid { display: grid; gap: 1rem; }
@media (min-width: 560px) { .field-grid { grid-template-columns: 1fr 1fr; } }
.field--full { grid-column: 1 / -1; }

.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--heading);
}
.field label .req { color: var(--emerald-700); margin-left: 0.15rem; }
.field input {
  width: 100%;
  padding: 0.7rem 0.85rem;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--heading);
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s;
}
.field select {
  width: 100%;
  padding: 0.7rem 2.25rem 0.7rem 0.85rem;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--heading);
  background-color: #fff;
  /* Inline SVG chevron — a data: URI, so no external asset request. */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b6375' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  appearance: none;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
}

.field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  font: inherit;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--heading);
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  resize: vertical;
  min-height: 6rem;
  transition: border-color .2s, box-shadow .2s;
}

.field input::placeholder,
.field textarea::placeholder { color: #a9a4b1; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(32, 80, 144, 0.14);
}
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: #c0392b; }
.field .error {
  font-size: 0.75rem;
  color: #c0392b;
  min-height: 1rem;
}

.form-card .btn { margin-top: 1.5rem; }
.form-note {
  margin-top: 1rem;
  font-size: 0.75rem;
  text-align: center;
  color: #8d8797;
}

.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  display: none;
}
.form-status[data-state="ok"] {
  display: block;
  background: var(--emerald-100);
  color: var(--emerald-700);
}
.form-status[data-state="err"] {
  display: block;
  background: #fdecea;
  color: #a5321f;
}

/* ── Service cards ───────────────────────────────────────────────────────── */

/* Two columns on tablet, three on desktop — a fixed count keeps the nine cards
   in a complete grid instead of leaving an orphan on the final row. */
.card-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }

.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--emerald-600);
}
.card .chip { margin-bottom: 1.15rem; }
.card h3 { margin-bottom: 0.5rem; }
.card p { font-size: 0.9375rem; }

.center-cta { text-align: center; margin-top: 2.75rem; }

/* ── Visit / hours ───────────────────────────────────────────────────────── */

.visit-grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
}
@media (min-width: 900px) { .visit-grid { grid-template-columns: 1fr 1fr; } }

.info-card {
  background: var(--wash-pale);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card);
  padding: clamp(1.75rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-sm);
}
.info-card h3 { color: var(--navy); font-size: 1.25rem; margin-bottom: 1.5rem; }

/* Section-level h2 already exists above the grid, so the left column leads with an
   h3 that still needs display weight. */
.contact-h { font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin-bottom: 0.9rem; }
.info-list { display: grid; gap: 1.15rem; }
.info-list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.info-list b { display: block; color: var(--heading); font-size: 0.9375rem; }
.info-list span { font-size: 0.875rem; display: block; }
.info-list a { font-weight: 600; text-decoration: none; }
.info-card .btn { margin-top: 1.75rem; }

.icon-sm {
  flex: none;
  width: 1.75rem; height: 1.75rem;
  display: grid;
  place-items: center;
  color: var(--navy);
}

/* ── Footer ──────────────────────────────────────────────────────────────── */

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
  padding-block: clamp(2.75rem, 5vw, 4rem) 0;
  font-size: 0.9375rem;
}
.footer-grid {
  display: grid;
  gap: 2.25rem;
}
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; } }

.site-footer h4 {
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.site-footer a { color: rgba(255, 255, 255, 0.75); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .brand__name b { color: #fff; }
/* The footer sub-line is a sentence, not the short uppercase label the header uses. */
.site-footer .brand__name span {
  color: rgba(255, 255, 255, 0.65);
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.8125rem;
  font-weight: 400;
  margin-top: 0.15rem;
}
.site-footer .brand { margin-right: 0; }

.footer-about p { font-size: 0.875rem; color: rgba(255, 255, 255, 0.7); margin-top: 1.15rem; max-width: 30rem; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-contact li { margin-bottom: 0.6rem; font-size: 0.875rem; }

.footer-bottom {
  margin-top: 2.75rem;
  padding-block: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.65);
}

/* ── Policy prose (inside modals) ────────────────────────────────────────── */

.prose {
  max-width: 48rem;
  margin-inline: auto;
}
.prose h2 {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  color: var(--navy);
  margin-top: 2.75rem;
}
.prose h2:first-of-type { margin-top: 0; }
.prose h3 { font-size: 1rem; margin-top: 1.75rem; margin-bottom: 0.5rem; }
.prose ul { list-style: disc; padding-left: 1.35rem; margin: 0 0 1rem; }
.prose ul li { margin-bottom: 0.45rem; }
.prose .callout {
  background: var(--emerald-50);
  border-left: 3px solid var(--emerald-600);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-size: 0.9375rem;
}
.prose .contact-block {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  margin-top: 1rem;
}
.prose .contact-block b { color: var(--heading); }

/* ── Slim footer ─────────────────────────────────────────────────────────── */

.site-footer--slim { padding-block: 2.25rem 0; }
.footer-slim {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  justify-content: space-between;
}
.footer-slim p { font-size: 0.875rem; color: rgba(255, 255, 255, 0.72); }

/* Buttons that read as links — used for the policy modals so the page keeps a
   single URL while the policies stay one click away. */
.linkish {
  padding: 0;
  background: none;
  border: 0;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.linkish:hover { color: #fff; }
.prose .linkish { color: var(--navy); font-weight: 600; }

/* ── Map embed ───────────────────────────────────────────────────────────── */

.map-wrap {
  margin-top: clamp(2rem, 4vw, 3rem);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 16 / 7;
  min-height: 15rem;
  background: var(--surface);
}
.map-wrap iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 640px) { .map-wrap { aspect-ratio: 4 / 3; } }

/* ── Floating WhatsApp button ────────────────────────────────────────────── */

.wa-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.5rem;
  z-index: 95;
  display: grid;
  place-items: center;
  width: 3.5rem; height: 3.5rem;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.24);
  transition: transform .2s, box-shadow .2s;
}
.wa-fab:hover {
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}
/* Clear the sticky Call / Book bar on small screens. */
@media (max-width: 719px) { .wa-fab { bottom: 5.25rem; } }

/* ── Sticky mobile action bar ────────────────────────────────────────────── */

.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 0.6rem;
  padding: 0.7rem var(--pad-x) calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-soft);
}
@media (min-width: 720px) { .mobile-bar { display: none; } }
/* Clear the bar so it never covers the end of the page. */
@media (max-width: 719px) { body { padding-bottom: 4.75rem; } }

/* ── Policy modals ───────────────────────────────────────────────────────── */

.modal {
  width: min(46rem, calc(100vw - 2rem));
  max-height: min(85vh, 52rem);
  padding: 0;
  border: 0;
  border-radius: var(--radius-card);
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.modal::backdrop { background: rgba(8, 6, 13, 0.55); backdrop-filter: blur(2px); }
.modal[open] { display: flex; flex-direction: column; }

.modal__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.5rem;
  border-bottom: 1px solid var(--border-soft);
  background: #fff;
}
.modal__bar h2 { margin: 0; font-size: 1.25rem; color: var(--navy); }

.modal__close {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.25rem; height: 2.25rem;
  padding: 0;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  color: var(--heading);
  cursor: pointer;
}
.modal__close:hover { background: var(--surface); }

.modal__body {
  overflow-y: auto;
  padding: 1.75rem 1.5rem 2.25rem;
  font-size: 0.9375rem;
}
.modal__body h3 { font-size: 1.0625rem; color: var(--navy); margin-top: 2rem; }
.modal__body h3:first-of-type { margin-top: 0; }
.modal__body h4 { font-size: 0.9375rem; margin: 1.25rem 0 0.4rem; }

/* ── Scroll reveal ───────────────────────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .btn:hover, .card:hover { transform: none; }
}
