/**
 * ============================================================================
 * GAIA University - Sistema de Diseño Institucional
 * ============================================================================
 * @version 2.0.0
 * @author GAIA University
 * @copyright 2026
 * 
 * Este archivo contiene todos los estilos base del sitio.
 * Se divide en secciones organizadas:
 *   1. Variables y Reset
 *   2. Layout y Grid
 *   3. Componentes UI
 *   4. Secciones Específicas
 *   5. Utilidades
 *   6. Responsive
 * ============================================================================
 */

/* ============================================
   1. VARIABLES Y RESET
   ============================================ */

:root {
    /* Paleta de Colores Oficial */
    --gaia-negro: #333333;
    --gaia-dark: #0F172A;
    --gaia-bone: #FFFDF8;
    --gaia-corinto: #83123F;
    --gaia-secundario-1: #9F1547;
    --gaia-secundario-2: #BA144E;
    --gaia-bg-light: #F8FAFC;
    --gaia-gold: #c8a45d;
    --gaia-teal: #0f766e;
    
    /* Tipografías Oficiales */
    --font-title: 'Roboto Slab', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* UI Estructural */
    --radius: 4px;
    --radius-lg: 8px;
    --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-corporate: 0 4px 20px rgba(51, 51, 51, 0.06);
    --shadow-premium: 0 20px 40px rgba(15, 23, 42, 0.04);
    --shadow-hover: 0 30px 60px rgba(15, 23, 42, 0.08);
}

/* Reset e Infraestructura Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--gaia-negro);
    background-color: var(--gaia-bone);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Selección de texto */
body::selection {
    background: rgba(131, 18, 63, 0.18);
}

/* Tipografía */
h1, h2, h3, h4 {
    font-family: var(--font-title);
    font-weight: 700;
    color: var(--gaia-negro);
}

/* Contenedor Principal */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   2. BARRA SUPERIOR
   ============================================ */

.top-bar {
    background-color: var(--gaia-negro);
    color: rgba(255, 253, 248, 0.8);
    font-size: 0.78rem;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.top-links {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.top-links a {
    color: rgba(255, 253, 248, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.top-links a:hover {
    color: #FFFFFF;
}

.portal-access-link {
    background-color: var(--gaia-corinto);
    padding: 4px 12px;
    border-radius: 2px;
    color: var(--gaia-bone) !important;
    font-weight: 600;
    transition: var(--transition);
}

.portal-access-link:hover {
    background-color: var(--gaia-secundario-1);
    transform: translateY(-1px);
}

/* ============================================
   3. HEADER / NAVEGACIÓN
   ============================================ */

.header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(51, 51, 51, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
}

.logo-area {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-area img {
    height: 50px;
    width: auto;
    display: block;
    object-fit: contain;
}

/* Menú Principal */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 4px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 32px 16px;
    text-decoration: none;
    color: var(--gaia-negro);
    font-size: 0.88rem;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active,
.nav-item:hover .nav-link {
    color: var(--gaia-secundario-2);
    background: rgba(131, 18, 63, 0.02);
}

/* Dropdown Estándar */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #FFFFFF;
    min-width: 240px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border-top: 3px solid var(--gaia-corinto);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.dropdown a {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: var(--gaia-negro);
    font-size: 0.85rem;
    font-weight: 500;
    border-bottom: 1px solid #F5F5F5;
    transition: var(--transition);
}

.dropdown a:hover {
    background: var(--gaia-bone);
    color: var(--gaia-corinto);
    padding-left: 24px;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Mega Menú */
.mega-dropdown-trigger {
    position: relative;
}

.mega-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-62%) translateY(12px);
    width: 920px;
    background: #FFFFFF;
    box-shadow: var(--shadow-premium);
    border-top: 3px solid var(--gaia-secundario-2);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    padding: 40px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1100;
}

.mega-dropdown-trigger:hover .mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-62%) translateY(0);
}

.mega-dropdown-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.1fr;
    gap: 35px;
}

.mega-col h4 {
    font-family: var(--font-body);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gaia-dark);
    margin-bottom: 18px;
    font-weight: 700;
    border-bottom: 1px solid #F1F5F9;
    padding-bottom: 8px;
}

.mega-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mega-links a {
    display: block;
    background: transparent !important;
    padding: 0 !important;
    text-decoration: none;
    font-size: 0.86rem;
    color: #475569;
    font-weight: 500;
    border: none !important;
    transition: var(--transition);
}

.mega-links a:hover {
    color: var(--gaia-secundario-2) !important;
    padding-left: 4px !important;
}

.high-context-col {
    background-color: var(--gaia-bg-light);
    padding: 22px;
    border-radius: var(--radius);
}

.highlight-exec {
    font-weight: 700 !important;
    color: var(--gaia-corinto) !important;
}

.mega-col-desc {
    font-size: 0.78rem;
    color: #64748B;
    margin-top: 10px;
    line-height: 1.5;
}

/* ============================================
   4. BOTONES
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius);
    transition: var(--transition);
    text-decoration: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--gaia-corinto);
    color: var(--gaia-bone);
    border: none;
}

.btn-primary:hover {
    background: var(--gaia-secundario-1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(131, 18, 63, 0.2);
}

/* ============================================
   5. SECCIÓN: HERO
   ============================================ */

.hero {
    background: linear-gradient(rgba(51, 51, 51, 0.88), rgba(51, 51, 51, 0.92)),
        url('https://images.unsplash.com/photo-1563986768609-322da13575f3?auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    padding: 130px 0;
    color: var(--gaia-bone);
    position: relative;
    isolation: isolate;
}

.hero::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 6px;
    background: linear-gradient(90deg, var(--gaia-corinto), var(--gaia-gold), var(--gaia-teal));
    opacity: 0.92;
    z-index: 0;
}

.hero-content {
    max-width: 720px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.4rem;
    line-height: 1.15;
    margin-bottom: 24px;
    text-transform: uppercase;
    color: var(--gaia-bone);
}

.hero p {
    font-size: 1.15rem;
    margin-bottom: 40px;
    color: #E0E4EC;
    font-weight: 300;
}

/* ============================================
   6. SECCIÓN: LICENCIA
   ============================================ */

.license-section {
    padding: 40px 0;
    background: var(--gaia-bg-light);
    text-align: center;
    border-bottom: 1px solid rgba(51, 51, 51, 0.05);
}

.license-text {
    font-size: 1rem;
    color: #555;
    margin-bottom: 16px;
}

.license-logo {
    max-height: 60px;
    width: auto;
    display: inline-block;
}

/* ============================================
   7. SECCIÓN: COSTO
   ============================================ */

.cost-section {
    padding: 80px 0;
    background: #FFFFFF;
}

.cost-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.cost-card {
    background: var(--gaia-bone);
    padding: 35px 30px;
    border-radius: var(--radius);
    border-top: 4px solid var(--gaia-corinto);
    box-shadow: var(--shadow-corporate);
    transition: var(--transition);
    text-align: center;
}

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

.cost-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.cost-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--gaia-negro);
}

.cost-card p {
    font-size: 0.92rem;
    color: #555;
    line-height: 1.6;
}

.cost-cta {
    text-align: center;
    margin-top: 50px;
    padding: 40px;
    background: var(--gaia-bg-light);
    border-radius: var(--radius-lg);
}

.cost-cta-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gaia-corinto);
    font-family: var(--font-title);
}

.cost-cta-sub {
    font-size: 1rem;
    color: #555;
    margin-top: 10px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   8. SECCIÓN: COMPARATIVA
   ============================================ */

.comparison-section {
    padding: 60px 0;
    background: var(--gaia-bg-light);
}

.comparison-grid {
    max-width: 700px;
    margin: 0 auto;
}

.comparison-item {
    margin-bottom: 30px;
}

.comparison-item h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    font-family: var(--font-body);
}

.comparison-item.local h3 {
    color: #94A3B8;
}

.comparison-item.gaia h3 {
    color: var(--gaia-corinto);
}

