/* ============================================
   SISTEMA DE DISEÑO - VARIABLES CSS
   Rebranding: Fusión Alonbalon x CENAFE PRO
   ============================================ */
:root {
  /* ===== BASE ALONBALON ===== */
  --ab-dark-blue: #031442;
  --ab-card-blue: #051b54;

  /* ===== BASE CENAFE (Integración) ===== */
  --cenafe-dark: #1c3f1f;
  --cenafe-mid: #5d9649;
  --cenafe-light: #aad057;

  /* ===== FONDOS Y GRADIENTES ===== */
  --bg-main: linear-gradient(
    135deg,
    var(--ab-dark-blue) 0%,
    var(--cenafe-dark) 100%
  );
  --bg-card: rgba(5, 27, 84, 0.6);
  --bg-card-hover: rgba(28, 63, 31, 0.4);

  /* ===== COLORES DE ACENTO ===== */
  --accent-primary: #aad057; /* Verde lima - Color POP principal */
  --accent-secondary: #5d9649; /* Verde medio - Bordes y detalles */
  --accent-glow: #aad057;

  /* Legacy (para compatibilidad) */
  --accent-cyan: #5d9649;
  --accent-purple: #1c3f1f;
  --accent-cenafe: #aad057;

  /* ===== TEXTOS ===== */
  --text-white: #ffffff;
  --text-gray: #e2e8f0;
  --text-dark: #1c3f1f;

  /* ===== GRADIENTES ===== */
  --gradient-glow: linear-gradient(
    135deg,
    var(--cenafe-light),
    var(--cenafe-mid)
  );
  --gradient-cenafe: linear-gradient(
    135deg,
    var(--cenafe-light),
    var(--cenafe-mid)
  );
  --gradient-text: linear-gradient(
    135deg,
    var(--text-white) 0%,
    var(--cenafe-light) 100%
  );
  --gradient-hero-glow: linear-gradient(
    135deg,
    rgba(170, 208, 87, 0.3),
    rgba(93, 150, 73, 0.2)
  );

  /* ===== SOMBRAS ===== */
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 40px rgba(170, 208, 87, 0.4);
  --shadow-glow-cyan: 0 0 40px rgba(170, 208, 87, 0.4);
  --shadow-glow-purple: 0 0 60px rgba(28, 63, 31, 0.3);
  --shadow-glow-cenafe: 0 0 40px rgba(170, 208, 87, 0.5);

  /* ===== TIPOGRAFÍA ===== */
  --font-primary: "Poppins", sans-serif;

  /* ===== ESPACIADO ===== */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 5rem;

  /* ===== BORDES ===== */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;

  /* ===== TRANSICIONES ===== */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  background: var(--bg-main);
  background-attachment: fixed;
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

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

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

ul,
ol {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--spacing-sm) 0;
  background: rgba(3, 20, 66, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(170, 208, 87, 0.15);
  transition: var(--transition-normal);
}

.navbar.scrolled {
  background: rgba(3, 20, 66, 0.95);
  border-bottom-color: rgba(93, 150, 73, 0.3);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-cenafe {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cenafe-light);
  letter-spacing: -0.3px;
}

.brand-alonbalon {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: -0.3px;
}

.brand-separator {
  font-size: 1.1rem;
  color: var(--text-gray);
  opacity: 0.5;
  font-weight: 400;
}

/* Menú de navegación */
.navbar-menu {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.nav-link {
  color: var(--text-gray);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-normal);
  padding: 0.5rem 0;
}

.nav-link:hover {
  color: var(--cenafe-light);
}

.nav-login-btn {
  color: var(--text-white);
  font-size: 0.85rem;
  font-weight: 600;
  background: transparent;
  border: 2px solid var(--cenafe-light);
  border-radius: 6px;
  padding: 0.4rem 1rem;
  transition: var(--transition-normal);
  letter-spacing: 0.03em;
  text-decoration: none;
}

.nav-login-btn:hover {
  background: var(--cenafe-light);
  color: var(--cenafe-dark);
}

/* Hamburguesa - oculta en desktop */
.navbar-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-white);
  transition: var(--transition-normal);
}

