/* Viva Studio — Editorial Landing
   Palette: Moss #2C3424 · Cypress #4C583E · Olive #768064 · Cedar #959581 · Aloe #DADED8
*/

:root {
  --moss: #2C3424;
  --cypress: #4C583E;
  --olive: #768064;
  --cedar: #959581;
  --aloe: #DADED8;
  --aloe-2: #E5E8E2;
  --paper: #EFEFE8;

  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'DM Sans', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --display-scale: 1;
  --section-pad: 70px;
  --container: 1240px;
  --anim-speed: 1;
  --img-filter: none;
  --card-style: clean;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 400;
  background: var(--aloe);
  color: var(--moss);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

/* ============ TYPE SYSTEM ============ */

.serif { font-family: var(--serif); font-weight: 300; letter-spacing: -0.01em; }
.serif-italic { font-family: var(--serif); font-style: italic; font-weight: 400; }
.sans-label {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11px;
  font-weight: 500;
}
.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--olive);
}

.h-display {
  font-family: var(--serif);
  font-weight: 300;
  font-size: calc(clamp(64px, 10vw, 148px) * var(--display-scale));
  line-height: 0.98;
  letter-spacing: -0.025em;
}
.h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: calc(clamp(40px, 5.5vw, 76px) * var(--display-scale));
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: calc(clamp(32px, 4vw, 56px) * var(--display-scale));
  line-height: 1.05;
  letter-spacing: -0.015em;
}
.h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: calc(clamp(22px, 2vw, 28px) * var(--display-scale));
  line-height: 1.2;
}

.italic { font-style: italic; font-weight: 400; }

/* ============ LAYOUT ============ */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
.container-wide {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 32px;
}
section { padding: var(--section-pad) 0; position: relative; }

.bg-aloe { background: var(--aloe); color: var(--moss); }
.bg-moss { background: var(--moss); color: var(--aloe); }
.bg-cypress { background: var(--cypress); color: var(--aloe); }
.bg-cedar { background: var(--cedar); color: var(--moss); }
.bg-paper { background: var(--paper); color: var(--moss); }

/* ============ NAV ============ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.4s ease;
  background: rgba(44, 52, 36, 0.82);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}
.nav.scrolled {
  background: rgba(44, 52, 36, 0.82);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  padding: 14px 40px;
  color: var(--aloe);
}
.nav.over-light:not(.scrolled) { color: var(--moss); }
.nav.over-dark:not(.scrolled) { color: var(--aloe); }

.nav-logo {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.nav-logo .italic { font-style: italic; font-weight: 400; }

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0.04em;
}
.nav-links a {
  position: relative;
  padding: 4px 0;
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 0.6; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 0;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all calc(0.25s / var(--anim-speed)) ease;
  white-space: nowrap;
}
.btn-moss {
  background: var(--moss);
  color: var(--aloe);
  border-color: var(--moss);
}
.btn-moss:hover {
  background: var(--cypress);
  border-color: var(--cypress);
  transform: scale(1.03);
}
.btn-aloe {
  background: var(--aloe);
  color: var(--moss);
}
.btn-aloe:hover {
  background: var(--paper);
  transform: scale(1.03);
}
.btn-ghost {
  background: transparent;
  border-color: currentColor;
  color: inherit;
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); }
.btn-cedar {
  background: var(--cedar);
  border-color: var(--cedar);
  color: var(--paper);
}
.btn-cedar:hover { background: var(--olive); border-color: var(--olive); transform: scale(1.03); }
.btn-link {
  background: none;
  padding: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  letter-spacing: 0.18em;
  padding-bottom: 4px;
}
.arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}
a:hover .arrow,
button:hover .arrow,
.btn:hover .arrow,
.coach-cta:hover .arrow,
.clase-item:hover .arrow {
  transform: translateX(6px);
}

/* mobile menu */
.nav-burger {
  display: none;
  width: 28px;
  height: 18px;
  position: relative;
  cursor: pointer;
  background: none;
  border: 0;
}
.nav-burger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: all 0.3s;
}
.nav-burger span:nth-child(1) { top: 4px; }
.nav-burger span:nth-child(2) { top: 12px; }

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--moss);
  color: var(--aloe);
  z-index: 200;
  padding: 80px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  transform: translateY(-100%);
  transition: transform 0.5s cubic-bezier(.7,0,.2,1);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 300;
}
.mobile-menu a .italic { font-style: italic; }
.mobile-close {
  position: absolute;
  top: 28px; right: 32px;
  background: none;
  border: 0;
  color: var(--aloe);
  font-size: 30px;
  cursor: pointer;
}

/* ============ HERO ============ */

.hero {
  position: relative;
  min-height: 100vh;
  padding: 0;
  overflow: hidden;
  background: var(--moss);
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.52) 0%, rgba(0,0,0,0.28) 45%, rgba(0,0,0,0.05) 65%, rgba(0,0,0,0.38) 100%);
  z-index: 2;
}
.hero-inner {
  position: relative;
  z-index: 3;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 120px 40px 90px;
  color: var(--aloe);
}
.hero-marquee {
  position: absolute;
  bottom: 8%;
  left: 0; right: 0;
  z-index: 2;
  overflow: hidden;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0.18;
}
.hero-marquee-track {
  display: inline-flex;
  gap: 60px;
  animation: marquee calc(50s / var(--anim-speed)) linear infinite;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(60px, 9vw, 130px);
  line-height: 1;
  color: var(--aloe);
  letter-spacing: -0.02em;
}
.hero-marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 60px;
}
.hero-marquee-track span::after {
  content: "";
  display: inline-block;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--aloe);
  margin-left: 60px;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
}
.hero-title {
  max-width: 680px;
}
.hero-meta {
  text-align: right;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.85;
  line-height: 1.9;
}
.hero-actions {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 28px;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  color: var(--aloe);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.scroll-indicator .line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--aloe));
  position: relative;
  overflow: hidden;
}
.scroll-indicator .line::after {
  content: "";
  position: absolute;
  top: -30px;
  left: 0;
  width: 100%;
  height: 30px;
  background: var(--aloe);
  animation: scrollDown calc(2s / var(--anim-speed)) ease-in-out infinite;
}
@keyframes scrollDown {
  0% { top: -30px; }
  100% { top: 100%; }
}

