/* =============================================================
   BRUMA CAFÉ — styles.css
   Marco flotante + secciones alternadas blanco / verde oscuro
   + acento lima. Con transiciones y movimiento.
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --frame:      #808b6d;
  --frame-2:    #737e60;

  --paper:      #ffffff;
  --paper-2:    #f6f4ee;
  --ink:        #14201a;
  --ink-soft:   #34433a;
  --ink-mute:   #616b62; /* AA: 4.5:1+ sobre papel y papel-2 (antes #6d7970 daba 4.1 en el aviso de pago) */
  --line:       rgba(20,32,26,.12);

  --forest:     #16241c;
  --forest-2:   #1d3026;
  --espresso:   #201712;
  --espresso-2: #2b1f17;
  --cream:      #f3efe6;
  --cream-mute: #a9b3a2;
  --line-light: rgba(243,239,230,.14);

  --lime:       #bfe45a;
  --lime-soft:  #d6ef94;
  --green:      #2f7d3b;
  --green-dark: #256330;
  --terra:      #c07a4b;

  /* ingredientes (puntos + mini-vaso del menú) */
  --i-cafe:   #62b45a;
  --i-leche:  #cca070;
  --i-espuma: #ece3d0;
  --i-agua:   #58a6e0;
  --i-choco:  #7c4a2c;
  --i-dulce:  #e0b24a;
  --noir:     #0e0d0b;

  --radius:     30px;
  --radius-sm:  16px;
  --pad-shell:  clamp(8px, 1.1vw, 18px);
  --gutter:     clamp(1.25rem, 5vw, 6rem);

  --sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.4, 0.64, 1);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  scroll-behavior: smooth;
  overflow-x: clip;
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--frame);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
  padding: var(--pad-shell);
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 {
  text-wrap: balance;
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 800;
}
ul { list-style: none; padding: 0; }
::selection { background: var(--lime); color: var(--ink); }

:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--ink); color: var(--cream);
  z-index: 9999; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Shell
   ============================================================= */
.shell {
  border-radius: var(--radius);
  overflow: clip;
  background: var(--paper);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.35);
}

/* =============================================================
   4. Kickers
   ============================================================= */
.kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--mono);
  font-size: .72rem; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 1.4rem;
}
.kicker-glyph {
  display: inline-grid; place-items: center;
  width: 1.15rem; height: 1.15rem;
  border: 1px solid currentColor; border-radius: 4px;
  font-size: .6rem; opacity: .8;
}
.kicker-light { color: rgba(243,239,230,.85); }
.section-dark .kicker, .section-espresso .kicker { color: var(--cream-mute); }

/* =============================================================
   5. Botones
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.4rem;
  border-radius: 100px;
  font-weight: 600; font-size: .95rem;
  letter-spacing: -0.01em;
  transition: transform .4s var(--ease-out), background .3s var(--ease-out), color .3s, box-shadow .4s var(--ease-out);
  will-change: transform;
}
.btn-sm { padding: .6rem 1.05rem; font-size: .85rem; }
.btn-arrow { transition: transform .4s var(--ease-out); }
.btn:hover .btn-arrow { transform: translateX(4px); }

.btn-green { background: var(--green); color: #fff; box-shadow: 0 8px 20px -8px rgba(47,125,59,.7); }
.btn-green:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(47,125,59,.75); }

.btn-ghost { color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

.btn-outline-light { color: var(--cream); border: 1px solid rgba(243,239,230,.45); }
.btn-outline-light:hover { background: var(--cream); color: var(--ink); transform: translateY(-2px); }

.btn-block { width: 100%; justify-content: center; }

/* corchetes */
.ticks { position: absolute; inset: 10px; pointer-events: none; }
.ticks i { position: absolute; width: 12px; height: 12px; border: 1.5px solid var(--ink-mute); opacity: .5; }
.ticks i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.ticks i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.ticks i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.ticks i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.ticks-lime i { border-color: var(--lime); opacity: .9; }

.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); flex: none; }

/* =============================================================
   6. Splash
   ============================================================= */
.splash {
  position: fixed; inset: 0; z-index: 9998;
  display: grid; place-items: center;
  background: var(--forest);
  animation: splashSafety .01s 4.4s forwards;
}
.splash-inner { display: flex; align-items: center; gap: .6rem; color: var(--cream); }
.splash-mark { color: var(--lime); font-size: 1.4rem; animation: spin 3.5s linear infinite; }
.splash-word { font-size: 1.8rem; font-weight: 800; letter-spacing: -.03em; }
.splash.is-out { opacity: 0; pointer-events: none; transition: opacity .7s var(--ease-out); }
@keyframes splashSafety { to { opacity: 0; pointer-events: none; visibility: hidden; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* =============================================================
   7. Scroll progress
   ============================================================= */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: var(--lime); z-index: 9997; border-radius: 0 3px 3px 0;
}

/* =============================================================
   8. Nav
   ============================================================= */
.nav {
  position: fixed; top: calc(var(--pad-shell) + 12px); left: 0; right: 0;
  z-index: 900; display: flex; justify-content: center; pointer-events: none;
}
.nav-inner {
  pointer-events: auto;
  display: flex; align-items: center; gap: 1.4rem;
  width: min(1180px, calc(100% - var(--gutter)));
  padding: .5rem 1.4rem;
  border-radius: 100px;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255,255,255,.6);
  box-shadow: 0 10px 30px -12px rgba(0,0,0,.35);
  transition: background .4s var(--ease-out), box-shadow .4s;
}
.nav.on-dark .nav-inner { background: rgba(22,36,28,.62); border-color: rgba(243,239,230,.16); }
.nav.on-dark .nav-brand-name, .nav.on-dark .nav-links a { color: var(--cream); }
.nav.on-dark .nav-brand-tag { color: var(--cream-mute); }
.nav.on-dark .nav-mark { color: var(--lime); }

