/* ==== VARIABLES EDITABLES ==== */
:root {
    --color-principal: #4a7c59;
    --color-secundario: #f2efe9;
    --color-texto: #333;
    --color-blanco: #fff;
    --color-negro: #000;
    --max-width: 1100px;
    --fuente: "Arial", sans-serif;
}

/* === ESTILOS GENERALES === */
body {
    margin: 0;
    font-family: var(--fuente);
    background: var(--color-secundario);
    color: var(--color-texto);
}

h1, h2 {
    margin: 0;
}

/* === HEADER === */
header {
    background: var(--color-principal);
    color: var(--color-blanco);
    padding: 20px;
    text-align: center;
}

header .logo {
    font-size: 1.8em;
    font-weight: bold;
}

nav a {
    color: var(--color-blanco);
    text-decoration: none;
    margin: 0 12px;
    font-weight: bold;
}

nav a:hover {
    text-decoration: underline;
}

/* === HERO === */
.hero {
    text-align: center;
    padding: 120px 20px;
    background: linear-gradient(#ffffff, #e7e5dc);
}

.hero h2 {
    font-size: 2.5em;
}

.hero p {
    font-size: 1.2em;
    margin: 10px 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    background: var(--color-principal);
    color: var(--color-blanco);
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
}

.btn:hover {
    background: #3a6046;
}

/* === SECCIONES === */
.bloque {
    max-width: var(--max-width);
    margin: 50px auto;
    padding: 20px;
    text-align: center;
}

/* === GALERÍA === */
.galeria {
    padding: 40px 20px;
    text-align: center;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    max-width: var(--max-width);
    margin: auto;
}

.grid img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* === FOOTER === */
footer {
    text-align: center;
    background: var(--color-principal);
    color: var(--color-blanco);
    padding: 15px;
    margin-top: 40px;
}
