@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@200;300;400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat';
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* espacio superior del contenido de preconsulta */
.preconsulta-page .preconsulta-shell {
    padding-top: 18px;
}

/* seccion I N I C I O */


#inicio {
    /*background: linear-gradient( rgba(0, 0, 0, .1), rgba(0, 0, 0, .2)), url(".//img/FONDO_LEGALIS32.jpg");*/
    background: url(".//img/FONDO_LEGALIS3.jpg");
    background-position: bottom center;
    height: 100vh;
    animation: movimiento_inicio 16s infinite linear alternate;
}

/* EL ZOOM LO READEACURDO AL ANCHO DE PANTALLA*/

.contenido {
    height: 80px;
    background-color: rgba(0, 0, 0, .8);
    position: fixed;
    width: 100%;
    z-index: 100;
    top: 0;
}

.contenido-header {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 1vh 2vw;
}

.logo {
    height: 60px;
}

.contenido-header nav ul {
    list-style: none;
    display: flex;
    align-items: center;
}

.contenido-header nav ul li a {
    text-decoration: none;
    color: #fff;
    margin: 0 1.92vh;
    font-weight: 400;
    transition: .5s;
}

@media screen and (max-width: 1181px) {
    .contenido-header nav ul li a {
        font-size: 1.3vw;
    }

    @keyframes movimiento_inicio {
        from {
            background-size: 110%;
        }

        to {
            background-size: 120%;
        }
    }
}

@media screen and (min-width: 1181px) {
    .contenido-header nav ul li a {
        font-size: 1.1vw;
    }

    @keyframes movimiento_inicio {
        from {
            background-size: 100%;
        }

        to {
            background-size: 120%;
        }
    }

}


.contenido-header nav ul li a:hover {
    color: #00768e;
}

.contenido-header .redes a {
    text-decoration: none;
    padding: 5px;
    margin-left: 4px;
    color: #fff;
    display: inline-block;
    transition: .5s;
    font-size: 22px;
}

.contenido-header .redes a:hover {
    color: #00768e;
}

.siganos {
    color: #fff;
    font-size: 15px;

}

.presentacion {
    width: 65%;
    max-height: 580px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: right;
    background-color: none;
    text-shadow: 3px 3px 8px black, 0 0 1em black;
}

.contenedor-tranquilidadyhacemos {
    margin-top: 17vh;
    margin-left: 5%;
    width: 100%;
    max-height: 350px;
    display: grid;
    place-items: left;
    height: 30vh;
    padding: 10px;
}

.tranquilidad {
    font-size: 3vw;
}

.linea1 {
    height: 4px;
    width: 70%;
    background-color: #006766;
    border-color: #006766;
}

.hacemos {
    font-size: 2.5vw;
}

.contenedor-comillayresena {
    margin-top: 5vh;
    margin-left: 5%;
    width: 90%;
    max-height: 200px;
    display: flex;
    flex-direction: row;
    place-items: top;
    height: 10vh;
}


.comilla2 {
    margin-left: 5%;
    width: 7vw;
    filter: drop-shadow(5px 5px 10px #000000);
}

.resena {
    margin-left: 7%;
    font-size: 2vw;
    line-height: 7vh;
    font-weight: 550;
    font-style: italic;
    font-family: 'Times New Roman';
}

.ciceron {
    margin-top: 15vh;
    margin-left: 60%;
    font-size: 1.5vw;
    font-weight: 400;
    font-style: italic;
    font-family: 'Times New Roman';
}

.contenedor-botones {
    top: 15vh;
    right: 3%;
    position: fixed;
    width: 30%;
    display: grid;
    place-items: center;
    height: 75vh;
    border-radius: 8px;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.3);
    font-family: 'Montserrat';
    text-shadow: none;
}

.contenedor-acceso {
    width: 94%;
    border-radius: 8px;
    display: grid;
    place-items: center;
    justify-content: center;
    height: 20vh;
    padding: 10px;
    background-color: rgba(1, 4, 44, 0.4);
}

.txt-acceso {
    top: 10px;
    font-size: 15px;
    font-weight: 500;
    color: white;
    text-shadow: 3px 3px 8px black, 0 0 1em black;
}

.explicacion-acceso {
    top: 3.2vh;
    font-size: 10px;
    text-align: center;
    color: white;
    text-shadow: 3px 3px 8px black, 0 0 1em black;
}

.btn-acceso {
    text-decoration: none;
    margin: 2px;
    padding: 2.4vh 4vw;
    background-color: #006766;
    border: 2px solid #fff;
    border-radius: 10px;
    color: #fff;
    font-weight: bold;
    font-size: 15px;
    transition: .5s;
    box-shadow: 2px 2px 5px black, 0 0 1em black;
}

.btn-acceso:hover {
    background-color: #023e3d;
}

.contenedor-preconsulta {
    width: 94%;
    border-radius: 8px;
    display: grid;
    place-items: center;
    height: 30vh;
    padding: 10px;
    background-color: rgba(1, 4, 44, 0.4);
}

.txt-preconsulta {
    top: 1.6vh;
    font-size: 15px;
    font-weight: 500;
    color: white;
    text-shadow: 3px 3px 8px black, 0 0 1em black;
}

.btn-preconsulta {
    text-decoration: none;
    margin: 2px;
    padding: 2.4vh 4vw;
    background-color: #006766;
    border: 2px solid #fff;
    border-radius: 10px;
    color: #fff;
    font-weight: bold;
    font-size: 15px;
    transition: .5s;
    box-shadow: 2px 2px 5px black, 0 0 1em black;
}

.explicacion-preconsulta {
    top: 3.2vh;
    font-size: 10px;
    text-align: center;
    color: white;
    text-shadow: 3px 3px 8px black, 0 0 1em black;
}

.btn-preconsulta:hover {
    background-color: #023e3d;
}

.btn-whatsapp {
    display: flex;
    flex-direction: row;
    text-decoration: none;
    justify-content: space-around;
    align-items: center;
    padding: 1.4vh 3vw;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    font-size: 14px;
    background-color: #00b009;
    border: 2px solid #fff;
    border-radius: 50px;
    color: #fff;
    box-shadow: 2px 2px 5px black, 0 0 1em black;
    transition: .5s;
}

.btn-whatsapp i {
    color: #fff;
    font-size: 35px;
    margin-right: 10px;
}

.btn-whatsapp:hover {
    transition: .5s;
    background-color: #09740e;
}

.btn-whatsapp-flot {
    display: none;
}

#icono-nav {
    color: #fff;
    display: none;
}



/*  SEGUNDA PANTALLA INICIO   */



#inicio-b {
    background-color: #006766;
    background-size: cover;
    height: 100vh;
}

#inicio-b .contenedor-presentacion2 {
    width: 65%;
    height: 50vh;
    margin-left: 2%;
    padding: 0.8vh 2vw;
    display: flex;
    flex-direction: row;
    align-items: center;
}

#inicio-b .contenedor-presentacion2 .contenedor-descripcion2 {
    margin-top: 14vh;
    width: 70%;
    height: 50vh;
    padding: 1.6vh 2vw;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#inicio-b .contenedor-presentacion2 .contenedor-descripcion2 .descripcion2 {
    color: #ffffff;
    line-height: 3vh;
    text-align: left;
    font-family: 'Montserrat';
    font-size: 1.1vw;
    font-weight: 400;
    text-shadow: 3px 3px 8px black, 0 0 1em black;
    margin-bottom: 3vh;
}

#inicio-b .contenedor-presentacion2 .contenedor-descripcion2 .linea2 {
    margin-top: 3vh;
    height: 3px;
    width: 100%;
    background-color: #ffffff;
    border-color: #c9d7d7;
}


#inicio-b .contenedor-presentacion2 .contenedor-descripcion2 .btn-leermas-descripcion2 {
    padding: 1vh 2vw;
    text-decoration: none;
    background-color: #006766;
    border: 2px solid #fff;
    border-radius: 5px;
    color: #fff;
    font-size: 1vw;
    transition: .5s;
    box-shadow: 2px 2px 5px black, 0 0 1em black;
}

#inicio-b .contenedor-presentacion2 .contenedor-descripcion2 .btn-leermas-descripcion2:hover {
    background-color: #023e3d;
}

