/* =====================================================================
   Surf Coast Physio & Movement — B3 (Professional tier demo)
   Editorial-calm health brand. Vanilla CSS, custom properties.
   ===================================================================== */

/* ---- Tokens --------------------------------------------------------- */
:root {
  --bg:        #eef2ea;  /* pale sage off-white — never #fff */
  --surface:   #f8faf5;
  --surface-2: #e6ecdf;
  --fg:        #3f463c;  /* soft charcoal-green body */
  --fg-soft:   #6a7163;
  --heading:   #2b3327;
  --accent:    #6f8f6a;  /* muted sage — CTAs, links */
  --accent-deep:#5a7857;
  --accent-2:  #c8a98a;  /* warm sand — secondary / decoration */
  --rule:      #dde3d6;

  /* dark-sage section (the one re-themed surface) */
  --dark-bg:   #2b3327;
  --dark-surface:#343d2f;
  --dark-fg:   #d6ddcd;
  --dark-rule: #45503d;

  --ease-brand: cubic-bezier(.16, 1, .3, 1);

  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;

  --ff-head: 'Fraunces', Georgia, 'Times New Roman', serif;
  --ff-body: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --shadow-1: 0 1px 2px rgba(43,51,39,.04), 0 8px 24px rgba(43,51,39,.05);
  --shadow-2: 0 2px 6px rgba(43,51,39,.06), 0 20px 50px rgba(43,51,39,.10);
}

/* ---- Reset ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--ff-body);
  font-weight: 400;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

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

.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--heading); color: #fff;
  padding: 10px 16px; border-radius: var(--r-sm); z-index: 200;
  transition: top .2s var(--ease-brand);
}
.skip-link:focus { top: 12px; }

/* ---- Typography ----------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--ff-head);
  font-weight: 400;
  color: var(--heading);
  line-height: 1.08;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.h-display { font-size: clamp(2.7rem, 7vw, 5.4rem); letter-spacing: -.035em; }
h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
h4 { font-size: 1.12rem; font-weight: 500; }
p { text-wrap: pretty; }

.lead {
  font-size: clamp(1.12rem, 1.7vw, 1.4rem);
  line-height: 1.5;
  color: var(--fg);
  max-width: 38ch;
}

/* lowercase numbered section label — the quiet editorial system */
.eyebrow {
  font-family: var(--ff-body);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: lowercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: .55em;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--accent-2);
}
.eyebrow .num { font-variant-numeric: tabular-nums; color: var(--accent-2); }

.muted { color: var(--fg-soft); }

/* ---- Layout --------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 130px); }
.section--tight { padding-block: clamp(48px, 6vw, 88px); }
.stack > * + * { margin-top: 1.1rem; }
.grid { display: grid; gap: clamp(24px, 4vw, 56px); }

@media (min-width: 860px) {
  .cols-2 { grid-template-columns: repeat(2, 1fr); }
  .cols-3 { grid-template-columns: repeat(3, 1fr); }
  /* asymmetric oevra pairing */
  .split-7-5 { grid-template-columns: 7fr 5fr; align-items: center; }
  .split-5-7 { grid-template-columns: 5fr 7fr; align-items: center; }
}
@media (max-width: 859px) {
  .cols-3 { grid-template-columns: 1fr; }
  .order-img-first { display: flex; flex-direction: column-reverse; }
}

.section--surface { background: var(--surface); }
.section--alt { background: var(--surface-2); }

