/* ═══════════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════════ */
:root {
  --color-bg: #1c1a18;
  --color-surface-01: rgba(255,255,255,0.04);
  --color-surface-02: rgba(255,255,255,0.08);
  --color-surface-03: rgba(255,255,255,0.13);
  --color-border: rgba(255,255,255,0.10);
  --color-gold: #c9a84c;
  --color-gold-dim: rgba(201,168,76,0.15);
  --color-green: #4a5c3a;
  --color-green-dim: rgba(74,92,58,0.20);
  --color-purple: #5c3d5e;
  --color-text-primary: #f0ece4;
  --color-text-muted: rgba(240,236,228,0.55);
  --color-text-faint: rgba(240,236,228,0.28);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --text-hero: clamp(3.5rem, 8vw, 7rem);
  --text-h1: clamp(2rem, 5vw, 3.5rem);
  --text-h2: clamp(1.5rem, 3vw, 2.2rem);
  --text-h3: clamp(1.1rem, 2vw, 1.4rem);
  --text-body: clamp(0.9rem, 1.5vw, 1.05rem);
  --text-small: 0.8rem;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;
  --section-pad: clamp(4rem, 10vh, 8rem);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-xl: 48px;
  --radius-pill: 9999px;
  --glass-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 1px 0 rgba(255,255,255,0.08) inset;
  --glass-shadow-lg: 0 24px 64px rgba(0,0,0,0.6), 0 1px 0 rgba(255,255,255,0.10) inset;
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --dur-fast: 150ms;
  --dur-normal: 300ms;
  --dur-slow: 600ms;
  --dur-cinematic: 1200ms;
}

/* ═══════════════════════════════════════════
   RESET
═══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--color-bg);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }

::selection { background: var(--color-gold-dim); color: var(--color-gold); }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb { background: var(--color-gold-dim); border-radius: 3px; }

*:focus-visible { outline: 2px solid var(--color-gold); outline-offset: 3px; border-radius: 4px; }

/* ═══════════════════════════════════════════
   COMPONENTES BASE
═══════════════════════════════════════════ */
.glass-card {
  background: var(--color-surface-02);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px) saturate(180%);
  box-shadow: var(--glass-shadow);
  transition:
    transform var(--dur-normal) var(--ease-spring),
    box-shadow var(--dur-normal) var(--ease-smooth),
    background var(--dur-normal) var(--ease-smooth);
}
.glass-card:hover {
  transform: translateY(-4px) scale(1.005);
  background: var(--color-surface-03);
  box-shadow: var(--glass-shadow-lg);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-gold), #e8c060);
  color: #1c1a18;
  border-radius: var(--radius-pill);
  padding: 0.75rem 2rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-body);
  letter-spacing: 0.03em;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: inline-block;
  transition: transform var(--dur-fast) var(--ease-spring), box-shadow var(--dur-fast) var(--ease-smooth);
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  transition: none;
}
.btn-primary:hover::before {
  animation: shimmer 600ms ease forwards;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.35);
}
@keyframes shimmer {
  to { left: 150%; }
}

.btn-secondary {
  background: var(--color-surface-01);
  border: 1px solid rgba(201,168,76,0.5);
  color: var(--color-gold);
  border-radius: var(--radius-pill);
  padding: 0.75rem 2rem;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--text-body);
  letter-spacing: 0.03em;
  cursor: pointer;
  backdrop-filter: blur(8px);
  display: inline-block;
  transition: all var(--dur-normal) var(--ease-smooth);
}
.btn-secondary:hover {
  background: var(--color-gold-dim);
  border-color: var(--color-gold);
  transform: translateY(-2px);
}

.section-label {
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: var(--space-sm);
}
.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--color-gold);
  flex-shrink: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 5vw, 3rem);
}

