:root {
    --fire: #d84315;
    --ember: #ff9800;
    --gold: #f5c16c;
    --coal: #0b0b0b;
    --smoke: #151515;
    --text: #f5f5f5;
    --muted: #bdbdbd;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background: radial-gradient(circle at top, #1a1a1a, #000);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none
}

img {
    max-width: 100%;
    display: block
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 1.5rem
}

section {
    padding: 5rem 0
}

h2 {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    color: var(--fire);
    margin-bottom: 1.75rem;
    text-shadow: 0 0 16px rgba(216, 67, 21, .35);
}

/* HERO */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.25rem;
    text-align: center;
    background:
        linear-gradient(rgba(0, 0, 0, .72), rgba(0, 0, 0, .92)),
        url("../img/hero-plato.jpg") center/cover no-repeat;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../img/hero-ahumador.jpg") center/cover no-repeat;
    opacity: .16;
    mix-blend-mode: screen;
    z-index: 0;
}

/* humo suave */
.smoke {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.smoke span {
    position: absolute;
    bottom: -140px;
    width: 460px;
    height: 460px;
    background: radial-gradient(circle, rgba(255, 255, 255, .10), rgba(255, 255, 255, 0) 60%);
    filter: blur(12px);
    opacity: .55;
    animation: smokeUp 12s linear infinite;
}

.smoke span:nth-child(1) {
    left: -100px;
    animation-duration: 13s;
    animation-delay: -2s
}

.smoke span:nth-child(2) {
    left: 22%;
    animation-duration: 15s;
    animation-delay: -6s;
    transform: scale(1.25)
}

.smoke span:nth-child(3) {
    left: 58%;
    animation-duration: 14s;
    animation-delay: -9s;
    transform: scale(1.15)
}

.smoke span:nth-child(4) {
    left: 83%;
    animation-duration: 16s;
    animation-delay: -4s;
    transform: scale(1.35)
}

@keyframes smokeUp {
    0% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: .0;
    }

    12% {
        opacity: .55;
    }

    70% {
        opacity: .25;
    }

    100% {
        transform: translateY(-120vh) translateX(90px) scale(1.8);
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 920px;
    animation: fadeUp 1.05s ease forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(26px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

/* LOGO MÁS GRANDE */
.logo {
    width: min(520px, 92vw);
    margin: 0 auto 1rem;
    filter: drop-shadow(0 0 28px rgba(255, 120, 0, .55));
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    letter-spacing: 5px;
    color: var(--fire);
}

.hero p {
    margin: 1rem auto 2.25rem;
    font-size: clamp(1.05rem, 2.4vw, 1.45rem);
    color: var(--gold);
    max-width: 760px;
}

.hero-ctas {
    display: flex;
    gap: .9rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Botones */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    border-radius: 999px;
    padding: 16px 28px;
    font-weight: 900;
    letter-spacing: .6px;
    transition: .25s ease;
    user-select: none;
    cursor: pointer;
    border: none;
}

.btn.primary {
    color: #fff;
    background: linear-gradient(45deg, var(--fire), var(--ember));
    box-shadow: 0 0 26px rgba(255, 87, 34, .55);
}

.btn.primary:hover {
    transform: scale(1.05)
}

.btn.secondary {
    color: var(--gold);
    background: rgba(0, 0, 0, .18);
    border: 2px solid rgba(255, 152, 0, .55);
    box-shadow: 0 0 22px rgba(255, 152, 0, .12);
}

.btn.secondary:hover {
    transform: scale(1.04);
    background: rgba(255, 152, 0, .12);
}

/* INFO */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.card {
    background: linear-gradient(180deg, #151515, #0b0b0b);
    border: 1px solid #222;
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 14px 46px rgba(0, 0, 0, .6);
}

.card h3 {
    color: var(--ember);
    margin-bottom: .75rem;
    font-size: 1.2rem;
}

.card p {
    color: #e9e9e9
}

.badge {
    display: inline-block;
    padding: .35rem .7rem;
    border-radius: 999px;
    border: 1px solid rgba(245, 193, 108, .35);
    color: var(--gold);
    font-weight: 900;
    font-size: .9rem;
    margin-bottom: .85rem;
}

/* UBICACIÓN CON MAPA DE FONDO */
.mapCard {
    display: block;
    border-radius: 18px;
    padding: 2.8rem 1.7rem;
    background:
        linear-gradient(rgba(0, 0, 0, .55), rgba(0, 0, 0, .88)),
        url("../img/mapa.JPG") center/cover no-repeat;
    border: 1px solid rgba(255, 255, 255, .10);
    transition: .25s ease;
    cursor: pointer;
    text-align: center;
}

.mapCard:hover {
    transform: scale(1.02)
}

.mapCard .big {
    font-size: 1.2rem;
    color: var(--gold);
    font-weight: 900;
}

.mapCard .small {
    color: rgba(255, 255, 255, .82);
    margin-top: .35rem
}

/* CARRUSEL */
.carousel {
    margin-top: 2.2rem;
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .10);
    box-shadow: 0 24px 40px rgba(0, 0, 0, .55);
}

.carouselTrack {
    display: flex;
    transition: transform .45s ease
}

.slide {
    min-width: 100%;
    height: 320px;
    background: center/cover no-repeat;
    position: relative;
}

.slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 0, 0, .20), rgba(0, 0, 0, .82));
}

