/***********header**********/
.container1 {
    width: 100%;
    height: auto;
    background: #FFF;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    margin: auto;
    opacity: 0;
    animation: aparecer 1s forwards;
}


.titulousalab {
    display: flex;
    width: 100%;
    height: 136px;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: -384px;
    animation: titulousalab 1.5s forwards;
}

.titulousalabtxt {
    color: #FFF;
    text-align: center;
    text-shadow: 0px 5px 5px rgba(0, 0, 0, 0.25);
    font-family: Montserrat;
    font-size: 80px;
    font-style: normal;
    font-weight: 900;
    line-height: 40px;
    letter-spacing: 0.8px;
}

.contenidousalab {
    width: 150%;
    height: 248px;
    display: flex;
    padding: 46px 164px 46px 164px;
    margin-bottom: -288px;
    margin-left: -260px;
    flex-shrink: 0;
    background: rgba(192, 192, 192, 0.30);
    justify-content: center;
    align-items: center;
    animation: contenidousalab 1.5s forwards;
}

.contenidousalabtxt {
    width: 100%;
    height: 152px;
    flex-shrink: 0;
    color: #FFFCFC;
    text-align: justify;
    font-family: Montserrat;
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    line-height: 40px;
    letter-spacing: 0.32px;
}


@keyframes aparecer {
    to {
        opacity: 1.5;
    }
}

.header {
    width: 100%;
    /*modificado para responsive*/
    height: auto;
    flex-shrink: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    z-index:900; 
}

/* Modificados logos - responsive */
.logoutm {
    width: 5%;
    height: auto;
    /* Mantiene la proporción */
    object-fit: contain;
    flex-shrink: 0;
    /* Comienza fuera de la vista, hacia la izquierda */
    margin-left: -80px;
    /* Valor inicial negativo */
    /* Animación para deslizar el logo hacia adentro */
    animation: logoutm 1s forwards ease-out;
}

@keyframes logoutm {
    to {
        margin-left: 5%;
    }
}


.logousalab {
    width: 5%;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
    /* Comienza fuera de la vista, hacia la derecha */
    margin-right: -80px;
    /* Valor inicial negativo */
    transform: scale(1.4);
    animation: logousalab 1s forwards ease-out;
}

@keyframes logousalab {
    to {
        margin-right: 5%;
        /* Margen final desde el borde derecho */
    }
}
/* ---------- Logo mini navbar ---------- */
.logo-mini{
    width:42px;    
    height:auto;
    margin-left:.6rem;
    display:none;   /* visible sólo con .sticky */
}
/* espacio entre los dos logos */
.utm-mini {
  /* un poco de margen a la derecha */
  margin-right: 0.25rem;   
}

.usalab-mini {
  margin-left: -0.1rem;     
}
.navbar-wrapper.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(0,0,0,.15);
}
@media (min-width:992px){
  .navbar-wrapper.sticky .logo-mini{
      display:inline-block;
  }
}
.logo-mini.usalab-mini {
  /* convierte todo a blanco */
  filter: brightness(0) invert(1);
}


