 /* =============================================================================
   1. CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ============================================================================= */

 :root {

     /* Brand Colors */
     --ucateba-primary: #0d2a6e;
     /* Azul oscuro institucional */
     --ucateba-primary-dark: #081d4e;
     --ucateba-primary-light: #1a3d8f;
     --ucateba-secondary: #f47920;

     /* Naranja vibrante */
     --ucateba-secondary-dark: #d4610d;
     --ucateba-secondary-light: #f79440;
     --ucateba-accent: #c0392b;

     /* Rojo (acento del logo) */
     --ucateba-white: #ffffff;
     --ucateba-light: #f4f7fb;
     --ucateba-gray-100: #f8f9fa;
     --ucateba-gray-200: #e9ecef;
     --ucateba-gray-500: #adb5bd;
     --ucateba-gray-700: #495057;
     --ucateba-dark: #1a1a2e;
     --ucateba-blue: #003366;
     --ucateba-gold: #FFC107;
     --ucateba-light-bg: #f4f6f9;
     --h-uc-blue: #003366;
     --h-uc-gold: #c5a059;
     --h-uc-light: #f8f9fa;
     --h-uc-text-dark: #2d3436;

     /* Typography */

     --font-primary: 'Poppins', 'Open Sans', sans-serif;
     --font-body: 'Open Sans', 'Poppins', sans-serif;
     --font-size-base: 1rem;
     --line-height: 1.7;


     /* Spacing */

     --section-pad: 5rem;
     --section-pad-sm: 3rem;


     /* Border Radius */

     --radius-sm: 6px;
     --radius-md: 12px;
     --radius-lg: 20px;
     --radius-xl: 30px;
     --radius-full: 9999px;


     /* Shadows */

     --shadow-sm: 0 2px 8px rgba(13, 42, 110, 0.08);
     --shadow-md: 0 4px 20px rgba(13, 42, 110, 0.12);
     --shadow-lg: 0 8px 40px rgba(13, 42, 110, 0.18);
     --shadow-xl: 0 16px 60px rgba(13, 42, 110, 0.22);

     /* Transitions */

     --transition-fast: 0.2s ease;
     --transition-base: 0.3s ease;
     --transition-slow: 0.5s ease;

     /* Z-index layers */
     --z-header: 1000;
     --z-modal: 1050;
     --z-topbar: 1010;
     --z-backtop: 999;

     --uceco-primary: #0d2a6e;
     --uceco-primary-dark: #081d4e;
     --uceco-primary-light: #1e4bb3;
     --uceco-secondary: #f47920;
     --uceco-accent: #fef3eb;
     --uceco-glass: rgba(255, 255, 255, 0.85);
 }


 /* Bootstrap Override: Primary & Secondary Colors */

 .btn-primary {
     --bs-btn-bg: var(--ucateba-primary);
     --bs-btn-border-color: var(--ucateba-primary);
     --bs-btn-hover-bg: var(--ucateba-primary-dark);
     --bs-btn-hover-border-color: var(--ucateba-primary-dark);
 }

 .btn-secondary {
     --bs-btn-bg: var(--ucateba-secondary);
     --bs-btn-border-color: var(--ucateba-secondary);
     --bs-btn-hover-bg: var(--ucateba-secondary-dark);
     --bs-btn-hover-border-color: var(--ucateba-secondary-dark);
     --bs-btn-color: #fff;
     --bs-btn-hover-color: #fff;
 }

 .btn-outline-primary {
     --bs-btn-color: var(--ucateba-primary);
     --bs-btn-border-color: var(--ucateba-primary);
     --bs-btn-hover-bg: var(--ucateba-primary);
 }

 @import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

 /* =============================================================================
   2. GLOBAL RESET & BASE
   ============================================================================= */

 *,
 *::before,
 *::after {
     box-sizing: border-box;
 }


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


 body {
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    line-height: var(--line-height);
    color: var(--ucateba-gray-700);
    background-color: var(--ucateba-white);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;           /* ← agrega */
    flex-direction: column;  /* ← agrega */
}

