/* ==========================================================================
   Excellence Swimming — site styles (v3, design revision 2)
   Deep navy + warm cream + white cards + aqua accents.
   Type: Inter Tight (light headings) · Manrope (body, bold labels) · Space Grotesk (small caps labels).
   The logo keeps its original Sora wordmark and gold mark until new artwork is approved.
   Every token maps to a Figma variable / Wix Studio site style (design-system/tokens.json).
   ========================================================================== */

@font-face {
  font-family: "Sora"; font-style: normal; font-weight: 800; font-display: swap;
  src: url("../fonts/sora-latin-800-normal.woff2") format("woff2");
}

/* ---------- 1. TOKENS --------------------------------------------------- */
:root {
  /* Colour (values sampled from the reference are approximations, adapted for contrast) */
  --abyss: #061522;          /* deepest navy — dark section base, footer */
  --abyss-top: #0B2338;      /* top of the dark gradient */
  --navy: #172A5A;           /* headings + strong text on light */
  --text: #4F5D7A;           /* soft blue body text on light (6.1:1 on cream) */
  --cream: #FBF6EC;          /* warm cream page background */
  --white: #FFFFFF;          /* cards */
  --mist: #EEF6F5;           /* pale aqua tint for the testimonials band */
  --aqua: #75CAD3;           /* accent: buttons, icons + headings on dark */
  --aqua-ink: #1C7480;       /* aqua deepened for text/icons on light (5.0:1 on cream) */
  --aqua-wash: #E9F5F5;      /* icon circles */
  --line: #E7E1D3;           /* card borders on cream */
  --on-dark: #FFFFFF;
  --on-dark-muted: #B3C2D2;  /* 8.8:1 on the dark gradient */
  --on-dark-line: rgba(255, 255, 255, 0.14);
  --gold: #C6A969;           /* logo mark only (placeholder logo) */
  --error: #A23A2C;

  --grad-dark: radial-gradient(70% 60% at 88% 45%, rgba(117, 202, 211, 0.09) 0%, rgba(117, 202, 211, 0) 70%),
               linear-gradient(180deg, var(--abyss-top) 0%, var(--abyss) 100%);
  --grad-mist: linear-gradient(180deg, var(--cream) 0%, var(--mist) 100%);
  --grad-frame: linear-gradient(135deg, #CFEBEE 0%, #E6E4F3 100%);

  --font-display: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-label: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-display: clamp(2.625rem, 1.6rem + 4vw, 4.75rem);   /* 42 → 76 */
  --fs-h1: clamp(2.375rem, 1.6rem + 3vw, 3.75rem);        /* 38 → 60 */
  --fs-h2: clamp(2rem, 1.5rem + 1.8vw, 2.875rem);         /* 32 → 46 */
  --fs-h3: clamp(1.1875rem, 1.1rem + 0.3vw, 1.375rem);    /* 19 → 22 */
  --fs-lead: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);  /* 17 → 19 */
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-label: 0.75rem;

  --section-y: clamp(64px, 2.5rem + 4.5vw, 112px);
  --gutter: 64px;
  --gap: 24px;
  --r-card: 24px;
  --r-media: 28px;
  --r-input: 14px;
  --r-pill: 999px;
  --max: 1280px;
  --header-h: 80px;
  --shadow-card: 0 1px 2px rgba(23, 42, 90, 0.04), 0 12px 32px -18px rgba(23, 42, 90, 0.18);
  --shadow-lift: 0 2px 4px rgba(23, 42, 90, 0.05), 0 24px 48px -24px rgba(23, 42, 90, 0.28);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 280ms;
  --dur-slow: 700ms;
}

/* ---------- 2. BASE ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--cream); color: var(--text);
  font-family: var(--font-body); font-weight: 400; font-size: var(--fs-body); line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; overflow-x: clip; /* clip, not hidden, so position: sticky keeps working */
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, fieldset { margin: 0; padding: 0; }
fieldset { border: 0; min-width: 0; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--aqua-ink); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--aqua); }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 1000; background: var(--white); color: var(--navy); padding: 12px 20px; border-radius: var(--r-pill); }
.skip-link:focus { top: 16px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.t-num { font-variant-numeric: tabular-nums; }
.icon { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Placeholders: anything still needed from the client */
.ph { text-decoration: underline dotted 1px; text-underline-offset: 0.2em; text-decoration-color: var(--aqua-ink); }
.design-note { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 6px 12px; border: 1px dashed var(--aqua-ink); border-radius: var(--r-pill); font-family: var(--font-label); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--aqua-ink); background: rgba(255, 255, 255, 0.6); line-height: 1.3; }
.on-dark .design-note { border-color: var(--aqua); color: var(--aqua); background: rgba(6, 21, 34, 0.5); }

/* ---------- 3. TEXT STYLES ---------------------------------------------- */
.h-display, .h1, .h2 { font-family: var(--font-display); font-weight: 300; color: var(--navy); text-wrap: balance; }
.h-display { font-size: var(--fs-display); line-height: 1.02; letter-spacing: -0.035em; }
.h1 { font-size: var(--fs-h1); line-height: 1.05; letter-spacing: -0.03em; }
.h2 { font-size: var(--fs-h2); line-height: 1.1; letter-spacing: -0.025em; }
.h3 { font-family: var(--font-body); font-weight: 700; font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -0.01em; color: var(--navy); }
.accent { color: var(--aqua-ink); }
.lead { font-size: var(--fs-lead); line-height: 1.65; max-width: 52ch; }
.body { max-width: 56ch; }
.small { font-size: var(--fs-small); line-height: 1.6; }
.label { display: inline-flex; align-items: center; gap: 14px; font-family: var(--font-label); font-weight: 500; font-size: var(--fs-label); line-height: 1.2; letter-spacing: 0.28em; text-transform: uppercase; color: var(--text); }
.label--line::before { content: ""; width: 32px; height: 1px; background: var(--aqua); }
.strong { font-weight: 700; color: var(--navy); }

/* On dark surfaces every text style flips to light values */
.on-dark { color: var(--on-dark-muted); }
.on-dark .h-display, .on-dark .h1, .on-dark .h2, .on-dark .h3, .on-dark .strong { color: var(--on-dark); }
.on-dark .accent { color: var(--aqua); }
.on-dark .label { color: var(--on-dark-muted); }

/* ---------- 4. LAYOUT --------------------------------------------------- */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: var(--section-y); }
.section--tight-top { padding-top: calc(var(--section-y) * 0.4); }
.section--white { background: var(--white); }
.section--mist { background: var(--grad-mist); }
.section--dark { background: var(--grad-dark); }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.stack { display: flex; flex-direction: column; }
.gap-1 { gap: 8px; } .gap-2 { gap: 16px; } .gap-3 { gap: 24px; } .gap-4 { gap: 32px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 32px; flex-wrap: wrap; margin-bottom: clamp(32px, 1.5rem + 2vw, 48px); }
.section-head__text { display: flex; flex-direction: column; gap: 16px; max-width: 640px; }
.section-head__aside { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; max-width: 44ch; }

