@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;600;700&display=swap');

/* ═══════════════════════════════════════════
   DESIGN SYSTEM — JARANA FOOD
   ═══════════════════════════════════════════ */

:root {
  /* Colors */
  --bg-primary: #1e1e1e;
  --bg-secondary: #252525;
  --bg-card: #292929;
  --bg-card-hover: #323232;
  --bg-glass: rgba(30, 30, 30, 0.88);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(232, 197, 71, 0.3);

  --accent-yellow: #E8C547;
  --accent-orange: #E8843C;
  --accent-green: #4CAF50;

  --text-primary: #F5F5F0;
  --text-secondary: rgba(245, 245, 240, 0.65);
  --text-muted: rgba(245, 245, 240, 0.4);

  /* Typography */
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 30px rgba(232, 197, 71, 0.15);

  /* Transitions */
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ═══════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════ */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ═══════════════════════════════════════════
   PRELOADER & LOADING SCREEN
   ═══════════════════════════════════════════ */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease-out), visibility 0.6s var(--ease-out);
}

#preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3xl);
}

.preloader-logo {
  width: 220px;
  max-width: 70vw;
  animation: pulseLogo 2s ease-in-out infinite;
  filter: drop-shadow(0 0 15px rgba(232, 197, 71, 0.4));
}

@keyframes pulseLogo {

  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 15px rgba(232, 197, 71, 0.4));
  }

  50% {
    transform: scale(1.05);
    filter: drop-shadow(0 0 25px rgba(232, 197, 71, 0.6));
  }
}

/* Burger Loader CSS Art */
.burger-loader {
  position: relative;
  width: 100px;
  height: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
}

.burger-part {
  width: 100%;
  border-radius: 10px;
  opacity: 0;
  animation-duration: 2.2s;
  animation-iteration-count: infinite;
  animation-timing-function: cubic-bezier(0.28, 0.84, 0.42, 1);
  animation-fill-mode: forwards;
}

.bun-top {
  height: 35px;
  background: #e49e49;
  border-radius: 40px 40px 8px 8px;
  box-shadow: inset -5px -5px 10px rgba(0, 0, 0, 0.15), inset 5px 5px 10px rgba(255, 255, 255, 0.15);
  position: relative;
  animation-name: dropBunTop;
}

/* Semillas de sésamo */
.bun-top::before,
.bun-top::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 6px;
  background: #fdf2c6;
  border-radius: 50%;
  top: 10px;
  left: 20px;
  transform: rotate(20deg);
  box-shadow: 20px 5px 0 #fdf2c6, 40px -2px 0 #fdf2c6, 60px 8px 0 #fdf2c6;
}

.bun-top::after {
  top: 18px;
  left: 30px;
  transform: rotate(-15deg);
  box-shadow: 25px -4px 0 #fdf2c6, -15px 4px 0 #fdf2c6;
}

.lettuce {
  height: 8px;
  background: #73c834;
  border-radius: 5px;
  width: 110%;
  animation-name: dropLettuce;
  box-shadow: inset -2px -2px 5px rgba(0, 0, 0, 0.2);
}

.cheese {
  height: 8px;
  background: #ffc107;
  border-radius: 5px;
  width: 105%;
  animation-name: dropCheese;
  position: relative;
}

.cheese::after {
  content: '';
  position: absolute;
  right: 15px;
  top: 4px;
  width: 15px;
  height: 15px;
  background: #ffc107;
  border-radius: 0 0 5px 5px;
  transform: skewY(20deg);
}

.meat {
  height: 20px;
  background: #6e3d23;
  border-radius: 12px;
  width: 100%;
  animation-name: dropMeat;
  box-shadow: inset -3px -3px 8px rgba(0, 0, 0, 0.4);
}

.bun-bottom {
  height: 20px;
  background: #e49e49;
  border-radius: 8px 8px 20px 20px;
  box-shadow: inset -5px -5px 10px rgba(0, 0, 0, 0.15);
  animation-name: dropBunBottom;
}

