/* ═══════════════════════════════════════════════════════════════
   NEXTT — Sistema de diseño global
   nextt.mx · CSS puro, sin frameworks
═══════════════════════════════════════════════════════════════ */

/* ═══ VARIABLES ═══ */
:root {
  --nextt-magenta:      #E91E8C;
  --nextt-magenta-2:    #FF3DA0;
  --nextt-cyan:         #35B8C6;
  --nextt-cyan-2:       #5DDDEC;
  --nextt-purple:       #6B5CA5;
  --nextt-purple-2:     #8A78C8;
  --nextt-dark:         #0A0A0F;
  --nextt-dark-card:    #12121A;
  --nextt-dark-surface: #1A1A25;
  --nextt-light:        #F0F0F5;
  --nextt-muted:        #8A8A9A;
  --nextt-white:        #FFFFFF;
  --nextt-magenta-glow: rgba(233, 30, 140, 0.12);
  --nextt-cyan-glow:    rgba(53, 184, 198, 0.08);

  /* Sombras de profundidad multi-capa */
  --shadow-soft:
    0 1px 2px rgba(0, 0, 0, 0.4),
    0 2px 6px rgba(0, 0, 0, 0.3);
  --shadow-card:
    0 1px 2px rgba(0, 0, 0, 0.5),
    0 8px 24px rgba(0, 0, 0, 0.35),
    0 24px 60px rgba(0, 0, 0, 0.25);
  --shadow-card-hover:
    0 1px 2px rgba(0, 0, 0, 0.5),
    0 12px 30px rgba(0, 0, 0, 0.4),
    0 40px 80px rgba(0, 0, 0, 0.35),
    0 0 60px rgba(233, 30, 140, 0.08);
  --shadow-magenta:
    0 4px 16px rgba(233, 30, 140, 0.35),
    0 12px 40px rgba(233, 30, 140, 0.18);
  --shadow-magenta-hover:
    0 6px 20px rgba(233, 30, 140, 0.45),
    0 16px 50px rgba(233, 30, 140, 0.3),
    0 0 0 1px rgba(255, 61, 160, 0.4) inset;

  --gradient-brand:
    linear-gradient(135deg, var(--nextt-magenta) 0%, var(--nextt-purple) 50%, var(--nextt-cyan) 100%);
  --gradient-brand-soft:
    linear-gradient(135deg, rgba(233, 30, 140, 0.9), rgba(53, 184, 198, 0.9));

  --font-display: 'Outfit', sans-serif;
  --font-body:    'Outfit', sans-serif;

  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-expo:  cubic-bezier(0.16, 1, 0.3, 1);
}

/* ═══ RESET Y BASE ═══ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  background: var(--nextt-dark);
  color: var(--nextt-light);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Atmósfera global: noise sutil persistente sobre todo el body */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

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

a {
  color: inherit;
}

button {
  font-family: inherit;
}

/* ═══ SELECCIÓN Y SCROLLBAR ═══ */
::selection {
  background: var(--nextt-magenta);
  color: #fff;
}
::-moz-selection {
  background: var(--nextt-magenta);
  color: #fff;
}

html {
  scrollbar-color: var(--nextt-magenta) var(--nextt-dark);
  scrollbar-width: thin;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: var(--nextt-dark);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--nextt-magenta), var(--nextt-purple));
  border-radius: 10px;
  border: 2px solid var(--nextt-dark);
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--nextt-magenta-2), var(--nextt-cyan));
}

/* ═══ FOCUS VISIBLE ═══ */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--nextt-cyan);
  outline-offset: 3px;
  border-radius: 6px;
  box-shadow: 0 0 0 4px rgba(53, 184, 198, 0.18);
}