/* ============ INTRO QUOTE BLOCK ============ */

.intro-block-shadow {
  filter:
    drop-shadow(0 2px 4px rgba(0,0,0,0.08))
    drop-shadow(0 8px 20px rgba(0,0,0,0.10))
    drop-shadow(0 20px 40px rgba(44,52,36,0.10));
  max-width: 760px;
  margin: 0 auto;
}
.intro-block {
  background: var(--paper);
  padding: 80px 60px;
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
  text-align: center;
  clip-path: polygon(
    0% 2%, 3% 0%, 7% 2%, 12% 0%, 16% 2%, 21% 0%, 26% 2%, 31% 0%, 36% 2%, 41% 0%, 46% 2%, 51% 0%, 56% 2%, 61% 0%, 66% 2%, 71% 0%, 76% 2%, 81% 0%, 86% 2%, 91% 0%, 96% 2%, 100% 1%,
    99% 7%, 100% 13%, 99% 20%, 100% 27%, 99% 34%, 100% 41%, 99% 48%, 100% 55%, 99% 62%, 100% 69%, 99% 76%, 100% 83%, 99% 90%, 100% 97%,
    97% 100%, 92% 98%, 87% 100%, 82% 98%, 77% 100%, 72% 98%, 67% 100%, 62% 98%, 57% 100%, 52% 98%, 47% 100%, 42% 98%, 37% 100%, 32% 98%, 27% 100%, 22% 98%, 17% 100%, 12% 98%, 7% 100%, 3% 98%, 0% 100%,
    1% 93%, 0% 86%, 1% 79%, 0% 72%, 1% 65%, 0% 58%, 1% 51%, 0% 44%, 1% 37%, 0% 30%, 1% 23%, 0% 16%, 1% 9%
  );
}
.intro-deco {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
  color: var(--olive);
  letter-spacing: 0.4em;
}
.intro-block p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 19px;
  line-height: 1.7;
  color: var(--moss);
}
.intro-block .signature {
  margin-top: 22px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--olive);
}

/* striped band like reference */
.striped-band {
  height: 240px;
  background: repeating-linear-gradient(
    90deg,
    var(--paper) 0,
    var(--paper) 14px,
    var(--aloe) 14px,
    var(--aloe) 16px
  );
  margin-top: -120px;
  position: relative;
  z-index: 1;
}

/* ============ SECTION HEADERS ============ */

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 60px;
  margin-bottom: 80px;
  flex-wrap: wrap;
}
.section-head .lead { max-width: 480px; }
.section-head .lead p {
  margin-top: 18px;
  color: var(--cypress);
  font-size: 15px;
  line-height: 1.8;
  max-width: 380px;
}
.section-head .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--olive);
  margin-bottom: 14px;
  display: block;
}

/* ============ CLASES (TRAVEL-STYLE LIST) ============ */

.classes-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 80px;
  align-items: stretch;
}
.classes-img {
  position: relative;
  overflow: hidden;
  background: var(--cedar);
  align-self: stretch;
}
.classes-img::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  opacity: 0.28;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}
.classes-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: var(--img-filter);
  transition: opacity 0.6s ease, transform 0.8s ease;
}
.classes-hover-img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  filter: grayscale(100%) contrast(1.4) brightness(0.88) !important; /* revert: cambiar a none */
}
.classes-hover-img.visible {
  opacity: 1;
}
.classes-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(44,52,36,0.15);
}
.class-row {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 36px 0;
  border-bottom: 1px solid rgba(44,52,36,0.15);
  cursor: pointer;
  transition: padding 0.3s ease, color 0.3s ease;
}
.class-row:hover { padding-left: 14px; color: var(--cypress); }
.class-row .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--olive);
}
.class-row .title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(28px, 3.2vw, 44px);
  letter-spacing: -0.01em;
  line-height: 1.05;
}
.class-row .title .italic { font-style: italic; }
.class-row .copy {
  margin-top: 8px;
  font-size: 14px;
  color: var(--cypress);
  max-width: 460px;
  line-height: 1.6;
}
.class-row .tags {
  margin-top: 14px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.class-row .tag {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid var(--olive);
  border-radius: 0;
  color: var(--olive);
}
.class-row .arrow {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  transition: transform 0.3s ease;
}
.class-row:hover .arrow { transform: translateX(8px); }

/* Overrides para sección "Lo que ofrecemos" sobre fondo cedar — todo claro */
#clases .classes-list { border-top-color: rgba(239, 239, 232, 0.35); }
#clases .class-row { border-bottom-color: rgba(239, 239, 232, 0.25); }
#clases .class-row .num { color: var(--paper); opacity: 0.85; }
#clases .class-row .title { color: var(--aloe); }
#clases .class-row .copy { color: var(--aloe-2); opacity: 0.92; }
#clases .class-row .tag { color: var(--paper); border-color: rgba(239, 239, 232, 0.5); }
#clases .class-row .arrow { color: var(--aloe); }
#clases .class-row:hover { color: var(--paper); }
#clases .class-row:hover .title,
#clases .class-row:hover .copy,
#clases .class-row:hover .arrow { color: var(--paper); }

/* Reducir espacio superior solo en sección Entrenadoras */
#entrenadoras { padding-top: 70px; padding-bottom: 70px; }

/* ============ HORARIOS ============ */

.schedule-grid {
  display: grid;
  grid-template-columns: 90px repeat(7, 1fr);
  gap: 1px;
  background: rgba(218, 222, 216, 0.15);
  border: 1px solid rgba(218, 222, 216, 0.18);
}
.schedule-grid > * {
  background: var(--moss);
  padding: 18px 14px;
  font-size: 12px;
}
.schedule-grid .day-h {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 500;
  font-size: 10.5px;
  color: var(--cedar);
  text-align: center;
}
.schedule-grid .time-h {
  font-family: var(--serif);
  font-style: italic;
  color: var(--olive);
  font-size: 14px;
  display: flex;
  align-items: center;
}
.schedule-cell {
  min-height: 78px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s;
  position: relative;
}
.schedule-cell:hover { background: var(--cypress); }
.schedule-cell.has-class { padding-left: 18px; }
.schedule-cell.has-class::before {
  content: "";
  position: absolute;
  left: 8px; top: 18px; bottom: 18px;
  width: 2px;
  background: var(--olive);
}
.schedule-cell.barre::before { background: var(--olive); }
.schedule-cell.pilates::before { background: var(--cedar); }
.schedule-cell.yoga::before { background: var(--cypress); border-left: 1px solid var(--aloe); }
.schedule-cell .ct {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--aloe);
  line-height: 1.2;
}
.schedule-cell .cs {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cedar);
  margin-top: 4px;
}