.nav-brand { display: flex; align-items: center; gap: .6rem; }
.nav-mark { display: inline-flex; color: var(--green); transition: color .4s var(--ease-out); }
.nav-mark svg { width: 26px; height: 26px; }
.nav-brand-text { display: flex; flex-direction: column; line-height: 1; }
.nav-brand-name { font-weight: 800; font-size: 1.12rem; letter-spacing: -.02em; color: var(--ink); transition: color .4s var(--ease-out); }
.nav-brand-tag { font-family: var(--mono); font-size: .55rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-mute); margin-top: .24rem; transition: color .4s var(--ease-out); }

.nav-links { display: flex; gap: 1.6rem; margin-left: auto; }
.nav-links a { font-size: .9rem; font-weight: 500; color: var(--ink-soft); position: relative; transition: color .3s var(--ease-out); }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; width: 0; margin: 0 auto; border-radius: 2px; background: var(--green); transition: width .35s var(--ease-out); }
.nav.on-dark .nav-links a::after { background: var(--lime); }
.nav-links a:hover::after, .nav-links a.is-current::after { width: 100%; }
.nav-links a.is-current { color: var(--ink); }
.nav.on-dark .nav-links a.is-current { color: var(--cream); }
.nav-toggle { display: none; }

/* =============================================================
   9. Secciones base
   ============================================================= */
.section-light   { background: var(--paper); color: var(--ink); }
.section-dark    { background: var(--forest); color: var(--cream); }
.section-espresso{ background: var(--espresso); color: var(--cream); }
.section-dark h2, .section-dark h3,
.section-espresso h2, .section-espresso h3 { color: var(--cream); }
.section-dark p, .section-espresso p { color: var(--cream-mute); }
section { position: relative; padding: clamp(4rem, 9vw, 8.5rem) var(--gutter); }
[id] { scroll-margin-top: 96px; }

/* =============================================================
   10. HERO
   ============================================================= */
