/*
PANTALLA DE CARGA INICIAL (LOADER)
Cubre toda la pantalla con fondo oscuro y un canvas donde se renderiza
una escena de particulas de fuego, humo y brasas.
Se oculta con fade-out cuando el contenido principal esta listo.
*/
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  background: #09090b;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.9s ease,
    visibility 0.9s ease;
}

.page-loader.loader-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.loader-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 24px;
}

.loader-title {
  font-size: clamp(28px, 6vw, 44px);
  font-weight: 900;
  color: #f4f4f5;
  margin-bottom: 10px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.9);
}

.loader-title em {
  display: block;
  font-style: normal;
  font-size: clamp(12px, 2.5vw, 16px);
  font-weight: 600;
  color: #fbbf24;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-top: 6px;
}

.loader-subtitle {
  color: #a8a29e;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 28px;
  animation: loaderPulse 2s ease-in-out infinite;
}

@keyframes loaderPulse {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

.loader-progress {
  width: 220px;
  height: 4px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  overflow: hidden;
}

.loader-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ef4444, #f97316, #fbbf24);
  border-radius: 99px;
  transition: width 0.3s ease;
  box-shadow: 0 0 10px rgba(249, 115, 22, 0.5);
}

/* Ocultar contenido principal mientras el loader esta activo */
body.loading-active main,
body.loading-active .nav,
body.loading-active .footer,
body.loading-active .fire-atmosphere-container,
body.loading-active .whatsapp-float {
  opacity: 0;
  visibility: hidden;
}

body:not(.loading-active) main,
body:not(.loading-active) .nav,
body:not(.loading-active) .footer,
body:not(.loading-active) .fire-atmosphere-container,
body:not(.loading-active) .whatsapp-float {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s ease 0.3s;
}

/* Respetar preferencia de movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  .page-loader {
    transition: none;
  }
  .loader-canvas {
    display: none;
  }
  .loader-subtitle {
    animation: none;
  }
  .loader-progress-bar {
    width: 100%;
    transition: none;
  }
}

/**
 * ARCHIVO: styles.css
 * PROYECTO: Apasionados por el Asado
 * DESCRIPCION: Hoja de estilos principal. Define las variables globales (colores, fuentes),
 * estructura general del sitio, efectos visuales atmosfericos (fuego, humo, brasas), 
 * barra de navegacion fija, menu hamburguesa lateral, secciones de contenido (menu, bebidas, postres, ubicacion),
 * footer y boton flotante de WhatsApp, junto con adaptaciones responsivas y de accesibilidad.
 */

body {
  background-color: white; /* Asegura un fondo blanco para el iframe */
}

/**
 * CONFIGURACION DE VARIABLES GLOBALES Y RESETEO
 */
:root {
  --bg: #09090b;
  --card: #151116;
  --card-border: rgba(255, 130, 50, 0.14);
  --text: #f4f4f5;
  --muted: #a8a29e;
  --ember: #f97316;
  --ember-strong: #ef4444;
  --gold: #fbbf24;
  --whats: #25d366;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  font-family: "Montserrat", sans-serif;
  background-color: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Bloquea el scroll del cuerpo cuando el menu lateral esta abierto */
body.menu-open {
  overflow: hidden;
}

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

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

.font-heading {
  font-family: "Playfair Display", serif;
}

::selection {
  background: rgba(249, 115, 22, 0.45);
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #0a0a0c;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(#7c2d12, #dc2626);
  border-radius: 99px;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

/**
 * EFECTOS VISUALES DE FUEGO, HUMO Y BRASAS (CAPA ATMOSFERICA)
 */
.fire-atmosphere-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 3;
  overflow: hidden;
}

.smoke-layer {
  position: absolute;
  bottom: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(120, 120, 120, 0.07) 0%,
    rgba(20, 20, 20, 0) 65%
  );
  opacity: 0.35;
  animation: smokeDrift 28s ease-in-out infinite alternate;
  filter: blur(45px);
}

.smoke-layer-2 {
  opacity: 0.25;
  animation-duration: 39s;
  animation-delay: -14s;
  background: radial-gradient(
    circle,
    rgba(150, 138, 128, 0.06) 0%,
    rgba(20, 20, 20, 0) 60%
  );
}

@keyframes smokeDrift {
  0% {
    transform: translateY(0) translateX(0) scale(1);
  }
  50% {
    transform: translateY(-4%) translateX(2%) scale(1.04);
  }
  100% {
    transform: translateY(-8%) translateX(-2%) scale(1.08);
  }
}

#fire-embers-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/**
 * NAVBAR Y NAVEGACION DE ANCLAS
 */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 16px 0;
  background: linear-gradient(rgba(9, 9, 11, 0.65), transparent);
  transition: all 0.35s ease;
}

