:root {
    --blue-dark: #002347;
    --blue-bright: #009cff;
    --orange: #ff8c00;
    --green: #76bc21;
    --white: #ffffff;
    --orange-hover: #e67e00;
    --text-gray: #4a4a4a;
    --topbar-bg: #f8f8f8;
    --primary-blue: #001d3d;
    --deep-blue: #000814;
    --accent-gold: #ffc300;
    --soft-bg: #f8f9fa;
    --black: #000000;
    --gray: #4a4a49;
    --gray-dark: #333;
    --gray-middle: #777;
    --blue-deep:#004e9b;
}

body { font-family: 'Montserrat', sans-serif; background: var(--white); }
.fw-black { font-weight: 900; }
.text-orange { color: var(--orange); }
.text-blue-bright { color: var(--blue-bright); }
.bg-blue-dark { background-color: var(--blue-dark); }
.bg-orange { background-color: var(--orange); }

/* FACILIDADES PAGO */

#facilidades-pago {
    padding-top: 3rem;
    padding-bottom: 3rem;
    background-color: var(--soft-bg);;
}

#facilidades-pago h2 {
    font-weight: 600;
    margin-bottom: 3rem;
    text-align: center;
}

#facilidades-pago .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* AquÃ­ usamos grid para el layout de las tarjetas */
#facilidades-pago .cards-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    /* Esto garantiza que haya tantas columnas como quepan, mÃ­nimo 250px */
}

/* Las tarjetas */
#facilidades-pago .card {
    height: 100%;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border-radius: 1rem;
    padding: 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    min-width: 0; /* Para evitar overflow dentro de grid */
}

#facilidades-pago .card-body {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex-grow: 1;
}

#facilidades-pago .card img {
    max-width: 100%;
    height: 140px;
    object-fit: contain;
    display: block;
    margin: 0 auto 1rem; /* separaciÃ³n abajo */
}

#facilidades-pago .fw-bold {
    font-weight: bold;
}

#facilidades-pago .text-muted {
    color: #6c757d;
}

#facilidades-pago .pago-destacado {
    font-size: 1rem;
    margin-bottom: 0;
}

/* Opcional: para evitar scroll horizontal en pantallas medias y grandes */
@media (max-width: 767px) {
    #facilidades-pago .cards-grid {
        grid-template-columns: 1fr; /* 1 tarjeta por fila en mÃ³viles */
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    #facilidades-pago .cards-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 tarjetas en tablets */
    }
}

@media (min-width: 992px) {
    #facilidades-pago .cards-grid {
        grid-template-columns: repeat(4, 1fr); /* 4 tarjetas en widescreens */
    }
}

/* --- CORRECCIONES PARA VIDEO FULL SCREEN --- */

.sec-hero {
    position: relative;
    width: 100%;
    height: 100vh; /* Pantalla completa */
    display: flex;
    align-items: center; /* Centra contenido verticalmente */
    overflow: hidden;
    border-bottom: 8px solid var(--orange);
}

.video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
    transform: translate(-50%, -50%);
    object-fit: cover; /* Asegura que el video no se deforme */
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 35, 71, 0.7); /* El azul oscuro de la Foto 1 con transparencia */
    z-index: -1;
}

.hero-container-content {
    position: relative;
    z-index: 1;
}
/* --- SECCIÓN BENEFICIOS CON MAPA MUNDI --- */
.sec-por-que {
    background-color: var(--soft-bg);;
    overflow: hidden;
}

/* El mapa mundi negro como fondo sutil */
.map-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://www.transparenttextures.com/patterns/world-map.png'); /* Mapa sutil */
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    filter: invert(1) brightness(0.2); /* Lo vuelve negro y muy oscuro */
    opacity: 0.1; /* Transparencia para que no distraiga */
    z-index: 0;
}

.benefit-card {
    background: var(--white);;
    padding: 25px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.3s;
    border-bottom: 4px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: var(--orange);
}

.benefit-icon {
    font-size: 2.5rem;
    background: #f0f7ff;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.benefit-card h5 {
    font-weight: 900;
    margin-bottom: 0;
    color: var(--blue-dark);
}

.benefit-card p {
    font-size: 0.85rem;
    margin: 0;
    color: #666;
}
/* --- ESTILO TIPO AUTÓNOMA --- */
.sec-posgrado  {
    background-color: var(--white);;
    padding: 80px 0;
}

