/* =========================================================
   Ellaforce Studio — Landing
   Paleta: Midnight Ocean · Royal Blue · Dusk Blue · Warm Taupe · Cream Ivory · Gold
   ========================================================= */

:root {
  /* Base */
  --ivory: #F4ECE1;
  --bone: #FAF6EF;
  --sand: #EADDCB;
  --sand-dark: #D4C2AA;
  --navy: #0E1C3F;
  --royal: #162660;
  --ink-soft: #414A66;
  --muted: #7F7B80;
  --gold: #B8925A;
  --gold-light: #D9BE8C;
  --gold-dark: #8A6A3A;
  --powder: #D0E6FD;

  /* Disciplinas */
  --c-reformer: #24407F;
  --c-pilates: #A2805F;
  --c-barre: #563D2D;
  --c-yoga: #6A82A1;
  --c-ballet: #B8925A;

  /* Texturas (fondos cuando no hay foto) */
  --tex-sand: linear-gradient(rgba(244, 236, 225, .05), rgba(162, 128, 95, .18)), url("images/textura-arena.jpg");
  --tex-sand-dark: linear-gradient(rgba(86, 61, 45, .35), rgba(86, 61, 45, .6)), url("images/textura-arena.jpg");
  --tex-sand-gold: linear-gradient(rgba(217, 190, 140, .25), rgba(184, 146, 90, .45)), url("images/textura-arena.jpg");
  --tex-water: linear-gradient(rgba(14, 28, 63, .1), rgba(14, 28, 63, .4)), url("images/textura-agua.jpg");
  --tex-water-light: linear-gradient(rgba(208, 230, 253, .45), rgba(106, 130, 161, .25)), url("images/textura-agua.jpg");

  /* Tipografía */
  --f-display: "Cormorant Garamond", "Times New Roman", serif;
  --f-body: "Jost", system-ui, -apple-system, sans-serif;

  --radius: 18px;
  --container: 1200px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 84px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 70px; }

body {
  margin: 0;
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  color: var(--navy);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
  overflow-x: hidden;
}

/* Grano sutil */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; color: inherit; }

em {
  font-style: italic;
  color: var(--gold);
}

.nowrap { white-space: nowrap; }

.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--navy);
  color: var(--ivory);
  padding: 10px 16px;
  border-radius: 8px;
}
.skip-link:focus { top: 16px; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.link {
  color: var(--gold-dark);
  font-weight: 400;
  border-bottom: 1px solid currentColor;
  transition: color .3s;
}
.link:hover { color: var(--navy); }

/* ---------- Tipografía de sección ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.eyebrow--light { color: var(--gold-light); }

.section-title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 4.6vw, 3.9rem);
  line-height: 1.05;
  letter-spacing: -.01em;
  margin-bottom: 24px;
}

.section-lead {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 540px;
}

.section { padding: clamp(80px, 11vw, 140px) 0; }

.section-head { margin-bottom: clamp(44px, 6vw, 72px); }
.section-head--center { text-align: center; }
.section-head--center .section-lead { margin-inline: auto; }
.section-head--center .eyebrow::after {
  content: "";
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.section-head--row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}
.section-head--row .section-title { margin-bottom: 0; }

/* ---------- Botones ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .06em;
  border: 1px solid transparent;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
  white-space: nowrap;
}
.btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  transition: transform .35s var(--ease);
}
.btn:hover svg { transform: translateX(4px); }

.btn--dark { background: var(--navy); color: var(--ivory); }
.btn--dark:hover { background: var(--royal); }

.btn--ghost { border-color: rgba(14, 28, 63, .35); color: var(--navy); }
.btn--ghost:hover { background: var(--navy); border-color: var(--navy); color: var(--ivory); }

.btn--gold {
  background: linear-gradient(135deg, #D9BE8C 0%, #B8925A 55%, #A07C48 100%);
  color: var(--navy);
}
.btn--gold:hover { transform: translateY(-2px); filter: brightness(1.05); }

.btn--block { width: 100%; }

/* ---------- Header ---------- */

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease);
}
.header.is-scrolled {
  height: 70px;
  background: rgba(244, 236, 225, .88);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 rgba(14, 28, 63, .08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo: isotipo + Ellaforce manuscrito */
.logo {
  display: inline-flex;
  align-items: center;
  position: relative;
  z-index: 60;
}
.logo img {
  height: 50px;
  width: auto;
  transition: height .4s var(--ease);
}
.header.is-scrolled .logo img { height: 42px; }
.footer .logo img { height: 74px; }

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .04em;
}
.nav a:not(.btn) {
  position: relative;
  padding: 4px 0;
}
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav a:not(.btn):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav__cta { padding: 12px 22px; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  position: relative;
  z-index: 60;
}
.menu-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1.5px;
  background: var(--navy);
  transition: transform .4s var(--ease), top .4s var(--ease);
}
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 26px; }
.menu-open .menu-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Fotos ---------- */
/* --img: foto real (si existe). --ph: textura de respaldo. */