/* dark re-themed section */
.section--sage {
  background: var(--dark-bg);
  color: var(--dark-fg);
}
.section--sage h1, .section--sage h2, .section--sage h3, .section--sage h4 { color: #fff; }
.section--sage .eyebrow { color: var(--accent-2); }
.section--sage .lead { color: var(--dark-fg); }
.section--sage .muted { color: #9fa893; }

/* ---- Header / nav --------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.1) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease-brand), background .3s var(--ease-brand);
}
.site-header.is-scrolled {
  border-bottom-color: var(--rule);
  background: color-mix(in srgb, var(--bg) 94%, transparent);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; height: 76px;
}
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand__mark { width: 34px; height: 34px; flex-shrink: 0; }
.brand__name {
  font-family: var(--ff-head);
  font-size: 1.18rem;
  color: var(--heading);
  line-height: 1.05;
  letter-spacing: -.01em;
}
.brand__name small { display: block; font-family: var(--ff-body); font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); font-weight: 500; }

.nav__menu { display: flex; align-items: center; gap: 4px; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px; border-radius: 999px;
  font-size: .96rem; color: var(--fg);
  transition: background .2s var(--ease-brand), color .2s var(--ease-brand);
}
.nav__link:hover, .nav__link[aria-current="page"] { background: var(--surface-2); color: var(--heading); }
.nav__link[aria-current="page"] { color: var(--accent-deep); }

/* dropdown */
.has-drop { position: relative; }
.drop__btn svg { transition: transform .25s var(--ease-brand); }
.has-drop[data-open="true"] .drop__btn svg { transform: rotate(180deg); }
.drop__panel {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 250px; background: var(--surface);
  border: 1px solid var(--rule); border-radius: var(--r-md);
  box-shadow: var(--shadow-2); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s var(--ease-brand), transform .2s var(--ease-brand), visibility .2s;
}
.has-drop[data-open="true"] .drop__panel { opacity: 1; visibility: visible; transform: none; }
.drop__panel a {
  display: block; padding: 11px 13px; border-radius: var(--r-sm);
  font-size: .95rem; transition: background .15s var(--ease-brand);
}
.drop__panel a small { display: block; color: var(--fg-soft); font-size: .8rem; }
.drop__panel a:hover { background: var(--surface-2); }

.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__toggle { display: none; }

/* mobile nav */
@media (max-width: 1024px) {
  .nav__toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border: 1px solid var(--rule);
    background: var(--surface); border-radius: var(--r-sm);
  }
  .nav__menu {
    position: fixed; inset: 76px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--surface); border-bottom: 1px solid var(--rule);
    padding: 14px var(--gutter) 24px;
    box-shadow: var(--shadow-2);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform .28s var(--ease-brand), opacity .28s var(--ease-brand), visibility .28s;
  }
  .nav__menu.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__link { padding: 13px 14px; font-size: 1.05rem; }
  .drop__panel {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; background: transparent; padding: 0 0 0 14px;
    display: none;
  }
  .has-drop[data-open="true"] .drop__panel { display: block; }
  .ghost-md { display: none; }
}
@media (min-width: 1025px) { .mobile-only { display: none !important; } }