.carouselBtn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(0, 0, 0, .35);
    color: var(--gold);
    font-weight: 900;
    font-size: 18px;
    cursor: pointer;
    z-index: 3;
}

.carouselBtn:hover {
    background: rgba(255, 152, 0, .18)
}

.carouselBtn.prev {
    left: 14px
}

.carouselBtn.next {
    right: 14px
}

.dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 12px;
    display: flex;
    gap: 8px;
    justify-content: center;
    z-index: 3;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .25);
    border: 1px solid rgba(255, 255, 255, .18);
    cursor: pointer;
}

.dot.active {
    background: rgba(245, 193, 108, .95)
}

/* GALERÍA */
.gallery {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 12px;
}

.gItem {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .10);
    box-shadow: 0 10px 36px rgba(0, 0, 0, .55);
    cursor: pointer;
    background: #000;
}

.gItem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: .25s ease;
}

.gItem:hover img {
    transform: scale(1.08)
}

.g1 {
    grid-column: span 7;
    height: 260px
}

.g2 {
    grid-column: span 5;
    height: 260px
}

.g3 {
    grid-column: span 4;
    height: 220px
}

.g4 {
    grid-column: span 4;
    height: 220px
}

.g5 {
    grid-column: span 4;
    height: 220px
}

.g6 {
    grid-column: span 12;
    height: 280px
}

@media(max-width:800px) {

    .g1,
    .g2,
    .g3,
    .g4,
    .g5,
    .g6 {
        grid-column: span 12;
        height: 220px
    }

    .slide {
        height: 260px
    }
}

/* MENÚ MODAL */
#menuPanel {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 200;
    background: rgba(0, 0, 0, .86);
    backdrop-filter: blur(8px);
}

#menuPanel.active {
    display: flex
}

.menuBox {
    width: min(1000px, 100%);
    max-height: 92vh;
    overflow: auto;

    /* scroll más visible */
    scrollbar-width: thin;
    scrollbar-color: rgba(245, 193, 108, .55) rgba(255, 255, 255, .06);

    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, .1);
    background: linear-gradient(180deg, #151515, #060606);
    box-shadow: 0 0 70px rgba(0, 0, 0, .85);
    padding: 2.2rem 1.25rem 1.4rem;
}

@media(max-width:480px) {
    .menuBox {
        padding: 1.25rem 1rem 1rem
    }

    /* Más compacto en móvil */
}

.menuBox::-webkit-scrollbar {
    width: 10px
}

.menuBox::-webkit-scrollbar-thumb {
    background: rgba(245, 193, 108, .45);
    border-radius: 999px
}

.menuBox::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, .06)
}

.menuTop {
    position: sticky;
    top: 0;
    z-index: 10;
    /* Sticky Header */
    background: rgba(21, 21, 21, .95);
    /* Fondo para que no se mezcle */
    margin: -1rem -1rem 1rem -1rem;
    /* Compensar padding del padre para ser full width */
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

@media(max-width:480px) {
    .menuTop {
        padding: 1rem
    }
}

.menuTop .title {
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--gold)
}

.menuActions {
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
    padding: 0 1rem 1rem;
}

.actionBtn {
    border: none;
    cursor: pointer;
    font-weight: 900;
    border-radius: 999px;
    padding: .55rem .9rem;
    color: var(--gold);
    background: rgba(255, 152, 0, .10);
    border: 1px solid rgba(255, 152, 0, .25);
    transition: .2s ease;
}

.actionBtn:hover {
    background: rgba(255, 152, 0, .18);
    transform: translateY(-1px)
}

.closeBtn {
    border: none;
    background: rgba(255, 152, 0, .20);
    /* Más visible */
    color: var(--gold);
    border: 1px solid rgba(255, 152, 0, .45);
    padding: .7rem 1.1rem;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 900;
    font-size: 1rem;
}

.closeBtn:hover {
    background: rgba(255, 152, 0, .22)
}

.search {
    width: 100%;
    padding: 0 1rem 1rem
}

.search input {
    width: 100%;
    padding: 14px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: #0b0b0b;
    color: #fff;
    outline: none;
    font-size: 1rem;
}

.search input::placeholder {
    color: rgba(255, 255, 255, .55)
}

.menuWrap {
    padding: 0 1rem 1.2rem
}

