@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,600&family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,700;0,900;1,400;1,700&display=swap');

/* ============================================================
   DESIGN SYSTEM — BAR SARAY BLACK & RED EDITION (V5-10/10)
   Palette: Deep Matte Black · Vivid Logo Red · Silver & Gold
   ============================================================ */
:root {
  /* Backgrounds */
  --bg-dark:      #050404; /* Sleek pitch black */
  --bg-panel:     #100d0c; /* Deep charcoal for menu cards */
  --bg-sidebar:   #0a0808; /* Slightly lighter charcoal for left sidebar */
  --white:        #FFFFFF;

  /* Accent Colors */
  --red:          #E50914; /* Vibrant logo red */
  --red-light:    #FF333D; /* Brighter red for hover states */
  --red-dark:     #8E050B; /* Deep blood red */
  --red-glow:     rgba(229, 9, 20, 0.15);
  --red-glow-strong: rgba(229, 9, 20, 0.35);
  
  --gold:         #DDB86A; /* Soft gold for special badges/stars */
  --blue-badge:   #1B4F8A;
  --green-badge:  #1B8A4F;
  --silver-badge: #6E7B8B;

  /* Text Colors */
  --text-white:   #FFFFFF;
  --text-muted:   rgba(255, 255, 255, 0.8);
  --text-dim:     rgba(255, 255, 255, 0.45);

  /* Borders & Lines */
  --sand-line:    rgba(229, 9, 20, 0.15); /* Sleek red-tinted line */
  --border-thick: 2px solid var(--red);

  /* Typography */
  --ff-display:   'Playfair Display', Georgia, serif;
  --ff-serif:     'Cormorant Garamond', Georgia, serif;
  --ff-sans:      'Inter', system-ui, -apple-system, sans-serif;

  /* Transitions */
  --t-fast:       0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --t-med:        0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --t-slow:       0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Shadows (Floating Premium Glows) */
  --shadow-subtle: 0 10px 30px rgba(0, 0, 0, 0.6);
  --shadow-card:   0 12px 40px rgba(0, 0, 0, 0.7);
  --shadow-lifted: 0 15px 40px var(--red-glow-strong);

  /* Legacy Compat Variables */
  --cream:        #050404;
  --cream-deep:   #100d0c;
  --ivory:        #050404;
  --warm-white:   #100d0c;
  --charcoal:     #FFFFFF;
  --charcoal-mid: rgba(255, 255, 255, 0.8);
  --charcoal-soft:rgba(255, 255, 255, 0.45);
  --gold-light:   #DDB86A;
  --espresso:     #FFFFFF;
  --espresso-soft:rgba(255, 255, 255, 0.8);
  --espresso-dim: rgba(255, 255, 255, 0.45);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(229, 9, 20, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(229, 9, 20, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(229, 9, 20, 0.03) 0%, transparent 60%);
  background-attachment: fixed;
  color: var(--text-white);
  font-family: var(--ff-sans);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

/* Custom Scrollbar */
::-webkit-scrollbar { 
  width: 6px; 
}
::-webkit-scrollbar-track { 
  background: var(--bg-dark); 
}
::-webkit-scrollbar-thumb { 
  background: var(--red); 
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { 
  background: var(--red-light); 
}

/* ============================================================
   FIXED HEADER NAVIGATION
   ============================================================ */
.header-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  z-index: 1000;
  transition: background var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast), backdrop-filter var(--t-fast);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
}

.header-nav.scrolled {
  background: rgba(5, 4, 4, 0.85);
  border-bottom-color: var(--sand-line);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-text {
  font-family: var(--ff-sans);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-white);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(229, 9, 20, 0.35);
}

@keyframes pulseGlow {
  0% {
    text-shadow: 0 0 5px var(--red), 0 0 10px var(--red);
    transform: scale(1);
  }
  100% {
    text-shadow: 0 0 15px var(--red-light), 0 0 25px var(--red);
    transform: scale(1.08);
  }
}

.logo-text span { 
  color: var(--red); 
  display: inline-block;
  animation: pulseGlow 1.5s infinite alternate ease-in-out;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-link {
  font-family: var(--ff-sans);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
  transition: color var(--t-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width var(--t-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--white);
}

.nav-link.active::after, .nav-link:hover::after {
  width: 100%;
}

.nav-cta-btn {
  font-family: var(--ff-sans);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.65rem 1.5rem;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: var(--white);
  box-shadow: 0 4px 10px var(--red-glow);
  transition: all var(--t-fast);
}

.nav-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px var(--red-glow-strong);
  background: linear-gradient(135deg, var(--red-light) 0%, var(--red) 100%);
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
  transition: color var(--t-fast);
}

.mobile-toggle:hover {
  color: var(--red-light);
}

/* Mobile dropdown navigation menu */
.mobile-nav-menu {
  position: absolute;
  top: 80px;
  left: 0;
  width: 100%;
  background: rgba(10, 8, 8, 0.95);
  border-bottom: 1.5px solid var(--sand-line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1.5rem 2rem;
  display: none;
  flex-direction: column;
  gap: 1.2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8);
  z-index: 999;
}

.mobile-nav-menu.active {
  display: flex;
}

.mobile-nav-link {
  font-family: var(--ff-sans);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  transition: color var(--t-fast);
  padding: 0.25rem 0;
}

.mobile-nav-link:hover {
  color: var(--red-light);
}

.mobile-cta-btn {
  font-family: var(--ff-sans);
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 1px;
  padding: 0.75rem;
  border-radius: 8px;
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 10px var(--red-glow);
  margin-top: 0.5rem;
}

/* ============================================================
   HERO WELCOME SECTION (Inicio)
   ============================================================ */
.hero-section {
  height: 95vh;
  min-height: 550px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 2rem;
  overflow: hidden;
  z-index: 1;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('images/hero-bistro.png');
  background-size: cover;
  background-position: center;
  z-index: 0;
  animation: zoomHero 15s ease-in-out infinite alternate;
}

@keyframes zoomHero {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(to bottom, rgba(5, 4, 4, 0.45) 0%, rgba(5, 4, 4, 0.85) 60%, var(--bg-dark) 100%),
    radial-gradient(circle at center, rgba(229, 9, 20, 0.12) 0%, transparent 60%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-subtitle {
  font-family: var(--ff-sans);
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--red-light);
  margin-bottom: 1.25rem;
  display: block;
}

.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero-title em {
  font-family: var(--ff-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--red);
  text-shadow: 0 0 20px var(--red-glow-strong);
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
}

.btn-primary, .btn-secondary {
  font-family: var(--ff-sans);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 1rem 2rem;
  border-radius: 30px;
  cursor: pointer;
  transition: all var(--t-fast);
  display: inline-block;
}

/* Button 10/10 Shine Reflection */
.btn-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4);
  z-index: 1;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 100%
  );
  transform: skewX(-25deg);
  z-index: 2;
  transition: none;
}

