/* =========================================================================
   CAMPUSLANDS - ESTILOS GLOBALES & DISEÑO DE ALTO RENDIMIENTO (PÚRO CSS)
   ========================================================================= */


/* variables CSS para mantener colores y tipografía de la marca */

@import url('./variables.css');

:root {
  --color-dark-bg: #030416;
  --color-kinetic-dark: #000051;
  --color-kinetic-medium: #000087;
  --color-electric-accent: #1b00bf;
  --color-deep-blue: #0076b7;
  --color-steel-blue: #2c67ba;
  --color-sky-blue: #2caaff;
  --color-light-sky: #57bbff;
  --color-neutral-warm: #E4E4D8;
  --color-whatsapp-green: #25D366;
  --color-error: #ef4444;
  
  --font-sans: 'Poppins', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --font-display: 'Sugo', 'Montserrat', sans-serif;
}

/* 1. Reset General y Globales */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--color-dark-bg);
  color: var(--color-neutral-warm);
  font-family: var(--font-body);
  line-height: 1.5;
  overflow-x: hidden;
  min-width: 320px;
  font-size: clamp(0.95rem, 1.2vw, 1rem);
  -webkit-font-smoothing: antialiased;
}

section {
  scroll-margin-top: 84px;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

/* Atajos Utilitarios de Selección de Texto */
::selection {
  background-color: var(--color-electric-accent);
  color: #fff;
}

/* 2. Capas de Fondo y Efectos Especiales */
.fixed-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.overlay-stars {
  z-index: 0;
  opacity: 0.2;
  background-image: radial-gradient(#ffffff 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse at top, rgba(0,0,0,1) 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse at top, rgba(0,0,0,1) 40%, transparent 100%);
}

.overlay-grid {
  z-index: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 40%, #000 70%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 40%, #000 70%, transparent 100%);
}

/* Resplandores ambientales (Mesh Gradients) */
.ambient-glow-l {
  position: absolute;
  top: 0;
  right: 10%;
  width: 384px;
  height: 384px;
  background-color: rgba(44, 170, 255, 0.05);
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.ambient-glow-r {
  position: absolute;
  bottom: 0;
  left: 10%;
  width: 384px;
  height: 384px;
  background-color: rgba(27, 0, 191, 0.05);
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

/* 3. Tipografía Específica */
.font-sugo {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.text-bold-gradient {
  background: linear-gradient(to bottom, #ffffff 30%, var(--color-light-sky) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Ocultar scrollbars */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* 4. Tarjetas con Efecto de Cristal (Glassmorphism) */
.glass-card {
  background: rgba(0, 0, 81, 0.25);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(87, 187, 255, 0.1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--color-sky-blue);
  box-shadow: 0 15px 45px rgba(27, 0, 191, 0.3);
  transform: translateY(-5px);
}

/* 5. Barra de Navegación */
.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 40;
  background-color: rgba(3, 4, 22, 0.75);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-bottom: 1px solid rgba(87, 187, 255, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 81, 0.4);
}

.nav-desktop-container {
  max-width: 1216px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  gap: 16px;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 24px;
  min-width: 0;
  flex: 1;
}

.logo-text {
  width: min(220px, 46vw);
  height: auto;
  cursor: pointer;
  user-select: none;
}

.nav-links {
  display: none;
  gap: 24px;
}

.nav-link {
  background: none;
  border: none;
  color: #d1d5db;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.3s ease;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Botones de Navegación */
.btn-nav-register {
  display: none;
  background: linear-gradient(135deg, var(--color-electric-accent), var(--color-sky-blue));
  border: none;
  padding: 8px 24px;
  border-radius: 9999px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(27, 0, 191, 0.2);
  white-space: nowrap;
}

.btn-nav-register:hover {
  opacity: 0.9;
  box-shadow: 0 4px 20px rgba(27, 0, 191, 0.4);
}

.btn-nav-register:active {
  transform: scale(0.95);
}

/* Botón Hamburguesa Móvil */
.mobile-menu-toggler {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px;
  color: #d1d5db;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-toggler:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* Menú Desplegable de Móviles */
.mobile-dropdown-menu {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  width: 100%;
  background-color: rgba(3, 4, 22, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 24px;
  flex-direction: column;
  gap: 24px;
  text-align: center;
  z-index: 39;
}

.mobile-dropdown-menu.show {
  display: flex;
}

.mobile-link {
  background: none;
  border: none;
  font-family: inherit;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: color 0.3s ease;
}

.mobile-link:hover {
  color: var(--color-light-sky);
}

.mobile-link:last-of-type {
  border-bottom: none;
}

.mobile-dropdown-menu .btn-nav-register {
  display: block;
  width: 100%;
  padding: 12px;
  font-size: 14px;
  border-radius: 12px;
}

/* 6. Sección de Portada (Hero) */
.hero-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 68px;
  background-color: #000;
}

.hero-video-container {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  min-height: clamp(320px, 72vh, 680px);
  overflow: hidden;
  background-color: #000;
  isolation: isolate;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: none;
  pointer-events: none;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.4) 50%, var(--color-dark-bg) 100%);
  z-index: 10;
  pointer-events: none;
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  z-index: 20;
  text-align: center;
  background: linear-gradient(180deg, rgba(3,4,22,0.18) 0%, rgba(3,4,22,0.35) 100%);
}

@media (min-width: 768px) {
  .hero-content {
    padding: 40px;
  }

  .hero-video-container {
    min-height: clamp(420px, 78vh, 760px);
  }
}

.video-controls-top {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 30;
  display: flex;
  align-items: center;
}

@media (min-width: 768px) {
  .video-controls-top {
    top: 24px;
    left: 24px;
  }
}

.controls-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.control-btn-play {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(3, 4, 22, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.control-btn-play:hover {
  background: rgba(3, 4, 22, 0.85);
  border-color: var(--color-sky-blue);
  transform: scale(1.05);
}

.control-btn-mute {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(3, 4, 22, 0.6);
  color: var(--color-neutral-warm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 6px 12px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease;
}

.control-btn-mute:hover {
  background: rgba(3, 4, 22, 0.85);
  border-color: var(--color-sky-blue);
  transform: scale(1.05);
}

.mute-text {
  display: none;
}

/* Premium Middle Overlay Content Styled like reference dashboard */
.hero-center-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 840px;
  width: 100%;
  gap: 16px;
  animation: heroUpEntry 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes heroUpEntry {
  0% {
    opacity: 0;
    transform: translateY(24px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-center-overline {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--color-light-sky);
  text-transform: uppercase;
}

.hero-center-title {
  font-size: clamp(1.8rem, 4.8vw, 3.375rem);
  font-weight: 900;
  line-height: 1.15;
  color: #ffffff;
  max-width: 720px;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.hero-center-sub {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-weight: 400;
  color: #9ca3af;
  max-width: 580px;
  margin: 0;
}

.hero-center-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin-top: 14px;
  width: 100%;
  flex-wrap: wrap;
}

.btn-hero-explore {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(3, 4, 22, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 12px 20px;
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-neutral-warm);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-hero-explore:hover {
  border-color: rgba(87, 187, 255, 0.5);
  background: rgba(3, 4, 22, 0.8);
  color: #fff;
}

.btn-hero-apply {
  position: relative;
  background: linear-gradient(135deg, var(--color-electric-accent), var(--color-sky-blue));
  padding: 12px 24px;
  border: none;
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 4px 20px rgba(27, 0, 191, 0.2);
}

.btn-hero-apply:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(27, 0, 191, 0.4);
}

.btn-hero-apply svg {
  transition: transform 0.3s ease;
}

.btn-hero-apply:hover svg {
  transform: translateX(4px);
}

/* speaker icon en moviles */
.mobile-video-speaker {
  position: absolute;
  bottom: 16px;
  right: 16px;
  z-index: 30;
  display: flex;
}

.control-btn-mute-mobile {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: 50%;
  padding: 8px;
  cursor: pointer;
}

/* 7. Sección Bento Cards (Epicentro) */
.section-bento {
  position: relative;
  width: 100%;
  padding: 64px 24px;
  background: linear-gradient(to bottom, var(--color-dark-bg), #01010a);
}

.bento-container {
  max-width: 1216px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: stretch;
}

/* Bento Izquierda - El texto de cristal */
.bento-card-left {
  padding: 32px;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-background-text {
  position: absolute;
  right: -32px;
  bottom: -32px;
  opacity: 0.06;
  font-size: 180px;
  color: #ffffff;
  pointer-events: none;
  user-select: none;
  font-family: var(--font-display);
  font-weight: 900;
  transition: opacity 0.3s ease;
}

.bento-card-left:hover .bento-background-text {
  opacity: 0.1;
}

.bento-section-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  color: var(--color-light-sky);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bento-title {
  margin-top: 24px;
  font-size: 35px;
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.25;
}

.bento-paragraph {
  margin-top: 16px;
  font-size: 14px;
  color: #d1d5db;
  line-height: 1.625;
  max-width: 512px;
}

.bento-btn-discover {
  background: none;
  border: none;
  margin-top: 32px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-sky-blue);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.3s ease;
  text-align: left;
}

.bento-btn-discover:hover {
  color: var(--color-light-sky);
  text-decoration: underline;
}

.bento-btn-discover svg {
  transition: transform 0.3s ease;
}

.bento-btn-discover:hover svg {
  transform: translateX(6px);
}

/* Mini Galería Deslizable (Clases en Español) */
.mini-galeria-contenedor {
  position: relative;
  width: 100%;
  height: 220px;
  margin: 24px auto 12px auto;
  border-radius: 20px;
  overflow: hidden;
  background: transparent;
}

.mini-galeria-wrapper {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  width: 100%;
  height: 100%;
  padding: 10px;
  box-sizing: border-box;
  -ms-overflow-style: none;  /* IE y Edge */
  scrollbar-width: none;  /* Firefox */
}

.mini-galeria-wrapper::-webkit-scrollbar {
  display: none; /* Chrome, Safari y Opera */
}

.mini-galeria-item {
  position: relative;
  flex: 0 0 calc(50% - 6px); /* Muestra exactamente 2 tarjetas tomando en cuenta el gap */
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: transparent;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mini-galeria-item:hover {
  transform: translateY(-2px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

.mini-galeria-imagen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.mini-galeria-item:hover .mini-galeria-imagen {
  transform: scale(1.05);
}

.mini-galeria-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 12px 10px 12px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.4) 65%, transparent 100%);
  z-index: 3;
}

.mini-galeria-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-sky-blue), var(--color-light-sky));
  color: #02020c;
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 2px 6px;
  border-radius: 4px;
  margin-bottom: 4px;
}

.mini-galeria-texto {
  font-family: var(--font-sans);
  font-size: 11px;
  line-height: 1.3;
  font-weight: 500;
  color: #f3f4f6;
  margin: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.mini-galeria-flecha {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(3, 4, 30, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.mini-galeria-flecha:hover {
  background: var(--color-sky-blue);
  color: #02020c;
  border-color: var(--color-sky-blue);
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
}

.mini-galeria-flecha.izq {
  left: 12px;
}

.mini-galeria-flecha.der {
  right: 12px;
}

.mini-galeria-indicadores {
  position: absolute;
  bottom: 16px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 10;
}

.mini-galeria-punto {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mini-galeria-punto.activa {
  width: 18px;
  border-radius: 10px;
  background: var(--color-sky-blue);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

/* Bento Derecha - Las Imágenes flotantes */
.bento-card-right-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}


/* 8. Sección Métricas y Estadísticas */
.section-stats {
  position: relative;
  width: 100%;
  padding: 96px 24px;
}

.stats-mesh-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 144px;
  background-color: rgba(27, 0, 191, 0.05);
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.stats-card-main {
  background: linear-gradient(135deg, rgba(0, 0, 48, 0.6) 0%, rgba(2, 2, 21, 1) 100%);
  border-radius: 40px;
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.stat-item {
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.stat-icon {
  margin-bottom: 16px;
  transition: transform 0.3s ease;
}

.stat-item:hover .stat-icon {
  transform: scale(1.1);
}

.stat-value {
  font-size: 40px;
  font-family: 'Poppins-Bold', sans-serif;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
  transition: color 0.3s ease;
}

.stat-item:hover .stat-value {
  color: var(--color-light-sky);
}

.stat-label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  color: #9ca3af;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 8px;
  align-items: center;
}

.stat-growth-badge {
  font-family: var(--font-sans);
  font-size: 10px;
  color: var(--color-whatsapp-green);
  background-color: rgba(37, 211, 102, 0.1);
  padding: 2px 8px;
  border-radius: 9999px;
  margin-top: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-item:hover .stat-growth-badge {
  opacity: 1;
}

/* Panel Dinámico de Análisis Métrico */
.stats-analysis-box {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  max-width: 672px;
  margin-left: auto;
  margin-right: auto;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.stats-dynamic-detail {
  font-size: 14px;
  font-weight: 500;
  color: #9ca3af;
  transition: all 0.3s ease;
}

.metricas-hover-prompt {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

/* 9. Sección Academias y Programas */
.section-programs {
  position: relative;
  width: 100%;
  padding: 96px 24px;
}

.programs-header-block {
  margin-bottom: 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.programs-meta-tag {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.20em;
  color: var(--color-sky-blue);
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.programs-title {
  font-size: 45px;
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.1;
}

.carousel-controllers {
  display: flex;
  gap: 10px;
}

.carousel-arrow {
  background: rgba(0, 0, 81, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 12px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.carousel-arrow:hover {
  background: rgba(0, 0, 81, 0.55);
  border-color: rgba(87, 187, 255, 0.4);
  transform: scale(1.05);
}

.carousel-arrow:active {
  transform: scale(0.95);
}

/* Contenedor del Carrusel Scrollable horizontal */
.programs-carousel-container {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  padding-bottom: 32px;
  padding-left: 8px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

/* Tarjeta de Programa */
.program-card {
  min-width: 280px;
  width: 280px;
  flex-shrink: 0;
  height: 480px;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  scroll-snap-align: start;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: all 0.5s ease;
}

.program-card:hover {
  border-color: rgba(87, 187, 255, 0.3);
}

.program-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.program-card:hover .program-card-img {
  transform: scale(1.1);
}

.program-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0.5) 50%, transparent 100%);
  z-index: 10;
  pointer-events: none;
}

.program-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-align: left;
  z-index: 20;
  pointer-events: none;
}

.program-elite-badge {
  background: rgba(44, 170, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: 9999px;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  color: var(--color-light-sky);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(44, 170, 255, 0.3);
  align-self: flex-start;
  margin-bottom: 12px;
}

.program-card-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: 24px;
  color: #fff;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}

.program-card:hover .program-card-title {
  color: var(--color-light-sky);
}

.program-card-title svg {
  opacity: 0;
  transition: all 0.3s ease;
}

.program-card:hover .program-card-title svg {
  opacity: 1;
  transform: translate(2px, -2px);
}

.program-card-sub {
  font-size: 12px;
  color: #d1d5db;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 16px;
  max-width: 320px;
}

.program-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.program-tech-tag {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.program-tech-tag.more {
  background-color: rgba(27, 0, 191, 0.4);
  color: var(--color-sky-blue);
  border: 1px solid rgba(27, 0, 191, 0.5);
}

/* decorador brillante footer de la carta de programas */
.program-bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 6px;
  width: 100%;
  background: linear-gradient(to right, var(--color-electric-accent), var(--color-sky-blue));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.program-card:hover .program-bottom-bar {
  opacity: 1;
}

.programs-footnote {
  text-align: center;
  font-family: var(--font-sans);
  font-size: 12px;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 24px;
}

/* 10. Sección Métodologia (Nuestra Esencia) */
.section-essence {
  position: relative;
  width: 100%;
  padding: 96px 24px;
  background-color: #020210;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.essence-mesh-r {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background-color: rgba(27, 0, 191, 0.1);
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.essence-container {
  max-width: 1216px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.essence-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.essence-meta {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--color-sky-blue);
  text-transform: uppercase;
}

.essence-title {
  font-size: 45px;
  font-family: var(--font-display);
  font-weight: 900;
}

.essence-quote {
  border-left: 2px solid var(--color-electric-accent);
  padding-left: 24px;
  font-size: 16px;
  color: #e5e7eb;
}

.essence-body-p {
  padding-left: 24px;
  font-size: 14px;
  color: #9ca3af;
  line-height: 1.625;
}

/* Bloque De Características Técnicas */
.essence-specs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding-left: 24px;
  margin-top: 24px;
}

.spec-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.05);
}

.spec-info-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.spec-info-desc {
  font-size: 12px;
  color: #9ca3af;
  margin-top: 4px;
}

/* Panel de Enlaces del Asesor Social */
.essence-social-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 48px;
}

.social-title-header {
  font-family: var(--font-sans);
  font-size: 12px;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  margin-bottom: 16px;
  text-decoration: none;
}

.social-link-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-radius: 16px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255,255,255,0.1);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  height: 50px;
  
}

.social-link-card:hover {
  transform: translateY(-2px);
}

.social-link-card.ig:hover {
  border-color: rgba(225, 48, 108, 0.4);
}
.social-link-card.fb:hover {
  border-color: rgba(44, 170, 255, 0.4);
}


.social-data-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
}

.social-icon-box {
  padding: 10px;
  border-radius: 12px;
  display: flex;
  align-items: center;
}

.ig .social-icon-box {
  background: rgba(236,  72, 153, 0.1);
  color: rgb(244, 114, 182);
}
.fb .social-icon-box {
  background: rgba(37, 99, 235, 0.1);
  color: var(--color-sky-blue);
}
.social-link-card.tt:hover {
  border-color: rgba(0, 242, 234, 0.4);
}
.social-link-card.yt:hover {
  border-color: rgba(255, 0, 0, 0.4);
}
.social-link-card.ln:hover {
  border-color: rgba(10, 102, 194, 0.4);
}

.tt .social-icon-box {
  background: rgba(0, 242, 234, 0.1);
  color: #00f2ea;
}
.yt .social-icon-box {
  background: rgba(255, 0, 0, 0.1);
  color: #ff3333;
}
.ln .social-icon-box {
  background: rgba(10, 102, 194, 0.1);
  color: #3399ff;
}

.social-label-network {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  display: block;
  text-transform: capitalize;
}

.social-label-user {
  font-family: var(--font-sans);
  font-size: 12px;
  color: #9ca3af;
  margin-top: 2px;
}

.social-card-arrow {
  color: #6b7280;
  transition: color 0.3s ease;
}

.social-link-card:hover .social-card-arrow {
  color: #fff;
}

/* 11. Sección Testimonios (De Reel) */
.section-testimonials {
  position: relative;
  width: 100%;
  padding: 72px 24px;
}

.testimonials-mesh-r {
  position: absolute;
  top: 25%;
  right: 0;
  width: 320px;
  height: 50px;
  background-color: rgba(44, 170, 255, 0.1);
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.text-center-block {
  text-align: center;
  margin-bottom: 40px;
}

.testimonials-paragraph {
  color: #9ca3af;
  margin-top: 16px;
  max-width: 576px;
  margin-left: auto;
  margin-right: auto;
  font-size: 16px;
  line-height: 1.625;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 1040px;
  margin: 0 auto;
}

.testimonial-reel-card {
  aspect-ratio: 4 / 5;
  max-width: 300px;
  width: 100%;
  margin: 0 auto;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.4);
  display: block;
  background-color: #020617;
}

.testimonial-reel-card:hover {
  border-color: rgba(87, 187, 255, 0.4);
}

.testimonial-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease, opacity 0.7s ease;
}

.testimonial-video-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.testimonial-reel-card.is-playing .testimonial-video-player {
  opacity: 1;
}

.testimonial-reel-card.is-playing .testimonial-bg-img {
  opacity: 0;
}

.testimonial-reel-card.is-playing .testimonial-overlay-fade {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.35) 50%, rgba(0, 0, 0, 0) 100%);
}

.testimonial-reel-card:hover .testimonial-bg-img {
  transform: scale(1.05);
}

.testimonial-overlay-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 70%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.35) 50%, rgba(0, 0, 0, 0) 100%);
  z-index: 10;
  pointer-events: none;
}

.instagram-reel-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 50; /* Aumentado para pasar por encima de overlays y videos */
  display: flex;
  pointer-events: auto; /* Asegura que capture clics */
}

.instagram-reel-tag:hover {
  transform: scale(1.03);
  transition: transform 0.2s ease;
}

.testimonial-reel-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px; /* Un poco más de aire lateral para emular la imagen */
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.6); /* Un poco más oscuro para mejor contraste */
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-sans), sans-serif;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: background-color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  pointer-events: auto;
}

/* Efecto Hover sutil y limpio */
.testimonial-reel-link:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(15, 54, 248, 0.4);
  color: #07128f;
}

.testimonial-play-btn-circle {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 20;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.testimonial-reel-card:hover .testimonial-play-btn-circle,
.testimonial-reel-card:focus-within .testimonial-play-btn-circle,
.testimonial-reel-card.is-hovered .testimonial-play-btn-circle {
  opacity: 1;
}

.testimonial-reel-card.is-playing .testimonial-play-btn-circle {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.9);
}

.play-circle-svg-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-electric-accent), var(--color-sky-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(27,0,191,0.4);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.testimonial-reel-card:hover .play-circle-svg-wrapper,
.testimonial-reel-card:focus-within .play-circle-svg-wrapper,
.testimonial-reel-card.is-hovered .play-circle-svg-wrapper {
  transform: scale(1);
}

.testimonial-identity-meta {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 20;
  pointer-events: none;
}

.testimonial-corp-badge {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-light-sky);
  text-transform: uppercase;
  display: inline-block;
  background: rgba(44, 170, 255, 0.2);
  padding: 2px 10px;
  border-radius: 9999px;
  margin-bottom: 4px;
}

.testimonial-student-name {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  transition: color 0.3s ease;
}

.testimonial-reel-card:hover .testimonial-student-name,
.testimonial-reel-card:focus-within .testimonial-student-name,
.testimonial-reel-card.is-hovered .testimonial-student-name {
  color: var(--color-light-sky);
}

.testimonial-student-career {
  font-family: var(--font-sans);
  font-size: 11px;
  color: #9ca3af;
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .testimonial-reel-card {
    max-width: 100%;
    aspect-ratio: 4 / 5;
  }
}

/* 12. Formulario De Admisión (Sección Postulación) */
.section-postulacion {
  position: relative;
  width: 100%;
  padding: 96px 24px;
  background: linear-gradient(to bottom, #000030, #010212);
}

.postulacion-mesh-b {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 384px;
  background-color: rgba(27, 0, 191, 0.15);
  filter: blur(120px);
  pointer-events: none;
}

.postulacion-container {
  max-width: 864px;
  margin: 0 auto;
  text-align: center;
}

.form-wrapper-block {
  position: relative;
  margin-top: 48px;
}

.application-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  text-align: left;
  background-color: rgba(3, 4, 32, 0.6);
  padding: 32px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  position: relative;
}

.form-group-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group-field.full-span {
  grid-column: 1 / -1;
}

.form-field-label {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-sky-blue);
  text-transform: uppercase;
  margin-left: 4px;
}

.form-input-text {
  width: 100%;
  background-color: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  outline: none;
  border-radius: 12px;
  padding: 12px 16px;
  color: var(--color-neutral-warm);
  font-family: inherit;
  font-size: 14px;
  transition: all 0.3s ease;
}

.form-input-text:focus {
  border-color: var(--color-sky-blue);
  box-shadow: 0 0 0 1px var(--color-sky-blue);
}

/* Ocultar selector de programa original de manera limpia */
.hidden-selector {
  display: none !important;
}

/* Errores del formulario */
.error-message {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  color: var(--color-error);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}

.error-message.hidden {
  display: none !important;
}

/* Botón enviar formulario */
.btn-submit-form {
  background: linear-gradient(to right, var(--color-electric-accent), var(--color-sky-blue), #57bbff);
  background-size: 200% auto;
  border: none;
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  color: var(--color-neutral-warm);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 20px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
}

.btn-submit-form:hover {
  background-position: right center;
  color: #fff;
  box-shadow: 0 0 40px rgba(27, 0, 191, 0.45);
  transform: scale(1.01);
}

.btn-submit-form:active {
  transform: scale(0.99);
}

/* Pantalla de Éxito del Registro */
.form-success-overlay {
  display: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(3, 4, 44, 0.95), rgba(1, 1, 10, 0.95));
  border-radius: 24px;
  border: 1px solid rgba(37, 211, 102, 0.4);
  padding: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 30;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.form-success-overlay.show {
  display: flex;
}

.success-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-whatsapp-green);
  margin-bottom: 24px;
}