#inicio-b .contenedor-presentacion2 .contenedor-img-descripcion2 {
    margin-top: 24vh;
    width: 30%;
    height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    background-color: none;

}

#inicio-b .contenedor-presentacion2 .contenedor-img-descripcion2 .img-descripcion2 {
    width: 100%;
    filter: drop-shadow(5px 5px 10px #000000);
}

/* seccion POR QUE NOSOTROS? */


#sobrenosotros {
    background: url(".//img/FONDO_LEGALIS4.jpg");
    background-position: bottom center;
    height: 100vh;
    animation: movimiento_nosotros 16s infinite linear alternate;
}


@media screen and (max-width: 1181px) {

    @keyframes movimiento_nosotros {
        from {
            background-size: 110%;
        }

        to {
            background-size: 120%;
        }
    }
}

@media screen and (min-width: 1181px) {

    @keyframes movimiento_nosotros {
        from {
            background-size: 100%;
        }

        to {
            background-size: 110%;
        }
    }

}

.contenedor-sobrenosotros {
    width: 65%;
    height: 100vh;
    margin-left: 0%;
    padding: 0.8vh 2vw;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.img-sobrenosotros {
    display: none;
}

.porquenosotros {
    color: #ffffff;
    line-height: 3vh;
    text-align: left;
    font-family: 'Montserrat';
    font-size: 1.1vw;
    font-weight: 400;
    text-shadow: 3px 3px 8px black, 0 0 1em black;
    margin-top: 12vh;
    margin-bottom: 4vh;
}


.linea3 {
    margin-top: 3vh;
    height: 3px;
    width: 100%;
    background-color: #ffffff;
    border-color: #c9d7d7;
}


.btn-leermas-porquenosotros {
    padding: 1vh 2vw;
    text-decoration: none;
    background-color: #006766;
    border: 2px solid #fff;
    border-radius: 5px;
    color: #fff;
    font-size: 1vw;
    transition: .5s;
    box-shadow: 2px 2px 5px black, 0 0 1em black;
}

.btn-leermas-porquenosotros:hover {
    background-color: #023e3d;
}

/* seccion S E R V I C I O S */

#servicios {
    width: 100%;
    background-color: #d0cdcd;
}

#servicios .contenedor-servicios-responsive {
    display: none;
}

#servicios .contenedor-servicios {
    margin-left: 0px;
    width: 67%;
    padding: 50px 15px;
    text-align: center;
    background-color: #d0cdcd;
}

#servicios .contenedor-servicios .titulo-seccion {
    margin-top: 50px;
    text-align: center;
    font-size: 22px;
    text-transform: uppercase;
    color: #111135;
    text-decoration: underline;
    text-decoration-color: #d0cdcd;
    text-decoration-thickness: 5px;
}

#servicios .fila {
    display: flex;
    justify-content: space-between;
    max-width: 850px;
    margin: auto;
}

#servicios .fila .servicio {
    max-width: 250px;
    background-color: none;
    padding: 10px;
    margin: 0 1px;
}

#servicios .fila .servicio .tit-servicio {
    width: 20vw;
}

#servicios .fila .servicio .img-servicio {
    width: 15vw;
    transition: 0.5s;
}

#servicios .fila .servicio .img-servicio:hover {
    width: 15.2vw;
    transition: 0.5s;
}

/* seccion C O N T A C T O */


#contacto {
    width: 100%;
    height: 90vh;
    background-color: #f3f3f3;
}

#contacto .contenedor-contacto {
    position: relative;
    top: 30px;
    width: 65%;
    display: grid;
    place-items: center;
    height: 59vh;
    padding: 10px;
}

#contacto .contenedor-form {
    width: 90%;
    height: 50vh;
}

#contacto .contenedor-contacto .contenedor-form .titulo-seccion {
    text-align: center;
    font-size: 22px;
    text-transform: uppercase;
    color: #000000;
    text-decoration-color: #d3d3d3;
    text-decoration-thickness: 5px;
    text-shadow: 1px 1px 2px black, 0 0 1em black;
    margin-bottom: 2vh
}

#contacto .contenedor-contacto .contenedor-form .fila {
    margin-bottom: 2vh;
    margin-top: 2vh;
}

#contacto .contenedor-contacto .contenedor-form .fila-mitad {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

#contacto .contenedor-contacto .contenedor-form input,
#contacto .contenedor-contacto .contenedor-form textarea {
    padding: 2vh;
    border-radius: 10px;
    border: none;
    border: 1px solid #919191;
    box-shadow: 1px 1px 2px black, 0 0 1em black;
}

#contacto .contenedor-contacto .contenedor-form .input-mitad {
    width: 32%;
    font-size: 2vh;
}

#contacto .contenedor-contacto .contenedor-form .input-full,
#contacto .contenedor-contacto .contenedor-form .input-fullarea {
    width: 100%;
}

#contacto .contenedor-contacto .contenedor-form .input-fullarea {
    height: 20vh;
}

#contacto .contenedor-contacto .contenedor-form .btn-enviar {
    display: block;
    margin: auto;
    cursor: pointer;
    text-decoration: none;
    padding: 2vh 2vw;
    background-color: #006766;
    border: 2px solid #fff;
    border-radius: 10px;
    color: #fff;
    font-weight: bold;
    font-size: 15px;
    transition: .5s;
    box-shadow: 2px 2px 5px black, 0 0 1em black;
}

#contacto .contenedor-contacto .contenedor-form .btn-enviar:hover {
    background-color: #00768e;
}

.contenedor-datoscontacto {
    width: 80%;
    margin: auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 1vh 2vw;
    height: 24vh;
    background-color: rgba(0, 0, 0);
    border-radius: 5px;
}

.legalisluisperezhoriz {
    display: none;
}

.legalisluisperezvert {
    width: 8vw;
}

.datoscontacto {
    width: 15vw;
}

.mapa {
    width: 18vw;
    height: 20vh;
    border-radius: 5px;
}


/* seccion F O O T E R */

footer {
    height: 15px;
    width: 100%;
    background-color: #000;
    color: #7aedfa;
    text-align: center;
    font-size: 10px;

    display: flex;
    align-items: center;
    /* centra vertical */
    justify-content: center;
    /* centra horizontal */

    padding: 0;
}

/*                                            R E S P O N S I V E   A P A I S A D O                                  */


