/* Template: PRACTICE (physio, therapist, salon, tutor, coach)
   Booking is the main action on every page. Brand tokens first. */

@font-face { font-family: "Source Serif"; src: url("sourceserif.woff2") format("woff2"); font-weight: 500 700; font-display: swap; }
@font-face { font-family: "Inclusive Sans"; src: url("inclusive.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+0000-00FF, U+2013-2014, U+2018-201E, U+2022, U+2026, U+20AC; }
@font-face { font-family: "Inclusive Sans"; src: url("inclusive-ext.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+0100-017F; }

:root {
  --bg: #edf1f2;
  --surface: #fbfcfc;
  --ink: #13303a;
  --muted: #4c636c;
  --line: rgba(19, 48, 58, 0.14);
  --accent: #c4472c;      /* booking buttons */
  --accent-2: #a93a22;
  --leaf: #4f7d5c;
  --soft: #dfe8e6;
  --head: "Source Serif", Georgia, serif;
  --body: "Inclusive Sans", "Segoe UI", Arial, sans-serif;
  --max: 72rem;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --r: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.125rem/1.65 var(--body); }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; }
h1, h2, h3 { font-family: var(--head); font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 1.7rem + 3vw, 4rem); }
h2 { font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.75rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: calc(var(--max) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }

.demo-bar { background: var(--ink); color: #fff; font-size: 0.9rem; padding: 0.5rem var(--pad); text-align: center; }
.demo-bar a { color: #ffd3c7; font-weight: 700; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.85rem 1.35rem; border-radius: 999px; border: 2px solid transparent; font: 700 1.05rem/1.1 var(--body); text-decoration: none; cursor: pointer; }
.btn--book { background: var(--accent); color: #fff; }
.btn--book:hover { background: var(--accent-2); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--surface); }

.top { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.top__inner { display: flex; align-items: center; gap: 2rem; min-height: 4.5rem; }
.logo { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; font: 600 1.45rem/1 var(--head); }
.logo svg { width: 2.1rem; height: 2.1rem; }
.top nav { margin-left: auto; display: flex; gap: 1.6rem; }
.top nav a { text-decoration: none; font-weight: 600; color: var(--muted); }
.top nav a:hover { color: var(--ink); text-decoration: underline; }
.logo, .btn { white-space: nowrap; }
@media (max-width: 58rem) { .top nav { display: none; } .top__inner { gap: 1rem; } .top .btn--book { margin-left: auto; padding: 0.6rem 1rem; font-size: 0.98rem; } }
@media (max-width: 26rem) { .logo { font-size: 1.28rem; } .logo svg { width: 1.8rem; height: 1.8rem; } }

.hero { padding: clamp(2.5rem, 6vw, 5rem) 0; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.hero h1 { margin-bottom: 1.25rem; }
.hero__lead { font-size: 1.25rem; color: var(--muted); max-width: 30em; }
.facts { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 0.75rem; }
.facts li { display: flex; gap: 0.75rem; align-items: flex-start; font-weight: 600; }
.facts svg { width: 1.5rem; height: 1.5rem; flex: none; color: var(--leaf); margin-top: 0.1rem; }
.facts span { display: block; font-weight: 400; color: var(--muted); font-size: 1rem; }
@media (max-width: 60rem) { .hero__grid { grid-template-columns: 1fr; } }

/* Booking panel */
.booking { background: var(--surface); border-radius: var(--r); box-shadow: 0 1px 0 var(--line), 0 18px 40px -24px rgba(19, 48, 58, 0.35); padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--line); }
.booking h2 { font-size: 1.6rem; }
.booking__sub { color: var(--muted); margin: 0.3rem 0 1.25rem; font-size: 1rem; }
.b-step { border: 0; padding: 0; margin: 0 0 1.25rem; }
.b-step legend { font-weight: 700; margin-bottom: 0.6rem; }
.treat { display: grid; gap: 0.5rem; }
.treat label { display: grid; grid-template-columns: auto 1fr auto; gap: 0.75rem; align-items: center; padding: 0.7rem 0.9rem; border: 2px solid var(--line); border-radius: 10px; cursor: pointer; background: #fff; }
.treat label:hover { border-color: var(--muted); }
.treat input { accent-color: var(--accent); width: 1.1rem; height: 1.1rem; margin: 0; }
.treat small { display: block; color: var(--muted); font-size: 0.9rem; }
.treat b { font-variant-numeric: tabular-nums; }
.treat label:has(input:checked) { border-color: var(--accent); background: #fff6f3; }
.days { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.4rem; }
.days button, .slots button { font: inherit; border: 2px solid var(--line); background: #fff; color: var(--ink); border-radius: 10px; cursor: pointer; }
.days button { padding: 0.5rem 0.2rem; font-size: 0.85rem; line-height: 1.25; text-align: center; }
.days button b { display: block; font-size: 1.15rem; }
.slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.4rem; }
.slots button { padding: 0.55rem 0.3rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.days button[aria-pressed="true"], .slots button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.days button:hover, .slots button:hover { border-color: var(--muted); }
.slots button:disabled { color: #9aa9ae; text-decoration: line-through; cursor: not-allowed; background: transparent; }
.summary { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 0.9rem 0 0; border-top: 1px solid var(--line); margin-top: 0.25rem; }
.summary p { margin: 0; font-size: 1rem; }
.summary .btn { flex: none; }
.cancel { display: flex; gap: 0.5rem; align-items: flex-start; font-size: 0.92rem; color: var(--muted); margin: 0.9rem 0 0; }
.cancel svg { width: 1.1rem; height: 1.1rem; flex: none; margin-top: 0.2rem; color: var(--leaf); }
.booked { display: none; background: #eaf3ec; border-radius: 10px; padding: 1rem; margin-top: 1rem; }
.booking.is-booked .booked { display: block; }
@media (max-width: 30rem) { .days { grid-template-columns: repeat(3, 1fr); } .slots { grid-template-columns: repeat(3, 1fr); } .summary { flex-direction: column; align-items: stretch; } }

.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--white { background: var(--surface); }
.head { max-width: 40rem; margin-bottom: 2.5rem; }
.head p { color: var(--muted); font-size: 1.15rem; margin-top: 0.75rem; }

.treatments { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3.5rem; }
.treatments div { padding: 1.4rem 0; border-top: 1px solid var(--line); }
.treatments p { color: var(--muted); margin: 0.4rem 0 0; }
@media (max-width: 48rem) { .treatments { grid-template-columns: 1fr; } }

.prices { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.prices th, .prices td { text-align: left; padding: 1rem 0.5rem 1rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prices th { font-weight: 700; }
.prices td:last-child, .prices th:last-child { text-align: right; padding-right: 0; white-space: nowrap; }
.prices td small { display: block; color: var(--muted); }
.prices .amt { font-family: var(--head); font-size: 1.5rem; font-weight: 600; }
.insurers { margin-top: 1.5rem; color: var(--muted); }

.visit { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; counter-reset: v; }
.visit li { counter-increment: v; }
.visit li::before { content: counter(v); display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--soft); font: 600 1.25rem/1 var(--head); margin-bottom: 1rem; }
.visit p { color: var(--muted); margin: 0.5rem 0 0; }
@media (max-width: 48rem) { .visit { grid-template-columns: 1fr; } }

.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem; }
.person { display: grid; grid-template-columns: 9rem 1fr; gap: 1.5rem; align-items: start; }
.person .ph { aspect-ratio: 4 / 5; border-radius: var(--r); background: var(--soft); display: grid; place-items: center; font: 600 2.6rem/1 var(--head); color: var(--leaf); }
.person p { color: var(--muted); margin: 0.5rem 0 0; }
.person .role { color: var(--ink); font-weight: 700; margin: 0.25rem 0 0; font-size: 1rem; }
@media (max-width: 52rem) { .team { grid-template-columns: 1fr; } }
@media (max-width: 26rem) { .person { grid-template-columns: 6.5rem 1fr; } }

.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.reviews figure { margin: 0; background: var(--surface); border-radius: var(--r); padding: 1.5rem; border: 1px solid var(--line); }
.reviews blockquote { margin: 0 0 1rem; font-family: var(--head); font-size: 1.2rem; line-height: 1.45; font-weight: 500; }
.reviews figcaption { font-size: 0.98rem; color: var(--muted); }
.reviews figcaption b { color: var(--ink); }
@media (max-width: 58rem) { .reviews { grid-template-columns: 1fr; } }

.find { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours td { padding: 0.55rem 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; }
.mapbox { border-radius: var(--r); background: var(--soft); min-height: 18rem; display: grid; place-items: center; text-align: center; padding: 2rem; border: 1px dashed rgba(19, 48, 58, 0.35); }
.mapbox p { color: var(--muted); max-width: 22rem; font-size: 0.98rem; }
@media (max-width: 52rem) { .find { grid-template-columns: 1fr; } }

.cta { background: var(--ink); color: #fff; text-align: center; }
.cta h2 { margin-bottom: 1rem; }
.cta p { color: rgba(255, 255, 255, 0.8); margin-bottom: 2rem; }

footer { padding: 2.5rem 0 3rem; font-size: 0.95rem; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
footer p { margin: 0.25rem 0; }

.bookbar { display: none; }
@media (max-width: 48rem) {
  .bookbar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 0.6rem; background: rgba(251, 252, 252, 0.97); border-top: 1px solid var(--line); }
  .bookbar .btn { width: 100%; }
  footer { padding-bottom: 6rem; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