/* Móvil: menú hamburguesa */
@media (max-width: 768px) {
  .navbar-toggle {
    display: flex;
  }

  .navbar-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background: rgba(3, 20, 66, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-lg);
    transition: right 0.3s ease;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  }

  .navbar-menu.active {
    right: 0;
  }

  .nav-link {
    font-size: 1.1rem;
  }

  .navbar-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .navbar-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }

  .navbar-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .navbar-menu .btn-outline-cyan {
    margin-top: var(--spacing-md);
  }
}

/* Desktop: ocultar botón dentro del menú */
@media (min-width: 769px) {
  .navbar-menu .btn-outline-cyan {
    display: none;
  }
}

.btn-outline-cyan {
  padding: 0.6rem 1.2rem;
  border: 2px solid var(--cenafe-light);
  border-radius: var(--radius-xl);
  color: var(--cenafe-light);
  font-weight: 600;
  font-size: 0.875rem;
  transition: var(--transition-normal);
}

.btn-outline-cyan:hover {
  background: var(--cenafe-light);
  color: var(--cenafe-dark);
  box-shadow: var(--shadow-glow);
}

/* ============================================
   HERO SECTION - Rebranded con Imagen de Fondo
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(80px + var(--spacing-xl)) var(--spacing-md) var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

/* Imagen de Fondo del Hero */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Overlay oscuro para legibilidad del texto */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(3, 20, 66, 0.85) 0%,
    rgba(28, 63, 31, 0.75) 50%,
    rgba(3, 20, 66, 0.85) 100%
  );
  z-index: 2;
}

.hero-wrapper {
  max-width: 800px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 3;
  padding: 0 var(--spacing-md);
}

.hero-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Co-Branding Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(170, 208, 87, 0.4);
  border-radius: var(--radius-xl);
  padding: 0.6rem 1.5rem;
  margin-bottom: var(--spacing-lg);
}

.hero-badge-text {
  font-size: 1rem;
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-badge-text .brand-cenafe {
  color: var(--cenafe-light);
  font-weight: 700;
  font-size: 1rem;
}

.hero-badge-text .separator {
  color: var(--text-gray);
  opacity: 0.5;
  font-weight: 400;
  font-size: 1rem;
}

.hero-badge-text .brand-alonbalon {
  color: var(--text-white);
  font-weight: 700;
  font-size: 1rem;
}

/* Hero Headline con Sombra */
.hero-headline {
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  letter-spacing: -0.5px;
  color: var(--text-white);
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.6),
    0 4px 20px rgba(0, 0, 0, 0.4);
}

.highlight-cyan {
  color: var(--cenafe-light);
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(170, 208, 87, 0.4);
}

.highlight-cenafe {
  color: var(--cenafe-light);
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(170, 208, 87, 0.4);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: var(--text-gray);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  margin-bottom: var(--spacing-lg);
  max-width: 650px;
  line-height: 1.7;
}

/* Imagen collage en el Hero */
.hero-collage {
  width: 100%;
  max-width: 440px;
  margin-bottom: var(--spacing-lg);
}

.hero-collage img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.4));
}

@media (min-width: 768px) {
  .hero-collage {
    max-width: 560px;
  }
}

/* ============================================
   SECCIÓN OFERTA DESTACADA
   ============================================ */
.offer-section {
  padding: var(--spacing-xxl) 0;
  background: #ffffff;
}

.offer-section .section-title {
  color: var(--cenafe-dark);
}

.offer-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.offer-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-xl);
  max-width: 900px;
  width: 100%;
}

@media (min-width: 768px) {
  .offer-wrapper {
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }
}

.offer-image {
  flex-shrink: 0;
}

.offer-image img {
  width: 200px;
  height: auto;
}

@media (min-width: 768px) {
  .offer-image img {
    width: 280px;
  }
}

.offer-section .offer-box {
  margin-bottom: 0;
  flex: 1;
  background: linear-gradient(135deg, var(--cenafe-dark), #2a5a2e);
  border: none;
  box-shadow: 0 10px 40px rgba(28, 63, 31, 0.3);
  animation: none;
}

.offer-section .offer-box::before {
  background: linear-gradient(135deg, rgba(170, 208, 87, 0.15), transparent);
}

.offer-section .section-title {
  color: var(--ab-dark-blue);
  margin-bottom: var(--spacing-xl);
}

.offer-wrapper {
  gap: var(--spacing-xxl);
}

/* ============================================
   BLOQUE ARTÍCULO / BLOG
   ============================================ */
.blog-section {
  padding: var(--spacing-xxl) 0;
  background: rgba(3, 20, 66, 0.35);
}

.blog-article {
  max-width: 860px;
  margin: 0 auto;
  background: rgba(5, 27, 84, 0.45);
  border: 1px solid rgba(170, 208, 87, 0.2);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-card);
}

