/* ============================================================
   TEAM BOLIVAR — Sistema de diseño
   Paleta: negro + carbón + gris + rojo (uniforme deportivo)
   Tipografía: Anton (display, poster de gimnasio) + Work Sans (cuerpo)
               + IBM Plex Mono (datos / marcador)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Work+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root{
  /* Paleta base */
  --negro:      #050505;
  --carbon:     #151515;
  --gris-oscuro:#292929;
  --rojo:       #E30620;
  --rojo-oscuro:#9E0015;
  --blanco:     #F5F5F5;
  --gris-claro: #BDBDBD;

  /* Color (alias usados por el resto del sistema) */
  --ink:        var(--negro);
  --ink-soft:   var(--carbon);
  --ink-line:   var(--gris-oscuro);
  --bone:       var(--blanco);
  --paper:      #E4E4E4;
  --steel:      var(--gris-claro);
  --steel-dark: #5C5C5C;
  --oxblood:    var(--rojo-oscuro);
  --oxblood-2:  #700010;
  --oxblood-lt: var(--rojo);
  --turf:       #33503F;
  --white:      #FFFFFF;

  /* Type */
  --f-display: 'Anton', 'Arial Narrow', sans-serif;
  --f-body: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --f-mono: 'IBM Plex Mono', 'Courier New', monospace;

  /* Scale */
  --container: 1220px;
  --radius-sm: 4px;
  --radius-md: 8px;

  /* Motion */
  --ease: cubic-bezier(.22,.68,0,1);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; scroll-padding-top: 90px; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

body{
  margin:0;
  font-family: var(--f-body);
  background: var(--bone);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul{ list-style: none; margin:0; padding:0; }

.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

::selection{ background: var(--oxblood); color: var(--bone); }

:focus-visible{
  outline: 2px solid var(--oxblood-lt);
  outline-offset: 3px;
}

/* ---------- Typography helpers ---------- */
.eyebrow{
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--oxblood);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-weight: 600;
}
.eyebrow::before{
  content:'';
  width: 28px;
  height: 2px;
  background: var(--oxblood);
  display: inline-block;
}

h1, h2, h3, h4{
  font-family: var(--f-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.98;
  letter-spacing: .01em;
  margin: 0;
}

.section-header{
  max-width: 640px;
  margin: 0 0 56px;
}
.section-header.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-header h2{
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  margin-bottom: 14px;
}
.section-header p{
  font-size: 1.05rem;
  color: var(--steel-dark);
  max-width: 46ch;
}
.section-header.center p{ margin-left:auto; margin-right:auto; }

.section-pad{ padding: clamp(70px, 10vw, 130px) 0; }

/* Ghost watermark type used as background texture */
.ghost-word{
  position: absolute;
  font-family: var(--f-display);
  font-size: clamp(6rem, 22vw, 15rem);
  color: rgba(0,0,0,0.035);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  line-height: 1;
}
.bg-ink .ghost-word{ color: rgba(255,255,255,0.035); }

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 34px;
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .35s var(--ease), background-color .3s ease, color .3s ease, border-color .3s ease;
  white-space: normal;
  max-width: 100%;
  text-align: center;
}
.btn .magnet-inner{ white-space: normal; text-align: center; }
.btn:hover{ transform: translateY(-2px); }
.btn:active{ transform: translateY(0); }

.btn-primary{
  background: var(--oxblood);
  color: var(--bone);
  box-shadow: 0 10px 24px -10px rgba(140,31,39,.65);
}
.btn-primary:hover{ background: var(--oxblood-lt); }

.btn-secondary{
  background: transparent;
  color: var(--bone);
  border-color: rgba(243,239,230,.4);
}
.btn-secondary:hover{ border-color: var(--bone); background: rgba(243,239,230,.08); }

.btn-dark{
  background: var(--ink);
  color: var(--bone);
}
.btn-dark:hover{ background: var(--ink-soft); }