/* Wave divider · Wix Studio: section Shape Divider (two layered waves).
   --from = colour of the section above, --to = colour of the section below. */
.wave { position: relative; height: clamp(40px, 2rem + 3vw, 84px); background: var(--to); margin-top: -1px; }
.wave svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.wave .wave__back { fill: var(--from); opacity: 0.35; }
.wave .wave__front { fill: var(--from); }
.wave--to-dark { --from: var(--cream); --to: var(--abyss-top); }
.wave--mist-to-dark { --from: var(--mist); --to: var(--abyss); }
.wave--from-dark { --from: var(--abyss); --to: var(--cream); }
.wave--to-footer { --from: var(--cream); --to: var(--abyss); }

/* ---------- 5. BUTTONS, LINKS, CAPSULES --------------------------------- */
/* Button = one pill + one label (+ optional arrow icon). Wix: Button element with design presets. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: var(--r-pill);
  background: var(--aqua); color: var(--abyss); border: 1px solid transparent;
  font-family: var(--font-body); font-weight: 600; font-size: 15px; line-height: 1; white-space: nowrap;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform 200ms var(--ease), box-shadow var(--dur) var(--ease);
  touch-action: manipulation;
}
.btn .icon { width: 18px; height: 18px; stroke-width: 2; transition: transform var(--dur) var(--ease); }
.btn:hover { background: #8AD5DD; transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(117, 202, 211, 0.8); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: translateY(0); }
.btn--outline { background: transparent; color: var(--navy); border-color: #D9D1BF; }
.btn--outline:hover { background: var(--white); border-color: var(--navy); box-shadow: none; }
.on-dark .btn--outline { color: var(--on-dark); border-color: rgba(255, 255, 255, 0.3); }
.on-dark .btn--outline:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--on-dark); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 14px; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }

.link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; font-size: 15px; color: var(--navy); }
.link .icon { width: 18px; height: 18px; stroke-width: 2; color: var(--aqua-ink); transition: transform var(--dur) var(--ease); }
.link:hover .icon { transform: translateX(4px); }
.on-dark .link { color: var(--on-dark); }
.on-dark .link .icon { color: var(--aqua); }

/* Capsule (credential badge) · Wix: Button or Text in a container with pill radius + icon */
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 16px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--white); font-weight: 500; font-size: 14px; line-height: 1.25; color: var(--navy); }
.pill .icon { width: 16px; height: 16px; color: var(--aqua-ink); }
.pill--sm { min-height: 32px; padding: 6px 12px; font-size: 13px; }
.on-dark .pill { background: rgba(255, 255, 255, 0.04); border-color: var(--on-dark-line); color: var(--on-dark); }
.on-dark .pill .icon { color: var(--aqua); }

/* Inline trust row (icon + text, no border) */
.trust { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.trust li { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; }
.trust .icon { width: 18px; height: 18px; color: var(--aqua); }

/* ---------- 6. CARDS ---------------------------------------------------- */
/* Card · Wix: Container (white fill, 1px border, 24px radius) inside a Repeater or Grid */
.card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 32px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease), background-color var(--dur); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card--static:hover { transform: none; box-shadow: none; }
.card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.icon-dot { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--aqua-wash); color: var(--aqua-ink); flex-shrink: 0; }
.icon-dot .icon { width: 24px; height: 24px; }
.icon-dot--sm { width: 44px; height: 44px; }
.icon-dot--sm .icon { width: 20px; height: 20px; }
.card__index { font-weight: 500; font-size: 15px; color: var(--aqua-ink); font-variant-numeric: tabular-nums; }
.card__text { font-size: 15.5px; line-height: 1.65; }
.card__foot { margin-top: auto; padding-top: 8px; }
.cards { display: grid; gap: var(--gap); }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* Glass card on dark */
.on-dark .card { background: rgba(255, 255, 255, 0.04); border-color: var(--on-dark-line); }
.on-dark .card:hover { background: rgba(255, 255, 255, 0.07); box-shadow: none; }
.on-dark .icon-dot { background: rgba(117, 202, 211, 0.12); color: var(--aqua); }
.on-dark .card__index { color: var(--aqua); }

/* ---------- 7. HEADER --------------------------------------------------- */
/* Header · Wix: global header, transparent over the hero, navy on scroll (Scroll effect) */
.header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); color: var(--on-dark);
  transition: background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.header.is-scrolled { background: rgba(6, 21, 34, 0.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--on-dark-line); }
.header__inner { height: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.logo { display: inline-flex; align-items: center; gap: 12px; font-family: "Sora", var(--font-body); font-weight: 800; }
.logo__mark { width: 28px; height: 28px; color: var(--gold); }
.logo__word { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-size: 16px; letter-spacing: 0.16em; }
.logo__sub { font-size: 9px; letter-spacing: 0.5em; margin-top: 5px; opacity: 0.7; }
.nav { display: flex; gap: 32px; }
.nav__link { position: relative; font-size: 15px; font-weight: 500; padding-block: 10px; color: var(--on-dark-muted); transition: color 200ms var(--ease); }
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: var(--aqua); transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease); }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--on-dark); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.header__cta { display: flex; align-items: center; gap: 10px; }
.header__book { background: transparent; color: var(--on-dark); border-color: rgba(255, 255, 255, 0.35); }
.header__book:hover, .header.is-scrolled .header__book { background: var(--aqua); color: var(--abyss); border-color: var(--aqua); }
.menu-toggle { display: none; width: 48px; height: 48px; align-items: center; justify-content: center; margin-right: -12px; }
.menu-toggle__bars { position: relative; width: 22px; height: 10px; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform var(--dur) var(--ease), top var(--dur) var(--ease); }
.menu-toggle__bars::before { top: 0; } .menu-toggle__bars::after { top: 8px; }
.menu-open .menu-toggle__bars::before { top: 4px; transform: rotate(45deg); }
.menu-open .menu-toggle__bars::after { top: 4px; transform: rotate(-45deg); }
.menu-open .header { background: var(--abyss); }
.mobile-menu { position: fixed; inset: 0; z-index: 90; background: var(--grad-dark); color: var(--on-dark); padding: calc(var(--header-h) + 16px) 20px 32px; display: flex; flex-direction: column; justify-content: space-between; opacity: 0; visibility: hidden; transition: opacity var(--dur) var(--ease), visibility var(--dur); }
.menu-open { overflow: hidden; }
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu__links a { display: block; font-family: var(--font-display); font-weight: 300; font-size: 34px; line-height: 1.1; letter-spacing: -0.02em; padding-block: 14px; border-bottom: 1px solid var(--on-dark-line); }
.mobile-menu__links a[aria-current="page"] { color: var(--aqua); }
@media (max-width: 1023px) { .nav, .header__book { display: none; } .menu-toggle { display: inline-flex; } }
@media (min-width: 1024px) { .mobile-menu { display: none; } }