.schedule-legend {
  display: flex;
  gap: 28px;
  margin-bottom: 28px;
  flex-wrap: wrap;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cedar);
}
.legend-dot {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.legend-dot::before {
  content: "";
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--olive);
}
.legend-dot.barre::before { background: var(--olive); }
.legend-dot.pilates::before { background: var(--cedar); }
.legend-dot.yoga::before { background: var(--cypress); border: 1px solid var(--aloe); }

.schedule-footer {
  margin-top: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--cedar);
}

/* ── Horarios rediseño ── */
.sched-tabs {
  display: flex;
  gap: 8px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.sched-tab {
  background: transparent;
  border: 1px solid rgba(218,222,216,0.25);
  color: var(--cedar);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 20px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.sched-tab:hover { border-color: var(--aloe); color: var(--aloe); }
.sched-tab.active { background: var(--aloe); color: var(--moss); border-color: var(--aloe); }
.sched-day-label {
  font-family: var(--serif);
  font-style: italic;
  font-size: 52px;
  color: rgba(218,222,216,0.12);
  margin: 8px 0 -20px;
  line-height: 1;
  user-select: none;
}
@keyframes schedFadeIn {
  from { opacity: 0; transform: translateX(14px); }
  to   { opacity: 1; transform: translateX(0); }
}
.sched-list {
  display: flex;
  flex-direction: column;
  margin-top: 32px;
  animation: schedFadeIn 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
.sched-item {
  display: block;
  padding: 0;
  border-top: 1px solid rgba(218,222,216,0.1);
  text-decoration: none;
  transition: background 0.4s ease;
  cursor: pointer;
  overflow: hidden;
}
.sched-item:last-child { border-bottom: 1px solid rgba(218,222,216,0.1); }
.sched-item:hover { background: rgba(218,222,216,0.04); }
.sched-item-inner {
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: center;
  gap: 32px;
  padding: 24px 0;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.sched-item:hover .sched-item-inner { transform: translateX(10px); }
.sched-time {
  font-family: var(--serif);
  font-style: italic;
  font-size: 36px;
  color: var(--aloe);
  line-height: 1;
}
.sched-name {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--aloe);
  letter-spacing: -0.01em;
}
.sched-room {
  font-size: 12px;
  color: var(--cedar);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 4px;
}
.sched-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  justify-self: end;
}
.sched-dot.barre { background: var(--olive); }
.sched-dot.pilates { background: var(--cedar); }
.sched-dot.yoga { background: var(--cypress); }
.sched-empty {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--cedar);
  padding: 48px 0;
  text-align: center;
}

/* ============ RESERVAS ============ */

.book {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.book-form {
  background: var(--paper);
  padding: 56px;
  border: 1px solid rgba(44,52,36,0.1);
}
.book-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.book-form .field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.book-form label {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--olive);
  font-weight: 500;
}
.book-form input,
.book-form select {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(44,52,36,0.25);
  padding: 10px 0;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--moss);
  outline: none;
  transition: border-color 0.2s;
  border-radius: 0;
}
.book-form input:focus,
.book-form select:focus { border-color: var(--moss); }
.book-form .full { grid-column: 1 / -1; }
.book-form .submit-row {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.book-form .small {
  font-size: 11px;
  color: var(--cypress);
  max-width: 240px;
  line-height: 1.5;
}

.book-success {
  text-align: center;
  padding: 80px 40px;
}
.book-success .check {
  width: 64px; height: 64px;
  margin: 0 auto 24px;
  border-radius: 50%;
  border: 1.5px solid var(--moss);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 36px;
  color: var(--moss);
  animation: pop 0.5s cubic-bezier(.5,1.6,.4,1);
}
@keyframes pop {
  0% { transform: scale(0.4); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* ============ ENTRENADORES ============ */

/* ── Entrenadoras grid ── */
.coaches-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 120px;
  margin-top: 70px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.coach-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
}
.coach-portrait-wrap {
  position: relative;
  width: 100%;
  margin-bottom: 22px;
  filter:
    drop-shadow(2px 3px 6px rgba(0,0,0,0.12))
    drop-shadow(4px 8px 16px rgba(0,0,0,0.08));
}
.coach-portrait-wrap::before,
.coach-portrait-wrap::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 26px;
  background: linear-gradient(
    135deg,
    rgba(239,239,232,0.55) 0%,
    rgba(255,255,255,0.72) 40%,
    rgba(239,239,232,0.55) 100%
  );
  box-shadow: 0 1px 3px rgba(0,0,0,0.12);
  z-index: 10;
  top: 2px;
}
.coach-portrait-wrap::before {
  left: -22px;
  transform: rotate(-38deg);
}
.coach-portrait-wrap::after {
  right: -22px;
  transform: rotate(38deg);
}
.coach-tapes-bottom {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.coach-tapes-bottom::before,
.coach-tapes-bottom::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 26px;
  background: linear-gradient(
    135deg,
    rgba(239,239,232,0.55) 0%,
    rgba(255,255,255,0.72) 40%,
    rgba(239,239,232,0.55) 100%
  );
  box-shadow: 0 1px 3px rgba(0,0,0,0.12);
  z-index: 10;
  bottom: 2px;
}
.coach-tapes-bottom::before {
  left: -22px;
  transform: rotate(38deg);
}
.coach-tapes-bottom::after {
  right: -22px;
  transform: rotate(-38deg);
}
.coach-portrait {
  aspect-ratio: 3 / 3.5;
  width: 100%;
  overflow: hidden;
  background: var(--cedar);
  clip-path: polygon(
    0% 2%, 3% 0%, 7% 2%, 12% 0%, 16% 2%, 21% 0%, 26% 2%, 31% 0%, 36% 2%, 41% 0%, 46% 2%, 51% 0%, 56% 2%, 61% 0%, 66% 2%, 71% 0%, 76% 2%, 81% 0%, 86% 2%, 91% 0%, 96% 2%, 100% 1%,
    99% 7%, 100% 13%, 99% 20%, 100% 27%, 99% 34%, 100% 41%, 99% 48%, 100% 55%, 99% 62%, 100% 69%, 99% 76%, 100% 83%, 99% 90%, 100% 97%,
    97% 100%, 92% 98%, 87% 100%, 82% 98%, 77% 100%, 72% 98%, 67% 100%, 62% 98%, 57% 100%, 52% 98%, 47% 100%, 42% 98%, 37% 100%, 32% 98%, 27% 100%, 22% 98%, 17% 100%, 12% 98%, 7% 100%, 3% 98%, 0% 100%,
    1% 93%, 0% 86%, 1% 79%, 0% 72%, 1% 65%, 0% 58%, 1% 51%, 0% 44%, 1% 37%, 0% 30%, 1% 23%, 0% 16%, 1% 9%
  );
}
.coach-portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.4) brightness(0.88);
  transition: transform 0.6s ease;
}
.coach-card:has(.coach-about:hover) .coach-portrait img { transform: scale(1.04); }
.coach-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--moss);
}
.coach-role {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--olive);
  margin-top: 6px;
}
.coach-bio {
  margin-top: 12px;
  font-size: 13px;
  color: var(--cypress);
  line-height: 1.7;
  min-height: 66px;
}
.coach-about {
  margin-top: 16px;
  color: var(--moss);
}

