:root {
    --bg: #070b08;
    --dark-card: #111a14;
    --green-glow: #1f3a25;
    --gold: #ffca41;
    --text-light: #ffffff;
    --text-muted: #8fa095;
    --border: rgba(255, 202, 65, 0.15);
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Jost', sans-serif;
    background: var(--bg);
    color: var(--text-light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ── POPUP PUBLICIDAD / INSTAGRAM ── */
.promo-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 1;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.promo-popup {
    background: linear-gradient(135deg, #111a14 0%, #050805 100%);
    border: 1px solid var(--gold);
    padding: 35px 25px;
    border-radius: 24px;
    max-width: 450px;
    width: 100%;
    text-align: center;
    position: relative;
    box-shadow: 0 15px 50px rgba(255, 202, 65, 0.15);
    animation: popup-scale 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes popup-scale {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.promo-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.2s;
}

.promo-close:hover {
    color: #fff;
}

.promo-popup h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.promo-popup h2 span {
    color: var(--gold);
}

.promo-popup p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 25px;
}

.promo-btn {
    display: block;
    background: var(--gold);
    color: #000;
    padding: 14px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.85rem;
    box-shadow: 0 4px 15px rgba(255, 202, 65, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
    margin-bottom: 12px;
}

.promo-btn:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(255, 202, 65, 0.5);
}

.promo-skip {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.2s;
}

.promo-skip:hover {
    color: var(--gold);
}

.promo-popup {
    max-width: 430px;
    text-align: center;
}

.promo-logo {
    display: block;
    width: 140px;
    max-width: 45%;
    height: auto;
    margin: 0 auto 15px;
    border-radius: 12px;
}

.promo-popup h2 {
    margin-bottom: 12px;
}

.promo-popup p {
    margin-bottom: 12px;
    line-height: 1.5;
}

/* ── HERO ── */
.hero {
    position: relative;
    background: linear-gradient(rgba(7, 11, 8, 0.4), rgba(7, 11, 8, 0.95)),
        url('https://images.unsplash.com/photo-1558030006-450675393462?q=80&w=1600&auto=format&fit=crop') center/cover;
    min-height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 202, 65, .1) 0%, transparent 65%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    animation: orb-pulse 5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes orb-pulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: .7;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.25);
        opacity: 1;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2.6rem, 9vw, 5rem);
    letter-spacing: -0.04em;
    line-height: 0.95;
}

.hero p {
    font-size: clamp(1rem, 3vw, 1.3rem);
    margin-top: 10px;
    color: var(--gold);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 500;
    opacity: 0;
    transform: translateY(20px);
    animation: fade-up .9s cubic-bezier(.22, 1, .36, 1) .4s forwards;
}

.btn {
    display: inline-block;
    margin-top: 30px;
    background: var(--gold);
    color: #000;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.85rem;
    box-shadow: 0 4px 15px rgba(255, 202, 65, .3);
    opacity: 0;
    transform: translateY(20px);
    animation: fade-up .9s cubic-bezier(.22, 1, .36, 1) .6s forwards;
    transition: transform .2s, box-shadow .2s;
}

.btn:hover {
    transform: scale(1.06);
    box-shadow: 0 8px 28px rgba(255, 202, 65, .5);
}

@keyframes fade-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── DESTACADOS ── */
.destacados,
.menu {
    max-width: 1100px;
    margin: auto;
    padding: 40px 20px;
}