/* Mobile Book Bar · pinned bottom on phones once the hero scrolls away */
.book-bar { display: none; }
@media (max-width: 767px) {
  .book-bar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(6, 21, 34, 0.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transform: translateY(110%); transition: transform var(--dur) var(--ease); }
  .book-bar.is-visible { transform: none; }
  .page-calendar .book-bar { display: none; }
  .footer { padding-bottom: 88px; }
}

/* ---------- 8. MEDIA ---------------------------------------------------- */
.media { position: relative; overflow: hidden; border-radius: var(--r-media); background: var(--abyss-top); }
.media__img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform var(--dur-slow) var(--ease); }
a:hover .media__img, .card:hover .media__img { transform: scale(1.04); }
.media__tag { position: absolute; left: 16px; top: 16px; z-index: 2; font-family: var(--font-label); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark); padding: 6px 10px; border-radius: var(--r-pill); background: rgba(6, 21, 34, 0.6); }
.has-photo .media__tag { display: none; }
.media--empty { background: var(--grad-frame); display: flex; align-items: center; justify-content: center; }
.media__ph { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px; text-align: center; color: var(--navy); font-size: 13px; line-height: 1.4; }
.media__ph .icon { width: 28px; height: 28px; color: var(--aqua-ink); }
.ratio-4x5 { aspect-ratio: 4 / 5; } .ratio-3x4 { aspect-ratio: 3 / 4; } .ratio-16x10 { aspect-ratio: 16 / 10; } .ratio-3x2 { aspect-ratio: 3 / 2; }

/* Layered photo frame (founder): soft aqua→lavender plate offset behind a rounded photo */
.frame { position: relative; padding: 0 0 24px 24px; }
.frame::before { content: ""; position: absolute; left: 0; top: 24px; right: 24px; bottom: 0; border-radius: calc(var(--r-media) + 6px); background: var(--grad-frame); transform: rotate(-2deg); }
.frame > * { position: relative; }

/* ---------- 9. HEROES --------------------------------------------------- */
.hero { position: relative; min-height: 88vh; min-height: 88svh; display: flex; align-items: center; color: var(--on-dark-muted); background: var(--grad-dark); overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media video, .hero__media .media__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Navy overlay keeps text readable and mutes the red/white tones of the current footage */
.hero__overlay { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(6, 21, 34, 0.94) 0%, rgba(6, 21, 34, 0.8) 42%, rgba(6, 21, 34, 0.4) 100%),
  linear-gradient(180deg, rgba(6, 21, 34, 0.55) 0%, rgba(6, 21, 34, 0) 30%, rgba(6, 21, 34, 0) 70%, rgba(6, 21, 34, 0.85) 100%); }
.hero__content { position: relative; z-index: 2; width: 100%; max-width: var(--max); margin-inline: auto; padding: calc(var(--header-h) + 56px) var(--gutter) 72px; }
.hero__stack { display: flex; flex-direction: column; gap: 24px; max-width: 640px; }
.hero__stack .btn-row { margin-top: 8px; }
.hero__stack .trust { margin-top: 12px; }
.hero__flag { position: absolute; right: var(--gutter); bottom: 24px; z-index: 2; }

/* Inner-page hero (Lessons, Clinics): cinematic image + same overlay, shorter */
.page-hero { min-height: 540px; align-items: flex-end; }
.page-hero .hero__content { padding-bottom: 64px; }
.page-hero .hero__stack { max-width: 600px; gap: 20px; }

/* Compact dark band (Calendar, Contact) */
.band { padding: calc(var(--header-h) + 48px) 0 48px; background: var(--grad-dark); }
.band__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }

/* ---------- 10. FOUNDER (Home) ------------------------------------------ */
.founder { align-items: center; row-gap: 56px; }
.founder__media { grid-column: 1 / span 5; }
.founder__body { grid-column: 7 / span 6; display: flex; flex-direction: column; gap: 24px; }
.founder__quote { position: relative; padding-left: 44px; font-size: var(--fs-lead); line-height: 1.7; max-width: 50ch; }
.founder__quote::before { content: "\201C"; position: absolute; left: 0; top: -6px; font-family: var(--font-display); font-weight: 300; font-size: 64px; line-height: 1; color: var(--aqua); }

/* Slideshow · Wix: Slideshow element (2 slides, arrows on, autoplay off) */
.slides { position: relative; padding-bottom: 20px; }
.slides__viewport { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-media); overflow: hidden; background: var(--abyss-top); }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 600ms var(--ease); }
.slide.is-active { opacity: 1; }
.slides__panel { position: absolute; left: 20px; right: 20px; bottom: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 14px 14px 22px; border-radius: 20px; background: var(--navy); box-shadow: 0 18px 40px -20px rgba(6, 21, 34, 0.7); }
.slides__name { font-weight: 700; font-size: 18px; line-height: 1.2; color: var(--on-dark); }
.slides__role { font-size: 13px; color: var(--on-dark-muted); margin-top: 2px; }
.slides__controls { display: flex; align-items: center; gap: 8px; }
.slides__count { font-size: 13px; color: var(--on-dark-muted); font-variant-numeric: tabular-nums; margin-right: 4px; }
.round-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.28); color: var(--on-dark); transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur); }
.round-btn:hover { background: var(--aqua); border-color: var(--aqua); color: var(--abyss); }
.round-btn .icon { width: 18px; height: 18px; stroke-width: 2; }
.round-btn--light { border-color: var(--line); color: var(--navy); background: var(--white); }
.round-btn--light:hover { background: var(--navy); border-color: var(--navy); color: var(--on-dark); }