/* ═══════════════════════════════════════════
   ANIMACIONES REVEAL
═══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out);
  will-change: transform;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal[data-reveal="left"] { transform: translateX(-40px); }
.reveal[data-reveal="left"].visible { transform: translateX(0); }
.reveal[data-reveal="right"] { transform: translateX(40px); }
.reveal[data-reveal="right"].visible { transform: translateX(0); }
.reveal[data-reveal="scale"] { transform: scale(0.92); }
.reveal[data-reveal="scale"].visible { transform: scale(1); }
.reveal[data-reveal="fade"] { transform: none; }
.reveal[data-reveal="fade"].visible { transform: none; }

.reveal[data-delay="100"] { transition-delay: 100ms; }
.reveal[data-delay="200"] { transition-delay: 200ms; }
.reveal[data-delay="300"] { transition-delay: 300ms; }
.reveal[data-delay="400"] { transition-delay: 400ms; }
.reveal[data-delay="500"] { transition-delay: 500ms; }
.reveal[data-delay="600"] { transition-delay: 600ms; }

/* ═══════════════════════════════════════════
   LOADING SCREEN
═══════════════════════════════════════════ */
#loading-screen {
  position: fixed;
  inset: 0;
  background: var(--color-bg);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 800ms var(--ease-smooth);
}
#loading-screen.fade-out { opacity: 0; pointer-events: none; }
.loading-logo-img {
  height: 90px;
  width: auto;
  object-fit: contain;
  animation: loadPulse 1.2s ease-in-out infinite alternate;
}
.loading-sub {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.4em;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}
@keyframes loadPulse {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

/* ═══════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem var(--space-md);
  transition: all 400ms var(--ease-smooth);
  background: transparent;
}
.navbar.scrolled {
  background: rgba(28,26,24,0.65);
  backdrop-filter: blur(28px) saturate(220%);
  -webkit-backdrop-filter: blur(28px) saturate(220%);
  border-bottom: 1px solid rgba(201,168,76,0.12);
  padding: 0.85rem var(--space-md);
  box-shadow: 0 4px 32px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.04);
}

.navbar__logo {
  display: flex;
  align-items: center;
  line-height: 1;
}
.navbar__logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
  transition: opacity var(--dur-fast) ease;
}
.navbar__logo-img:hover { opacity: 0.85; }
.navbar__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.navbar__link {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  position: relative;
  transition: color 200ms var(--ease-smooth);
}
.navbar__link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--color-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms var(--ease-smooth);
}
.navbar__link:hover,
.navbar__link.active { color: var(--color-gold); }
.navbar__link:hover::after,
.navbar__link.active::after { transform: scaleX(1); }
.navbar__cta {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
}
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.navbar__hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--color-text-primary);
  transition: all 300ms var(--ease-smooth);
  transform-origin: center;
}
.navbar__hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.navbar__hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.navbar__hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 0; right: 0;
  width: min(300px, 85vw);
  height: 100vh;
  background: rgba(28,26,24,0.97);
  backdrop-filter: blur(20px);
  border-left: 1px solid var(--color-border);
  z-index: 999;
  flex-direction: column;
  padding: 5rem 2rem 2rem;
  gap: 0;
  transform: translateX(100%);
  transition: transform 350ms var(--ease-spring);
}
.mobile-drawer.open { transform: translateX(0); }
.mobile-drawer__link {
  display: block;
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--color-text-primary);
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
  transition: color 200ms var(--ease-smooth);
}
.mobile-drawer__link:hover { color: var(--color-gold); }
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  opacity: 0;
  transition: opacity 300ms ease;
}
.mobile-overlay.open { opacity: 1; }

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.section-hero {
  height: 100dvh;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 96px;
  padding-bottom: 48px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #1c1a18;
}
.hero__bg-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.hero__bg-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.8s var(--ease-out);
  animation: heroZoom 10s var(--ease-out) forwards;
}
.hero__bg-media.is-ready {
  opacity: 1;
}
@keyframes heroZoom {
  from { transform: scale(1.15); }
  to   { transform: scale(1); }
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(28,26,24,0.45) 0%,
    rgba(28,26,24,0.25) 50%,
    rgba(28,26,24,0.75) 100%
  );
}
.hero__orb {
  display: none;
}
.hero__orb--a {
  width: 600px; height: 600px;
  background: var(--color-gold);
  top: -100px; left: -100px;
  animation: floatA 18s ease-in-out infinite alternate;
}
.hero__orb--b {
  width: 500px; height: 500px;
  background: var(--color-purple);
  bottom: -80px; right: -80px;
  animation: floatB 22s ease-in-out infinite alternate;
}
.hero__orb--c {
  width: 400px; height: 400px;
  background: var(--color-green);
  top: 50%; left: 40%;
  animation: floatC 14s ease-in-out infinite alternate;
}
.hero__noise {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none;
}
@keyframes floatA {
  from { transform: translate(0, 0) scale(0.95); }
  to { transform: translate(60px, 60px) scale(1.05); }
}
@keyframes floatB {
  from { transform: translate(0, 0) scale(1.05); }
  to { transform: translate(-60px, -60px) scale(0.95); }
}
@keyframes floatC {
  from { transform: translate(0, 0) scale(0.98); }
  to { transform: translate(-40px, 50px) scale(1.04); }
}
.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-surface-02);
  border: 1px solid rgba(201,168,76,0.4);
  border-radius: var(--radius-pill);
  padding: 0.4rem 1.2rem;
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  backdrop-filter: blur(8px);
  animation: heroReveal 800ms var(--ease-out) 200ms both;
}
.hero__title {
  line-height: 1;
  animation: heroReveal 800ms var(--ease-out) 400ms both;
  margin: 0;
}
.hero__logo-img {
  height: clamp(160px, 28vw, 320px);
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 40px rgba(201,168,76,0.45));
  animation: heroReveal 800ms var(--ease-out) 400ms both, heroLogoGlow 5s ease-in-out 1.4s infinite;
  transform-origin: center center;
}
@keyframes heroLogoGlow {
  0%, 100% { filter: drop-shadow(0 8px 40px rgba(201,168,76,0.45)); }
  50%      { filter: drop-shadow(0 8px 60px rgba(201,168,76,0.75)); }
}

@keyframes logoFloat {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.hero__subtitle {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--color-text-muted);
  max-width: 480px;
  line-height: 1.7;
  animation: heroReveal 800ms var(--ease-out) 600ms both;
}
.hero__ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: heroReveal 800ms var(--ease-out) 800ms both;
}
.hero__scroll-indicator {
  position: absolute;
  bottom: 1.25rem;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: fit-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-text-faint);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: opacity 300ms ease;
  animation: heroReveal 800ms var(--ease-out) 1000ms both;
  z-index: 1;
}
.hero__scroll-indicator .hero__scroll-line { height: 30px; }
/* Pantallas bajas: ocultamos el "Descubrir" para no chocar con los CTAs */
@media (max-height: 760px) {
  .hero__scroll-indicator { display: none; }
}
.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: var(--color-text-faint);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.7); transform-origin: top; }
  50% { opacity: 0.8; transform: scaleY(1); }
}
@keyframes heroReveal {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════
   HISTORIA
═══════════════════════════════════════════ */
.section-historia {
  padding: var(--section-pad) 0;
}
.historia__grid {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: var(--space-lg);
  align-items: center;
}
.historia__text p {
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.historia__stats {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: var(--space-md);
}
.historia__stat {
  background: var(--color-surface-01);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 0.6rem 1.2rem;
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 400;
  color: var(--color-text-muted);
  backdrop-filter: blur(8px);
  text-align: center;
  line-height: 1.4;
}
.historia__stat strong {
  display: block;
  color: var(--color-gold);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}
.historia__stat-unit { display: inline; }
.historia__visual {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.historia__photo {
  position: relative;
  width: 100%;
  height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 0;
}
.historia__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--dur-slow) var(--ease-smooth);
}
.historia__photo:hover img { transform: scale(1.03); }
.historia__photo--empty {
  background:
    radial-gradient(120% 80% at 30% 20%, rgba(201,168,76,0.18), transparent 60%),
    radial-gradient(100% 80% at 80% 90%, rgba(74,92,58,0.25), transparent 60%),
    var(--color-surface-02);
}
.historia__photo--empty img { display: none; }
.historia__photo--empty::before {
  content: 'Foto del local';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  color: var(--color-text-faint);
}
.historia__photo-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--color-gold);
  background: rgba(28,26,24,0.65);
  border: 1px solid rgba(201,168,76,0.35);
  border-radius: var(--radius-pill);
  padding: 0.4rem 0.95rem;
  backdrop-filter: blur(10px);
}
.historia__orb {
  position: absolute;
  width: 120px; height: 120px;
  background: var(--color-green);
  border-radius: 50%;
  filter: blur(40px);
  bottom: -30px; right: -30px;
  animation: floatC 8s ease-in-out infinite alternate;
  opacity: 0.5;
  z-index: -1;
}

