html {
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

.text-white {
    color: #E6E6E6 !important;
}

.text-dark {
    color: #000000 !important;
}

.border-white {
    border: #E6E6E6;
}


.border-transparent {
    border: transparent !important;
}

.text-justify {
    text-align: justify;
}

.bg-transparent {
    background-color: transparent !important;
}

.bg-universal {
    background-color: #243487;
}

.btn-universal {
    background-color: #243487 !important;
}

.bg-universal-2 {
    background-color: #1b1464 !important;
}

.btn-universal-2 {
    background-color: #1b1464 !important;
}

.bg-grey {
    background-color: #b0b0b0 !important;
}



.shadow-menu:hover {
    background-color: #b0b0b0 !important;
    /* Color gris claro */
    ;
}

.shadow-sub-menu:hover {
    background-color: #434343 !important;
    /* Color gris claro */
}

/* === Ajustes generales del carrusel === */
#carouselEventos .carousel-item .row {
    min-height: 100vh;
    /* En escritorio: pantalla completa */
}

/* En pantallas medianas (laptops o tablets horizontales) */
@media (max-width: 1199px) and (min-width: 768px) {
    #carouselEventos .carousel-item .row {
        min-height: 80vh;
        /* reduce un poco la altura */
    }

    #carouselEventos .col-md-3 img {
        object-fit: cover;
        height: 100%;
    }

    #carouselEventos .bg-universal {
        padding: 2rem !important;
    }

    #carouselEventos .bg-universal p,
    #carouselEventos .bg-universal h1 {
        transform: scale(0.9);
        /* opcional: reduce texto */
        transform-origin: center;
    }
}

/* En móviles */
@media (max-width: 767px) {
    #carouselEventos .carousel-item .row {
        min-height: auto;
    }

    #carouselEventos .col-12 img {
        height: auto;
    }

    #carouselEventos .bg-universal {
        text-align: center;
    }
}

/* Estilos generales */
.container {
    width: 100%;
    margin-right: 0 auto;
    margin-left: 0 auto;
    padding: 0 1rem;
}

.bg-header {
    background-color: #243487;
    background-repeat: repeat;
    background-size: cover;
}

.bg-nav {

    background-color: #243487;
    position: relative;
    z-index: 10;

}

.nav {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
}

.nav-nav {
    display: flex;
    align-self: self-end;
    list-style: none;
    padding: 0;
}

.nav-brand {
    align-self: self-start;
    width: 350px;
    height: 100px;
    margin: 20px;
}

.nav-brand img {
    width: 350px;
    height: 100px;
}

.nav-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.nav-nav li {
    position: relative;
}

.nav-link {
    display: block;
    padding: 10px 15px;
    color: #1b1464;
    text-decoration: none;
}

.h3 {
    margin-bottom: .5rem;
    padding: 10px 15px;
    font-weight: 500;
    line-height: 1.2;
    color: #1b1464;
    ;
}

/*Representa la negrita de los tiulos etc.*/
.strong {
    font-weight: bolder;
}

/* Menú desplegable */
ul,
ol {
    list-style: none;
    margin: 0px;
    padding: 0px;
}

.nav-nav li a:hover {
    background-color: #434343;
}

.nav-nav li ul {
    display: none;
    position: absolute;
    top: 100%;
    min-width: 140px;
    background-color: #1b1464;
    opacity: 0;
    transition: opacity 0.3s ease;
    /* Transición para suavizar la apertura */
}

.nav-nav li:hover>ul {
    display: block;
    opacity: 1;
}

.nav-nav li ul li {
    position: relative;
}

.nav-nav li ul li ul {
    right: -140px;
    top: 0px;
}

/* Clase .submenu.active para manejar el submenú en dispositivos móviles */
.submenu {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    /* Transición suave para el submenú */
}

.submenu.active {
    display: block;
    opacity: 1;
}

/* en este segmento se puede modificar tanto el color de la barra de navegacion como la posicion que posee asi como el color de letra */
.nav li a {
    background-color: #253785;
    color: #E6E6E6;
    text-decoration: none;
    padding: 0.5em;
    margin: 0, 0.5em;
    display: block;
    text-align: justify;
}

.nav ul li a {
    background-color: #1b1464;
    color: #E6E6E6;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: #E6E6E6;
    cursor: pointer;
}

/* Submenús en escritorio */
.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
}

.submenu li {
    display: block;
}

.submenu a {
    display: block;
    padding: 10px;
    color: #E6E6E6;
}

.has-submenu:hover .submenu {
    display: block;
}

/* Menú hamburguesa */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: #E6E6E6;
    cursor: pointer;
}

/*Inician lo estilos del slider*/

/* Contenedor del carrusel */

.slider-center {
    margin-left: auto;
    margin-right: auto;
}

.slider {
    position: relative;
    /* Asegúrate de que el carrusel tenga un posicionamiento */
    z-index: 1;
    /* Un valor bajo para que esté debajo del menú */
    width: 80%;
    height: 90%;
    overflow: hidden;
}

.slider input {
    display: none;
}

.slider-content ul {
    display: flex;
    padding: 0;
    width: calc(100% * 6);
    /* Cambiar a 6 para el número de imágenes */
    transition: margin-left 1s ease;
}

.slider-content li {
    width: 80%;
    /* Ajusta según tu diseño */
    height: auto;
    /* Tamaño del contenedor */
    list-style: none;
}

.slider-content img {
    width: 100%;
    height: 750px;
    /* Cambia para ocupar todo el contenedor */
}

/* Flechas */
label {
    position: absolute;
    top: 50%;
    font-size: 40px;
    color: #E6E6E6;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    transform: translateY(-50%);
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* Control de las imágenes manualmente con radio buttons */
#slide1:checked~.slider-content ul {
    margin-left: 0;
}

#slide2:checked~.slider-content ul {
    margin-left: -100%;
}

#slide3:checked~.slider-content ul {
    margin-left: -200%;
}

#slide4:checked~.slider-content ul {
    margin-left: -300%;
}

#slide5:checked~.slider-content ul {
    margin-left: -400%;
}

#slide6:checked~.slider-content ul {
    margin-left: -500%;
}

/*Finalizan estilos del slider*/

.gallery-center {
    margin-left: auto;
    margin-right: auto;
}

.gallery-container {
    display: flex;
    gap: 20px;
    margin: 20px;
    border: 2px solid #E6E6E6;
    padding: 10px;
    border-radius: 8px;
}

.thumbnail-bar {
    display: flex;
    flex-direction: column;
    gap: 5px;
    overflow-y: auto;
    align-items: center;
    align-self: center;
    justify-content: center;
    align-content: center;
    max-height: 500px;
    max-width: 720px;
}

.thumbnail-bar img {
    width: 25%;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s;
}

.thumbnail-bar img:hover {
    transform: scale(1.05);
}

.main-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-image img {
    max-width: 100%;
    max-height: 500px;
    border-radius: 8px;
    cursor: pointer;
}

.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.fullscreen img {
    max-width: 90%;
    max-height: 90%;
}

.fullscreen-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #E6E6E6;
    font-size: 2rem;
    cursor: pointer;
}

/*Inician los estilos responsivos del banner*/



.bg-fondo-azul {
    background-image: url("../assets/imagenes_fondos/fondo_azul.png");
    /* Ruta relativa */
    background-color: #253785;
    /* Opcional, por defecto es transparente */
    background-repeat: no-repeat;
    /* Cambiado a no-repeat si no quieres que se repita */
    /* Cubre todo el contenedor *
    /* Para que z-index funcione */
    z-index: 1;

    /* Asegura que ocupe todo el ancho */

    /* Ocupa toda la altura del viewport */
}

.bg-fondo-azul {
    background-color: transparent;
    background-repeat: repeat;
    background-size: cover;
}

.fondo-azul-img {
    width: 100%;
    height: auto;
    z-index: 1;
}



.bg-fondo-metalico {
    background-image: url("../assets/imagenes_fondos/fondo_metalico.png");
    /* Ruta relativa */
    background-color: #253785;
    /* Opcional, por defecto es transparente */
    background-repeat: no-repeat;
    /* Cambiado a no-repeat si no quieres que se repita */
    /* Cubre todo el contenedor *
    /* Para que z-index funcione */
    z-index: 1;

    /* Asegura que ocupe todo el ancho */

    /* Ocupa toda la altura del viewport */
}

.bg-fondo-metalico {
    background-color: solid;
    background-repeat: repeat;
    background-size: cover;
}

.fondo-metalico-img {
    width: 100%;
    height: auto;
    z-index: 1;
}

/*Finalizan los estilos responsivos del banner*/

.container-eventos {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
    margin-top: 0px;
    margin-bottom: 0px;
}

.eventos {
    width: 100%;
    max-width: 280px;
    height: 30%;
    margin: 10px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.2);
    transition: all 400ms ease-out;
    cursor: default;
}

.eventos-img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.eventos .contenido-eventos {
    padding: 15px;
    text-align: center;
}