.photo {
  position: relative;
  overflow: hidden;
  background-color: var(--sand);
  background-image: var(--img), var(--ph, var(--tex-sand));
  background-size: cover;
  background-position: var(--pos, center), center;
}
/* Arcos dorados decorativos mientras no haya foto propia */
.arch:not(.is-loaded)::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .55;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 500' preserveAspectRatio='xMidYMax slice'%3E%3Cg fill='none' stroke='%23EBD7AE' stroke-width='1'%3E%3Cpath d='M40 500V230a160 160 0 0 1 320 0v270'/%3E%3Cpath d='M80 500V240a120 120 0 0 1 240 0v260'/%3E%3Cpath d='M120 500V250a80 80 0 0 1 160 0v250'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
  background-position: center bottom;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(40px, 7vw, 90px)) 0 clamp(70px, 9vw, 120px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  right: -10%;
  top: -20%;
  width: 60vw;
  height: 60vw;
  max-width: 820px;
  max-height: 820px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(208, 230, 253, .55), transparent 65%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}

.hero__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(3.2rem, 7.4vw, 6.4rem);
  line-height: .98;
  letter-spacing: -.02em;
  margin-bottom: 30px;
}
.hero__title em { display: block; }

.hero__lead {
  font-size: clamp(1.02rem, 1.3vw, 1.15rem);
  color: var(--ink-soft);
  max-width: 500px;
  margin-bottom: 40px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 56px;
}

.hero__facts {
  display: flex;
  gap: clamp(24px, 4vw, 48px);
  padding-top: 28px;
  border-top: 1px solid rgba(14, 28, 63, .14);
  max-width: 520px;
}
.hero__facts li {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.hero__facts strong {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 1.9rem;
}
.hero__facts span {
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero__visual {
  position: relative;
  justify-self: center;
  width: min(100%, 460px);
}
.arch {
  aspect-ratio: 4 / 5.4;
  border-radius: 999px 999px 24px 24px;
  --ph: var(--tex-sand);
  box-shadow: 0 40px 80px -40px rgba(14, 28, 63, .5);
}
.hero__dot {
  position: absolute;
  right: -18px;
  top: 18%;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: url("images/textura-agua.jpg") center / cover;
  box-shadow: 0 16px 30px -12px rgba(14, 28, 63, .5);
}

.badge-rotate {
  position: absolute;
  left: -54px;
  bottom: 40px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--ivory);
  display: grid;
  place-items: center;
  box-shadow: 0 20px 40px -20px rgba(14, 28, 63, .7);
}
.badge-rotate svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin 22s linear infinite;
}
.badge-rotate text {
  fill: currentColor;
  font-family: var(--f-body);
  font-size: 13.2px;
  font-weight: 400;
  letter-spacing: 4.4px;
}
.badge-rotate__center {
  width: 46px;
  height: 46px;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Marquee ---------- */

.marquee {
  overflow: hidden;
  background: var(--navy);
  color: var(--ivory);
  padding: 22px 0;
  white-space: nowrap;
}
.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  animation: marquee 40s linear infinite;
  will-change: transform;
}
.marquee span {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1;
}
.marquee i {
  font-style: normal;
  color: var(--gold);
  font-size: 1rem;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- El estudio ---------- */

.about__grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
}

.about__grid > * { min-width: 0; }
.about__media {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 0 0;
}
/* Arco dorado detrás del video */
.about__media::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  translate: -50% 0;
  width: min(100%, 440px);
  height: 88%;
  border: 1px solid var(--gold);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
  opacity: .6;
  pointer-events: none;
}

