/* ============================================================
   Kai Lomi Massage & Wellness — demo site styles
   Design system (frozen): tokens + shared components.
   ------------------------------------------------------------
   NOTE FOR REUSE (Harborframe): to re-skin for another client,
   change the tokens under :root (colors, radius, fonts) and the
   content in the HTML / demo-data.js. Do not fork this file per
   page — all pages share these classes.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Spa palette: harbor teal + warm sand + soft gold */
  --sand-50:  #faf7f1;
  --sand-100: #f3ecdf;
  --sand-200: #e9ddc8;
  --sand-300: #ddccae;

  --teal-900: #0d3438;
  --teal-800: #114247;
  --teal-700: #155b61;   /* primary */
  --teal-600: #1a6f76;
  --teal-500: #2b898f;
  --teal-100: #d6e8e7;

  --gold-600: #b8873a;
  --gold-500: #c99a4b;   /* accent */
  --gold-100: #f0e2c6;
  --gold-700: #8a6425;   /* AA text on sand backgrounds */
  --gold-800: #7a5716;   /* AA text inside gold/warn pills */
  --gold-on-teal: #d9ab5e; /* AA gold text on teal backgrounds */

  --ink:      #20292b;
  --body:     #37474b;
  --muted:    #54646a;
  --line:     #e7e0d3;
  --white:    #ffffff;

  /* Status (used lightly on customer pages, more on dashboard) */
  --ok:    #2f9e6b;
  --warn:  #c98a2b;
  --danger:#c15a4a;
  --info:  #3b7dd8;

  /* Radius / shadow / layout */
  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(20,40,45,.06), 0 1px 3px rgba(20,40,45,.08);
  --shadow:    0 6px 18px rgba(20,50,55,.08), 0 2px 6px rgba(20,50,55,.06);
  --shadow-lg: 0 20px 45px rgba(15,45,50,.14);

  --container: 1120px;
  --gutter: clamp(16px, 4vw, 28px);

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", sans-serif;
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;

  --header-h: 68px;
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--body);
  background: var(--sand-50);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--teal-700); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.15; font-weight: 600; margin: 0 0 .4em; letter-spacing: .1px; }
h1 { font-size: clamp(2rem, 5.2vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.45rem); }
p  { margin: 0 0 1rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding: clamp(48px, 8vw, 96px) 0; }
.section--tight { padding: clamp(32px, 5vw, 56px) 0; }
.section--tint { background: var(--sand-100); }
.section--teal { background: var(--teal-800); color: #e8f1f0; }
.section--teal h2, .section--teal h3 { color: #fff; }

.eyebrow {
  display: inline-block; font-family: var(--font-sans); font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; font-size: .74rem;
  color: var(--gold-700); margin-bottom: .8rem;
}
.section--teal .eyebrow, .cta-band .eyebrow { color: var(--gold-on-teal); }
.lead { font-size: clamp(1.05rem, 2vw, 1.22rem); color: var(--body); }
.section-head { max-width: 640px; margin-bottom: clamp(24px, 4vw, 44px); }
.section-head.center { margin-inline: auto; text-align: center; }
.muted { color: var(--muted); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }

/* Anchored targets clear the sticky header */
[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

/* Visually hidden (screen-reader only) */
.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 */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--teal-800); color: #fff; padding: 10px 16px; border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

/* Focus visibility */
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 2px; border-radius: 4px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-weight: 600; font-size: 1rem; line-height: 1; text-align: center;
  padding: 14px 22px; border-radius: var(--r-pill); border: 1.5px solid transparent;
  cursor: pointer; transition: transform .12s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  min-height: 48px; text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--teal-700); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--teal-800); color: #fff; box-shadow: var(--shadow); }
