/* =============================================
   HYBRID FITNESS ACADEMY — LANDING PAGE CSS v2
   Paleta: Negro / Blanco / Azul #003399
   ============================================= */

/* ---- VARIABLES ---- */
:root {
  /* Fondos oscuros */
  --bg:            #050505;
  --bg-2:          #0A0A0A;
  --bg-3:          #111111;
  --card:          #111111;
  --card-hover:    #161616;
  --border:        #1E1E1E;
  --border-mid:    #2A2A2A;

  /* Fondos claros */
  --light:         #FFFFFF;
  --light-2:       #F7F7F7;
  --light-3:       #F0F0F0;
  --light-border:  #E8E8E8;
  --light-card:    #FFFFFF;

  /* Azul corporativo */
  --blue:          #003399;
  --gold:          #003399;   /* alias de compatibilidad */
  --blue-hover:    #0044CC;
  --blue-dim:      rgba(0,51,153,0.08);
  --blue-mid:      rgba(0,51,153,0.15);
  --blue-glow:     rgba(0,51,153,0.3);

  /* Textos */
  --white:         #FFFFFF;
  --text:          #E2E2E2;
  --text-dark:     #111111;
  --text-muted:    #888888;
  --text-muted-d:  #555555;
  --text-dim:      #555555;

  /* Funcionales */
  --red:           #FF4040;
  --green-wa:      #25D366;
  --green-wa-h:    #20BA5A;

  --font-display:  'Bebas Neue', sans-serif;
  --font-body:     'Inter', sans-serif;

  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     20px;
  --radius-full:   9999px;

  --transition:    0.3s ease;
  --transition-s:  0.6s ease;

  --max-w:         1200px;
  --section-py:    100px;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.05; letter-spacing: 0.02em; }
h1 { font-size: clamp(3.2rem, 8vw, 7rem); color: var(--white); }
h2 { font-size: clamp(2.4rem, 5vw, 4.5rem); color: var(--white); }
h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--white); }
h4 { font-size: clamp(1.2rem, 2vw, 1.6rem); color: var(--white); }
p { line-height: 1.75; }

/* Clases de color */
.text-gold   { color: var(--blue); }       /* "gold" mantenido para compatibilidad */
.text-muted  { color: var(--text-muted); }
.text-white  { color: var(--white); }
.text-blue   { color: var(--blue); }

/* Overrides de .text-gold en secciones oscuras */
.hero-title .text-gold,
.diferencial .text-gold,
.axel-content .text-gold,
.resultados-header .text-gold {
  color: var(--white);
}
.cta-final .text-gold { color: rgba(255,255,255,0.9); }

/* ---- LAYOUT ---- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
section { position: relative; overflow: hidden; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
}
.btn-gold {                        /* Ahora es azul corporativo */
  background: var(--blue);
  color: var(--white);
}
.btn-gold:hover {
  background: var(--blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--blue-glow);
}
.btn-wa {
  background: var(--green-wa);
  color: var(--white);
}
.btn-wa:hover {
  background: var(--green-wa-h);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37,211,102,0.3);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}
/* Btn outline en sección clara */
.is-light .btn-outline,
.servicios .btn-outline,
.fundadores .btn-outline {
  color: var(--text-dark);
  border-color: var(--light-border);
}
.is-light .btn-outline:hover,
.servicios .btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-dim);
}
.btn-lg  { padding: 20px 44px; font-size: 1.1rem; }
.btn-sm  { padding: 10px 22px; font-size: 0.875rem; }
.btn svg { flex-shrink: 0; }

/* ---- BADGE / PILL ---- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--blue);
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--blue-dim);
}
/* Hero badge — sobre fondo oscuro */
.hero-badge .badge {
  border-color: rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.06);
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4488FF;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

/* ---- SECTION LABEL ---- */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 20px;
}
/* Secciones oscuras → label en blanco tenue */
.diferencial .section-label,
.axel .section-label,
.resultados .section-label,
.cta-final .section-label {
  color: rgba(255,255,255,0.5);
}

/* ---- LÍNEA DECORATIVA ---- */
.gold-line {
  width: 48px;
  height: 2px;
  background: var(--blue);
  margin: 20px 0;
}
.gold-line-center { margin: 20px auto; }
/* En secciones oscuras */
.axel .gold-line,
.ubicacion .gold-line { background: rgba(255,255,255,0.25); }