/* ═══════════════════════════════════════════
   DESTACADOS
═══════════════════════════════════════════ */
.section-destacados {
  padding: var(--section-pad) 0;
}
.section-header {
  margin-bottom: var(--space-lg);
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 300;
  color: var(--color-text-primary);
  margin-top: 0.25rem;
}
.dishes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  perspective: 1400px;
  perspective-origin: center;
}
.dish-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
  cursor: pointer;
  box-shadow:
    0 6px 18px rgba(0,0,0,0.35),
    0 1px 0 rgba(255,255,255,0.08) inset;
}
.dish-card:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 4px;
}
.dish-card[data-tilt] {
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.5s ease,
    background var(--dur-normal) var(--ease-smooth);
}
.dish-card[data-tilt].is-tilting {
  transition: transform 0.08s linear, box-shadow 0.5s ease;
  box-shadow:
    0 35px 70px -20px rgba(0,0,0,0.7),
    0 20px 40px -15px rgba(0,0,0,0.5),
    0 0 0 1px rgba(255,255,255,0.06) inset;
}
.dish-card:hover {
  box-shadow:
    0 30px 60px -15px rgba(0,0,0,0.65),
    0 0 0 1px rgba(255,255,255,0.05) inset;
}
.dish-card:hover .dish-card__image-inner { transform: translateZ(40px) scale(1.08); }
.dish-card__image {
  height: 200px;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  position: relative;
  flex-shrink: 0;
  transform-style: preserve-3d;
}
.dish-card__image-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  transition: transform 0.55s var(--ease-smooth);
  transform: translateZ(0);
}
.dish-card__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(28,26,24,0.7);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 0.2rem 0.7rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  backdrop-filter: blur(8px);
  color: var(--color-text-muted);
  transform: translateZ(60px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}
.dish-card__body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.5rem;
  transform-style: preserve-3d;
}
.dish-card__name {
  transform: translateZ(30px);
}
.dish-card__category {
  transform: translateZ(20px);
}
.dish-card__price {
  transform: translateZ(50px);
}
.dish-card__category {
  background: var(--color-surface-01);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 0.2rem 0.75rem;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  display: inline-block;
  width: fit-content;
}
.dish-card__name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--color-text-primary);
  line-height: 1.2;
}
.dish-card__desc {
  font-size: var(--text-small);
  color: var(--color-text-muted);
  line-height: 1.5;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dish-card__footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-border);
}
.dish-card__price {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-gold);
  transition: text-shadow var(--dur-fast) ease;
}
.dish-card:hover .dish-card__price {
  text-shadow: 0 0 20px rgba(201,168,76,0.5);
}

/* ─── Efecto cristal con reflejo (shine) ─── */
.dish-card,
.menu-card {
  position: relative;
}
.dish-card::after,
.menu-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 30%,
    rgba(255,255,255,0.06) 42%,
    rgba(255,255,255,0.22) 50%,
    rgba(255,255,255,0.06) 58%,
    transparent 70%,
    transparent 100%
  );
  transform: skewX(-18deg);
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.2s ease;
  border-radius: inherit;
}
@media (hover: hover) {
  .dish-card:hover::after,
  .menu-card:hover::after {
    animation: cardShine 1.1s var(--ease-out) forwards;
    opacity: 1;
  }
}
@keyframes cardShine {
  0%   { left: -120%; opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { left: 220%; opacity: 0; }
}

/* Brillo superior tipo cristal — fina línea reflectante en el borde de arriba */
.dish-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.55) 50%,
    rgba(255,255,255,0) 100%);
  pointer-events: none;
  z-index: 2;
}

/* Reduced motion: sin animación */
@media (prefers-reduced-motion: reduce) {
  .dish-card:hover::after,
  .menu-card:hover::after {
    animation: none;
    opacity: 0;
  }
}

/* ═══════════════════════════════════════════
   CARTA (TABS)
═══════════════════════════════════════════ */
.section-carta {
  padding: var(--section-pad) 0;
}

.tab-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-md);
}
.tab-nav {
  background: var(--color-surface-01);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 4px;
  display: inline-flex;
  gap: 4px;
}
.tab-btn {
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-text-muted);
  background: transparent;
  transition: all 200ms var(--ease-smooth);
  white-space: nowrap;
}
.tab-btn.active {
  background: var(--color-gold);
  color: #1c1a18;
  font-weight: 500;
  box-shadow: 0 2px 12px var(--color-gold-dim);
}
.tab-panel {
  display: none;
  animation: tabIn 200ms var(--ease-out) both;
}
.tab-panel.active { display: block; }
@keyframes tabIn {
  from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: translateX(0); }
}
.menu-dia-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.menu-col__header {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--color-gold);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border);
}
.menu-col__item {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: var(--text-small);
  line-height: 1.4;
}
.menu-col__item:last-child { border-bottom: none; }
.menu-price-note {
  text-align: center;
  margin-top: var(--space-md);
  padding: 1.25rem;
  color: var(--color-text-muted);
  font-size: var(--text-small);
}
.menu-price-note strong { color: var(--color-gold); font-size: 1.1rem; }
.menu-price-note small { display: block; margin-top: 0.25rem; color: var(--color-text-faint); }

/* Timeline degustación */
.timeline { display: flex; flex-direction: column; gap: 0; max-width: 600px; margin: 0 auto; }
.timeline-step {
  display: flex;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  position: relative;
}
.timeline-step::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 32px;
  bottom: 0;
  width: 1px;
  background: var(--color-gold);
  opacity: 0.3;
}
.timeline-step:last-child::before { display: none; }
.timeline-dot {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--color-gold-dim);
  border: 1px solid rgba(201,168,76,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--color-gold);
  flex-shrink: 0;
}
.timeline-content h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--color-text-primary);
  margin-bottom: 0.2rem;
}
.timeline-content p {
  font-size: var(--text-small);
  color: var(--color-text-muted);
}
.timeline-price-note {
  text-align: center;
  margin-top: var(--space-md);
}

/* Carta completa */
.carta-section { margin-bottom: var(--space-md); }
.carta-section h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--color-gold);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border);
}
.carta-list { display: flex; flex-direction: column; gap: 0.25rem; }
.carta-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--color-surface-01);
  gap: 1rem;
}
.carta-item span:first-child { color: var(--color-text-muted); font-size: var(--text-small); }
.carta-item span:last-child { color: var(--color-gold); font-family: var(--font-display); font-size: 1.1rem; white-space: nowrap; }
.carta-download { text-align: center; margin-top: var(--space-md); }