.photo-cutout img {
    max-width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.2));
    
    margin-top: -120px; 
    position: relative;
    z-index: 5;

   
    left: 50px; 
    
}
/* Contenedor general */
.social-banner {
    position: absolute;
    bottom: 30px;
    right: 30px;
    display: flex;
    gap: 12px;
    z-index: 10;
}



 

/* Estado Vertical: se activa al bajar con el scroll */
.social-banner.vertical {
    position: fixed; 
    top: 50%;
    right: 20px; 
    bottom: auto; /* Anulamos el bottom del banner */
    transform: translateY(-50%); /* Centra verticalmente */
    flex-direction: column; /* Lo vuelve vertical */
    gap: 10px;
}

/* Ajuste opcional para que los iconos se vean bien en vertical */
.social-banner.vertical .social-icon {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
}

/* --- FIX PARA CÍRCULOS PERFECTOS EN MÓVIL --- */
@media (max-width: 768px) {
    /* Cuando el banner se vuelve vertical al hacer scroll */
    .social-banner.vertical {
        right: 15px !important;    /* Separación del borde derecho */
        left: auto !important;     /* Elimina el centrado anterior */
        transform: translateY(-50%) !important; /* Centrado vertical real */
        width: auto !important;    /* Que no ocupe todo el ancho */
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
    }

    .social-banner.vertical .social-icon {
        /* Forzamos que sean círculos perfectos */
        width: 48px !important;    
        height: 48px !important;
        min-width: 48px !important; /* Evita que se aplaste horizontalmente */
        min-height: 48px !important;/* Evita que se aplaste verticalmente */
        
        display: flex !important;
        align-items: center;
        justify-content: center;
        border-radius: 50% !important; /* Asegura el círculo */
        
        margin: 0 !important;      /* Quita márgenes que puedan moverlo */
        padding: 0 !important;
        flex-shrink: 0 !important;  /* PROPIEDAD CLAVE: evita que flexbox lo deforme */
    }

    .social-banner.vertical .social-icon i {
        font-size: 1.4rem !important; /* Ajusta el tamaño del icono interno */
        line-height: 1;
    }
}
@media (max-width: 1199px) {
    /* Contenedor compacto */
    #carreras-container-mobile {
        width: 100% !important;
        position: static !important;
        background: #111 !important;
        padding: 0;
        border-top: 1px solid rgba(255, 140, 0, 0.3);
    }

    /* 1. TÍTULO DEL PROGRAMA (Jerarquía Principal) */
    .mobile-titulo-carrera {
        padding: 12px 20px;
        color: #f0f0f0 !important;
        font-weight: 600;
        font-size: 0.78rem; /* Tamaño contenido y elegante */
        text-transform: uppercase;
        letter-spacing: 0.5px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: #181818;
    }

    .mobile-titulo-carrera i {
        font-size: 0.6rem;
        color: #ff8c00;
        font-family: 'Montserrat', sans-serif;
    }

    /* 2. SUB-ÍNDICES / CURSOS (Jerarquía Secundaria - Minimalista) */
    .mobile-sublinks-cascada {
        background: #0a0a0a;
        width: 100% !important;
    }

    .mobile-sublinks-cascada a {
        display: flex !important;
        padding: 8px 35px !important; /* Más compacto verticalmente */
        color: #888 !important; /* Gris tenue para no competir con el título */
        text-decoration: none !important;
        font-size: 0.72rem !important; /* LETRA PEQUEÑA Y REFINADA */
        line-height: 1.3; /* Para que los títulos largos no ocupen mucho espacio */
        border-left: 1.5px solid transparent;
        transition: all 0.2s ease;
    }

    /* Efecto al seleccionar: el sub-índice se ilumina ligeramente */
    .mobile-sublinks-cascada a:active,
    .mobile-sublinks-cascada a:hover {
        background: rgba(255, 255, 255, 0.02);
        color: #ff8c00 !important; /* Solo aquí cobra color el texto */
        border-left: 1.5px solid #ff8c00;
        padding-left: 38px !important;
    }

    /* Guía visual minimalista (punto pequeño) */
    .mobile-sublinks-cascada a::before {
        content: "○"; /* Círculo fino */
        font-size: 0.5rem;
        margin-right: 10px;
        color: #444;
    }
}
/* Base circular */
.social-icon {
    /* 1. Aumentamos el círculo blanco (antes era 38px) */
    width: 50px; 
    height: 50px; 
    
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: 0.3s;
    
    /* 2. Aumentamos el icono de adentro (antes era 1.1rem) */
    font-size: 1.5rem; 
    
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Colores extraídos de tus archivos: image_772f87.png e image_772fa6.png */
.sec-horarios-dark {
    background-color: #000000; /* Negro total como pediste */
    position: relative;
    overflow: hidden;
}

.text-cyan { color: #00e5ff; letter-spacing: 2px; }
.text-blue-glow { color: #009cff; text-shadow: 0 0 10px rgba(0, 156, 255, 0.5); }

/* Efecto de luz detrás de la persona */
.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0,156,255,0.3) 0%, rgba(0,0,0,0) 70%);
    transform: translate(-50%, -50%);
    z-index: 1;
}