.btn-outline{
  display: inline-flex;
  align-items:center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 2px solid var(--ink);
  padding-bottom: 3px;
  transition: color .25s ease, border-color .25s ease, gap .25s ease;
}
.btn-outline:hover{ color: var(--oxblood); border-color: var(--oxblood); gap: 12px; }

/* ---------- Duotone image treatment (signature) ---------- */
.duotone{
  position: relative;
  overflow: hidden;
  background: var(--ink);
}
.duotone img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.18) brightness(.92);
  transform: scale(1.01);
}
.duotone::after{
  content:'';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(155deg, var(--oxblood-2) 0%, transparent 55%),
    linear-gradient(0deg, var(--ink) 0%, rgba(11,11,12,0) 55%);
  mix-blend-mode: color;
  pointer-events: none;
}
.duotone::before{
  content:'';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(11,11,12,.55) 0%, rgba(11,11,12,0) 45%);
  z-index: 1;
  pointer-events: none;
}

/* ============================================================
   HEADER
   ============================================================ */
header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: padding .35s var(--ease), background-color .35s ease, box-shadow .35s ease;
}
header.scrolled{
  padding: 14px 0;
  background: rgba(11,11,12,.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px -18px rgba(0,0,0,.6);
}
nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo h1{
  font-size: 1.5rem;
  color: var(--bone);
  letter-spacing: .03em;
  margin:0;
}
.logo span{ color: var(--oxblood-lt); }

.nav-links{
  display: flex;
  align-items: center;
  gap: 38px;
}
.nav-links a{
  font-family: var(--f-mono);
  font-size: 12.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--bone);
  position: relative;
  padding: 6px 0;
  font-weight: 500;
}
.nav-links a:not(.btn-contacto)::after{
  content:'';
  position:absolute;
  left:0; right:0; bottom:0;
  height: 1px;
  background: var(--oxblood-lt);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s var(--ease);
}
.nav-links a:not(.btn-contacto):hover::after{ transform: scaleX(1); transform-origin: left; }

.btn-contacto{
  background: var(--oxblood);
  color: var(--bone) !important;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  font-size: .92rem;
  transition: background-color .3s ease, transform .3s var(--ease);
}
.btn-contacto:hover{ background: var(--oxblood-lt); transform: translateY(-2px); }

