/* ═══════════════════════════════════════════════════════════
   AVANX HEALTH — SITIO WEB CORPORATIVO
   Stack: CSS Custom Properties + GSAP + Lenis
   Paleta: Navy #0a1628 · Teal #2b7da8 · Gold #c9a227
═══════════════════════════════════════════════════════════ */

/* ── RESET & VARIABLES ──────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:        #0a1628;
  --navy-mid:    #0d1f3c;
  --navy-light:  #132a4e;
  --teal:        #2b7da8;
  --teal-light:  #4cc9f0;
  --teal-dark:   #1a5a7a;
  --gold:        #c9a227;
  --gold-light:  #e8c547;
  --gold-dark:   #9a7818;
  --white:       #ffffff;
  --white-80:    rgba(255,255,255,0.8);
  --white-40:    rgba(255,255,255,0.4);
  --white-10:    rgba(255,255,255,0.08);
  --white-05:    rgba(255,255,255,0.04);

  --font-head:   'Montserrat', sans-serif;
  --font-body:   'Inter', sans-serif;

  --r-sm:  8px;
  --r-md:  16px;
  --r-lg:  24px;
  --r-xl:  32px;

  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-gold: 0 0 40px rgba(201,162,39,0.25);
  --shadow-teal: 0 0 40px rgba(43,125,168,0.3);
  --shadow-card: 0 20px 60px rgba(0,0,0,0.4);
}

html { scroll-behavior: smooth; }

section[id] { scroll-margin-top: 80px; }

body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── BARRA DE PROGRESO ──────────────────────────────── */
.reading-progress {
  position: fixed; top: 0; left: 0; z-index: 9999;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  transform-origin: left;
  transform: scaleX(0);
  animation: progress-grow linear;
  animation-timeline: scroll(root block);
}
@keyframes progress-grow { to { transform: scaleX(1); } }

/* ── CURSOR CUSTOM ──────────────────────────────────── */
.cursor-dot, .cursor-ring {
  position: fixed; pointer-events: none; z-index: 9998;
  border-radius: 50%; transform: translate(-50%, -50%);
}
.cursor-dot {
  width: 8px; height: 8px;
  background: var(--gold);
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1.5px solid rgba(201,162,39,0.5);
  transition: width 0.3s, height 0.3s, border-color 0.3s;
}
.cursor-ring.expanded {
  width: 56px; height: 56px;
  border-color: var(--teal-light);
}
@media (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* ── SHARED BUTTONS ─────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: var(--white);
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  border: none; cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(43,125,168,0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(43,125,168,0.6);
  background: linear-gradient(135deg, var(--teal-light), var(--teal));
}

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  color: var(--white);
  padding: 13px 30px;
  border-radius: 50px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid var(--white-40);
  cursor: pointer;
  transition: var(--transition);
}
.btn-ghost:hover {
  border-color: var(--white);
  background: var(--white-10);
  transform: translateY(-2px);
}

/* ── SECTION HELPERS ────────────────────────────────── */
.section-tag {
  display: inline-block;
  background: linear-gradient(135deg, rgba(43,125,168,0.2), rgba(201,162,39,0.15));
  border: 1px solid rgba(43,125,168,0.4);
  color: var(--teal-light);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--white);
}
.section-sub {
  font-size: 1.05rem;
  color: var(--white-80);
  max-width: 640px;
  margin-bottom: 48px;
  line-height: 1.75;
}
.text-teal { color: var(--teal-light); }
.text-gold { color: var(--gold); }
.gold-text { color: var(--gold) !important; font-weight: 700; }

/* ═══════════════════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 20px 0;
  transition: background 0.4s ease, padding 0.4s ease, backdrop-filter 0.4s;
}
.navbar.scrolled {
  background: rgba(10,22,40,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  border-bottom: 1px solid rgba(43,125,168,0.2);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 44px; transition: opacity 0.3s; }
.nav-logo .logo-color { display: none; }
.navbar.scrolled .logo-blanco { display: none; }
.navbar.scrolled .logo-color  { display: block; }
/* on dark bg, always show white logo */
.logo-blanco { display: block; }
.logo-color  { display: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white-80);
  position: relative;
  transition: color var(--transition);
}
.nav-link::after {
  content: '';
  position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--teal-light);
  transition: width var(--transition);
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after { width: 100%; }

.btn-nav {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy) !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.88rem;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(201,162,39,0.3);
}
.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201,162,39,0.5);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none;
  cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 26px; height: 2px;
  background: var(--white);
  transition: var(--transition);
  transform-origin: center;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ═══════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 120px 24px 80px;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