.reel {
  position: relative;
  width: min(100%, 360px);
}
.reel__fallback {
  margin: 0 !important;
  aspect-ratio: 9 / 16;
  border-radius: 22px;
  overflow: hidden;
  background: var(--tex-water);
  background-size: cover;
  background-position: center;
  box-shadow: 0 40px 70px -40px rgba(14, 28, 63, .6);
}
.reel__fallback a {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: var(--ivory);
  text-align: center;
  padding: 24px;
}
.reel__play {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(244, 236, 225, .7);
  backdrop-filter: blur(6px);
  background: rgba(244, 236, 225, .12);
  transition: transform .4s var(--ease), background .4s;
}
.reel__play svg { width: 26px; height: 26px; fill: currentColor; margin-left: 4px; }
.reel__fallback a:hover .reel__play { transform: scale(1.08); background: rgba(244, 236, 225, .25); }
.reel__label {
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
/* Cuando Instagram carga el video */
.reel iframe.instagram-media {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  aspect-ratio: auto;
  margin: 0 auto !important;
  border-radius: 22px !important;
  box-shadow: 0 40px 70px -40px rgba(14, 28, 63, .6) !important;
}
.reel__caption {
  margin: 22px 0 0;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--ink-soft);
  text-align: center;
}

.about__copy > p { color: var(--ink-soft); max-width: 560px; }


/* ---------- Clases ---------- */

.classes { background: var(--bone); }

.class-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
}
.class-card {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  background: var(--ivory);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.class-card--wide { grid-column: span 3; }
.class-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px -30px rgba(14, 28, 63, .35);
}
.class-card__img {
  aspect-ratio: 1 / 1;
  transition: transform .8s var(--ease);
}
.class-card--wide .class-card__img { aspect-ratio: 16 / 9; }
.class-card { position: relative; }
.class-card__badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--gold-light);
  box-shadow: 0 10px 24px -12px rgba(14, 28, 63, .6);
}
.class-card:hover .class-card__img { transform: scale(1.04); }
.class-card__body {
  position: relative;
  padding: 26px 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
  background: var(--ivory);
}
.class-card__num {
  font-family: var(--f-display);
  font-style: italic;
  color: var(--accent);
  font-size: 1.15rem;
}
.class-card h3 {
  font-family: var(--f-display);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.1;
  margin: 2px 0 12px;
}
.class-card p {
  font-size: .96rem;
  color: var(--ink-soft);
  line-height: 1.65;
  flex: 1;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(14, 28, 63, .1);
}
.tags li {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
}

/* ---------- Galería ---------- */

.gallery { background: var(--ivory); }
.gallery .section-head--row .section-lead { margin: 0; max-width: 420px; }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(220px, 24vw, 330px);
  gap: 16px;
}
.gallery__item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sand);
}
.gallery__item--big { grid-column: span 2; grid-row: span 2; border-radius: 999px 999px var(--radius) var(--radius); }
.gallery__item--wide { grid-column: span 2; }
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--navy);
  background: rgba(244, 236, 225, .88);
  backdrop-filter: blur(6px);
}

/* ---------- Comunidad ---------- */

.community {
  position: relative;
  padding: clamp(90px, 12vw, 150px) 0;
  background:
    linear-gradient(rgba(244, 236, 225, .8), rgba(244, 236, 225, .9)),
    url("images/textura-arena.jpg") center / cover;
}
.community__title {
  max-width: 900px;
  margin-inline: auto;
}
.community__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.community__text p:not(.community__slogan) {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 520px;
}
.community__slogan {
  margin-top: 30px;
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.15;
}

.community__card {
  padding: clamp(36px, 4vw, 52px);
  border-radius: 24px;
  color: var(--ivory);
  background:
    linear-gradient(rgba(14, 28, 63, .6), rgba(14, 28, 63, .85)),
    url("images/textura-agua.jpg") center / cover;
  box-shadow: 0 40px 70px -40px rgba(14, 28, 63, .6);
}
.community__card h3 {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 2.6vw, 2.3rem);
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 18px;
}
.community__card p:not(.eyebrow) { color: rgba(244, 236, 225, .85); }
.community__card ul {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid rgba(244, 236, 225, .2);
  display: grid;
  gap: 14px;
}
.community__card li {
  position: relative;
  padding-left: 30px;
}
.community__card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .5em;
  width: 14px;
  height: 8px;
  border-left: 1.5px solid var(--gold-light);
  border-bottom: 1.5px solid var(--gold-light);
  transform: rotate(-45deg);
}