.hamburger{
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 10000;
  position: relative;
  width: 30px;
}
.hamburger span{
  display: block;
  width: 100%;
  height: 2px;
  background: var(--bone);
  transition: transform .3s var(--ease), opacity .3s ease, background-color .3s ease;
}
.hamburger.active span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2){ opacity: 0; }
.hamburger.active span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero{
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  background: var(--ink);
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 60px), 0 100%);
}
.hero-media{
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 18%;
  filter: grayscale(1) contrast(1.2) brightness(.75);
}
.hero-media::after{
  content:'';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11,11,12,.97) 6%, rgba(11,11,12,.72) 42%, rgba(11,11,12,.28) 72%),
    linear-gradient(0deg, rgba(11,11,12,.9) 0%, rgba(11,11,12,.1) 42%),
    linear-gradient(150deg, rgba(140,31,39,.35) 0%, transparent 50%);
  mix-blend-mode: normal;
}
.hero .container{
  position: relative;
  z-index: 2;
  padding-top: 140px;
  padding-bottom: 96px;
  width: 100%;
}
.hero-content{ max-width: 760px; }
.hero-content .eyebrow{ color: var(--oxblood-lt); }
.method .eyebrow{ color: var(--oxblood-lt); }
.method .eyebrow::before{ background: var(--oxblood-lt); }
.hero-content h1{
  color: var(--bone);
  font-size: clamp(2.6rem, 7.4vw, 5.4rem);
  margin-bottom: 26px;
}
.hero-content h1 em{
  font-style: normal;
  color: var(--oxblood-lt);
}
.hero-content > p{
  color: rgba(243,239,230,.82);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  max-width: 52ch;
  margin-bottom: 40px;
  font-weight: 300;
}
.hero-buttons{
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.scroll-cue{
  position: absolute;
  right: 30px;
  bottom: 100px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(243,239,230,.6);
}
.scroll-cue span{
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: .22em;
  writing-mode: vertical-rl;
  text-transform: uppercase;
}
.scroll-cue .line{
  width: 1px;
  height: 46px;
  background: linear-gradient(rgba(243,239,230,.7), transparent);
  animation: scrollpulse 2s infinite ease-in-out;
}
@keyframes scrollpulse{
  0%,100%{ transform: scaleY(1); opacity:.7; }
  50%{ transform: scaleY(.5); opacity: 1; }
}

/* ============================================================
   STAT TICKER
   ============================================================ */
.stat-strip{
  background: var(--ink);
  border-top: 1px solid var(--ink-line);
  border-bottom: 1px solid var(--ink-line);
  padding: 34px 0;
}
.stat-strip .container{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 20px;
}
.stat{
  text-align: left;
  border-left: 2px solid var(--oxblood);
  padding-left: 16px;
}
.stat .num{
  font-family: var(--f-display);
  color: var(--bone);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  display: block;
  line-height: 1;
}
.stat .label{
  font-family: var(--f-mono);
  color: rgba(243,239,230,.55);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  display: block;
  margin-top: 8px;
}

/* ============================================================
   PROGRAMAS
   ============================================================ */
.programs{ background: var(--bone); position: relative; }
.programs-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
.program-card{
  background: var(--white);
  border: 1px solid rgba(0,0,0,.06);
  padding: 42px 32px;
  position: relative;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s ease;
}
.program-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 30px 50px -30px rgba(11,11,12,.35);
  border-color: rgba(140,31,39,.25);
}
.program-icon{
  width: 56px; height: 56px;
  display: flex; align-items:center; justify-content:center;
  background: var(--ink);
  color: var(--oxblood-lt);
  font-size: 1.3rem;
  margin-bottom: 26px;
  border-radius: var(--radius-sm);
}
.program-card h3{
  font-size: 1.35rem;
  margin-bottom: 14px;
}
.program-card p{
  color: var(--steel-dark);
  font-size: .95rem;
  margin-bottom: 26px;
  min-height: 96px;
}
.program-price{ margin-bottom: 22px; }
.price-tag{
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--oxblood);
  letter-spacing: .04em;
}

/* ============================================================
   METODO
   ============================================================ */
.method{
  background: var(--ink);
  color: var(--bone);
  position: relative;
  overflow: hidden;
}
.method .section-header p{ color: rgba(243,239,230,.7); }
.method .section-header h2{ color: var(--bone); }
.method-wrap{
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.method-media{
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
}
.method-steps{
  display: grid;
  gap: 0;
}
.step{
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--ink-line);
}
.step:first-child{ padding-top: 0; }
.step-num{
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--oxblood-lt);
  padding-top: 4px;
}
.step h4{
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--bone);
}
.step p{
  color: rgba(243,239,230,.68);
  font-size: .95rem;
  margin: 0;
}

/* ============================================================
   SOBRE MI
   ============================================================ */
