/* ==========================================================================
   FORMA Studio — Pilates & Yoga
   1. Tokens  2. Base  3. Utilities  4. Buttons  5. Nav  6. Sections
   7. Forms & modals  8. Cookies  9. Animations  10. Responsive
   ========================================================================== */

/* 1. TOKENS ============================================================== */
:root {
  --white: #FFFFFF;
  --paper: #FBF7F6;          /* off-white cálido */
  --blush: #FDEDF3;           /* rosa suave para fondos */
  --blush-2: #FAD6E4;
  --pink: #FF7AAE;          /* rosa de marca, fresco y vivo */
  --pink-600: #F0508F;
  --pink-ink: #B8185A;      /* rosa para texto sobre blanco (AA ~6.9:1) */
  --ink: #1F1A1E;            /* texto principal */
  --ink-2: #3B3238;
  --muted: #625A60;          /* texto secundario (AA ~6.5:1 sobre blanco) */
  --line: #EFE4E8;
  --sand: #F3EFE7;           /* neutro cálido, uso puntual */

  --f-display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --f-accent: "Instrument Serif", Georgia, serif;

  --r-sm: 12px;
  --r: 22px;
  --r-lg: 36px;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --max: 1320px;
  --nav-h: 76px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --shadow: 0 24px 60px -24px rgba(31, 26, 30, .25);
}

/* 2. BASE ================================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
@supports (overflow: clip) { html { overflow-x: clip; } }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-family: var(--f-accent); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
::selection { background: var(--pink); color: var(--ink); }
[hidden] { display: none !important; }
section[id] { scroll-margin-top: calc(var(--nav-h) + 8px); }

:focus-visible { outline: 3px solid var(--pink-ink); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: fixed; left: 1rem; top: -100px; z-index: 1000;
  background: var(--ink); color: var(--white); padding: .8rem 1.2rem; border-radius: 999px;
  text-decoration: none; font-weight: 700; transition: top .2s;
}
.skip-link:focus { top: 1rem; }

/* 3. UTILITIES =========================================================== */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: clamp(5rem, 11vw, 9.5rem) 0; }

.kicker {
  display: inline-flex; align-items: center; gap: .7rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--pink-ink); margin-bottom: 1.4rem;
}
.kicker span {
  display: inline-grid; place-items: center; min-width: 2.1rem; height: 2.1rem; padding: 0 .5rem;
  border: 1.5px solid currentColor; border-radius: 999px; font-size: .72rem; letter-spacing: .02em;
}
.h2, .display {
  font-family: var(--f-display); font-weight: 700; letter-spacing: -.035em; line-height: .98;
  font-size: clamp(2.4rem, 5.6vw, 4.6rem);
}
.display { font-size: clamp(3.2rem, 10vw, 9rem); line-height: .9; letter-spacing: -.05em; word-spacing: .06em; }
.h2 em, .display em { color: var(--pink-ink); }

.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head__text { margin-top: 1.4rem; color: var(--muted); font-size: 1.125rem; max-width: 560px; }
.section-head--center .section-head__text { margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .82rem; font-weight: 600; letter-spacing: .04em; color: var(--ink-2);
  background: var(--white); border: 1px solid var(--line); padding: .45rem .95rem .45rem .75rem; border-radius: 999px;
}
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); flex: none; }
.pulse::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--pink);
  animation: pulse 2s var(--ease) infinite;
}

.linklike { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; }

/* Level tags */
.lvl {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: .32rem .7rem .32rem .6rem; border-radius: 999px;
  background: var(--blush); color: var(--pink-ink); white-space: nowrap;
}
.lvl::before {
  content: ""; width: 14px; height: 10px; flex: none;
  background:
    linear-gradient(currentColor 0 0) 0 100% / 3px 40% no-repeat,
    linear-gradient(currentColor 0 0) 5.5px 100% / 3px 70% no-repeat,
    linear-gradient(currentColor 0 0) 11px 100% / 3px 100% no-repeat;
  opacity: .28;
}
.lvl[data-lvl="1"]::before { background:
    linear-gradient(currentColor 0 0) 0 100% / 3px 40% no-repeat,
    linear-gradient(rgba(184, 24, 90,.25) 0 0) 5.5px 100% / 3px 70% no-repeat,
    linear-gradient(rgba(184, 24, 90,.25) 0 0) 11px 100% / 3px 100% no-repeat; opacity: 1; }
.lvl[data-lvl="0"] { background: var(--white); border: 1px solid var(--line); color: var(--ink); }
.lvl[data-lvl="0"]::before { opacity: 1; background:
    linear-gradient(var(--pink-600) 0 0) 0 100% / 3px 40% no-repeat,
    linear-gradient(var(--pink-600) 0 0) 5.5px 100% / 3px 70% no-repeat,
    linear-gradient(var(--pink-600) 0 0) 11px 100% / 3px 100% no-repeat; }
.lvl[data-lvl="2"] { background: var(--pink); color: var(--ink); }
.lvl[data-lvl="2"]::before { opacity: 1; background:
    linear-gradient(currentColor 0 0) 0 100% / 3px 40% no-repeat,
    linear-gradient(currentColor 0 0) 5.5px 100% / 3px 70% no-repeat,
    linear-gradient(rgba(31, 26, 30,.25) 0 0) 11px 100% / 3px 100% no-repeat; }
.lvl[data-lvl="3"] { background: var(--ink); color: var(--white); }
.lvl[data-lvl="3"]::before { opacity: 1; background:
    linear-gradient(var(--pink) 0 0) 0 100% / 3px 40% no-repeat,
    linear-gradient(var(--pink) 0 0) 5.5px 100% / 3px 70% no-repeat,
    linear-gradient(var(--pink) 0 0) 11px 100% / 3px 100% no-repeat; }
.lvl--light[data-lvl] { background: rgba(255,255,255,.92); color: var(--ink); border: 0; }

/* 4. BUTTONS ============================================================= */
.btn {
  --btn-bg: var(--ink); --btn-fg: var(--white);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .85rem 1.5rem;
  font-family: var(--f-body); font-size: .88rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; line-height: 1.1; text-align: center;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1.5px solid transparent; border-radius: 999px;
  transition: transform .35s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .35s var(--ease);
  isolation: isolate; overflow: hidden;
}
.btn .arrow { display: inline-block; transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }

.btn--primary { --btn-bg: var(--pink); --btn-fg: var(--ink); box-shadow: 0 10px 30px -12px rgba(240, 80, 143, .7); }
.btn--primary:hover { --btn-bg: #FF94BF; box-shadow: 0 16px 36px -12px rgba(240, 80, 143, .8); }
.btn--dark { --btn-bg: var(--ink); --btn-fg: var(--white); }
.btn--dark:hover { --btn-bg: #352C32; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--ink); }
.btn--outline:hover { --btn-bg: var(--ink); --btn-fg: var(--white); }
.btn--sm { min-height: 42px; padding: .6rem 1.1rem; font-size: .76rem; }
.btn--lg { min-height: 58px; padding: 1rem 1.8rem; font-size: .9rem; }
.btn--xl { min-height: 68px; padding: 1.2rem 2.4rem; font-size: 1rem; }
.btn--block { width: 100%; }

.link-cta {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: auto;
  font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  border-bottom: 2px solid var(--pink); padding-bottom: .2rem;
}
.link-cta .arrow { transition: transform .35s var(--ease); }

/* 5. NAV ================================================================= */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h);
  transition: background-color .35s, box-shadow .35s, height .35s var(--ease), transform .45s var(--ease);
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px);
  box-shadow: 0 1px 0 var(--line);
  --nav-h: 64px;
}
.nav__inner {
  height: 100%; max-width: 1480px; margin: 0 auto; padding: 0 var(--pad);
  display: flex; align-items: center; gap: 1.5rem;
}
.logo { display: inline-flex; align-items: baseline; text-decoration: none; color: var(--ink); flex: none; }
.logo__word { font-family: var(--f-display); font-weight: 800; font-size: 1.75rem; letter-spacing: -.06em; line-height: 1; }
.logo__dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--pink); margin-left: .12rem; transform: translateY(-.05rem); }
.logo__tag { margin-left: .5rem; font-size: .66rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.logo--light { color: var(--white); }
.logo--light .logo__tag { color: rgba(255,255,255,.65); }

.nav__links { margin-left: auto; }
.nav__links ul { display: flex; gap: .2rem; }
.nav__links a {
  position: relative; display: block; padding: .5rem .75rem; border-radius: 999px;
  text-decoration: none; font-size: .9rem; font-weight: 600; color: var(--ink-2);
  transition: background-color .25s, color .25s;
}
.nav__links a:hover { background: var(--blush); color: var(--ink); }
.nav__links a.is-current { color: var(--ink); }
.nav__links a.is-current::after {
  content: ""; position: absolute; left: 50%; bottom: .15rem; width: 5px; height: 5px; margin-left: -2.5px;
  border-radius: 50%; background: var(--pink);
}
.nav__cta { flex: none; }

.burger {
  display: none; position: relative; width: 48px; height: 48px; margin-left: auto;
  border: 1.5px solid var(--line); border-radius: 50%; background: var(--white); z-index: 120;
}
.burger span {
  position: absolute; left: 14px; right: 14px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .4s var(--ease), top .4s var(--ease);
}
.burger span:first-child { top: 19px; }
.burger span:last-child { top: 27px; right: 19px; }
.burger[aria-expanded="true"] { background: var(--ink); border-color: var(--ink); }
.burger[aria-expanded="true"] span { background: var(--white); right: 14px; top: 23px; }
.burger[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

/* Mobile menu */
.mmenu { position: fixed; inset: 0; z-index: 110; }
.mmenu__bg {
  position: absolute; inset: 0; background: var(--paper);
  clip-path: circle(0% at calc(100% - 44px) 38px);
  transition: clip-path .6s var(--ease);
}
.mmenu.is-open .mmenu__bg { clip-path: circle(150% at calc(100% - 44px) 38px); }
.mmenu__bg::after {
  content: ""; position: absolute; width: 90vw; height: 90vw; right: -40vw; bottom: -30vw;
  background: radial-gradient(circle, var(--blush-2), transparent 65%); border-radius: 50%;
}
.mmenu__inner {
  position: relative; height: 100%; overflow-y: auto; display: flex; flex-direction: column;
  padding: calc(var(--nav-h) + 1.5rem) var(--pad) calc(1.5rem + env(safe-area-inset-bottom));
}
.mmenu__eyebrow { font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.mmenu__list li { opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.mmenu.is-open .mmenu__list li { opacity: 1; transform: none; }
.mmenu.is-open .mmenu__list li:nth-child(1) { transition-delay: .12s; }
.mmenu.is-open .mmenu__list li:nth-child(2) { transition-delay: .16s; }
.mmenu.is-open .mmenu__list li:nth-child(3) { transition-delay: .2s; }
.mmenu.is-open .mmenu__list li:nth-child(4) { transition-delay: .24s; }
.mmenu.is-open .mmenu__list li:nth-child(5) { transition-delay: .28s; }
.mmenu.is-open .mmenu__list li:nth-child(6) { transition-delay: .32s; }
.mmenu.is-open .mmenu__list li:nth-child(7) { transition-delay: .36s; }
.mmenu.is-open .mmenu__list li:nth-child(8) { transition-delay: .4s; }
.mmenu__list a {
  display: flex; align-items: baseline; gap: 1rem; padding: .3rem 0;
  font-family: var(--f-display); font-weight: 700; font-size: clamp(2rem, 9vw, 3rem); letter-spacing: -.04em; line-height: 1.12;
  text-decoration: none; color: var(--ink);
}
.mmenu__list a span { font-family: var(--f-body); font-size: .75rem; font-weight: 700; color: var(--pink-ink); letter-spacing: .05em; width: 1.4rem; }
.mmenu__list a:active, .mmenu__list a:hover { color: var(--pink-ink); }
.mmenu__foot { margin-top: auto; padding-top: 2rem; opacity: 0; transition: opacity .5s .4s; }
.mmenu.is-open .mmenu__foot { opacity: 1; }
.mmenu__meta { display: flex; justify-content: space-between; margin-top: 1.2rem; font-weight: 700; }
.mmenu__meta a { text-decoration: none; }
.mmenu__note { margin-top: .4rem; color: var(--muted); font-size: .9rem; }
body.menu-open { overflow: hidden; }
body.menu-open .nav { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; z-index: 115; }

/* 6. SECTIONS ============================================================ */

/* --- Hero --- */
.hero {
  position: relative; padding: calc(var(--nav-h) + clamp(1.5rem, 5vw, 3.5rem)) 0 clamp(3rem, 6vw, 5rem);
  background: linear-gradient(180deg, var(--paper) 0%, var(--white) 70%);
  overflow: hidden;
}
.hero__blob {
  position: absolute; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px;
  right: -12vw; top: -18vw; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(255, 122, 174, .35), rgba(255, 122, 174, 0) 62%);
  filter: blur(10px); pointer-events: none;
  animation: float 14s ease-in-out infinite alternate;
}
.hero__grid {
  position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: center;
  min-height: min(calc(100vh - var(--nav-h) - 6rem), 760px);
}
.hero__title {
  margin: 1.6rem 0 1.6rem;
  font-family: var(--f-display); font-weight: 800; font-size: clamp(3.6rem, 9.6vw, 9.2rem);
  line-height: .86; letter-spacing: -.065em; word-spacing: .08em;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero__title .line > span { display: inline-block; animation: rise 1.1s var(--ease) both; }
.hero__title .line:nth-child(2) > span { animation-delay: .12s; }
.hero__title em { color: var(--pink-ink); font-size: 1.08em; letter-spacing: -.03em; padding-right: .05em; }
.hero__lead { max-width: 520px; font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: var(--ink-2); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero__perks { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin-top: 1.8rem; font-size: .88rem; font-weight: 600; color: var(--muted); }
.hero__perks li { display: inline-flex; align-items: center; gap: .45rem; }
.hero__perks li::before {
  content: ""; width: 16px; height: 16px; border-radius: 50%; flex: none;
  background: var(--blush) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23B8185A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

.hero__visual { position: relative; height: 100%; min-height: 520px; }
.hero__frame {
  position: absolute; inset: 0 0 0 6%; overflow: hidden;
  border-radius: 240px 240px var(--r-lg) var(--r-lg);
  background: var(--blush);
  animation: reveal-frame 1.3s var(--ease) both .15s;
}
.hero__frame img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; max-width: none; object-fit: cover; object-position: 35% 50%; will-change: transform; }
.next-class {
  position: absolute; left: -4%; bottom: 14%; z-index: 2;
  display: grid; grid-template-columns: auto 1fr; column-gap: .7rem; align-items: center;
  padding: 1rem 1.3rem 1rem 1.1rem; min-width: 250px;
  background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-radius: 20px; box-shadow: var(--shadow); text-decoration: none;
  animation: pop .9s var(--ease) both .8s;
  transition: transform .35s var(--ease);
}
.next-class:hover { transform: translateY(-4px); }
.next-class__live { grid-row: span 3; width: 38px; height: 38px; border-radius: 50%; background: var(--blush); position: relative; }
.next-class__live::before { content: ""; position: absolute; inset: 13px; border-radius: 50%; background: var(--pink); }
.next-class__live::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; border: 2px solid var(--pink); animation: pulse 2s var(--ease) infinite; }
.next-class__label { font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--pink-ink); }
.next-class__name { font-family: var(--f-display); font-size: 1.2rem; letter-spacing: -.02em; line-height: 1.15; }
.next-class__meta { font-size: .82rem; color: var(--muted); }

.spin-badge {
  position: absolute; right: -2%; top: 6%; z-index: 2; width: 132px; height: 132px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--pink); color: var(--ink); text-decoration: none; box-shadow: var(--shadow);
  animation: pop .9s var(--ease) both 1s;
  transition: transform .4s var(--ease);
}
.spin-badge:hover { transform: scale(1.06); }
.spin-badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.spin-badge text { font-family: var(--f-body); font-size: 15.5px; font-weight: 800; letter-spacing: .16em; fill: var(--ink); }
.spin-badge__arrow { font-size: 1.8rem; font-weight: 700; line-height: 1; }
.vertical-note {
  position: absolute; right: -2.2rem; bottom: 0; transform-origin: right bottom; transform: rotate(-90deg) translateX(100%);
  font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); white-space: nowrap;
}

/* --- Marquee --- */
.marquee-wrap { overflow: hidden; padding: .8rem 0; margin-top: -1rem; }
.marquee { overflow: hidden; background: var(--ink); color: var(--white); padding: 1.1rem 0; transform: rotate(-1.2deg) scaleX(1.03); }
.marquee__track { display: flex; width: max-content; gap: 2.2rem; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.3rem, 2.4vw, 2rem); letter-spacing: -.02em; white-space: nowrap; }
.marquee i { color: var(--pink); font-style: normal; font-size: 1.4rem; align-self: center; }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* --- Stats --- */
.stats { padding: clamp(4rem, 8vw, 6.5rem) 0 clamp(2rem, 5vw, 3rem); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: .5rem clamp(1rem, 2.5vw, 2.2rem); border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num {
  font-family: var(--f-display); font-weight: 700; font-size: clamp(3rem, 6.5vw, 5.6rem); letter-spacing: -.06em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat__num sup { font-size: .45em; color: var(--pink-600); vertical-align: .9em; margin-left: .05em; }
.stat__num small { font-size: .38em; color: var(--muted); letter-spacing: -.02em; margin-left: .1em; }
.stat__label { margin-top: .7rem; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.stat__label a { text-decoration: none; border-bottom: 1px solid var(--line); }
.stat__label a:hover { color: var(--pink-ink); border-color: currentColor; }

/* --- Flow cards --- */
.flow__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.8rem); align-items: start; }
.flow-card--offset { margin-top: clamp(0rem, 5vw, 4.5rem); }
.flow-card__link {
  display: flex; flex-direction: column; height: 100%; text-decoration: none;
  background: var(--paper); border-radius: var(--r-lg); overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background-color .3s;
}
.flow-card__link:hover { transform: translateY(-6px); box-shadow: var(--shadow); background: var(--white); }
.flow-card__link:hover .link-cta .arrow { transform: translateX(5px); }
.flow-card__img { aspect-ratio: 4 / 4.2; overflow: hidden; margin: .6rem .6rem 0; border-radius: calc(var(--r-lg) - .6rem); }
.flow-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.flow-card__link:hover .flow-card__img img { transform: scale(1.06); }
.flow-card__body { display: flex; flex-direction: column; gap: .8rem; padding: 1.6rem 1.7rem 1.9rem; flex: 1; }
.flow-card__num { font-size: .75rem; font-weight: 800; color: var(--pink-ink); letter-spacing: .12em; }
.flow-card__title { font-family: var(--f-display); font-size: clamp(2rem, 3.3vw, 2.8rem); font-weight: 700; letter-spacing: -.045em; line-height: 1; }
.flow-card__body > p:not(.flow-card__num) { color: var(--muted); }
.meta { display: flex; gap: 1.8rem; padding: .9rem 0 1rem; margin: .2rem 0 .4rem; border-top: 1px solid var(--line); }
.meta dt { font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.meta dd { font-weight: 700; }

/* --- Pilates --- */
.pilates { background: var(--white); padding-top: clamp(3rem, 6vw, 5rem); }
.pilates__head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 1rem 3rem; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.pilates__head .kicker { grid-column: 1 / -1; margin-bottom: 0; }
.pilates__intro { max-width: 340px; color: var(--muted); padding-bottom: .8rem; }
.pilates__layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.pilates__stage { position: sticky; top: calc(var(--nav-h) + 2rem); }
.pilates__stage-inner { position: relative; aspect-ratio: 4 / 4.4; border-radius: var(--r-lg); overflow: hidden; background: var(--blush); }
.pilates__stage-inner::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(31, 26, 30,.08); pointer-events: none; }
.pilates__stage img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.06); transition: opacity .7s var(--ease), transform 1.2s var(--ease);
}
.pilates__stage img.is-active { opacity: 1; transform: scale(1); }
.pilates__stage-tag {
  position: absolute; left: 1.2rem; bottom: 1.2rem; padding: .55rem 1rem; border-radius: 999px;
  background: var(--white); font-weight: 800; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
}
.modes { border-top: 1px solid var(--line); }
.mode {
  position: relative; display: grid; grid-template-columns: 3.4rem 1fr; gap: 1rem; padding: 1.8rem .5rem 1.8rem 0;
  border-bottom: 1px solid var(--line); cursor: pointer; outline-offset: -3px;
  transition: padding .45s var(--ease);
}
.mode::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--pink); transition: width .6s var(--ease);
}
.mode.is-active::before { width: 100%; }
.mode.is-active { padding-left: .8rem; }
.mode__num { font-family: var(--f-display); font-weight: 700; font-size: 1rem; color: var(--muted); padding-top: .55rem; transition: color .3s; }
.mode.is-active .mode__num { color: var(--pink-ink); }
.mode__title { font-family: var(--f-display); font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 700; letter-spacing: -.04em; line-height: 1.1; transition: color .3s; }
.mode:not(.is-active) .mode__title { color: #7A7176; }
.mode__body > p { color: var(--muted); margin-top: .5rem; max-width: 460px; }
.mode__meta { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem; font-size: .88rem; font-weight: 600; color: var(--ink-2) !important; }
.mode__thumb { display: none; }

/* --- Yoga --- */
.yoga { position: relative; background: var(--blush); margin-top: 3rem; }
.yoga__wave { position: absolute; left: 0; top: -79px; width: 100%; height: 80px; fill: var(--blush); }
.yoga__head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.yoga__intro { max-width: 380px; color: var(--ink-2); }
.bento {
  display: grid; gap: clamp(.8rem, 1.6vw, 1.3rem);
  grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, minmax(260px, 30vw));
  grid-template-areas: "tall wide wide note" "tall a b b";
  max-height: 900px;
}
.bento__item { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--white); min-height: 260px; }
.bento__item--tall { grid-area: tall; }
.bento__item--wide { grid-area: wide; }
.bento__item--note { grid-area: note; }
.bento__item:nth-child(4) { grid-area: a; }
.bento__item:nth-child(5) { grid-area: b; }
.bento__item > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.bento__item:hover > img { transform: scale(1.05); }
.bento__item::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(31, 26, 30,0) 35%, rgba(31, 26, 30,.78) 100%);
}
.bento__item--note::after { display: none; }
.bento__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(1.1rem, 2vw, 1.7rem); color: var(--white); }
.bento__body h3 { font-family: var(--f-display); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700; letter-spacing: -.04em; line-height: 1; margin: .8rem 0 .4rem; }
.bento__body p { font-size: .95rem; color: rgba(255,255,255,.9); max-width: 330px; }
.bento__body .bento__meta { margin-top: .6rem; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--pink); }
.bento__item--note { display: flex; flex-direction: column; justify-content: space-between; padding: clamp(1.4rem, 2.4vw, 2rem); background: var(--pink); }
.bento__quote { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.5rem, 2.3vw, 2.1rem); line-height: 1.08; letter-spacing: -.035em; }
.bento__quote em { display: block; }
.bento__sign { font-size: .85rem; font-weight: 700; }

