 /* ====================================================== */
        /* ESTILOS GENERALES                                    */
        /* ====================================================== */
        :root {
            --primary-green: #2a6f47;
            --light-green-bg: #f3f9f4;
            --background-color: #f0f2f5;
            --card-background: #ffffff;
            --text-color: #555;
            --heading-color: #1a432b;
            --border-color: #e9ecef;
            --shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
        }

        body {
            background-color: var(--background-color);
            scroll-behavior: smooth;
            font-family: 'Poppins', sans-serif;
            color: var(--text-color);
        }

        /* ====================================================== */
        /*          HEADER Y FOOTER                             */
        /* ====================================================== */
        #header {
            position: sticky; top: 0; width: 100%; z-index: 1000;
            background-color: transparent; min-height: 90px;
            display: content; align-items: center; transition: background-color 0.3s ease;
        }
        #header.shrink { background-color: #ffffff; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
        #header .main-nav { width: 100%; transition: all 0.3s ease; }
        #header .logo img { max-height: 70px; transition: max-height 0.3s ease; }
        #header.shrink .logo img { max-height: 50px; }


        /* ====================================================== */
        /*      ESTILO REUTILIZABLE PARA BANNERS DE IMAGEN        */
        /* ====================================================== */
        .image-banner {
            position: relative;
            padding: 100px 2rem;
            text-align: center;
            color: white;
            background-size: cover;
            background-position: center center;
            overflow: hidden; 
        }

        .image-banner::before { 
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
        }

        .image-banner .banner-content {
            position: relative;
            z-index: 2;
            animation: fadeInDown 1s ease-out;
            max-width: 900px;
            margin: 0 auto;
        }

        .image-banner .banner-title {
            font-size: 2.8rem;
            font-weight: 700;
            text-transform: uppercase;
            margin-bottom: 0.5rem;
            position: relative;
            display: inline-block;
            padding-bottom: 1rem;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }
        
        .image-banner .banner-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 4px;
            background-color: var(--accent-orange);
        }

        .image-banner .banner-subtitle {
            font-size: 1.2rem;
            font-weight: 400;
            line-height: 1.7;
            text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
        }
        
        

        /* Estilos para el video de fondo */
        #hero-video {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            min-width: 100%;
            min-height: 100%;
            width: auto;
            height: auto;
            z-index: 0; 
            object-fit: cover;
            filter: brightness(0.4);
        }


        .container-main {
            max-width: 1200px; margin: 2rem auto;
            padding: 0 1rem; 
            position: relative; z-index: 10; background-color: transparent;
        }
        
        /* ================================================================= */
        /* --- ESTILOS PARA LA SECCIÓN "SOBRE NOSOTROS" --- */
        /* ================================================================= */
        
        #institute-intro {
            background-color: var(--card-background);
            border-radius: 16px;
            box-shadow: var(--shadow);
            padding: 2.5rem;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            margin-top: 4rem; 
            margin-bottom: 4rem;
        }

        #institute-intro:hover {
            transform: translateY(-5px);
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
        }

        .institute-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            align-items: center;
            gap: 2.5rem;
        }

        .institute-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 12px;
        }

        .institute-text .tag {
            display: inline-block;
            background-color: var(--light-green-bg);
            color: var(--primary-green);
            padding: 8px 16px;
            border-radius: 50px;
            font-weight: 500;
            margin-bottom: 1rem;
        }
        
        .institute-text .tag i { margin-right: 8px; }
        .institute-text p { line-height: 1.8; margin-bottom: 2rem; text-align: justify; }

        .institute-contact {
            background-color: var(--card-background);
            padding: 1rem; border-radius: 12px;
            display: flex; align-items: center; gap: 1rem;
            border: 1px solid var(--border-color);
        }

        .institute-contact .icon-wrapper {
            background-color: var(--primary-green);
            color: white; min-width: 45px; height: 45px;
            border-radius: 50%; display: flex;
            align-items: center; justify-content: center;
            font-size: 1.2rem;
        }

        .institute-contact .contact-info span {
            display: block; font-weight: 600;
            color: var(--heading-color); font-size: 1rem; line-height: 1.2;
        }

        .institute-contact .contact-info a {
            color: var(--text-color); text-decoration: none;
            transition: color 0.3s ease; font-size: 0.95rem;
        }
        .institute-contact .contact-info a:hover { color: var(--primary-green); }

    
        /* ---  CSS del Título de Sección --- */
        .section-title {
            text-align: center;
            font-size: 2.5rem;
            color: var(--heading-color);
            margin-bottom: 3rem;
            font-weight: 700;
            position: relative;
            display: block;
            width: fit-content;
            margin-left: auto;
            margin-right: auto;
            padding-bottom: 0.5rem;
        }
        
        .section-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 4px;
            background-color: var(--accent-orange);
        }

        .mision-vision-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 2rem;
        }

        .mv-card {
            background-color: var(--card-background);
            border-radius: 16px;
            box-shadow: var(--shadow);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            overflow: hidden; 
        }

        .mv-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
        }
        
        .mv-card .card-content {
            padding: 1.5rem 2rem;
        }
        
        .mv-card p {
            line-height: 1.7;
            font-size: 1rem;
            text-align: justify;
        }

        /* --- INICIO: ESTILOS PARA IMAGEN Y EFECTO ZOOM --- */
        .mv-image-container {
            width: 100%;
            height: 250px;
            position: relative;
            transition: transform 0.4s ease-in-out;
        }
        
        .mv-card:hover .mv-image-container {
            transform: scale(1.1);
        }

        .mv-image-container img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /* --- Capa superpuesta con título e icono --- */
        .mv-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            background-color: rgba(0, 0, 0, 0.1);
            color: white;
            transition: background-color 0.4s ease-in-out;
            text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
        }

        .mv-card:hover .mv-overlay {
            background-color: rgba(0, 0, 0, 0.6);
        }
        
        .mv-overlay .icon {
            font-size: 2.5rem;
            margin-bottom: 0.5rem;
        }

        .mv-overlay h3 {
            font-size: 2rem;
            font-weight: 700;
            text-transform: uppercase;
            margin: 0;
        }
        /* --- FIN: ESTILOS PARA IMAGEN Y EFECTO ZOOM --- */
        
        
        /* ====================================================== */
        /*              ADAPTACIÓN PARA MÓVILES                 */
        /* ====================================================== */
        @media (max-width: 900px) {
            .image-banner .banner-title { font-size: 2rem; }
            .image-banner .banner-subtitle { font-size: 1.1rem; }
            .institute-grid { grid-template-columns: 1fr; } 
            
            /* Ajustar contadores para tablets */
            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 3rem;
            }
        }

        @media (max-width: 768px) {
            /* Apilar las cards de misión y visión en móviles */
            .mision-vision-grid {
                grid-template-columns: 1fr;
            }
        }
        
        @media (max-width: 500px) {
            /* Apilar contadores para móviles pequeños */
             .stats-grid {
                grid-template-columns: 1fr;
            }
        }

        /* Keyframes */
        @keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }

        /* ===== CÓDIGO A AÑADIR (CSS) ===== */

        /* Estilos para el botón de Scroll-to-Top */
        .scroll-top-btn {
            position: fixed;
            bottom: 25px;
            right: 25px;
            width: 50px;
            height: 50px;
            background-color: var(--primary-green);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            text-decoration: none;
            z-index: 999;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        }

        .scroll-top-btn.show {
            opacity: 1;
            visibility: visible;
        }

        .scroll-top-btn:hover {
            background-color: var(--accent-orange);
            transform: translateY(-5px);
        }

        /* ================================================================= */

        .container-main {
            max-width: 1200px; margin: 2rem auto;
            padding: 0 1rem; 
            position: relative; z-index: 10; background-color: transparent;
        }
        /* Estilos para el botón de Scroll-to-Top */
        .scroll-top-btn {
            position: fixed;
            bottom: 25px;
            right: 25px;
            width: 50px;
            height: 50px;
            background-color: var(--primary-green);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            text-decoration: none;
            z-index: 999;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        }

        .scroll-top-btn.show {
            opacity: 1;
            visibility: visible;
        }

        .scroll-top-btn:hover {
            background-color: var(--accent-orange);
            transform: translateY(-5px);
        }
        
        @media (max-width: 900px) {
            #main-nav-links.active {
                /* 1. Activa el scroll dentro del menú */
                overflow-y: auto; 
                
                /* "Altura de la pantalla menos la altura de tu cabecera" */
                max-height: calc(100vh - 90px); 
                
                overscroll-behavior: contain; 
            }
        }
        html {
        scroll-padding-top: 300px; /* Ajusta este valor a la altura de tu cabecera + un pequeño margen */
    }
    
        /* ====================================================== */
        /* ---   ESTILOS PARA LA INTERFAZ DE PESTAÑAS PRINCIPALES  --- */
        /* (del segundo snippet)                                  */
        /* ====================================================== */
        .tabs-navigation {
            display: flex;
            flex-wrap: wrap; /* Permite que los botones se envuelvan en pantallas pequeñas */
            gap: 1rem; /* Reducido para mejor compactación si hay muchos tabs */
            border-bottom: 1px solid var(--border-color);
            margin-bottom: 2.5rem;
        }
        .tab-button {
            border: none;
            background-color: transparent;
            padding: 1rem 0;
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--text-color);
            cursor: pointer;
            position: relative;
            transition: color 0.3s ease;
            white-space: nowrap; /* Evita que el texto de los botones se rompa */
        }
        .tab-button::after {
            content: '';
            position: absolute;
            bottom: -1px;
            left: 0;
            width: 100%;
            height: 3px;
            background-color: var(--primary-green);
            transform: scaleX(0);
            transition: transform 0.3s ease-in-out;
        }
        .tab-button.active {
            color: var(--primary-green);
        }
        .tab-button.active::after {
            transform: scaleX(1);
        }
        .tab-pane {
            display: none;
            animation: fadeIn 0.5s ease;
        }
        .tab-pane.active {
            display: block;
        }

        /* ====================================================== */
        /* ---   ESTILOS PARA LAS PÍLDORAS INTERNAS    ---      */
        /* (del segundo snippet, adaptado para la navegación interna de la carrera) */
        /* ====================================================== */
        .pill-navigation {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
            background-color: var(--light-green-bg);
            padding: 0.5rem;
            border-radius: 50px;
            margin-bottom: 2.5rem;
            max-width: max-content;
        }
        .pill-button {
            border: none;
            background-color: transparent;
            padding: 0.7rem 1.4rem;
            font-size: 0.95rem;
            font-weight: 600;
            color: var(--heading-color);
            cursor: pointer;
            border-radius: 50px;
            transition: all 0.3s ease;
        }
        .pill-button.active {
            background-color: var(--primary-green);
            color: white;
            box-shadow: 0 4px 12px rgba(42, 111, 71, 0.3);
        }
        .pill-pane {
            display: none;
            animation: fadeIn 0.5s ease;
        }
        .pill-pane.active {
            display: block;
        }

        /* Estilos para el contenido dentro de las pestañas/píldoras */
        .tab-pane h3, .pill-pane h3 {
            font-size: 2.2rem;
            color: var(--heading-color);
            margin-bottom: 1.5rem;
            border-left: 5px solid var(--accent-orange);
            padding-left: 15px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .tab-pane h3 i, .pill-pane h3 i {
            color: var(--accent-orange);
            font-size: 1.8rem;
        }
        .tab-pane p, .pill-pane p {
            font-size: 1rem;
            line-height: 1.7;
            margin-bottom: 1.5rem;
            color: var(--text-color);
        }

        /* ====================================================== */
        /* ESTILOS PARA TABLAS MODERNAS (ADAPTADOS DE GRAD-SCHOOL) */
        /* ====================================================== */
        .table-modern {
            width: 100%; border-collapse: collapse; margin-top: 20px; font-size: 16px;
            background-color: var(--card-background); /* Asegura que la tabla tenga fondo blanco */
            border-radius: 8px; /* Bordes redondeados para la tabla */
            overflow: hidden; /* Asegura que los bordes redondeados se vean bien */
            box-shadow: var(--shadow-light); /* Sombra ligera para la tabla */
        }
        .table-modern tr {
            border-bottom: 1px solid var(--border-color); transition: background-color 0.2s ease-in-out;
        }
        .table-modern tr:last-child {
            border-bottom: none;
        }
        .table-modern tr:not(.header-row):hover {
            background-color: var(--light-green-bg); /* Hover con el verde claro */
        }
        .table-modern td {
            padding: 15px 15px; vertical-align: top; color: var(--text-color); line-height: 1.6;
        }
        .table-modern .header-row td {
            background-color: var(--light-green-bg); /* Fondo de cabecera verde claro */
            font-weight: bold; font-size: 1.6rem; color: var(--heading-color); /* Color de título */
            padding: 20px 15px; /* Más padding para la cabecera */
        }
        .table-modern .header-row .icon-cell {
            color: var(--accent-orange); /* Icono con color naranja */
        }
        .table-modern .icon-cell {
            width: 60px; text-align: center; font-size: 1.6rem;
            color: var(--primary-green); /* Iconos de filas con verde principal */
        }
        .table-modern .label-cell {
            background-color: var(--light-green-bg); /* Fondo para la columna de etiquetas */
            font-weight: 600; width: 30%; color: var(--heading-color);
            border-right: 1px solid var(--border-color); /* Separador visual */
        }
        /* Ajuste para listas dentro de las tablas */
        .table-modern ul {
            padding-left: 20px;
            margin: 0;
        }
        .table-modern ul li {
            margin-bottom: 8px;
        }

        /* Estilos para el botón de descarga dentro de las tablas */
        .btn-download-info {
            display: inline-flex;
            align-items: center;
            background-color: var(--primary-green); /* Color principal del diseño */
            color: white;
            padding: 10px 20px;
            border-radius: 8px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            box-shadow: 0 4px 12px rgba(42, 111, 71, 0.3);
        }
        .btn-download-info:hover {
            background-color: var(--accent-orange); /* Naranja al hacer hover */
            transform: translateY(-3px);
            box-shadow: 0 6px 15px rgba(247, 159, 27, 0.4);
            color: white; /* Asegura que el texto siga siendo blanco */
        }
        .btn-download-info i {
            margin-right: 10px;
            font-size: 1.2rem;
        }

        /* Botón Subir */
        .btn-go-up {
            display: inline-flex;
            align-items: center;
            background-color: var(--accent-orange);
            color: white;
            padding: 10px 20px;
            border-radius: 8px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            margin-top: 2rem;
            box-shadow: 0 4px 12px rgba(247, 159, 27, 0.3);
        }
        .btn-go-up:hover {
            background-color: var(--primary-green);
            transform: translateY(-3px);
            box-shadow: 0 6px 15px rgba(42, 111, 71, 0.4);
            color: white;
        }
        .btn-go-up i {
            margin-right: 10px;
            font-size: 1.2rem;
        }
        @media (max-width: 768px) {
    .btn-download-info {
        display: flex;       /* Ayuda a centrar el contenido */
        width: 100%;         /* Hace que el botón ocupe todo el ancho disponible */
        margin-bottom: 15px; /* AQUÍ ESTÁ EL ESPACIO QUE NECESITAS */
        justify-content: center; /* Centra el texto e icono dentro del botón */
        box-sizing: border-box;  /* Evita que el padding rompa el diseño */
    }

    /* Opcional: Quitar el margen al último botón para que no empuje lo de abajo */
    .btn-download-info:last-child {
        margin-bottom: 0;
    }
}
/* AGREGA ESTO AL FINAL DE TU CSS */

@media (max-width: 768px) {
    .pill-navigation {
        display: grid;
        grid-template-columns: 1fr 1fr; /* Dos columnas iguales */
        gap: 10px;
        padding: 0;
        background-color: transparent;
    }

    .pill-button {
        width: 100%;
        text-align: center;
        background-color: white;
        border: 1px solid var(--border-color);
        padding: 15px 10px;
        border-radius: 12px;
        font-size: 0.85rem;
        /* Sombra suave */
        box-shadow: 0 4px 6px rgba(0,0,0,0.05);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

    /* Estilo para el activo */
    .pill-button.active {
        background-color: var(--primary-green);
        color: white;
        border-color: var(--primary-green);
        transform: scale(1.02);
    }

    
}


 
 /* Lo envía al fondo------------------------------------------- */
 
 
#hero-conocenos {
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Lo envía al fondo */
    align-items: flex-start;   /* Lo envía a la izquierda */
    text-align: left;          /* Alinea el texto a la izquierda */
    padding-bottom: 80px;      /* Espacio desde el borde inferior */
    padding-left: 5%;          /* Margen desde el borde izquierdo */
    min-height: 500px;         /* Altura mínima para asegurar que se vea bien */
}
 
/* 2. Quitamos el margen automático que lo centraba */
#hero-conocenos .banner-content {
    margin: 0;
    width: 100%;
    margin-left: 280px;
    max-width: 900px;
}
@media (max-width: 1500px) {
    #hero-conocenos .banner-content {
        margin-left: 0; /* En celular vuelve a 0 para que no se salga de la pantalla */
    }
}
 