/* =============================================
   HEADER / NAV
   ============================================= */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}
.header.scrolled {
  background: rgba(5,5,5,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 12px 0;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
}
.nav-logo img:hover { opacity: 0.8; }
.nav-cta { font-size: 0.875rem; padding: 12px 24px; }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/entrenando/DSC09245-Enhanced-NR.jpg');
  background-size: cover;
  background-position: center 20%;
  will-change: transform;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5,5,5,0.65) 0%,
    rgba(5,5,5,0.5)  40%,
    rgba(5,5,5,0.92) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 60px;
  padding-bottom: 80px;
  max-width: 860px;
}
.hero-badge { margin-bottom: 28px; }
.hero-title {
  font-size: clamp(3.5rem, 9vw, 8rem);
  line-height: 0.95;
  margin-bottom: 28px;
  color: var(--white);
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.75;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
  align-items: center;
}
.hero-urgency {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.65);
  font-size: 0.875rem;
}
.urgency-dot {
  width: 8px;
  height: 8px;
  background: #FF4040;
  border-radius: 50%;
  animation: pulse-red 1.5s infinite;
  flex-shrink: 0;
}
@keyframes pulse-red {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,64,64,0.4); }
  50%       { box-shadow: 0 0 0 6px rgba(255,64,64,0); }
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.35);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 2;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.35));
  animation: scroll-anim 2s ease-in-out infinite;
}
@keyframes scroll-anim {
  0%, 100% { transform: scaleY(1);   opacity: 1; }
  50%       { transform: scaleY(0.5); opacity: 0.3; }
}

/* =============================================
   STATS BAR — FONDO BLANCO
   ============================================= */
.stats-bar {
  background: var(--light);
  border-top: 1px solid var(--light-border);
  border-bottom: 1px solid var(--light-border);
  padding: 60px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8px 24px;
  position: relative;
}
.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60%;
  background: var(--light-border);
}
/* Número principal en una sola línea */
.stat-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  line-height: 1;
}
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  color: var(--blue);
  line-height: 1;
  letter-spacing: 0.01em;
}
.stat-suffix {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--blue);
  line-height: 1;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted-d);
  margin-top: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

/* =============================================
   DIFERENCIAL — FONDO OSCURO
   ============================================= */
.diferencial {
  padding: var(--section-py) 0;
  background: var(--bg-2);
}
.diferencial-header {
  margin-bottom: 60px;
  max-width: 720px;
}
.diferencial-header h2  { margin-bottom: 20px; }
.diferencial-header p   { color: var(--text-muted); font-size: 1.05rem; }
.diferencial-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.vs-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 40px 36px;
}
.vs-card.traditional { border-color: var(--border); }
.vs-card.hybrid {
  border-color: var(--blue);
  background: linear-gradient(135deg, #0A0A14, #0D0D1A);
  box-shadow: 0 0 60px rgba(0,51,153,0.1), inset 0 0 60px rgba(0,51,153,0.04);
}
.vs-card-header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.vs-card-header h3 { font-size: 1.8rem; }
.vs-card.traditional .vs-card-header h3 { color: var(--text-muted); }
.vs-card.hybrid      .vs-card-header h3 { color: #FFFFFF; }
.vs-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 10px 0;
  font-size: 0.95rem;
  line-height: 1.5;
}
.vs-item + .vs-item { border-top: 1px solid var(--border); }
.vs-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 0.75rem;
  font-weight: 700;
}
.vs-icon.negative {
  background: rgba(255,64,64,0.1);
  color: var(--red);
  border: 1px solid rgba(255,64,64,0.2);
}
.vs-icon.positive {
  background: rgba(0,51,153,0.15);
  color: #6699FF;
  border: 1px solid rgba(0,51,153,0.3);
}
.vs-item-text { color: var(--text); }
.vs-card.traditional .vs-item-text { color: var(--text-muted); }

/* =============================================
   CENTRO — FONDO CLARO
   ============================================= */