.btn-primary:hover::before {
  left: 150%;
  transition: left 0.8s ease-in-out;
}

.btn-primary:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, var(--red-light) 0%, var(--red) 100%);
  box-shadow: 0 8px 25px rgba(229, 9, 20, 0.6);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--red-light);
  box-shadow: 0 8px 25px var(--red-glow);
}

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
}

.scroll-indicator a {
  color: var(--text-dim);
  font-size: 1.5rem;
  transition: color var(--t-fast);
}

.scroll-indicator a:hover {
  color: var(--red-light);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* ============================================================
   INFO QUICK BARS - FLOATING GLASS EDITION
   ============================================================ */
.floating-glass-band {
  max-width: 1100px;
  width: calc(100% - 4rem);
  margin: -60px auto 0;
  border-radius: 16px;
  background: rgba(16, 13, 12, 0.65);
  border: 1px solid rgba(229, 9, 20, 0.25);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.75), 0 0 15px rgba(229, 9, 20, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 20;
  position: relative;
  padding: 2rem 2.5rem;
}

.band-container {
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.band-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.band-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--red-glow);
  color: var(--red-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  box-shadow: 0 0 15px var(--red-glow);
  border: 1px solid rgba(229, 9, 20, 0.3);
}

.band-item h4 {
  font-family: var(--ff-sans);
  font-size: 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.band-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.band-item a:hover {
  color: var(--red-light);
}

/* ============================================================
   ELEGANT SECTION DIVIDERS
   ============================================================ */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin: 4.5rem 0;
  opacity: 0.9;
}

.divider-line {
  height: 1px;
  width: 120px;
  background: linear-gradient(to right, transparent, var(--red), transparent);
  display: inline-block;
}

.gold-star {
  color: var(--gold);
  font-size: 0.85rem;
  text-shadow: 0 0 8px rgba(221, 184, 106, 0.4);
}

.gold-star.center-star {
  font-size: 1.15rem;
}

.footer-divider {
  margin: 6rem 0 0;
  background: transparent;
  position: relative;
  z-index: 12;
  transform: translateY(1.5px);
}

.divider-icon {
  color: var(--red-light);
  font-size: 1.1rem;
  text-shadow: 0 0 10px rgba(229, 9, 20, 0.5);
}

/* ============================================================
   MENU SECTION (La Carta)
   ============================================================ */
.carta-section {
  padding: 4rem 2rem 4rem;
  background: transparent;
  position: relative;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.carta-section .main-header {
  margin-bottom: 3.5rem;
  text-align: center;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

.carta-section .menu-tagline {
  justify-content: center;
}

.menu-count {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: lowercase;
}

.carta-section .menu-title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.carta-section .menu-title em {
  font-family: var(--ff-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--red);
}

.menu-intro-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Controls centering (Search + Categories) */
.menu-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.2rem;
  margin-bottom: 4rem;
  width: 100%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.menu-controls .search-wrapper {
  width: 100%;
  max-width: 500px;
  margin-bottom: 0;
}

.menu-controls .categories-wrapper {
  width: 100%;
  margin-bottom: 0;
}

.menu-controls .categories-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

/* Category Buttons */
.btn-category {
  font-family: var(--ff-sans);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: left;
  padding: 0.8rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--t-fast);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-category i {
  font-size: 0.95rem;
  width: 20px;
  text-align: center;
  color: var(--red-dark);
  transition: color var(--t-fast);
}

.btn-category:hover {
  background: rgba(229, 9, 20, 0.06);
  color: var(--red-light);
  border-color: rgba(229, 9, 20, 0.3);
}

.btn-category:hover i {
  color: var(--red-light);
}

.btn-category.active {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: var(--white);
  border-color: var(--red);
  box-shadow: 0 6px 15px var(--red-glow-strong);
}

.btn-category.active i {
  color: var(--white);
}

/* Search Box styling */
.search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-box i.search-icon {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color var(--t-fast);
  pointer-events: none;
}

.search-box input:focus ~ i.search-icon {
  color: var(--red-light);
}

.search-box input {
  width: 100%;
  padding: 0.85rem 2.8rem 0.85rem 2.5rem;
  border: 1.5px solid var(--sand-line);
  border-radius: 8px;
  font-family: var(--ff-sans);
  font-size: 0.85rem;
  background: rgba(0, 0, 0, 0.4);
  color: var(--text-white);
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}

.search-box input::placeholder {
  color: var(--text-dim);
}

.search-box input:focus {
  outline: none;
  background: rgba(0, 0, 0, 0.7);
  border-color: var(--red);
  box-shadow: 0 0 15px var(--red-glow-strong);
}

.btn-clear {
  position: absolute;
  right: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 0.2rem;
  display: none;
  align-items: center;
  justify-content: center;
  transition: color var(--t-fast), transform var(--t-fast);
}

.btn-clear:hover {
  color: var(--red-light);
  transform: translateY(-50%) scale(1.15);
}

/* Dishes Grid */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 5rem;
}

/* Glassmorphic Menu Card */
.menu-card {
  background: rgba(16, 13, 12, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
  box-shadow: var(--shadow-subtle);
  position: relative;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: fadeInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.menu-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px var(--red-glow-strong), 0 0 15px rgba(229, 9, 20, 0.15);
  border-color: rgba(229, 9, 20, 0.45);
}

.menu-card-img-wrapper {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
  background: var(--bg-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.menu-card:hover .menu-card-img-wrapper {
  border-bottom-color: rgba(229, 9, 20, 0.3);
}

.menu-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}

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

.menu-card-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.6rem;
}

.menu-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.menu-card-title-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.menu-card-title {
  font-family: var(--ff-display);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--text-white);
  line-height: 1.2;
}

.menu-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.menu-card-notes {
  font-family: var(--ff-sans);
  font-size: 0.72rem;
  font-weight: 900;
  color: var(--red-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.25rem;
}

.menu-card-price {
  font-family: var(--ff-display);
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--red);
  white-space: nowrap;
  letter-spacing: -0.01em;
}

/* Badges styling */
.menu-badge {
  font-family: var(--ff-sans);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  width: fit-content;
  border: 1px solid transparent;
  box-shadow: 0 2px 5px rgba(0,0,0,0.25);
}

.menu-badge.star {
  background: rgba(229, 9, 20, 0.15);
  color: var(--red-light);
  border-color: var(--red);
}

.menu-badge.top {
  background: rgba(221, 184, 106, 0.15);
  color: var(--gold);
  border-color: var(--gold);
}

.menu-badge.rumana {
  background: rgba(27, 79, 138, 0.2);
  color: #63B3ED;
  border-color: var(--blue-badge);
}

.menu-badge.casero {
  background: rgba(27, 138, 79, 0.15);
  color: #48BB78;
  border-color: var(--green-badge);
}

.menu-badge.clasico {
  background: rgba(110, 123, 139, 0.15);
  color: #CBD5E0;
  border-color: var(--silver-badge);
}

.menu-badge.saludable {
  background: rgba(72, 187, 120, 0.15);
  color: #68D391;
  border-color: #38A169;
}

.menu-badge.especialidad {
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.2) 0%, rgba(221, 184, 106, 0.2) 100%);
  color: #F6AD55;
  border-color: #DD6B20;
}

