/* Maison Lea — new sections (moodboard 2): legal, cookie bar, 404, voucher, intro offer,
   blog, instructor pages, reviews carousel, "Пиши ни" button, spots pill, language menu.
   Loaded after styles.css and reuses its tokens. */

/* ---------- Spots left: pill with dot (moodboard 2, mockup A) ---------- */
.bk-slot small, .slot .spots {
  display: inline-flex; align-items: center; gap: 5px; justify-self: center;
  font-size: 11px; font-weight: 700; line-height: 1; color: var(--cocoa);
  background: var(--blush); border-radius: 999px; padding: 4px 8px; margin-top: 4px;
}
.slot .spots { font-size: 12px; margin-top: 0; padding: 5px 10px; }
.bk-slot small::before, .slot .spots::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mauve); flex: none; }
.slot .spots.full, .bk-slot[disabled] small { background: var(--line); color: var(--muted); }
.slot .spots.full::before, .bk-slot[disabled] small::before { background: var(--muted); }
.bk-slot[aria-selected="true"] small { background: rgba(255, 253, 252, .16); color: var(--white); }
.bk-slot[aria-selected="true"] small::before { background: var(--rose); }

/* ---------- Language menu in the header (mockup B) ---------- */
.lang-menu { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; cursor: pointer;
  font: 600 14px var(--body); color: var(--cocoa); padding: 9px 10px; border-radius: 10px;
}
.lang-btn:hover, .lang-menu.open .lang-btn { background: var(--blush); }
.lang-btn svg { width: 16px; height: 16px; }
.lang-btn .chev { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .25s; }
.lang-menu.open .chev { transform: translateY(1px) rotate(-135deg); }
.lang-list {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 60; min-width: 170px;
  list-style: none; margin: 0; padding: 6px; display: grid; gap: 2px;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
  animation: menu-in .22s cubic-bezier(.2, .7, .2, 1) both;
}
.lang-list[hidden] { display: none; }
.lang-list a, .lang-list span {
  display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: 9px;
  font-size: 14px; font-weight: 600; text-decoration: none;
}
.lang-list a[aria-current="true"] { background: var(--blush); }
.lang-list span { color: var(--muted); cursor: default; }
.lang-list small { font-size: 11px; font-weight: 700; color: var(--muted); }
@media (max-width: 1080px) { .lang-btn .lbl { display: none; } .lang-btn { padding: 9px 8px; } }
/* no room next to the hamburger on phones; English is not live yet anyway */
@media (max-width: 600px) { .lang-menu { display: none; } }

/* ---------- "Пиши ни" floating contact (mockup B) — bottom-left, the Пили bot owns bottom-right ---------- */
.reach {
  position: fixed; left: clamp(14px, 3vw, 28px); bottom: calc(clamp(14px, 3vw, 28px) + var(--bar-h, 0px)); z-index: 89;
  display: grid; gap: 8px; justify-items: start; transition: bottom .3s;
}
/* Main button: pill "Пиши ни" morphs into a round × (label folds away, icons swap with a turn) */
.reach-main {
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  position: relative; display: inline-flex; align-items: center; border: 0; cursor: pointer;
  height: 50px; padding: 0 20px 0 16px; border-radius: 999px;
  background: var(--mauve); color: var(--white); font: 700 14px var(--body);
  box-shadow: 0 14px 30px -14px rgba(156, 91, 99, .9);
  transition: background .35s ease, padding .45s var(--spring), transform .25s var(--spring), box-shadow .3s;
}
.reach-main:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -14px rgba(156, 91, 99, .95); }
.reach-main:active { transform: scale(.94); }
.reach-main .ico { position: relative; width: 18px; height: 18px; flex: none; }
.reach-main .ico > span { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity .25s ease, transform .45s var(--spring); }
.reach-main svg { width: 18px; height: 18px; fill: currentColor; }
.reach-main .i-close { opacity: 0; transform: rotate(-90deg) scale(.4); }
.reach-main .lbl {
  display: inline-block; overflow: hidden; white-space: nowrap; max-width: 90px; margin-left: 8px;
  transition: max-width .45s cubic-bezier(.2, .7, .2, 1), margin .45s cubic-bezier(.2, .7, .2, 1), opacity .2s ease .1s;
}
.reach.open .reach-main { background: var(--cocoa); padding: 0 16px; }
.reach.open .reach-main .i-chat { opacity: 0; transform: rotate(90deg) scale(.4); }
.reach.open .reach-main .i-close { opacity: 1; transform: none; }
.reach.open .reach-main .lbl { max-width: 0; margin-left: 0; opacity: 0; transition-delay: 0s; }