.nav.scrolled {
  padding: 9px 0;
  background: rgba(9, 9, 11, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 130, 50, 0.14);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}

.logo-img {
  width: clamp(42px, 6.5vw, 64px);
  height: clamp(42px, 6.5vw, 64px);
  min-width: 42px;
  min-height: 42px;
  object-fit: cover;
  border-radius: 9999px;
  border: 2px solid rgba(185, 28, 28, 0.6);
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.35),
    0 0 18px rgba(239, 68, 68, 0.35);
  flex-shrink: 0;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.logo:hover .logo-img {
  transform: scale(1.07) rotate(-4deg);
  box-shadow: 0 0 26px rgba(239, 68, 68, 0.55);
}

.logo-text {
  font-weight: 800;
  font-size: 15px;
  line-height: 1.15;
  letter-spacing: 0.4px;
}

.logo-text em {
  display: block;
  font-style: normal;
  font-weight: 600;
  font-size: 10.5px;
  color: var(--gold);
  letter-spacing: 2.6px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 4px;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: 99px;
  font-size: 13.5px;
  font-weight: 600;
  color: #d6d3d1;
  transition: all 0.25s ease;
}

.nav-links a:hover {
  color: #ffd9ae;
  background: rgba(249, 115, 22, 0.14);
}

.nav-links a.active {
  color: #ffd9ae;
  background: rgba(249, 115, 22, 0.18);
  box-shadow: inset 0 0 0 1px rgba(251, 191, 36, 0.35);
}

.nav-cta {
  padding: 10px 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, #dc2626, #ea580c);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.35);
  transition: all 0.25s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(234, 88, 12, 0.5);
}

/**
 * BOTON HAMBURGUESA (Transformacion de lineas a X)
 */
.nav-toggle {
  display: none; /* Oculto en dispositivos de escritorio por defecto */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  border: 1px solid rgba(255, 130, 50, 0.28);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
  cursor: pointer;
  position: relative;
  z-index: 95; /* Se ubica sobre el panel para permitir el cierre */
  transition:
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.nav-toggle:hover {
  background: rgba(249, 115, 22, 0.14);
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.3);
}

.nav-toggle span {
  width: 21px;
  height: 2px;
  background: #ffd9ae;
  border-radius: 2px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

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

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

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

/**
 * MENU LATERAL MOVIL Y FONDO OSCURO (Backdrop)
 */
.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.menu-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 90;
  width: min(310px, 84vw);
  height: 100dvh;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 86px 22px 28px;
  background: linear-gradient(
    180deg,
    rgba(18, 13, 17, 0.97),
    rgba(10, 8, 11, 0.97)
  );
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-right: 1px solid rgba(255, 130, 50, 0.2);
  box-shadow: 14px 0 44px rgba(0, 0, 0, 0.55);
  transform: translateX(-108%);
  visibility: hidden;
  transition:
    transform 0.38s cubic-bezier(0.22, 0.8, 0.3, 1),
    visibility 0.38s;
  overflow-y: auto;
}

.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
}

.mobile-menu-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 18px;
  margin-bottom: 6px;
  border-bottom: 1px solid rgba(255, 130, 50, 0.14);
}

.mobile-links {
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}

.mobile-links a {
  display: block;
  padding: 13px 16px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 12px;
  border: 1px solid transparent;
}

.mobile-links a:hover {
  background: rgba(249, 115, 22, 0.14);
}

.mobile-links a.active {
  color: #ffd9ae;
  background: rgba(249, 115, 22, 0.16);
  border-color: rgba(251, 191, 36, 0.3);
  box-shadow: none;
}

.mobile-cta {
  margin-top: 16px;
  text-align: center;
  padding: 13px 20px;
  border-radius: 12px;
}

.mobile-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 10px;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid rgba(37, 211, 102, 0.4);
  background: rgba(37, 211, 102, 0.08);
  color: #4ade80;
  font-size: 13.5px;
  font-weight: 700;
  transition: all 0.25s ease;
}

.mobile-wa:hover {
  background: var(--whats);
  color: #04140a;
}

.mobile-wa .wa-ico {
  width: 17px;
  height: 17px;
}

/**
 * SECCION HERO (Cabecera principal de bienvenida)
 */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: #0d0a0f;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05);
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 50% 92%,
      rgba(234, 88, 12, 0.3),
      transparent 55%
    ),
    linear-gradient(
      180deg,
      rgba(9, 9, 11, 0.78) 0%,
      rgba(9, 9, 11, 0.42) 45%,
      rgba(9, 9, 11, 0.94) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 880px;
  padding: 130px 24px 90px;
}

