/* ========================================
   ESTILOS BASE Y VARIABLES
   ======================================== */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-top: 0;
    margin: 0;
    overflow-x: hidden;
}

/* Colores Base CONREDES */
:root {
    --color-rojo: #FE0000;
    --color-amarillo: #FFFF00;
    --color-verde: #00AF50;
    --color-azul: #0071C1;
    --color-oscuro: #3F4447;
    --color-gris-claro: #E8E9EA;
}

/* ========================================
   NAVBAR - Diseño PowerPoint
   ======================================== */
.conredes-navbar {
    background-color: var(--color-oscuro) !important;
    padding: 1rem 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

    .conredes-navbar .navbar-brand {
        font-size: 1.1rem;
        color: white !important;
    }

    .conredes-navbar .nav-link {
        color: white !important;
        font-weight: 400;
        padding: 0.5rem 1rem;
        transition: color 0.3s ease;
    }

        .conredes-navbar .nav-link:hover {
            color: #FFB84D !important;
        }

/* ========================================
   HERO SECTION - Diseño PowerPoint Slide 1
   ======================================== */
.hero-nuevo {
    position: relative;
    min-height: 100vh;
    background: var(--color-gris-claro);
    overflow: hidden;
    padding-top: 80px;
}

/* Formas orgánicas de fondo */
.organic-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    z-index: 1;
}

.shape-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    left: -100px;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}

.shape-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: 20%;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

/* Contenedor principal del hero */
.hero-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    z-index: 2;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: calc(100vh - 80px);
    gap: 3rem;
}

/* Lado izquierdo - Texto */
.hero-text-section {
    flex: 1;
    max-width: 550px;
    z-index: 3;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #444;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-dots {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

    .hero-dots .dot {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: #CCC;
    }

        .hero-dots .dot.active {
            background: var(--color-rojo);
        }

.hero-description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-hero {
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-hero-green {
    background-color: var(--color-verde);
    color: white;
}

    .btn-hero-green:hover {
        background-color: #008f42;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 175, 80, 0.3);
    }

.btn-hero-blue {
    background-color: var(--color-azul);
    color: white;
}

    .btn-hero-blue:hover {
        background-color: #00599c;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 113, 193, 0.3);
    }

/* Lado derecho - Imagen con overlay */
.hero-image-section {
    flex: 1;
    position: relative;
    z-index: 3;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 500px;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

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

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.6) 0%, rgba(255, 69, 0, 0.7) 100%);
    mix-blend-mode: multiply;
}

/* ========================================
   MISIÓN Y VISIÓN - Diseño PowerPoint Slide 2
   ======================================== */
.mision-vision-nuevo {
    position: relative;
    min-height: 70vh;
    overflow: hidden;
    background-color: var(--color-gris-claro);
}

.mv-container {
    position: relative;
    display: flex;
    width: 100%;
    min-height: 70vh;
}

.mv-lado {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 3rem;
}

/* Lado izquierdo - MISIÓN (gris claro) */
.mv-lado-mision {
    background-color: var(--color-gris-claro);
    z-index: 1;
}

    .mv-lado-mision .mv-titulo {
        color: #333;
    }

    .mv-lado-mision .mv-texto {
        color: #555;
    }

/* Lado derecho - VISIÓN (verde con imagen) */
.mv-lado-vision {
    background-color: var(--color-verde);
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 10% 100%);
    margin-left: -30%;
    z-index: 2;
}

.mv-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../Content/prog/mision.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 1;
}

.mv-overlay-verde {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 175, 80, 0.85) 0%, rgba(154, 205, 50, 0.75) 100%);
    mix-blend-mode: multiply;
    z-index: 2;
}

.mv-lado-vision .mv-titulo,
.mv-lado-vision .mv-texto {
    color: white;
    position: relative;
    z-index: 10;
}

/* Contenido de Misión y Visión */
.mv-content-wrapper {
    max-width: 500px;
    position: relative;
    z-index: 10;
}