/* gentle attention ring, twice, a moment after load */
.reach-main::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(216, 154, 158, .55); pointer-events: none; }
.reach.hello:not(.open) .reach-main::after { animation: reach-ring 1.8s ease-out 2; }
@keyframes reach-ring { 0% { box-shadow: 0 0 0 0 rgba(216, 154, 158, .55); } 100% { box-shadow: 0 0 0 16px rgba(216, 154, 158, 0); } }

/* Options rise from the button one by one (nearest first) and drop back top-first */
.reach-opts { display: grid; gap: 8px; justify-items: start; visibility: hidden; transition: visibility 0s linear .5s; }
.reach.open .reach-opts { visibility: visible; transition-delay: 0s; }
.reach-opts a {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  background: var(--white); color: var(--cocoa); font: 700 14px var(--body);
  padding: 6px 16px 6px 6px; border-radius: 999px; border: 1px solid var(--line); box-shadow: var(--shadow);
  transform-origin: 24px 100%;
  opacity: 0; transform: translateY(calc(16px + var(--i, 0) * 10px)) scale(.6);
  transition: opacity .18s ease, transform .3s cubic-bezier(.4, 0, 1, 1), border-color .2s, background .2s;
  transition-delay: calc((2 - var(--i, 0)) * 35ms);
}
.reach.open .reach-opts a {
  opacity: 1; transform: none;
  transition: opacity .25s ease, transform .5s cubic-bezier(.34, 1.56, .64, 1), border-color .2s, background .2s;
  transition-delay: calc(var(--i, 0) * 60ms + 40ms);
}
.reach-opts a:hover { border-color: var(--rose); background: var(--shell); }
.reach-opts a:hover i { transform: scale(1.08) rotate(-6deg); }
.reach-opts i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none; transition: transform .3s cubic-bezier(.34, 1.56, .64, 1); }
.reach-opts i svg { width: 18px; height: 18px; fill: #fff; }
@media (max-width: 480px) {
  .reach-main { padding: 0 16px; }
  .reach-main .lbl { max-width: 0; margin-left: 0; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .reach-main::after { animation: none !important; } }

/* ---------- Cookie bar (mockup A) ---------- */
.cookie-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  background: var(--cocoa); color: var(--shell);
  padding: 16px var(--gutter) calc(16px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  animation: sheet-up .4s cubic-bezier(.2, .7, .2, 1) both;
}
.cookie-bar p { font-size: 14px; max-width: 70ch; color: rgba(250, 243, 240, .85); }
.cookie-bar a { color: var(--rose); }
.cookie-bar .acts { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie-bar button { font: 700 14px/1 var(--body); padding: 12px 20px; border-radius: 999px; cursor: pointer; border: 1px solid var(--shell); }
.cookie-bar .ok { background: var(--rose); border-color: var(--rose); color: var(--cocoa); }
.cookie-bar .ok:hover { background: var(--blush); border-color: var(--blush); }
.cookie-bar .min { background: transparent; color: var(--shell); }
.cookie-bar .min:hover { background: rgba(250, 243, 240, .1); }
.has-cookie-bar .pili { bottom: calc(clamp(14px, 3vw, 28px) + var(--bar-h, 0px)); transition: bottom .3s; }

/* ---------- Footer additions ---------- */
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-legal a, .footer-legal button { color: inherit; text-decoration: none; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.footer-legal a:hover, .footer-legal button:hover { color: var(--cocoa); }
.footer-top:has(.footer-col + .footer-col + .footer-col) { grid-template-columns: 1.4fr auto auto auto; }
@media (max-width: 760px) { .footer-top:has(.footer-col + .footer-col + .footer-col) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Legal pages (ClickUp: policies card + document) ---------- */
.legal { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; padding-block: clamp(32px, 5vw, 64px) clamp(56px, 8vw, 104px); }
.legal-nav {
  position: sticky; top: 110px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; display: grid; gap: 14px; box-shadow: var(--shadow);
}
.legal-nav h2 { font-size: 20px; }
.legal-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.legal-nav a { display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none; font-size: 14px; font-weight: 600; border-bottom: 1px dashed var(--line); }
.legal-nav li:last-child a { border-bottom: 0; }
.legal-nav a:hover { background: var(--shell); }
.legal-nav a[aria-current="page"] { background: var(--mauve); color: var(--white); border-color: transparent; }
.legal-nav .toc { border-top: 1px solid var(--line); padding-top: 12px; }
.legal-nav .toc a { font-weight: 500; font-size: 13px; color: var(--muted); padding: 6px 12px; border: 0; }
.legal-doc { max-width: 72ch; display: grid; gap: 16px; }
.legal-doc h1 { font-size: clamp(32px, 4.4vw, 48px); text-align: center; }
.legal-doc .eff { text-align: center; color: var(--muted); font-size: 14px; font-style: italic; }
.legal-doc .tldr { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.legal-doc h2 { font-size: 24px; margin-top: 20px; scroll-margin-top: 110px; }
.legal-doc p, .legal-doc li { color: var(--muted); }
.legal-doc ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.legal-doc strong { color: var(--cocoa); }
.legal-doc a { color: var(--mauve); }
.legal-doc table { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--white); border-radius: 12px; overflow: hidden; }
.legal-doc th, .legal-doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-doc th { font-weight: 700; color: var(--cocoa); }
.legal-doc .note { font-size: 13px; background: var(--blush); color: var(--cocoa); padding: 12px 16px; border-radius: 12px; }
@media (max-width: 860px) { .legal { grid-template-columns: minmax(0, 1fr); } .legal-nav { position: static; } .legal-nav .toc { display: none; } }

/* ---------- 404 (Lassie: icon + serif line + button) ---------- */
.lost { min-height: 62vh; display: grid; place-content: center; justify-items: center; text-align: center; gap: 18px; padding-block: 48px; }
.lost svg { width: 64px; height: 64px; fill: var(--mauve); }
.lost h1 { font-size: clamp(34px, 5vw, 56px); max-width: 16ch; }
.lost p { color: var(--muted); font-size: 15px; }
.lost p b { color: var(--rose); font-weight: 700; }
.lost .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 6px; }

/* ---------- Voucher (Flighty: card row + form beside a live card) ---------- */
.page-intro:has(.v-row) { grid-template-columns: minmax(0, 1fr); }
.v-row { justify-self: stretch; display: flex; justify-content: center; gap: clamp(10px, 2vw, 20px); padding: 28px 0 28px; overflow: hidden; margin-inline: calc(var(--gutter) * -1); }
.v-card {
  flex: none; width: clamp(200px, 24vw, 280px); aspect-ratio: 1.6; border-radius: 18px; padding: 16px 18px;
  display: flex; flex-direction: column; justify-content: space-between; color: var(--white);
  box-shadow: 0 24px 40px -24px rgba(58, 38, 41, .6); position: relative; overflow: hidden; isolation: isolate;
}
.v-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 90% at 85% 10%, rgba(255,255,255,.35), transparent 55%); }
.v-card .top { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; }
.v-card .top img { width: 22px; height: 22px; border-radius: 50%; }
.v-card small { font-size: 12px; font-weight: 700; opacity: .85; }
.v-card b { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 3vw, 36px); line-height: 1; }
.v-card .to { display: block; font-size: 12px; opacity: .85; margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v-card.t-rose { background: linear-gradient(135deg, #D89A9E, #9C5B63); }
.v-card.t-blush { background: linear-gradient(135deg, #F3DFD9, #D89A9E); color: var(--cocoa); }
.v-card.t-cocoa { background: linear-gradient(135deg, #5A3B40, #2A1A1D); }
.v-card.t-photo { background: linear-gradient(rgba(58,38,41,.15), rgba(58,38,41,.65)), url(../images/reformer-5.jpg) center / cover; }
.v-row .v-card:nth-child(1) { transform: rotate(-4deg) translateY(10px); }
.v-row .v-card:nth-child(2) { transform: rotate(1.5deg); }
.v-row .v-card:nth-child(3) { transform: rotate(-1.5deg) translateY(6px); }
.v-row .v-card:nth-child(4) { transform: rotate(3deg) translateY(14px); }
.v-buy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: clamp(28px, 5vw, 64px); align-items: start; max-width: 940px; margin: 0 auto; }
.v-form { display: grid; gap: 22px; }
.v-form h2 { font-size: clamp(26px, 3vw, 34px); }
.v-form .sub { color: var(--muted); font-size: 15px; margin-top: 4px; }
.v-group { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; }
.v-group[hidden] { display: none; }
.v-group legend { font-weight: 700; font-size: 15px; margin-bottom: 8px; padding: 0; }
.v-opt {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 13px 16px; font-size: 15px; font-weight: 600;
  transition: border-color .2s, background .2s;
}
.v-opt:hover { border-color: var(--rose); }
.v-opt span { display: flex; align-items: center; gap: 12px; }
.v-opt input { accent-color: var(--mauve); width: 18px; height: 18px; margin: 0; }
.v-opt em { font-style: normal; color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; }
.v-opt:has(input:checked) { border-color: var(--mauve); background: var(--shell); box-shadow: inset 0 0 0 1px var(--mauve); }
.v-form .field input, .v-form .field textarea { background: var(--white); border-color: var(--line); color: var(--cocoa); }
.v-form .field textarea { min-height: 84px; }
.v-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.v-form .btn { justify-content: center; }
.v-form .form-msg { color: var(--mauve); }
.v-preview { position: sticky; top: 120px; display: grid; gap: 14px; }
.v-preview .v-card { width: 100%; }
.v-preview p { font-size: 13px; color: var(--muted); }
.v-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; counter-reset: st; }
.v-steps li { list-style: none; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; gap: 6px; counter-increment: st; }
.v-steps li::before { content: counter(st); width: 30px; height: 30px; border-radius: 50%; background: var(--blush); color: var(--mauve); display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.v-steps b { font-size: 16px; }
.v-steps span { font-size: 14px; color: var(--muted); }
@media (max-width: 820px) {
  .v-buy { grid-template-columns: minmax(0, 1fr); }
  .v-preview { position: static; order: -1; max-width: 360px; }
  .v-steps { grid-template-columns: minmax(0, 1fr); }
  .v-row { justify-content: flex-start; padding-inline: var(--gutter); overflow-x: auto; scrollbar-width: none; }
  .v-row .v-card { transform: none !important; width: 230px; }
}
@media (max-width: 480px) { .v-form .two { grid-template-columns: 1fr; } }

/* ---------- Intro offer (Blue Apron: photo band with a centred card) ---------- */
.offer-band {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: clamp(420px, 52vw, 560px);
  display: grid; place-items: center; padding: clamp(20px, 4vw, 48px);
  background: url(../images/studio-2.jpg) center / cover;
}
.offer-band::before { content: ""; position: absolute; inset: 0; background: rgba(58, 38, 41, .18); }
.offer-card {
  position: relative; background: var(--white); border-radius: var(--radius); padding: clamp(28px, 4vw, 48px) clamp(24px, 5vw, 64px);
  display: grid; gap: 12px; justify-items: center; text-align: center; max-width: 520px; box-shadow: 0 30px 60px -30px rgba(58, 38, 41, .55);
}
.offer-card h1 { font-size: clamp(32px, 4.4vw, 48px); color: var(--cocoa); }
.offer-card .price-line { font-size: 17px; color: var(--muted); }
.offer-card .price-line b { color: var(--mauve); font-size: 22px; }
.offer-card .btn { margin-top: 8px; padding-inline: 32px; letter-spacing: .06em; text-transform: uppercase; font-size: 14px; }
.offer-card small { font-size: 12px; color: var(--muted); }
.incl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 40px; }
.incl div { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; gap: 6px; }
.incl b { font-family: var(--display); font-weight: 400; font-size: 34px; color: var(--mauve); line-height: 1; }
.incl span { font-size: 14px; color: var(--muted); }
@media (max-width: 860px) { .incl { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Blog list (Patreon: tabs + clean grid with dates) ---------- */
.blog-tabs { display: flex; gap: 22px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.blog-tabs button { background: none; border: 0; padding: 10px 0; cursor: pointer; font: 600 15px var(--body); color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.blog-tabs button[aria-pressed="true"] { color: var(--cocoa); border-color: var(--cocoa); }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; }
.post-card { display: grid; gap: 12px; text-decoration: none; align-content: start; }
.post-card[hidden] { display: none; }
.post-card .ph { aspect-ratio: 16 / 10; min-height: 0; }
.post-card .ph img { transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.post-card:hover .ph img { transform: scale(1.04); }
.post-card time, .post-meta time { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.post-card h2 { font-family: var(--body); font-weight: 800; font-size: 19px; line-height: 1.3; }
.post-card:hover h2 { color: var(--mauve); }
.post-card p { font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .post-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Blog post (Superhuman: big title, author row + share, full-width cover) ---------- */
.post-head { max-width: 900px; margin: 0 auto; padding-block: clamp(32px, 5vw, 64px) clamp(28px, 4vw, 48px); display: grid; gap: 22px; }
.post-head .back { font-size: 14px; font-weight: 700; color: var(--mauve); text-decoration: none; }
.post-head h1 { font-size: clamp(34px, 5vw, 56px); }
.post-meta { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.author { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.author img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.author b { display: block; font-size: 15px; }
.author span { font-size: 13px; color: var(--muted); }
.share { display: flex; gap: 6px; }
.share a, .share button { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--white); border: 1px solid var(--line); color: var(--muted); cursor: pointer; }
.share a:hover, .share button:hover { color: var(--mauve); border-color: var(--rose); }
.share svg { width: 16px; height: 16px; fill: currentColor; }
.post-cover { max-width: 1400px; margin: 0 auto; padding-inline: clamp(0px, 3vw, 40px); }
.post-cover .ph { aspect-ratio: 21 / 9; border-radius: clamp(0px, 2vw, 24px); }
.post-body { max-width: 68ch; margin: 0 auto; padding: clamp(36px, 5vw, 64px) var(--gutter) 24px; display: grid; gap: 18px; font-size: 17px; line-height: 1.75; }
.post-body h2 { font-size: clamp(24px, 3vw, 30px); margin-top: 18px; }
.post-body ul { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.post-body .callout { background: var(--white); border-left: 3px solid var(--rose); border-radius: 0 14px 14px 0; padding: 16px 20px; font-size: 16px; }
.post-body .callout b { color: var(--mauve); }
.post-end { max-width: 68ch; margin: 0 auto; padding: 0 var(--gutter); }
.post-end .cta { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.post-end .cta h2 { font-size: 24px; }
.post-end .cta p { color: var(--muted); font-size: 15px; }
.more { padding-top: clamp(56px, 8vw, 96px); }

/* ---------- Instructor page (Portrait: header + bento of photos and cards) ---------- */
.coach { max-width: 1040px; margin: 0 auto; padding-block: clamp(28px, 5vw, 56px) clamp(56px, 8vw, 96px); }
.coach-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(18px, 3vw, 32px); box-shadow: var(--shadow); }
.coach-head { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.coach-head img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--blush); }
.coach-head h1 { font-size: clamp(30px, 4vw, 42px); }
.coach-head p { color: var(--muted); font-size: 15px; }
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 150px; grid-auto-flow: dense; gap: 14px; }
.bento > * { border-radius: var(--radius); overflow: hidden; position: relative; }
.bento .ph { min-height: 0; height: 100%; }
.bento .tall { grid-row: span 2; }
.bento .wide { grid-column: span 2; }
.bento .big { grid-column: span 2; grid-row: span 2; }
.bento .tile { background: var(--shell); border: 1px solid var(--line); padding: 18px; display: grid; gap: 8px; align-content: start; overflow: auto; }
.bento .tile h2 { font-size: 20px; }
.bento .tile p, .bento .tile li { font-size: 14px; color: var(--muted); }
.bento .tile ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
.bento .tile.dark { background: var(--cocoa); border-color: var(--cocoa); color: var(--white); align-content: space-between; }
.bento .tile.dark p { color: var(--blush); }
.bento .tile.rose { background: var(--blush); border-color: var(--blush); }
.bento .cap { position: absolute; left: 10px; bottom: 10px; background: rgba(58, 38, 41, .72); color: var(--white); font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 9px; backdrop-filter: blur(6px); }
.coach-classes { display: grid; gap: 6px; }
.coach-classes li { list-style: none; display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--cocoa); border-bottom: 1px dashed var(--line); padding-bottom: 5px; }
.coach-classes { padding: 0 !important; }
.coach-classes small { color: var(--muted); }
.coach-others { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 28px; }
.coach-others a { display: flex; align-items: center; gap: 8px; text-decoration: none; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px 5px 5px; font-size: 14px; font-weight: 700; }
.coach-others a:hover { border-color: var(--rose); }
.coach-others img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
@media (max-width: 760px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(140px, auto); }
  .bento .big { grid-column: span 2; }
  .bento .tile { overflow: visible; }
}
.member { text-decoration: none; transition: transform .25s; }
a.member:hover { transform: translateY(-3px); }
a.member .member-body span::after { content: " →"; color: var(--rose); }

/* ---------- Reviews carousel (Fresha: star cards + arrows) ---------- */
.reviews-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.reviews-head .arrows { display: flex; gap: 8px; }
.reviews-head .arrows button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); cursor: pointer; display: grid; place-items: center; color: var(--cocoa); }
.reviews-head .arrows button:hover:not([disabled]) { border-color: var(--rose); }
.reviews-head .arrows button[disabled] { opacity: .4; cursor: default; }
.reviews-head .arrows svg { width: 16px; height: 16px; }
.reviews {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth;
  margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 8px; scroll-padding-inline: var(--gutter);
}
.reviews::-webkit-scrollbar { display: none; }
.review {
  flex: 0 0 min(300px, 82%); scroll-snap-align: start; background: var(--white); border-radius: var(--radius); padding: 22px;
  display: grid; grid-template-rows: auto auto 1fr auto; gap: 12px; min-height: 280px;
}
.review .stars { color: var(--mauve); letter-spacing: 3px; font-size: 18px; }
.review h3 { font-family: var(--body); font-weight: 800; font-size: 18px; line-height: 1.3; }
.review p { font-size: 14px; color: var(--muted); }
.review .who { display: flex; align-items: center; gap: 10px; }
.review .who img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.review .who b { display: block; font-size: 14px; }
.review .who span { font-size: 12px; color: var(--muted); }

/* ---------- Booking card: centred heading + smooth changes ---------- */
.bk-head { text-align: center; }
.bk-head .bk-sub { max-width: 40ch; margin-inline: auto; }

/* selection moves softly instead of snapping */
.bk-day, .bk-slot { transition: background .35s ease, color .35s ease, border-color .35s ease, transform .3s cubic-bezier(.34, 1.56, .64, 1), box-shadow .35s ease; }
.bk-slot[aria-selected="true"] { box-shadow: 0 12px 24px -14px rgba(58, 38, 41, .7); }
.bk-slot b, .bk-slot span, .bk-slot small { transition: color .35s ease, background .35s ease; }
.bk-day:active, .bk-slot:active:not([disabled]) { transform: scale(.95); }

/* new day: the chosen pill pops, times rise in one after another */
.bk-anim-day .bk-day[aria-selected="true"] { animation: bk-pop .45s cubic-bezier(.34, 1.56, .64, 1); }
.bk-anim-day .bk-slot, .bk-anim-day .bk-empty { animation: bk-rise .45s cubic-bezier(.2, .7, .2, 1) both; }
.bk-anim-day .bk-slot:nth-child(2) { animation-delay: .04s; }
.bk-anim-day .bk-slot:nth-child(3) { animation-delay: .08s; }
.bk-anim-day .bk-slot:nth-child(4) { animation-delay: .12s; }
.bk-anim-day .bk-slot:nth-child(5) { animation-delay: .16s; }
.bk-anim-day .bk-slot:nth-child(n+6) { animation-delay: .2s; }
.bk-anim-day .bk-go span { animation: bk-fade .35s ease both; }

/* step 1 ↔ step 2: content slides in, progress bar grows */
.bk-anim-step .bk-head, .bk-anim-step .booking-summary, .bk-anim-step .bk-fields > *, .bk-anim-step .bk-days, .bk-anim-step .bk-slots, .bk-anim-step .bk-none {
  animation: bk-rise .5s cubic-bezier(.2, .7, .2, 1) both;
}
.bk-anim-step .booking-summary, .bk-anim-step .bk-days { animation-delay: .05s; }
.bk-anim-step .bk-fields > :nth-child(1), .bk-anim-step .bk-slots { animation-delay: .1s; }
.bk-anim-step .bk-fields > :nth-child(2) { animation-delay: .14s; }
.bk-anim-step .bk-fields > :nth-child(3) { animation-delay: .18s; }
.bk-anim-step .bk-fields > :nth-child(n+4), .bk-anim-step .bk-none { animation-delay: .22s; }
.bk-anim-step .bk-progress i { animation: bk-grow .6s cubic-bezier(.2, .7, .2, 1) both; }

/* the button text refreshes with a small nudge when a time is picked */
.bk-go.bk-bump span { animation: bk-fade .35s ease both; }
.bk-go.bk-bump { animation: bk-pop .4s cubic-bezier(.34, 1.56, .64, 1); }

@keyframes bk-rise { from { opacity: 0; transform: translateY(10px); } }
@keyframes bk-fade { from { opacity: 0; transform: translateY(4px); } }
@keyframes bk-pop { 0% { transform: scale(.92); } 60% { transform: scale(1.04); } 100% { transform: scale(1); } }
@keyframes bk-grow { from { transform: scaleX(.5); transform-origin: left; } to { transform-origin: left; } }
@media (prefers-reduced-motion: reduce) { [class*="bk-anim-"] *, .bk-go.bk-bump, .bk-go.bk-bump span { animation: none !important; } }

/* header: keep "Maison Lea" clear of the menu icon on small phones */
@media (max-width: 420px) { .brand { font-size: 18px; padding-right: 6px; } .menu-toggle { margin-left: 4px; } }

/* Schedule page: intro text sits in the vertical middle of the booking card (grid keeps align-items:start) */
@media (min-width: 901px) { .bk-split > .bk-intro { align-self: center; } }

/* Header with 6 nav items: tighten between the hamburger breakpoint and wide screens */
@media (900px < width <= 1100px) {
  .pill .ig { display: none; }
  .nav-links a { padding: 9px 10px; }
  .brand { font-size: 20px; padding-right: 8px; }
}
@media (900px < width <= 980px) {
  .lang-menu { display: none; }
  .nav-links a { padding: 9px 8px; font-size: 13.5px; }
}
