:root {
    --primary: #FE0000;           
    --secondary: #F2F1F8;          
    --dark: #0B0A43;  /*#0B0A43*/        
    --light: #FFFFFF;
    --color-brand-orange: #FF6600;   
    --btn-hover: #b91c1c; 
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --font-family-sans-serif: "Poppins", sans-serif;
    --brand-red: #E60000;      
    --brand-blue: #0d6efd;     
    --brand-green: #00A65A;    
}


.text-brand-red { color: var(--brand-red) !important; }
.bg-brand-red { background-color: var(--brand-red) !important; color: #ffffff !important; }
.bg-brand-orange { background-color: var(--color-brand-orange) !important; color: #ffffff !important; }
.bg-brand-blue { background-color: var(--brand-blue) !important; color: #ffffff !important; }
.bg-brand-green { background-color: var(--brand-green) !important; color: #ffffff !important; }

.text-secondary-custom { color: var(--dark) !important; }
.text-tertiary-custom { color: var(--primary) !important; letter-spacing: 1px; font-weight: 700; }
.text-light-muted { color: #E2E8F0 !important; }
.muted-text { color: #64748b; }

.divider-line {
    width: 60px;
    height: 4px;
    background-color: var(--brand-red);
    border-radius: 2px;
    margin-top: 15px;
    
}


body {
    font-family: var(--font-family-sans-serif);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #6C6A74; 
    background-color: #F8F9FA; 
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}


@media (min-width: 1200px) {
    .container {
        max-width: 1140px !important;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1200px !important;
    }
}


a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--dark);
}

.fw-black {
    font-weight: 900 !important; 
}


/* ==================
   CLASES AUXILIARES
   ================== */
.page-admision-light { 
    background-color: #F8F9FA !important; 
    color: #6C6A74 !important; 
}
.max-w-650 { max-width: 650px; }
.max-w-800 { max-width: 800px; }
.max-w-950 { max-width: 950px; }
.fs-065 { font-size: 0.65rem; }
.fs-075 { font-size: 0.75rem; }
.fs-070 { font-size: 0.70rem; }
.fs-080 { font-size: 0.8rem; }
.fs-085 { font-size: 0.85rem; }
.fs-090 { font-size: 0.9rem; }
.fs-095 { font-size: 0.95rem; }
.fs-110 { font-size: 1.1rem; }
.lh-15 { line-height: 1.5; }
.lh-16 { line-height: 1.6; }

.text-navy-main { color: var(--navy-blue-main) !important; }
.timeline-dot-custom {
    width: 16px;
    height: 16px;
    left: -33px;
    top: 4px;
}



/*  BOTON GLOBAL  */
.btn-submit-custom {
    background-color: var(--primary); 
    font-size: 0.95rem;
    letter-spacing: 1px;
    border: none;
    border-radius: 6px;
    font-weight: 900; 
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);

}

.btn-submit-custom:hover,
.btn-submit-custom:focus {
    background-color: var(--btn-hover); 
    color: #ffffff !important;
    transform: translateY(-3px); 
  
}

.btn-submit-custom:active {
    transform: translateY(-1px);
}

/* complementaria */
.btn-animate {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Destello al pasar el cursor */
.btn-animate::after {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    transition: 0.75s;
    z-index: -1;
}

.btn-animate:hover::after {
    left: 125%;
}


/* ==========================================================================
    NOSOTROS
   ========================================================================== */

.custom-paragraph-spacing {
    font-size: 0.95rem;
    line-height: 1.85; 
    letter-spacing: 0.02em; 
}

.img-tab-nosotros {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.tab-pane-custom:hover .img-tab-nosotros {
    transform: scale(1.06);
}

.overlay-tab-nosotros {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.content-tab-nosotros {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    z-index: 2;
    opacity: 0;
}

#nosotrosTabContent {
    display: grid !important;
    background-color: #0b0f19; 
}

#nosotrosTabContent .tab-pane-custom {
    grid-area: 1 / 1;
    display: block !important; 
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
    z-index: 1;
}

#nosotrosTabContent .tab-pane-custom.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 2;
}

.tab-pane-custom.active .content-tab-nosotros {
    animation: slideUpFadeText 0.6s ease 0.1s forwards;
}

@keyframes slideUpFadeText {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.tabs-nav-nosotros {
    background-color: #f1f5f9;
    padding: 6px;
    border-radius: 50px;
    display: inline-flex;
    flex-wrap: wrap;
}

.tabs-nav-nosotros .nav-item {
    margin: 0;
}

.tabs-nav-nosotros .nav-link {
    color: #475569;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    border-radius: 50px;
    padding: 10px 20px;
    transition: all 0.3s ease;
    border: none;
}

.tabs-nav-nosotros .nav-link:hover:not(.active) {
    background-color: #e2e8f0;
}

.tabs-nav-nosotros .nav-link.active {
    background-color: var(--brand-red);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(230, 0, 0, 0.3);
}

.feature-card-solid {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-card-solid:hover {
    border-color: #cbd5e1;
    transform: translateX(5px); 
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.04);
}

.icon-box-solid {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}


/* ==========================================================================
    CONTADORES DEL INDEX - COUNTER 
   ========================================================================== */

.counter-section {
    position: relative;
    padding: 6rem 0; 
    background-color: #0b0c10;
    z-index: 2;
    overflow: hidden; 
}

.counter-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: 
        radial-gradient(circle at 0% 50%, rgba(230, 0, 0, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 100% 50%, rgba(255, 107, 0, 0.08) 0%, transparent 40%),
        radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    
    background-size: 100% 100%, 100% 100%, 20px 20px; 
    z-index: -1;
    pointer-events: none;
}

.counter-card {
    background-color: #12141d;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.counter-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.counter-icon-box {
    width: 48px;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.c-icon-yellow { color: #FFB703; }
.c-icon-red { color: #ef4444; }
.c-icon-blue { color: #3b82f6; }
.c-icon-green { color: #10b981; }

.counter-card:hover .counter-icon-box {
    background-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.counter-subtitle {
    color: #FFB703; 
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.counter-desc {
    font-size: 0.75rem; 
    line-height: 1.5;
    color: #cbd5e1 !important; 
}
.custom-index-z {
    position: relative;
    z-index: 2;
}


/* ==========================================================================
   COMPONENTES: BOTONES 
   ========================================================================== */

.btn-primary-custom {
    background-color: var(--primary); 
    color: var(--light);
    font-weight: 600;
    padding: 14px 36px;
    border-radius: 8px; 
    border: none;
    box-shadow: 0 4px 6px rgba(254, 0, 0, 0.15);
    transition: var(--transition-smooth);
}

.btn-primary-custom:hover {
    background-color: #C50000;
    color: var(--light);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(254, 0, 0, 0.3);
}

.btn-secondary-custom.btn-nav-action {
    background-color: var(--color-brand-orange) !important;
    color: var(--light) !important;
    border: none;
    border-radius: 6px;
    transition: var(--transition-smooth);
}

.btn-secondary-custom.btn-nav-action:hover {
    background-color: #E05500 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
}

/* ==========================================================================
   SLIDER PRINCIPAL Y VIDEO
   ========================================================================== */
.carousel-img {
    height: 75vh;
    object-fit: cover;
    filter: brightness(0.55);
}

.caption-content {
    z-index: 2;
    max-width: 850px;
}

.carousel-item.active .caption-content h1 {
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   SECCIN DEL VIDEO
   ========================================================================== */
.video-seccion {
    position: relative;
    width: 100%;
    height: 100vh; 
    overflow: hidden;
    background-color: #000;
}

.video-container {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
}

.video-bg {
    width: 100%; height: 100%; object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
    background: radial-gradient(circle, rgba(11, 15, 30, 0.5) 100%, rgba(6, 9, 19, 0.85) 0%);
}

.text-gradient-orange {
     background: linear-gradient(to right, #f87171, #fcd34d, #f87171);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block;
    text-shadow: none !important;
}

.video-hero-content {
    z-index: 5;
    max-width: 1050px; 
}

.video-title {
    letter-spacing: 1px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8); /* Sombra para que resalte sobre el video */
}

/* Contenedor de las 3 cajas */
.hero-boxes-wrapper {
    max-width: 950px;
}

/* Cajas de características (Efecto Glassmorphism sobre el video) */
.hero-feature-box {
    background-color: rgba(15, 23, 42, 0.4); /* Azul muy transparente */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Borde de cristal */
    border-radius: 12px;
    backdrop-filter: blur(12px); /* Desenfoca el video justo detrás de la caja */
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hero-feature-box:hover {
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-4px);
    background-color: rgba(15, 23, 42, 0.6);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* Iconos coloridos de las cajas */
.hero-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.h-icon-red { color: #ef4444; background-color: rgba(239, 68, 68, 0.15); }
.h-icon-yellow { color: #f59e0b; background-color: rgba(245, 158, 11, 0.15); }
.h-icon-blue { color: #3b82f6; background-color: rgba(59, 130, 246, 0.15); }

/* Textos de las cajas */
.hero-feature-label {
    font-size: 0.65rem;
    letter-spacing: 1px;
}
.hero-feature-value {
    font-size: 0.95rem;
    letter-spacing: 0.2px;
}   




/* ==========================================================================
   TARJETAS DE CARRERAS
   ========================================================================== */
.card-carrera {
    height: 480px; 
    background-color: var(--dark);
    position: relative;
    overflow: hidden;
    border: 1px solid #E2E8F0;          
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition-smooth);
}

.card-carrera img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center; 
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.card-carrera:hover {
    transform: translateY(-8px);      
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4) !important; 
}

.card-carrera:hover .image-zoom {
    transform: scale(1.08);
}

.badge-carrera-code {
    background-color: var(--brand-red);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(230, 0, 0, 0.3);
}

.badge-carrera-time {
    background-color: rgba(18, 15, 45, 0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #FFB703; 
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid rgba(255, 183, 3, 0.2);
}

.carrera-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 30%, rgba(15, 23, 42, 0.85) 80%, rgba(15, 23, 42, 0.95) 100%);
    transition: background 0.4s ease;
    z-index: 2;
}

.card-carrera:hover .carrera-overlay {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.2) 0%, rgba(15, 23, 42, 0.95) 75%, rgba(15, 23, 42, 1) 100%);
}

.carrera-content-wrapper {
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    transform: translateY(35px); 
}

.card-carrera:hover .carrera-content-wrapper {
    transform: translateY(0);
}

.icon-box-carrera {
    width: 60px;
    height: 60px;
    background-color: var(--brand-red);
    color: #ffffff;
    font-size: 1.8rem;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(230, 0, 0, 0.4);
    transition: transform 0.4s ease;
}

.card-carrera:hover .icon-box-carrera {
    transform: scale(1.1) translateY(-5px);
}

.subtitle-carrera {
    font-size: 0.8rem;
    letter-spacing: 0.3px;
}

.carrera-actions {
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    margin-top: 15px;
}

.card-carrera:hover .carrera-actions {
    opacity: 1;
    visibility: visible;
}

.btn-outline-carrera {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    font-size: 0.8rem;
    padding: 10px 0;
    transition: all 0.3s ease;
}

.btn-outline-carrera:hover {
    background-color: #ffffff;
    color: var(--dark);
}

.btn-solid-carrera {
    background-color: var(--brand-red);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 0.8rem;
    padding: 10px 0;
    box-shadow: 0 4px 10px rgba(230, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.btn-solid-carrera:hover {
    background-color: #b91c1c;
    color: #ffffff;
    transform: translateY(-2px);
}

/*=========================================================================
ESTRUCTURA INTERACTIVA DE LAS 3 CARRERAS
=========================================================================*/

.card-carrera:hover .carrera-content-wrapper {
    transform: translateY(-10px);
}

.card-carrera:hover .btn-ver-carrera {
    opacity: 1;
    transform: translateY(0);
}

.btn-ver-carrera:hover {
    background-color: #D60000;
    box-shadow: 0 8px 20px rgba(254, 0, 0, 0.4);
}

/* ==========================================================================
   CARRUSEL DE BENEFICIOS
   ========================================================================== */
.custom-carousel-btn {
    background-color: #1a73e8 !important; 
    width: 40px !important;
    height: 40px !important;
    border-radius: 4px !important; 
    opacity: 1 !important;
    top: 50% !important;
    transform: translateY(-50%);
}

.custom-carousel-btn:hover {
    background-color: #155cb4 !important;
}

.carousel-control-prev.custom-carousel-btn {
    left: -20px !important;
}

.carousel-control-next.custom-carousel-btn {
    right: -20px !important;
}

.custom-carousel-btn .carousel-control-prev-icon,
.custom-carousel-btn .carousel-control-next-icon {
    width: 18px;
    height: 18px;
}

@media (max-width: 768px) {
    .carousel-control-prev.custom-carousel-btn { left: 0 !important; }
    .carousel-control-next.custom-carousel-btn { right: 0 !important; }
}

/* ==========================================================================
    SWIPER Y BOTONES AZULES
   ========================================================================== */

@media (min-width: 768px) {
    .carousel-wrapper {
        padding-left: 45px;
        padding-right: 45px;
    }
}

.custom-swiper-btn {
    background-color: #1a73e8 !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 4px !important;
    color: white !important;
    margin-top: 0 !important; 
    top: 50% !important;
    transform: translateY(-50%);
}

.custom-swiper-btn:hover {
    background-color: #155cb4 !important;
}

.custom-swiper-btn::after {
    font-size: 16px !important;
    font-weight: bold;
}

.swiper-button-prev.custom-swiper-btn {
    left: 0px !important;
}

.swiper-button-next.custom-swiper-btn {
    right: 0px !important;
}

.mySwiperBeneficios .swiper-slide {
    box-sizing: border-box;
}

/* ==========================================================================
   BENEFICIOS CARRERAS
   ========================================================================== */

.carousel-wrapper .swiper-button-prev.custom-swiper-btn {
    left: -20px !important;
}

.carousel-wrapper .swiper-button-next.custom-swiper-btn {
    right: -20px !important;
}

@media (max-width: 991.98px) {
   
    .carousel-wrapper .swiper-button-prev.custom-swiper-btn { left: 2px !important; }
    .carousel-wrapper .swiper-button-next.custom-swiper-btn { right: 2px !important; }
}


/* ==========================================================================
   FORMULARIO DE INSCRIPCIÓN Y REGISTRO
   ========================================================================== */

.registration-section {
    position: relative;
    padding: 4rem 0 !important;
    background: url('../img/carrusel/carousel_registration.jpg') no-repeat center center / cover;
    background-attachment: fixed; 
    overflow: hidden;
}
.registration-glow-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(12, 15, 30, 0.95) 0%, rgba(12, 15, 30, 0.85) 50%, rgba(12, 15, 30, 0.4) 100%);
    z-index: 0;
}

.text-warning-solid { color: #FFB703 !important; }
.text-danger-solid { color: var(--brand-red) !important; }
.text-success-solid { color: #10b981 !important; }

.badge-promo-discount {
    background-color: rgba(230, 0, 0, 0.08); 
    color: #ef4444; 
    border: 1px solid rgba(230, 0, 0, 0.25); 
    padding: 6px 16px 6px 6px;
    border-radius: 50px;
    font-size: 0.7rem;
}

.simulator-calc-box {
    background-color: #121524; 
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.sim-block { border: 1px solid transparent; }
.sim-block-dark { background-color: rgba(255, 255, 255, 0.03); border-color: rgba(255,255,255,0.05); }
.sim-block-warning { background-color: rgba(255, 183, 3, 0.05); border-color: rgba(255, 183, 3, 0.2); }
.sim-block-success { background-color: rgba(16, 185, 129, 0.05); border-color: rgba(16, 185, 129, 0.2); }

.form-card-box {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
}

.input-group-custom { position: relative; display: flex; align-items: center; }
.input-group-custom .input-icon {
    position: absolute; 
    left: 14px; 
    top: 11px; 
    color: #94a3b8; font-size: 1rem; z-index: 5; pointer-events: none; transition: var(--transition-smooth);
}
.form-card-box .form-control-custom, 
.form-card-box .form-select.form-select-custom {
    background-color: #ffffff;
    color: #334155;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 0.65rem 1rem 0.65rem 40px; 
    font-size: 0.8rem; 
    transition: var(--transition-smooth);
    width: 100%; 
}
.form-card-box .form-control-custom::placeholder { color: #94a3b8; }
.form-card-box .form-control-custom:focus, 
.form-card-box .form-select.form-select-custom:focus {
    border-color: #0f172a; outline: none; box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.1);
}
.input-group-custom:focus-within .input-icon { color: #0f172a; }

.custom-invalid-text {
    font-size: 0.7rem;
    padding-left: 6px;
    font-weight: 600;
}


.msg-exito-custom {
    font-size: 0.8rem;
}

.form-error-text {
    font-size: 0.7rem;
}


.btn-outline-turno {
    background-color: #ffffff;
    color: #475569;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.75rem;
    transition: all 0.2s ease;
    cursor: pointer;
}
.btn-check:checked + .btn-outline-turno {
    background-color: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}
.btn-outline-turno:hover { background-color: #f8fafc; }

.payment-modality-box {
    background-color: #fffbeb; 
    border: 1px solid #fef08a;
}
.custom-radio { cursor: pointer; }
.custom-radio:checked {
    background-color: #FFB703;
    border-color: #FFB703;
}

.btn-submit-form {
    background-color: var(--brand-red); 
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}
.btn-submit-form:hover {
    background-color: #b91c1c;
    color: #ffffff;
    transform: translateY(-1px);
}

/* ==========================================================================
   INFRAESTRUCTURA, TESTIMONIOS Y INTERACTIVOS
   ========================================================================== */

#testimonios {
    overflow: hidden;
}

.bg-dark-testimonio {
    background-color: #0b0c10; 
}

.testimonio-glow-left {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: 
        radial-gradient(circle at -5% 50%, rgba(230, 0, 0, 0.22) 0%, transparent 60%),
        radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 100% 100%, 20px 20px;
    z-index: 1;
    pointer-events: none;
}

.testimonio-content-box {
    position: relative;
    z-index: 2;
}

.quote-icon-box {
    width: 48px;
    height: 48px;
    background-color: rgba(230, 0, 0, 0.08);
    color: var(--brand-red);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;  
}

.badge-carrera-testimonio {
    background-color: #f1f5f9; 
    color: #0f172a;
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 50px;
    letter-spacing: 0.5px;
}

.font-italic {
    font-style: italic;
}

.avatar-img-testimonio {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 2px solid rgba(230, 0, 0, 0.25); 
    padding: 2px; 
}

/* --- CONTROLES Y NAVEGACION --- */

.custom-testimonio-indicators button {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background-color: #cbd5e1 !important;
    border: none !important;
    margin-right: 8px !important;
    opacity: 1 !important;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.custom-testimonio-indicators button.active {
    background-color: var(--brand-red) !important;
    width: 24px !important;
    border-radius: 4px !important;
}

.custom-carousel-controls-bottom {
    z-index: 15;
}

.btn-nav-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background-color: #ffffff;
    color: #475569;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-nav-circle:hover {
    background-color: var(--brand-red);
    color: #ffffff;
    border-color: var(--brand-red);
    transform: scale(1.05);
}

@media (max-width: 991.98px) {
    .bg-dark-testimonio {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }
    .testimonio-content-box.pe-lg-4 {
        padding-right: 0 !important;
    }
}

.active-nav-link {
    border-bottom: 2px solid var(--color-brand-orange);
}

/* ==========================================================================
   ICono Flotante del WhatsApp
   ========================================================================== */
.btn-whatsapp-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: var(--light) !important;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: var(--transition-smooth);
    opacity: 0;
    visibility: hidden;
}

.btn-whatsapp-floating.visible {
    opacity: 1;
    visibility: visible;
}

.btn-whatsapp-floating:hover {
    background-color: #128C7E;
    transform: scale(1.1) rotate(8deg);
}

/* ==========================================================================
   NAVEGACION GLOBAL Y COMPLEMENTES 
   ========================================================================== */
.navbar-custom-main {
    background-color: rgba(18, 15, 45, 0.88) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding-top: 18px !important;
    padding-bottom: 18px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: var(--transition-smooth);
}

.navbar-custom-main .container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    position: relative;
}

.navbar-custom-main.scrolled .navbar-logo-scroll {
    opacity: 1;
    visibility: visible;
    max-width: 180px; 
    margin-right: 25px; 
}

@media (min-width: 992px) {
    .navbar-custom-main .navbar-collapse {
        display: flex !important;
        justify-content: center !important;
        flex-grow: 1;
        align-items: center !important; 
    }
    
    .navbar-custom-main.scrolled .navbar-collapse {
        justify-content: flex-start !important; 
        padding-left: 20px; 
    }

    /* AJUSTE EN PC: Fuerza al boton Menu y el contenedor de Inscríbete compartan el mismo centro exacto */
    .navbar-custom-main .btn-menu-toggle {
        align-self: center !important;
        line-height: normal !important; 
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
    
    .navbar-custom-main .navbar-collapse > div {
        align-self: center !important; 
    }
}

.navbar-logo-scroll {
    opacity: 0;
    visibility: hidden;
    max-width: 0; 
    overflow: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, max-width 0.4s cubic-bezier(0.16, 1, 0.3, 1), margin-right 0.3s ease;
    display: flex;
    align-items: center;
}

.navbar-logo-scroll img {
    height: 40px;
    width: auto;
}

.navbar-custom-main .navbar-nav .nav-link {
    color: #E2E8F0 !important;
    position: relative;
    transition: all 0.2s ease-in-out;
}

@media (min-width: 992px) {
    .navbar-custom-main .navbar-nav {
        gap: 24px; 
        margin-right: 32px; 
    }
}

.navbar-custom-main .navbar-nav .nav-link:hover {
    color: #FFFFFF !important;
    transform: scale(1.05); 
    box-shadow: inset 0 0 100px rgba(88, 88, 88, 0.08);
}


.navbar-custom-main .navbar-nav .nav-link.active-nav-page::before {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    color: var(--primary);
    background-color: var(--primary);
    border-radius: 2px;
}

.btn-menu-toggle {
    background-color: rgba(255, 255, 255, 0.06);
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-menu-toggle:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: #FFFFFF;
}

/* ==========================================================================
   DROPDOWN "CARRERAS" 
   ========================================================================== */

@media (min-width: 992px) {
    .navbar-custom-main .dropdown-hover-custom:hover > .dropdown-menu {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: translateY(0) !important;
        pointer-events: auto;
    }
    
    .navbar-custom-main .dropdown-hover-custom .dropdown-menu {
        display: block !important;
        visibility: hidden;
        opacity: 0;
        transform: translateY(12px);
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        margin-top: 0;
        border-top: 15px solid transparent !important; 
        background-clip: padding-box;
    }
}

.navbar-custom-main .dropdown-mega-custom {
    background-color: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    min-width: 300px !important; 
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

.navbar-custom-main .dropdown-mega-custom .dropdown-item {
    color: var(--dark) !important;
    background-color: transparent !important;
    white-space: normal !important;
    padding-left: 1rem !important; 
}

.navbar-custom-main .dropdown-mega-custom .dropdown-item:hover:not(.btn-ver-todas) {
    background-color: #f8f9fa !important;
    transform: translateX(3px); 
}

.navbar-custom-main .dropdown-mega-custom .transition-icon {
    transition: transform 0.3s ease, color 0.3s ease;
}
.navbar-custom-main .dropdown-mega-custom .dropdown-item:hover .transition-icon {
    transform: scale(1.1);
    color: var(--primary) !important; 
}

.navbar-custom-main .dropdown-mega-custom .active-carrera {
    background-color: rgba(255, 102, 0, 0.03) !important;
    border-left: 3px solid var(--color-brand-orange) !important;
}

.navbar-custom-main .dropdown-mega-custom .btn-ver-todas {
    transition: letter-spacing 0.3s ease, color 0.3s ease;
}
.navbar-custom-main .dropdown-mega-custom .btn-ver-todas:hover {
    letter-spacing: 0.5px; 
    background-color: transparent !important;
    color: var(--primary) !important;
}



.navbar-custom-main .dropdown-item.active,
.navbar-custom-main .dropdown-item:active {
    background-color: rgba(255, 255, 255, 0.05) !important; 
    color: var(--primary) !important; 
    font-weight: 700; 
    padding-left: 20px; 
}


/* ===============================================================================
Boton Whatsapp de manu principal
 ===============================================================================*/
.btn-nav-whatsapp-pc {
    width: 42px;
    height: 42px;
    background-color: #25D366 !important;
    color: #ffffff;
    border: none;
    border-radius: 14px;
    font-size: 1.35rem;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    animation: whatsapp-menu-bounce 3s ease-in-out infinite;
}

.btn-nav-whatsapp-pc:hover {
    transform: scale(1.1) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.5);
    animation-play-state: paused; 
}

@keyframes whatsapp-menu-bounce {
    0%, 80%, 100% { transform: translateY(0); }
    83% { transform: translateY(-6px); }
    86% { transform: translateY(0); }
    89% { transform: translateY(-4px); }
    92% { transform: translateY(0); }
}


/* ==========================================================================
   MENU OFFCANVAS 
   ========================================================================== */

.menu-istepsa-lateral {
    background: linear-gradient(180deg, var(--dark) 0%, #1e3a8a 100%) !important;
}

.menu-istepsa-lateral .offcanvas-header {
    background-color: rgba(0, 0, 0, 0.15) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
}

.menu-istepsa-lateral .offcanvas-header img {
    max-width: 125px !important; 
    height: auto !important;
    object-fit: contain;
}

.menu-istepsa-lateral .nav-link,
.menu-istepsa-lateral .dropdown-item {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

.menu-istepsa-lateral .nav-link i.bi,
.menu-istepsa-lateral .dropdown-item i.bi {
    color: #ffffff !important;
    transition: transform 0.2s ease;
    display: inline-block;
}

.menu-istepsa-lateral .nav-link:hover:not(.active),
.menu-istepsa-lateral .dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    padding-left: 26px; 
}

.menu-istepsa-lateral .nav-link:hover:not(.active) i.bi {
    transform: scale(1.1);
}

.menu-istepsa-lateral .nav-link.active {
    background-color: var(--brand-red) !important; 
    color: #ffffff !important;
}

.menu-istepsa-lateral .nav-link.active i.bi {
    color: #ffffff !important;
}

.menu-istepsa-lateral .dropdown {
    position: static;
}

.menu-istepsa-lateral .dropdown-menu {
    position: relative !important; 
    width: 100%;
    margin: 0;
    border: none;
    box-shadow: none;
    display: none; 
    float: none !important;        
    transform: none !important;    
    inset: auto !important;        
}

.menu-istepsa-lateral .dropdown.show .dropdown-menu {
    display: block;
}

.menu-istepsa-lateral .dropdown-toggle.show {
    color: #ffffff !important;
}

.menu-istepsa-lateral .dropdown-toggle.show::after {
    border-top-color: #ffffff !important; 
}

.menu-istepsa-lateral .btn-close {
    filter: invert(1);
}


/* ==========================================================================
    MEDIA QUERIES 
   ========================================================================== */
@media (max-width: 991px) {
    .carousel-img {
        height: 55vh;
    }
    .active-nav-link {
        border-bottom: none;
        color: var(--color-brand-orange) !important;
    }
    .navbar-custom-main {
            position: fixed !important;
            width: 100%;
            top: 0;
        }
        body {
            padding-top: 58px !important;
        }
        
        .navbar-custom-main .container {
            display: flex !important;
            flex-direction: row !important;
            justify-content: space-between !important;
            align-items: center !important;
            flex-wrap: nowrap !important; 
        }
        
        .active-nav-link {
            border-bottom: none;
            color: var(--color-brand-orange) !important;
        }
        .carousel-img {
            height: 55vh;
        }

}

@media (max-width: 768px) {
    .carousel-item .caption-content h1 {
        font-size: 1.9rem ; 
    }
    .card-carrera {
        height: 380px;
    }
    .card-carrera img {
        object-position: center top !important;
    }
}

@media (max-width: 576px) {
    .btn-whatsapp-floating {
        width: 52px;
        height: 52px;
        font-size: 26px;
        bottom: 20px;
        right: 20px;
    }
}

#carreras {
    padding-top: 7rem !important;
    padding-bottom: 7rem !important;
    background-color: var(--secondary);
}

.row.g-4.justify-content-center {
    margin-top: 2rem;
}


@media (max-width: 991.98px) {
    html, body {
        max-width: 100%;
        overflow-x: hidden;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    .navbar-nav, .row {
        margin-right: 0 !important;
        margin-left: 0 !important;
    }
}

/* ==========================================================================
   ¿POR QUÉ ESTUDIAR EN ISTEPSA?
   ========================================================================== */

.v-features-stack {
    margin-top: 2rem;
}

.v-features-stack .d-flex {
    padding: 1rem;
    border-radius: 8px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.v-features-stack .d-flex:hover {
    background-color: rgba(0, 0, 0, 0.02); 
    transform: translateX(5px); 
}

.v-features-stack .feature-icon-box {
    width: 54px;
    height: 54px;
    background-color: rgba(254, 0, 0, 0.06); 
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}


.v-features-stack .d-flex:hover .feature-icon-box {
    background-color: var(--primary); 
}
.v-features-stack .d-flex:hover .feature-icon-box i {
    color: #fff !important; 
}

.v-features-stack h5 {
    letter-spacing: 0.5px;
    font-size: 1.05rem;
}

.v-features-stack p {
    line-height: 1.5; 
}


/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}

.bg-footer-custom {
    background-color: #0d121f !important; 
}


.box-autorizacion-footer {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(148, 163, 184, 0.12);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition-smooth);
}

.box-autorizacion-footer:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(148, 163, 184, 0.25);
    transform: translateY(-2px);
}

.box-autorizacion-footer p {
    font-size: 0.75rem;
    letter-spacing: 0.2px;
}


.footer-bottom-bar {
    background-color: rgba(0, 0, 0, 0.25); 
    border-top: 1px solid rgba(148, 163, 184, 0.12) !important;
}


.border-footer-divider {
    border-color: rgba(148, 163, 184, 0.12) !important;
}


.text-footer-muted {
    color: #94a3b8 !important; 
}

footer p:last-of-type {
    margin-bottom: 0 !important;
}

footer h5 {
    letter-spacing: 1px;
    font-size: 0.9rem;
}

footer h5.text-primary {
    letter-spacing: 5px;
}

.google-maps-footer {
    width: 100%;
    height: 180px; 
    overflow: hidden;
    border-radius: 8px; 
    border: 1px solid rgba(148, 163, 184, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.google-maps-footer iframe {
    width: 100%;
    height: 100%;
    border: 0 !important;
    display: block;
    filter: grayscale(12%) contrast(102%); 
    transition: filter 0.3s ease;
}

.google-maps-footer:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3) !important;
}

.google-maps-footer:hover iframe {
    filter: grayscale(0%) contrast(100%); 
}

.footer-copyright-text {
    font-size: 0.74rem !important; 
    letter-spacing: 0.3px;
    color: #64748b; 
}

.transition-link {
    display: block; 
    padding: 2px 0;
    color: #94a3b8 !important; 
    transition: var(--transition-smooth);
}

.transition-link:hover {
    color: var(--light) !important;
    padding-left: 4px; 
}

.hover-orange-text {
    transition: color 0.25s ease;
}

.hover-orange-text:hover {
    color: var(--light) !important;
}

.hover-underline:hover {
    text-decoration: underline !important;
}

.footer-social-buttons a {
    width: 36px;  
    height: 36px;
    padding: 0 !important;
    border-color: rgba(148, 163, 184, 0.25) !important;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.3s ease, color 0.3s ease;
}

.footer-social-buttons a:hover {
    transform: translateY(-3px); 
}

footer ul li i {
    font-size: 1.05rem !important; 
    display: inline-block;
    vertical-align: middle;
}

/* ==========================================================================
   CARRERAS ARREGLOS 
   ========================================================================== */

.pilar-card-interactive {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pilar-card-interactive:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1) !important;
}

.collage-container {
    position: relative;
    padding-bottom: 40px;
}
.collage-img-principal {
    width: 90%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.collage-img-secundaria {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 65%;
    border: 6px solid #ffffff;
    border-radius: 8px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}
.collage-img-secundaria:hover {
    transform: scale(1.03);
}

/* ==========================================================================
   FICHA DE CARRERA
   ========================================================================== */
.card-ficha-azul {
    background: linear-gradient(145deg, #1e3a8a, var(--dark));
    border: none;
    border-radius: 16px;
    overflow: hidden;
}

.card-ficha-azul .ficha-header {
    background-color: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px;
}

.card-ficha-azul .ficha-body {
    padding: 28px 24px; 
}

.row-ficha-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
}

.card-ficha-azul .row-ficha-item:first-child {
    padding-top: 0;
}

.card-ficha-azul .row-ficha-item:last-child {
    border-bottom: none;
}

.card-ficha-azul .ficha-label {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.9;
}

.card-ficha-azul .ficha-value {
    font-size: 1rem;
    letter-spacing: 0.3px;
}

.card-ficha-azul .ficha-value-sm {
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    line-height: 1.4;
    margin-top: 3px;
}

.card-ficha-azul .ficha-price-block {
    padding-top: 28px;
    margin-bottom: 10px;
}

.card-ficha-azul .text-accent {
    color: #f59e0b; 
    font-size: 1.25rem;
    letter-spacing: 0.5px;
}

.card-ficha-azul .text-warning-custom {
    color: #fcd34d;
}

.card-ficha-azul .ficha-footer {
    padding: 15px 28px 40px 28px; 
    margin-top: 15px;
}

.card-ficha-azul .btn-submit-custom {
    background-color: var(--primary);
    border: none;
    border-radius: 8px;
    color: var(--light);
    font-size: 0.95rem;
    letter-spacing: 0.8px;
    padding: 14px 20px;
    transition: var(--transition-smooth);
}

.card-ficha-azul .btn-submit-custom:hover {
    background-color: #C50000;
    color: var(--light);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(254, 0, 0, 0.3);
}

.card-ficha-azul .ficha concept span + span,
.card-ficha-azul .ficha-price span + span {
    margin-top: 0.5rem;
}

.modulo-num-box {
    background-color: #e9ecef;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.modulo-item-interactive:hover .modulo-num-box {
    background-color: #1a62d6;
    color: #ffffff !important;
}

.badge-mencion {
    background-color: #e2e8f0;
    color: #151c36;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}
.img-laboratorio-card {
    height: 220px;
    object-fit: cover;
}

/* ==========================================================================
   Pilares de Carrera 
   ========================================================================== */

.pilar-card-interactive span.text-uppercase {
    font-size: 0.65rem;
    letter-spacing: 0.3px;
}

.pilar-card-interactive.bg-success {
    background-color: #145a23 !important; 
}

.pilar-card-interactive.bg-warning {
    background-color: #92400e !important; 
    color: #ffffff !important;
}

.pilar-card-interactive.bg-info {
    background-color: #075985 !important; 
}

/* ==========================================================================
    EXTENSIONES PARA APARTADO DE CARRERAS 
   ========================================================================== */

.modulo-item-interactive h6.fw-black {
    font-size: 0.9rem;
}

.modulo-item-interactive p.text-muted {
    font-size: 0.75rem;
}

.mencion-container h5.fw-black {
    font-size: 1rem;
}

.mencion-container p.text-muted {
    font-size: 0.75rem;
}


.btn-cta-white {
    background-color: var(--light);
    color: var(--dark);
    padding: 15px 40px;
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.btn-cta-white:hover {
    background-color: var(--color-brand-orange);
    color: var(--light);
}

.section-requirements-slant {
    background: #fff;
    clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
}

.pilar-minimal-box {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 3px solid #f0f0f0 !important;
}

.pilar-minimal-box:hover {
    transform: translateY(-5px);
    background-color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06) !important;
}

.col-4:nth-child(1) .pilar-minimal-box:hover { border-bottom-color: #FE0000 !important; } 
.col-4:nth-child(2) .pilar-minimal-box:hover { border-bottom-color: #0d121f !important; } 
.col-4:nth-child(3) .pilar-minimal-box:hover { border-bottom-color: #198754 !important; } 

.extra-small-text {
    font-size: 0.78rem;
    letter-spacing: -0.2px;
}


/* ========================================================================================
    ARREGLOS DENTRO DE CARRERAS 
   ========================================================================================
 */

.pilar-icon-wrapper {
   width: 50px; height: 50px;
}

.campo-laboral-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.campo-laboral-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1) !important;
    background-color: #fafafa !important;
}


.campo-laboral-card i {
    transition: transform 0.3s ease;
}

.campo-laboral-card:hover i {
    transform: scale(1.1);
}


/* ==========================================================================
    TOPBAR 
   ========================================================================== */
.topbar-top {
    background-color: #0b1d3a; 
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-family: var(--font-family-sans-serif);
}

.topbar-info-text {
    font-size: 0.70rem;
    font-weight: 500;
    color: #e2e8f0; 
}

.topbar-info-text span {
    display: inline-flex;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: default;
}

.topbar-info-text span:hover {
    color: #ffffff;
    text-shadow: 0 0 12px rgba(255, 183, 3, 0.6); 
    transform: translateY(-1px);
}

.badge-minedu-topbar {
    background-color: #2A111A; 
    border: 1px solid #9C2A46; 
    color: #FFA2A2; 
    font-size: 0.7rem;
    font-weight: 800;
    padding: 5px 16px;
    border-radius: 50px;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5); 
}

.badge-minedu-topbar i {
    color: #FFA2A2 !important; 
    font-size: 0.8rem;
}

.btn-intranet-topbar {
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-intranet-topbar:hover {
    background-color: #ffffff;
    color: #0b1d3a;
}

/* ==========================================================================
   MAIN NAVBAR 
   ========================================================================== */
.navbar-custom-main {
    background-color: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
    padding-top: 6px !important;
    padding-bottom: 6px !important;
}



.navbar-custom-main .navbar-nav .nav-link {
    color: #475569 !important; 
    transition: color 0.3s ease;
}

.navbar-custom-main .navbar-nav .nav-link:hover,
.navbar-custom-main .navbar-nav .nav-link.active-nav-page {
    color: var(--dark) !important; 
}



/* ==========================================================================
   LOGO INSTITUCIONAL 
   ========================================================================== */

.logo-wrapper {
    margin-top: -12px; 
    margin-bottom: -12px;
    text-decoration: none !important;
}

.logo-main-navbar {
    height: 50px; 
    margin: 0 !important; 
    transition: transform 0.3s ease;
    object-fit: contain;
}

.logo-wrapper:hover .logo-main-navbar {
    transform: scale(1.05);
}

.logo-subtitle-text {
    font-family: var(--font-family-sans-serif);
    font-size: 0.55rem; 
    font-weight: 500;
    color: rgba(71, 85, 105, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.5;
    margin-top: 2px;
    text-align: center;
    max-width: 250px; 
    white-space: normal;
}

@media (max-width: 991px) {
    .logo-wrapper {
        margin-top: 0;
        margin-bottom: 0;
    }
    .logo-main-navbar {
        height: 38px !important; 
        max-width: 180px; 
    }
    .logo-subtitle-text {
        font-size: 0.42rem; 
        max-width: 170px;
        letter-spacing: 0px;
    }
}

/* ==========================================================================
   PASOS Y REQUISITOS
   ========================================================================== */

.step-card-light {
    background-color: #ffffff;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
}

.step-card-light:hover {
    border-color: color-mix(in srgb, var(--brand-red) 50%, transparent);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.06);
}


.step-number-faded {
    color: rgba(230, 0, 0, 0.15); 
    font-size: 3.5rem;
    line-height: 1;
}


.card-requisitos-dark {
    background-color: #0b0f19; 
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 5px solid var(--brand-red) !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

/* ==========================================================================
   CTA PRE-FOOTER 
   ========================================================================== */
.cta-pre-footer {
    background: linear-gradient(90deg, #71102A 0%, #2A091A 40%, #060710 100%);
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255, 0.05);
}

.btn-cta-solid-white {
    background-color: #ffffff;
    color: #71102A; 
    border: none;
    border-radius: 6px; 
    letter-spacing: 0.5px;
    font-size: 0.8rem; 
    padding: 10px 28px; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08); 
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-cta-solid-white:hover {
    background-color: #f8f9fa;
    color: var(--brand-red);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.15);
}


.btn-cta-whatsapp {
    background-color: #00A859; 
    color: #ffffff;
    border: none;
    border-radius: 6px;
    letter-spacing: 0.5px;
    font-size: 0.8rem; 
    padding: 10px 28px; 
    box-shadow: 0 4px 10px rgba(0, 168, 89, 0.15);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-cta-whatsapp:hover {
    background-color: #008f4c;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 168, 89, 0.3);
}


/* ==========================================================================
   Control de anchos, fuentes y alturas de línea
   ========================================================================== */

.video-subtitle { max-width: 600px; }
#carreras .custom-paragraph-spacing { max-width: 700px; }
#inscripcion > .container > .row > .text-white > p.text-light-muted { max-width: 550px; font-size: 0.95rem; }
.simulator-calc-box { max-width: 550px; }
.form-card-box { max-width: 480px; }
.bg-dark-testimonio .custom-paragraph-spacing { max-width: 420px; font-size: 0.95rem; }
#info-admision .custom-paragraph-spacing { max-width: 650px; }

.simulator-calc-box .tracking-wider { font-size: 0.7rem; }
.sim-block span:first-child { font-size: 0.65rem; }
.sim-block span:last-child { font-size: 1.1rem; }
.form-card-box .text-danger-solid.tracking-wider { font-size: 0.65rem; }
.form-card-box .text-muted:not(p) { font-size: 0.75rem; }
.payment-modality-box label { font-size: 0.8rem; }
#formInscripcion p.text-muted { font-size: 0.6rem; }

.content-tab-nosotros span.tracking-wider { font-size: 0.65rem; }
.content-tab-nosotros h3 { font-size: 1.15rem; }
.content-tab-nosotros p { font-size: 0.75rem; line-height: 1.5; }
#nosotros .text-brand-red.tracking-wider { font-size: 0.85rem; }
.feature-card-solid p { font-size: 0.8rem; }

.bg-dark-testimonio .tracking-wider { font-size: 0.75rem; }
#testimonios .lead.font-italic { font-size: 1.25rem; line-height: 1.7; }

#info-admision > .container > .text-center > span.tracking-wider { font-size: 0.8rem; }
.step-card-light p, 
.card-requisitos-dark p, 
.card-requisitos-dark li span { line-height: 1.6; }

.cta-pre-footer .tracking-wider { font-size: 0.7rem; }
.cta-pre-footer p { font-size: 0.85rem; }


/* ==========================================================================
   ACORDEON GLOBAL arreglo active statis
   ========================================================================== */

.accordion-global {
    background-color: #ffffff;
    border: 1px solid #e2e8f0; 
    border-radius: 0.5rem;     
    overflow: hidden;         
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02); 
}

.accordion-global .accordion-item {
    background-color: transparent;
    border: none; 
    border-bottom: 1px solid #e2e8f0;
}

.accordion-global .accordion-item:last-child {
    border-bottom: none; 
}

.accordion-global .accordion-button {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500; 
    color: #334155; 
    padding: 1.25rem 1.5rem;
    background-color: #ffffff;
    box-shadow: none !important; 
    transition: background-color 0.2s ease, color 0.2s ease;
}

.accordion-global .accordion-button:hover {
    background-color: #f8fafc;
}

.accordion-global .accordion-button:not(.collapsed) {
    background-color: #ffffff !important;
    color: #0b1f3a !important;
    font-weight: 600;
}

.accordion-global .accordion-button::after {
    background-size: 1rem; 
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    filter: opacity(0.4); 
}

.accordion-global .accordion-button:not(.collapsed)::after {
    filter: opacity(0.8); 
}

.accordion-global .accordion-body {
    padding: 0 1.5rem 1.25rem 1.5rem;
    color: #64748b; 
    font-size: 0.85rem;
    line-height: 1.6;
}

/* ==========================================================================
   SLIDER PARA MODO RESPONSIVE
   ========================================================================== */

.slider-principal .carousel-caption {
    bottom: 12%; 
    left: 8%;
    right: 8%;
}

.slider-mobile-badge {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-size: 0.65rem;
    padding: 6px 14px;
    border-radius: 50px;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.slider-mobile-title {
    font-size: 1.8rem; 
    line-height: 1.25;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
    letter-spacing: 0.5px;
}

.slider-mobile-btn {
    background-color: var(--brand-red);
    color: #ffffff;
    font-size: 0.85rem;
    padding: 12px 32px;
    border-radius: 6px;
    border: none;
    box-shadow: 0 4px 15px rgba(230, 0, 0, 0.3);
    transition: transform 0.2s ease;
}

.slider-mobile-btn:active {
    transform: scale(0.95);
    background-color: #b91c1c;
    color: #ffffff;
}

@media (max-width: 380px) {
    .slider-mobile-title {
        font-size: 1.55rem;
    }
}

/* ==========================================================================
   NAVEGACION Y BOTON HEADER
   ========================================================================== */


.navbar-custom-main .navbar-nav .nav-link {
    font-size: 0.8rem !important; 
    font-weight: 700 !important;
    text-transform: capitalize !important; 
    color: #475569; 
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active-nav-page {
    color: var(--brand-red) !important;
}

.btn-header-cta {
    background: linear-gradient(to right, #dc2626, #b91c1c);
    color: #ffffff !important;
    border-radius: 10px;
    padding: 6px 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 6px 15px rgba(200, 30, 30, 0.35) !important;
}

.btn-header-cta:hover {
    background: linear-gradient(to right, #b91c1c, #991b1b);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(200, 30, 30, 0.5) !important;
}

.btn-header-cta .cta-text-top,
.btn-header-cta .cta-text-bottom {
    font-size: 0.9rem; 
    font-weight: 900; 
    line-height: 1; 
    letter-spacing: 0.5px;
}

.cta-badge-yellow {
    background-color: #fbc02d; 
    color: #0f172a; 
    padding: 4px 6px;
    border-radius: 6px;
    justify-content: center;
}

.cta-badge-yellow .badge-top {
    font-size: 0.8rem;
    font-weight: 900;
    line-height: 1;
}

.cta-badge-yellow .badge-bottom {
    font-size: 0.6rem;
    font-weight: 900;
    line-height: 1;
}

.btn-header-cta .transition-icon {
    font-size: 1.1rem;
    font-weight: 900;
    transition: transform 0.3s ease;
}

.btn-header-cta:hover .transition-icon {
    transform: translateX(4px);
}

/* ==========================================================================
   ARREGLOS HEADER 
   ========================================================================== */

.header-sticky-custom {
    z-index: 1030;
}

.dropdown-mega-header {
    font-size: 0.65rem;
}

.dropdown-mega-title {
    font-size: 0.85rem;
}

.dropdown-mega-desc {
    font-size: 0.7rem;
}

.btn-nav-whatsapp-pc.btn-whatsapp-mobile {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    font-size: 1.1rem;
}


/* ==========================================================================
   MODAL PUBLICITARIO PROMOCIONAL 
   ========================================================================== */

.modal-promo-custom {
    max-width: 850px;
}

.modal-promo-bg {
    background-color: #0A0E17;
    border: 1px solid rgba(251, 191, 36, 0.25) !important;
    border-radius: 1.5rem !important;
}

.modal-glow {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}
.modal-glow-amber {
    bottom: -90px;
    right: -90px;
    background-color: rgba(251, 191, 36, 0.1);
    filter: blur(60px);
}
.modal-glow-red {
    top: -90px;
    left: -90px;
    background-color: rgba(220, 38, 38, 0.1);
    filter: blur(60px);
}

.btn-close-promo {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 30;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(24, 32, 48, 0.8);
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.2s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
}
.btn-close-promo:hover {
    background-color: #222c42;
    color: #ffffff;
    transform: scale(1.05);
}
.btn-close-promo:active {
    transform: scale(0.95);
}

.promo-img-col {
    min-height: 220px;
}
.promo-img-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, #0A0E17 0%, transparent 50%, rgba(0,0,0,0.4) 100%);
}
@media (min-width: 768px) {
    .promo-img-overlay {
        background: linear-gradient(to right, transparent 0%, rgba(10,14,23,0.2) 50%, #0A0E17 100%);
    }
}

.badge-promo-dark {
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    background-color: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.badge-promo-info {
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.badge-promo-yellow {
    background-color: #FDB813;
    color: #000;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 50px;
    letter-spacing: 0.5px;
}

.promo-checklist {
    background-color: rgba(18, 24, 38, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.promo-check-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgba(52, 211, 153, 0.15);
    border: 1px solid rgba(52, 211, 153, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.8rem;
}

.input-group-promo .input-icon-promo {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1rem;
    z-index: 5;
    pointer-events: none;
}
.form-control-promo {
    background-color: #121826 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    padding: 0.75rem 1rem 0.75rem 2.5rem !important; 
    font-size: 0.85rem !important;
    transition: all 0.3s ease;
}
select.form-control-promo {
    padding-left: 2.5rem !important;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2394a3b8' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
}
.form-control-promo::placeholder {
    color: #64748b !important;
}
.form-control-promo:focus {
    border-color: #fbbf24 !important;
    box-shadow: 0 0 0 1px #fbbf24 !important;
    outline: none;
}

.promo-success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.4);
}
.promo-ticket-box {
    max-width: 380px;
    background-color: #121826;
    border: 1px solid rgba(251, 191, 36, 0.4);
    border-radius: 1rem;
    padding: 1.2rem;
}

.hover-white { transition: color 0.3s ease; }
.hover-white:hover { color: #ffffff !important; }


/* ==========================================================================
   EFECTO BLUR PARA EL FONDO DEL MODAL 
   ========================================================================== */
.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.75) !important;
    backdrop-filter: blur(12px); 
    -webkit-backdrop-filter: blur(12px); 
}

.modal-backdrop.show {
    opacity: 1 !important; 
}