@keyframes dropBunBottom {

  0%,
  5% {
    transform: translateY(-50px);
    opacity: 0;
  }

  15%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes dropMeat {

  0%,
  20% {
    transform: translateY(-100px);
    opacity: 0;
  }

  30%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes dropCheese {

  0%,
  35% {
    transform: translateY(-150px);
    opacity: 0;
  }

  45%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes dropLettuce {

  0%,
  50% {
    transform: translateY(-200px);
    opacity: 0;
  }

  60%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes dropBunTop {

  0%,
  65% {
    transform: translateY(-250px);
    opacity: 0;
  }

  75%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ═══════════════════════════════════════════
   HALLOWEEN LOADER (temporal) — panes de calabaza
   Las capas caen una sola vez y al final se iluminan las caras.
   ═══════════════════════════════════════════ */
.halloween-loader {
  width: 130px;
  height: 130px;
  animation: loaderAura 3s ease-out both;
}

.halloween-loader .burger-part {
  animation-duration: 3s;
  animation-iteration-count: 1;
  animation-fill-mode: both;
}

.pumpkin {
  position: relative;
  background:
    repeating-linear-gradient(90deg, transparent 0 16px, rgba(110, 40, 0, 0.28) 16px 19px),
    radial-gradient(ellipse at 50% 30%, #ff9a2e 0%, #f26b0f 60%, #b84a00 100%);
  box-shadow: inset -6px -6px 12px rgba(0, 0, 0, 0.3), inset 4px 4px 10px rgba(255, 200, 120, 0.25);
}

.pumpkin-top {
  height: 48px;
  border-radius: 55% 55% 20% 20% / 85% 85% 25% 25%;
  animation-name: dropBunTop, pumpkinGlow;
}

.pumpkin-bottom {
  height: 34px;
  width: 94%;
  border-radius: 20% 20% 55% 55% / 25% 25% 85% 85%;
  animation-name: dropBunBottom, pumpkinGlow;
}

.pumpkin-stem {
  position: absolute;
  top: -9px;
  left: 50%;
  width: 10px;
  height: 14px;
  margin-left: -5px;
  background: linear-gradient(90deg, #3f5d1a, #6b8f2a, #3f5d1a);
  border-radius: 3px 3px 2px 2px;
  transform: rotate(8deg);
}

.pumpkin-face {
  position: absolute;
  inset: 0;
}

.pumpkin-face i {
  position: absolute;
  background: #2a0f00;
  animation: faceLight 3s ease-out both;
}

.pumpkin-face .eye {
  width: 11px;
  height: 11px;
  top: 38%;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.pumpkin-face .eye-l { left: 26%; }
.pumpkin-face .eye-r { right: 26%; transform: scaleX(-1); }

.pumpkin-face .nose {
  width: 6px;
  height: 6px;
  left: calc(50% - 3px);
  top: 55%;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.pumpkin-face .mouth {
  width: 46px;
  height: 11px;
  left: calc(50% - 23px);
  top: 66%;
  clip-path: polygon(0 0, 12% 55%, 25% 15%, 38% 70%, 50% 20%, 62% 70%, 75% 15%, 88% 55%, 100% 0, 92% 100%, 8% 100%);
}

.pumpkin-bottom .pumpkin-face .eye { top: 18%; width: 9px; height: 9px; }
.pumpkin-bottom .pumpkin-face .nose { top: 40%; }
.pumpkin-bottom .pumpkin-face .mouth { top: 52%; height: 9px; width: 40px; left: calc(50% - 20px); }

/* Caras apagadas → encendidas al terminar de montarse */
@keyframes faceLight {
  0%, 78% {
    background: #2a0f00;
    box-shadow: none;
  }
  90%, 100% {
    background: #ffe27a;
    box-shadow: 0 0 6px 2px #ffb300, 0 0 16px 6px rgba(255, 140, 0, 0.7);
  }
}

/* Resplandor de la calabaza al final */
@keyframes pumpkinGlow {
  0%, 78% { filter: brightness(1); }
  90%, 100% { filter: brightness(1.2) drop-shadow(0 0 10px rgba(255, 140, 0, 0.8)); }
}

/* Aura general de la hamburguesa iluminada */
@keyframes loaderAura {
  0%, 78% { filter: drop-shadow(0 0 0 rgba(255, 140, 0, 0)); }
  100% { filter: drop-shadow(0 0 22px rgba(255, 140, 0, 0.75)); }
}

/* ═══════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════ */

.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  max-height: 900px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.35);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(10, 10, 10, 0.3) 0%,
      rgba(10, 10, 10, 0.1) 40%,
      rgba(10, 10, 10, 0.7) 80%,
      rgba(10, 10, 10, 1) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-xl);
}

.hero-logo {
  max-width: 90%;
  width: clamp(250px, 40vw, 450px);
  height: auto;
  margin: 0 auto var(--space-md) auto;
  animation: glowPulseImg 3s ease-in-out infinite;
  display: block;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1rem, 3vw, 1.5rem);
  color: var(--text-secondary);
  letter-spacing: 6px;
  text-transform: uppercase;
  margin-bottom: var(--space-2xl);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-2xl);
  background: var(--accent-yellow);
  color: var(--bg-primary);
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 2px;
  border-radius: 50px;
  transition: all 0.3s var(--ease-out);
  box-shadow: 0 0 30px rgba(232, 197, 71, 0.3);
}

.hero-cta:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 50px rgba(232, 197, 71, 0.5);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s ease-in-out infinite;
  color: var(--text-muted);
  font-size: 1.5rem;
}

@keyframes glowPulse {

  0%,
  100% {
    text-shadow: 0 0 40px rgba(232, 197, 71, 0.4);
  }

  50% {
    text-shadow: 0 0 60px rgba(232, 197, 71, 0.6), 0 0 100px rgba(232, 197, 71, 0.2);
  }
}

@keyframes glowPulseImg {

  0%,
  100% {
    filter: drop-shadow(0 0 15px rgba(232, 197, 71, 0.4));
  }

  50% {
    filter: drop-shadow(0 0 30px rgba(232, 197, 71, 0.6));
  }
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }

  50% {
    transform: translateX(-50%) translateY(10px);
    opacity: 0.5;
  }
}

/* Hero Slider Dots */
.hero-dots {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  transition: all 0.3s ease;
  cursor: pointer;
}

.hero-dot.active {
  background: var(--accent-yellow);
  width: 24px;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(232, 197, 71, 0.5);
}

/* ═══════════════════════════════════════════
   CATEGORY NAVIGATION (Sticky)
   ═══════════════════════════════════════════ */

.category-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: var(--space-md) 0;
  transition: box-shadow 0.3s ease;
}

.category-nav.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.category-nav-inner {
  display: flex;
  gap: var(--space-sm);
  overflow-x: auto;
  padding: 0 var(--space-lg);
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x mandatory;
}

.category-nav-inner::-webkit-scrollbar {
  display: none;
}

.category-btn {
  flex-shrink: 0;
  padding: var(--space-sm) var(--space-lg);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
  scroll-snap-align: start;
}

.category-btn:hover {
  color: var(--text-primary);
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
}

.category-btn.active {
  background: var(--accent-yellow);
  color: var(--bg-primary);
  border-color: var(--accent-yellow);
  font-weight: 700;
  box-shadow: 0 0 20px rgba(232, 197, 71, 0.3);
}

/* ═══════════════════════════════════════════
   MENU SECTIONS
   ═══════════════════════════════════════════ */

.menu-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  position: relative;
  z-index: 2;
}