@media (max-width: 768px) {
    #hero-conocenos {
        /* 2. Altura para CELULAR (Más pequeña) */
        min-height: 60px;
       
        /* Opcional: Reducir el relleno de abajo también en celular */
        padding-bottom: 40px;
        padding-left: 20px; /* Ajuste para que no quede muy al borde en cel */
    }
 
    /* Aquí va lo que vimos antes para quitar el margen izquierdo en celular */
    #hero-conocenos .banner-content {
        margin-left: 0;
    }
}
/* 3. Movemos la línea naranja decorativa a la izquierda */
#hero-conocenos .banner-title::after {
    left: 0;
    transform: none; /* Quitamos el cálculo que la centraba */
}
 
/* 4. Ajustes para celulares para que no se pegue al borde */
@media (max-width: 768px) {
    #hero-conocenos {
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 60px;
        align-items: flex-start; /* Asegura izquierda en móviles también */
    }
   
    #hero-conocenos .banner-title {
        font-size: 1.2rem; /* Un poco más pequeño en celular */
    }
}
/* ====================================================== */
/*   AJUSTE DE ESPACIADO: JUNTAR TEXTO Y TÍTULO           */
/* ====================================================== */
 
/* 1. Quitamos el espacio debajo del nombre de la Facultad */
#hero-conocenos .banner-subtitle {
    margin-bottom: 0 !important;   /* Fuerza a quitar el margen inferior */
    padding-bottom: 0 !important;  /* Quita relleno extra si lo hubiera */
    line-height: 1.2;              /* Reduce la altura de la línea */
    display: block;                /* Asegura que se comporte como bloque */
}
 