/* ── Modal entrenadoras ── */
.coach-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(44,52,36,0.65);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}
.coach-modal {
  background: var(--paper);
  width: 90%;
  max-width: 780px;
  display: grid;
  grid-template-columns: 260px 1fr;
  position: relative;
  animation: slideUp 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  max-height: 70vh;
  margin: 20px;
}
.coach-modal-close {
  position: absolute;
  top: 20px; right: 24px;
  background: none;
  border: none;
  font-size: 16px;
  color: var(--moss);
  cursor: pointer;
  opacity: 0.5;
  letter-spacing: 0.1em;
  z-index: 10;
  font-family: var(--sans);
}
.coach-modal-close:hover { opacity: 1; }
.coach-modal-img {
  overflow: hidden;
  height: 100%;
}
.coach-modal-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
.coach-modal-info {
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.coach-modal-role {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 12px;
}
.coach-modal-name {
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 0.95;
  color: var(--moss);
  margin-bottom: 24px;
}
.coach-modal-bio {
  font-size: 15px;
  line-height: 1.85;
  color: var(--cypress);
}
.coach-modal-certs {
  margin-top: 22px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--olive);
  border-top: 1px solid rgba(44,52,36,0.12);
  padding-top: 18px;
}
.coach-modal-quote {
  margin: 28px 0 0;
  padding: 22px 24px;
  border-left: 3px solid var(--olive);
  background: rgba(44,52,36,0.04);
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  line-height: 1.7;
  color: var(--moss);
  quotes: none;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}