.eventos .contenido-eventos a {
    display: inline-block;
    margin-top: 10px;
    text-decoration: none;
    background-color: #253785;
    color: #E6E6E6;
    padding: 0.5em;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.eventos .contenido-eventos a:hover {
    background-color: #434343;
}

/*Finalizan los estilos de productos mayoreo*/

/*banner servicios*/
.brand-img-cs {
    width: 100%;
    /* Hace que la imagen ocupe el 100% del ancho */
    height: auto;
    /* Mantiene la proporción de la imagen */
    display: block;
    /* Para eliminar cualquier espacio debajo de la imagen */
    margin: 0 auto;
    /* Centra la imagen */
}

/*Aqui termina los estilos del banner centos de servicio*/

/* Oculta panel y botón hamburguesa por defecto (en escritorio) */


/* --- Estilos flotantes para escritorio (ya los tenías) --- */
/* Puedes dejar tus estilos originales .btn-fb, .btn-ig, etc., como estaban */
.edge-toggle,
.edge-panel {
    display: none;
}

.btn-news {
    position: fixed;
    width: 50px;
    height: 50px;
    line-height: 50px;
    bottom: 600px;
    right: 20px;
    background: #E6E6E6;
    color: #E6E6E6;
    border-radius: 50px;
    text-align: center;
    font-size: 45px;
    box-shadow: 0px 3px 10px rgb(230, 0, 11);
    z-index: 100;
    transition: all 300ms ease;
}


/*Inicia el Boton de facebook flotante*/
.btn-fb {
    position: fixed;
    width: 50px;
    height: 50px;
    line-height: 50px;
    bottom: 530px;
    right: 20px;
    background: #2545d3;
    color: #E6E6E6;
    border-radius: 50px;
    text-align: center;
    font-size: 45px;
    box-shadow: 0px 3px 10px rgba(37, 69, 211);
    z-index: 100;
    transition: all 300ms ease;
}

/*Finaliza el Boton de facebook flotante*/

/*inicia el Boton de instagram flotante*/
.btn-ig {
    position: fixed;
    width: 50px;
    height: 50px;
    line-height: 50px;
    bottom: 460px;
    right: 20px;
    background: #d82d7e;
    color: #E6E6E6;
    border-radius: 50px;
    text-align: center;
    font-size: 45px;
    box-shadow: 0px 3px 10px rgb(216, 45, 126);
    z-index: 100;
    transition: all 300ms ease;
}

/*Finaliza el Boton de instagram flotante*/

/*inicia el Boton de tiktok flotante*/
.btn-tk {
    position: fixed;
    width: 50px;
    height: 50px;
    line-height: 50px;
    bottom: 390px;
    right: 20px;
    background: #000000;
    color: #E6E6E6;
    border-radius: 50px;
    text-align: center;
    font-size: 45px;
    box-shadow: 0px 3px 10px rgba(0, 0, 0);
    z-index: 100;
    transition: all 300ms ease;
}

/*Termina el Boton de tiktok flotante*/

/*Inicia el Boton de WhatsApp flotante*/
.btn-wsp {
    position: fixed;
    width: 50px;
    height: 50px;
    line-height: 50px;
    bottom: 320px;
    right: 20px;
    background: #25d366;
    color: #E6E6E6;
    border-radius: 50px;
    text-align: center;
    font-size: 45px;
    box-shadow: 0px 3px 10px rgba(37, 211, 102);
    z-index: 100;
    transition: all 300ms ease;
}


/*Icicia el Boton de gmail flotante*/
.btn-youtube {
    position: fixed;
    width: 50px;
    height: 50px;
    line-height: 50px;
    bottom: 250px;
    right: 20px;
    background: #E6E6E6;
    color: #E6E6E6;
    border-radius: 50px;
    text-align: center;
    font-size: 45px;
    box-shadow: 0px 3px 10px rgb(196, 48, 43);
    z-index: 100;
    transition: all 300ms ease;
}

/*Termina el Boton de gmail flotante*/

/*Inicia el Boton de facebook flotante*/
.btn-historia {
    position: fixed;
    width: 50px;
    height: 50px;
    line-height: 50px;
    bottom: 180px;
    right: 20px;
    background: #2545d3;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 45px;
    box-shadow: 0px 3px 10px rgba(37, 69, 211);
    z-index: 100;
    transition: all 300ms ease;
}

/*Finaliza el Boton de facebook flotante*/

/*Inician los estilos de las cartas de sucursales*/
.txt-politica-privacidad {
    margin: 5px;
    padding: 5px;
    height: 5px;
    border: #000000,
        0.5px;
    color: #E6E6E6;
}

.txt-primary-politica-privacidad {
    max-width: 99%;
    display: inline-block;
    font-size: 1rem;
    padding: 0.5em;
    margin: 0, 0.5em;
    border-radius: 0.5em;
    text-decoration: none;
    color: #E6E6E6;

}

.d-block {
    display: block;
    color: #E6E6E6;
}

.flex-container-index {

    border: #000000;
}

.flex-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1250px;
    margin: auto;
    justify-content: center;
    gap: 20px;
    border: #000000;
}

.politica-privacidad-title {
    text-align: center;
    border-color: #FFF;
    border: #000000;
}

.politica-privacidad {
    display: inline-block;
    align-self: center;
    width: 2000px;
    height: 500px;
    border: 2px solid transparent;
    /* Borde negro sólido */
    border-radius: 20px;
    /* Bordes redondeados */
    background-color: transparent;
    text-align: center;
    padding: 20px;
    /* Espaciado interno */
    box-shadow: 0px 4px 8px transparent;
    /* Sombra para destacar */
}

.inf-politica-privacidad {
    align-self: center;
    display: inline-block;
    width: 450px;
    height: 660px;
    border-color: #FFF;
    border: #000000;
    border-radius: 50px;
    background-color: transparent;
    text-align: center;
    padding: auto;
}

.margin-politica-privacidad {
    margin: 70px;
}

.p-responcive-politica-privacidad {
    color: #E6E6E6;
}

.margin-social-media {
    margin: 5px;
}

.border {
    border-radius: 20px;
    border-color: #000000;
}

/*Inician los estilos de las cartas de sucursales*/
.txt-aviso-legal {
    margin: 5px;
    padding: 5px;
    height: 5px;
    border: #000000,
        0.5px;
    color: #E6E6E6;
}

.txt-primary-aviso-legal {
    max-width: 99%;
    display: inline-block;
    font-size: 1rem;
    padding: 0.5em;
    margin: 0, 0.5em;
    border-radius: 0.5em;
    text-decoration: none;
    color: #E6E6E6;

}

.d-block {
    display: block;
    color: #E6E6E6;
}

.flex-container-aviso-legal {
    display: flex;
    flex-wrap: wrap;
    max-width: 1800px;
    margin: auto;
    justify-content: center;
    gap: 20px;
    border: #000000;
}

.aviso-legal-title {
    text-align: center;
    border-color: transparent;
    border: transparent;
}

.aviso-legal {
    display: inline-block;
    align-self: center;
    width: 2000px;
    height: 1000px;
    border: 2px solid transparent;
    /* Borde negro sólido */
    border-radius: 20px;
    /* Bordes redondeados */
    background-color: transparent;
    text-align: center;
    padding: 20px;
    /* Espaciado interno */
    box-shadow: 0px 4px 8px transparent;
    /* Sombra para destacar */
}

.inf-aviso-legal {
    align-self: center;
    display: inline-block;
    width: 450px;
    height: 660px;
    border-color: #FFF;
    border: #000000;
    border-radius: 50px;
    background-color: transparent;
    text-align: center;
    padding: auto;
}

.margin-aviso-legal {
    margin: 70px;
}

.p-responcive-aviso-legal {
    color: #E6E6E6;
}

.margin-social-media {
    margin: 5px;
}

.border {
    border-radius: 20px;
    border-color: #000000;
}


/*Inician los estilos de las cartas de sucursales*/
.txt-terminos-uso {
    margin: 5px;
    padding: 5px;
    height: 5px;
    border: #000000,
        0.5px;
    color: #E6E6E6;
}

.txt-primary-terminos-uso {
    max-width: 99%;
    display: inline-block;
    font-size: 1rem;
    padding: 0.5em;
    margin: 0, 0.5em;
    border-radius: 0.5em;
    text-decoration: none;
    color: #E6E6E6;

}

.d-block {
    display: block;
    color: #E6E6E6;
}

.flex-container-terminos-uso {
    display: flex;
    flex-wrap: wrap;
    max-width: 1800px;
    margin: auto;
    justify-content: center;
    gap: 20px;
    border: #000000;
}


.terminos-uso-title {
    text-align: center;
    border-color: #FFF;
    border: #000000;
}

.terminos-uso {
    display: inline-block;
    align-self: center;
    width: 2000px;
    height: 800px;
    border: 2px solid transparent;
    /* Borde negro sólido */
    border-radius: 20px;
    /* Bordes redondeados */
    background-color: transparent;
    text-align: center;
    padding: 20px;
    /* Espaciado interno */
    box-shadow: 0px 4px 8px transparent;
    /* Sombra para destacar */
}

.inf-terminos-uso {
    align-self: center;
    display: inline-block;
    width: 450px;
    height: 660px;
    border-color: #FFF;
    border: #000000;
    border-radius: 50px;
    background-color: transparent;
    text-align: center;
    padding: auto;
}

.margin-terminos-uso {
    margin: 70px;
}

.p-responcive-terminos-uso {
    color: #E6E6E6;
}

.margin-social-media {
    margin: 5px;
}

.border {
    border-radius: 20px;
    border-color: #000000;
}


@media (max-width: 1366px) {



    .btn-news {
        position: fixed;
        width: 50px;
        height: 50px;
        line-height: 50px;
        bottom: 600px;
        right: 20px;
        background: #E6E6E6;
        color: #E6E6E6;
        border-radius: 50px;
        text-align: center;
        font-size: 45px;
        box-shadow: 0px 3px 10px rgb(227, 0, 11);
        z-index: 100;
        transition: all 300ms ease;
    }


    /*Inicia el Boton de facebook flotante*/
    .btn-fb {
        position: fixed;
        width: 50px;
        height: 50px;
        line-height: 50px;
        bottom: 530px;
        right: 20px;
        background: #2545d3;
        color: #E6E6E6;
        border-radius: 50px;
        text-align: center;
        font-size: 45px;
        box-shadow: 0px 3px 10px rgba(37, 69, 211);
        z-index: 100;
        transition: all 300ms ease;
    }

    /*Finaliza el Boton de facebook flotante*/

    /*inicia el Boton de instagram flotante*/
    .btn-ig {
        position: fixed;
        width: 50px;
        height: 50px;
        line-height: 50px;
        bottom: 460px;
        right: 20px;
        background: #d82d7e;
        color: #E6E6E6;
        border-radius: 50px;
        text-align: center;
        font-size: 45px;
        box-shadow: 0px 3px 10px rgb(216, 45, 126);
        z-index: 100;
        transition: all 300ms ease;
    }

    /*Finaliza el Boton de instagram flotante*/

    /*inicia el Boton de tiktok flotante*/
    .btn-tk {
        position: fixed;
        width: 50px;
        height: 50px;
        line-height: 50px;
        bottom: 390px;
        right: 20px;
        background: #000000;
        color: #E6E6E6;
        border-radius: 50px;
        text-align: center;
        font-size: 45px;
        box-shadow: 0px 3px 10px rgba(0, 0, 0);
        z-index: 100;
        transition: all 300ms ease;
    }

    /*Termina el Boton de tiktok flotante*/

    /*Inicia el Boton de WhatsApp flotante*/
    .btn-wsp {
        position: fixed;
        width: 50px;
        height: 50px;
        line-height: 50px;
        bottom: 320px;
        right: 20px;
        background: #25d366;
        color: #E6E6E6;
        border-radius: 50px;
        text-align: center;
        font-size: 45px;
        box-shadow: 0px 3px 10px rgba(37, 211, 102);
        z-index: 100;
        transition: all 300ms ease;
    }


    /*Icicia el Boton de gmail flotante*/
    .btn-youtube {
        position: fixed;
        width: 50px;
        height: 50px;
        line-height: 50px;
        bottom: 250px;
        right: 20px;
        background: #E6E6E6;
        color: #E6E6E6;
        border-radius: 50px;
        text-align: center;
        font-size: 45px;
        box-shadow: 0px 3px 10px rgb(196, 48, 43);
        z-index: 100;
        transition: all 300ms ease;
    }

    /*Termina el Boton de gmail flotante*/

    /*Inicia el Boton de facebook flotante*/
    .btn-historia {
        position: fixed;
        width: 50px;
        height: 50px;
        line-height: 50px;
        bottom: 180px;
        right: 20px;
        background: #2545d3;
        color: #FFF;
        border-radius: 50px;
        text-align: center;
        font-size: 45px;
        box-shadow: 0px 3px 10px rgba(37, 69, 211);
        z-index: 100;
        transition: all 300ms ease;
    }

    /*Finaliza el Boton de facebook flotante*/

    /*footer*/
    .foot-foot {
        display: flex;
        /* Centra los elementos */
        align-items: center;
        align-self: self-center;
        list-style: none;
    }

    .foot-link {
        font-size: 1.1rem;
    }

    .foot-img {
        width: 4rem;
        height: 4rem;
    }
}

