/* =========================================================
   MOBILE FIX - ÓPTICA MIRA
   Solo menú hamburguesa y botón flotante. No toca el hero.
========================================================= */

@media (max-width: 820px) {

    .desktop-nav {
        display: none !important;
    }

    .menu-toggle {
        display: flex !important;
        width: 46px;
        height: 46px;
        border-radius: 15px;
        border: 1px solid var(--line);
        background: rgba(255, 250, 241, .9);
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        z-index: 200;
    }

    .menu-toggle span {
        width: 21px;
        height: 2px;
        background: var(--coffee);
        display: block;
        border-radius: 99px;
        transition: transform .25s ease, opacity .25s ease;
    }

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

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

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

    .site-navbar {
        position: sticky;
        top: 0;
        z-index: 300;
    }

    .nav-shell {
        position: relative;
    }

    .mobile-panel {
        display: none;
        position: absolute;
        top: 100%;
        left: 12px;
        right: 12px;
        z-index: 150;
        padding: 12px;
        border-radius: 22px;
        background: rgba(255, 250, 241, .98);
        border: 1px solid rgba(196, 146, 47, .22);
        box-shadow: 0 24px 60px rgba(77, 48, 24, .16);
    }

    .mobile-panel.open {
        display: block !important;
    }

    .mobile-panel a {
        display: block;
        padding: 15px 16px;
        border-radius: 16px;
        color: var(--coffee);
        font-weight: 900;
        border-bottom: 1px solid rgba(128, 91, 44, .12);
    }

    .mobile-panel a:last-child {
        border-bottom: 0;
    }

    .mobile-panel a.active,
    .mobile-panel a:hover {
        background: linear-gradient(135deg, var(--gold), var(--gold-2));
        color: #25170e;
    }
}

/* WhatsApp flotante: no molesta en teléfono porque ya existe botón en navbar y hero */
@media (max-width: 820px) {
    .floating-whatsapp {
        display: none !important;
    }
}

@media (min-width: 821px) {
    .floating-whatsapp {
        background: linear-gradient(135deg, var(--gold), var(--gold-2)) !important;
        color: #25170e !important;
        border: 1px solid rgba(196, 146, 47, .35) !important;
        box-shadow: 0 18px 38px rgba(77, 48, 24, .20) !important;
    }
}