.about{ background: var(--paper); position: relative; overflow: hidden; }
.about-content{
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.about-image{
  aspect-ratio: 3/4;
  max-width: 460px;
  width: 100%;
  margin: 0 auto;
  border-radius: var(--radius-md);
}
.about-text .eyebrow{ margin-bottom: 10px; }
.about-text h2{ font-size: clamp(1.9rem, 4.4vw, 2.6rem); margin-bottom: 6px; }
.about-text h3{
  font-family: var(--f-body);
  text-transform: none;
  font-weight: 400;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--oxblood);
  margin-bottom: 26px;
  letter-spacing: 0;
}
.about-text p{
  color: var(--steel-dark);
  margin-bottom: 18px;
  font-size: 1.02rem;
}
.about-text .btn{ margin-top: 12px; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing{ background: var(--paper); }
.pricing-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
.pricing-card{
  background: var(--white);
  border: 1px solid rgba(0,0,0,.08);
  border-top: 4px solid var(--rojo-oscuro);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 18px 40px -28px rgba(0,0,0,.4);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.pricing-card:hover{ transform: translateY(-5px); box-shadow: 0 30px 50px -28px rgba(0,0,0,.45); }
.pricing-card.featured{
  background: var(--ink);
  color: var(--bone);
  border-color: var(--ink);
  border-top-color: var(--rojo);
}
.pricing-header{ margin-bottom: 18px; position: relative; }
.pricing-header h3{ font-size: 1.4rem; margin-bottom: 0; }
.pricing-card.featured h3{ color: var(--bone); }
.plan-desc{
  font-size: .92rem;
  line-height: 1.55;
  color: var(--steel-dark);
  margin-bottom: 22px;
}
.pricing-card.featured .plan-desc{ color: rgba(243,239,230,.75); }
.tag{
  position: absolute;
  top: -50px; right: 0;
  background: var(--oxblood);
  color: var(--bone);
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  padding: 6px 12px;
  border-radius: 3px;
  text-transform: uppercase;
}
.price{ display:flex; align-items: baseline; gap: 6px; }
.price .amount{
  font-family: var(--f-display);
  font-size: 2.3rem;
}
.price .period{
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--steel);
}
.pricing-card.featured .price .period{ color: rgba(243,239,230,.6); }
.pricing-features{
  margin-bottom: 26px;
  flex-grow: 1;
}
.pricing-features li{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 9px 0;
  font-size: .93rem;
  color: var(--steel-dark);
  border-bottom: 1px dashed rgba(0,0,0,.08);
}
.pricing-card.featured .pricing-features li{
  color: rgba(243,239,230,.82);
  border-bottom: 1px dashed rgba(243,239,230,.15);
}
.pricing-features li i{
  color: var(--oxblood);
  margin-top: 3px;
  font-size: .82rem;
}
.pricing-card.featured .pricing-features li i{ color: var(--oxblood-lt); }
.other-pricing{
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--steel);
  border-top: 1px solid rgba(0,0,0,.08);
  padding-top: 16px;
  margin-bottom: 24px;
}
.pricing-card.featured .other-pricing{
  color: rgba(243,239,230,.6);
  border-top-color: rgba(243,239,230,.15);
}
.other-pricing strong{ color: var(--ink); display:block; margin-top: 3px; font-size: 13px;}
.pricing-card.featured .other-pricing strong{ color: var(--bone); }
.pricing-card .btn{ width: 100%; }

/* ============================================================
   TESTIMONIOS — polaroids deslizables
   ============================================================ */
.testimonials{ background: var(--paper); position: relative; overflow: hidden; }
.testimonials .section-header p{ color: var(--steel-dark); }

.testi-hint{
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--steel-dark);
  text-align: center;
  margin: -6px 0 30px;
}
.testi-hint i{ margin-left: 6px; }

.testi-wrap{ position: relative; }

.testi-arrow{
  display: none; /* oculto por defecto: en móvil se desliza con el dedo */
  position: absolute;
  top: 50%;
  width: 46px;
  height: 46px;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--ink);
  font-size: .95rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 3px 20px rgba(0,0,0,.16);
  /* Un solo sistema de transform (nunca mezclar con la propiedad "translate"
     por separado: sumarían los desplazamientos y el botón "saltaría"
     al hacer hover, haciendo que el clic fallara al azar). */
  transform: translateY(-50%) scale(1);
  transition: transform .2s ease, box-shadow .2s ease, color .2s ease;
}
.testi-arrow:hover{
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 24px rgba(0,0,0,.2);
  color: var(--oxblood);
}
.testi-arrow:active{ transform: translateY(-50%) scale(.94); }
.testi-arrow:focus-visible{ outline: 2px solid var(--rojo); outline-offset: 2px; }
.testi-arrow[disabled]{ opacity: .35; box-shadow: none; cursor: default; pointer-events: none; }
.testi-arrow-prev{ left: -4px; }
.testi-arrow-next{ right: -4px; }

