/**
 * ============================================================
 * STYLES.CSS - Train the Trainers Landing Page v2
 * International Institute of Rinsa Inc.
 * Identidad Visual: Manual de Rinsa Inc.
 * ============================================================
 */

/* ─── VARIABLES CSS ──────────────────────────────────────── */
:root {
  /* Paleta Corporativa Rinsa */
  --blue: #0A3161;
  --blue-light: #0d3d7a;
  --blue-dark: #071f3d;
  --red: #B31942;
  --red-light: #d42255;
  --red-dark: #8a1333;
  --white: #F1F0EC;
  --white-pure: #FFFFFF;
  --black: #000000;
  --gray-dark: #1a1a1a;
  --gray-medium: #4f4f4f;
  --gray-light: #7a7a7a;
  --gray-line: #d6d6d6;
  --gray-bg: #f7f7f5;

  /* Funcionales */
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;

  /* Sombras */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
  --shadow-glow-blue: 0 0 30px rgba(10,49,97,0.3);
  --shadow-glow-red: 0 0 30px rgba(179,25,66,0.3);

  /* Transiciones */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Bordes */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --radius-full: 50%;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--gray-medium);
  background-color: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  line-height: 1.2;
  color: var(--gray-dark);
}

p { margin-bottom: 1rem; }
a { text-decoration: none; color: inherit; transition: all 0.3s var(--ease); }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea { font-family: inherit; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

/* ─── NAVEGACIÓN ─────────────────────────────────────────── */
#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: all 0.4s var(--ease);
}

#main-nav.scrolled {
  background: rgba(255,255,255,0.98);
  box-shadow: var(--shadow-md);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.nav-separator {
  color: var(--gray-line);
  font-size: 1.5rem;
  font-weight: 200;
}

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

.nav-link {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-medium);
  border-radius: var(--radius-sm);
  transition: all 0.3s var(--ease);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--blue);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.3s var(--ease);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 60%;
}

.nav-cta {
  background: var(--red) !important;
  color: var(--white-pure) !important;
  border-radius: var(--radius-xl) !important;
  padding: 0.5rem 1.25rem !important;
}

.nav-cta:hover {
  background: var(--red-dark) !important;
  transform: translateY(-1px);
}

.nav-cta::after { display: none !important; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-dark);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ─── HERO SECTION ───────────────────────────────────────── */
:root {
  --hero-bg-image: none;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image:
    linear-gradient(rgba(7, 31, 61, 0.68), rgba(7, 31, 61, 0.68)),
    var(--hero-bg-image),
    linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 40%, #0f4080 70%, var(--blue-dark) 100%);
  background-size: cover, cover, cover;
  background-position: center center, center center, center center;
  background-repeat: no-repeat, no-repeat, no-repeat;
  overflow: hidden;
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(179, 25, 66, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 30%, rgba(10, 49, 97, 0.18) 0%, transparent 50%);
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  padding: 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-xl);
  margin-bottom: 1.5rem;
  color: rgba(255,255,255,0.9);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse-dot 2s infinite;
}

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

.hero h1 {
  color: var(--white-pure);
  margin-bottom: 1rem;
}

.hero-title-line {
  display: block;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -1px;
}

.hero-title-accent {
  display: block;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--white-pure) 0%, #e8c4c4 50%, var(--red-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -2px;
}

.hero-subtitle {
  color: rgba(255,255,255,0.85);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}

.hero-description {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-xl);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
  transition: all 0.3s var(--ease);
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--red);
  color: var(--white-pure);
  border-color: var(--red);
}

.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-red);
}

.btn-accent {
  background: linear-gradient(135deg, var(--red), var(--red-light));
  color: var(--white-pure);
  border-color: transparent;
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-red);
}

.btn-outline {
  background: transparent;
  color: var(--white-pure);
  border-color: rgba(255,255,255,0.4);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}

.btn-outline-dark:hover {
  background: var(--blue);
  color: var(--white-pure);
  transform: translateY(-2px);
}

.btn-block { width: 100%; justify-content: center; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1rem; }

.btn-glow {
  animation: btn-glow-pulse 3s infinite;
}

@keyframes btn-glow-pulse {
  0%, 100% { box-shadow: 0 0 5px rgba(179,25,66,0.3); }
  50% { box-shadow: 0 0 25px rgba(179,25,66,0.5), 0 0 50px rgba(179,25,66,0.2); }
}