.mv-lado-mision .mv-content-wrapper {
    padding-right: 8%;
}

.mv-lado-vision .mv-content-wrapper {
    padding-left: 25%;
}

.mv-titulo {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.mv-texto {
    font-size: 1.1rem;
    line-height: 1.7;
}

/* ========================================
   MODELO OPERATIVO - Grid 2x2 con Degradados (Slide 3)
   ======================================== */
.servicios-section {
    background: var(--color-gris-claro);
    padding: 4rem 0;
}

/* Liderazgo - Presidencia y Dirección */
.liderazgo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto 3rem;
}

.liderazgo-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

    .liderazgo-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg, var(--color-azul), var(--color-verde));
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .liderazgo-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
        border-color: var(--color-azul);
    }

        .liderazgo-card:hover::before {
            opacity: 1;
        }

.liderazgo-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--color-azul), #00599c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 113, 193, 0.3);
}

    .liderazgo-icon i {
        font-size: 2rem;
        color: white;
    }

.liderazgo-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-verde);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.liderazgo-nombre {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin: 0;
}

/* Grid de comités */
.servicios-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.servicio-card {
    position: relative;
    height: 300px;
    border-radius: 50px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Degradados según el PowerPoint */
.gradient-purple-pink {
    background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
}

.gradient-orange-red {
    background: linear-gradient(135deg, #F59E0B 0%, #EF4444 100%);
}

.gradient-green-yellow {
    background: linear-gradient(135deg, #10B981 0%, #EAB308 100%);
}

.gradient-cyan-blue {
    background: linear-gradient(135deg, #06B6D4 0%, #3B82F6 100%);
}

.servicio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    mix-blend-mode: overlay;
    z-index: 1;
}

/* magenes para comites */
.servicio-card:nth-child(1) .servicio-overlay {
    background-image: url('../Content/prog/practicas.jpg');
}

.servicio-card:nth-child(2) .servicio-overlay {
    background-image: url('../Content/prog/curricular.jpg');
}

.servicio-card:nth-child(3) .servicio-overlay {
    background-image: url('../Content/prog/visitas.jpeg');
}

.servicio-card:nth-child(4) .servicio-overlay {
    background-image: url('../Content/prog/educacion.jpg');
}

.servicio-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

    .servicio-content h3 {
        color: white;
        font-size: 2rem;
        font-weight: 700;
        text-align: center;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }

/* Responsive para Liderazgo */
@media (max-width: 768px) {
    .liderazgo-grid {
        grid-template-columns: 1fr;
    }

    .liderazgo-nombre {
        font-size: 1.5rem;
    }
}

/* ========================================
   FOOTER
   ======================================== */
.conredes-footer {
    background-color: #000628;
    color: white;
}

/* ========================================
   COLORES Y UTILIDADES
   ======================================== */
.bg-red {
    background-color: var(--color-rojo);
}

.bg-yellow {
    background-color: var(--color-amarillo);
}

.bg-green {
    background-color: var(--color-verde);
}

.bg-blue {
    background-color: var(--color-azul);
}

.text-red {
    color: var(--color-rojo);
}

.text-yellow {
    color: var(--color-amarillo);
}

.text-green {
    color: var(--color-verde);
}

.text-blue {
    color: var(--color-azul);
}

/* Divisor multicolor */
.divider-multicolor {
    height: 6px;
    background: linear-gradient(to right, var(--color-rojo) 0%, var(--color-amarillo) 25%, var(--color-verde) 50%, var(--color-azul) 75%, #000628 100% );
    border-radius: 3px;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text-section {
        max-width: 100%;
    }

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

    .hero-buttons {
        justify-content: center;
    }

    .hero-image-wrapper {
        max-width: 400px;
        height: 400px;
    }

    .mv-container {
        flex-direction: column;
    }

    .mv-lado-mision,
    .mv-lado-vision {
        clip-path: none;
        margin-left: 0;
    }

    .mv-titulo {
        font-size: 2rem;
    }

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

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .servicio-content h3 {
        font-size: 1.5rem;
    }
}

/* ========================================
   ESTILOS ADICIONALES DEL SITIO ORIGINAL
   (Mantener compatibilidad con otras secciones)
   ======================================== */

/* Seccion CONREDES */
.que-es-conredes {
    background: #f8f9fa;
}

.section-title {
    font-weight: 700;
    position: relative;
    display: inline-block;
}

    .section-title::after {
        content: "";
        position: absolute;
        bottom: -8px;
        left: 0;
        width: 60%;
        height: 4px;
        background: #0071C1;
        border-radius: 4px;
        animation: underline 1.2s ease-out forwards;
    }

.section-title-green::after {
    background: #00AF50;
}

.section-title-red::after {
    background: #FE0000;
}

.section-title-yellow::after {
    background: #FFFF00;
}

.section-title-white {
    color: #ffffff;
}

    .section-title-white::after {
        background: #FFFF;
    }

@keyframes underline {
    from {
        width: 0;
    }

    to {
        width: 60%;
    }
}

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

.conredes-card {
    background: white;
    padding: 2rem;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    transition: transform .3s ease, box-shadow .3s ease;
    text-align: left;
}

    .conredes-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    }

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

/* Resto de estilos originales para compatibilidad */
.icon {
    font-size: 2.4rem;
    margin-bottom: 1rem;
}

.circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin: 0 auto 10px;
}

/* ========================================
   SECCIÓN CIFRAS - Diseño Moderno
   ======================================== */
.cifras-nuevo {
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
    padding: 4rem 0;
}

/* Formas orgánicas de fondo para Cifras */
.cifras-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    z-index: 0;
}

    .cifras-shape.shape-1 {
        width: 400px;
        height: 400px;
        background: var(--color-azul);
        top: -100px;
        right: -100px;
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }

    .cifras-shape.shape-2 {
        width: 300px;
        height: 300px;
        background: var(--color-verde);
        bottom: -80px;
        left: 10%;
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }

    .cifras-shape.shape-3 {
        width: 250px;
        height: 250px;
        background: var(--color-rojo);
        top: 50%;
        right: 15%;
        border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
    }

/* Grid de cifras */
.cifras-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

/* Tarjetas individuales */
.cifra-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .cifra-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg, transparent, currentColor, transparent);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .cifra-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    }

        .cifra-card:hover::before {
            opacity: 1;
        }