.hero-badge {
  display: inline-block;
  padding: 9px 20px;
  border-radius: 99px;
  border: 1px solid rgba(251, 191, 36, 0.35);
  background: rgba(251, 191, 36, 0.08);
  color: #fcd34d;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(40px, 7vw, 76px);
  font-weight: 900;
  line-height: 1.06;
  margin: 24px 0 18px;
  text-shadow: 0 6px 40px rgba(0, 0, 0, 0.65);
}

.hero h1 em {
  font-style: italic;
  background: linear-gradient(90deg, #fbbf24, #f97316 55%, #ef4444);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  color: #d6d3d1;
  font-size: clamp(15px, 2vw, 18px);
  max-width: 640px;
  margin: 0 auto;
}

.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 15px 30px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.3px;
  border: 1px solid transparent;
  transition: all 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #dc2626, #ea580c);
  box-shadow: 0 10px 30px rgba(220, 38, 38, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 42px rgba(234, 88, 12, 0.5);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  border-color: rgba(251, 191, 36, 0.6);
  color: #fcd34d;
  transform: translateY(-2px);
}

.scroll-cue {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 217, 174, 0.55);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  animation: cueFloat 2.4s ease-in-out infinite;
}

.scroll-cue::after {
  content: "";
  width: 1px;
  height: 34px;
  background: linear-gradient(rgba(251, 191, 36, 0.7), transparent);
}

@keyframes cueFloat {
  0%,
  100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, 8px);
  }
}

/**
 * ESTILOS GENERALES DE SECCIONES
 */
.section {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 100px 24px;
}

.section-drinks {
  background: radial-gradient(
    60% 45% at 50% 0%,
    rgba(220, 38, 38, 0.08),
    transparent
  );
}

.section-desserts {
  background: radial-gradient(
    60% 45% at 50% 0%,
    rgba(245, 158, 11, 0.09),
    transparent
  );
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--gold);
}

.section-title {
  font-size: clamp(30px, 4.6vw, 50px);
  font-weight: 900;
  line-height: 1.12;
}

.section-desc {
  color: var(--muted);
  margin-top: 14px;
  font-size: 15.5px;
}

/**
 * TARJETAS DE PLATOS, POSTRES Y BEBIDAS
 */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 22px;
}

.drinks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 22px;
}

.dish-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #16121a, #100d13);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  overflow: hidden;
}

.ember-glow {
  box-shadow: 0 4px 20px rgba(220, 38, 38, 0.15);
  transition: all 0.3s ease-in-out;
}

.ember-glow:hover {
  box-shadow: 0 0 30px rgba(239, 68, 68, 0.35);
  border-color: rgba(239, 68, 68, 0.6);
}

.dish-card:hover {
  transform: translateY(-6px);
}

.dish-img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.dish-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.dish-card:hover .dish-img-wrap img {
  transform: scale(1.07);
}

.dish-img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(9, 9, 11, 0.6));
}

.dish-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}

.dish-body h3 {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.dish-body p {
  color: var(--muted);
  font-size: 13.5px;
  flex: 1;
}

.dish-btn {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 11px;
  border: 1px solid rgba(37, 211, 102, 0.4);
  background: rgba(37, 211, 102, 0.07);
  color: #4ade80;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.25s ease;
}

.dish-btn:hover {
  background: var(--whats);
  color: #04140a;
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.4);
}

.wa-ico {
  width: 15px;
  height: 15px;
  fill: currentColor;
  flex-shrink: 0;
}

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 5px 12px;
  border-radius: 99px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.badge-spec {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #1c1006;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
}

.badge-2x1 {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  color: #fff;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.45);
  animation: badgePulse 2.2s ease-in-out infinite;
}

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

/**
 * SECCION DE UBICACION Y MAPA
 */
.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.info-card {
  background: linear-gradient(180deg, #16121a, #100d13);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 34px 26px;
  text-align: center;
}

.info-card:hover {
  transform: translateY(-5px);
}

.info-card h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--gold);
}

.info-card p {
  color: var(--muted);
  font-size: 14.5px;
}

.info-card a.tel {
  color: #fcd34d;
  font-weight: 800;
  font-size: 20px;
}

.info-card a.tel:hover {
  text-decoration: underline;
}

.map-wrap {
  margin-top: 34px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 130, 50, 0.25);
  box-shadow:
    0 12px 44px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(234, 88, 12, 0.12);
  position: relative;
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
  filter: invert(0.9) hue-rotate(180deg) saturate(0.7) brightness(0.95)
    contrast(0.95);
}

.map-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 18px;
}

.map-link {
  padding: 10px 20px;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  font-size: 13px;
  font-weight: 600;
  color: #d6d3d1;
  transition: all 0.25s ease;
}