.blog-kicker {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-xl);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--cenafe-light);
  background: rgba(170, 208, 87, 0.14);
  border: 1px solid rgba(170, 208, 87, 0.25);
  margin-bottom: var(--spacing-md);
}

.blog-article .section-title {
  text-align: left;
  margin-bottom: var(--spacing-md);
}

.blog-article h3 {
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  color: var(--cenafe-light);
  margin: var(--spacing-lg) 0 var(--spacing-sm);
}

.blog-article p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-gray);
  margin-bottom: var(--spacing-sm);
}

.blog-closing {
  color: var(--text-white);
  font-weight: 600;
}

/* Caja de Oferta - Rebranded */
.offer-box {
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(170, 208, 87, 0.4);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  max-width: 700px;
  width: 100%;
  box-shadow:
    0 0 30px rgba(170, 208, 87, 0.15),
    inset 0 0 60px rgba(170, 208, 87, 0.03);
  animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%,
  100% {
    box-shadow:
      0 0 30px rgba(170, 208, 87, 0.15),
      inset 0 0 60px rgba(170, 208, 87, 0.03);
    border-color: rgba(170, 208, 87, 0.4);
  }
  50% {
    box-shadow:
      0 0 50px rgba(170, 208, 87, 0.3),
      inset 0 0 80px rgba(170, 208, 87, 0.05);
    border-color: rgba(170, 208, 87, 0.6);
  }
}

.offer-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(170, 208, 87, 0.08), transparent);
  pointer-events: none;
}

.offer-main {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  color: var(--text-white);
  line-height: 1.8;
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.offer-main strong {
  color: var(--cenafe-light);
  font-weight: 700;
}

.offer-main .highlight {
  color: var(--cenafe-light);
  font-weight: 700;
}

/* Lista de beneficios en oferta */
.offer-benefits {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
  position: relative;
  z-index: 1;
}

.offer-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 0.75rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.offer-benefits li i {
  color: var(--cenafe-light);
  font-size: 1.1rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.offer-closing {
  margin-top: 1.5rem;
  font-style: italic;
  text-align: center;
}

/* CTA Principal con Glow - Rebranded */
.btn-cta-glow {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: 1rem 2.5rem;
  background: var(--cenafe-light);
  color: var(--cenafe-dark);
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: var(--radius-xl);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
}

.btn-cta-glow::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: var(--transition-slow);
}

.btn-cta-glow:hover {
  transform: translateY(-3px);
  background: #b8dc62;
  box-shadow: var(--shadow-glow);
}

.btn-cta-glow:hover::before {
  left: 100%;
}

.btn-cta-glow i {
  font-size: 0.75rem;
  margin-left: -4px;
}

.btn-cta-glow i {
  font-size: 0.75rem;
  margin-left: -4px;
}

/* Hero Glow Effects - Rebranded */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.hero-glow-1 {
  width: 500px;
  height: 500px;
  background: var(--cenafe-light);
  opacity: 0.12;
  top: 10%;
  right: -10%;
  animation: float 8s ease-in-out infinite;
}

.hero-glow-2 {
  width: 400px;
  height: 400px;
  background: var(--cenafe-dark);
  opacity: 0.25;
  bottom: 10%;
  left: -5%;
  animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(30px, -30px);
  }
}

/* ============================================
   SECCIONES GENERALES
   ============================================ */
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--spacing-sm);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-gray);
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

/* ============================================
   GRID DE VALOR - 7 PILARES
   ============================================ */
.value-section {
  padding: var(--spacing-xxl) 0;
  position: relative;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: var(--spacing-md);
}

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