.btn-gold { background: var(--gold-500); color: #2a2410; }
.btn-gold:hover { background: var(--gold-600); color: #241f0d; }
.btn-outline { background: transparent; color: var(--teal-800); border-color: var(--teal-700); }
.btn-outline:hover { background: var(--teal-700); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--sand-100); color: var(--ink); }
.btn-block { display: flex; width: 100%; }
.btn-sm { padding: 9px 16px; min-height: 40px; font-size: .92rem; }
.btn-lg { padding: 16px 30px; font-size: 1.08rem; }
.on-teal.btn-outline { color: #fff; border-color: rgba(255,255,255,.6); }
.on-teal.btn-outline:hover { background: #fff; color: var(--teal-800); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,247,241,.85);
  -webkit-backdrop-filter: saturate(1.2) blur(10px); backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent; transition: box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); background: rgba(250,247,241,.95); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand .brand-mark { width: 34px; height: 34px; flex: none; }
.brand small { display: block; font-family: var(--font-sans); font-weight: 500; font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a:not(.btn) { color: var(--ink); font-weight: 500; font-size: .98rem; padding: 8px 12px; border-radius: var(--r-sm); }
.nav-links a:not(.btn):hover { background: var(--sand-100); text-decoration: none; }
.nav-links a:not(.btn)[aria-current="page"] { color: var(--teal-700); }
.nav-cta { margin-left: 8px; }
.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--white); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch;
    gap: 2px; background: var(--sand-50); border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 20px; box-shadow: var(--shadow); transform: translateY(-8px);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
  }
  .nav-links.is-open { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
  .nav-links a:not(.btn) { padding: 13px 12px; font-size: 1.05rem; border-radius: var(--r-sm); }
  .nav-links .nav-cta { margin: 8px 0 0; }
  .nav-links .nav-cta .btn { width: 100%; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--teal-800); color: #eaf3f1; }
.hero::after { /* subtle wave motif */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background:
    radial-gradient(1200px 400px at 80% -10%, rgba(201,154,75,.18), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(43,137,143,.35), transparent 60%);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 5vw, 56px); align-items: center; padding-block: clamp(48px, 7vw, 92px); }
.hero h1 { color: #fff; }
.hero p { color: #d7e6e3; font-size: clamp(1.05rem, 2vw, 1.22rem); max-width: 46ch; }
.hero .eyebrow { color: var(--gold-on-teal); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 18px 26px; margin-top: 30px; font-size: .92rem; color: #cfe2df; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-media { position: relative; }
.hero-media img, .hero-media .media-frame {
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4/5; width: 100%; object-fit: cover;
}
.media-frame { background: linear-gradient(160deg, var(--teal-600), var(--teal-900)); position: relative; overflow: hidden; }
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; text-align: left; }
  .hero-media { max-width: 420px; }
}

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: clamp(16px, 3vw, 28px); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.card--pad { padding: clamp(20px, 3vw, 28px); }
.card-body { padding: clamp(18px, 3vw, 26px); }
.card-media { aspect-ratio: 3/2; width: 100%; object-fit: cover; background: var(--sand-200); }

/* Service card */
.service-card { display: flex; flex-direction: column; }
.service-card .card-body { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.service-card .card-body .pill { align-self: flex-start; }
.service-card h3 { margin-bottom: 2px; }
.service-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 12px; }
.price { font-family: var(--font-display); font-size: 1.35rem; color: var(--teal-800); font-weight: 600; }
.price small { font-family: var(--font-sans); font-size: .8rem; color: var(--muted); font-weight: 500; }
.duration { font-size: .9rem; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }

/* Feature (icon + text) */
.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature .ficon {
  flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--teal-100); color: var(--teal-800);
}
.feature .ficon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.12rem; margin-bottom: 4px; }
.feature p { margin: 0; font-size: .97rem; color: var(--muted); }
.section--teal .feature .ficon { background: rgba(255,255,255,.12); color: #fff; }
.section--teal .feature p { color: #cfe2df; }

/* Therapist card */
.therapist-card { text-align: center; }
.therapist-card .avatar { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--sand-200); }
.therapist-card .card-body { text-align: left; }
.therapist-card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }

/* Pills / badges */
.pill {
  display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600;
  padding: 4px 11px; border-radius: var(--r-pill); background: var(--sand-100); color: var(--body); border: 1px solid var(--line);
}
.pill--teal { background: var(--teal-100); color: var(--teal-800); border-color: transparent; }
.pill--gold { background: var(--gold-100); color: var(--gold-800); border-color: transparent; }
.pill--ok { background: #e2f3ea; color: #1f7a52; border-color: transparent; }
.pill--warn { background: #f7ecd6; color: var(--gold-800); border-color: transparent; }
.pill--danger { background: #f6e0dc; color: #a1402f; border-color: transparent; }
.pill--info { background: #e0ebf9; color: #2a5fae; border-color: transparent; }

/* Stars */
.stars { display: inline-flex; gap: 2px; color: var(--gold-500); }
.stars svg { width: 18px; height: 18px; }

/* Review card */
.review { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.review p { font-size: 1.02rem; color: var(--ink); }
.review .review-by { display: flex; align-items: center; gap: 12px; margin-top: 14px; font-size: .92rem; }
.review .review-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--teal-100); color: var(--teal-800); display: grid; place-items: center; font-weight: 700; }

/* ---------- Forms ---------- */
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .92rem; color: var(--ink); margin-bottom: 6px; }
.field .req { color: var(--danger); }
.input, .field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  background: var(--white); transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal-500); box-shadow: 0 0 0 3px rgba(43,137,143,.15);
}
.field .help { font-size: .84rem; color: var(--muted); margin-top: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- Callout / banner ---------- */
.banner {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: var(--r);
  background: var(--gold-100); border: 1px solid var(--gold-500); color: #6d5321; font-size: .95rem;
}
.banner svg { flex: none; width: 20px; height: 20px; margin-top: 2px; }
.callout { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--gold-500); border-radius: var(--r); padding: 22px 24px; box-shadow: var(--shadow-sm); }