.map-link:hover {
  border-color: rgba(251, 191, 36, 0.6);
  color: #fcd34d;
  background: rgba(251, 191, 36, 0.08);
  transform: translateY(-2px);
}

/**
 * PIE DE PAGINA (Footer)
 */
.footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 130, 50, 0.12);
  background: rgba(10, 9, 12, 0.9);
  padding: 36px 24px;
  text-align: center;
}

.footer p {
  font-size: 13.5px;
  color: #d6d3d1;
}

.footer small {
  display: block;
  margin-top: 8px;
  color: #78716c;
  font-size: 12px;
}

.footer strong {
  color: var(--gold);
}

.heart {
  color: #ef4444;
  display: inline-block;
  animation: heartBeat 1.6s ease-in-out infinite;
}

@keyframes heartBeat {
  0%,
  100% {
    transform: scale(1);
  }
  12% {
    transform: scale(1.3);
  }
  24% {
    transform: scale(1);
  }
}

/**
 * BOTON FLOTANTE DE WHATSAPP
 */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: #25d366;
  color: #ffffff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 100;
  transition: all 0.3s ease-in-out;
  animation: whatsappPulse 2s infinite;
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}

.whatsapp-float:hover {
  background-color: #20ba5a;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
  animation: none;
}

@keyframes whatsappPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/**
 * ANIMACIONES DE APARICION AL HACER SCROLL (Reveal)
 */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.menu-grid .reveal:nth-child(4n + 2),
.drinks-grid .reveal:nth-child(3n + 2) {
  transition-delay: 0.08s;
}

.menu-grid .reveal:nth-child(4n + 3),
.drinks-grid .reveal:nth-child(3n) {
  transition-delay: 0.16s;
}

.menu-grid .reveal:nth-child(4n) {
  transition-delay: 0.24s;
}

/*
SECCION: CARGA SUAVE DE IMAGENES
DESCRIPCION: Oculta las imagenes hasta que terminan de cargar completamente.
Muestra un fondo placeholder con animacion shimmer mientras se descargan,
evitando que el usuario vea el icono de imagen rota o espacios vacios.
Cuando la imagen carga con exito, aparece con una transicion de opacidad.
*/

/* Estado inicial: imagenes ocultas hasta que carguen */
.dish-img-wrap img,
.hero-bg,
.logo-img {
  opacity: 0;
  transition: opacity 0.7s ease-in-out;
}

/* Estado cargado: imagen visible con transicion suave */
.dish-img-wrap img.img-loaded,
.hero-bg.img-loaded,
.logo-img.img-loaded {
  opacity: 1;
}

/* Fondo placeholder animado mientras la imagen se descarga */
.dish-img-wrap {
  background: linear-gradient(
    135deg,
    #1a1520 0%,
    #241a28 25%,
    #1a1520 50%,
    #241a28 75%,
    #1a1520 100%
  );
  background-size: 300% 300%;
  animation: imgPlaceholderShimmer 2.5s ease infinite;
}

/* Cuando la imagen ya cargo, se detiene la animacion del placeholder */
.dish-img-wrap.img-loaded {
  animation: none;
  background: transparent;
}

/* Animacion del efecto shimmer (brillo que se mueve) */
@keyframes imgPlaceholderShimmer {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Placeholder para el hero y logos */
.hero-bg {
  background: #1a1520;
}

.logo-img {
  background: #1a1520;
}

/* Respetar preferencia de movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  .dish-img-wrap {
    animation: none;
    background: #1a1520;
  }
  .dish-img-wrap img,
  .hero-bg,
  .logo-img {
    transition: none;
  }
}

/**
 * DISEÑO RESPONSIVO Y PREFERENCIAS DE ACCESIBILIDAD
 */
@media (max-width: 900px) {
  .nav-toggle {
    display: flex; /* Muestra el boton hamburguesa en tablets y mobiles */
  }
  .nav-inner .nav-links {
    display: none; /* Oculta los enlaces de escritorio */
  }
  .nav-inner .nav-cta {
    display: none;
  }
  .nav-inner {
    gap: 14px;
  }
}

@media (max-width: 560px) {
  .section {
    padding: 72px 18px;
  }
  .hero-content {
    padding: 120px 18px 80px;
  }
  .logo {
    gap: 10px;
  }
  .map-wrap iframe {
    height: 320px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .fire-atmosphere-container,
  #fire-embers-canvas,
  .smoke-layer,
  .whatsapp-float {
    animation: none !important;
  }
  .fire-atmosphere-container,
  #fire-embers-canvas,
  .smoke-layer {
    display: none !important;
  }
  .badge-2x1,
  .heart,
  .scroll-cue {
    animation: none !important;
  }
  .mobile-menu {
    transition: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