/* ---------- 11. TESTIMONIALS (review cards) + UNIVERSITIES ----------- */
/* Wix: horizontal Slider/Repeater of cards (or the Wix Reviews / Google Reviews app); badge = text + star icons */
.rating-badge { display: inline-flex; align-items: center; gap: 16px; padding: 14px 24px; border: 1px solid var(--line); border-radius: 22px; background: var(--white); }
.rating-badge__score { font-family: var(--font-display); font-weight: 400; font-size: 40px; line-height: 1; letter-spacing: -0.02em; color: var(--navy); }
.rating-badge__meta { display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; }
.review-stars { display: inline-flex; gap: 3px; color: #E8B04B; }
.review-stars .icon { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.review-stars--ph { color: #D3CCBC; }
.reviews { position: relative; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); }
.reviews__track { display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
  padding: 8px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) 16px; scroll-padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
.reviews__track::-webkit-scrollbar { display: none; }
.reviews__track:focus-visible { outline-offset: -4px; }
.review-card { flex: 0 0 min(400px, 82vw); scroll-snap-align: start; display: flex; flex-direction: column; gap: 16px; padding: 28px 32px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.review-card__mark { font-family: var(--font-display); font-weight: 300; font-size: 64px; line-height: 0.8; height: 30px; overflow: hidden; }
.review-card__mark--aqua { color: var(--aqua); } .review-card__mark--amber { color: #E8B04B; } .review-card__mark--navy { color: #8E9CC0; }
.review-card__text { flex: 1; font-size: 16.5px; line-height: 1.65; color: var(--navy); display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.review-card__foot { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.avatar { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0; font-weight: 700; font-size: 17px; }
.avatar--aqua { background: var(--aqua); color: var(--abyss); } .avatar--amber { background: #F2C46D; color: var(--abyss); } .avatar--navy { background: var(--navy); color: var(--white); }
.review-card__who { display: flex; flex-direction: column; gap: 3px; min-width: 0; font-size: 13px; }
.review-card__who strong { font-size: 15.5px; font-weight: 700; color: var(--navy); }
.reviews__foot { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; margin-top: 24px; }
.reviews__controls { margin-left: auto; }
.unis { margin-top: clamp(40px, 2rem + 2vw, 64px); padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; }
.unis__head { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; }

/* ---------- 12. LESSONS ------------------------------------------------- */
.format__ratio { font-family: var(--font-display); font-weight: 300; font-size: clamp(2.5rem, 2rem + 1.5vw, 3.25rem); line-height: 1; letter-spacing: -0.03em; color: var(--navy); }
.format__price { font-size: 14px; color: var(--navy); font-weight: 700; }
.format__price span { font-weight: 400; color: var(--text); }
.includes { margin-top: var(--gap); display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 2fr); gap: 32px; align-items: center; padding: 32px; }
.includes__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 28px; }
.include { display: flex; gap: 14px; align-items: flex-start; }
.include__title { font-weight: 700; color: var(--navy); font-size: 15.5px; line-height: 1.3; }
.include__text { font-size: 14.5px; line-height: 1.55; margin-top: 2px; }

.coach-card { display: grid; grid-template-columns: 220px minmax(0, 1fr) minmax(0, 330px); gap: 36px; align-items: start; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); scroll-margin-top: calc(var(--header-h) + 24px); color: var(--text); }
.coach-card + .coach-card { margin-top: var(--gap); }
.coach-card .media { border-radius: 18px; }
.coach-card__info { display: flex; flex-direction: column; gap: 14px; padding-top: 4px; }
.coach-card__meta { display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; }
.coach-card__meta li { display: flex; gap: 10px; align-items: flex-start; }
.coach-card__meta .icon { width: 18px; height: 18px; color: var(--aqua-ink); margin-top: 3px; }
.prices { display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: 18px; background: var(--cream); }
.price-list li { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: baseline; padding-block: 9px; border-bottom: 1px solid var(--line); }
.price-list li:last-child { border-bottom: 0; }
.price-list__name { font-size: 14.5px; font-weight: 600; color: var(--navy); }
.price-list__name span { font-weight: 400; color: var(--text); }
.price-list__price { font-weight: 700; font-size: 17px; color: var(--navy); font-variant-numeric: tabular-nums; }
.note { font-size: 13.5px; line-height: 1.6; }
.on-dark .note { color: var(--on-dark-muted); }

.location-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; padding: 14px; align-items: stretch; }
.location-card .media { min-height: 230px; border-radius: 16px; }
.location-card__body { display: flex; flex-direction: column; gap: 10px; padding: 14px 14px 14px 0; }

/* ---------- 13. CLINICS ------------------------------------------------- */
/* Upcoming clinic card · Wix Events widget (Card layout, image on) */
.event-card { padding: 0; overflow: hidden; gap: 0; }
.event-card .media { border-radius: 0; }
.event-card__date { position: absolute; left: 16px; top: 16px; z-index: 3; display: flex; flex-direction: column; align-items: center; min-width: 64px; padding: 8px 10px; border-radius: 16px; background: var(--white); color: var(--navy); line-height: 1.1; }
.event-card__date strong { font-family: var(--font-display); font-weight: 400; font-size: 24px; letter-spacing: -0.02em; }
.event-card__date span { font-family: var(--font-label); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; }
.event-card__body { display: flex; flex-direction: column; gap: 10px; padding: 24px; flex: 1; }
.event-card__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13.5px; }
.event-card__meta span { display: inline-flex; align-items: center; gap: 6px; }
.event-card__meta .icon { width: 16px; height: 16px; color: var(--aqua-ink); }
.on-dark .event-card__meta .icon { color: var(--aqua); }
.event-card__body .btn { margin-top: auto; align-self: flex-start; }
.past-card__date { font-family: var(--font-label); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--aqua); }
.empty-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 28px 32px; }
.team-clinics { align-items: start; row-gap: 40px; }
.team-clinics__text { grid-column: 1 / span 5; display: flex; flex-direction: column; gap: 20px; }
.team-clinics__form { grid-column: 7 / span 6; }
.ticks { display: flex; flex-direction: column; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: center; font-size: 15.5px; color: var(--navy); }
.ticks .icon-dot { width: 28px; height: 28px; }
.ticks .icon-dot .icon { width: 14px; height: 14px; stroke-width: 2.4; }