/* CTA band */
.cta-band { background: linear-gradient(150deg, var(--teal-700), var(--teal-900)); color: #eaf3f1; border-radius: var(--r-lg); padding: clamp(28px, 5vw, 52px); text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band .btn-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-900); color: #b9d0cd; padding: clamp(40px, 6vw, 64px) 0 28px; }
.site-footer a { color: #dcece9; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-family: var(--font-sans); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .95rem; }
.footer-brand .brand { color: #fff; }
.footer-brand .brand small { color: #9dbdb9; }
.footer-brand p { color: #a9c6c2; font-size: .95rem; margin-top: 12px; max-width: 34ch; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 34px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: .85rem; color: #8fb0ac; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(250,247,241,.96);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 20px rgba(15,45,50,.08);
}
.sticky-cta .btn { width: 100%; }
/* Only pad pages that actually render the sticky bar (book/dashboard don't) */
@media (max-width: 860px) {
  .sticky-cta { display: block; }
  body.has-sticky-cta, body:has(.sticky-cta) { padding-bottom: 76px; }
}

/* ---------- Misc ---------- */
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.stack > * + * { margin-top: 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.list-check { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.list-check li { display: flex; gap: 12px; align-items: flex-start; }
.list-check svg { flex: none; width: 22px; height: 22px; color: var(--teal-600); margin-top: 2px; }
.section--teal .list-check svg { color: var(--gold-500); }

/* ---------- Placeholder media (swap for real photos in assets/img) ---------- */
/* Each service/photo slot is a tasteful gradient until real images are dropped in.
   To use a real photo: replace the element's background with the image, or set
   .svc-media { background-image: url("../img/your-photo.jpg"); background-size: cover; }
   (url() resolves relative to this stylesheet, hence the ../img/ prefix) */
.svc-media, .photo-ph { position: relative; overflow: hidden; background: linear-gradient(150deg, var(--teal-600), var(--teal-900)); }
.svc-media::before, .photo-ph::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(140px 90px at 82% 18%, rgba(201,154,75,.38), transparent 70%),
    radial-gradient(180px 140px at 12% 92%, rgba(255,255,255,.14), transparent 70%);
}
.svc-lomilomi { background: linear-gradient(150deg, #1a6f76, #0d3438); }
.svc-deep     { background: linear-gradient(150deg, #155b61, #103a3f); }
.svc-swedish  { background: linear-gradient(150deg, #2b898f, #14565c); }
.svc-hotstone { background: linear-gradient(150deg, #b8873a, #6f4a1c); }
.svc-prenatal { background: linear-gradient(150deg, #5f938a, #2c5d55); }
.svc-couples  { background: linear-gradient(150deg, #4a7d84, #123f44); }

/* Therapist avatar placeholder (initials on gradient)
   (doubled class beats `.therapist-card .avatar` specificity) */
.avatar-ph.avatar-ph { display: grid; place-items: center; color: #eaf3f1; background: linear-gradient(150deg, var(--teal-600), var(--teal-900)); }
.avatar-ph span { font-family: var(--font-display); font-size: clamp(2.2rem, 6vw, 3.2rem); font-weight: 600; letter-spacing: .04em; }

/* Floating rating badge on hero media */
.media-badge {
  position: absolute; left: 16px; bottom: 16px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.95); color: var(--ink);
  padding: 8px 13px; border-radius: var(--r-pill); box-shadow: var(--shadow); font-size: .86rem;
}
.media-badge .stars svg { width: 15px; height: 15px; }

/* Numbered step */
.step-num {
  width: 46px; height: 46px; border-radius: 50%; margin: 0 auto 14px;
  display: grid; place-items: center; font-family: var(--font-display);
  font-size: 1.35rem; font-weight: 600; color: #fff; background: var(--teal-700);
}

/* Simple table (services pricing, dashboard falls back to its own) */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--r); }
table.table { width: 100%; border-collapse: collapse; min-width: 480px; background: var(--white); }
table.table th, table.table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); }
table.table th { font-family: var(--font-sans); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--sand-50); }
table.table tr:last-child td { border-bottom: 0; }
table.table td .price { font-size: 1.05rem; }

/* ---------- Price list (service cards) ---------- */
.price-list { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 6px; }
.price-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: .95rem; border-bottom: 1px dashed var(--line); padding-bottom: 6px; }
.price-list li:last-child { border-bottom: 0; }
.price-list .dur { color: var(--muted); }
.price-list .amt { font-family: var(--font-display); font-weight: 600; color: var(--teal-800); font-size: 1.05rem; }

/* ---------- Info / hours rows (contact) ---------- */
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.info-list li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.info-list li:last-child { border-bottom: 0; }
.info-list .k { color: var(--muted); }
.info-list .v { font-weight: 600; color: var(--ink); }
.icon-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.icon-row svg { flex: none; width: 22px; height: 22px; color: var(--teal-600); margin-top: 3px; }
.icon-row h3 { font-size: 1.1rem; margin-bottom: 2px; }
.icon-row p, .icon-row a { margin: 0; }

/* ---------- Map embed ---------- */
.map-embed { position: relative; width: 100%; aspect-ratio: 16/10; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: var(--sand-200); }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Page header (interior pages) ---------- */
.page-head { background: var(--teal-800); color: #eaf3f1; padding: clamp(40px, 6vw, 72px) 0; position: relative; overflow: hidden; }
.page-head::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: radial-gradient(900px 300px at 85% -20%, rgba(201,154,75,.16), transparent 60%),
              radial-gradient(700px 400px at -10% 120%, rgba(43,137,143,.35), transparent 60%); }
.page-head .container { position: relative; z-index: 1; }
.page-head h1 { color: #fff; margin-bottom: .3em; }
.page-head p { color: #cfe2df; max-width: 52ch; margin: 0; font-size: clamp(1.02rem, 2vw, 1.15rem); }
.page-head .eyebrow { color: var(--gold-on-teal); }

/* ============================================================
   Booking wizard (book.html)
   ============================================================ */
.wizard { max-width: 720px; margin-inline: auto; }
.wiz-progress { display: flex; align-items: center; gap: 0; margin-bottom: 28px; }
.wiz-progress .stepdot { display: flex; align-items: center; gap: 10px; flex: 1; }
.wiz-progress .stepdot:last-child { flex: 0; }
.wiz-progress .num {
  width: 32px; height: 32px; border-radius: 50%; flex: none; display: grid; place-items: center;
  font-weight: 700; font-size: .9rem; background: var(--sand-200); color: var(--muted); border: 2px solid transparent;
}
.wiz-progress .lbl { font-size: .82rem; color: var(--muted); white-space: nowrap; }
.wiz-progress .bar { height: 2px; background: var(--line); flex: 1; margin: 0 10px; }
.wiz-progress .stepdot.is-active .num { background: var(--teal-700); color: #fff; }
.wiz-progress .stepdot.is-done .num { background: var(--teal-100); color: var(--teal-800); }
.wiz-progress .stepdot.is-active .lbl { color: var(--ink); font-weight: 600; }
@media (max-width: 640px) { .wiz-progress .lbl { display: none; } .wiz-progress .bar { margin: 0 6px; } }

.wiz-step { display: none; }
.wiz-step.is-current { display: block; animation: fadeIn .25s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.wiz-step h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); }

/* Selectable option tiles (services / therapists / duration) */
.opt-grid { display: grid; gap: 12px; }
.opt-grid.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .opt-grid.two { grid-template-columns: 1fr; } }
.opt {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; cursor: pointer;
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r); padding: 16px 18px;
  transition: border-color .12s ease, box-shadow .12s ease, background .12s ease;
}
.opt:hover { border-color: var(--teal-500); }
.opt.is-selected { border-color: var(--teal-700); background: #f2f8f7; box-shadow: 0 0 0 3px rgba(43,137,143,.12); }
.opt .opt-main { flex: 1; }
.opt .opt-title { font-weight: 600; color: var(--ink); }
.opt .opt-sub { font-size: .88rem; color: var(--muted); }
.opt .opt-price { font-family: var(--font-display); font-weight: 600; color: var(--teal-800); font-size: 1.1rem; }
.opt .opt-check { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); flex: none; display: grid; place-items: center; color: #fff; }
.opt.is-selected .opt-check { background: var(--teal-700); border-color: var(--teal-700); }
.opt .opt-check svg { width: 14px; height: 14px; opacity: 0; }
.opt.is-selected .opt-check svg { opacity: 1; }

/* Date + time slots */
.slot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (max-width: 560px) { .slot-grid { grid-template-columns: repeat(3, 1fr); } }
.slot {
  padding: 12px 8px; text-align: center; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  background: var(--white); cursor: pointer; font-weight: 600; color: var(--ink); font-size: .95rem;
}
.slot:hover { border-color: var(--teal-500); }
.slot.is-selected { background: var(--teal-700); color: #fff; border-color: var(--teal-700); }
.slot:disabled { opacity: .4; cursor: not-allowed; }
.day-pills { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 18px; }
.day-pill { flex: none; padding: 10px 14px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--white); cursor: pointer; text-align: center; line-height: 1.2; }
.day-pill small { display: block; font-size: .72rem; color: var(--muted); }
.day-pill.is-selected { background: var(--teal-100); border-color: var(--teal-700); color: var(--teal-900); }
.day-pill.is-selected small { color: var(--teal-700); }

.wiz-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.wiz-nav .btn { min-width: 120px; }

.summary { background: var(--sand-100); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; }
.summary-line { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.summary-line:last-child { border-bottom: 0; }
.summary-line .k { color: var(--muted); }
.summary-line .v { font-weight: 600; color: var(--ink); text-align: right; }
.summary-total { display: flex; justify-content: space-between; margin-top: 10px; padding-top: 12px; border-top: 2px solid var(--line); font-family: var(--font-display); font-size: 1.25rem; color: var(--teal-800); }

/* Confirmation */
.confirm-card { text-align: center; max-width: 560px; margin-inline: auto; }
.confirm-icon { width: 72px; height: 72px; border-radius: 50%; background: #e2f3ea; color: var(--ok); display: grid; place-items: center; margin: 0 auto 18px; }
.confirm-icon svg { width: 38px; height: 38px; }
.confirm-code { display: inline-block; font-family: var(--font-display); font-size: 1.3rem; letter-spacing: .12em; background: var(--white); border: 1px dashed var(--teal-500); border-radius: var(--r-sm); padding: 8px 18px; margin: 6px 0 4px; color: var(--teal-800); }