.hero {
  position: relative;
  min-height: 92vh; min-height: 92svh;
  padding: 0; display: flex; align-items: center;
  overflow: hidden; color: var(--cream);
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.hero-tint {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(12,9,6,.55) 0%, rgba(12,9,6,.12) 38%, rgba(12,9,6,.7) 100%),
    linear-gradient(90deg, rgba(12,9,6,.9) 0%, rgba(12,9,6,.62) 30%, rgba(12,9,6,.28) 52%, transparent 72%);
}
/* fundido de la imagen del hero hacia el negro del menú (transición sin corte) */
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px;
  background: linear-gradient(to bottom, transparent, #0e0d0b 94%);
  z-index: 2; pointer-events: none;
}
.hero-grain {
  position: absolute; inset: 0; opacity: .05; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-content {
  position: relative; z-index: 3;
  padding: clamp(2rem, 6vw, 5.5rem);
  max-width: min(760px, 92%);
}

/* aro decorativo detrás del titular */
.hero-ring {
  position: absolute; z-index: -1;
  left: 50%; top: 47%; transform: translate(-50%, -50%);
  width: clamp(300px, 52vh, 560px); aspect-ratio: 1;
  border: 1px solid rgba(243,239,230,.18); border-radius: 50%;
  pointer-events: none;
}

/* emblema superior (rayos + brote) */
.hero-emblem { display: flex; justify-content: center; color: var(--cream); margin-bottom: clamp(1rem, 2vw, 1.5rem); }
.hero-emblem svg { width: clamp(42px, 4.2vw, 56px); height: auto; opacity: .95; }

.hero-title {
  font-family: var(--serif);
  font-size: clamp(3.4rem, 12.5vw, 11rem);
  font-weight: 700; line-height: .9; letter-spacing: -.01em;
  margin-bottom: clamp(1.3rem, 2.6vw, 1.9rem);
}
.hero-title .hero-line-mask { padding-block: .07em; margin-block: -.07em; }
/* entrada del titular por líneas */
.hero-line-mask { display: block; overflow: hidden; }
.hero-line-in { display: block; transform: translateY(105%); transition: transform .95s var(--ease-out); }
.is-ready .hero-line-in { transform: translateY(0); }
.is-ready .hero-title .hero-line-mask:nth-child(2) .hero-line-in { transition-delay: .12s; }
.hero-line { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.is-ready .hero-line { opacity: 1; transform: none; }
.is-ready .hero-emblem { transition-delay: .05s; }
.is-ready .hero-rule { transition-delay: .28s; }
.is-ready .hero-sub { transition-delay: .4s; }
.is-ready .hero-actions { transition-delay: .52s; }

/* divisor con rombo */
.hero-rule { display: flex; align-items: center; gap: 1rem; margin-bottom: clamp(1.3rem, 2.5vw, 1.9rem); }
.hero-rule::before, .hero-rule::after { content: ""; flex: 1; height: 1px; background: rgba(243,239,230,.32); }
.hero-rule-dot { font-size: .7rem; color: var(--lime); line-height: 1; }

.hero-sub {
  font-family: var(--mono);
  text-transform: uppercase;
  font-size: clamp(.72rem, 1vw, .9rem);
  letter-spacing: .2em; line-height: 1.5;
  color: #e6cd9c;
  text-shadow: 0 1px 12px rgba(0,0,0,.5);
  margin-bottom: clamp(1.8rem, 3.5vw, 2.4rem);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-actions .btn { text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; font-weight: 600; padding: .95rem 1.6rem; }
.hero-actions .btn-ico { display: inline-flex; }
.hero-actions .btn-ico svg { width: 17px; height: 17px; }
/* botón contorno del hero: más legible sobre la foto */
.hero-actions .btn-outline-light {
  background: rgba(12,9,6,.4);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  border-color: rgba(243,239,230,.65); color: #fff;
}
.hero-actions .btn-outline-light:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }

/* cue de bajada al menú (separador + guía) */
.hero-down {
  position: absolute; z-index: 4; left: 50%; bottom: clamp(1rem, 2.6vw, 1.8rem);
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  color: rgba(243,239,230,.8);
  font-family: var(--mono); font-size: .6rem; text-transform: uppercase; letter-spacing: .24em;
  transition: color .3s var(--ease-out);
}
.hero-down:hover { color: var(--lime); }
.hero-down-ico {
  width: 32px; height: 32px; display: grid; place-items: center;
  border: 1px solid rgba(243,239,230,.4); border-radius: 50%;
  animation: heroBob 2.2s var(--ease-soft) infinite;
}
.hero-down-ico svg { width: 14px; height: 14px; }
.hero-down:hover .hero-down-ico { border-color: var(--lime); }
@keyframes heroBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* corchete decorativo en la esquina inferior izquierda */
.hero-corner {
  position: absolute; z-index: 3;
  left: clamp(1.1rem, 3vw, 2.4rem); bottom: clamp(1.1rem, 3vw, 2.2rem);
  color: rgba(243,239,230,.6); pointer-events: none;
}
.hero-corner svg { width: clamp(30px, 3vw, 40px); height: auto; }

/* =============================================================
   11. MARQUEE
   ============================================================= */
.marquee {
  background: var(--forest-2); color: var(--cream);
  padding: 1rem 0; overflow: hidden; border-block: 1px solid var(--line-light);
}
.marquee-lime { background: var(--lime); color: var(--ink); border-color: rgba(20,32,26,.15); }
.marquee-track {
  display: flex; align-items: center; gap: 2rem; width: max-content;
  font-family: var(--mono); font-size: .95rem; letter-spacing: .04em; text-transform: uppercase;
  animation: marquee 26s linear infinite;
}
.marquee-track-rev { animation-direction: reverse; animation-duration: 30s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-dot { color: var(--lime); font-size: .7rem; }
.marquee-lime .marquee-dot { color: var(--green); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =============================================================
   12. HISTORIA (línea de tiempo editorial)
   ============================================================= */
.story { position: relative; overflow: hidden; padding-block: clamp(3rem, 6vw, 5.5rem); }
.story-head { max-width: 720px; margin: 0 auto clamp(1.6rem, 3.2vw, 2.6rem); text-align: center; }
.story-head .kicker { margin-bottom: .8rem; }
.story-title { font-family: var(--serif); font-weight: 700; font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.06; letter-spacing: -.01em; color: var(--cream); }
.story-title em { font-style: italic; color: var(--lime); }
.story-intro { margin: 1.1rem auto 0; max-width: 46ch; color: var(--cream-mute); font-size: 1.05rem; }

.timeline { position: relative; max-width: 760px; margin: 0 auto; }
/* espina + relleno */
.timeline::before { content: ""; position: absolute; left: 6px; top: .3rem; bottom: 3rem; width: 2px; background: rgba(243,239,230,.13); border-radius: 2px; }
.tl-progress { position: absolute; left: 6px; top: .3rem; width: 2px; height: 0; background: linear-gradient(var(--lime), var(--lime-soft)); border-radius: 2px; box-shadow: 0 0 12px rgba(191,228,90,.5); z-index: 1; }
/* gota luminosa que viaja por la espina con el scroll */
.tl-progress::after { content: ""; position: absolute; left: 50%; bottom: -5px; transform: translateX(-50%); width: 12px; height: 12px; border-radius: 50%; background: var(--lime-soft); box-shadow: 0 0 18px 5px rgba(191,228,90,.55); }

.tl-item { position: relative; padding-left: 2.5rem; margin-bottom: clamp(1.5rem, 3vw, 2.3rem); }
/* nodo */
.tl-item::before {
  content: ""; position: absolute; left: 0; top: .5rem; z-index: 2;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--forest); border: 2px solid var(--lime);
  box-shadow: 0 0 0 4px var(--forest);
  transition: background .4s var(--ease-out), box-shadow .4s var(--ease-out), transform .45s var(--ease-bounce);
}
.tl-item.is-past::before { background: var(--lime); box-shadow: 0 0 0 4px var(--forest), 0 0 16px rgba(191,228,90,.7); }
/* nodo activo: crece y pulsa cuando estás sobre ese hito */
.tl-item.is-current::before { background: var(--lime); transform: scale(1.35); box-shadow: 0 0 0 4px var(--forest), 0 0 24px 3px rgba(191,228,90,.95); animation: tlPulse 2s var(--ease-soft) infinite; }
@keyframes tlPulse { 0%,100% { box-shadow: 0 0 0 4px var(--forest), 0 0 20px 2px rgba(191,228,90,.75); } 50% { box-shadow: 0 0 0 4px var(--forest), 0 0 30px 6px rgba(191,228,90,1); } }
/* número fantasma */
.tl-ghost { position: absolute; top: -1.1rem; left: 2rem; z-index: 0; font-family: var(--serif); font-weight: 800; font-size: clamp(2.6rem, 7.5vw, 4.2rem); line-height: 1; color: rgba(243,239,230,.05); pointer-events: none; user-select: none; }
.tl-card { position: relative; z-index: 1; }
.tl-year { display: inline-block; font-family: var(--mono); font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--lime); margin-bottom: .5rem; }
.tl-heading { font-family: var(--serif); font-weight: 700; font-size: clamp(1.3rem, 2.4vw, 1.7rem); color: var(--cream); margin-bottom: .5rem; }
.tl-card p { color: var(--cream-mute); font-size: .98rem; max-width: 48ch; }

/* foto ladeada tipo polaroid */
.tl-photo { margin-top: .85rem; max-width: 320px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line-light); box-shadow: 0 18px 40px -20px rgba(0,0,0,.85); transform: rotate(-2.2deg); transition: transform .5s var(--ease-out); }
.tl-photo img { width: 100%; height: 150px; object-fit: cover; display: block; }
.tl-photo figcaption { font-family: var(--mono); font-size: .68rem; letter-spacing: .05em; color: var(--cream-mute); padding: .55rem .8rem; background: rgba(0,0,0,.28); }
.tl-item:hover .tl-photo { transform: rotate(0deg) scale(1.015); }

/* estadísticas del cierre (Hoy) */
.story-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; margin-top: 1.1rem; max-width: 440px; }
.sstat { border: 1px solid var(--line-light); border-radius: 14px; padding: .8rem .95rem; background: rgba(255,255,255,.02); }
.sstat-v { display: block; font-family: var(--serif); font-weight: 700; font-size: clamp(1.6rem, 3.5vw, 2.1rem); color: var(--cream); letter-spacing: -.02em; }
.sstat-k { display: block; font-family: var(--mono); font-size: .64rem; text-transform: uppercase; letter-spacing: .06em; color: var(--cream-mute); margin-top: .35rem; }

