p{
    font-family: "Inter", sans-serif;
}
h1, h2, h3, h4{
    font-family: "Montserrat", sans-serif;
}
body{
    margin-top: 9rem;
}
.wrappertop{
    position: fixed;
    top:0;
    left:0;
    right:0;
    z-index:9999;
}

.container{
    width:min(90%,1200px);
    margin:auto;
}

.menu-toggle{
    display:none;
    background:none;
    border:none;
    font-size:2.6rem;
    cursor:pointer;
    color:#141319;
}
.navbarmio{

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;

    height: 6rem;
    padding: 0 40px;
    background-color: #FAF8F8;
}

.logo{
    justify-self: start;
}

.logo img{
    height: clamp(15px, 6vw, 40px);
}

.nav-links{
    display: flex;
    gap: 40px;
    text-transform: uppercase;
    list-style: none;
    margin: 0;
    padding: 0;

    justify-self: center;
}

.nav-links a{
    text-decoration: none;
    color: black;
}
.nav-links a.active{
    font-weight: 800;
} 

li:hover{
    font-weight: 500;
}

.top-bar{
    background: white;
    border-bottom: 1px solid #ddd;
    height: 3rem;

    display: flex;
    justify-content: center;
}

.top-bar-content{
    width: min(95%, 1200px);
 
    
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1.5rem;
}

.social{
    display: flex;
    gap: .8rem;
}

.social a,
.contact-item{
    color: #777;
    text-decoration: none;
    font-size: 1.2rem;

    display: flex;
    align-items: center;
    gap: .4rem;

    transition: .2s;
}

.social a:hover,
.contact-item:hover{
    color: #000;
}
/*--------BREADCRUMB-----------*/
.breadcrumb{
    width: min(90%, 1200px);
    margin: 2rem auto;
    background-color: #FFF;
    display: flex;
    align-items: center;
    gap: .6rem;

    font-family: "Inter", sans-serif;
    font-size: 1.5rem;
}

.breadcrumb a{
    color: #777;
    text-decoration: none;
    transition: .2s;
}

.breadcrumb a:hover{
    color: #4A88D9;
}

.breadcrumb .separator{
    color: #bbb;
}

.breadcrumb .current{
    color: #141319;
    font-weight: 600;
}
/*-----CONT GENERAL------*/
.nosotros{

    padding:3rem 0 5rem;

}

.nosotros h1{

    font-size:4.2rem;

    font-weight:700;

    margin-bottom:3rem;

}

/*-----PRIMERA FILA-----*/
.historia{

    display:grid;

    grid-template-columns:1.5fr .85fr;

    gap:3rem;

    align-items:start;

}
/*---------TEXTO---------*/
.texto{

    display:flex;

    flex-direction:column;

    gap:2rem;

}

.texto p{

    font-size:1.8rem;

    line-height:1.55;

    text-align:justify;

}
/*--------DOS IMAGENES VERTICALES------------*/
.imagenes-superiores{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:1rem;

}

.imagenes-superiores img{

    width:100%;

    height:100%;

    object-fit:cover;

    display:block;

}
/*-----------------SEGUNDA FILA----------------*/
.imagenes-inferiores{

    display:grid;

    grid-template-columns:2fr 1fr;

    gap:2rem;

    margin-top:4rem;

}
/*IMAGEN GRANDE*/
.img-grande{

    width:100%;

    display:block;

}
/*-------COLUMNA DERECHA---------*/
.lado{

    display:flex;

    flex-direction:column;

}

.lado img{

    width:100%;

    display:block;

}

.lado p{

    margin-top:.8rem;

    color:#666;

}
/*-------TEXTO INFERIOR---------*/
.texto-final{

    margin:4rem 0;

}

.texto-final p{

    font-size:1.8rem;

    margin-bottom:1.5rem;

}
/*------MAPA--------*/
.mapa{

    display:flex;

    justify-content:center;

}

.mapa iframe{

    width:700px;

    max-width:100%;

    height:350px;

    border:0;

}
/*------REDES-----*/
.rrss{

    margin-top:5rem;

    text-align:center;

}

.rrss p{

    font-size:2rem;

    max-width:900px;

    margin:auto auto 2rem;

}

.iconos{

    display:flex;

    justify-content:center;

    gap:2rem;

}

.iconos a{

    font-size:5rem;

    color:#111;

    transition:.25s;

}

.iconos a:hover{

    color:#4A88D9;

}
/*RESPONSIVE*/
@media (max-width:900px){

    .historia{

        grid-template-columns:1fr;

    }

    .imagenes-inferiores{

        grid-template-columns:1fr;

    }

}