.menu-badge.generic {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  border-color: rgba(255,255,255,0.15);
}

/* Empty state */
.menu-empty {
  grid-column: span 2;
  text-align: center;
  padding: 5rem 1.5rem;
  color: var(--text-dim);
  font-family: var(--ff-display);
  font-size: 1.35rem;
  font-style: italic;
}

/* ============================================================
   MAIN FOOTER & CONTACT (Map grayscale filter)
   ============================================================ */
.main-footer {
  border-top: 1.5px solid var(--sand-line);
  padding: 5rem 2rem 2.5rem;
  background: var(--bg-sidebar);
  position: relative;
  z-index: 10;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 1fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-block h5 {
  font-family: var(--ff-sans);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.25rem;
}

.footer-block p, .footer-block address {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-style: normal;
}

.footer-link {
  color: var(--text-white);
  transition: color var(--t-fast);
}

.footer-link:hover { 
  color: var(--red); 
}

.closed-label {
  color: var(--red);
  font-weight: 700;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--sand-line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: border-color var(--t-fast), color var(--t-fast), background var(--t-fast);
}

.footer-socials a:hover {
  border-color: var(--red);
  color: var(--white);
  background: var(--red);
}

.footer-map {
  margin-top: 1.25rem;
  border-radius: 10px;
  overflow: hidden;
  border: 1.5px solid var(--sand-line);
  height: 150px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.6);
}

