@charset "utf-8";

/* CSS Document */

* {

    list-style: none;

    box-sizing: border-box;

    text-decoration: none;

    padding: 0;

    margin: 0;

}


/* =========================================================
   BARRA DEL MENÚ
   ========================================================= */

.content-menu {
 
    display: flex;
    position: fixed;
    top: 0%;

    justify-content: space-between;

    align-items: center;

    margin-left: 10%;

    width: 80%;

    min-height: 80px;

    background: rgb(0, 127, 153);

    border-radius: 5px;
    z-index: 1000;

}


/* =========================================================
   MARCA
   LOGO + NOMBRE
   ========================================================= */

.content-menu .marca {

    display: flex;

    height: 80px;

    align-items: center;

    color: aliceblue;

}


.content-menu .marca img {

    height: 80%;

    width: max-content;

    border-radius: 10%;

    margin: 0 8px 0 0;

}


.content-menu .marca h2 {

    width: max-content;

    font-size: 22px;

}


/* =========================================================
   BOTÓN MENÚ
   ========================================================= */

.menu-toggle {

    display: none;

    background: none;

    border: none;

    color: white;

    font-size: 28px;

    cursor: pointer;

}


/* =========================================================
   NAVEGACIÓN
   ========================================================= */

.content-menu .menu-nav {

    display: flex;

    align-items: center;

}


.content-menu .menu-nav li a {

    position: relative;

    display: block;

    width: max-content;

    padding: 5px 8px;

    font-weight: bold;

    color: aliceblue;

    font-size: 18px;

    margin: 0 10px;

}


/* =========================================================
   LÍNEA ANIMADA
   ========================================================= */

.content-menu .menu-nav li a::before {

    position: absolute;

    content: '';

    bottom: 0;

    left: 0;

    width: 100%;

    height: 4px;

    background-color: #f7f7f7;

    z-index: 1;

    transform: scaleX(0);

    transform-origin: right;

    transition: 0.5s;

}


.content-menu .menu-nav li a:hover::before {

    transform-origin: left;

    transform: scaleX(1);

    transition-timing-function: ease;

}


/* =========================================================
   SUBMENÚ DE PROCEDIMIENTOS
   ========================================================= */

.menu-procedimientos {

    position: relative;

}


.menu-procedimientos .submenu {

    display: none;

    position: absolute;

    top: 100%;

    left: 0;

    min-width: 650px;

    background: rgb(0, 127, 153);

    border-radius: 0 0 5px 5px;

    padding: 10px 15px;

    z-index: 100;

    flex-direction: row;

    gap: 20px;

}


/* -------------------------
   COLUMNAS DEL SUBMENÚ
   ------------------------- */

.menu-procedimientos .submenu-column {

    display: flex;

    flex-direction: column;

    min-width: 270px;

    flex: 1;

}


/* -------------------------
   ENLACES DEL SUBMENÚ
   ------------------------- */

.menu-procedimientos .submenu a {

    display: block;

    width: 100% !important;

    margin: 0 !important;

    padding: 10px 15px !important;

    font-size: 15px !important;

    color: aliceblue;

}


/* -------------------------
   MOSTRAR SUBMENÚ
   ------------------------- */

.menu-procedimientos:hover .submenu {

    display: flex;

}


/* -------------------------
   EFECTO DEL SUBMENÚ
   ------------------------- */

.menu-procedimientos .submenu a:hover {

    background: rgb(0, 100, 120);

}


/* =========================================================
   TELÉFONO
   ========================================================= */

.content-menu h3 {

    display: flex;

    align-items: center;

    margin-right: 1%;

    color: antiquewhite;

    width: max-content;

    font-size: 16px;

}



/* =========================================================
   AGENDA Y TELÉFONO EN EL MENÚ
   ========================================================= */

.content-menu h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-right: 1%;
    padding: 8px 14px;
    color: rgb(0, 127, 153);
    background: #ffffff;
    border-radius: 5px;
    width: max-content;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    transition: opacity 0.3s ease, transform 0.2s ease;
}

.content-menu h3:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* =========================================================
   CONTENEDOR
   ========================================================= */

.container {

    width: 100%;

    justify-content: center;

    align-items: center;

}


/* =========================================================
   SLIDER
   ========================================================= */

.slider {

    width: 80%;

    margin-left: 10%;

    margin-top: 50px;

    overflow: hidden;

}


/* =========================================================
   LISTA DE SLIDES
   ========================================================= */

.slider ul {

    display: flex;

    padding: 0;

    margin: 0;

    list-style: none;

    align-items: center;

    /*
       JavaScript cambia el transform
       para mover el slider.
    */

    transition: transform 0.7s ease-in-out;

}


/* =========================================================
   SLIDES
   ========================================================= */

.slider li {

    flex: 0 0 calc(100% / 8);

    width: calc(100% / 8);

    box-sizing: border-box;

}


/* =========================================================
   IMÁGENES
   ========================================================= */

.slider img {

    display: block;

    width: 80%;

    height: 500px;

    margin-left: 10%;

    margin-top: 100px;

    object-fit: cover;

}


/* =========================================================
   CONTENEDOR DE MINIATURAS
   ========================================================= */

.miniaturas {

    margin-top: 20px;

}