.centro {
  padding: var(--section-py) 0;
  background: var(--light);
}
.centro-header {
  margin-bottom: 56px;
  max-width: 600px;
}
.centro-header h2 {
  color: var(--text-dark);
  margin-bottom: 16px;
}
.centro-header p { color: var(--text-muted-d); }
.centro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 12px;
}
.centro-grid-item {
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--light-border);
  position: relative;
}
.centro-grid-item:first-child {
  grid-column: 1 / 3;
}
.centro-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.centro-grid-item:hover img { transform: scale(1.04); }
.centro-grid-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.3) 0%, transparent 60%);
  pointer-events: none;
}
/* Render protagonista del nuevo centro */
.centro-render-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--light-border);
  box-shadow: 0 24px 80px rgba(0,0,0,0.10), 0 4px 16px rgba(0,0,0,0.06);
  position: relative;
  margin-bottom: 0;
}
.centro-render-wrap img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}
.centro-render-wrap:hover img { transform: scale(1.025); }
.centro-render-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.15) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.centro-cta {
  margin-top: 48px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.centro-cta .btn-outline {
  color: var(--text-dark);
  border-color: var(--light-border);
}
.centro-cta .btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-dim);
}
.centro-cta p {
  color: var(--text-muted-d);
  font-size: 0.9rem;
}

/* =============================================
   AXEL — FONDO OSCURO
   ============================================= */
.axel {
  padding: var(--section-py) 0;
  background: var(--bg);
}
.axel-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}
/* Reserva espacio para el badge sin desbordar la sección */
.axel-photo-wrap {
  position: relative;
  padding-bottom: 28px;
}
.axel-photo-frame {
  position: relative;
  overflow: visible;       /* PNG con alpha: no recortar la silueta */
  border: none;            /* sin caja — la transparencia es el borde */
  background: transparent;
  border-radius: 0;
}
/* Imagen 1000×1000 RGBA — mostrar completa y nítida */
.axel-photo-frame img {
  width: 100%;
  max-width: 460px;        /* no superar la resolución real */
  aspect-ratio: 1 / 1;    /* cuadrado, coincide con dimensiones reales */
  object-fit: contain;     /* íntegra, sin recorte ni deformación */
  display: block;
  /* sin filtros ni transform — máxima nitidez */
}
/* Eliminado: gradiente que tapaba la imagen */
.axel-photo-frame::after {
  display: none;
}
.axel-photo-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--blue);
  color: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  text-align: center;
  line-height: 1.2;
}
.axel-photo-badge .badge-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  display: block;
}
.axel-photo-badge .badge-text {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.85;
}
.axel-content h2   { margin-bottom: 4px; }
.axel-name         { color: var(--white); font-family: var(--font-display); font-size: 1.8rem; opacity: 0.6; }
.axel-content .gold-line { margin: 20px 0; }
.axel-bio {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  margin-bottom: 24px;
  line-height: 1.8;
}
.axel-specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}
.specialty-tag {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.6);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: var(--transition);
}
.specialty-tag:hover {
  border-color: rgba(0,51,153,0.5);
  color: #6699FF;
  background: rgba(0,51,153,0.12);
}

/* =============================================
   PARA QUIEN — FONDO CLARO
   ============================================= */
.para-quien {
  padding: var(--section-py) 0;
  background: var(--light-2);
}
.para-quien-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.para-quien-left .section-label { color: var(--blue); }
.para-quien-left h2 {
  color: var(--text-dark);
  margin-bottom: 16px;
}
.para-quien-left p {
  color: var(--text-muted-d);
  font-size: 1rem;
  margin-bottom: 32px;
}
.pq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pq-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: var(--light-card);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: var(--transition);
}
.pq-item:hover {
  border-color: var(--blue);
  background: var(--blue-dim);
  color: var(--blue);
  transform: translateX(4px);
}
.pq-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--blue-dim);
  border: 1px solid rgba(0,51,153,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 700;
}
.para-quien-right img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-border);
  object-fit: cover;
  aspect-ratio: 4/5;
}

/* =============================================
   SERVICIOS — FONDO BLANCO
   ============================================= */