/* ═══════════════════════════════════════════
   RESERVAS
═══════════════════════════════════════════ */
.section-reservas {
  padding: var(--section-pad) 0;
}
.reservas__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}
.reservas__form-card {
  padding: var(--space-md);
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
  font-weight: 400;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--color-surface-01);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text-primary);
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: var(--text-body);
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-group select option { background: #1c1a18; color: var(--color-text-primary); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-gold);
  outline: none;
  box-shadow: 0 0 0 3px var(--color-gold-dim);
}
.form-group input.input-error,
.form-group select.input-error,
.form-group textarea.input-error {
  border-color: #d96a6a;
  box-shadow: 0 0 0 3px rgba(217,106,106,0.15);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.btn-block { width: 100%; margin-top: 0.5rem; }
.map-placeholder {
  width: 100%;
  height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--color-text-muted);
  text-align: center;
  padding: 2rem;
}
.map-placeholder__pin {
  font-size: 3rem;
  animation: floatC 4s ease-in-out infinite alternate;
}
.map-placeholder__address {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--color-text-primary);
}
.map-placeholder__coords {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-text-faint);
}
.map-placeholder__link {
  color: var(--color-gold);
  font-size: var(--text-small);
  border-bottom: 1px solid rgba(201,168,76,0.3);
  padding-bottom: 1px;
  transition: border-color var(--dur-fast) ease;
}
.map-placeholder__link:hover { border-color: var(--color-gold); }
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding: 1.25rem;
  background: var(--color-surface-01);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-small);
  color: var(--color-text-muted);
}
.contact-info__item { display: flex; align-items: flex-start; gap: 0.5rem; }

/* ═══════════════════════════════════════════
   FIDELIZACIÓN
═══════════════════════════════════════════ */
.section-fidelizacion {
  padding: var(--section-pad) 0;
}
.stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  gap: 0;
  flex-wrap: wrap;
  row-gap: 1rem;
}
.stepper__step {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
}
.stepper__circle {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-faint);
  background: var(--color-surface-01);
  transition: all var(--dur-normal) var(--ease-smooth);
  position: relative;
  z-index: 1;
}
.stepper__step.active .stepper__circle {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: #1c1a18;
}
.stepper__step.done .stepper__circle {
  border-color: var(--color-gold);
  color: var(--color-gold);
}
.stepper__label {
  font-size: 0.7rem;
  color: var(--color-text-faint);
  text-align: center;
  max-width: 70px;
  line-height: 1.3;
  letter-spacing: 0.03em;
}
.stepper__step.active .stepper__label { color: var(--color-gold); }
.stepper__line {
  flex: 1;
  min-width: 40px;
  max-width: 80px;
  height: 1px;
  background: var(--color-border);
  margin-bottom: 1.5rem;
  transition: background var(--dur-slow) ease;
}
.stepper__line.done { background: var(--color-gold); }

.fidelizacion-panels { max-width: 600px; margin: 0 auto; }
.fidel-panel {
  display: none;
  animation: tabIn 250ms var(--ease-out) both;
}
.fidel-panel.active { display: block; }
.fidel-panel .glass-card { padding: var(--space-md); }
.fidel-panel h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--color-text-primary);
}
.fidel-panel p { color: var(--color-text-muted); margin-bottom: 1.25rem; line-height: 1.7; }
.fidel-checkbox {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  cursor: pointer;
  color: var(--color-text-muted);
  font-size: var(--text-small);
}
.fidel-checkbox input[type="checkbox"] { accent-color: var(--color-gold); width: 16px; height: 16px; }
.warning-note {
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius-md);
  padding: 1rem;
  font-size: var(--text-small);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.warning-note strong { color: var(--color-gold); }
.code-display {
  text-align: center;
  padding: var(--space-md);
}
.code-value {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  color: var(--color-gold);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 0.5rem;
}
.code-desc { color: var(--color-text-muted); font-size: var(--text-small); margin-bottom: 0.25rem; }
.code-validity { color: var(--color-text-faint); font-size: var(--text-small); margin-bottom: 1.5rem; }
.code-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1rem; }
.code-note { font-size: var(--text-small); color: var(--color-text-faint); font-style: italic; }

/* Confetti */
.confetti-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 5000;
  overflow: hidden;
}
.confetti-particle {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  animation: confettiFall linear forwards;
}
@keyframes confettiFall {
  0% { transform: translateY(-20px) rotate(0deg); opacity: 1; }
  100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}
.success-screen { text-align: center; padding: var(--space-lg) var(--space-md); }
.success-screen h3 { font-family: var(--font-display); font-size: var(--text-h2); color: var(--color-gold); margin-bottom: 1rem; }
.success-screen p { color: var(--color-text-muted); margin-bottom: var(--space-md); }

/* ═══════════════════════════════════════════
   PARTNERS CARRUSEL
═══════════════════════════════════════════ */
.section-partners {
  padding: var(--section-pad) 0;
  overflow: hidden;
}
.partners__intro { max-width: 560px; }
.partners__intro p { color: var(--color-text-muted); line-height: 1.7; margin-top: 0.75rem; }
.carousel-track-wrapper {
  overflow: hidden;
  margin-top: var(--space-lg);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  contain: paint;
}
.carousel-row {
  display: flex;
  width: max-content;
  margin-bottom: 1.5rem;
  align-items: center;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}