/* --- Featured --- */
.featured { position: relative; min-height: 100vh; display: flex; align-items: center; padding: clamp(5rem, 10vw, 8rem) 0; overflow: hidden; background: var(--ink); }
.featured__media { position: absolute; inset: 0; }
.featured__media { overflow: hidden; }
.featured__media img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; max-width: none; object-fit: cover; object-position: 50% 40%; will-change: transform; }
.featured__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(31, 26, 30,0) 30%, rgba(31, 26, 30,.25)); }
.featured__wrap { position: relative; display: flex; justify-content: flex-end; }
.featured__card {
  position: relative; width: min(520px, 100%); padding: clamp(1.8rem, 4vw, 3rem);
  background: var(--pink); color: var(--ink); border-radius: var(--r-lg); box-shadow: 0 40px 80px -30px rgba(0,0,0,.5);
}
.featured__label { display: inline-flex; align-items: center; gap: .6rem; font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.featured__label .pulse, .featured__label .pulse::after { background: var(--ink); border-color: var(--ink); }
.featured__title { margin: 1.2rem 0 1rem; font-family: var(--f-display); font-weight: 800; font-size: clamp(3.4rem, 7vw, 6rem); line-height: .86; letter-spacing: -.06em; }
.featured__title em { font-weight: 400; }
.featured__time {
  position: absolute; right: -28px; top: -34px; transform: rotate(8deg); box-shadow: var(--shadow);
  width: 104px; height: 104px; border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: var(--ink); color: var(--pink); font-family: var(--f-display); font-weight: 800; font-size: 2.2rem; line-height: .8; letter-spacing: -.04em;
}
.featured__time small { display: block; font-family: var(--f-body); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--white); margin-top: .35rem; }
.featured__text { font-size: 1.05rem; color: var(--ink-2); }
.featured__chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0 1.8rem; }
.featured__chips li { padding: .45rem .95rem; border: 1.5px solid var(--ink); border-radius: 999px; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

/* --- Schedule --- */
.schedule { background: var(--paper); }
.schedule__head { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 1.5rem; margin-bottom: 2.5rem; }
.legend { display: flex; flex-wrap: wrap; gap: .4rem; }
.schedule__controls { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.tabs { display: flex; gap: .3rem; padding: .35rem; background: var(--white); border: 1px solid var(--line); border-radius: 999px; }
.tabs button {
  position: relative; min-width: 72px; min-height: 48px; padding: .4rem 1rem; border: 0; border-radius: 999px; background: transparent;
  display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1;
  font-weight: 800; font-size: .88rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
  transition: background-color .3s var(--ease), color .3s;
}
.tabs button:hover { color: var(--ink); background: var(--blush); }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--white); }
.tabs__date { font-size: .68rem; font-weight: 600; letter-spacing: .02em; text-transform: none; opacity: .75; }
.tabs__date:empty { display: none; }
.tabs button.is-today::after { content: ""; position: absolute; top: 6px; right: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--pink); }
.filters { display: flex; gap: .4rem; flex-wrap: wrap; }
.filter {
  min-height: 42px; padding: .5rem 1rem; border: 1.5px solid var(--line); border-radius: 999px; background: var(--white);
  font-size: .82rem; font-weight: 700; transition: border-color .25s, background-color .25s;
}
.filter:hover { border-color: var(--ink); }
.filter.is-active { background: var(--pink); border-color: var(--pink); }

