/* =========================================================
   Avelia · Pilates Studio — estilos
   Diseño: Figma "Avelia pilates" › página "Web 2"
   ========================================================= */

:root {
  --brown: #4c3d32;
  --brown-ink: #3e2c24;
  --cream: #fefbf6;
  --white: #fefef6;
  --sand: #f0ece0;
  --pink: #ffeff9;
  --olive: #cdc897;
  --taupe: #817267;
  --line: rgba(76, 61, 50, 0.25);

  --f-sans: "Elms Sans", system-ui, sans-serif;
  --f-display: "Montserrat Alternates", system-ui, sans-serif;

  --pad: 80px;
  --max: 1440px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
/* Nada que entre animado desde un costado puede ensanchar la página en mobile */
main, footer { overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--brown);
  font-family: var(--f-sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
figure { margin: 0; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
em { font-style: italic; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.center { display: flex; justify-content: center; }

/* ---------- Tipografía ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 11px;
  font: 600 16px/1.3 var(--f-sans);
  letter-spacing: 0;
  color: var(--brown);
  white-space: nowrap;
}
.kicker .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--olive); flex: none; }
.kicker--light { color: var(--white); }

.h-display {
  font: 500 clamp(36px, 5vw, 72px)/1.15 var(--f-display);
  letter-spacing: 0;
}
.h-display em { font-weight: 600; font-style: italic; }
.h-display--64 { font-size: clamp(36px, 4.45vw, 64px); line-height: 1.05; }
.h-display--76 { font-size: clamp(40px, 5.3vw, 76px); line-height: 1; }

.lead { font: 300 19px/1.5 var(--f-sans); }
.body-l { font: 400 19px/1.6 var(--f-sans); }
.body-l--light { font-weight: 300; line-height: 1.5; color: var(--white); }
.body-m { font: 400 17px/1.55 var(--f-sans); }
.body-m--light { color: var(--white); }
.body-s { font: 400 16px/1.6 var(--f-sans); }
.eyebrow {
  font: 600 14px/1.3 var(--f-sans);
  letter-spacing: 0; text-transform: uppercase;
  color: var(--olive);
}
.eyebrow--dark { color: var(--brown); }

/* Palabras para el reveal de títulos */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.w > .wi { display: inline-block; will-change: transform; }

/* ---------- Botón (Web/Botón) ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 8px 8px 8px 28px;
  border-radius: 500px;
  font: 600 17px/1.2 var(--f-display);
  white-space: nowrap;
  transition: background-color .45s var(--ease), color .45s var(--ease);
}
.btn__circle {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; flex: none;
  transition: background-color .45s var(--ease);
}
.btn__circle svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease); }
.btn:hover .btn__circle svg, .btn:focus-visible .btn__circle svg { transform: translateX(3px) rotate(45deg); }

.btn--dark { background: var(--brown); color: var(--white); }
.btn--dark:hover { background: var(--taupe); }
.btn--light { background: var(--cream); color: var(--brown); }
.btn--light:hover { background: var(--pink); }
.btn__circle--olive { background: var(--olive); color: var(--brown); }
.btn__circle--pink { background: var(--pink); color: var(--brown); }
.btn__circle--dark { background: var(--brown); color: var(--cream); }
.btn--dark:hover .btn__circle { background: var(--cream); }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: 84px;
  display: flex; align-items: center; justify-content: space-between;
  padding-inline: var(--pad);
  background: rgba(254, 251, 246, 0.88);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(76, 61, 50, 0.12);
  transition: transform .5s var(--ease);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__logo img { width: 135px; height: auto; }
.nav__links { position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: 40px; font: 400 16px/1.3 var(--f-sans); }
.nav__links a { position: relative; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__burger { display: none; }
.nav__cta { font-size: 15px; padding: 5px 5px 5px 22px; gap: 12px; }
.nav__cta .btn__circle { width: 36px; height: 36px; }
.nav__cta .btn__circle svg { width: 15px; height: 15px; }

.menu {
  position: fixed; inset: 0; z-index: 40;
  background: var(--pink);
  padding: 158px 20px 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  visibility: hidden; opacity: 0;
}
.menu__links { display: flex; flex-direction: column; gap: 14px; font: 500 44px/1.2 var(--f-display); }
.menu__cta { display: flex; flex-direction: column; gap: 10px; font: 400 16px/1.5 var(--f-sans); max-width: 330px; }
.menu__cta-title { font: 600 22px/1.2 var(--f-display); font-style: italic; }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; background: var(--cream); }
.hero__pin {
  height: 100vh; height: 100svh;
  display: grid; place-items: center;
  overflow: hidden;
}
/* Escenario 1440×880 que escala manteniendo proporción.
   (La composición del Figma subida ~85px y la chica con la cinta un 10% más grande) */
.hero__stage {
  position: relative;
  /* nunca más alto que la pantalla (con un margen) para que nada se corte */
  width: min(100vw, calc((100svh - 72px) * 1440 / 880));
  margin-top: 48px; /* deja espacio para el menú fijo */
  aspect-ratio: 1440 / 880;
  container-type: inline-size;
}
.hero__kicker { position: absolute; left: 61.8cqw; top: 13.6cqw; font-size: max(13px, 1.11cqw); gap: 0.75cqw; }
.hero__kicker .dot { width: max(8px, .625cqw); height: max(8px, .625cqw); }
.hero__text {
  position: absolute; left: 61.8cqw; top: 15.9cqw; width: 23.92cqw;
  font: 300 max(14px, 1.32cqw)/1.4 var(--f-sans);
  z-index: 0;
}
.hero__visual {
  position: absolute; left: 12.97cqw; top: 7.64cqw; width: 75.63cqw;
  aspect-ratio: 990.127 / 644.874;
  z-index: 1;
}
/* La foto llena la caja exactamente como en Figma (sin recorte) para que los huecos de la cinta coincidan con el cuerpo */
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; pointer-events: none; }
.hero__cinta {
  position: absolute; left: 24.673%; top: 1.493%; width: 44.587%; height: auto;
  aspect-ratio: 441.467 / 474.781;
  overflow: visible;
}
.cinta-forma { fill: var(--brown); }
.cinta-texto { fill: var(--pink); }
.hero__blob {
  position: absolute; left: 6%; top: -2.3%; width: 21%;
  container-type: inline-size;
}
/* Gráfico original "Soft & strong" (texto ya incluido en el SVG) */
.hero__blob img { width: 100%; height: auto; }
/* El botón escala junto con el escenario y queda apoyado en su borde inferior (como en Figma) */
.hero__cta {
  position: absolute; left: 0; right: 0; bottom: 0; margin-inline: auto; width: fit-content; z-index: 2;
  font-size: clamp(13px, 1.18cqw, 19px);
  padding: 0.47em 0.47em 0.47em 1.65em; gap: 0.82em;
}
.hero__cta .btn__circle { width: 2.6em; height: 2.6em; }
.hero__cta .btn__circle svg { width: 1.06em; height: 1.06em; }

/* =========================================================
   SOBRE AVELIA
   ========================================================= */
.sobre {
  display: grid;
  grid-template-columns: minmax(0, 720fr) minmax(0, 560fr);
  column-gap: 0;
  padding-top: 110px; padding-bottom: 110px;
  min-height: 900px;
  position: relative;
}
.sobre__text { padding-top: 40px; display: flex; flex-direction: column; align-items: flex-start; }
.sobre__title { position: relative; margin-top: 33px; line-height: 1.05; max-width: 720px; }
.sobre__script { position: absolute; left: 0.0835em; top: 0.049em; width: 3.699em; height: auto; }
.sobre__title-gap { display: inline-block; width: 3.75em; }
.sobre .body-l { max-width: 560px; margin-top: 48px; }
.sobre .body-l + .body-l { margin-top: 24px; }

.sobre__fotos { position: relative; }
.sobre__foto-grande {
  width: 500px; max-width: 100%; aspect-ratio: 500 / 680; margin-left: auto;
  border-radius: 250px 250px 40px 40px; overflow: hidden;
}
.sobre__foto-grande img, .g img, .sobre__foto-circulo img, .card__foto img { width: 100%; height: 100%; object-fit: cover; }
.sobre__foto-grande img, .g img { transform: scale(1.12); }
.sobre__foto-circulo {
  position: absolute; left: -130px; top: 450px;
  width: 240px; height: 240px; border-radius: 50%; overflow: hidden;
  border: 10px solid var(--cream);
  z-index: 2;
}

/* =========================================================
   EXPERIENCIA
   ========================================================= */
.experiencia { padding-top: 120px; padding-bottom: 120px; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; margin-bottom: 56px; }
.sec-head .kicker { margin-bottom: 19px; }
.sec-head .lead { width: 420px; flex: none; margin-top: 50px; }
.sec-head .lead--narrow { width: 360px; }

.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.bento__col { display: grid; grid-template-rows: 344fr 342fr; gap: 20px; }
.card { border-radius: 48px; overflow: hidden; position: relative; }
.card--dark { background: var(--brown); color: var(--white); }
.card--sand { background: var(--sand); }
.card--pink { background: var(--pink); }

.card--reformer { padding: 56px; display: flex; flex-direction: column; align-items: flex-start; }
.card__title-xl { font: 500 64px/1 var(--f-display); margin: 24px 0; }
.card--reformer .eyebrow { margin: 36px 0 16px; }
.card--reformer .eyebrow--sm { margin: 36px 0 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; max-width: 518px; }
.chips li {
  border: 1px solid rgba(254, 254, 246, 0.6); border-radius: 500px;
  padding: 11px 20px; font: 400 17px/1.3 var(--f-sans);
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
.chips li:hover { background: var(--white); color: var(--brown); }

.card--acomp { display: flex; align-items: center; gap: 32px; padding: 32px 48px 32px 32px; }
.card__foto { width: 210px; height: 280px; border-radius: 105px; overflow: hidden; flex: none; }
.card__texto { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; min-width: 0; }
.card__title { font: 500 30px/1.1 var(--f-display); }
.card__title--lg { font-size: 34px; }
.card--adapt .card__texto { padding: 44px 48px; max-width: 520px; }
.card--adapt .body-s { max-width: 400px; }
.card__figura { position: absolute; right: 56px; bottom: 44px; width: 209.45px; height: auto; }

/* =========================================================
   PLANES
   ========================================================= */
.planes { background: var(--taupe); color: var(--cream); padding: 120px 0 98px; }
.planes .sec-head .lead { margin-top: 60px; }
.planes__cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; align-items: end; }
.plan {
  background: var(--sand); color: var(--brown);
  height: 420px; border-radius: 32px;
  padding: 32px 32px 70px;
  display: flex; flex-direction: column; gap: 4px;
  transition: border-radius .7s var(--ease), padding .7s var(--ease), transform .7s var(--ease);
}
.plan:hover { border-radius: 150px 150px 32px 32px; padding-top: 80px; }
.plan--dark { background: var(--brown); color: var(--white); }
.plan__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; font: 600 15px/1.3 var(--f-sans); margin-bottom: auto; }
.plan:hover .plan__top { justify-content: center; text-align: center; flex-direction: column; align-items: center; }
.tag { background: var(--olive); color: var(--brown); border-radius: 500px; padding: 5px 10px; font: 600 11px/1.2 var(--f-display); white-space: nowrap; }
.plan__num { font: 500 128px/1 var(--f-display); }
.plan__sub { font: 300 18px/1.3 var(--f-sans); }
.planes .center { margin-top: 100px; }

/* =========================================================
   HORARIOS
   ========================================================= */
.horarios { padding-top: 130px; padding-bottom: 80px; }
.horarios .sec-head { margin-bottom: 66px; }
.horarios .sec-head .lead { margin-top: 60px; }
.dias { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.dia {
  background: var(--sand); border-radius: 200px; height: 360px;
  padding: 48px 22px 40px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  transition: background-color .5s var(--ease);
}
.dia:hover { background: var(--pink); }
.dia--pink { background: var(--pink); }
.dia h3 { font: 500 22px/1.2 var(--f-display); margin-bottom: 6px; }
.dia span { width: 100%; text-align: center; background: var(--white); border-radius: 500px; padding: 10px; font: 400 16px/1.3 var(--f-sans); }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee { background: var(--brown); height: 92px; overflow: hidden; display: flex; align-items: center; margin-top: 80px; }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee__group { display: flex; align-items: center; gap: 36px; padding-right: 36px; flex: none; }
.marquee span { font: 300 30px/1.2 var(--f-sans); color: var(--white); white-space: nowrap; }
.marquee em { font: 600 30px/1.2 var(--f-display); font-style: italic; color: var(--olive); margin-left: 4px; }
.marquee i { width: 10px; height: 10px; border-radius: 50%; background: var(--pink); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   ESPACIO
   ========================================================= */
.espacio { padding-top: 120px; padding-bottom: 80px; }
.galeria {
  display: grid;
  grid-template-columns: 400fr 240fr 290fr 260fr;
  grid-template-rows: 290fr 240fr;
  gap: 30px;
  aspect-ratio: 1280 / 560;
}
.g { overflow: hidden; }
.g1 { grid-column: 1; grid-row: 1 / 3; border-radius: 200px 200px 32px 32px; }
.g2 { grid-column: 2 / 4; grid-row: 1; border-radius: 40px; }
.g3 { grid-column: 2; grid-row: 2; border-radius: 50%; }
.g4 { grid-column: 3; grid-row: 2; border-radius: 120px; }
.g5 { grid-column: 4; grid-row: 1 / 3; border-radius: 500px; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { display: grid; grid-template-columns: 460px 720px; justify-content: space-between; padding-top: 110px; padding-bottom: 72px; }
.faq__intro { padding-top: 10px; }
.faq__intro .kicker { margin-bottom: 19px; }
.faq__intro .lead { max-width: 380px; margin-top: 40px; }
.faq__list { display: flex; flex-direction: column; gap: 4px; }
.faq-item {
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 0;
  transition: background-color .5s var(--ease), border-radius .5s var(--ease), padding .5s var(--ease), border-color .5s;
}
.faq-item__head { width: 100%; display: flex; align-items: center; gap: 24px; padding: 26px 0; text-align: left; font: 500 22px/1.25 var(--f-display); }
.faq-item__head span { flex: 1; }
.faq-item__icon { width: 44px; height: 44px; border-radius: 50%; background: var(--sand); flex: none; position: relative; transition: background-color .4s var(--ease); }
.faq-item__icon::before, .faq-item__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.6px; border-radius: 2px;
  background: var(--brown); transform: translate(-50%, -50%);
  transition: transform .45s var(--ease), background-color .4s;
}
.faq-item__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.faq-item__body > p { overflow: hidden; font: 400 17px/1.55 var(--f-sans); }
.faq-item.is-open { background: var(--pink); border-radius: 28px; padding: 0 28px; border-color: transparent; }
.faq-item.is-open .faq-item__body { grid-template-rows: 1fr; }
.faq-item.is-open .faq-item__body > p { padding-bottom: 26px; margin-top: -12px; }
.faq-item.is-open .faq-item__icon { background: var(--brown); }
.faq-item.is-open .faq-item__icon::before, .faq-item.is-open .faq-item__icon::after { background: var(--white); }
.faq-item.is-open .faq-item__icon::after { transform: translate(-50%, -50%) rotate(0deg); }

/* =========================================================
   RESERVA
   ========================================================= */
.reserva-wrap { max-width: var(--max); margin-inline: auto; padding: 0 40px 80px; }
.reserva {
  background: var(--brown); color: var(--white);
  border-radius: 48px; min-height: 562px;
  padding: 90px 100px 90px 80px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  overflow: hidden;
}
.reserva__text { display: flex; flex-direction: column; align-items: flex-start; }
.reserva__text .kicker { margin-bottom: 23px; }
.reserva__lead { font: 300 22px/1.5 var(--f-sans); max-width: 490px; margin: 28px 0 36px; }
.reserva__frase { position: relative; width: 437px; max-width: 45%; flex: none; container-type: inline-size; color: var(--brown-ink); }
.reserva__frase img { width: 100%; height: auto; }
.reserva__just, .reserva__girl { position: absolute; left: 0; right: 0; text-align: center; transform: translateY(-50%); white-space: nowrap; }
.reserva__just { top: 20.3%; font: 300 9.27cqw/1 var(--f-sans); text-transform: uppercase; }
.reserva__girl { top: 82.1%; font: 600 11.37cqw/1 var(--f-display); font-style: italic; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--pink); }
.footer__top { display: flex; justify-content: space-between; padding-top: 90px; padding-bottom: 130px; }
.footer__logo { width: 354px; height: auto; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 200px); gap: 20px; padding-top: 6px; }
.footer__cols .eyebrow { margin-bottom: 17px; }
.footer__cols p:not(.eyebrow) { font: 400 17px/1.6 var(--f-sans); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; font: 400 13px/1.3 var(--f-sans); padding-top: 21px; padding-bottom: 50px; position: relative; }
.footer__bottom::before { content: ""; position: absolute; top: 0; left: var(--pad); right: var(--pad); height: 1px; background: var(--line); }

/* =========================================================
   Estados iniciales de las animaciones (solo con JS)
   ========================================================= */
.js:not(.reduced) [data-hero-in],
.js:not(.reduced) [data-reveal]:not([data-reveal="photo"]):not([data-reveal="draw"]),
.js:not(.reduced) [data-stagger] > * { opacity: 0; }
.js:not(.reduced) [data-reveal="photo"] { clip-path: inset(100% 0 0 0 round 40px); }
.js:not(.reduced) [data-reveal="draw"] { clip-path: inset(-10% 100% -10% 0); }
.js:not(.reduced) .hero__img { opacity: 0; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1240px) {
  :root { --pad: 48px; }
  .sec-head .lead { width: 360px; }
  .faq { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 60px; }
  .card--reformer { padding: 44px; }
  .card__title-xl { font-size: 52px; }
  .card--acomp { padding: 28px; gap: 24px; }
  .card__foto { width: 160px; height: 220px; }
  .card__figura { width: 160px; right: 36px; bottom: 32px; }
  .plan__num { font-size: 104px; }
  .dia { border-radius: 120px; padding-inline: 14px; }
  .footer__cols { grid-template-columns: repeat(3, 170px); }
  .footer__logo { width: 280px; }
  .sobre__foto-circulo { left: -60px; width: 200px; height: 200px; }
}

@media (max-width: 1100px) {
  .card__texto { min-width: 0; }
  .bento { grid-template-columns: 1fr; }
  .bento__col { grid-template-rows: auto auto; }
  .card--acomp { padding: 32px 48px 32px 32px; gap: 32px; }
  .card__foto { width: 210px; height: 280px; }
  .card--adapt { min-height: 342px; }
  .planes__cards { grid-template-columns: repeat(2, 1fr); }
  .dias { grid-template-columns: repeat(3, 1fr); }
  .faq { grid-template-columns: 1fr; gap: 40px; }
  .footer__top { flex-direction: column; gap: 48px; padding-bottom: 80px; }
  .sec-head { flex-direction: column; gap: 20px; }
  .sec-head .lead, .planes .sec-head .lead, .horarios .sec-head .lead { margin-top: 0; width: min(520px, 100%); }
  .sobre { grid-template-columns: 1fr 1fr; column-gap: 40px; min-height: 0; }
  .sobre__foto-circulo { left: -40px; width: 180px; height: 180px; top: auto; bottom: -20px; }
}

@media (max-width: 960px) {
  .nav__links, .nav__cta { display: none; }
  .nav { height: 72px; padding-inline: 20px; }
  .nav__logo img { width: 103px; }
  .nav__burger { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--sand); }
}

@media (max-width: 767px) {
  :root { --pad: 20px; }

  /* Hero apilado como en el mockup mobile */
  .hero__pin { place-items: start center; }
  .hero__stage {
    width: 100%; aspect-ratio: auto; height: 100%; margin-top: 0;
    display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start;
    padding: 96px 20px 24px; gap: 18px;
  }
  .hero__kicker, .hero__text, .hero__visual, .hero__cta { position: relative; left: auto; right: auto; top: auto; width: auto; margin-inline: 0; }
  .hero__kicker { order: 1; font-size: 15px; gap: 10px; }
  .hero__cta { bottom: auto; font-size: 17px; }
  /* La imagen ocupa más que el ancho de pantalla (los extremos del reformer se recortan) para que la frase se lea */
  .hero__visual { order: 2; width: 120vw; margin-left: calc(-10vw - 20px); margin-top: 8vw; }
  /* Soft & strong a la derecha de la cinta, en el espacio vacío arriba de la chica */
  .hero__blob { left: 52%; top: -8%; width: 34%; }
  .hero__text { order: 3; width: 100%; font-size: 17px; line-height: 1.5; }
  .hero__cta { order: 4; }

  .h-display { font-size: 40px; }
  .h-display--64 { font-size: 38px; }
  .h-display--76 { font-size: 44px; }
  .lead { font-size: 17px; }
  .body-l { font-size: 17px; }

  .sobre { grid-template-columns: 1fr; padding-top: 64px; padding-bottom: 40px; min-height: 0; }
  .sobre__text { padding-top: 0; }
  .sobre__title { font-size: 34px; margin-top: 18px; }
  .sobre .body-l { margin-top: 18px; }
  .sobre .body-l + .body-l { margin-top: 18px; }
  .sobre__fotos { margin-top: 18px; height: 430px; }
  .sobre__foto-grande { width: 290px; position: absolute; right: 0; top: 0; border-radius: 145px 145px 28px 28px; }
  .sobre__foto-circulo { left: 0; top: 280px; width: 150px; height: 150px; border-width: 7px; }

  .experiencia, .espacio { padding-top: 64px; padding-bottom: 40px; }
  .sec-head { flex-direction: column; gap: 16px; margin-bottom: 24px; }
  .sec-head .kicker { margin-bottom: 16px; }
  .sec-head .lead, .sec-head .lead--narrow { width: 100%; margin-top: 0 !important; }

  .bento, .bento__col { grid-template-columns: 1fr; grid-template-rows: none; gap: 16px; }
  .card { border-radius: 32px; }
  .card--reformer { padding: 36px 28px; }
  .card__title-xl { font-size: 44px; }
  .card--acomp { flex-direction: column; align-items: stretch; padding: 28px; gap: 24px; }
  .card__foto { width: 100%; height: 220px; border-radius: 110px; }
  .card--adapt { padding-bottom: 32px; }
  .card--adapt .card__texto { padding: 36px 28px 24px; }
  .card__title--lg { font-size: 30px; }
  .card__figura { position: relative; right: auto; bottom: auto; margin: 0 28px 0 auto; width: 210px; }

  .planes { padding: 56px 0 56px; }
  .planes__cards, .dias {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px;
    margin-right: -20px; padding-right: 20px; padding-bottom: 6px;
    scrollbar-width: none;
  }
  .planes__cards::-webkit-scrollbar, .dias::-webkit-scrollbar { display: none; }
  .plan { flex: 0 0 270px; height: 330px; scroll-snap-align: start; padding: 28px 28px 50px; }
  .plan__num { font-size: 104px; }
  .planes .center { margin-top: 16px; justify-content: flex-start; }

  .horarios { padding-top: 64px; padding-bottom: 40px; }
  .horarios .sec-head { margin-bottom: 16px; }
  .dias { gap: 12px; }
  .dia { flex: 0 0 160px; height: 300px; padding: 38px 18px; gap: 10px; scroll-snap-align: start; }
  .dia h3 { font-size: 20px; margin-bottom: 0; }
  .dia span { font-size: 15px; padding: 9px; }

  .marquee { margin-top: 16px; }
  .marquee span, .marquee em { font-size: 26px; }

  .galeria {
    grid-template-columns: 1fr 1fr; grid-template-rows: repeat(56, 1fr);
    column-gap: 10px; row-gap: 0; aspect-ratio: 350 / 560;
  }
  .g1 { grid-column: 1; grid-row: 1 / 31; border-radius: 85px 85px 24px 24px; }
  .g2 { grid-column: 2; grid-row: 1 / 19; border-radius: 28px; }
  .g3 { grid-column: 2; grid-row: 20 / 37; border-radius: 50%; }
  .g4 { grid-column: 1; grid-row: 32 / 57; border-radius: 85px; }
  .g5 { grid-column: 2; grid-row: 38 / 57; border-radius: 85px; }

  .faq { grid-template-columns: 1fr; gap: 8px; padding-top: 56px; padding-bottom: 32px; }
  .faq__intro .lead { margin-top: 8px; }
  .faq-item__head { font-size: 18px; gap: 16px; padding: 24px 0; }
  .faq-item.is-open { padding: 0 20px; }
  .faq-item__body > p { font-size: 16px; }

  .reserva-wrap { padding: 0 20px 56px; }
  .reserva { flex-direction: column; align-items: stretch; padding: 40px 24px; border-radius: 32px; min-height: 0; gap: 32px; }
  .reserva__lead { font-size: 18px; margin: 18px 0 18px; }
  .reserva .btn { width: 100%; justify-content: space-between; }
  /* En mobile el gráfico "Just a Pilates girl" quedaba colgado debajo del botón: se oculta */
  .reserva__frase { display: none; }

  .footer__top { flex-direction: column; gap: 44px; padding-top: 56px; padding-bottom: 48px; }
  .footer__logo { width: 240px; }
  .footer__cols { grid-template-columns: 1fr; gap: 30px; padding-top: 0; }
  .footer__cols .eyebrow { margin-bottom: 10px; font-size: 13px; }
  .footer__cols p:not(.eyebrow) { font-size: 17px; line-height: 1.6; }
  .footer__bottom { flex-direction: column; gap: 10px; padding-top: 24px; padding-bottom: 40px; font-size: 14px; line-height: 1.5; }
}