.carousel-row--fwd { animation: scrollLeft 40s linear infinite; }
.carousel-row--rev { animation: scrollLeft 40s linear infinite reverse; }
@media (hover: hover) {
  .carousel-track-wrapper:hover .carousel-row { animation-play-state: paused; }
}
@keyframes scrollLeft {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
.partner-logo {
  flex-shrink: 0;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem;
  margin-right: 3.5rem;
  opacity: 0.55;
  filter: grayscale(40%);
  transition: opacity 0.4s ease, filter 0.4s ease, transform 0.4s ease;
}
.partner-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.06);
}
.partner-logo img {
  max-height: 100%;
  max-width: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.partner-logo--light {
  background: #f0ece4;
  border-radius: 12px;
  padding: 0.65rem 1.25rem;
  height: 64px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.partner-logo--light img { max-height: 36px; }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.footer {
  background: rgba(0,0,0,0.4);
  border-top: 1px solid var(--color-border);
  padding: var(--space-lg) 0 var(--space-md);
  backdrop-filter: blur(8px);
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}
.footer__logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  margin-bottom: 0.25rem;
}
.footer__tagline {
  font-family: var(--font-body);
  font-size: var(--text-small);
  color: var(--color-text-faint);
  margin-top: 0.25rem;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}
.footer__socials { display: flex; gap: 0.75rem; }
.footer__social {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--color-surface-02);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: color var(--dur-fast) ease, transform var(--dur-fast) ease;
}
.footer__social:hover { color: var(--color-gold); transform: translateY(-2px); }
.footer__social svg { width: 16px; height: 16px; fill: currentColor; }
.footer__col h4 {
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1rem;
}
.footer__nav { display: flex; flex-direction: column; gap: 0.5rem; }
.footer__nav a {
  font-size: var(--text-small);
  color: var(--color-text-muted);
  transition: color var(--dur-fast) ease;
}
.footer__nav a:hover { color: var(--color-gold); }
.footer__hours { display: flex; flex-direction: column; gap: 0.35rem; }
.footer__hours-row {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-small);
  color: var(--color-text-muted);
  gap: 1rem;
}
.footer__hours-row span:first-child { color: var(--color-text-faint); }
.footer__contact { display: flex; flex-direction: column; gap: 0.75rem; }
.footer__contact-link {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: var(--text-small);
  color: var(--color-text-muted);
  line-height: 1.5;
  transition: color var(--dur-fast) ease;
}
.footer__contact-link:hover { color: var(--color-gold); }
.footer__contact-sub { color: var(--color-text-faint); }
.footer__bottom {
  text-align: center;
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
  font-size: var(--text-small);
  color: var(--color-text-faint);
}
.footer__bottom a { color: var(--color-gold); }

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .menu-dia-grid { grid-template-columns: 1fr; }
  .reservas__map-iframe { height: 360px; }
  /* Tablet: carrusel más ágil */
  .carousel-row--fwd, .carousel-row--rev { animation-duration: 36s; }
  .partner-logo { margin-right: 2.75rem; }
}
.carousel-row.is-paused { animation-play-state: paused !important; }
@media (max-width: 768px) {
  .navbar__links, .navbar__cta { display: none; }
  .navbar__hamburger { display: flex; }
  .mobile-drawer { display: flex; }
  .historia__grid { grid-template-columns: 1fr; }
  .historia__visual { display: none; }
  .reservas__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .stepper { gap: 0; }
  .stepper__line { min-width: 24px; }
  .reservas__map-iframe { height: 280px; }

  /* Reduce coste de pintado en móvil: blur muy caro en GPUs móviles */
  .glass-card { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255,255,255,0.06); }
  .footer { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .navbar.scrolled { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

  /* Carrusel optimizado para móvil */
  .carousel-row { margin-bottom: 1rem; }
  .carousel-row--fwd, .carousel-row--rev { animation-duration: 32s; }
  .partner-logo { padding: 0 0.75rem; height: 44px; margin-right: 2rem; }
  .partner-logo img { max-width: 110px; }
  .partner-logo--light { height: 50px; padding: 0.4rem 0.85rem; }
  .partner-logo--light img { max-height: 28px; }

  /* Sombras más baratas */
  .reservas__map-frame { box-shadow: 0 6px 20px rgba(0,0,0,0.2); }
}
@media (max-width: 480px) {
  .hero__ctas { flex-direction: column; align-items: center; }
  .tab-btn { padding: 0.5rem 1rem; font-size: 0.8rem; }
  .historia__stats { flex-direction: column; }
  .reservas__map-iframe { height: 240px; }
  .section-hero { padding-top: 80px; padding-bottom: 32px; }
}

/* En cualquier dispositivo táctil: pausa el zoom continuo del hero al 1.05 max */
@media (hover: none) {
  .hero__bg-media { animation-duration: 14s; }
  /* Los partner-logo son no-interactivos en táctil — sin transitions */
  .partner-logo { transition: none; }
}

/* ═══════════════════════════════════════════
   REDUCED MOTION
═══════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ═══════════════════════════════════════════
   IMÁGENES EN PLATOS
═══════════════════════════════════════════ */
.dish-card__image-inner {
  position: relative;
}
.dish-card__image-inner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
}
.dish-card__image-emoji {
  position: relative;
  z-index: 0;
  font-size: 4rem;
}

/* ═══════════════════════════════════════════
   IMAGEN DE FONDO EN HERO (opcional)
═══════════════════════════════════════════ */
.section-hero.has-bg-photo .hero__bg {
  background-image: var(--hero-photo);
  background-size: cover;
  background-position: center;
}
.section-hero.has-bg-photo .hero__orb { opacity: 0.12; }

/* ═══════════════════════════════════════════
   ENCUÉNTRANOS — MAPA + INFO
═══════════════════════════════════════════ */
.reservas-v2 {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 20px;
}
.reservas__map-link {
  display: block;
  text-decoration: none;
  color: inherit;
  margin-top: var(--space-md);
}
.reservas__map-frame {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
  transition: box-shadow var(--dur-normal) ease;
}
.reservas__map-iframe {
  width: 100%;
  height: 480px;
  border: 0;
  display: block;
  filter: saturate(1.05);
  transition: filter var(--dur-normal) ease;
}

/* ─── Cover panel (cortina) ─── */
.map-cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.map-cover__half {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50.5%;
  background:
    radial-gradient(circle at 30% 20%, rgba(201,168,76,0.10), transparent 55%),
    radial-gradient(circle at 70% 80%, rgba(92,61,94,0.12), transparent 55%),
    linear-gradient(135deg, #1c1a18 0%, #25211d 100%);
  transition: transform 1s cubic-bezier(0.86, 0, 0.07, 1);
  will-change: transform;
}
.map-cover__half::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(201,168,76,0.025) 0 2px, transparent 2px 14px);
  pointer-events: none;
}
.map-cover__half--left { left: 0; box-shadow: inset -1px 0 0 rgba(201,168,76,0.15); }
.map-cover__half--right { right: 0; box-shadow: inset 1px 0 0 rgba(201,168,76,0.15); }

.map-cover__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 3;
  padding: 1.5rem;
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.6s cubic-bezier(0.22,1,0.36,1);
}

/* Pin animado */
.map-cover__pin {
  position: relative;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  animation: mapPinFloat 3.5s ease-in-out infinite;
}
.map-cover__pin svg {
  width: 32px;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(201,168,76,0.5));
  position: relative;
  z-index: 2;
}
.map-cover__pin-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 32px;
  height: 32px;
  margin: -16px 0 0 -16px;
  border-radius: 50%;
  border: 2px solid var(--color-gold);
  opacity: 0.6;
  animation: mapPinPulse 2.4s ease-out infinite;
}
.map-cover__pin-ring--delay { animation-delay: 1.2s; }

@keyframes mapPinFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@keyframes mapPinPulse {
  0%   { transform: scale(0.7); opacity: 0.7; }
  100% { transform: scale(2.6); opacity: 0; }
}