.day-panel { background: var(--white); border-radius: var(--r-lg); padding: clamp(.4rem, 1.5vw, 1rem) clamp(1rem, 2.5vw, 2rem); border: 1px solid var(--line); }
.classes { transition: opacity .25s var(--ease), transform .25s var(--ease); }
.classes.is-switching { opacity: 0; transform: translateY(8px); }
.class-row {
  display: grid; grid-template-columns: 110px 1.4fr 1.1fr auto; align-items: center; gap: 1.2rem;
  padding: 1.25rem 0; border-bottom: 1px solid var(--line);
  animation: row-in .5s var(--ease) both;
}
.class-row:last-child { border-bottom: 0; }
.class-row__time { font-family: var(--f-display); font-size: 1.9rem; font-weight: 700; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.class-row__time small { display: block; font-family: var(--f-body); font-size: .75rem; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.class-row__name { font-family: var(--f-display); font-size: 1.35rem; font-weight: 700; letter-spacing: -.025em; line-height: 1.2; }
.class-row__disc { display: inline-block; margin-right: .5rem; width: 9px; height: 9px; border-radius: 50%; background: var(--pink); vertical-align: .15em; }
.class-row__disc[data-d="yoga"] { background: #FFC2DA; box-shadow: inset 0 0 0 2px var(--pink-600); }
.class-row__disc[data-d="movement"] { background: var(--ink); }
.class-row__sub { font-size: .92rem; color: var(--muted); }
.class-row__meta { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem .8rem; font-size: .85rem; font-weight: 600; color: var(--muted); }
.class-row .btn { min-width: 130px; }
.classes__empty { padding: 2rem 0; text-align: center; color: var(--muted); }
.schedule__note { margin-top: 1.2rem; font-size: .88rem; color: var(--muted); }

/* --- First time --- */
.first__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.first__intro { position: sticky; top: calc(var(--nav-h) + 2rem); }
.first__intro > p { color: var(--muted); margin-top: 1.4rem; font-size: 1.1rem; max-width: 460px; }
.first__pack { margin-top: 2rem; padding: 1.4rem 1.5rem; background: var(--sand); border-radius: var(--r); max-width: 460px; }
.first__pack-title { font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .4rem; }
.first__pack p:last-child { color: var(--ink-2); font-size: .95rem; }
.steps { position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; left: 31px; top: 30px; bottom: 90px; width: 2px; background: repeating-linear-gradient(var(--line) 0 8px, transparent 8px 14px); }
.step { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 1.5rem; padding: 0 0 2.6rem; }
.step__n {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--white); border: 2px solid var(--ink);
  font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; position: relative; z-index: 1;
  transition: background-color .4s, border-color .4s;
}
.step:hover .step__n { background: var(--pink); border-color: var(--pink); }
.step h3 { font-family: var(--f-display); font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.1; padding-top: .7rem; }
.step p { color: var(--muted); margin-top: .5rem; max-width: 460px; }
.step--cta { grid-template-columns: 1fr; padding: .5rem 0 0 calc(64px + 1.5rem); }
.step--cta .btn { justify-self: start; }

/* --- Pricing --- */
.pricing { background: var(--white); padding-top: 0; }
.intro-offer {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  max-width: 720px; margin: 0 auto 2.5rem; padding: .7rem .7rem .7rem 1.6rem;
  background: var(--blush); border-radius: 999px;
}
.intro-offer p { font-size: 1rem; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; padding: 2rem 1.7rem 1.7rem;
  border: 1.5px solid var(--line); border-radius: var(--r-lg); background: var(--white);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.plan__name { font-size: .8rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.plan__price { font-family: var(--f-display); font-weight: 800; font-size: clamp(3.6rem, 5vw, 4.6rem); letter-spacing: -.06em; line-height: 1; margin: 1.4rem 0 .3rem; }
.plan__price span { font-size: .34em; letter-spacing: -.01em; margin-left: .1em; font-weight: 700; }
.plan__per { font-size: .85rem; font-weight: 700; color: var(--pink-ink); min-height: 1.4em; }
.plan__desc { margin: 1rem 0 1.2rem; color: var(--muted); font-size: .95rem; }
.plan__list { margin-bottom: 1.8rem; display: grid; gap: .55rem; }
.plan__list li { position: relative; padding-left: 1.5rem; font-size: .93rem; font-weight: 600; }
.plan__list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--pink-600); }
.plan .btn { margin-top: auto; }
.plan--featured { background: var(--ink); color: var(--white); border-color: var(--ink); transform: translateY(-14px); }
.plan--featured:hover { transform: translateY(-20px); }
.plan--featured .plan__name { color: var(--pink); }
.plan--featured .plan__per { color: var(--pink); }
.plan--featured .plan__desc { color: rgba(255,255,255,.75); }
.plan--featured .plan__list li::before { border-color: var(--pink); background: var(--pink); }
.plan__badge {
  position: absolute; top: -14px; left: 1.7rem; padding: .35rem .8rem; border-radius: 999px;
  background: var(--pink); color: var(--ink); font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
}
.pricing__legal { margin-top: 2rem; text-align: center; font-size: .85rem; color: var(--muted); }

/* --- Studio --- */
.studio { background: var(--paper); }
.studio__head { margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.studio__grid {
  display: grid; gap: clamp(.8rem, 1.6vw, 1.3rem);
  grid-template-columns: repeat(12, 1fr);
  grid-template-areas:
    "a a a a a a a a b b b b"
    "a a a a a a a a c c c c"
    "f f f f f f f f f f f f";
}
.studio__img { position: relative; overflow: hidden; border-radius: var(--r-lg); margin: 0; }
.studio__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.studio__img:hover img { transform: scale(1.04); }
.studio__img figcaption {
  position: absolute; left: 1rem; top: 1rem; padding: .4rem .85rem; border-radius: 999px;
  background: rgba(255,255,255,.92); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.studio__img--a { grid-area: a; aspect-ratio: 4 / 3; }
.studio__img--b { grid-area: b; }
.studio__img--c { grid-area: c; }
.facts { grid-area: f; display: grid; grid-template-columns: 1.6fr repeat(5, 1fr); gap: clamp(.8rem, 1.6vw, 1.3rem); }
.fact {
  display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; min-height: 150px;
  padding: 1.3rem 1.3rem 1.2rem; background: var(--white); border-radius: var(--r);
}
.fact strong { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; letter-spacing: -.06em; }
.fact span { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.fact--big { background: var(--pink); }
.fact--big strong { font-size: clamp(3.4rem, 6vw, 5.2rem); }
.fact--big span { color: var(--ink); }
.fact svg { width: 34px; height: 34px; fill: none; stroke: var(--pink-ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* --- Experience --- */
.experience { background: var(--white); }
.experience__head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem 4rem; align-items: end; margin-bottom: clamp(3rem, 6vw, 5rem); }
.experience__lead { font-size: 1.15rem; color: var(--ink-2); max-width: 470px; }
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 1.05rem; height: 2px; background: var(--line); }
.tl { position: relative; }
.tl:nth-child(even) { margin-top: 3.5rem; }
.tl__time {
  position: relative; display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.2rem; padding-right: .8rem; background: var(--white);
  font-family: var(--f-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -.02em;
}
.tl__time::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 5px var(--blush); }
.tl figure { aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; margin-bottom: 1.1rem; }
.tl img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tl:hover img { transform: scale(1.05); }
.tl h3 { font-family: var(--f-display); font-size: 1.6rem; font-weight: 700; letter-spacing: -.035em; }
.tl p:last-child { color: var(--muted); margin-top: .3rem; font-size: .96rem; }

/* --- Team --- */
.team { background: var(--paper); }
.team__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
.coach__img { aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--blush); margin-bottom: 1.2rem; position: relative; }
.coach__img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.92); transition: transform 1s var(--ease), filter .6s; }
.coach:nth-child(4) .coach__img img { object-position: 60% 30%; }
.coach:hover .coach__img img { transform: scale(1.05); filter: saturate(1.05); }
.coach:nth-child(even) { margin-top: 2.5rem; }
.coach__name { font-family: var(--f-display); font-size: 2rem; font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.coach__role { display: inline-block; margin: .6rem 0 .7rem; padding: .3rem .75rem; border-radius: 999px; background: var(--blush); color: var(--pink-ink); font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.coach__bio { color: var(--muted); font-size: .95rem; }

/* --- Reviews --- */
.reviews { background: var(--white); overflow: hidden; }
.reviews__head { margin-bottom: 2.5rem; }
.reviews__track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.review {
  display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; min-height: 320px;
  padding: 2rem 1.8rem; border-radius: var(--r-lg); background: var(--paper);
}
.review:nth-child(odd) { transform: translateY(1.5rem); }
.review blockquote { font-family: var(--f-display); font-size: clamp(1.2rem, 1.6vw, 1.45rem); font-weight: 600; line-height: 1.25; letter-spacing: -.02em; }
.review blockquote::before { content: "“"; display: block; font-family: var(--f-accent); font-size: 4rem; line-height: .6; color: var(--pink-600); margin-bottom: .4rem; }
.review figcaption { font-size: .88rem; color: var(--muted); }
.review figcaption strong { color: var(--ink); }
.review--pink { background: var(--pink); }
.review--pink blockquote::before { color: var(--ink); }
.review--pink figcaption { color: var(--ink-2); }

/* --- Instagram --- */
.insta { background: var(--white); padding-top: 0; }
.insta__grid { display: grid; grid-template-columns: .8fr 1.6fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.insta__intro .h2 { font-size: clamp(2.2rem, 4.4vw, 3.8rem); word-break: break-word; }
.insta__intro p { color: var(--muted); margin: 1.2rem 0 1.8rem; max-width: 360px; }
.insta__feed { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.insta__feed li { aspect-ratio: 1; border-radius: var(--r); overflow: hidden; }
.insta__feed li:nth-child(2) { transform: translateY(-1.5rem); }
.insta__feed li:nth-child(5) { transform: translateY(-1.5rem); }
.insta__feed a { position: relative; display: block; height: 100%; }
.insta__feed a::after {
  content: "↗"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 2rem; font-weight: 700; color: var(--ink);
  background: rgba(255, 122, 174, .82); opacity: 0; transition: opacity .35s var(--ease);
}
.insta__feed a:hover::after, .insta__feed a:focus-visible::after { opacity: 1; }
.insta__feed img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.insta__feed a:hover img { transform: scale(1.07); }

/* --- FAQ --- */
.faq { background: var(--paper); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.faq__grid header p:last-child { color: var(--muted); margin-top: 1.4rem; max-width: 360px; }
.faq__grid header a { color: var(--pink-ink); font-weight: 700; }
.accordion { border-top: 1px solid var(--line); }
.acc { border-bottom: 1px solid var(--line); }
.acc__btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; text-align: left;
  padding: 1.5rem 0; background: none; border: 0;
  font-family: var(--f-display); font-size: clamp(1.15rem, 1.8vw, 1.45rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.25;
}
.acc__btn:hover { color: var(--pink-ink); }
.acc__icon { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); transition: background-color .3s, border-color .3s, transform .45s var(--ease); }
.acc__icon::before, .acc__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: var(--ink); border-radius: 2px; transition: transform .45s var(--ease); }
.acc__icon::after { transform: rotate(90deg); }
.acc__btn[aria-expanded="true"] .acc__icon { background: var(--pink); border-color: var(--pink); transform: rotate(180deg); }
.acc__btn[aria-expanded="true"] .acc__icon::after { transform: rotate(0); }
.acc__panel { overflow: hidden; transition: height .45s var(--ease); }
.acc__panel p { padding: 0 3.5rem 1.6rem 0; color: var(--ink-2); max-width: 640px; }
.acc__panel a { color: var(--pink-ink); font-weight: 700; }

/* --- Contact --- */
.contact { background: var(--white); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact__list { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 2rem; margin: 2.2rem 0; }
.contact__list dt { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .3rem; }
.contact__list dd { font-weight: 600; }
.contact__list a { text-decoration: none; border-bottom: 2px solid var(--pink); }
.map { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-lg); overflow: hidden; background: var(--blush); }
.map__placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: .5rem; padding: 1.6rem;
  background:
    radial-gradient(circle at 62% 42%, var(--pink) 0 10px, rgba(255, 122, 174,.25) 11px 28px, transparent 29px),
    repeating-linear-gradient(35deg, transparent 0 46px, rgba(31, 26, 30,.06) 46px 48px),
    repeating-linear-gradient(-55deg, transparent 0 70px, rgba(31, 26, 30,.06) 70px 73px),
    var(--blush);
}
.map__placeholder p { max-width: 380px; font-size: .92rem; color: var(--ink-2); }
.map__actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .6rem; }
.map__actions .btn--ghost { background: var(--white); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* --- Final CTA --- */
.final { position: relative; overflow: hidden; background: var(--pink); color: var(--ink); padding: clamp(5rem, 11vw, 9rem) 0; }
.final__shape {
  position: absolute; width: 70vw; height: 70vw; left: -20vw; bottom: -40vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.4), rgba(255,255,255,0) 65%);
  animation: float 16s ease-in-out infinite alternate;
}
.final__grid { position: relative; display: grid; grid-template-columns: 1.4fr .8fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.final__eyebrow { font-size: .8rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.final__title { margin: 1.2rem 0 1.6rem; font-family: var(--f-display); font-weight: 800; font-size: clamp(3.8rem, 11vw, 10rem); line-height: .86; letter-spacing: -.065em; word-spacing: .08em; }
.final__title em { font-weight: 400; }
.final__text { font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 520px; margin-bottom: 2.4rem; color: var(--ink-2); }
.final__img { aspect-ratio: 3 / 4.3; border-radius: 999px 999px var(--r-lg) var(--r-lg); overflow: hidden; border: 10px solid rgba(255,255,255,.45); }
.final__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }

/* --- Footer --- */
.footer { background: var(--ink); color: rgba(255,255,255,.78); padding: clamp(4rem, 8vw, 6rem) 0 calc(1.5rem + env(safe-area-inset-bottom)); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2.5rem; }
.footer__brand p { margin-top: 1rem; max-width: 320px; font-size: .95rem; }
.footer__brand .footer__motto { font-family: var(--f-accent); font-style: italic; font-size: 1.5rem; color: var(--pink); }
.footer h2 { font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--white); margin-bottom: 1rem; }
.footer__col p, .footer__col li { font-size: .95rem; margin-bottom: .6rem; }
.footer a { text-decoration: none; transition: color .25s; }
.footer a:hover { color: var(--pink); }
.footer__giant {
  margin: clamp(2rem, 6vw, 4rem) 0 1rem; font-family: var(--f-display); font-weight: 800;
  font-size: clamp(6rem, 27vw, 25rem); line-height: .75; letter-spacing: -.08em; color: rgba(255,255,255,.06); user-select: none; white-space: nowrap;
}
.footer__giant span { color: var(--pink); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; }
.footer__legal { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.footer__legal a, .footer__legal button { color: rgba(255,255,255,.78); font-size: .85rem; }
.footer__legal button:hover { color: var(--pink); }

/* Sticky CTA (mobile) */
.sticky-cta {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.95) 35%);
  transform: translateY(110%); transition: transform .45s var(--ease);
}
.sticky-cta.is-visible { transform: none; }

/* 7. FORMS & MODALS ====================================================== */
.form { display: grid; gap: 1rem; }
.form__title { font-family: var(--f-display); font-size: 1.8rem; font-weight: 700; letter-spacing: -.035em; }
.contact__form { padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--paper); border-radius: var(--r-lg); }
.field { display: grid; gap: .4rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label, .check label { font-size: .88rem; font-weight: 700; }
.opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: .8rem 1rem; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--white); border: 1.5px solid #D9CDD3; border-radius: 14px;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231F1A1E' stroke-width='1.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 12px; padding-right: 2.6rem;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--pink-ink); box-shadow: 0 0 0 4px rgba(255, 122, 174, .3); }
.field [aria-invalid="true"] { border-color: #B3261E; }
.field__error { font-size: .82rem; font-weight: 700; color: #B3261E; min-height: 0; }
.field__error:empty { display: none; }
.field__hint { font-size: .8rem; color: var(--muted); }
.check { display: grid; grid-template-columns: 24px 1fr; gap: .7rem; align-items: start; }
.check input { width: 22px; height: 22px; margin: .1rem 0 0; accent-color: var(--pink-ink); }
.check label { font-weight: 500; font-size: .9rem; }
.check a, .form__rgpd a { color: var(--pink-ink); font-weight: 700; }
.form__rgpd { font-size: .76rem; line-height: 1.5; color: var(--muted); padding: .8rem 1rem; border-radius: 12px; background: rgba(31, 26, 30,.04); }
.form__success, .modal__done { padding: 1.4rem; border-radius: var(--r); background: var(--blush); }
.form__success h3, .modal__done h3 { font-family: var(--f-display); font-size: 1.6rem; letter-spacing: -.03em; margin-bottom: .5rem; }
.done__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.2rem; }
.done__summary { margin-top: .8rem; font-size: .92rem; color: var(--ink-2); }

.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 1rem; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(31, 26, 30,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fade .35s both; }
.modal__panel {
  position: relative; width: min(980px, 100%); max-height: calc(100vh - 2rem); max-height: calc(100dvh - 2rem); overflow: auto;
  display: grid; grid-template-columns: .8fr 1.2fr; background: var(--white); border-radius: var(--r-lg);
  box-shadow: 0 50px 100px -30px rgba(0,0,0,.45); animation: modal-in .5s var(--ease) both;
}
.modal__panel--small { display: block; width: min(560px, 100%); padding: 2rem; }
.modal__close {
  position: absolute; right: 1rem; top: 1rem; z-index: 2; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: var(--paper); font-size: 1.6rem; line-height: 1; transition: background-color .25s, transform .35s var(--ease);
}
.modal__close:hover { background: var(--pink); transform: rotate(90deg); }
.modal__side { position: relative; min-height: 100%; background: var(--blush); overflow: hidden; }
.modal__side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.modal__side p {
  position: absolute; left: 1.2rem; right: 1.2rem; bottom: 1.2rem; padding: 1rem 1.1rem; border-radius: 16px;
  background: var(--pink); font-weight: 800; font-size: .9rem; line-height: 1.4;
}
.modal__form, .modal__done { padding: clamp(1.6rem, 3.5vw, 2.8rem); }
.modal__done { margin: 4.4rem clamp(1.2rem, 3.5vw, 2.8rem) clamp(1.2rem, 3.5vw, 2.8rem); align-self: center; }
.modal__eyebrow { font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--pink-ink); }
.modal__title { font-family: var(--f-display); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; margin-bottom: .4rem; }
.modal__title em { color: var(--pink-ink); font-weight: 400; }
.modal__selected { font-weight: 700; padding: .6rem .9rem; border-radius: 12px; background: var(--blush); font-size: .92rem; }
body.modal-open { overflow: hidden; }