/* ---- Buttons -------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: 999px;
  font-size: .98rem; font-weight: 500; letter-spacing: .005em;
  border: 1px solid transparent;
  transition: transform .18s var(--ease-brand), background .2s var(--ease-brand), box-shadow .2s var(--ease-brand), border-color .2s var(--ease-brand);
}
.btn svg { width: 17px; height: 17px; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 1px 0 var(--accent-deep); }
.btn--primary:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(90,120,87,.32); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost { border-color: var(--rule); color: var(--heading); background: transparent; }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-deep); background: var(--surface); }
.btn--light { background: #fff; color: var(--heading); }
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,0,0,.18); }
.btn--lg { padding: 16px 30px; font-size: 1.05rem; }
.btn--block { width: 100%; }

.textlink {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--accent-deep); font-weight: 500;
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  padding-bottom: 2px;
  transition: gap .2s var(--ease-brand), border-color .2s var(--ease-brand);
}
.textlink svg { width: 15px; height: 15px; transition: transform .2s var(--ease-brand); }
.textlink:hover { border-color: var(--accent); }
.textlink:hover svg { transform: translateX(3px); }

/* ---- Image placeholders (striped / gradient — no stock) ------------- */
.ph {
  position: relative; overflow: hidden;
  border-radius: var(--r-lg);
  background:
    repeating-linear-gradient(135deg, rgba(111,143,106,.10) 0 14px, rgba(111,143,106,.04) 14px 28px),
    linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--rule);
  display: flex; align-items: flex-end;
  min-height: 240px;
  isolation: isolate;
}
.ph::after {
  content: attr(data-label);
  font-family: var(--ff-body);
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent-deep);
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 6px 12px; margin: 16px;
}
.ph--tall { min-height: 480px; }
.ph--wide { min-height: 360px; }
.ph--sand {
  background:
    repeating-linear-gradient(135deg, rgba(200,169,138,.16) 0 14px, rgba(200,169,138,.05) 14px 28px),
    linear-gradient(160deg, #ece1d3, #f4ece0);
}
.ph--round { border-radius: 50%; }

/* live Google Maps embed — fills the same slot as the old placeholder */
.map-embed {
  display: block; width: 100%; height: 100%;
  min-height: 360px; border: 1px solid var(--rule);
  border-radius: var(--r-lg);
}

/* real images dropped into placeholder slots — inherit shape + reveal */
.ph-img {
  display: block; width: 100%; height: auto;
  object-fit: cover;
  border-radius: var(--r-lg);
  border: 1px solid var(--rule);
}
.ph-img.ph--round { border-radius: 50%; aspect-ratio: 1 / 1; }
.hero__media .ph-img { width: 100%; height: auto; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: center 34%; }
.person .ph-img { margin-bottom: 18px; aspect-ratio: 1 / 1; }
.site-footer .ph-img { border-color: var(--dark-rule); }

/* ---- Reveal animations (JS-gated, reduced-motion safe) -------------- */
html.js .reveal { opacity: 0; transform: translateY(28px); }
html.js .reveal { transition: opacity 1.15s var(--ease-brand), transform 1.15s var(--ease-brand), filter 1.15s var(--ease-brand); }
html.js .reveal.is-visible { opacity: 1; transform: none; }
html.js .reveal[data-delay="1"] { transition-delay: .09s; }
html.js .reveal[data-delay="2"] { transition-delay: .18s; }
html.js .reveal[data-delay="3"] { transition-delay: .27s; }
html.js .reveal[data-delay="4"] { transition-delay: .36s; }
html.js .reveal[data-delay="5"] { transition-delay: .45s; }
html.js .reveal[data-delay="6"] { transition-delay: .54s; }

/* hero intro — sequential load animation (above the fold, pure CSS) */
@keyframes heroRise {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
/* hero intro — sequential load animation, JS-triggered + failsafe */
.hero-head .hero-anim { display: block; }
html.js .hero-anim { opacity: 0; }
html.js .hero-anim.play { animation: heroRise 1.2s var(--ease-brand) forwards; animation-delay: var(--d, 0s); }
@media (prefers-reduced-motion: reduce) {
  html.js .hero-anim { opacity: 1 !important; animation: none !important; }
}

/* film-develop: placeholder sharpens into focus */
html.js .develop { opacity: 0; filter: blur(14px) saturate(.6); transform: scale(1.04); }
html.js .develop { transition: opacity 1.6s var(--ease-brand), filter 1.6s var(--ease-brand), transform 1.6s var(--ease-brand); }
html.js .develop.is-visible { opacity: 1; filter: none; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html.js .reveal, html.js .develop {
    opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important;
  }
}

/* ---- Hero (silent b-roll calm) -------------------------------------- */
.hero { position: relative; padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(56px, 8vw, 120px); overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 90% at 80% 0%, rgba(200,169,138,.18), transparent 55%),
    radial-gradient(100% 80% at 10% 100%, rgba(111,143,106,.16), transparent 55%);
}
.hero__bg::before {
  content: ""; position: absolute; inset: -20%;
  background: radial-gradient(closest-side, rgba(111,143,106,.10), transparent);
  filter: blur(6px);
  animation: drift 24s ease-in-out infinite alternate;
}
@keyframes drift {
  0%   { transform: translate3d(-4%, -2%, 0) scale(1.05); }
  100% { transform: translate3d(5%, 3%, 0) scale(1.12); }
}
@media (prefers-reduced-motion: reduce) { .hero__bg::before { animation: none; } }

.hero__grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 980px) { .hero__grid { grid-template-columns: 1.05fr .95fr; } }

.hero__media { position: relative; }
.hero__media .ph { min-height: 520px; }
.hero__badge {
  position: absolute; left: 18px; bottom: 18px;
  background: var(--surface); border: 1px solid var(--rule);
  border-radius: var(--r-md); padding: 12px 16px; box-shadow: var(--shadow-1);
  display: flex; align-items: center; gap: 11px; z-index: 2;
}

