/* ===== CONFIGURACIÓN GENERAL ===== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Open Sans',sans-serif;
    color:#333;
    background:#f8f8f8;
    line-height:1.6;
}

/* ===== MENÚ ===== */

header{
    position:fixed;
    width:100%;
    top:0;
    left:0;
    background:#1E5631;
    z-index:1000;
    box-shadow:0 2px 10px rgba(0,0,0,.2);
}

.navbar{

    max-width:1200px;

    margin:auto;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:15px 30px;

}

.logo img{

    height:70px;

}

.menu{

    display:flex;

    list-style:none;

    gap:25px;

}

.menu a{

    color:white;

    text-decoration:none;

    font-weight:600;

    transition:.3s;

}

.menu a:hover{

    color:#D4A017;

}

/* ===== PORTADA ===== */

.hero{

    position:relative;

    height:100vh;

    overflow:hidden;

}

.hero-img{

    width:100%;

    height:100%;

    object-fit:cover;

    filter:brightness(45%);

}

.hero-texto{

    position:absolute;

    top:50%;

    left:50%;

    transform:translate(-50%,-50%);

    text-align:center;

    color:white;

    width:85%;

}

.hero-texto h1{

    font-family:'Poppins',sans-serif;

    font-size:55px;

    margin-bottom:20px;

}

.hero-texto p{

    font-size:22px;

    margin-bottom:35px;

}

.boton{

    display:inline-block;

    background:#D4A017;

    color:white;

    padding:15px 35px;

    border-radius:50px;

    text-decoration:none;

    font-weight:bold;

    transition:.3s;

}

.boton:hover{

    background:#b8860b;

}

/* ===== SECCIONES ===== */

.contenedor{

    max-width:1200px;

    margin:100px auto;

    display:flex;

    align-items:center;

    gap:50px;

    padding:0 30px;

}

.inverso{

    flex-direction:row-reverse;

}

.texto{

    flex:1;

}

.texto h2{

    font-family:'Poppins';

    color:#1E5631;

    margin-bottom:20px;

    font-size:38px;

}

.texto p{

    font-size:18px;

    text-align:justify;

}

.imagen{

    flex:1;

}

.imagen img{

    width:100%;

    border-radius:15px;

    box-shadow:0 10px 30px rgba(0,0,0,.25);

}

/* ===== RESPONSIVE ===== */

@media(max-width:900px){

.navbar{

flex-direction:column;

}

.menu{

flex-wrap:wrap;

justify-content:center;

margin-top:15px;

}

.hero-texto h1{

font-size:38px;

}

.hero-texto p{

font-size:18px;

}

.contenedor{

flex-direction:column;

}

.inverso{

flex-direction:column;

}

}