/* ---------- 14. FORMS (Wix Forms) --------------------------------------- */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; padding: 32px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 13.5px; font-weight: 600; color: var(--navy); }
.field .req { color: var(--aqua-ink); }
.input { width: 100%; min-height: 50px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--r-input); background: var(--cream); color: var(--navy); font-size: 16px; line-height: 1.4; transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease), background-color 200ms; }
select.input { appearance: none; -webkit-appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%231C7480' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
textarea.input { min-height: 120px; resize: vertical; }
.input::placeholder { color: #66718A; }
.input:hover { border-color: #CFC7B4; }
.input:focus { outline: none; border-color: var(--aqua-ink); background-color: var(--white); box-shadow: 0 0 0 4px rgba(117, 202, 211, 0.25); }
.field__hint { font-size: 13px; }
.field__error { font-size: 13px; color: var(--error); display: none; }
.field.is-invalid .input { border-color: var(--error); }
.field.is-invalid .field__error { display: block; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--aqua-ink); flex-shrink: 0; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.form__success { grid-column: 1 / -1; padding: 20px; border-radius: 16px; background: var(--aqua-wash); color: var(--navy); }

/* Tabs · segmented pill control (Wix Studio Tabs element, pill style) */
.tabs { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--white); overflow-x: auto; scrollbar-width: none; max-width: 100%; align-self: flex-start; }
.tabs::-webkit-scrollbar { display: none; }
.tab { min-height: 44px; padding: 0 20px; border-radius: var(--r-pill); font-weight: 600; font-size: 14px; white-space: nowrap; color: var(--text); transition: background-color var(--dur) var(--ease), color var(--dur); }
.tab:hover { color: var(--navy); }
.tab[aria-selected="true"] { background: var(--navy); color: var(--on-dark); }

/* ---------- 15. CALENDAR (Wix Bookings · Booking Calendar widget) -------- */
.steps { display: flex; flex-wrap: wrap; gap: 8px; counter-reset: step; }
.steps li { counter-increment: step; display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 5px 16px 5px 5px; border: 1px solid var(--on-dark-line); border-radius: var(--r-pill); font-size: 14px; color: var(--on-dark); }
.steps li::before { content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(117, 202, 211, 0.16); color: var(--aqua); font-weight: 700; font-size: 13px; }
.cal-shell { padding: 40px 0 var(--section-y); }
.cal { display: grid; grid-template-columns: 330px minmax(0, 1fr) 310px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; color: var(--text); }
.cal__filters { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 16px 20px; align-items: flex-end; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.cal__filters .field { min-width: 210px; }
.cal__filters .input { min-height: 46px; padding-block: 10px; }
.cal__tz { margin-left: auto; font-size: 13px; }
.cal__month { padding: 24px; border-right: 1px solid var(--line); }
.month__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.month__title { font-weight: 700; font-size: 15px; color: var(--navy); }
.icon-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; color: var(--navy); }
.icon-btn:hover { border-color: var(--navy); }
.icon-btn[disabled] { opacity: 0.3; pointer-events: none; }
.month__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.month__dow { font-family: var(--font-label); font-size: 11px; letter-spacing: 0.1em; padding-bottom: 6px; }
.day { position: relative; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 14px; font-variant-numeric: tabular-nums; color: #A3AABA; }
.day.has-slots { color: var(--navy); font-weight: 600; cursor: pointer; }
.day.has-slots::after { content: ""; position: absolute; bottom: 5px; width: 4px; height: 4px; border-radius: 50%; background: var(--aqua-ink); }
.day.has-slots:hover { background: var(--aqua-wash); }
.day[aria-pressed="true"] { background: var(--navy); color: var(--on-dark); }
.day[aria-pressed="true"]::after { background: var(--aqua); }
.week { display: none; }
.cal__slots { padding: 24px; display: flex; flex-direction: column; gap: 18px; min-height: 400px; }
[data-slots] { display: flex; flex-direction: column; gap: 20px; }
.slots__title { font-weight: 700; font-size: 15px; color: var(--navy); }
.slots__group { display: flex; flex-direction: column; gap: 10px; }
.slots__label { font-family: var(--font-label); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; }
.slots__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 8px; }
.slot { min-height: 48px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--navy); font-variant-numeric: tabular-nums; line-height: 1.2; display: flex; flex-direction: column; align-items: center; justify-content: center; transition: border-color 160ms var(--ease), background-color 160ms var(--ease); }
.slot small { font-size: 10.5px; font-weight: 400; color: var(--text); }
.slot:hover { border-color: var(--aqua-ink); background: var(--aqua-wash); }
.slot[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--on-dark); }
.slot[aria-pressed="true"] small { color: var(--on-dark-muted); }
.slots__empty { padding: 20px; border-radius: 16px; background: var(--cream); font-size: 15px; }
.cal__summary { padding: 24px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; background: var(--cream); }
.summary__list li { display: grid; grid-template-columns: 84px 1fr; gap: 12px; padding-block: 9px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--navy); }
.summary__list li > span:first-child { font-family: var(--font-label); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text); padding-top: 2px; }
.cal-note { font-size: 13px; }
.signin { font-size: 14px; }
.signin a { font-weight: 600; color: var(--navy); text-decoration: underline; text-decoration-color: var(--aqua); text-underline-offset: 4px; }
.on-dark .signin a { color: var(--on-dark); }

/* Week strip day buttons (mobile + compact) */
.week::-webkit-scrollbar { display: none; }
.week .day { flex: 0 0 58px; aspect-ratio: auto; height: 70px; border-radius: 18px; flex-direction: column; gap: 2px; border: 1px solid var(--line); }
.week .day small { font-family: var(--font-label); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 400; }
.week .day.has-slots::after { bottom: 8px; }
.week .day[aria-pressed="true"] { border-color: var(--navy); }

/* ---------- 16. CONTACT ------------------------------------------------- */
.contact-grid { align-items: start; row-gap: 32px; }
.contact-grid__info { grid-column: 1 / span 4; display: flex; flex-direction: column; gap: 14px; }
.contact-grid__forms { grid-column: 5 / span 8; display: flex; flex-direction: column; gap: 16px; }
.info-card { flex-direction: row; gap: 14px; align-items: center; padding: 18px; }
.info-card__text { display: flex; flex-direction: column; min-width: 0; font-size: 15px; color: var(--navy); font-weight: 600; overflow-wrap: anywhere; line-height: 1.45; }
.info-card__text .label { font-size: 10.5px; margin-bottom: 4px; }

/* ---------- 17. FOOTER -------------------------------------------------- */
.footer { background: var(--abyss); color: var(--on-dark-muted); padding-top: clamp(40px, 2rem + 2vw, 64px); }
.footer__cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 32px 40px; border: 1px solid var(--on-dark-line); border-radius: var(--r-card); background: rgba(255, 255, 255, 0.03); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1.3fr 1fr; gap: 40px var(--gap); padding-block: 48px; }
.footer__brand { display: flex; flex-direction: column; gap: 18px; color: var(--on-dark); }
.footer__brand p { font-size: 14px; color: var(--on-dark-muted); max-width: 34ch; }
.footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.footer__col .label { margin-bottom: 6px; }
.footer__col a:hover { color: var(--on-dark); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-block: 24px; border-top: 1px solid var(--on-dark-line); font-size: 13px; }
.footer__legal { display: flex; gap: 24px; }

/* ---------- 18. MOTION -------------------------------------------------- */
/* Entrance: fade + 24px rise (Wix: Entrance animation "Fade In" / "Glide In", plays once). */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease), box-shadow var(--dur) var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal.card.is-visible:hover { transform: translateY(-4px); transition-delay: 0ms; }
.js .cards .reveal:nth-child(2) { transition-delay: 80ms; }
.js .cards .reveal:nth-child(3) { transition-delay: 160ms; }
.js .cards .reveal:nth-child(4) { transition-delay: 240ms; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; transition-delay: 0ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .card:hover, .btn:hover, .js .reveal.card.is-visible:hover { transform: none; }
  a:hover .media__img, .card:hover .media__img { transform: none; }
}