.img-person {
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 20px rgba(0, 229, 255, 0.2));
}

/* Tarjetas estilo pestaña oscura */
.card-dark-tab {
    background: #111; /* Gris casi negro */
    padding: 20px;
    border-radius: 0 30px 30px 0; /* Forma de pestaña */
    border-left: 4px solid #333;
    transition: 0.3s;
    color: white;
}

.card-dark-tab:hover {
    background: #1a1a1a;
    border-left-color: #00e5ff;
    transform: translateX(10px);
}

.icon-circle {
    width: 40px;
    height: 40px;
    background: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 15px;
    color: #00e5ff;
}

/* Botón llamativo */
.btn-solicitar-neon {
    background: #ff8c00; /* Naranja UNTELS para resaltar */
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 5px;
    font-weight: 900;
    box-shadow: 0 0 15px rgba(255, 140, 0, 0.4);
    transition: 0.3s;
}

.btn-solicitar-neon:hover {
    background: white;
    color: black;
    transform: scale(1.05);
}
/* --- SECCIÓN CONVENIOS ESTILO UNTELS --- */
.sec-convenios-global {
    background-color: #000; /* Fondo negro como pediste */
    padding: 80px 0;
}

.text-cyan { color: #00e5ff; }

/* Mapa mundial con filtro para que se vea gris/oscuro */
/* Esto hará que el mapa sea visible sobre el fondo negro */
.world-map-bg {
    width: 100%;
    height: auto;
    /* Filtro para convertir el mapa en blanco brillante y que resalte */
    filter: invert(1) brightness(1.5) opacity(0.2); 
    display: block;
    position: relative;
    z-index: 1;
}

/* El contenedor debe ser relativo para anclar los puntos */
.map-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

/* Estilo de los puntos (Naranja UNTELS) */
.map-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: #ff8c00; 
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(255, 140, 0, 0.8);
    z-index: 5;
}


.dot-cyan {
    background-color: #00e5ff;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.8);
}

/* Animación de pulso */
.map-dot::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    width: 20px;
    height: 20px;
    border: 1px solid currentColor;
    border-radius: 50%;
    animation: map-pulse 2s infinite;
}

@keyframes map-pulse {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(1.8); opacity: 0; }
}