@keyframes slideUp {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes slideDown {
  from { transform: translateY(0); opacity: 1; }
  to { transform: translateY(40px); opacity: 0; }
}
.coach-modal-overlay.closing {
  animation: fadeOut 0.42s ease forwards;
}
.coach-modal-overlay.closing .coach-modal {
  animation: slideDown 0.42s cubic-bezier(0.4, 0, 0.8, 1) forwards;
}

/* ============ MEET STUDIO LATERAL ============ */

.meet {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.meet h2 { line-height: 0.95; }
.meet .body { padding-top: 14px; }
.meet .body p {
  font-size: 15px;
  line-height: 1.85;
  max-width: 520px;
  margin-bottom: 18px;
}
.meet-img {
  margin-top: 60px;
  aspect-ratio: 16 / 6.3;
  overflow: hidden;
  background: var(--cedar);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: #EFEFE8;
}
.meet-img img { width: 100%; height: 100%; object-fit: cover; filter: var(--img-filter); }
.meet-img img.meet-img-1 { object-position: center 30%; }
.meet-img img.meet-img-2 { object-position: center 20%; }

/* ============ COLLAGE / GALLERY ============ */

/* ── Photo wall ── */
.photo-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  align-items: center;
  justify-items: center;
  padding: 20px 20px 40px;
}
.photo-print {
  background: #fff;
  padding: 10px 10px 32px;
  box-shadow: 0 8px 32px rgba(44,52,36,0.18), 0 2px 8px rgba(44,52,36,0.10);
  position: relative;
  transition: transform 0.03s ease, box-shadow 0.5s ease;
  width: 88%;
}
.photo-print:nth-child(1) { transform: rotate(-2.5deg); }
.photo-print:nth-child(2) { transform: rotate(1.8deg) translateY(-20px); }
.photo-print:nth-child(3) { transform: rotate(-1.2deg) translateY(16px); }
.photo-print:nth-child(4) { transform: rotate(2.8deg); }
.photo-print:nth-child(5) { transform: rotate(-1.8deg); }
.photo-print:nth-child(6) { transform: rotate(1.4deg); }
.photo-print:hover {
  transform: rotate(0deg) translateY(-8px) scale(1.03) !important;
  z-index: 2;
}
.photo-print img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
  filter: grayscale(100%) contrast(1.4) brightness(0.88);
  position: relative;
}
.photo-print::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 180px;
  opacity: 0.22;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.photo-print-tape {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%) rotate(-1deg);
  width: 52px;
  height: 18px;
  background: rgba(239,239,232,0.82);
  border: 1px solid rgba(149,149,129,0.35);
  z-index: 3;
}
.photo-print-label {
  text-align: center;
  padding-top: 10px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--olive);
  letter-spacing: 0.04em;
}

/* ── Lightbox ── */
@keyframes lbZoomIn {
  from { transform: translate(var(--ox), var(--oy)) scale(0.12); opacity: 0; }
  to   { transform: translate(0, 0) scale(1); opacity: 1; }
}
@keyframes lbZoomOut {
  from { transform: translate(0, 0) scale(1); opacity: 1; }
  to   { transform: translate(var(--ox), var(--oy)) scale(0.12); opacity: 0; }
}
.photo-lightbox-overlay {
  position: fixed; inset: 0;
  background: rgba(44,52,36,0.7);
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  animation: fadeIn 0.25s ease forwards;
}
.photo-lightbox-overlay.closing { animation: fadeOut 0.35s ease forwards; }
.photo-lightbox-overlay.closing .photo-lightbox-frame {
  animation: lbZoomOut 0.35s cubic-bezier(0.4,0,0.8,1) forwards;
}
.photo-lightbox-frame {
  max-width: min(440px, 88vw);
  width: 100%;
  animation: lbZoomIn 0.35s cubic-bezier(0.2,0,0.2,1) forwards;
  position: relative;
}
.photo-lightbox-frame img {
  width: 100%;
  max-height: 78vh;
  height: auto;
  object-fit: contain;
  display: block;
  filter: grayscale(100%) contrast(1.4) brightness(0.88);
  box-shadow: 0 32px 80px rgba(44,52,36,0.4);
}
.photo-lightbox-label { display: none; }
.photo-lightbox-close {
  position: fixed; top: 28px; right: 32px;
  background: none; border: none;
  color: var(--aloe); font-size: 22px;
  cursor: pointer; opacity: 0.7; z-index: 1001;
  transition: opacity 0.2s;
}
.photo-lightbox-close:hover { opacity: 1; }
.photo-lightbox-nav {
  position: fixed;
  top: 50%; transform: translateY(-50%);
  background: rgba(239,239,232,0.12);
  border: 1px solid rgba(239,239,232,0.25);
  color: var(--aloe);
  font-size: 20px;
  width: 48px; height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 1001;
  transition: background 0.2s;
}
.photo-lightbox-nav:hover { background: rgba(239,239,232,0.22); }
.photo-lightbox-nav.prev { left: 28px; }
.photo-lightbox-nav.next { right: 28px; }

/* legacy spans kept for mobile fallback */
.collage .span-2c { grid-column: span 2; }
.collage .span-2r { grid-row: span 2; }
.collage .span-2c2r { grid-column: span 2; grid-row: span 2; }

/* ============ TESTIMONIOS ============ */

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: start;
}
.testimonial {
  padding: 40px 32px;
  background: var(--paper);
  border: 1px solid rgba(44,52,36,0.08);
  transition: all 0.3s ease;
}
.testimonial:hover {
  background: var(--moss);
  color: var(--aloe);
  transform: translateY(-4px);
}
.testimonial .stars {
  color: var(--olive);
  letter-spacing: 0.3em;
  font-size: 13px;
  margin-bottom: 18px;
}
.testimonial:hover .stars { color: var(--cedar); }
.testimonial .q {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 22px;
  line-height: 1.45;
  letter-spacing: -0.005em;
}
.testimonial .author {
  margin-top: 22px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--olive);
}
.testimonial:hover .author { color: var(--cedar); }

