:root {
    --verde: #27ae60;
    --azul: #0a2540;
    --azul-claro: #3498db;
    --amarillo: #f1c40f;
    --fondo: #f9fafb;
    --texto: #222;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: var(--fondo);
    color: var(--texto);
}

/* HEADER */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: var(--azul);
    color: white;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 70px;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.3));
}

.logo span {
    font-weight: 600;
    font-size: 0.9rem;
}

nav a {
    margin: 0 10px;
    color: white;
    text-decoration: none;
}

/* HERO */
.hero {
    height: 90vh;
    background: linear-gradient(rgba(10,37,64,0.7), rgba(39,174,96,0.5)),
    url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero h1 {
    font-size: 2.5em;
}

.hero-buttons {
    margin-top: 20px;
}

.btn {
    padding: 12px 20px;
    border-radius: 5px;
    text-decoration: none;
    margin: 5px;
}

.primary {
    background: var(--verde);
    color: white;
}

.secondary {
    border: 1px solid white;
    color: white;
}

/* GALERÍA */
.gallery {
    padding: 60px 20px;
    text-align: center;
}

.slider {
    position: relative;
    max-width: 800px;
    margin: auto;
}

.slides img {
    width: 100%;
    display: none;
    border-radius: 10px;
}

.slides img.active {
    display: block;
}

/* BOTONES GALERÍA */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
}

.prev { left: 10px; }
.next { right: 10px; }

/* IMPACTO */
.impact {
    background: var(--azul);
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.impact-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.impact h3 {
    color: var(--amarillo);
}

/* PROCESO */
.process {
    padding: 60px 20px;
    text-align: center;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.step {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: left;
}

.step span {
    font-weight: bold;
    color: var(--verde);
}

/* CTA */
.cta {
    background: linear-gradient(135deg, var(--verde), var(--azul-claro));
    color: white;
    text-align: center;
    padding: 60px 20px;
}

/* MAPA */
#map {
    height: 400px;
    width: 100%;
}

/* FOOTER */
footer {
    background: #111;
    color: white;
    text-align: center;
    padding: 20px;
}

/* WHATSAPP */
.whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    padding: 15px;
    border-radius: 50%;
}

/* RESPONSIVE */
@media(max-width:768px) {

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

    nav {
        display: none;
        flex-direction: column;
        background: var(--azul);
        position: absolute;
        top: 60px;
        right: 0;
        width: 200px;
    }

    nav.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
        color: white;
        cursor: pointer;
    }

    .hero h1 {
        font-size: 2em;
    }
}