.menu-section {
  padding: var(--space-3xl) 0 var(--space-xl);
}

.menu-subsection {
  margin-bottom: var(--space-3xl);
}

.menu-subsection:last-child {
  margin-bottom: 0;
}

.subsection-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 2px;
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-xs);
  border-bottom: 1px solid var(--border-subtle);
  display: inline-block;
}

.section-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.section-emoji {
  font-size: 2rem;
  line-height: 1;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  letter-spacing: 3px;
  color: var(--accent-yellow);
}

.section-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--border-subtle), transparent);
}

/* Menu Grid */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-sm);
}

/* Simple Item Bar (no-image inline item) */
.simple-item-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-xs);
  margin-top: var(--space-md);
  padding: var(--space-lg) var(--space-xl);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all 0.3s var(--ease-out);
  cursor: pointer;
}

.simple-item-bar:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.simple-item-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 1.5px;
  color: var(--text-primary);
}

.simple-item-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.simple-item-price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--accent-yellow);
  letter-spacing: 1px;
  margin-top: var(--space-xs);
}

.simple-item-price .price-decimals {
  font-size: 0.65em;
  vertical-align: baseline;
  opacity: 0.85;
}

/* ═══════════════════════════════════════════
   MENU CARD
   ═══════════════════════════════════════════ */