/* Responsive laptops*/
@media (max-width: 1024px) {
    .nav {
        flex-direction: column;
        align-items: center;
    }

    .nav-nav {
        display: flex;
        align-self: self-end;
        list-style: none;
        padding: 0;
    }

    .nav-brand {
        align-self: self-start;
        width: 300px;
        height: 100px;
    }

    /* Logo tamaño en pantallas pequeñas */
    .nav-brand img {
        width: 300px;
        height: 100px;
    }

    .nav-link {
        font-size: 1.1rem;
    }

    ul,
    ol {
        list-style: none;
        margin: 0px;
        padding: 0px
    }

    .nav-nav>li {
        position: left;
    }

    .nav-nav li a:hover {
        background-color: #434343;
    }

    .nav-nav li ul {
        display: none;
        position: absolute;
        top: 100%;
        min-width: 140px;
        background-color: #253785;
    }

    .nav-nav li:hover>ul {
        display: block;
    }

    .nav-nav li ul li {
        position: relative;
    }

    .nav-nav li ul li ul {
        right: -140px;
        top: 0px;
    }

    /*en este segmento se puede modificar tanto el color de la barra de navegacion como la posicion que posee asi como el color de letra*/
    .nav li a {
        background-color: #253785;
        color: #E6E6E6;
        text-decoration: none;
        padding: 0.5em;
        margin: 0, 0.5em;
        display: block;
        text-align: justify
    }

    .p-responcive {
        margin-top: 13px;
        margin-bottom: 13px;
    }

    .h5-responcive {
        margin-top: 13px;
        margin-bottom: 13px;
    }

    /*Inician los estilos responsivos de las cartas de sucursales*/
    .sucursales {
        width: 350px;
        height: 570px;
    }

    .map {
        display: inline-block;
        align-self: center;
        width: 350px;
        height: 570px;
        border: 2px transparent;
        /* Borde negro sólido */
        border-radius: 20px;
        /* Bordes redondeados */
        background-color: transparent;
        text-align: center;
        padding: 20px;
        /* Espaciado interno */
        /* Sombra para destacar */
    }

    .inf {
        width: 350px;
        height: 570px;
    }

    .flex-container {
        flex-wrap: wrap;
        justify-content: center;

    }

    .btn-news {
        position: fixed;
        width: 50px;
        height: 50px;
        line-height: 50px;
        bottom: 600px;
        right: 20px;
        background: #E6E6E6;
        color: #E6E6E6;
        border-radius: 50px;
        text-align: center;
        font-size: 45px;
        box-shadow: 0px 3px 10px rgb(227, 0, 11);
        z-index: 100;
        transition: all 300ms ease;
    }


    /*Inicia el Boton de facebook flotante*/
    .btn-fb {
        position: fixed;
        width: 50px;
        height: 50px;
        line-height: 50px;
        bottom: 530px;
        right: 20px;
        background: #2545d3;
        color: #E6E6E6;
        border-radius: 50px;
        text-align: center;
        font-size: 45px;
        box-shadow: 0px 3px 10px rgba(37, 69, 211);
        z-index: 100;
        transition: all 300ms ease;
    }

    /*Finaliza el Boton de facebook flotante*/

    /*inicia el Boton de instagram flotante*/
    .btn-ig {
        position: fixed;
        width: 50px;
        height: 50px;
        line-height: 50px;
        bottom: 460px;
        right: 20px;
        background: #d82d7e;
        color: #E6E6E6;
        border-radius: 50px;
        text-align: center;
        font-size: 45px;
        box-shadow: 0px 3px 10px rgb(216, 45, 126);
        z-index: 100;
        transition: all 300ms ease;
    }

    /*Finaliza el Boton de instagram flotante*/

    /*inicia el Boton de tiktok flotante*/
    .btn-tk {
        position: fixed;
        width: 50px;
        height: 50px;
        line-height: 50px;
        bottom: 390px;
        right: 20px;
        background: #000000;
        color: #E6E6E6;
        border-radius: 50px;
        text-align: center;
        font-size: 45px;
        box-shadow: 0px 3px 10px rgba(0, 0, 0);
        z-index: 100;
        transition: all 300ms ease;
    }

    /*Termina el Boton de tiktok flotante*/

    /*Inicia el Boton de WhatsApp flotante*/
    .btn-wsp {
        position: fixed;
        width: 50px;
        height: 50px;
        line-height: 50px;
        bottom: 320px;
        right: 20px;
        background: #25d366;
        color: #E6E6E6;
        border-radius: 50px;
        text-align: center;
        font-size: 45px;
        box-shadow: 0px 3px 10px rgba(37, 211, 102);
        z-index: 100;
        transition: all 300ms ease;
    }

    /*Icicia el Boton de gmail flotante*/
    .btn-youtube {
        position: fixed;
        width: 50px;
        height: 50px;
        line-height: 50px;
        bottom: 250px;
        right: 20px;
        background: #E6E6E6;
        color: #E6E6E6;
        border-radius: 50px;
        text-align: center;
        font-size: 45px;
        box-shadow: 0px 3px 10px rgb(196, 48, 43);
        z-index: 100;
        transition: all 300ms ease;
    }

    /*Termina el Boton de gmail flotante*/

    /*Inicia el Boton de facebook flotante*/
    .btn-historia {
        position: fixed;
        width: 50px;
        height: 50px;
        line-height: 50px;
        bottom: 180px;
        right: 20px;
        background: #2545d3;
        color: #FFF;
        border-radius: 50px;
        text-align: center;
        font-size: 45px;
        box-shadow: 0px 3px 10px rgba(37, 69, 211);
        z-index: 100;
        transition: all 300ms ease;
    }

    /*footer*/

    /*Aqui inicia los estilos del footer*/
    .container {
        margin-right: auto;
        margin-left: auto;
    }

    /* Fondo del footer */
    .bg-footer {
        background-color: #253785;
        background-repeat: repeat;
        background-size: cover;
    }

    /* Estilos generales del footer */
    .foot {
        display: flex;
        flex-direction: column;
        align-items: center;
        /* Alineamos los elementos al centro */
        text-align: justify;
    }

    .foot-foot {
        display: flex;
        /* Centra los elementos */
        align-items: center;
        align-self: self-center;
        list-style: none;
    }

    .foot-link-tint {
        display: inline-block;
        text-decoration: none;
        color: #E6E6E6;
        font-size: 0.8rem;
        border-radius: 0.5em;
    }

    .foot-link {
        display: inline-block;
        text-decoration: none;
        color: #E6E6E6;
        font-size: 0.8rem;
        border-radius: 0.5em;
    }

    .foot-link:hover {
        background-color: #434343;

    }

    /* Logo de Guatemala */
    .foot-img {
        display: block;
        align-self: center;
        width: 2.5rem;
        height: 2.5rem;
        border-radius: 0.5em;
    }

}