/* Diferenciar algunos puntos con CIAN (estilo futurista UNTELS) */
.dot-spain, .dot-italy {
    background-color: #00e5ff;
    box-shadow: 0 0 15px #00e5ff;
}
.dot-spain::after, .dot-italy::after { border-color: #00e5ff; }

/* Botón llamativo */
.btn-solicitar-neon {
    background: transparent;
    border: 2px solid var(--orange);
    color: white;
    padding: 12px 40px;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s;
}

.btn-solicitar-neon:hover {
    background: var(--orange);
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.6);
}
/* Colores de marca específicos */
.facebook { color: #1877F2; }
.instagram { color: #E4405F; }
.tiktok { color: #000000; }
.linkedin { color: #0A66C2; }
.youtube { color: #FF0000; }
/* Color oficial de WhatsApp */
.whatsapp { color: #25D366; }

/* Efecto especial para WhatsApp (opcional) */
.social-icon.whatsapp:hover {
    background: #25D366;
    color: #fff;
}
/* Efecto al pasar el mouse (se vuelven naranjas como la marca) */
.social-icon:hover {
    background: var(--orange); /* Naranja institucional */
    color: #ffffff;
    transform: scale(1.1);
}
/* Lista de beneficios a la derecha */
.benefit-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    padding: 15px 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    transition: 0.3s;
}

.benefit-item:hover {
    transform: translateX(-10px);
    border-color: var(--orange);
}

.benefit-icon-box {
    width: 50px;
    height: 50px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-text h6 {
    margin: 0;
    font-size: 1.1rem;
    color: #444;
}

.benefit-text strong {
    color: var(--orange); /* Naranja UNTELS */
}

/* Botón igual al de la imagen */
.btn-solicitar {
    background: #333; /* Color oscuro del botón original */
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

 

/* Patrón de puntos naranja */
.dot-pattern::before {
    content: "••••\n••••\n••••";
    color: var(--orange);
    font-size: 20px;
    line-height: 10px;
    letter-spacing: 5px;
}
/* Ajuste del badge para que se vea potente como en las fotos */
.badge-date {
    border-left: 8px solid var(--orange);
    padding-left: 20px;
    margin-top: 2rem;
    color: white;
}

.big-num { font-size: 5rem; font-weight: 900; color: var(--white); display: block;line-height: 1; }

/* SECCIÓN 2: MISIÓN/VISIÓN (Estilo Pestaña) */
.tab-box { padding: 50px; min-height: 250px; }
.col-md-6:first-child .tab-box { border-radius: 0 50px 0 0; }
.col-md-6:last-child .tab-box { border-radius: 0 0 0 50px; }

/* SECCIÓN 3: PROGRAMAS */
.sec-programas { background: var(--blue-dark); }
.blue-header-tab { background: var(--blue-bright); padding: 20px; border-radius: 0 0 50px 0; width: fit-content; margin-bottom: 30px; }
.prog-card { border: 3px solid var(--white); padding: 30px; border-radius: 20px; font-weight: 900; transition: 0.3s; }
.prog-card:hover { background: var(--orange); border-color: var(--orange); }

/* SECCIÓN 5: PLAN DE ESTUDIOS */
.ciclo-item { background: #fff; border-left: 10px solid var(--blue-dark); padding: 20px; margin-bottom: 10px; font-weight: 700; box-shadow: 0 5px 15px rgba(0,0,0,0.1); border-radius: 0 20px 20px 0; }
.ciclo-item span { font-size: 2rem; color: #ccc; margin-right: 15px; }

/* SECCIÓN 6: REQUISITOS */
/* --- SECCIÓN REQUISITOS (CORRECCIÓN) --- */
.sec-requisitos {
    padding: 20px 0; /* Esto da el espacio superior e inferior que falta */
    background-color: #fff; /* O el color de fondo que prefieras */
}

.green-pill {
    background: var(--green);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    display: inline-block;
    font-weight: 900;
    margin-bottom: -25px; /* Crea el efecto de superposición */
    position: relative;
    z-index: 2;
    margin-left: 30px;
}

.requisitos-content {
    background: #fff;
    padding: 60px 40px 40px; /* El padding superior (60px) es alto para dejar espacio a la píldora */
    border: 2px solid #eee;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    max-width: 550px; /* Limita el ancho del cuadro blanco */
    width: 100%;
}

/* Espaciado interno de la lista para que no se vea apretada */
.requisitos-content ul {
    margin-bottom: 0;
}

.requisitos-content li {
    margin-bottom: 12px;
    font-size: 1.05rem;
    color: #444;
}

/* Estructura principal con Flexbox */
.container-flex {
    display: flex;
    align-items: center;
    justify-content: center; /* Cambia a center para que no haya un hueco enorme en medio */
    gap: 20px; /* Espacio entre el cuadro y la imagen */
}

.content-left {
    flex: 1; /* El cuadro de texto toma el espacio disponible */
}

.content-right {
    flex: 0 0 auto; /* La imagen no se estira */
}

.img-requisitos {
    max-width: 250px; /* Ajusta este número si la quieres aún más pequeña */
    height: auto;
    display: block;
}



.green-pill {
    background: var(--green, #7cc142); /* Si var(--green) falla, usa el verde por defecto */
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    display: inline-block;
    font-weight: 900;
    margin-bottom: -25px;
    position: relative;
    z-index: 2;
    margin-left: 30px;
}

.requisitos-content {
    background: #fff;
    padding: 60px 40px 40px;
    border: 2px solid #eee;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.requisitos-content li {
    margin-bottom: 12px;
    font-size: 1.05rem;
    color: #444;
}

/* Responsivo: Si se ve en celular, la imagen se va abajo */
@media (max-width: 768px) {
    .container-flex {
        flex-direction: column;
        text-align: center;
    }
    .green-pill {
        margin-left: 0;
    }
}

/* --- NUEVA SECCIÓN PROGRAMAS ESTILO AUTÓNOMA --- */
.sec-programas {
    background-color: #fff; /* Fondo blanco para resaltar las tarjetas */
}

.prog-card-v2 {
    display: block;
    text-decoration: none;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.prog-img-wrapper {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.prog-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.prog-info {
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
}

.prog-info h6 {
    margin: 0;
    font-weight: 900;
    color: var(--blue-dark);
    font-size: 0.95rem;
    text-transform: uppercase;
    line-height: 1.2;
}

.prog-info i {
    color: var(--orange);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

/* EFECTOS HOVER */
.prog-card-v2:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    text-decoration: none;
}

.prog-card-v2:hover .prog-img-wrapper img {
    transform: scale(1.1);
}

.prog-card-v2:hover .prog-info i {
    transform: translateX(5px);
}

/* Ajuste para que el texto de cabecera combine con el estilo actual */
.tracking-wider {
    letter-spacing: 3px;
    font-size: 0.9rem;
}

/* --- DISEÑO PARA PROGRAMA ÚNICO --- */
.card-destacada {
    border-radius: 30px;
    overflow: hidden; /* Corta la imagen y el fondo para que respeten el radio */
    border: 1px solid #eee;
}

.img-destacada-wrapper {
    position: relative;
    height: 100%;
    min-height: 350px;
}

.img-destacada-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge-categoria {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--orange);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 900;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.info-destacada h2 {
    line-height: 1.1;
}

.detalles-rapidos span {
    font-size: 0.95rem;
    color: #555;
}

/* Botón estilizado */
.btn-solicitar-unico {
    display: inline-block;
    background: var(--blue-dark);
    color: white;
    padding: 15px 35px;
    border-radius: 12px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
    border: 2px solid var(--blue-dark);
}

.btn-solicitar-unico:hover {
    background: transparent;
    color: var(--blue-dark);
    text-decoration: none;
    transform: translateX(10px);
}

/* Ajuste para móviles */
@media (max-width: 991px) {
    .card-destacada {
        border-radius: 20px;
    }
    .img-destacada-wrapper {
        height: 250px;
    }
}

.requisitos-content li:last-child {
    margin-bottom: 0;
}

/* SECCIÓN 7: CTA */
.cta-box { background: var(--blue-dark); padding: 60px; border-radius: 50px; }
.btn-untels { background: var(--orange); color: white; border: none; padding: 15px 50px; font-weight: 900; border-radius: 10px; margin-top: 20px; }


/* --- SECCIÓN TESTIMONIOS UNTELS VERDE --- */

.sec-testimonios-untels {
    background-color: #000; /* Fondo negro profundo como el volante image_12.png */
    padding: 100px 0;
}

/* Colores Neón extraídos de image_11.png y image_12.png */
.text-green-neon {
    color: #6dff00 !important; /* Verde Neón brillante */
}

.text-green-glow {
    color: #a9ff00; /* Verde más amarillento, estilo DNA */
    text-shadow: 0 0 10px rgba(109, 255, 0, 0.5);
}

.text-green-light {
    color: #c9ffaf; /* Verde pálido para el cargo, muy legible */
}

/* Tracking ancho para "LO QUE DICEN NUESTROS POSTULANTES" */
.tracking-wider {
    letter-spacing: 5px;
    font-size: 1.1rem;
}

/* --- TARJETAS DE TESTIMONIOS ESTILO PESTAÑA OSCURA --- */
.testimonial-card-untels {
    height: 450px; /* Alto fijo como en image_10.png */
    border-radius: 0 40px 40px 0; /* Forma de pestaña idéntica a tu diseño image_12.png */
    border: 1px solid rgba(109, 255, 0, 0.1); /* Borde sutil neón */
    transition: 0.3s;
}

/* Tarjeta destacada con borde más fuerte */
.border-green {
    border-color: #6dff00;
    box-shadow: 0 0 20px rgba(109, 255, 0, 0.3);
}

/* Imagen de fondo de la tarjeta */
.card-img-bg {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Asegura que la imagen llene la tarjeta */
    transition: 0.5s;
}

/* Degradado oscuro sobre la imagen para legibilidad */
.card-content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 70%, rgba(0,0,0,1) 100%);
    z-index: 2;
}

/* Efecto al pasar el mouse */
.testimonial-card-untels:hover {
    transform: translateY(-10px) translateX(10px);
    border-color: #6dff00;
}

.testimonial-card-untels:hover .card-img-bg {
    transform: scale(1.1);
}

.testimonial-card-untels i {
    opacity: 0.8;
}

/* Botón Ver Más (Igual a tu footer, pero con estilo neón) */
.btn-ver-mas-green {
    background: transparent;
    border: 2px solid #6dff00;
    color: white;
    padding: 15px 50px;
    border-radius: 10px;
    font-weight: 900;
    font-size: 1.2rem;
    transition: 0.3s;
}

.btn-ver-mas-green:hover {
    background: #6dff00;
    color: black;
    box-shadow: 0 0 20px rgba(109, 255, 0, 0.6);
}






























/* ===================================================
   CRONOGRAMA DE ADMISIÓN (TIMELINE V2)
   =================================================== */

/* 1. CONTENEDOR PRINCIPAL Y LÍNEA AZUL */
.timeline-horizontal-v2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin: 40px 0;
}

.timeline-horizontal-v2::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 4px;
    background: #275087; /* Azul de la línea */
    z-index: 1;
}

/* 2. ITEMS INDIVIDUALES (PUNTOS Y TEXTO) */
.timeline-item-v2 {
    text-align: center;
    position: relative;
    flex: 1;
    z-index: 1 !important;
    opacity: 0;
    animation: puntoInfinito 4s ease-in-out infinite;
}

.circle-v2 {
    width: 45px;
    height: 45px;
    line-height: 45px;
    background: #275087;
    color: #fff;
    border-radius: 50%;
    margin: 0 auto 10px;
    font-weight: bold;
    position: relative;
    z-index: 2 !important;
    box-shadow: 0 0 8px rgba(0,0,0,0.2);
}

/* 3. ANIMACIONES (LÍNEA Y PUNTOS) */

/* Animación de la línea azul */
.timeline-horizontal-v2::before {
    width: 0%; 
    animation: lineaInfinita 4s linear infinite;
}

@keyframes lineaInfinita {
    0% { width: 0%; opacity: 0; }
    5% { width: 0%; opacity: 1; }
    90% { width: 100%; opacity: 1; }
    100% { width: 100%; opacity: 0; }
}

/* Animación de los puntos (secuencia) */
@keyframes puntoInfinito {
    0%, 10% { opacity: 0; transform: scale(0.5); }
    15%, 85% { opacity: 1; transform: scale(1); }
    95%, 100% { opacity: 0; transform: scale(0.8); }
}

/* Delays para efecto cascada (se activan según el orden) */
.timeline-item-v2:nth-child(1) { animation-delay: 0.2s; }
.timeline-item-v2:nth-child(2) { animation-delay: 0.8s; }
.timeline-item-v2:nth-child(3) { animation-delay: 1.4s; }
.timeline-item-v2:nth-child(4) { animation-delay: 2.0s; }
.timeline-item-v2:nth-child(5) { animation-delay: 2.6s; }
.timeline-item-v2:nth-child(6) { animation-delay: 3.2s; }

/* 4. RESPONSIVE (MÓVIL) */
@media (max-width: 768px) {
    .timeline-horizontal-v2 {
        flex-wrap: wrap;
    }

    .timeline-item-v2 {
        flex: 0 0 33.33%; /* Se divide en filas de 3 */
        margin-bottom: 40px;
    }

    .timeline-horizontal-v2::before {
        display: none; /* Se quita la línea azul en móvil para evitar errores visuales */
    }
}


.reveal-slide, .reveal-up, .prog-card-v2 {
    will-change: transform, opacity;
    backface-visibility: hidden; /* Evita parpadeos en Chrome */
}
/* FOOTER */
.sec-footer { background: #000; padding: 60px 0; border-top: 8px solid var(--orange); }
/* Estilo para los iconos de redes sociales en el footer */
.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: 2px solid #fff; /* Círculo blanco */
    color: #fff; /* Icono blanco */
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-link:hover {
    background-color: #fff; /* Fondo blanco al pasar el mouse */
    color: #000; /* Icono negro al pasar el mouse */
    transform: translateY(-5px);
}

/* Asegura que el footer mantenga la línea naranja superior */
.sec-footer { 
    background: #000; 
    padding: 60px 0; 
    border-top: 8px solid #ff8c00; /* Color naranja institucional */
}
 
 
/* --- HEADER PRINCIPAL --- */
 

.main-header {
    position: absolute; /* Lo sacamos del flujo normal */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* 1. Top Bar (Gris claro arriba) */
.top-bar {
    background-color: var(--topbar-bg);
    padding: 4px 0; /* Más delgado */
    font-size: 11px;
    border-bottom: 1px solid #eee;
}

.top-link {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-gray);
    text-decoration: none;
    margin-right: 15px;
    text-transform: capitalize;
}

.top-link:hover { color: var(--orange); }

/* 2. Barra de Navegación Principal */
.navbar-posgrado  {
    padding: 8px 0;
}

.logo-brand img {
    height: 40px; /* Ajuste según el logo */
    transition: 0.3s;
}

.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-item-posgrado  {
    position: relative;
    padding: 0 12px;
}
/* Estilos del Submenú (Oculto por defecto) */
.submenu-posgrado  {
    position: absolute;
    top: 100%; /* Aparece justo debajo del menú principal */
    left: 0;
    background-color: #ffffff;
    min-width: 180px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.1);
    list-style: none;
    padding: 10px 0;
    margin: 0;
    border-radius: 4px;
    border-top: 3px solid #FF8200; /* Línea naranja como en tu flyer */
    
    /* Animación de entrada */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

/* Items del submenú */
.submenu-posgrado  li a {
    color: #333;
    padding: 10px 20px;
    display: block;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.3s;
}

/* Efecto Hover en las opciones */
.submenu-posgrado  li a:hover {
    background-color: #f8f9fa;
    color: var(--orange);/* Naranja institucional */
}

/* MOSTRAR AL PASAR EL MOUSE */
.dropdown-programas:hover .submenu-posgrado  {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.btn-submenu-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-submenu-trigger i {
    transition: transform 0.3s ease;
    font-size: 0.8em;
}

.submenu-mobile-content li a {
    padding: 10px 15px !important;
    font-size: 0.95em !important;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: block;
    text-align: center !important;
    padding-left: 0 !important; /* Quitamos la sangría para que el centro sea real */
}
.nav-item-mobile .btn-submenu-trigger {
    display: flex;
    justify-content: center; /* Esto centra el texto y la flecha */
    align-items: center;
    width: 100%;
    text-align: center;
    gap: 10px; /* Espacio entre el texto y la flecha */
}
.nav-link-posgrado  {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-gray);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.nav-link-posgrado  i {
    font-size: 10px;
    margin-left: 5px;
    color: var(--orange);
}

/* 3. Botones del lado derecho */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-radio {
    color: var(--orange);
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    margin-right: 10px;
}

.btn-student-portal {
    background-color: var(--orange);
    color: white !important;
    padding: 8px 18px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 13px;
    text-decoration: none;
}

.btn-soy-posgrado  {
    background-color: var(--orange);
    color: white !important;
    padding: 8px 18px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 13px;
    text-decoration: none;
}

.btn-test-vocacional {
    background-color: var(--orange);
    color: white !important;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 14px;
    text-decoration: none;
    margin-left: 20px;
}

.search-icon {
    font-size: 1.2rem;
    color: var(--text-gray);
    cursor: pointer;
    margin-left: 15px;
}







.barra-stats-compacta {
    background: var(--blue-deep);
    border-top: 4px solid #ff8c00;
    padding: 25px 0 !important; /* Altura muy reducida */
}

.num-compacto {
    font-size: 2rem; /* Más pequeño para no robar tanto espacio */
    font-weight: 900;
    color: #fff;
    margin-bottom: 0;
}

.label-compacto {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    font-weight: 700;
    letter-spacing: 1px;
}

.text-orange {
    color: #ff8c00;
}

/* En móviles quitamos los bordes laterales para que no se vea amontonado */
@media (max-width: 991px) {
    .border-end {
        border: none !important;
    }
    .num-compacto {
        font-size: 1.5rem;
    }
}
/* SOLUCIÓN DEFINITIVA PARA BORDES BLANCOS */
* {
    box-sizing: border-box;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* Evita que cualquier elemento rompa el ancho */
section, div, img, video {
    max-width: 100%;
}

/* Bootstrap fix (MUY IMPORTANTE) */
.row {
    margin-left: 0;
    margin-right: 0;
}
/* CENTRAR REDES SOCIALES EN MÓVIL */
@media (max-width: 768px) {
    .social-banner {
        right: 50%; 
        transform: translateX(50%);
        justify-content: center;
        bottom: 80px !important;
    }
}

/* SOLO FIX PARA MÓVILES */
@media (max-width: 768px) {

    /* que se vuelvan 2 por fila */
    .barra-stats-compacta .col-3 {
        width: 50%;
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom: 10px;
    }

    /* quitar bordes feos en móvil */
    .barra-stats-compacta .border-end {
        border: none !important;
    }

    /* tamaños más legibles */
    .num-compacto {
        font-size: 1.6rem;
    }

    .label-compacto {
        font-size: 0.7rem;
    }
}
/* BOTÓN NARANJA */
/* BOTÓN HAMBURGUESA */
.menu-toggle {
    background: transparent;
    border: none;
    font-size: 1.8rem;
    color: #ff8c00; /* naranja */
    cursor: pointer;
}

/* OVERLAY MENÚ MÓVIL */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #000; /* azul oscuro institucional */
    z-index: 9999;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    transform: translateX(100%);
    transition: 0.4s ease;
}

/* ACTIVO */
.mobile-menu.active {
    transform: translateX(0);
}

/* LISTA */
.mobile-menu ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

.mobile-menu ul li {
    margin: 20px 0;
}

.mobile-menu ul li a {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
}

.mobile-menu ul li a:hover {
    color: #ff8c00;
}

/* BOTÓN CERRAR */
.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 2rem;
    color: #ff8c00;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.carrera-item {
    position: relative;
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #ddd;
}

.carrera-item:hover { background-color: #f1f1f1; }

/* Contenedor de los 5 links de cada carrera */
.sub-links-container {
    display: none;
    position: absolute;
    left: 100%; /* Aparece a la derecha */
    top: 0;
    background-color: #fff;
    min-width: 150px;
    box-shadow: 4px 0px 8px rgba(0,0,0,0.1);
}

.carrera-item:hover .sub-links-container {
    display: block;
}

    
.card-doctorado-compact {
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.card-doctorado-compact:hover {
    transform: translateY(-5px);
}

.doctorado-img {
    flex: 0 0 38%; /* Ajuste fino para que la imagen no sea tan dominante */
    position: relative;
    min-height: 300px;
}

.doctorado-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge-modalidad {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--blue-deep); /* Tu azul exacto */
    color: white;
    padding: 6px 14px;
    font-size: 0.7rem;
    font-weight: 800;
    border-radius: 8px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.icon-box {
    background: #f0f7ff;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.doctorado-body {
    flex: 1;
}

/* Responsive */
@media (max-width: 767px) {
    .doctorado-img { 
        flex: 0 0 250px; 
    }
    .card-doctorado-compact {
        border-radius: 20px;
    }
}
@media (max-width: 768px) {
  .sec-requisitos .container,
  .container-flex {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 15px !important;
    padding: 0 15px !important;
  }

  .content-left,
  .content-right {
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 100% !important;
  }

  .requisitos-content {
    width: 100% !important;
    max-width: 100% !important;
    padding: 45px 20px 25px !important;
    border-radius: 20px !important;
  }

  .green-pill {
    margin-left: 0 !important;
    display: block !important;
    width: fit-content !important;
    font-size: 0.9rem !important;
    padding: 12px 22px !important;
  }

  .sec-requisitos .content-right {
    text-align: center !important;
  }

  .sec-requisitos .content-right img {
    max-width: 220px !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 auto !important;
    display: block !important;
  }

  .requisitos-content li {
    font-size: 0.98rem !important;
  }
}
@media (max-width: 768px) {
    .sec-posgrado .row.align-items-start {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .sec-posgrado .col-lg-4 {
        width: 100%;
        max-width: 100%;
        margin-bottom: 18px;
    }

    .sec-posgrado .col-lg-4:last-child {
        margin-bottom: 0;
    }

    .sec-posgrado .benefit-list {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .sec-posgrado .benefit-item {
        width: 100%;
        padding: 12px 14px;
        margin-bottom: 0;
    }

    .sec-posgrado .benefit-icon-box {
        width: 44px;
        height: 44px;
        margin-right: 12px;
        flex: 0 0 44px;
    }

    .sec-posgrado .benefit-text h6 {
        font-size: 0.95rem;
        line-height: 1.25;
        margin-bottom: 0;
    }

    .sec-posgrado .photo-cutout {
        width: 100%;
        text-align: center;
        margin-top: 8px;
    }

    .sec-posgrado .photo-cutout img {
        max-width: 260px;
        width: 100%;
        height: auto;
        margin: 0 auto;
        left: 0;
        margin-top: 0;
    }
}