.header {
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.header.hidden {
    transform: translateY(-100%);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2e7d32;
}

.logo img {
    height: 75px;
    width: auto;
    display: block;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #2e7d32;
}

/* Indicador de página actual (subrayado sutil) */
.nav-links a.nav-current {
    color: #2e7d32;
    border-bottom: 2px solid #2e7d32;
    padding-bottom: 2px;
}

.nav-links a.nav-current:hover {
    color: #2e7d32;
}

.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

/* RESPONSIVE HEADER */
@media (max-width: 768px) {
    body {
        padding-top: 185px;
    }

    .header {
        position: fixed;
        top: 0;
        width: 100%;
        left: 0;
        right: 0;
        z-index: 1000;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        right: 0;
        background: white;
        width: 100%;
        flex-direction: column;
        text-align: center;
        padding: 20px 0;
        display: none;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
        animation: fadeDown 0.3s ease;
    }

    .nav {
        position: relative;
    }
}

@media (max-width: 600px) {
    .nav {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .hero {
        height: 70vh;
    }

    .hero-content h2 {
        font-size: 1.8rem;
    }
}