/* Responsive para tablets*/
@media (max-width: 1200px) {

    /* Reset global */
    *,
    *::before,
    *::after {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }


    /* Asegurar que html y body ocupen el 100% de la pantalla */
    html,
    body {
        width: 100%;
        height: 100%;
        overflow-x: hidden;
        font-family: "Poppins", sans-serif;
        /* Evitar scroll horizontal */
    }

    /* Ajuste del contenedor general */
    .container {
        width: 100%;
        margin: 0 auto;
        padding: 0;
        /* Eliminar rellenos adicionales */
    }

    /*Nav*/
    .nav-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #253785;
        position: absolute;
        top: 80px;
        left: 0;
    }

    .nav-nav.show {
        display: flex;
    }

    .nav-toggle {
        display: block;
        background-color: #253785;
        align-self: self-end;
        color: #E6E6E6;
        font-size: 1.5rem;
        padding: 1em;
        cursor: pointer;
        border-radius: 5px;
    }

    .nav-brand {
        align-self: self-start;
        width: 300px;
        height: 100px;
    }

    .nav-brand img {
        width: 300px;
        height: 100px;
    }

    .nav-link {
        font-size: 1.1rem;
    }

    /* Oculta los submenús en móviles por defecto */
    .nav-nav li ul {
        display: none;
        position: static;
        background-color: #1d2b6d;
        padding-left: 10px;
        opacity: 0;
        /* Para aplicar la transición de desvanecimiento */
        transition: opacity 0.3s ease;
        /* Transición para los submenús */
    }

    /* Muestra el submenú cuando tiene la clase .show-submenu o .active */
    .nav-nav li ul.show-submenu,
    .nav-nav li ul.active {
        display: block;
        opacity: 1;
    }

    .nav-nav li {
        position: relative;
    }

    /* Evitar que los submenús se abran con hover en móviles */
    .nav-nav li:hover ul {
        display: none;
    }

    /* En dispositivos móviles, permitir que el submenú se despliegue con click */
    .has-submenu>a {
        display: block;
    }

    .p-responcive {
        margin-top: 13px;
        margin-bottom: 13px;
    }

    .h5-responcive {
        margin-top: 13px;
        margin-bottom: 13px;
    }

    /*slider*/
    .slider {
        position: relative;
        /* Asegúrate de que el carrusel tenga un posicionamiento */
        z-index: 1;
        /* Un valor bajo para que esté debajo del menú */
        width: 100%;
        height: 300px;
        overflow: hidden;
    }

    .slider input {
        display: none;
    }

    .slider-content ul {
        display: flex;
        padding: 0;
        width: calc(100% * 6);
        /* Cambiar a 6 para el número de imágenes */
        transition: margin-left 1s ease;
    }

    .slider-content li {
        width: 100%;
        /* Ajusta según tu diseño */
        height: auto;
        /* Tamaño del contenedor */
        list-style: none;
    }

    .slider-content img {
        width: 100%;
        height: 300px;
        /* Cambia para ocupar todo el contenedor */
    }

    label {
        font-size: 28px;
        padding: 6px;
    }

    /*banner servicios*/
    .brand-img-cs {
        width: 100%;
        /* Hace que la imagen ocupe el 100% del ancho */
        height: auto;
        /* Mantiene la proporción de la imagen */
        display: block;
        /* Para eliminar cualquier espacio debajo de la imagen */
        margin: 0 auto;
        /* Centra la imagen */
    }

    /*Inician los estilos responsivos de las cartas de sucursales*/
    .h5-suc {
        margin-top: 13px;
        margin-bottom: 13px;
        color: #E6E6E6;
    }

    .h5-responcive {
        color: #E6E6E6;
    }

    .h3-title {
        margin-top: 5px;
        margin-bottom: 13px;
        color: #E6E6E6;

    }

    .txt-suc {
        margin: 5px;
        padding: 5px;
        height: 5px;
        border: #000000,
            0.5px;
        color: #E6E6E6;
    }

    .txt-primary-suc {
        max-width: 99%;
        display: inline-block;
        font-size: 1rem;
        padding: 0.5em;
        margin: 0, 0.5em;
        border-radius: 0.5em;
        text-decoration: none;
        color: #E6E6E6;

    }

    .card-img {
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
        width: 100%;
    }

    .card-img-map {
        height: 110%;
        width: 110%;
    }

    .phone {
        display: flex;
        align-items: center;
        justify-content: center;
        /* Mantiene el centrado horizontal */
        gap: 8px;
        margin-right: 30px;
        /* Desplaza todo el bloque hacia la derecha */
    }

    .d-block {
        display: block;
        color: #E6E6E6;
    }

    .icon-phone {
        width: 24px;
        height: 24px;
    }

    .horario {
        display: flex;
        align-items: center;
        gap: 2px;
        justify-content: center;
        margin-right: 15px;
        /* Desplaza todo el bloque hacia la derecha */
    }

    .icon-horario {
        margin-right: 15px;
        width: 20px;
        height: 20px;
    }

    .flex-container {
        flex-wrap: wrap;
        justify-content: center;

    }

    .sucursales-title {
        text-align: center;
        padding: 5px;
        border-color: #FFF;
    }

    .sucursales {
        width: 400px;
        height: 600px;
    }

    .map {

        width: 400px;
        height: 600px;
    }

    .inf {
        width: 300px;
        height: 600px;
    }

    .margin {
        margin: 20px;
    }

    .p-responcive {
        color: #E6E6E6;
    }

    .btn-maps {
        width: 40px;
        height: 40px
    }

    .margin-social-media {
        margin: 5px;
    }

    .border {
        border-radius: 20px;
    }

    /* Oculta botones flotantes en móvil */

    .btn-news,
    .btn-fb,
    .btn-ig,
    .btn-tk,
    .btn-wsp,
    .btn-youtube,
    .btn-historia {
        display: none !important;
    }

    /* Botón flotante hamburguesa */
    .edge-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 50%;
        right: 10px;
        transform: translateY(-50%);

        background-color: transparent;
        color: white;
        width: 40px;
        height: 60px;
        font-size: 24px;
        cursor: pointer;
        border-radius: 10px 0 0 10px;
        z-index: 1001;
        transition: background 0.3s;
    }

    .edge-toggle:hover {
        background-color: transparent;
    }

    /* Panel lateral */
    .edge-panel {
        display: block;
        position: fixed;
        top: 0;
        right: -260px;
        width: 250px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.8);
        /* fondo translúcido */
        backdrop-filter: blur(10px);
        /* desenfoque */
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
        transition: right 0.3s ease;
        padding: 40px 20px;
        z-index: 1000;
        overflow-y: auto;
    }

    .edge-panel.open {
        right: 0;
    }

    /* Contenedor de íconos */
    .social-icons-mobile {
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: center;
        justify-content: center;
        height: 100%;
    }

    /* Botones redondos */
    .mobile-btn {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background-color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .mobile-btn:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
    }

    .mobile-btn img {
        width: 30px;
        height: 30px;
    }


    /*footer*/
    .foot-foot {
        display: flex;
        /* Centra los elementos */
        align-items: center;
        align-self: self-center;
        list-style: none;
    }

    .foot-link {
        font-size: 0.9rem;
        padding: 0.5em;
        margin: 0.3em;
    }

    .foot-img {
        width: 2.5rem;
        height: 2.5rem;
    }

    .foot-foot {
        flex-direction: column;
        align-items: center;
    }

    /*banner servicios*/
    .brand-img-cs {
        width: 100%;
        /* Hace que la imagen ocupe el 100% del ancho */
        height: auto;
        /* Mantiene la proporción de la imagen */
        display: block;
        /* Para eliminar cualquier espacio debajo de la imagen */
        margin: 0 auto;
        /* Centra la imagen */
    }

    /*Aqui termina los estilos del banner centos de servicio*/

    .bg-fondo-azul {
        background-image: url("../assets/imagines/fondo_azul.png");
        /* Ruta relativa */
        background-color: #253785;
        /* Opcional, por defecto es transparente */
        background-repeat: no-repeat;
        /* Cambiado a no-repeat si no quieres que se repita */
        /* Cubre todo el contenedor *
        /* Para que z-index funcione */
        z-index: 1;

        /* Asegura que ocupe todo el ancho */

        /* Ocupa toda la altura del viewport */
    }


}

/* Responsive para tablets (desde 426px hasta 768px) */
@media (max-width: 768px) {

    /* Reset global */
    *,
    *::before,
    *::after {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }


    /* Asegurar que html y body ocupen el 100% de la pantalla */
    html,
    body {
        width: 100%;
        height: 100%;
        overflow-x: hidden;
        font-family: "Poppins", sans-serif;
        /* Evitar scroll horizontal */
    }

    /* Ajuste del contenedor general */
    .container {
        width: 100%;
        margin: 0 auto;
        padding: 0;
        /* Eliminar rellenos adicionales */
    }

    /*Nav*/

    .nav-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #253785;
        position: absolute;
        top: 80px;
        left: 0;
    }

    .nav-nav.show {
        display: flex;
    }

    .nav-toggle {
        display: block;
        background-color: #253785;
        align-self: self-end;
        color: #E6E6E6;
        font-size: 1.5rem;
        padding: 1em;
        cursor: pointer;
        border-radius: 5px;
    }

    .nav-brand {
        align-self: self-start;
        width: 300px;
        height: 100px;
    }

    .nav-brand img {
        width: 300px;
        height: 100px;
    }

    .nav-link {
        font-size: 1.1rem;
    }

    /* Oculta los submenús en móviles por defecto */
    .nav-nav li ul {
        display: none;
        position: static;
        background-color: #1d2b6d;
        padding-left: 10px;
        opacity: 0;
        /* Para aplicar la transición de desvanecimiento */
        transition: opacity 0.3s ease;
        /* Transición para los submenús */
    }

    /* Muestra el submenú cuando tiene la clase .show-submenu o .active */
    .nav-nav li ul.show-submenu,
    .nav-nav li ul.active {
        display: block;
        opacity: 1;
    }

    .nav-nav li {
        position: relative;
    }

    /* Evitar que los submenús se abran con hover en móviles */
    .nav-nav li:hover ul {
        display: none;
    }

    /* Estilos adicionales para evitar que se abra el submenú con hover en dispositivos móviles */
    .has-submenu>a {
        cursor: pointer;
    }

    /* En dispositivos móviles, permitir que el submenú se despliegue con click */
    .has-submenu>a {
        display: block;
    }

    .p-responcive {
        margin-top: 13px;
        margin-bottom: 13px;
    }

    .h5-responcive {
        margin-top: 13px;
        margin-bottom: 13px;
    }

    /*slider*/
    .slider {
        position: relative;
        /* Asegúrate de que el carrusel tenga un posicionamiento */
        z-index: 1;
        /* Un valor bajo para que esté debajo del menú */
        width: 100%;
        height: 500px;
        overflow: hidden;
    }

    .slider input {
        display: none;
    }

    .slider-content ul {
        display: flex;
        padding: 0;
        width: calc(100% * 6);
        /* Cambiar a 6 para el número de imágenes */
        transition: margin-left 1s ease;
    }

    .slider-content li {
        width: 100%;
        /* Ajusta según tu diseño */
        height: auto;
        /* Tamaño del contenedor */
        list-style: none;
    }

    .slider-content img {
        width: 100%;
        height: 500px;
        /* Cambia para ocupar todo el contenedor */
    }

    label {
        font-size: 28px;
        padding: 6px;
    }

    /*banner servicios*/
    .brand-img-cs {
        width: 100%;
        /* Hace que la imagen ocupe el 100% del ancho */
        height: auto;
        /* Mantiene la proporción de la imagen */
        display: block;
        /* Para eliminar cualquier espacio debajo de la imagen */
        margin: 0 auto;
        /* Centra la imagen */
    }

    /*Inician los estilos responsivos de las cartas de sucursales*/
    .h5-suc {
        margin-top: 13px;
        margin-bottom: 13px;
        color: #E6E6E6;
    }

    .h5-responcive {
        color: #E6E6E6;
    }

    .txt-suc {
        margin: 5px;
        padding: 5px;
        height: 5px;
        border: #000000,
            0.5px;
        color: #E6E6E6;
    }

    .txt-primary-suc {
        max-width: 99%;
        display: inline-block;
        font-size: 1rem;
        padding: 0.5em;
        margin: 0, 0.5em;
        border-radius: 0.5em;
        text-decoration: none;
        color: #E6E6E6;

    }

    .card-img {
        border-top-left-radius: 50px;
        border-top-right-radius: 50px;
        width: 100%;
    }

    .card-img-map {
        height: 120%;
        width: 120%;
    }

    .phone {
        display: flex;
        align-items: center;
        justify-content: center;
        /* Mantiene el centrado horizontal */
        gap: 8px;
        margin-right: 30px;
        /* Desplaza todo el bloque hacia la derecha */
    }

    .d-block {
        display: block;
        color: #E6E6E6;
    }

    .icon-phone {
        width: 24px;
        height: 24px;
    }

    .horario {
        display: flex;
        align-items: center;
        gap: 2px;
        justify-content: center;
        margin-right: 15px;
        /* Desplaza todo el bloque hacia la derecha */
    }

    .icon-horario {
        margin-right: 15px;
        width: 20px;
        height: 20px;
    }

    .flex-container {
        flex-wrap: wrap;
        justify-content: center;

    }

    .sucursales-title {
        text-align: center;
        border-color: #FFF;
        border: #000000;
    }

    .sucursales {
        width: 800px;
        height: 700px;
    }

    .map {
        display: inline-block;
        align-self: center;
        width: 800px;
        height: 700px;
        border: 2px transparent;
        /* Borde negro sólido */
        border-radius: 20px;
        /* Bordes redondeados */
        background-color: transparent;
        text-align: center;
        padding: 20px;
        /* Espaciado interno */
        /* Sombra para destacar */
    }

    .inf {
        width: 800px;
        height: 700px;

    }

    .margin {
        margin: 70px;
    }

    .p-responcive {
        color: #E6E6E6;
    }

    .btn-maps {
        width: 40px;
        height: 40px
    }

    .margin-social-media {
        margin: 5px;
    }

    .border {
        border-radius: 20px;
    }

    /*inician redes sociales*/
    .btn-news,
    .btn-fb,
    .btn-ig,
    .btn-tk,
    .btn-wsp,
    .btn-youtube,
    .btn-historia {
        display: none !important;
    }

    /* Botón flotante hamburguesa */
    .edge-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 50%;
        right: 10px;
        transform: translateY(-50%);

        background-color: transparent;
        color: white;
        width: 40px;
        height: 60px;
        font-size: 24px;
        cursor: pointer;
        border-radius: 10px 0 0 10px;
        z-index: 1001;
        transition: background 0.3s;
    }

    .edge-toggle:hover {
        background-color: transparent;
    }

    /* Panel lateral */
    .edge-panel {
        display: block;
        position: fixed;
        top: 0;
        right: -260px;
        width: 250px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.8);
        /* fondo translúcido */
        backdrop-filter: blur(10px);
        /* desenfoque */
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
        transition: right 0.3s ease;
        padding: 40px 20px;
        z-index: 1000;
        overflow-y: auto;
    }

    .edge-panel.open {
        right: 0;
    }

    /* Contenedor de íconos */
    .social-icons-mobile {
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: center;
        justify-content: center;
        height: 100%;
    }

    /* Botones redondos */
    .mobile-btn {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background-color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .mobile-btn:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
    }

    .mobile-btn img {
        width: 30px;
        height: 30px;
    }

    /*footer*/

    /*Aqui inicia los estilos del footer*/
    .container {
        margin-right: auto;
        margin-left: auto;
    }

    /* Fondo del footer */
    .bg-footer {
        background-color: #253785;
        background-repeat: repeat;
        background-size: cover;
    }

    /* Estilos generales del footer */
    .foot {
        display: flex;
        flex-direction: column;
        align-items: center;
        /* Alineamos los elementos al centro */
        text-align: justify;
    }

    .foot-foot {
        display: flex;
        /* Centra los elementos */
        align-items: center;
        align-self: self-center;
        list-style: none;
    }

    .foot-link-tint {
        display: inline-block;
        text-decoration: none;
        color: #E6E6E6;
        font-size: 0.6rem;
        border-radius: 0.5em;
    }

    .foot-link {
        display: inline-block;
        text-decoration: none;
        color: #E6E6E6;
        font-size: 0.6rem;
        border-radius: 0.5em;
    }

    .foot-link:hover {
        background-color: #434343;

    }

    /* Logo de Guatemala */
    .foot-img {
        display: block;
        align-self: center;
        width: 2.5rem;
        height: 2.5rem;
        border-radius: 0.5em;
    }
}