/* live "open now" style dot */
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); position: relative; flex-shrink: 0; }
.dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--accent); animation: ping 2.4s var(--ease-brand) infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(1.8); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .dot::after { animation: none; } }

/* ---- Cards ---------------------------------------------------------- */
.card {
  background: var(--surface); border: 1px solid var(--rule);
  border-radius: var(--r-lg); padding: 28px;
  transition: transform .3s var(--ease-brand), box-shadow .3s var(--ease-brand), border-color .3s var(--ease-brand);
}
.card--link:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); border-color: color-mix(in srgb, var(--accent) 40%, var(--rule)); }
.card__num { font-family: var(--ff-head); font-size: 1rem; color: var(--accent-2); }
.card h3 { margin-top: 14px; }
.card p { margin-top: 9px; color: var(--fg-soft); }
.card__foot { margin-top: 20px; }

.icon-badge {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 14%, var(--surface));
  color: var(--accent-deep); border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--rule));
}
.icon-badge svg { width: 24px; height: 24px; }

/* practitioner card */
.person { text-align: left; }
.person .ph { min-height: 320px; margin-bottom: 18px; }
.person h3 { font-size: 1.35rem; }
.person .role { color: var(--accent-deep); font-weight: 500; font-size: .95rem; margin-top: 4px; }
.person .quals { color: var(--fg-soft); font-size: .9rem; margin-top: 2px; }

/* feature list with ticks */
.ticks { display: grid; gap: 13px; }
.ticks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.ticks .tick {
  width: 24px; height: 24px; border-radius: 50%; margin-top: 2px;
  background: color-mix(in srgb, var(--accent) 16%, var(--surface));
  color: var(--accent-deep); display: grid; place-items: center; flex-shrink: 0;
}
.ticks .tick svg { width: 13px; height: 13px; }

/* pill row */
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  border: 1px solid var(--rule); background: var(--surface);
  border-radius: 999px; padding: 8px 16px; font-size: .9rem; color: var(--fg);
}
.pill--accent { border-color: color-mix(in srgb, var(--accent) 35%, var(--rule)); color: var(--accent-deep); }