/* ═══ TIPOGRAFÍA ═══ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.12;
  color: var(--nextt-white);
}

h1 {
  letter-spacing: -0.038em;
  line-height: 0.98;
  font-weight: 800;
}

p { font-weight: 400; }

/* Texto con gradiente de marca */
.text-gradient {
  background: linear-gradient(120deg, var(--nextt-magenta-2) 0%, var(--nextt-purple-2) 50%, var(--nextt-cyan-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ═══ HEADER ═══ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(10, 10, 15, 0.55);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.site-header.scrolled {
  background: rgba(10, 10, 15, 0.85);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.6);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s var(--ease-out-quint);
}
.logo:hover { transform: translateY(-1px); }

.logo img {
  height: 36px;
  filter: drop-shadow(0 2px 8px rgba(233, 30, 140, 0.25));
}

.nav-links {
  display: flex;
  gap: 2.25rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--nextt-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.005em;
  transition: color 0.25s ease;
  position: relative;
  padding: 0.25rem 0;
}

.nav-links a:hover {
  color: var(--nextt-white);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--nextt-magenta), var(--nextt-cyan));
  transition: width 0.35s var(--ease-out-quint);
  border-radius: 2px;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-highlight {
  color: var(--nextt-magenta) !important;
  font-weight: 600;
}

.nav-social {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav-social a {
  display: inline-flex;
  align-items: center;
  transition: transform 0.25s var(--ease-out-quint);
}
.nav-social a:hover { transform: translateY(-2px); }

.nav-social a svg {
  width: 20px;
  height: 20px;
  fill: var(--nextt-muted);
  transition: fill 0.25s ease, filter 0.25s ease;
}

.nav-social a:hover svg {
  fill: var(--nextt-white);
  filter: drop-shadow(0 0 6px rgba(53, 184, 198, 0.5));
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--nextt-light);
  cursor: pointer;
  padding: 0;
}

.nav-mobile {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 10, 15, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 99;
  padding: 2rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}

.nav-mobile a {
  color: var(--nextt-light);
  font-size: 1.6rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.01em;
}

/* ═══ HERO ═══ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 110px 2rem 5rem;
}

.hero-compact {
  min-height: 72vh;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Mesh gradient base — capa de profundidad */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(at 18% 22%, rgba(233, 30, 140, 0.18) 0px, transparent 45%),
    radial-gradient(at 82% 14%, rgba(53, 184, 198, 0.16) 0px, transparent 50%),
    radial-gradient(at 60% 80%, rgba(107, 92, 165, 0.18) 0px, transparent 55%);
  filter: blur(8px);
}

/* Conic gradient sutil rotando — toque premium */
.hero-bg::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1400px;
  height: 1400px;
  transform: translate(-50%, -50%);
  background: conic-gradient(
    from 0deg at 50% 50%,
    transparent 0deg,
    rgba(233, 30, 140, 0.05) 60deg,
    transparent 120deg,
    rgba(53, 184, 198, 0.05) 200deg,
    transparent 280deg,
    rgba(107, 92, 165, 0.04) 340deg,
    transparent 360deg
  );
  animation: conic-rotate 40s linear infinite;
  will-change: transform;
}

@keyframes conic-rotate {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-glow-1 {
  position: absolute;
  width: 760px;
  height: 580px;
  top: -180px;
  left: -180px;
  background: radial-gradient(ellipse, rgba(233, 30, 140, 0.28) 0%, transparent 65%);
  animation: pulse-glow 12s ease-in-out infinite;
  filter: blur(50px);
  will-change: transform, opacity;
}

.hero-glow-2 {
  position: absolute;
  width: 620px;
  height: 520px;
  top: -100px;
  right: -120px;
  background: radial-gradient(ellipse, rgba(53, 184, 198, 0.22) 0%, transparent 65%);
  animation: pulse-glow 10s ease-in-out infinite reverse;
  filter: blur(50px);
  will-change: transform, opacity;
}

/* Tercer glow púrpura inferior — refuerza la mesh */
.hero-glow-3 {
  position: absolute;
  width: 700px;
  height: 500px;
  bottom: -200px;
  left: 30%;
  background: radial-gradient(ellipse, rgba(107, 92, 165, 0.22) 0%, transparent 65%);
  animation: pulse-glow 14s ease-in-out infinite 2s;
  filter: blur(60px);
  will-change: transform, opacity;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

/* Pelota de TT flotante — elemento gráfico vivo */
.hero-ball {
  position: absolute;
  width: 90px;
  height: 90px;
  top: 22%;
  right: 12%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #ffffff 0%, #f5e9d8 35%, #c9a875 70%, #6e5436 100%);
  box-shadow:
    inset -8px -10px 22px rgba(0, 0, 0, 0.35),
    inset 6px 8px 18px rgba(255, 255, 255, 0.3),
    0 30px 60px rgba(233, 30, 140, 0.35),
    0 0 80px rgba(53, 184, 198, 0.25);
  animation: ball-float 6.4s ease-in-out infinite;
  will-change: transform;
  z-index: 0;
}

.hero-ball::after {
  content: '';
  position: absolute;
  inset: -40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 30, 140, 0.18) 0%, transparent 60%);
  z-index: -1;
}