/*Dimenciones para Iphone 14 pro max*/
@media (max-width: 430px) {
    .nav-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #253785;
        position: absolute;
        top: 80px;
        left: 0;
    }

    .nav-nav.show {
        display: flex;
    }

    .nav-toggle {
        display: block;
        background-color: #253785;
        align-self: self-end;
        color: #E6E6E6;
        font-size: 1.5rem;
        padding: 1em;
        cursor: pointer;
        border-radius: 5px;
    }

    .nav-brand {
        align-self: self-start;
        width: 300px;
        height: 100px;
    }

    .nav-brand img {
        width: 300px;
        height: 100px;
    }

    .nav-link {
        font-size: 1.1rem;
    }

    /* Oculta los submenús en móviles por defecto */
    .nav-nav li ul {
        display: none;
        position: static;
        background-color: #1d2b6d;
        padding-left: 10px;
        opacity: 0;
        /* Para aplicar la transición de desvanecimiento */
        transition: opacity 0.3s ease;
        /* Transición para los submenús */
    }

    /* Muestra el submenú cuando tiene la clase .show-submenu o .active */
    .nav-nav li ul.show-submenu,
    .nav-nav li ul.active {
        display: block;
        opacity: 1;
    }

    .nav-nav li {
        position: relative;
    }

    /* Evitar que los submenús se abran con hover en móviles */
    .nav-nav li:hover ul {
        display: none;
    }

    /* Estilos adicionales para evitar que se abra el submenú con hover en dispositivos móviles */
    .has-submenu>a {
        cursor: pointer;
    }

    /* En dispositivos móviles, permitir que el submenú se despliegue con click */
    .has-submenu>a {
        display: block;
    }

    .p-responcive {
        margin-top: 13px;
        margin-bottom: 13px;
    }

    .h5-responcive {
        margin-top: 13px;
        margin-bottom: 13px;
    }

    /*slider*/
    .slider {
        position: relative;
        /* Asegúrate de que el carrusel tenga un posicionamiento */
        z-index: 1;
        /* Un valor bajo para que esté debajo del menú */
        width: 100%;
        height: 300px;
        overflow: hidden;
    }

    .slider input {
        display: none;
    }

    .slider-content ul {
        display: flex;
        padding: 0;
        width: calc(100% * 6);
        /* Cambiar a 6 para el número de imágenes */
        transition: margin-left 1s ease;
    }

    .slider-content li {
        width: 100%;
        /* Ajusta según tu diseño */
        height: auto;
        /* Tamaño del contenedor */
        list-style: none;
    }

    .slider-content img {
        width: 100%;
        height: 300px;
        /* Cambia para ocupar todo el contenedor */
    }

    label {
        font-size: 28px;
        padding: 6px;
    }

    /*banner servicios*/
    .brand-img-cs {
        width: 100%;
        /* Hace que la imagen ocupe el 100% del ancho */
        height: auto;
        /* Mantiene la proporción de la imagen */
        display: block;
        /* Para eliminar cualquier espacio debajo de la imagen */
        margin: 0 auto;
        /* Centra la imagen */
    }

    /*Inician los estilos responsivos de las cartas de sucursales*/
    .h5-suc {
        margin-top: 13px;
        margin-bottom: 13px;
        color: #E6E6E6;
    }

    .h5-responcive {
        color: #E6E6E6;
    }

    .h3-title {
        margin-top: 5px;
        margin-bottom: 13px;
        color: #E6E6E6;

    }

    .txt-suc {
        margin: 5px;
        padding: 5px;
        height: 5px;
        border: #000000,
            0.5px;
        color: #E6E6E6;
    }

    .txt-primary-suc {
        max-width: 99%;
        display: inline-block;
        font-size: 1rem;
        padding: 0.5em;
        margin: 0, 0.5em;
        border-radius: 0.5em;
        text-decoration: none;
        color: #E6E6E6;

    }

    .card-img {
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
        width: 100%;
    }

    .card-img-map {
        height: 110%;
        width: 110%;
    }

    .phone {
        display: flex;
        align-items: center;
        justify-content: center;
        /* Mantiene el centrado horizontal */
        gap: 8px;
        margin-right: 30px;
        /* Desplaza todo el bloque hacia la derecha */
    }

    .d-block {
        display: block;
        color: #E6E6E6;
    }

    .icon-phone {
        width: 24px;
        height: 24px;
    }

    .horario {
        display: flex;
        align-items: center;
        gap: 2px;
        justify-content: center;
        margin-right: 15px;
        /* Desplaza todo el bloque hacia la derecha */
    }

    .icon-horario {
        margin-right: 15px;
        width: 20px;
        height: 20px;
    }

    .flex-container {
        flex-wrap: wrap;
        justify-content: center;

    }

    .sucursales-title {
        text-align: center;
        padding: 5px;
        border-color: #FFF;
    }

    .sucursales {
        width: 400px;
        height: 600px;
    }

    .map {

        width: 400px;
        height: 600px;
    }

    .inf {
        width: 300px;
        height: 600px;
    }

    .margin {
        margin: 20px;
    }

    .p-responcive {
        color: #E6E6E6;
    }

    .btn-maps {
        width: 40px;
        height: 40px
    }

    .margin-social-media {
        margin: 5px;
    }

    .border {
        border-radius: 20px;
    }

    /* Oculta botones flotantes en móvil */
    .btn-news,
    .btn-fb,
    .btn-ig,
    .btn-tk,
    .btn-wsp,
    .btn-youtube,
    .btn-historia {
        display: none !important;
    }

    /* Botón flotante hamburguesa */
    .edge-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 50%;
        right: 10px;
        transform: translateY(-50%);

        background-color: transparent;
        color: white;
        width: 40px;
        height: 60px;
        font-size: 24px;
        cursor: pointer;
        border-radius: 10px 0 0 10px;
        z-index: 1001;
        transition: background 0.3s;
    }

    .edge-toggle:hover {
        background-color: transparent;
    }

    /* Panel lateral */
    .edge-panel {
        display: block;
        position: fixed;
        top: 0;
        right: -260px;
        width: 250px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.8);
        /* fondo translúcido */
        backdrop-filter: blur(10px);
        /* desenfoque */
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
        transition: right 0.3s ease;
        padding: 40px 20px;
        z-index: 1000;
        overflow-y: auto;
    }

    .edge-panel.open {
        right: 0;
    }

    /* Contenedor de íconos */
    .social-icons-mobile {
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: center;
        justify-content: center;
        height: 100%;
    }

    /* Botones redondos */
    .mobile-btn {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background-color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .mobile-btn:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
    }

    .mobile-btn img {
        width: 30px;
        height: 30px;
    }


    /*footer*/
    .foot-foot {
        display: flex;
        /* Centra los elementos */
        align-items: center;
        align-self: self-center;
        list-style: none;
    }

    .foot-link {
        font-size: 0.9rem;
        padding: 0.5em;
        margin: 0.3em;
    }

    .foot-img {
        width: 2.5rem;
        height: 2.5rem;
    }

    .foot-foot {
        flex-direction: column;
        align-items: center;
    }


}