.servicios {
  padding: var(--section-py) 0;
  background: var(--light);
}
.servicios-header {
  margin-bottom: 56px;
  max-width: 620px;
}
.servicios-header h2 { color: var(--text-dark); margin-bottom: 16px; }
.servicios-header p  { color: var(--text-muted-d); }
.servicios-header .text-gold { color: var(--blue); }

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.servicio-card {
  background: var(--light-card);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: default;
  position: relative;
  overflow: hidden;
  will-change: transform;
}
.servicio-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--blue);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.servicio-card:hover {
  border-color: rgba(0,51,153,0.2);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
}
.servicio-card:hover::before { opacity: 1; }
.servicio-icon {
  width: 52px;
  height: 52px;
  background: var(--blue-dim);
  border: 1px solid rgba(0,51,153,0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--blue);
  transition: var(--transition);
}
.servicio-card:hover .servicio-icon {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.servicio-icon svg { width: 24px; height: 24px; stroke-width: 1.5; }
.servicio-card h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0;
}
.servicio-card .servicio-sub {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.servicio-card p {
  color: var(--text-muted-d);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* =============================================
   RESULTADOS / GALLERY — FONDO OSCURO
   Grid uniforme (mismo tamaño)
   ============================================= */
.resultados {
  padding: var(--section-py) 0;
  background: var(--bg-2);
}
.resultados-header {
  margin-bottom: 56px;
}
.resultados-header h2 { margin-bottom: 16px; }
.resultados-header p  { color: var(--text-muted); max-width: 520px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.gallery-item {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
  background: var(--card);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,51,153,0.25) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* =============================================
   FUNDADORES — FONDO CLARO
   ============================================= */
.fundadores {
  padding: var(--section-py) 0;
  background: var(--light-2);
}
.fundadores-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.fundadores-inner .section-label { color: var(--blue); }
.fundadores-card {
  background: var(--light-card);
  border: 1.5px solid var(--blue);
  border-radius: var(--radius-lg);
  padding: 64px 60px;
  position: relative;
  box-shadow: 0 0 80px rgba(0,51,153,0.08);
  overflow: hidden;
}
.fundadores-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--blue);
}
.fundadores-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: var(--white);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.fundadores-badge svg { width: 14px; height: 14px; }
.fundadores-card h2 {
  color: var(--text-dark);
  margin-bottom: 16px;
}
.fundadores-card h2 .text-gold { color: var(--blue); }
.fundadores-card > p {
  color: var(--text-muted-d);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.8;
}
.fundadores-plazas {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,64,64,0.06);
  border: 1px solid rgba(255,64,64,0.2);
  border-radius: var(--radius-full);
  padding: 10px 20px;
  margin-bottom: 40px;
  font-size: 0.9rem;
  color: #CC3333;
  font-weight: 600;
}
.fundadores-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 48px;
  text-align: left;
}
.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  background: var(--light-2);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--text-dark);
}
.benefit-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue-dim);
  border: 1px solid rgba(0,51,153,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 1px;
}
.fundadores-no-precio {
  font-size: 0.8rem;
  color: var(--text-muted-d);
  margin-top: 16px;
}

/* =============================================
   UBICACION — FONDO OSCURO
   ============================================= */
.ubicacion {
  padding: var(--section-py) 0;
  background: var(--bg);
}
.ubicacion-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}
.ubicacion-info h2   { margin-bottom: 16px; }
.ubicacion-info p    { color: var(--text-muted); margin-bottom: 36px; line-height: 1.8; }
.ubicacion-address {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}
.address-row {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  font-size: 1rem;
}
.address-icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  flex-shrink: 0;
}
.address-icon svg { width: 18px; height: 18px; }
.address-link-blue { color: #6699FF !important; }
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 420px;
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(70%) invert(8%) contrast(1.1);
}

/* =============================================
   CTA FINAL — FONDO AZUL CORPORATIVO
   ============================================= */