.particles-canvas {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}

.hero-glow {
  position: absolute; border-radius: 50%;
  pointer-events: none; z-index: 0;
  filter: blur(80px);
}
.hero-glow-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(43,125,168,0.25) 0%, transparent 70%);
  top: -100px; left: -200px;
}
.hero-glow-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(201,162,39,0.15) 0%, transparent 70%);
  bottom: 0; right: -100px;
}

.hero-content {
  position: relative; z-index: 2;
  flex: 1; max-width: 580px;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(43,125,168,0.15);
  border: 1px solid rgba(76,201,240,0.3);
  color: var(--teal-light);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal-light);
  box-shadow: 0 0 8px var(--teal-light);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 24px;
}
.hero-title-line { display: block; }
.hero-title-gold { color: var(--gold); }

.hero-sub {
  font-size: 1.1rem;
  color: var(--white-80);
  line-height: 1.8;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.stat-sym {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
}
.stat-label {
  display: block;
  font-size: 0.72rem;
  color: var(--white-40);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 4px;
}
.stat-divider { width: 1px; height: 40px; background: var(--white-10); }

/* Hero image */
.hero-image-wrap {
  position: relative; z-index: 2;
  flex: 1; max-width: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-product-glow {
  position: absolute; inset: -60px;
  background: radial-gradient(ellipse at center, rgba(43,125,168,0.3) 0%, transparent 70%);
  animation: float-glow 4s ease-in-out infinite alternate;
}
@keyframes float-glow {
  from { transform: scale(0.9); opacity: 0.7; }
  to   { transform: scale(1.05); opacity: 1; }
}
.hero-product-img {
  width: 100%;
  border-radius: var(--r-xl);
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
  animation: float-img 6s ease-in-out infinite;
}
@keyframes float-img {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-16px); }
}

.hero-scroll-hint {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column;
  align-items: center; gap: 10px;
  z-index: 2;
}
.hero-scroll-hint span {
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white-40);
}
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--white-40), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ═══════════════════════════════════════════════════════════
   SOBRE NOSOTROS
═══════════════════════════════════════════════════════════ */
.sobre {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-mid) 100%);
  position: relative;
  overflow: hidden;
}
.sobre::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
}
.sobre .container { text-align: center; }
.sobre .section-sub { margin: 0 auto 60px; }

.pilares-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 64px;
}
.pilar-card {
  background: var(--white-05);
  border: 1px solid rgba(43,125,168,0.2);
  border-radius: var(--r-lg);
  padding: 40px 32px;
  text-align: left;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.pilar-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}
.pilar-card:hover { border-color: rgba(43,125,168,0.5); transform: translateY(-6px); }
.pilar-card:hover::after { transform: scaleX(1); }

.pilar-icon {
  width: 52px; height: 52px;
  color: var(--teal-light);
  margin-bottom: 20px;
}
.pilar-icon svg { width: 100%; height: 100%; }
.pilar-card h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.pilar-card p { font-size: 0.95rem; color: var(--white-80); line-height: 1.7; }

.certs-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--white-10);
}
.cert-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.cert-item img {
  width: 72px; height: 72px;
  object-fit: contain;
  border-radius: var(--r-md);
  filter: drop-shadow(0 4px 12px rgba(43,125,168,0.3));
}
.cert-item span {
  font-size: 0.8rem;
  color: var(--white-40);
  text-align: center;
  line-height: 1.4;
}

/* ═══════════════════════════════════════════════════════════
   PRODUCTOS
═══════════════════════════════════════════════════════════ */
.productos {
  padding: 100px 0;
  background: var(--navy-mid);
  position: relative;
}
.productos::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.productos .container { text-align: center; }
.productos .section-sub { margin: 0 auto 60px; }