@media screen and (max-width: 950px) {

    @media screen and (max-height: 1400px) {
        #inicio {
            background: url(".//img/FONDO_LEGALIS_RESPONSIVE.jpg");
            background-position: bottom center;
            height: 100vh;
            animation: movimiento 13s infinite linear alternate;
        }


        @keyframes movimiento {
            from {
                background-size: 100%;
            }

            to {
                background-size: 110%;
            }
        }

    }

    @media screen and (max-height: 700px) {
        #inicio {
            background: url(".//img/FONDO_LEGALIS_RESPONSIVE.jpg");
            background-position: bottom center;
            height: 100vh;
            animation: movimiento 13s infinite linear alternate;
        }


        @keyframes movimiento {
            from {
                background-size: 100%;
            }

            to {
                background-size: 110%;
            }
        }
    }

    @media screen and (max-height: 500px) {
        #inicio {
            background: url(".//img/FONDO_LEGALIS3.jpg");
            background-position: bottom center;
            height: 100vh;
            animation: movimiento 13s infinite linear alternate;
        }


        @keyframes movimiento {
            from {
                background-size: 100%;
            }

            to {
                background-size: 110%;
            }
        }
    }

    @media screen and (max-height: 340px) {
        #inicio {
            background: url(".//img/FONDO_LEGALIS_RESPONSIVE_APAISADO.jpg");
            background-position: bottom center;
            height: 100vh;
            animation: movimiento 13s infinite linear alternate;
        }


        @keyframes movimiento {
            from {
                background-size: 100%;
            }

            to {
                background-size: 110%;
            }
        }
    }

    .contenido-header {
        max-width: 950px;
    }

    nav {
        display: none;
    }

    nav.responsive {
        display: block;
        background-color: rgba(0, 0, 0, .8);
        width: 45%;
        position: absolute;
        top: 90px;
        right: 2%;
        padding: 15px 0;
        transition: 0.7s;
    }

    nav.responsive ul {
        display: block !important;
        text-align: right;
    }

    nav.responsive ul li {
        font-size: 15px;
        margin: 2px 0;
    }

    nav.responsive ul::after {
        display: none;
        transition: 0.5s;

    }

    #icono-nav {
        display: block;
    }

    .contenido-header .redes a {
        text-decoration: none;
        padding: 5px;
        margin-left: 4px;
        color: #fff;
        display: inline-block;
        transition: .5s;
        font-size: 20px;
    }

    .siganos {
        color: #fff;
        font-size: 15px;

    }


    .presentacion {
        width: 65%;
        max-height: 600px;
        color: #ffffff;
        display: flex;
        flex-direction: column;
        justify-content: right;
        background-color: none;
        text-shadow: 3px 3px 8px black, 0 0 1em black;
    }

    .contenedor-tranquilidadyhacemos {
        margin-top: 18vh;
        margin-left: 5%;
        width: 100%;
        max-height: 250px;
        display: grid;
        place-items: left;
        height: 40vh;
        padding: 10px;
    }

    .tranquilidad {
        font-size: 3vw;
    }

    .linea1 {
        height: 4px;
        width: 70%;
        background-color: #006766;
        border-color: #006766;
    }

    .hacemos {
        font-size: 2.5vw;
    }

    .contenedor-comillayresena {
        margin-top: 5vh;
        margin-left: 5%;
        width: 100%;
        max-height: 180px;
        display: flex;
        flex-direction: row;
        place-items: top;
        height: 23vh;
    }


    .comilla2 {
        margin-left: 5%;
        width: 7vw;
        filter: drop-shadow(5px 5px 10px #000000);
    }

    .resena {
        margin-left: 7%;
        font-size: 2vw;
        line-height: 8vh;
        font-weight: 550;
        font-style: italic;
        font-family: 'Times New Roman';
    }

    .ciceron {
        margin-left: 60%;
        font-size: 1.5vw;
        font-weight: 400;
        font-style: italic;
        font-family: 'Times New Roman';
    }

    .contenedor-botones {
        top: 25vh;
        right: 2%;
        position: fixed;
        width: 30%;
        display: grid;
        place-items: center;
        height: 60vh;
        border-radius: 8px;
        padding: 10px;
        background-color: rgba(0, 0, 0, 0.1);
        font-family: 'Montserrat';
        text-shadow: none;
    }

    .contenedor-acceso {
        width: 94%;
        border-radius: 8px;
        display: grid;
        place-items: center;
        justify-content: center;
        height: 20vh;
        padding: 10px;
        background-color: rgba(1, 4, 44, 0.2);
    }

    .txt-acceso {
        top: 7px;
        font-size: 10px;
        font-weight: 500;
        color: white;
        text-shadow: 3px 3px 8px black, 0 0 1em black;
    }

    .explicacion-acceso {
        display: none;
    }

    .btn-acceso {
        text-decoration: none;
        margin-top: 6px;
        padding: 2vh 3vw;
        background-color: #006766;
        border: 2px solid #fff;
        border-radius: 10px;
        color: #fff;
        font-weight: bold;
        font-size: 10px;
        transition: .5s;
        box-shadow: 2px 2px 5px black, 0 0 1em black;
    }

    .btn-acceso:hover {
        background-color: #023e3d;
    }

    .contenedor-preconsulta {
        width: 94%;
        border-radius: 8px;
        display: grid;
        place-items: center;
        height: 20vh;
        padding: 10px;
        background-color: rgba(1, 4, 44, 0.2);
    }

    .txt-preconsulta {
        top: 1.6vh;
        font-size: 10px;
        font-weight: 500;
        color: white;
        text-shadow: 3px 3px 8px black, 0 0 1em black;
    }

    .btn-preconsulta {
        text-decoration: none;
        margin-top: 6px;
        padding: 2vh 3vw;
        background-color: #006766;
        border: 2px solid #fff;
        border-radius: 10px;
        color: #fff;
        font-weight: bold;
        font-size: 10px;
        transition: .5s;
        box-shadow: 2px 2px 5px black, 0 0 1em black;
    }

    .explicacion-preconsulta {
        display: none;
    }

    .btn-preconsulta:hover {
        background-color: #023e3d;
    }

    .btn-whatsapp {
        display: flex;
        flex-direction: row;
        text-decoration: none;
        justify-content: space-around;
        align-items: center;
        padding: 1.4vh 3vw;
        text-decoration: none;
        color: #fff;
        font-weight: bold;
        font-size: 10px;
        background-color: #00b009;
        border: 2px solid #fff;
        border-radius: 50px;
        color: #fff;
        box-shadow: 2px 2px 5px black, 0 0 1em black;
        transition: .5s;
    }

    .btn-whatsapp i {
        color: #fff;
        font-size: 25px;
        margin-right: 10px;
    }

    .btn-whatsapp:hover {
        transition: .5s;
        background-color: #09740e;
    }

    .btn-whatsapp-flot {
        display: none;
    }



    /* SEGUNDA PANTALLA INICIO R E S P O N S I V E   A P A I S A D O */

    #inicio-b {
        background-color: #006766;
        background-size: cover;
        height: 170vh;
    }

    #inicio-b .contenedor-presentacion2 {
        width: 68%;
        height: 170vh;
        margin-left: 0%;
        padding: 0.8vh 2vw;
        display: flex;
        flex-direction: column;
        align-items: left;
    }

    #inicio-b .contenedor-presentacion2 .contenedor-descripcion2 {
        margin-top: 4vh;
        width: 95%;
        height: 50vh;
        padding: 1.6vh 2vw;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #inicio-b .contenedor-presentacion2 .contenedor-descripcion2 .descripcion2 {
        color: #ffffff;
        line-height: 6vh;
        font-family: 'Montserrat';
        font-size: 2vw;
        font-weight: 400;
        text-shadow: 3px 3px 8px black, 0 0 1em black;
        text-align: left;
        margin-bottom: 3vh;
    }

    #inicio-b .contenedor-presentacion2 .contenedor-descripcion2 .linea2 {
        margin-top: 3vh;
        height: 3px;
        width: 100%;
        background-color: #ffffff;
        border-color: #c9d7d7;
    }


    #inicio-b .contenedor-presentacion2 .contenedor-descripcion2 .btn-leermas-descripcion2 {
        text-decoration: none;
        margin: 2px;
        padding: 2.4vh 4vw;
        background-color: #006766;
        border: 2px solid #fff;
        border-radius: 10px;
        color: #fff;
        font-weight: bold;
        font-size: 1.4vw;
        transition: .5s;
        box-shadow: 2px 2px 5px black, 0 0 1em black;
    }

    #inicio-b .contenedor-presentacion2 .contenedor-descripcion2 .btn-leermas-descripcion2:hover {
        background-color: #023e3d;
    }

    #inicio-b .contenedor-presentacion2 .contenedor-img-descripcion2 {
        margin-top: 3vh;
        width: 95%;
        height: auto;
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        background-color: none;

    }

    #inicio-b .contenedor-presentacion2 .contenedor-img-descripcion2 .img-descripcion2 {
        width: 40%;
        filter: drop-shadow(5px 5px 10px #000000);
    }

    /* seccion porque nosotros  -  R E S P O N S I V E   A P A I S A D O  */


    @media screen and (max-height: 1000px) {
        #sobrenosotros {
            background: url(".//img/FONDO_LEGALIS_RESPONSIVE_APAISADO_4.jpg");
            background-position: bottom right;
            height: 185vh;
            animation: movimiento 13s infinite linear alternate;
        }


        @keyframes movimiento {
            from {
                background-size: 160%;
            }

            to {
                background-size: 170%;
            }
        }
    }

    @media screen and (max-height: 700px) {
        #sobrenosotros {
            background: url(".//img/FONDO_LEGALIS_RESPONSIVE_APAISADO_4.jpg");
            background-position: right bottom;
            height: 185vh;
            animation: movimiento 13s infinite linear alternate;
        }


        @keyframes movimiento {
            from {
                background-size: 210%;
            }

            to {
                background-size: 220%;
            }
        }
    }

    .contenedor-sobrenosotros {
        width: 68%;
        height: 185vh;
        margin-left: 2%;
        padding: 0.8vh 2vw;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .contenedor-img-sobrenosotros {
        display: none;
    }

    .img-sobrenosotros {
        display: none;
    }

    .porquenosotros {
        position: relative;
        top: 30px;
        color: #ffffff;
        line-height: 6vh;
        font-family: 'Montserrat';
        font-size: 2vw;
        font-weight: 400;
        text-shadow: 3px 3px 8px black, 0 0 1em black;
        text-align: left;
        margin-bottom: 10vh;
    }


    .linea3 {
        display: none;
    }


    .btn-leermas-porquenosotros {
        text-decoration: none;
        margin: 2px;
        padding: 2.4vh 4vw;
        background-color: #006766;
        border: 2px solid #fff;
        border-radius: 10px;
        color: #fff;
        font-weight: bold;
        font-size: 1.4vw;
        transition: .5s;
        box-shadow: 2px 2px 5px black, 0 0 1em black;
    }

    .btn-leermas-porquenosotros:hover {
        background-color: #023e3d;
    }


    #servicios {
        width: 100%;
        background-color: #d0cdcd;
    }

    #servicios .ontenedor-servicios-responsive {
        display: none;
    }

    #servicios .contenedor-servicios {
        margin-left: 0px;
        width: 67%;
        padding: 50px 15px;
        text-align: center;
        background-color: #d0cdcd;
    }

    #servicios .contenedor-servicios .titulo-seccion {
        margin-top: 50px;
        text-align: center;
        font-size: 22px;
        text-transform: uppercase;
        color: #111135;
        text-decoration: underline;
        text-decoration-color: #d0cdcd;
        text-decoration-thickness: 5px;
    }

    #servicios .fila {
        display: flex;
        justify-content: space-between;
        max-width: 850px;
        margin: auto;
    }

    #servicios .fila .servicio {
        max-width: 250px;
        background-color: none;
        padding: 10px;
        margin: 0 1px;
    }

    #servicios .fila .servicio .tit-servicio {
        width: 20vw;
    }

    #servicios .fila .servicio .img-servicio {
        width: 15vw;
        transition: 0.5s;
    }

    #servicios .fila .servicio .img-servicio:hover {
        width: 15.2vw;
        transition: 0.5s;
    }



    /* seccion C O N T A C T O   -  R E S P O N S I V E   A P A I S A D O  */


    #contacto {
        width: 100%;
        height: 90vh;
        background-color: #f3f3f3;
    }

    #contacto .contenedor-contacto {
        position: relative;
        top: 50px;
        width: 65%;
        display: grid;
        place-items: center;
        height: 85vh;
        padding: 10px;
    }

    #contacto .contenedor-form {
        width: 90%;
        height: 43vh;
    }




    #contacto .contenedor-contacto .contenedor-form .titulo-seccion {
        text-align: center;
        font-size: 22px;
        text-transform: uppercase;
        color: #000000;
        text-decoration-color: #d3d3d3;
        text-decoration-thickness: 5px;
        text-shadow: 1px 1px 2px black, 0 0 1em black;
        margin-bottom: 2vh
    }

    #contacto .contenedor-contacto .contenedor-form .fila {
        margin-bottom: 2vh;
        margin-top: 2vh;
    }

    #contacto .contenedor-contacto .contenedor-form .fila-mitad {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    #contacto .contenedor-contacto .contenedor-form input,
    #contacto .contenedor-contacto .contenedor-form textarea {
        padding: 2vh;
        border-radius: 10px;
        border: none;
        border: 1px solid #919191;
        box-shadow: 1px 1px 2px black, 0 0 1em black;
    }

    #contacto .contenedor-contacto .contenedor-form .input-mitad {
        width: 32%;
        font-size: 2vh;
    }

    #contacto .contenedor-contacto .contenedor-form .input-full,
    #contacto .contenedor-contacto .contenedor-form .input-fullarea {
        width: 100%;
    }

    #contacto .contenedor-contacto .contenedor-form .input-fullarea {
        height: 20vh;
    }

    #contacto .contenedor-contacto .contenedor-form .btn-enviar {
        display: block;
        margin: auto;
        cursor: pointer;
        text-decoration: none;
        padding: 2vh 2vw;
        background-color: #006766;
        border: 2px solid #fff;
        border-radius: 10px;
        color: #fff;
        font-weight: bold;
        font-size: 10px;
        transition: .5s;
        box-shadow: 2px 2px 5px black, 0 0 1em black;
    }

    #contacto .contenedor-contacto .contenedor-form .btn-enviar:hover {
        background-color: #00768e;
    }


    .contenedor-datoscontacto {
        width: 95%;
        margin: auto;
        display: flex;
        justify-content: space-around;
        align-items: center;
        padding: 1vh 2vw;
        height: 25vh;
        background-color: rgba(0, 0, 0);
        border-radius: 5px;
    }

    .legalisluisperezhoriz {
        display: none;
    }

    .legalisluisperezvert {
        width: 8vw;
    }

    .datoscontacto {
        width: 15vw;
    }

    .mapa {
        width: 18vw;
        height: 22vh;
        border-radius: 5px;
    }


}