.story-sign { text-align: center; max-width: 760px; margin: clamp(1.2rem, 2.5vw, 2rem) auto 0; color: var(--cream-mute); font-size: 1.05rem; }
.story-sign em { font-family: var(--serif); font-style: italic; color: var(--cream); }

/* desktop: columnas alternadas a los lados de la espina */
@media (min-width: 860px) {
  .timeline { max-width: 960px; }
  .timeline::before, .tl-progress { left: 50%; transform: translateX(-50%); }
  .tl-item { width: calc(50% - 2.8rem); padding-left: 0; margin-bottom: clamp(1.8rem, 3vw, 2.8rem); }
  .tl-item:nth-of-type(even) { margin-left: calc(50% + 2.8rem); }
  .tl-item:nth-of-type(odd)::before  { left: auto; right: -3.37rem; }
  .tl-item:nth-of-type(even)::before { left: -3.37rem; }
  .tl-item:nth-of-type(odd) .tl-ghost  { left: auto; right: 0; top: -2.4rem; }
  .tl-item:nth-of-type(even) .tl-ghost { left: 0; top: -2.4rem; }
}

/* --- Movimiento extra de la línea de tiempo --- */
/* realce de la tarjeta cuando el hito está activo */
.tl-card { transition: transform .55s var(--ease-out); }
.tl-item.is-current .tl-card { transform: translateY(-3px); }
.tl-item.is-current .tl-year { color: var(--lime-soft); }
.tl-ghost { will-change: transform; transition: color .5s var(--ease-out); }
.tl-item.is-current .tl-ghost { color: rgba(191,228,90,.11); }

/* entrada en cascada dentro de cada hito */
.tl-year, .tl-heading, .tl-card > p, .tl-photo {
  opacity: 0; transform: translateY(16px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.tl-item.is-revealed .tl-year   { opacity: 1; transform: none; transition-delay: .04s; }
.tl-item.is-revealed .tl-heading{ opacity: 1; transform: none; transition-delay: .12s; }
.tl-item.is-revealed .tl-card > p { opacity: 1; transform: none; transition-delay: .2s; }
.tl-item.is-revealed .tl-photo  { opacity: 1; transform: rotate(-2.2deg); transition-delay: .28s; }
/* fallback sin JS: mostrar todo */
.no-js .tl-year, .no-js .tl-heading, .no-js .tl-card > p, .no-js .tl-photo { opacity: 1; transform: none; }

/* =============================================================
   13. MENÚ (oscuro, con pestañas)
   ============================================================= */
.menu { background: var(--noir); color: var(--cream); overflow: hidden; padding-inline: clamp(1.25rem, 4vw, 4rem); }
.menu-inner { position: relative; z-index: 2; max-width: 1360px; margin: 0 auto; }

/* foto sangrando en la esquina superior derecha */
.menu-bg-img { position: absolute; top: 0; right: 0; width: min(52%, 760px); height: clamp(300px, 40vw, 520px); z-index: 1; pointer-events: none; }
.menu-bg-img img { width: 100%; height: 100%; object-fit: cover; transition: opacity .4s var(--ease-out); }
.menu-bg-img::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--noir) 1%, rgba(14,13,11,.2) 46%, transparent 82%),
    linear-gradient(0deg, var(--noir) 3%, transparent 55%),
    linear-gradient(180deg, rgba(14,13,11,.5) 0%, transparent 30%);
}