/* Countdown */
.hero-countdown {
  margin-top: 1rem;
}

.countdown-label-top {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.countdown-label-top strong { color: var(--white-pure); }

.countdown-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.countdown-item {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.25rem;
  min-width: 75px;
  text-align: center;
}

.countdown-number {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: var(--white-pure);
  line-height: 1;
}

.countdown-unit {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

.countdown-separator {
  color: rgba(255,255,255,0.3);
  font-size: 1.5rem;
  font-weight: 300;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: float 3s ease-in-out infinite;
}

.scroll-indicator span {
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  position: relative;
}

.scroll-wheel {
  width: 3px;
  height: 8px;
  background: rgba(255,255,255,0.6);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-wheel 2s infinite;
}

@keyframes scroll-wheel {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}

/* ─── SECTION STYLES ─────────────────────────────────────── */
.section-light { background: var(--white); }

.section-dark {
  background: linear-gradient(180deg, var(--blue-dark) 0%, var(--blue) 100%);
  color: var(--white-pure);
}

.section-gradient {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 50%, #0f4080 100%);
  color: var(--white-pure);
}

.section-cta {
  background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 50%, var(--red-light) 100%);
  color: var(--white-pure);
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--red);
  margin-bottom: 0.75rem;
}

.section-tag.light { color: rgba(255,255,255,0.7); }

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 900;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

.section-title.light { color: var(--white-pure); }

.title-line {
  width: 60px;
  height: 4px;
  background: var(--red);
  border-radius: 2px;
  margin-top: 0.5rem;
}

.title-line.center { margin-left: auto; margin-right: auto; }
.title-line.light { background: rgba(255,255,255,0.5); }

.section-subtitle {
  font-size: 1
rem;
  color: var(--gray-medium);
  max-width: 650px;
  margin: 1rem auto 0;
  line-height: 1.7;
}

.section-subtitle.light { color: rgba(255,255,255,0.7); }

/* ─── PROGRAMA SECTION ───────────────────────────────────── */
.programa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.programa-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--gray-medium);
}

.programa-text strong { color: var(--gray-dark); }

.programa-features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: var(--white-pure);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-line);
  transition: all 0.3s var(--ease);
}

.feature-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateX(5px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-pure);
  font-size: 1.1rem;
}

.feature-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gray-dark);
  margin-bottom: 0.25rem;
}

.feature-info p {
  font-size: 0.85rem;
  color: var(--gray-light);
  margin: 0;
  line-height: 1.5;
}

/* ─── PERFILES SECTION ───────────────────────────────────── */
.perfiles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.perfil-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.4s var(--ease);
  backdrop-filter: blur(10px);
}

.perfil-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-5px);
}

.perfil-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--red), var(--red-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.5rem;
  color: var(--white-pure);
}

.perfil-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white-pure);
  margin-bottom: 0.75rem;
}

.perfil-card p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin: 0;
}

.requisito-note {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  max-width: 700px;
  margin: 0 auto;
}

.requisito-note i {
  color: var(--red-light);
  font-size: 1.25rem;
  margin-top: 2px;
}

.requisito-note p {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.6;
}

/* ─── SESIONES / TIMELINE ────────────────────────────────── */
.sesiones-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.sesion-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.5rem;
  position: relative;
  cursor: pointer;
}

.sesion-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 50px;
}

.sesion-number {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background: var(--white-pure);
  border: 3px solid var(--gray-line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--gray-light);
  transition: all 0.4s var(--ease);
  z-index: 2;
}

.sesion-item.active .sesion-number,
.sesion-item:hover .sesion-number {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white-pure);
  box-shadow: var(--shadow-glow-blue);
}

.sesion-line {
  width: 3px;
  flex: 1;
  background: var(--gray-line);
  margin-top: 4px;
}

.sesion-item:last-child .sesion-line { display: none; }

.sesion-content {
  flex: 1;
  background: var(--white-pure);
  border: 1px solid var(--gray-line);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: all 0.4s var(--ease);
}

.sesion-item.active .sesion-content,
.sesion-item:hover .sesion-content {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
}

.sesion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.sesion-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-dark);
  margin: 0;
}

.sesion-fecha {
  font-size: 0.75rem;
  color: var(--gray-light);
  display: flex;
  align-items: center;
  gap: 4px;
}

.sesion-desc {
  font-size: 0.88rem;
  color: var(--gray-medium);
  line-height: 1.6;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease), opacity 0.3s var(--ease);
  opacity: 0;
}