footer {
    bottom: 0vh;
    background-color: #000;
    text-decoration: none;
    color: #7aedfa;
    text-align: center;
    font-size: 10px;
    padding: 2.13vh 0;
    position: fixed;
}


/*                                RESPONSIVE CELULAR VERTICAL                           */


@media screen and (max-width: 440px) {

    @media screen and (max-height: 1000px) {
        #inicio {
            background: url(".//img/FONDO_LEGALIS_RESPONSIVE.jpg");
            background-position: bottom center;
            height: 95vh;
            animation: movimiento 13s infinite linear alternate;
        }


        @keyframes movimiento {
            from {
                background-size: 115%;
            }

            to {
                background-size: 120%;
            }
        }
    }

    @media screen and (max-height: 700px) {
        #inicio {
            background: url(".//img/FONDO_LEGALIS_RESPONSIVE.jpg");
            background-position: bottom center;
            height: 95vh;
            animation: movimiento 13s infinite linear alternate;
        }


        @keyframes movimiento {
            from {
                background-size: 100%;
            }

            to {
                background-size: 110%;
            }
        }
    }


    nav {
        display: none;
    }

    .contenido {
        background-color: rgba(0, 0, 0);
        position: fixed;
        width: 100%;
        z-index: 100;
        top: 0;
    }

    .contenido-header {
        height: 80px;
    }

    nav.responsive {
        display: block;
        background-color: rgb(0, 0, 0, .8);
        width: 65%;
        position: absolute;
        top: 170px;
        right: 2%;
        padding: 4.2vh 0;
    }

    nav.responsive ul {
        display: block !important;
        text-align: right;
    }

    nav.responsive ul li {
        margin: 10px 0;
    }

    .contenido-header nav ul li a {
        font-size: 15px;
    }


    #icono-nav {
        display: block;
    }

    .logo {
        margin-left: 12px;
        margin-top: 7px;
        display: flex;
        height: 50px;
    }

    #inicio .contenido .contenido-header .redes a {
        text-decoration: none;
        padding: 5px;
        margin-right: 4px;
        color: #fff;
        display: inline-block;
        transition: .5s;
        font-size: 20px;
    }

    .siganos {
        color: #ffffff;
        font-size: 15px;

    }

    .presentacion {
        width: 95%;
        height: 70vh;
        max-height: 650px;
        color: #ffffff;
        display: flex;
        flex-direction: column;
        justify-content: right;
        background-color: none;
        text-shadow: 3px 3px 8px black, 0 0 1em black;
    }

    .contenedor-tranquilidadyhacemos {
        margin-top: 30vh;
        margin-left: 5%;
        width: 100%;
        max-height: 350px;
        display: grid;
        place-items: left;
        height: 40vh;
        padding: 10px;
    }

    .tranquilidad {
        font-size: 5vw;
    }

    .linea1 {
        height: 2px;
        width: 70%;
        background-color: #006766;
        border-color: #006766;
    }

    .hacemos {
        font-size: 4.5vw;
    }

    .contenedor-comillayresena {
        margin-top: 5vh;
        margin-left: 5%;
        width: 100%;
        max-height: 180px;
        display: flex;
        flex-direction: row;
        place-items: top;
        height: 23vh;
    }


    .comilla2 {
        margin-left: 5%;
        width: 14vw;
        filter: drop-shadow(5px 5px 10px #000000);
    }

    .resena {
        max-height: 100px;
        margin-left: 7%;
        font-size: 3.8vw;
        line-height: 4vh;
        font-weight: 550;
        font-style: italic;
        font-family: 'Times New Roman';
    }

    .ciceron {
        margin-left: 60%;
        font-size: 3vw;
        font-weight: 400;
        font-style: italic;
        font-family: 'Times New Roman';
    }


    .contenedor-botones {
        top: 80px;
        right: 0px;
        position: fixed;
        width: 100%;
        display: flex;
        place-items: center;
        height: 85px;
        background-color: rgb(0, 0, 0);
        font-family: 'Montserrat';
        text-shadow: none;
        border-radius: 0px;
        z-index: 100;
    }

    .contenedor-acceso {
        background-color: none;
        width: 50%;
        display: grid;
        place-items: center;
        justify-content: center;
        height: 80px;
    }

    .txt-acceso {
        top: 0px;
        font-size: 10px;
        font-weight: 500;
        color: white;
        margin-bottom: 6px;
    }

    .explicacion-acceso {
        display: none;
    }

    .btn-acceso {
        text-decoration: none;
        margin: 2px;
        padding: 5px 10px;
        background-color: #006766;
        border: 2px solid #fff;
        border-radius: 5px;
        color: #fff;
        font-weight: bold;
        font-size: 12px;
        transition: .5s;
    }

    .btn-acceso:hover {
        background-color: #023e3d;
    }

    .contenedor-preconsulta {
        background-color: none;
        width: 50%;
        display: grid;
        place-items: center;
        height: 80px;
    }

    .txt-preconsulta {
        top: 0px;
        font-size: 10px;
        font-weight: 500;
        color: white;
        margin-bottom: 5px;
    }

    .btn-preconsulta {
        text-decoration: none;
        margin: 2px;
        padding: 5px 10px;
        background-color: #006766;
        border: 2px solid #fff;
        border-radius: 5px;
        color: #fff;
        font-weight: bold;
        font-size: 12px;
        transition: .5s;
    }

    .explicacion-preconsulta {
        display: none;
    }

    .btn-preconsulta:hover {
        background-color: #023e3d;
    }

    .btn-whatsapp {
        display: none;

    }



    .btn-whatsapp-flot {
        bottom: 80px;
        right: 15px;
        position: fixed;
        width: 34%;
        display: flex;
        flex-direction: row;
        text-decoration: none;
        justify-content: center;
        align-items: center;
        padding: 2px 10px;
        text-decoration: none;
        color: #fff;
        font-weight: bold;
        font-size: 12px;
        background-color: #00b009;
        border: 2px solid #fff;
        border-radius: 50px;
        color: #fff;
        box-shadow: 2px 2px 5px black, 0 0 1em black;
        z-index: 100;
        transition: .5s;
    }

    .btn-whatsapp-flot i {
        color: #fff;
        font-size: 35px;
        margin-right: 10px;
    }


    .btn-whatsapp-flot:hover {
        transition: .5s;
        background-color: #09740e;
    }

    .btn-whatsapp {
        display: none;
    }


    /* SEGUNDA PANTALLA INICIO R E S P O N S I V E */

    #inicio-b {
        background-color: #006766;
        background-size: cover;
        height: 100vh;
    }

    #inicio-b .contenedor-presentacion2 {
        width: 100%;
        height: 95vh;
        margin-left: 0%;
        padding: 0.8vh 2vw;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #inicio-b .contenedor-presentacion2 .contenedor-descripcion2 {
        margin-top: 4vh;
        width: 95%;
        height: 50vh;
        padding: 1.6vh 2vw;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #inicio-b .contenedor-presentacion2 .contenedor-descripcion2 .descripcion2 {
        color: #ffffff;
        line-height: 2.7vh;
        font-family: 'Montserrat';
        font-size: 4vw;
        font-weight: 400;
        text-shadow: 3px 3px 8px black, 0 0 1em black;
        text-align: left;
        margin-bottom: 3vh;
    }

    #inicio-b .contenedor-presentacion2 .contenedor-descripcion2 .linea2 {
        display: none;
    }


    #inicio-b .contenedor-presentacion2 .contenedor-descripcion2 .btn-leermas-descripcion2 {
        padding: 1vh 2vw;
        text-decoration: none;
        background-color: #006766;
        border: 2px solid #fff;
        border-radius: 5px;
        color: #fff;
        font-size: 3vw;
        transition: .5s;
        box-shadow: 2px 2px 5px black, 0 0 1em black;
    }

    #inicio-b .contenedor-presentacion2 .contenedor-descripcion2 .btn-leermas-descripcion2:hover {
        background-color: #023e3d;
    }

    #inicio-b .contenedor-presentacion2 .contenedor-img-descripcion2 {
        margin-top: 3vh;
        width: 95%;
        height: auto;
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        background-color: none;

    }

    #inicio-b .contenedor-presentacion2 .contenedor-img-descripcion2 .img-descripcion2 {
        width: 40%;
        filter: drop-shadow(5px 5px 10px #000000);
    }

    /* SOBRE NOSOTROS R E S P O N S I V E */

    @media screen and (max-height: 1000px) {
        #sobrenosotros {
            background: url(".//img/FONDO_LEGALIS_RESPONSIVE_4.jpg");
            background-position: bottom right;
            height: 145vh;
            animation: movimiento 13s infinite linear alternate;
        }


        @keyframes movimiento {
            from {
                background-size: 165%;
            }

            to {
                background-size: 175%;
            }
        }
    }

    @media screen and (max-height: 700px) {
        #sobrenosotros {
            background: url(".//img/FONDO_LEGALIS_RESPONSIVE_4.jpg");
            background-position: right bottom;
            height: 145vh;
            animation: movimiento 13s infinite linear alternate;
        }


        @keyframes movimiento {
            from {
                background-size: 150%;
            }

            to {
                background-size: 160%;
            }
        }
    }

    .contenedor-sobrenosotros {
        width: 100%;
        height: 140vh;
        margin-left: 2%;
        padding: 2vh 2vw;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
    }

    .img-sobrenosotros {
        display: block;
        width: 80%;
        filter: drop-shadow(5px 5px 10px #000000);
    }

    .porquenosotros {
        position: relative;
        width: 90%;
        margin-top: -10%;
        color: #ffffff;
        line-height: 3vh;
        font-family: 'Montserrat';
        font-size: 4vw;
        font-weight: 400;
        text-shadow: 3px 3px 8px black, 0 0 1em black;
        text-align: left;
    }


    .linea3 {
        display: none;
    }


    .btn-leermas-porquenosotros {
        margin-top: 45px;
        padding: 1vh 2vw;
        text-decoration: none;
        background-color: #006766;
        border: 2px solid #fff;
        border-radius: 5px;
        color: #fff;
        font-size: 3vw;
        transition: .5s;
        box-shadow: 2px 2px 5px black, 0 0 1em black;
    }

    .btn-leermas-porquenosotros:hover {
        background-color: #023e3d;
    }

    /* seccion S E R V I C I O S  RESPONSIVE VERTICAL */

    #servicios {
        width: 100%;
        background-color: #d0cdcd;
    }

    #servicios .contenedor-servicios {
        display: none;
    }

    #servicios .contenedor-servicios-responsive {
        position: relative;
        top: 140px;
        display: grid;
        margin-left: 0px;
        width: 100%;
        padding: 50px 15px;
        text-align: center;
        background-color: #d0cdcd;
    }

    #servicios .contenedor-servicios .titulo-seccion {
        text-align: center;
        font-size: 22px;
        text-transform: uppercase;
        color: #111135;
        text-decoration: underline;
        text-decoration-color: #d0cdcd;
        text-decoration-thickness: 5px;
    }

    #servicios .fila {
        display: flex;
        justify-content: space-around;
        margin: auto;
    }

    #servicios .fila .servicio {
        background-color: none;
        padding: 10px;
        margin: 0 1px;
    }

    #servicios .fila .servicio .tit-servicio {
        width: 40vw;
    }

    #servicios .fila .servicio .img-servicio {
        width: 42vw;
        transition: 0.5s;
    }

    #servicios .fila .servicio .img-servicio:hover {
        width: 44vw;
        transition: 0.5s;
    }



    /* seccion C O N T A C T O  RESPONSIVE VERTICAL */


    #contacto {
        width: 100%;
        height: 180vh;
        padding: 10px;
        background-color: #f3f3f3;
    }

    #contacto .contenedor-contacto {
        position: relative;
        top: 160px;
        width: 95%;
        display: grid;
        place-items: center;
        height: 30vh;
        padding: 10px;
    }

    #contacto .contenedor-form {
        width: 90%;
        height: 620px;
    }

    #contacto .contenedor-contacto .contenedor-form .titulo-seccion {
        text-align: center;
        font-size: 1, 5vh;
        text-transform: uppercase;
        color: #000000;
        text-decoration-color: #d3d3d3;
        text-decoration-thickness: 5px;
        text-shadow: 1px 1px 2px black, 0 0 1em black;
        margin-bottom: 20px;
    }

    #contacto .contenedor-contacto .contenedor-form .fila {
        margin-bottom: 2.2vh;
    }

    #contacto .contenedor-contacto .contenedor-form .fila-mitad {
        display: grid;
        width: 100%;
    }

    #contacto .contenedor-contacto .contenedor-form input,
    #contacto .contenedor-contacto .contenedor-form textarea {
        padding: 1, 2vh;
        border-radius: 10px;
        border: none;
        margin: 1vh;
        border: 1px solid #919191;
        box-shadow: 1px 1px 2px black, 0 0 1em black;
    }

    #contacto .contenedor-contacto .contenedor-form .input-mitad {
        width: 100%;
        font-size: 2vh;
    }

    #contacto .contenedor-contacto .contenedor-form .input-full,
    #contacto .contenedor-contacto .contenedor-form .input-fullarea {
        width: 100%;
    }

    #contacto .contenedor-contacto .contenedor-form .input-fullarea {
        height: 250px;
        font-size: 2vh;
    }

    #contacto .contenedor-contacto .contenedor-form .btn-enviar {
        display: block;
        margin: auto;
        cursor: pointer;
        text-decoration: none;
        padding: 7px 10px;
        background-color: #006766;
        border: 2px solid #fff;
        border-radius: 5px;
        color: #fff;
        font-weight: bold;
        font-size: 0, 8vh;
        transition: .5s;
        box-shadow: 2px 2px 5px black, 0 0 1em black;
    }

    #contacto .contenedor-contacto .contenedor-form .btn-enviar:hover {
        background-color: #00768e;
    }


    .contenedor-datoscontacto {
        width: 95%;
        margin-top: 10px;
        display: grid;
        place-items: center;
        padding: 1vh 2vw;
        height: 45vh;
        background-color: rgb(35, 35, 35);
        border-radius: 5px;
    }

    .legalisluisperezhoriz {
        display: block;
        width: 40vw;
    }

    .legalisluisperezvert {
        display: none;
    }

    .datoscontacto {
        width: 60vw;
    }

    .mapa {
        width: 40vw;
        height: 10vh;
        border-radius: 5px;
    }



    /* seccion F O O T E R  RESPONSIVE VERTICAL*/


    footer {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        min-height: 24px;
        padding: 6px 8px;
        background-color: #000;
        color: #7aedfa;
        text-align: center;
        font-size: 7px;
        line-height: 1.15;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 120;
    }


}