/*--------------FOOTER----------------*/
.footer{
    background: #2B2B2B;
    color: white;
    padding: 5rem 0;
}
.footer-content{
    width:min(90%,1200px);

    margin:auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;

    align-items: start;
}
.footer-links h3{
    font-size: 2rem;
    margin-bottom: 2rem;
}

.footer-links ul{
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li{
    margin-bottom: .8rem;
}

.footer-links a{
    color: white;
    text-decoration: none;
    transition: .2s;
}

.footer-links a:hover{
    color: #4A88D9;
}
/* */
.footer-contact{
    text-align: right;
}

.footer-contact h3{
    font-size: 2rem;
    margin-bottom: 2rem;
}

.footer-contact p{
    margin-bottom: 1rem;
    line-height: 1.6;
}

.footer-contact a{
    color: white;
    text-decoration: none;
}

.footer-contact a:hover{
    color: #4A88D9;
}
@media (max-width: 768px){

    .footer-content{
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-contact{
        text-align: center;
    }

}
/*----------------------------------------*/
/*--------------WSP FLOTANTE-----------------*/
.whatsapp-float{
    position: fixed;
    bottom: 30px;
    right: 30px;

    width: 64px;
    height: 64px;

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

    background: #25D366;
    color: white;

    border-radius: 50%;
    text-decoration: none;

    font-size: 34px;

    box-shadow: 0 8px 25px rgba(0,0,0,.25);

    z-index: 9999;

    transition: .25s ease;
}

.whatsapp-float:hover{
    background: #20ba5a;
    color: white;
    transform: scale(1.08);
    text-decoration: none;
}
.whatsapp-float{
    animation: pulse 2.5s infinite;
}

@keyframes pulse{

    0%{
        box-shadow: 0 0 0 0 rgba(37,211,102,.5);
    }

    70%{
        box-shadow: 0 0 0 16px rgba(37,211,102,0);
    }

    100%{
        box-shadow: 0 0 0 0 rgba(37,211,102,0);
    }

}
.whatsapp-float{
    overflow: visible;
}

.whatsapp-float span{

    position: absolute;
    right: 78px;

    white-space: nowrap;

    background: white;
    color: #141319;

    padding: .8rem 1.2rem;

    border-radius: 30px;

    font-family: "Inter", sans-serif;
    font-size: 1.4rem;

    opacity: 0;
    transform: translateX(10px);

    transition: .25s;

    pointer-events: none;

    box-shadow: 0 5px 18px rgba(0,0,0,.15);
}

.whatsapp-float:hover span{
    opacity: 1;
    transform: translateX(0);
}
/*-----------------------------------------------------*/

/*FOOTER */
.footer{
    background: #2B2B2B;
    color: white;
    padding: 5rem 0;
}
.footer-content{
    width:min(90%,1200px);

    margin:auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;

    align-items: start;
}
.footer-links h3{
    font-size: 2rem;
    margin-bottom: 2rem;
}

.footer-links ul{
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li{
    margin-bottom: .8rem;
}

.footer-links a{
    color: white;
    text-decoration: none;
    transition: .2s;
}

.footer-links a:hover{
    color: #4A88D9;
}
/* */
.footer-contact{
    text-align: right;
}

.footer-contact h3{
    font-size: 2rem;
    margin-bottom: 2rem;
}

.footer-contact p{
    margin-bottom: 1rem;
    line-height: 1.6;
}

.footer-contact a{
    color: white;
    text-decoration: none;
}

.footer-contact a:hover{
    color: #4A88D9;
}
@media (max-width: 768px){

    .footer-content{
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-contact{
        text-align: center;
    }}
/*------------------------------*/
@media (max-width:768px){

    .navbarmio{

        display:flex;
        justify-content:space-between;
        align-items:center;

        position:relative;

        padding:0 20px;

    }

    .menu-toggle{
        display:block;
    }

    .nav-links{

        position:absolute;

        top:100%;
        left:0;
        width:100%;

        display:flex;
        flex-direction:column;

        background:#FAF8F8;

        gap:0;

        max-height:0;
        overflow:hidden;

        transition:.3s;

        box-shadow:0 8px 20px rgba(0,0,0,.08);

    }

    .nav-links li{
        width:100%;
    }

    .nav-links a{

        display:block;

        padding:18px 25px;

    }

    .nav-links.open{
        max-height:400px;
    }

}