/* Responsive para móviles pequeños (máximo 425px) */
@media (max-width: 425px) {

    /* Reset global */
    *,
    *::before,
    *::after {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }


    /* Asegurar que html y body ocupen el 100% de la pantalla */
    html,
    body {
        width: 100%;
        height: 100%;
        overflow-x: hidden;
        font-family: "Poppins", sans-serif;
        /* Evitar scroll horizontal */
    }

    /* Ajuste del contenedor general */
    .container {
        width: 100%;
        margin: 0 auto;
        padding: 0;
        /* Eliminar rellenos adicionales */
    }

    .nav-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #253785;
        position: absolute;
        top: 80px;
        left: 0;
    }

    .nav-nav.show {
        display: flex;
    }

    .nav-toggle {
        display: block;
        background-color: #253785;
        align-self: self-end;
        color: #E6E6E6;
        font-size: 1.5rem;
        padding: 1em;
        cursor: pointer;
        border-radius: 5px;
    }

    .nav-brand {
        align-self: self-start;
        width: 300px;
        height: 100px;
    }

    .nav-brand img {
        width: 300px;
        height: 100px;
    }

    .nav-link {
        font-size: 1.1rem;
    }

    /* Oculta los submenús en móviles por defecto */
    .nav-nav li ul {
        display: none;
        position: static;
        background-color: #1d2b6d;
        padding-left: 10px;
        opacity: 0;
        /* Para aplicar la transición de desvanecimiento */
        transition: opacity 0.3s ease;
        /* Transición para los submenús */
    }

    /* Muestra el submenú cuando tiene la clase .show-submenu o .active */
    .nav-nav li ul.show-submenu,
    .nav-nav li ul.active {
        display: block;
        opacity: 1;
    }

    .nav-nav li {
        position: relative;
    }

    /* Evitar que los submenús se abran con hover en móviles */
    .nav-nav li:hover ul {
        display: none;
    }

    /* Estilos adicionales para evitar que se abra el submenú con hover en dispositivos móviles */
    .has-submenu>a {
        cursor: pointer;
    }

    /* En dispositivos móviles, permitir que el submenú se despliegue con click */
    .has-submenu>a {
        display: block;
    }

    .p-responcive {
        margin-top: 13px;
        margin-bottom: 13px;
    }

    .h5-responcive {
        margin-top: 13px;
        margin-bottom: 13px;
    }

    /*slider*/
    .slider {
        position: relative;
        /* Asegúrate de que el carrusel tenga un posicionamiento */
        z-index: 1;
        /* Un valor bajo para que esté debajo del menú */
        width: 100%;
        height: 300px;
        overflow: hidden;
    }

    .slider input {
        display: none;
    }

    .slider-content ul {
        display: flex;
        padding: 0;
        width: calc(100% * 6);
        /* Cambiar a 6 para el número de imágenes */
        transition: margin-left 1s ease;
    }

    .slider-content li {
        width: 100%;
        /* Ajusta según tu diseño */
        height: auto;
        /* Tamaño del contenedor */
        list-style: none;
    }

    .slider-content img {
        width: 100%;
        height: 300px;
        /* Cambia para ocupar todo el contenedor */
    }

    label {
        font-size: 28px;
        padding: 6px;
    }

    /*banner servicios*/
    .brand-img-cs {
        width: 100%;
        /* Hace que la imagen ocupe el 100% del ancho */
        height: auto;
        /* Mantiene la proporción de la imagen */
        display: block;
        /* Para eliminar cualquier espacio debajo de la imagen */
        margin: 0 auto;
        /* Centra la imagen */
    }

    /*Inician los estilos responsivos de las cartas de sucursales*/
    .h5-suc {
        margin-top: 13px;
        margin-bottom: 13px;
        color: #E6E6E6;
    }

    .h5-responcive {
        color: #E6E6E6;
    }

    .h3-title {
        margin-top: 5px;
        margin-bottom: 13px;
        color: #E6E6E6;

    }

    .txt-suc {
        margin: 5px;
        padding: 5px;
        height: 5px;
        border: #000000,
            0.5px;
        color: #E6E6E6;
    }

    .txt-primary-suc {
        max-width: 99%;
        display: inline-block;
        font-size: 1rem;
        padding: 0.5em;
        margin: 0, 0.5em;
        border-radius: 0.5em;
        text-decoration: none;
        color: #E6E6E6;

    }

    .card-img {
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
        width: 100%;
    }

    .card-img-map {
        height: 110%;
        width: 110%;
    }

    .phone {
        display: flex;
        align-items: center;
        justify-content: center;
        /* Mantiene el centrado horizontal */
        gap: 8px;
        margin-right: 30px;
        /* Desplaza todo el bloque hacia la derecha */
    }

    .d-block {
        display: block;
        color: #E6E6E6;
    }

    .icon-phone {
        width: 24px;
        height: 24px;
    }

    .horario {
        display: flex;
        align-items: center;
        gap: 2px;
        justify-content: center;
        margin-right: 15px;
        /* Desplaza todo el bloque hacia la derecha */
    }

    .icon-horario {
        margin-right: 15px;
        width: 20px;
        height: 20px;
    }

    .flex-container {
        flex-wrap: wrap;
        justify-content: center;

    }

    .sucursales-title {
        text-align: center;
        padding: 5px;
        border-color: #FFF;
    }

    .sucursales {
        width: 440px;
        height: 580px;
    }

    .map {
        width: 440px;
        height: 580px;
    }

    .inf {
        width: 440px;
        height: 580px;
    }

    .margin {
        margin: 20px;
    }

    .p-responcive {
        color: #E6E6E6;
    }

    .btn-maps {
        width: 40px;
        height: 40px
    }

    .margin-social-media {
        margin: 5px;
    }

    .border {
        border-radius: 20px;
    }

    /* Oculta botones flotantes en móvil */
    .btn-news,
    .btn-fb,
    .btn-ig,
    .btn-tk,
    .btn-wsp,
    .btn-youtube,
    .btn-historia {
        display: none !important;
    }

    /* Botón flotante hamburguesa */
    .edge-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 50%;
        right: 10px;
        transform: translateY(-50%);

        background-color: transparent;
        color: white;
        width: 40px;
        height: 60px;
        font-size: 24px;
        cursor: pointer;
        border-radius: 10px 0 0 10px;
        z-index: 1001;
        transition: background 0.3s;
    }

    .edge-toggle:hover {
        background-color: transparent;
    }

    /* Panel lateral */
    .edge-panel {
        display: block;
        position: fixed;
        top: 0;
        right: -260px;
        width: 250px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.8);
        /* fondo translúcido */
        backdrop-filter: blur(10px);
        /* desenfoque */
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
        transition: right 0.3s ease;
        padding: 40px 20px;
        z-index: 1000;
        overflow-y: auto;
    }

    .edge-panel.open {
        right: 0;
    }

    /* Contenedor de íconos */
    .social-icons-mobile {
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: center;
        justify-content: center;
        height: 100%;
    }

    /* Botones redondos */
    .mobile-btn {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background-color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .mobile-btn:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
    }

    .mobile-btn img {
        width: 30px;
        height: 30px;
    }

}

/*Dimenciones para Iphone XR pro max*/
@media (max-width: 414px) {
    .nav-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #253785;
        position: absolute;
        top: 80px;
        left: 0;
    }

    .nav-nav.show {
        display: flex;
    }

    .nav-toggle {
        display: block;
        background-color: #253785;
        align-self: self-end;
        color: #E6E6E6;
        font-size: 1.5rem;
        padding: 1em;
        cursor: pointer;
        border-radius: 5px;
    }

    .nav-brand {
        align-self: self-start;
        width: 300px;
        height: 100px;
    }

    .nav-brand img {
        width: 300px;
        height: 100px;
    }

    .nav-link {
        font-size: 1.1rem;
    }

    /* Oculta los submenús en móviles por defecto */
    .nav-nav li ul {
        display: none;
        position: static;
        background-color: #1d2b6d;
        padding-left: 10px;
        opacity: 0;
        /* Para aplicar la transición de desvanecimiento */
        transition: opacity 0.3s ease;
        /* Transición para los submenús */
    }

    /* Muestra el submenú cuando tiene la clase .show-submenu o .active */
    .nav-nav li ul.show-submenu,
    .nav-nav li ul.active {
        display: block;
        opacity: 1;
    }

    .nav-nav li {
        position: relative;
    }

    /* Evitar que los submenús se abran con hover en móviles */
    .nav-nav li:hover ul {
        display: none;
    }

    /* Estilos adicionales para evitar que se abra el submenú con hover en dispositivos móviles */
    .has-submenu>a {
        cursor: pointer;
    }

    /* En dispositivos móviles, permitir que el submenú se despliegue con click */
    .has-submenu>a {
        display: block;
    }

    .p-responcive {
        margin-top: 13px;
        margin-bottom: 13px;
    }

    .h5-responcive {
        margin-top: 13px;
        margin-bottom: 13px;
    }

    /*slider*/
    .slider {
        position: relative;
        /* Asegúrate de que el carrusel tenga un posicionamiento */
        z-index: 1;
        /* Un valor bajo para que esté debajo del menú */
        width: 100%;
        height: 300px;
        overflow: hidden;
    }

    .slider input {
        display: none;
    }

    .slider-content ul {
        display: flex;
        padding: 0;
        width: calc(100% * 6);
        /* Cambiar a 6 para el número de imágenes */
        transition: margin-left 1s ease;
    }

    .slider-content li {
        width: 100%;
        /* Ajusta según tu diseño */
        height: auto;
        /* Tamaño del contenedor */
        list-style: none;
    }

    .slider-content img {
        width: 100%;
        height: 300px;
        /* Cambia para ocupar todo el contenedor */
    }

    label {
        font-size: 28px;
        padding: 6px;
    }

    /*banner servicios*/
    .brand-img-cs {
        width: 100%;
        /* Hace que la imagen ocupe el 100% del ancho */
        height: auto;
        /* Mantiene la proporción de la imagen */
        display: block;
        /* Para eliminar cualquier espacio debajo de la imagen */
        margin: 0 auto;
        /* Centra la imagen */
    }

    /*Inician los estilos responsivos de las cartas de sucursales*/
    .h5-suc {
        margin-top: 13px;
        margin-bottom: 13px;
        color: #E6E6E6;
    }

    .h5-responcive {
        color: #E6E6E6;
    }

    .h3-title {
        margin-top: 5px;
        margin-bottom: 13px;
        color: #E6E6E6;

    }

    .txt-suc {
        margin: 5px;
        padding: 5px;
        height: 5px;
        border: #000000,
            0.5px;
        color: #E6E6E6;
    }

    .txt-primary-suc {
        max-width: 99%;
        display: inline-block;
        font-size: 1rem;
        padding: 0.5em;
        margin: 0, 0.5em;
        border-radius: 0.5em;
        text-decoration: none;
        color: #E6E6E6;

    }

    .card-img {
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
        width: 100%;
    }

    .card-img-map {
        height: 110%;
        width: 110%;
    }

    .phone {
        display: flex;
        align-items: center;
        justify-content: center;
        /* Mantiene el centrado horizontal */
        gap: 8px;
        margin-right: 30px;
        /* Desplaza todo el bloque hacia la derecha */
    }

    .d-block {
        display: block;
        color: #E6E6E6;
    }

    .icon-phone {
        width: 24px;
        height: 24px;
    }

    .horario {
        display: flex;
        align-items: center;
        gap: 2px;
        justify-content: center;
        margin-right: 15px;
        /* Desplaza todo el bloque hacia la derecha */
    }

    .icon-horario {
        margin-right: 15px;
        width: 20px;
        height: 20px;
    }

    .flex-container {
        flex-wrap: wrap;
        justify-content: center;

    }

    .sucursales-title {
        text-align: center;
        padding: 5px;
        border-color: #FFF;
    }

    .sucursales {
        width: 400px;
        height: 600px;
    }

    .map {

        width: 400px;
        height: 600px;
    }

    .inf {
        width: 300px;
        height: 600px;
    }

    .margin {
        margin: 20px;
    }

    .p-responcive {
        color: #E6E6E6;
    }

    .btn-maps {
        width: 40px;
        height: 40px
    }

    .margin-social-media {
        margin: 5px;
    }

    .border {
        border-radius: 20px;
    }

    /* Oculta botones flotantes en móvil */

    .btn-news,
    .btn-fb,
    .btn-ig,
    .btn-tk,
    .btn-wsp,
    .btn-youtube,
    .btn-historia {
        display: none !important;
    }

    /* Botón flotante hamburguesa */
    .edge-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 50%;
        right: 10px;
        transform: translateY(-50%);

        background-color: transparent;
        color: white;
        width: 40px;
        height: 60px;
        font-size: 24px;
        cursor: pointer;
        border-radius: 10px 0 0 10px;
        z-index: 1001;
        transition: background 0.3s;
    }

    .edge-toggle:hover {
        background-color: transparent;
    }

    /* Panel lateral */
    .edge-panel {
        display: block;
        position: fixed;
        top: 0;
        right: -260px;
        width: 250px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.8);
        /* fondo translúcido */
        backdrop-filter: blur(10px);
        /* desenfoque */
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
        transition: right 0.3s ease;
        padding: 40px 20px;
        z-index: 1000;
        overflow-y: auto;
    }

    .edge-panel.open {
        right: 0;
    }

    /* Contenedor de íconos */
    .social-icons-mobile {
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: center;
        justify-content: center;
        height: 100%;
    }

    /* Botones redondos */
    .mobile-btn {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background-color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .mobile-btn:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
    }

    .mobile-btn img {
        width: 30px;
        height: 30px;
    }


    /*footer*/
    .foot-foot {
        display: flex;
        /* Centra los elementos */
        align-items: center;
        align-self: self-center;
        list-style: none;
    }

    .foot-link {
        font-size: 0.9rem;
        padding: 0.5em;
        margin: 0.3em;
    }

    .foot-img {
        width: 2.5rem;
        height: 2.5rem;
    }

    .foot-foot {
        flex-direction: column;
        align-items: center;
    }


}