/* Colores para cada tarjeta */
.cifra-azul {
    color: var(--color-azul);
}

.cifra-verde {
    color: var(--color-verde);
}

.cifra-amarillo {
    color: #F59E0B;
}

.cifra-rojo {
    color: var(--color-rojo);
}

/* Ícono de la tarjeta */
.cifra-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: currentColor;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.1;
    transition: all 0.3s ease;
}

.cifra-card:hover .cifra-icon {
    opacity: 0.15;
    transform: scale(1.1);
}

.cifra-icon i {
    font-size: 2rem;
    color: white;
    opacity: 1;
}

/* Número contador */
.cifra-numero {
    font-size: 3rem;
    font-weight: 700;
    color: currentColor;
    margin-bottom: 0.5rem;
    line-height: 1;
}

/* Texto descriptivo */
.cifra-texto {
    font-size: 1rem;
    color: #666;
    margin: 0;
    font-weight: 500;
}

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

@media (max-width: 576px) {
    .cifras-grid {
        grid-template-columns: 1fr;
    }

    .cifra-numero {
        font-size: 2.5rem;
    }
}

/* Mantener compatibilidad con contador antiguo */
.counter {
    font-weight: bold;
}

/* ========================================
   SECCIÓN PROGRAMAS - Diseño Moderno
   ======================================== */