/* ---------- Sobre mí ---------- */

.founder {
  position: relative;
  overflow: clip;
  color: var(--ivory);
  background:
    radial-gradient(120% 80% at 85% 0%, rgba(36, 64, 127, .55), transparent 60%),
    var(--navy);
}
.founder__grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
}
.founder__grid > * { min-width: 0; }

.founder__media {
  position: relative;
  justify-self: center;
  width: min(100%, 440px);
  padding: 22px 22px 0 0;
}
/* Arco dorado desplazado detrás de la foto */
.founder__media::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 22px;
  bottom: 22px;
  border: 1px solid var(--gold);
  border-radius: 999px 999px 24px 24px;
  opacity: .7;
  pointer-events: none;
}
.founder__photo {
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px 24px 24px;
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .7);
}
.founder__sign {
  margin-top: 6px;
  font-family: "Italianno", var(--f-display);
  font-size: clamp(3rem, 4.4vw, 3.8rem);
  line-height: 1;
  color: var(--gold-light);
}

.founder .section-title em { color: var(--gold-light); }
.founder__copy > p:not(.eyebrow) {
  color: rgba(244, 236, 225, .8);
  max-width: 580px;
}
.founder__copy > p + p { margin-top: 1em; }
.founder__copy strong { color: var(--ivory); font-weight: 500; }

.founder__quote {
  margin: 36px 0 0;
  padding: 4px 0 4px 28px;
  border-left: 1px solid var(--gold);
  max-width: 580px;
}
.founder__quote p {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(1.4rem, 2.1vw, 1.75rem);
  line-height: 1.3;
  color: var(--ivory);
}

.text-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
  transition: color .3s;
}
.text-link:hover { color: var(--gold-dark); }

/* ---------- Horarios ---------- */

.schedule { background: var(--bone); }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter {
  border: 1px solid rgba(14, 28, 63, .2);
  background: transparent;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: .04em;
  transition: all .3s var(--ease);
}
.filter:hover { border-color: var(--navy); }
.filter.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--ivory);
}

.slot[data-type="reformer"] { --accent: var(--c-reformer); }
.slot[data-type="pilates"] { --accent: var(--c-pilates); }
.slot[data-type="barre"] { --accent: var(--c-barre); }
.slot[data-type="yoga"] { --accent: var(--c-yoga); }
.slot[data-type="ballet"] { --accent: var(--c-ballet); }

.slot { transition: opacity .4s var(--ease), transform .4s var(--ease), filter .4s var(--ease); }
.slot.is-dim {
  opacity: .18;
  filter: grayscale(1);
  transform: scale(.96);
}

/* Grilla de escritorio */
.tt-grid {
  display: grid;
  grid-template-columns: 72px repeat(6, 1fr);
  gap: 8px;
  background: var(--ivory);
  border-radius: 24px;
  padding: 26px;
}
.tt-day {
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--navy);
  padding-bottom: 12px;
}
.tt-band {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--gold-dark);
  margin: 10px 0 2px;
}
.tt-band::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.tt-time {
  display: flex;
  align-items: center;
  font-weight: 500;
  font-size: 15px;
  color: var(--navy);
}
.tt-cell {
  min-height: 74px;
  border-radius: 14px;
  background: rgba(14, 28, 63, .03);
}
.tt-grid .slot {
  height: 100%;
  min-height: 74px;
  border-radius: 14px;
  background: var(--accent);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 10px 8px;
  line-height: 1.25;
}
.tt-grid .slot strong {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
}
.tt-grid .slot small {
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .85;
  margin-top: 3px;
}