/*Dimenciones para Iphone 12 pro*/
@media (max-width: 390px) {
    .nav-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #253785;
        position: absolute;
        top: 80px;
        left: 0;
    }

    .nav-nav.show {
        display: flex;
    }

    .nav-toggle {
        display: block;
        background-color: #253785;
        align-self: self-end;
        color: #E6E6E6;
        font-size: 1.5rem;
        padding: 1em;
        cursor: pointer;
        border-radius: 5px;
    }

    .nav-brand {
        align-self: self-start;
        width: 300px;
        height: 100px;
    }

    .nav-brand img {
        width: 300px;
        height: 100px;
    }

    .nav-link {
        font-size: 1.1rem;
    }

    /* Oculta los submenús en móviles por defecto */
    .nav-nav li ul {
        display: none;
        position: static;
        background-color: #1d2b6d;
        padding-left: 10px;
        opacity: 0;
        /* Para aplicar la transición de desvanecimiento */
        transition: opacity 0.3s ease;
        /* Transición para los submenús */
    }

    /* Muestra el submenú cuando tiene la clase .show-submenu o .active */
    .nav-nav li ul.show-submenu,
    .nav-nav li ul.active {
        display: block;
        opacity: 1;
    }

    .nav-nav li {
        position: relative;
    }

    /* Evitar que los submenús se abran con hover en móviles */
    .nav-nav li:hover ul {
        display: none;
    }

    /* Estilos adicionales para evitar que se abra el submenú con hover en dispositivos móviles */
    .has-submenu>a {
        cursor: pointer;
    }

    /* En dispositivos móviles, permitir que el submenú se despliegue con click */
    .has-submenu>a {
        display: block;
    }

    .p-responcive {
        margin-top: 13px;
        margin-bottom: 13px;
    }

    .h5-responcive {
        margin-top: 13px;
        margin-bottom: 13px;
    }

    /*slider*/
    .slider {
        position: relative;
        /* Asegúrate de que el carrusel tenga un posicionamiento */
        z-index: 1;
        /* Un valor bajo para que esté debajo del menú */
        width: 100%;
        height: 300px;
        overflow: hidden;
    }

    .slider input {
        display: none;
    }

    .slider-content ul {
        display: flex;
        padding: 0;
        width: calc(100% * 6);
        /* Cambiar a 6 para el número de imágenes */
        transition: margin-left 1s ease;
    }

    .slider-content li {
        width: 100%;
        /* Ajusta según tu diseño */
        height: auto;
        /* Tamaño del contenedor */
        list-style: none;
    }

    .slider-content img {
        width: 100%;
        height: 300px;
        /* Cambia para ocupar todo el contenedor */
    }

    label {
        font-size: 28px;
        padding: 6px;
    }

    /*banner servicios*/
    .brand-img-cs {
        width: 100%;
        /* Hace que la imagen ocupe el 100% del ancho */
        height: auto;
        /* Mantiene la proporción de la imagen */
        display: block;
        /* Para eliminar cualquier espacio debajo de la imagen */
        margin: 0 auto;
        /* Centra la imagen */
    }

    /*Inician los estilos responsivos de las cartas de sucursales*/
    .h5-suc {
        margin-top: 13px;
        margin-bottom: 13px;
        color: #E6E6E6;
    }

    .h5-responcive {
        color: #E6E6E6;
    }

    .h3-title {
        margin-top: 5px;
        margin-bottom: 13px;
        color: #E6E6E6;

    }

    .txt-suc {
        margin: 5px;
        padding: 5px;
        height: 5px;
        border: #000000,
            0.5px;
        color: #E6E6E6;
    }

    .txt-primary-suc {
        max-width: 99%;
        display: inline-block;
        font-size: 1rem;
        padding: 0.5em;
        margin: 0, 0.5em;
        border-radius: 0.5em;
        text-decoration: none;
        color: #E6E6E6;

    }

    .card-img {
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
        width: 100%;
    }

    .card-img-map {
        height: 110%;
        width: 110%;
    }

    .phone {
        display: flex;
        align-items: center;
        justify-content: center;
        /* Mantiene el centrado horizontal */
        gap: 8px;
        margin-right: 30px;
        /* Desplaza todo el bloque hacia la derecha */
    }

    .d-block {
        display: block;
        color: #E6E6E6;
    }

    .icon-phone {
        width: 24px;
        height: 24px;
    }

    .horario {
        display: flex;
        align-items: center;
        gap: 2px;
        justify-content: center;
        margin-right: 15px;
        /* Desplaza todo el bloque hacia la derecha */
    }

    .icon-horario {
        margin-right: 15px;
        width: 20px;
        height: 20px;
    }

    .flex-container {
        flex-wrap: wrap;
        justify-content: center;

    }

    .sucursales-title {
        text-align: center;
        padding: 5px;
        border-color: #FFF;
    }

    .sucursales {
        width: 440px;
        height: 600px;
    }

    .map {

        width: 440px;
        height: 600px;
    }

    .inf {
        width: 440px;
        height: 600px;
    }

    .margin {
        margin: 20px;
    }

    .p-responcive {
        color: #E6E6E6;
    }

    .btn-maps {
        width: 40px;
        height: 40px
    }

    .margin-social-media {
        margin: 5px;
    }

    .border {
        border-radius: 20px;
    }

    /* Oculta botones flotantes en móvil */
    .btn-news,
    .btn-fb,
    .btn-ig,
    .btn-tk,
    .btn-wsp,
    .btn-youtube,
    .btn-historia {
        display: none !important;
    }

    /* Botón flotante hamburguesa */
    .edge-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 50%;
        right: 10px;
        transform: translateY(-50%);

        background-color: transparent;
        color: white;
        width: 40px;
        height: 60px;
        font-size: 24px;
        cursor: pointer;
        border-radius: 10px 0 0 10px;
        z-index: 1001;
        transition: background 0.3s;
    }

    .edge-toggle:hover {
        background-color: transparent;
    }

    /* Panel lateral */
    .edge-panel {
        display: block;
        position: fixed;
        top: 0;
        right: -260px;
        width: 250px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.8);
        /* fondo translúcido */
        backdrop-filter: blur(10px);
        /* desenfoque */
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
        transition: right 0.3s ease;
        padding: 40px 20px;
        z-index: 1000;
        overflow-y: auto;
    }

    .edge-panel.open {
        right: 0;
    }

    /* Contenedor de íconos */
    .social-icons-mobile {
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: center;
        justify-content: center;
        height: 100%;
    }

    /* Botones redondos */
    .mobile-btn {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background-color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .mobile-btn:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
    }

    .mobile-btn img {
        width: 30px;
        height: 30px;
    }
}

