/* ========================================
   ESTILOS GENERALES 
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Paleta de colores  */
    --color-primary: #1e40af;
    /* Azul principal */
    --color-primary-light: #3b82f6;
    /* Azul claro */
    --color-primary-dark: #1e3a8a;
    /* Azul oscuro */
    --color-secondary: #60a5fa;
    /* Azul secundario */
    --color-accent: #93c5fd;
    /* Azul acento */
    --color-white: #ffffff;
    --color-gray-light: #f3f4f6;
    --color-gray: #6b7280;
    --color-gray-dark: #374151;
    --color-text: #1f2937;
    --color-dark-bg: #1a2332;
    /* Fondo oscuro para footer */

    /* Tipografía */
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-secondary: Georgia, 'Times New Roman', serif;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    line-height: 1.6;
    background-color: var(--color-white);
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    min-height: 100vh;
}

html {
    height: 100%;
    margin: 0;
    padding: 0;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   HEADER Y NAVEGACIÓN - RESPONSIVE
   ======================================== */
.header {
    background-color: var(--color-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    width: 100%;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
    z-index: 1001; /* Para que esté por encima del menú móvil */
    text-decoration: none;
    color: inherit;
}

.logo_img {
    width: 65px;
    height: 65px;
    padding: 0;
    box-sizing: border-box;
    flex-shrink: 0;
}

.logo_img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.logo-text h1 {
    font-size: 1.2rem;
    color: var(--color-text);
    font-weight: 600;
    line-height: 1.2;
}

.logo-text p {
    font-size: 0.8rem;
    color: var(--color-gray);
    font-weight: 400;
    line-height: 1.2;
    padding: 1.5px;
}

/* Navegación */
.navbar {
    position: relative;
    margin-left: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu li a {
    text-decoration: none;
    color: var(--color-text);
    padding: 0.5rem 0.85rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 1rem;
    outline: none;
    display: block;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    background-color: transparent;
    color: var(--color-primary);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--color-white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    list-style: none;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    z-index: 100;
}

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

.dropdown-menu li a {
    display: block;
    padding: 0.7rem 1.2rem;
    color: var(--color-text);
    border-radius: 0;
    white-space: nowrap;
}

.dropdown-menu li a:hover {
    background-color: var(--color-gray-light);
    color: var(--color-primary);
}

/* Botón menú móvil */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--color-primary);
    cursor: pointer;
    outline: none;
    padding: 0.5rem;
    z-index: 1001;
    transition: transform 0.3s ease;
}

.menu-toggle:hover {
    transform: scale(1.1);
}

.menu-toggle.active i:before {
    content: "\f00d"; /* Ícono de X de Font Awesome */
}

/* ========================================
   RESPONSIVE - TABLETS (≤992px)
   ======================================== */
@media (max-width: 992px) {
    .header .container {
        padding: 0 30px;
    }

    .logo-text h1 {
        font-size: 1.1rem;
    }

    .logo-text p {
        font-size: 0.75rem;
    }

    .nav-menu {
        gap: 0.1rem;
    }

    .nav-menu li a {
        padding: 0.4rem 0.7rem;
        font-size: 0.95rem;
    }

    .dropdown-menu {
        min-width: 180px;
    }
}


/* ========================================
   RESPONSIVE - MÓVILES (≤500px)
   ======================================== */
@media (max-width: 600px) {
    .header .container {
        padding: 0 20px;
    }

    .header-content {
        padding: 0.6rem 0;
    }

    .logo_img {
        width: 50px;
        height: 50px;
    }

    .logo-text h1 {
        font-size: 1rem;
    }

    .logo-text p {
        font-size: 0.7rem;
    }

    /* Mostrar botón hamburguesa */
    .menu-toggle {
        display: block;
    }

    /* menu */
    .nav-menu {
        position: fixed;
        top: 50%;                   
        left: 100%;                 
        width: 75%;                 
        max-width: 320px;            
        height: auto;                
        max-height: 80vh;            
        background-color: var(--color-white);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 2rem 0 1rem;        
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3); 
        opacity: 0;                  
        visibility: hidden;          
        transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55); 
        overflow-y: auto;
        z-index: 1000;
    }

    /* menú activo */
    .nav-menu.active {
        opacity: 1;                  
        visibility: visible;         
        transform: translate(-90%, 0) scale(1); 
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--color-gray-light);
        position: relative;
        z-index: 1; 
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu li a {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        border-radius: 0;
        width: 100%;
        position: relative; 
        z-index: 1; 
    }

    .nav-menu li a:hover {
        background-color: var(--color-gray-light);
    }

    /* Dropdown en móvil */
    .dropdown {
        position: relative;
    }

    .dropdown-toggle {
        justify-content: space-between;
        width: 100%;
    }

    .dropdown-toggle i {
        transition: transform 0.3s ease;
    }

    .dropdown.active .dropdown-toggle i {
        transform: rotate(180deg);
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        box-shadow: none;
        border-radius: 0;
        margin-top: 0;
        padding: 0;
        background-color: var(--color-gray-light);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .dropdown.active .dropdown-menu {
        max-height: 500px;
    }

    .dropdown-menu li a {
        padding: 0.8rem 1.5rem 0.8rem 2.5rem;
        font-size: 0.95rem;
    }

    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
        height: 100%;
    }

    /* Overlay cuando el menú está abierto */
    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999; /* Debajo del menú */
    }

    .nav-menu.active::before {
        opacity: 1;
        visibility: visible;
    }
}

/* ========================================
   RESPONSIVE - MÓVILES PEQUEÑOS (≤480px)
   ======================================== */
@media (max-width: 480px) {
    .header .container {
        padding: 0 15px;
    }

    .logo-section {
        gap: 0.7rem;
    }

    .logo_img {
        width: 45px;
        height: 45px;
    }

    .logo-text h1 {
        font-size: 0.9rem;
    }

    .logo-text p {
        font-size: 0.65rem;
    }

    .menu-toggle {
        font-size: 1.6rem;
    }

    .nav-menu {
        width: 260px;
    }

    .nav-menu li a {
        padding: 0.9rem 1.2rem;
        font-size: 0.95rem;
    }

    .dropdown-menu li a {
        padding: 0.7rem 1.2rem 0.7rem 2rem;
        font-size: 0.9rem;
    }
}

/* ========================================
   ACCESIBILIDAD Y MEJORAS
   ======================================== */

/* Prevenir scroll del body cuando el menú móvil está abierto */
body.menu-open {
    overflow: hidden;
}

/* Focus visible para navegación por teclado */
.nav-menu li a:focus,
.menu-toggle:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Suavizar transiciones en reducción de movimiento */
@media (prefers-reduced-motion: reduce) {
    .nav-menu,
    .dropdown-menu,
    .menu-toggle {
        transition: none;
    }
}

/* ========================================
   HERO SECTION 
   ======================================== */