@keyframes ball-float {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50%      { transform: translateY(-22px) rotate(6deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--nextt-cyan-2);
  border: 1px solid rgba(53, 184, 198, 0.3);
  border-radius: 100px;
  padding: 0.55rem 1.25rem 0.55rem 1rem;
  margin-bottom: 2rem;
  background:
    linear-gradient(135deg, rgba(53, 184, 198, 0.08), rgba(233, 30, 140, 0.05));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    0 0 0 1px rgba(53, 184, 198, 0.08) inset,
    0 4px 20px rgba(53, 184, 198, 0.1);
  position: relative;
}

.hero-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--nextt-cyan);
  box-shadow: 0 0 10px var(--nextt-cyan), 0 0 20px var(--nextt-cyan);
  animation: pulse-dot 2.4s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.55; transform: scale(0.85); }
}

.hero h1 {
  font-size: clamp(2.7rem, 7.5vw, 5.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 1.6rem;
}

/* Palabras con gradiente vivo */
.text-magenta {
  background: linear-gradient(135deg, #FF3DA0 0%, #E91E8C 50%, #B81473 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 4px 20px rgba(233, 30, 140, 0.35));
}

.text-cyan {
  background: linear-gradient(135deg, #5DDDEC 0%, #35B8C6 50%, #1E8A95 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 4px 20px rgba(53, 184, 198, 0.3));
}

.hero-sub {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: var(--nextt-light);
  opacity: 0.78;
  max-width: 620px;
  margin: 0 auto 2.75rem;
  font-weight: 300;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ═══ ANIMACIONES ═══ */
.fade-up {
  opacity: 0;
  animation: fade-up 1.1s var(--ease-out-expo) forwards;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(32px);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes pulse-glow {
  0%, 100% { transform: scale(1) translate(0, 0); opacity: 0.7; }
  50%      { transform: scale(1.18) translate(28px, -28px); opacity: 1; }
}

/* ═══ BOTONES ═══ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.1rem;
  border-radius: 12px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.005em;
  text-decoration: none;
  transition:
    transform 0.35s var(--ease-out-quint),
    box-shadow 0.35s var(--ease-out-quint),
    background 0.35s ease,
    color 0.25s ease,
    border-color 0.35s ease;
  cursor: pointer;
  border: none;
  line-height: 1;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Sweep brillante al hover (CSS only) */
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.18) 50%, transparent 70%);
  transform: translateX(-110%);
  transition: transform 0.7s var(--ease-out-quint);
  z-index: -1;
}

.btn:hover::before { transform: translateX(110%); }

.btn-primary {
  background: linear-gradient(135deg, var(--nextt-magenta-2) 0%, var(--nextt-magenta) 50%, #C8137A 100%);
  background-size: 200% 200%;
  background-position: 0% 0%;
  color: #fff;
  box-shadow: var(--shadow-magenta);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background-position: 100% 100%;
  box-shadow: var(--shadow-magenta-hover);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.02);
  color: var(--nextt-light);
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-outline:hover {
  border-color: var(--nextt-cyan);
  color: var(--nextt-cyan-2);
  transform: translateY(-2px);
  background: rgba(53, 184, 198, 0.06);
  box-shadow:
    0 4px 20px rgba(53, 184, 198, 0.18),
    0 0 0 1px rgba(53, 184, 198, 0.25) inset;
}

.btn-sm {
  padding: 0.7rem 1.45rem;
  font-size: 0.85rem;
}

/* ═══ SECCIONES ═══ */
.section {
  padding: 7rem 2rem;
  position: relative;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--nextt-cyan);
  margin-bottom: 1.25rem;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--nextt-cyan), transparent);
}

.section-title {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.028em;
  line-height: 1.1;
  margin-bottom: 1.1rem;
}

.section-sub {
  color: var(--nextt-muted);
  font-size: 1.05rem;
  max-width: 600px;
  line-height: 1.7;
}

/* ═══ ACCESS CARDS ═══ */
.access-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.access-card,
.coach-card,
.level-card {
  /* Spotlight follow-cursor (alimentado por JS via --mx, --my) */
  --mx: 50%;
  --my: 50%;
}

