body {
    margin: 0;
    font-family: Montserrat, sans-serif;
    background: #F5F3E7;
    color: #333;
}

/* ===== HEADER HOME ===== */
.header-home {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    background: #5E7C5A;
    color: white;
}

.navbar-home ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 25px;
}

.navbar-home a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 6px 10px;
    border-radius: 5px;
    transition: background 0.2s ease;
}

.navbar-home a:hover {
    background: #486948;
}


.logo { height: 75px; }

nav a {
    margin-left: 20px;
    color: white;
    text-decoration: none;
}

.hero {
    text-align: center;
    padding: 100px 25px;
    background: url('../img/portada.jpg') center/cover no-repeat;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.hero p {
    font-size: 1.7rem;
    font-weight: 600;
    margin-top: 10px;
    letter-spacing: 0.3px;
}

.bloques {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
}

.bloques div {
    background: #C5A27A;
    padding: 20px 30px;
    border-radius: 10px;
}

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

.portada {
    padding: 60px 20px;
    text-align: center;
    background: #5E7C5A;
    color: white;
}

.contenido {
    padding: 30px 20px;
    max-width: 900px;
    margin: auto;
}

footer {
    text-align: center;
    padding: 20px;
    background: #5E7C5A;
    color: white;
    margin-top: 40px;
}
/* ======== RESPONSIVE ======== */

@media (max-width: 850px) {
    header {
        flex-direction: column;
        text-align: center;
    }

    nav a {
        margin: 10px;
        display: inline-block;
    }

    .bloques {
        flex-direction: column;
        align-items: center;
    }

    .bloques div {
        width: 80%;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 60px 15px;
        text-shadow: 1px 1px 3px black;
    }

    .portada {
        padding: 40px 15px;
    }

    .contenido {
        padding: 20px 15px;
    }
}
/* ======== GRILLA DE PRODUCTOS ======== */

.grilla-productos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.producto {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.producto img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
}

.producto h3 {
    margin: 10px 0;
}

.boton {
    display: inline-block;
    padding: 10px 18px;
    background: #5E7C5A;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    margin-top: 10px;
}