.menuCategory {
    margin-bottom: 1rem;
    /* Menos espacio entre categorías */
    border-radius: 16px;
    background: linear-gradient(180deg, #101010, #080808);
    border: 1px solid rgba(255, 255, 255, .07);
    overflow: hidden;
}

.catHeader {
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    user-select: none;
}

.catHeader h3 {
    color: var(--ember);
    font-size: 1.1rem
}

.catHeader .hint {
    color: rgba(245, 193, 108, .8);
    font-weight: 900;
    font-size: .9rem
}

.catBody {
    padding: 0 1rem 1rem;
    display: none
}

.menuCategory.open .catBody {
    display: block
}

.menuItem {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .65rem 0;
    /* Menos padding vertical */
    border-bottom: 1px dashed rgba(255, 255, 255, .14);
}

.menuItem:last-child {
    border-bottom: none
}

.menuItem strong {
    color: #fff
}

.menuItem small {
    display: block;
    color: rgba(255, 255, 255, .7);
    margin-top: .15rem
}

@media(max-width:480px) {
    .menuItem small {
        font-size: .85rem;
        line-height: 1.3
    }
}

.price {
    color: var(--gold);
    font-weight: 900;
    white-space: nowrap
}

.menuFooter {
    padding: 0 1rem 1.2rem;
    color: rgba(255, 255, 255, .65);
    font-size: .95rem
}

/* LIGHTBOX */
#lightbox {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .92);
    z-index: 300;
    padding: 1rem;
}

#lightbox.active {
    display: flex
}

.lightboxBox {
    width: min(1000px, 100%);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .12);
    background: #000;
    position: relative;
}

.lightboxBox img {
    width: 100%;
    max-height: 82vh;
    object-fit: contain;
    background: #000
}

.lbClose {
    position: absolute;
    top: 12px;
    right: 12px;
    border: none;
    border-radius: 999px;
    padding: .6rem .9rem;
    background: rgba(0, 0, 0, .45);
    color: var(--gold);
    border: 1px solid rgba(255, 255, 255, .12);
    cursor: pointer;
    font-weight: 900;
}

.lbClose:hover {
    background: rgba(255, 152, 0, .18)
}

/* WhatsApp flotante */
.whatsapp {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 220;
    display: flex;
    align-items: center;
    gap: .6rem;
    background: #25d366;
    color: #fff;
    padding: 14px 18px;
    border-radius: 999px;
    font-weight: 900;
    box-shadow: 0 0 30px rgba(37, 211, 102, .55);
    transition: .2s ease;
}

.whatsapp:hover {
    transform: scale(1.06)
}

/* Footer */
footer {
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 2.5rem 1rem;
    text-align: center;
    color: #9a9a9a;
}

/* ===== BOTONES REDES SOCIALES (HERO) ===== */
.social-hero {
    display: flex;
    gap: .8rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.2rem;
}

.social-btn {
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 900;
    letter-spacing: .6px;
    font-size: .95rem;
    border: 1px solid rgba(255, 255, 255, .18);
    transition: .25s ease;
    box-shadow: 0 0 18px rgba(0, 0, 0, .45);
}

.social-btn.ig {
    background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
    color: #fff;
}

.social-btn.ig:hover {
    transform: scale(1.06);
    box-shadow: 0 0 26px rgba(214, 41, 118, .55);
}

.social-btn.tt {
    background: linear-gradient(45deg, #00f2ea, #ff0050);
    color: #fff;
}

.social-btn.tt:hover {
    transform: scale(1.06);
    box-shadow: 0 0 26px rgba(0, 242, 234, .45);
}

@media(max-width:480px) {
    .social-btn {
        padding: 11px 18px;
        font-size: .9rem
    }
}

/* ===== LOGO FIJO SUPERIOR IZQUIERDO (SOLO LOGO) ===== */
.logo-fixed {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 9999;
}

.logo-fixed img {
    height: 460px;
    width: auto;
    object-fit: contain;
    display: block;
    margin: 0;
    /* MUY IMPORTANTE */
    padding: 0;
    /* MUY IMPORTANTE */
    filter:
        drop-shadow(0 0 6px rgba(0, 0, 0, .8)) drop-shadow(0 0 14px rgba(216, 67, 21, .35));
}

/* Mobile ajuste */
@media(max-width:968px) {
    .logo-fixed img {
        height: 120px;
    }
}

@media(max-width:480px) {
    .logo-fixed img {
        height: 90px;
    }
}

/* ===== LOGO GRANDE FIJO CENTRADO (HERO) ===== */
.hero-logo-fixed {
    position: absolute;
    top: 122px;
    /* ajusta si lo quieres más arriba/abajo */
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    pointer-events: none;
    /* para que puedas tocar los botones */
}

.hero-logo-fixed img {
    width: min(78vw, 880px);
    /* ~3/4 del ancho */
    height: auto;
    display: block;
    object-fit: contain;
    filter:
        drop-shadow(0 0 10px rgba(0, 0, 0, .85)) drop-shadow(0 0 18px rgba(216, 67, 21, .25));
}

/* En celular lo bajamos un poco y lo hacemos más manejable */
@media(max-width: 768px) {
    .hero-logo-fixed {
        top: 18px;
    }

    .hero-logo-fixed img {
        width: min(92vw, 520px);
    }
}

/* Para que el contenido del hero (texto/botones) no quede tapado por el logo */
.hero-content {
    padding-top: 260px;
    /* ajusta: 220-320 según tu gusto */
}

@media(max-width: 768px) {
    .hero-content {
        padding-top: 210px;
    }
}