/* 8. COOKIES ============================================================= */
.cookies {
  position: fixed; left: 1rem; bottom: 1rem; z-index: 150; width: min(440px, calc(100% - 2rem));
  padding: 1.4rem 1.4rem 1.2rem; background: var(--white); border-radius: var(--r); border: 1px solid var(--line);
  box-shadow: 0 30px 70px -20px rgba(31, 26, 30,.35); animation: modal-in .5s var(--ease) both;
}
.cookies__title { font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -.02em; }
.cookies__text { font-size: .86rem; color: var(--ink-2); margin: .5rem 0 1rem; }
.cookies__text a { color: var(--pink-ink); font-weight: 700; }
.cookies__actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; }
.cookies__actions .btn { padding-left: .5rem; padding-right: .5rem; }
.cs__title { font-family: var(--f-display); font-size: 1.8rem; letter-spacing: -.035em; margin-bottom: 1rem; }
.cs__row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.cs__name { font-weight: 800; }
.cs__desc { font-size: .86rem; color: var(--muted); }
.cs__always { font-size: .75rem; font-weight: 800; color: var(--pink-ink); white-space: nowrap; }
.cs__actions { display: flex; justify-content: flex-end; gap: .5rem; margin-top: 1.4rem; flex-wrap: wrap; }
.switch { position: relative; flex: none; width: 52px; height: 30px; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: #D9CDD3; transition: background-color .25s; }
.switch span::after { content: ""; position: absolute; left: 4px; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--white); box-shadow: 0 2px 6px rgba(0,0,0,.2); transition: transform .3s var(--ease); }
.switch input:checked + span { background: var(--pink-ink); }
.switch input:checked + span::after { transform: translateX(22px); }
.switch input:focus-visible + span { outline: 3px solid var(--pink-ink); outline-offset: 3px; }