/* Sólo en pantallas con puntero preciso (mouse/trackpad) y espacio suficiente:
   ahí no se puede deslizar con el dedo, así que mostramos las flechas.
   En este modo quitamos el "sangrado" de borde a borde de las tarjetas
   (pensado para el dedo en móvil) para que las flechas no queden encima
   de la primera/última tarjeta. */
@media (hover: hover) and (pointer: fine) and (min-width: 860px){
  .testi-arrow{ display: flex; }
  .testi-hint{ display: none; }

  .testi-wrap{ padding: 0 64px; }
  .testi-track{
    margin: 0;
    padding: 10px 0 26px;
  }
  .testi-arrow-prev{ left: 4px; }
  .testi-arrow-next{ right: 4px; }
}

.testi-track{
  display: flex;
  gap: 28px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 30px 6vw 26px;
  margin: 0 -6vw;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.testi-track::-webkit-scrollbar{ display: none; }

.testi-card{
  flex: 0 0 auto;
  width: min(76vw, 300px);
  display: flex;
  flex-direction: column;
  scroll-snap-align: center;
  background: var(--white);
  padding: 16px 16px 22px;
  border-radius: 2px;
  box-shadow: 0 18px 34px rgba(11,11,12,.14);
  transform: rotate(var(--tilt, -2deg));
  transition: transform .3s var(--ease);
}
.testi-track .testi-card:nth-child(even){ --tilt: 2deg; }
.testi-track .testi-card:nth-child(3n){ --tilt: -1.5deg; }
.testi-card:hover{ transform: rotate(0deg) translateY(-4px); }
/* La reseña se estira para llenar el espacio sobrante, así el pie
   ("Miembro desde...") siempre queda a la misma altura en todas
   las tarjetas, sin importar si el texto es corto o largo. */
.testi-card p:not(.testi-num){ flex: 1; }

.testi-photo{
  aspect-ratio: 1 / 1;
  width: 100%;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 1px;
  background:
    repeating-linear-gradient(135deg, rgba(11,11,12,.05) 0 2px, transparent 2px 10px),
    var(--paper);
  border: 1px solid rgba(11,11,12,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--steel);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
}
/* Sin importar el tamaño o la forma original de la foto que se suba,
   siempre se recorta para llenar el mismo cuadrado: así todas las
   tarjetas del carrusel quedan exactamente del mismo tamaño. */
.testi-photo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.testi-photo i{ font-size: 1.6rem; display: block; margin-bottom: 8px; color: var(--steel); }

.testi-num{
  font-family: var(--f-display);
  font-size: 1.1rem;
  color: var(--ink);
  margin: 16px 0 4px;
}
.testi-num span{ color: var(--oxblood); }

.testi-card p{
  font-size: .95rem;
  font-style: italic;
  color: var(--steel-dark);
  line-height: 1.5;
  margin-bottom: 14px;
}
.testi-card .client-info{
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--steel);
  padding-top: 12px;
  border-top: 1px solid var(--paper);
}

/* ============================================================
   CONTACTO
   ============================================================ */
/* ===== APLICA (Formulario Google embebido) ===== */
.apply{ background: var(--ink); text-align: center; }
.apply-eyebrow{
  font-family: var(--f-mono);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--oxblood-lt);
  font-size: .85rem;
  margin-bottom: 10px;

}
.apply-title{
  font-family: var(--f-display);
  text-transform: uppercase;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.05;
  max-width: 820px;
  margin: 0 auto 14px;
  color: var(--bone);
}
.apply-sub{
  color: rgba(243,239,230,.65);
  max-width: 560px;
  margin: 0 auto 40px;
  font-size: 1.05rem;
}
.apply-card{
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 30px 70px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.06);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.apply-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 40px 90px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.08);
}
.apply-card::before{
  content: "";
  display: block;
  height: 6px;
  background: linear-gradient(90deg, var(--rojo-oscuro), var(--rojo));
}
.apply-card iframe{
  display: block;
  border: none;
  width: 100%;
}
@media (max-width: 600px){
  .apply-card{ border-radius: 14px; }
  .apply-card iframe{ height: 1400px; }
}