/* encabezado */
.menu-head { position: relative; z-index: 2; max-width: 620px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.kicker-lime { color: var(--lime); }
.kicker-lime .kicker-line { display: inline-block; width: 26px; height: 2px; background: var(--lime); border-radius: 2px; }
.menu-title { font-family: var(--serif); font-weight: 700; font-size: clamp(3rem, 8vw, 6rem); line-height: .95; letter-spacing: -.02em; color: var(--cream); margin: .3rem 0 .6rem; }
.menu-sub { font-size: clamp(1rem, 1.5vw, 1.15rem); color: var(--cream-mute); }
.menu-sub::after { content: ""; display: block; width: 54px; height: 2px; background: var(--lime); opacity: .7; border-radius: 2px; margin-top: 1rem; }

/* pestañas */
.menu-tabs {
  position: relative; z-index: 2;
  display: flex; gap: .3rem; padding: .4rem; margin-bottom: 2.4rem;
  border: 1px solid var(--line-light); border-radius: 100px;
  background: rgba(255,255,255,.02);
  overflow-x: auto; scrollbar-width: none;
}
.menu-tabs::-webkit-scrollbar { display: none; }
.menu-tab {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: .5rem;
  padding: .7rem 1.15rem; border-radius: 100px;
  font-size: .9rem; font-weight: 500; color: var(--cream-mute); white-space: nowrap;
  border: 1px solid transparent;
  transition: color .3s var(--ease-out), background .3s, border-color .3s;
}
.menu-tab:hover { color: var(--cream); }
.menu-tab-ico { display: inline-flex; }
.menu-tab-ico svg { width: 18px; height: 18px; }
.menu-tab.is-active {
  color: var(--lime); border-color: rgba(191,228,90,.5);
  background: rgba(191,228,90,.09);
  box-shadow: inset 0 0 0 1px rgba(191,228,90,.14);
}

/* rótulo de categoría + nota */
.menu-cat { display: flex; align-items: center; gap: 1.2rem; margin-bottom: 1.6rem; flex-wrap: wrap; }
.menu-cat-name { font-family: var(--mono); font-size: .9rem; letter-spacing: .28em; text-transform: uppercase; color: var(--cream); }
.menu-cat-line { flex: 1; min-width: 40px; height: 1px; background: linear-gradient(90deg, rgba(191,228,90,.6), rgba(191,228,90,0)); }
.menu-cat-note { display: inline-flex; align-items: center; gap: .5rem; max-width: 42ch; font-size: .82rem; color: var(--cream-mute); }
.menu-cat-note svg { width: 16px; height: 16px; color: var(--lime); flex: none; }

/* grilla de tarjetas */
.menu-cards { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.menu-card {
  position: relative; display: flex; flex-direction: column; gap: .9rem;
  padding: 1.1rem; border: 1px solid var(--line-light); border-radius: 16px;
  background: rgba(255,255,255,.02);
  transition: border-color .3s var(--ease-out), background .3s, transform .3s var(--ease-out);
}
.menu-card:hover { border-color: rgba(191,228,90,.4); background: rgba(255,255,255,.045); transform: translateY(-3px); }
.menu-card-top { display: flex; align-items: flex-start; gap: .8rem; }
.menu-card-photo { flex: none; width: 70px; height: 70px; border-radius: 12px; overflow: hidden; background: #1a1713; }
.menu-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.menu-card-info { flex: 1; min-width: 0; }
.menu-card-name { font-family: var(--serif); font-weight: 700; font-size: 1.22rem; line-height: 1.05; color: var(--cream); }
.menu-card-desc { margin-top: .35rem; font-size: .84rem; line-height: 1.4; color: var(--cream-mute); }

.mini-cup {
  flex: none; position: relative; width: 28px; height: 36px;
  border-radius: 4px 4px 8px 8px; background: var(--fill, #333);
  border: 1px solid rgba(243,239,230,.28); overflow: hidden;
}
.mini-cup::after { content: ""; position: absolute; top: 0; left: 16%; width: 18%; height: 100%; background: linear-gradient(90deg, rgba(255,255,255,.4), transparent); }

.ingr { display: flex; flex-wrap: wrap; gap: .3rem 1rem; }
.ingr li { display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; color: var(--cream-mute); }
.ingr .d { width: 8px; height: 8px; border-radius: 50%; background: var(--c, #888); flex: none; }

.menu-card-price { margin-top: auto; font-family: var(--mono); font-weight: 600; font-size: 1.15rem; color: var(--lime); }

.menu-badge {
  position: absolute; top: 0; right: 14px; transform: translateY(-50%);
  font-family: var(--mono); font-size: .6rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .09em;
  padding: .28rem .62rem; border-radius: 100px; background: var(--lime); color: var(--ink);
}

/* tarjeta tipo plato (todas las secciones): la FOTO es la protagonista */
.menu-card--dish {
  padding: 0; gap: 0; overflow: hidden; border-radius: 18px;
  border-color: rgba(243,239,230,.09);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.menu-card--dish:hover {
  border-color: rgba(191,228,90,.45);
  box-shadow: 0 20px 44px -24px rgba(0,0,0,.95), inset 0 1px 0 rgba(255,255,255,.07);
}
.dish-photo { position: relative; width: 100%; aspect-ratio: 5 / 4; background: #1a1713; overflow: hidden; }
.dish-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.menu-card--dish:hover .dish-photo img { transform: scale(1.06); }
/* velo inferior para fundir la foto con el cuerpo (premium, sin costura) */
.dish-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(14,13,11,.9) 0%, rgba(14,13,11,.35) 12%, transparent 24%); }
.dish-body { position: relative; display: flex; flex-direction: column; padding: .5rem 1rem .9rem; }
.dish-body .menu-card-name { font-size: 1.14rem; line-height: 1.05; }
.dish-body .menu-card-desc { margin-top: .25rem; font-size: .8rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dish-body .ingr { margin-top: .55rem; }
.dish-foot { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-top: .6rem; }
.dish-foot .menu-card-price { margin-top: 0; }
.dish-add {
  flex: none; display: grid; place-items: center; width: 32px; height: 32px;
  border-radius: 50%; border: 1px solid rgba(191,228,90,.5); color: var(--lime);
  font-size: 1.15rem; line-height: 1;
  transition: background .3s var(--ease-out), color .3s, transform .35s var(--ease-out), border-color .3s;
}
.menu-card--dish:hover .dish-add { background: var(--lime); color: var(--ink); border-color: var(--lime); }
/* badge posado sobre la foto (Destacado) */
.menu-card--dish .menu-badge { top: 12px; right: 12px; transform: none; box-shadow: 0 4px 12px -4px rgba(0,0,0,.6); }

/* el título grande del encabezado ya muestra la categoría activa → ocultamos el rótulo por panel */
.menu-cat { display: none; }

/* pie */
.menu-foot { margin-top: 2.4rem; display: flex; justify-content: center; }
.menu-foot-pill {
  display: inline-flex; align-items: center; gap: .6rem; text-align: center;
  padding: .7rem 1.2rem; border: 1px solid var(--line-light); border-radius: 100px;
  font-size: .85rem; color: var(--cream-mute); background: rgba(255,255,255,.02);
}
.menu-foot-pill svg { width: 17px; height: 17px; color: var(--lime); flex: none; }

/* paneles */
.menu-panel { display: none; transition: opacity .3s var(--ease-out), transform .3s var(--ease-out); }
.menu-panel.is-active { display: block; }
.menu-panel.is-leaving { opacity: 0; transform: translateY(10px); pointer-events: none; }
.menu-panel.is-active .menu-card { animation: menuCardIn .55s var(--ease-out) both; }
.menu-panel.is-active .menu-card:nth-child(2){animation-delay:.04s}
.menu-panel.is-active .menu-card:nth-child(3){animation-delay:.08s}
.menu-panel.is-active .menu-card:nth-child(4){animation-delay:.12s}
.menu-panel.is-active .menu-card:nth-child(5){animation-delay:.16s}
.menu-panel.is-active .menu-card:nth-child(6){animation-delay:.2s}
.menu-panel.is-active .menu-card:nth-child(7){animation-delay:.24s}
.menu-panel.is-active .menu-card:nth-child(8){animation-delay:.28s}
.menu-panel.is-active .menu-card:nth-child(9){animation-delay:.32s}
.menu-panel.is-active .menu-card:nth-child(n+10){animation-delay:.36s}
@keyframes menuCardIn { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }
/* fallback sin JS: se muestran todas las categorías apiladas */
.no-js .menu-tabs { display: none; }
.no-js .menu-panel { display: block !important; }
.no-js .menu-panel + .menu-panel { margin-top: 2.6rem; }

/* =============================================================
   14. RESERVAR
   ============================================================= */
.reserve-inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 2.8rem; }
.reserve-copy h2 { font-size: clamp(1.9rem, 4.4vw, 3.4rem); margin-top: .3rem; }
.reserve-lead { max-width: 42ch; margin: 1rem 0 1.6rem; }
.reserve-notes { display: grid; gap: .7rem; }
.reserve-notes li { display: flex; align-items: center; gap: .6rem; color: var(--cream-mute); font-size: .95rem; }
.reserve-form { position: relative; background: var(--espresso-2); border: 1px solid var(--line-light); border-radius: var(--radius-sm); padding: 1.8rem; }

.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--cream-mute); }
.field .opt { text-transform: none; letter-spacing: 0; opacity: .7; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--cream); background: rgba(243,239,230,.06);
  border: 1px solid var(--line-light); border-radius: 10px; padding: .75rem .9rem; width: 100%;
  transition: border-color .3s, background .3s;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(169,179,162,.7); }
/* opciones del desplegable: texto oscuro sobre blanco (el popup nativo suele ser blanco) */
.field select option, .field select optgroup { color: #14201a; background: #ffffff; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--lime); background: rgba(243,239,230,.1); }
.field select {
  appearance: none; cursor: pointer;
  padding-right: 2.4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23a9b3a2' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .95rem center;
  background-size: 12px;
}

.reserve-success, .pay-success {
  display: none; margin-top: 1.2rem; padding: 1rem; border-radius: 12px;
  background: rgba(191,228,90,.12); border: 1px solid rgba(191,228,90,.4);
  align-items: center; gap: .8rem; color: var(--cream);
}
.reserve-form.is-done .reserve-success, .resv-panel.is-done .reserve-success, .pay-form.is-done .pay-success { display: flex; }
.check { width: 34px; height: 34px; flex: none; }
.check circle { stroke: var(--lime); stroke-width: 3; stroke-dasharray: 151; stroke-dashoffset: 151; animation: drawC .5s var(--ease-out) forwards; }
.check path { stroke: var(--lime); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 48; stroke-dashoffset: 48; animation: drawC .4s .4s var(--ease-out) forwards; }
@keyframes drawC { to { stroke-dashoffset: 0; } }

/* --- Reserva: plano interactivo del salón --- */
.resv-head { max-width: 1180px; margin: 0 auto 2.4rem; }
.resv-head h2 { font-size: clamp(1.9rem, 4.4vw, 3.4rem); margin-top: .3rem; }
.resv-lead { max-width: 54ch; margin-top: .8rem; }
.resv-layout { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 2rem; }

.floor { position: relative; aspect-ratio: 3 / 2; border-radius: var(--radius-sm); border: 1px solid var(--line-light); background: rgba(255,255,255,.02); overflow: hidden; }
.floor-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(243,239,230,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(243,239,230,.05) 1px, transparent 1px); background-size: 34px 34px; }
.floor-zone { position: absolute; font-family: var(--mono); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--cream-mute); opacity: .7; }
.fz-int { left: 4%; top: 6%; }
.fz-ven { left: 50%; top: 5%; transform: translateX(-50%); }
.fz-pat { right: 5%; bottom: 6%; }
.floor-bar { position: absolute; left: 5%; bottom: 12%; width: 24%; height: 9%; border: 1px dashed var(--line-light); border-radius: 8px; display: grid; place-items: center; font-family: var(--mono); font-size: .58rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cream-mute); }
.floor-door { position: absolute; left: 5%; bottom: 3.5%; font-family: var(--mono); font-size: .56rem; letter-spacing: .1em; color: var(--cream-mute); opacity: .6; }

.floor-grid { z-index: 0; }
.floor-plan { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.rt { position: absolute; z-index: 2; transform: translate(-50%, -50%); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid rgba(191,228,90,.55); background: rgba(22,20,17,.72); color: var(--cream); line-height: 1; cursor: pointer; transition: transform .3s var(--ease-out), background .3s, border-color .3s, box-shadow .3s, color .3s; }
.rt[data-seats="4"] { width: 56px; height: 52px; }
.rt[data-seats="6"] { width: 66px; height: 56px; border-radius: 14px; }
.rt b { font-weight: 700; font-size: 1rem; }
.rt i { font-style: normal; font-family: var(--mono); font-size: .54rem; color: var(--cream-mute); margin-top: 2px; }
.rt:hover { transform: translate(-50%, -50%) translateY(-3px); background: rgba(191,228,90,.18); box-shadow: 0 10px 22px -10px rgba(191,228,90,.6); }
.rt.is-selected { background: var(--lime); border-color: var(--lime); color: var(--noir); box-shadow: 0 0 0 4px rgba(191,228,90,.22), 0 0 22px rgba(191,228,90,.6); animation: rtPulse 2s var(--ease-soft) infinite; }
.rt.is-selected i { color: rgba(14,13,11,.7); }
.rt[data-status="taken"] { cursor: not-allowed; color: var(--cream-mute); border-color: rgba(243,239,230,.16); background: repeating-linear-gradient(45deg, rgba(243,239,230,.05), rgba(243,239,230,.05) 4px, transparent 4px, transparent 8px); }
.rt[data-status="taken"]:hover { transform: translate(-50%, -50%); box-shadow: none; }
@keyframes rtPulse { 0%,100% { box-shadow: 0 0 0 4px rgba(191,228,90,.22), 0 0 18px rgba(191,228,90,.5); } 50% { box-shadow: 0 0 0 4px rgba(191,228,90,.22), 0 0 28px rgba(191,228,90,.85); } }

.floor.shake { animation: floorShake .4s var(--ease-soft); }
@keyframes floorShake { 0%,100% { transform: translateX(0); } 20% { transform: translateX(-7px); } 40% { transform: translateX(7px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(4px); } }

.floor-legend { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 1rem; font-family: var(--mono); font-size: .7rem; color: var(--cream-mute); }
.floor-legend span { display: inline-flex; align-items: center; gap: .45rem; }
.lg { width: 13px; height: 13px; border-radius: 4px; display: inline-block; flex: none; }
.lg-free { border: 1.5px solid rgba(191,228,90,.55); background: rgba(191,228,90,.08); }
.lg-sel { background: var(--lime); }
.lg-taken { border: 1px solid rgba(243,239,230,.16); background: repeating-linear-gradient(45deg, rgba(243,239,230,.16), rgba(243,239,230,.16) 3px, transparent 3px, transparent 6px); }

.resv-panel { position: relative; background: var(--espresso-2); border: 1px solid var(--line-light); border-radius: var(--radius-sm); padding: 1.6rem; }
.resv-pick { display: flex; align-items: center; gap: .7rem; padding: .9rem 1rem; border-radius: 12px; border: 1px dashed var(--line-light); margin-bottom: 1.2rem; transition: border-color .35s var(--ease-out), background .35s, color .35s; }
.resv-pick[data-empty] { color: var(--cream-mute); }
.resv-pick:not([data-empty]) { border-style: solid; border-color: rgba(191,228,90,.5); background: rgba(191,228,90,.08); color: var(--cream); }
.resv-pick-ico { color: var(--lime); font-size: 1.05rem; }
.resv-pick-text { font-size: .95rem; }
.resv-error { color: #ff9c8b; font-size: .85rem; margin: -.2rem 0 .9rem; }

@media (min-width: 960px) {
  .resv-layout { grid-template-columns: 1.4fr .95fr; align-items: start; }
}

/* =============================================================
   15. PAGAR TU CUENTA
   ============================================================= */
.pay-inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 2.8rem; align-items: start; }
.pay-copy h2 { font-size: clamp(1.9rem, 4.4vw, 3.4rem); margin-top: .3rem; }
.pay-lead { max-width: 44ch; color: var(--ink-soft); margin: 1rem 0 1.6rem; }
.pay-perks { display: grid; gap: .7rem; }
.pay-perks li { display: flex; align-items: center; gap: .6rem; color: var(--ink-soft); font-size: .95rem; }
.pay-form { position: relative; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.8rem; }
.pay-form .field label { color: var(--ink-mute); }
.pay-form .field input {
  color: var(--ink); background: #fff; border: 1px solid var(--line);
}
.pay-form .field input::placeholder { color: var(--ink-mute); opacity: .6; }
.pay-form .field input:focus { border-color: var(--green); background: #fff; }
.input-money { position: relative; display: flex; align-items: center; }
.input-money span { position: absolute; left: .9rem; font-weight: 600; color: var(--ink-mute); pointer-events: none; }
.input-money input { padding-left: 1.9rem; }

.tip-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.tip-chip {
  padding: .55rem 1rem; border-radius: 100px;
  border: 1px solid var(--line); background: #fff; color: var(--ink-soft);
  font-size: .9rem; font-weight: 500;
  transition: transform .3s var(--ease-out), background .3s, color .3s, border-color .3s;
}
.tip-chip:hover { transform: translateY(-2px); border-color: var(--green); }
.tip-chip.is-active { background: var(--green); color: #fff; border-color: var(--green); }

.pay-summary { margin: 1.4rem 0; padding: 1.1rem 1.2rem; border-radius: 12px; background: #fff; border: 1px dashed var(--line); }
.pay-summary-row { display: flex; justify-content: space-between; align-items: baseline; padding: .35rem 0; font-size: .95rem; color: var(--ink-soft); }
.pay-summary-row span:last-child { font-family: var(--mono); }
.pay-summary-row em { font-style: normal; font-size: .8rem; color: var(--ink-mute); }
.pay-summary-total { margin-top: .4rem; padding-top: .8rem; border-top: 1px solid var(--line); font-size: 1.15rem; font-weight: 700; color: var(--ink); }
.pay-summary-total span:last-child { color: var(--green); font-size: 1.3rem; }
.pay-trust { margin-top: 1rem; font-size: .78rem; color: var(--ink-mute); display: flex; align-items: center; gap: .45rem; }
.pay-trust .lock { font-size: .9rem; }
.pay-success { color: var(--ink); background: rgba(47,125,59,.1); border-color: rgba(47,125,59,.35); }
.pay-success .check circle, .pay-success .check path { stroke: var(--green); }

/* =============================================================
   16. UBICACIÓN
   ============================================================= */
.visit-head { max-width: 1180px; margin: 0 auto 2.5rem; }
.visit-head h2 { font-size: clamp(1.9rem, 4.4vw, 3.4rem); margin-top: .3rem; }
.visit-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 2rem; }
.visit-info { display: grid; gap: 1.8rem; align-content: start; }
.info-block { border-top: 1px solid var(--line); padding-top: 1rem; }
.info-label { font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-mute); }
.info-block p { margin-top: .5rem; font-size: 1.05rem; }
.info-block a:hover { color: var(--green); }
.hours { margin-top: .6rem; display: grid; gap: .5rem; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .5rem; border-bottom: 1px dotted var(--line); font-size: .98rem; }
.hours li span:last-child { font-family: var(--mono); color: var(--ink-soft); }
.visit-map { position: relative; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); min-height: 340px; background: var(--paper-2); }
.map-svg { width: 100%; height: 100%; min-height: 340px; }
.map-pin-drop circle:first-child { animation: ping 2.6s var(--ease-soft) infinite; transform-origin: center; }
/* ruta que se dibuja desde el subte al aparecer */
.map-route { stroke-dasharray: 440; stroke-dashoffset: 440; opacity: .55; }
.visit-map.is-revealed .map-route { animation: routeDraw 1.25s .3s var(--ease-out) forwards; }
@keyframes routeDraw { to { stroke-dashoffset: 0; } }
/* pin que cae y rebota */
.map-pin-drop { transform-box: fill-box; transform-origin: center bottom; }
.visit-map.is-revealed .map-pin-drop { animation: pinDrop .8s .5s var(--ease-bounce) both; }
@keyframes pinDrop { 0% { transform: translateY(-46px); opacity: 0; } 60% { opacity: 1; } 100% { transform: translateY(0); opacity: 1; } }
.map-subte { opacity: 0; }
.visit-map.is-revealed .map-subte { animation: fadeInMap .5s .2s var(--ease-out) forwards; }
@keyframes fadeInMap { to { opacity: 1; } }
@keyframes ping { 0%, 100% { opacity: .5; transform: scale(.9); } 50% { opacity: .2; transform: scale(1.15); } }
.map-link { position: absolute; right: 1rem; bottom: 1rem; font-family: var(--mono); font-size: .78rem; padding: .5rem .9rem; border-radius: 100px; background: var(--ink); color: var(--cream); transition: transform .3s var(--ease-out); }
.map-link:hover { transform: translateY(-2px); }

/* =============================================================
   17. FOOTER
   ============================================================= */
.footer { text-align: center; padding-top: clamp(4rem, 8vw, 7rem); }
.footer-diamond { display: block; color: var(--lime); font-size: 2rem; margin-bottom: 1.4rem; animation: spin 9s linear infinite; }
.footer-title { font-size: clamp(2.4rem, 7vw, 5rem); font-weight: 900; letter-spacing: -.04em; }
.footer-sub { margin-top: 1rem; color: var(--cream-mute); font-family: var(--mono); font-size: .8rem; letter-spacing: .04em; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.4rem; margin-top: 1.6rem; }
.footer-links a { font-weight: 500; color: var(--cream); position: relative; }
.footer-links a::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0; background: var(--lime); transition: width .35s var(--ease-out); }
.footer-links a:hover::after { width: 100%; }
.footer-social { display: flex; justify-content: center; gap: .7rem; margin: 2rem 0; }
.soc { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-light); font-family: var(--mono); font-size: .8rem; color: var(--cream); transition: background .3s var(--ease-out), color .3s, transform .3s; }
.soc:hover { background: var(--lime); color: var(--ink); transform: translateY(-2px); }
.footer-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; max-width: 1180px; margin: 2.5rem auto 0; padding-top: 1.5rem; border-top: 1px solid var(--line-light); font-family: var(--mono); font-size: .74rem; color: var(--cream-mute); }