.sesion-item.active .sesion-desc {
  max-height: 300px;
  opacity: 1;
  margin-top: 0.75rem;
}

.sesion-hito {
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--gray-bg);
  border-left: 3px solid var(--red);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.82rem;
  color: var(--gray-medium);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.5s var(--ease);
}

.sesion-item.active .sesion-hito {
  max-height: 200px;
  opacity: 1;
}

.sesion-hito strong {
  color: var(--red);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sesion-toggle {
  color: var(--gray-light);
  font-size: 0.8rem;
  transition: transform 0.3s var(--ease);
}

.sesion-item.active .sesion-toggle {
  transform: rotate(180deg);
  color: var(--blue);
}

/* ─── CERTIFICACIONES ────────────────────────────────────── */
.cert-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.cert-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all 0.4s var(--ease);
}

.cert-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-5px);
}

.cert-badge {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--blue-light), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.5rem;
  color: var(--white-pure);
}

.cert-badge.accent {
  background: linear-gradient(135deg, var(--red), var(--red-light));
}

.cert-type {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--red-light);
  margin-bottom: 0.75rem;
}

.cert-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white-pure);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.cert-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

.cert-emisor {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.cert-emisor img {
  height: 30px;
  margin: 0 auto;
  filter: brightness(0) invert(1);
  opacity: 0.7;
}

/* Cert Preview */
.cert-preview {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-preview-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  max-width: 320px;
}

.cert-preview-frame img {
  width: 100%;
  display: block;
}

.cert-preview-shine {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.1) 50%, transparent 60%);
  animation: shine 4s infinite;
}

@keyframes shine {
  0% { transform: translateX(-100%) translateY(-100%); }
  100% { transform: translateX(100%) translateY(100%); }
}

/* ─── METODOLOGÍA ────────────────────────────────────────── */
.metodo-content {
  max-width: 900px;
  margin: 0 auto;
}

.metodo-text {
  text-align: center;
  margin-bottom: 3rem;
}

.metodo-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--gray-medium);
}

.metodo-carousel {
  position: relative;
  overflow: hidden;
}

.metodo-track {
  display: flex;
  transition: transform 0.5s var(--ease);
}

.metodo-slide {
  min-width: 100%;
  padding: 0 1rem;
}

.metodo-card {
  background: var(--white-pure);
  border: 1px solid var(--gray-line);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  text-align: center;
  transition: all 0.3s var(--ease);
}

.metodo-card-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--white-pure);
}

.metodo-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-dark);
  margin-bottom: 0.75rem;
}

.metodo-card p {
  font-size: 0.95rem;
  color: var(--gray-medium);
  line-height: 1.7;
  margin: 0;
}

.metodo-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.metodo-prev, .metodo-next {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 2px solid var(--gray-line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-medium);
  transition: all 0.3s var(--ease);
}

.metodo-prev:hover, .metodo-next:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(10,49,97,0.05);
}

.metodo-dots {
  display: flex;
  gap: 8px;
}

.metodo-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: var(--gray-line);
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.metodo-dot.active {
  background: var(--blue);
  width: 28px;
  border-radius: 5px;
}

/* ─── PLATAFORMA ─────────────────────────────────────────── */
.plataforma-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.plat-feature {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.4s var(--ease);
}

.plat-feature:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-5px);
}

.plat-feature i {
  font-size: 2rem;
  color: var(--red-light);
  margin-bottom: 1rem;
  display: block;
}

.plat-feature h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white-pure);
  margin-bottom: 0.5rem;
}

.plat-feature p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  margin: 0;
}

/* ─── TESTIMONIOS ────────────────────────────────────────── */
.testimonios-slider {
  max-width: 700px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.testimonios-track {
  display: flex;
  transition: transform 0.5s var(--ease);
}

.testimonio-slide {
  min-width: 100%;
  padding: 0 1rem;
}

.testimonio-card {
  background: var(--white-pure);
  border: 1px solid var(--gray-line);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  position: relative;
}

.testimonio-card::before {
  content: '\201C';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 4rem;
  color: var(--blue);
  opacity: 0.1;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonio-text {
  font-size: 1rem;
  color: var(--gray-medium);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonio-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.testimonio-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-pure);
  font-size: 1.25rem;
}

.testimonio-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gray-dark);
  margin: 0;
}

.testimonio-info p {
  font-size: 0.8rem;
  color: var(--gray-light);
  margin: 0;
}