@media (min-width: 1024px) {
  .value-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.value-card {
  background: rgba(5, 27, 84, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(170, 208, 87, 0.15);
  border-radius: var(--radius-md);
  padding: var(--spacing-lg);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-glow);
  opacity: 0;
  transition: var(--transition-normal);
}

.value-card:hover {
  transform: translateY(-8px);
  border-color: var(--cenafe-mid);
  box-shadow:
    var(--shadow-card),
    0 0 30px rgba(170, 208, 87, 0.15);
}

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

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    rgba(170, 208, 87, 0.2),
    rgba(93, 150, 73, 0.2)
  );
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-md);
}

.card-icon i {
  font-size: 1.5rem;
  background: var(--gradient-glow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.value-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

.value-card p {
  font-size: 0.95rem;
  color: var(--text-gray);
  line-height: 1.7;
}

/* Tarjeta Destacada */
.card-highlighted {
  background: rgba(28, 63, 31, 0.4);
  border-color: var(--cenafe-mid);
}

.card-highlighted::before {
  background: var(--gradient-cenafe);
  opacity: 1;
}

.card-highlighted .card-icon {
  background: linear-gradient(
    135deg,
    rgba(170, 208, 87, 0.3),
    rgba(93, 150, 73, 0.25)
  );
}

.card-highlighted .card-icon i {
  background: var(--gradient-cenafe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.card-highlighted:hover {
  border-color: var(--cenafe-light);
  box-shadow: var(--shadow-card), var(--shadow-glow-cenafe);
}

.card-badge {
  position: absolute;
  top: var(--spacing-sm);
  right: var(--spacing-sm);
  background: var(--cenafe-light);
  color: var(--cenafe-dark);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-xl);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================
   SECCIÓN EXALUMNOS
   ============================================ */
.alumni-section {
  padding: 0 0 var(--spacing-xxl);
}

.alumni-card {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(1.4rem, 2.5vw, 2rem);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(170, 208, 87, 0.25);
  background: linear-gradient(
    135deg,
    rgba(28, 63, 31, 0.45),
    rgba(5, 27, 84, 0.4)
  );
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.alumni-card h2 {
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  margin-bottom: var(--spacing-sm);
}

.alumni-card p {
  color: var(--text-gray);
  line-height: 1.75;
}

.alumni-inline-cta {
  background: transparent;
  border: none;
  color: var(--cenafe-light);
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0;
  margin: 0 0.2rem;
}

.alumni-inline-cta:hover {
  color: #d0ec84;
}

/* ============================================
   SECCIÓN TESTIMONIO / AUTORIDAD
   ============================================ */
.testimonial-section {
  padding: var(--spacing-xxl) 0;
  position: relative;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-xl);
  background: linear-gradient(
    135deg,
    rgba(28, 63, 31, 0.3),
    rgba(5, 27, 84, 0.4)
  );
  border: 1px solid rgba(170, 208, 87, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .testimonial-card {
    flex-direction: row;
    padding: var(--spacing-xl) var(--spacing-xxl);
  }
}

.testimonial-image {
  flex-shrink: 0;
}

.testimonial-image img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid var(--cenafe-mid);
  box-shadow: 0 0 30px rgba(170, 208, 87, 0.2);
}

@media (min-width: 768px) {
  .testimonial-image img {
    width: 180px;
    height: 180px;
  }
}

.testimonial-content {
  flex: 1;
  position: relative;
  text-align: center;
}

@media (min-width: 768px) {
  .testimonial-content {
    text-align: left;
  }
}

.quote-icon {
  font-size: 5rem;
  font-family: Georgia, serif;
  color: var(--cenafe-light);
  opacity: 0.3;
  line-height: 1;
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
}

@media (min-width: 768px) {
  .quote-icon {
    left: -10px;
    transform: none;
  }
}

.testimonial-quote {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-gray);
  line-height: 1.8;
  font-style: italic;
  margin: 0;
  padding-top: var(--spacing-lg);
  position: relative;
  z-index: 1;
}

.testimonial-author {
  margin-top: var(--spacing-md);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.author-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-white);
}

.author-role {
  font-size: 0.95rem;
  color: var(--cenafe-light);
  font-weight: 500;
}

/* ============================================
   SECCIÓN METODOLOGÍA
   ============================================ */
.methodology-section {
  padding: var(--spacing-xxl) 0;
  background: #ffffff;
}

.methodology-section .section-title {
  color: var(--ab-dark-blue);
}

.methodology-section .section-subtitle {
  color: #555;
}

.methodology-video-wrapper {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  position: relative;
  aspect-ratio: 16 / 9;
}

.methodology-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.methodology-image-wrapper {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    var(--shadow-card),
    0 0 80px rgba(93, 150, 73, 0.15);
  border: 1px solid rgba(93, 150, 73, 0.25);
}

.methodology-image {
  width: 100%;
  display: block;
  transition: var(--transition-slow);
}

.methodology-image-wrapper:hover .methodology-image {
  transform: scale(1.02);
}

.demo-process-title {
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  color: var(--ab-dark-blue);
  margin-bottom: 1.1rem;
  text-align: center;
}

.demo-steps {
  max-width: 1050px;
  margin: var(--spacing-xl) auto 0;
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}

.demo-step {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1.5rem;
  align-items: start;
  background: linear-gradient(145deg, #031442 0%, #0a2a73 100%);
  border: 1px solid rgba(170, 208, 87, 0.26);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow:
    0 14px 30px rgba(3, 20, 66, 0.4),
    0 0 24px rgba(170, 208, 87, 0.08);
}

.demo-step.reverse {
  direction: rtl;
}

.demo-step.reverse > * {
  direction: ltr;
}

.demo-step-number {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.75rem;
}

.demo-step-number .num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--cenafe-light);
  color: var(--ab-dark-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
}

.demo-step-number .label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #d9f28c;
}

.demo-step-text h4 {
  color: #ffffff;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.demo-step-text p {
  color: #e2e8f0;
  line-height: 1.65;
  font-size: 1rem;
  margin-bottom: 0;
}

.demo-step-text {
  align-self: start;
}

.demo-step-visual {
  align-self: start;
}

.demo-step-visual video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
  border: 1px solid rgba(170, 208, 87, 0.38);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

@media (max-width: 900px) {
  .demo-step,
  .demo-step.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 1rem;
  }
}