.cta-final {
  padding: 120px 0;
  background: var(--blue);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../assets/entrenando/DSC09294.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.04;
  mix-blend-mode: overlay;
}
/* Decoración geométrica fondo */
.cta-final::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}
.cta-final-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}
.cta-final h2 {
  color: var(--white);
  margin-bottom: 20px;
}
.cta-final .cta-sub {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  margin-bottom: 48px;
  line-height: 1.8;
}
.cta-final-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.cta-final .note {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}
/* Botón en sección azul: verde WhatsApp destaca bien */
.cta-final .btn-wa {
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

/* =============================================
   FOOTER
   ============================================= */
footer {
  background: #030303;
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-brand img {
  height: 36px;
  filter: brightness(0) invert(1);
  margin-bottom: 16px;
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.8;
  max-width: 280px;
}
.footer-col h5 {
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: var(--text-muted);
  font-size: 0.875rem;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  color: var(--text-dim);
  font-size: 0.8rem;
}
.footer-credit a {
  color: var(--text-muted);
  font-size: 0.8rem;
  transition: color 0.2s;
}
.footer-credit a:hover { color: var(--white); }

/* =============================================
   FLOATING WHATSAPP
   ============================================= */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  display: flex;
  align-items: center;
  background: var(--green-wa);
  color: var(--white);
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(37,211,102,0.4);
  overflow: hidden;
  transition: width 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  width: 60px;
  height: 60px;
  justify-content: center;
}
.wa-float:hover {
  width: auto;
  padding: 0 24px 0 4px;
  box-shadow: 0 8px 40px rgba(37,211,102,0.5);
  transform: translateY(-2px);
}
.wa-float-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.wa-float-icon svg { width: 28px; height: 28px; }
.wa-float-text {
  white-space: nowrap;
  font-size: 0.875rem;
  font-weight: 600;
  max-width: 0;
  overflow: hidden;
  transition: max-width 0.3s ease;
}
.wa-float:hover .wa-float-text { max-width: 200px; }
.wa-float-pulse {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--green-wa);
  animation: wa-pulse 2.5s ease-out infinite;
  pointer-events: none;
}
@keyframes wa-pulse {
  0%   { transform: scale(1);   opacity: 0.6; }
  70%  { transform: scale(1.4); opacity: 0; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* =============================================
   REVEAL ANIMATIONS
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.visible,
.reveal-right.visible,
.reveal-scale.visible {
  opacity: 1;
  transform: none;
}

/* ---- 3D Tilt ---- */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.15s ease, box-shadow 0.3s ease;
}

/* ---- prefers-reduced-motion ---- */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .gallery-item img,
  .centro-grid-item img { transition: none; }
  .scroll-line, .badge-dot, .urgency-dot, .wa-float-pulse { animation: none; }
  .tilt-card { transform: none !important; }
}

/* =============================================
   RESPONSIVE — TABLET
   ============================================= */
@media (max-width: 1024px) {
  :root { --section-py: 80px; }

  .diferencial-wrapper   { grid-template-columns: 1fr 1fr; gap: 16px; }
  .axel-inner            { grid-template-columns: 1fr 1.2fr; gap: 48px; }
  .para-quien-inner      { grid-template-columns: 1fr; gap: 40px; }
  .para-quien-right      { display: none; }
  .ubicacion-inner       { grid-template-columns: 1fr 1.2fr; gap: 40px; }
  .gallery-grid          { grid-template-columns: repeat(3, 1fr); }
  .footer-inner          { grid-template-columns: 1fr 1fr; }
  .stats-grid            { gap: 0; }
}

/* =============================================
   RESPONSIVE — MOBILE
   ============================================= */
@media (max-width: 768px) {
  :root { --section-py: 64px; }

  .nav-logo img { height: 36px; }
  .nav-cta      { display: none; }

  .hero-content { padding-top: 40px; padding-bottom: 60px; }
  .hero-ctas    { flex-direction: column; align-items: flex-start; }
  .hero-ctas .btn { width: 100%; justify-content: center; }

  .stats-grid { grid-template-columns: 1fr; gap: 32px; }
  .stat-item + .stat-item::before { display: none; }
  .stat-item {
    border-top: 1px solid var(--light-border);
    padding-top: 28px;
  }
  .stat-item:first-child { border-top: none; padding-top: 8px; }

  .diferencial-wrapper { grid-template-columns: 1fr; }
  .diferencial-header  { margin-bottom: 40px; }

  .centro-grid { grid-template-columns: 1fr 1fr; }
  .centro-grid-item:first-child { grid-column: 1 / 3; }
  .centro-cta { flex-direction: column; align-items: flex-start; }

  .axel-inner           { grid-template-columns: 1fr; gap: 40px; }
  .axel-photo-badge     { right: 0; bottom: 0; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  .fundadores-card     { padding: 40px 24px; }
  .fundadores-benefits { grid-template-columns: 1fr; }

  .ubicacion-inner  { grid-template-columns: 1fr; }
  .map-container    { height: 300px; }

  .footer-inner  { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .wa-float:hover { width: 60px; padding: 0; }
  .wa-float:hover .wa-float-text { max-width: 0; }

  .servicios-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .servicios-grid   { grid-template-columns: 1fr; }
  .centro-grid      { grid-template-columns: 1fr; }
  .centro-grid-item:first-child { grid-column: 1 / 2; }
  .gallery-grid     { grid-template-columns: repeat(2, 1fr); }
  .hero-title       { font-size: clamp(2.8rem, 12vw, 4rem); }
  .stats-bar        { padding: 48px 0; }
}