/* Responsive movil M */
@media (max-width: 375px) {

    /* Reset global */
    *,
    *::before,
    *::after {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }


    /* Asegurar que html y body ocupen el 100% de la pantalla */
    html,
    body {
        width: 100%;
        height: 100%;
        overflow-x: hidden;
        font-family: "Poppins", sans-serif;
        /* Evitar scroll horizontal */
    }

    /* Ajuste del contenedor general */
    .container {
        width: 100%;
        margin: 0 auto;
        padding: 0;
        /* Eliminar rellenos adicionales */
    }

    .nav-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #253785;
        position: absolute;
        top: 80px;
        left: 0;
    }

    .nav-nav.show {
        display: flex;
    }

    .nav-toggle {
        display: block;
        background-color: #253785;
        align-self: self-end;
        color: #E6E6E6;
        font-size: 1.5rem;
        padding: 1em;
        cursor: pointer;
        border-radius: 5px;
    }

    .nav-brand {
        align-self: self-start;
        width: 300px;
        height: 100px;
    }

    .nav-brand img {
        width: 300px;
        height: 100px;
    }

    .nav-link {
        font-size: 1.1rem;
    }

    /* Oculta los submenús en móviles por defecto */
    .nav-nav li ul {
        display: none;
        position: static;
        background-color: #1d2b6d;
        padding-left: 10px;
        opacity: 0;
        /* Para aplicar la transición de desvanecimiento */
        transition: opacity 0.3s ease;
        /* Transición para los submenús */
    }

    /* Muestra el submenú cuando tiene la clase .show-submenu o .active */
    .nav-nav li ul.show-submenu,
    .nav-nav li ul.active {
        display: block;
        opacity: 1;
    }

    .nav-nav li {
        position: relative;
    }

    /* Evitar que los submenús se abran con hover en móviles */
    .nav-nav li:hover ul {
        display: none;
    }

    /* Estilos adicionales para evitar que se abra el submenú con hover en dispositivos móviles */
    .has-submenu>a {
        cursor: pointer;
    }

    /* En dispositivos móviles, permitir que el submenú se despliegue con click */
    .has-submenu>a {
        display: block;
    }

    .p-responcive {
        margin-top: 12px;
        margin-bottom: 12px;
    }

    .h5-responcive {
        margin-top: 12px;
        margin-bottom: 12px;
    }

    /*slider*/
    .slider {
        position: relative;
        /* Asegúrate de que el carrusel tenga un posicionamiento */
        z-index: 1;
        /* Un valor bajo para que esté debajo del menú */
        width: 100%;
        height: 200px;
        overflow: hidden;
    }

    .slider input {
        display: none;
    }

    .slider-content ul {
        display: flex;
        padding: 0;
        width: calc(100% * 6);
        /* Cambiar a 6 para el número de imágenes */
        transition: margin-left 1s ease;
    }

    .slider-content li {
        width: 100%;
        /* Ajusta según tu diseño */
        height: auto;
        /* Tamaño del contenedor */
        list-style: none;
    }

    .slider-content img {
        width: 100%;
        height: 200px;
        /* Cambia para ocupar todo el contenedor */
    }

    label {
        font-size: 28px;
        padding: 6px;
    }

    /*banner servicios*/
    .brand-img-cs {
        width: 100%;
        /* Hace que la imagen ocupe el 100% del ancho */
        height: auto;
        /* Mantiene la proporción de la imagen */
        display: block;
        /* Para eliminar cualquier espacio debajo de la imagen */
        margin: 0 auto;
        /* Centra la imagen */
    }

    /*Inician los estilos responsivos de las cartas de sucursales*/
    .h5-suc {
        margin-top: 13px;
        margin-bottom: 13px;
        color: #E6E6E6;
    }

    .h5-responcive {
        color: #E6E6E6;
    }

    .h3-title {
        margin-top: 5px;
        margin-bottom: 13px;
        color: #E6E6E6;

    }

    .txt-suc {
        margin: 5px;
        padding: 5px;
        height: 5px;
        border: #000000,
            0.5px;
        color: #E6E6E6;
    }

    .txt-primary-suc {
        max-width: 99%;
        display: inline-block;
        font-size: 1rem;
        padding: 0.5em;
        margin: 0, 0.5em;
        border-radius: 0.5em;
        text-decoration: none;
        color: #E6E6E6;

    }

    .card-img {
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
        width: 100%;
    }

    .card-img-map {
        height: 110%;
        width: 115%;
    }

    .phone {
        display: flex;
        align-items: center;
        justify-content: center;
        /* Mantiene el centrado horizontal */
        gap: 8px;
        margin-right: 30px;
        /* Desplaza todo el bloque hacia la derecha */
    }

    .d-block {
        display: block;
        color: #E6E6E6;
    }

    .icon-phone {
        width: 24px;
        height: 24px;
    }

    .horario {
        display: flex;
        align-items: center;
        gap: 2px;
        justify-content: center;
        margin-right: 15px;
        /* Desplaza todo el bloque hacia la derecha */
    }

    .icon-horario {
        margin-right: 15px;
        width: 20px;
        height: 20px;
    }

    .flex-container {
        flex-wrap: wrap;
        justify-content: center;

    }

    .sucursales-title {
        text-align: center;
        padding: 5px;
        border-color: #FFF;
    }

    .sucursales {
        width: 440px;
        height: 570px;

    }

    .map {

        width: 440px;
        height: 570px;
    }

    .inf {
        width: 440px;
        height: 570px;

    }

    .margin {
        margin: 20px;
    }

    .p-responcive {
        color: #E6E6E6;
    }

    .btn-maps {
        width: 40px;
        height: 40px
    }

    .margin-social-media {
        margin: 5px;
    }

    .border {
        border-radius: 20px;
    }

    /* Oculta botones flotantes en móvil */

    .btn-news,
    .btn-fb,
    .btn-ig,
    .btn-tk,
    .btn-wsp,
    .btn-youtube,
    .btn-historia {
        display: none !important;
    }

    /* Botón flotante hamburguesa */
    .edge-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 50%;
        right: 10px;
        transform: translateY(-50%);

        background-color: transparent;
        color: white;
        width: 40px;
        height: 60px;
        font-size: 24px;
        cursor: pointer;
        border-radius: 10px 0 0 10px;
        z-index: 1001;
        transition: background 0.3s;
    }

    .edge-toggle:hover {
        background-color: transparent;
    }

    /* Panel lateral */
    .edge-panel {
        display: block;
        position: fixed;
        top: 0;
        right: -260px;
        width: 250px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.8);
        /* fondo translúcido */
        backdrop-filter: blur(10px);
        /* desenfoque */
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
        transition: right 0.3s ease;
        padding: 40px 20px;
        z-index: 1000;
        overflow-y: auto;
    }

    .edge-panel.open {
        right: 0;
    }

    /* Contenedor de íconos */
    .social-icons-mobile {
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: center;
        justify-content: center;
        height: 100%;
    }

    /* Botones redondos */
    .mobile-btn {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background-color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .mobile-btn:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
    }

    .mobile-btn img {
        width: 30px;
        height: 30px;
    }
}

/* Responsive movil S */
@media (max-width: 320px) {

    /* Reset global */
    *,
    *::before,
    *::after {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }


    /* Asegurar que html y body ocupen el 100% de la pantalla */
    html,
    body {
        width: 100%;
        height: 100%;
        overflow-x: hidden;
        font-family: "Poppins", sans-serif;
        /* Evitar scroll horizontal */
    }

    /* Ajuste del contenedor general */
    .container {
        width: 100%;
        margin: 0 auto;
        padding: 0;
        /* Eliminar rellenos adicionales */
    }

    .nav-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #253785;
        position: absolute;
        top: 80px;
        left: 0;
    }

    .nav-nav.show {
        display: flex;
    }

    .nav-toggle {
        display: block;
        background-color: #253785;
        align-self: self-end;
        color: #E6E6E6;
        font-size: 1.5rem;
        padding: 1em;
        cursor: pointer;
        border-radius: 5px;
    }

    .nav-brand {
        align-self: self-start;
        width: 300px;
        height: 100px;
    }

    .nav-brand img {
        width: 300px;
        height: 100px;
    }

    .nav-link {
        font-size: 1.1rem;
    }

    /* Oculta los submenús en móviles por defecto */
    .nav-nav li ul {
        display: none;
        position: static;
        background-color: #1d2b6d;
        padding-left: 10px;
        opacity: 0;
        /* Para aplicar la transición de desvanecimiento */
        transition: opacity 0.3s ease;
        /* Transición para los submenús */
    }

    /* Muestra el submenú cuando tiene la clase .show-submenu o .active */
    .nav-nav li ul.show-submenu,
    .nav-nav li ul.active {
        display: block;
        opacity: 1;
    }

    .nav-nav li {
        position: relative;
    }

    /* Evitar que los submenús se abran con hover en móviles */
    .nav-nav li:hover ul {
        display: none;
    }

    /* Estilos adicionales para evitar que se abra el submenú con hover en dispositivos móviles */
    .has-submenu>a {
        cursor: pointer;
    }

    /* En dispositivos móviles, permitir que el submenú se despliegue con click */
    .has-submenu>a {
        display: block;
    }

    .p-responcive {
        margin-top: 8px;
        margin-bottom: 8px;
    }

    .h5-responcive {
        margin-top: 8px;
        margin-bottom: 8px;
    }

    /*slider*/
    .slider {
        position: relative;
        /* Asegúrate de que el carrusel tenga un posicionamiento */
        z-index: 1;
        /* Un valor bajo para que esté debajo del menú */
        width: 100%;
        height: 100px;
        overflow: hidden;
    }

    .slider input {
        display: none;
    }

    .slider-content ul {
        display: flex;
        padding: 0;
        width: calc(100% * 6);
        /* Cambiar a 6 para el número de imágenes */
        transition: margin-left 1s ease;
    }

    .slider-content li {
        width: 100%;
        /* Ajusta según tu diseño */
        height: auto;
        /* Tamaño del contenedor */
        list-style: none;
    }

    .slider-content img {
        width: 100%;
        height: 100px;
        /* Cambia para ocupar todo el contenedor */
    }

    label {
        font-size: 28px;
        padding: 6px;
    }

    /*banner servicios*/
    .brand-img-cs {
        width: 100%;
        /* Hace que la imagen ocupe el 100% del ancho */
        height: auto;
        /* Mantiene la proporción de la imagen */
        display: block;
        /* Para eliminar cualquier espacio debajo de la imagen */
        margin: 0 auto;
        /* Centra la imagen */
    }

    /*Inician los estilos responsivos de las cartas de sucursales*/
    .h5-suc {
        margin-top: 13px;
        margin-bottom: 13px;
        color: #E6E6E6;
    }

    .h5-responcive {
        color: #E6E6E6;
    }

    .h3-title {
        margin-top: 5px;
        margin-bottom: 13px;
        color: #E6E6E6;

    }

    .txt-suc {
        margin: 5px;
        padding: 5px;
        height: 5px;
        border: #000000,
            0.5px;
        color: #E6E6E6;
    }

    .txt-primary-suc {
        max-width: 99%;
        display: inline-block;
        font-size: 1rem;
        padding: 0.5em;
        margin: 0, 0.5em;
        border-radius: 0.5em;
        text-decoration: none;
        color: #E6E6E6;

    }

    .card-img {
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
        width: 100%;
    }

    .card-img-map {
        height: 110%;
        width: 115%;
    }

    .phone {
        display: flex;
        align-items: center;
        justify-content: center;
        /* Mantiene el centrado horizontal */
        gap: 8px;
        margin-right: 30px;
        /* Desplaza todo el bloque hacia la derecha */
    }

    .d-block {
        display: block;
        color: #E6E6E6;
    }

    .icon-phone {
        width: 24px;
        height: 24px;
    }

    .horario {
        display: flex;
        align-items: center;
        gap: 2px;
        justify-content: center;
        margin-right: 15px;
        /* Desplaza todo el bloque hacia la derecha */
    }

    .icon-horario {
        margin-right: 15px;
        width: 20px;
        height: 20px;
    }

    .flex-container {
        flex-wrap: wrap;
        justify-content: center;

    }

    .sucursales-title {
        text-align: center;
        padding: 5px;
        border-color: #FFF;
    }

    .sucursales {
        width: 440px;
        height: 530px;

    }

    .map {

        width: 440px;
        height: 530px;
    }

    .inf {
        width: 440px;
        height: 530px;

    }

    .margin {
        margin: 15px;
    }

    .p-responcive {
        color: #E6E6E6;
    }

    .btn-maps {
        width: 40px;
        height: 40px
    }

    .margin-social-media {
        margin: 5px;
    }

    .border {
        border-radius: 20px;
        border-color: #000000;
    }

    /* Oculta botones flotantes en móvil */
    .btn-news,
    .btn-fb,
    .btn-ig,
    .btn-tk,
    .btn-wsp,
    .btn-youtube,
    .btn-historia {
        display: none !important;
    }

    /* Botón flotante hamburguesa */
    .edge-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 50%;
        right: 10px;
        transform: translateY(-50%);

        background-color: transparent;
        color: white;
        width: 40px;
        height: 60px;
        font-size: 24px;
        cursor: pointer;
        border-radius: 10px 0 0 10px;
        z-index: 1001;
        transition: background 0.3s;
    }

    .edge-toggle:hover {
        background-color: transparent;
    }

    /* Panel lateral */
    .edge-panel {
        display: block;
        position: fixed;
        top: 0;
        right: -260px;
        width: 250px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.8);
        /* fondo translúcido */
        backdrop-filter: blur(10px);
        /* desenfoque */
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
        transition: right 0.3s ease;
        padding: 40px 20px;
        z-index: 1000;
        overflow-y: auto;
    }

    .edge-panel.open {
        right: 0;
    }

    /* Contenedor de íconos */
    .social-icons-mobile {
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: center;
        justify-content: center;
        height: 100%;
    }

    /* Botones redondos */
    .mobile-btn {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background-color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .mobile-btn:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
    }

    .mobile-btn img {
        width: 30px;
        height: 30px;
    }

}