/* 9. ANIMATIONS ========================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal, .reveal[data-split] { opacity: 1; transform: none; }
/* Hero content is above the fold: animate with CSS only, never wait for JS */
.hero .reveal, .hero .reveal.is-in { opacity: 1; transform: none; transition: none; animation: fade-up 1s var(--ease) both; }
.hero .hero__lead { animation-delay: .25s; }
.hero .hero__ctas { animation-delay: .35s; }
.hero .hero__perks { animation-delay: .45s; }
@keyframes fade-up { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes reveal-frame { from { clip-path: inset(100% 0 0 0 round 240px 240px 36px 36px); } to { clip-path: inset(0 0 0 0 round 240px 240px 36px 36px); } }
@keyframes pop { from { opacity: 0; transform: scale(.85) translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { from { transform: translate(0, 0) scale(1); } to { transform: translate(-4%, 6%) scale(1.08); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes row-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } }
@keyframes modal-in { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }

/* Continuous motion is paused for people who ask for it (WCAG 2.2.2). */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track, .spin-badge svg, .hero__blob, .final__shape, .pulse::after, .next-class__live::after { animation: none; }
  .reveal { transform: none; transition: opacity .6s; }
}

/* 10. RESPONSIVE ========================================================= */
@media (max-width: 1180px) {
  .nav__links a { padding: .5rem .55rem; font-size: .85rem; }
  .plans { grid-template-columns: repeat(2, 1fr); gap: 1.4rem 1rem; }
  .plan--featured { transform: none; }
  .plan--featured:hover { transform: translateY(-6px); }
  .facts { grid-template-columns: repeat(3, 1fr); }
  .fact--big { grid-row: span 1; }
}

@media (max-width: 1024px) {
  :root { --nav-h: 70px; }
  .nav__links, .nav__cta { display: none; }
  .burger { display: block; }
  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .hero__visual { min-height: 0; height: auto; aspect-ratio: 4 / 3.4; margin: 1rem 0 0; }
  .hero__frame { inset: 0; }
  .next-class { left: 1rem; bottom: 1rem; }
  .spin-badge { right: 1rem; top: -1.5rem; }
  .vertical-note { display: none; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 2.4rem 0; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .flow__grid { grid-template-columns: 1fr 1fr; }
  .flow-card--offset { margin-top: 0; }
  .flow__grid .flow-card:last-child { grid-column: 1 / -1; }
  .flow__grid .flow-card:last-child .flow-card__link { display: grid; grid-template-columns: 1fr 1fr; }
  .flow__grid .flow-card:last-child .flow-card__img { aspect-ratio: auto; min-height: 280px; margin-bottom: .6rem; }
  .pilates__layout { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-template-rows: none; grid-auto-rows: minmax(280px, 42vw); max-height: none;
    grid-template-areas: "tall wide" "tall note" "a b"; }
  .class-row { grid-template-columns: 90px 1fr auto; grid-template-areas: "t n b" "t s b"; row-gap: .25rem; }
  .class-row__time { grid-area: t; }
  .class-row__info { grid-area: n; }
  .class-row__meta { grid-area: s; }
  .class-row .btn { grid-area: b; }
  .first__grid { grid-template-columns: 1fr; }
  .first__intro { position: static; }
  .studio__grid { grid-template-areas: "a a a a a a a a a a a a" "b b b b b b c c c c c c" "f f f f f f f f f f f f"; }
  .studio__img--b, .studio__img--c { aspect-ratio: 4 / 3; }
  .experience__head { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
  .timeline::before { display: none; }
  .tl:nth-child(even) { margin-top: 0; }
  .team__grid { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
  .reviews__track { grid-template-columns: repeat(2, 1fr); }
  .review:nth-child(odd) { transform: none; }
  .insta__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .final__grid { grid-template-columns: 1fr 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .modal__panel { grid-template-columns: 1fr; }
  .modal__side { display: none; }
}

@media (max-width: 720px) {
  body { font-size: 1rem; }
  .section { padding: 4.5rem 0; }
  .hero { padding-top: calc(var(--nav-h) + 1.2rem); }
  .hero__title { font-size: clamp(3.4rem, 17vw, 5.4rem); margin: 1.2rem 0; }
  .eyebrow { font-size: .74rem; }
  .hero__ctas .btn { width: 100%; }
  .hero__visual { aspect-ratio: 4 / 4.2; }
  .hero__frame { border-radius: 160px 160px var(--r) var(--r); }
  .hero__frame img { object-position: 30% 50%; }
  @keyframes reveal-frame { from { clip-path: inset(100% 0 0 0 round 160px 160px 22px 22px); } to { clip-path: inset(0 0 0 0 round 160px 160px 22px 22px); } }
  .next-class { left: .7rem; right: .7rem; bottom: .7rem; min-width: 0; }
  .spin-badge { width: 104px; height: 104px; right: .4rem; top: -1.8rem; }
  .spin-badge text { font-size: 16px; }
  .marquee { padding: .85rem 0; }

  .stat { padding: 0 1rem; }
  .stat:nth-child(odd) { padding-left: 0; border-left: 0; }
  .stat__label { font-size: .72rem; }

  .flow__grid { grid-template-columns: 1fr; }
  .flow__grid .flow-card:last-child .flow-card__link { display: flex; }
  .flow__grid .flow-card:last-child .flow-card__img { aspect-ratio: 4 / 3; min-height: 0; margin-bottom: 0; }
  .flow-card__img { aspect-ratio: 4 / 3; }

  .pilates__head { grid-template-columns: 1fr; }
  .pilates__layout { grid-template-columns: 1fr; }
  .pilates__stage { display: none; }
  .mode { grid-template-columns: 2.4rem 1fr; padding: 1.6rem 0; }
  .mode.is-active { padding-left: 0; }
  .mode:not(.is-active) .mode__title { color: var(--ink); }
  .mode::before { display: none; }
  .mode__thumb { display: block; outline: 1px solid var(--line); outline-offset: -1px; grid-column: 1 / -1; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r); order: -1; }

  .yoga__head { flex-direction: column; align-items: start; }
  .yoga__wave { top: -39px; height: 40px; }
  .bento { grid-template-columns: 1fr; grid-template-areas: none; grid-auto-rows: auto; }
  .bento__item, .bento__item--tall, .bento__item--wide, .bento__item--note, .bento__item:nth-child(4), .bento__item:nth-child(5) { grid-area: auto; min-height: 360px; }
  .bento__item--tall { min-height: 480px; }
  .bento__item--note { min-height: 220px; }

  .featured { min-height: 0; flex-direction: column; align-items: stretch; padding: 0; background: var(--pink); }
  .featured__media { position: relative; height: 62vw; min-height: 260px; }
  .featured__media img { top: -12%; height: 124%; }
  .featured__wrap { padding: 0; }
  .featured__card { border-radius: var(--r-lg) var(--r-lg) 0 0; margin-top: -2rem; box-shadow: none; padding-bottom: 3.5rem; }
  .featured__card .btn { width: 100%; }
  .featured__time { width: 80px; height: 80px; font-size: 1.8rem; right: 1rem; top: -40px; }

  .schedule__controls { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
  .schedule__controls > * { min-width: 0; max-width: 100%; }
  .tabs { max-width: none; }
  .tabs {
    overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 18px; scrollbar-width: none;
    margin: 0 calc(var(--pad) * -1); border-left: 0; border-right: 0; border-radius: 0; padding: .4rem var(--pad);
  }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs button { flex: 1 0 auto; min-width: 64px; scroll-snap-align: start; border-radius: 14px; }
  .filters { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; }
  .day-panel { padding: .2rem 1rem; border-radius: var(--r); }
  .class-row { grid-template-columns: 64px 1fr; grid-template-areas: "t n" "t s" "b b"; column-gap: .9rem; padding: 1.2rem 0; }
  .class-row__time { font-size: 1.45rem; align-self: start; }
  .class-row__name { font-size: 1.15rem; }
  .class-row .btn { width: 100%; margin-top: .8rem; }
  .legend { display: none; }

  .steps::before { left: 23px; bottom: 80px; }
  .step { grid-template-columns: 48px 1fr; gap: 1rem; padding-bottom: 2rem; }
  .step__n { width: 48px; height: 48px; font-size: 1.2rem; }
  .step h3 { padding-top: .4rem; }
  .step--cta { grid-template-columns: 1fr; padding-left: 0; }
  .step--cta .btn { width: 100%; }

  .intro-offer { border-radius: var(--r); padding: 1.2rem; text-align: center; justify-content: center; }
  .plans { grid-template-columns: 1fr; gap: 1.6rem; }
  .plan--featured { order: -1; }

  .studio__grid { grid-template-columns: 1fr 1fr; grid-template-areas: "a a" "b c" "f f"; }
  .studio__img--a { aspect-ratio: 4 / 3.4; }
  .studio__img--b, .studio__img--c { aspect-ratio: 1; }
  .studio__img figcaption { font-size: .65rem; left: .6rem; top: .6rem; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact--big { grid-column: 1 / -1; min-height: 130px; }
  .fact { min-height: 120px; padding: 1.1rem; }

  .timeline { grid-template-columns: 1fr; gap: 0; }
  .tl { display: grid; grid-template-columns: 110px 1fr; column-gap: 1rem; padding-bottom: 1.8rem; }
  .tl__time { grid-column: 1 / -1; }
  .tl figure { grid-row: span 2; aspect-ratio: 1; margin: 0; }
  .tl h3 { font-size: 1.35rem; align-self: end; }

  .team__grid { grid-template-columns: 1fr 1fr; gap: 1.8rem .9rem; }
  .coach:nth-child(even) { margin-top: 1.8rem; }
  .coach__name { font-size: 1.5rem; }
  .coach__role { font-size: .62rem; }
  .coach__bio { font-size: .88rem; }

  .reviews__track {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: .8rem; scrollbar-width: none;
    margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad) .5rem;
  }
  .reviews__track::-webkit-scrollbar { display: none; }
  .review { flex: 0 0 84%; scroll-snap-align: center; min-height: 280px; }

  .insta__feed { grid-template-columns: repeat(3, 1fr); gap: .4rem; }
  .insta__feed li { border-radius: 12px; }
  .insta__feed li:nth-child(2), .insta__feed li:nth-child(5) { transform: none; }

  .acc__panel p { padding-right: 0; }
  .contact__list { grid-template-columns: 1fr; gap: 1.2rem; }
  .map { aspect-ratio: 4 / 4.2; }

  .final { padding: 4.5rem 0 5.5rem; }
  .final__grid { grid-template-columns: 1fr; }
  .final__title { font-size: clamp(3.6rem, 18vw, 5.5rem); }
  .final .btn--xl { width: 100%; font-size: .9rem; padding-left: 1rem; padding-right: 1rem; }
  .final__img { display: none; }

  .footer__top { grid-template-columns: 1fr 1fr; gap: 2rem 1.2rem; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .footer { padding-bottom: calc(6rem + env(safe-area-inset-bottom)); }

  .sticky-cta { display: block; }
  .field-row { grid-template-columns: 1fr; }
  .modal { padding: 0; align-items: end; }
  .modal__panel { border-radius: var(--r-lg) var(--r-lg) 0 0; max-height: 94vh; max-height: 94dvh; }
  .modal__panel--small { padding: 1.6rem 1.2rem calc(1.6rem + env(safe-area-inset-bottom)); }
  .cookies { left: .6rem; right: .6rem; bottom: .6rem; width: auto; padding: 1.2rem; }
}

@media (max-width: 380px) {
  .hero__title { font-size: 3.1rem; }
  .cookies__actions { grid-template-columns: 1fr 1fr; }
  .cookies__actions .btn--dark { grid-column: 1 / -1; order: -1; }
}
@media (max-width: 340px) {
  .team__grid { grid-template-columns: 1fr; }
  .coach:nth-child(even) { margin-top: 0; }
}

@media (min-width: 1700px) {
  :root { --max: 1480px; }
  body { font-size: 1.125rem; }
}

/* LEGAL PAGES ============================================================= */
.legal-nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.legal-nav .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.legal { padding: clamp(3rem, 8vw, 6rem) 0 5rem; }
.legal .container { max-width: 820px; }
.legal h1 { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.6rem, 7vw, 4.6rem); letter-spacing: -.05em; line-height: .95; margin-bottom: 1rem; }
.legal h1 em { color: var(--pink-ink); }
.legal__updated { color: var(--muted); font-size: .9rem; margin-bottom: 2.5rem; }
.legal h2 { font-family: var(--f-display); font-size: 1.6rem; letter-spacing: -.03em; margin: 2.6rem 0 .8rem; scroll-margin-top: 90px; }
.legal h3 { font-size: 1.05rem; margin: 1.6rem 0 .5rem; }
.legal p, .legal li { color: var(--ink-2); margin-bottom: .8rem; }
.legal ul { list-style: disc; padding-left: 1.3rem; margin-bottom: 1rem; }
.legal a { color: var(--pink-ink); font-weight: 700; }
.legal table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: .92rem; }
.legal th, .legal td { text-align: left; padding: .7rem .6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.legal .table-wrap { overflow-x: auto; }
.legal__note { padding: 1rem 1.2rem; border-radius: var(--r-sm); background: var(--blush); font-size: .92rem; margin: 1.5rem 0; }
.legal__toc { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.legal__toc a { padding: .45rem .9rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: .85rem; color: var(--ink); }
.legal__toc a:hover { border-color: var(--ink); }
.legal-footer { padding: 2rem 0; background: var(--ink); color: rgba(255,255,255,.75); font-size: .88rem; }
.legal-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.legal-footer a { color: rgba(255,255,255,.85); margin-right: 1rem; }
.credits-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.credit { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.credit img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.credit div { padding: .8rem 1rem; font-size: .85rem; }
.credit p { margin: 0 0 .25rem; }

/* SAFARI / iOS SAFETY ======================================================
   WebKit calcula mal las cajas con aspect-ratio cuando la imagen interior
   tiene height:100% (usa el tamaño real de la foto y la caja se dispara).
   Solución: la imagen va en position:absolute y no aporta tamaño a la caja. */
.flow-card__img, .tl figure, .coach__img, .studio__img, .final__img, .insta__feed a { position: relative; }
.flow-card__img > img, .tl figure > img, .coach__img > img, .studio__img > img, .final__img > img, .insta__feed a > img {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
}
.insta__feed li { position: relative; }
.insta__feed a { position: absolute; inset: 0; height: auto; }
/* Los hijos de grid/flex nunca deben ensanchar su contenedor */
.flow__grid > *, .flow-card__link > *, .pilates__layout > *, .modes > *, .mode > *, .bento > *,
.plans > *, .studio__grid > *, .facts > *, .timeline > *, .tl > *, .team__grid > *, .reviews__track > *,
.insta__grid > *, .insta__feed > *, .faq__grid > *, .contact__grid > *, .final__grid > *, .first__grid > *,
.steps > *, .step > *, .hero__grid > *, .stats__grid > *, .footer__top > *, .class-row > *, .form > *, .field-row > * { min-width: 0; }
h1, h2, h3, p, blockquote, dd, a, button { overflow-wrap: break-word; }