/* === AJUSTES DE REFINAMIENTO MOBILE Y BOTONES === */
:root {
    --legalis-accent: #006766;
    --legalis-accent-dark: #023e3d;
    --legalis-bg-dark: rgba(1, 4, 44, 0.4);
    --legalis-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.presentacion,
#inicio-b .contenedor-presentacion2 .contenedor-img-descripcion2,
#servicios .fila .servicio,
#servicios .fila .servicio {
    background-color: transparent;
}

.btn-acceso,
.btn-preconsulta,
.btn-whatsapp,
.btn-whatsapp-flot,
.btn-enviar,
.btn-leermas-descripcion2,
.btn-leermas-porquenosotros,
.preconsulta-submit,
.preconsulta-back {
    transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease, filter .22s ease;
}

.btn-acceso,
.btn-preconsulta {
    position: relative;
    overflow: hidden;
    min-width: 220px;
    text-align: center;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .4);
    animation: pulseCta 3.4s infinite ease-in-out;
}

.btn-acceso::after,
.btn-preconsulta::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, .18) 45%, transparent 100%);
    transform: translateX(-120%);
    transition: transform .55s ease;
}

.btn-acceso:hover,
.btn-preconsulta:hover,
.btn-whatsapp:hover,
.btn-whatsapp-flot:hover,
.btn-enviar:hover,
.btn-leermas-descripcion2:hover,
.btn-leermas-porquenosotros:hover,
.preconsulta-submit:hover,
.preconsulta-back:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 26px rgba(0, 0, 0, .42);
}