/* =============================================================
   18. Reveal (con dirección + cascada)
   ============================================================= */
[data-reveal] { opacity: 0; transform: translateY(38px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); will-change: opacity, transform; }
[data-reveal="left"]  { transform: translateX(-46px); }
[data-reveal="right"] { transform: translateX(46px); }
[data-reveal="scale"] { transform: scale(.94); }
[data-reveal].is-revealed { opacity: 1; transform: none; }
/* red de seguridad sin JS */
.no-js [data-reveal] { opacity: 1; transform: none; }

/* =============================================================
   19. Responsive
   ============================================================= */
@media (min-width: 560px) { .menu-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .menu-cards { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1180px) { .menu-cards { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 960px) {
  .reserve-inner { grid-template-columns: 1fr 1.05fr; align-items: start; }
  .pay-inner { grid-template-columns: 1fr 1.05fr; }
  .visit-grid { grid-template-columns: .8fr 1.2fr; align-items: stretch; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; margin-left: auto; width: 42px; height: 42px; border-radius: 100px; align-items: center; justify-content: center; background: var(--ink); }
  .nav-toggle span { width: 18px; height: 2px; background: var(--cream); transition: transform .3s; }
  .nav.menu-open .nav-toggle span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
  .nav.menu-open .nav-toggle span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
  .nav.menu-open .nav-links { display: flex; flex-direction: column; gap: 1rem; position: absolute; top: calc(100% + 10px); left: 0; right: 0; margin: 0 auto; width: min(1180px, calc(100% - var(--gutter))); background: rgba(255,255,255,.92); backdrop-filter: blur(14px); border-radius: 18px; padding: 1.3rem 1.5rem; box-shadow: 0 20px 40px -18px rgba(0,0,0,.4); }
  .nav.menu-open .nav-links a { color: var(--ink-soft); }
}
@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
  .footer-bar { justify-content: center; text-align: center; }
  /* plano de mesas: mesas más chicas para que no se amontonen en el celular */
  .rt { width: 38px; height: 38px; border-radius: 10px; }
  .rt[data-seats="4"] { width: 44px; height: 42px; }
  .rt[data-seats="6"] { width: 52px; height: 46px; border-radius: 12px; }
  .rt b { font-size: .82rem; }
  .rt i { font-size: .48rem; margin-top: 1px; }
  .floor-legend { gap: .9rem; font-size: .64rem; }
  /* cue de bajada un toque más compacto */
  .hero-down { bottom: .8rem; }
}

/* =============================================================
   20. Reduced-motion (solo lo intrusivo)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .splash-mark, .footer-diamond { animation: none; }
  .map-pin-drop circle:first-child { animation: none; }
  .map-route { stroke-dashoffset: 0; animation: none; }
  .map-pin-drop, .map-subte { animation: none; opacity: 1; transform: none; }
  .hero-bg { transform: none; }
  .hero-down-ico { animation: none; }
  .marquee-track { animation: none; }
  .hero-line-in { transform: none; }
  .menu-panel { transition: none; }
  .menu-panel.is-leaving { opacity: 1; transform: none; }
  .menu-panel.is-active .menu-card { animation: none; }
  .dish-photo img, .menu-card--dish:hover .dish-photo img { transition: none; transform: none; }
  /* los reveals aparecen sin deslizar: nada de translateY(38px) al hacer scroll */
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none; }
  /* línea de tiempo: sin pulso ni cascada, todo visible */
  .tl-item.is-current::before { animation: none; }
  .tl-year, .tl-heading, .tl-card > p, .tl-photo { opacity: 1 !important; transform: none !important; transition: none; }
  .tl-item .tl-photo { transform: rotate(-2.2deg) !important; }
  /* reserva: mesa elegida sin pulso, plano sin shake */
  .rt.is-selected { animation: none; }
  .floor.shake { animation: none; }
}