.access-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0%, transparent 60%),
    var(--nextt-dark-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 22px;
  padding: 2.5rem 2rem;
  transition:
    transform 0.5s var(--ease-out-quint),
    border-color 0.4s ease,
    background 0.4s ease,
    box-shadow 0.5s var(--ease-out-quint);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  box-shadow: var(--shadow-card);
}

/* Borde gradiente top */
.access-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--nextt-magenta), var(--nextt-cyan), transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* Spotlight que sigue cursor */
.access-card::after,
.coach-card::after,
.level-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(360px circle at var(--mx) var(--my),
    rgba(233, 30, 140, 0.10),
    transparent 45%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

.access-card > * { position: relative; z-index: 1; }

.access-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 60%),
    var(--nextt-dark-surface);
  box-shadow: var(--shadow-card-hover);
}

.access-card:hover::before { opacity: 1; }
.access-card:hover::after  { opacity: 1; }

.access-card-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition:
    transform 0.5s var(--ease-out-quint),
    box-shadow 0.5s var(--ease-out-quint),
    border-color 0.4s ease;
}

.access-card-icon svg {
  width: 32px;
  height: 32px;
  transition: filter 0.4s ease, transform 0.5s var(--ease-out-quint);
}

.access-card:hover .access-card-icon {
  transform: translateY(-4px) scale(1.05);
  border-color: rgba(233, 30, 140, 0.3);
  box-shadow:
    0 8px 24px rgba(233, 30, 140, 0.2),
    0 0 0 1px rgba(233, 30, 140, 0.15) inset;
}

.access-card:hover .access-card-icon svg {
  filter: drop-shadow(0 0 12px rgba(233, 30, 140, 0.6));
  transform: scale(1.06);
}

.access-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.018em;
}

.access-card p {
  color: var(--nextt-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.85rem;
  flex-grow: 1;
}

.access-card .btn {
  align-self: flex-start;
}

/* ═══ ABOUT ═══ */
.about-section {
  background:
    linear-gradient(180deg, transparent 0%, rgba(107, 92, 165, 0.05) 50%, transparent 100%);
  position: relative;
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 420px;
}

.about-orb {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: conic-gradient(from 0deg,
    var(--nextt-magenta),
    var(--nextt-purple),
    var(--nextt-cyan),
    var(--nextt-purple-2),
    var(--nextt-magenta));
  filter: blur(70px);
  opacity: 0.42;
  animation: rotate-slow 22s linear infinite;
  will-change: transform;
}

.about-visual::before {
  content: '';
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  animation: rotate-slow 30s linear infinite reverse;
}

.about-visual::after {
  content: '';
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 1px solid rgba(53, 184, 198, 0.12);
  box-shadow: inset 0 0 60px rgba(53, 184, 198, 0.05);
}

@keyframes rotate-slow {
  from { transform: rotate(0); }
  to   { transform: rotate(360deg); }
}

.about-logo-overlay {
  position: absolute;
  width: 200px;
  height: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.6));
  z-index: 1;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.75rem;
}

.stat-number {
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--nextt-magenta-2), var(--nextt-cyan-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 0.6rem;
  letter-spacing: -0.04em;
  filter: drop-shadow(0 4px 20px rgba(233, 30, 140, 0.2));
}

.stat-label {
  color: var(--nextt-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
}

/* ═══ COACHES ═══ */
.coaches-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.coach-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0%, transparent 60%),
    var(--nextt-dark-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 22px;
  padding: 2.75rem;
  transition:
    transform 0.5s var(--ease-out-quint),
    border-color 0.4s ease,
    background 0.4s ease,
    box-shadow 0.5s var(--ease-out-quint);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--shadow-card);
}

.coach-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--nextt-magenta), var(--nextt-purple), var(--nextt-cyan));
  opacity: 0;
  transition: opacity 0.5s ease;
  box-shadow: 0 0 20px rgba(233, 30, 140, 0.5);
}

.coach-card > * { position: relative; z-index: 1; }

.coach-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 60%),
    var(--nextt-dark-surface);
  box-shadow: var(--shadow-card-hover);
}

.coach-card:hover::before { opacity: 1; }
.coach-card:hover::after  { opacity: 1; }