.btn-acceso:hover::after,
.btn-preconsulta:hover::after {
    transform: translateX(120%);
}

.btn-acceso:active,
.btn-preconsulta:active,
.btn-whatsapp:active,
.btn-whatsapp-flot:active,
.btn-enviar:active,
.preconsulta-submit:active,
.preconsulta-back:active {
    transform: scale(.985);
}

.btn-acceso:focus-visible,
.btn-preconsulta:focus-visible,
.btn-whatsapp:focus-visible,
.btn-whatsapp-flot:focus-visible,
.btn-enviar:focus-visible,
.preconsulta-submit:focus-visible,
.preconsulta-back:focus-visible,
.preconsulta-form input:focus,
.preconsulta-form select:focus,
.preconsulta-form textarea:focus {
    outline: 2px solid rgba(122, 237, 250, .95);
    outline-offset: 3px;
}

@keyframes pulseCta {

    0%,
    100% {
        box-shadow: 0 10px 22px rgba(0, 0, 0, .40);
    }

    50% {
        box-shadow: 0 14px 30px rgba(0, 103, 102, .38);
    }
}

@media screen and (max-width: 950px) {
    #inicio {
        min-height: 100svh;
        height: auto;
        background-position: center center;
    }

    #inicio .contenido header {
        backdrop-filter: blur(5px);
    }

    .contenido-header {
        gap: 10px;
        padding: 14px 16px;
    }

    .logo {
        height: 54px;
    }

    nav.responsive {
        top: 176px !important;
        right: 14px;
        border-radius: 14px;
        box-shadow: 0 14px 28px rgba(0, 0, 0, .35);
        overflow: hidden;
    }

    .presentacion {
        width: 100%;
        max-width: none;
        min-height: auto;
        padding: 0 14px 18px;
    }

    .contenedor-tranquilidadyhacemos {
        margin-top: 0;
        margin-left: 0;
        width: 100%;
        height: auto;
        min-height: 0;
        padding: 18px 16px 10px;
    }

    .tranquilidad {
        font-size: clamp(24px, 7vw, 52px);
        line-height: 1.05;
    }

    .hacemos {
        font-size: clamp(18px, 5.5vw, 36px);
        line-height: 1.1;
    }

    .linea1 {
        width: min(78%, 360px);
    }

    .contenedor-comillayresena {
        margin-top: 10px;
        margin-left: 0;
        width: 100%;
        height: auto;
        max-height: none;
        align-items: flex-start;
        gap: 8px;
        padding: 0 14px;
    }

    .comilla2 {
        margin-left: 0;
        width: clamp(42px, 12vw, 88px);
        flex: 0 0 auto;
    }

    .resena {
        margin-left: 0;
        font-size: clamp(16px, 4.2vw, 28px);
        line-height: 1.5;
    }

    .ciceron {
        margin: 10px 18px 0 auto;
        width: fit-content;
        font-size: clamp(16px, 4vw, 24px);
    }

    .contenedor-botones {
        position: static;
        width: 100%;
        height: auto;
        top: auto;
        right: auto;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
        gap: 12px;
        padding: 12px 12px 18px;
        border-radius: 0;
        background: rgba(0, 0, 0, 0.45);
    }

    .contenedor-acceso,
    .contenedor-preconsulta {
        width: 100%;
        height: 100%;
        min-height: 118px;
        padding: 14px 12px;
        align-content: start;
        gap: 10px;
    }

    .txt-acceso,
    .txt-preconsulta {
        text-align: center;
        font-size: 13px;
        line-height: 1.2;
    }

    .btn-acceso,
    .btn-preconsulta {
        min-width: 0;
        width: 100%;
        padding: 14px 16px;
        font-size: 15px;
    }

    .explicacion-preconsulta {
        font-size: 10px;
        line-height: 1.35;
    }

    .contenedor-botones>div:last-child {
        grid-column: 1 / -1;
        display: flex;
        justify-content: center;
        padding-top: 2px;
    }

    .btn-whatsapp {
        width: min(100%, 320px);
        justify-content: center;
        gap: 12px;
        padding: 14px 18px;
    }
}