html, body { overflow-x: hidden; max-width: 100%; }

 h1,
 h2,
 h3,
 h4,
 h5,
 h6 {

     font-family: var(--font-primary);
     font-weight: 700;
     color: var(--ucateba-primary);
     line-height: 1.3;

 }


 a {

     color: var(--ucateba-primary);
     text-decoration: none;
     transition: color var(--transition-base);

 }

 /* a:hover {
     color: var(--ucateba-secondary);
 }
*/

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


 .section-pad {
     padding: var(--section-pad) 0;
 }

 .section-pad-sm {
     padding: var(--section-pad-sm) 0;
 }


 /* Skip Link */

 .skip-link {

     position: absolute;
     top: -100px;
     left: 1rem;
     z-index: 9999;
     padding: 0.75rem 1.5rem;
     background: var(--ucateba-primary);
     color: white;
     border-radius: 0 0 var(--radius-md) var(--radius-md);
     font-weight: 600;
     transition: top var(--transition-fast);

 }

 .skip-link:focus {
     top: 0;
 }


 /* =============================================================================

   3. TOP BAR

   ============================================================================= */
 /* =============================================================================
   ESTILOS TOPBAR & MENU APPS - UCATEBA V2026
   ============================================================================= */
 .ucateba-topbar {
     background: var(--ucateba-primary-dark);
     color: rgba(255, 255, 255, 0.85);
     padding: 0.5rem 0;
     font-size: 0.82rem;
     font-family: var(--font-primary);
     z-index: var(--z-topbar);
 }


 .topbar-item {
     display: inline-flex;
     align-items: center;
     gap: 0.4rem;
     color: rgba(255, 255, 255, 0.85);
     margin-right: 1.5rem;
     transition: color var(--transition-fast);
 }

 .topbar-item:hover {
     color: var(--ucateba-secondary);
 }

 .topbar-item i {
     font-size: 0.75rem;
 }


 .topbar-right {
     gap: 1rem;
 }


 .topbar-social {
     display: flex;
     gap: 0.6rem;
 }

 .topbar-social a {
     display: flex;
     align-items: center;
     justify-content: center;
     width: 28px;
     height: 28px;
     border-radius: var(--radius-full);
     background: rgba(255, 255, 255, 0.1);
     color: rgba(255, 255, 255, 0.85);
     font-size: 0.8rem;
     transition: all var(--transition-fast);

 }

 .topbar-social a:hover {
     background: var(--ucateba-secondary);
     color: white;
     transform: translateY(-2px);

 }


 .topbar-portal-btn {

     display: inline-flex;
     align-items: center;
     gap: 0.4rem;
     padding: 0.3rem 0.9rem;
     background: var(--ucateba-secondary);
     color: white !important;
     border-radius: var(--radius-full);
     font-size: 0.78rem;
     font-weight: 600;
     transition: all var(--transition-fast);
     white-space: nowrap;

 }

 .topbar-portal-btn:hover {

     background: var(--ucateba-secondary-dark);

     transform: translateY(-1px);

 }



 /* =============================================================================
   2. BOTÓN DISPARADOR (ESTILO GOOGLE APPS)
   ============================================================================= */
 .btn-apps-modern {
     background: transparent;
     border: none;
     color: #ffffff !important;
     font-size: 1.4rem;
     padding: 8px;
     cursor: pointer;
     border-radius: 50%;
     width: 45px;
     height: 45px;
     display: flex;
     align-items: center;
     justify-content: center;
     transition: background-color 0.3s ease;
 }

 /* Hover sutil para evitar saltos visuales */
 .btn-apps-modern:hover {
     background-color: rgba(255, 255, 255, 0.15);
 }

 /* =============================================================================
   3. PANEL DESPLEGABLE (DROPDOWN LARGE)
   ============================================================================= */
 .apps-dropdown-large {
     width: 380px !important;
     background-color: #ffffff !important;
     border: 1px solid #e2e8f0 !important;
     border-radius: 24px !important;
     padding: 0 !important;

     /* SEPARACIÓN: 40px para que no tape el botón de activación */
     margin-top: 40px !important;

     /* Sobre el header (2000) pero bajo modales y REDICYT */
     z-index: 3000 !important;
     box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3) !important;
     overflow: hidden;
 }

 /* Puente invisible para evitar que el menú se cierre al bajar el mouse */
 .apps-dropdown-large::before {
     content: "";
     position: absolute;
     top: -40px;
     /* Debe coincidir con el margin-top */
     left: 0;
     width: 100%;
     height: 40px;
     background: transparent;
 }

 .apps-header {
     background-color: #f8fafc;
     padding: 15px;
     border-bottom: 1px solid #edf2f7;
     text-align: center;
 }

 .apps-header span {
     font-size: 0.75rem;
     letter-spacing: 1.5px;
     color: #475569;
     font-weight: 800;
     text-transform: uppercase;
 }

 /* Grid de iconos */
 .apps-grid-large {
     display: grid;
     grid-template-columns: repeat(3, 1fr);
     gap: 15px;
     padding: 25px;
 }

 .app-item-modern {
     display: flex;
     flex-direction: column;
     align-items: center;
     text-decoration: none !important;
     padding: 12px;
     border-radius: 18px;
     transition: background 0.2s ease;
 }

 .app-item-modern:hover {
     background-color: #f1f5f9;
 }

 /* Contenedor del Icono con efecto de flotación */
 .app-icon-bg {
     width: 65px;
     height: 65px;
     display: flex;
     align-items: center;
     justify-content: center;
     background: white;
     border: 1px solid #f1f5f9;
     border-radius: 18px;
     margin-bottom: 10px;
     transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
 }

 .app-item-modern:hover .app-icon-bg {
     transform: translateY(-5px);
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
 }

 .app-item-modern img {
     width: 45px;
     height: 45px;
     object-fit: contain;
 }

 .app-item-modern span {
     font-size: 0.75rem;
     color: #334155;
     font-weight: 700;
     text-align: center;
     line-height: 1.2;
 }

 /* Animación de entrada fluida */
 .dropdown-menu.show {
     animation: appsSlideIn 0.25s ease-out forwards;
 }

 @keyframes appsSlideIn {
     from {
         opacity: 0;
         transform: translateY(15px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 /* =============================================================================
   4. SECCIÓN DE ACREDITACIONES (PIE DE PÁGINA)
   ============================================================================= */
 .ucateba-acreditaciones {
     background-color: #f8f9fa;
     border-top: 1px solid #dee2e6;
 }

 .img-acreditacion {
     height: 100px !important;
     width: auto !important;
     object-fit: contain;
     /* Estética de sellos institucionales en gris */
     filter: grayscale(100%);
     opacity: 0.7;
     transition: all 0.3s ease;
     cursor: pointer;
 }

 .img-acreditacion:hover {
     filter: grayscale(0%);
     opacity: 1;
     transform: translateY(-5px);
 }

 /* =============================================================================
   5. AJUSTES RESPONSIVOS (MÓVILES)
   ============================================================================= */
 @media (max-width: 768px) {
     .apps-dropdown-large {
         width: 300px !important;
         /* Ajuste para que el panel no se desborde en pantallas pequeñas */
         right: -20px !important;
     }

     .apps-grid-large {
         grid-template-columns: repeat(2, 1fr);
         padding: 15px;
     }

     .app-icon-bg {
         width: 55px;
         height: 55px;
     }
 }



 /* --- BUSCADOR (MANTIENE TU ESTILO) --- */
 header.ucateba-header .navbar-search {
     flex-shrink: 0;
     margin-left: 10px;
 }

 header.ucateba-header .btn-search-toggle {
     border: none;
     background: none;
     color: var(--ucateba-primary);
     font-size: 1.2rem;
     cursor: pointer;
 }

 /* --- RESPONSIVE --- */
 @media (max-width: 1199px) {
     header.ucateba-header .container-fluid {
         flex-wrap: wrap;
         height: auto;
         padding: 10px 20px;
     }

     header.ucateba-header .navbar-nav {
         flex-direction: column;
         width: 100%;
         align-items: flex-start;
     }

     header.ucateba-header .navbar-nav .dropdown-menu {
         position: static;
         box-shadow: none;
         border-left: 2px solid #eee;
         margin-left: 15px;
         width: calc(100% - 15px);
     }

     header.ucateba-header .navbar-nav .dropdown-menu.show {
         display: block;
     }

     header.ucateba-header .header-logo {
         height: 60px;
     }
 }

 /* =====================
   SEARCH BAR FLOTANTE
   ===================== */
 .ucateba-search-bar {
     position: relative;
     width: 100%;
     background: #f8fafc;
     padding: 0;
     max-height: 0;
     overflow: hidden;
     transition: max-height .35s cubic-bezier(.4, 0, .2, 1),
         padding .35s cubic-bezier(.4, 0, .2, 1),
         box-shadow .35s ease;
     box-shadow: none;
     border-bottom: 1px solid #e2e8f0;
     border-top: 1px solid #e2e8f0;
 }

 .ucateba-search-bar.active {
     max-height: 80px;
     padding: .75rem 0;
     box-shadow: 0 4px 15px rgba(13, 42, 110, .08);
 }

 .ucateba-search-bar.active {
     max-height: 90px;
     padding: 1rem 0;
     box-shadow: 0 8px 30px rgba(13, 42, 110, .1);
 }

 .ucateba-search-form {
     width: 100%;
 }

 .ucateba-search-inner {
     display: flex;
     align-items: center;
     gap: .75rem;
     background: #fff;
     border: 1.5px solid #e2e8f0;
     border-radius: 50px;
     padding: .5rem .5rem .5rem 1.5rem;
     transition: border-color .2s, box-shadow .2s;
 }

 .ucateba-search-inner:focus-within {
     border-color: #0d2a6e;
     box-shadow: 0 0 0 3px rgba(13, 42, 110, .07);
     background: #fff;
 }

 .ucateba-search-icon {
     color: #adb5bd;
     font-size: 1rem;
     flex-shrink: 0;
 }

 .ucateba-search-input {
     flex: 1;
     background: transparent;
     border: none;
     outline: none !important;
     box-shadow: none !important;
     color: #0d2a6e;
     font-size: .95rem;
     font-family: var(--font-primary);
     -webkit-appearance: none;
     appearance: none;
 }

 .ucateba-search-input:focus {
     outline: none !important;
     box-shadow: none !important;
     border: none !important;
 }

 .ucateba-search-input::placeholder {
     color: #adb5bd;
 }

 .ucateba-search-btn {
     display: inline-flex;
     align-items: center;
     gap: .4rem;
     padding: .6rem 1.5rem;
     background: #0d2a6e;
     color: #fff;
     border: none;
     border-radius: 50px;
     font-size: .85rem;
     font-weight: 700;
     cursor: pointer;
     transition: background .2s;
     font-family: var(--font-primary);
     white-space: nowrap;
     flex-shrink: 0;
 }

 .ucateba-search-btn:hover {
     background: #f47920;
 }

 .ucateba-search-btn:focus {
     outline: none !important;
     box-shadow: none !important;
 }

 .ucateba-search-close {
     width: 36px;
     height: 36px;
     border-radius: 50%;
     background: #f1f5f9;
     border: none;
     color: #64748b;
     font-size: .85rem;
     cursor: pointer;
     display: flex;
     align-items: center;
     justify-content: center;
     transition: all .2s;
     flex-shrink: 0;
 }

 .ucateba-search-close:hover {
     background: rgba(239, 68, 68, .1);
     color: #dc2626;
 }

 .ucateba-search-close:focus {
     outline: none !important;
     box-shadow: none !important;
 }

 @media (max-width: 576px) {
     .ucateba-search-bar.active {
         max-height: 80px;
     }

     .ucateba-search-btn {
         padding: .6rem 1rem;
     }
 }


/* =============================================================================
   5. HERO SECTION
/* =============================================================================
   HERO SLIDER - PORTAL INSTITUCIONAL UCATEBA
   ============================================================================= */

 :root {
     --ucateba-blue: #081d4e;
     --ucateba-secondary: #f47920;
     --ucateba-secondary-dark: #d36110;
     --transition-base: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
     --radius-full: 50px;
 }

 /* 1. CONTENEDOR — altura fija, no salta el layout de la página */
 .ucateba-hero {
     position: relative;
     height: 80vh;
     min-height: 620px;
     max-height: 780px;
     background-color: var(--ucateba-blue);
     overflow: hidden;
 }

 .ucateba-hero .carousel-inner,
 .ucateba-hero .carousel-item {
     height: 100%;
     width: 100%;
 }

 /* ══ Transición de cruce entre slides (crossfade) ══ */
 .carousel-fade .carousel-item {
     opacity: 0;
     transition: opacity 1.3s ease-in-out;
 }
 .carousel-fade .carousel-item.active {
     opacity: 1;
 }

 /* 2. AJUSTE DE IMAGEN POR SLIDE
    Por defecto ("Llenar el espacio" / cover): la imagen cubre todo el
    ancho y alto sin dejar barras vacías, recortando lo mínimo necesario
    — ideal para fotos normales (ej. el portón del campus).
    Si el slide tiene "Mostrar completa" (contain): se activa la clase
    .hero-fit-contain, que muestra la imagen entera sin recortar nada,
    rellenando el espacio sobrante con la misma imagen desenfocada —
    ideal para afiches con texto/logos hasta el borde. */
 .hero-slide-media {
     position: absolute;
     inset: 0;
     z-index: 0;
     overflow: hidden;
 }

 .hero-slide-bgblur {
     display: none; /* Solo se usa en modo "Mostrar completa" */
 }

 .hero-slide-bg {
     position: absolute;
     inset: 0;
     background-size: cover;
     background-position: center center;
     background-repeat: no-repeat;
     z-index: 1;
 }

 /* Modo "Mostrar completa" (contain) — para afiches */
 .hero-fit-contain .hero-slide-bgblur {
     display: block;
     position: absolute;
     inset: -30px;
     background-size: cover;
     background-position: center center;
     background-repeat: no-repeat;
     filter: blur(34px) saturate(1.2) brightness(0.7);
     transform: scale(1.12);
 }

 .hero-fit-contain .hero-slide-bg {
     background-size: contain;
 }

 /* 3. OVERLAY GRADIENTE (PROTECCIÓN DE LECTURA) */
 .hero-overlay {
     position: absolute;
     inset: 0;
     z-index: 2;
     background: linear-gradient(135deg,
             rgba(8, 29, 78, 0.95) 0%,
             rgba(8, 29, 78, 0.75) 50%,
             rgba(13, 42, 110, 0.4) 100%);
     pointer-events: none;
 }

 .carousel-item.hero-no-content .hero-overlay {
     background: linear-gradient(135deg,
             rgba(8, 29, 78, 0.22) 0%,
             rgba(8, 29, 78, 0.12) 50%,
             rgba(13, 42, 110, 0.05) 100%);
 }

 /* 4. CONTENIDO (ANCHO CONTROLADO Y VISIBILIDAD) */
 .hero-content {
     position: relative;
     z-index: 10;
     color: #ffffff;
     max-width: 720px;
     padding: 2rem 0;
 }

 .hero-badge {
     display: inline-flex;
     align-items: center;
     gap: 0.5rem;
     background: rgba(244, 121, 32, 0.15);
     border: 1px solid var(--ucateba-secondary);
     color: var(--ucateba-secondary);
     padding: 0.5rem 1.2rem;
     border-radius: var(--radius-full);
     font-size: 0.85rem;
     font-weight: 700;
     text-transform: uppercase;
     letter-spacing: 1px;
     margin-bottom: 1.5rem;
 }

 .hero-title {
     font-size: clamp(2.2rem, 4.5vw, 3.5rem);
     font-weight: 800;
     line-height: 1.1;
     margin-bottom: 1.5rem;
     color: #ffffff !important;
     text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
 }

 .hero-subtitle {
     font-size: 1.2rem;
     color: rgba(255, 255, 255, 0.9) !important;
     margin-bottom: 2.8rem;
     max-width: 580px;
     line-height: 1.7;
     text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
 }

 /* 5. ACCIONES (BOTONES) */
 .hero-actions {
     display: flex;
     flex-wrap: wrap;
     gap: 1.2rem;
 }

 .btn-hero-primary,
 .btn-hero-secondary {
     padding: 1rem 2.2rem;
     border-radius: var(--radius-full);
     font-weight: 700;
     font-size: 0.95rem;
     transition: all var(--transition-base);
     display: inline-flex;
     align-items: center;
     justify-content: center;
     text-decoration: none;
     min-width: 210px;
 }

 .btn-hero-primary {
     background: var(--ucateba-secondary);
     color: #ffffff !important;
     border: 2px solid var(--ucateba-secondary);
     box-shadow: 0 8px 20px rgba(244, 121, 32, 0.3);
 }

 .btn-hero-primary:hover {
     background: var(--ucateba-secondary-dark);
     transform: translateY(-4px);
     box-shadow: 0 12px 25px rgba(244, 121, 32, 0.5);
 }

 .btn-hero-secondary {
     background: rgba(255, 255, 255, 0.1);
     color: #ffffff !important;
     border: 2px solid rgba(255, 255, 255, 0.6);
     backdrop-filter: blur(8px);
 }

 .btn-hero-secondary:hover {
     background: #ffffff;
     color: var(--ucateba-blue) !important;
     transform: translateY(-4px);
 }

 /* 6. INDICADORES (BARRAS MODERNAS) */
 .custom-indicators {
     bottom: 80px !important;
     z-index: 15;
 }

 .custom-indicators [data-bs-target] {
     width: 35px;
     height: 5px;
     background-color: var(--ucateba-secondary);
     border: none;
     border-radius: 4px;
     opacity: 0.3;
     transition: all 0.4s ease;
 }

 .custom-indicators .active {
     opacity: 1;
     width: 55px;
 }

 /* 7. SCROLL INDICATOR (MOUSE) */
 .hero-scroll-indicator {
     position: absolute;
     bottom: 25px;
     left: 50%;
     transform: translateX(-50%);
     z-index: 15;
 }

 .scroll-dot {
     display: block;
     width: 26px;
     height: 42px;
     border: 2px solid rgba(255, 255, 255, 0.4);
     border-radius: 20px;
     position: relative;
 }

 .scroll-dot::before {
     content: '';
     position: absolute;
     top: 8px;
     left: 50%;
     margin-left: -2px;
     width: 4px;
     height: 4px;
     background: #ffffff;
     border-radius: 50%;
     animation: scrollBounce 2.2s infinite;
 }

 @keyframes scrollBounce {
     0% {
         transform: translateY(0);
         opacity: 0;
     }

     20% {
         opacity: 1;
     }

     80% {
         opacity: 0;
     }

     100% {
         transform: translateY(18px);
         opacity: 0;
     }
 }

 /* 8. RESPONSIVE (BLINDADO) */
 @media (max-width: 768px) {
     .ucateba-hero {
         height: 80vh;
         min-height: 480px;
         max-height: 640px;
     }

     .hero-content {
         max-width: 100%;
         text-align: center;
         padding: 0 1rem;
     }

     .hero-actions {
         flex-direction: column;
         align-items: center;
         gap: 0.8rem;
     }

     .btn-hero-primary,
     .btn-hero-secondary {
         width: 100%;
         max-width: 300px;
     }

     .custom-indicators {
         bottom: -8px !important;
     }
 }

 /* ===========================
   BARRA INVESTIGACIÓN (GRID RESPONSIVE CENTRADO)
   =========================== */
 .inv-menu-bar {

     background: #fff;

     border-bottom: 1px solid #e2e8f0;

     box-shadow: 0 4px 24px rgba(13, 42, 110, .08);

     position: relative;

     z-index: 100;

 }


 .inv-menu-inner {

     display: flex;

     align-items: center;

     justify-content: center;

     gap: 2.5rem;

     padding: .5rem 0;

     flex-wrap: wrap;

 }


 /* LABEL */

 .inv-menu-label {

     display: flex;

     align-items: center;

     gap: .5rem;

     font-size: .7rem;

     font-weight: 800;

     color: #adb5bd;

     text-transform: uppercase;

     letter-spacing: 2px;

     white-space: nowrap;

     padding-right: 2rem;

     border-right: 2px solid #e2e8f0;

     flex-shrink: 0;

 }

 .inv-menu-label i {

     color: #f47920;

     font-size: 1rem;

 }


 /* NAV */

 .inv-menu-nav {

     display: flex;

     align-items: center;

     gap: .25rem;

     flex-wrap: wrap;

     justify-content: center;

 }


 /* SEPARADOR */

 .inv-menu-sep {

     width: 1px;

     height: 36px;

     background: #e2e8f0;

     flex-shrink: 0;

 }


 /* ITEMS */

 /* ITEMS */
 .inv-menu-item {
     display: inline-flex;
     align-items: center;
     gap: .75rem;
     padding: .65rem 1.25rem;
     border-radius: .75rem;
     background: transparent;
     border: none;
     color: #1e293b !important;
     text-decoration: none !important;
     position: relative;
     overflow: hidden;
     /* 1. CAMBIO AQUÍ: Animamos propiedades específicas, no 'all' */
     transition: transform 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
     /* 2. FORZAMOS LA ACELERACIÓN POR HARDWARE PARA EVITAR VIBRACIONES */
     will-change: transform, box-shadow;
 }

 .inv-menu-item::before {
     content: '';
     position: absolute;
     inset: 0;
     background: #f8fafc;
     border-radius: .75rem;
     opacity: 0;
     /* 3. Animamos solo la opacidad */
     transition: opacity 0.25s ease;
 }

 .inv-menu-item:hover::before {
     opacity: 1;
 }

 .inv-menu-item:hover {
     transform: translateY(-3px);
     box-shadow: 0 8px 20px rgba(13, 42, 110, .12);
     color: #0d2a6e !important;
 }

 .inv-menu-item:hover .inv-menu-icon {
     /* 4. Mantenemos la rotación pero con una transición más estable */
     transform: scale(1.12) rotate(-6deg);
     transition: transform 0.25s ease;
 }

 .inv-menu-item:hover::before {
     opacity: 1;
 }

 .inv-menu-item:hover {

     transform: translateY(-3px);

     box-shadow: 0 8px 20px rgba(13, 42, 110, .12);

     color: #0d2a6e !important;

 }

 .inv-menu-item:hover .inv-menu-icon {

     transform: scale(1.12) rotate(-6deg);

 }


 /* ICONO */

 .inv-menu-icon {

     width: 40px;
     height: 40px;

     border-radius: 10px;

     display: flex;

     align-items: center;

     justify-content: center;

     font-size: 1rem;

     color: #fff;

     transition: transform .25s cubic-bezier(.34, 1.4, .64, 1);

     flex-shrink: 0;

     position: relative;

     z-index: 1;

     box-shadow: 0 4px 10px rgba(0, 0, 0, .15);

 }

 .inv-icon-green {
     background: linear-gradient(135deg, #166534, #22c55e);
 }

 .inv-icon-blue {
     background: linear-gradient(135deg, #0d2a6e, #3b82f6);
 }

 .inv-icon-purple {
     background: linear-gradient(135deg, #6d28d9, #a855f7);
 }

 .inv-icon-orange {
     background: linear-gradient(135deg, #c2410c, #f97316);
 }


 /* TEXTOS */

 .inv-menu-text {

     display: flex;

     flex-direction: column;

     position: relative;

     z-index: 1;

 }

 .inv-menu-name {

     font-size: .85rem;

     font-weight: 800;

     color: #0d2a6e;

     line-height: 1.2;

 }

 .inv-menu-sub {

     font-size: .68rem;

     font-weight: 500;

     color: #94a3b8;

     line-height: 1.2;

 }


 /* ACTIVE */

 .inv-menu-item.active,

 .inv-menu-item:focus-visible {

     background: #f1f5ff;

     outline: none;

 }

 .inv-menu-item.active .inv-menu-name {
     color: #0d2a6e;
 }



 /* ===========================
   RESPONSIVE
   =========================== */


 @media (max-width: 1100px) {
     .inv-menu-inner {
         gap: 1.5rem;
     }

     .inv-menu-label {
         display: none;
     }
 }

 @media (max-width: 768px) {
     .inv-menu-inner {
         padding: 1rem;
         gap: .5rem;
     }

     .inv-menu-sep {
         display: none;
     }

     .inv-menu-nav {
         display: grid;
         /* AQUÍ EL CAMBIO CLAVE: 1 sola columna (1 fila por elemento) */
         grid-template-columns: 1fr;
         gap: .5rem;
         width: 100%;
     }

     .inv-menu-item {
         border: 1.5px solid #e2e8f0;
         border-radius: .85rem;
         padding: .75rem 1rem;
         background: #f8fafc;
         justify-content: flex-start;
         /* Alineado a la izquierda */
         text-align: left;
         flex-direction: row;
         /* Icono al lado del texto */
         align-items: center;
         gap: 1rem;
         width: 100%;
     }

     .inv-menu-item:hover {
         border-color: #0d2a6e;
         background: #f1f5ff;
     }

     .inv-menu-icon {
         width: 40px;
         height: 40px;
         font-size: 1rem;
         border-radius: 8px;
     }

     .inv-menu-text {
         align-items: flex-start;
         text-align: left;
     }

     .inv-menu-name {
         font-size: .85rem;
     }

     .inv-menu-sub {
         font-size: .7rem;
     }
 }

 @media (max-width: 420px) {

     /* Mantenemos exactamente el mismo diseño para celulares más pequeños */
     .inv-menu-nav {
         grid-template-columns: 1fr;
     }

     .inv-menu-item {
         padding: .65rem .85rem;
     }
 }


 /* =============================================================================
   6. STATS BAND - Diseño Monumental en Fila (Swipe en Celular)
   ============================================================================= */
/* =============================================================================
   6. STATS BAND - Diseño Monumental en Fila (Swipe en Celular)
   ============================================================================= */
.ucateba-stats-band {
    background-color: var(--ucateba-primary);
    padding: 2.5rem 0;
    margin: 0;
    border-radius: 0;
    overflow: hidden;
    /* Evita que el scroll rompa la página */
}
 
/* ── Título de la sección ── */
.stats-band-header {
    margin-bottom: 2.2rem;
}
.stats-band-eyebrow {
    display: inline-flex;
    align-items: center;
    font-size: clamp(1.3rem, 3vw, 1.9rem);
    font-weight: 800;
    letter-spacing: 2px;
   
    /* color: var(--ucateba-secondary, #f47920); */
    margin-bottom: .5rem;
}
.stats-band-title {
    color: #ffffff;
    font-size: clamp(1.3rem, 3vw, 1.9rem);
    font-weight: 800;
    letter-spacing: -.4px;
    margin: 0;
}
 
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    padding: 1rem;
    text-align: center;
}
.stat-item:hover {
    transform: translateY(-8px);
}
.stat-number {
    font-family: var(--font-primary);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--ucateba-secondary);
    line-height: 1;
    margin-bottom: 0.5rem;
    display: block;
}
.stat-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    white-space: nowrap;
}
 
/* =========================================
  Ajuste Responsive para Móviles (Cuadrícula Estática 2x2)
  ========================================= */
@media (max-width: 767px) {
    .stats-band-title { font-size: 1.4rem; }
    /* Quitamos el comportamiento deslizable y activamos un Grid perfecto */
    .ucateba-stats-band .row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        /* 2 columnas (2 elementos por fila) */
        gap: 2rem 0;
        /* Espaciado entre las filas */
        margin: 0;
    }
    .ucateba-stats-band .row>.col {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
    /* Magia pura: como son 5 elementos, el último lo centramos para que no quede un hueco feo */
    .ucateba-stats-band .row>.col:last-child {
        grid-column: 1 / -1;
    }
    /* Reducimos un poquitito el tamaño para que respiren bien en la pantalla */
    .stat-number {
        font-size: 2.2rem;
    }
    .stat-label {
        font-size: 0.75rem;
    }
}


/* =============================================================================
   7. QUICK LINKS — MENÚ INSTITUCIONAL UNIFICADO
   ============================================================================= */
/* =============================================================================
   7. QUICK LINKS — CONTENEDOR AZUL, ÍCONOS Y TEXTO BLANCOS, HOVER NARANJA
   ============================================================================= */
:root {
    --uc-navy: #0D2A6E;
    --uc-navy-light: #123268;
    --uc-orange: #F47920;
}
.ucateba-quicklinks {
    padding: 3.5rem 0;
    background: #ffffff;
}
 
/* ── Encabezado "Accesos Directos" (queda sobre fondo blanco de la página) ── */
.ql-header { margin-bottom: 28px; }
.ql-eyebrow {
    display: inline-flex;
    align-items: center;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--uc-orange);
    margin-bottom: 6px;
}
.ql-title {
    color: var(--uc-navy);
    font-size: clamp(1.3rem, 3vw, 1.9rem);
    font-weight: 800;
    letter-spacing: -.4px;
    margin: 0;
}
 
/* ── Contenedor único: ahora es el que lleva el azul institucional ── */
.ql-menu-container {
    max-width: 1450px;
    margin: 0 auto;
    background: linear-gradient(160deg, var(--uc-navy) 0%, #081a45 100%);
    border-radius: 24px;
    box-shadow: 0 14px 36px rgba(13, 42, 110, 0.22);
    overflow: hidden;
}
 
.ql-wrapper {
    flex: 1;
    min-width: 150px;
    position: relative;
    /* Animación de entrada escalonada */
    opacity: 0;
    animation: qlFadeUp .6s ease forwards;
}
.ql-wrapper:nth-child(1){animation-delay:.05s;}
.ql-wrapper:nth-child(2){animation-delay:.13s;}
.ql-wrapper:nth-child(3){animation-delay:.21s;}
.ql-wrapper:nth-child(4){animation-delay:.29s;}
.ql-wrapper:nth-child(5){animation-delay:.37s;}
.ql-wrapper:nth-child(6){animation-delay:.45s;}
@keyframes qlFadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .ql-wrapper { opacity: 1; animation: none; }
}
 
/* Línea divisoria entre cada servicio — ahora clara, para verse sobre el azul */
.ql-wrapper:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20%;
    bottom: 20%;
    right: 0;
    width: 1px;
    background: rgba(255, 255, 255, 0.12);
}
 
.quicklink-card {
    text-align: center;
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2.4rem 1.2rem !important;
    background: transparent !important;
    transition: background .3s ease !important;
    border: none !important;
    height: 100%;
    box-shadow: none !important;
}
/* Al hover, un resplandor naranja tenue baña el bloque completo del servicio */
.quicklink-card:hover {
    background: rgba(244, 121, 32, 0.12) !important;
}
.quicklink-card span {
    color: #ffffff;
    font-size: .78rem !important;
    font-weight: 800 !important;
    margin-top: 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color .25s;
}
.quicklink-card:hover span {
    color: var(--uc-orange);
}
 
/* ── Ícono: SIN caja/fondo propio — solo el símbolo en blanco, grande ── */
.quicklink-icon {
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.6rem;
    color: #ffffff;
    background: none;
    box-shadow: none;
    transition: transform .4s cubic-bezier(.34,1.56,.64,1), color .3s ease, filter .3s ease;
    filter: drop-shadow(0 3px 8px rgba(0,0,0,.15));
}
.quicklink-card:hover .quicklink-icon {
    color: var(--uc-orange);
    transform: translateY(-6px) scale(1.12) rotate(-4deg);
    filter: drop-shadow(0 6px 14px rgba(244, 121, 32, 0.45));
}
.quicklink-card:hover .quicklink-icon i {
    animation: qlIconPop .45s ease;
}
@keyframes qlIconPop {
    0%   { transform: scale(1); }
    45%  { transform: scale(1.2); }
    100% { transform: scale(1); }
}
 
/* ── Responsive ── */
@media (max-width: 991px) {
    .ql-wrapper { min-width: 33.333%; flex: 0 0 33.333%; }
    .ql-wrapper:nth-child(3n)::after { display: none; }
    .ql-wrapper:not(:nth-child(3n))::after { top: 22%; bottom: 22%; }
    .quicklink-icon { font-size: 2.3rem; }
}
@media (max-width: 575px) {
    /* Con 2 columnas las líneas divisorias verticales dejan de tener sentido
       (cortarían entre filas distintas), así que se ocultan y basta con el
       fondo al hover para distinguir cada servicio. */
    .ql-wrapper { min-width: 50%; flex: 0 0 50%; }
    .ql-wrapper::after { display: none !important; }
    .quicklink-icon { font-size: 2rem; }
    .quicklink-card { padding: 1.8rem 1rem !important; }
}



 /* =============================================================================
   9. NEWS CARDS
   ============================================================================= */

 
 /* =============================================================================
   10. PROGRAMS SECTION
   ============================================================================= */

 .program-card {
     background: white;
     border-radius: var(--radius-lg);
     padding: 2rem 1.5rem;
     box-shadow: var(--shadow-sm);
     transition: all var(--transition-base);
     border: 2px solid transparent;
     position: relative;
     overflow: hidden;
 }

 .program-card::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     height: 4px;
     background: linear-gradient(90deg, var(--ucateba-primary), var(--ucateba-primary-light));
     transition: height var(--transition-base);
 }

 .program-card:hover {
     transform: translateY(-8px);
     box-shadow: var(--shadow-lg);
     border-color: var(--ucateba-secondary);
 }

 .program-card:hover::before {
     height: 6px;
     background: linear-gradient(90deg, var(--ucateba-secondary), var(--ucateba-secondary-light));
 }


 .program-icon {
     width: 56px;
     height: 56px;
     border-radius: var(--radius-md);
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 1.5rem;
     margin-bottom: 1.25rem;
 }

 .program-icon.blue {
     background: rgba(13, 42, 110, 0.1);
     color: var(--ucateba-primary);
 }

 .program-icon.orange {
     background: rgba(244, 121, 32, 0.1);
     color: var(--ucateba-secondary);
 }

 .program-icon.red {
     background: rgba(192, 57, 43, 0.1);
     color: var(--ucateba-accent);
 }


 .program-area {
     font-size: 0.72rem;
     font-weight: 700;
     text-transform: uppercase;
     letter-spacing: 1px;
     color: var(--ucateba-secondary);
     margin-bottom: 0.4rem;

 }


 .program-name {
     font-size: 1.05rem;
     font-weight: 700;
     color: var(--ucateba-primary);
     margin-bottom: 0.75rem;
     line-height: 1.35;
 }


 .program-mode {
     font-size: 0.82rem;
     color: var(--ucateba-gray-500);
     display: flex;
     align-items: center;
     gap: 0.35rem;
     margin-bottom: 1.25rem;
 }


 .program-apply {
     display: inline-flex;
     align-items: center;
     gap: 0.35rem;
     color: var(--ucateba-primary);
     font-size: 0.85rem;
     font-weight: 700;
     transition: all var(--transition-fast);
     padding: 0.5rem 0;
     border-bottom: 2px solid transparent;

 }

 .program-apply:hover {
     color: var(--ucateba-secondary);
     border-bottom: 2px solid var(--ucateba-secondary);
     gap: 0.6rem;

 }


 /* =============================================================================
   11. CTA SECTION
   ============================================================================= */

 .ucateba-cta {
     background: linear-gradient(135deg, var(--ucateba-primary) 0%, var(--ucateba-primary-dark) 100%);
     padding: 4.5rem 0;
     position: relative;
     overflow: hidden;
 }

 .ucateba-cta::before {
     content: '';
     position: absolute;
     top: -60%;
     right: -10%;
     width: 400px;
     height: 400px;
     border-radius: 50%;
     background: rgba(244, 121, 32, 0.08);
     pointer-events: none;
 }

 .ucateba-cta::after {
     content: '';
     position: absolute;
     bottom: -50%;
     left: -5%;
     width: 300px;
     height: 300px;
     border-radius: 50%;
     background: rgba(255, 255, 255, 0.04);
     pointer-events: none;
 }


 .cta-bg-overlay {

     position: absolute;

     inset: 0;

     background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");

 }


 .cta-title {
     font-size: clamp(1.4rem, 2.5vw, 2rem);
     font-weight: 800;
     color: white;
     margin-bottom: 1rem;
 }


 .cta-text {

     font-size: 1rem;

     color: rgba(255, 255, 255, 0.82);

     max-width: 520px;

     margin: 0;

 }


 .btn-cta-primary {
     display: inline-flex;
     align-items: center;
     padding: 0.95rem 2rem;
     background: var(--ucateba-secondary);
     color: white;
     border: 2px solid var(--ucateba-secondary);
     border-radius: var(--radius-full);
     font-family: var(--font-primary);
     font-weight: 700;
     font-size: 0.95rem;
     transition: all var(--transition-base);
     margin-bottom: 0.75rem;
     white-space: nowrap;
     box-shadow: 0 4px 20px rgba(244, 121, 32, 0.35);
 }

 .btn-cta-primary:hover {
     background: var(--ucateba-secondary-dark);
     transform: translateY(-3px);
     box-shadow: 0 8px 30px rgba(244, 121, 32, 0.5);
     color: white;
 }


 .btn-cta-outline {
     display: inline-flex;
     align-items: center;
     padding: 0.95rem 2rem;
     background: transparent;
     color: white;
     border: 2px solid rgba(255, 255, 255, 0.5);
     border-radius: var(--radius-full);
     font-family: var(--font-primary);
     font-weight: 600;
     font-size: 0.95rem;
     transition: all var(--transition-base);
     margin-left: 0.75rem;
     white-space: nowrap;
 }

 .btn-cta-outline:hover {
     background: rgba(255, 255, 255, 0.15);
     border-color: white;
     color: white;
     transform: translateY(-3px);
 }


 /* =============================================================================
   12. BREADCRUMB
   ============================================================================= */

 .ucateba-breadcrumb {
     background: var(--ucateba-light);
     border-bottom: 1px solid var(--ucateba-gray-200);
     padding: 0.9rem 0;

 }


 .breadcrumb {
     font-size: 0.85rem;
     color: var(--ucateba-gray-700);
     margin: 0;
     flex-wrap: wrap;
     align-items: center;
 }


 .breadcrumb-item a {
     color: var(--ucateba-primary);
     transition: color var(--transition-fast);
 }

 .breadcrumb-item a:hover {
     color: var(--ucateba-secondary);
 }


 .breadcrumb-item.active {
     color: var(--ucateba-gray-500);
 }


 .breadcrumb-item+.breadcrumb-item::before {
     content: '\203a';
     color: var(--ucateba-gray-500);
     margin: 0 0.5rem;

 }


 /* =============================================================================
   13. CONTENT AREA
   ============================================================================= */

 .ucateba-content {
    flex-grow: 0;
    min-height: 0;

 }

 .content-main h1,
 .content-main h2,

 .content-main h3,
 .content-main h4 {

     color: var(--ucateba-primary);

     font-family: var(--font-primary);

 }


 .content-main h1 {
     font-size: 2.2rem;
     margin-bottom: 1.5rem;
     padding-bottom: 1rem;
     border-bottom: 3px solid var(--ucateba-secondary);
 }


 .content-main h2 {
     font-size: 1.6rem;
     margin-top: 2rem;
     margin-bottom: 1rem;

 }


 .content-main h3 {
     font-size: 1.3rem;
 }


 .content-main p {
     line-height: 1.8;
     margin-bottom: 1rem;
     color: var(--ucateba-gray-700);
 }


 .content-main img {
     border-radius: var(--radius-md);
     box-shadow: var(--shadow-md);

 }


 .content-main table {
     width: 100%;
     margin-bottom: 1.5rem;
     border-collapse: collapse;
 }

 .content-main table th {
     background: var(--ucateba-primary);
     color: white;
     padding: 0.75rem 1rem;
     text-align: left;
     font-weight: 600;
 }

 .content-main table td {
     padding: 0.65rem 1rem;
     border-bottom: 1px solid var(--ucateba-gray-200);
 }

 .content-main table tr:hover td {
     background: var(--ucateba-light);
 }


 /* Sidebar */

 .sidebar .card {
     border: none;
     border-radius: var(--radius-md);
     box-shadow: var(--shadow-sm);
     overflow: hidden;
     margin-bottom: 1.5rem;

 }

 .sidebar .card-header {
     background: var(--ucateba-primary);
     color: white;
     font-family: var(--font-primary);
     font-weight: 700;
     font-size: 0.9rem;
     text-transform: uppercase;
     letter-spacing: 0.4px;
     padding: 0.9rem 1.25rem;
     border-bottom: 3px solid var(--ucateba-secondary);
 }

 .sidebar .list-group-item {
     border-left: 3px solid transparent;
     transition: all var(--transition-fast);
     font-size: 0.9rem;
 }

 .sidebar .list-group-item:hover,

 .sidebar .list-group-item.active {
     border-left: 3px solid var(--ucateba-secondary);
     background: var(--ucateba-light);
     color: var(--ucateba-secondary);
 }


 /* Module Style: ucateba_aside */
 .ucateba-module-aside {
     background: white;
     border-radius: var(--radius-md);
     overflow: hidden;
     margin-bottom: 1.5rem;
     box-shadow: var(--shadow-sm);
 }

 .ucateba-module-aside .module-title {
     background: var(--ucateba-primary);
     color: white;
     padding: 0.9rem 1.25rem;
     font-family: var(--font-primary);
     font-size: 0.9rem;
     font-weight: 700;
     text-transform: uppercase;
     letter-spacing: 0.4px;
     border-bottom: 3px solid var(--ucateba-secondary);
     margin: 0;
 }

 .ucateba-module-aside .module-content {
     padding: 1.25rem;
 }


 /* =============================================================================
   14. FOOTER
   ============================================================================= */

 .ucateba-footer {
     background: #0a1628;
     color: rgba(255, 255, 255, 0.75);
     flex-shrink: 0;

 }


 .footer-main {
     padding: 4rem 0 2rem;
 }


 .footer-brand .footer-text-logo {
     font-family: var(--font-primary);
     font-size: 2rem;
     font-weight: 800;
     color: white;
     margin-bottom: 1rem;
     letter-spacing: -0.5px;
 }


 .footer-logo {
     max-width: 80px;
     height: auto;
     margin-bottom: 1.25rem;
 }


 .footer-about {
     font-size: 0.88rem;
     line-height: 1.75;
     color: rgba(255, 255, 255, 0.65);
     margin-bottom: 1.5rem;

 }


 .footer-social {
     display: flex;
     gap: 0.6rem;
     flex-wrap: wrap;
 }

 .footer-social a {
     display: flex;
     align-items: center;
     justify-content: center;
     width: 38px;
     height: 38px;
     background: rgba(255, 255, 255, 0.08);
     border: 1px solid rgba(255, 255, 255, 0.12);
     border-radius: var(--radius-sm);
     color: rgba(255, 255, 255, 0.75);
     font-size: 0.95rem;
     transition: all var(--transition-fast);
 }

 .footer-social a:hover {
     background: var(--ucateba-secondary);
     border-color: var(--ucateba-secondary);
     color: white;
     transform: translateY(-3px);
 }


 .footer-widget-title {
     font-family: var(--font-primary);
     font-size: 0.95rem;
     font-weight: 700;
     color: white;
     text-transform: uppercase;
     letter-spacing: 1px;
     margin-bottom: 1.25rem;
     padding-bottom: 0.75rem;

     border-bottom: 2px solid var(--ucateba-secondary);

     display: inline-block;

 }


 .footer-links {
     list-style: none;
     padding: 0;
     margin: 0;
 }

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

 .footer-links a {
     display: flex;
     align-items: center;
     gap: 0.35rem;
     color: rgba(255, 255, 255, 0.65);
     font-size: 0.875rem;
     transition: all var(--transition-fast);
     padding: 0.2rem 0;

 }

 .footer-links a i {
     font-size: 0.7rem;
     color: var(--ucateba-secondary);
     transition: transform var(--transition-fast);

 }

 .footer-links a:hover {
     color: var(--ucateba-secondary);
     padding-left: 4px;

 }

 .footer-links a:hover i {
     transform: translateX(3px);
 }

 .footer-contact {
     list-style: none;
     padding: 0;
     margin: 0;
 }

 .footer-contact li {
     display: flex;
     align-items: flex-start;
     gap: 0.75rem;
     margin-bottom: 0.9rem;
     font-size: 0.88rem;
     color: rgba(255, 255, 255, 0.7);
 }

 .footer-contact li i {
     color: var(--ucateba-secondary);
     font-size: 1rem;
     flex-shrink: 0;
     margin-top: 2px;
 }

 .footer-contact a {
     color: rgba(255, 255, 255, 0.7);
     transition: color var(--transition-fast);
 }

 .footer-contact a:hover {
     color: var(--ucateba-secondary);
 }


 .footer-map-placeholder {
     display: inline-flex;
     align-items: center;
     gap: 0.5rem;
     background: rgba(255, 255, 255, 0.06);
     border: 1px solid rgba(255, 255, 255, 0.1);
     border-radius: var(--radius-sm);
     padding: 0.5rem 1rem;
     font-size: 0.82rem;
     margin-top: 0.75rem;
     transition: all var(--transition-fast);
 }

 .footer-map-placeholder i {
     color: var(--ucateba-secondary);
 }

 .footer-map-placeholder a {
     color: rgba(255, 255, 255, 0.75);
 }

 .footer-map-placeholder:hover {
     background: rgba(244, 121, 32, 0.15);
     border-color: var(--ucateba-secondary);
 }


 /* Footer Bottom */

 .footer-bottom {
     background: rgba(0, 0, 0, 0.3);
     padding: 1.2rem 0;
     border-top: 1px solid rgba(255, 255, 255, 0.06);
 }


 .footer-copyright {
     font-size: 0.82rem;
     color: rgba(255, 255, 255, 0.75);
 }


 .footer-legal-links {
     display: flex;
     gap: 1.5rem;
     list-style: none;
     padding: 0;
     margin: 0;
     justify-content: flex-end;
     flex-wrap: wrap;

 }

 .footer-legal-links a {
     font-size: 0.85rem;
     color: rgba(255, 255, 255, 0.75);
     text-decoration: none;
     transition: color var(--transition-fast);

 }

 .footer-legal-links a:hover {
     color: var(--ucateba-secondary);
 }


 /* =============================================================================

   15. BACK TO TOP

   ============================================================================= */

 .back-to-top {
     position: fixed;
     bottom: 2rem;
     right: 2rem;
     width: 48px;
     height: 48px;
     background: var(--ucateba-primary);
     color: white;
     border: none;
     border-radius: var(--radius-full);
     font-size: 1.4rem;
     display: flex;
     align-items: center;
     justify-content: center;
     cursor: pointer;
     z-index: var(--z-backtop);
     box-shadow: var(--shadow-md);
     opacity: 0;
     transform: translateY(20px);
     transition: all var(--transition-base);
     pointer-events: none;
 }

 .back-to-top.visible {
     opacity: 1;
     transform: translateY(0);
     pointer-events: auto;
 }

 .back-to-top:hover {
     background: var(--ucateba-secondary);
     transform: translateY(-3px);
     box-shadow: var(--shadow-lg);
 }


 /* =============================================================================

   16. PAGE-SPECIFIC STYLES

   ============================================================================= */


 /* Admisiones */

 .admisiones-steps {
     counter-reset: step;
 }

 .admisiones-step {
     display: flex;
     gap: 1.5rem;
     align-items: flex-start;
     margin-bottom: 2rem;
     padding: 1.5rem;
     background: white;
     border-radius: var(--radius-md);
     box-shadow: var(--shadow-sm);
     transition: all var(--transition-base);

 }

 .admisiones-step:hover {
     box-shadow: var(--shadow-md);
     transform: translateX(5px);
 }

 .step-number {
     counter-increment: step;
     width: 48px;
     height: 48px;
     background: var(--ucateba-primary);
     color: white;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     font-weight: 800;
     font-size: 1.2rem;
     flex-shrink: 0;

 }

 .step-content h3 {
     color: var(--ucateba-primary);
     margin-bottom: 0.4rem;
 }

 .step-content p {
     color: var(--ucateba-gray-700);
     margin: 0;
     font-size: 0.9rem;
 }


 /* =============================================================================
     AUTORIDADES - DISEÑO PREMIUM FULL-WIDTH
     ============================================================================= */
  
 

 /* =============================================================================

   18. JOOMLA COMPONENT OVERRIDES

   ============================================================================= */


 /* Articles */

 .com_content .article-header {
     margin-bottom: 1.5rem;
 }

 .com_content .article-info-block {
     font-size: 0.82rem;
     color: var(--ucateba-gray-500);
     margin-bottom: 1.25rem;
 }

 .com_content .article-info-block a {
     color: var(--ucateba-secondary);
 }


 /* Blog Layout */

 .blog .item {
     margin-bottom: 2.5rem;
     padding-bottom: 2rem;
     border-bottom: 1px solid var(--ucateba-gray-200);
 }

 .blog .item:last-child {
     border-bottom: none;
 }

 .blog-intro p {
     font-size: 0.95rem;
     line-height: 1.8;
     color: var(--ucateba-gray-700);
 }


 /* Category list */

 .categories-module h3 {
     font-size: 0.95rem;
 }

 .categories-module ul {
     padding-left: 1.25rem;
 }


 /* Search */

 .search input[type="text"] {
     border: 2px solid var(--ucateba-primary);
     border-radius: var(--radius-full) 0 0 var(--radius-full);
     padding: 0.65rem 1.25rem;

 }

 .search .btn {
     border-radius: 0 var(--radius-full) var(--radius-full) 0;
     background: var(--ucateba-secondary);
     border-color: var(--ucateba-secondary);
     color: white;
 }


 /* Pagination */

 .pagination .page-item .page-link {
     color: var(--ucateba-primary);
     border-color: var(--ucateba-gray-200);
     transition: all var(--transition-fast);

 }

 .pagination .page-item.active .page-link {
     background: var(--ucateba-secondary);
     border-color: var(--ucateba-secondary);

 }

 .pagination .page-item .page-link:hover {
     background: var(--ucateba-primary);
     border-color: var(--ucateba-primary);
     color: white;

 }


 /* Contact form */

 .contact .control-group {
     margin-bottom: 1.25rem;
 }

 .contact .controls input,

 .contact .controls textarea,

 .contact .controls select {
     border: 2px solid var(--ucateba-gray-200);
     border-radius: var(--radius-sm);
     padding: 0.65rem 1rem;
     transition: border-color var(--transition-fast);
     width: 100%;
 }

 .contact .controls input:focus,
 .contact .controls textarea:focus,
 .contact .controls select:focus {

     border-color: var(--ucateba-primary);

     box-shadow: 0 0 0 3px rgba(13, 42, 110, 0.1);

     outline: none;

 }

 .contact .btn-primary {
     background: var(--ucateba-secondary);
     border-color: var(--ucateba-secondary);
     padding: 0.75rem 2rem;
     border-radius: var(--radius-full);
     font-weight: 700;

 }


 /* =============================================================================

   19. UTILITIES

   ============================================================================= */

 .text-primary-ucateba {
     color: var(--ucateba-primary) !important;
 }

 .text-secondary-ucateba {
     color: var(--ucateba-secondary) !important;
 }

 .bg-primary-ucateba {
     background-color: var(--ucateba-primary) !important;
 }

 .bg-secondary-ucateba {
     background-color: var(--ucateba-secondary) !important;
 }

 .bg-ucateba-light {
     background-color: var(--ucateba-light) !important;
 }

 .border-ucateba {
     border: 2px solid var(--ucateba-primary) !important;
 }

 .border-secondary {
     border: 2px solid var(--ucateba-secondary) !important;
 }

 .rounded-ucateba {
     border-radius: var(--radius-lg) !important;
 }

 .shadow-ucateba {
     box-shadow: var(--shadow-md) !important;
 }


 /* Alert overrides */

 .alert-primary {
     background: rgba(13, 42, 110, 0.08);
     border-color: var(--ucateba-primary);
     color: var(--ucateba-primary);
 }

 .alert-secondary {
     background: rgba(244, 121, 32, 0.08);
     border-color: var(--ucateba-secondary);
     color: var(--ucateba-secondary-dark);
 }

 .alert-info {
     background: rgba(13, 42, 110, 0.05);
     border-color: var(--ucateba-primary-light);
     color: var(--ucateba-primary);
 }


 /* =============================================================================

   20. RESPONSIVE

   ============================================================================= */

 @media (max-width: 991.98px) {

     :root {
         --section-pad: 3.5rem;
     }

     .ucateba-hero {
         min-height: 70vh;
     }

     .hero-title {
         font-size: 2rem;
     }


     /* Mobile nav */

     .ucateba-header #mainNav {
         background: var(--ucateba-white);
         border-top: 2px solid var(--ucateba-secondary);
         padding: 1rem 0;
         box-shadow: var(--shadow-md);
         max-height: 85vh;
         overflow-y: auto;

     }

     .ucateba-header .nav-link,

     .ucateba-header nav>ul>li>a {

         padding: 0.75rem 1.25rem;

         border-bottom: 1px solid var(--ucateba-gray-200);

     }

     .ucateba-header .nav-link::after,

     .ucateba-header nav>ul>li>a::after {
         display: none;
     }


     .ucateba-header .dropdown-menu,

     .ucateba-header nav>ul>li>ul {
         position: static;
         box-shadow: none;
         border-top: none;
         border-left: 3px solid var(--ucateba-secondary);
         border-radius: 0;
         margin-left: 1rem;
         animation: none;

     }


     .stat-item:not(:last-child)::after {
         display: none;
     }


     .btn-cta-outline {
         margin-left: 0;
         margin-top: 0.75rem;
     }


     .footer-legal-links {
         justify-content: center;
     }

 }


 @media (max-width: 767.98px) {

     :root {
         --section-pad: 2.5rem;
     }


     .ucateba-hero {
         min-height: 60vh;
     }

     .hero-title {
         font-size: 1.7rem;
     }

     .hero-badge {
         font-size: 0.7rem;
     }



     /* 1. Despegar la barra superior (redes sociales) */

     .ucateba-topbar {
         padding-left: 1.25rem !important;
         padding-right: 1.25rem !important;

     }


     /* 2. Forzar el padding en el navbar */

     .ucateba-header .navbar {

         padding: 0.5rem 1.25rem !important;

     }



     /* 3. Despegar los textos del borde y mantener el centrado */

     .hero-content {

         padding-left: 1.25rem !important;

         padding-right: 1.25rem !important;

         text-align: center;

     }



     .hero-actions {

         justify-content: center;
         /* Esto centrará tus botones */

     }


     .topbar-info {
         display: none !important;
     }


     .text-logo .logo-main {
         font-size: 1.4rem;
     }

     .text-logo .logo-sub {
         font-size: 0.55rem;
     }


     .section-title {
         font-size: 1.5rem;
     }


     .stat-number {
         font-size: 1.8rem;
     }


     .cta-title {
         font-size: 1.3rem;
     }

     .footer-main {
         padding: 3rem 0 1.5rem;
     }


     .back-to-top {
         right: 1rem;
         bottom: 1rem;
         width: 42px;
         height: 42px;
     }

 }


 @media (max-width: 575.98px) {

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

     .btn-hero-primary,
     .btn-hero-secondary {
         width: 100%;
         justify-content: center;
     }

     .footer-legal-links {
         gap: 0.75rem;
     }

     .news-card-img {
         height: 160px;
     }

 }



 /* =============================================================================
   21. PRINT
   ============================================================================= */

 @media print {

     .ucateba-topbar,
     .ucateba-header,
     .ucateba-hero,

     .ucateba-stats-band,
     .ucateba-quicklinks,

     .ucateba-cta,
     .ucateba-footer,
     .back-to-top {
         display: none !important;
     }


     .ucateba-content {
         padding: 0 !important;
     }

     body {
         font-size: 12pt;
         color: black;
     }

     a {
         color: black !important;
         text-decoration: underline;
     }

 }


 /* =============================================================================

   22. ACCESSIBILITY

   ============================================================================= */

 :focus-visible {

     outline: 3px solid var(--ucateba-secondary);

     outline-offset: 3px;

     border-radius: var(--radius-sm);

 }


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


 @media (prefers-reduced-motion: reduce) {

     *,
     *::before,
     *::after {
         animation-duration: 0.01ms !important;
         animation-iteration-count: 1 !important;
         transition-duration: 0.01ms !important;

     }

     /* background-attachment ya es scroll por defecto */

 }

 /* =============================================================================
   ESTILOS ESPECÍFICOS PARA LA SECCIÓN DE ADMISIONES
   Hereda los tokens de diseño de la plantilla principal (var(--ucateba-...))
   ============================================================================= */


 /* Caja de contacto superior */

 .admisiones-contact-box {
     background-color: var(--ucateba-light);
     border-left: 4px solid var(--ucateba-secondary);
     padding: 1.5rem;
     border-radius: var(--radius-md);
     box-shadow: var(--shadow-sm);

 }


 .admisiones-contact-box a {
     color: var(--ucateba-primary);
     font-weight: 600;

 }

 .admisiones-contact-box a:hover {
     color: var(--ucateba-secondary);
 }


 /* Navegación por Pestañas (Tabs) */

 .admisiones-tabs {
     border-bottom: 2px solid var(--ucateba-gray-200);
     padding-bottom: 1rem;

 }


 .admisiones-tabs .nav-link {
     color: var(--ucateba-primary);
     font-family: var(--font-primary);
     font-weight: 700;
     font-size: 0.95rem;
     border-radius: var(--radius-full);
     padding: 0.75rem 1.75rem;
     margin: 0.25rem;
     border: 2px solid transparent;
     transition: all var(--transition-base);
 }


 .admisiones-tabs .nav-link.active {
     background-color: var(--ucateba-secondary);
     color: var(--ucateba-white);
     box-shadow: 0 4px 15px rgba(244, 121, 32, 0.3);
 }


 .admisiones-tabs .nav-link:hover:not(.active) {
     background-color: var(--ucateba-light);
     border-color: var(--ucateba-primary-light);
     color: var(--ucateba-primary);
 }


 /* Tarjetas de Requisitos */

 .req-card {
     background: var(--ucateba-white);
     border-radius: var(--radius-lg);
     box-shadow: var(--shadow-md);
     padding: 3rem 2.5rem;
     border-top: 5px solid var(--ucateba-primary);
     transition: all var(--transition-base);

 }


 .req-card.border-top-secondary {
     border-top-color: var(--ucateba-secondary);
 }


 .req-card:hover {
     transform: translateY(-5px);
     box-shadow: var(--shadow-lg);
 }


 .req-card h3 {
     font-size: 1.5rem;
     margin-bottom: 1.5rem;
     padding-bottom: 1rem;
     border-bottom: 1px solid var(--ucateba-gray-200);
 }


 /* Listas de requisitos personalizadas */

 .req-list {
     list-style: none;
     padding: 0;
     margin: 0;
 }


 .req-list li {
     position: relative;
     padding-left: 30px;
     margin-bottom: 1rem;
     font-size: 0.95rem;
     color: var(--ucateba-gray-700);
     line-height: 1.6;
 }


 /* Usando Bootstrap Icons para las viñetas */

 .req-list li::before {
     content: '\F26A';
     /* Código unicode del icono bi-check-circle-fill */
     font-family: 'bootstrap-icons';
     position: absolute;
     left: 0;
     top: 2px;
     color: var(--ucateba-secondary);
     font-size: 1.1rem;

 }


 /* Responsividad para móviles */

 @media (max-width: 767.98px) {

     .admisiones-tabs .nav-link {
         width: 100%;
         text-align: center;
         margin-bottom: 0.5rem;

     }

     .req-card {

         padding: 1.5rem;

     }

 }


 /* =============================================================================
   ESTILOS ESPECÍFICOS PARA LA SECCIÓN DE ADMISIONES
   Hereda los tokens de diseño de la plantilla principal (var(--ucateba-...))
   ============================================================================= */

 /* =============================================================================
   ADMISIONES PREMIUM STYLES
   ============================================================================= */

 /* Caja de Definición Intro */
 .definicion-box {
     background: linear-gradient(135deg, var(--ucateba-light) 0%, #ffffff 100%);
     border-left: 5px solid var(--ucateba-secondary);
     padding: 2rem;
     border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
     color: var(--ucateba-gray-700);
     margin: 0 auto;
     max-width: 900px;
 }

 /* Action Cards (Pasos, Calendario, Transferidos) */
 .info-action-card {
     display: flex;
     align-items: center;
     background: var(--ucateba-white);
     padding: 1.5rem;
     border-radius: var(--radius-md);
     box-shadow: var(--shadow-sm);
     text-decoration: none;
     color: var(--ucateba-gray-700);
     transition: all var(--transition-base);
     border: 1px solid var(--ucateba-gray-200);
     position: relative;
     overflow: hidden;
 }

 .info-action-card:hover {
     transform: translateY(-5px);
     box-shadow: var(--shadow-md);
     border-color: var(--ucateba-secondary-light);
 }

 .info-action-card.highlight {
     background: var(--ucateba-primary);
     color: var(--ucateba-white);
     border-color: var(--ucateba-primary-dark);
 }

 .info-action-card.highlight p {
     color: rgba(255, 255, 255, 0.8);
 }

 .info-action-card .icon-wrapper {
     width: 50px;
     height: 50px;
     background: var(--ucateba-light);
     color: var(--ucateba-primary);
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 1.5rem;
     flex-shrink: 0;
     margin-right: 1.25rem;
     transition: all var(--transition-base);
 }

 .info-action-card.highlight .icon-wrapper {
     background: rgba(255, 255, 255, 0.15);
     color: var(--ucateba-secondary);
 }

 .info-action-card:hover .icon-wrapper {
     background: var(--ucateba-secondary);
     color: var(--ucateba-white);
 }

 .info-action-card .card-text h4 {
     font-size: 1.1rem;
     margin-bottom: 0.2rem;
     color: inherit;
     font-weight: 700;
 }

 .info-action-card .card-text p {
     font-size: 0.85rem;
     margin: 0;
 }

 .info-action-card .arrow-icon {
     position: absolute;
     right: -30px;
     top: 50%;
     transform: translateY(-50%);
     font-size: 1.5rem;
     color: var(--ucateba-secondary);
     transition: right var(--transition-base);
     opacity: 0;
 }

 .info-action-card:hover .arrow-icon {
     right: 1.25rem;
     opacity: 1;
 }

 /* Pestañas Verticales Custom */
 .custom-v-pills .nav-link {
     color: var(--ucateba-gray-700);
     font-weight: 600;
     text-align: left;
     padding: 1rem 1.5rem;
     border-radius: var(--radius-md);
     margin-bottom: 0.5rem;
     border: 1px solid transparent;
     transition: all var(--transition-base);
     background-color: var(--ucateba-light);
 }

 .custom-v-pills .nav-link:hover {
     background-color: var(--ucateba-gray-200);
     color: var(--ucateba-primary);
 }

 .custom-v-pills .nav-link.active {
     background-color: var(--ucateba-primary);
     color: var(--ucateba-white);
     box-shadow: var(--shadow-md);
 }

 .custom-v-pills .nav-link.active i {
     color: var(--ucateba-secondary);
 }

 @media (min-width: 992px) {
     .border-start-lg {
         border-left: 1px solid var(--ucateba-gray-200);
     }
 }

 /* Listas Premium para Requisitos */
 .premium-list {
     list-style: none;
     padding: 0;
     margin: 0 0 1rem 0;
 }

 .premium-list li {
     position: relative;
     padding-left: 1.8rem;
     margin-bottom: 0.8rem;
     font-size: 0.95rem;
     color: var(--ucateba-gray-700);
 }

 .premium-list li::before {
     content: '\F26A';
     /* bi-check-circle-fill */
     font-family: 'bootstrap-icons';
     position: absolute;
     left: 0;
     top: 1px;
     color: var(--ucateba-secondary);
     font-size: 1.1rem;
 }

 .special-req-box {
     background-color: rgba(192, 57, 43, 0.05);
     border: 1px dashed var(--ucateba-accent);
     border-radius: var(--radius-sm);
     padding: 1.25rem;
 }

 .special-req-box h5 {
     font-size: 1rem;
     color: var(--ucateba-primary);
     font-weight: 700;
 }

 /* Sección POMA */
 .poma-section {
     background: linear-gradient(135deg, var(--ucateba-primary-dark) 0%, var(--ucateba-primary) 100%);
 }

 .poma-bg-pattern {
     position: absolute;
     top: -50px;
     right: -50px;
     width: 300px;
     height: 300px;
     background: radial-gradient(circle, rgba(244, 121, 32, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
     border-radius: 50%;
     z-index: 0;
 }

 .poma-stat-card {
     background: rgba(255, 255, 255, 0.1);
     backdrop-filter: blur(10px);
     border: 1px solid rgba(255, 255, 255, 0.2);
     border-radius: var(--radius-md);
     padding: 1.5rem 1rem;
     text-align: center;
     height: 100%;
     transition: transform var(--transition-fast);
 }

 .poma-stat-card:hover {
     transform: translateY(-5px);
     background: rgba(255, 255, 255, 0.15);
 }

 .poma-stat-card i {
     font-size: 2rem;
     margin-bottom: 0.5rem;
     display: block;
 }

 .poma-stat-card h5 {
     color: var(--ucateba-white);
     font-size: 1.25rem;
     font-weight: 800;
     margin-bottom: 0.25rem;
 }

 .poma-stat-card span {
     font-size: 0.8rem;
     color: rgba(255, 255, 255, 0.8);
     line-height: 1.2;
     display: block;
 }

 /* 1. Cabecera */
 .admisiones-hero-header {
     background: linear-gradient(to bottom, var(--ucateba-light) 0%, var(--ucateba-white) 100%);
 }

 .badge-proceso {
     background: rgba(244, 121, 32, 0.1);
     color: var(--ucateba-secondary-dark);
     padding: 0.5rem 1.25rem;
     border-radius: 50px;
     font-size: 0.8rem;
     font-weight: 700;
     text-transform: uppercase;
     border: 1px solid rgba(244, 121, 32, 0.2);
 }

 .title-primary-ucateba {
     color: var(--ucateba-primary);
 }

 /* 2. Acordeones y Listas */
 .clean-accordion .accordion-item {
     border: none;
     border-bottom: 1px solid var(--ucateba-gray-200);
 }

 .clean-accordion .accordion-button {
     font-weight: 700;
     color: var(--ucateba-primary);
     background: transparent;
     padding: 1.25rem 1.5rem;
 }

 .clean-accordion .accordion-button:not(.collapsed) {
     color: var(--ucateba-secondary-dark);
     box-shadow: none;
 }

 .clean-list {
     list-style: none;
     padding-left: 0;
 }

 .clean-list li {
     position: relative;
     padding-left: 1.5rem;
     margin-bottom: 0.6rem;
     color: var(--ucateba-gray-700);
 }

 .clean-list li::before {
     content: "•";
     position: absolute;
     left: 0;
     color: var(--ucateba-secondary);
     font-size: 1.2rem;
 }

 /* 3. Tarjetas de Info */
 .clean-info-card {
     background: #fff;
     border: 1px solid var(--ucateba-gray-200);
     border-radius: var(--radius-lg);
     padding: 2rem;
     box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
 }

 .clean-action-btn {
     display: flex;
     justify-content: space-between;
     background: #fff;
     border: 1px solid var(--ucateba-gray-200);
     padding: 1rem 1.5rem;
     border-radius: var(--radius-md);
     color: var(--ucateba-primary);
     font-weight: 600;
     text-decoration: none;
     transition: 0.3s;
 }

 .clean-action-btn:hover {
     border-color: var(--ucateba-secondary);
     transform: translateX(5px);
 }

 /* 4. Tutorial Stepper */
 .tutorial-stepper {
     position: relative;
     padding-left: 3rem;
 }

 .tutorial-stepper::before {
     content: '';
     position: absolute;
     left: 15px;
     top: 0;
     bottom: 0;
     width: 2px;
     background: var(--ucateba-secondary);
     opacity: 0.2;
 }

 .step-item {
     position: relative;
     margin-bottom: 2rem;
     opacity: 0;
     animation: fadeInUpStep 0.6s ease forwards;
 }

 .step-number {
     position: absolute;
     left: -3rem;
     top: 0;
     width: 32px;
     height: 32px;
     background: var(--ucateba-primary);
     color: #fff;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     font-weight: 800;
     border: 3px solid #fff;
     box-shadow: 0 0 0 2px var(--ucateba-secondary);
     z-index: 2;
 }

 .step-card {
     background: #fff;
     border-radius: 12px;
     padding: 1.5rem;
     border: 1px solid var(--ucateba-gray-200);
     transition: 0.3s;
 }

 .step-card:hover {
     transform: translateX(10px);
     border-color: var(--ucateba-secondary);
 }

 .step-card h5 {
     font-weight: 700;
     color: var(--ucateba-primary);
     margin-bottom: 0.5rem;
 }

 .border-secondary-highlight {
     border-left: 4px solid var(--ucateba-secondary);
 }

 .bg-purple-light {
     background: #f8f5ff;
 }

 .highlight-final {
     background: #f0fff4;
     border: 2px solid #2ecc71;
 }

 .btn-secondary-ucateba {
     background: var(--ucateba-secondary);
     color: #fff;
     border: none;
     font-weight: 600;
 }

 /* 5. Contact Pill */
 .contact-pill-inline {
     border-radius: 50px;
     border-color: var(--ucateba-gray-200) !important;
 }

 .contact-link {
     color: var(--ucateba-primary);
     text-decoration: none;
     transition: 0.2s;
 }

 .contact-link:hover {
     color: var(--ucateba-secondary);
 }

 /* 6. Animaciones */
 @keyframes fadeInUpStep {
     from {
         opacity: 0;
         transform: translateY(20px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 .step-item:nth-child(1) {
     animation-delay: 0.1s;
 }

 .step-item:nth-child(2) {
     animation-delay: 0.2s;
 }

 .step-item:nth-child(3) {
     animation-delay: 0.3s;
 }

 .step-item:nth-child(4) {
     animation-delay: 0.4s;
 }

 .step-item:nth-child(5) {
     animation-delay: 0.5s;
 }

 .step-item:nth-child(6) {
     animation-delay: 0.6s;
 }

 .step-item:nth-child(7) {
     animation-delay: 0.7s;
 }

 @media (max-width: 767.98px) {
     .contact-pill-inline {
         border-radius: 15px;
         width: 100%;
         padding: 1.5rem !important;
     }

     .contact-pill-inline .vr {
         display: none;
     }

     .tutorial-stepper {
         padding-left: 2.5rem;
     }
 }

 .career-card-ucateba {
     transition: transform 0.3s ease;
 }

 .ucateba-blog .text-center div[style*="background: #f47920"] {
     display: none !important;
 }

 .career-card-ucateba:hover {
     transform: translateY(-10px);
 }

 btn-ucateba-naranja-outline:hover {
     background: var(--ucateba-secondary);
     color: white;
 }

 .badge-modalidad {
     position: absolute;
     top: 15px;
     right: 15px;
     background: var(--ucateba-secondary);
     color: white;
     padding: 4px 15px;
     border-radius: 50px;
     font-size: 0.7rem;
     font-weight: 800;
 }

 .btn-ucateba-azul {
     background: var(--ucateba-primary);
     color: white;
     border: none;
     border-radius: 10px;
 }

 .btn-ucateba-naranja-outline {
     border: 2px solid var(--ucateba-secondary);
     color: var(--ucateba-secondary);
     background: transparent;
     border-radius: 10px;
 }

 /* =============================================================================
   ADMISIONES - ESTILOS UNIFICADOS (DISEÑO LIMPIO)
   ============================================================================= */

 .admisiones-full-page {
     background-color: var(--ucateba-white);
 }

 /* --- 1. CABECERA (HERO) --- */
 .admisiones-hero-header {
     background: linear-gradient(to bottom, var(--ucateba-light) 0%, var(--ucateba-white) 100%);
     border-bottom: 1px solid var(--ucateba-gray-200);
 }

 .badge-proceso {
     background-color: rgba(244, 121, 32, 0.1);
     color: var(--ucateba-secondary-dark);
     padding: 0.5rem 1.25rem;
     border-radius: 50px;
     font-size: 0.8rem;
     font-weight: 700;
     text-transform: uppercase;
     letter-spacing: 1px;
     border: 1px solid rgba(244, 121, 32, 0.2);
 }

 .title-primary-ucateba {
     color: var(--ucateba-primary);
     letter-spacing: -1px;
 }

 /* Píldora de Contacto */
 .contact-pill-inline {
     border-radius: 50px;
     border-color: var(--ucateba-gray-200) !important;
     transition: all 0.3s ease;
 }

 .contact-pill-inline:hover {
     box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06) !important;
     transform: translateY(-3px);
 }

 .contact-link {
     color: var(--ucateba-primary);
     text-decoration: none;
     font-size: 0.95rem;
     transition: color 0.2s ease;
 }

 .contact-link:hover {
     color: var(--ucateba-secondary);
 }

 /* --- 2. ACORDEÓN DE REQUISITOS --- */
 .clean-accordion {
     overflow: hidden;
 }

 .clean-accordion .accordion-item {
     border: none;
     border-bottom: 1px solid var(--ucateba-gray-200);
     background-color: transparent;
 }

 .clean-accordion .accordion-button {
     background-color: var(--ucateba-white);
     color: var(--ucateba-primary);
     font-weight: 700;
     font-size: 1.05rem;
     padding: 1.25rem 1.5rem;
     box-shadow: none !important;
     transition: background-color 0.2s ease;
 }

 .clean-accordion .accordion-button:hover {
     background-color: var(--ucateba-light);
 }

 .clean-accordion .accordion-button:not(.collapsed) {
     color: var(--ucateba-secondary-dark);
     background-color: var(--ucateba-white);
 }

 .clean-accordion .accordion-button::after {
     filter: grayscale(1);
     opacity: 0.4;
 }

 /* Listas ordenadas visualmente */
 .clean-list {
     list-style: none;
     padding-left: 0;
     margin-bottom: 0;
 }

 .clean-list li {
     position: relative;
     padding-left: 1.5rem;
     margin-bottom: 0.75rem;
     color: var(--ucateba-gray-700);
     line-height: 1.6;
 }

 .clean-list li::before {
     content: "•";
     position: absolute;
     left: 0;
     top: 0;
     color: var(--ucateba-secondary);
     font-size: 1.2rem;
     line-height: 1.4;
 }

 /* --- 3. TARJETAS DE INFORMACIÓN --- */
 .clean-info-card {
     background: var(--ucateba-white);
     border: 1px solid var(--ucateba-gray-200);
     border-radius: var(--radius-lg);
     padding: 2rem;
     position: relative;
     box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
     transition: transform 0.3s ease;
 }

 .clean-info-card:hover {
     transform: translateY(-3px);
     box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
 }

 .clean-info-card .card-icon {
     width: 50px;
     height: 50px;
     background-color: rgba(13, 42, 110, 0.05);
     color: var(--ucateba-primary);
     border-radius: var(--radius-md);
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 1.5rem;
     margin-bottom: 1.25rem;
 }

 .icon-circle-sm {
     width: 35px;
     height: 35px;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 1.1rem;
 }

 /* Botones de Acción (Enlaces Rápidos) */
 .clean-action-btn {
     display: flex;
     justify-content: space-between;
     align-items: center;
     background-color: var(--ucateba-white);
     border: 1px solid var(--ucateba-gray-200);
     padding: 1.1rem 1.5rem;
     border-radius: var(--radius-md);
     color: var(--ucateba-primary);
     font-weight: 600;
     text-decoration: none;
     transition: all var(--transition-base);
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
 }

 .clean-action-btn:hover {
     border-color: var(--ucateba-secondary);
     color: var(--ucateba-secondary-dark);
     transform: translateX(5px);
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
 }

 /* --- 4. RESPONSIVIDAD MÓVIL --- */
 @media (max-width: 767.98px) {
     .contact-pill-inline {
         border-radius: var(--radius-md);
         width: 100%;
         padding: 1.5rem !important;
     }

     .contact-pill-inline .vr {
         display: none;
     }

     .title-primary-ucateba {
         font-size: 2.5rem;
     }

     .clean-info-card {
         padding: 1.5rem;
     }
 }

 /* =============================================================================
   5. TABLAS DE FECHAS (CALENDARIOS ADMISIONES Y POMA)
   ============================================================================= */

 .table-card-ucateba {
     background: #ffffff;
     border-radius: var(--radius-lg, 12px);
     overflow: hidden;
     border: 1px solid var(--ucateba-gray-200);
     box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
     transition: transform 0.3s ease, box-shadow 0.3s ease;
 }

 .table-card-ucateba:hover {
     transform: translateY(-5px);
     box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
 }

 .table-card-ucateba .table-header {
     padding: 1.25rem 1.5rem;
     color: #ffffff;
     font-weight: 700;
     font-size: 1.1rem;
     text-transform: uppercase;
     letter-spacing: 0.5px;
 }

 .table-card-ucateba .bg-primary-ucateba {
     background-color: var(--ucateba-primary);
 }

 .table-card-ucateba .bg-secondary-ucateba {
     background-color: var(--ucateba-secondary);
 }

 /* Ajustes nativos de Bootstrap Table dentro de la tarjeta */
 .table-card-ucateba .table {
     --bs-table-bg: transparent;
     margin-bottom: 0;
 }

 .table-card-ucateba thead th {
     background-color: var(--ucateba-light);
     color: var(--ucateba-gray-700);
     font-size: 0.85rem;
     font-weight: 700;
     text-transform: uppercase;
     padding: 1rem 1.5rem;
     border-bottom: 2px solid var(--ucateba-gray-200);
 }

 .table-card-ucateba tbody td {
     padding: 1rem 1.5rem;
     color: var(--ucateba-gray-700);
     font-size: 0.95rem;
     border-bottom: 1px solid var(--ucateba-gray-200);
 }

 .table-card-ucateba tbody tr:last-child td {
     border-bottom: none;
 }

 /* Hover sutil sobre las filas */
 .table-card-ucateba tbody tr:hover td {
     background-color: rgba(13, 42, 110, 0.02);
 }

 /* Forzar barra de desplazamiento responsiva en celulares pequeños si es necesario */
 @media (max-width: 767.98px) {
     .table-card-ucateba .table-header {
         font-size: 1rem;
         padding: 1rem;
     }

     .table-card-ucateba thead th,
     .table-card-ucateba tbody td {
         padding: 0.75rem 1rem;
         font-size: 0.9rem;
     }
 }


 /* Event Slider Styles */


 /* =============================================================================
   ESTILOS INSTITUCIONALES - PÁGINA SOBRE NOSOTROS
   ============================================================================= */

 /* 1. Reset de Contenedor para Full Width */
 #main-content {
     flex: 1 0 auto;
 }

 /* 2. Hero Header Sólido (Lado a lado) */
 .ucateba-hero-header-solid {
     background: linear-gradient(135deg, #0d2a6e 0%, #091d4d 100%);
     min-height: 250px;
     width: 100vw;
     position: relative;
     left: 50%;
     right: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     border-bottom: 5px solid #f47920;
     /* Línea Naranja */

     /* Truco de márgenes negativos para romper el contenedor de Joomla */
     margin: -48px -50vw 50px -50vw;
 }

 .hero-title-text {
     color: #ffffff !important;
     letter-spacing: -1.5px;
     font-family: 'Poppins', sans-serif;
     text-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
 }

 .hero-subtitle-text {
     color: #ffffff !important;
     opacity: 0.9;
     font-size: 1.2rem;
     text-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
 }

 /* 3. Estilos de Contenido */
 .text-primary-ucateba {
     color: var(--ucateba-primary) !important;
 }

 .text-secondary-ucateba {
     color: var(--ucateba-secondary) !important;
 }

 .bg-secondary-ucateba {
     background-color: var(--ucateba-secondary) !important;
     color: white !important;
 }

 .commitment-card-premium {
     background-color: #f8fafc;
     border: 1px solid #e2e8f0;
 }

 .mentor-profile-card {
     background-color: #ffffff;
     border: 1px solid #edf2f7 !important;
 }

 /* 4. Blindaje Imagen de Monseñor Fabio */
 .mentor-photo-wrap {
     width: 160px;
     height: 160px;
     border-radius: 50%;
     border: 5px solid #ffffff;
     box-shadow: 0 0 0 2px var(--ucateba-secondary), 0 10px 25px rgba(0, 0, 0, 0.1);
     overflow: hidden;
 }

 .mentor-img-fluid {
     width: 100%;
     height: 100%;
     object-fit: cover;
     object-position: top center;
 }

 .profile-border-left {
     border-left: 3px solid #f1f5f9;
 }

 .italic-quote {
     font-style: italic;
     font-size: 0.95rem;
 }

 /* 5. Ajustes Responsivos */
 @media (max-width: 991px) {
     .ucateba-hero-header-solid {
         min-height: 200px;
         margin-top: -20px;
     }

     .hero-title-text {
         font-size: 2.5rem;
     }

     .profile-border-left {
         border-left: none;
         border-top: 2px solid #eee;
         padding-top: 20px;
     }
 }

 /* =============================================================================
     FUNDAMENTOS UCATEBA - DISEÑO CENTRALIZADO
     ============================================================================= */

  

 /* =============================================================================
   RECINTOS UCATEBA - FIX VISIBILIDAD Y DISEÑO PREMIUM
   ============================================================================= */

 .campus-card-premium {
     border-radius: 24px;
     overflow: hidden;
     border: 1px solid rgba(0, 0, 0, 0.05);
     transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
     background: white;
 }

 .campus-card-premium:hover {
     transform: translateY(-12px);
     box-shadow: 0 20px 40px rgba(13, 42, 110, 0.15) !important;
 }

 .campus-img-container {
     position: relative;
     height: 320px;
     overflow: hidden;
 }

 .campus-photo {
     width: 100%;
     height: 100%;
     object-fit: cover;
     transition: transform 0.8s ease;
 }

 .campus-card-premium:hover .campus-photo {
     transform: scale(1.1);
 }

 /* --- CAPA DE CONTRASTE (SCRIM) --- */
 .campus-overlay-scrim {
     position: absolute;
     inset: 0;
     /* Gradiente más oscuro abajo para proteger el texto blanco */
     background: linear-gradient(to bottom,
             rgba(0, 0, 0, 0.1) 0%,
             rgba(0, 0, 0, 0.2) 50%,
             rgba(0, 0, 0, 0.85) 100%);
     display: flex;
     flex-direction: column;
     justify-content: space-between;
     padding: 25px;
 }

 /* Efecto de resplandor sutil para que las letras no se pierdan */
 .campus-text-glow h2 {
     text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
     letter-spacing: -0.5px;
 }

 .campus-badge-tag {
     align-self: flex-start;
     padding: 6px 18px;
     border-radius: 50px;
     font-size: 0.75rem;
     font-weight: 800;
     text-transform: uppercase;
     letter-spacing: 1px;
     color: white;
     box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
 }

 .bg-orange-ucateba {
     background-color: var(--ucateba-secondary) !important;
 }

 /* --- DETALLES INFERIORES --- */
 .status-indicator {
     font-size: 0.7rem;
     font-weight: 800;
     text-transform: uppercase;
     padding-left: 15px;
     position: relative;
 }

 .status-indicator::before {
     content: '';
     position: absolute;
     left: 0;
     top: 50%;
     transform: translateY(-50%);
     width: 8px;
     height: 8px;
     border-radius: 50%;
 }

 .status-indicator.blue {
     color: var(--ucateba-primary);
 }

 .status-indicator.blue::before {
     background: var(--ucateba-primary);
 }

 .status-indicator.orange {
     color: var(--ucateba-secondary);
 }

 .status-indicator.orange::before {
     background: var(--ucateba-secondary);
 }

 .btn-location-link {
     font-weight: 700;
     font-size: 0.85rem;
     color: var(--ucateba-primary);
     text-decoration: none;
     transition: 0.3s;
 }

 .btn-location-link:hover {
     color: var(--ucateba-secondary);
     letter-spacing: 0.5px;
 }

 .btn-location-link.color-orange {
     color: var(--ucateba-secondary);
 }

 @media (max-width: 767px) {
     .campus-img-container {
         height: 240px;
     }
 }

 /* =============================================================================
   SECCIÓN DE ESCUELAS UCATEBA - DISEÑO FINAL LIMPIO
   ============================================================================= */

 .ucateba-schools-clean {
     background-color: #ffffff;
     padding: 40px 0;
 }

 /* --- ENCABEZADO MINIMALISTA --- */
 .ucateba-schools-header {
     text-align: center;
     margin-bottom: 50px;
 }

 .ucateba-schools-header .badge-tag {
     background-color: rgba(13, 42, 110, 0.05);
     color: #0D2A6E;
     padding: 6px 15px;
     border-radius: 50px;
     font-weight: 700;
     font-size: 0.75rem;
     text-transform: uppercase;
     letter-spacing: 2px;
 }

 .ucateba-schools-header h1 {
     color: #0D2A6E;
     font-weight: 800;
     font-size: 3rem;
     margin-top: 15px;
     margin-bottom: 20px;
 }

 .ucateba-schools-header p {
     max-width: 750px;
     margin: 0 auto;
     font-size: 1.15rem;
     color: #555;
     line-height: 1.7;
 }

 /* --- NAVEGACIÓN (TABS) --- */
 .ucateba-schools-clean .nav-pills .nav-link {
     background: #f8f9fa;
     color: #0D2A6E;
     font-weight: 700;
     border-radius: 50px;
     margin: 5px;
     padding: 12px 25px;
     border: 1px solid #eee;
     transition: 0.3s;
 }

 .ucateba-schools-clean .nav-pills .nav-link.active {
     background-color: #0D2A6E !important;
     color: #fff !important;
 }

 /* --- TARJETA DE ESCUELA --- */
 .school-clean-card {
     background: #ffffff;
     border-radius: 20px;
     padding: 40px;
     box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
     border: 1px solid #f2f2f2;
 }

 .school-clean-card h2 {
     color: #0D2A6E;
     font-weight: 800;
     margin-bottom: 20px;
 }

 /* --- PERFIL DEL DIRECTOR (IMAGEN COMPLETA) --- */
 .director-clean-box {
     text-align: center;
     padding: 10px;
 }

 .director-clean-img {
     width: 240px;
     /* Imagen más grande */
     height: 300px;
     /* Proporción para evitar recortes raros */
     object-fit: cover;
     /* Asegura que llene el espacio sin deformar */
     border-radius: 15px;
     /* Esquinas suavizadas, no circular */
     box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
     margin-bottom: 15px;
     border: 4px solid #fff;
 }

 .director-clean-info {
     color: #F47920;
     font-weight: 800;
     font-size: 0.75rem;
     text-transform: uppercase;
     margin-bottom: 5px;
 }

 .director-clean-info h4 {
     color: #0D2A6E;
     font-weight: 700;
     font-size: 1.2rem;
     margin: 0;
 }

 /* RESPONSIVE */
 @media (min-width: 992px) {
     .director-clean-box {
         border-left: 1px solid #eee;
     }
 }

 @media (max-width: 768px) {
     .school-clean-card {
         padding: 25px;
     }

     .director-clean-img {
         width: 100%;
         max-width: 280px;
         height: auto;
     }
 }

 /* =============================================================================
   AUTORIDADES UCATEBA - DISEÑO DE GOBIERNO UNIVERSITARIO
   ============================================================================= */

 /* --- ENCABEZADO AZUL (HERO) --- */
 .autoridades-hero {
     background-color: #0D2A6E;
     /* Azul Institucional */
     padding: 80px 20px;
     text-align: center;
     color: #ffffff;
     border-bottom: 6px solid #F47920;
     /* Franja naranja base */
 }

 .autoridades-hero h1 {
     font-weight: 800;
     font-size: 3.5rem;
     letter-spacing: 1px;
     margin-bottom: 20px;
     color: #ffffff;
 }

 .autoridades-hero .history-lead {
     max-width: 850px;
     margin: 0 auto;
     font-size: 1.2rem;
     line-height: 1.8;
     color: rgba(255, 255, 255, 0.9);
 }

 /* --- CUERPO DEL ARTÍCULO --- */
 .ucateba-autoridades-body {
     padding: 60px 0;
     background-color: #fff;
 }

 /* --- TARJETAS DE AUTORIDADES --- */
 .rector-section {
     margin-bottom: 80px;
 }

 .autoridad-card {
     background: #ffffff;
     padding: 30px;
     border-radius: 20px;
     box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
     border: 1px solid #f0f0f0;
     transition: transform 0.3s ease;
 }

 .autoridad-card:hover {
     transform: translateY(-5px);
 }

 .autoridad-img {
     width: 240px;
     /* Imagen grande para no mochar */
     height: 300px;
     object-fit: cover;
     border-radius: 15px;
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
     margin-bottom: 20px;
     border: 4px solid #fff;
 }

 .autoridad-meta span {
     display: block;
     color: #F47920;
     font-weight: 800;
     text-transform: uppercase;
     font-size: 0.8rem;
     letter-spacing: 1px;
     margin-bottom: 8px;
 }

 .autoridad-meta h3 {
     color: #0D2A6E;
     font-weight: 700;
     font-size: 1.4rem;
     margin-bottom: 12px;
 }

 .autoridad-meta p {
     color: #666;
     font-size: 0.95rem;
     line-height: 1.6;
 }

 .vicerrectores-title {
     text-align: center;
     color: #0D2A6E;
     font-weight: 800;
     font-size: 2.5rem;
     margin-bottom: 50px;
     text-transform: uppercase;
 }

 /* --- UCATEBA ORGANIGRAMA: ESTILOS FINALES --- */
 .tree-container {
     transition: all 0.3s ease-in-out;
 }

 .node-line {
     position: absolute;
     left: -1rem;
     /* Alineado con ps-3 de Bootstrap */
     top: 1.5rem;
     width: 1rem;
     height: 2px;
     background-color: #dee2e6;
     /* Color border de Bootstrap */
 }

 .border-dashed {
     border-style: dashed !important;
 }

 .hover-shadow {
     transition: box-shadow 0.2s ease-in-out, border-color 0.2s ease-in-out;
 }

 .hover-shadow:hover {
     border-color: #0d6efd !important;
     box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075) !important;
 }

 .cursor-pointer {
     cursor: pointer;
 }

 /* Fallback Logo custom gradient */
 .bg-gradient-custom {
     background: linear-gradient(135deg, #0a2540 0%, #1a365d 50%, #991b1b 100%);
 }

 /* =============================================================================
   SECCIÓN CORO UNIVERSITARIO - DISEÑO PREMIUM
   ============================================================================= */


 /* =============================================================================
   SECCIÓN DE DEPORTES - UCATEBA V2026
   ============================================================================= */



 /* Preguntas Frecuentes */

 /* Navbar personalizado */
 .navbar-custom {
     background-color: var(--ucateba-blue);
 }

 .navbar-brand {
     font-weight: 700;
     color: #ffffff !important;
     display: flex;
     align-items: center;
     gap: 10px;
 }

 /* Hero Section */
 .hero-section {
     background: linear-gradient(135deg, var(--ucateba-blue) 0%, #00509e 100%);
     color: white;
     padding: 4rem 1rem;
     margin-bottom: 3rem;
     border-bottom: 5px solid var(--ucateba-gold);
 }

 .hero-title {
     font-weight: 800;
     margin-bottom: 1rem;
 }

 /* Buscador */
 .search-container {
     max-width: 600px;
     margin: 3rem auto 3rem auto;
     position: relative;
     z-index: 10;
 }

 .search-box {
     box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
     border-radius: 30px;
     padding: 10px 20px;
     border: 2px solid white;
 }

 .search-box:focus {
     border-color: var(--ucateba-gold);
     box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
 }

 /* Acordeón Personalizado */
 .accordion-button:not(.collapsed) {
     background-color: #e9f2fb;
     color: var(--ucateba-blue);
     font-weight: 600;
 }

 .accordion-button:focus {
     box-shadow: none;
     border-color: rgba(0, 51, 102, 0.1);
 }

 .accordion-button i {
     margin-right: 12px;
     color: var(--ucateba-secondary);
     font-size: 1.2rem;
 }

 .accordion-button:not(.collapsed) i {
     color: var(--ucateba-blue);
 }

 .accordion-item {
     border: none;
     border-bottom: 1px solid #e0e0e0;
     border-radius: 8px !important;
     margin-bottom: 10px;
     overflow: hidden;
     box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
 }

 .accordion-body {
     background-color: #ffffff;
     color: #4a4a4a;
     line-height: 1.6;
 }

 .accordion-body ul {
     margin-top: 10px;
 }

 .accordion-body li {
     margin-bottom: 5px;
 }

 .empty-state {
     display: none;
     text-align: center;
     padding: 3rem;
     color: #6c757d;
 }

 /*UCATEBA HIMNO */

/* =============================================================================
     HIMNO UCATEBA - DISEÑO FULL WIDTH RESPONSIVE
     ============================================================================= */

  .himno-full-width-wrapper {
      width: 100vw !important;
      position: relative;
      left: 50%;
      right: 50%;
      margin-left: -50vw !important;
      margin-right: -50vw !important;
      overflow: hidden; /* IMPORTANTE para que las animaciones no creen scroll */
  }

  .himno-wrapper {
      background-color: var(--h-uc-light, #f8f9fa);
      position: relative;
      width: 100%;
  }

  .himno-section {
      padding: 80px 20px;
      background: linear-gradient(135deg, #ffffff 0%, #e9ecef 100%);
      position: relative;
      z-index: 1;
  }

  .himno-max-width { max-width: 1100px; margin: 0 auto; width: 100%; position: relative; z-index: 2; }

  /* --- NOTAS MUSICALES (MÁS GRANDES Y ANIMADAS) --- */
  .musical-notes-container {
      position: absolute; top: 0; left: 0; width: 100%; height: 100%;
      pointer-events: none; z-index: 0; overflow: hidden;
  }

  .note {
      position: absolute; color: var(--ucateba-secondary, #f47920);
      opacity: 0; font-size: 3rem; /* Notas más grandes */
      filter: drop-shadow(0 2px 5px rgba(0,0,0,0.2));
  }

  /* Animaciones */
  @keyframes floatAndSway {
      0% { transform: translateY(100vh) translateX(0) rotate(0deg); opacity: 0; }
      10% { opacity: 0.6; }
      50% { transform: translateY(50vh) translateX(50px) rotate(180deg); opacity: 0.4; }
      100% { transform: translateY(-10vh) translateX(-20px) rotate(360deg); opacity: 0; }
  }

  @keyframes zigZag {
      0% { transform: translateY(100vh) scale(0.5); opacity: 0; }
      20% { opacity: 0.5; transform: translateY(80vh) translateX(30px) scale(1); }
      100% { transform: translateY(-10vh) translateX(0) scale(1.5); opacity: 0; }
  }

  .note-1 { left: 5%; animation: floatAndSway 15s infinite linear; }
  .note-2 { left: 20%; animation: zigZag 12s infinite ease-in-out; animation-delay: 2s; }
  .note-3 { left: 40%; animation: floatAndSway 18s infinite linear; animation-delay: 5s; }
  .note-4 { left: 60%; animation: zigZag 14s infinite ease-in-out; animation-delay: 1s; }
  .note-5 { left: 80%; animation: floatAndSway 20s infinite linear; animation-delay: 7s; }
  .note-6 { left: 90%; animation: zigZag 16s infinite ease-in-out; animation-delay: 4s; }

  /* Estilos del contenido */
  .himno-header { text-align: center; margin-bottom: 50px; }
  .himno-fondo {
      display: inline-block; padding: 5px 15px; border-radius: 20px;
      background: var(--ucateba-secondary, #f47920); color: white;
      font-size: 0.8rem; margin-bottom: 15px; font-weight: bold;
  }
  .lyrics-container { max-width: 800px; margin: 0 auto; }
  .verse { margin-bottom: 40px; text-align: center; }
  .verse p { font-size: 1.5rem; line-height: 1.8; color: var(--h-uc-blue, #003366); font-style: italic; }
  .coro { background: rgba(0, 51, 102, 0.05); padding: 30px; border-radius: 20px; border-left: 5px solid var(--ucateba-secondary, #f47920); }
  
  .credit-box {
      background: white; padding: 25px; border-radius: 15px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
      margin-bottom: 20px; text-align: center;
  }

 
 /*Conctatos*/


 /* --- Header: Profesional y Simple --- */
 .directorio-header {
     background-color: #0d2a6e;
     padding: 60px 20px;
     text-align: center;
     border-bottom: 5px solid #f47920;
 }

 .directorio-header h1 {
     color: #ffffff;
     font-weight: 800;
     font-size: 2.8rem;
     margin-bottom: 30px;
     letter-spacing: -1px;
 }

 /* --- Caja de Teléfono: Máximo Contraste --- */
 .central-phone-container {
     background-color: #ffffff;
     display: inline-flex;
     align-items: center;
     padding: 15px 40px;
     border-radius: 12px;
     box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
 }

 .central-phone-container i {
     color: #f47920;
     font-size: 2.2rem;
     margin-right: 20px;
 }

 .phone-label {
     display: block;
     color: #64748b;
     font-size: 11px;
     font-weight: 800;
     letter-spacing: 2px;
     text-transform: uppercase;
     text-align: left;
 }

 .phone-number-big {
     color: #0d2a6e;
     font-size: 2.2rem;
     font-weight: 900;
     line-height: 1;
 }

 /* --- Tarjetas de Departamento --- */
 .dept-card {
     background-color: #ffffff;
     border: 1px solid #e2e8f0;
     border-radius: 16px;
     padding: 25px;
     height: 100%;
     display: flex;
     align-items: flex-start;
     position: relative;
 }

 .dept-icon {
     width: 55px;
     height: 55px;
     background-color: #f1f5f9;
     color: #0d2a6e;
     border-radius: 12px;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 1.5rem;
     margin-right: 20px;
     flex-shrink: 0;
 }

 .dept-info {
     flex-grow: 1;
 }

 .dept-name {
     font-size: 1.40rem;
     font-weight: 800;
     color: #0d2a6e;
     margin-bottom: 2px;
     line-height: 1.2;
 }

 .dept-role {
     font-size: 0.9rem;
     font-weight: 600;
     color: #94a3b8;
     text-transform: uppercase;
     letter-spacing: 0.5px;
     display: block;
     margin-bottom: 12px;
 }

 /* --- Enlaces de Correo (Simples y Claros) --- */
 .dept-email {
     color: #0d2a6e;
     font-weight: 700;
     text-decoration: none;
     font-size: 1.05rem;
     display: inline-flex;
     align-items: center;
     gap: 8px;
 }

 .dept-email i {
     color: #f47920;
 }

 /* --- Extensiones --- */
 .dept-ext {
     background-color: #f1f5f9;
     color: #0d2a6e;
     font-weight: 800;
     padding: 6px 12px;
     border-radius: 8px;
     font-size: 1rem;
     white-space: nowrap;
     margin-left: 15px;
 }

 /* --- Diseño Responsivo --- */
 @media (max-width: 767px) {
     .directorio-header h1 {
         font-size: 2rem;
     }

     .phone-number-big {
         font-size: 1.6rem;
     }

     .central-phone-container {
         padding: 12px 20px;
     }

     .dept-card {
         flex-direction: column;
         text-align: center;
         padding-top: 45px;
     }

     .dept-icon {
         margin-right: 0;
         margin-bottom: 15px;
         margin-left: auto;
         margin-right: auto;
     }

     .dept-ext {
         position: absolute;
         top: 15px;
         right: 15px;
         font-size: 0.85rem;
         margin-left: 0;
     }

     .dept-email {
         font-size: 0.95rem;
         justify-content: center;
         width: 100%;
     }

     /* Ocultar título duplicado en página de convenios */
     .view-article .page-header,
     .view-article .article-header,
     .com_content .page-header,
     .item-page .page-header {
         display: none;
     }
 }


 /* =============================================================================
   RESPONSIVE — QUICKLINKS
   ============================================================================= */

 @media (max-width: 991.98px) {
     .ucateba-quicklinks .d-flex {
         display: grid !important;
         grid-template-columns: repeat(3, 1fr);
         gap: 0.75rem !important;
     }

     .ql-wrapper {
         min-width: unset;
         flex: unset;
     }
 }

 @media (max-width: 400px) {
     .ucateba-quicklinks .d-flex {
         grid-template-columns: repeat(2, 1fr);
     }
 }


 /* =============================================================================
   RESPONSIVE — CTA BUTTONS
   ============================================================================= */

 @media (max-width: 991.98px) {
     .ucateba-cta .btn-cta-primary,
     .ucateba-cta .btn-cta-outline {
         display: flex;
         width: 100%;
         justify-content: center;
         margin-left: 0;
     }

     .ucateba-cta .btn-cta-outline {
         margin-top: 0.75rem;
     }
 }


 /* =============================================================================
   RESPONSIVE — HEADER LOGO
   ============================================================================= */

 header.ucateba-header .header-logo {
     max-width: 100%;
 }

 @media (max-width: 575.98px) {
     header.ucateba-header .header-logo {
         height: 44px;
     }
 }


 /* =============================================================================
   CLASES UTILITARIAS (reemplazan inline styles)
   ============================================================================= */

 .acred-heading {
     letter-spacing: 2px;
     font-size: 0.75rem;
 }

 .ucateba-faq {
     background: var(--ucateba-white);
 }

 .news-container-wide {
     max-width: 1450px;
 }

 .footer-bottom {
     background-color: #0a1628;
     border-top: 1px solid rgba(255, 255, 255, 0.1);
 }

 .btn-border-thick {
     border-width: 2px !important;
 }

 .faq-empty-icon {
     font-size: 3rem;
     color: #dee2e6;
 }


 /* =============================================================================
   MODALES INSTITUCIONALES (ucateba-modal-*)
   ============================================================================= */

 .ucateba-modal {
     z-index: 9999 !important;
 }

 .ucateba-modal-dialog {
     max-width: 800px;
 }

 .ucateba-modal-header {
     background: var(--ucateba-primary);
     color: #fff;
     padding: 1.25rem 1.5rem;
     border: none;
     display: flex;
     align-items: flex-start;
     justify-content: space-between;
 }

 .ucateba-modal-title-wrap {
     padding-right: 1rem;
 }

 .ucateba-modal-title {
     font-size: 1.2rem;
     font-family: var(--font-primary);
     font-weight: 700;
     color: #fff;
     display: flex;
     align-items: center;
     margin-bottom: 0.25rem;
 }

 .ucateba-modal-icon {
     color: var(--ucateba-secondary);
     font-size: 1.5rem;
 }

 .ucateba-modal-body {
     color: #444;
     font-size: 0.95rem;
     line-height: 1.8;
     text-align: justify;
     padding: 1.5rem;
 }

 @media (min-width: 768px) {
     .ucateba-modal-body {
         padding: 2rem 3rem;
     }
 }

---punto footer

.innerpage .ucateba-content.section-pad {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}



/* ── Asociaciones ──────────────────────────────────────────── */
.ucateba-asociaciones {
    background: #fff;
    border-top: 1px solid rgba(13,42,110,.07);
}
 
/* ── Carrusel infinito ── */
.asoc-carousel {
    position: relative;
    overflow: hidden;
    /* padding-top para que los tooltips hacia arriba no queden cortados */
    padding-top: 70px;
    margin-top: -70px;
    /* Desvanecido en los bordes izq/der para que las tarjetas "aparezcan"
       y "desaparezcan" suavemente en vez de cortarse de golpe */
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
}
.asoc-track {
    display: flex;
    width: max-content;
    /* Ahora son 4 grupos idénticos en vez de 2: se mueve solo 1/4 del ancho
       total (el ancho de UN grupo), así que la distancia recorrida y la
       velocidad visual son las mismas de antes — solo cambia cuánto
       contenido de "colchón" hay disponible para que nunca se vea un hueco. */
    animation: asocScroll 26s linear infinite;
}
.asoc-group {
    display: flex;
    gap: 16px;
    padding-right: 16px;
}
/* Pausa al pasar el mouse o al enfocar con teclado, para poder leer el tooltip */
.asoc-carousel:hover .asoc-track,
.asoc-carousel:focus-within .asoc-track {
    animation-play-state: paused;
}
@keyframes asocScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-25%); }
}
@media (prefers-reduced-motion: reduce) {
    .asoc-track { animation: none; }
}
 
/* ── Card ── */
.asoc-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 170px;
    height: 150px;
    padding: 20px 16px 14px;
    background: #fff;
    border: 1.5px solid rgba(13,42,110,.09);
    border-radius: 14px;
    cursor: default;
    transition: border-color .22s, transform .22s, box-shadow .22s;
    outline: none;
    flex-shrink: 0;
    /* SIN overflow:hidden para que el tooltip sea visible */
}
.asoc-card:hover,
.asoc-card:focus-visible {
    border-color: #f47920;
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(13,42,110,.10);
}
 
/* ── Logo ── */
.asoc-logo-wrap {
    width: 100px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.asoc-logo-wrap img {
    max-width: 100px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    filter: grayscale(50%) opacity(.72);
    transition: filter .25s, transform .25s;
}
.asoc-card:hover .asoc-logo-wrap img,
.asoc-card:focus-visible .asoc-logo-wrap img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.06);
}
 
/* ── Nombre ── */
.asoc-name {
    font-size: .7rem;
    font-weight: 800;
    color: #adb5bd;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color .22s;
    margin-top: auto;
}
.asoc-card:hover .asoc-name,
.asoc-card:focus-visible .asoc-name {
    color: #0d2a6e;
}
 
/* ── Tooltip ── */
.asoc-tooltip {
    position: absolute;
    /* aparece ARRIBA de la card */
    bottom: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: #0d2a6e;
    border-radius: 10px;
    padding: 12px 16px;
    min-width: 210px;
    max-width: 250px;
    text-align: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity .22s, transform .22s;
    z-index: 200;
    box-shadow: 0 8px 28px rgba(13,42,110,.25);
    white-space: normal;
    line-height: 1.5;
    font-size: .8rem;
    color: rgba(255,255,255,.88);
}
/* Flecha apuntando hacia abajo */
.asoc-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 7px solid transparent;
    border-top-color: #0d2a6e;
}
/* Texto fuerte = sigla en naranja */
.asoc-tooltip strong {
    display: block;
    font-size: .78rem;
    font-weight: 800;
    color: #f47920;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: .8px;
}
 
/* Mostrar al hover/focus */
.asoc-card:hover .asoc-tooltip,
.asoc-card:focus-visible .asoc-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
 
/* ── Móvil: tooltip abajo ── */
@media (max-width: 576px) {
    .asoc-card { width: 140px; height: 140px; padding: 16px 12px 12px; }
    .asoc-logo-wrap { width: 80px; height: 65px; }
    .asoc-logo-wrap img { max-width: 80px; max-height: 65px; }
    .asoc-carousel { padding-top: 0; margin-top: 0; padding-bottom: 80px; }
    .asoc-tooltip {
        bottom: auto;
        top: calc(100% + 14px);
        transform: translateX(-50%) translateY(-8px);
    }
    .asoc-tooltip::after {
        top: auto;
        bottom: 100%;
        border-top-color: transparent;
        border-bottom-color: #0d2a6e;
    }
    .asoc-card:hover .asoc-tooltip,
    .asoc-card:focus-visible .asoc-tooltip {
        transform: translateX(-50%) translateY(0);
    }
}


/* =============================================================================
   UCATEBA — Anti-vibración / Anti-jank fixes
   Agregar al FINAL de template.css
   ============================================================================= */

/* ── 1. Header sticky sin vibración ────────────────────────── */
header.ucateba-header {
    will-change: auto;
    transform: translateZ(0);          /* crea su propio layer de composición */
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Evitar que el topbar cause reflow al hacer scroll */
.ucateba-topbar {
    will-change: auto;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

/* ── 2. Menú investigación sin vibración ────────────────────── */
/* Quitar la declaración duplicada de hover y usar solo una */
.inv-menu-item {
    transition: transform 0.22s ease, box-shadow 0.22s ease !important;
    will-change: transform;
    transform: translateZ(0);         /* fuerza GPU desde el inicio */
    -webkit-transform: translateZ(0);
}

.inv-menu-item:hover {
    transform: translateY(-3px) translateZ(0) !important;
    box-shadow: 0 8px 20px rgba(13, 42, 110, .12) !important;
}

/* ── 3. Quicklinks sin vibración ─────────────────────────────── */
.quicklink-card {
    will-change: transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease !important;
}

.quicklink-card:hover {
    transform: translateY(-8px) translateZ(0) !important;
}

/* ── 4. Hero slider sin vibración ────────────────────────────── */
.hero-slide-bg {
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* ── 5. Stats band items ─────────────────────────────────────── */
.stat-item {
    will-change: transform;
    transform: translateZ(0);
}

/* ── 6. Cards generales ──────────────────────────────────────── */
.career-card-ucateba,
.program-card,
.event-card,
.news-card,
.dep-card,
.tec-card,
.per-card,
.coro-card {
    will-change: transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
}

/* ── 7. Evitar scroll-x que genera el vibrado ───────────────── */
html, body {
    overflow-x: hidden !important;
    /* Evitar reflows horizontales */
}

/* ── 8. Animaciones de cards solo con transform y opacity ────── */
.campus-card-premium,
.autoridad-card,
.obj-card-solid,
.admisiones-step {
    will-change: transform;
    transform: translateZ(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

/* ── 9. Topbar social links sin vibración ────────────────────── */
.topbar-social a {
    will-change: transform;
    transform: translateZ(0);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease !important;
}

/* ── 10. Footer social sin vibración ─────────────────────────── */
.footer-social a {
    will-change: transform;
    transform: translateZ(0);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease !important;
}

/* =============================================================================
   FIX — Título duplicado en páginas de carreras / técnicos / PROPAES
   El layout car-detail-wrap tiene su propio h1 en el hero,
   así que ocultamos el h1 que Joomla inyecta automáticamente.
   ============================================================================= */

/* Oculta el h1 automático de Joomla SOLO en artículos con layout propio */
.car-detail-wrap ~ .page-header,
.car-detail-wrap ~ h1,
.ev-page ~ .page-header,
.uca-art-page ~ .page-header {
    display: none !important;
}

/* Joomla a veces pone el h1 ANTES del contenido del artículo */
.item-page > h1:first-child,
.item-page > .page-header:first-child {
    display: none !important;
}

/* Selector más específico para el título que aparece sobre el hero */
.com-content-article__body .page-header,
.com-content-article__body > h1,
.article-info + h1,
body.view-article .page-header h1,
body.view-article .page-header {
    display: none !important;
}

/* =============================================================================
   FIX DEFINITIVO — Título duplicado en páginas de carreras/PROPAES
   Oculta el h1 automático que el template inyecta ANTES del hero azul.
   El hero ya tiene su propio h1 integrado — este es redundante.
   ============================================================================= */

/* Selector ultra-específico: el h1 que está directamente dentro del
   contenedor del componente, ANTES del car-detail-wrap */
.item-page > h1,
.item-page > .page-header,
.item-page > .page-header > h1,
.com-content-article__body > h1,
.com-content-article__body > .page-header,
.ucateba-content > h1,
.ucateba-content > .page-header,
#sp-component h1.page-header,
#sp-component .page-header,
.innerpage > #sp-component > h1,
body.view-article .page-header {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* ═══════════════════════════════════════════════════════════════
   FIX DEFINITIVO — Título duplicado (page_heading de Joomla)
   El template.css del sitio aplica estilos a h1 dentro de
   .content-main causando que el page_heading se vea estilizado.
   Lo ocultamos con display:none en todos los artículos.
   ═══════════════════════════════════════════════════════════════ */
body.view-article .content-main > h1,
body.view-article .content-main > .page-header,
body.view-article .content-main > .page-header h1,
body.view-article .ucateba-content h1.page-header,
body.view-article .com-content-article__body > h1:first-child,
body.view-article .item-page > h1:first-child {
    display: none !important;
}

/* =============================================================================
   FIX — Eliminar espacio blanco entre header y contenido en todas las páginas
   El index.php envuelve el componente en .ucateba-content.section-pad
   que agrega padding-top. Lo anulamos en páginas internas (innerpage).
   ============================================================================= */
body.innerpage .ucateba-content.section-pad,
body.innerpage .ucateba-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* =============================================================================
   BARRA DE CARGA
   ============================================================================= */
#nprogress .bar { background: #f47920 !important; height: 3px !important; }
#nprogress .peg { box-shadow: 0 0 10px #f47920, 0 0 5px #f47920 !important; }



/* Logo dentro del ícono del mega-menú: se ajusta al mismo espacio circular/
   cuadrado que ya usan los demás ítems (inv-icon-blue), sin deformarse. */
.inv-menu-icon.inv-icon-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* Fondo blanco de respaldo por si el logo tiene transparencia y el
       ícono azul original se veía sobre un color sólido */
    background: #fff;
    padding: 4px;
}
.inv-menu-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
