/* ==========================================================================
   CEVICHERÍA PUERTO AZUL - REGLAS RESPONSIVAS
   ========================================================================== */

/* --- TABLETS Y PANTALLAS MEDIANAS (Max 1024px) --- */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-features {
        justify-content: center;
    }

    .hero-card-preview {
        max-width: 550px;
        margin: 0 auto;
        width: 100%;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-images {
        max-width: 500px;
        margin: 0 auto;
    }

    .featured-card {
        grid-template-columns: 1fr;
        padding: 30px;
    }

    .reservation-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .location-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

/* --- SMARTPHONES & PANTALLAS PEQUEÑAS (Max 768px) --- */
@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }

    .top-bar-contact {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--navy-900);
        flex-direction: column;
        padding: 24px;
        gap: 18px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        display: none;
    }

    .nav-links.nav-open {
        display: flex;
        animation: slideDown 0.3s ease forwards;
    }

    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .nav-actions .btn {
        display: none;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .category-tab {
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .modal-dish-grid {
        grid-template-columns: 1fr;
        max-height: 85vh;
        overflow-y: auto;
    }

    .modal-dish-img-wrap {
        height: 240px;
        min-height: auto;
    }

    .modal-dish-info {
        padding: 24px 20px;
    }

    .reservation-card {
        padding: 24px 18px;
    }

    .reservation-form {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-floating-tag {
        bottom: -15px;
        left: 10px;
        padding: 10px 16px;
    }

    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
    }

    .btn-back-to-top {
        bottom: 82px;
        right: 24px;
        width: 38px;
        height: 38px;
    }
}

/* --- DISPOSITIVOS MUY PEQUEÑOS (Max 480px) --- */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }

    .dish-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .btn-whatsapp-dish {
        width: 100%;
        justify-content: center;
    }
}