.programas-nuevo {
    position: relative;
    background: linear-gradient(135deg, var(--color-azul) 0%, #005a9e 100%);
    overflow: hidden;
    padding: 4rem 0;
}

/* Formas orgánicas para Programas */
.programas-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    z-index: 0;
}

    .programas-shape.shape-1 {
        width: 500px;
        height: 500px;
        top: -150px;
        right: -100px;
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }

    .programas-shape.shape-2 {
        width: 350px;
        height: 350px;
        bottom: -100px;
        left: 5%;
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }

/* Grid de programas */
.programas-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

/* Tarjeta de programa */
.programa-card {
    background: white;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

    .programa-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    }

/* Header del programa */
.programa-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.programa-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--color-azul), #00599c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .programa-icon i {
        font-size: 2.5rem;
        color: white;
    }

.programa-titulo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-azul);
    margin-bottom: 0.5rem;
}

.programa-subtitulo {
    font-size: 1rem;
    color: var(--color-verde);
    font-weight: 600;
    margin: 0;
}

.programa-descripcion {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Carrusel dentro de la tarjeta */
.programa-carousel {
    border-radius: 16px;
    overflow: hidden;
}

    .programa-carousel img {
        border-radius: 16px;
        height: 300px;
        object-fit: cover;
    }

/* ========================================
   SECCIÓN UNIVERSIDADES - Diseño Moderno
   ======================================== */
.universidades-nuevo {
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    overflow: hidden;
    padding: 4rem 0;
}

/* Formas orgánicas para Universidades */
.universidades-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    z-index: 0;
}

    .universidades-shape.shape-1 {
        width: 400px;
        height: 400px;
        background: var(--color-verde);
        top: -100px;
        left: -100px;
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }

    .universidades-shape.shape-2 {
        width: 300px;
        height: 300px;
        background: var(--color-azul);
        bottom: -80px;
        right: 10%;
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }

/* Grid de universidades */
.universidades-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

/* Tarjeta de universidad */
.universidad-card {
    background: white;
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

    .universidad-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
        border-color: var(--color-azul);
    }

.universidad-logo-wrapper {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.universidad-logo {
    max-height: 80px;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.universidad-card:hover .universidad-logo {
    transform: scale(1.1);
}

.universidad-nombre {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.4;
}

/* ========================================
   SECCIÓN EMPRESAS - Diseño Moderno
   ======================================== */
.empresas-nuevo {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    overflow: hidden;
    padding: 4rem 0;
}

/* Formas orgánicas para Empresas */
.empresas-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.06;
    z-index: 0;
}

    .empresas-shape.shape-1 {
        width: 450px;
        height: 450px;
        background: var(--color-rojo);
        top: -120px;
        right: -120px;
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }

    .empresas-shape.shape-2 {
        width: 350px;
        height: 350px;
        background: var(--color-amarillo);
        bottom: -100px;
        left: 8%;
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }

    .empresas-shape.shape-3 {
        width: 280px;
        height: 280px;
        background: var(--color-verde);
        top: 40%;
        left: 50%;
        border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
    }

/* Grid de empresas */
.empresas-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

/* Tarjeta de empresa */
.empresa-card-nuevo {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .empresa-card-nuevo:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
        border-color: var(--color-azul);
    }

.empresa-logo-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .empresa-logo-wrapper img {
        max-width: 90%;
        max-height: 90%;
        object-fit: contain;
        transition: transform 0.3s ease;
        filter: grayscale(30%);
    }

.empresa-card-nuevo:hover .empresa-logo-wrapper img {
    transform: scale(1.08);
    filter: grayscale(0%);
}

/* ========================================
   RESPONSIVE DESIGN PARA LAS 3 SECCIONES
   ======================================== */

/* Programas */
@media (max-width: 992px) {
    .programas-grid {
        grid-template-columns: 1fr;
    }
}

/* Universidades */
@media (max-width: 1200px) {
    .universidades-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .universidades-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .universidades-grid {
        grid-template-columns: 1fr;
    }
}

/* Empresas */
@media (max-width: 1400px) {
    .empresas-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .empresas-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .empresas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .empresas-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .empresa-card-nuevo {
        padding: 1rem;
    }
}