.productos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.producto-card {
  background: var(--white-05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: var(--transition);
  cursor: default;
  text-align: left;
  position: relative;
}
.producto-card:hover {
  transform: translateY(-8px);
  border-color: rgba(43,125,168,0.4);
  box-shadow: var(--shadow-card), var(--shadow-teal);
}

.producto-img-wrap {
  position: relative;
  background: linear-gradient(135deg, rgba(10,22,40,0.8), rgba(13,31,60,0.6));
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.producto-glow {
  position: absolute; inset: 0;
  background: radial-gradient(circle at center, color-mix(in srgb, var(--glow-color) 40%, transparent) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
}
.producto-card:hover .producto-glow { opacity: 1; }
.producto-img {
  height: 200px;
  width: auto;
  max-width: 90%;
  object-fit: contain;
  filter: drop-shadow(0 12px 32px rgba(0,0,0,0.6));
  transition: transform 0.5s ease;
}
.producto-card:hover .producto-img { transform: scale(1.08) translateY(-6px); }

.producto-body { padding: 28px; }
.producto-tag {
  display: inline-block;
  background: rgba(43,125,168,0.15);
  border: 1px solid rgba(43,125,168,0.3);
  color: var(--teal-light);
  padding: 3px 12px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.producto-name {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--white);
}
.producto-name span { color: var(--gold); }
.producto-desc {
  font-size: 0.9rem;
  color: var(--white-80);
  line-height: 1.65;
  margin-bottom: 18px;
}
.producto-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.producto-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--white-80);
}
.feat-icon { font-size: 1rem; }
.producto-badge {
  background: rgba(201,162,39,0.1);
  border: 1px solid rgba(201,162,39,0.25);
  color: var(--gold);
  padding: 8px 14px;
  border-radius: var(--r-sm);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* ═══════════════════════════════════════════════════════════
   OPORTUNIDAD DE NEGOCIO
═══════════════════════════════════════════════════════════ */
.oportunidad {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.oportunidad-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(201,162,39,0.08) 0%, transparent 60%),
    linear-gradient(180deg, var(--navy-mid), var(--navy));
}
.oportunidad-inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.oportunidad-text .section-sub { margin-bottom: 32px; max-width: 100%; }

.oportunidad-lista {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 40px;
}
.oportunidad-lista li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  color: var(--white-80);
}
.check-icon {
  width: 24px; height: 24px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

/* Paquetes stack */
.paquetes-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.paquete-card {
  background: var(--white-05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-xl);
  padding: 32px;
  position: relative;
  transition: var(--transition);
  overflow: hidden;
}
.paquete-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
}
.paquete-clasico::before { background: linear-gradient(90deg, var(--teal), var(--teal-light)); }
.paquete-fundador::before { background: linear-gradient(90deg, var(--gold), var(--gold-light)); }

.paquete-card:hover { transform: translateX(8px); border-color: rgba(43,125,168,0.4); }
.paquete-fundador:hover { border-color: rgba(201,162,39,0.4); }

.paquete-badge {
  position: absolute; top: 20px; right: 20px;
  background: rgba(43,125,168,0.2);
  border: 1px solid rgba(43,125,168,0.4);
  color: var(--teal-light);
  padding: 3px 12px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
}
.paquete-fundador .paquete-badge {
  background: rgba(201,162,39,0.15);
  border-color: rgba(201,162,39,0.4);
  color: var(--gold);
}
.paquete-card h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.paquete-precio {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 900;
  color: var(--teal-light);
  margin-bottom: 10px;
}
.paquete-fundador .paquete-precio { color: var(--gold); }
.paquete-precio span { font-size: 1rem; color: var(--white-40); }
.paquete-card p { font-size: 0.88rem; color: var(--white-80); margin-bottom: 14px; }
.paquete-card ul { display: flex; flex-direction: column; gap: 6px; }
.paquete-card li { font-size: 0.85rem; color: var(--white-80); }

/* ═══════════════════════════════════════════════════════════
   PLAN DE COMPENSACIÓN
═══════════════════════════════════════════════════════════ */
.compensacion {
  padding: 100px 0;
  background: var(--navy-mid);
  position: relative;
}
.compensacion::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
}
.compensacion .container { text-align: center; }
.compensacion .section-sub { margin: 0 auto 60px; }

.bonos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
  margin-bottom: 40px;
}

.bono-card {
  background: var(--white-05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-xl);
  padding: 36px;
  text-align: left;
  transition: var(--transition);
}
.bono-card:hover { border-color: rgba(43,125,168,0.4); transform: translateY(-4px); }