/* stat */
.stat__num { font-family: var(--ff-head); font-size: clamp(2.4rem, 4vw, 3.4rem); color: var(--heading); line-height: 1; }
.section--sage .stat__num { color: #fff; }
.stat__label { color: var(--fg-soft); font-size: .92rem; margin-top: 8px; }
.section--sage .stat__label { color: #9fa893; }

/* ---- Accordion ------------------------------------------------------ */
.accordion { border-top: 1px solid var(--rule); }
.acc__item { border-bottom: 1px solid var(--rule); }
.acc__btn {
  width: 100%; text-align: left; background: none; border: none;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 4px; color: var(--heading);
  font-family: var(--ff-head); font-size: 1.15rem;
}
.acc__btn .ico { flex-shrink: 0; width: 26px; height: 26px; position: relative; }
.acc__btn .ico::before, .acc__btn .ico::after {
  content: ""; position: absolute; background: var(--accent); border-radius: 2px;
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  transition: transform .3s var(--ease-brand), opacity .3s var(--ease-brand);
}
.acc__btn .ico::before { width: 14px; height: 2px; }
.acc__btn .ico::after { width: 2px; height: 14px; }
.acc__btn[aria-expanded="true"] .ico::after { transform: translate(-50%,-50%) rotate(90deg); opacity: 0; }
.acc__panel { overflow: hidden; height: 0; transition: height .35s var(--ease-brand); }
.acc__panel-inner { padding: 0 4px 24px; color: var(--fg-soft); max-width: 70ch; }
@media (prefers-reduced-motion: reduce) { .acc__panel { transition: none; } }

/* ---- Booking flow (signature) -------------------------------------- */
.booking { display: grid; gap: 40px; }
@media (min-width: 980px) { .booking { grid-template-columns: 1.4fr .85fr; align-items: start; } }

.book-card {
  background: var(--surface); border: 1px solid var(--rule);
  border-radius: var(--r-lg); padding: clamp(22px, 3vw, 40px);
  box-shadow: var(--shadow-1);
}

/* progress */
.progress { display: flex; align-items: center; gap: 0; margin-bottom: 34px; }
.progress__step { display: flex; align-items: center; flex: 1; }
.progress__step:last-child { flex: 0; }
.progress__dot {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; font-size: .9rem; font-weight: 500;
  background: var(--surface-2); color: var(--fg-soft);
  border: 1px solid var(--rule);
  transition: background .3s var(--ease-brand), color .3s var(--ease-brand), border-color .3s var(--ease-brand);
}
.progress__line { flex: 1; height: 2px; background: var(--rule); margin: 0 8px; position: relative; }
.progress__line::after { content: ""; position: absolute; inset: 0; width: 0; background: var(--accent); transition: width .4s var(--ease-brand); }
.progress__step.is-done .progress__dot { background: var(--accent); border-color: var(--accent); color: #fff; }
.progress__step.is-done .progress__line::after { width: 100%; }
.progress__step.is-current .progress__dot { background: #fff; border-color: var(--accent); color: var(--accent-deep); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.progress__label { display: none; }
@media (min-width: 720px) {
  .progress__label { display: block; margin-left: 11px; font-size: .85rem; color: var(--fg-soft); white-space: nowrap; }
  .progress__step.is-current .progress__label { color: var(--heading); }
}

.step { display: none; }
.step.is-active { display: block; animation: stepIn .4s var(--ease-brand); }
@keyframes stepIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .step.is-active { animation: none; } }
.step__title { font-family: var(--ff-head); font-size: 1.5rem; margin-bottom: 6px; }
.step__hint { color: var(--fg-soft); margin-bottom: 24px; }

/* option grid */
.opt-grid { display: grid; gap: 14px; }
@media (min-width: 560px) { .opt-grid.two { grid-template-columns: 1fr 1fr; } }
.opt {
  position: relative; display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 20px; border: 1px solid var(--rule); border-radius: var(--r-md);
  background: var(--bg); cursor: pointer;
  transition: border-color .2s var(--ease-brand), background .2s var(--ease-brand), box-shadow .2s var(--ease-brand);
}
.opt:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--rule)); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt__mark {
  width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--rule);
  flex-shrink: 0; margin-top: 2px; display: grid; place-items: center;
  transition: border-color .2s var(--ease-brand), background .2s var(--ease-brand);
}
.opt__mark svg { width: 12px; height: 12px; opacity: 0; transform: scale(.5); transition: opacity .2s var(--ease-brand), transform .2s var(--ease-brand); color: #fff; }
.opt h4 { font-family: var(--ff-body); font-weight: 500; font-size: 1.02rem; color: var(--heading); }
.opt p { font-size: .88rem; color: var(--fg-soft); margin-top: 3px; }
.opt .price { margin-left: auto; font-weight: 500; color: var(--accent-deep); white-space: nowrap; }
.opt input:checked ~ .opt__mark, .opt:has(input:checked) .opt__mark { border-color: var(--accent); background: var(--accent); }
.opt:has(input:checked) .opt__mark svg { opacity: 1; transform: none; }
.opt:has(input:checked) { border-color: var(--accent); background: var(--surface); box-shadow: 0 0 0 1px var(--accent); }

/* time grid */
.time-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.time-grid .opt { justify-content: center; padding: 14px 8px; }
.time-grid .opt span { font-size: .95rem; }

/* fields */
.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field label { font-size: .9rem; font-weight: 500; color: var(--heading); }
.field input, .field textarea, .field select {
  font: inherit; color: var(--fg);
  background: var(--bg); border: 1px solid var(--rule);
  border-radius: var(--r-sm); padding: 13px 15px;
  transition: border-color .2s var(--ease-brand), box-shadow .2s var(--ease-brand);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}
.field .err { color: #a8483b; font-size: .82rem; display: none; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #c06a5d; }
.field.is-invalid .err { display: block; }
.field-row { display: grid; gap: 18px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }

.step__nav { display: flex; gap: 12px; margin-top: 28px; align-items: center; }
.step__nav .spacer { flex: 1; }

/* booking summary aside */
.summary {
  position: sticky; top: 96px;
  background: var(--dark-bg); color: var(--dark-fg);
  border-radius: var(--r-lg); padding: 28px;
}
.summary h3 { color: #fff; font-size: 1.25rem; }
.summary__row { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--dark-rule); font-size: .94rem; }
.summary__row dt { color: #9fa893; }
.summary__row dd { color: var(--dark-fg); text-align: right; font-weight: 500; }
.summary__row dd.empty { color: #6c7563; font-weight: 400; }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 16px; }
.summary__total .lbl { color: #9fa893; font-size: .9rem; }
.summary__total .amt { font-family: var(--ff-head); font-size: 1.8rem; color: #fff; }
.summary__note { font-size: .82rem; color: #9fa893; margin-top: 16px; line-height: 1.55; }
.secure-row { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: #9fa893; margin-top: 18px; }
.secure-row svg { width: 15px; height: 15px; flex-shrink: 0; }

/* confirmation */
.confirm { text-align: center; padding: 20px 0; }
.confirm__check { width: 72px; height: 72px; margin: 0 auto 22px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 16%, var(--surface)); display: grid; place-items: center; color: var(--accent-deep); }
.confirm__check svg { width: 34px; height: 34px; }

/* ---- Tables (pricing) ---------------------------------------------- */
.ptable { width: 100%; border-collapse: collapse; }
.ptable th, .ptable td { text-align: left; padding: 16px 14px; border-bottom: 1px solid var(--rule); }
.ptable th { font-family: var(--ff-body); font-weight: 500; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-soft); }
.ptable td.amt { text-align: right; font-weight: 500; color: var(--heading); white-space: nowrap; }
.ptable tr:last-child td { border-bottom: none; }
.ptable caption { text-align: left; color: var(--fg-soft); font-size: .9rem; padding-bottom: 8px; }

/* ---- Misc ----------------------------------------------------------- */
.page-hero { padding-top: clamp(48px, 6vw, 84px); padding-bottom: clamp(36px, 5vw, 64px); }
.page-hero .lead { max-width: 52ch; }
.breadcrumbs { font-size: .85rem; color: var(--fg-soft); margin-bottom: 22px; display: flex; gap: 8px; align-items: center; }
.breadcrumbs a:hover { color: var(--accent-deep); }
.breadcrumbs span { color: var(--accent-2); }

.rule { height: 1px; background: var(--rule); border: 0; }
.tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .82rem; color: var(--accent-deep);
  background: color-mix(in srgb, var(--accent) 12%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--rule));
  padding: 6px 13px; border-radius: 999px;
}

.callout {
  background: var(--surface); border: 1px solid var(--rule);
  border-left: 3px solid var(--accent);
  border-radius: var(--r-md); padding: 22px 26px;
}

.center { text-align: center; }
.center .lead { margin-inline: auto; }
.mw-prose { max-width: 64ch; }
.mt-l { margin-top: clamp(28px, 4vw, 48px); }
.mt-xl { margin-top: clamp(40px, 6vw, 72px); }

/* ---- Footer --------------------------------------------------------- */
.site-footer { background: var(--dark-bg); color: var(--dark-fg); padding-block: clamp(56px, 7vw, 88px) 36px; }
.footer__grid { display: grid; gap: 40px; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; } }
.site-footer .brand__name { color: #fff; }
.site-footer h4 { color: #fff; font-family: var(--ff-body); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; margin-bottom: 16px; }
.footer__links a { display: block; padding: 6px 0; color: var(--dark-fg); opacity: .82; transition: opacity .2s var(--ease-brand); }
.footer__links a:hover { opacity: 1; color: #fff; }
.footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--dark-rule); display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; font-size: .85rem; color: #9fa893; }
.site-footer .ph { background: rgba(255,255,255,.04); border-color: var(--dark-rule); }
.site-footer .ph::after { background: var(--dark-surface); border-color: var(--dark-rule); color: #9fa893; }

.spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; display: inline-block; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.contact-line { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.contact-line svg { width: 19px; height: 19px; color: var(--accent-2); flex-shrink: 0; margin-top: 3px; }
.site-footer .contact-line { opacity: .9; }