.menu-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
  opacity: 0;
  transform: translateY(30px);
}

.menu-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.menu-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.menu-card-image {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.menu-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.25);
  transition: transform 0.6s var(--ease-out);
}

.menu-card:hover .menu-card-image img {
  transform: scale(1.35);
}

.menu-card-image .badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 2;
}

.badge-new {
  background: var(--accent-orange);
  color: white;
  animation: badgePulse 2s ease-in-out infinite;
}

.badge-popular {
  background: var(--accent-yellow);
  color: var(--bg-primary);
}

.badge-vegana {
  background: var(--accent-green);
  color: white;
}

@keyframes badgePulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.06);
    opacity: 0.88;
  }
}

.menu-card-image .badge.badge-limited {
  position: absolute;
  top: auto;
  bottom: 16px;
  left: auto;
  right: 16px;
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  background: rgba(35, 35, 35, 0.9);
  color: #ffb74d;
  border: 1px solid rgba(255, 183, 77, 0.4);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  animation: limitedTextPulse 2.5s ease-in-out infinite;
  white-space: nowrap;
}

@keyframes limitedTextPulse {
  0%,
  100% {
    color: #ffb74d;
    border-color: rgba(255, 183, 77, 0.4);
    opacity: 1;
  }

  50% {
    color: #ff5252;
    border-color: rgba(255, 82, 82, 0.6);
    opacity: 0.85;
  }
}

/* Pure CSS mini clock */
.badge-limited-clock {
  position: absolute;
  top: -8px;
  left: -8px;
  width: 16px;
  height: 16px;
  background: rgba(30, 30, 30, 0.95);
  border: 1.5px solid currentColor;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Inline modifier for the modal title */
.badge-limited-clock.inline-clock {
  position: relative;
  top: auto;
  left: auto;
  margin-left: 12px;
  width: 22px;
  height: 22px;
  border-width: 2px;
  display: inline-block;
  vertical-align: middle;
  background: transparent;
  animation: limitedTextPulse 2s ease-in-out infinite;
  box-shadow: none;
  flex-shrink: 0;
}

/* Hour hand */
.badge-limited-clock::before {
  content: '';
  position: absolute;
  width: 1.5px;
  height: 5px;
  background: currentColor;
  top: 2px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 1px;
  transform-origin: bottom center;
}

.badge-limited-clock.inline-clock::before {
  height: 7px;
  width: 2px;
  top: 3px;
}

/* Minute hand */
.badge-limited-clock::after {
  content: '';
  position: absolute;
  width: 1.5px;
  height: 4px;
  background: currentColor;
  top: 50%;
  left: 50%;
  transform: translateY(-1px) rotate(90deg);
  transform-origin: top center;
  border-radius: 1px;
  animation: clockTick 4s steps(60) infinite;
}

.badge-limited-clock.inline-clock::after {
  height: 6px;
  width: 2px;
}

@keyframes clockTick {
  from {
    transform: translateY(-1px) rotate(90deg);
  }

  to {
    transform: translateY(-1px) rotate(450deg);
  }
}

.menu-card-body {
  padding: var(--space-lg);
}

.menu-card-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 1.5px;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.menu-card-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: var(--space-md);
}