h2.section-title {
    font-family: 'Space Grotesk', sans-serif;
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 30px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 1;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.card {
    background: linear-gradient(135deg, var(--dark-card) 0%, #0a0f0b 100%);
    padding: 30px 22px;
    border-radius: 16px;
    border: 1px solid var(--border);
    opacity: 1;
    transform: translateY(0);
    transition: opacity .55s ease, transform .55s ease, border-color .25s, box-shadow .25s;
}

.card:hover {
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(255, 202, 65, .12);
    transform: translateY(-4px) !important;
}

.card .tag {
    color: var(--gold);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: block;
}

.card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ── SELECTOR STICKY ── */
.floor-selector {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(7, 11, 8, .88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.floor-inner {
    max-width: 1100px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 26px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 50px;
    background: rgba(255, 255, 255, .03);
    color: rgba(255, 255, 255, .6);
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    font-size: .9rem;
    cursor: pointer;
    transition: all .3s ease;
}

.tab-btn.active {
    color: #000;
    background: var(--gold);
    border-color: var(--gold);
    box-shadow: 0 4px 18px rgba(255, 202, 65, .35);
}

.tab-btn:hover:not(.active) {
    background: rgba(255, 202, 65, .08);
    color: rgba(255, 255, 255, .85);
}

.tab-btn:active {
    transform: scale(.96);
}

/* ── BUSCADOR ── */
.search {
    max-width: 600px;
    margin: 10px auto 35px;
}

.search input {
    width: 100%;
    padding: 16px 24px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 50px;
    font-family: 'Jost', sans-serif;
    font-size: 1rem;
    background: rgba(255, 255, 255, .04);
    color: #fff;
    transition: all .3s;
}

.search input::placeholder {
    color: var(--text-muted);
}

.search input:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255, 255, 255, .07);
    box-shadow: 0 0 0 3px rgba(255, 202, 65, .12);
}

/* ── FLOOR TAG ── */
.floor-tag {
    text-align: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
}

/* ── CATEGORÍAS ── */
.category {
    background: rgba(255, 255, 255, .02);
    border: 1px solid rgba(255, 255, 255, .04);
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 30px;
    opacity: 1;
    transform: translateY(0);
    transition: opacity .5s ease, transform .5s ease;
}

.category h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #fff;
    margin-bottom: 22px;
    border-left: 5px solid var(--gold);
    padding-left: 14px;
}

/* Badges */
.badge {
    display: inline-block;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 50px;
    margin-left: 8px;
    vertical-align: middle;
}

.badge-fuerte {
    background: rgba(220, 50, 50, .2);
    color: #ff6b6b;
    border: 1px solid rgba(220, 50, 50, .35);
}

.badge-cremoso {
    background: rgba(180, 120, 255, .2);
    color: #c89eff;
    border: 1px solid rgba(180, 120, 255, .35);
}

.badge-pecera {
    background: rgba(30, 160, 255, .2);
    color: #6ec6ff;
    border: 1px solid rgba(30, 160, 255, .35);
}

.badge-casa {
    background: rgba(255, 202, 65, .15);
    color: var(--gold);
    border: 1px solid rgba(255, 202, 65, .35);
}

.item {
    padding: 14px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
    border-radius: 8px;
    transition: background .18s;
}

.item:last-child {
    border-bottom: none;
}

.item:hover {
    background: rgba(255, 202, 65, .04);
}

.row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 15px;
    flex-wrap: wrap;
}

.name {
    font-weight: 700;
    font-size: 1.28rem;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: #fff;
}

.item:hover .name {
    color: var(--gold);
}

.price {
    color: var(--gold);
    font-weight: 700;
    font-size: 1.05rem;
    white-space: nowrap;
    font-family: 'Space Grotesk', sans-serif;
}

.desc {
    font-size: 0.97rem;
    line-height: 1.45;
    color: #a8b8ad;
    margin-top: 6px;
}

.empty {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
    font-size: 1.1rem;
}

#menuContainer {
    transition: opacity .22s ease;
}

#menuContainer.switching {
    opacity: 0;
}

/* ── WHATSAPP ── */
.whatsapp {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: #25D366;
    color: #fff;
    text-decoration: none;
    padding: 14px 22px;
    border-radius: 50px;
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    z-index: 200;
    box-shadow: 0 4px 20px rgba(37, 211, 102, .3);
    transition: transform .2s, box-shadow .2s;
    animation: bounce-in .8s cubic-bezier(.34, 1.56, .64, 1) 1.2s both;
}

.whatsapp:hover {
    transform: scale(1.06);
    box-shadow: 0 8px 28px rgba(37, 211, 102, .5);
}

@keyframes bounce-in {
    from {
        opacity: 0;
        transform: scale(.4) translateY(30px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* ── BOTÓN FLOTANTE GOOGLE MAPS ── */
.maps-float {
    position: fixed;
    left: 20px;
    bottom: 20px;
    background: #4285F4;
    color: #fff;
    text-decoration: none;
    padding: 14px 22px;
    border-radius: 50px;
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    z-index: 200;
    box-shadow: 0 4px 20px rgba(66, 133, 244, .3);
    transition: transform .2s, box-shadow .2s;
    animation: bounce-in .8s cubic-bezier(.34, 1.56, .64, 1) 1.2s both;
}

.maps-float:hover {
    transform: scale(1.06);
    box-shadow: 0 8px 28px rgba(66, 133, 244, .5);
}

/* ── FOOTER (Con espacio extra abajo para móviles) ── */
footer {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 50px 20px 140px 20px;
    /* Incrementado para dar espacio a los dos iconos redondos en móvil */
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

footer h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

footer p {
    color: var(--gold);
    font-size: .8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
}

/* ── RESPONSIVO: TRANSFORMACIÓN A ICONOS VERTICALES EN MÓVIL ── */
@media (max-width: 768px) {

    /* Mueve el mapa a la derecha, justo encima de WhatsApp */
    .maps-float {
        left: auto !important;
        right: 20px !important;
        bottom: 85px !important;
        /* Posición perfectamente calculada arriba del de WhatsApp */
        background: #4285F4 !important;
    }

    .whatsapp {
        right: 20px !important;
        bottom: 20px !important;
    }

    /* Convierte ambos elementos en botones circulares compactos */
    .whatsapp,
    .maps-float {
        width: 52px !important;
        height: 52px !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 50% !important;
        font-size: 1.3rem !important;
        /* Ajusta el tamaño del emoji centrado */
    }

    /* Esconde de forma limpia las letras de los botones en móvil */
    .btn-text {
        display: none !important;
    }

    /* Regresa el footer a su padding normal en PC si la pantalla es grande */
    footer {
        padding-bottom: 140px !important;
    }
}