.coach-flag {
  width: 48px;
  height: 32px;
  margin-bottom: 1rem;
  display: inline-block;
  border-radius: 4px;
  overflow: hidden;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
  transition: transform 0.5s var(--ease-out-quint);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.coach-flag svg { width: 100%; height: 100%; display: block; }

.coach-card:hover .coach-flag { transform: scale(1.15) rotate(-6deg); }

.coach-name {
  font-size: 1.65rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  letter-spacing: -0.025em;
  color: var(--nextt-white);
}

.coach-title {
  color: var(--nextt-cyan);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.85rem;
}

.coach-credentials {
  list-style: none;
}

.coach-credentials li {
  color: var(--nextt-light);
  opacity: 0.8;
  font-size: 0.93rem;
  line-height: 1.6;
  padding: 0.65rem 0 0.65rem 1.6rem;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: opacity 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.coach-credentials li:last-child {
  border-bottom: none;
}

.coach-credentials li::before {
  content: '→';
  color: var(--nextt-magenta);
  position: absolute;
  left: 0;
  top: 0.65rem;
  font-weight: 700;
  transition: transform 0.3s var(--ease-out-quint);
}

.coach-card:hover .coach-credentials li:hover {
  opacity: 1;
  color: var(--nextt-white);
  transform: translateX(3px);
}
.coach-card:hover .coach-credentials li:hover::before {
  transform: translateX(4px);
}

/* ═══ LEVELS ═══ */
.levels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.25rem;
}

.level-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0%, transparent 60%),
    var(--nextt-dark-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 1.5rem;
  transition:
    transform 0.4s var(--ease-out-quint),
    border-color 0.3s ease,
    box-shadow 0.4s var(--ease-out-quint);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.level-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-card-hover);
}

.level-sport-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
  background: rgba(53, 184, 198, 0.1);
  color: var(--nextt-cyan);
  border: 1px solid rgba(53, 184, 198, 0.2);
  margin-bottom: 1rem;
}

.level-name {
  color: var(--nextt-white);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 0.5rem;
}

.level-desc {
  color: var(--nextt-muted);
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.level-sep {
  border: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
  margin: 0 0 1rem;
}

.level-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.level-meta > div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.level-meta-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nextt-muted);
}

.level-meta-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--nextt-light);
}

.levels-cta {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

@media (max-width: 768px) {
  .levels-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .levels-grid { grid-template-columns: 1fr; }
}

/* ═══ FOOTER ═══ */
.site-footer {
  background:
    linear-gradient(180deg, transparent 0%, var(--nextt-dark-card) 30%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 5rem 2rem 2rem;
  margin-top: 5rem;
  position: relative;
}

/* ═══════════════════════════════════════════════════════════
   UBICACIÓN
═══════════════════════════════════════════════════════════ */

.location-section { position: relative; }

.location-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
}

.location-info .section-label { margin-bottom: 1rem; }
.location-info .section-title { margin-bottom: 1.5rem; }

.location-address {
  font-style: normal;
  color: var(--nextt-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  padding-left: 1.2rem;
  border-left: 2px solid var(--nextt-magenta);
}

.location-address strong {
  color: var(--nextt-light);
  font-weight: 600;
}

.location-map {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(233, 30, 140, 0.1);
}

.location-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(30%) contrast(1.05) brightness(0.85);
  transition: filter 0.4s ease;
}

.location-map:hover iframe {
  filter: grayscale(0%) contrast(1) brightness(1);
}

@media (max-width: 900px) {
  .location-layout { grid-template-columns: 1fr; gap: 2rem; }
  .location-map { aspect-ratio: 4 / 3; }
}

/* ═══════════════════════════════════════════════════════════ */

/* Línea divisoria de color por gradiente */
.site-footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(233, 30, 140, 0.5) 25%,
    rgba(53, 184, 198, 0.5) 75%,
    transparent 100%);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand img {
  height: 32px;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 4px 12px rgba(233, 30, 140, 0.25));
}

.footer-brand p {
  color: var(--nextt-muted);
  font-size: 0.92rem;
  line-height: 1.75;
  max-width: 320px;
}

.footer-col h4 {
  color: var(--nextt-white);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
  position: relative;
  padding-bottom: 0.65rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--nextt-magenta), var(--nextt-cyan));
  border-radius: 2px;
}

.footer-col a {
  color: var(--nextt-muted);
  text-decoration: none;
  font-size: 0.93rem;
  display: block;
  width: fit-content;
  margin-bottom: 0.7rem;
  transition: color 0.25s ease, transform 0.25s var(--ease-out-quint);
  position: relative;
}

.footer-col a:hover {
  color: var(--nextt-white);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  color: var(--nextt-muted);
  font-size: 0.85rem;
  flex: 1;
  text-align: center;
}

