/* The public home page, redesigned. Colours are the fixed brand colours; type, space, shape and motion come from rm-tokens.css.
   Loaded after the page's own styles, so it replaces rather than adds to them. */

/* The brand's muted text colour; the site's own pages call it --ink-muted. */
:root { --muted: #5B6D66; }

/* ─── Buttons: one primary, one quiet, one size and shape everywhere ─── */
.btn-primary, .form-submit, .bento-btn, .hero-book, .sticky-book-btn {
  min-height: 48px; padding: 0 1.4rem; border-radius: var(--radius-control); font-family: var(--font-text); font-weight: 800; font-size: 0.95rem; letter-spacing: 0;
}
.btn-primary, .form-submit, .hero-book, .sticky-book-btn { background: #E4956C; color: var(--ink); box-shadow: var(--shadow-soft); }
.btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 48px; padding: 0 1.25rem; border: 1.5px solid var(--border); border-radius: var(--radius-control);
  background: #fff; color: var(--forest); font-family: var(--font-text); font-weight: 700; font-size: 0.95rem; text-decoration: none;
  transition-property: background-color, border-color, box-shadow, transform; transition-duration: var(--duration-fast); transition-timing-function: var(--ease-smooth-out);
}
@media (hover: hover) { .btn-outline:hover { border-color: var(--forest); box-shadow: var(--shadow-soft); } }
.btn-outline:active, .btn-primary:active, .hero-book:active { transform: scale(var(--scale-small)); }

/* ─── Fields: tall, rounded, a clear focus ─── */
.form-group label, .modal label { font-weight: 700; font-size: 0.85rem; color: var(--forest); }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select, textarea {
  min-height: 48px; padding: 0.7rem 0.95rem; border: 1.5px solid var(--border); border-radius: var(--radius-control); background: #fff; color: var(--ink);
  font-family: var(--font-text); font-size: 1rem;
  transition-property: border-color, box-shadow; transition-duration: var(--duration-fast); transition-timing-function: var(--ease-smooth-out);
}
textarea { min-height: 112px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; border-color: var(--forest); box-shadow: 0 0 0 4px rgba(15, 61, 52, 0.14); }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #922B20; background: #FFF1ED; }

/* ─── Hero: the headline's weight rolls along each line, the clinic day sits beside it as the way to book ─── */
.hero-wrap { background: var(--cream); background-image: radial-gradient(520px circle at var(--mx, 72%) var(--my, 22%), rgba(228, 149, 108, 0.2), transparent 62%); border-bottom: 1px solid var(--border); }
.hero-wrap::before { display: none; }
.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.95fr); grid-template-areas: "top signal" "reasons signal"; column-gap: clamp(2rem, 4.5vw, 4.5rem); row-gap: 1.75rem; align-content: center; max-width: 1320px; margin: 0 auto; padding: clamp(2rem, 5vh, 3.5rem) 2rem clamp(2.5rem, 6vh, 4rem); min-height: calc(100vh - 77px); }
.hero-top { grid-area: top; display: block; margin: 0; align-self: end; }
.hero h1 { color: var(--ink); font-size: clamp(3rem, 6.2vw, 5.6rem); font-weight: 700; line-height: 0.98; letter-spacing: -0.03em; }
.hero h1 .wave-line { display: block; white-space: nowrap; }
.hero h1 .wave-line.clay, .hero h1 .wave-clay { color: var(--clay-dark); }
.hero h1 .wave-ch { display: inline-block; white-space: pre; font-variation-settings: 'wght' 700; }
.hero-side-text { max-width: 60ch; margin: 1.25rem 0 0; font-size: 1.1rem; color: var(--muted); }
.hero-call { color: var(--forest); font-weight: 700; margin-left: 0.5rem; white-space: nowrap; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.hero-call { color: var(--forest); }
.reason-row { grid-area: reasons; margin: 0; align-self: start; }
.reason-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.reason-label { margin: 0 0 0.6rem; color: var(--muted); font-size: 0.85rem; font-weight: 700; }
.reason-chip { border: 1.5px solid var(--forest); color: var(--forest); background: transparent; }
@media (hover: hover) { .reason-chip:hover { background: var(--forest); color: #fff; } }

/* The booking card: choose how you want to be seen, see the next free time, watch the day light up, book */
.pc { grid-area: signal; align-self: center; border-radius: 24px; padding: clamp(1.25rem, 2.6vw, 2rem); box-shadow: var(--shadow-lift); background: #fff; border: 1px solid var(--border); }
.pc header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.4rem 1rem; }
.pc h2 { font-size: 1.5rem; font-weight: 700; }
.pc .open-now { margin: 0; color: var(--forest); }
.pc .open-now.is-closed { color: var(--muted); }
.pc1-tabs { position: relative; display: flex; gap: 0 1.75rem; margin-top: 1rem; border-bottom: 1.5px solid var(--border); }
.pc1-tabs button { min-height: 44px; padding: 0; border: 0; background: none; color: var(--muted); font-family: var(--font-text); font-weight: 800; font-size: 1.05rem; white-space: nowrap; flex: none; cursor: pointer; }
.pc1-tabs button[aria-pressed="true"] { color: var(--forest); }
.pc1-tabs .ul { position: absolute; bottom: -1.5px; left: 0; height: 3px; width: 0; border-radius: 2px; background: var(--clay); transition-property: transform, width; transition-duration: var(--duration-fast); transition-timing-function: var(--ease-smooth-out); }
.pc-modes { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.9rem; }
.pc-modes[hidden] { display: none; }
.pc-modes button { min-height: 44px; padding: 0 0.95rem; border: 1.5px solid var(--border); border-radius: 999px; background: #fff; color: var(--muted); font-family: var(--font-text); font-weight: 700; font-size: 0.86rem; cursor: pointer; transition-property: background-color, color, border-color; transition-duration: var(--duration-fast); transition-timing-function: var(--ease-smooth-out); }
.pc-modes button[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: #fff; }
.pc-about { margin: 0.9rem 0 0; color: var(--muted); font-size: 0.95rem; min-height: 2.9em; }
.pc1-next { margin-top: 1.1rem; }
.pc1-next small { display: block; color: var(--muted); font-weight: 700; font-size: 0.8rem; }
.pc1-next strong { display: block; font-family: var(--font-display); font-size: clamp(2.1rem, 4.2vw, 3.2rem); line-height: 1.04; letter-spacing: -0.03em; color: var(--forest); font-variant-numeric: tabular-nums; }
.pc1-strip { position: relative; height: 34px; margin-top: 0.9rem; }
.pc1-strip i { position: absolute; top: 12px; height: 10px; border-radius: 5px; background: var(--forest-tint); transform-origin: left; }
.pc1-strip .blk { background: #E4956C; transform: scaleX(0); }
.pc1-strip .blk.on { transform: scaleX(1); transition: transform 0.5s var(--ease-smooth-out); }
.pc1-axis { display: flex; justify-content: space-between; font-size: 0.72rem; color: var(--muted); margin-top: -0.2rem; font-variant-numeric: tabular-nums; }
.pc-slots { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.9rem; min-height: 44px; }
.pc-slot { min-height: 44px; padding: 0 0.95rem; border: 1.5px solid var(--forest); border-radius: 999px; background: transparent; color: var(--forest); font-family: var(--font-text); font-weight: 700; font-size: 0.88rem; font-variant-numeric: tabular-nums; cursor: pointer; transition-property: background-color, color; transition-duration: var(--duration-fast); transition-timing-function: var(--ease-smooth-out); }
@media (hover: hover) { .pc-slot:hover { background: var(--forest); color: #fff; } }
.pc-note { margin: 0.9rem 0 0; color: var(--muted); font-size: 0.9rem; }
.pc .pc-book { margin-top: 1.1rem; width: 100%; justify-content: center; background: #E4956C; color: var(--ink); }
@media (hover: hover) { .pc .pc-book:hover { background: #EDA37B; } }
.pc-where { margin: 0.8rem 0 0; color: var(--muted); font-size: 0.82rem; }
.pc.is-loading .pc1-next strong { color: var(--muted); }

@media (max-width: 1000px) {
  .hero { grid-template-columns: minmax(0, 1fr); grid-template-areas: "top" "signal" "reasons"; min-height: 0; padding: 1.75rem 1.25rem 2.5rem; row-gap: 1.5rem; }
  .hero h1 { font-size: clamp(2.4rem, 11vw, 4rem); }
}
@media (max-width: 520px) {
  
  .hero-cta .btn-primary, .hero-cta .btn-outline { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { .pc1-tabs .ul, .pc-slot, .pc1-strip .blk.on { transition: none; } }
@media (prefers-reduced-motion: no-preference) {
  .pc1 { animation: rm-rise 0.7s 0.35s var(--ease-smooth-out) backwards; }
}

/* ─── Conditions: two rows of conditions drifting in opposite directions; touching one pauses them and starts a booking ─── */
.cond3 .section-header { margin-bottom: 2rem; }
.cond3 .marq { margin: 0 -2rem 1.5rem; overflow: hidden; display: grid; gap: 0.8rem; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.cond3 .track { display: flex; gap: 0.8rem; width: max-content; animation: rm-drift 40s linear infinite; }
.cond3 .track.rev { animation-direction: reverse; }
.cond3 .marq:hover .track, .cond3 .marq:focus-within .track, .cond3 .marq.is-interacting .track { animation-play-state: paused; }
.cond3 .cond-pill { padding: 0.9rem 1.7rem; border-radius: 999px; border: 1.5px solid var(--forest); background: transparent; color: var(--forest); font-family: var(--font-display); font-weight: 600; font-size: clamp(1.1rem, 2vw, 1.5rem); white-space: nowrap; cursor: pointer; transition-property: background-color, color; transition-duration: var(--duration-fast); transition-timing-function: var(--ease-smooth-out); }
.cond3 .cond-pill.nut { background: var(--forest-tint); border-color: var(--forest); color: var(--forest); }
@media (hover: hover) { .cond3 .cond-pill:hover { background: #E4956C; border-color: #E4956C; color: var(--ink); } }
.cond3 .cond-intro-cta { display: inline-flex; align-items: center; gap: 0.55rem; min-height: 48px; padding: 0 1.4rem; color: var(--ink); }
@keyframes rm-drift { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .cond3 .track { animation: none; width: auto; flex-wrap: wrap; }
  .cond3 .marq { margin-inline: 0; mask-image: none; }
  .cond3 .cond-pill[aria-hidden="true"] { display: none; }
}


/* ─── About: the six reasons as tiles, the first one larger ─── */
.about-layout { grid-template-columns: 1fr; gap: 2.5rem; }
.about-intro { max-width: 60rem; }
.why-list { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(170px, auto); gap: 1rem; }
.why-row { flex-direction: column; gap: 0.6rem; padding: 1.4rem; border: 1px solid rgba(255,255,255,0.16); border-radius: 22px; background: rgba(255,255,255,0.05); transition: background-color var(--duration-fast) var(--ease-smooth-out); }
.why-row:last-child { border-bottom: 1px solid rgba(255,255,255,0.16); }
.why-row:nth-child(1) { grid-column: span 3; grid-row: span 2; background: #E4956C; border-color: #E4956C; color: var(--ink); }
.why-row:nth-child(1) h3 { color: var(--ink); font-size: 1.8rem; }
.why-row:nth-child(1) p { color: var(--ink); font-size: 1.05rem; }
.why-row:nth-child(1) .why-row-icon { color: var(--ink); }
.why-row:nth-child(2) { grid-column: span 3; }
.why-row:nth-child(3), .why-row:nth-child(5), .why-row:nth-child(6) { grid-column: span 2; }
.why-row:nth-child(4) { grid-column: span 1; }
@media (hover: hover) { .why-row:nth-child(n+2):hover { background: rgba(255,255,255,0.1); } }

/* ─── Appointments: three doors: two with their next free time, yoga by referral ─── */
.appt-bg { background: var(--cream); }
.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2rem; }
.door { position: relative; display: grid; gap: 0.25rem; align-content: end; min-height: 280px; padding: 1.8rem; border: 0; border-radius: 26px; text-align: left; font-family: var(--font-text); transition: transform var(--duration-medium) var(--ease-smooth-out); }
.door-pt, .door-nut, .door-yoga { background: var(--forest); color: #fff; border: 0; }
.door-care { position: absolute; top: 1.6rem; left: 1.8rem; font-weight: 800; font-size: 0.85rem; opacity: 0.85; }
.door strong { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.05; }
.door small { margin-top: 0.8rem; font-weight: 700; opacity: 0.75; }
.door em { font-style: normal; font-family: var(--font-display); font-size: clamp(1.3rem, 2.4vw, 1.8rem); font-variant-numeric: tabular-nums; }
.door-go { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 0.7rem; font-weight: 800; }
.door .door-go { color: #E4956C; }
@media (hover: hover) { .door:hover { transform: translateY(-6px) rotate(-0.4deg); } }
.door:active { transform: scale(var(--scale-small)); }
.doors-or { margin-top: 1.2rem; color: var(--muted); }
.doors-or a { color: var(--forest); font-weight: 800; }

/* ─── Contact: the ways to reach us first, the form folds away ─── */
.k2-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.k2-tile { display: grid; align-content: start; gap: 0.2rem; padding: 1.4rem; border-radius: 22px; background: #fff; color: var(--ink); text-decoration: none; transition-property: transform, background-color, color; transition-duration: var(--duration-fast); transition-timing-function: var(--ease-smooth-out); min-width: 0; }
.k2-tile b { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--forest-tint); color: var(--forest); margin-bottom: 0.6rem; }
.k2-tile strong { font-family: var(--font-display); font-size: 1.4rem; }
.k2-tile span { color: var(--muted); font-size: 0.9rem; overflow-wrap: anywhere; }
a.k2-tile:active { transform: scale(var(--scale-small)); }
@media (hover: hover) { a.k2-tile:hover { background: #E4956C; transform: translateY(-5px); } a.k2-tile:hover span { color: var(--ink); } }
.k2-form { margin-top: 1rem; border-radius: 22px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.18); padding: 0 1.4rem; }
.k2-form > summary { display: flex; align-items: center; justify-content: space-between; min-height: 64px; cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; color: #fff; }
.k2-form > summary::-webkit-details-marker { display: none; }
.k2-form > summary::after { content: ''; width: 11px; height: 11px; border-right: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(45deg); transition: transform var(--duration-fast) var(--ease-smooth-out); margin-right: 0.3rem; }
.k2-form[open] > summary::after { transform: rotate(-135deg); }
.k2-form .contact-form { margin: 0 0 1.4rem; max-width: 760px; }
.k2-hours { margin-top: 1.2rem; color: rgba(255,255,255,0.78); font-size: 0.92rem; max-width: 70ch; }
.k2-hours strong { color: #fff; }

@media (max-width: 1000px) {
  .svc-split, .doors { grid-template-columns: 1fr; }
  .why-list { grid-template-columns: 1fr 1fr; }
  .why-row, .why-row:nth-child(n) { grid-column: auto; grid-row: auto; }
  .why-row:nth-child(1) { grid-column: 1 / -1; }
  .k2-tiles { grid-template-columns: 1fr 1fr; }
  .cond3 .marq { margin-inline: -1.5rem; }
}
@media (max-width: 520px) {
  .why-list, .k2-tiles { grid-template-columns: 1fr; }
}

/* ─── Team: one row per person; each opens to the full profile ─── */
.team-roster { display: grid; gap: 1rem; }
.roster-item { background: #fff; border: 1px solid var(--border); border-radius: 24px; padding: 0 clamp(1rem, 2.5vw, 1.75rem); }
.roster-item > summary { display: flex; align-items: center; gap: 1rem; min-height: 96px; cursor: pointer; list-style: none; }
.roster-item > summary::-webkit-details-marker { display: none; }
.roster-item > summary img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: top; flex: none; }
.roster-item > summary span { flex: 1; min-width: 0; }
.roster-item > summary strong { display: block; font-family: var(--font-display); font-size: clamp(1.25rem, 2.4vw, 1.6rem); }
.roster-item > summary small { display: block; color: var(--muted); font-size: 0.88rem; }
.roster-item > summary i { width: 12px; height: 12px; flex: none; margin-right: 0.4rem; border-right: 2.5px solid var(--forest); border-bottom: 2.5px solid var(--forest); transform: rotate(45deg); transition: transform var(--duration-fast) var(--ease-smooth-out); }
.roster-item[open] > summary i { transform: rotate(-135deg); }
.roster-item .team-layout { margin: 0 0 1.5rem; padding: 1.25rem 0 0; background: none; border: 0; box-shadow: none; border-radius: 0; border-top: 1px solid var(--border); }
.roster-item .team-highlights-heading { margin-top: 0.5rem; }
.roster-item .team-highlights { padding-bottom: 1.5rem; }


.svc-points { margin: 0.6rem 0 0; padding-left: 1.1rem; display: grid; gap: 0.3rem; font-size: 0.85rem; line-height: 1.5; }
.svc-points li::marker { color: #E4956C; }
.roster-item > summary strong, .roster-item > summary small { line-height: 1.35; }
.roster-item > summary small { margin-top: 0.2rem; }

/* ─── Care roadmap: six steps in a grid, each with its own line that draws in ─── */
.journey-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 2rem; max-width: none; }
.journey-row { flex-direction: column; align-items: flex-start; gap: 0.4rem; padding: 1.6rem 0 2rem; border: 0; border-top: 1px solid var(--border); }
.journey-list .journey-row:last-child { border-bottom: 0; }
.journey-row-num { font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; }
.journey-row-title { font-family: var(--font-display); font-size: 1.5rem; }
.journey-row-sub { font-size: 0.95rem; max-width: 26ch; }

/* ─── Facility: tiles ─── */
.facility-strip { gap: 1rem; }
.facility-item { flex-direction: column; justify-content: center; gap: 0.8rem; min-height: 150px; padding: 1.5rem 1rem; border-radius: 22px; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; text-align: center; }
.facility-item svg { width: 34px; height: 34px; }

/* ─── FAQ: questions as rows in rounded cards ─── */
.faq-list { max-width: none; display: grid; gap: 0.7rem; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 0 1.5rem; }
.faq-q { font-family: var(--font-display); font-size: clamp(1.05rem, 2vw, 1.3rem); font-weight: 600; min-height: 68px; }

/* ─── Booking popup: the same language as the booking card at the top ─── */
.modal { border-radius: 28px; padding: clamp(1.4rem, 4vw, 2.25rem); max-width: 600px; box-shadow: 0 40px 80px -30px rgba(10, 43, 37, 0.7); }
.modal-header { margin-bottom: 1.2rem; }
.modal-header h3 { font-size: clamp(1.6rem, 4vw, 2.1rem); line-height: 1.05; }
.modal-close { width: 44px; height: 44px; background: var(--forest-tint); color: var(--forest); }
.care-choice { display: flex; gap: 1.75rem; border-bottom: 1.5px solid var(--border); margin-bottom: 0; }
.care-choice button { min-height: 48px; padding: 0; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1.5px; border-radius: 0; background: none; color: var(--muted); font-family: var(--font-text); font-weight: 800; font-size: 1.1rem; transition-property: color, border-color; transition-duration: var(--duration-fast); transition-timing-function: var(--ease-smooth-out); }
.care-choice button[aria-pressed="true"] { border-color: var(--clay); background: none; color: var(--forest); }
.care-help { margin: 0.9rem 0 1rem; font-size: 0.92rem; }
.modal-tabs { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 1.4rem; }
.modal-tab { min-height: 44px; padding: 0 1rem; border-radius: 999px; font-size: 0.86rem; }
.modal-tab.active, .modal-tabs .tab-pill { background: var(--forest); }
.modal-tabs .tab-pill { border-radius: 999px; }
.modal-form .form-row { gap: 0.9rem; }
.form-submit { width: 100%; min-height: 54px; justify-content: center; font-size: 1.02rem; }
.modal-success .success-icon { background: var(--forest); color: #fff; }
.modal-success h4 { font-family: var(--font-display); font-size: 1.6rem; }
@media (max-width: 600px) {
  .modal-overlay { align-items: flex-end; padding: 0; }
  .modal { max-width: none; border-radius: 28px 28px 0 0; max-height: 94svh; padding-bottom: calc(1.4rem + env(safe-area-inset-bottom)); }
  .modal-tabs { grid-template-columns: none; }
  .modal-tab { justify-content: center; padding: 0 0.9rem; }
  .care-choice { gap: 1.4rem; }
}
@media (max-width: 1000px) {
  .journey-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .journey-list { grid-template-columns: 1fr; }
  .facility-item { min-height: 120px; }
  .faq-item { padding: 0 1.1rem; }
}
@media (max-width: 700px) {
  .roster-item .team-info-block > h3 { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .roster-item .team-layout { padding-top: 1rem; }
}
.modal-tabs { flex-wrap: nowrap; }
.modal-tab { flex: 1 1 0; min-width: 0; white-space: nowrap; }
@media (max-width: 600px) {
  .modal-tab svg { display: none; }
  .modal-tab { padding: 0 0.4rem; font-size: 0.84rem; }
  .modal .form-group { margin-bottom: 0.85rem; }
}

.slot-skeleton[hidden] { display: none; }

/* ─── Booking form, one page: day and time chips, then details, a bar that stays at the bottom ─── */
.slot-picker { display: grid; gap: 0.25rem; margin-bottom: 0.4rem; }
.pick-label { display: block; margin: 0.2rem 0 0.5rem; font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--forest); }
.bk-days { display: flex; gap: 0.45rem; overflow-x: auto; scrollbar-width: none; padding: 3px 2px; }
.bk-day { flex: none; min-width: 70px; min-height: 66px; display: grid; place-items: center; align-content: center; padding: 0.35rem 0.6rem; line-height: 1.15; border-radius: 16px; border: 1.5px solid var(--border); background: #fff; color: var(--ink); transition-property: background-color, border-color, transform; transition-duration: var(--duration-fast); transition-timing-function: var(--ease-smooth-out); }
.bk-day small { color: var(--muted); font-weight: 700; font-size: 0.72rem; }
.bk-day strong { font-family: var(--font-display); font-size: 1.3rem; }
.bk-day[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: #fff; }
.bk-day[aria-pressed="true"] small { color: #BFD5CE; }
@media (hover: hover) { .bk-day:hover { transform: translateY(-2px); } }
.other-date { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; margin-top: 0.7rem; font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.other-date input { max-width: 190px; min-height: 44px; }
.bk-times { display: flex; flex-wrap: wrap; gap: 0.45rem; min-height: 48px; align-items: center; }
.bk-time { min-height: 44px; padding: 0 1rem; border: 1.5px solid var(--forest); border-radius: 999px; background: transparent; color: var(--forest); font-family: var(--font-text); font-weight: 700; font-variant-numeric: tabular-nums; transition-property: background-color, color, transform; transition-duration: var(--duration-fast); transition-timing-function: var(--ease-smooth-out); }
.bk-time[aria-pressed="true"] { background: #E4956C; border-color: #E4956C; color: var(--ink); transform: scale(1.04); }
@media (hover: hover) { .bk-time:hover { background: var(--forest); color: #fff; } .bk-time[aria-pressed="true"]:hover { background: #E4956C; color: var(--ink); } }
@media (prefers-reduced-motion: no-preference) { .bk-time { animation: rm-pop 0.4s var(--ease-smooth-out) backwards; } }
.times-note { margin: 0; color: var(--muted); font-size: 0.9rem; }
.sr-select { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; opacity: 0; }
.booking-bar { position: sticky; bottom: calc(-1 * clamp(1.4rem, 4vw, 2.25rem)); z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 1rem calc(-1 * clamp(1.4rem, 4vw, 2.25rem)) calc(-1 * clamp(1.4rem, 4vw, 2.25rem)); padding: 0.9rem clamp(1.4rem, 4vw, 2.25rem); background: var(--cream); border-top: 1px solid var(--border); }
.booking-bar-sum small { display: block; color: var(--muted); font-weight: 700; font-size: 0.75rem; }
.booking-bar-sum strong { display: block; font-family: var(--font-display); font-size: 1.05rem; line-height: 1.2; }
.booking-bar .form-submit { width: auto; flex: none; margin: 0; padding: 0 1.4rem; }
.booking-bar.is-ready .form-submit { animation: rm-ready 0.6s var(--ease-smooth-out); }
@keyframes rm-ready { 0% { box-shadow: 0 0 0 0 rgba(228, 149, 108, 0.7); } 100% { box-shadow: 0 0 0 16px rgba(228, 149, 108, 0); } }
@media (max-width: 600px) {
  .booking-bar { flex-direction: column; align-items: stretch; gap: 0.6rem; bottom: calc(-1 * (1.4rem + env(safe-area-inset-bottom))); padding-bottom: calc(0.9rem + env(safe-area-inset-bottom)); }
  .booking-bar .form-submit { width: 100%; }
  .other-date { flex-direction: column; align-items: stretch; gap: 0.3rem; }
  .other-date input { max-width: none; }
}
.slot-picker, .slot-picker > .form-group, .bk-days, .bk-times, .other-date { min-width: 0; }
.bk-times, .other-date { max-width: 100%; }
.other-date input { min-width: 0; }
@media (max-width: 600px) { .other-date input { width: 100%; } }

/* The day strip runs to the edge of the popup so it reads as a scrolling row, not a clipped box. */
.bk-days { margin-inline: calc(-1 * clamp(1.4rem, 4vw, 2.25rem)); padding-inline: clamp(1.4rem, 4vw, 2.25rem); scroll-padding-inline: clamp(1.4rem, 4vw, 2.25rem); }
.bk-day:last-child { margin-right: clamp(1.4rem, 4vw, 2.25rem); }

/* After the request is sent the popup shows only the result and, when it applies, the payment step. */
.modal-success [hidden] { display: none !important; }
#modal-form-wrapper:has(.modal-success.show) > .care-choice,
#modal-form-wrapper:has(.modal-success.show) > .care-help,
#modal-form-wrapper:has(.modal-success.show) > .modal-tabs { display: none; }
.modal-success h4 { line-height: 1.15; margin-bottom: 0.6rem; }
.modal-success p { font-size: 0.95rem; }
.slot-picker { gap: 1.25rem; margin-bottom: 1.25rem; }
.slot-picker > .form-group { margin-bottom: 0; }
.other-date { margin-bottom: 0.2rem; }
.slot-picker .other-date { display: flex; }
.slot-picker .other-date input { flex: 0 1 190px; }

/* Phones: the date box is a normal field under its label, not a tall flex item. */
@media (max-width: 600px) {
  .slot-picker .other-date { flex-direction: column; align-items: stretch; }
  .slot-picker .other-date input { flex: none; width: 100%; max-width: none; height: auto; }
}

/* ─── Navigation: a clay line slides in under the link you point at ─── */
.nav-links a { position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0.8rem; right: 0.8rem; bottom: 0.15rem; height: 2px; border-radius: 2px; background: var(--clay); transform: scaleX(0); transform-origin: left; transition: transform var(--duration-fast) var(--ease-smooth-out); }
@media (hover: hover) { .nav-links a:hover::after { transform: scaleX(1); } }
.nav-links a:focus-visible::after { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) { .nav-links a::after { transition: none; } }

/* ─── Footer ─── */
.footer { padding: clamp(3rem, 6vw, 5rem) 2rem 2rem; }
.footer-grid { gap: clamp(2rem, 5vw, 4rem); }
.footer-brand p { font-size: 0.95rem; max-width: 42ch; }
.footer-call { display: inline-flex; align-items: center; min-height: 48px; padding: 0 1.3rem; border-radius: var(--radius-control); background: #E4956C; color: var(--ink); font-weight: 800; transition-property: transform, background-color; transition-duration: var(--duration-fast); transition-timing-function: var(--ease-smooth-out); }
.footer-call:active { transform: scale(var(--scale-small)); }
@media (hover: hover) { .footer-call:hover { background: #EDA37B; } }
.footer-col h5 { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 1.1rem; }
.footer-col ul { gap: 0.2rem; }
.footer-col ul a { position: relative; font-size: 0.95rem; }
.footer-col ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.45rem; height: 1px; background: #E4956C; transform: scaleX(0); transform-origin: left; transition: transform var(--duration-fast) var(--ease-smooth-out); }
@media (hover: hover) { .footer-col ul a:hover::after { transform: scaleX(1); } }
.footer-bottom { padding-top: 1.75rem; }
@media (max-width: 700px) { .footer { padding-inline: 1.5rem; } .footer-bottom { align-items: flex-start; flex-direction: column; } }

/* ─── Services: tabs, chips and one card ─── */
.svc-seg { position: relative; display: flex; gap: 1.75rem; border-bottom: 1.5px solid var(--border); margin-top: 0.4rem; overflow-x: auto; scrollbar-width: none; }
.svc-seg button { flex: none; min-height: 52px; padding: 0; border: 0; background: none; color: var(--muted); font-family: var(--font-text); font-weight: 800; font-size: clamp(1.05rem, 2.4vw, 1.3rem); white-space: nowrap; transition: color var(--duration-fast) var(--ease-smooth-out); }
.svc-seg button[aria-pressed="true"] { color: var(--forest); }
.svc-seg .ul { position: absolute; bottom: -1.5px; left: 0; width: 0; height: 3px; border-radius: 2px; background: var(--clay); transition-property: transform, width; transition-duration: var(--duration-fast); transition-timing-function: var(--ease-smooth-out); }
.svc-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.4rem 0; }
.svc-chips[hidden] { display: none; }
.svc-chip { min-height: 44px; padding: 0 1.15rem; border: 1.5px solid var(--forest); border-radius: 999px; background: transparent; color: var(--forest); font-family: var(--font-text); font-weight: 700; font-size: 0.95rem; transition-property: background-color, color; transition-duration: var(--duration-fast); transition-timing-function: var(--ease-smooth-out); }
.svc-chip[aria-pressed="true"] { background: var(--forest); color: #fff; }
@media (hover: hover) { .svc-chip:hover { background: var(--forest); color: #fff; } }
.svc-card { padding: clamp(1.25rem, 3vw, 2rem); border-radius: 24px; background: #fff; border: 1px solid var(--border); max-width: 52rem; }
.svc-card[hidden] { display: none; }
.svc-card[data-care="nutrition"] { background: var(--forest); border-color: var(--forest); color: #fff; }
.svc-card h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.1; }
.svc-desc { margin: 0.5rem 0 0; color: var(--ink-muted); font-size: 1.02rem; }
.svc-card[data-care="nutrition"] .svc-desc { color: #BFD5CE; }
.svc-points { margin: 1rem 0 0; padding-left: 1.15rem; display: grid; gap: 0.4rem; font-size: 0.98rem; line-height: 1.55; }
.svc-points li::marker { color: #E4956C; }
.svc-card[data-care="nutrition"] .svc-points { color: #E7EFEC; }
.svc-card .svc-book { margin-top: 1.4rem; min-height: 48px; padding: 0 1.4rem; }
.svc-card[data-care="nutrition"] .svc-book { background: #E4956C; }
@media (prefers-reduced-motion: reduce) { .svc-seg .ul, .svc-chip, .svc-seg button { transition: none; } }
.footer-logo { color: #fff; }
.footer-logo span { color: #E4956C; }

/* Scrolling boxes keep their scroll to themselves, and an open dialog stops the page behind it from moving. */
.bk-days,.svc-seg{overscroll-behavior-x:contain}
dialog{overscroll-behavior:contain}
html:has(dialog[open]){overflow:hidden}