.comparison-bar {
    background: #EAE5DB;
    height: 24px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.bar-fill {
    height: 100%;
    background: #94A3B8;
    border-radius: 12px;
    transition: width 1s ease;
}

.bar-fill.gaia-fill {
    background: var(--gaia-corinto);
}

.comparison-percent {
    display: block;
    text-align: right;
    font-weight: 700;
    font-size: 0.85rem;
    margin-top: 4px;
    color: #94A3B8;
}

.comparison-percent.gaia-percent {
    color: var(--gaia-corinto);
}

.comparison-label {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 30px;
    font-family: var(--font-title);
    color: var(--gaia-negro);
}

/* ============================================
   SECCIÓN: RUTAS DE ÉXITO
   ============================================ */

.routes-section {
    padding: 80px 0;
    background: #FFFFFF;
}

.routes-section .section-title {
    margin-bottom: 50px;
}

.routes-section .section-title h2 {
    font-size: 2.2rem;
    color: var(--gaia-negro);
    text-transform: uppercase;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

.routes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.route-card {
    background: var(--gaia-bone);
    padding: 35px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(51, 51, 51, 0.06);
    box-shadow: var(--shadow-corporate);
    transition: var(--transition);
    text-align: left;
    display: flex;
    flex-direction: column;
}

.route-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-premium);
    border-color: var(--gaia-corinto);
}

.route-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.route-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--gaia-negro);
    line-height: 1.3;
}

.route-card p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 20px;
}

.route-btn {
    display: inline-block;
    background: transparent;
    color: var(--gaia-corinto);
    padding: 10px 24px;
    border: 2px solid var(--gaia-corinto);
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    text-decoration: none;
    transition: var(--transition);
    letter-spacing: 0.5px;
    align-self: flex-start;
}

.route-btn:hover {
    background: var(--gaia-corinto);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(131, 18, 63, 0.2);
}

/* ============================================
   RESPONSIVE - RUTAS DE ÉXITO
   ============================================ */