/* Vista móvil: un día a la vez */
.tt-mobile { display: none; }
.tt-tabs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  margin-bottom: 18px;
}
.tt-tab {
  border: 1px solid rgba(14, 28, 63, .15);
  background: var(--ivory);
  border-radius: 12px;
  padding: 10px 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .06em;
}
.tt-tab.is-active { background: var(--navy); border-color: var(--navy); color: var(--ivory); }
.tt-list { display: grid; gap: 10px; }
.tt-list .slot {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--ivory);
  border-left: 4px solid var(--accent);
}
.tt-list .slot time {
  font-weight: 500;
  font-size: 15px;
}
.tt-list .slot strong {
  display: block;
  font-family: var(--f-display);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.15;
}
.tt-list .slot small {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.tt-empty {
  padding: 22px;
  text-align: center;
  color: var(--muted);
  background: var(--ivory);
  border-radius: 14px;
}

.schedule__foot {
  margin-top: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.schedule__foot p { margin: 0; color: var(--ink-soft); }
.schedule__news {
  display: inline-block;
  margin-top: 4px;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold-dark);
}

/* ---------- Planes ---------- */

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 40px 34px 34px;
  border-radius: var(--radius);
  background: var(--bone);
  border: 1px solid rgba(14, 28, 63, .08);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.plan:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -34px rgba(14, 28, 63, .35);
}
.plan p { margin: 0; }
.plan__qty {
  font-family: var(--f-display);
  font-size: 1.7rem;
  line-height: 1;
}
.plan__qty strong {
  font-weight: 500;
  font-size: 3.4rem;
  margin-right: 4px;
}
.plan__period {
  margin-top: 6px !important;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.plan__price {
  margin-top: 30px !important;
  padding-top: 24px;
  border-top: 1px solid rgba(14, 28, 63, .12);
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: .01em;
  line-height: 1.1;
}
.plan__unit {
  margin: 6px 0 30px !important;
  font-size: .95rem;
  color: var(--gold-dark);
  flex: 1;
}

.plan--featured {
  color: var(--ivory);
  border-color: transparent;
  background:
    linear-gradient(rgba(14, 28, 63, .55), rgba(14, 28, 63, .8)),
    url("images/textura-agua.jpg") center / cover;
}
.plan--featured .plan__period { color: rgba(244, 236, 225, .7); }
.plan--featured .plan__price { border-color: rgba(244, 236, 225, .2); }
.plan--featured .plan__unit { color: var(--gold-light); }
.plan__tag {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--gold-light);
  color: var(--gold-light);
}

.plans__disciplines {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}
.plans__disciplines li {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(138, 106, 58, .45);
  color: var(--gold-dark);
}

.plans__note {
  margin-top: 30px;
  text-align: center;
  color: var(--muted);
  font-size: .95rem;
}
.plans__note a { color: var(--gold-dark); border-bottom: 1px solid currentColor; }

/* ---------- FAQ ---------- */

.faq { background: var(--bone); }
.faq__grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}
.faq__grid .section-lead { margin-bottom: 30px; }

.accordion details {
  border-top: 1px solid rgba(14, 28, 63, .14);
}
.accordion details:last-child { border-bottom: 1px solid rgba(14, 28, 63, .14); }
.accordion summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 26px 0;
  font-family: var(--f-display);
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  font-weight: 500;
  line-height: 1.25;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "";
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(14, 28, 63, .22);
  background:
    linear-gradient(var(--navy), var(--navy)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--navy), var(--navy)) center / 1.5px 12px no-repeat;
  transition: transform .4s var(--ease), background-color .3s;
}
.accordion details[open] summary::after {
  transform: rotate(45deg);
  background-color: var(--sand);
}
.accordion details p {
  color: var(--ink-soft);
  padding: 0 60px 26px 0;
  margin: 0;
}

/* ---------- CTA ---------- */

.cta {
  position: relative;
  color: var(--ivory);
  padding: clamp(110px, 14vw, 180px) 0;
  overflow: hidden;
  text-align: center;
  background:
    linear-gradient(rgba(14, 28, 63, .35), rgba(14, 28, 63, .65)),
    url("images/textura-agua.jpg") center 70% / cover;
}
.cta__inner { position: relative; }
.cta__arch {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(560px, 90vw);
  transform: translate(-50%, -50%);
  fill: none;
  stroke: rgba(217, 190, 140, .35);
  stroke-width: .6;
  pointer-events: none;
}
.cta__title {
  position: relative;
  font-family: var(--f-display);
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -.015em;
  max-width: 820px;
  margin: 0 auto 40px;
}
.cta__title em { color: var(--gold-light); }
.cta .eyebrow,
.cta .btn { position: relative; }

/* ---------- Contacto ---------- */

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: stretch;
}
.contact__list {
  margin-top: 36px;
  display: grid;
}
.contact__list li {
  padding: 20px 0;
  border-top: 1px solid rgba(14, 28, 63, .12);
}
.contact__list li:last-child { border-bottom: 1px solid rgba(14, 28, 63, .12); }
.contact__list p { margin: 0 0 6px; font-size: 1.05rem; }
.contact__label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 6px;
}
.contact__value {
  font-family: var(--f-display);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.2;
  transition: color .3s;
}
.contact__value:hover { color: var(--royal); }

