
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    text-decoration:none;
    list-style:none;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#F5F3EE;
    color:#333;
    overflow-x:hidden;
}

img{
    width:100%;
    display:block;
}

button,
input,
select{
    font-family:'Poppins',sans-serif;
}

/*---------------Definicion de variables----------------*/

:root{
    --verde:#3A6B35;
    --verdeOscuro:#254b21;
    --verdeClaro:#5c8b56;
    --crema:#F5F3EE;
    --gris:#7b7b7b;
    --negro:#222;
    --blanco:#ffffff;
    --sombra:0 10px 30px rgba(0,0,0,.15);
    --radio:18px;
    --transicion:.35s;
}


/*---------------Header----------------*/

header{
    width:100%;
    background:#fff;
    position:fixed;
    top:0;
    left:0;
    z-index:999;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
}
.menu{
    display:flex;
    justify-content:space-between;
    align-items:center;
    height:90px;
}

/*---Logo-----*/

.logo{
    display:flex;
    align-items:center;
    gap:15px;
    margin-left: 40px;
}

.logo img{
    width:65px;
}

.logo h1{
    font-size:28px;
    color:var(--verde);
    font-weight:700;
}
/*------------Menu-----------*/

nav ul{
    display:flex;
    gap:40px;
    margin-right: 40px;
}
nav ul li a{
    color:#333;
    font-size:17px;
    font-weight:500;
    transition:.3s;
    position:relative;
}

nav ul li a:hover{
    color:var(--verde);
}

nav ul li a::after{
    content:"";
    width:0;
    height:3px;
    background:var(--verde);
    position:absolute;
    bottom:-8px;
    left:0;
    transition:.3s;
}

nav ul li a:hover::after{
    width:100%;
}

/*------Nosotros-------*/
.nosotros{
    width: 90%;
    max-width: 1600px;
    margin: 110px auto;
    margin-bottom: 20px;
    padding: 80px;
    background: rgba(255,255,255,.96);
    border-radius: 15px;
    line-height: 1.9;
    text-align: justify;
}

.nosotros h2{
    font-size: 32px;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nosotros h2:first-child{
    margin-top: 0;
}

.nosotros h2::after{
    content: "";
    display: block;
    width: 290px;
    height: 4px;
    background: var(--verde);
    margin: 10px auto;
    border-radius: 5px;
}

.nosotros p{
    font-size: 18px;
    color: #444;
    margin-bottom: 35px;
    text-align: justify;
    white-space: pre-line;
}
.contenido-lista{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:40px;
    margin:30px 0;
}

.contenido-lista ul{
    padding-left:80px;
}

.contenido-lista li{
    margin-bottom:15px;
    font-size:18px;
    line-height:1.6;
    color:#444;
}

.contenido{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 50px;
}

.contenido p{
    flex: 2;
    text-align: justify;
    margin-top: 40px;
    margin-bottom: 60px;
}

.contenido .imagen{
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.contenido .imagen img{
    width: 100%;
    max-width: 350px;
    height: 400px;
    margin-top: 20px;
    border-radius: 20px;
    box-shadow: var(--sombra);
}

.nosotros .equipo{
    width:100%;
    border-radius:20px;
    box-shadow:0 8px 20px rgba(0,0,0,.25);
}

@media(max-width:992px){

    .nosotros{
        width:95%;
        padding:30px;
    }

    .nosotros h2{
        font-size:28px;
    }

    .nosotros p{
        font-size:17px;
    }

}

@media(max-width:768px){

    .nosotros{
        padding:25px;
        margin:35px auto;
    }

    .nosotros h2{
        font-size:24px;
    }

    .nosotros p{
        font-size:16px;
        line-height:1.8;
    }

}

@media(max-width:480px){

    .nosotros{
        padding:20px;
    }

    .nosotros h2{
        font-size:21px;
    }

    .nosotros p{
        font-size:15px;
    }
}
/*-----------Servicios----*/

.servicios{
    background:#F5F3EE;
    padding:20px 0;
}

.servicios h2{
    text-align:center;
    color:var(--verde);
    font-size:38px;
    margin-bottom:60px;
}

.contenedor-servicios{
    width:90%;
    max-width:1200px;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:30px;
}

.servicio{
    background:#fff;
    padding:35px;
    border-radius:20px;
    text-align:center;
    box-shadow:var(--sombra);
    transition:.35s;
}

.servicio:hover{
    transform:translateY(-10px);
}

.servicio i{
    font-size:48px;
    color:var(--verde);
    margin-bottom:20px;
}

.servicio h3{
    font-size:22px;
    color:#333;
}

/*-----------fotter----*/

footer{
    background:#264525;
    color:#fff;
    margin-top:80px;
}

.footer{
    width:90%;
    max-width:1300px;
    margin:auto;
    padding:60px 0;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:40px;
}

.footer h3{
    font-size:30px;
    margin-bottom:15px;
}

.footer h4{
    margin-bottom:15px;
}

.footer p{
    color:#ddd;
    line-height:1.8;
}

.redes{
    display:flex;
    gap:15px;
    margin-top:20px;
}

.redes i{
    width:45px;
    height:45px;
    border-radius:50%;
    background:#fff;
    color:var(--verde);
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:20px;
    transition:.35s;
    cursor:pointer;
}

.redes i:hover{
    background:var(--verdeClaro);
    color:#fff;
}

.copyright{
    text-align:center;
    padding:20px;
    border-top:1px solid rgba(255,255,255,.2);
    font-size:14px;
}

/*-----------Regla de diseño responsivo a 992px----*/

@media(max-width:992px){
    .reserva{
        grid-template-columns:1fr;
    }
    .imagen img{
        height:380px;
    }
}
/*-----------Regla de diseño responsivo a 768px----*/
@media(max-width:768px){
    .detalle{
        padding:30px;
    }

    .servicios h2{
        font-size:30px;
    }
}
/*-----------Regla de diseño responsivo a 576px----*/
@media(max-width:576px){

    .detalle{
        padding:20px;
    }

    .detalle h2{
        font-size:26px;
    }

    .servicios{
        padding:60px 0;
    }

    .footer{
        text-align:center;
    }

    .redes{
        justify-content:center;
    }

}