.testimonios-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.test-prev, .test-next {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 2px solid var(--gray-line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-medium);
  transition: all 0.3s var(--ease);
}

.test-prev:hover, .test-next:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.test-dots {
  display: flex;
  gap: 8px;
}

.test-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: var(--gray-line);
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.test-dot.active {
  background: var(--blue);
  width: 28px;
  border-radius: 5px;
}

/* ─── INVERSIÓN ──────────────────────────────────────────── */
.inversion-card {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.inversion-price {
  padding: 2.5rem;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.price-label {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

.price-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
}

.price-symbol {
  font-size: 1.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
}

.price-number {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--white-pure);
  letter-spacing: -2px;
}

.price-currency {
  font-size: 1.25rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  margin-left: 0.25rem;
}

.inversion-includes {
  padding: 2.5rem;
}

.inversion-includes h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  margin-bottom: 1.5rem;
  text-align: center;
}

.includes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.include-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  transition: background 0.3s var(--ease);
}

.include-item:hover {
  background: rgba(255,255,255,0.05);
}

.include-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: var(--radius-sm);
  background: rgba(179,25,66,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red-light);
  font-size: 0.85rem;
}

.include-text h5 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white-pure);
  margin: 0 0 0.15rem;
}

.include-text p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  margin: 0;
  line-height: 1.4;
}

/* ─── OPCIONES DE ACCESO ─────────────────────────────────── */
.acceso-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 300px));
  justify-content: center; /* 🔥 esto centra las tarjetas */
  gap: 2rem;
  margin-bottom: 3rem;
}

.acceso-card {
  background: var(--white-pure);
  border: 2px solid var(--gray-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s var(--ease);
  position: relative;
}

.acceso-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.acceso-card.featured {
  border-color: var(--red);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}

.acceso-card.featured:hover {
  transform: scale(1.03) translateY(-5px);
}

.acceso-card-ribbon {
  position: absolute;
  top: 16px;
  right: -32px;
  background: var(--red);
  color: var(--white-pure);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.3rem 2.5rem;
  transform: rotate(45deg);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}

.acceso-card-header {
  padding: 1.75rem 1.5rem;
  text-align: center;
}

.acceso-card-header.regular {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
}

.acceso-card-header.beca {
  background: linear-gradient(135deg, var(--red-dark), var(--red));
}

.acceso-card-header.codigo {
  background: linear-gradient(135deg, #1a1a1a, #333);
}

.acceso-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  font-size: 1.5rem;
  color: var(--white-pure);
}

.acceso-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.7);
}

.acceso-card-body {
  padding: 2rem 1.5rem;
  text-align: center;
}

.acceso-card-body h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gray-dark);
  margin-bottom: 0.75rem;
}

.acceso-card-body p {
  font-size: 0.88rem;
  color: var(--gray-medium);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.acceso-price {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--blue);
  margin-bottom: 1.5rem;
}

.beca-price span {
  font-size: 1rem;
  font-weight: 700;
  color: var(--red);
}

.beca-price strong { font-size: 1.5rem; }

.codigo-price span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-medium);
}

.beca-logos {
  margin-bottom: 1.25rem;
}

.beca-logos img {
  height: 35px;
  margin: 0 auto;
  opacity: 0.7;
}

/* Becas Counter */
.becas-counter {
  max-width: 600px;
  margin: 0 auto;
}

.becas-counter-inner {
  background: var(--white-pure);
  border: 1px solid var(--gray-line);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.becas-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--red), var(--red-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-pure);
  font-size: 1.25rem;
}

.becas-info {
  flex: 1;
}

.becas-number {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--red);
  display: block;
  line-height: 1;
}

.becas-text {
  font-size: 0.8rem;
  color: var(--gray-light);
}

.becas-bar {
  width: 100%;
  height: 6px;
  background: var(--gray-bg);
  border-radius: 3px;
  overflow: hidden;
}

.becas-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--red-light));
  border-radius: 3px;
  transition: width 1.5s var(--ease);
  width: 0%;
}