/* 2. Quitamos el espacio encima del nombre de la Carrera */
#hero-conocenos .banner-title {
    margin-top: 0 !important;      /* Fuerza a quitar el margen superior */
    padding-top: 0 !important;     /* Quita relleno superior */
    line-height: 1.1;              /* Junta un poco las líneas del título */
}

        /* --- ESTILO MODERNO PARA LOS BOTONES (PILLS) --- */
        .pill-navigation {
            display: flex;
            justify-content: center; /* Centrados */
            flex-wrap: wrap;
            gap: 10px;
            margin: 30px auto; /* Centrado y separado */
            padding: 8px;
            background-color: #f4f4f4; /* Fondo gris claro contenedor */
            border-radius: 50px; /* Forma de cápsula grande */
            width: fit-content; /* Se ajusta al contenido */
            box-shadow: inset 0 2px 5px rgba(0,0,0,0.05);
        }

        .pill-button {
            border: none;
            background: transparent;
            padding: 10px 25px;
            border-radius: 30px;
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            color: #555;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 0.95rem;
        }

        .pill-button:hover {
            color: #1a432b;
            background-color: rgba(0,0,0,0.05);
        }

        /* Estado Activo del Botón */
        .pill-button.active {
            background-color: #1a432b; /* Verde UAE */
            color: #ffffff;
            box-shadow: 0 4px 10px rgba(26, 67, 43, 0.4); /* Sombra suave */
            transform: scale(1.05); /* Efecto pop */
        }
        
        /* ====================================================== */