@media (max-width: 992px) {
    .routes-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .routes-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .routes-section .section-title h2 {
        font-size: 1.6rem;
    }
    
    .route-card {
        padding: 25px 20px;
    }
    
    .route-btn {
        align-self: center;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .routes-section {
        padding: 50px 0;
    }
    
    .routes-section .section-title h2 {
        font-size: 1.4rem;
    }
}

/* ============================================
   10. SECCIÓN: STATS DARK
   ============================================ */

.stats-dark {
    background: var(--gaia-negro);
    padding: 90px 0;
    color: #FFFFFF;
    text-align: center;
}

.stats-dark h2 {
    color: #FFFFFF;
    margin-bottom: 50px;
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-node h3 {
    font-size: 3.5rem;
    color: var(--gaia-bone);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-node p {
    font-size: 0.85rem;
    color: #B3B9C6;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ============================================
   11. SECCIÓN: TESTIMONIOS
   ============================================ */

.testimonials-section {
    padding: 80px 0;
    background: var(--gaia-bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    background: #FFFFFF;
    padding: 35px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-corporate);
    transition: var(--transition);
    position: relative;
}

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

.testimonial-quote {
    font-size: 3.5rem;
    line-height: 0.8;
    color: var(--gaia-corinto);
    opacity: 0.3;
    font-family: var(--font-title);
    margin-bottom: 10px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: #444;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--gaia-corinto);
}

/* ============================================
   12. SECCIÓN: BLOG
   ============================================ */

.blog-section {
    padding: 80px 0;
    background: var(--gaia-bone);
    border-top: 1px solid rgba(51, 51, 51, 0.05);
}

.blog-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.blog-card {
    background: #FFFFFF;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-corporate);
    transition: var(--transition);
}

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

.blog-card tag {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--gaia-secundario-1);
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.blog-card h4 {
    font-size: 1.15rem;
    line-height: 1.4;
    color: var(--gaia-negro);
    font-family: var(--font-body);
    font-weight: 700;
}

.blog-readmore {
    display: inline-block;
    color: var(--gaia-corinto);
    font-weight: 700;
    font-size: 0.82rem;
    text-decoration: none;
    margin-top: 12px;
    transition: var(--transition);
}

.blog-readmore:hover {
    color: var(--gaia-secundario-1);
    transform: translateX(4px);
}

/* ============================================
   13. FOOTER
   ============================================ */

.footer {
    background: var(--gaia-negro);
    color: #9AA0B0;
    padding: 80px 0 40px 0;
    font-size: 0.88rem;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
    gap: 40px;
}

.footer-col h4 {
    color: #FFFFFF;
    font-size: 1rem;
    margin-bottom: 18px;
    font-weight: 700;
    font-family: var(--font-title);
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 35px;
    height: 2px;
    background: var(--gaia-corinto);
}

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

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #B3B9C6;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.88rem;
}

.footer-col ul li a:hover {
    color: #FFFFFF;
    padding-left: 4px;
}

.footer-info img {
    margin-bottom: 16px;
}

.footer-info p {
    max-width: 350px;
    line-height: 1.65;
    color: #B3B9C6;
    font-size: 0.85rem;
}

/* Botón Catálogo */
.btn-catalogo {
    display: inline-block;
    background: var(--gaia-corinto);
    color: #FFFFFF !important;
    padding: 8px 20px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.82rem;
    transition: var(--transition);
    text-decoration: none !important;
}

.btn-catalogo:hover {
    background: var(--gaia-secundario-1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(131, 18, 63, 0.3);
    padding-left: 20px !important;
    color: #FFFFFF !important;
}

/* Contacto */
.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #B3B9C6;
    font-size: 0.88rem;
    margin-bottom: 14px;
    line-height: 1.5;
}

.contact-info li .icon {
    flex-shrink: 0;
    font-size: 1rem;
    margin-top: 2px;
}

.contact-info li a {
    color: #B3B9C6;
    text-decoration: none;
    transition: var(--transition);
}

.contact-info li a:hover {
    color: #FFFFFF;
}

/* Footer Meta Inferior */
.footer-meta {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    color: #626875;
    font-size: 0.82rem;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-legal p {
    max-width: 600px;
    font-size: 0.82rem;
    color: #626875;
    line-height: 1.6;
    margin: 0;
}

.footer-legal p a {
    color: #94A3B8;
    text-decoration: underline;
    transition: var(--transition);
}

.footer-legal p a:hover {
    color: #FFFFFF;
}

.footer-copy p {
    font-size: 0.82rem;
    color: #626875;
    margin: 0;
}

/* ============================================
   14. ANIMACIONES Y UTILIDADES
   ============================================ */

/* Elementos con animación al scroll */
[data-animate],
.section-title,
.benefit-card,
.metric-item,
.timeline-row,
.stat-node,
.feedback-card,
.blog-card,
.cost-card,
.route-card,
.testimonial-card {
    opacity: 0;
    transform: translateY(22px);
}

.is-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================
   15. RESPONSIVE GENERAL
   ============================================ */

/* Tablets y pantallas medianas */
@media (max-width: 992px) {
    .navbar {
        height: auto;
        padding: 18px 0;
        flex-direction: column;
        gap: 12px;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-link {
        padding: 12px 10px;
        font-size: 0.82rem;
    }
    
    .mega-dropdown {
        display: none !important;
    }
    
    .top-bar-content,
    .footer-meta {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .footer-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        text-align: left;
    }
    
    .footer-copy p {
        text-align: center;
    }
    
    .footer-legal p {
        max-width: 100%;
        text-align: center;
    }
    
    .grid-benefits,
    .feedback-grid,
    .blog-grid,
    .cost-grid,
    .routes-grid,
    .testimonials-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .timeline-container::before {
        left: 20px;
    }
    
    .timeline-row {
        flex-direction: column !important;
        align-items: flex-start;
    }
    
    .timeline-block {
        width: 100%;
    }
    
    .timeline-pointer {
        left: 20px;
    }
}

/* Móviles */
@media (max-width: 768px) {
    .hero {
        padding: 80px 0;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .stat-node h3 {
        font-size: 2.5rem;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .cost-grid,
    .routes-grid,
    .testimonials-grid,
    .grid-benefits,
    .feedback-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-col ul li a {
        justify-content: center;
    }
    
    .contact-info li {
        justify-content: center;
    }
    
    .footer-info p {
        max-width: 100%;
        text-align: center;
    }
    
    .cost-cta-text {
        font-size: 1.1rem;
    }
    
    .comparison-grid {
        max-width: 100%;
    }
    
    .route-card h3 {
        min-height: auto;
    }
}

/* Móviles pequeños */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.78rem;
        width: 100%;
        justify-content: center;
    }
    
    .top-links {
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .stat-node h3 {
        font-size: 2rem;
    }
    
    .license-logo {
        max-height: 40px;
    }
}

/* Reducción de movimiento para accesibilidad */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
    
    [data-animate],
    .section-title,
    .benefit-card,
    .metric-item,
    .timeline-row,
    .stat-node,
    .feedback-card,
    .blog-card,
    .cost-card,
    .route-card,
    .testimonial-card {
        opacity: 1;
        transform: none;
    }
}

/* ============================================
   POPUP / MODAL - LICENCIA
   ============================================ */

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal-container {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: #FFFFFF;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background: #83123F;
    color: #FFFFFF;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.35s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.modal-close:hover {
    background: #9F1547;
    transform: rotate(90deg);
}

.modal-content {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: auto;
    max-height: 80vh;
}

.modal-image {
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    border-radius: 4px;
    object-fit: contain;
}

/* ============================================
   LÍNEA DE TIEMPO VERTICAL - RUTAS DE ÉXITO
   ============================================ */

.routes-timeline {
    padding: 80px 0;
    background: #FFFFFF;
}

.routes-timeline .section-title {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 60px auto;
}

.routes-timeline .section-title h2 {
    font-size: 2.2rem;
    color: #333333;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    font-family: 'Roboto Slab', serif;
}

/* Contenedor de la línea de tiempo */
.timeline-vertical {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding-left: 40px;
}

/* Línea vertical */
.timeline-vertical::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #83123F;
    opacity: 0.2;
    border-radius: 2px;
}

/* Cada item de la línea de tiempo */
.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 50px;
    position: relative;
}

/* Último item sin margen inferior */
.timeline-item:last-child {
    margin-bottom: 0;
}

/* Marcador / Punto */
.timeline-marker {
    position: absolute;
    left: -40px;
    top: 8px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.marker-dot {
    width: 18px;
    height: 18px;
    background: #83123F;
    border: 4px solid #FFFDF8;
    border-radius: 50%;
    box-shadow: 0 0 0 3px #83123F;
    display: block;
    transition: all 0.3s ease;
}

.timeline-item:hover .marker-dot {
    transform: scale(1.2);
    background: #BA144E;
    box-shadow: 0 0 0 4px #83123F;
}

/* Contenido de cada item */
.timeline-content {
    background: #FFFDF8;
    padding: 30px 32px;
    border-radius: 8px;
    border: 1px solid rgba(51, 51, 51, 0.06);
    box-shadow: 0 4px 20px rgba(51, 51, 51, 0.04);
    flex: 1;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-content:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
    border-color: rgba(131, 18, 63, 0.15);
}

.timeline-icon {
    font-size: 2rem;
    margin-bottom: 12px;
    display: block;
}

.timeline-content h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #333333;
    margin-bottom: 10px;
    line-height: 1.3;
}

.timeline-content p {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.92rem;
    color: #555555;
    line-height: 1.7;
    margin-bottom: 18px;
}

.timeline-content .route-btn {
    display: inline-block;
    background: transparent;
    color: #83123F;
    padding: 10px 24px;
    border: 2px solid #83123F;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    letter-spacing: 0.5px;
}

.timeline-content .route-btn:hover {
    background: #83123F;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(131, 18, 63, 0.2);
}

/* ============================================
   RESPONSIVE - LÍNEA DE TIEMPO
   ============================================ */

@media (max-width: 768px) {
    .timeline-vertical {
        padding-left: 30px;
    }
    
    .timeline-marker {
        left: -30px;
        width: 24px;
        height: 24px;
    }
    
    .marker-dot {
        width: 14px;
        height: 14px;
    }
    
    .timeline-content {
        padding: 22px 20px;
    }
    
    .timeline-content h3 {
        font-size: 1rem;
    }
    
    .timeline-content p {
        font-size: 0.85rem;
    }
    
    .routes-timeline .section-title h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .routes-timeline {
        padding: 50px 0;
    }
    
    .timeline-vertical {
        padding-left: 20px;
    }
    
    .timeline-marker {
        left: -20px;
        width: 18px;
        height: 18px;
    }
    
    .marker-dot {
        width: 10px;
        height: 10px;
        border-width: 3px;
        box-shadow: 0 0 0 2px #83123F;
    }
    
    .timeline-content {
        padding: 18px 16px;
    }
    
    .timeline-content .route-btn {
        width: 100%;
        text-align: center;
    }
    
    .routes-timeline .section-title h2 {
        font-size: 1.3rem;
    }
}

/* ============================================
   NOSOTROS - HERO, PROPÓSITO, MISIÓN, VISIÓN
   ============================================ */

/* Hero */
.hero-premium {
    position: relative;
    height: 480px;
    width: 100%;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
}

/* Propósito flotante */
.purpose-floating {
    position: relative;
    margin-top: -80px;
    z-index: 10;
}

.purpose-card {
    background: #FFFFFF;
    padding: 50px 60px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
    border-left: 5px solid var(--gaia-secundario-2);
}

.purpose-card h1 {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--gaia-dark);
    margin-bottom: 18px;
    text-transform: uppercase;
}

.purpose-card p {
    font-size: 1.05rem;
    color: #555555;
    font-weight: 400;
    line-height: 1.75;
}

/* Misión y Visión */
.premium-content-section {
    padding: 100px 0;
    background-color: var(--gaia-bg-light);
}

.premium-row {
    display: flex;
    align-items: center;
    gap: 70px;
    margin-bottom: 100px;
}

.premium-row:last-child {
    margin-bottom: 0;
}

.premium-row.inverted {
    flex-direction: row-reverse;
}

.text-block-premium {
    flex: 1.2;
}

.text-block-premium .acento-linea {
    width: 40px;
    height: 4px;
    background: var(--gaia-secundario-2);
    margin-bottom: 24px;
    border-radius: var(--radius);
}

.text-block-premium h2 {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--gaia-dark);
    margin-bottom: 24px;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.text-block-premium p {
    font-size: 0.98rem;
    color: #444444;
    margin-bottom: 20px;
    font-weight: 400;
    line-height: 1.7;
}

.text-block-premium p:last-child {
    margin-bottom: 0;
}

.image-block-premium {
    flex: 1;
    position: relative;
}

.image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
}

.image-block-premium img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.image-wrapper:hover img {
    transform: scale(1.03);
}

.image-block-premium::before {
    content: '';
    position: absolute;
    z-index: -1;
    background: rgba(131, 18, 63, 0.04);
    width: 100%;
    height: 100%;
    top: 16px;
    left: 16px;
    border-radius: var(--radius-lg);
}

.premium-row.inverted .image-block-premium::before {
    left: -16px;
}

/* CTA */
.cta-premium-bar {
    background: linear-gradient(135deg, var(--gaia-dark) 0%, #1E293B 100%);
    color: #FFFFFF;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-premium-bar h2 {
    font-size: 2.2rem;
    color: #FFFFFF;
    margin-bottom: 16px;
    font-weight: 700;
    text-transform: uppercase;
}

.cta-premium-bar p {
    font-size: 1.05rem;
    color: #94A3B8;
    max-width: 650px;
    margin: 0 auto 36px auto;
}

.cta-flex-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    position: relative;
    z-index: 5;
}

.btn-premium-ui {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius);
    transition: var(--transition);
}

.btn-ui-solid {
    background: var(--gaia-corinto);
    color: var(--gaia-bone);
}