/* ─── MODAL ──────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--ease);
  padding: 1rem;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: var(--white-pure);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s var(--ease-bounce);
}

.modal-overlay.active .modal-container {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--gray-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-medium);
  font-size: 1rem;
  z-index: 10;
  transition: all 0.3s var(--ease);
}

.modal-close:hover {
  background: var(--gray-line);
  color: var(--gray-dark);
}

.modal-state {
  display: none;
  padding: 2.5rem;
}

.modal-state.active {
  display: block;
}

.modal-header {
  text-align: center;
  margin-bottom: 2rem;
}

.modal-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.5rem;
  color: var(--white-pure);
}

.modal-header h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gray-dark);
  margin-bottom: 0.5rem;
}

.modal-header p {
  font-size: 0.9rem;
  color: var(--gray-medium);
  line-height: 1.6;
}

/* Form */
.modal-form { display: flex; flex-direction: column; gap: 1.25rem; }

.form-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-dark);
  margin-bottom: 0.4rem;
}

.form-group label i {
  color: var(--blue);
  font-size: 0.8rem;
}

.form-group input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid var(--gray-line);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--gray-dark);
  background: var(--white);
  transition: all 0.3s var(--ease);
  outline: none;
}

.form-group input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(10,49,97,0.1);
}

.form-group input::placeholder {
  color: var(--gray-light);
}

.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid var(--gray-line);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--gray-dark);
  background: var(--white);
  transition: all 0.3s var(--ease);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.form-group select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(10,49,97,0.1);
}

.phone-input-wrap {
  display: flex;
  align-items: stretch;
  width: 100%;
  border: 2px solid var(--gray-line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  transition: all 0.3s var(--ease);
}

.phone-input-wrap:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(10,49,97,0.1);
}

.phone-prefix {
  min-width: 74px;
  padding: 0.85rem 0.9rem;
  background: var(--gray-bg);
  color: var(--blue);
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--gray-line);
  white-space: nowrap;
}

.phone-input-wrap input {
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  flex: 1;
}

.phone-input-wrap input:focus {
  border: none !important;
  box-shadow: none !important;
}

@media (max-width: 480px) {
  .phone-prefix {
    min-width: 68px;
    padding: 0.85rem 0.75rem;
    font-size: 0.9rem;
  }
}

/* Loading State */
#modal-loading-state {
  position: relative;
  min-height: 400px;
  overflow: hidden;
}

#matrix-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.loading-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: 2rem;
}

.loading-spinner {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 2rem;
}

.spinner-ring {
  position: absolute;
  border: 3px solid transparent;
  border-radius: var(--radius-full);
}

.spinner-ring:nth-child(1) {
  width: 100%;
  height: 100%;
  border-top-color: var(--blue);
  animation: spin 1.5s linear infinite;
}

.spinner-ring:nth-child(2) {
  width: 75%;
  height: 75%;
  top: 12.5%;
  left: 12.5%;
  border-right-color: var(--red);
  animation: spin 1.2s linear infinite reverse;
}

.spinner-ring:nth-child(3) {
  width: 50%;
  height: 50%;
  top: 25%;
  left: 25%;
  border-bottom-color: var(--blue-light);
  animation: spin 0.9s linear infinite;
}

.spinner-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
  color: var(--blue);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-dark);
  margin-bottom: 0.5rem;
}

.loading-status {
  font-size: 0.88rem;
  color: var(--gray-medium);
  margin-bottom: 1.5rem;
}

.loading-progress {
  width: 100%;
  height: 4px;
  background: var(--gray-bg);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.loading-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--red));
  border-radius: 2px;
  width: 0%;
  transition: width 0.5s var(--ease);
}

.loading-warning {
  font-size: 0.78rem;
  color: var(--warning);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Success State */
.success-content, .vip-content, .error-content {
  text-align: center;
}

.success-icon-wrap {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
}

.success-circle {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-full);
  background: rgba(16,185,129,0.1);
  animation: success-pulse 2s infinite;
}

@keyframes success-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0; }
}

.success-icon {
  position: relative;
  font-size: 3.5rem;
  color: var(--success);
  z-index: 1;
  line-height: 80px;
}

.success-content h3, .vip-content h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gray-dark);
  margin-bottom: 1rem;
}

.success-content p, .vip-content p {
  font-size: 0.95rem;
  color: var(--gray-medium);
  line-height: 1.7;
}

.success-detail {
  font-size: 0.85rem !important;
  color: var(--gray-light) !important;
  margin-bottom: 1.5rem;
}

/* VIP State */
.vip-icon-wrap {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, #f59e0b, #eab308);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: vip-glow 2s infinite;
}

@keyframes vip-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(245,158,11,0.3); }
  50% { box-shadow: 0 0 40px rgba(245,158,11,0.6); }
}

.vip-icon {
  font-size: 2rem;
  color: var(--white-pure);
}