/* dark map filters */
.footer-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) invert(0.9) contrast(1.2);
  transition: filter var(--t-med);
}

.footer-map:hover iframe {
  filter: grayscale(0) invert(0) contrast(1);
}

.mini-hours {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.mini-hours li {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.mini-hours li.closed {
  color: var(--red);
  font-weight: 700;
}

.copyright-bar {
  border-top: 1.5px solid var(--sand-line);
  padding-top: 2rem;
  text-align: center;
}

.copyright {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.copyright a {
  text-decoration: underline;
  color: var(--text-muted);
  margin: 0 0.5rem;
}

.copyright a:hover {
  color: var(--red);
}

/* ============================================================
   FLOATING BACK TO TOP BUTTON
   ============================================================ */
.back-to-top-btn {
  position: fixed;
  bottom: 2.5rem;
  right: 2.5rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px) scale(0.9);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.2s;
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top-btn:hover {
  background: linear-gradient(135deg, var(--red-light) 0%, var(--red) 100%);
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(229, 9, 20, 0.6);
}

.back-to-top-btn:active {
  transform: scale(0.95);
}

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 1024px) {
  .band-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .band-item:last-child {
    grid-column: span 2;
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  
  .footer-block:last-child {
    grid-column: span 2;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 768px) {
  .header-nav {
    height: 70px;
  }

  .nav-container {
    padding: 0 1.25rem;
  }

  .logo-text {
    font-size: 1.35rem;
    letter-spacing: 2px;
  }

  .nav-links, .nav-container .nav-cta-btn {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .mobile-nav-menu {
    top: 70px;
    padding: 1.25rem 1.5rem;
  }

  .hero-section {
    height: 85vh;
  }

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

  .hero-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
    padding: 0 1rem;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
    padding: 0.85rem 1.5rem;
    font-size: 0.75rem;
    letter-spacing: 1px;
  }

  /* mobile quick info band spacing */
  .floating-glass-band {
    margin: 2rem 1.25rem 0;
    width: calc(100% - 2.5rem);
    padding: 1.5rem;
  }

  .band-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0.5rem 0;
  }
  
  .band-item:last-child {
    grid-column: span 1;
    justify-content: flex-start;
  }

  .carta-section {
    padding: 5rem 1.25rem 2rem;
  }

  .carta-section .main-header {
    margin-bottom: 2.5rem;
  }

  .menu-controls {
    gap: 1.8rem;
    margin-bottom: 3rem;
  }

  /* Mobile Wrapped Category Pills */
  .menu-controls .categories-wrapper {
    margin: 0;
    padding: 0;
    overflow-x: visible;
    width: 100%;
  }

  .menu-controls .categories-wrapper::-webkit-scrollbar {
    display: none;
  }

  .menu-controls .categories-container {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    padding-bottom: 0;
    gap: 0.5rem;
  }

  .btn-category {
    padding: 0.55rem 1rem;
    font-size: 0.7rem;
    white-space: nowrap;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
  }

  .btn-category i {
    font-size: 0.8rem;
    width: auto;
    color: var(--red-light);
  }

  .btn-category:hover {
    padding-left: 1rem;
    background: rgba(229, 9, 20, 0.06);
    color: var(--red-light);
  }

  .btn-category:hover i {
    color: var(--red-light);
  }

  .btn-category.active {
    padding-left: 1rem;
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    border-color: var(--red);
    color: var(--white);
    box-shadow: 0 4px 10px var(--red-glow-strong);
  }

  .btn-category.active i {
    color: var(--white);
  }

  .menu-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
  }

  .menu-card-img-wrapper {
    height: 180px;
  }

  .menu-empty {
    grid-column: span 1;
    padding: 4rem 1rem;
  }

  .main-footer {
    padding: 4rem 1.25rem 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-block:last-child {
    grid-column: span 1;
  }

  .back-to-top-btn {
    bottom: 2rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }
}

/* ============================================================
   PROMOTION POPUP MODAL
   ============================================================ */
.promo-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.promo-modal-content {
  position: relative;
  max-width: 440px;
  width: calc(100% - 3rem);
  max-height: 90vh;
  background-color: #000000;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(229, 9, 20, 0.4);
  box-shadow: 
    0 24px 60px rgba(0, 0, 0, 0.9), 
    0 0 30px rgba(229, 9, 20, 0.2);
  transform: scale(0.85) translateY(20px);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
}

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

.promo-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-size: 1.6rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--t-fast);
  z-index: 10;
  padding-bottom: 2px;
}

.promo-close-btn:hover {
  background-color: var(--red);
  border-color: var(--red);
  transform: rotate(90deg) scale(1.1);
  box-shadow: 0 0 15px var(--red-glow-strong);
}

.promo-img {
  width: 100%;
  height: auto;
  max-height: 85vh;
  display: block;
  object-fit: contain;
}

/* Mobile Responsive Optimizations for Promo Modal */
@media (max-width: 480px) {
  .promo-modal-content {
    max-width: 350px;
    width: 90%;
    max-height: 82vh;
    border-radius: 12px;
  }
  .promo-img {
    max-height: 78vh;
  }
  .promo-close-btn {
    top: 0.75rem;
    right: 0.75rem;
    width: 36px;
    height: 36px;
    font-size: 1.4rem;
  }
}

@media (max-height: 650px) {
  .promo-modal-content {
    max-height: 95vh;
  }
  .promo-img {
    max-height: 90vh;
  }
}