/*   NUEVO DISEÑO MISIÓN / VISIÓN (SPLIT SCREEN)          */
/* ====================================================== */
 
.mv-split-container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    min-height: 550px;
    border-radius: 0px; /* Mantiene el borde redondeado de tu sitio */
    overflow: hidden;    /* Asegura que la imagen no se salga de las curvas */
    box-shadow: var(--shadow);
}
 
/* Columna de Texto (Izquierda) */
.mv-text-column {
    flex: 1;
    background-color: #f5f4f0;  
    color: #ffffff;
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 320px;
}
 
/* Columna de Imagen (Derecha) */
.mv-image-column {
    flex: 1;
    /* Imagen sugerida: Tecnología en el campo (Agritech) */
    background-image: url('img/computacion.jpg');
    background-size: cover;
    background-position: center;
    min-width: 300px;
    min-height: 300px; /* Altura mínima en móviles */
}
.mv-image-column1 {
    flex: 1;
    /* Imagen sugerida: Tecnología en el campo (Agritech) */
    background-image: url('img/agronomia.jpg');
    background-size: cover;
    background-position: center;
    min-width: 300px;
    min-height: 300px; /* Altura mínima en móviles */
}
.mv-image-column2 {
    flex: 1;
    /* Imagen sugerida: Tecnología en el campo (Agritech) */
    background-image: url('img/agroindustria.jpg');
    background-size: cover;
    background-position: center;
    min-width: 300px;
    min-height: 300px; /* Altura mínima en móviles */
}
.mv-image-column3 {
    flex: 1;
    /* Imagen sugerida: Tecnología en el campo (Agritech) */
    background-image: url('img/agro.jpg');
    background-size: cover;
    background-position: left;
    min-width: 300px;
    min-height: 300px; /* Altura mínima en móviles */
}
.mv-image-column4 {
    flex: 1;
    /* Imagen sugerida: Tecnología en el campo (Agritech) */
    background-image: url('img/empresas.jpg');
    background-size: cover;
    background-position: center;
    min-width: 300px;
    min-height: 300px; /* Altura mínima en móviles */
}
.mv-image-column5 {
    flex: 1;
    /* Imagen sugerida: Tecnología en el campo (Agritech) */
    background-image: url('img/economia.jpg');
    background-size: cover;
    background-position: center;
    min-width: 300px;
    min-height: 300px; /* Altura mínima en móviles */
}
.mv-image-column6 {
    flex: 1;
    /* Imagen sugerida: Tecnología en el campo (Agritech) */
    background-image: url('img/veterinaria12.jpg');
    background-size: cover;
    background-position: center;
    min-width: 300px;
    min-height: 300px; /* Altura mínima en móviles */
}

 
/* Estilos internos del texto */
.mv-split-title {
    color: #343a40; /* COLOR DE TITULO */
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    border-left: none !important; /* Quitamos el borde naranja lateral del diseño anterior */
    padding-left: 0 !important;
    display: flex;
    align-items: center;
    gap: 15px;
}
 