.menu-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu-card-price {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--accent-yellow);
  letter-spacing: 1px;
}

.menu-card-price .price-decimals {
  font-size: 0.65em;
  vertical-align: baseline;
  opacity: 0.85;
}

/* Placeholder image */
.placeholder-image {
  background: linear-gradient(135deg, rgba(30, 30, 30, 0.5), rgba(40, 40, 40, 0.5));
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder-text {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  transform: rotate(-5deg);
  opacity: 0.5;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* ═══════════════════════════════════════════
   FEATURED / NOVEDADES SECTION
   ═══════════════════════════════════════════ */

.featured-section {
  padding: var(--space-3xl) 0;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--space-sm);
}

.featured-card {
  position: relative;
  background: linear-gradient(135deg, rgba(232, 197, 71, 0.08), rgba(232, 132, 60, 0.05));
  border: 1px solid rgba(232, 197, 71, 0.15);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
  opacity: 0;
  transform: translateY(30px);
}

.featured-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.featured-card:hover {
  border-color: rgba(232, 197, 71, 0.35);
  transform: translateY(-6px);
  box-shadow: 0 8px 40px rgba(232, 197, 71, 0.15);
}

.featured-card .menu-card-image {
  height: 260px;
}

.featured-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  padding: 1px;
  background: linear-gradient(135deg, rgba(232, 197, 71, 0.3), transparent, rgba(232, 132, 60, 0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}

/* ───────── Halloween (Próximamente) ───────── */
.featured-card.halloween-card {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 106, 0, 0.14), transparent 60%),
    linear-gradient(160deg, #1c1322, #141414);
  border-color: rgba(255, 106, 0, 0.25);
}

.featured-card.halloween-card::before {
  background: linear-gradient(135deg, rgba(255, 106, 0, 0.55), transparent, rgba(138, 43, 226, 0.5));
}

.featured-card.halloween-card:hover {
  border-color: rgba(255, 106, 0, 0.5);
  box-shadow: 0 8px 40px rgba(255, 106, 0, 0.2), 0 0 60px rgba(138, 43, 226, 0.15);
}

.featured-card.halloween-card .menu-card-image {
  height: 320px;
}

.featured-card.halloween-card .menu-card-image img {
  object-fit: cover;
  object-position: center 45%;
  transform: none;
  transition: transform 0.6s var(--ease-out);
}

.featured-card.halloween-card:hover .menu-card-image img {
  transform: scale(1.05);
}

.halloween-image.placeholder-image {
  flex-direction: column;
  gap: var(--space-sm);
  background:
    radial-gradient(ellipse at 50% 120%, rgba(138, 43, 226, 0.35), transparent 65%),
    radial-gradient(ellipse at 50% 40%, rgba(255, 106, 0, 0.12), transparent 60%),
    #0d0b10;
}

.halloween-image .placeholder-text {
  color: #ff7a1a;
  opacity: 1;
  text-shadow: 0 0 12px rgba(255, 106, 0, 0.6), 0 0 30px rgba(255, 0, 0, 0.3);
  animation: hauntedFlicker 4s linear infinite;
}

.halloween-ghost {
  font-size: 3.2rem;
  filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.35));
  animation: ghostFloat 3.5s ease-in-out infinite;
}