.map-cover__title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 300;
  color: var(--color-text-primary);
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.map-cover__city {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-top: 0.65rem;
}
.map-cover__coords {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--color-text-faint);
  letter-spacing: 0.08em;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  width: min(280px, 70%);
}
.map-cover__cta {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.map-cover__arrow {
  display: inline-block;
  color: var(--color-gold);
  animation: mapArrowPulse 1.6s ease-in-out infinite;
}
@keyframes mapArrowPulse {
  0%, 100% { transform: translateX(0); opacity: 0.7; }
  50%      { transform: translateX(8px); opacity: 1; }
}

/* Hover (desktop): asoma el mapa por la rendija central */
@media (hover: hover) {
  .map-cover:not(.is-open):hover .map-cover__half--left  { transform: translateX(-3%); }
  .map-cover:not(.is-open):hover .map-cover__half--right { transform: translateX(3%); }
  .map-cover:not(.is-open):hover .map-cover__pin {
    animation-duration: 1.6s;
  }
}

/* Apertura (cortinas se separan) */
.map-cover.is-open .map-cover__half--left  { transform: translateX(-101%); }
.map-cover.is-open .map-cover__half--right { transform: translateX(101%); }
.map-cover.is-open .map-cover__content {
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 0.35s ease, transform 0.6s ease;
}
.map-cover.is-open { pointer-events: none; }

/* Foco accesibilidad */
.map-cover:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 4px;
}

/* Reduced motion: sin floats ni pulsos */
@media (prefers-reduced-motion: reduce) {
  .map-cover__pin,
  .map-cover__pin-ring,
  .map-cover__arrow { animation: none; }
}

.reservas__cta-wrap {
  display: flex;
  justify-content: center;
  margin-top: var(--space-md);
}
.reservas__btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  padding: 0.85rem 1.75rem;
  transition: transform var(--dur-base) ease, box-shadow var(--dur-base) ease, background var(--dur-base) ease;
}
.reservas__btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(201,168,76,0.35);
}
.reservas__btn-arrow {
  display: inline-block;
  transition: transform var(--dur-base) ease;
}
.reservas__btn-cta:hover .reservas__btn-arrow { transform: translateX(4px); }

.reservas__info-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-md);
  justify-content: center;
}
.reservas__info-card {
  flex: 1 1 220px;
  min-width: 0;
  padding: 1.75rem 1.25rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  transition: transform var(--dur-base) ease, box-shadow var(--dur-base) ease, border-color var(--dur-base) ease;
}
.reservas__info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.32);
  border-color: rgba(201,168,76,0.25);
}
.reservas__info-icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(201,168,76,0.18), rgba(201,168,76,0.06));
  border: 1px solid rgba(201,168,76,0.22);
  margin-bottom: 0.25rem;
  transition: transform 0.3s var(--ease-spring), background 0.3s ease;
}
.reservas__info-card:hover .reservas__info-icon {
  transform: scale(1.08) rotate(-3deg);
  background: radial-gradient(circle at 30% 30%, rgba(201,168,76,0.30), rgba(201,168,76,0.10));
}
.reservas__info-icon--wa {
  background: radial-gradient(circle at 30% 30%, rgba(37,211,102,0.22), rgba(37,211,102,0.08));
  border-color: rgba(37,211,102,0.30);
}
.reservas__info-icon--wa svg {
  width: 26px;
  height: 26px;
  fill: #25D366;
}
.reservas__info-card:has(.reservas__info-icon--wa):hover {
  border-color: rgba(37,211,102,0.30);
}
.reservas__info-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--color-gold);
  margin: 0;
  letter-spacing: 0.02em;
}
.reservas__info-text {
  font-size: var(--text-small);
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0;
}
.reservas__info-text--alert {
  color: #d98f5b;
  font-weight: 500;
}
.reservas__info-link {
  font-size: var(--text-small);
  color: #25D366;
  font-weight: 500;
  border-bottom: 1px solid rgba(37,211,102,0.3);
  padding-bottom: 1px;
  transition: border-color var(--dur-fast) ease, color var(--dur-fast) ease;
}
.reservas__info-link:hover {
  border-color: #25D366;
  color: #4ee68a;
}

@media (max-width: 720px) {
  .reservas__map-iframe { height: 360px; }
  .reservas__info-grid { flex-direction: column; }
  .reservas__info-card { flex: 1 1 auto; }
}

/* ═══════════════════════════════════════════
   FORM ESTADO ENVIANDO / ERROR
═══════════════════════════════════════════ */
.btn-primary.btn-success {
  background: linear-gradient(135deg, #4a5c3a, #5a7048) !important;
}
.btn-primary.btn-error {
  background: linear-gradient(135deg, #7a2020, #9a2828) !important;
}

/* ═══════════════════════════════════════════
   CARTA COMPLETA · WHATSAPP CTA
═══════════════════════════════════════════ */
.wa-cta-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}
.wa-cta {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--color-surface-02);
  border: 1px solid rgba(37,211,102,0.30);
  border-radius: 16px;
  padding: 1.1rem 1.75rem;
  cursor: pointer;
  text-decoration: none;
  color: var(--color-text-primary);
  max-width: 580px;
  width: 100%;
  transition:
    transform 0.3s var(--ease-spring),
    box-shadow 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease;
}
.wa-cta:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 36px rgba(37,211,102,0.25);
  border-color: rgba(37,211,102,0.6);
  background: var(--color-surface-03);
}
.wa-cta__icon {
  position: relative;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wa-cta__icon svg {
  width: 26px;
  height: 26px;
  fill: #fff;
}
.wa-cta__ping {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: waPing 2s ease-out infinite;
  pointer-events: none;
}
@keyframes waPing {
  0%   { transform: scale(1);   opacity: 0.65; }
  100% { transform: scale(1.7); opacity: 0;    }
}
.wa-cta__txt {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
}
.wa-cta__txt strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--color-text-primary);
}
.wa-cta__txt small {
  font-size: var(--text-small);
  color: var(--color-text-muted);
}
.wa-cta__arrow {
  font-size: 1.4rem;
  color: #25d366;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.wa-cta:hover .wa-cta__arrow {
  transform: translate(3px, -3px);
}