.bono-header {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 28px;
}
.bono-icon {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.bono-icon-gold { background: rgba(201,162,39,0.15); border: 1px solid rgba(201,162,39,0.3); }
.bono-icon-teal { background: rgba(43,125,168,0.15); border: 1px solid rgba(43,125,168,0.3); }
.bono-header h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.bono-frecuencia {
  font-size: 0.78rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.bono-niveles { display: flex; flex-direction: column; gap: 16px; }
.bono-nivel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px;
  background: var(--white-05);
  border-radius: var(--r-md);
  border: 1px solid var(--white-10);
}
.nivel-badge {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}
.nivel-1 { background: rgba(76,201,240,0.2); color: var(--teal-light); border: 1px solid rgba(76,201,240,0.4); }
.nivel-2 { background: rgba(43,125,168,0.2); color: #7bc8e8; border: 1px solid rgba(43,125,168,0.4); }
.nivel-3 { background: rgba(26,90,122,0.3); color: #a0d4e8; border: 1px solid rgba(26,90,122,0.4); }
.nivel-info { flex: 1; }
.nivel-monto { display: block; font-family: var(--font-head); font-size: 1.1rem; font-weight: 800; color: var(--gold); }
.nivel-desc { display: block; font-size: 0.78rem; color: var(--white-40); }
.nivel-ejemplo { font-size: 0.8rem; color: var(--white-80); font-weight: 600; }

.bono-desc { font-size: 0.9rem; color: var(--white-80); margin-bottom: 20px; }

.recompra-niveles {
  display: flex; gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.recompra-nivel {
  flex: 1; min-width: 70px;
  background: var(--white-05);
  border: 1px solid var(--white-10);
  border-radius: var(--r-md);
  padding: 14px 8px;
  text-align: center;
}
.rn-num { display: block; font-size: 0.72rem; color: var(--teal-light); font-weight: 700; margin-bottom: 4px; }
.rn-monto { display: block; font-family: var(--font-head); font-size: 1rem; font-weight: 800; color: var(--white); }

.calificaciones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.calificacion {
  background: rgba(201,162,39,0.08);
  border: 1px solid rgba(201,162,39,0.2);
  border-radius: var(--r-md);
  padding: 14px;
  text-align: center;
}
.cal-label { display: block; font-size: 0.72rem; color: var(--gold); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 4px; }
.cal-monto { display: block; font-family: var(--font-head); font-size: 1rem; font-weight: 900; color: var(--white); margin-bottom: 2px; }
.cal-desc { display: block; font-size: 0.72rem; color: var(--white-40); }

.bono-auto {
  background: linear-gradient(135deg, rgba(201,162,39,0.12), rgba(43,125,168,0.08));
  border: 1px solid rgba(201,162,39,0.3);
  border-radius: var(--r-xl);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: 600px;
  margin: 0 auto;
  transition: var(--transition);
}
.bono-auto:hover { transform: scale(1.02); border-color: rgba(201,162,39,0.5); }
.bono-auto-icon { font-size: 2.5rem; }
.bono-auto-text h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.bono-auto-text p { font-size: 0.9rem; color: var(--white-80); margin-bottom: 4px; }
.bono-auto-text strong {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--gold);
}

/* ═══════════════════════════════════════════════════════════
   TABLA DE RANGOS
═══════════════════════════════════════════════════════════ */
.rangos {
  padding: 100px 0;
  background: var(--navy);
  position: relative;
}
.rangos::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.rangos .container { text-align: center; }
.rangos .section-sub { margin: 0 auto 48px; }

.rangos-table-wrap {
  overflow-x: auto;
  border-radius: var(--r-xl);
  border: 1px solid rgba(255,255,255,0.08);
}
.rangos-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}
.rangos-table thead th {
  background: rgba(43,125,168,0.2);
  padding: 16px 20px;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--teal-light);
  border-bottom: 1px solid rgba(43,125,168,0.3);
}
.rangos-table thead th:last-child { text-align: right; }

.rango-row td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.92rem;
  transition: background 0.2s;
}
.rango-row:last-child td { border-bottom: none; }
.rango-row:hover td { background: rgba(255,255,255,0.04); }
.rango-emoji { margin-right: 8px; font-size: 1.1rem; }
.bono-monto { text-align: right; font-family: var(--font-head); font-weight: 700; }

.rango-7 td { background: rgba(201,162,39,0.05); }
.rango-7:hover td { background: rgba(201,162,39,0.1); }

/* ═══════════════════════════════════════════════════════════
   AVANX ACADEMY
═══════════════════════════════════════════════════════════ */
.academy {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.academy-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(43,125,168,0.1) 0%, transparent 60%),
    linear-gradient(180deg, var(--navy-mid), var(--navy-light));
}
.academy-inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.academy-card-float {
  background: var(--white-05);
  border: 1px solid rgba(43,125,168,0.3);
  border-radius: var(--r-xl);
  padding: 40px;
  animation: float-img 5s ease-in-out infinite;
  backdrop-filter: blur(10px);
}
.academy-logo-wrap { margin-bottom: 32px; }
.academy-logo-text {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.5px;
}
.academy-logo-text em { color: var(--teal-light); font-style: normal; }
.academy-stats-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.asf-stat {
  background: var(--white-05);
  border: 1px solid var(--white-10);
  border-radius: var(--r-md);
  padding: 16px 12px;
  text-align: center;
}
.asf-num {
  display: block;
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 4px;
}
.asf-label { font-size: 0.72rem; color: var(--white-40); }