@media screen and (max-width: 440px) {
    #inicio {
        min-height: 100svh;
    }

    .contenido-header {
        padding: 12px 14px;
    }

    .logo {
        height: 52px;
    }

    .contenedor-botones {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        width: 100%;
        height: 85px;
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 0;
        padding: 4px 0 0 0;
        margin: 0;
        border-radius: 0;
        background-color: #000;
        z-index: 190;
    }

    .contenedor-acceso,
    .contenedor-preconsulta {
        width: 50%;
        height: 85px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 3px;
        padding: 0 10px;
        margin: 0;
        background: transparent;
    }

    .txt-acceso,
    .txt-preconsulta {
        margin: 0;
        line-height: 1;
        font-size: 10px;
        text-align: center;
    }

    .btn-acceso,
    .btn-preconsulta {
        margin: 0;
        padding: 10px 10px;
        min-height: auto;
    }

    .explicacion-preconsulta {
        display: none;
    }

    .presentacion {
        width: 95%;
        padding-top: 155px;
    }

    nav.responsive {
        top: 80px;
        z-index: 210;
    }

    .contenedor-tranquilidadyhacemos {
        padding: 20px 14px 8px;
    }

    .contenedor-comillayresena {
        padding: 0 10px;
        padding-top: 125px;
    }

    .btn-whatsapp-flot {
        display: inline-flex;
        position: fixed;
        left: 35%;
        transform: translateX(-1%);
        bottom: 52px;
        z-index: 120;
        width: min(68vw, 220px);
        justify-content: center;
        gap: 2px;
        padding: 4px 8px;
        border-radius: 50px;
        background-color: #00b009;
        border: 2px solid #fff;
        box-shadow: 0 12px 24px rgba(0, 0, 0, .32);
    }

    .btn-whatsapp {
        display: none;
    }

    footer {
        font-size: 8px;
        padding: 8px 0;
    }
}

/* =========================
   PRECONSULTA - LAYOUT
   ========================= */

.preconsulta-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, .56), rgba(0, 0, 0, .68)), url(".//img/FONDO_LEGALIS4.jpg") center center / cover no-repeat fixed;
    color: #fff;
}

.preconsulta-shell {
    flex: 1;
    width: min(1100px, calc(100% - 40px));
    margin: 0 auto;
    padding: 18px 0 18px;
}

.preconsulta-card {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 20px;
    padding: 26px;
    border-radius: 22px;
    background: rgba(0, 0, 0, 0.52);
    box-shadow: var(--legalis-shadow);
    backdrop-filter: blur(4px);
}

.preconsulta-intro,
.preconsulta-form-wrap {
    border-radius: 18px;
    padding: 24px;
    background: rgba(1, 4, 44, 0.38);
}

.preconsulta-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(0, 103, 102, .25);
    color: #7aedfa;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
}

.preconsulta-title {
    margin-bottom: 12px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.05;
    text-shadow: 3px 3px 8px black, 0 0 1em black;
}

.preconsulta-copy,
.preconsulta-list,
.preconsulta-msg {
    font-size: 15px;
    line-height: 1.6;
}

.preconsulta-list {
    margin: 18px 0 22px 18px;
}

.preconsulta-list li+li {
    margin-top: 10px;
}

.preconsulta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.preconsulta-form {
    display: grid;
    gap: 10px;
}

.preconsulta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.preconsulta-field {
    display: grid;
    gap: 5px;
}

.preconsulta-field-full {
    grid-column: 1 / -1;
}

.preconsulta-field label {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
}

.preconsulta-form input,
.preconsulta-form select,
.preconsulta-form textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .95);
    color: #111;
    font-size: 14px;
    line-height: 1.25;
}

.preconsulta-form input,
.preconsulta-form select {
    min-height: 42px;
}

.preconsulta-form textarea {
    resize: vertical;
    min-height: 120px;
}

.preconsulta-help {
    font-size: 11px;
    line-height: 1.35;
    color: rgba(255, 255, 255, .9);
}

.preconsulta-alert {
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.4;
}

.preconsulta-alert-success {
    background: rgba(28, 157, 77, .22);
    border: 1px solid rgba(95, 227, 145, .35);
}

.preconsulta-alert-error {
    background: rgba(190, 41, 41, .22);
    border: 1px solid rgba(255, 120, 120, .34);
}

.preconsulta-success {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 18px;
    text-align: center;
}

.preconsulta-success .preconsulta-alert {
    width: 100%;
}

.preconsulta-success .preconsulta-msg {
    max-width: 460px;
}

.preconsulta-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, .95);
}

.preconsulta-check input {
    width: 18px;
    min-width: 18px;
    height: 18px;
    margin-top: 2px;
}

.preconsulta-submit,
.preconsulta-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border: 2px solid #fff;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.preconsulta-submit {
    width: 100%;
    min-height: 56px;
    font-size: 16px;
    background: var(--legalis-accent);
    color: #fff;
}

.preconsulta-back {
    background: transparent;
    color: #fff;
}

/* =========================
   PRECONSULTA - TOPBAR DESKTOP
   ========================= */

.preconsulta-topbar {
    position: sticky;
    top: 0;
    z-index: 200;
    width: 100%;
    background: rgba(0, 0, 0, 0.88);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    backdrop-filter: blur(8px);
}

.preconsulta-topbar__inner {
    width: min(1280px, calc(100% - 40px));
    margin: 0 auto;
    min-height: 94px;
    display: grid;
    grid-template-columns: 250px 1fr 130px;
    align-items: center;
    column-gap: 28px;
}

.preconsulta-topbar__brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.preconsulta-topbar__brand img {
    display: block;
    width: auto;
    height: 64px;
}

.preconsulta-topbar__toggle {
    display: none;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

.preconsulta-topbar__nav {
    min-width: 0;
}

.preconsulta-topbar__nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
    margin: 0;
    padding: 0;
}

.preconsulta-topbar__nav a,
.preconsulta-topbar__social,
.preconsulta-topbar__social a {
    color: #fff;
    text-decoration: none;
}

.preconsulta-topbar__nav a {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: .01em;
    white-space: nowrap;
    transition: color .2s ease;
}

.preconsulta-topbar__nav a:hover,
.preconsulta-topbar__social a:hover {
    color: #7aedfa;
}

.preconsulta-topbar__social {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 116px;
    font-size: 14px;
    font-weight: 500;
}

.preconsulta-topbar__social a {
    font-size: 24px;
    margin: 0 6px;
    line-height: 1;
}

.preconsulta-topbar__social span {
    white-space: nowrap;
}

/* =========================
   PRECONSULTA - DESKTOP INTERMEDIO
   ========================= */

@media screen and (max-width: 1120px) {
    .preconsulta-topbar__inner {
        width: calc(100% - 24px);
        grid-template-columns: 220px 1fr 116px;
        column-gap: 18px;
    }

    .preconsulta-topbar__nav ul {
        gap: 22px;
    }

    .preconsulta-topbar__brand img {
        height: 58px;
    }

    .preconsulta-topbar__nav a {
        font-size: 14px;
    }
}

/* =========================
   PRECONSULTA - MOBILE
   ========================= */

@media screen and (max-width: 920px) {
    .preconsulta-topbar__inner {
        position: relative;
        width: calc(100% - 20px);
        min-height: 76px;
        display: flex;
        justify-content: space-between;
        gap: 14px;
        padding: 8px 0;
    }

    .preconsulta-topbar__toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .preconsulta-topbar__nav {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        display: none;
        padding: 14px;
        border-radius: 16px;
        background: rgba(0, 0, 0, 0.94);
        box-shadow: 0 16px 28px rgba(0, 0, 0, .34);
    }

    .preconsulta-topbar__nav.is-open {
        display: block;
    }

    .preconsulta-topbar__nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .preconsulta-topbar__social {
        min-width: auto;
        font-size: 12px;
    }

    .preconsulta-topbar__social a {
        font-size: 21px;
    }

    .preconsulta-shell {
        width: min(100% - 20px, 1100px);
        padding-top: 14px;
    }

    .preconsulta-card {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 18px;
    }
}