.miniaturas .miniatura:hover {

    opacity: 1 !important;

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

.footer {

    width: 100%;

    margin-top: 50px;

    border-top: 4px solid #91afd4;

}


.footer-contenido {

    width: 80%;

    margin: 0 auto;

    padding: 35px 0;

    text-align: center;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 40px;

    align-items: center;

}


/* -------------------------
   TEXTO
   ------------------------- */

.footer-texto {

    grid-column: 1 / -1;

    margin-bottom: 20px;

    line-height: 1.5;

}


/* -------------------------
   CONTACTO
   ------------------------- */

.footer-contacto {

    grid-column: 2;

    margin-bottom: 20px;

}


.footer-contacto p {

    margin-bottom: 5px;

}


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

.footer-mapa {

    grid-column: 1;

    grid-row: 2 / span 2;

    width: 100%;

    max-width: 500px;

    margin: 30px auto;

}


.footer-mapa h3 {

    margin-bottom: 15px;

}


.footer-mapa iframe {

    width: 100%;

    height: 250px;

    border: 0;

    border-radius: 8px;

    display: block;

}


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

.redes-sociales {

    grid-column: 2;

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 15px;

}


.redes-sociales a {

    width: 40px;

    height: 40px;

    display: flex;

    align-items: center;

    justify-content: center;

}


.redes-sociales img {

    width: 40px;

    height: 40px;

    object-fit: contain;

}


/* -------------------------
   DERECHOS
   ------------------------- */

.footer-derechos {

    grid-column: 1 / -1;

    font-size: 14px;

}


@media (max-width: 768px) {


    /* =====================================================
       BARRA DEL MENÚ
       ===================================================== */



    .content-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;

        width: 100vw !important;
        margin-left: 0 !important;

        flex-wrap: wrap;
        justify-content: center;

        z-index: 1000;
    }

  .content-menu .marca {

        width: 100%;
        flex: 0 0 100%;

        height: auto;

        display: flex;
        flex-direction: column;

        align-items: center;
        justify-content: center;

    }

   .content-menu .marca img {

    width: 70px;
    height: 70px;

    object-fit: contain;

    margin: 15px 0 5px 0;

    border-radius: 10%;

}

    .content-menu .marca h2 {

        width: 100%;

        text-align: center;

        font-size: 18px;

        margin: 5px 0 10px 0;

    }


    /* =====================================================
       BOTÓN TOGGLE
       ===================================================== */

    .menu-toggle {

        display: block;

        width: 100%;

        flex: 0 0 100%;

        text-align: center;

        margin: 5px 0;

    }


    /* =====================================================
       MENÚ DE NAVEGACIÓN
       ===================================================== */

    .content-menu .menu-nav {

        display: none;

        width: 100%;

        flex: 0 0 100%;

        flex-direction: column;

        align-items: center;

        margin: 10px 0;

    }


    .content-menu .menu-nav.menu-abierto {

        display: flex;

    }


    .content-menu ul li a {

        font-size: 15px;

        margin: 0 5px;

        padding: 5px;

    }


    /* =====================================================
       SUBMENÚ EN CELULAR
       ===================================================== */

    .menu-procedimientos .submenu {

        display: none;

        position: static;

        width: 100%;

        min-width: 0;

        flex-direction: column;

        gap: 0;

        padding: 5px 0;

        margin: 5px 0;

        border-radius: 0;

        background: rgb(0, 127, 153);

    }


    /* -------------------------
       COLUMNAS EN CELULAR
       ------------------------- */

    .menu-procedimientos .submenu-column {

        width: 100%;

        min-width: 0;

        flex: none;

    }


    /* -------------------------
       ENLACES DEL SUBMENÚ
       ------------------------- */

    .menu-procedimientos .submenu a {

        width: 100% !important;

        padding: 8px 15px !important;

        margin: 0 !important;

        text-align: center;

        font-size: 14px !important;

    }


    /* -------------------------
       MANTENER OCULTO CON HOVER
       ------------------------- */

    .menu-procedimientos:hover .submenu {

        display: none;

    }


    /* -------------------------
       CLASE PARA MOSTRAR
       JavaScript la activará
       al tocar Procedimientos
       ------------------------- */

    .menu-procedimientos.submenu-abierto .submenu {

        display: flex;

    }

    /* =====================================================
       TELÉFONO
       ===================================================== */

    .content-menu h3 {

        width: 100%;

        flex: 0 0 100%;

        justify-content: center;

        text-align: center;

        font-size: 14px;

        margin: 5px 0;

    }



    /* =====================================================
       AGENDA Y TELÉFONO EN EL MENÚ - CELULAR
       ===================================================== */

    .content-menu h3 {
        width: auto;
        flex: 0 0 auto;
        max-width: 90%;
        justify-content: center;
        text-align: center;
        font-size: 14px;
        margin: 8px auto;
        padding: 8px 14px;
    }


    /* =====================================================
       SLIDER
       ===================================================== */
    .container {
        padding-top: 100px;
    }



   .slider {

    width: 100%;

    margin-left: 0px;

    margin-top: 100px;

    overflow: hidden;

}

    .slider img {

        width: 90%;

        height: 250px;

        margin-left: 5%;

        margin-top: 20px;

        object-fit: contain;

    }


    /* =====================================================
       MINIATURAS
       ===================================================== */

    .miniaturas {

        width: 90%;

    }
  .footer-contenido {
        width: 90%;
        display: block;
    }

}



    .footer-mapa {

        width: 100%;

        max-width: none;

        margin: 30px auto;

    }


    .footer-mapa iframe {

        height: 220px;

    }


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

    .redes-sociales {

        gap: 18px;

    }


    .redes-sociales img {

        width: 32px;

        height: 32px;

    }

}