/* ═══════════════════════════════════════════
   MENÚ CARDS · 2026 LAYOUT
═══════════════════════════════════════════ */
.section-subtitle {
  margin-top: 0.75rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  font-size: var(--text-body);
  color: var(--color-text-muted);
  line-height: 1.55;
}
.menu-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  max-width: 920px;
  margin: 3rem auto 0;
  padding: 0 1rem;
}
.menu-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid var(--color-border);
  box-shadow: 0 12px 40px rgba(0,0,0,0.28);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.5s ease,
    border-color 0.4s ease;
}
.menu-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(201,168,76,0.55), rgba(201,168,76,0) 35%, rgba(201,168,76,0) 65%, rgba(201,168,76,0.35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 2;
}
.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45), 0 0 0 1px rgba(201,168,76,0.18);
  border-color: rgba(201,168,76,0.3);
}
.menu-card:hover::before { opacity: 1; }
.menu-card:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 4px;
}
.menu-card--featured .menu-card__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  background: linear-gradient(135deg, var(--color-gold), #e8c060);
  color: #1c1a18;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  box-shadow: 0 4px 16px rgba(201,168,76,0.35);
}
.menu-card__image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  flex-shrink: 0;
}
.menu-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.menu-card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28,26,24,0) 60%, rgba(28,26,24,0.55) 100%);
  pointer-events: none;
}
.menu-card:hover .menu-card__image img {
  transform: scale(1.06);
}
.menu-card__day {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  background: rgba(28,26,24,0.78);
  border: 1px solid rgba(201,168,76,0.25);
  color: var(--color-gold);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  backdrop-filter: blur(8px);
}
.menu-card__body {
  padding: 1.4rem 1.5rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.menu-card__head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.menu-card__icon {
  font-size: 1.2rem;
  line-height: 1;
}
.menu-card__title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 400;
  color: var(--color-text-primary);
  line-height: 1.15;
  letter-spacing: 0.01em;
}
.menu-card__sub {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  letter-spacing: 0.01em;
  line-height: 1.4;
}
.menu-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--color-border);
}
.menu-card__price {
  font-family: var(--font-display);
  color: var(--color-gold);
  display: inline-flex;
  align-items: baseline;
  gap: 0.15rem;
}
.menu-card__price strong {
  font-size: 1.85rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.menu-card__price small {
  font-size: 1rem;
  font-weight: 400;
  opacity: 0.85;
}
.menu-card__view {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: color 0.3s ease, transform 0.3s ease;
}
.menu-card:hover .menu-card__view {
  color: var(--color-gold);
  transform: translateX(4px);
}

/* Reveal stagger para menu-card */
.menu-card.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity    0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform  0.55s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}
.menu-card.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.menu-card.reveal.visible:hover {
  transform: translateY(-6px);
}

.carta-footnote {
  text-align: center;
  margin: 2.5rem auto 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}
.carta-footnote a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: 0.4rem;
  color: var(--color-gold);
  font-weight: 500;
  transition: gap 0.25s ease, opacity 0.25s ease;
}
.carta-footnote a:hover {
  gap: 0.7rem;
  opacity: 0.85;
}

/* ═══════════════════════════════════════════
   LIGHTBOX
═══════════════════════════════════════════ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}
.lightbox__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(8px);
  cursor: pointer;
}
.lightbox__img-wrap {
  position: relative;
  z-index: 1;
  max-width: min(92vw, 1100px);
  max-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.94);
  opacity: 0;
  transition: transform 0.35s var(--ease-spring), opacity 0.25s ease;
}
.lightbox.open .lightbox__img-wrap {
  transform: scale(1);
  opacity: 1;
}
.lightbox__img {
  max-width: min(92vw, 1100px);
  max-height: 92vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: clamp(14px, 2.2vw, 24px);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow:
    0 30px 80px rgba(0,0,0,0.85),
    0 0 0 1px rgba(255,255,255,0.04) inset;
  display: block;
  background: #1c1a18;
}
@media (max-width: 600px) {
  .lightbox__img-wrap, .lightbox__img {
    max-width: 94vw;
    max-height: 86vh;
  }
  .lightbox__close {
    top: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
  }
}
.lightbox__close {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 2;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.30);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
  backdrop-filter: blur(8px);
}
.lightbox__close:hover {
  background: rgba(255,255,255,0.28);
  transform: scale(1.12);
}

/* Responsive menus */
@media (max-width: 768px) {
  .menu-cards {
    grid-template-columns: 1fr;
    padding: 0 12px;
    gap: 18px;
    margin-top: 2rem;
  }
  .menu-card__title { font-size: 1.35rem; }
  .menu-card__price strong { font-size: 1.6rem; }
}