@media screen and (max-width: 560px) {
    .preconsulta-topbar__brand img {
        height: 52px;
    }

    .preconsulta-topbar__social span {
        display: none;
    }

    .preconsulta-title {
        font-size: clamp(28px, 10vw, 42px);
    }

    .preconsulta-shell {
        width: calc(100% - 16px);
        padding-top: 12px;
        padding-bottom: 18px;
    }

    .preconsulta-card,
    .preconsulta-intro,
    .preconsulta-form-wrap {
        padding: 14px;
        border-radius: 16px;
    }

    .preconsulta-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .preconsulta-actions {
        flex-direction: column;
    }

    .preconsulta-submit,
    .preconsulta-back {
        width: 100%;
    }
}
/* =========================================================
   LEGALIS - AJUSTE MOBILE FINAL
   Objetivo: mantener escritorio intacto y corregir únicamente
   estructura responsive en celulares.
   ========================================================= */
@media screen and (max-width: 560px) {
    html,
    body {
        width: 100%;
        min-width: 0;
        overflow-x: hidden;
        padding-bottom: 26px;
    }

    .contenido {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 82px;
        z-index: 300;
        background-color: #000;
    }

    .contenido-header {
        height: 82px;
        padding: 8px 16px;
        display: grid;
        grid-template-columns: 1fr 50px 34px;
        align-items: center;
        gap: 8px;
    }

    .logo {
        height: 54px;
        max-width: 170px;
        object-fit: contain;
    }

    #icono-nav {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 46px;
        height: 46px;
        border-radius: 10px;
        background: rgba(255, 255, 255, .10);
        color: #fff;
        font-size: 24px;
        justify-self: center;
    }

    .contenido-header .redes {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
    }

    .contenido-header .redes a {
        margin: 0;
        padding: 0;
        font-size: 19px;
        line-height: 1;
    }

    .siganos {
        display: none;
    }

    .contenido-header nav {
        display: none;
    }

    .contenido-header nav.responsive {
        display: block;
        position: fixed;
        top: 82px;
        left: 0;
        right: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, .96);
        z-index: 320;
        padding: 10px 0;
    }

    .contenido-header nav.responsive ul {
        display: block;
        width: 100%;
    }

    .contenido-header nav.responsive ul li {
        display: block;
        width: 100%;
        text-align: center;
        padding: 8px 0;
    }

    .contenido-header nav.responsive ul li a {
        font-size: 13px;
        margin: 0;
    }

    .contenedor-botones {
        position: fixed !important;
        top: 82px !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: 82px !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        align-items: stretch !important;
        gap: 8px !important;
        padding: 8px 12px !important;
        margin: 0 !important;
        border-radius: 0 !important;
        background-color: rgba(0, 0, 0, .92) !important;
        z-index: 260 !important;
        box-shadow: 0 8px 18px rgba(0, 0, 0, .35);
    }

    .contenedor-acceso,
    .contenedor-preconsulta {
        width: 100% !important;
        height: 66px !important;
        min-height: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 5px !important;
        padding: 0 !important;
        margin: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
    }

    .txt-acceso,
    .txt-preconsulta {
        margin: 0 !important;
        padding: 0 !important;
        font-size: 9px !important;
        line-height: 1.1 !important;
        font-weight: 500 !important;
        text-align: center !important;
        color: #fff !important;
        text-shadow: none !important;
        white-space: nowrap;
    }

    .btn-acceso,
    .btn-preconsulta {
        width: 100% !important;
        height: 40px !important;
        min-height: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
        padding: 0 8px !important;
        border-radius: 4px !important;
        font-size: 13px !important;
        line-height: 1 !important;
        background-color: #007b78 !important;
        border: 2px solid #fff !important;
        color: #fff !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    .explicacion-acceso,
    .explicacion-preconsulta,
    .contenedor-botones > div:last-child {
        display: none !important;
    }

    #inicio {
        min-height: 100svh;
        height: auto;
        padding-top: 164px;
        background-image: linear-gradient(rgba(0, 0, 0, .18), rgba(0, 0, 0, .34)), url(".//img/FONDO_LEGALIS_RESPONSIVE.jpg");
        background-position: center top;
        background-size: cover;
        animation: none;
    }

    .presentacion {
        width: 100%;
        min-height: calc(100svh - 164px);
        max-height: none;
        padding: 10px 16px 88px;
        display: block;
    }

    .contenedor-tranquilidadyhacemos {
        width: 100%;
        height: auto;
        max-height: none;
        margin: 0;
        padding: 0;
        display: block;
    }

    .tranquilidad {
        font-size: clamp(28px, 8vw, 35px);
        line-height: .95;
        letter-spacing: -.5px;
    }

    .linea1 {
        width: 78%;
        height: 2px;
        margin: 12px 0 10px;
    }

    .hacemos {
        font-size: clamp(19px, 5.8vw, 24px);
        line-height: 1.15;
    }

    .contenedor-comillayresena {
        width: 100%;
        height: auto;
        max-height: none;
        margin: 10px 0 0;
        padding: 0;
        display: grid;
        grid-template-columns: 46px 1fr;
        align-items: start;
        gap: 8px;
    }

    .comilla2 {
        width: 42px;
        margin: 0;
    }

    .resena {
        margin: 0;
        font-size: clamp(14px, 4.2vw, 18px);
        line-height: 1.25;
        font-weight: 700;
    }

    .ciceron {
        margin: 10px 22px 0 auto;
        width: fit-content;
        font-size: clamp(14px, 4vw, 18px);
        line-height: 1.2;
    }

    footer {
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        min-height: 22px !important;
        height: auto !important;
        z-index: 290 !important;
        padding: 3px 8px !important;
        background-color: #000 !important;
        color: #00c7c7 !important;
        text-align: center !important;
        font-size: 7px !important;
        line-height: 1.15 !important;
    }

    footer p {
        margin: 0 !important;
        padding: 0 !important;
    }

    #inicio-b,
    #sobrenosotros,
    #servicios,
    #contacto {
        min-height: auto;
        height: auto;
        padding-bottom: 34px;
    }

    #servicios {
        width: 100%;
        background-color: #d0cdcd;
        padding: 34px 12px 48px;
    }

    #servicios .contenedor-servicios {
        display: none !important;
    }

    #servicios .contenedor-servicios-responsive {
        display: block !important;
        width: 100% !important;
        max-width: 430px;
        margin: 0 auto !important;
        padding: 0 !important;
        background-color: transparent !important;
        text-align: center !important;
    }

    #servicios .contenedor-servicios-responsive .titulo-seccion {
        margin: 8px 0 24px !important;
        text-align: center !important;
        font-size: 20px !important;
        line-height: 1.2 !important;
        color: #111135 !important;
        text-decoration: none !important;
    }

    #servicios .contenedor-servicios-responsive .fila {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 18px 12px !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 0 18px !important;
        padding: 0 !important;
        align-items: start !important;
    }

    #servicios .contenedor-servicios-responsive .fila .servicio {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    #servicios .contenedor-servicios-responsive .fila .servicio .img-servicio {
        width: min(100%, 145px) !important;
        max-width: 145px !important;
        height: auto !important;
        object-fit: contain !important;
        transition: none !important;
    }

    #servicios .contenedor-servicios-responsive .fila:last-child .servicio:only-child {
        grid-column: 1 / 2;
    }
}

@media screen and (max-width: 380px) {
    .contenido-header {
        padding-left: 12px;
        padding-right: 12px;
        grid-template-columns: 1fr 48px 30px;
    }

    .logo {
        height: 50px;
        max-width: 155px;
    }

    .contenedor-botones {
        gap: 7px !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .btn-acceso,
    .btn-preconsulta {
        font-size: 12px !important;
    }

    #servicios .contenedor-servicios-responsive .fila .servicio .img-servicio {
        width: min(100%, 132px) !important;
    }
}