/* ============ GOOGLE MAPS REVIEWS ============ */
.gm-pill {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid rgba(44,52,36,0.08);
  border-radius: 999px;
  padding: 10px 22px;
  font-family: 'Roboto', 'Arial', system-ui, sans-serif;
  box-shadow: 0 2px 8px rgba(60,64,67,.08);
}
.gm-pill-g {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; color: #202124; font-weight: 500;
}
.gm-pill-divider {
  width: 1px; height: 16px; background: rgba(44,52,36,0.18);
}
.gm-pill-rating {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--serif); font-style: italic;
}
.gm-pill-num {
  font-family: var(--serif);
  font-size: 18px; font-weight: 400;
  color: var(--moss);
}
.gm-pill-count {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--olive); font-weight: 500;
  font-family: var(--sans);
}

.gm-reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.gm-review {
  background: var(--paper);
  border-radius: 0;
  padding: 26px 26px 0;
  font-family: 'Roboto', 'Arial', system-ui, sans-serif;
  color: var(--moss);
  display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.gm-review:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(44,52,36,.08);
}
.gm-review-head {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px;
}
.gm-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 500; font-size: 13px;
  letter-spacing: 0.04em;
  flex-shrink: 0;
  font-family: 'Roboto', sans-serif;
}
.gm-meta { flex: 1; min-width: 0; }
.gm-name {
  font-size: 14px; font-weight: 500; color: var(--moss);
  line-height: 1.3; margin-bottom: 3px;
}
.gm-rating-row {
  display: flex; align-items: center; gap: 4px;
  font-size: 12px; color: var(--olive);
}
.gm-time { font-size: 12px; color: var(--olive); }
.gm-text {
  font-size: 14px; line-height: 1.65; color: var(--moss);
  font-family: 'Roboto', 'Arial', sans-serif;
  margin-bottom: 22px;
  flex: 1;
}
.gm-text em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 15px;
  color: var(--cypress);
}
.gm-verified {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(44,52,36,0.1);
  padding: 14px 0;
  margin-top: auto;
  font-size: 12px;
  color: var(--olive);
  font-family: 'Roboto', sans-serif;
}
.gm-verified-g { display: inline-flex; }

@media (max-width: 980px) {
  .gm-reviews { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .gm-reviews { grid-template-columns: 1fr; }
  .gm-pill { flex-wrap: wrap; padding: 12px 18px; gap: 10px; }
}

/* featured big quote (like reference) */
.featured-quote-shadow {
  filter:
    drop-shadow(0 2px 4px rgba(0,0,0,0.08))
    drop-shadow(0 8px 20px rgba(0,0,0,0.10))
    drop-shadow(0 20px 40px rgba(44,52,36,0.10));
  max-width: 720px;
  margin: 0 auto;
}
.featured-quote {
  background: var(--paper);
  padding: 80px 60px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  clip-path: polygon(
    0% 2%, 3% 0%, 7% 2%, 12% 0%, 16% 2%, 21% 0%, 26% 2%, 31% 0%, 36% 2%, 41% 0%, 46% 2%, 51% 0%, 56% 2%, 61% 0%, 66% 2%, 71% 0%, 76% 2%, 81% 0%, 86% 2%, 91% 0%, 96% 2%, 100% 1%,
    99% 7%, 100% 13%, 99% 20%, 100% 27%, 99% 34%, 100% 41%, 99% 48%, 100% 55%, 99% 62%, 100% 69%, 99% 76%, 100% 83%, 99% 90%, 100% 97%,
    97% 100%, 92% 98%, 87% 100%, 82% 98%, 77% 100%, 72% 98%, 67% 100%, 62% 98%, 57% 100%, 52% 98%, 47% 100%, 42% 98%, 37% 100%, 32% 98%, 27% 100%, 22% 98%, 17% 100%, 12% 98%, 7% 100%, 3% 98%, 0% 100%,
    1% 93%, 0% 86%, 1% 79%, 0% 72%, 1% 65%, 0% 58%, 1% 51%, 0% 44%, 1% 37%, 0% 30%, 1% 23%, 0% 16%, 1% 9%
  );
}
.featured-quote .stars {
  color: var(--olive);
  letter-spacing: 0.5em;
  margin-bottom: 28px;
}
.featured-quote h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(28px, 3.5vw, 46px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.featured-quote h3 .italic { font-style: italic; }
.featured-quote .author {
  margin-top: 26px;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--olive);
}

/* ============ DELVE / TRY ============ */

.delve-grid { display: none; }
.delve-bento {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 60px;
}
.delve-bento-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  height: 380px;
}
.delve-bento-pair.reverse .delve-bento-text { order: 2; }
.delve-bento-pair.reverse .delve-bento-img  { order: 1; }
.delve-bento-text {
  background: rgb(149, 149, 129);
  border-radius: 0;
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.delve-bento-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--paper);
  opacity: 0.6;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.delve-bento-text h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 34px;
  color: var(--paper);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.delve-bento-text p {
  font-size: 15px;
  color: var(--paper);
  opacity: 0.85;
  line-height: 1.8;
  max-width: 340px;
}
.delve-bento-img {
  border-radius: 0;
  overflow: hidden;
}
.delve-bento-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.4) brightness(0.88);
  transition: transform 0.5s ease;
}
.delve-card p {
  margin-top: 8px;
  font-size: 13px;
  color: var(--cypress);
  line-height: 1.6;
}

/* ============ CTA FINAL ============ */