/* ---------- 19. TABLET (≤1023) ------------------------------------------ */
@media (max-width: 1023px) {
  :root { --gutter: 40px; --gap: 20px; --header-h: 72px; }
  .cards--4, .cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .founder__media { grid-column: 1 / span 6; }
  .founder__body { grid-column: 7 / span 6; }
  .includes { grid-template-columns: 1fr; }
  .coach-card { grid-template-columns: 200px minmax(0, 1fr); }
  .coach-card .prices { grid-column: 1 / -1; }
  .location-card { grid-template-columns: 1fr; }
  .location-card__body { padding: 0 8px 8px; }
  .team-clinics__text, .team-clinics__form, .contact-grid__info, .contact-grid__forms { grid-column: 1 / -1; }
  .contact-grid__info { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-grid__info > :not(.info-card) { grid-column: 1 / -1; }
  .cal { grid-template-columns: 300px minmax(0, 1fr); }
  .cal__summary { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

/* ---------- 20. MOBILE (≤767) ------------------------------------------- */
@media (max-width: 767px) {
  :root { --gutter: 20px; --gap: 16px; --header-h: 64px; --r-card: 20px; --r-media: 22px; }
  .card { padding: 24px; }
  .cards--4, .cards--3, .cards--2 { grid-template-columns: 1fr; }
  .cards--m2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards--m2 .card { padding: 18px; gap: 8px; }
  .cards--m2 .card__top { margin-bottom: 4px; }
  .cards--m2 .icon-dot { width: 44px; height: 44px; }
  .cards--m2 .icon-dot .icon { width: 20px; height: 20px; }
  .cards--m2 .h3 { font-size: 16px; }
  .cards--m2 .card__text { font-size: 14px; line-height: 1.55; }

  /* Mobile hero: clean navy gradient, no video; heading, short text, booking first */
  .hero { min-height: 0; align-items: flex-start; }
  .page-home .hero__media, .page-home .hero__overlay { display: none; }
  .hero__content { padding: calc(var(--header-h) + 40px) var(--gutter) 48px; }
  .hero__stack { gap: 18px; }
  .hero__stack .btn-row { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero__stack .btn-row .btn { width: 100%; }
  .hero__stack .trust { gap: 8px 18px; margin-top: 4px; }
  .hero__stack .trust li { font-size: 14px; }
  .hero__flag { display: none; }
  .page-hero { min-height: 460px; align-items: flex-end; }
  .page-hero .hero__content { padding-bottom: 36px; }

  .founder__media, .founder__body { grid-column: 1 / -1; }
  .founder__quote { padding-left: 32px; }
  .founder__quote::before { font-size: 52px; }
  .slides__panel { left: 12px; right: 12px; padding: 12px 12px 12px 18px; }
  .slides__name { font-size: 16px; }
  .slides__count { display: none; }
  .round-btn { width: 40px; height: 40px; }
  .founder__body .btn-row .btn { flex: 1 1 auto; }

  .pill { font-size: 13px; min-height: 36px; padding: 6px 12px; }
  .includes { padding: 24px; gap: 20px; }
  .includes__list { grid-template-columns: 1fr; }
  .coach-card { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 16px; }
  .coach-card .media { border-radius: 14px; }
  .coach-card__info { display: contents; }
  .coach-card__head { align-self: center; }
  .coach-card__info > :not(.coach-card__head) { grid-column: 1 / -1; }
  .coach-card .prices .btn { width: 100%; }
  .location-card .media { min-height: 200px; }
  .empty-card { grid-template-columns: 1fr; gap: 16px; padding: 24px; }
  .empty-card .btn { width: 100%; }
  .form { grid-template-columns: 1fr; padding: 20px; }
  .form .btn { width: 100%; }
  .contact-grid__info { grid-template-columns: 1fr; }
  .footer__cta { padding: 24px; }
  .footer__cta .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; padding-block: 36px; }
  .footer__col--wide { grid-column: 1 / -1; }
  .tabs { display: flex; align-self: stretch; }
  .tabs .tab { flex: 1; padding: 0 12px; }

  /* Booking Calendar → native mobile Weekly layout: week strip, times, booking details below */
  .band { padding: calc(var(--header-h) + 28px) 0 32px; }
  .steps li { font-size: 13px; }
  .cal-shell { padding-top: 24px; }
  .cal { grid-template-columns: 1fr; }
  .cal__filters { padding: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .cal__filters .field { min-width: 0; }
  .cal__tz { grid-column: 1 / -1; margin-left: 0; }
  .cal__month { display: none; }
  .week { display: flex; gap: 8px; overflow-x: auto; padding: 16px; border-bottom: 1px solid var(--line); scrollbar-width: none; scroll-snap-type: x mandatory; }
  .week .day { scroll-snap-align: start; }
  .cal__slots { padding: 16px; min-height: 0; }
  .slots__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cal__summary { border-top: 1px solid var(--line); }
}

/* ---------- 21. LIGHT SURFACES INSIDE DARK SECTIONS ----------------------- */
/* White cards placed on a dark section (coach cards, calendar) keep their light-surface text styles. */
.on-dark .on-light { color: var(--text); }
.on-dark .on-light .h1, .on-dark .on-light .h2, .on-dark .on-light .h3, .on-dark .on-light .strong { color: var(--navy); }
.on-dark .on-light .label, .on-dark .on-light .note { color: var(--text); }
.on-dark .on-light .pill { background: var(--white); border-color: var(--line); color: var(--navy); }
.on-dark .on-light .pill .icon, .on-dark .on-light .link .icon { color: var(--aqua-ink); }
.on-dark .on-light .link { color: var(--navy); }
.on-dark .on-light .design-note { border-color: var(--aqua-ink); color: var(--aqua-ink); background: var(--white); }
.on-dark .on-light :focus-visible { outline-color: var(--aqua-ink); }
.cal-note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }

/* ---------- 22. BOOKING SUMMARY (Home) ----------------------------------- */
/* Short summary of the calendar: every option links to the Calendar page (Wix: container + buttons/links). */
.book-summary { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; padding: 40px; align-items: center; }
.book-summary__intro { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.book-summary__options { display: flex; flex-direction: column; gap: 0; padding: 8px 24px; border-radius: 20px; background: var(--cream); }
.book-option { display: flex; flex-direction: column; gap: 12px; padding-block: 18px; }
.book-option + .book-option { border-top: 1px solid var(--line); }
.book-option__title { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 15px; color: var(--navy); }
.book-option__title .icon-dot { width: 36px; height: 36px; background: var(--white); }
.book-option__title .icon-dot .icon { width: 18px; height: 18px; }
.pill--link { transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease), color var(--dur); }
.pill--link:hover { border-color: var(--aqua-ink); background: var(--aqua-wash); }

/* ---------- 23. FOCUS PANELS (Clinics) ----------------------------------- */
/* Three image panels; the hovered one widens on desktop. Wix: static layout (one wide + two narrow containers),
   image zoom + caption fade via Hover interactions; width change is not a native animation. */
.panels { display: flex; gap: 12px; height: clamp(380px, 22rem + 8vw, 500px); }
.panel { position: relative; flex: 1 1 0; min-width: 0; border-radius: 22px; overflow: hidden; background: var(--abyss-top); transition: flex-grow 600ms var(--ease); }
.panel--wide { flex-grow: 2.2; }
.panels:hover .panel { flex-grow: 1; }
.panels .panel:hover { flex-grow: 2.2; }
.panel__img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 900ms var(--ease); }
.panel:hover .panel__img { transform: scale(1.04); }
.panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 21, 34, 0.35) 0%, rgba(6, 21, 34, 0) 30%, rgba(6, 21, 34, 0.15) 55%, rgba(6, 21, 34, 0.88) 100%); }
.panel__tag { position: absolute; z-index: 2; left: 16px; top: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--r-pill); border: 1px solid rgba(255, 255, 255, 0.24); background: rgba(6, 21, 34, 0.35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 14px; font-weight: 600; color: var(--on-dark); white-space: nowrap; }
.panel__tag .icon { width: 16px; height: 16px; color: var(--aqua); }
.panel__text { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 20px; max-width: 40ch; font-size: 14.5px; line-height: 1.55; color: var(--on-dark); }
.panels__note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 14px; }
.past-head { margin-top: clamp(56px, 2rem + 4vw, 96px); }