/* Error State */
.error-icon-wrap {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
}

.error-icon {
  font-size: 3.5rem;
  color: var(--error);
  line-height: 80px;
}

.error-content h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gray-dark);
  margin-bottom: 1rem;
}

.error-content p {
  font-size: 0.95rem;
  color: var(--gray-medium);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.error-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

#confetti-canvas, #confetti-canvas-vip {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.success-content, .vip-content {
  position: relative;
  z-index: 1;
}

/* ─── CTA FINAL ──────────────────────────────────────────── */
.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 900;
  color: var(--white-pure);
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.cta-actions {
  margin-bottom: 2.5rem;
}

.cta-actions .btn-primary {
  background: var(--white-pure);
  color: var(--red);
  border-color: var(--white-pure);
}

.cta-actions .btn-primary:hover {
  background: transparent;
  color: var(--white-pure);
  border-color: var(--white-pure);
}

.cta-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0.6;
}

.cta-logos img {
  height: 30px;
  filter: brightness(0) invert(1);
}

/* ─── FOOTER ─────────────────────────────────────────────── */
#footer {
  background: var(--gray-dark);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
  height: 36px;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.footer-brand p {
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.footer-tagline {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.footer-links h4, .footer-contact h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white-pure);
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.3s var(--ease);
}

.footer-links a:hover {
  color: var(--white-pure);
}

.footer-contact p {
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-contact i {
  color: var(--red-light);
  width: 16px;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: all 0.3s var(--ease);
}

.footer-social a:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white-pure);
}

.footer-bottom {
  text-align: center;
  padding: 1.5rem 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .programa-grid { grid-template-columns: 1fr; gap: 2rem; }
  .cert-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .cert-preview { order: -1; }
  .perfiles-grid { grid-template-columns: repeat(2, 1fr); }
  .plataforma-features { grid-template-columns: repeat(2, 1fr); }
  .acceso-options { grid-template-columns: repeat(auto-fit, minmax(280px, 300px));justify-content: center; }
  .acceso-card.featured { transform: none; }
  .acceso-card.featured:hover { transform: translateY(-5px); }
  .includes-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white-pure);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 0.5rem;
    box-shadow: var(--shadow-xl);
    transition: right 0.4s var(--ease);
    z-index: 999;
  }

  .nav-links.active { right: 0; }

  .nav-link {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
  }

  .section { padding: 4rem 0; }
  .section-header { margin-bottom: 2.5rem; }
  .container { padding: 0 1.25rem; }

  .hero-content { padding: 1rem; }
  .countdown-item { min-width: 60px; padding: 0.5rem 0.75rem; }
  .countdown-number { font-size: 1.5rem; }

  .perfiles-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .plataforma-features { grid-template-columns: 1fr; }

  .sesion-item { gap: 1rem; }
  .sesion-marker { min-width: 40px; }
  .sesion-number { width: 40px; height: 40px; font-size: 0.8rem; }

  .modal-container { max-width: 100%; margin: 0.5rem; }
  .modal-state { padding: 1.5rem; }

  .error-actions { flex-direction: column; }
}

/* ─── ANIMACIONES ADICIONALES ────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Mejora visual para la sección de sesiones */
.sesion-item {
  animation: fadeInUp 0.5s ease forwards;
}

/* Efecto de hover mejorado para tarjetas de acceso */
.acceso-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(10,49,97,0.02) 100%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
  z-index: 0;
}

.acceso-card:hover::before {
  opacity: 1;
}

/* Mejora visual para el scroll indicator */
.scroll-indicator {
  cursor: pointer;
}

/* Mejora para el badge del hero */
.hero-badge {
  animation: fadeIn 1s ease 0.5s both;
}

/* Estilo para el link activo en el nav */
#main-nav.scrolled .nav-link.active {
  color: var(--blue);
}

/* Mejora para la barra de becas */
.becas-bar-fill {
  background: linear-gradient(90deg, var(--red), var(--red-light), var(--red));
  background-size: 200% 100%;
  animation: shimmer 2s infinite linear;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@media (max-width: 480px) {
  .hero-title-line { font-size: 1.75rem; }
  .hero-title-accent { font-size: 2rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .countdown-grid { gap: 0.25rem; }
  .countdown-item { min-width: 55px; }
  .price-number { font-size: 2.5rem; }
  .nav-brand { gap: 6px; }
  .nav-logo { height: 24px; }
}