.contact__map {
  min-height: 460px;
  border-radius: 24px;
  overflow: hidden;
  background: var(--sand);
  box-shadow: 0 40px 70px -45px rgba(14, 28, 63, .5);
}
.contact__map iframe {
  width: 100%;
  height: 100%;
  min-height: 460px;
  border: 0;
  display: block;
  filter: grayscale(.35) sepia(.12) contrast(.95);
}

/* ---------- Footer ---------- */

.footer {
  background: var(--navy);
  color: var(--sand-dark);
  padding: 56px 0 28px;
  font-size: .95rem;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(244, 236, 225, .12);
}
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  font-size: 14px;
  letter-spacing: .04em;
}
.footer__nav a { transition: color .3s; }
.footer__nav a:hover { color: var(--gold-light); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 24px;
  font-size: 13px;
  color: rgba(244, 236, 225, .55);
}
.footer__bottom p { margin: 0; }
.footer__bottom a:hover { color: var(--ivory); }

/* ---------- WhatsApp flotante ---------- */

.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--gold-light);
  box-shadow: 0 14px 30px -10px rgba(14, 28, 63, .6);
  transform: translateY(120px);
  transition: transform .5s var(--ease), background .3s;
}
.wa-float.is-visible { transform: translateY(0); }
.wa-float:hover { background: var(--royal); }
.wa-float svg { width: 26px; height: 26px; fill: currentColor; }

/* ---------- Animación de entrada ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .class-card,
  .class-card--wide { grid-column: span 3; }
  .class-card:last-child { grid-column: 2 / span 4; }
  .class-card--wide .class-card__img { aspect-ratio: 4 / 3; }
  .tt-grid { padding: 18px; gap: 6px; }
  .tt-grid .slot strong { font-size: 12px; }
}

@media (max-width: 960px) {
  .menu-toggle { display: block; }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 55;
    flex-direction: column;
    justify-content: center;
    gap: 26px;
    background: var(--ivory);
    font-family: var(--f-display);
    font-size: 2rem;
    letter-spacing: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .45s var(--ease), visibility .45s;
  }
  .nav__cta {
    font-family: var(--f-body);
    font-size: 14px;
    margin-top: 14px;
  }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .menu-open { overflow: hidden; }

  .hero__grid,
  .community__grid,
  .about__grid,
  .founder__grid,
  .faq__grid,
  .contact__grid { grid-template-columns: 1fr; }

  .hero__visual { width: min(100%, 400px); margin-top: 20px; }
  .badge-rotate { left: -20px; width: 120px; height: 120px; }
  .badge-rotate__center { width: 38px; height: 38px; }
  .hero__dot { right: -8px; width: 70px; height: 70px; }

  .plan-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 260px; }

  /* Horarios: vista por día */
  .tt-grid { display: none; }
  .tt-mobile { display: block; }

  .br-desk { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { width: min(100% - 36px, var(--container)); }

  .logo img { height: 42px; }
  .header.is-scrolled .logo img { height: 38px; }
  .footer .logo img { height: 64px; }

  .hero__actions .btn { flex: 1 1 100%; }
  .hero__facts { gap: 18px; }
  .hero__facts strong { font-size: 1.35rem; }
  .hero__facts span { font-size: 10.5px; }

  .class-card,
  .class-card--wide,
  .class-card:last-child { grid-column: 1 / -1; }

  .plan-grid { grid-template-columns: 1fr; }
  .founder__media { width: min(100%, 340px); padding: 16px 16px 0 0; }
  .founder__media::before { left: 16px; bottom: 16px; }
  .founder__copy { margin-top: 24px; }
  .gallery__grid { grid-auto-rows: 200px; gap: 10px; }
  .gallery__item--big { grid-row: span 2; }
  .gallery__item figcaption { left: 10px; bottom: 10px; font-size: 9.5px; padding: 5px 10px; }
  .plan { padding: 32px 28px 28px; }

  .tt-tab { font-size: 12px; letter-spacing: 0; }

  .schedule__foot { flex-direction: column; align-items: stretch; text-align: center; }

  .contact__map,
  .contact__map iframe { min-height: 340px; }
  .accordion details p { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