.brand-nextteam {
  color: var(--nextt-magenta);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.legal-note {
  font-size: 0.88rem;
  color: var(--nextt-muted);
  font-style: italic;
  margin-top: 0.75rem;
}

.footer-copy a {
  color: var(--nextt-light);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s ease;
}

.footer-copy a:hover {
  color: var(--nextt-white);
}

.footer-social-icons {
  display: flex;
  gap: 1rem;
}

.footer-social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  transition:
    border-color 0.3s ease,
    background 0.3s ease,
    transform 0.3s var(--ease-out-quint);
}

.footer-social-icons a:hover {
  border-color: rgba(233, 30, 140, 0.4);
  background: rgba(233, 30, 140, 0.08);
  transform: translateY(-2px);
}

.footer-social-icons a svg {
  width: 18px;
  height: 18px;
  fill: var(--nextt-muted);
  transition: fill 0.25s ease;
}

.footer-social-icons a:hover svg {
  fill: var(--nextt-white);
}

/* ═══ REVEAL ═══ */
.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.985);
  filter: blur(6px);
  transition:
    opacity 1s var(--ease-out-expo),
    transform 1s var(--ease-out-expo),
    filter 1s var(--ease-out-expo);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* Stagger interno opcional para grids dentro de reveal */
.reveal .access-card,
.reveal .coach-card,
.reveal .level-card {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s var(--ease-out-expo),
    transform 0.8s var(--ease-out-expo);
}
.reveal.visible .access-card,
.reveal.visible .coach-card,
.reveal.visible .level-card {
  opacity: 1;
  transform: translateY(0);
}
.reveal.visible .access-card:nth-child(1),
.reveal.visible .coach-card:nth-child(1),
.reveal.visible .level-card:nth-child(1) { transition-delay: 0.05s; }
.reveal.visible .access-card:nth-child(2),
.reveal.visible .coach-card:nth-child(2),
.reveal.visible .level-card:nth-child(2) { transition-delay: 0.12s; }
.reveal.visible .level-card:nth-child(3) { transition-delay: 0.19s; }
.reveal.visible .level-card:nth-child(4) { transition-delay: 0.26s; }
.reveal.visible .level-card:nth-child(5) { transition-delay: 0.33s; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .about-layout { grid-template-columns: 1fr; gap: 2rem; }
  .about-visual { min-height: 340px; }
  .hero-ball { width: 70px; height: 70px; right: 6%; }
}

@media (max-width: 768px) {
  .access-grid,
  .coaches-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 5rem 1.5rem; }
  .hero-ball { display: none; }
}

@media (max-width: 700px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .header-inner { padding: 0 1.5rem; }

  /* Hero: sin hueco vacío debajo de los CTAs */
  .hero {
    min-height: auto;
    padding-top: 5rem;
    padding-bottom: 4rem;
  }

  /* Mapa: full-width y altura usable */
  .location-map {
    aspect-ratio: auto;
    min-height: 240px;
    width: 100%;
  }
  .location-map iframe { min-height: 240px; }

  /* Círculo decorativo punteado: fuera de contexto en móvil */
  .about-visual::before { display: none; }
  .about-visual::after { display: none; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero { padding: 90px 1.25rem 2rem; min-height: auto; }
  .hero-badge { margin-bottom: 1.25rem; }
  .hero h1 { margin-bottom: 1rem; }
  .hero-sub { margin-bottom: 1.75rem; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; }
  .about-stats { gap: 1rem; }

  /* Contención overflow horizontal */
  .about-visual { min-height: 280px; overflow: hidden; }
  .about-orb { width: 260px; height: 260px; }
  .about-visual::before { width: 200px; height: 200px; }
  .about-visual::after { width: 250px; height: 250px; }
  .about-logo-overlay { width: 150px; }
  .hero-glow-1 { width: 400px; height: 300px; top: -100px; left: -100px; }
  .hero-glow-2 { width: 320px; height: 250px; top: -60px; right: -60px; }
  .hero-glow-3 { width: 400px; height: 300px; bottom: -100px; left: 0; }
}

/* ═══ REDUCED MOTION ═══ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-ball,
  .hero-glow-1,
  .hero-glow-2,
  .hero-glow-3,
  .about-orb,
  .hero-bg::after {
    animation: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }
  .fade-up { opacity: 1; }
}