.success-icon-box svg {
  animation: bounce 2s infinite;
}

.success-title {
  font-family: var(--font-display);
  font-size: 34px;
  color: #fff;
  margin-bottom: 16px;
}

.success-p {
  font-size: 14px;
  color: #d1d5db;
  line-height: 1.625;
  max-width: 448px;
  margin-bottom: 24px;
}

.success-p span {
  font-family: var(--font-sans);
  color: var(--color-whatsapp-green);
  font-weight: 700;
  letter-spacing: 0.05em;
  font-size: 16px;
}

.btn-reset-form {
  background: none;
  border: none;
  color: #9ca3af;
  text-decoration: underline;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 32px;
  transition: color 0.3s ease;
}

.btn-reset-form:hover {
  color: #fff;
}

/* Keyframes bounce de animacion */
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* 13. Bloque Alternativo de WhatsApp de la Forja */
.section-cta-whatsapp {
  position: relative;
  width: 100%;
  padding: 96px 24px;
  text-align: center;
  background-color: #010108;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.wa-cta-mesh-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 128px;
  background-color: rgba(37, 211, 102, 0.05);
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.wa-cta-container {
  max-width: 864px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.wa-cta-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 32px;
  user-select: none;
}

.btn-whatsapp-open {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: var(--color-whatsapp-green);
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
  padding: 20px 40px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp-open:hover {
  transform: scale(1.05);
  background-color: #20ba5a;
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.35);
}

/* Pulsación sutil icono en el botón */
.btn-whatsapp-open svg {
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* 14. Footer De Cierre */
.page-footer {
  background-color: #01010a;
  padding: 64px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 10;
}

.footer-content {
  max-width: 1216px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  text-align: center;
}

.footer-logo-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 384px;
}

.footer-logo-title {
  font-size: 24px;
  user-select: none;
}

.footer-copyright {
  font-family: var(--font-sans);
  font-size: 11px;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.6;
}

.footer-links-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  font-family: var(--font-sans);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.footer-link {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #fff;
}

/* 15. Modal Dinámico De Programas Técnicos */
.program-modal-wrapper {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.program-modal-wrapper.show {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.modal-dialog {
  position: relative;
  width: 100%;
  max-width: 768px;
  background: linear-gradient(to bottom, #030420, #01010a);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  max-height: 90vh;
  overflow-y: auto;
}

.btn-close-modal {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 30;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  padding: 6px;
  border-radius: 50%;
  color: #9ca3af;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.btn-close-modal:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.modal-body-layout {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.modal-portrait-side {
  position: relative;
  height: 192px;
  background-color: #000;
  flex-shrink: 0;
}

.modal-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.modal-portrait-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3, 4, 32, 0.85) 0%, transparent 100%);
  pointer-events: none;
}

.modal-content-side {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
}

.modal-meta-tag {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  color: var(--color-sky-blue);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.modal-sub-slogan {
  font-size: 12px;
  color: var(--color-light-sky);
  font-weight: 600;
  font-style: italic;
  margin-top: 4px;
  margin-bottom: 16px;
}

.modal-desc-p {
  font-size: 12px;
  color: #d1d5db;
  line-height: 1.625;
  margin-bottom: 24px;
  font-weight: 500;
}

.modal-specs-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 16px;
  margin-bottom: 24px;
}

.modal-spec-label {
  font-family: var(--font-sans);
  font-size: 10px;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
}

.modal-spec-val {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  display: block;
  margin-top: 2px;
}

.modal-spec-val.active-green {
  color: var(--color-whatsapp-green);
}

.modal-details-lists {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-list-title-badge {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  color: var(--color-sky-blue);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}

.modal-competencies-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  list-style: none;
}

.modal-competency-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #d1d5db;
}