.cta-final {
  position: relative;
  min-height: 60vh;
  margin-bottom: -2px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0;
  overflow: hidden;
}
.cta-final-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 1;
  image-rendering: -webkit-optimize-contrast;
  will-change: transform;
}
.cta-final-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.28);
  z-index: 2;
}
.cta-final-content {
  position: relative;
  z-index: 3;
  color: var(--aloe);
  padding: 120px 32px;
  max-width: 880px;
}
.cta-final-content p {
  margin-top: 24px;
  font-size: 15px;
  letter-spacing: 0.04em;
  opacity: 0.9;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.cta-final-content .actions {
  margin-top: 40px;
  display: inline-flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ============ NEWSLETTER ============ */

.newsletter {
  background: var(--moss);
  color: var(--aloe);
  text-align: center;
  padding: 100px 32px;
}
.newsletter h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.newsletter h3 .italic { font-style: italic; }
.newsletter p {
  font-size: 13px;
  letter-spacing: 0.04em;
  opacity: 0.75;
  margin-bottom: 36px;
}
.newsletter form {
  display: inline-flex;
  gap: 0;
  border-bottom: 1px solid var(--cedar);
  width: min(440px, 100%);
}
.newsletter input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: none;
  padding: 14px 4px;
  color: var(--aloe);
  font-family: var(--sans);
  font-size: 14px;
}
.newsletter input::placeholder { color: rgba(218,222,216,0.45); }
.newsletter button {
  background: transparent;
  border: 0;
  color: var(--aloe);
  padding: 14px 0 14px 18px;
  cursor: pointer;
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  letter-spacing: 0.05em;
}

/* ============ FOOTER ============ */

footer.foot {
  background: #232a1d;
  color: var(--aloe);
  padding: 100px 0 36px;
}
.foot-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 60px;
  padding-bottom: 80px;
  border-bottom: 1px solid rgba(218,222,216,0.12);
}
.foot-brand .logo {
  font-family: var(--serif);
  font-size: clamp(64px, 9vw, 132px);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.foot-brand .logo .italic { font-style: italic; }
.foot-brand .tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--cedar);
  margin-bottom: 28px;
  max-width: 320px;
  line-height: 1.4;
}
.foot-col h5 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cedar);
  margin-bottom: 22px;
}
.foot-col ul { list-style: none; }
.foot-col li {
  margin-bottom: 12px;
  font-size: 13.5px;
  color: var(--aloe);
}
.foot-col a:hover { color: var(--cedar); }

.foot-bottom {
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cedar);
}

/* ============ ANIMATIONS ============ */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity calc(0.8s / var(--anim-speed)) cubic-bezier(.2,.6,.2,1),
    transform calc(0.8s / var(--anim-speed)) cubic-bezier(.2,.6,.2,1);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity calc(0.7s / var(--anim-speed)) cubic-bezier(.2,.6,.2,1),
    transform calc(0.7s / var(--anim-speed)) cubic-bezier(.2,.6,.2,1);
}
.reveal-stagger.in > *:nth-child(1)  { transition-delay: calc(0s    / var(--anim-speed)); }
.reveal-stagger.in > *:nth-child(2)  { transition-delay: calc(0.12s / var(--anim-speed)); }
.reveal-stagger.in > *:nth-child(3)  { transition-delay: calc(0.24s / var(--anim-speed)); }
.reveal-stagger.in > *:nth-child(4)  { transition-delay: calc(0.36s / var(--anim-speed)); }
.reveal-stagger.in > *:nth-child(5)  { transition-delay: calc(0.48s / var(--anim-speed)); }
.reveal-stagger.in > *:nth-child(6)  { transition-delay: calc(0.60s / var(--anim-speed)); }
.reveal-stagger.in > *:nth-child(7)  { transition-delay: calc(0.72s / var(--anim-speed)); }
.reveal-stagger.in > *:nth-child(8)  { transition-delay: calc(0.84s / var(--anim-speed)); }
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }

/* ── HERO ── */
@keyframes heroUp {
  from { opacity: 0; transform: translateY(56px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroImgScale {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}
.hero-img {
  animation: heroImgScale calc(2s / var(--anim-speed)) cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero .h-display {
  animation: heroUp calc(1s / var(--anim-speed)) cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}
.hero-actions {
  animation: heroUp calc(0.9s / var(--anim-speed)) cubic-bezier(0.16, 1, 0.3, 1) 0.55s both;
}
.hero-meta {
  animation: heroUp calc(0.8s / var(--anim-speed)) ease 0.75s both;
}

/* ── INTRO QUOTE — floating stars ── */
@keyframes floatStars {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-6px); }
}
.intro-deco {
  animation: floatStars calc(3.5s / var(--anim-speed)) ease-in-out infinite;
}

/* ── MEET — image wipe from bottom ── */
@keyframes wipeUp {
  from { clip-path: inset(100% 0 0 0); transform: scale(1.06); }
  to   { clip-path: inset(0% 0 0 0);   transform: scale(1); }
}
.meet-img img { clip-path: inset(100% 0 0 0); }
.meet-img.in img {
  animation: wipeUp calc(1.1s / var(--anim-speed)) cubic-bezier(0.76, 0, 0.24, 1) both;
}
.meet-img.in > div:nth-child(2) img {
  animation-delay: calc(0.18s / var(--anim-speed));
}


/* ── ENTRENADORAS — cards settle from slight rotation ── */
.coaches-grid .coach-card {
  opacity: 0;
  transform: translateY(36px) rotate(1.5deg);
  transition:
    opacity calc(0.75s / var(--anim-speed)) cubic-bezier(.2,.6,.2,1),
    transform calc(0.85s / var(--anim-speed)) cubic-bezier(0.34, 1.4, 0.64, 1);
}
.coaches-grid.in .coach-card { opacity: 1; transform: translateY(0) rotate(0deg); }
.coaches-grid.in .coach-card:nth-child(1) { transition-delay: calc(0s    / var(--anim-speed)); }
.coaches-grid.in .coach-card:nth-child(2) { transition-delay: calc(0.15s / var(--anim-speed)); }
.coaches-grid.in .coach-card:nth-child(3) { transition-delay: calc(0.30s / var(--anim-speed)); }


/* ── TESTIMONIOS — alternating sides ── */
.gm-reviews .gm-review {
  opacity: 0;
  transition:
    opacity calc(0.7s / var(--anim-speed)) cubic-bezier(.2,.6,.2,1),
    transform calc(0.75s / var(--anim-speed)) cubic-bezier(.2,.6,.2,1);
}
.gm-reviews .gm-review:nth-child(odd)  { transform: translateX(-32px); }
.gm-reviews .gm-review:nth-child(even) { transform: translateX(32px); }
.gm-reviews.in .gm-review              { opacity: 1; transform: translateX(0); }
.gm-reviews.in .gm-review:nth-child(1) { transition-delay: calc(0s    / var(--anim-speed)); }
.gm-reviews.in .gm-review:nth-child(2) { transition-delay: calc(0.14s / var(--anim-speed)); }
.gm-reviews.in .gm-review:nth-child(3) { transition-delay: calc(0.28s / var(--anim-speed)); }
.gm-reviews.in .gm-review:nth-child(4) { transition-delay: calc(0.42s / var(--anim-speed)); }

/* ── DELVE BENTO — alternating sides ── */
.delve-bento .delve-bento-pair {
  opacity: 0;
  transition:
    opacity calc(0.75s / var(--anim-speed)) cubic-bezier(.2,.6,.2,1),
    transform calc(0.8s  / var(--anim-speed)) cubic-bezier(.2,.6,.2,1);
}
.delve-bento .delve-bento-pair:nth-child(odd)  { transform: translateX(-36px); }
.delve-bento .delve-bento-pair:nth-child(even) { transform: translateX(36px); }
.delve-bento.in .delve-bento-pair              { opacity: 1; transform: translateX(0); }
.delve-bento.in .delve-bento-pair:nth-child(1) { transition-delay: calc(0s    / var(--anim-speed)); }
.delve-bento.in .delve-bento-pair:nth-child(2) { transition-delay: calc(0.18s / var(--anim-speed)); }
.delve-bento.in .delve-bento-pair:nth-child(3) { transition-delay: calc(0.36s / var(--anim-speed)); }

/* ── CTA FINAL — children slide up inside fading container ── */
@keyframes slideUpChild {
  from { transform: translateY(28px); }
  to   { transform: translateY(0); }
}
.cta-final-content.in h2 {
  animation: slideUpChild calc(1s / var(--anim-speed)) cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}
.cta-final-content.in p {
  animation: slideUpChild calc(0.85s / var(--anim-speed)) cubic-bezier(0.16, 1, 0.3, 1) 0.38s both;
}
.cta-final-content.in .actions {
  animation: slideUpChild calc(0.8s / var(--anim-speed)) cubic-bezier(0.16, 1, 0.3, 1) 0.52s both;
}

/* ============ RESPONSIVE ============ */

@media (max-width: 1080px) {
  .nav-links { gap: 22px; font-size: 11.5px; }
  .nav-logo { font-size: 22px; }
}

@media (max-width: 960px) {
  :root { --section-pad: 80px; }
  .nav { padding: 18px 22px; }
  .nav-links, .nav .btn { display: none; }
  .nav-burger { display: block; }
  .hero-inner { padding: 100px 22px 50px; }
  .hero-marquee { bottom: 4%; }
  .hero-marquee-track { font-size: clamp(60px, 16vw, 120px); }
  .hero-bottom { flex-direction: column; align-items: flex-start; }
  .hero-meta { text-align: left; }
  .container, .container-wide { padding: 0 22px; }
  .classes-grid, .book, .meet { grid-template-columns: 1fr; gap: 40px; }
  .coaches-grid, .delve-grid, .testimonials { grid-template-columns: 1fr; }
  .delve-bento-pair { grid-template-columns: 1fr; height: auto; }
  .delve-bento-pair.reverse .delve-bento-text { order: 0; }
  .delve-bento-pair.reverse .delve-bento-img  { order: 0; }
  .delve-bento-img { height: 240px; }
  .delve-bento-text { padding: 36px 28px; }
  .schedule-grid { grid-template-columns: 1fr; }
  .schedule-grid .day-h, .schedule-grid .time-h { display: none; }
  .schedule-cell.empty { display: none; }
  .collage { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, 200px); gap: 12px; }
  .collage .span-2c2r { grid-column: span 2; grid-row: span 2; }
  .collage .span-2c { grid-column: span 2; }
  .photo-wall { grid-template-columns: repeat(2, 1fr); padding: 40px 16px 24px; gap: 24px; }
  .photo-print { width: 100%; }
  .photo-print:nth-child(1), .photo-print:nth-child(2), .photo-print:nth-child(3), .photo-print:nth-child(4) { transform: none; }
  .foot-top { grid-template-columns: 1fr; gap: 40px; }
  .intro-block { padding: 50px 28px; }
  .book-form { padding: 32px; }
  .book-form .row { grid-template-columns: 1fr; }
}