.contact{ background: var(--paper); }
.contact-content{
  display: grid;
  grid-template-columns: 1fr;
  gap: 46px;
}
.contact-form{
  background: var(--white);
  padding: 42px 34px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0,0,0,.06);
}
.contact-form h2{ font-size: clamp(1.7rem, 4vw, 2.2rem); margin-bottom: 10px; }
.contact-form > p{ color: var(--steel-dark); margin-bottom: 30px; }
.form-group{ margin-bottom: 18px; }
.form-group input,
.form-group select,
.form-group textarea{
  width: 100%;
  padding: 15px 16px;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: var(--radius-sm);
  background: var(--bone);
  font-family: var(--f-body);
  font-size: .95rem;
  color: var(--ink);
  transition: border-color .25s ease, background-color .25s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus{
  border-color: var(--oxblood);
  background: var(--white);
  outline: none;
}
.form-group textarea{ resize: vertical; min-height: 100px; }
.contact-form .btn{ width: 100%; margin-top: 6px; }
.form-status{
  margin-top: 14px;
  font-size: .88rem;
  font-family: var(--f-mono);
  min-height: 1.2em;
}
.form-status.success{ color: var(--turf); }
.form-status.error{ color: var(--oxblood); }

.contact-info h3{
  font-size: 1.3rem;
  margin-bottom: 24px;
}
.payment-methods{ display: grid; gap: 16px; margin-bottom: 22px; }
.payment-methods li{
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  padding: 20px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0,0,0,.06);
}
.payment-methods li i{
  font-size: 1.3rem;
  color: var(--oxblood);
  margin-top: 3px;
  width: 24px;
  text-align: center;
}
.payment-methods h4{
  font-family: var(--f-mono);
  font-size: 12.5px;
  letter-spacing: .08em;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.payment-methods p{ font-size: .88rem; color: var(--steel-dark); margin: 2px 0; }
.payment-note{
  font-size: .85rem;
  color: var(--steel-dark);
  background: rgba(140,31,39,.07);
  border-left: 3px solid var(--oxblood);
  padding: 14px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 28px;
}
.social-media h4{
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: var(--steel-dark);
}
.social-icons{ display: flex; gap: 12px; }
.social-icons a{
  width: 44px; height: 44px;
  display: flex; align-items:center; justify-content:center;
  background: var(--ink);
  color: var(--bone);
  border-radius: 50%;
  transition: background-color .3s ease, transform .3s var(--ease);
}
.social-icons a:hover{ background: var(--oxblood); transform: translateY(-3px); }

/* ============================================================
   FOOTER
   ============================================================ */
footer{ background: var(--ink); color: rgba(243,239,230,.7); padding-top: 70px; }
.footer-content{
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--ink-line);
}
.footer-logo h2{ color: var(--bone); font-size: 1.6rem; margin-bottom: 12px; }
.footer-logo h2 span{ color: var(--oxblood-lt); }
.footer-logo p{ font-size: .9rem; max-width: 30ch; }
.footer-links{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.footer-column h3{
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--bone);
  margin-bottom: 18px;
  font-weight: 600;
}
.footer-column ul{ display: grid; gap: 11px; }
.footer-column a{ font-size: .9rem; transition: color .25s ease; }
.footer-column a:hover{ color: var(--oxblood-lt); }
.footer-bottom{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding: 26px 0;
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: .05em;
  color: rgba(243,239,230,.5);
}

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.wa-float{
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  width: 58px; height: 58px;
  background: var(--turf);
  color: var(--bone);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 14px 30px -10px rgba(0,0,0,.5);
  transition: transform .3s var(--ease);
}
.wa-float:hover{ transform: scale(1.08) translateY(-2px); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 560px){
  .stat-strip .container{ grid-template-columns: repeat(4, 1fr); }
  .footer-links{ grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 720px){
  .programs-grid{ grid-template-columns: repeat(2, 1fr); }
  .pricing-grid{ grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 860px){
  .about-content{ grid-template-columns: 1fr 1.1fr; }
  .method-wrap{ grid-template-columns: 1fr 1fr; }
  .contact-content{ grid-template-columns: 1.1fr 1fr; }
}

@media (min-width: 980px){
  .hamburger{ display: none; }
  .nav-links{ display: flex; }
  .footer-content{ grid-template-columns: 1.2fr 2fr; }
  .footer-links{ grid-template-columns: repeat(3, 1fr); }
  .programs-grid{ grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1180px){
  .pricing-grid{ grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 979px){
  .nav-links{
    position: fixed !important;
    inset: 0 !important;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw;
    height: 100dvh;
    z-index: 9999 !important;
    background: #0B0B0C !important;
    background: var(--ink) !important;
    opacity: 1;
    backdrop-filter: none !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 34px;
    transform: translateX(100%);
    transition: transform .45s var(--ease);
    overflow-y: auto;
  }
  .nav-links.active{ transform: translateX(0); }
  .nav-links a{ font-size: 1.1rem; }
  .hamburger{ display: flex; }
  body.menu-open{ overflow: hidden; }
}

@media (max-width: 559px){
  .container{ padding: 0 18px; }
  .section-pad{ padding: 64px 0; }
  .hero{ clip-path: polygon(0 0, 100% 0, 100% calc(100% - 32px), 0 100%); }
  .hero .container{ padding-top: 120px; padding-bottom: 64px; }
  .hero-media img{ object-position: 72% 15%; }
  .scroll-cue{ display: none; }
  .stat{ padding-left: 12px; }
  .tag{ position: static; display: inline-block; margin-bottom: 14px; }
  .program-card p{ min-height: 0; }
  .other-pricing{ flex-wrap: wrap; }
}

/* Small utility: hide ghost words on very small screens to avoid clutter */
@media (max-width: 480px){
  .ghost-word{ display: none; }
}

/* ============================================================
   Fix #2 — Centrado forzado de imágenes/contenedores en móvil
   ============================================================ */
@media (max-width: 859px){
  .about-content,
  .contact-content{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .about-image,
  .method-media,
  .webgl-stage,
  .hero-media,
  .pin-scenes{
    margin-left: auto;
    margin-right: auto;
    display: block;
  }
  .about-image{ max-width: 420px; width: 100%; }
  .about-text{ width: 100%; text-align: left; }
}

/* ---------- Scroll reveal ---------- */
.reveal{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity: 1; transform: none; }
}

/* ============================================================
   L3 — SplitText: Hero H1 palabra por palabra
   ============================================================ */
.split-title .word{
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: .08em;
  margin-bottom: -.08em;
}
.split-title .word-inner{
  display: inline-block;
  transform: translateY(112%);
  transition: transform 1s var(--ease);
}
.split-title.is-in .word-inner{ transform: translateY(0); }
@media (prefers-reduced-motion: reduce){
  .split-title .word-inner{ transform: none; }
}

/* ============================================================
   L3 — Hero constellation (tarjetas de stat flotando en 3D)
   ============================================================ */
.constellation{
  position: absolute;
  inset: 0;
  z-index: 2;
  perspective: 1400px;
  pointer-events: none;
  display: none;
}
.star-card{
  position: absolute;
  top: calc(50% + var(--y, 0) * 1px);
  left: calc(50% + var(--x, 0) * 1px);
  transform:
    translate3d(-50%, -50%, var(--z, 0px))
    rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) rotateZ(var(--rz, 0deg));
  background: rgba(23,23,26,.72);
  border: 1px solid rgba(243,239,230,.14);
  backdrop-filter: blur(6px);
  border-left: 2px solid var(--oxblood-lt);
  border-radius: 8px;
  padding: 14px 18px;
  min-width: 132px;
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
  opacity: 0;
  transition: opacity 1s var(--ease);
  will-change: transform;
}
.constellation.is-in .star-card{ opacity: 1; }
.star-card .num{
  font-family: var(--f-display);
  color: var(--bone);
  font-size: 1.7rem;
  display: block;
  line-height: 1;
}
.star-card .label{
  font-family: var(--f-mono);
  color: rgba(243,239,230,.6);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  display: block;
  margin-top: 6px;
}
@media (min-width: 860px){
  .constellation{ display: block; }
  .stat-strip.has-constellation{ opacity: 0; transition: opacity .4s ease; }
}

/* ============================================================
   L3 — Magnet: botones primarios se acercan al cursor
   ============================================================ */
.magnet{ display: inline-flex; }
.magnet-inner{ display: inline-flex; transition: transform .25s var(--ease); }

/* ============================================================
   L3 — GlareHover: barrido de luz sobre cards
   ============================================================ */
.glare{ position: relative; overflow: hidden; }
.glare::after{
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.28) 50%, transparent 60%);
  transform: translateX(-130%);
  transition: transform .75s ease;
  pointer-events: none;
  z-index: 2;
}
.glare:hover::after{ transform: translateX(130%); }

/* ============================================================
   L3 — Ambient beams (fondo hero, luz cenital de gimnasio)
   ============================================================ */
.beams{
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  mix-blend-mode: screen;
  opacity: .55;
  pointer-events: none;
}
.beams span{
  position: absolute;
  top: -20%;
  width: 2px;
  height: 140%;
  background: linear-gradient(180deg, rgba(243,239,230,0) 0%, rgba(243,239,230,.35) 45%, rgba(243,239,230,0) 100%);
  transform-origin: top center;
  animation: beamSway 9s ease-in-out infinite;
}
.beams span:nth-child(1){ left: 18%; animation-delay: 0s; width: 3px; }
.beams span:nth-child(2){ left: 42%; animation-delay: -3s; }
.beams span:nth-child(3){ left: 63%; animation-delay: -6s; width: 4px; }
.beams span:nth-child(4){ left: 84%; animation-delay: -1.5s; }
@keyframes beamSway{
  0%, 100%{ transform: rotate(-3deg) translateX(0); opacity: .5; }
  50%{ transform: rotate(3deg) translateX(20px); opacity: .9; }
}
@media (prefers-reduced-motion: reduce){
  .beams span{ animation: none; }
}

/* ============================================================
   L3 — Pin-swap: método (izquierda fija, derecha cambia)
   ============================================================ */
.pin-swap-inner{
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  align-items: center;
}
.pin-scenes{
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--ink);
}
.pin-scene{
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .5s ease;
}
.pin-scene.is-active{ opacity: 1; }
.pin-scene img{ width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 860px){
  .pin-swap-inner{ grid-template-columns: 1fr 1.1fr; }
  .pin-swap.js-pin{ height: 320vh; }
  .pin-swap.js-pin .pin-swap-inner{
    position: sticky;
    top: 0;
    height: 100vh;
    padding-top: 0;
  }
}

/* ============================================================
   L3 — WebGL signature moment (disco / placa girando)
   ============================================================ */
.webgl-scene{
  position: relative;
  background: var(--ink);
  padding: clamp(80px, 12vw, 140px) 0;
  text-align: center;
  overflow: hidden;
}
.webgl-stage{
  position: relative;
  max-width: 420px;
  aspect-ratio: 1/1;
  margin: 0 auto 8px;
}
.webgl-stage canvas{ width: 100%; height: 100%; display: none; }
.webgl-fallback-img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  filter: grayscale(1) contrast(1.2);
  opacity: .85;
}
.webgl-scene h2{
  color: var(--bone);
  font-size: clamp(1.8rem, 4.6vw, 3rem);
  margin-top: 10px;
}
.webgl-scene p{
  color: rgba(243,239,230,.65);
  max-width: 46ch;
  margin: 16px auto 0;
}
@media (max-width: 768px){
  .webgl-fallback-img{ display: block; }
}