/* ---------- 24. SCHOOL LOGO WALL (Home) ---------------------------------- */
/* Wix: Gallery grid or Repeater of logo images; greyscale → full colour on hover. */
.logo-wall { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.logo-tile { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px 12px 14px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; text-align: center; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.logo-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.logo-tile img { height: 56px; width: auto; object-fit: contain; filter: grayscale(1); opacity: 0.75; transition: filter var(--dur), opacity var(--dur); }
.logo-tile:hover img { filter: none; opacity: 1; }
.logo-tile__slot { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 100%; height: 72px; border: 1px dashed #D9D1BF; border-radius: 14px; color: var(--aqua-ink); font-family: var(--font-label); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; }
.logo-tile__slot .icon { width: 22px; height: 22px; }
.logo-tile__name { font-size: 13.5px; font-weight: 600; color: var(--navy); }

@media (max-width: 1023px) {
  .book-summary { grid-template-columns: 1fr; gap: 28px; }
  .logo-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .panels { height: 420px; }
}
@media (max-width: 767px) {
  .book-summary { padding: 20px; }
  .book-summary__intro .btn-row, .book-summary__intro .btn { width: 100%; }
  .book-summary__options { padding: 4px 16px; }
  .panels { flex-direction: column; height: auto; }
  .panel, .panel--wide, .panels:hover .panel, .panels .panel:hover { flex: none; height: 250px; }
  .logo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .panels:hover .panel, .panels .panel:hover { flex-grow: 1; }
  .panels .panel--wide, .panels:hover .panel--wide { flex-grow: 2.2; }
  .panel:hover .panel__img, .logo-tile:hover { transform: none; }
}

@media (max-width: 767px) {
  .rating-badge { padding: 12px 18px; }
  .rating-badge__score { font-size: 32px; }
  .review-card { padding: 24px; }
  .reviews { -webkit-mask-image: none; mask-image: none; }
  .reviews__foot .btn { flex: 1 1 auto; }
  .reviews__controls { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .reviews__track { scroll-behavior: auto; } .review-card:hover { transform: none; } }

/* ---------- 25. NATIVE WIX BOOKINGS: SERVICE LIST + BOOKING CALENDAR PAGE --- */
/* Service List element: grid layout, 4 cards per row. Only native display options are used:
   image, name, tagline, duration, price, Book Now button, More Info link. */
.svc-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.svc-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.svc-card__img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--abyss-top); }
.svc-card__img .media__img { transition: transform var(--dur-slow) var(--ease); }
.svc-card:hover .svc-card__img .media__img { transform: scale(1.04); }
.svc-card__body { display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 0; flex: 1; }
.svc-card__name { font-weight: 700; font-size: 18px; line-height: 1.3; color: var(--navy); }
.svc-card__tagline { font-size: 14.5px; line-height: 1.55; }
.svc-card__meta { font-size: 14px; font-weight: 600; color: var(--navy); margin-top: auto; padding-top: 6px; }
.svc-card__actions { display: flex; align-items: center; gap: 16px; padding: 18px 22px 22px; }
.svc-card__more { font-size: 14px; font-weight: 600; color: var(--navy); text-decoration: underline; text-decoration-color: var(--aqua); text-underline-offset: 4px; }

/* Booking Calendar page (Wix's dynamic Bookings page): header + filters, date picker, times, booking details.
   Styled only with the widget's Design tab: background, header, borders, dividers, fonts, colours, selections. */
.band--slim { padding: calc(var(--header-h) + 20px) 0 20px; }
.wix-cal { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.wix-cal__header { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px 32px; padding: 28px 28px 24px; background: var(--cream); border-bottom: 1px solid var(--line); }
.wix-cal__title { display: flex; flex-direction: column; gap: 6px; }
.wix-cal__service { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.375rem); line-height: 1.1; letter-spacing: -0.02em; color: var(--navy); }
.wix-cal__subtitle { font-size: 14.5px; }
.wix-cal__filters { display: flex; gap: 12px 16px; flex-wrap: wrap; }
.wix-cal__filters .field { min-width: 200px; }
.wix-cal__filters .input { min-height: 46px; padding-block: 10px; background-color: var(--white); }
.wix-cal .cal { border: 0; border-radius: 0; }
.wix-cal__step { font-weight: 700; font-size: 15px; color: var(--navy); margin-bottom: 14px; }
.page-booking .cal__tz { margin: 14px 0 0; }
.page-booking .cal__slots { min-height: 360px; }

@media (max-width: 1023px) {
  .svc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .svc-list { grid-template-columns: 1fr; }
  .svc-card__actions .btn { flex: 1; }
  .wix-cal { border-radius: 20px; }
  .wix-cal__header { padding: 20px 16px; }
  .wix-cal__filters { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .wix-cal__filters .field { min-width: 0; }
  .wix-cal__step { display: none; }
  .page-booking .cal__slots { min-height: 0; }
}

/* ---------- 26. HERO → FOUNDER SCROLL TRANSITION (Home) ------------------- */
/* The hero pins to the top of the viewport; the founder section (solid cream, higher in the stack) slides up
   over it. Once the founder reaches the top the stack ends and the page scrolls normally.
   main.js sets --hero-fade (1 → 0) from scroll progress, so the hero content fades and un-fades with the scroll.
   Only with JS on (.js) and motion allowed; otherwise the sections simply stack. */
.hero-stack { position: relative; }
.founder-cover { position: relative; z-index: 1; background: var(--cream); }
.js .hero-stack > .hero { position: sticky; top: 0; z-index: 0; }
.js .hero-stack > .founder-cover { box-shadow: 0 -28px 48px -28px rgba(6, 21, 34, 0.45); }
.hero-stack .hero__content, .hero-stack .hero__flag { opacity: var(--hero-fade, 1); transform: translate3d(0, calc((1 - var(--hero-fade, 1)) * -32px), 0); will-change: opacity, transform; }
@media (prefers-reduced-motion: reduce) {
  .js .hero-stack > .hero { position: relative; }
  .hero-stack .hero__content, .hero-stack .hero__flag { opacity: 1; transform: none; }
}

/* ---------- 27. COACH PHOTO SLIDER + BIO (Lessons) ---------------------- */
/* Wix: Slideshow element per coach (CMS "Coaches" → Photos field), arrows on, autoplay off. */
.coach-slides { position: relative; }
.coach-slides__viewport { position: relative; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: var(--abyss-top); }
.coach-slides .slide.media--empty { display: flex; align-items: center; justify-content: center; }
.coach-slides__controls { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.round-btn--glass { width: 36px; height: 36px; background: rgba(6, 21, 34, 0.55); border-color: rgba(255, 255, 255, 0.3); color: var(--on-dark); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.round-btn--glass .icon { width: 16px; height: 16px; }
.coach-slides__count { padding: 3px 10px; border-radius: var(--r-pill); background: rgba(6, 21, 34, 0.55); color: var(--on-dark); font-size: 12px; font-variant-numeric: tabular-nums; }
.coach-slides__tag { position: absolute; left: 10px; top: 10px; z-index: 2; padding: 3px 10px; border-radius: var(--r-pill); background: rgba(6, 21, 34, 0.6); color: var(--on-dark); font-family: var(--font-label); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; }
.coach-card__bio { font-size: 14.5px; line-height: 1.65; max-width: 64ch; }
.design-note--inline { margin-left: 4px; padding: 2px 8px; font-size: 10px; vertical-align: 1px; }
@media (max-width: 767px) {
  .coach-card { grid-template-columns: 1fr; }
  .coach-slides__viewport { aspect-ratio: 4 / 3; }
}

/* ---------- 28. COACH ABOUT / ACHIEVEMENTS SLIDER (Lessons) -------------- */
/* Two slides stacked in one grid cell, so the panel keeps the taller slide's height (no jump). */
.info-slides { display: flex; flex-direction: column; gap: 14px; }
.info-slides__nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.info-slides__tabs { display: inline-flex; gap: 4px; padding: 3px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--cream); }
.info-tab { min-height: 34px; padding: 0 14px; border-radius: var(--r-pill); font-weight: 600; font-size: 13.5px; color: var(--text); transition: background-color var(--dur) var(--ease), color var(--dur); }
.info-tab:hover { color: var(--navy); }
.info-tab[aria-pressed="true"] { background: var(--navy); color: var(--on-dark); }
.round-btn--sm { width: 34px; height: 34px; }
.round-btn--sm .icon { width: 15px; height: 15px; }
.info-slides__track { display: grid; }
.info-slide { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 12px; opacity: 0; visibility: hidden; transform: translateX(12px); transition: opacity 400ms var(--ease), transform 400ms var(--ease), visibility 400ms; }
.info-slide.is-active { opacity: 1; visibility: visible; transform: none; }
@media (prefers-reduced-motion: reduce) { .info-slide { transform: none; } }

/* ---------- 29. RUSLAN FEEDBACK: services row, tap targets, founder on mobile ---------- */
/* Services: three cards on desktop; on tablet the third card spans the row so the grid stays balanced. */
@media (max-width: 1023px) and (min-width: 768px) {
  .services-cards > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
.coach-card__bio + .coach-card__bio { margin-top: 2px; }
.ph-bio { padding: 10px 14px; border: 1px dashed #D9D1BF; border-radius: 12px; background: var(--cream); }
/* Slideshow controls: no hover needed; 40px on desktop, 44px touch targets on phones. */
.round-btn--glass { width: 40px; height: 40px; }
@media (max-width: 767px) {
  .round-btn--glass, .round-btn--sm, .slides__controls .round-btn { width: 44px; height: 44px; }
  .info-tab { min-height: 44px; padding: 0 16px; }

  /* Homepage second section (Meet the Founder): compact on phones only. Desktop and tablet unchanged. */
  #Founder.section { padding-block: 44px; }
  #Founder .founder { row-gap: 28px; }
  #Founder .frame { padding: 0 0 14px 14px; }
  #Founder .frame::before { top: 14px; right: 14px; }
  #Founder .slides__viewport { aspect-ratio: 4 / 3; }
  #Founder .founder__body { gap: 16px; }
  #Founder .founder__quote { font-size: 16px; line-height: 1.6; }
  /* Show two credentials (the core message); the full list stays on desktop and on the Lessons page. */
  #Founder .pills li:nth-child(n+3) { display: none; }
}

/* Coach panel: height follows the slide on screen (no space reserved for the hidden slide), easing between the two. */
.info-slides__track { position: relative; display: block; overflow: hidden; transition: height 400ms var(--ease); }
.info-slide { position: absolute; top: 0; left: 0; right: 0; }
.info-slide.is-active { position: relative; }

/* ---------- 30. WIX STUDIO NATIVE PASS ---------------------------------- */
/* Everything below keeps the design inside what Wix Studio does without custom code. */

/* Slideshow arrows sit on the photo (native Slideshow arrows), vertically centred; no slide counter. */
.slide-arrows { position: absolute; inset: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; padding: 0 10px; pointer-events: none; }
.slide-arrows .round-btn { pointer-events: auto; }
#Founder .slides__viewport .slide-arrows { padding-bottom: 28px; } /* keep arrows clear of the name panel */

/* Header: Wix changes the header background on scroll ("Color while scrolling" + glass effect),
   not the style of buttons inside it, so the Book button keeps one style throughout. */
.header__book, .header__book:hover, .header.is-scrolled .header__book { background: var(--aqua); color: var(--abyss); border-color: var(--aqua); }
.header__book:hover { background: #8AD5DD; }

/* Menu: hover / current-page state appears instantly (Wix menu states), no growing underline animation. */
.nav__link::after { transition: none; }

/* Clinics focus panels: fixed wide + narrow layout (hover can't change widths natively); photo zoom on hover stays. */
.panel { transition: none; }
.panels:hover .panel, .panels .panel:hover { flex-grow: 1; }
.panels .panel--wide, .panels:hover .panel--wide, .panels .panel--wide:hover { flex-grow: 2.2; }

/* School logos: opacity + lift on hover (native hover interaction) instead of a greyscale filter swap. */
.logo-tile img { filter: none; opacity: 0.75; }
.logo-tile:hover img { filter: none; opacity: 1; }

/* Review cards: no line clamp (Wix text boxes grow with their content). */
.review-card__text { display: block; -webkit-line-clamp: unset; overflow: visible; }

/* Coach About / Credentials (Wix Tabs): panel resizes instantly to the tab's content; the content still fades in. */
.info-slides__track { transition: none; }

/* Mobile Book bar: a pinned element is always visible in Wix (it can't slide in on scroll). */
@media (max-width: 767px) {
  .book-bar { transform: none; }
}