.badge-halloween {
  background: linear-gradient(135deg, #ff6a00, #8a2be2);
  color: #fff;
  box-shadow: 0 0 12px rgba(255, 106, 0, 0.45);
}

.menu-card-image .badge.badge-halloween {
  left: auto;
  right: 12px;
}

/* Explosión de Halloween al pulsar la tarjeta */
.spooky-particle {
  position: fixed;
  z-index: 9999;
  pointer-events: none;
  line-height: 1;
  user-select: none;
  will-change: transform, opacity;
  filter: drop-shadow(0 0 8px rgba(255, 106, 0, 0.6));
}

.featured-card.halloween-card.halloween-shake {
  animation: halloweenShake 0.5s ease-in-out;
}

@keyframes halloweenShake {

  0%,
  100% {
    transform: translateY(0) rotate(0);
  }

  20% {
    transform: translateX(-6px) rotate(-1.5deg);
  }

  40% {
    transform: translateX(6px) rotate(1.5deg);
  }

  60% {
    transform: translateX(-4px) rotate(-1deg);
  }

  80% {
    transform: translateX(4px) rotate(1deg);
  }
}


.halloween-price {
  color: #ff3b3b;
  letter-spacing: 6px;
  text-shadow: 0 0 10px rgba(255, 0, 0, 0.55);
}

@keyframes ghostFloat {

  0%,
  100% {
    transform: translateY(0) rotate(-4deg);
    opacity: 0.85;
  }

  50% {
    transform: translateY(-10px) rotate(4deg);
    opacity: 0.45;
  }
}

@keyframes hauntedFlicker {

  0%,
  18%,
  22%,
  25%,
  53%,
  57%,
  100% {
    opacity: 1;
  }

  20%,
  24%,
  55% {
    opacity: 0.25;
  }
}

@media (prefers-reduced-motion: reduce) {

  .halloween-ghost,
  .halloween-image .placeholder-text {
    animation: none;
  }
}

/* ═══════════════════════════════════════════
   CUSTOM BURGER SECTION
   ═══════════════════════════════════════════ */

.custom-section {
  padding: var(--space-3xl) 0;
  text-align: center;
}

.custom-card {
  max-width: 700px;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-xl);
  background: linear-gradient(135deg, rgba(232, 197, 71, 0.06), rgba(232, 132, 60, 0.04));
  border: 1px solid rgba(232, 197, 71, 0.12);
  border-radius: var(--radius-xl);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.4s var(--ease-out);
}

.custom-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.custom-emoji {
  font-size: 3rem;
  margin-bottom: var(--space-md);
}

.custom-title {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--accent-yellow);
  letter-spacing: 2px;
  margin-bottom: var(--space-md);
}

.custom-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 500px;
  margin: 0 auto var(--space-xl);
  line-height: 1.7;
}

.custom-price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--accent-yellow);
  letter-spacing: 2px;
}

.custom-price-note {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: var(--space-xs);
}

/* ═══════════════════════════════════════════
   SALSAS SECTION
   ═══════════════════════════════════════════ */

.salsas-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}

.salsa-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: var(--space-md) var(--space-lg);
  border-radius: 50px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 1px;
  color: var(--text-primary);
  transition: all 0.3s var(--ease-out);
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  cursor: default;
}

.salsa-item:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-yellow);
  color: var(--accent-yellow);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.salsa-item.salsa-especial {
  background: linear-gradient(135deg, rgba(232, 197, 71, 0.15), rgba(232, 132, 60, 0.1));
  border-color: rgba(232, 197, 71, 0.4);
  padding: var(--space-sm) var(--space-xl);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.salsa-item.salsa-especial:hover {
  background: linear-gradient(135deg, rgba(232, 197, 71, 0.25), rgba(232, 132, 60, 0.15));
  border-color: var(--accent-yellow);
}

/* ═══════════════════════════════════════════
   INSTAGRAM CTA
   ═══════════════════════════════════════════ */

.instagram-section {
  padding: var(--space-3xl) var(--space-lg);
  text-align: center;
  position: relative;
  z-index: 2;
}

.instagram-card {
  max-width: 600px;
  margin: 0 auto;
  padding: var(--space-2xl);
  background: linear-gradient(135deg, rgba(225, 48, 108, 0.08), rgba(131, 58, 180, 0.06));
  border: 1px solid rgba(225, 48, 108, 0.15);
  border-radius: var(--radius-xl);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.4s var(--ease-out);
}

.instagram-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.instagram-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
}