.mv-block {
    margin-bottom: 2rem;
}
 
.mv-block:last-child {
    margin-bottom: 0;
}
 
.mv-block h5 {
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #343a40;
    margin-top: 0; /*PARA QUE NO KEDE ESPACIODE DE DETALLE*/
    margin-bottom: 0.8rem;
    position: relative;
    display: inline-block;
}
 
.mv-block h5::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background-color: var(--accent-orange); /* Tu naranja corporativo */
    margin-top: 5px;
    border-radius: 2px;
}
 
.mv-block p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555; /* COLOR DE LETRA */
    text-align: justify;
    font-weight: 300;
}
 
/* ADAPTACIÓN MÓVIL ESPECÍFICA PARA ESTA SECCIÓN */
@media (max-width: 900px) {
    .mv-split-container {
        flex-direction: column; /* Apila texto e imagen verticalmente */
    }
   
    .mv-image-column {
        height: 250px; /* Altura fija para la imagen en móvil */
        order: -1; /* Pone la imagen ARRIBA del texto en celulares (opcional, quítalo si prefieres texto primero) */
    }
 
    .mv-text-column {
        padding: 2.5rem 1.5rem; /* Menos relleno en móvil */
    }
 
    .mv-split-title {
        font-size: 1.8rem;
        margin-bottom: 1.5 rem;
    }
}
        .unified-card {
            background: #ffffff;
            border-radius: 20px; /* Bordes redondeados */
            padding: 50px;       /* Espacio interno amplio */
            margin-top: 20px;
            
            /* Sombra inicial suave (gris) */
            box-shadow: 0 10px 30px rgba(0,0,0,0.08); 
            
            /* Borde transparente inicial para que no salte al hacer hover */
            border: 2px solid transparent; 
            
            /* Transición suave para todos los efectos */
            transition: all 0.4s ease;
        }

        /* Layout interno (Grid para organizar los items dentro del cuadro) */
        .info-grid {
            display: grid;
            /* Columnas automáticas (se adaptan al tamaño) */
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); 
            gap: 40px; /* Espacio entre elementos */
            align-items: center;
        }

        /* Estilo de cada Item */
        .info-item {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        /* --- ESTILO DE LOS ICONOS --- */
        .icon-box {
            width: 60px;
            height: 60px;
            color: #db9935; /* COLOR ICONO */
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2.5rem;
            
            /* Transición elástica para el movimiento */
            transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        /* --- EFECTO: AL PASAR MOUSE POR LA TARJETA, LOS ICONOS SE MUEVEN --- */
        .unified-card:hover .icon-box {
            transform: translateY(-10px) scale(1.1); /* Saltan hacia arriba y crecen */
            
        }

        /* Estilos de Texto */
        .details h4 {
            color: #1a432b; 
            font-size: 1.1rem;
            font-weight: 700;
            text-transform: uppercase;
            margin: 0 0 5px 0; 
            font-family: 'Poppins', sans-serif;
        }

        .details p {
            margin: 0;
            color: #555; 
            font-size: 1rem;
            font-family: 'Poppins', sans-serif;
        }
        .info-horizontal-layout {
            display: flex;
            flex-wrap: wrap; 
            gap: 30px; 
            padding: 20px 0;
            align-items: flex-start;
        }

        /* Cada item individual */
        .info-item {
            display: flex;
            align-items: center; /* Centra el icono verticalmente con el texto */
            gap: 15px; 
            flex: 1 1 250px; /* Ancho flexible */
            max-width: 400px; 
            margin-bottom: 15px;
        }

        /* CAJA DEL ICONO (FONDO VERDE) */
        .info-item .icon-box {
            width: 50px;
            height: 50px;
            color: #db9935;; /* Color icono */
            border-radius: 8px; 
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2.5rem;
            flex-shrink: 0; /* Evita que se aplaste */
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        }

        /* Textos */
        .info-item .details {
            display: flex;
            flex-direction: column;
        }

        .info-item .details h4 {
            color: #1a432b; /* Título en verde también */
            font-size: 1.1rem;
            font-weight: 700;
            margin: 0 0 4px 0; 
            font-family: 'Poppins', sans-serif;
        }

        .info-item .details p {
            margin: 0;
            color: #444; 
            font-size: 0.95rem;
            line-height: 1.3;
            font-family: 'Poppins', sans-serif;
        }

 /* Poner imagen Primera en dispositivos moviles*/

        @media (max-width: 768px) {
    
    .mv-split-container {
        display: flex;
        /* 'column-reverse' hace la magia: apila los elementos verticalmente
           y pone el último elemento (la imagen) primero */
        flex-direction: column-reverse; 
    }

    /* IMPORTANTE: Como tu div de imagen está vacío en el HTML, 
       necesitas darle una altura en móvil para que se vea */
    .mv-image-column4 {
        width: 100%;
        min-height: 250px; /* Ajusta este valor según el tamaño que quieras para la imagen */
        height: auto;
    }
    
    /* Opcional: dar un poco de espacio entre la imagen y el texto */
    .mv-text-column {
        padding-top: 20px;
    }
}