/* ═══════════════════════════════════════════
   FLOATING WHATSAPP BUTTON (FAB)
═══════════════════════════════════════════ */
.wa-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9000;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  box-shadow:
    0 8px 24px rgba(37,211,102,0.45),
    0 4px 12px rgba(0,0,0,0.25),
    inset 0 1px 0 rgba(255,255,255,0.2);
  transform: translateY(120%) scale(0.7);
  opacity: 0;
  transition:
    transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity   0.4s ease,
    box-shadow 0.3s ease;
}
.wa-fab.is-visible {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.wa-fab:hover {
  box-shadow:
    0 12px 32px rgba(37,211,102,0.55),
    0 6px 16px rgba(0,0,0,0.3),
    inset 0 1px 0 rgba(255,255,255,0.25);
  transform: translateY(-3px) scale(1.05);
}
.wa-fab:active {
  transform: translateY(-1px) scale(1.0);
}
.wa-fab__icon {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wa-fab__icon svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}
.wa-fab__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  opacity: 0.5;
  animation: waFabPulse 2.4s cubic-bezier(0, 0, 0.2, 1) infinite;
  pointer-events: none;
}
.wa-fab__pulse--delay {
  animation-delay: 1.2s;
}
@keyframes waFabPulse {
  0%   { transform: scale(1);   opacity: 0.5; }
  80%  { opacity: 0; }
  100% { transform: scale(1.85); opacity: 0; }
}
.wa-fab__tooltip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: var(--color-bg);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 0.55rem 0.95rem;
  border-radius: 9999px;
  border: 1px solid var(--color-border);
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.3s var(--ease-spring);
}
.wa-fab__tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--color-bg);
}
.wa-fab:hover .wa-fab__tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
@media (max-width: 768px) {
  .wa-fab {
    bottom: 18px;
    right: 18px;
    width: 56px;
    height: 56px;
  }
  .wa-fab__icon svg { width: 26px; height: 26px; }
  .wa-fab__tooltip { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-fab__pulse { animation: none; opacity: 0; }
}

/* ═══════════════════════════════════════════
   STATUS PILL (Abierto / Cerrado en tiempo real)
═══════════════════════════════════════════ */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(28,26,24,0.55);
  border: 1px solid var(--color-border);
  border-radius: 9999px;
  padding: 0.4rem 0.95rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-text-muted);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  white-space: nowrap;
}
.status-pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #888;
  flex-shrink: 0;
  position: relative;
}
.status-pill--open .status-pill__dot {
  background: #4ade80;
  box-shadow: 0 0 12px rgba(74,222,128,0.6);
  animation: statusDotPulse 2.2s ease-out infinite;
}
.status-pill--closing .status-pill__dot {
  background: #fbbf24;
  box-shadow: 0 0 10px rgba(251,191,36,0.55);
  animation: statusDotPulse 1.4s ease-out infinite;
}
.status-pill--closed .status-pill__dot {
  background: #ef4444;
  box-shadow: 0 0 8px rgba(239,68,68,0.5);
}
.status-pill--open .status-pill__text   { color: #86efac; }
.status-pill--closing .status-pill__text { color: #fcd34d; }
.status-pill--closed .status-pill__text  { color: #fca5a5; }

@keyframes statusDotPulse {
  0%   { box-shadow: 0 0 0 0 currentColor; opacity: 1; }
  70%  { box-shadow: 0 0 0 10px transparent; opacity: 0.85; }
  100% { box-shadow: 0 0 0 0 transparent; opacity: 1; }
}

/* ═══════════════════════════════════════════
   HERO · animación cinemática de entrada
═══════════════════════════════════════════ */
.hero__badge,
.hero__title,
.hero__subtitle-line,
.hero__ctas,
.hero__scroll-indicator,
.section-hero .status-pill {
  opacity: 0;
  transform: translateY(24px);
  animation: heroFadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero__subtitle-line { display: block; }
.hero__badge          { animation-delay: 0.25s; }
.hero__title          { animation-delay: 0.45s; }
.hero__subtitle-line:nth-child(1) { animation-delay: 0.75s; }
.hero__subtitle-line:nth-child(2) { animation-delay: 0.95s; }
.hero__subtitle-line:nth-child(3) { animation-delay: 1.15s; }
.section-hero .status-pill { animation-delay: 1.45s; }
.hero__ctas           { animation-delay: 1.65s; }
.hero__scroll-indicator { animation-delay: 1.95s; }

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

@media (prefers-reduced-motion: reduce) {
  .hero__badge, .hero__title, .hero__subtitle-line, .hero__ctas,
  .hero__scroll-indicator, .section-hero .status-pill {
    opacity: 1; transform: none; animation: none;
  }
}

/* ═══════════════════════════════════════════
   BARRA INFERIOR MÓVIL (CTA bar)
═══════════════════════════════════════════ */
.mobile-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  display: none;
  gap: 0.6rem;
  padding: 0.65rem 0.75rem;
  padding-bottom: max(0.65rem, env(safe-area-inset-bottom));
  background: rgba(20,18,16,0.88);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-top: 1px solid rgba(201,168,76,0.18);
  box-shadow: 0 -10px 32px rgba(0,0,0,0.4);
  transform: translateY(110%);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.mobile-cta-bar.is-visible { transform: translateY(0); }

.mobile-cta-bar__btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 0.5rem;
  border-radius: 9999px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.mobile-cta-bar__btn:active { transform: scale(0.97); }
.mobile-cta-bar__btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.mobile-cta-bar__btn--primary {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  fill: #fff;
  box-shadow: 0 6px 18px rgba(37,211,102,0.32);
}
.mobile-cta-bar__btn--secondary {
  background: linear-gradient(135deg, var(--color-gold), #e8c060);
  color: #1c1a18;
}

@media (max-width: 768px) {
  .mobile-cta-bar { display: flex; }
  .wa-fab.is-hidden-by-cta {
    opacity: 0;
    transform: translateY(20px) scale(0.85);
    pointer-events: none;
  }
}

/* ═══════════════════════════════════════════
   POLAROID en HISTORIA (móvil)
═══════════════════════════════════════════ */
@media (max-width: 768px) {
  .historia__visual {
    display: block !important;
    margin-top: 2.5rem;
    margin-bottom: 0.5rem;
    position: relative;
    perspective: 800px;
  }
  .historia__photo {
    background: #f0ece4 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: 14px solid #f0ece4;
    border-bottom-width: 64px;
    border-radius: 4px;
    overflow: visible;
    box-shadow:
      0 18px 40px rgba(0,0,0,0.45),
      0 6px 12px rgba(0,0,0,0.25);
    transform: rotate(-3deg);
    max-width: 280px;
    margin: 0 auto;
    position: relative;
    aspect-ratio: 4 / 5;
    transition: transform 0.4s var(--ease-spring);
  }
  .historia__photo:active { transform: rotate(-1deg) scale(1.02); }
  .historia__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    display: block;
  }
  /* Cinta adhesiva arriba */
  .historia__photo::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%) rotate(-3deg);
    width: 92px;
    height: 26px;
    background: rgba(255,255,255,0.32);
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    z-index: 2;
  }
  /* Caption manuscrito */
  .historia__photo-badge {
    position: absolute;
    top: auto;
    right: auto;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    background: transparent;
    border: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    color: #1c1a18;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    white-space: nowrap;
    padding: 0;
  }
  .historia__orb { display: none; }
}

/* ═══════════════════════════════════════════
   EASTER EGG · Arroz de Oro
═══════════════════════════════════════════ */
.easter-grain {
  position: fixed;
  top: -30px;
  width: 9px;
  height: 16px;
  background: linear-gradient(180deg, #f5d775 0%, #c9a84c 100%);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  z-index: 9998;
  pointer-events: none;
  box-shadow: 0 0 6px rgba(232,192,96,0.45);
  animation: grainFall linear forwards;
}
@keyframes grainFall {
  to { transform: translateY(110vh) rotate(720deg); opacity: 0.6; }
}

.easter-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(140%);
  background:
    radial-gradient(circle at 0% 0%, rgba(201,168,76,0.18), transparent 60%),
    rgba(28,26,24,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(201,168,76,0.45);
  border-radius: 18px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.95rem;
  width: min(380px, calc(100vw - 32px));
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--color-text-primary);
  box-shadow: 0 24px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.05) inset;
  z-index: 10000;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.easter-toast.is-visible { transform: translateX(-50%) translateY(0); }
.easter-toast__icon {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(201,168,76,0.5));
}
.easter-toast strong {
  display: block;
  color: var(--color-gold);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.15rem;
  letter-spacing: 0.01em;
}
.easter-toast small {
  display: block;
  color: var(--color-text-faint);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
  text-transform: uppercase;
}
@media (max-width: 768px) {
  .easter-toast { bottom: calc(80px + env(safe-area-inset-bottom)); }
}