/* ============================================
   PASOS DE ACTIVACIÓN - TIMELINE
   ============================================ */
.upcoming-section {
  padding: var(--spacing-xxl) 0;
}

.upcoming-card {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(1.5rem, 2.8vw, 2.3rem);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(170, 208, 87, 0.25);
  background: rgba(5, 27, 84, 0.45);
}

.upcoming-card .section-title {
  margin-bottom: var(--spacing-sm);
}

.upcoming-card .section-subtitle {
  margin-bottom: 0;
}

/* ============================================
   POPUP EXALUMNOS
   ============================================ */
@keyframes cta-pulse {
  0%,
  100% {
    box-shadow:
      0 10px 28px rgba(0, 0, 0, 0.28),
      0 0 25px rgba(251, 133, 0, 0.35);
  }
  50% {
    box-shadow:
      0 14px 36px rgba(0, 0, 0, 0.34),
      0 0 50px rgba(251, 133, 0, 0.65);
  }
}

.alumni-mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1100;
  border: none;
  border-radius: 0;
  background: linear-gradient(135deg, #ffbe0b 0%, #fb8500 100%);
  color: #031442;
  font-weight: 800;
  font-family: inherit;
  font-size: 1rem;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 1.1rem 1rem;
  width: 100%;
  cursor: pointer;
  animation: cta-pulse 2.2s ease-in-out infinite;
}

.alumni-popup {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: min(390px, calc(100vw - 30px));
  background: linear-gradient(155deg, #ffbe0b 0%, #fb8500 55%, #ff7b00 100%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-md);
  padding: 1rem 1rem 1.1rem;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.34),
    0 0 45px rgba(251, 133, 0, 0.4);
  z-index: 1200;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: var(--transition-normal);
}

.alumni-popup::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(
    circle at 85% 10%,
    rgba(255, 255, 255, 0.45) 0%,
    transparent 35%
  );
}

.alumni-popup.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.alumni-popup-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: rgba(3, 20, 66, 0.15);
  color: #031442;
  cursor: pointer;
}

.alumni-popup-kicker {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #031442;
  font-weight: 800;
  margin-bottom: 0.3rem;
  position: relative;
  z-index: 1;
}

.alumni-popup h3 {
  font-size: 1.35rem;
  color: #031442;
  line-height: 1.25;
  margin-bottom: 0.45rem;
  position: relative;
  z-index: 1;
}