.hero {
    background: linear-gradient(135deg, #2c5f7c 0%, #3a6f8f 100%);
    padding: 4.5rem 1rem;
    position: relative;
    min-height: auto;
    color: #ffffff;
    display: flex;
    align-items: center;
    width: 100%;
    overflow: hidden;
}

/* brillo fpmdp */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Contenedor principal */
.hero .container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Contenido del hero */
.hero-content {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 1rem;
}

/* Contenedor del texto - Lado izquierdo */
.hero-text {
    flex: 0 0 auto;
    width: 64%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    gap: 2.5rem;
}

/* Contenedor de imagen - Lado derecho */
.hero-image {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    height: 550px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 16px;
}

/* ========================================
   TIPOGRAFÍA 
   ======================================== */

/* titulo */
.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin: 0;
    color: #ffffff;
    letter-spacing: -1.2px;
    animation: fadeInLeft 0.8s ease-out;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* descripcion */
.hero-description {
    font-size: 1.35rem;
    line-height: 1.8;
    margin: 0;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    animation: fadeInLeft 1s ease-out;
    max-width: 550px;
    font-style: italic;
    position: relative;
    padding-right: 1rem;
}

/*  cita */
.hero-description .author {
    display: block;
    margin-top: 0.8rem;
    font-size: 1rem;
    font-style: normal;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-description .author::before {
    content: '— ';
    color: #fbbf24;
}

/* ========================================
   BOTONES 
   ======================================== */

.nav-botones {
    display: flex;
    gap: 1.2rem;
    list-style: none;
    padding: 0;
    margin: 0;
    animation: fadeInLeft 1.2s ease-out;
    flex-wrap: wrap;
}

.nav-botones li a {
    display: inline-block;
    padding: 1rem 2.8rem;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1f2937;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.nav-botones li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.nav-botones li a:hover::before {
    left: 100%;
}

.nav-botones li a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.5);
}

/* boton 2 */
.nav-botones li:nth-child(2) a {
    background: transparent;
    color: #ffffff;
    border: 2.5px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.nav-botones li:nth-child(2) a:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

/* ========================================
   ANIMACIONES
   ======================================== */

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Pantallas grandes (≤1400px) */
@media (max-width: 1400px) {
    .hero {
        padding: 4.5rem 2rem;
    }

    .hero-content {
        gap: 5rem;
    }

    .hero-text {
        width: 50%;
    }

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

    .hero-description {
        font-size: 1.25rem;
    }

    .hero-image {
        height: 460px;
    }
}

/* Tablets grandes (≤1200px) */
@media (max-width: 1200px) {
    .hero {
        padding: 4rem 1.5rem;
    }

    .hero-content {
        gap: 4rem;
    }

    .hero-text {
        width: 48%;
    }

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

    .hero-description {
        font-size: 1.2rem;
    }

    .hero-image {
        height: 420px;
    }
}

/* Tablets (≤992px) */
@media (max-width: 992px) {
    .hero {
        padding: 3.5rem 1.5rem;
    }

    .hero-content {
        flex-direction: column;
        gap: 3.5rem;
    }

    .hero-text {
        width: 100%;
        align-items: center;
        text-align: center;
    }

    .hero-title::after {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-description {
        max-width: 650px;
        padding-left: 0;
        padding-top: 2rem;
    }

    .hero-description::before {
        left: 50%;
        transform: translateX(-50%);
        top: -20px;
    }

    .hero-image {
        width: 100%;
        height: 400px;
    }

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

    .hero-description {
        font-size: 1.2rem;
    }

    .nav-botones {
        justify-content: center;
    }
}

/* Tablets pequeñas (≤768px) */
@media (max-width: 768px) {
    .hero {
        padding: 3rem 1.5rem;
    }

    .hero-content {
        gap: 3rem;
    }

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

    .hero-description {
        font-size: 1.15rem;
    }

    .hero-image {
        height: 350px;
        border-radius: 12px;
    }

    .nav-botones li a {
        padding: 0.9rem 2.3rem;
        font-size: 0.95rem;
    }
}

/* Móviles (≤576px) */
@media (max-width: 576px) {
    .hero {
        padding: 2.5rem 1.25rem;
    }

    .hero .container {
        padding: 0 1rem;
    }

    .hero-content {
        gap: 2.5rem;
    }

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

    .hero-title::after {
        width: 60px;
        height: 3px;
        margin-top: 1rem;
    }

    .hero-description {
        font-size: 1.05rem;
        line-height: 1.7;
    }

    .hero-description::before {
        font-size: 2.5rem;
    }

    .hero-description .author {
        font-size: 0.9rem;
    }

    .hero-image {
        height: 300px;
        border-radius: 10px;
    }

    .nav-botones {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .nav-botones li {
        width: 100%;
    }

    .nav-botones li a {
        padding: 0.9rem 2rem;
        font-size: 0.9rem;
        width: 100%;
        max-width: 300px;
    }
}

/* Móviles pequeños (≤380px) */
@media (max-width: 380px) {
    .hero {
        padding: 2rem 1rem;
    }

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

    .hero-description {
        font-size: 1rem;
    }

    .hero-image {
        height: 280px;
    }

    .nav-botones li a {
        padding: 0.85rem 1.8rem;
        font-size: 0.85rem;
    }
}
/* ========================================
   SECCIONES GENERALES 
   ======================================== */

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-tag {
    display: inline-block;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--color-text);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-intro {
    text-align: center;
    font-size: 2rem;
    color: var(--color-gray);
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* Responsive */
@media (max-width: 768px) {
    .colores-leyenda {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .color-item {
        justify-content: center;
    }

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

    .tabla-resumen {
        font-size: 0.85rem;
    }

    .tabla-resumen th,
    .tabla-resumen td {
        padding: 0.7rem 0.5rem;
        font-size: 0.8rem;
    }

    .color-label {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .resumen-malla-container {
        padding: 2rem 0 1.5rem;
    }

    .resumen-title {
        font-size: 1.1rem;
    }

    .tabla-resumen th,
    .tabla-resumen td {
        padding: 0.6rem 0.3rem;
        font-size: 0.75rem;
    }

    .color-box {
        width: 35px;
        height: 25px;
    }

    .color-label {
        font-size: 0.8rem;
    }
}

/* ========================================
   PROPUESTA 
   ======================================== */

.propuesta-destacada {
    padding: 5rem 0;
    background-color: var(--color-white);
}

.propuesta-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.propuesta-card-white {
    background-color: var(--color-white);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(91, 124, 252, 0.3);
    color: var(--color-white);
}

.propuesta-card-white:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(91, 124, 252, 0.4);
}

.card-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.2);
    /* Fondo semi-transparente */
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.card-icon-blue img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    /* Hace la imagen blanca si es oscura */
}

.propuesta-card-white p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 0.95rem;
}

.propuesta-card p {
    color: var(--color-gray);
    line-height: 1.7;
}

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

/* Tablets grandes (≤992px) */
@media (max-width: 992px) {
    .propuesta-destacada {
        padding: 4rem 0;
    }

    .propuesta-grid-3 {
        grid-template-columns: 1fr !important;
        gap: 1.75rem;
        padding: 0 30px;
        max-width: 500px;
    }
}

/* Tablets (≤768px) */
@media (max-width: 768px) {
    .propuesta-destacada {
        padding: 3rem 0;
    }

    .propuesta-grid-3 {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        max-width: 450px;
        padding: 0 20px;
    }

    .propuesta-card-white {
        padding: 2rem 1.5rem;
    }
}

/* Móviles (≤576px) */
@media (max-width: 576px) {
    .propuesta-destacada {
        padding: 2.5rem 0;
    }

    .propuesta-grid-3 {
        grid-template-columns: 1fr !important;
        gap: 1.25rem;
        padding: 0 15px;
        max-width: 400px;
    }

    .propuesta-card-white {
        padding: 1.75rem 1.25rem;
        border-radius: 12px;
    }

    .card-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 1.25rem;
        border-radius: 12px;
    }

    .card-icon-blue img {
        width: 55px;
        height: 55px;
    }

    .propuesta-card-white p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

/* Móviles pequeños (≤430px) - Para iPhone y móviles modernos */
@media (max-width: 430px) {
    .propuesta-grid-3 {
        grid-template-columns: 1fr !important;
        padding: 0 15px;
        max-width: 100%;
    }
}

/* Móviles pequeños (≤380px) */
@media (max-width: 380px) {
    .propuesta-destacada {
        padding: 2rem 0;
    }

    .propuesta-grid-3 {
        grid-template-columns: 1fr !important;
        padding: 0 10px;
    }

    .propuesta-card-white {
        padding: 1.5rem 1rem;
    }

    .card-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1rem;
    }

    .card-icon-blue img {
        width: 50px;
        height: 50px;
    }

    .propuesta-card-white p {
        font-size: 0.85rem;
    }
}

/* Mejora para hover en dispositivos táctiles */
@media (hover: none) {
    .propuesta-card-white:hover {
        transform: none;
    }

    .propuesta-card-white:active {
        transform: scale(0.98);
    }
}

/* ========================================
   SECCIÓN PERFIL
   ======================================== */

.numeros-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title-white {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.section-tag-white {
    display: inline-block;
    font-size: 1.1rem;
    color: var(--color-gray);
    font-weight: 400;
}

.video-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    background-color: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    border: none;
}

/* RESPONSIVE - TABLETS */
@media (max-width: 768px) {
    .numeros-section {
        padding: 3rem 0;
    }

    .section-title-white {
        font-size: 2rem;
    }

    .section-tag-white {
        font-size: 1rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }
}

/* RESPONSIVE - MÓVILES */
@media (max-width: 480px) {
    .section-title-white {
        font-size: 1.75rem;
    }

    .section-tag-white {
        font-size: 0.9rem;
        /* NO 0rem */
    }

    .video-wrapper {
        padding: 0 15px;
    }
}

/* ========================================
   REDES SOCIALES
   ======================================== */

.redes-sociales {
    padding: 4rem 0;
    background-color: var(--color-gray-light);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.social-card {
    background-color: var(--color-white);
    padding: 2rem 3rem;
    border-radius: 12px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.social-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.social-card i {
    font-size: 2rem;
    color: var(--color-primary);
}

.social-card span {
    color: var(--color-text);
    font-weight: 600;
    font-size: 1.1rem;
}

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

/* tablets (≤992px) */
@media (max-width: 992px) {
    .redes-sociales {
        padding: 3.5rem 0;
    }

    .social-links {
        gap: 1.5rem;
        padding: 0 30px;
    }

    .social-card {
        padding: 1.75rem 2.5rem;
    }
}

/* tablets pequeñas (≤768px) */
@media (max-width: 768px) {
    .redes-sociales {
        padding: 3rem 0;
    }

    .social-links {
        gap: 1.25rem;
        padding: 0 20px;
    }

    .social-card {
        padding: 1.5rem 2rem;
    }

    .social-card i {
        font-size: 1.75rem;
    }

    .social-card span {
        font-size: 1rem;
    }
}

/* móviles (≤576px) */
@media (max-width: 576px) {
    .redes-sociales {
        padding: 2.5rem 0;
    }

    .social-links {
        gap: 1rem;
        padding: 0 15px;
        flex-direction: column;
        align-items: center;
    }

    .social-card {
        padding: 1.25rem 2rem;
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .social-card i {
        font-size: 1.5rem;
    }

    .social-card span {
        font-size: 0.95rem;
    }
}

/* móviles pequeños (≤380px) */
@media (max-width: 380px) {
    .redes-sociales {
        padding: 2rem 0;
    }

    .social-links {
        padding: 0 10px;
    }

    .social-card {
        padding: 1rem 1.5rem;
        max-width: 100%;
        gap: 0.75rem;
    }

    .social-card i {
        font-size: 1.35rem;
    }

    .social-card span {
        font-size: 0.9rem;
    }
}

/* dispositivos táctiles */
@media (hover: none) {
    .social-card:hover {
        transform: none;
    }

    .social-card:active {
        transform: scale(0.97);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    }
}

/* ========================================
   FOOTER
   ======================================== */

.footer-dark {
    background-color: #2b3544;
    color: var(--color-white);
    padding: 2.3rem 0;
    width: 100%;
    margin: 0;
}

.footer-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 40px 0.5px;
    width: 100%;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
    gap: 3rem;
    align-items: start;
}

/* Columna 1 - Brand */
.footer-col-brand {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.3rem;
    text-decoration: none;
    color: inherit;
}

.footer-logo-img {
    width: 65px;
    height: 65px;
    object-fit: contain;
    flex-shrink: 0;
}

.footer-logo-text h3 {
    font-size: 1.1rem;
    margin: 0;
    color: var(--color-white);
    font-weight: 600;
}

.footer-logo-text p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.2rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0.5rem 0;
    max-width: 420px;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 0.3rem;
}

.footer-social a {
    width: 35px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Títulos de columnas */
.footer-col h4 {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    color: var(--color-white);
    font-weight: 600;
}

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

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

.footer-links li a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.footer-links li a:hover {
    color: var(--color-white);
}

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

.footer-contact li {
    margin-bottom: 1rem;
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
}

.footer-contact li i {
    color: #5dade2;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.contact-info a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.75rem;
    transition: color 0.3s ease;
    line-height: 1.4;
}

.contact-info a:hover {
    color: var(--color-white);
}

.contact-info span {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.75rem;
    line-height: 1.5;
    margin-top: 3px;
}

/* ========================================
   RESPONSIVE - TABLETS (≤992px)
   ======================================== */
@media (max-width: 992px) {
    .footer-container {
        padding: 0 30px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        text-align: left;
    }

    .footer-col h4 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    .footer-logo {
        justify-content: left;
    }

    .footer-logo-text h3 {
        font-size: 1rem;
    }

    .footer-logo-text p {
        font-size: 0.75rem;
    }

    .footer-description {
        margin: 0.8rem auto;
        font-size: 0.85rem;
    }

    .footer-social {
        justify-content: left;
    }
}

/* ========================================
   RESPONSIVE - MÓVILES (≤600px)
   ======================================== */
@media (max-width: 600px) {
    .footer-container {
        padding: 0 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: left;
    }

    .footer-col {
        align-items: center;
        justify-content: center;
    }

    .footer-logo {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo-img {
        width: 55px;
        height: 55px;
    }

    .footer-description {
        font-size: 0.85rem;
        line-height: 1.4;
        margin: 0.6rem 0;
        text-align: center;
    }

    .footer-links li a,
    .contact-info a,
    .contact-info span {
        font-size: 0.8rem;
    }

    .footer-social {
        justify-content: center;
        gap: 0.8rem;
    }

    .footer-social a {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }

    /* Ajustes visuales */
    .footer-col h4 {
        font-size: 0.95rem;
    }

    .footer-contact li {
        justify-content: left;
    }
}

/* ========================================
   RESPONSIVE - MÓVILES PEQUEÑOS (≤400px)
   ======================================== */
@media (max-width: 400px) {
    .footer-logo-img {
        width: 48px;
        height: 48px;
    }

    .footer-logo-text h3 {
        font-size: 0.9rem;
    }

    .footer-logo-text p {
        font-size: 0.7rem;
    }

    .footer-social a {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
}


/* ========================================
   Nosotros
   ======================================== */

.page-banner {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
    padding: 3rem 0;
    text-align: center;
}

.page-banner h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-banner p {
    font-size: 1.1rem;
    opacity: 0.9;

}

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

/* Protección para dispositivos táctiles */
@media (pointer: coarse) {
    .page-banner {
        padding: 3rem 0;
    }
}

/* Tablets grandes (≤992px) */
@media (max-width: 992px) {
    .page-banner {
        padding: 3.5rem 0;
    }

    .page-banner h2 {
        font-size: 2.2rem;
        padding: 0 30px;
    }

    .page-banner p {
        font-size: 1.05rem;
        padding: 0 30px;
    }
}

/* Tablets (≤768px) */
@media (max-width: 768px) {
    .page-banner {
        padding: 3rem 0;
    }

    .page-banner h2 {
        font-size: 2rem;
        padding: 0 20px;
        margin-bottom: 0.75rem;
    }

    .page-banner p {
        font-size: 1rem;
        padding: 0 20px;
    }
}

/* Móviles (≤576px) */
@media (max-width: 576px) {
    .page-banner {
        padding: 2.5rem 0;
    }

    .page-banner h2 {
        font-size: 1.75rem;
        padding: 0 15px;
        margin-bottom: 0.5rem;
        line-height: 1.3;
    }

    .page-banner p {
        font-size: 0.95rem;
        padding: 0 15px;
        line-height: 1.6;
    }
}

/* Móviles pequeños (≤380px) */
@media (max-width: 380px) {
    .page-banner {
        padding: 2rem 0;
    }

    .page-banner h2 {
        font-size: 1.5rem;
        padding: 0 10px;
    }

    .page-banner p {
        font-size: 0.9rem;
        padding: 0 10px;
    }
}

/*  móviles */
@media (max-width: 768px) and (max-device-width: 768px) {
    .page-banner {
        padding: 2.5rem 0 !important;
    }

    .page-banner h2 {
        font-size: 1.75rem !important;
    }

    .page-banner p {
        font-size: 0.95rem !important;
    }
}

/* ========================================
   RESEÑA
   ======================================== */

.content-section {
    padding: 5rem 0;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.content-text h2 {
    font-size: 2rem;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    text-align: left;
    padding-left: 0; 
}

.content-text ul {
    color: black;
    line-height: 2;
    margin-bottom: 1rem;
}

.content-text li {
    margin-bottom: 0.5rem;
    padding-right: 0.5rem;
}

.content-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}



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

/* Protección para dispositivos táctiles */
@media (pointer: coarse) {
    .content-wrapper {
        grid-template-columns: 1fr !important;
    }
}

/* Tablets grandes (≤992px) */
@media (max-width: 992px) {
    .content-section {
        padding: 4rem 0;
    }

    .content-wrapper {
        gap: 2.5rem;
        padding: 0 30px;
    }

    .content-text h2 {
        font-size: 1.85rem;
    }

    .content-image img {
        height: 350px;
    }
}

/* Tablets (≤768px) - UNA COLUMNA */
@media (max-width: 768px) {
    .content-section {
        padding: 3rem 0;
    }

    .content-wrapper {
        grid-template-columns: 1fr !important;
        gap: 2rem;
        padding: 0 25px;
    }

    .content-text h2 {
        font-size: 1.75rem;
        text-align: center;
        margin-bottom: 1.25rem;
    }

    .content-text {
        text-align: left;
    }

    .content-text ul {
        line-height: 1.8;
    }

    .content-image img {
        height: auto;
    }
}

/* Móviles (≤576px) */
@media (max-width: 576px) {
    .content-section {
        padding: 2.5rem 0;
    }

    .content-wrapper {
        grid-template-columns: 1fr !important;
        gap: 1.75rem;
        padding: 0 20px;
    }

    .content-text h2 {
        font-size: 1.5rem;
        text-align: center;
        margin-bottom: 1rem;
    }

    .content-text ul {
        line-height: 1.7;
        font-size: 0.95rem;
        padding-left: 1.25rem;
    }

    .content-text p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .content-image img {
        height: 280px;
        border-radius: 10px;
    }
}

/* Móviles pequeños (≤380px) */
@media (max-width: 380px) {
    .content-section {
        padding: 2rem 0;
    }

    .content-wrapper {
        gap: 1.5rem;
        padding: 0 15px;
    }

    .content-text h2 {
        font-size: 1.35rem;
    }

    .content-text ul {
        font-size: 0.9rem;
        line-height: 1.6;
        padding-left: 1rem;
    }

    .content-text p {
        font-size: 0.9rem;
    }

    .content-image img {
        height: 250px;
        border-radius: 8px;
    }
}

/* Protección para modo escritorio en móviles */
@media (max-width: 768px) and (max-device-width: 768px) {
    .content-wrapper {
        grid-template-columns: 1fr !important;
        padding: 0 20px !important;
    }

    .content-text h2 {
        text-align: center !important;
    }
}


/* ========================================
   PERFIL DE INGRESO 
   ======================================== */

.perfil-ingreso {
    padding: 4rem 0;
    background-color: #f3f4f6;
}

.perfil-ingreso h2 {
    font-size: 2rem;
    color: var(--color-text);
    margin-bottom: 1rem;
    text-align: left;
    font-weight: 700;
}

.perfil-ingreso>.container>p {
    color: var(--color-gray);
    font-size: 1.3rem;
    margin-bottom: 4rem;
    text-align: center;
}

.perfil-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.perfil-card {
    background-color: var(--color-white);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.perfil-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.perfil-icon {
    width: 80px;
    height: 80px;
    background-color: var(--color-white);
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
}

.perfil-card h3 {
    font-size: 1rem;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.perfil-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.perfil-card ul il {
    display: list-item;
    color: var(--color-gray);
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 0.95rem;
    padding-left: 1.5rem;
    position: relative;
}

.perfil-card ul il::before {
    content: "•";
    color: var(--color-text);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}


/* Responsive */
@media (max-width: 992px) {
    .perfil-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .perfil-ingreso {
        padding: 3rem 0;
    }

    .perfil-ingreso h2 {
        font-size: 1.75rem;
        text-align: center;
    }

    .perfil-ingreso>.container>p {
        text-align: center;
    }

    .perfil-card {
        padding: 2rem 1.5rem;
    }
}

/* ========================================
   PERFIL DE EGRESO 
   ======================================== */

.perfil-egreso {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.perfil-egreso h2 {
    font-size: 2rem;
    color: var(--color-text);
    margin-bottom: 1rem;
    text-align: left;
    font-weight: 700;
}

.perfil-egreso>.container>p {
    color: var(--color-gray);
    font-size: 1.3rem;
    margin-bottom: 4rem;
    text-align: center;
}

/* Competencias Generales / Específicas */
.perfil-egreso .perfil-grid>h3 {
    font-size: 1.3rem;
    color: var(--color-text);
    font-weight: 700;
    margin-bottom: 2rem;
    margin-top: 3rem;
    text-align: left;
    grid-column: 1 / -1;
}

.perfil-egreso .perfil-grid>h3:first-of-type {
    margin-top: 0;
}

.perfil-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.perfil-card {
    background-color: #e8e8e8;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.perfil-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.perfil-icon {
    width: 60px;
    height: 60px;
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
}

.perfil-icon iconify-icon {
    font-size: 2rem;
}

.perfil-card h3 {
    font-size: 0.95rem;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.perfil-card p {
    color: var(--color-gray);
    line-height: 1.7;
    font-size: 0.9rem;
    text-align: center;
    margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .perfil-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .perfil-egreso {
        padding: 3rem 0;
    }

    .perfil-egreso h2 {
        font-size: 1.75rem;
        text-align: center;
    }

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

    .perfil-card {
        padding: 2rem 1.5rem;
    }
}

/* OBJETIVOS EDUCACIONALES */

.objetivos-educacionales {
    padding: 4rem 0;
    background: linear-gradient(135deg, #dbeafe 0%, #c8d9ee 100%);
}

.objetivos-educacionales h2 {
    font-size: 1.6rem;
    color: var(--color-text);
    margin-bottom: 2.5rem;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
}

.objetivos-educacionales>.container>p {
    color: var(--color-dark-bg);
    font-size: 1.3rem;
    margin-bottom: 4rem;
    text-align: center;
}

.perfil-card {
    background-color: #e8e8e8;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.objetivos-educacionales .perfil-card {
    background-color: #d1d5db;
    padding: 2.5rem 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    max-width: 1000px;
    margin: 0 auto;
}

.objetivos-educacionales .perfil-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}


.objetivos-educacionales .perfil-card p {
    color: var(--color-text);
    line-height: 1.8;
    font-size: 0.95rem;
    text-align: left;
    margin-bottom: 1.5rem;
}

.objetivos-educacionales .perfil-card p:last-child {
    margin-bottom: 0;
}

.objetivos-educacionales .perfil-card b {
    color: var(--color-text);
    font-weight: 700;
}

/* Responsive */
@media (max-width: 768px) {
    .objetivos-educacionales {
        padding: 3rem 0;
    }

    .objetivos-educacionales h2 {
        font-size: 1.3rem;
    }

    .objetivos-educacionales .perfil-card {
        padding: 2rem 1.5rem;
    }

    .objetivos-educacionales .perfil-card p {
        font-size: 0.9rem;
    }
}

/* =======================================
   leyenda
   ======================================== */

.resumen-malla-container {
    padding: 3rem 0 0rem;
    background-color: var(--color-white);
}

/* Leyenda de colores */
.colores-leyenda {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background-color: #f9fafb;
    border-radius: 12px;
}

.color-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.color-box {
    width: 40px;
    height: 30px;
    border-radius: 6px;
    border: 2px solid #e5e7eb;
}

.color-box.color-verde {
    background-color: #c8e6c9;
    border-color: #4caf50;
}

.color-box.color-salmon {
    background-color: #ffb698;
    border-color: #ff9800;
}

.color-box.color-azul {
    background-color: #90caf9;
    border-color: #2196f3;
}

.color-label {
    font-size: 0.95rem;
    color: var(--color-text);
    font-weight: 500;
}

/* Cuadro resumen */
.cuadro-resumen {
    max-width: 1000px;
    margin: 0 auto;
}

.resumen-title {
    font-size: 1.5rem;
    color: var(--color-text);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
}

.tabla-resumen {
    overflow-x: auto;
}

.tabla-resumen table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--color-white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

.tabla-resumen thead {
    background-color: #fbbf24;
}

.tabla-resumen th {
    padding: 1rem;
    text-align: center;
    font-weight: 700;
    color: var(--color-text);
    font-size: 0.9rem;
    border: 1px solid #e5e7eb;
}

.tabla-resumen tbody tr {
    border-bottom: 1px solid #e5e7eb;
}

.tabla-resumen tbody tr:last-child {
    border-bottom: none;
}

.tabla-resumen td {
    padding: 1rem;
    text-align: center;
    color: var(--color-text);
    font-size: 0.9rem;
    border: 1px solid #e5e7eb;
}

.tabla-resumen .tipo-estudio {
    text-align: left;
    font-weight: 600;
}

.tabla-resumen .total-row {
    background-color: #f3f4f6;
}

.tabla-resumen .total-row td {
    font-weight: 700;
    color: var(--color-text);
}

/* Responsive */
@media (max-width: 768px) {
    .colores-leyenda {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .color-item {
        justify-content: center;
    }

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

    .tabla-resumen {
        font-size: 0.85rem;
    }

    .tabla-resumen th,
    .tabla-resumen td {
        padding: 0.7rem 0.5rem;
        font-size: 0.8rem;
    }

    .color-label {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .resumen-malla-container {
        padding: 2rem 0 1.5rem;
    }

    .resumen-title {
        font-size: 1.1rem;
    }

    .tabla-resumen th,
    .tabla-resumen td {
        padding: 0.6rem 0.3rem;
        font-size: 0.75rem;
    }

    .color-box {
        width: 35px;
        height: 25px;
    }

    .color-label {
        font-size: 0.8rem;
    }
}


/* =======================================
   DOCENTES 
   ======================================== */

.docentes-section {
    padding: 5rem 0;
}

.docentes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.docente-card {
    background-color: var(--color-white);
    border-radius: 1px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.docente-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.docente-photo {
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.docente-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.docente-card:hover .docente-photo img {
    transform: scale(1.05);
}

.docente-info {
    padding: 1.5rem;
}

.docente-info h3 {
    font-size: 1.2rem;
    color: var(--color-text);
    margin-bottom: 0.8rem;
}

.docente-especialidad {
    color: var(--color-gray);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.docente-email {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.docente-email a {
    color: var(--color-primary);
    text-decoration: none;
}

.btn-cv {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-cv:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
}

/* ========================================
   ACTIVIDADES FORMATIVAS 
   ======================================== */


.actividades-formativas {
    padding: 5rem 0;
    background-color: var(--color-gray-light);
}

.formativas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.formativa-card {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.formativa-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.formativa-card i {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.formativa-card h3 {
    font-size: 1.2rem;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.formativa-card p {
    color: var(--color-gray);
    line-height: 1.6;
}

/* ========================================
   INVESTIGACIÓN 
   ======================================== */

.investigacion-section {
    padding: 5rem 0;
}

.investigacion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
    gap: 2rem;
    display: block;
}

.investigacion-card {
    background-color: var(--color-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.investigacion-card:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.investigacion-card-content {
    flex: 1;
}

.investigacion-card-image {
    flex-shrink: 0;
    width: 250px;
    height: 250px;
    overflow: hidden;
    border-radius: 8px;
}


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

.inv-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.investigacion-card h3 {
    font-size: 1.3rem;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.investigacion-card p {
    color: var(--color-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.btn-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-link:hover {
    gap: 0.8rem;
}

/*VIDEOS DE PRESENTACION*/

.modal-video {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.modal-video-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-video-content video {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: contain;
}

.modal-close {
    position: absolute;
    top: -15px;
    right: -15px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    background-color: rgba(255, 0, 0, 0.8);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10000;
}

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

/* Responsive para móviles */
@media (max-width: 768px) {
    .modal-video-content {
        max-width: 95%;
        max-height: 85vh;
    }
    
    .modal-video-content video {
        max-height: 85vh;
    }
    
    .modal-close {
        top: -10px;
        right: -10px;
        width: 35px;
        height: 35px;
        font-size: 30px;
    }
}

/* Para videos verticales en pantallas grandes */
@media (min-width: 769px) {
    .modal-video-content video {
        max-width: 600px;
    }
}

/*
Carrusel
*/
.frase {
  font-family: "Georgia", serif;
  font-size: 22px;
  font-style: italic;
  color: #000000;
  text-align: center;
  border-left: 10px solid #4a90e2;
  padding: 20px 20px;
  margin: 20px auto;
  width: 40%;
}
.frase_movilidad {
  font-family: "Georgia", serif;
  font-size: 22px;
  font-style: italic;
  color: #000000;
  text-align: center;
  padding: 20px 20px;
  margin: 20px auto;
  width: 80%;
}
.carousel-container {
    width: 900px;
    max-width: 100%;
    padding: 2rem 0;
    margin: auto;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    /* Línea añadida para una transición de altura suave */
    transition: height 0.5s ease-in-out; 
}

.carousel-slides {
    display: flex;
    /* La transición ahora se aplica a 'transform' */
    transition: transform 0.5s ease-in-out; 
}

.carousel-slide {
    min-width: 100%;
    box-sizing: border-box;
}

.carousel-slide img {
    width: 100%;
    display: block;
}

/* Estilo para las flechas */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    z-index: 10;
}

.arrow:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.prev { left: 15px; }
.next { right: 15px; }

/* Estilo para los puntos de navegación */
.nav-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.dot.active {
    background-color: white;
}

/* ========================================
   RESPONSIVE - TABLETS (≤992px)
   ======================================== */
@media (max-width: 992px) {
    .investigacion-section {
        padding: 4rem 0;
    }

    .investigacion-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 30px;
    }

    .investigacion-card {
        padding: 2rem;
        gap: 1.5rem;
    }

    .investigacion-card-image {
        width: 200px;
        height: 200px;
    }

    .inv-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }

    .frase {
        border-left-width: 8px;
        padding: 15px;
        width: 85%;
    }

    .carousel-container {
        padding: 1.5rem 0;
    }

    .arrow {
        font-size: 1.75rem;
        padding: 8px 12px;
    }

    .prev { left: 10px; }
    .next { right: 10px; }
}

/* ========================================
   RESPONSIVE - TABLETS PEQUEÑAS (≤768px)
   ======================================== */
@media (max-width: 768px) {
    .investigacion-section {
        padding: 3rem 0;
    }

    .investigacion-grid {
        padding: 0 20px;
    }

    .investigacion-card {
        flex-direction: column;
        text-align: center;
        padding: 1.75rem;
    }

    .investigacion-card-image {
        width: 100%;
        max-width: 300px;
        height: 250px;
        margin: 0 auto;
    }

    .inv-icon {
        margin: 0 auto 1.25rem;
    }

    .investigacion-card h3 {
        font-size: 1.2rem;
    }

    .investigacion-card p {
        font-size: 0.95rem;
    }

    .btn-link {
        justify-content: center;
    }

    .frase {
        border-left-width: 6px;
        padding: 12px;
        width: 90%;
    }

    .arrow {
        font-size: 1.5rem;
        padding: 6px 10px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    .nav-dots {
        bottom: 15px;
        gap: 8px;
    }
}

/* ========================================
   RESPONSIVE - MÓVILES (≤576px)
   ======================================== */
@media (max-width: 576px) {
    .investigacion-section {
        padding: 2.5rem 0;
    }

    .investigacion-grid {
        padding: 0 15px;
    }

    .investigacion-card {
        padding: 1.5rem;
        gap: 1.25rem;
    }

    .investigacion-card-image {
        height: 220px;
    }

    .inv-icon {
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }

    .investigacion-card h3 {
        font-size: 1.1rem;
    }

    .investigacion-card p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .btn-link {
        font-size: 0.9rem;
    }

    .frase {
        border-left-width: 5px;
        padding: 10px;
        width: 95%;
        margin: 15px auto;
    }

    .frase_movilidad {
        padding: 15px;
        width: 95%;
        margin: 15px auto;
    }

    .carousel-container {
        padding: 1rem 0;
        border-radius: 8px;
    }

    .arrow {
        font-size: 1.25rem;
        padding: 5px 8px;
        border-radius: 4px;
    }

    .prev { left: 8px; }
    .next { right: 8px; }

    .nav-dots {
        bottom: 12px;
        gap: 6px;
    }

    .dot {
        width: 8px;
        height: 8px;
    }
}

/* ========================================
   RESPONSIVE - MÓVILES PEQUEÑOS (≤380px)
   ======================================== */
@media (max-width: 380px) {
    .investigacion-card {
        padding: 1.25rem;
    }

    .investigacion-card-image {
        height: 200px;
    }

    .inv-icon {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }

    .frase {
        border-left-width: 4px;
        padding: 8px;
    }

    .arrow {
        font-size: 1.1rem;
        padding: 4px 7px;
    }

    .prev { left: 5px; }
    .next { right: 5px; }

    .nav-dots {
        bottom: 10px;
        gap: 5px;
    }
}

/* ========================================
   ACCESIBILIDAD
   ======================================== */

/* Deshabilitar animaciones  */
@media (prefers-reduced-motion: reduce) {
    .carousel-slides,
    .carousel-container {
        transition: none;
    }

    .investigacion-card {
        transition: none;
    }
}

/* dispositivos táctiles */
@media (hover: none) and (pointer: coarse) {
    .arrow {
        padding: 12px 16px;
        font-size: 1.75rem;
    }

    .dot {
        width: 14px;
        height: 14px;
    }

    .investigacion-card:hover {
        transform: none;
    }

    .investigacion-card:active {
        transform: scale(0.98);
    }
}

/* Ocultar flechas en pantallas muy pequeñas */
@media (max-width: 480px) {
    .arrow {
        background-color: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(4px);
    }
}

/* ========================================
   MOVILIDAD
   ======================================== */

.movilidad-section {
    padding: 5rem 0;
    background-color: var(--color-gray-light);
}

.movilidad-content {
    padding: 1rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
/* Variante invertida: imagen izquierda, texto derecha */
.movilidad-content.reverse {
    grid-template-columns: 1fr 1fr;
    direction: rtl; /* invierte visualmente */
}

.movilidad-content.reverse .movilidad-text {
    direction: ltr; /* para que el texto se lea normal */
}

.movilidad-text h2 {
    font-size: 2rem;
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

.movilidad-text p {
    color: var(--color-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}



.movilidad-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* ========================================
   SELE 
   ======================================== */

.sele-section {
    padding: 5rem 0;
}

.sele-card {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-white);
    padding: 3rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.sele-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    flex-shrink: 0;
}

.sele-content h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.sele-content p {
    margin-bottom: 1.5rem;
    opacity: 0.95;
    line-height: 1.7;
}

.btn-primary {
    display: inline-block;
    background-color: var(--color-white);
    color: var(--color-primary);
    padding: 0.8rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* ========================================
   BIBLIOTECA 
   ======================================== */

.biblioteca-section {
    padding: 5rem 0;
    background-color: var(--color-gray-light);
}

.biblioteca-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.biblioteca-card {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.biblioteca-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.biblioteca-card i {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.biblioteca-card h3 {
    font-size: 1.2rem;
    color: var(--color-text);
    margin-bottom: 0.8rem;
}

.biblioteca-card p {
    color: var(--color-gray);
    font-size: 0.95rem;
}

/* ========================================
   MALLA CURRICULAR
   ======================================== */

.malla-section {
    padding: 1.5rem 0;
}

.malla-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.malla-intro h2 {
    font-size: 2.5rem;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.malla-intro p {
    color: var(--color-gray);
    line-height: 1.8;
}

.malla-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.malla-card {
    background-color: var(--color-white);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.malla-card.featured {
    border: 2px solid var(--color-primary);
}

.malla-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.malla-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.malla-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: var(--color-white);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.malla-content h3 {
    font-size: 1.5rem;
    color: var(--color-text);
    margin-bottom: 0.8rem;
}

.malla-content>p {
    color: var(--color-gray);
    margin-bottom: 1.5rem;
}

.malla-features {
    list-style: none;
    margin-bottom: 2rem;
}

.malla-features li {
    color: var(--color-gray);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.malla-features i {
    color: var(--color-primary);
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: var(--color-white);
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-download:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

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

.btn-download:hover svg {
    transform: translateY(2px);
}

/* NUEVOS ESTILOS AGREGADOS */
.malla-imagen {
    text-align: center;
    margin-bottom: 2rem;
}

.malla-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.malla-img:hover {
    transform: scale(1.02);
}

.malla-acciones {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .malla-intro h2 {
        font-size: 2rem;
    }

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

    .btn-download {
        padding: 0.9rem 1.8rem;
        font-size: 0.95rem;
    }
}

/* ========================================
   ESTRUCTURA CURRICULAR 
   ======================================== */

.estructura-section {
    padding: 5rem 0;
    background-color: var(--color-gray-light);
}

.estructura-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.area-card {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.area-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.area-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--color-white);
    font-size: 2rem;
}

.area-card h3 {
    font-size: 1.2rem;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.area-card p {
    color: var(--color-gray);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.creditos {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* ========================================
   INFO ADICIONAL 
   ======================================== */

.info-adicional {
    padding: 4rem 0;
}

.info-box {
    background-color: var(--color-gray-light);
    padding: 2.5rem;
    border-radius: 12px;
    display: flex;
    gap: 2rem;
}

.info-icon {
    width: 60px;
    height: 60px;
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.info-content h3 {
    font-size: 1.5rem;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.info-content ul {
    list-style: none;
}

.info-content li {
    color: var(--color-gray);
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.info-content li::before {
    content: "•";
    color: var(--color-primary);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* ========================================
   ACTIVIDADES 
   ======================================== */

.actividades-section,
.culturales-section,
.extension-section {
    padding: 5rem 0;
}

.culturales-section {
    background-color: var(--color-gray-light);
}

.actividades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.actividad-card {
    background-color: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.actividad-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.actividad-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.actividad-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.actividad-content {
    padding: 1.5rem;
}

.actividad-tag {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.actividad-tag.cultural {
    background-color: #8b5cf6;
}

.actividad-tag.extension {
    background-color: #10b981;
}

.actividad-content h3 {
    font-size: 1.3rem;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.actividad-content p {
    color: var(--color-gray);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.actividad-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.actividad-meta span {
    color: var(--color-gray);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.actividad-meta i {
    color: var(--color-primary);
}

/* ========================================
   CONTACTO 
   ======================================== */

.contacto-section {
    padding: 5rem 0;
}

.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contacto-info h2 {
    font-size: 2rem;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.contacto-info>p {
    color: var(--color-gray);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contacto-items {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contacto-item {
    display: flex;
    gap: 1.5rem;
}

.contacto-icon {
    width: 50px;
    height: 50px;
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contacto-text h3 {
    font-size: 1.2rem;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.contacto-text p {
    color: var(--color-gray);
    line-height: 1.6;
}

/* Formulario */
.contacto-form-wrapper {
    background-color: var(--color-gray-light);
    padding: 2.5rem;
    border-radius: 12px;
}

.contacto-form-wrapper h3 {
    font-size: 1.5rem;
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--color-text);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.btn-submit {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 0.9rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-submit:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
}

/* ========================================
   CORREOS INSTITUCIONALES 
   ======================================== */

.correos-section {
    padding: 5rem 0;
    background-color: var(--color-gray-light);
}

.correos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.correo-card {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.correo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.correo-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1.5rem;
}

.correo-card h3 {
    font-size: 1.2rem;
    color: var(--color-text);
    margin-bottom: 0.8rem;
}

.correo-card p {
    color: var(--color-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.correo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.correo-link:hover {
    gap: 0.8rem;
}

/* ========================================
   REDES CONTACTO 
   ======================================== */

.redes-contacto {
    padding: 4rem 0;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    color: var(--color-white);
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-btn.facebook {
    background-color: #1877f2;
}

.social-btn.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.social-btn i {
    font-size: 1.5rem;
}

/* ========================================
   MAPA 
   ======================================== */

.mapa-section {
    padding: 5rem 0;
    background-color: var(--color-gray-light);
}

.mapa-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.mapa-placeholder {
    background-color: var(--color-white);
    padding: 4rem;
    text-align: center;
    color: var(--color-gray);
}

.mapa-placeholder i {
    font-size: 4rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.mapa-placeholder p {
    margin-bottom: 0.5rem;
}

.mapa-instruccion {
    font-size: 0.9rem;
    color: var(--color-gray);
    max-width: 600px;
    margin: 1rem auto 0;
}

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

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--color-white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        display: none;
        gap: 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu li a {
        display: block;
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        background-color: var(--color-gray-light);
        margin-top: 0.5rem;
    }

    .hero-content,
    .content-wrapper,
    .movilidad-content,
    .contacto-grid {
        grid-template-columns: 1fr;
    }

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

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

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

    .sele-card {
        flex-direction: column;
        text-align: center;
    }

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

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

    .evento-item {
        flex-direction: column;
        text-align: center;
    }

    .info-box {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .logo-text h1 {
        font-size: 1rem;
    }

    .logo-text p {
        font-size: 0.75rem;
    }

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

    .propuesta-grid,
    .profile-grid,
    .formativas-grid,
    .estructura-grid,
    .correos-grid {
        grid-template-columns: 1fr;
    }

    .propuesta-grid-3,
    .numeros-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   NUEVAS SECCIONES 
   ======================================== */

.propuesta-destacada {
    padding: 5rem 0;
    background-color: var(--color-white);
}

.propuesta-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.propuesta-card-white {
    background-color: var(--color-white);
    padding: 2.5rem;
    border-radius: 12px;
    border: 2px solid var(--color-gray-light);
    text-align: center;
    transition: all 0.3s ease;
}

.propuesta-card-white:hover {
    border-color: var(--color-primary);
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(30, 64, 175, 0.15);
}

.card-icon-blue {
    width: 70px;
    height: 70px;
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.propuesta-card-white h3 {
    font-size: 1.3rem;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.propuesta-card-white p {
    color: var(--color-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.link-arrow {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.link-arrow:hover {
    color: var(--color-primary-dark);
    transform: translateX(5px);
}

/* ========================================
   SECCIÓN NÚMEROS - FONDO AZUL CLARO
   ======================================== */

.numeros-section {
    padding: 5rem 0;
    background-color: #e0f2fe;
}

.section-tag-white {
    display: inline-block;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title-white {
    font-size: 2.5rem;
    color: var(--color-text);
    margin-bottom: 1rem;
    font-weight: 700;
}

.numeros-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.numero-card {
    background-color: var(--color-white);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

.numero-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.numero-icon {
    width: 70px;
    height: 60px;
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1.5rem;
}

.numero-card h3 {
    font-size: 1.8rem;
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.numero-card p {
    color: var(--color-gray);
    font-size: 1rem;
    line-height: 1.7;
    flex-grow: 1;
}

@media (max-width: 768px) {
    .numeros-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .numero-card {
        min-height: auto;
    }
}



/* ========================================
   CONTACTOS - NUEVO DISEÑO 
   ======================================== */

.contactos-hero {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: var(--color-white);
    padding: 3rem 0;
    text-align: center;
}

.contactos-hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.contactos-hero p {
    font-size: 1.1rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

.contactos-content {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    padding: 3rem 0 5rem;
}

.contactos-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Columna de correos institucionales */
.correos-column h3 {
    color: var(--color-white);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.correos-column h3 i {
    font-size: 1.8rem;
}

.correo-item {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.correo-item:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.correo-item h4 {
    color: var(--color-white);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.correo-item .email {
    color: var(--color-white);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.correo-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Columna de redes sociales */
.redes-column h3 {
    color: var(--color-white);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.redes-column h3 i {
    font-size: 1.8rem;
}

.red-social-item {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.red-social-item:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.red-social-icon {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-white);
    flex-shrink: 0;
}

.red-social-icon.facebook {
    background-color: #1877f2;
}

.red-social-icon.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.red-social-info h4 {
    color: var(--color-white);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.red-social-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Información adicional */
.info-adicional-item {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.info-adicional-item h4 {
    color: var(--color-white);
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-adicional-item h4 i {
    font-size: 1.3rem;
}

.info-adicional-item p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    padding: 0 0 5rem;
}

.cta-box {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-box h3 {
    color: var(--color-white);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background-color: var(--color-white);
    color: var(--color-primary);
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.btn-cta i {
    font-size: 1.2rem;
}

/* ========================================
   RESPONSIVE - TABLETS (≤992px)
   ======================================== */
@media (max-width: 992px) {
    .contactos-hero {
        padding: 2.5rem 0;
    }

    .contactos-content {
        padding: 2.5rem 0 4rem;
    }

    .contactos-wrapper {
        gap: 2.5rem;
        padding: 0 30px;
    }

    .correo-item,
    .red-social-item,
    .info-adicional-item {
        padding: 1.25rem;
    }

    .cta-box {
        padding: 2.5rem;
        margin: 0 30px;
    }
}

/* ========================================
   RESPONSIVE - TABLETS PEQUEÑAS (≤768px)
   ======================================== */
@media (max-width: 768px) {
    .contactos-hero {
        padding: 2rem 0;
    }

    .contactos-content {
        padding: 2rem 0 3rem;
    }

    .contactos-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 20px;
    }

    .correos-column h3,
    .redes-column h3 {
        justify-content: center;
        text-align: center;
    }

    .correo-item:hover,
    .red-social-item:hover {
        transform: translateY(-3px);
    }

    .cta-section {
        padding: 0 0 3rem;
    }

    .cta-box {
        padding: 2rem;
        margin: 0 20px;
    }
}

/* ========================================
   RESPONSIVE - MÓVILES (≤576px)
   ======================================== */
@media (max-width: 576px) {
    .contactos-hero {
        padding: 1.75rem 0;
    }

    .contactos-hero h2 {
        padding: 0 15px;
        margin-bottom: 0.75rem;
    }

    .contactos-hero p {
        padding: 0 15px;
    }

    .contactos-content {
        padding: 1.75rem 0 2.5rem;
    }

    .contactos-wrapper {
        gap: 1.75rem;
        padding: 0 15px;
    }

    .correos-column h3,
    .redes-column h3 {
        margin-bottom: 1.5rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .correo-item,
    .red-social-item,
    .info-adicional-item {
        padding: 1.25rem;
        margin-bottom: 1.25rem;
    }

    .red-social-item {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .red-social-icon {
        width: 55px;
        height: 55px;
        font-size: 1.75rem;
    }

    .cta-section {
        padding: 0 0 2.5rem;
    }

    .cta-box {
        padding: 1.75rem;
        margin: 0 15px;
        border-radius: 12px;
    }

    .btn-cta {
        padding: 0.9rem 2rem;
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   RESPONSIVE - MÓVILES PEQUEÑOS (≤380px)
   ======================================== */
@media (max-width: 380px) {
    .contactos-hero {
        padding: 1.5rem 0;
    }

    .contactos-hero h2 {
        padding: 0 10px;
    }

    .contactos-hero p {
        padding: 0 10px;
    }

    .contactos-content {
        padding: 1.5rem 0 2rem;
    }

    .contactos-wrapper {
        padding: 0 10px;
    }

    .correo-item,
    .red-social-item,
    .info-adicional-item {
        padding: 1rem;
        border-radius: 10px;
    }

    .red-social-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .cta-box {
        padding: 1.5rem;
        margin: 0 10px;
    }

    .btn-cta {
        padding: 0.85rem 1.5rem;
        gap: 0.6rem;
    }
}

/* ========================================
   ACCESIBILIDAD Y OPTIMIZACIÓN
   ======================================== */

/* Deshabilitar animaciones para usuarios que lo prefieren */
@media (prefers-reduced-motion: reduce) {
    .correo-item,
    .red-social-item,
    .btn-cta {
        transition: none;
    }

    .correo-item:hover,
    .red-social-item:hover,
    .btn-cta:hover {
        transform: none;
    }
}

/* Mejoras para dispositivos táctiles */
@media (hover: none) and (pointer: coarse) {
    .correo-item:hover {
        transform: none;
        background-color: rgba(255, 255, 255, 0.1);
    }

    .correo-item:active {
        background-color: rgba(255, 255, 255, 0.2);
    }

    .red-social-item:hover {
        transform: none;
        background-color: rgba(255, 255, 255, 0.1);
    }

    .red-social-item:active {
        background-color: rgba(255, 255, 255, 0.2);
        transform: scale(0.98);
    }

    .btn-cta:hover {
        transform: none;
    }

    .btn-cta:active {
        transform: scale(0.97);
    }
}

/* Mejora de legibilidad en pantallas pequeñas */
@media (max-width: 576px) {
    .correo-item .email {
        font-size: 0.8rem;
    }

    .info-adicional-item p {
        line-height: 1.7;
    }
}

/* ========================================
   TRÁMITES 
   ======================================== */

.tramites-guia-section {
    padding: 5rem 0;
    background-color: var(--color-gray-light)
}

.guia-header {
    text-align: center;
    margin-bottom: 3rem;
}

.guia-header h2 {
    font-size: 2.2rem;
    color: var(--color-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Tabla de trámites */
.tabla-tramites {
    max-width: 1150px;
    margin: 0 auto;
    border: 1.8px solid black;
}

.paso-row {
    display: grid;
    grid-template-columns: 150px 1fr 250px;
    border: 1.8px solid black;
    margin-bottom: 0;   
}

.paso-row:first-child .paso-numero-col,
.paso-row:first-child .paso-descripcion-col,
.paso-row:first-child .paso-costo-col {
    background-color: #fbbf24; /* Amarillo/dorado */
    text-align: center;
    padding: 1.5rem;
}

.paso-columna {
    padding: 1rem 2rem;
    border-right: 1.8px solid black;
}

.paso-columna:last-child {
    border-right: none;
}

.paso-numero-col {
    background-color: var(--color-gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.paso-row:first-child .paso-columna {
    display: flex;
    align-items: center;
    justify-content: center;
}


.paso-row:first-child .paso-badge {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    line-height: 1.3;
    text-align: center;
    width: 100%;
}

.paso-badge {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    text-transform: uppercase;
    line-height: 1.3;
    text-align: center;
}

.paso-descripcion-col {
    background-color: var(--color-white);
}

.paso-descripcion-col h3 {
    font-size: 1.1rem;
    color: var(--color-text);
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    display: inline-block;
    border-bottom: 2px solid #1f2937    ; /* color y grosor de la línea */
    padding-bottom: 4px; /* separación entre texto y línea */
}

.paso-descripcion-col ol {
    margin: 0;
    padding-left: 1.5rem;
}

.paso-descripcion-col ol li {
    margin-bottom: 1.5rem;
    color: var(--color-dark-bg);
    line-height: 1.7;
}

.paso-descripcion-col ol li p {
    margin-bottom: 0.8rem;
}

.paso-descripcion-col ul {
    margin: 0.8rem 0;
    padding-left: 1.5rem;
    list-style: disc;
}

.paso-descripcion-col ul li {
    margin-bottom: 0.5rem;
    color: var(--color-dark-bg);
    line-height: 1.6;
}

.paso-descripcion-col ul ul {
    margin-top: 0.5rem;
    padding-left: 1.5rem;
}

.paso-costo-col {
    background-color: var(--color-white);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 2rem;
}

.costo-box {
    text-align: center;
    background-color: var(--color-white);
}

.costo-box .precio {
    font-size: 1.5rem;
    font-weight: 700;
    background-color: var(--color-white);
    margin-bottom: 1rem;
}

.costo-box .codigo {
    font-size: 0.85rem;
    background-color: var(--color-white);
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.costo-box .lugar {
    font-size: 0.85rem;
    background-color: var(--color-white);
    font-weight: 600;
}

.costo-box .interbank {
    width: 100%;
    padding-top: 2rem;
}

.costo-box .interbank img {
    width: 100%;
    max-width: 180px;
    height: 230px;
    display: block;
    margin: 0 auto;
}

.costo-box.gratuito {
    background-color: var(--color-white);
}

.costo-box.gratuito .precio {
    color: #1f2937;
    background-color: var(--color-white);
    padding: 5rem 1.5rem;
    display: inline-block;
}

.paso-row:has(.costo-box.gratuito) .paso-costo-col {
    background-color: var(--color-white);
}

/* Enlaces en pasos */
.link-documento {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--color-primary);
    text-decoration: underline;
    font-weight: 600;
    transition: all 0.3s ease;
}

.link-documento:hover {
    color: var(--color-primary-dark);
}

.email-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
}

.email-link:hover {
    text-decoration: underline;
}

.nota-importante {
    background-color: #fef3c7;
    border-left: 3px solid #f59e0b;
    padding: 0.8rem 1rem;
    border-radius: 4px;
    margin: 1rem 0;
    font-style: italic;
    font-size: 0.9rem;
    color: #92400e;
}

/* Nota final */
.nota-final-box {
    max-width: 1200px;
    margin: 2rem auto 3rem;
    padding: 2rem;
    background-color: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
}

.nota-final-box p {
    color: var(--color-gray);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.nota-final-box .ejemplo-archivo {
    margin-top: 1.5rem;
    color: var(--color-text);
}

.nota-final-box .ejemplo-nombre {
    background-color: var(--color-white);
    padding: 1rem;
    border-left: 4px solid var(--color-primary);
    border-radius: 4px;
    font-style: italic;
    color: var(--color-primary);
    font-weight: 600;
}

/* CTA Drive */
.cta-drive-box {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.3);
}

.cta-drive-box i.fa-folder-open {
    font-size: 3.5rem;
    color: var(--color-white);
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.cta-drive-box h3 {
    font-size: 2rem;
    color: var(--color-white);
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-drive-box p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.btn-drive-principal {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background-color: var(--color-white);
    color: var(--color-primary);
    padding: 1.2rem 3rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-drive-principal:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.btn-drive-principal i {
       font-size: 1.5rem;
}

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

/* Tablets grandes y laptops pequeñas (992px y menos) */
@media (max-width: 992px) {
    .tramites-guia-section {
        padding: 4rem 0;
    }

    .tabla-tramites {
        max-width: 95%;
    }

    .paso-row {
        grid-template-columns: 120px 1fr 220px;
    }

    .paso-columna {
        padding: 1.5rem 1rem;
    }

    .paso-badge {
        font-size: 0.9rem;
    }

    .paso-descripcion-col h3 {
        font-size: 1rem;
    }

    .paso-descripcion-col ol li {
        margin-bottom: 1.2rem;
        font-size: 0.95rem;
    }

    .costo-box .precio {
        font-size: 1.3rem;
    }

    .costo-box .codigo,
    .costo-box .lugar {
        font-size: 0.8rem;
    }

    .costo-box .interbank img {
        max-width: 150px;
        height: 200px;
    }

    .cta-drive-box {
        max-width: 90%;
        padding: 2.5rem;
    }
}

/* Tablets (768px y menos) */
@media (max-width: 768px) {
    .tramites-guia-section {
        padding: 3rem 0;
    }

    .guia-header {
        margin-bottom: 2rem;
    }

    .guia-header h2 {
        font-size: 1.8rem;
    }

    .tabla-tramites {
        max-width: 95%;
        border: none;
    }

    /* Cambiar a diseño de una sola columna */
    .paso-row {
        grid-template-columns: 1fr;
        margin-bottom: 2rem;
        border: 1.8px solid black;
        border-radius: 12px;
        overflow: hidden;
    }

    .paso-columna {
        border-right: none;
        border-bottom: 1.8px solid black;
        padding: 1.5rem;
    }

    .paso-columna:last-child {
        border-bottom: none;
    }

    /* Estilos para la fila de encabezado */
    .paso-row:first-child {
        border-radius: 12px;
    }

    .paso-row:first-child .paso-numero-col {
        border-top-left-radius: 12px;
        border-top-right-radius: 12px;
    }

    .paso-row:first-child .paso-costo-col {
        border-bottom-left-radius: 12px;
        border-bottom-right-radius: 12px;
    }

    /* Columna de número de paso */
    .paso-numero-col {
        padding: 1.2rem;
    }

    .paso-badge {
        font-size: 1.1rem;
    }

    /* Columna de descripción */
    .paso-descripcion-col {
        padding: 1.5rem;
    }

    .paso-descripcion-col h3 {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }

    .paso-descripcion-col ol {
        padding-left: 1.2rem;
    }

    .paso-descripcion-col ol li {
        margin-bottom: 1.2rem;
        font-size: 0.95rem;
    }

    .paso-descripcion-col ul {
        padding-left: 1.2rem;
    }

    /* Columna de costo */
    .paso-costo-col {
        padding: 1.5rem;
        align-items: center;
    }

    .costo-box .precio {
        font-size: 1.4rem;
    }

    .costo-box.gratuito .precio {
        padding: 2rem 1.5rem;
    }

    .costo-box .interbank {
        padding-top: 1.5rem;
    }

    .costo-box .interbank img {
        max-width: 200px;
        height: auto;
    }

    .nota-final-box {
        max-width: 95%;
        padding: 1.5rem;
        margin: 1.5rem auto 2rem;
    }

    .nota-final-box p {
        font-size: 0.95rem;
    }

    .cta-drive-box {
        max-width: 95%;
        padding: 2rem;
        margin: 0 auto;
    }

    .cta-drive-box i.fa-folder-open {
        font-size: 2.5rem;
    }

    .cta-drive-box h3 {
        font-size: 1.6rem;
    }

    .cta-drive-box p {
        font-size: 1rem;
    }

    .btn-drive-principal {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }
}

/* Móviles (480px y menos) */
@media (max-width: 480px) {
    .tramites-guia-section {
        padding: 2rem 0;
    }

    .guia-header {
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }

    .guia-header h2 {
        font-size: 1.4rem;
        letter-spacing: 0.5px;
    }

    .tabla-tramites {
        max-width: 98%;
    }

    .paso-row {
        margin-bottom: 1.5rem;
    }

    .paso-columna {
        padding: 1rem;
    }

    .paso-numero-col {
        padding: 1rem;
    }

    .paso-badge {
        font-size: 1rem;
    }

    /* Descripción */
    .paso-descripcion-col {
        padding: 1.2rem;
    }

    .paso-descripcion-col h3 {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .paso-descripcion-col ol {
        padding-left: 1rem;
    }

    .paso-descripcion-col ol li {
        margin-bottom: 1rem;
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .paso-descripcion-col ul {
        padding-left: 1rem;
        margin: 0.6rem 0;
    }

    .paso-descripcion-col ul li {
        margin-bottom: 0.4rem;
        font-size: 0.9rem;
    }

    /* Costo */
    .paso-costo-col {
        padding: 1.2rem;
    }

    .costo-box .precio {
        font-size: 1.2rem;
    }

    .costo-box.gratuito .precio {
        padding: 1.5rem 1rem;
        font-size: 1.3rem;
    }

    .costo-box .codigo,
    .costo-box .lugar {
        font-size: 0.75rem;
    }

    .costo-box .interbank {
        padding-top: 1rem;
    }

    .costo-box .interbank img {
        max-width: 150px;
    }

    /* Enlaces */
    .link-documento {
        font-size: 0.9rem;
    }

    .nota-importante {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
    }

    /* Nota final */
    .nota-final-box {
        max-width: 98%;
        padding: 1rem;
        margin: 1rem auto 1.5rem;
    }

    .nota-final-box p {
        font-size: 0.85rem;
        line-height: 1.6;
    }

    .nota-final-box .ejemplo-nombre {
        padding: 0.8rem;
        font-size: 0.85rem;
    }

    /* CTA Drive */
    .cta-drive-box {
        max-width: 98%;
        padding: 1.5rem;
    }

    .cta-drive-box i.fa-folder-open {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .cta-drive-box h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }

    .cta-drive-box p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .btn-drive-principal {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
        gap: 0.6rem;
    }

    .btn-drive-principal i {
        font-size: 1.2rem;
    }
}

/* Móviles muy pequeños (360px y menos) */
@media (max-width: 360px) {
    .guia-header h2 {
        font-size: 1.2rem;
    }

    .paso-columna {
        padding: 0.8rem;
    }

    .paso-descripcion-col h3 {
        font-size: 0.85rem;
    }

    .paso-descripcion-col ol li,
    .paso-descripcion-col ul li {
        font-size: 0.85rem;
    }

    .costo-box .precio {
        font-size: 1.1rem;
    }

    .costo-box.gratuito .precio {
        font-size: 1.2rem;
    }

    .btn-drive-principal {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media print {
    .header,
    .footer-dark,
    .page-banner,
    .cta-drive-box {
        display: none;
    }

    .paso-row {
        page-break-inside: avoid;
    }

    .tramites-guia-section {
        padding: 1rem 0;
    }

    .paso-columna {
        padding: 1rem;
    }

    .tabla-tramites {
        border: 1px solid black;
    }

    .paso-row {
        border: 1px solid black;
    }

    .paso-columna {
        border-right: 1px solid black;
    }
}

/* ========================================
   REQUISITOS INSCRIPCIÓN TESIS
   ======================================== */

.requisitos-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

/* Header con flechas */
.requisitos-header {
    text-align: center;
    margin-bottom: 4rem;
}

.arrow-container {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    padding: 1.5rem 3rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(30, 64, 175, 0.3);
}

.arrow-container h2 {
    color: var(--color-white);
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.arrow-left,
.arrow-right {
    color: var(--color-white);
    font-size: 2rem;
    animation: pulse 2s ease-in-out infinite;
}

.arrow-left {
    transform: rotate(180deg);
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

/*  requisitos */
.requisitos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.requisito-card {
    background-color: var(--color-white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
    display: flex;
    gap: 1.5rem;
}

.requisito-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(30, 64, 175, 0.15);
    border-color: var(--color-primary);
}

.requisito-number {
    position: absolute;
    top: -15px;
    left: 20px;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

.requisito-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 1rem;
}

.requisito-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: var(--color-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.requisito-content p {
    color: var(--color-gray);
    line-height: 1.7;
    margin: 0;
    font-size: 0.95rem;
}

.requisito-content p strong {
    color: var(--color-text);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

/*  información de pagos */
.pagos-info-box {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 40px rgba(30, 64, 175, 0.3);
    position: relative;
    overflow: hidden;
}

.pagos-info-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.pagos-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
}

.pagos-header i {
    font-size: 2.5rem;
    color: var(--color-white);
}

.pagos-header h3 {
    color: var(--color-white);
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pagos-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.pago-opcion {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.pago-opcion:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.pago-icon {
    width: 80px;
    height: 80px;
    background: var(--color-white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0.8rem;
}

.pago-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain; 
}

.pago-info h4 {
    color: var(--color-text);
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.pago-info p {
    color: var(--color-gray);
    margin-bottom: 0.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.cuenta-numero,
.cci-numero {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    color: var(--color-dark-bg) !important;
    font-size: 1.1rem !important;
}

.codigo {
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: #fef3c7;
    border-radius: 8px;

}

.codigo strong {
    color: var(--color-text);
}

/* Nota de presentación */
.nota-presentacion {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-left: 5px solid #f59e0b;
    border-radius: 12px;
    padding: 2rem 2.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

.nota-presentacion i {
    font-size: 2.5rem;
    color: #f59e0b;
    flex-shrink: 0;
}

.nota-presentacion p {
    color: #92400e;
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
}

/* Responsive */
/* Tablets grandes  */
@media (max-width: 992px) {
    .requisitos-section {
        padding: 4rem 1rem;
    }

    .requisitos-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .pagos-info-box {
        margin: 0 1rem 2rem;
        padding: 2.5rem 2rem;
    }

    .pagos-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .nota-presentacion {
        margin: 0 1rem;
        padding: 2rem;
    }
}

/* Tablets (768px y menos) */
@media (max-width: 768px) {
    .requisitos-section {
        padding: 3rem 1rem;
    }

    .requisitos-header {
        margin-bottom: 3rem;
        padding: 0 1rem;
    }

    .arrow-container {
        flex-direction: column;
        padding: 1.5rem 2rem;
        gap: 1rem;
        max-width: 90%;
        margin: 0 auto;
    }

    .arrow-container h2 {
        font-size: 1.5rem;
        text-align: center;
        line-height: 1.3;
    }

    .arrow-left,
    .arrow-right {
        display: none;
    }

    /* Requisitos Grid */
    .requisitos-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
    }

    .requisito-card {
        padding: 2rem 1.5rem;
    }

    .requisito-number {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
        top: -12px;
        left: 50%;
        transform: translateX(-50%);
    }

    .requisito-icon {
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
    }

    .requisito-content p {
        font-size: 0.9rem;
    }

    .requisito-content p strong {
        font-size: 1rem;
    }

    /* Pagos Info Box */
    .pagos-info-box {
        padding: 2rem 1.5rem;
        border-radius: 16px;
    }

    .pagos-header {
        flex-direction: column;
        gap: 0.8rem;
        margin-bottom: 2rem;
    }

    .pagos-header i {
        font-size: 2rem;
    }

    .pagos-header h3 {
        font-size: 1.4rem;
        text-align: center;
    }

    .pago-opcion {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.5rem;
    }

    .pago-icon {
        width: 70px;
        height: 70px;
    }

    .pago-info h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .pago-info p {
        font-size: 0.9rem;
    }

    .cuenta-numero,
    .cci-numero {
        font-size: 1rem !important;
        word-break: break-all;
    }

    .codigo {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }

    /* Nota Presentación */
    .nota-presentacion {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1rem;
    }

    .nota-presentacion i {
        font-size: 2rem;
    }

    .nota-presentacion p {
        font-size: 1rem;
    }
}

/* Móviles (480px y menos) */
@media (max-width: 480px) {
    .requisitos-section {
        padding: 2rem 0.5rem;
    }

    .requisitos-header {
        margin-bottom: 2rem;
    }

    .arrow-container {
        padding: 1.2rem 1.5rem;
        max-width: 95%;
    }

    .arrow-container h2 {
        font-size: 1.2rem;
        letter-spacing: 0.3px;
    }

    /* Requisitos Grid */
    .requisitos-grid {
        padding: 0 0.5rem;
        gap: 1.5rem;
    }

    .requisito-card {
        padding: 1.5rem 1rem;
        border-radius: 12px;
    }

    .requisito-number {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
        top: -10px;
    }

    .requisito-icon {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }

    .requisito-content {
        gap: 0.8rem;
        padding-top: 0.5rem;
    }

    .requisito-content p {
        font-size: 0.85rem;
        line-height: 1.6;
    }

    .requisito-content p strong {
        font-size: 0.95rem;
        margin-bottom: 0.4rem;
    }

    /* Pagos Info Box */
    .pagos-info-box {
        padding: 1.5rem 1rem;
        margin: 0 0.5rem 1.5rem;
        border-radius: 12px;
    }

    .pagos-header {
        margin-bottom: 1.5rem;
        gap: 0.6rem;
    }

    .pagos-header i {
        font-size: 1.8rem;
    }

    .pagos-header h3 {
        font-size: 1.1rem;
        line-height: 1.3;
    }

    .pagos-content {
        gap: 1rem;
    }

    .pago-opcion {
        padding: 1.2rem;
        border-radius: 12px;
    }

    .pago-icon {
        width: 60px;
        height: 60px;
        padding: 0.5rem;
    }

    .pago-info h4 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    .pago-info p {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }

    .cuenta-numero,
    .cci-numero {
        font-size: 0.9rem !important;
        letter-spacing: -0.5px;
    }

    .codigo {
        padding: 0.5rem 0.6rem;
        font-size: 0.85rem;
        margin-top: 0.4rem;
    }

    /* Nota Presentación */
    .nota-presentacion {
        padding: 1.2rem 1rem;
        margin: 0 0.5rem;
        border-radius: 10px;
    }

    .nota-presentacion i {
        font-size: 1.8rem;
    }

    .nota-presentacion p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
}

/* Móviles muy pequeños (360px y menos) */
@media (max-width: 360px) {
    .arrow-container h2 {
        font-size: 1.1rem;
    }

    .requisito-card {
        padding: 1.2rem 0.8rem;
    }

    .requisito-number {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .requisito-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .requisito-content p {
        font-size: 0.8rem;
    }

    .requisito-content p strong {
        font-size: 0.9rem;
    }

    .pagos-header h3 {
        font-size: 1rem;
    }

    .pago-icon {
        width: 55px;
        height: 55px;
    }

    .pago-info h4 {
        font-size: 0.95rem;
    }

    .pago-info p {
        font-size: 0.8rem;
    }

    .cuenta-numero,
    .cci-numero {
        font-size: 0.85rem !important;
    }

    .nota-presentacion p {
        font-size: 0.85rem;
    }
}

@media (max-height: 500px) and (orientation: landscape) {
    .requisitos-section {
        padding: 2rem 1rem;
    }

    .arrow-container {
        padding: 1rem 2rem;
    }

    .requisito-card {
        padding: 1.5rem;
    }

    .pagos-info-box {
        padding: 1.5rem;
    }

    .nota-presentacion {
        padding: 1rem;
    }
}

/* ========================================
   RECURSOS 
   ======================================== */

.recursos-container {
    padding: 3rem 0;
    background-color: var(--color-white);
}

/* Pestañas de navegación */
.tabs-navigation {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.tab-button {
    background-color: var(--color-white);
    border: 2px solid #e5e7eb;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tab-button:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.tab-button.active {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.tab-button i {
    font-size: 1.1rem;
}

/* Contenido de las pestañas */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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



/* Grid de tarjetas de docentes */
.docentes-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.docente-card-new {
    background-color: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.docente-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.docente-header {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    padding: 0;
    text-align: center;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.docente-avatar {
    width: 100%;
    height: 100%;
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    margin: 0;
}

.docente-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.docente-body {
    padding: 2rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.docente-body h3 {
    font-size: 1.2rem;
    color: var(--color-text);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.docente-body .especialidad {
    color: var(--color-gray);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.docente-body .email-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
}

.docente-body .email-link:hover {
    color: var(--color-primary-dark);
}

.docente-body .cv-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.docente-body .cv-link:hover {
    color: var(--color-primary-dark);
}

.btn-concytec {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background-color: #00457C; /* Azul institucional */
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color .3s, transform .3s;
}

.btn-concytec i {
    font-size: 18px;
}

.btn-concytec:hover {
    background-color: #0061b1;
    transform: translateY(-2px);
}

/* Biblioteca Virtual - Nuevo diseño */
.biblioteca-virtual-container {
    background-color: var(--color-white);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.biblioteca-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e5e7eb;
}

.biblioteca-icon {
    width: 60px;
    height: 60px;
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.biblioteca-title h2 {
    font-size: 1.8rem;
    color: var(--color-text);
    margin-bottom: 0.3rem;
    font-weight: 700;
}

.biblioteca-title p {
    color: var(--color-gray);
    font-size: 1rem;
}

.biblioteca-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.biblioteca-column h3 {
    font-size: 1.2rem;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.biblioteca-list {
    list-style: none;
}

.biblioteca-list li {
    color: var(--color-gray);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    line-height: 1.6;
}

.biblioteca-list i {
    color: var(--color-primary);
    font-size: 0.5rem;
}

.biblioteca-cta {
    text-align: center;
    padding-top: 2rem;
    border-top: 2px solid #e5e7eb;
}

.btn-biblioteca {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.btn-biblioteca:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 64, 175, 0.3);
}

.btn-biblioteca i {
    font-size: 1.2rem;
}

/* Responsive para recursos */
@media (max-width: 768px) {
    .tabs-navigation {
        flex-direction: column;
        align-items: stretch;
    }

    .tab-button {
        justify-content: center;
    }

    .docentes-grid-new {
        grid-template-columns: 1fr;
    }

    .biblioteca-virtual-container {
        padding: 2rem;
    }

    .biblioteca-content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .biblioteca-header {
        flex-direction: column;
        text-align: center;
    }
}

