/* ============================================
   MENÚ HAMBURGUESA (oculto en escritorio)
   ============================================ */
.navbar-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1100;
}

.navbar-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    margin: 5px 0;
    background: var(--white, #fff);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.navbar-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.navbar-toggle.active span:nth-child(2) {
    opacity: 0;
}

.navbar-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ============================================
   RESPONSIVE: TABLET Y CELULAR
   ============================================ */
@media (max-width: 900px) {

    .navbar-toggle {
        display: block;
    }

    .navbar-container {
        padding: 0 1.25rem;
    }

    .navbar-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(6, 26, 35, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .navbar-links.open {
        max-height: 500px;
        padding: 0.5rem 0;
    }

    .navbar-links a {
        width: 100%;
        padding: 14px 1.5rem;
        box-sizing: border-box;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .top-navbar.transparent {
        background: rgba(6, 26, 35, 0.95);
        backdrop-filter: blur(10px);
    }

    .hero h1,
    .hero-content h1 {
        font-size: 2.2rem !important;
    }

    .hero,
    .hero-talleres,
    .hero-eventos,
    .hero-radio,
    .hero-conocenos,
    .hero-proyectos {
        height: auto !important;
        min-height: 320px !important;
        padding-top: 110px;
        padding-bottom: 2rem;
    }

    .card-grid {
        grid-template-columns: 1fr !important;
    }

    .featured-event {
        flex-direction: column;
    }

    .featured-img {
        min-height: 220px !important;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        text-align: left;
        gap: 2.5rem;
    }

    .search-container {
        padding: 0 1rem;
    }

    .filters-container {
        flex-direction: column;
        align-items: stretch !important;
    }

    section.section {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (max-width: 480px) {
    .hero h1, .hero-content h1 {
        font-size: 1.8rem !important;
    }

    .radio-player-card {
        max-width: 100% !important;
        margin-left: 1rem !important;
        margin-right: 1rem !important;
    }
}