.alumni-popup p {
  color: #1f2937;
  font-size: 0.95rem;
  line-height: 1.55;
  position: relative;
  z-index: 1;
}

.exclusive-highlight {
  background: rgba(3, 20, 66, 0.88);
  color: #ffd166;
  padding: 0.08rem 0.38rem;
  border-radius: 6px;
  font-weight: 700;
}

.alumni-popup-form {
  margin-top: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.alumni-popup-form input {
  width: 100%;
  border: 1px solid rgba(3, 20, 66, 0.22);
  background: rgba(255, 255, 255, 0.86);
  color: #0f172a;
  border-radius: var(--radius-sm);
  padding: 0.72rem 0.78rem;
  font-family: inherit;
  position: relative;
  z-index: 1;
}

.alumni-popup-form input::placeholder {
  color: rgba(15, 23, 42, 0.62);
}

.alumni-popup-form button {
  border: none;
  border-radius: var(--radius-sm);
  background: #031442;
  color: #ffffff;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.78rem;
  cursor: pointer;
  position: relative;
  z-index: 1;
  transition: var(--transition-fast);
}

.alumni-popup-form button:hover {
  background: #0a2a73;
}

.alumni-popup-form button:disabled {
  opacity: 0.72;
  cursor: wait;
}

.alumni-popup-note {
  min-height: 1.2rem;
  margin-top: 0.5rem;
  color: #031442;
  font-weight: 600;
  font-size: 0.82rem;
  position: relative;
  z-index: 1;
}

.alumni-popup-note[data-state="pending"] {
  color: #7c2d12;
}

.alumni-popup-note[data-state="success"] {
  color: #031442;
}

.alumni-popup-note[data-state="error"] {
  color: #7f1d1d;
}

@media (min-width: 769px) {
  .alumni-mobile-cta {
    display: none;
  }
}

@media (max-width: 768px) {
  .btn-cta-glow {
    display: none;
  }

  .alumni-popup {
    display: none;
    right: 0;
    left: 0;
    width: auto;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    bottom: 56px;
  }

  .alumni-popup.open {
    display: block;
  }
}

.timeline {
  max-width: 700px;
  margin: 0 auto var(--spacing-xl);
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--cenafe-light), var(--cenafe-mid));
}

@media (min-width: 768px) {
  .timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  position: relative;
}

@media (min-width: 768px) {
  .timeline-item {
    justify-content: center;
    text-align: center;
  }

  .timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
  }
}

.timeline-number {
  width: 60px;
  height: 60px;
  min-width: 60px;
  background: var(--cenafe-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cenafe-dark);
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-glow);
}

.timeline-content {
  background: rgba(5, 27, 84, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(170, 208, 87, 0.15);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  flex: 1;
  max-width: 350px;
  transition: var(--transition-normal);
}

.timeline-content:hover {
  border-color: var(--cenafe-mid);
  box-shadow: var(--shadow-card);
}

.timeline-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
  color: var(--cenafe-light);
}

.timeline-content p {
  font-size: 0.95rem;
  color: var(--text-gray);
}

.btn-final {
  display: flex;
  margin: 0 auto;
  width: fit-content;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: var(--spacing-lg) 0;
  border-top: 1px solid rgba(170, 208, 87, 0.15);
  text-align: center;
}

.footer-text {
  font-size: 0.9rem;
  color: var(--text-gray);
}

.footer-brand {
  color: var(--cenafe-light);
  font-weight: 600;
}

.footer-cenafe {
  color: var(--cenafe-mid);
  font-weight: 600;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-gray);
  opacity: 0.9;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--cenafe-light);
  opacity: 1;
}

/* ============================================
   ANIMACIONES DE SCROLL
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 480px) {
  .navbar-brand {
    gap: 0.3rem;
  }

  .brand-cenafe,
  .brand-alonbalon,
  .brand-separator {
    font-size: 0.85rem;
  }

  .brand-logo {
    height: 28px;
  }

  .btn-outline-cyan {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
  }

  .offer-box {
    padding: var(--spacing-md);
  }

  .btn-cta-glow {
    padding: 0.875rem 1.75rem;
    font-size: 0.95rem;
  }
}

/* ============================================
   UTILIDADES
   ============================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
