*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: Arial, sans-serif;
    background: #f4f7f2;
    color: #222;
    line-height: 1.6;
}

.contenedor{
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.encabezado{
    background: #1f5c2e;
    color: white;
    padding: 18px 0;
}

.encabezado .contenedor{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.encabezado h1{
    font-size: 1.8rem;
}

.encabezado nav{
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.encabezado nav a{
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.hero{
    background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)), url("barrancabonitaog.png");
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 90px 20px;
}

.hero-contenido{
    max-width: 800px;
    margin: 0 auto;
}

.hero h2{
    font-size: 2rem;
    margin-bottom: 15px;
}

.hero p{
    font-size: 1.05rem;
}

.seccion{
    background: white;
    margin: 30px 0;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.seccion h2{
    color: #1f5c2e;
    margin-bottom: 15px;
}

.seccion p{
    margin-bottom: 12px;
}

.final{
    text-align: center;
}

.boton{
    display: inline-block;
    margin-top: 18px;
    background: #2f7d32;
    color: white;
    text-decoration: none;
    padding: 12px 22px;
    border-radius: 8px;
    font-weight: bold;
}

.boton:hover{
    background: #245f27;
}

.pie{
    background: #1f5c2e;
    color: white;
    text-align: center;
    padding: 16px;
    margin-top: 30px;
}

/* SECCIÓN RECUERDO */
.recuerdo{
    padding: 0;
    overflow: hidden;
}

.recuerdo-contenedor{
    display: flex;
    align-items: stretch;
    min-height: 380px;
}

.recuerdo-img{
    flex: 1;
}

.recuerdo-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.recuerdo-texto{
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.recuerdo-texto h2{
    color: #1f5c2e;
    margin-bottom: 15px;
}

.recuerdo-texto p{
    margin-bottom: 12px;
}

@media (max-width: 768px){
    .encabezado .contenedor{
        flex-direction: column;
        gap: 12px;
    }

    .encabezado nav{
        justify-content: center;
    }

    .recuerdo-contenedor{
        flex-direction: column;
    }

    .recuerdo-img{
        height: 260px;
    }

    .recuerdo-texto{
        padding: 25px;
    }
}