.instagram-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--text-primary);
  letter-spacing: 2px;
  margin-bottom: var(--space-sm);
}

.instagram-handle {
  color: #E1306C;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: var(--space-xl);
  display: block;
}

.instagram-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-2xl);
  background: linear-gradient(135deg, #E1306C, #833AB4);
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  border-radius: 50px;
  transition: all 0.3s var(--ease-out);
}

.instagram-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(225, 48, 108, 0.3);
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */

.footer {
  padding: var(--space-3xl) var(--space-lg) var(--space-xl);
  text-align: center;
  border-top: 1px solid var(--border-subtle);
  position: relative;
  z-index: 2;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--accent-yellow);
  letter-spacing: 3px;
  margin-bottom: var(--space-md);
}

.footer-info {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 2;
}

.footer-info a {
  color: var(--accent-yellow);
  transition: opacity 0.2s;
}

.footer-info a:hover {
  opacity: 0.8;
}

.footer-bottom {
  margin-top: var(--space-2xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}

/* ═══════════════════════════════════════════
   SMOKE EFFECT (Smash Burger Vibe)
   ═══════════════════════════════════════════ */

#smoke-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  /* Above background, below content */
  overflow: hidden;
}

.smoke-puff {
  position: absolute;
  bottom: -200px;
  /* Start below screen */
  background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  filter: blur(20px);
  animation-name: smokeRise;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
  will-change: transform, opacity;
}

@keyframes smokeRise {
  0% {
    transform: translateY(0) scale(1) rotate(0deg);
  }

  50% {
    opacity: 0.1;
  }

  100% {
    transform: translateY(-120vh) scale(3) rotate(360deg);
    opacity: 0;
  }
}

/* ═══════════════════════════════════════════
   PRODUCT MODAL
   ═══════════════════════════════════════════ */

.menu-card,
.featured-card {
  cursor: pointer;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
}

.modal.active {
  pointer-events: auto;
  opacity: 1;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-content {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-xl);
  width: 95%;
  max-width: 800px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-card), var(--shadow-glow);
  transform: scale(0.95) translateY(20px);
  transition: transform 0.4s var(--ease-spring);
}

.modal.active .modal-content {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(20, 20, 20, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--text-primary);
  border: none;
  cursor: pointer;
  z-index: 20;
  transition: all 0.2s;
  line-height: 1;
}

.modal-close:hover {
  color: var(--accent-yellow);
}

.modal-body {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 768px) {
  .modal-body {
    flex-direction: row;
    overflow-y: hidden;
  }
}

.modal-image-container {
  flex: none;
  width: 100%;
  min-height: 200px;
  max-height: 35vh;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.modal-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 768px) {
  .modal-image-container {
    flex: 1;
    max-height: none;
  }
}

.modal-details {
  flex: 1;
  padding: var(--space-2xl);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--text-primary);
  letter-spacing: 2px;
  margin: 0;
}

.modal-title-wrapper {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  margin-top: var(--space-sm);
}

.modal-badge-small {
  position: static !important;
  font-size: 0.65rem !important;
  padding: 4px 8px !important;
  display: inline-block;
  white-space: nowrap;
}

.modal-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: var(--space-xl);
}

.btn-info-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: rgba(232, 197, 71, 0.1);
  border: 1px solid rgba(232, 197, 71, 0.3);
  color: var(--accent-yellow);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: var(--space-xl);
  transition: all 0.2s ease;
}