.academy-text .section-sub { max-width: 100%; margin-bottom: 32px; }
.academy-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 36px;
}
.af-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--white-80);
}
.af-check {
  width: 22px; height: 22px;
  background: rgba(76,201,240,0.15);
  border: 1px solid rgba(76,201,240,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--teal-light);
  flex-shrink: 0;
}
.academy-plan {
  background: linear-gradient(135deg, rgba(43,125,168,0.15), rgba(201,162,39,0.08));
  border: 1px solid rgba(43,125,168,0.3);
  border-radius: var(--r-xl);
  padding: 32px;
}
.plan-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  padding: 4px 16px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.plan-precio {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--teal-light);
  margin-bottom: 12px;
}
.plan-precio span { font-size: 1rem; color: var(--white-40); }
.academy-plan p { font-size: 0.9rem; color: var(--white-80); margin-bottom: 20px; line-height: 1.6; }

/* ═══════════════════════════════════════════════════════════
   CTA FINAL
═══════════════════════════════════════════════════════════ */
.cta-final {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
  text-align: center;
}
.cta-particles {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.cta-glow {
  position: absolute; border-radius: 50%;
  pointer-events: none; filter: blur(120px);
}
.cta-glow-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(43,125,168,0.2) 0%, transparent 70%);
  top: -200px; left: -200px;
}
.cta-glow-2 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201,162,39,0.15) 0%, transparent 70%);
  bottom: -100px; right: -100px;
}
.cta-inner { position: relative; z-index: 2; }
.cta-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 24px;
}
.cta-sub {
  font-size: 1.1rem;
  color: var(--white-80);
  max-width: 560px;
  margin: 0 auto 48px;
  line-height: 1.75;
}
.cta-actions { margin-bottom: 36px; }
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: var(--white);
  padding: 18px 40px;
  border-radius: 50px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  transition: var(--transition);
  box-shadow: 0 8px 30px rgba(37,211,102,0.35);
}
.btn-whatsapp:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 40px rgba(37,211,102,0.5);
}
.cta-garantia {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--white-40);
  font-size: 0.85rem;
}
.garantia-img { width: 36px; height: 36px; object-fit: contain; border-radius: 50%; }

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
.footer {
  background: rgba(0,0,0,0.4);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 64px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-logo { height: 48px; width: auto; margin-bottom: 20px; }
.footer-brand p { font-size: 0.88rem; color: var(--white-40); line-height: 1.7; }
.footer-links h4, .footer-certs h4 {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 20px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.88rem; color: var(--white-40); transition: color var(--transition); }
.footer-links a:hover { color: var(--white); }
.footer-cert-imgs { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-cert-imgs img { width: 52px; height: 52px; object-fit: contain; border-radius: var(--r-sm); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 24px;
  text-align: center;
}
.footer-bottom p { font-size: 0.82rem; color: var(--white-40); }

/* ═══════════════════════════════════════════════════════════
   ANIMACIONES DATA-ANIMATE (estado inicial)
═══════════════════════════════════════════════════════════ */
[data-animate] {
  opacity: 0;
  transform: translateY(40px);
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero { flex-direction: column; text-align: center; padding-top: 100px; }
  .hero-content { max-width: 100%; }
  .hero-stats { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-image-wrap { max-width: 100%; }
  .oportunidad-inner,
  .academy-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; position: fixed; top: 0; right: 0; bottom: 0; width: 280px; background: var(--navy-light); flex-direction: column; align-items: flex-start; padding: 80px 32px 32px; gap: 24px; transition: transform 0.4s ease; z-index: 999; transform: translateX(100%); }
  .nav-links.open { display: flex; transform: translateX(0); }
  .hamburger { display: flex; z-index: 1001; position: relative; }
  .productos-grid { grid-template-columns: 1fr; }
  .bonos-grid { grid-template-columns: 1fr; }
  .academy-features { grid-template-columns: 1fr; }
  .academy-stats-mini { grid-template-columns: repeat(3,1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .oportunidad-inner { gap: 40px; }
  .hero-title { font-size: clamp(2.2rem, 8vw, 3rem); }
  .rangos-table-wrap { border-radius: var(--r-md); }
}

@media (max-width: 480px) {
  .hero-stats { flex-direction: column; align-items: center; }
  .stat-divider { width: 40px; height: 1px; }
  .calificaciones { grid-template-columns: 1fr; }
  .bono-auto { flex-direction: column; text-align: center; padding: 28px; }
}