.modal-competency-item svg {
  color: var(--color-sky-blue);
  flex-shrink: 0;
}

.modal-mentors-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.modal-mentor-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 11px;
  color: #d1d5db;
  font-weight: 600;
}

.modal-mentor-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-light-sky);
}

.btn-modal-apply {
  margin-top: 32px;
  background: linear-gradient(to right, var(--color-electric-accent), var(--color-sky-blue));
  border: none;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 14px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-modal-apply:hover {
  opacity: 0.95;
}

.btn-modal-apply:active {
  transform: scale(0.98);
}


/* =========================================================================
   16. MEDIA QUERIES (ADAPTACIÓN MULTIPANTALLA RESPONSIVE)
   ========================================================================= */

@media (max-width: 767px) {
  .nav-desktop-container {
    padding: 12px 14px;
  }

  .mobile-dropdown-menu {
    top: 62px;
  }

  .hero-video-container {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    min-height: 72vh;
    max-height: 86vh;
  }

  .hero-video {
    object-position: center center;
    transform: scale(1.02);
  }

  .hero-content {
    padding: 16px 12px;
  }

  .hero-center-content {
    gap: 12px;
    padding: 0 2px;
  }

  .hero-center-title {
    font-size: clamp(1.65rem, 7vw, 2.5rem);
  }

  .hero-center-sub {
    font-size: clamp(0.95rem, 3.3vw, 1.1rem);
  }

  .section-bento,
  .section-stats,
  .section-programs,
  .section-essence,
  .section-testimonials,
  .section-postulacion,
  .section-cta-whatsapp,
  .page-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .bento-card-left,
  .bento-card-right-grid .bento-card-left,
  .stats-card-main,
  .application-form,
  .modal-content-side {
    padding: 20px;
  }

  .social-link-card {
    min-height: 56px;
    height: auto;
    padding: 12px 14px;
  }

  .testimonial-identity-meta {
    bottom: 20px;
    left: 20px;
    right: 20px;
  }

  .modal-dialog {
    max-height: calc(100vh - 24px);
  }

  .modal-specs-table {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .nav-desktop-container {
    padding: 12px 14px;
  }

  .logo-text {
    width: min(160px, 44vw);
  }

  .hero-wrapper {
    padding-top: 60px;
  }

  .hero-content {
    padding: 16px 12px;
  }

  .hero-center-content {
    gap: 12px;
  }

  .hero-center-btns {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-hero-explore,
  .btn-hero-apply {
    width: 100%;
  }

  .section-bento,
  .section-stats,
  .section-programs,
  .section-essence,
  .section-testimonials,
  .section-postulacion,
  .section-cta-whatsapp,
  .page-footer {
    padding-left: 14px;
    padding-right: 14px;
  }

  .bento-card-left,
  .bento-card-right-grid .bento-card-left,
  .stats-card-main,
  .application-form {
    padding: 20px;
    border-radius: 20px;
  }

  .bento-title,
  .programs-title,
  .essence-title {
    font-size: clamp(1.65rem, 6vw, 2.25rem);
  }

  .bento-card-right-grid {
    grid-template-columns: 1fr;
  }

  .mini-galeria-contenedor {
    height: 200px;
  }

  .mini-galeria-item {
    flex: 0 0 calc(84% - 6px);
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .stat-value {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
  }

  .program-card {
    min-width: min(84vw, 300px);
    width: min(84vw, 300px);
    height: 430px;
  }

  .programs-carousel-container {
    gap: 16px;
    padding-left: 0;
  }

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

  .application-form {
    grid-template-columns: 1fr;
  }

  .btn-submit-form {
    width: 100%;
  }

  .footer-content {
    gap: 20px;
  }

  .footer-links-grid {
    gap: 12px 16px;
    font-size: 0.72rem;
  }
}

@media (min-width: 576px) {
  /* Header */
  .btn-nav-register {
    display: flex;
  }
}

@media (min-width: 768px) {
  /* Navigation */
  .nav-links {
    display: flex;
  }
  
  /* Hero */
  .hero-video-container {
    aspect-ratio: 21 / 9;
  }
  
  .mute-text {
    display: inline;
  }
  
  /* Bento grid */
  .bento-container {
    grid-template-columns: repeat(12, 1fr);
  }

  .bento-card-left {
    grid-column: span 7;
  }

  .bento-card-right-grid {
    grid-column: span 5;
  }
  
  /* Stats */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stat-item {
    font-size: 64px;
    padding-top: 0;
  }
  
  .stat-value {
    font-size: 64px;
  }
  
  .stat-item:nth-child(n+3) {
    border-top: none;
  }
  
  /* Programs Verticals */
  .programs-header-block {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }

  .program-card {
    min-width: 380px;
    width: 380px;
  }
  
  /* Essence */
  .essence-container {
    grid-template-columns: repeat(12, 1fr);
  }

  .essence-info {
    grid-column: span 8;
  }

  .essence-social-block {
    grid-column: span 4;
    border-top: none;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 0;
    padding-left: 48px;
  }

  .essence-specs-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* Form block grid layout */
  .application-form {
    grid-template-columns: 1fr 1fr;
  }

  .btn-submit-form {
    padding: 20px;
  }
  
  /* Footer */
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
  
  .footer-links-grid {
    justify-content: flex-end;
  }
  
  /* Modal technical spec size toggles */
  .modal-dialog {
    flex-direction: row;
  }

  .modal-body-layout {
    flex-direction: row;
  }

  .modal-portrait-side {
    width: 41.6666%; /* md:w-5/12 */
    height: auto;
  }

  .modal-portrait-fade {
    background: linear-gradient(to right, rgba(3, 4, 32, 0.85) 0%, transparent 100%);
  }

  .modal-content-side {
    flex: 1;
    padding: 32px;
  }
}

@media (min-width: 1024px) {
  /* Hero aspect */
  .hero-video-container {
    aspect-ratio: 2.4 / 1;
  }
  
  /* Stats grid fully landscape */
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .stat-item {
    border-top: none;
  }

  .stat-item + .stat-item {
    border-left: 1px solid rgba(255, 255, 255, 0.05);
  }
}

/* 16. Estilos Para Modal De Políticas (Tabs & Contenidos) */
.policy-tab-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.policy-tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

.policy-tab-btn.active {
  color: #02020c;
  background: var(--color-sky-blue);
  border-color: var(--color-sky-blue);
  font-weight: 600;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.3);
}

.policy-tab-pane {
  display: none;
  animation: fadeInPolicy 0.4s ease forwards;
}

.policy-tab-pane.active {
  display: block;
}

@keyframes fadeInPolicy {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