.btn-info-toggle:hover {
  background: rgba(232, 197, 71, 0.2);
  transform: translateY(-1px);
}

.modal-info-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: auto;
  height: 100%;
  background: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(10px);
  z-index: 15;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.1, 0.9, 0.2, 1);
}

@media (min-width: 768px) {
  .modal-info-overlay {
    top: 0;
    left: auto;
    right: 0;
    width: 50%;
    /* Only cover the text side on desktop */
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.1, 0.9, 0.2, 1);
  }
}

.modal-info-overlay.open {
  transform: translateY(0);
}

@media (min-width: 768px) {
  .modal-info-overlay.open {
    transform: translateX(0);
  }
}

.info-overlay-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-overlay-header h3 {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin: 0;
}

.btn-info-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.btn-info-close:hover {
  color: var(--accent-yellow);
}

.info-overlay-body {
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  overflow-y: auto;
}

.info-overlay-footer {
  padding: var(--space-md) var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: auto;
  /* Pushes the footer to the bottom */
}

.btn-info-return {
  width: 100%;
  padding: 14px;
  background: var(--accent-yellow);
  color: #111;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-info-return:hover {
  opacity: 0.9;
}

.info-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.info-label {
  font-weight: 600;
  color: var(--accent-yellow);
  font-size: 0.9rem;
}

.allergens-grid {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.allergen-image-trace {
  opacity: 0.6;
  filter: grayscale(30%) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.allergen-icon-wrapper:hover .allergen-image-trace {
  opacity: 1;
  filter: grayscale(0%) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
}

.allergen-icon-wrapper {
  display: inline-block;
  cursor: help;
  transition: transform 0.2s ease, filter 0.2s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.allergen-image {
  width: 32px;
  height: 32px;
  display: block;
  object-fit: contain;
}

.allergen-icon-wrapper:hover {
  transform: scale(1.15) translateY(-2px);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}

.allergen-text-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.modal-footer-price {
  margin-top: auto;
}

.modal-price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--accent-yellow);
  letter-spacing: 1px;
}

.modal-price .price-decimals {
  font-size: 0.65em;
  vertical-align: baseline;
  opacity: 0.85;
}

/* ═══════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.animate-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for grid items */
.menu-card:nth-child(1) {
  transition-delay: 0s;
}

.menu-card:nth-child(2) {
  transition-delay: 0.1s;
}

.menu-card:nth-child(3) {
  transition-delay: 0.2s;
}

.menu-card:nth-child(4) {
  transition-delay: 0.3s;
}

.menu-card:nth-child(5) {
  transition-delay: 0.4s;
}

.menu-card:nth-child(6) {
  transition-delay: 0.5s;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */

@media (max-width: 768px) {
  .hero {
    max-height: 75vh;
    min-height: 500px;
  }

  .menu-grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

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

  .menu-card-image {
    height: 200px;
  }

  .featured-card.halloween-card .menu-card-image {
    height: 280px;
  }

  .category-nav-inner {
    padding: 0 var(--space-md);
  }

  .menu-container {
    padding: 0 var(--space-md);
  }

  .menu-section {
    padding: var(--space-2xl) 0 var(--space-md);
  }

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

  /* Desactivar filtro pesado de partículas en móvil para máxima fluidez */
  .spooky-particle {
    filter: none;
  }
}

@media (max-width: 480px) {
  .hero {
    max-height: 65vh;
    min-height: 400px;
  }

  .hero-cta {
    padding: var(--space-sm) var(--space-xl);
    font-size: 1.1rem;
  }

  .menu-card-image {
    height: 180px;
  }

  .featured-card.halloween-card .menu-card-image {
    height: 250px;
  }

  .category-btn {
    padding: 6px 14px;
    font-size: 0.72rem;
  }
}

@media (min-width: 1024px) {
  .menu-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}