.btn-ui-solid:hover {
    background: var(--gaia-secundario-1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(131, 18, 63, 0.2);
}

.btn-ui-outline {
    background: transparent;
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-ui-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #FFFFFF;
    transform: translateY(-2px);
}

/* ============================================
   RESPONSIVE - NOSOTROS
   ============================================ */

@media (max-width: 992px) {
    .premium-row {
        flex-direction: column !important;
        gap: 40px;
    }
    
    .purpose-card {
        padding: 35px 30px;
    }
    
    .hero-premium {
        height: 350px;
    }
    
    .premium-content-section {
        padding: 80px 0;
    }
    
    .text-block-premium h2 {
        font-size: 2rem;
    }
    
    .cta-flex-group {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .btn-premium-ui {
        width: 100%;
        max-width: 320px;
    }
    
    .premium-row.inverted .image-block-premium::before {
        left: 16px;
    }
}

@media (max-width: 768px) {
    .purpose-card {
        padding: 25px 20px;
    }
    
    .purpose-card h1 {
        font-size: 1.6rem;
    }
    
    .purpose-card p {
        font-size: 0.95rem;
    }
    
    .text-block-premium h2 {
        font-size: 1.6rem;
    }
    
    .text-block-premium p {
        font-size: 0.9rem;
    }
    
    .image-block-premium img {
        height: 250px;
    }
    
    .cta-premium-bar h2 {
        font-size: 1.6rem;
    }
    
    .cta-premium-bar p {
        font-size: 0.95rem;
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .hero-premium {
        height: 220px;
    }
    
    .purpose-floating {
        margin-top: -40px;
    }
    
    .purpose-card {
        padding: 20px 16px;
        border-left-width: 3px;
    }
    
    .purpose-card h1 {
        font-size: 1.3rem;
    }
    
    .image-block-premium img {
        height: 200px;
    }
    
    .btn-premium-ui {
        padding: 12px 24px;
        font-size: 0.78rem;
    }
}

/* ============================================
   PROFESORES - HERO
   ============================================ */

.hero-profesores {
    padding: 76px 0 92px;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.hero-content-profesores {
    max-width: 820px;
    position: relative;
    z-index: 1;
}

.hero-profesores .breadcrumb {
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 28px;
    display: block;
    font-weight: 600;
}

.hero-profesores h1 {
    font-size: 56px;
    line-height: 1.06;
    margin: 0 0 26px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #FFFFFF;
}

.hero-profesores p {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.68);
    max-width: 640px;
    font-weight: 400;
}

/* ============================================
   PROFESORES - INTRODUCCIÓN
   ============================================ */

.intro-profesores {
    padding: 80px 0 40px;
    background: #FAF8F5;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.4fr;
    gap: 64px;
    align-items: start;
}

.eyebrow {
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #8C1044;
    font-weight: 700;
    display: block;
    margin-bottom: 14px;
}

.intro-heading h2 {
    font-size: 38px;
    line-height: 1.15;
    margin: 0;
    font-weight: 800;
    color: #101B33;
    letter-spacing: -0.01em;
}

.intro-text p {
    font-size: 16.5px;
    line-height: 1.75;
    color: #5A6072;
    margin: 0;
    font-weight: 400;
}

/* ============================================
   PROFESORES - PILARES
   ============================================ */

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 56px;
}

.pillar-item {
    background: #FFFFFF;
    padding: 30px 26px 32px;
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(16, 27, 51, 0.04), 0 12px 28px -18px rgba(16, 27, 51, 0.14);
    border: 1px solid rgba(16, 27, 51, 0.06);
}

.pillar-number {
    font-size: 2rem;
    font-weight: 800;
    color: rgba(140, 16, 68, 0.12);
    line-height: 1;
    margin-bottom: 16px;
}

.pillar-item h3 {
    font-size: 14.5px;
    font-weight: 700;
    color: #101B33;
    margin: 0;
    letter-spacing: -0.01em;
}

/* ============================================
   PROFESORES - GRID DE TARJETAS
   ============================================ */

.faculty-grid-section {
    padding: 64px 0 110px;
    background: #FAF8F5;
}

.faculty-header {
    margin-bottom: 40px;
}

.faculty-header .eyebrow {
    margin-bottom: 0;
}

.faculty-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.faculty-card {
    background: #FFFFFF;
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(16, 27, 51, 0.04), 0 12px 32px -16px rgba(16, 27, 51, 0.12);
    border: 1px solid rgba(16, 27, 51, 0.06);
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.faculty-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(16, 27, 51, 0.08);
}

.faculty-top {
    padding: 36px 30px 0;
    display: flex;
    align-items: center;
    gap: 18px;
}

.faculty-image {
    width: 118px;
    height: 118px;
    border-radius: 50%;
    flex-shrink: 0;
    padding: 4px;
    background: linear-gradient(135deg, #8C1044, #D70B54);
    box-shadow: 0 10px 24px -10px rgba(140, 16, 68, 0.45);
}

.faculty-image img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 3px solid #FFFFFF;
}

.faculty-name-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faculty-name-block h3 {
    font-size: 19px;
    font-weight: 800;
    color: #101B33;
    margin: 0;
    letter-spacing: -0.01em;
    line-height: 1.25;
}

.faculty-credential {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #8C1044;
    background: rgba(140, 16, 68, 0.07);
    border: 1px solid rgba(140, 16, 68, 0.18);
    border-radius: 20px;
    padding: 4px 11px;
    width: fit-content;
}

.faculty-body {
    padding: 22px 30px 32px;
}

.faculty-bio {
    font-size: 14px;
    line-height: 1.72;
    color: #5A6072;
    margin: 0;
    font-weight: 400;
}

/* ============================================
   RESPONSIVE - PROFESORES
   ============================================ */

@media (max-width: 992px) {
    .hero-profesores h1 {
        font-size: 38px;
    }

    .intro-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .hero-profesores {
        padding: 50px 0 60px;
    }

    .hero-profesores h1 {
        font-size: 32px;
    }

    .hero-profesores p {
        font-size: 16px;
    }

    .intro-heading h2 {
        font-size: 28px;
    }

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

    .faculty-top {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px 0;
    }

    .faculty-name-block {
        align-items: center;
    }

    .faculty-body {
        padding: 16px 20px 24px;
        text-align: center;
    }

    .pillars-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .pillar-item {
        padding: 20px 16px;
        text-align: center;
    }

    .pillar-number {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .hero-profesores h1 {
        font-size: 26px;
    }

    .intro-heading h2 {
        font-size: 22px;
    }

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

    .pillar-item h3 {
        font-size: 13px;
    }

    .faculty-image {
        width: 100px;
        height: 100px;
    }

    .faculty-name-block h3 {
        font-size: 17px;
    }
}

/* ============================================
   CALENDARIO ACADÉMICO - HERO
   ============================================ */

.hero-calendario {
    padding: 76px 0 92px;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.hero-content-calendario {
    max-width: 820px;
    position: relative;
    z-index: 1;
}

.hero-calendario .breadcrumb {
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 28px;
    display: block;
    font-weight: 600;
}

.hero-calendario h1 {
    font-size: 56px;
    line-height: 1.06;
    margin: 0 0 16px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #FFFFFF;
}

.hero-calendario p {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.68);
    max-width: 640px;
    font-weight: 400;
}

/* ============================================
   CALENDARIO - SECCIÓN PRINCIPAL
   ============================================ */

.calendario-section {
    padding: 80px 0 110px;
    background: #FAF8F5;
}

.calendario-intro {
    max-width: 800px;
    margin-bottom: 56px;
}

.calendario-intro .eyebrow {
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #8C1044;
    font-weight: 700;
    display: block;
    margin-bottom: 14px;
}

.calendario-intro h2 {
    font-size: 38px;
    line-height: 1.15;
    margin: 0 0 16px;
    font-weight: 800;
    color: #101B33;
    letter-spacing: -0.01em;
}

.calendario-intro p {
    font-size: 16.5px;
    line-height: 1.75;
    color: #5A6072;
    margin: 0;
    font-weight: 400;
}

/* ============================================
   CALENDARIO - ACORDEÓN DE SEMESTRES
   ============================================ */

.semestres-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.semestre-item {
    background: #FFFFFF;
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(16, 27, 51, 0.04), 0 12px 28px -18px rgba(16, 27, 51, 0.14);
    border: 1px solid rgba(16, 27, 51, 0.06);
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.semestre-item:hover {
    box-shadow: 0 8px 30px rgba(16, 27, 51, 0.08);
}

.semestre-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 28px;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s ease;
}

.semestre-header:hover {
    background: rgba(140, 16, 68, 0.03);
}

.semestre-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #101B33;
    margin: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.semestre-toggle {
    font-size: 24px;
    font-weight: 300;
    color: #8C1044;
    transition: transform 0.3s ease;
    line-height: 1;
}

.semestre-item.active .semestre-toggle {
    transform: rotate(45deg);
}

/* ============================================
   CALENDARIO - EVENTOS
   ============================================ */

.semestre-body {
    display: none;
    padding: 0 28px 24px;
    border-top: 1px solid rgba(16, 27, 51, 0.06);
}

.semestre-item.active .semestre-body {
    display: block;
}

.eventos-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 16px;
}

.evento-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 16px;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.evento-item:hover {
    background: rgba(16, 27, 51, 0.03);
}

.evento-fecha {
    font-size: 13px;
    font-weight: 600;
    color: #101B33;
    min-width: 160px;
    flex-shrink: 0;
}

.evento-actividad {
    font-size: 14px;
    color: #5A6072;
    flex: 1;
}

.evento-badge {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #8C1044;
    background: rgba(140, 16, 68, 0.07);
    border: 1px solid rgba(140, 16, 68, 0.18);
    border-radius: 20px;
    padding: 3px 12px;
    flex-shrink: 0;
}

.evento-festivo .evento-actividad {
    color: #8C1044;
}

/* ============================================
   CALENDARIO - SIN EVENTOS
   ============================================ */

.sin-eventos {
    text-align: center;
    padding: 60px 0;
    color: #5A6072;
    font-size: 16px;
}

/* ============================================
   RESPONSIVE - CALENDARIO
   ============================================ */

@media (max-width: 992px) {
    .hero-calendario h1 {
        font-size: 38px;
    }

    .calendario-intro h2 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .hero-calendario {
        padding: 50px 0 60px;
    }

    .hero-calendario h1 {
        font-size: 32px;
    }

    .hero-calendario p {
        font-size: 16px;
    }

    .calendario-intro h2 {
        font-size: 24px;
    }

    .semestre-header {
        padding: 16px 20px;
    }

    .semestre-header h3 {
        font-size: 16px;
    }

    .semestre-body {
        padding: 0 20px 20px;
    }

    .evento-item {
        flex-wrap: wrap;
        gap: 6px;
        padding: 8px 12px;
    }

    .evento-fecha {
        font-size: 12px;
        min-width: 100%;
    }

    .evento-actividad {
        font-size: 13px;
        width: 100%;
    }

    .evento-badge {
        font-size: 9px;
    }
}

@media (max-width: 480px) {
    .hero-calendario h1 {
        font-size: 26px;
    }

    .calendario-intro h2 {
        font-size: 20px;
    }

    .semestre-header {
        padding: 14px 16px;
    }

    .semestre-header h3 {
        font-size: 14px;
    }

    .semestre-toggle {
        font-size: 20px;
    }
}

/* ============================================
   CALENDARIO - FILTRO DE AÑOS
   ============================================ */

.year-filter {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.year-btn {
    display: inline-block;
    padding: 10px 28px;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #5A6072;
    background: #FFFFFF;
    border: 2px solid #E7E2DC;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
}

.year-btn:hover {
    border-color: #8C1044;
    color: #8C1044;
    transform: translateY(-2px);
}

.year-btn.active {
    background: #8C1044;
    border-color: #8C1044;
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(140, 16, 68, 0.25);
}

.year-btn.active:hover {
    background: #6B0C34;
    border-color: #6B0C34;
}

/* ============================================
   RESPONSIVE - FILTRO DE AÑOS
   ============================================ */

@media (max-width: 768px) {
    .year-filter {
        gap: 8px;
        justify-content: center;
    }

    .year-btn {
        padding: 8px 20px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .year-filter {
        gap: 6px;
    }

    .year-btn {
        padding: 6px 14px;
        font-size: 12px;
    }
}

/* ============================================
   PROGRAMA - HERO
   ============================================ */

.hero-programa {
    padding: 76px 0 92px;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.hero-content-programa {
    max-width: 820px;
    position: relative;
    z-index: 1;
}

.hero-programa .breadcrumb {
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 28px;
    display: block;
    font-weight: 600;
}

.hero-programa h1 {
    font-size: 52px;
    line-height: 1.06;
    margin: 0 0 16px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #FFFFFF;
}

.hero-programa p {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.68);
    max-width: 700px;
    font-weight: 400;
    margin-bottom: 32px;
}

.hero-metrics {
    display: flex;
    gap: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    flex-wrap: wrap;
}

.metric-item {
    display: flex;
    flex-direction: column;
}

.metric-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
}

.metric-value {
    font-size: 16px;
    font-weight: 700;
    color: #FFFFFF;
    margin-top: 4px;
}

/* ============================================
   PROGRAMA - CONTENIDO
   ============================================ */

.programa-contenido {
    padding: 80px 0 110px;
    background: #FAF8F5;
}

.programa-grid {
    display: grid;
    grid-template-columns: 7fr 4fr;
    gap: 50px;
    align-items: start;
}

.programa-main {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.info-block h2 {
    font-size: 24px;
    font-weight: 700;
    color: #101B33;
    margin: 0 0 16px;
    font-family: 'Roboto Slab', serif;
    padding-bottom: 12px;
    border-bottom: 2px solid #E7E2DC;
}

.info-block p {
    font-size: 15px;
    line-height: 1.8;
    color: #5A6072;
    margin-bottom: 16px;
}

.info-block p:last-child {
    margin-bottom: 0;
}

/* Competencias */
.competencias-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
}

.competencias-list li {
    font-size: 15px;
    color: #5A6072;
    padding: 8px 0 8px 28px;
    position: relative;
    line-height: 1.6;
}

.competencias-list li::before {
    content: "▪";
    color: #8C1044;
    font-size: 18px;
    position: absolute;
    left: 0;
    top: 6px;
}

/* ============================================
   PROGRAMA - BENEFICIOS
   ============================================ */

.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 16px;
}

.beneficio-item {
    background: #FFFFFF;
    padding: 24px 20px;
    border-radius: 6px;
    text-align: center;
    border: 1px solid rgba(16, 27, 51, 0.06);
    box-shadow: 0 1px 2px rgba(16, 27, 51, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.beneficio-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(16, 27, 51, 0.08);
}

.beneficio-numero {
    font-size: 32px;
    font-weight: 800;
    color: #8C1044;
    display: block;
    margin-bottom: 8px;
}

.beneficio-item p {
    font-size: 13px;
    color: #5A6072;
    line-height: 1.5;
    margin: 0;
}

.beneficio-item p small {
    display: block;
    font-size: 11px;
    color: #94A3B8;
    margin-top: 4px;
}

/* ============================================
   PROGRAMA - PENSUM
   ============================================ */

.pensum-resumen {
    display: flex;
    gap: 32px;
    padding: 16px 20px;
    background: #8C1044;
    border-radius: 6px;
    margin-bottom: 24px;
}

.pensum-total,
.pensum-duracion {
    font-size: 14px;
    font-weight: 600;
    color: #FFFFFF;
}

.categoria-pensum {
    margin-top: 28px;
    background: #FFFFFF;
    border-radius: 8px;
    border: 1px solid rgba(16, 27, 51, 0.08);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(16, 27, 51, 0.04);
    transition: box-shadow 0.2s ease;
}

.categoria-pensum:first-child {
    margin-top: 0;
}

.categoria-pensum:hover {
    box-shadow: 0 8px 30px rgba(16, 27, 51, 0.08);
}

.categoria-titulo {
    font-size: 16px;
    font-weight: 700;
    color: #101B33;
    padding: 18px 24px;
    margin: 0;
    background: #FAF8F5;
    border-bottom: 1px solid rgba(16, 27, 51, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Plus Jakarta Sans', sans-serif;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s ease;
}

.categoria-titulo:hover {
    background: #F5F0EB;
}

.categoria-toggle {
    font-size: 20px;
    color: #8C1044;
    font-weight: 300;
    transition: transform 0.3s ease;
    line-height: 1;
}

.categoria-toggle.rotated {
    transform: rotate(180deg);
}

.categoria-creditos {
    font-size: 12px;
    font-weight: 600;
    color: #8C1044;
    background: rgba(140, 16, 68, 0.07);
    padding: 4px 14px;
    border-radius: 20px;
    border: 1px solid rgba(140, 16, 68, 0.12);
}

.categoria-body {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.categoria-body.open {
    max-height: 5000px;
    padding: 4px 0;
}

.cursos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    padding: 0;
}

.curso-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(16, 27, 51, 0.04);
    transition: background 0.2s ease;
}

.curso-item:hover {
    background: #FAF8F5;
}

.curso-item:nth-child(even) {
    background: rgba(250, 248, 245, 0.3);
}

.curso-item:nth-child(even):hover {
    background: #FAF8F5;
}

.curso-codigo {
    font-size: 11px;
    font-weight: 700;
    color: #8C1044;
    background: rgba(140, 16, 68, 0.07);
    padding: 3px 12px;
    border-radius: 4px;
    flex-shrink: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: 0.02em;
}

.curso-nombre {
    font-size: 13px;
    color: #5A6072;
    flex: 1;
    line-height: 1.4;
}

.curso-creditos {
    font-size: 11px;
    font-weight: 600;
    color: #94A3B8;
    flex-shrink: 0;
    background: #F1F5F9;
    padding: 2px 10px;
    border-radius: 12px;
}

.pensum-descarga {
    margin-top: 24px;
    text-align: center;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #8C1044;
    border: 2px solid #8C1044;
    padding: 12px 32px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 14px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-outline:hover {
    background: #8C1044;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(140, 16, 68, 0.2);
}

/* ============================================
   PROGRAMA - FAQ
   ============================================ */

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
}

.faq-item {
    background: #FFFFFF;
    border-radius: 6px;
    border: 1px solid rgba(16, 27, 51, 0.06);
    overflow: hidden;
}

.faq-question {
    padding: 16px 20px;
    font-weight: 600;
    color: #101B33;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s ease;
    font-size: 14px;
}

.faq-question:hover {
    background: #FAF8F5;
}

.faq-question::after {
    content: "+";
    font-size: 20px;
    color: #8C1044;
    font-weight: 300;
}

.faq-item.active .faq-question::after {
    content: "−";
}

.faq-answer {
    padding: 0 20px 16px;
    color: #5A6072;
    font-size: 14px;
    line-height: 1.6;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* ============================================
   PROGRAMA - SIDEBAR
   ============================================ */

.programa-sidebar {
    position: sticky;
    top: 120px;
}

.admission-card {
    background: #FFFFFF;
    padding: 36px 32px;
    border-radius: 6px;
    border-top: 4px solid #8C1044;
    box-shadow: 0 1px 2px rgba(16, 27, 51, 0.04), 0 12px 28px -18px rgba(16, 27, 51, 0.14);
}

.admission-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #101B33;
    margin: 0 0 4px;
}

.admission-card .card-subtitle {
    font-size: 14px;
    color: #8C1044;
    font-weight: 600;
    margin-bottom: 24px;
}

.card-criteria {
    list-style: none;
    padding: 20px 0 0;
    margin: 0 0 28px;
    border-top: 1px solid #F1F5F9;
}

.card-criteria li {
    font-size: 14px;
    color: #5A6072;
    padding: 6px 0 6px 28px;
    position: relative;
    line-height: 1.5;
}

.card-criteria li::before {
    content: "✓";
    color: #8C1044;
    font-weight: 700;
    position: absolute;
    left: 0;
    top: 6px;
}

.btn-full {
    width: 100%;
    text-align: center;
    justify-content: center;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #8C1044;
    color: #FFFFFF;
    border: none;
    padding: 14px 32px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 14px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary:hover {
    background: #6B0C34;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(140, 16, 68, 0.2);
}

/* Quick Info */
.quick-info {
    background: #FFFFFF;
    padding: 24px 28px;
    border-radius: 6px;
    margin-top: 24px;
    border: 1px solid rgba(16, 27, 51, 0.06);
}

.quick-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: #101B33;
    margin: 0 0 16px;
}

.quick-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quick-info ul li {
    padding: 6px 0;
    font-size: 14px;
    color: #5A6072;
    border-bottom: 1px solid rgba(16, 27, 51, 0.04);
}

.quick-info ul li:last-child {
    border-bottom: none;
}

.quick-info ul li strong {
    color: #101B33;
}

/* ============================================
   RESPONSIVE - PROGRAMA
   ============================================ */

@media (max-width: 992px) {
    .programa-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-programa h1 {
        font-size: 38px;
    }

    .hero-metrics {
        gap: 24px;
    }

    .programa-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .hero-programa {
        padding: 50px 0 60px;
    }

    .hero-programa h1 {
        font-size: 30px;
    }

    .hero-programa p {
        font-size: 16px;
    }

    .hero-metrics {
        flex-direction: column;
        gap: 12px;
    }

    .metric-value {
        font-size: 14px;
    }

    .info-block h2 {
        font-size: 20px;
    }

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

    .beneficio-numero {
        font-size: 28px;
    }

    .pensum-resumen {
        flex-direction: column;
        gap: 8px;
        padding: 14px 18px;
    }

    .categoria-titulo {
        font-size: 14px;
        padding: 14px 18px;
        flex-wrap: wrap;
        gap: 8px;
    }

    .categoria-creditos {
        font-size: 11px;
        padding: 3px 12px;
    }

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

    .curso-item {
        padding: 10px 16px;
        flex-wrap: wrap;
        gap: 6px;
    }

    .curso-nombre {
        font-size: 12px;
        width: 100%;
        order: 3;
    }

    .curso-codigo {
        font-size: 10px;
        padding: 2px 10px;
    }

    .curso-creditos {
        font-size: 10px;
        padding: 2px 8px;
    }

    .faq-question {
        font-size: 13px;
        padding: 14px 16px;
    }

    .faq-answer {
        font-size: 13px;
        padding: 0 16px 14px;
    }

    .admission-card {
        padding: 24px 20px;
    }

    .admission-card h3 {
        font-size: 18px;
    }

    .quick-info {
        padding: 18px 20px;
    }

    .pensum-descarga .btn-outline {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-programa h1 {
        font-size: 24px;
    }

    .hero-programa p {
        font-size: 14px;
    }

    .hero-metrics {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px 16px;
    }

    .metric-item {
        padding: 4px 0;
    }

    .info-block h2 {
        font-size: 18px;
    }

    .competencias-list li {
        font-size: 14px;
    }

    .beneficio-item {
        padding: 18px 16px;
    }

    .beneficio-numero {
        font-size: 24px;
    }

    .categoria-titulo {
        font-size: 13px;
        padding: 12px 14px;
    }

    .curso-item {
        padding: 8px 12px;
    }

    .curso-nombre {
        font-size: 11px;
    }
}

/* ============================================
   PROGRAMA - RAZONES GRID
   ============================================ */

.razones-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 16px;
}

.razon-item {
    background: #FFFFFF;
    padding: 24px 24px 28px;
    border-radius: 6px;
    border: 1px solid rgba(16, 27, 51, 0.06);
    box-shadow: 0 1px 2px rgba(16, 27, 51, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.razon-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(16, 27, 51, 0.08);
}

.razon-item h4 {
    font-size: 15px;
    font-weight: 700;
    color: #101B33;
    margin: 0 0 8px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.razon-item p {
    font-size: 13px;
    color: #5A6072;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   RESPONSIVE - RAZONES
   ============================================ */

@media (max-width: 768px) {
    .razones-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .razon-item {
        padding: 18px 18px 22px;
    }

    .razon-item h4 {
        font-size: 14px;
    }

    .razon-item p {
        font-size: 12px;
    }
}

/* ============================================
   ADMISIONES - HERO
   ============================================ */

.hero-admisiones {
    padding: 76px 0 92px;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.hero-content-admisiones {
    max-width: 820px;
    position: relative;
    z-index: 1;
}

.hero-admisiones .breadcrumb {
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 28px;
    display: block;
    font-weight: 600;
}

.hero-admisiones h1 {
    font-size: 52px;
    line-height: 1.06;
    margin: 0 0 16px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #FFFFFF;
}

.hero-admisiones p {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.68);
    max-width: 700px;
    font-weight: 400;
}

/* ============================================
   ADMISIONES - CONTENIDO
   ============================================ */

.admisiones-contenido {
    padding: 80px 0 110px;
    background: #FAF8F5;
}

.admisiones-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

/* ============================================
   ADMISIONES - INFORMACIÓN
   ============================================ */

.admisiones-info h2 {
    font-size: 28px;
    font-weight: 700;
    color: #101B33;
    margin: 0 0 32px;
    font-family: 'Roboto Slab', serif;
}

.proceso-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px;
}

.proceso-list li {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(16, 27, 51, 0.06);
}

.proceso-list li:last-child {
    border-bottom: none;
}

.proceso-numero {
    font-size: 28px;
    font-weight: 800;
    color: rgba(140, 16, 68, 0.15);
    line-height: 1;
    flex-shrink: 0;
    min-width: 50px;
}

.proceso-texto h4 {
    font-size: 16px;
    font-weight: 700;
    color: #101B33;
    margin: 0 0 4px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.proceso-texto p {
    font-size: 14px;
    color: #5A6072;
    line-height: 1.5;
    margin: 0;
}

/* Beneficios mini */
.admisiones-beneficios {
    background: #FFFFFF;
    padding: 28px 32px;
    border-radius: 8px;
    border: 1px solid rgba(16, 27, 51, 0.06);
}

.admisiones-beneficios h3 {
    font-size: 18px;
    font-weight: 700;
    color: #101B33;
    margin: 0 0 20px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.beneficios-mini {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.beneficio-mini {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: #FAF8F5;
    border-radius: 6px;
}

.beneficio-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.beneficio-mini p {
    font-size: 13px;
    color: #5A6072;
    margin: 0;
    line-height: 1.4;
}

/* ============================================
   ADMISIONES - FORMULARIO
   ============================================ */

.form-card {
    background: #FFFFFF;
    padding: 40px 44px;
    border-radius: 8px;
    border-top: 4px solid #8C1044;
    box-shadow: 0 1px 2px rgba(16, 27, 51, 0.04), 0 12px 28px -18px rgba(16, 27, 51, 0.14);
}

.form-card h2 {
    font-size: 24px;
    font-weight: 700;
    color: #101B33;
    margin: 0 0 4px;
    font-family: 'Roboto Slab', serif;
}

.form-subtitle {
    font-size: 14px;
    color: #5A6072;
    margin: 0 0 24px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #101B33;
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #E7E2DC;
    border-radius: 6px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    color: #101B33;
    background: #FFFFFF;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8C1044;
    box-shadow: 0 0 0 3px rgba(140, 16, 68, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 20px 0 24px;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: #8C1044;
    cursor: pointer;
}

.checkbox-group label {
    font-size: 13px;
    color: #5A6072;
    cursor: pointer;
    margin: 0;
}

.checkbox-group label a {
    color: #8C1044;
    text-decoration: underline;
}

.checkbox-group label a:hover {
    color: #6B0C34;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.form-nota {
    font-size: 12px;
    color: #94A3B8;
    text-align: center;
    margin-top: 16px;
}

/* ============================================
   ADMISIONES - ALERTAS
   ============================================ */

.alert {
    padding: 16px 20px;
    border-radius: 6px;
    margin-bottom: 24px;
}

.alert-success {
    background: #E8F5E9;
    border: 1px solid #A5D6A7;
    color: #2E7D32;
}

.alert-success strong {
    display: block;
    font-size: 15px;
}

.alert-success p {
    margin: 4px 0 0;
    font-size: 14px;
}

.alert-error {
    background: #FFEBEE;
    border: 1px solid #EF9A9A;
    color: #C62828;
}

.alert-error strong {
    display: block;
    font-size: 15px;
}

.alert-error ul {
    margin: 6px 0 0 20px;
    font-size: 14px;
}

/* ============================================
   RESPONSIVE - ADMISIONES
   ============================================ */

@media (max-width: 992px) {
    .admisiones-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-admisiones h1 {
        font-size: 38px;
    }

    .form-card {
        padding: 32px 28px;
    }
}

@media (max-width: 768px) {
    .hero-admisiones {
        padding: 50px 0 60px;
    }

    .hero-admisiones h1 {
        font-size: 30px;
    }

    .hero-admisiones p {
        font-size: 16px;
    }

    .admisiones-info h2 {
        font-size: 24px;
    }

    .beneficios-mini {
        grid-template-columns: 1fr;
    }

    .form-card {
        padding: 24px 20px;
    }

    .form-card h2 {
        font-size: 20px;
    }

    .proceso-numero {
        font-size: 22px;
        min-width: 40px;
    }
}

@media (max-width: 480px) {
    .hero-admisiones h1 {
        font-size: 24px;
    }

    .admisiones-info h2 {
        font-size: 20px;
    }

    .proceso-list li {
        padding: 14px 0;
        gap: 14px;
    }

    .proceso-texto h4 {
        font-size: 14px;
    }

    .proceso-texto p {
        font-size: 13px;
    }

    .form-card {
        padding: 18px 14px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 13px;
        padding: 10px 12px;
    }

    .checkbox-group label {
        font-size: 12px;
    }
}

/* ============================================
   ARTÍCULOS RELACIONADOS
   ============================================ */

.post-relacionados {
    padding: 60px 0 100px;
    background: #FAF8F5;
}

.post-relacionados h2 {
    font-size: 28px;
    font-weight: 700;
    color: #101B33;
    font-family: 'Roboto Slab', serif;
    margin-bottom: 32px;
}

.relacionados-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.relacionado-card {
    background: #FFFFFF;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(16, 27, 51, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.relacionado-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(16, 27, 51, 0.08);
}

.relacionado-image {
    height: 180px;
    overflow: hidden;
}

.relacionado-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.relacionado-body {
    padding: 20px 24px 24px;
}

.relacionado-body h4 {
    font-size: 16px;
    font-weight: 700;
    color: #101B33;
    margin-bottom: 8px;
    font-family: 'Roboto Slab', serif;
    line-height: 1.3;
}

.relacionado-body h4 a {
    color: #101B33;
    text-decoration: none;
}

.relacionado-body h4 a:hover {
    color: #8C1044;
}

.relacionado-body p {
    font-size: 13px;
    color: #5A6072;
    line-height: 1.5;
    margin-bottom: 12px;
}

.relacionado-link {
    color: #8C1044;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.relacionado-link:hover {
    color: #6B0C34;
}

@media (max-width: 768px) {
    .relacionados-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ============================================
   HEADER RESPONSIVE - VERSIÓN UNIFICADA
   ============================================ */

@media (max-width: 992px) {
    /* ==========================================
       NAVBAR
       ========================================== */
    .header .navbar {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        padding: 10px 0 !important;
        height: auto !important;
        min-height: 60px !important;
    }

    .header .logo-area {
        flex: 0 0 auto !important;
        display: flex !important;
        align-items: center !important;
    }

    .header .logo-area img {
        height: 36px !important;
        width: auto !important;
        max-height: 36px !important;
    }

    /* ==========================================
       BOTÓN HAMBURGUESA
       ========================================== */
    .header .menu-toggle {
        display: flex !important;
        flex-direction: column !important;
        gap: 5px !important;
        background: none !important;
        border: none !important;
        cursor: pointer !important;
        padding: 8px !important;
        z-index: 1001 !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 0 0 auto !important;
        margin-left: auto !important;
    }

    .header .menu-toggle span {
        display: block !important;
        width: 26px !important;
        height: 3px !important;
        background: #333333 !important;
        border-radius: 3px !important;
        transition: all 0.3s ease !important;
    }

    .header .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px) !important;
    }

    .header .menu-toggle.active span:nth-child(2) {
        opacity: 0 !important;
    }

    .header .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px) !important;
    }

    /* ==========================================
       MENÚ PRINCIPAL
       ========================================== */
    .header .nav-menu {
        display: none !important;
        width: 100% !important;
        flex-direction: column !important;
        padding: 16px 0 !important;
        margin-top: 12px !important;
        background: #FFFFFF !important;
        border-top: 2px solid #83123F !important;
        list-style: none !important;
        max-height: 70vh !important;
        overflow-y: auto !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
        position: relative !important;
        z-index: 999 !important;
        order: 3 !important;
        flex-basis: 100% !important;
    }

    .header .nav-menu.open {
        display: flex !important;
    }

    .header .nav-item {
        width: 100% !important;
        border-bottom: 1px solid rgba(51, 51, 51, 0.06) !important;
        position: relative !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .header .nav-item:last-child {
        border-bottom: none !important;
    }

    .header .nav-link {
        padding: 14px 16px !important;
        font-size: 0.9rem !important;
        font-weight: 600 !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        color: #333333 !important;
        text-decoration: none !important;
        width: 100% !important;
        background: transparent !important;
        border: none !important;
        font-family: 'Plus Jakarta Sans', sans-serif !important;
    }

    .header .nav-link:hover,
    .header .nav-link.active {
        background: rgba(131, 18, 63, 0.05) !important;
        color: #83123F !important;
    }

    /* ==========================================
       FLECHA
       ========================================== */
    .header .arrow-icon {
        display: inline-block !important;
        font-size: 12px !important;
        transition: transform 0.3s ease !important;
        margin-left: 8px !important;
        color: #83123F !important;
    }

    .header .arrow-icon.active {
        transform: rotate(180deg) !important;
    }

    /* ==========================================
       DROPDOWN (Académico, Global)
       ========================================== */
    .header .dropdown {
        display: none !important;
        width: 100% !important;
        background: rgba(248, 250, 252, 0.9) !important;
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
        box-shadow: none !important;
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    .header .dropdown.open {
        display: block !important;
    }

    .header .dropdown a {
        padding: 12px 16px 12px 32px !important;
        font-size: 0.85rem !important;
        color: #475569 !important;
        display: block !important;
        text-decoration: none !important;
        border-bottom: 1px solid rgba(51, 51, 51, 0.03) !important;
        background: transparent !important;
    }

    .header .dropdown a:hover {
        background: rgba(131, 18, 63, 0.04) !important;
        color: #83123F !important;
    }

    /* ==========================================
       MEGA MENÚ (Programas)
       ========================================== */
    .header .mega-dropdown {
        display: none !important;
        width: 100% !important;
        padding: 16px !important;
        background: rgba(248, 250, 252, 0.9) !important;
        position: static !important;
        box-shadow: none !important;
        border: none !important;
        margin: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    .header .mega-dropdown.open {
        display: block !important;
    }

    .header .mega-dropdown-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .header .mega-col h4 {
        font-size: 0.8rem !important;
        color: #83123F !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        margin-bottom: 6px !important;
        padding-bottom: 4px !important;
        border-bottom: 1px solid rgba(131, 18, 63, 0.1) !important;
    }

    .header .mega-links {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .header .mega-links a {
        font-size: 0.82rem !important;
        padding: 4px 0 !important;
        color: #475569 !important;
        text-decoration: none !important;
        display: block !important;
        background: transparent !important;
    }

    .header .mega-links a:hover {
        color: #83123F !important;
    }

    .header .high-context-col {
        border-top: 1px solid rgba(131, 18, 63, 0.08) !important;
        padding-top: 12px !important;
        margin-top: 4px !important;
    }

    .header .mega-col-desc {
        font-size: 0.75rem !important;
        color: #64748B !important;
        margin-top: 4px !important;
        line-height: 1.5 !important;
    }

    /* ==========================================
       CORRECCIONES ADICIONALES
       ========================================== */
    .header .mega-dropdown-trigger:hover .mega-dropdown {
        display: none !important;
    }

    .header .mega-dropdown-trigger .mega-dropdown.open {
        display: block !important;
    }

    .header .container nav {
        width: 100% !important;
        flex: 0 0 100% !important;
    }

    /* ==========================================
       TOP BAR - OCULTAR EN MÓVIL
       ========================================== */
    .top-bar {
        display: none !important;
    }
}
/* ============================================
   ACORDEONES - CORRECCIÓN DEFINITIVA
   ============================================ */

/* CALENDARIO ACADÉMICO */
.semestre-body {
    display: none !important;
    padding: 0 28px 24px !important;
    border-top: 1px solid rgba(16, 27, 51, 0.06) !important;
}

.semestre-item.active .semestre-body {
    display: block !important;
}

/* PENSUM */
.categoria-body {
    max-height: 0 !important;
    overflow: hidden !important;
    transition: max-height 0.4s ease !important;
    padding: 0 !important;
}

.categoria-body.open {
    max-height: 5000px !important;
    padding: 4px 0 !important;
}

/* FAQ */
.faq-answer {
    display: none !important;
    padding: 0 20px 16px !important;
    color: #5A6072 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
}

.faq-item.active .faq-answer {
    display: block !important;
}

.faq-item.active .faq-question::after {
    content: "−" !important;
}
/* ============================================
   PROGRAMAS - PÁGINA GENERAL
   ============================================ */

/* Hero de programas */
.hero-programas {
    padding: 100px 0 80px;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.hero-programas .container {
    position: relative;
    z-index: 1;
}

.hero-programas h1 {
    font-size: 3.2rem !important;
    font-weight: 800 !important;
    color: #FFFFFF !important;
    letter-spacing: -0.5px;
}

.hero-programas p {
    font-size: 1.2rem !important;
    color: rgba(255, 255, 255, 0.9) !important;
    line-height: 1.7;
}

/* Badge de tipo en tarjeta */
.programa-card .badge-tipo {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 14px;
    border-radius: 30px;
    z-index: 2;
}

/* Filtros de programas */
.filter-btn-programas {
    padding: 10px 28px;
    border-radius: 30px;
    border: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    background: #FFFFFF;
    color: #0F172A;
    border: 1.5px solid #E7E2DC;
}

.filter-btn-programas.active {
    background: linear-gradient(135deg, #83123F, #BA144E);
    color: #FFFFFF;
    border: none;
    box-shadow: 0 4px 15px rgba(131, 18, 63, 0.3);
}

.filter-btn-programas:hover:not(.active) {
    border-color: #83123F;
    color: #83123F;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

/* Grid de programas */
.programas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

/* Tarjeta de programa */
.programa-card {
    background: #FFFFFF;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #F1F5F9;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.programa-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border-color: rgba(131, 18, 63, 0.15);
}

.programa-card .card-header {
    padding: 60px 28px 0;
}

.programa-card .card-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0F172A;
    margin: 0 0 6px;
    line-height: 1.3;
}

.programa-card .card-header .subtitulo {
    font-size: 0.85rem;
    color: #94A3B8;
    margin-bottom: 14px;
    font-weight: 500;
}

.programa-card .card-header .descripcion {
    color: #5A6072;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 16px;
    flex: 1;
}

.programa-card .card-footer {
    padding: 0 28px 20px;
    margin-top: auto;
}

/* Métricas en tarjeta */
.programa-metricas {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    margin-bottom: 18px;
}

.programa-metricas .metrica {
    background: #F8FAFC;
    padding: 8px 6px;
    border-radius: 10px;
    text-align: center;
}

.programa-metricas .metrica span:first-child {
    font-size: 10px;
    color: #94A3B8;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.programa-metricas .metrica span:last-child {
    font-size: 13px;
    font-weight: 700;
    color: #0F172A;
}

/* Botón Ver Programa */
.btn-ver-programa {
    display: block;
    text-align: center;
    padding: 14px 24px;
    background: linear-gradient(135deg, #83123F, #BA144E);
    color: #FFFFFF;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-ver-programa:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 25px rgba(131, 18, 63, 0.35);
    color: #FFFFFF;
}

/* ============================================
   RESPONSIVE - PROGRAMAS
   ============================================ */

@media (max-width: 1024px) {
    .programas-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 28px !important;
    }
}

@media (max-width: 768px) {
    .hero-programas h1 {
        font-size: 2.2rem !important;
    }
    
    .programas-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    
    .hero-programas {
        padding: 60px 0 40px !important;
    }
}

@media (max-width: 480px) {
    .hero-programas h1 {
        font-size: 1.8rem !important;
    }
    
    .hero-programas p {
        font-size: 1rem !important;
    }
}