#navSpacer{display:none;}
@media (min-width:992px){#navSpacer{display:block;height:0}}
/*******Barra de navegacion*********/
/*****ESTILOS GENERALES NAVBAR*****/
.navbar1 {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between; /* para mantener Inicio a la izquierda y menú a la derecha */
    width: 100%;
    background: #06052D;
    padding: 0 1.5rem; /* padding general */
    box-sizing: border-box;
    gap: 1rem; /* Espacio entre Inicio y el menú */
}

.inicio {

    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.2rem; 
    background: #06052D;
    transition: background-color 0.5s ease;
    cursor: pointer;
    flex-shrink: 0; 
}

.inicio:hover {
    background: #58A3C1;
}

.iniciotxt {
    color: #FFF;
    font-family: Montserrat, sans-serif;
    font-size: 1.1rem;
    /* Tamaño base ligeramente reducido */
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
    /* Evita que 'Inicio' se parta */
}
.mobile-menu-toggle {
    display: none;
    background: #06052D;
    color: #FFFFFF;
    font-family: Montserrat, sans-serif;
    font-size: 1.1rem;
    padding: 0.75rem 1.25rem;
    cursor: pointer;
}
/* Estilo específico para el icono dentro del toggle: */
.hamburger-icon {
    font-size: 1.25rem;          /* un poco más grande que el texto, para que resalte */
    line-height: 1;              /* evita saltos verticales */
}
.mobile-menu-toggle {
    display: none;
    background: #06052D;
    color: #FFFFFF;
    font-family: Montserrat, sans-serif;
    font-size: 1.1rem;
    padding: 0.75rem 1.25rem;
    cursor: pointer;
}
/* Estilo específico para el icono dentro del toggle: */
.hamburger-icon {
    font-size: 1.25rem;          /* un poco más grande que el texto, para que resalte */
    line-height: 1;              /* evita saltos verticales */
}

.menu1 {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.8rem;
    /* Espacio base entre elementos del menú */
    justify-content: flex-end;
    /* Alinea items a la derecha */
    flex-grow: 1;
    /* Permite que el menú ocupe el espacio restante */
}

.acercade,
.servicios,
.investigaciones,
.formacion,
.eventos,
.idioma {
    padding: 0.75rem 1rem;
    /* Padding base ajustado */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #06052D;
    transition: background-color 0.5s ease;
    cursor: pointer;
    position: relative;
    flex-shrink: 1; /* permite que los elementos se encojan */
    min-width: 0; 
    color:#FFF
}


.acercade:hover,
.servicios:hover,
.investigaciones:hover,
.formacion:hover,
.eventos:hover,
.idioma:hover {
    background: #58A3C1;
}

.navbartxt {
    color: #FFF;
    font-family: Montserrat, sans-serif;
    font-size: 1.1rem;
    /* Tamaño base ligeramente reducido */
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
    /* Evita que el texto se parta en varias líneas */
}

.icono1 {
    color: #FFF;
    font-family: Montserrat, sans-serif;
    font-size: 0.9rem;
    /* Tamaño base ligeramente reducido */
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
    /* Evita que el texto se parta en varias líneas */
}

.idioma img {
    margin-right: 5px;
    /* Espacio entre icono y texto de idioma */
}

/* --- Dropdowns  --- */
.acercadeCont,
.serviciosCont,
.investigacionesCont,
.formacionCont,
.eventosCont {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #A4C732;
    z-index: 999;
    flex-direction: column;
    min-width: 100%;
    padding: 0.5rem 0;
    box-sizing: border-box;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    /* Añade sombra para destacar */
}

.adcontent,
.srcontent,
.incontent,
.facontent,
.evcontent {
    display: block;
    padding: 0.5rem 1rem;
    box-sizing: border-box;
    transition: background-color 0.3s ease;
    white-space: normal;
    /* Permite wrap dentro del dropdown */
}

.adcontent:hover,
.srcontent:hover,
.incontent:hover,
.facontent:hover,
.evcontent:hover {
    background-color: #06052D;
}

.acercade:hover .acercadeCont,
.servicios:hover .serviciosCont,
.investigaciones:hover .investigacionesCont,
.formacion:hover .formacionCont,
.eventos:hover .eventosCont {
    display: flex;
}

.srcontent {
    position: relative;
    /* padding: 0.5rem 1rem; */
    /* Ya tiene padding .srcontent*/
    transition: background-color 0.3s ease;
}

/* sub‑submenús para Servicios (Industria/Academia) */
.servicioindustriaCont,
.servicioacademiaCont {
    display: none;
    /* Ocultos por defecto */
    position: absolute;
    top: 0;                       
    left: 100%;                    /* Se despliegan hacia la derecha */
    background: #A4C732;
    z-index: 999;
    flex-direction: column;
    min-width: 200px;
    padding: 0.5rem 0;
    box-sizing: border-box;
}

/* Mostrar sub submenú al pasar el mouse por la opción padre */
.srcontent:hover .servicioindustriaCont,
.srcontent:hover .servicioacademiaCont {
    display: flex;
}

/* estilo y hover de los ítems de los subsubmenús */
.servicioindustriaCont .sricontent,
.servicioacademiaCont .sracontent {
    /* mismo color que el contenedor padre */
    background: #A4C732;
    color: #06052D;
    padding: 0.65rem 1.25rem;
    /* más alto para mejor clic */
    margin: 2px 0;
    /* separación vertical */
    transition: background-color 0.25s ease, color 0.25s ease;
}

.servicioindustriaCont .sricontent:hover,
.servicioacademiaCont .sracontent:hover {
    background: #06052D;
    /* azul marino como el resto de la navbar */
    color: #FFFFFF;
}
.inicio-mobile {
    display: none;
}
/*****************/
/********MEDIA QUERYS*********/

/* Media query tablet y scritorio (> 768px) */
@media (min-width: 768px) {
    .navbar1 {
        flex-wrap: nowrap;
        /* Forzar una sola línea */
    }

    .menu1 {
        flex-wrap: nowrap;
        /* Forzar una sola línea */
    }

    /* Estilos específicos para el rango donde SÍ se rompía (ajusta max-width según necesites) */
    /* Por ejemplo, si se rompía entre 768px y 1100px */
    @media (min-width: 768px) and (max-width: 1188px) {

        /* Usa el límite superior donde aún se ve mal */
        .navbar1 {
            padding: 0 1rem;
            /* Menos padding horizontal general */
            gap: 0.5rem;
            /* Menos espacio entre Inicio y Menú */
        }

        .menu1 {
            gap: 0.2rem;
            /* Menos espacio entre ítems del menú */
        }

        .inicio {
            padding: 0.75rem 0.8rem;
            /* Menos padding en Inicio */
        }

        .acercade,
        .servicios,
        .investigaciones,
        .formacion,
        .eventos,
        .idioma {
            padding: 0.75rem 0.5rem;
            /* Menos padding en items del menú */
            color: #FFF;
        }

        .iniciotxt,
        .navbartxt {
            font-size: 0.90rem;
            /* Fuente más pequeña en este rango específico */
        }
    }
}


/* media query para móviles (< 768px) */
@media (max-width: 768px) {
    /* ***************** MOSTRAR EL BOTÓN MENÚ ***************** */
    .carousel,   
    .banner {               
        margin-top: 50px;    
    }
    .mobile-menu-toggle {
    display: flex;         
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #06052D;
    color: #FFFFFF;
    font-family: Montserrat, sans-serif;
    font-size: 1.1rem;
    padding: 0.75rem 1.25rem;
    cursor: pointer;
    }
    .navbar1 {
        position: relative; /* Para que .menu1 (abajo) se calcule respecto a este contenedor */
    }

    .inicio,
    .logo-mini,
    .logousalab,
    .logoutm {
        display: none;
    }
    .navbar1 {
        flex-direction: column;
        justify-content: center;
        align-items: center; 

        flex-wrap: wrap;
    }
    /* .menu1 (las opciones) deberá estar oculta hasta que se haga click en “Menú” */
        
    .menu1 {
    display: none;            /* por defecto no se ve */
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 0;
    position: absolute;     
    top: 100%;                /* justo debajo de .navbar1 */
    left: 0;                  /* alinear a la izquierda de .navbar1 */
    background: #06052D;
    z-index: 1002;            /* más alto que el toggle y que cualquier dropdown */
    }
    .menu1.active {
    display: flex;
    position: absolute;   /* refuerza que sigue siendo absolute */
    top: 100%;            /* debajo de .navbar1 */
    left: 0;
    width: 100%;
    z-index: 1002;
    }
    .navbar-wrapper {
    margin-bottom: 56px;
    position: relative; /* El menú se posiciona respecto a este contenedor */
    }

    /* Ajusta cada item en modo columna */
    .acercade,
    .servicios,
    .investigaciones,
    .formacion,
    .eventos,
    .idioma,
    .inicio-mobile {
        display: flex; 
        width: 100%;
        justify-content: center;
        text-align: center;
        flex-direction: column;
        margin: 0 auto;
        /*  <-- Quita márgenes laterales, centrándolo */
        padding: 0.8rem 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        position: relative;
    }

    /* Elimina margen de .inicio si se aplicó en estilo base */
    .inicio {
        margin-right: 0 !important;
        margin-left: 0 !important;
        border-top: none;
    }

    /* Evita recortes si la palabra es larga */
    .navbartxt {
        text-align: center;
        white-space: normal; 
    }
      .acercadeCont,
    .serviciosCont,
    .investigacionesCont,
    .formacionCont,
    .eventosCont {
        position: static;
        display: none;
        width: 150%;
        background: #2b6589;
        margin-top: 0;
        padding: 0.5rem 0;
        box-sizing: border-box;
        flex-direction: column;

        z-index: 999;
        align-items: center;
        /* <-- Centra también el contenido interno */
    }

    /* Contenedores de dropdown de SEGUNDO NIVEL (sub-submenús) */
    .servicioindustriaCont,
    .servicioacademiaCont {
        position: static;
        display: none;
        width: 100%; 
        background: transparent; /* El fondo lo darán los items de abajo */
        margin-top: 0;
        padding: 0;
        box-sizing: border-box;
        flex-direction: column;
        z-index: 999;
        align-items: center;
    }
    .adcontent,
    .srcontent,
    .incontent,
    .facontent,
    .evcontent {
        width: 100%;
        text-align: center;
        padding: 0.75rem 1rem;
        border-bottom: 1px solid #04060b;
        background-color: rgba(6, 5, 45, 0.2);
    }

    .adcontent:last-child,
    .srcontent:last-child,
    .incontent:last-child,
    .facontent:last-child,
    .evcontent:last-child {
        border-bottom: none;
    }

    /* Sub-submenús en columna y centrados */
    .srcontent:hover .servicioindustriaCont,
    .srcontent:hover .servicioacademiaCont {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .sricontent,
    .sracontent {
    width: 100%;
    display: flex; /* Usamos flexbox para centrar */
    justify-content: center; /* Centra el contenido horizontalmente */
    align-items: center; /* Centra el contenido verticalmente */
    border-bottom: 1px solid #7991e7;
    padding: 0.75rem 1rem;
    box-sizing: border-box;
    transition: background-color 0.3s ease;
    }
    .sricontent:last-child,
    .sracontent:last-child {
        border-bottom: none;
    }
}

/***********************Carrusel*********************/

.carousel-caption {
    left: 0%;
    right: 0%;
}

/*
.titulousalab{
    display: flex;
    width: 100%;
    height: 136px;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: -384px;
    animation: titulousalab 1.5s forwards;
}

@media (max-width:1400px){
    .titulousalab{
        width: 100%;
    }
}
*/
@keyframes titulousalab {
    to {
        margin-bottom: 120px;
    }
}

.img1 {
    background: rgba(0, 0, 0, 0.30);
    width: 100%;
    filter: brightness(70%);
}

@media (max-width: 768px) {

    .contenidousalab,
    .contenidousalabtxt {
        display: none !important;
        visibility: hidden;
        height: 0;
        margin: 0;
        padding: 0;
        overflow: hidden;
    }
}

@media (max-width: 768px) {
  .carousel-caption {
  position: absolute;
  top: 50%;                 /* Centra verticalmente */
  left: 50%;                /* Mueve el punto de anclaje al centro */
  transform: translate(-50%, -50%);  /* Lo centra realmente */
  text-align: center;
  width: 100%;
  z-index: 10;
}

   .titulousalabtxt {
  font-size: 80px;
  font-weight: 900;
  color: #fff;
  text-align: center;
  margin: 0 auto;
  text-shadow: 0px 5px 5px rgba(0, 0, 0, 0.25);
  max-width: 90%;
}

}

@media (max-width:1400px) {
    .img1 {
        width: 100%;
        height: 50%;
    }
}

.titulousalabtxt {
    color: #FFF;
    text-align: center;
    text-shadow: 0px 5px 5px rgba(0, 0, 0, 0.25);
    font-family: Montserrat;
    font-size: 80px;
    font-style: normal;
    font-weight: 900;
    line-height: 40px;
    letter-spacing: 0.8px;
}

@media (max-width:1400px) {
    .titulousalabtxt {

        font-size: 70px;
    }
}

.contenidousalab {
    width: 100%;
    /*1728*/
    height: 50%;
    /*248*/
    display: flex;
    margin-left: 0px;

    flex-shrink: 0;
    background: rgba(192, 192, 192, 0.30);
    justify-content: center;
    align-items: center;
    animation: contenidousalab 1.5s forwards;
}


@media (max-width:1400px) {
    .contenidousalab {
        width: 100%;
        /* Ajusta el ancho para pantallas más pequeñas */
        height: 50%;
        justify-content: center;
        /* Mantiene el contenido centrado */
    }
}

@keyframes contenidousalab {
    to {
        margin-bottom: -20px;
    }

}

.contenidousalabtxt {
    width: 90%;
    height: 152px;

    flex-shrink: 0;
    color: #FFFCFC;
    text-align: justify;
    font-family: Montserrat;
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    line-height: 40px;
    letter-spacing: 0.32px;
    margin-top: 3%;
    margin-bottom: 4%;
}

@media (max-width:1400px) {
    .contenidousalabtxt {
        width: 90%;
        /* Ajusta el ancho para pantallas más pequeñas */
        height: 50%;
        justify-content: center;
        /* Mantiene el contenido centrado */
        font-size: 25px;
    }
}


@keyframes contenidousalab {
    to {
        margin-bottom: -40px;
    }

}


/* Pantallas Grandes (Laptops ~1400px) */
@media (max-width: 1400px) {
    .titulousalabtxt {
        font-size: 70px;
        /* Reducción 1 */
    }

    .contenidousalabtxt {
        font-size: 25px;
        /* Reducción 1 */
    }
}

/* Pantallas Medianas (Laptops/Tablets ~1200px) */
@media (max-width: 1200px) {
    .titulousalabtxt {
        font-size: 60px;
        /* Reducción 2 */
    }

    .contenidousalabtxt {
        font-size: 22px;
        /* Reducción 2 */
    }
}

/* Pantallas Tablet ( ~992px) */
@media (max-width: 992px) {
    .titulousalabtxt {
        font-size: 48px;
        /* Reducción 3 */
        line-height: 1.1;
    }

    .contenidousalabtxt {
        font-size: 18px;
        /* Reducción 3 */
        line-height: 1.5;
        text-align: left;
        /* Justificar puede verse mal con poco espacio */
    }

    /* Ajusta el contenedor si es necesario */
    .carousel-caption {
        /* Si el texto está dentro de .carousel-caption */
        padding: 15px;
        bottom: 5%;
    }
}

/* Pantallas Móviles ( ~768px) */


@media (max-width: 767.98px) {

    /* Posiciona el texto debajo o de forma diferente si usas .carousel-caption */
    .carousel-caption {
        /* O .contenidousalab si es ese el contenedor */
        display: block !important;
        /* Fuerza a que sea visible */
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        /* Asegura que tenga altura */
        position: absolute !important;
        /* Sobreescribe 'absolute' si es necesario */
        /* Mantén los demás estilos que ya tenías */
        right: 0;
        padding: 10px 10px;
        /* Aumenta padding por si acaso */
        text-align: justify;
        margin-top: 0;
        border-radius: 0;
        z-index: 10;
    }

    .titulousalabtxt {
        display: block !important;
        /* Fuerza visibilidad */
        visibility: visible !important;
        opacity: 1 !important;
        /* Mantén los demás estilos */
        font-size: 36px;
        line-height: 1.2;
        text-shadow: none;
        text-align: center;
        color: #fff !important;
        margin-bottom: 10px;
    }
    .contenidousalabtxt {
        display: block !important;
        /* Fuerza visibilidad */
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        /* Asegura altura */
        /* Mantén los demás estilos */
        font-size: 16px;
        line-height: 1.5;
        text-align: left;
        width: 100%;
        margin: 0 0 10px 0;
        color: #f0f0f0 !important;
        /* Fuerza color */
        overflow: visible !important;
        /* Evita que se oculte por overflow */
    }
}

/* Pantallas Móviles Pequeñas ( ~576px) */
@media (max-width: 768px) {
    .titulousalabtxt {
        font-size: 28px;
        /* Reducción 5 */
    }

    .contenidousalabtxt {
        font-size: 14px;
        /* Reducción 5 */
    }

    .carousel-caption {
        padding: 10px;
    }
}

/********************************************************footer**************************************************************/
footer {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    opacity: 0.95;
    padding: 2rem 4rem;
    /* Espaciado interno */
    background: #06052D;
    display: flex;
    flex-wrap: wrap;
    /* Para que los bloques salten a nueva línea en pantallas pequeñas */
    gap: 2rem;
    /* Separación entre bloques (footerinformacion, footermenu ...) */
    column-gap: 8rem;
    box-sizing: border-box;
    /* Asegura que padding y border se incluyan en el cálculo del ancho */
    opacity: 0.95;
    overflow: hidden;
    /* Ocultar desbordamientos */
}

/* Contenedor izquierdo (información, logos) */
.footerinformacion {
    display: flex;
    flex-direction: column;
    /* flex: 1 1 300px
        - "1" = factor de crecimiento
        - "1" = factor de contracción
        - "300px" = ancho base mínimo */
    flex: 1 1 300px;
    justify-content: center;
    gap: 1rem;
    /* Separación vertical entre secciones internas */
}

/* Logos en la parte izquierda */
.logosfooter {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Logo UTM */
.utmfooter {
    width: 120px;
    /* Ajustar tamaño del logo */
    height: auto;
    object-fit: cover;
    flex-shrink: 0;
    object-position: 50% 68%;
}

/* Logo UsaLab */
.usalabfooter {
    width: 120px;
    /* Ajustar tamaño del logo */
    height: auto;
    flex-shrink: 0;
    object-fit: cover;
    filter: brightness(0) invert(1);
    transform: scale(1.2);
}

/* Separadores*/
.sf1,
.sf2 {
    width: 100%;
    height: 1rem;
}

/* Texto principal del footer */
.footertxt {
    color: #FFF;
    font-family: Montserrat, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
    /* Ajusta la altura de línea */
    text-align: justify;
}

.logoslink {
    display: flex;
    gap: 2rem;
}

/* Contenedor derecho (menú rápido) */
.footermenu {
    /* Crece y se adapta junto con .footerinformacion */
    flex: 2 1 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;

}

/* Título "Menú rápido" */
.menurapido {

    margin-top: 0rem;
}

.menurapidotxt {
    color: #FFF;
    font-family: Montserrat, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 1rem;
    /* Pequeño espacio debajo del título */
}

/* Opciones del menú rápido */
.footeroptions {
    margin-top: -2rem;
    margin-left: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
}

.optiontxt {
    color: #FFF;
    font-family: Montserrat, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
}

/* Efectos hover para las opciones */
.optiontxt:hover::before {
    content: "<";
}

.optiontxt:hover::after {
    content: ">";
}

/* Media Query: Ajustes para pantallas más pequeñas */
@media (max-width: 768px) {
    footer {
        padding: 1rem 2rem;
        flex-direction: column;
        /* Apila verticalmente */
        align-items: flex-start;
        /* o center, como prefieras */
    }

    .footerinformacion,
    .footermenu {
        flex: 1 1 auto;
        /* Cada bloque ocupará 100% del ancho en móvil */
        margin-left: 0;
    }

    .logosfooter {
        justify-content: flex-start;
    }

    .utmfooter,
    .usalabfooter {
        width: 80px;
        /* Ajusta a un tamaño menor para móviles */
    }
}

/***************************Investigaciones******************************************/