/* ═══════════════════════════════════════════════════════════
   EUFORIA · Sushi · Parrilla · Heladería — Ubaté
   Paleta tomada del propio local: madera, cal, terracota
   y el oro del letrero. Todo lo ajustable vive en :root
   ═══════════════════════════════════════════════════════════ */

/* Letras propias: Cormorant Garamond e Inter, servidas desde el sitio
   (licencia OFL, ver fuentes/). Así la página no espera a Google. */
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(../fuentes/cormorant.woff2) format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 300 700; font-display: swap; src: url(../fuentes/cormorant-italica.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fuentes/inter.woff2) format('woff2'); }

:root {
  color-scheme: only dark; /* el sitio ya es oscuro: que el celular no lo «oscurezca» */
  /* Fondos — negros cálidos, nunca azulados */
  --bg:      #0c0a09;
  --bg-2:    #12100e;
  --bg-3:    #1a1613;
  --panel:   rgba(244, 234, 220, .035);
  --panel-2: rgba(244, 234, 220, .06);

  /* Tinta */
  --tinta:   #f4eadc;
  --tinta-2: #b8ab99;
  --tinta-3: #857a6c;

  /* Acentos */
  --oro:       #c9a24a;
  --oro-claro: #e8cf94;
  --terracota: #a4593a;

  /* Líneas */
  --linea:   rgba(244, 234, 220, .10);
  --linea-2: rgba(244, 234, 220, .2);

  /* Tipos */
  --display: 'Cormorant Garamond', Georgia, serif;
  --sans:    'Inter', system-ui, -apple-system, sans-serif;

  --wrap: 1280px;
  --r:    2px;

  --ease:  cubic-bezier(.22, 1, .36, 1);
  --suave: cubic-bezier(.65, 0, .35, 1);
  --t: .6s var(--ease);
}

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

[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  color: var(--tinta);
  background: var(--bg);
  overflow-x: hidden;
  overflow-x: clip;   /* «clip» no rompe position: sticky (el carril fijo de platos) */
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.005em;
  margin: 0;
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 28px; }
.wrap--narrow { max-width: 760px; }

::selection { background: var(--oro); color: #100c07; }
:focus-visible { outline: 1px solid var(--oro); outline-offset: 4px; }

.skip-link {
  position: fixed; left: -9999px; top: 0; z-index: 999;
  background: var(--oro); color: #100c07; padding: 12px 22px;
}
.skip-link:focus { left: 14px; top: 14px; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2a241e; border: 3px solid var(--bg); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--oro); }

/* ─── Capas globales ─────────────────────────────────────── */

.grain {
  position: fixed; inset: -50%; z-index: 9998; pointer-events: none;
  opacity: .03; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grano 9s steps(5) infinite;
}
@keyframes grano {
  0%,100% { transform: translate(0,0); }
  25% { transform: translate(-2%, 2%); }
  50% { transform: translate(2%, -2%); }
  75% { transform: translate(-1%, -2%); }
}

.progress {
  position: fixed; top: 0; left: 0; height: 1.5px; width: 0; z-index: 9997;
  background: linear-gradient(90deg, transparent, var(--oro));
}

.cursor, .cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 9999;
  pointer-events: none; border-radius: 50%; opacity: 0;
  transition: opacity .4s;
}
.cursor { width: 5px; height: 5px; background: var(--oro); margin: -2.5px 0 0 -2.5px; }
.cursor-ring {
  width: 30px; height: 30px; margin: -15px 0 0 -15px;
  border: 1px solid rgba(201, 162, 74, .45);
  transition: opacity .4s, width .45s var(--ease), height .45s var(--ease),
              margin .45s var(--ease), border-color .45s, background .45s;
}
body.cursor-on .cursor, body.cursor-on .cursor-ring { opacity: 1; }
body.cursor-hot .cursor-ring {
  width: 62px; height: 62px; margin: -31px 0 0 -31px;
  border-color: var(--oro); background: rgba(201, 162, 74, .07);
}

/* ─── Precarga ───────────────────────────────────────────── */

.loader {
  position: fixed; inset: 0; z-index: 10000;
  display: grid; place-items: center; background: var(--bg);
  transition: opacity .9s var(--ease), visibility .9s;
}
/* pointer-events se quita en el mismo instante en que empieza a irse.
   visibility solo cambia AL FINAL de la transición, así que sin esto el
   cargador seguiría interceptando clics durante casi un segundo — o para
   siempre si el navegador congela la transición (pestaña en segundo plano). */
.loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader__inner { text-align: center; width: min(340px, 74vw); }
.loader__word {
  white-space: nowrap; width: 100vw; margin-inline: calc((100% - 100vw) / 2);
  font-family: var(--display); font-size: clamp(1.3rem, 6.4vw, 2.6rem);
  font-weight: 400; letter-spacing: .5em; text-indent: .5em;
  margin-bottom: 26px; color: var(--tinta);
}
.loader__word span { display: inline-block; opacity: 0; }
.loader__rule { height: 1px; background: var(--linea); overflow: hidden; }
.loader__rule span { display: block; height: 100%; width: 0; background: var(--oro); }

/* ─── Botones ────────────────────────────────────────────── */

.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-size: 11px; font-weight: 400;
  letter-spacing: .22em; text-transform: uppercase;
  padding: 17px 38px; border: 0; cursor: pointer;
  border-radius: var(--r); overflow: hidden;
  color: #100c07; background: var(--oro);
  transition: color var(--t), box-shadow var(--t), scale .16s var(--ease);
  will-change: transform;
}
.btn > span { position: relative; z-index: 2; }
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: var(--oro-claro);
  transform: scaleX(0); transform-origin: right;
  transition: transform .6s var(--ease);
}
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn:hover { box-shadow: 0 14px 44px -18px rgba(201, 162, 74, .8); }
.btn--sm { padding: 12px 24px; font-size: 11px; }
.btn--lg { padding: 21px 48px; }
.btn--full { width: 100%; }
/* Segundo botón: dorado de contorno (fabian prefiere los botones dorados) */
.btn--ghost {
  background: transparent; color: var(--oro);
  box-shadow: inset 0 0 0 1px var(--oro);
}
.btn--ghost::before { background: var(--oro); }
.btn--ghost:hover { color: #100c07; }

.link {
  background-image: linear-gradient(var(--oro), var(--oro));
  background-repeat: no-repeat;
  background-size: 100% 1px; background-position: 0 100%;
  padding-bottom: 2px;
  transition: color .35s, background-size .5s var(--ease);
}
.link:hover { color: var(--oro); background-size: 0% 1px; background-position: 100% 100%; }

.chip {
  display: inline-block;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  padding: 9px 18px; border-radius: 100px;
  color: var(--tinta-2); box-shadow: inset 0 0 0 1px var(--linea);
  transition: color .4s, box-shadow .4s;
}
.chip:hover { color: var(--oro); box-shadow: inset 0 0 0 1px rgba(201,162,74,.55); }

.rule { width: 34px; height: 1px; background: currentColor; opacity: .45; }

/* ─── Navegación ─────────────────────────────────────────── */

.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 26px 0;
  transition: padding var(--t), background var(--t), backdrop-filter var(--t), box-shadow var(--t);
}
.nav.is-stuck {
  padding: 13px 0;
  background: rgba(12, 10, 9, .78);
  backdrop-filter: blur(20px) saturate(130%);
  box-shadow: 0 1px 0 var(--linea);
}
.nav__inner {
  max-width: var(--wrap); margin-inline: auto; padding-inline: 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 26px;
}
.nav__logo { display: grid; gap: 1px; }
.nav__logo-text {
  font-family: var(--display); font-size: 24px; font-weight: 500; letter-spacing: .26em;
  line-height: 1;
}
.nav__logo-sub {
  font-size: 9.5px; letter-spacing: .34em; text-transform: uppercase; color: var(--tinta-3);
  white-space: nowrap;
}

.nav__links { display: flex; align-items: center; gap: 38px; }
.nav__links > a {
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--tinta-2);
  white-space: nowrap; transition: color .35s;
}
.nav__links > a:not(.btn):hover { color: var(--tinta); }
/* El botón va sobre fondo dorado: necesita la tinta oscura. Sin esto hereda
   el color claro de los enlaces del menú, que tiene más especificidad. */
.nav__links > a.btn { color: #100c07; }

.nav__links span[data-hover] {
  position: relative; display: inline-block; overflow: hidden; vertical-align: bottom;
}
.nav__links span[data-hover]::after {
  content: attr(data-hover); position: absolute; left: 0; top: 100%; color: var(--oro);
}
.nav__links span[data-hover],
.nav__links span[data-hover]::after { transition: transform .5s var(--ease); }
.nav__links a:hover span[data-hover] { transform: translateY(-100%); }

.nav__toggle {
  display: none; width: 38px; height: 38px; padding: 12px 6px;
  background: none; border: 0; cursor: pointer;
  flex-direction: column; justify-content: space-between;
}
.nav__toggle span { display: block; height: 1px; background: var(--tinta); transition: transform .45s var(--ease); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-6.5px) rotate(-45deg); }

/* ─── Portada ────────────────────────────────────────────── */

.hero {
  position: relative; min-height: 100svh;
  display: grid; place-items: center; text-align: center;
  overflow: hidden; isolation: isolate;
}
.hero__media { position: absolute; inset: -8% 0; z-index: -1; }
.hero__img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.12);
  animation: respirar 26s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes respirar {
  from { transform: scale(1.12) translate3d(0, 0, 0); }
  to   { transform: scale(1.2) translate3d(0, -1.6%, 0); }
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(12,10,9,.86) 0%, rgba(12,10,9,.46) 32%, rgba(12,10,9,.72) 70%, var(--bg) 100%),
    radial-gradient(ellipse 76% 58% at 50% 46%, transparent 20%, rgba(12,10,9,.62) 100%);
}
.hero__glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 34% at 50% 44%, rgba(201,162,74,.14), transparent 68%);
}

.hero__content { padding: 140px 28px 160px; max-width: 940px; }

.hero__kicker {
  display: inline-flex; align-items: center; gap: 16px;
  font-size: 11px; letter-spacing: .34em; text-transform: uppercase;
  color: var(--oro); margin: 0 0 34px;
}

.hero__title {
  font-size: clamp(3.8rem, 16vw, 11rem);
  font-weight: 300; letter-spacing: .06em; margin: 0;
  color: var(--tinta);
}
.hero__title .ch { display: inline-block; will-change: transform, opacity; }

.hero__tagline {
  font-family: var(--display); font-style: italic; font-weight: 300;
  font-size: clamp(1.15rem, 3vw, 1.75rem);
  letter-spacing: .04em; color: var(--tinta-2); margin: 20px 0 48px;
}
.hero__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero__nota { margin: 36px 0 0; font-size: .85rem; color: var(--tinta-3); letter-spacing: .02em; }

/* Ticker */
.marquee {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 18px 0; overflow: hidden;
  border-top: 1px solid var(--linea);
  background: rgba(12,10,9,.42); backdrop-filter: blur(8px);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.marquee__track { display: flex; width: max-content; min-height: 26px; animation: correr 46s linear infinite; }   /* el alto de una línea, antes de que el script ponga las palabras */
.marquee__track span {
  display: inline-flex; align-items: center; gap: 34px; padding-right: 34px;
  font-family: var(--display); font-size: 15px; letter-spacing: .34em;
  text-transform: uppercase; color: var(--tinta-3); white-space: nowrap;
}
.marquee__track span::after { content: '✦'; color: var(--oro); font-size: 9px; letter-spacing: 0; }
@keyframes correr { to { transform: translateX(-50%); } }

/* ─── Cifras ─────────────────────────────────────────────── */

.cifras { padding: 88px 0; border-bottom: 1px solid var(--linea); }
.cifras__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.cifra { text-align: center; position: relative; }
.cifra + .cifra::before {
  content: ''; position: absolute; left: 0; top: 12%; bottom: 12%;
  width: 1px; background: var(--linea);
}
.cifra__valor {
  font-family: var(--display); font-size: clamp(2.8rem, 7vw, 4.4rem);
  font-weight: 300; color: var(--oro); line-height: 1;
}
.cifra__etiqueta {
  margin: 14px 0 0; font-size: 11px; letter-spacing: .3em;
  text-transform: uppercase; color: var(--tinta-3);
}

/* ─── Secciones ──────────────────────────────────────────── */

.section { padding: 150px 0; position: relative; }
.section--carta, .section--reservas { background: var(--bg-2); border-block: 1px solid var(--linea); }

.section__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 32px; flex-wrap: wrap; margin-bottom: 66px;
}
.section__head--center { justify-content: center; text-align: center; }
.section__title { font-size: clamp(2.6rem, 7vw, 4.4rem); font-weight: 300; }
.section__nota { font-size: .82rem; color: var(--tinta-3); margin: 0; font-style: italic; }

.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: 11px; letter-spacing: .34em; text-transform: uppercase;
  color: var(--oro); margin: 0 0 18px;
}
.eyebrow::before { content: ''; width: 30px; height: 1px; background: var(--oro); }
.section__head--center .eyebrow { justify-content: center; }

.lead {
  font-family: var(--display); font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  font-weight: 300; line-height: 1.6; color: var(--tinta-2); margin: 0;
}

/* Sobre */
.sobre { display: grid; grid-template-columns: .85fr 1fr; gap: 76px; align-items: center; }
.sobre__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 38px; }
.sobre .section__title { margin-bottom: 30px; }

.marco { margin: 0; overflow: hidden; border-radius: var(--r); position: relative; }
.marco::after {
  content: ''; position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px var(--linea);
  pointer-events: none;
}
.marco img { width: 100%; aspect-ratio: 3/4; object-fit: cover; will-change: transform; }

/* Revelado palabra a palabra */
.reveal-text .w { display: inline-block; overflow: hidden; vertical-align: bottom; }
.reveal-text .w > i { display: inline-block; font-style: inherit; }
html.js .reveal-text .w > i {
  transform: translateY(105%);
  transition: transform .9s var(--ease);
}
html.js .reveal-text.is-visible .w > i { transform: none; }

/* ─── Buscador ───────────────────────────────────────────── */

.buscador {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 4px; min-width: 300px;
  border-bottom: 1px solid var(--linea);
  color: var(--tinta-3);
  transition: border-color .4s;
}
.buscador:focus-within { border-color: var(--oro); }
.buscador input {
  flex: 1; min-width: 0; border: 0; background: none; outline: none;
  font-family: var(--sans); font-size: 14px; font-weight: 300; color: var(--tinta);
}
.buscador input::placeholder { color: var(--tinta-3); }
.buscador input::-webkit-search-cancel-button { display: none; }
.buscador button {
  border: 0; background: none; cursor: pointer; padding: 0 3px;
  font-size: 21px; line-height: 1; color: var(--tinta-3);
}
.buscador button:hover { color: var(--oro); }

/* ─── Carta ──────────────────────────────────────────────── */

.menu__tabs { display: flex; flex-wrap: wrap; gap: 18px 22px; margin-bottom: 64px; }
.menu__tab {
  position: relative; font-family: var(--sans);
  font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase;
  padding: 6px 0; cursor: pointer;
  color: var(--tinta-3); background: none; border: 0;
  transition: color .4s;
}
.menu__tab::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--oro);
  transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
.menu__tab:hover { color: var(--tinta); }
.menu__tab:hover::after { transform: scaleX(1); transform-origin: left; }
.menu__tab[aria-selected="true"] { color: var(--oro); }
.menu__tab[aria-selected="true"]::after { transform: scaleX(1); }

.menu__panel { display: none; }
.menu__panel.is-active { display: block; animation: entrar .6s var(--ease); }
@keyframes entrar { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.grupos { columns: 2; column-gap: 80px; }
.grupo { break-inside: avoid-column; margin-bottom: 52px; }
.grupo--suelto { margin-bottom: 0; break-inside: auto; }
/* Una sección sin subgrupos con nota arriba (Alitas): la nota ocupa el ancho y los platos se reparten debajo */
.grupo--suelto > .grupo__desc { column-span: all; margin-bottom: 6px; }
.grupo__titulo {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--sans); font-size: 11.5px; font-weight: 400;
  letter-spacing: .3em; text-transform: uppercase; color: var(--oro);
  padding-bottom: 16px; margin-bottom: 8px;
  border-bottom: 1px solid var(--linea);
}
.grupo__titulo::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(201,162,74,.5), transparent); }
.grupo__desc { margin: 14px 0 0; font-size: .86rem; color: var(--tinta-3); font-style: italic; }
.grupo__nota { margin: 16px 0 0; font-size: .78rem; color: var(--tinta-3); line-height: 1.65; }

.dish {
  position: relative; padding: 20px 0 20px 0;
  border-bottom: 1px solid var(--linea); break-inside: avoid;
  transition: padding-left .45s var(--ease);
}
.dish::before {
  content: ''; position: absolute; left: 0; top: 50%; translate: 0 -50%;
  width: 1px; height: 0; background: var(--oro);
  transition: height .45s var(--ease);
}
.dish:hover { padding-left: 18px; }
.dish:hover::before { height: 58%; }

.dish__head { display: flex; align-items: baseline; gap: 14px; }
.dish__name { font-family: var(--display); font-size: 1.4rem; font-weight: 400; letter-spacing: .005em; }
.dish__porcion { white-space: nowrap; font-family: var(--sans); font-size: .7rem; color: var(--tinta-3); letter-spacing: .14em; text-transform: uppercase; }
.dish__dots { flex: 1; border-bottom: 1px dotted var(--linea); translate: 0 -6px; }
.dish__price { font-family: var(--display); font-size: 1.15rem; color: var(--oro); white-space: nowrap; }
.dish__prices { display: flex; gap: 20px; white-space: nowrap; }
.dish__precio-var { font-family: var(--display); font-size: 1.15rem; color: var(--oro); }
.dish__precio-et {
  display: block; font-family: var(--sans); font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--tinta-3); text-align: right;
}
.dish__desc { margin: 8px 0 0; font-size: .855rem; color: var(--tinta-3); line-height: 1.68; max-width: 52ch; }
.dish__tags { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 11px; }

.tag {
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  padding: 3px 11px; border-radius: 100px;
  color: var(--tinta-3); box-shadow: inset 0 0 0 1px var(--linea);
}
.tag--especialidad { color: var(--oro); box-shadow: inset 0 0 0 1px rgba(201,162,74,.5); }
.tag--picante { color: #d08163; box-shadow: inset 0 0 0 1px rgba(208,129,99,.4); }
.tag--vegano, .tag--vegetariano { color: #8faa72; box-shadow: inset 0 0 0 1px rgba(143,170,114,.4); }

.menu__aviso {
  margin: 48px auto 0; max-width: 780px; text-align: center;
  font-size: .8rem; color: var(--tinta-3); line-height: 1.7; font-style: italic;
}
.menu__note { text-align: center; margin-top: 70px; font-size: .84rem; color: var(--tinta-3); }

/* Resultados de búsqueda */
.menu__resultados .res__info {
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--tinta-3); margin: 0 0 30px;
}
.menu__resultados .res__vacio { text-align: center; padding: 70px 0; color: var(--tinta-3); font-style: italic; }
.res__origen {
  font-size: 10px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--oro); margin-bottom: 6px; opacity: .8;
}
mark { background: none; color: var(--oro-claro); }

/* ─── Galería ────────────────────────────────────────────── */

.gallery {
  display: grid; gap: 18px;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 230px;
}
.gallery__item {
  position: relative; margin: 0; overflow: hidden; border-radius: var(--r);
  cursor: pointer; transform-style: preserve-3d; will-change: transform;
}
html.js .gallery__item { clip-path: inset(0 0 100% 0); }
html.js .gallery__item.is-visible {
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.1s var(--ease);
}
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease), filter .7s;
  filter: saturate(.9) brightness(.86);
}
.gallery__item:hover img { transform: scale(1.07); filter: saturate(1) brightness(1); }
.gallery__item::after {
  content: ''; position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px var(--linea);
  background: linear-gradient(180deg, transparent 55%, rgba(12,10,9,.75));
  pointer-events: none;
}
.gallery__item figcaption {
  position: absolute; left: 20px; bottom: 16px; z-index: 2;
  font-size: 11px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--tinta); opacity: 0; transform: translateY(8px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.gallery__item:hover figcaption { opacity: 1; transform: none; }

/* ─── En la cocina (vídeo) ───────────────────────────────── */

.section--video { background: var(--bg-2); border-block: 1px solid var(--linea); }

.videos {
  display: grid; gap: 18px;
  grid-template-columns: 1.55fr 1fr;
  grid-template-rows: repeat(2, 250px);
}
.vid {
  position: relative; margin: 0; overflow: hidden; border-radius: var(--r);
  cursor: pointer;
}
/* El recorte solo existe si el JS está vivo para deshacerlo: clip-path
   también recorta el área de clic, y esto dejaría el vídeo inservible. */
html.js .vid { clip-path: inset(0 0 100% 0); }
html.js .vid.is-visible {
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.1s var(--ease);
}
.vid--grande { grid-row: span 2; }

.vid video {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.85) brightness(.7) contrast(1.05);
  transition: transform 1.3s var(--ease), filter .7s;
}
.vid:hover video { transform: scale(1.05); filter: saturate(1) brightness(.9); }

.vid::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 0 1px var(--linea);
  background: linear-gradient(180deg, rgba(12,10,9,.25) 0%, transparent 40%, rgba(12,10,9,.85) 100%);
}
.vid figcaption {
  position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 2;
  display: grid; gap: 5px;
}
.vid__t {
  font-family: var(--display); font-size: 1.6rem; font-weight: 400; color: var(--tinta);
}
.vid--grande .vid__t { font-size: 2.1rem; }
.vid__s {
  font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--tinta-3);
}

/* Botón de reproducción */
.vid__play {
  position: absolute; top: 22px; right: 22px; z-index: 2;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(12,10,9,.5); backdrop-filter: blur(6px);
  box-shadow: inset 0 0 0 1px var(--linea-2);
  transition: background .4s, box-shadow .4s, transform .5s var(--ease);
}
.vid__play::before {
  content: ''; position: absolute; top: 50%; left: 52%; translate: -50% -50%;
  border-style: solid; border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent var(--tinta);
  transition: border-left-color .4s;
}
.vid:hover .vid__play {
  background: var(--oro); box-shadow: none; transform: scale(1.08);
}
.vid:hover .vid__play::before { border-left-color: #100c07; }

.videos__nota {
  margin: 34px 0 0; text-align: center;
  font-size: .78rem; font-style: italic; color: var(--tinta-3);
}

/* Visor de vídeo */
.vbox {
  position: fixed; inset: 0; z-index: 500;
  display: grid; place-items: center; padding: 5vh 5vw;
  background: rgba(8,7,6,.97); backdrop-filter: blur(14px);
  opacity: 0; transition: opacity .5s var(--ease);
}
.vbox.is-open { opacity: 1; }
.vbox__fig { margin: 0; max-width: 1100px; width: 100%; text-align: center; }
.vbox__fig video {
  width: 100%; max-height: 78vh; border-radius: var(--r); background: #000;
  transform: scale(.97); opacity: 0;
  transition: transform .6s var(--ease), opacity .5s var(--ease);
}
.vbox.is-open .vbox__fig video { transform: none; opacity: 1; }
.vbox__fig figcaption {
  margin-top: 20px; font-size: 11px; letter-spacing: .28em;
  text-transform: uppercase; color: var(--tinta-3);
}

/* ─── Visor ──────────────────────────────────────────────── */

/* El atributo hidden tiene que ganar. Con `display: grid` declarado aquí,
   el `display: none` del navegador para [hidden] pierde, y el visor se queda
   a pantalla completa sobre toda la página: invisible por la opacidad, pero
   comiéndose todos los clics. */
.lightbox[hidden], .vbox[hidden] { display: none; }

.lightbox {
  position: fixed; inset: 0; z-index: 500;
  display: grid; place-items: center; padding: 5vh 6vw;
  background: rgba(8, 7, 6, .96); backdrop-filter: blur(14px);
  opacity: 0; transition: opacity .5s var(--ease);
}
.lightbox.is-open { opacity: 1; }
.lightbox__fig { margin: 0; max-width: 100%; max-height: 100%; text-align: center; }
.lightbox__fig img {
  max-width: 100%; max-height: 82vh; object-fit: contain;
  border-radius: var(--r); margin-inline: auto;
  transform: scale(.96); opacity: 0;
  transition: transform .6s var(--ease), opacity .5s var(--ease);
}
.lightbox.is-open .lightbox__fig img { transform: none; opacity: 1; }
.lightbox__fig figcaption {
  margin-top: 20px; font-size: 11px; letter-spacing: .28em;
  text-transform: uppercase; color: var(--tinta-3);
}
.lightbox__cerrar, .lightbox__nav {
  position: absolute; background: none; border: 0; cursor: pointer;
  color: var(--tinta-2); transition: color .35s, transform .35s var(--ease);
}
.lightbox__cerrar { top: 24px; right: 30px; font-size: 34px; line-height: 1; }
.lightbox__nav { top: 50%; translate: 0 -50%; font-size: 46px; line-height: 1; padding: 20px; }
.lightbox__nav--prev { left: 12px; }
.lightbox__nav--next { right: 12px; }
.lightbox__cerrar:hover, .lightbox__nav:hover { color: var(--oro); }
.lightbox__nav--prev:hover { transform: translateX(-5px); }
.lightbox__nav--next:hover { transform: translateX(5px); }

/* ─── Llamada a domicilios ───────────────────────────────── */

.cta { padding: 110px 0; position: relative; overflow: hidden; }
.cta::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 55% at 50% 50%, rgba(201,162,74,.10), transparent 72%);   /* brillo detrás de la tarjeta, sin borde arriba */
}
.cta__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 38px; flex-wrap: wrap;
  padding: 54px; border-radius: var(--r);
  box-shadow: inset 0 0 0 1px var(--linea);
}
.cta__title { font-size: clamp(1.9rem, 4.4vw, 2.8rem); font-weight: 300; }
.cta__texto { margin: 14px 0 0; color: var(--tinta-2); }

/* ─── Formulario ─────────────────────────────────────────── */

.form { margin-top: 14px; display: grid; gap: 26px; grid-template-columns: minmax(0, 1fr); }
.form__row { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.field { display: grid; gap: 10px; min-width: 0; grid-template-columns: minmax(0, 1fr); }
.field--sm { max-width: 140px; }
.field__label { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--tinta-2); }
.field__label em { font-style: normal; color: var(--tinta-3); }
.field input, .field textarea, .field select {
  font-family: var(--sans); font-size: 15px; font-weight: 300;
  padding: 14px 2px; color: var(--tinta);
  background: none; border: 0; border-bottom: 1px solid var(--linea);
  border-radius: 0;
  transition: border-color .45s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--oro); }
.field select {
  appearance: none; -webkit-appearance: none; color-scheme: dark; cursor: pointer;
  width: 100%; min-width: 0;   /* sin esto, la opción más larga ensancha todo el formulario */
  padding-right: 30px; text-overflow: ellipsis;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23c9a24a' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 6px center / 12px;
}
.field select option { background: var(--bg-2); color: var(--tinta); }
.field.is-marcado select { animation: marcar 2s var(--ease); }
@keyframes marcar {
  0%, 45% { border-color: var(--oro); background-color: rgba(201,162,74,.16); }
  100% { background-color: transparent; }
}
.field input::placeholder, .field textarea::placeholder { color: var(--tinta-3); }
.field textarea { resize: vertical; }
.field.has-error input, .field.has-error textarea { border-color: #b56a4e; }
.field__error { font-size: 11px; color: transparent; min-height: 1em; transition: color .3s; }
.field.has-error .field__error { color: #cf8467; }

.form__alt { text-align: center; font-size: .86rem; color: var(--tinta-3); margin: 0; }

.form__ok {
  padding: 20px 24px; border-radius: var(--r); text-align: center;
  color: var(--oro); font-size: .9rem;
  box-shadow: inset 0 0 0 1px rgba(201,162,74,.4);
  animation: entrar .6s var(--ease);
}
.form__ok a { display: inline-block; padding: 8px 2px; color: var(--tinta); text-decoration: underline; text-underline-offset: 3px; }

/* ─── Contacto ───────────────────────────────────────────── */

.contact { display: grid; gap: 26px; grid-template-columns: 1fr 1.25fr; align-items: start; }
.contact__info { display: grid; gap: 1px; }
.card {
  padding: 30px 2px; border-bottom: 1px solid var(--linea);
}
.card:last-child { border-bottom: 0; }
.card h3 {
  font-family: var(--sans); font-size: 11px; font-weight: 400;
  letter-spacing: .3em; text-transform: uppercase; color: var(--oro); margin-bottom: 16px;
}
.card p { margin: 0 0 8px; color: var(--tinta-2); }

.hours { width: 100%; border-collapse: collapse; font-size: .88rem; }
.hours td { padding: 9px 0; border-bottom: 1px solid var(--linea); color: var(--tinta-2); }
.hours tr:last-child td { border-bottom: 0; }
.hours td:last-child { text-align: right; color: var(--tinta-3); font-size: .82rem; }
.hours tr.is-today td { color: var(--oro); }
.hours tr.is-today td:first-child { position: relative; padding-left: 16px; }
.hours tr.is-today td:first-child::before {
  content: ''; position: absolute; left: 0; top: 50%; translate: 0 -50%;
  width: 4px; height: 4px; border-radius: 50%; background: var(--oro);
}

.contact__map {
  min-height: 480px; border-radius: var(--r); overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--linea);
}
.contact__map iframe {
  width: 100%; height: 100%; min-height: 480px; border: 0;
  filter: grayscale(1) invert(.9) contrast(.82) sepia(.15);
}
/* Tarjeta de la dirección (el mapa de Google se carga solo si lo piden) */
.contact__map .map-ph {
  min-height: 480px; display: grid; place-content: center; justify-items: center;
  text-align: center; padding: 40px 24px;
  background: radial-gradient(circle at 50% 36%, rgba(201,162,74,.13), transparent 62%), var(--bg-3);
}
.map-ph__pin { width: 34px; height: 34px; margin-bottom: 20px; fill: none; stroke: var(--oro); stroke-width: 1.3; }
.map-ph__dir { margin: 0; font-family: var(--display); font-size: clamp(1.7rem, 4vw, 2.2rem); line-height: 1.15; }
.map-ph__ciudad { margin: 10px 0 30px; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--tinta-3); }
.map-ph__acciones { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
@media (max-width: 820px) { .contact__map, .contact__map .map-ph { min-height: 340px; } }

/* ─── Pie ────────────────────────────────────────────────── */

.footer { padding: 80px 0 50px; border-top: 1px solid var(--linea); }
.footer__inner { display: grid; gap: 34px; }
.footer__top { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.footer__logo {
  display: block; font-family: var(--display); font-size: 26px;
  font-weight: 400; letter-spacing: .3em; color: var(--tinta);
}
.footer__sub { display: block; font-size: 10px; letter-spacing: .34em; text-transform: uppercase; color: var(--tinta-3); margin-top: 4px; }
.footer__social { display: flex; gap: 14px; }
.footer__social a {
  display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 50%; color: var(--tinta-2);
  box-shadow: inset 0 0 0 1px var(--linea);
  transition: color .4s, box-shadow .4s, transform .4s var(--ease);
}
.footer__social a:hover { color: var(--oro); box-shadow: inset 0 0 0 1px var(--oro); transform: translateY(-4px); }
.footer__legal { margin: 0; font-size: .72rem; letter-spacing: .12em; color: var(--tinta-3); }

/* ─── WhatsApp flotante ──────────────────────────────────── */

.fab {
  position: fixed; right: 26px; bottom: 26px; z-index: 90;
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: #1f2d24; color: #7fdca4;
  box-shadow: inset 0 0 0 1px rgba(127,220,164,.3), 0 12px 40px -12px rgba(0,0,0,.9);
  transition: transform .45s var(--ease), color .4s, background .4s;
  will-change: transform;
}
.fab:hover { background: #25d366; color: #0c0a09; }

/* ─── Revelado al hacer scroll ───────────────────────────── */

/* El estado oculto es instantáneo (sin transition): si la transición
   estuviera aquí, al añadir la clase el bloque se vería un instante y
   luego se desvanecería. La animación vive en el estado visible. */
.reveal { opacity: 0; transform: translateY(34px); }
.reveal.is-visible {
  opacity: 1; transform: none;
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}

/* ─── Responsive ─────────────────────────────────────────── */

@media (max-width: 1040px) {
  .contact { grid-template-columns: 1fr; }
  .sobre { grid-template-columns: 1fr; gap: 44px; }
  .sobre__figura { max-width: 420px; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
}

@media (max-width: 1040px) {
  .videos { grid-template-columns: 1fr 1fr; grid-template-rows: 300px 220px; }
  .vid--grande { grid-row: span 1; grid-column: span 2; }
}

@media (max-width: 820px) {
  .section { padding: 100px 0; }
  .videos { grid-template-columns: 1fr; grid-template-rows: repeat(3, 230px); }
  .vid--grande { grid-column: span 1; }
  .vid--grande .vid__t { font-size: 1.7rem; }
  .cifras { padding: 54px 0; }
  .cifras__grid { gap: 0; }
  .cifra { padding: 0 6px; }
  .cifra__valor { font-size: clamp(2.2rem, 11vw, 2.8rem); }
  .cifra__etiqueta { margin-top: 10px; letter-spacing: .16em; line-height: 1.6; }
  .grupos { columns: 1; }
  .buscador { width: 100%; min-width: 0; }
  .cta__inner { padding: 34px; }
  .menu__tabs { gap: 22px; }

  .nav { padding: 14px 0; background: rgba(12,10,9,.86); backdrop-filter: blur(20px); }
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed; inset: 66px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 26px 28px 36px;
    background: rgba(12,10,9,.99);
    border-top: 1px solid var(--linea);
    clip-path: inset(0 0 100% 0);
    transition: clip-path .6s var(--ease);
  }
  .nav__links.is-open { clip-path: inset(0 0 0 0); }
  .nav__links > a { padding: 16px 0; font-size: 13px; border-bottom: 1px solid var(--linea); }
  .nav__links .btn { margin-top: 22px; border-bottom: 0; }
  .nav__links span[data-hover]::after { display: none; }

  .lightbox__nav { font-size: 34px; padding: 12px; }
  .lightbox__nav--prev { left: 0; }
  .lightbox__nav--next { right: 0; }
}

@media (max-width: 520px) {
  .gallery { gap: 8px; grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; grid-auto-flow: dense; }
  .gallery__item figcaption { left: 12px; bottom: 10px; letter-spacing: .2em; }
  .hero__actions, .final__acciones, .celebra__acciones { flex-direction: column; align-items: center; }
  .celebra__acciones { align-items: flex-start; }
  .hero__actions .btn, .final__acciones .btn, .celebra__acciones .btn { width: min(100%, 290px); }
  .field--sm { max-width: none; }
  .btn { padding: 16px 30px; }
  .hero__content { padding: 120px 24px 140px; }
}

@media (hover: none) {
  .cursor, .cursor-ring { display: none; }
  .gallery__item figcaption { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .reveal-text .w > i { transform: none; }
  .gallery__item { clip-path: none; }
  .grain { display: none; }
  .hero__img { animation: none; transform: scale(1.05); }
}

/* ─── Domicilios: datos junto al botón ───────────────────── */

.domis { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.domis li {
  font-size: .8rem; color: var(--tinta-2); padding: 8px 16px; border-radius: 100px;
  box-shadow: inset 0 0 0 1px var(--linea);
}
.domis b { color: var(--oro); font-weight: 400; }

/* ─── Celebra en Euforia ─────────────────────────────────── */

.section--celebra { overflow: hidden; }
.section--celebra .lead { max-width: 56ch; margin-top: -40px; }

.decos {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 50px max(28px, calc((100vw - var(--wrap)) / 2 + 28px)) 30px;
  scroll-padding-inline: max(28px, calc((100vw - var(--wrap)) / 2 + 28px));
  scrollbar-width: thin; scrollbar-color: var(--oro) transparent;
  -webkit-overflow-scrolling: touch;
}
.deco {
  flex: 0 0 auto; width: 270px; margin: 0; position: relative; cursor: zoom-in;
  scroll-snap-align: start; border-radius: var(--r); overflow: hidden;
  background: var(--bg-3);
  transition: transform .6s var(--ease);
}
.deco--ancha { width: 400px; }
.deco img { width: 100%; height: 360px; object-fit: cover; transition: transform 1.2s var(--ease); }
.deco:hover img { transform: scale(1.06); }
.deco:hover { transform: translateY(-6px); }
.deco figcaption { position: absolute; inset: 0; pointer-events: none; }
.deco__n {
  position: absolute; left: 12px; top: 12px;
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--tinta);
  background: rgba(12,10,9,.55); backdrop-filter: blur(6px);
  padding: 6px 11px; border-radius: 100px;
}
.deco__p {
  position: absolute; left: 12px; bottom: 12px;
  font-family: var(--display); font-size: 1.15rem; color: #100c07;
  background: var(--oro); padding: 4px 14px; border-radius: 100px;
}
.deco__pedir {
  position: absolute; right: 12px; bottom: 12px; min-height: 40px;
  font-family: var(--sans); font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--oro); background: rgba(12,10,9,.6); backdrop-filter: blur(6px);
  border: 1px solid var(--oro); border-radius: 100px; padding: 0 15px; cursor: pointer;
  transition: background .4s, color .4s, border-color .4s;
}
.deco__pedir:hover, .deco__pedir:focus-visible { background: var(--oro); color: #100c07; }

/* Flechas de los carriles: solo con ratón; en el celular se desliza */
.carril__nav { display: flex; justify-content: flex-end; gap: 12px; }
.carril__btn {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: none; color: var(--tinta); cursor: pointer;
  border: 1px solid var(--linea-2);
  transition: background .4s, color .4s, border-color .4s, opacity .4s;
}
.carril__btn svg { width: 18px; height: 18px; }
.carril__btn:hover:not(:disabled) { background: var(--oro); border-color: var(--oro); color: #100c07; }
.carril__btn:disabled { opacity: .25; cursor: default; }

.celebra__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 50px; }
.celebra__h {
  font-family: var(--sans); font-size: 11px; font-weight: 400;
  letter-spacing: .3em; text-transform: uppercase; color: var(--oro); margin-bottom: 20px;
}
.celebra__reglas { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.celebra__reglas li { color: var(--tinta-2); padding-left: 22px; position: relative; }
.celebra__reglas li::before { content: '✦'; position: absolute; left: 0; color: var(--oro); font-size: 10px; top: 5px; }
.celebra__extra { margin: 22px 0 0; color: var(--tinta-3); font-style: italic; font-size: .9rem; }

.espacios { margin: 0; display: grid; gap: 1px; }
.espacios div { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--linea); }
.espacios dt { font-family: var(--display); font-size: 1.35rem; }
.espacios dd { margin: 0; color: var(--tinta-2); text-align: right; font-size: .9rem; }

.menu-evento { margin-top: 60px; border-block: 1px solid var(--linea); }
.menu-evento summary {
  cursor: pointer; list-style: none; padding: 24px 0;
  font-family: var(--display); font-size: 1.6rem;
  display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap;
}
.menu-evento summary::-webkit-details-marker { display: none; }
.menu-evento summary::after { content: '+'; margin-left: auto; color: var(--oro); transition: transform .4s var(--ease); }
.menu-evento[open] summary::after { transform: rotate(45deg); }
.menu-evento summary span { font-family: var(--sans); font-size: .8rem; color: var(--tinta-3); font-style: italic; }
.menu-evento__grupos { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px 40px; padding: 0 0 34px; }
.menu-evento__grupos h4 { font-family: var(--sans); font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--oro); font-weight: 400; margin-bottom: 8px; }
.menu-evento__grupos p { margin: 0; color: var(--tinta-2); font-size: .9rem; line-height: 1.7; }

.celebra__acciones { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 50px; }

/* ─── DELEITE · heladería aliada (su propia identidad) ───── */

.deleite {
  --crema: #f6efe3; --menta: #9fd8c3; --cacao: #3b2418;
  background: var(--crema); color: var(--cacao); overflow: hidden; padding-bottom: 0;
}
.deleite__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.deleite__marca { margin: 0; font-family: var(--display); font-size: 1rem; letter-spacing: .5em; font-weight: 600; }
.deleite__sub { margin: 6px 0 30px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: #7a5a48; }
.deleite__titulo { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 400; color: var(--cacao); }
.deleite__lead { margin: 24px 0 0; color: #5e4335; max-width: 46ch; line-height: 1.75; }
.deleite__acciones { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; margin-top: 36px; }
/* Dorado como los demás (fabian lo pidió); la sombra lo despega del crema */
.deleite__btn { box-shadow: 0 10px 26px -14px rgba(59,36,24,.55); }
.deleite__btn:hover { box-shadow: 0 14px 44px -18px rgba(59,36,24,.6); }
.deleite .link { background-image: linear-gradient(var(--cacao), var(--cacao)); }
.deleite .link:hover { color: #2d7a60; }

.deleite__fotos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: end; }
.deleite__fotos img {
  width: 100%; aspect-ratio: 2/3; object-fit: cover; border-radius: 120px 120px 14px 14px;
  background: #fff; box-shadow: 0 30px 50px -30px rgba(59,36,24,.5);
}
.deleite__fotos img:nth-child(2) { transform: translateY(-34px); animation: flotar 6s ease-in-out infinite; }
.deleite__fotos img:nth-child(1) { animation: flotar 7s ease-in-out infinite reverse; }
@keyframes flotar { 50% { translate: 0 -10px; } }

.deleite__sabores { margin-top: 90px; background: var(--menta); padding: 18px 0; overflow: hidden; }
.deleite__track { display: flex; width: max-content; animation: correr 50s linear infinite; }
.deleite__track span {
  font-family: var(--display); font-size: 1.5rem; font-style: italic; color: var(--cacao);
  padding: 0 22px; display: inline-flex; align-items: center; gap: 44px; white-space: nowrap;
}
.deleite__track span::after { content: '●'; font-size: 7px; font-style: normal; }

@media (max-width: 820px) {
  .celebra__grid, .deleite__inner { grid-template-columns: 1fr; gap: 44px; }
  .section--celebra .lead { margin-top: -20px; }
  .deco { width: 230px; }
  .deco--ancha { width: 300px; }
  .deco img { height: 300px; }
  .deleite__sabores { margin-top: 60px; }
}

/* ─── Platos de la casa (fotos reales de la carta) ───────── */

.section--platos { padding-bottom: 110px; overflow: hidden; }
.platos {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0 max(28px, calc((100vw - var(--wrap)) / 2 + 28px)) 20px;
  scroll-padding-inline: max(28px, calc((100vw - var(--wrap)) / 2 + 28px));
  scrollbar-width: thin; scrollbar-color: var(--oro) transparent;
}
.plato {
  flex: 0 0 auto; width: 340px; height: 480px; margin: 0; position: relative;
  scroll-snap-align: start; border-radius: var(--r); overflow: hidden; cursor: pointer;
}
.plato img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter .8s; filter: brightness(.88); }
.plato:hover img { transform: scale(1.07); filter: brightness(1); }
.plato::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(12,10,9,.85)); pointer-events: none; }
.plato figcaption { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; display: grid; gap: 4px; }
.plato__t { font-family: var(--display); font-size: 1.8rem; }
.plato__s { font-size: .8rem; color: var(--tinta-2); }
.plato__ir { margin-top: 8px; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--oro); }
.plato__ir::after { content: ' →'; letter-spacing: 0; }


/* ─── Foto de cabecera por sección de la carta ───────────── */

/* Cabecera de cada sección de la carta, como página de revista */
.menu__cab {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; align-content: end; gap: 6px;
  min-height: 150px; margin: 0 0 52px; padding: 30px 34px;
  border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--linea);
}
.menu__cab.con-foto { min-height: 340px; box-shadow: none; }
.menu__cab img {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.82); animation: acercar 9s var(--ease) both;
}
.menu__cab.con-foto::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(12,10,9,.9) 4%, rgba(12,10,9,.35) 48%, rgba(12,10,9,.05));
}
.menu__cab-meta { margin: 0; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--oro); }
.menu__cab-titulo { margin: 0; font-size: clamp(2.6rem, 7vw, 4.6rem); font-weight: 300; line-height: 1; }
.menu__cab-frase { margin: 4px 0 0; font-family: var(--display); font-style: italic; font-size: clamp(1.1rem, 2.4vw, 1.5rem); color: var(--tinta-2); }
@keyframes acercar { from { transform: scale(1.12); } to { transform: scale(1); } }
@media (max-width: 820px) {
  .menu__cab { padding: 22px 22px; margin-bottom: 38px; min-height: 120px; }
  .menu__cab.con-foto { min-height: 270px; }
}

/* ─── Portada: fotos que se funden una en otra ───────────── */

.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s var(--suave); }
.hero__slide.is-on { opacity: 1; }

/* ═══════════════════════════════════════════════════════════
   ACTO II · Animaciones de entrada, scroll y pedido en línea
   Todo estado oculto cuelga de html.js (que no existe con
   «reducir movimiento»): sin JavaScript la página se ve entera.
   ═══════════════════════════════════════════════════════════ */

/* ─── Precarga: el telón sube y la portada se acerca ─────── */

html.js .loader { transition: clip-path 1.1s var(--suave), visibility 1.1s; }
html.js .loader.is-done { opacity: 1; clip-path: inset(0 0 100% 0); }

/* --t0: cuándo se va el telón. En las visitas siguientes y en el celular no hay telón y todo entra ya. */
:root { --t0: 1s; }
html.sin-telon { --t0: 0s; }

html.js .hero__media { animation: telon 2.6s var(--ease) calc(var(--t0) - .3s) both; }
@keyframes telon { from { scale: 1.28; } to { scale: 1; } }

html.js .hero__kicker,
html.js .hero__tagline,
html.js .hero__actions,
html.js .hero__nota { animation: subir 1.3s var(--ease) both; }
html.js .hero__kicker  { animation-delay: calc(var(--t0) - .1s); }
html.js .hero__tagline { animation-delay: calc(var(--t0) + .6s); }
html.js .hero__actions { animation-delay: calc(var(--t0) + .8s); }
html.js .hero__nota    { animation-delay: calc(var(--t0) + 1s); }
@keyframes subir { from { opacity: 0; translate: 0 26px; } to { opacity: 1; translate: 0 0; } }

.hero__content { will-change: opacity, transform; }

/* Invitación a bajar */
.hero__bajar {
  position: absolute; left: 28px; bottom: 82px;
  display: grid; justify-items: center; gap: 12px;
  font-size: 10px; letter-spacing: .38em; text-indent: .38em; text-transform: uppercase;
  color: var(--tinta-3); transition: color .4s;
}
.hero__bajar:hover { color: var(--oro); }
.hero__bajar i { position: relative; width: 1px; height: 48px; overflow: hidden; background: var(--linea-2); }
.hero__bajar i::after {
  content: ''; position: absolute; left: 0; top: -45%; width: 1px; height: 45%;
  background: var(--oro); animation: gota 2.2s var(--suave) infinite;
}
@keyframes gota { to { top: 100%; } }
html.js .hero__bajar { animation: subir 1.3s var(--ease) calc(var(--t0) + 1.3s) both; }
@media (max-height: 700px) { .hero__bajar { display: none; } }

/* ─── Títulos que suben línea por línea ──────────────────── */

.linea { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.linea > span { display: block; }
html.js .linea > span { translate: 0 112%; }
html.js .is-visible .linea > span { translate: 0 0; transition: translate 1.3s var(--ease); }
html.js .is-visible .linea:nth-child(2) > span { transition-delay: .12s; }
html.js .is-visible .linea:nth-child(3) > span { transition-delay: .24s; }

/* ─── El texto de la casa se enciende al leerlo ──────────── */

[data-iluminar].lead { color: var(--tinta); }
html.js [data-iluminar] .w { opacity: .16; transition: opacity .45s var(--ease); }
html.js [data-iluminar] .w.is-lit { opacity: 1; }

/* ─── Fotos que se descubren ─────────────────────────────── */

html.js .marco { clip-path: inset(100% 0 0 0); }
html.js .marco.is-visible { clip-path: inset(0 0 0 0); transition: clip-path 1.6s var(--ease); }
html.js .marco img { scale: 1.35; }
html.js .marco.is-visible img { scale: 1; transition: scale 2.2s var(--ease); }

html.js .plato, html.js .deco { clip-path: inset(100% 0 0 0); }
html.js .plato.is-visible, html.js .deco.is-visible {
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.3s var(--ease) var(--d, 0s), transform .6s var(--ease);
}
html.js .plato img, html.js .deco img { scale: 1.25; }
html.js .plato.is-visible img, html.js .deco.is-visible img { scale: 1; transition: scale 1.8s var(--ease) var(--d, 0s), transform 1.2s var(--ease), filter .8s; }

/* ─── Así llega a tu mesa: carril fijo en computador ─────── */

.section--platos.is-pin { padding: 0; overflow: visible; }
.section--platos.is-pin .platos-pin {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 72px;   /* el alto del menú fijo */
}
.section--platos.is-pin .section__head { margin-bottom: 34px; }
.section--platos.is-pin .platos {
  position: relative; overflow: visible; scroll-snap-type: none;
  padding-bottom: 0; will-change: transform;
}
.section--platos.is-pin .plato { height: min(480px, 50vh); width: min(340px, 36vh); }
.section--platos.is-pin .carril__nav { display: none; }
.platos__barra { display: none; height: 1px; margin-top: 38px; background: var(--linea); overflow: hidden; }
.platos__barra span { display: block; height: 100%; background: var(--oro); transform-origin: left; transform: scaleX(0); }
.section--platos.is-pin .platos__barra { display: block; }

/* ─── Así llega a tu mesa como carrusel (celular y tableta) ──
   Se desliza de lado y cada plato queda centrado; el del centro se ve
   completo y los de los lados un poco más pequeños y apagados
   (escena(), --lado de 0 a 1). Puntos abajo para saber dónde vas.   */
.plato__n { display: none; }
.platos__puntos { display: flex; justify-content: center; margin-top: 8px; }
.platos__puntos button {
  width: 34px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
  display: grid; place-items: center;
}
.platos__puntos button::before {
  content: ''; width: 6px; height: 6px; border-radius: 6px; background: var(--tinta-3);
  transition: width .35s var(--ease), background .35s;
}
.platos__puntos button[aria-current="true"]::before { width: 20px; background: var(--oro); }
.section--platos.is-pin .platos__puntos { display: none; }
.platos.es-carrusel .plato { --lado: 0; scale: calc(1 - var(--lado) * .08); }
.platos.es-carrusel .plato img { opacity: calc(1 - var(--lado) * .5); }
html.js .platos.es-carrusel .plato.is-visible { transition: clip-path 1.3s var(--ease) var(--d, 0s); }
@media (max-width: 820px) {
  .platos { gap: 12px; padding-inline: 10vw; scroll-padding-inline: 0; }
  .plato { width: 80vw; height: min(112vw, 58vh); scroll-snap-align: center; }
  .plato img { filter: none; }
  .plato::after { background: linear-gradient(rgba(12,10,9,.3), transparent 20%, transparent 52%, rgba(12,10,9,.9)); }
  .plato figcaption { left: 20px; right: 20px; bottom: 20px; }
  .plato__t { font-size: 2.1rem; line-height: 1.05; }
  .plato__n {
    display: block; position: absolute; z-index: 1; top: 18px; left: 20px;
    font-size: 11px; letter-spacing: .26em; color: var(--oro);
  }
}

/* ─── Cinta de palabras que corre con el scroll ──────────── */

.cinta {
  padding: 84px 0; overflow: hidden; display: grid; gap: 4px;
  border-top: 1px solid var(--linea);
}
.cinta__fila {
  display: flex; width: max-content; white-space: nowrap; will-change: transform;
  font-family: var(--display); font-weight: 300; line-height: 1.08;
  font-size: clamp(3.2rem, 11vw, 9rem); color: var(--tinta);
}
.cinta__fila span { display: inline-flex; align-items: center; gap: .32em; padding-right: .32em; }
.cinta__fila span::after { content: '✦'; font-size: .24em; color: var(--oro); font-style: normal; -webkit-text-stroke: 0; }
.cinta__fila--hueca { font-style: italic; color: transparent; -webkit-text-stroke: 1px rgba(201, 162, 74, .7); }

/* ─── La carta: indicador que se desliza y platos en cascada ─ */

.menu__tabs { position: relative; }
.menu__ind {
  position: absolute; left: 0; top: 0; height: 1px; width: 0;
  background: var(--oro); pointer-events: none;
  transition: transform .6s var(--ease), width .6s var(--ease), opacity .3s;
}
.menu__tabs.con-ind .menu__tab[aria-selected="true"]::after { transform: scaleX(0); }
html.js .menu__panel.is-active .dish { animation: platoEntra .8s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes platoEntra { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }

.carta__pedir {
  display: flex; align-items: center; gap: 12px;
  margin: -30px 0 46px; font-size: .9rem; color: var(--tinta-2);
}
.carta__pedir .mas {
  display: inline-grid; place-items: center; flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  background: var(--oro); color: #100c07; font-weight: 400; font-size: 16px; line-height: 1;
}

/* ─── Cursor «Ver» sobre las fotos ───────────────────────── */

.cursor-ring::after {
  content: 'Ver'; position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--sans); font-size: 9.5px; letter-spacing: .26em; text-indent: .26em;
  text-transform: uppercase; color: #100c07; opacity: 0; transition: opacity .3s;
}
body.cursor-ver .cursor-ring {
  width: 84px; height: 84px; margin: -42px 0 0 -42px;
  background: var(--oro); border-color: var(--oro);
}
body.cursor-ver .cursor-ring::after { opacity: 1; }
body.cursor-ver .cursor { opacity: 0; }

/* ─── Confeti al escoger una decoración ──────────────────── */

.confeti { position: fixed; z-index: 9990; width: 7px; height: 11px; border-radius: 1px; pointer-events: none; }

/* ─── Cierre: invitación final y la marca en grande ──────── */

.footer { padding-top: 0; }
.final { padding-top: 220px; text-align: center; }   /* deja el techo de luces sobre el título */
.final .eyebrow { justify-content: center; }
.final__titulo { font-size: clamp(3rem, 9vw, 7rem); font-weight: 300; margin-bottom: 46px; }
.final__acciones { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.footer__marca {
  display: flex; justify-content: center; user-select: none;   /* sin recorte: el brillo del neón se sale */
  margin: 110px 0 50px; padding-bottom: .05em;
  font-family: var(--display); font-weight: 300; line-height: .82;
  font-size: 20vw; letter-spacing: .02em; color: rgba(201, 162, 74, .3);
}
/* La despedida: guirnaldas como las de la portada (luces(), se encienden al llegar) */
.footer { position: relative; isolation: isolate; }
.final__luces { position: absolute; left: 0; top: 0; z-index: -1; width: 100%; height: 560px; pointer-events: none; }
@media (max-width: 820px) { .final__luces { height: 460px; } .final { padding-top: 180px; } }

/* El letrero: cada letra es un tubo de neón apagado (contorno) y encima
   la misma letra encendida (::after), que se prende parpadeando, una tras otra */
.footer__marca { position: relative; }
.footer__marca span {
  position: relative; display: inline-block;
  color: transparent; -webkit-text-stroke: 1px rgba(201, 162, 74, .3);
}
.footer__marca span::after {
  content: attr(data-l); position: absolute; left: 0; top: 0;
  color: #ffe8b6; -webkit-text-stroke: 0;
  text-shadow: 0 0 .03em #fff3da, 0 0 .1em rgba(255, 196, 104, .85), 0 0 .3em rgba(246, 166, 66, .45);
  opacity: 0; will-change: opacity;
}
.footer__marca.is-visible span::after { animation: neon 1.5s linear calc(.4s + var(--i, 0) * .22s) both; }
/* Una letra zumba de vez en cuando, como los letreros de verdad */
.footer__marca.is-visible span:nth-child(5)::after {
  animation: neon 1.5s linear calc(.4s + 4 * .22s) both, zumbido 9s linear 5s infinite;
}
.footer__marca::before {
  content: ''; position: absolute; inset: 0 8%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(246, 176, 80, .14), transparent);
  opacity: 0; transition: opacity 2.5s 1.6s;
}
.footer__marca.is-visible::before { opacity: 1; }
@keyframes neon {
  0% { opacity: 0; } 6% { opacity: .9; } 10% { opacity: .05; } 17% { opacity: .8; }
  21% { opacity: .15; } 34%, 100% { opacity: 1; }
}
@keyframes zumbido {
  0%, 90%, 92%, 94%, 100% { opacity: 1; } 91% { opacity: .3; } 93% { opacity: .55; }
}
@media (max-width: 820px) { .footer__marca { margin: 80px 0 34px; } }

/* ─── Pedido en línea ────────────────────────────────────── */

.dish__add, .dish__opc {
  position: relative; flex: 0 0 auto; cursor: pointer;
  font-family: var(--sans); color: var(--oro);
  background: none; border: 1px solid rgba(201, 162, 74, .5); border-radius: 100px;
  transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
.dish__add {
  align-self: center; width: 34px; height: 34px; padding: 0;
  font-size: 19px; font-weight: 300; line-height: 1;
  display: grid; place-items: center;
}
.dish__opciones { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.dish__opc { padding: 8px 14px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; min-height: 34px; }
.dish__add:hover, .dish__opc:hover, .dish__add[data-n], .dish__opc[data-n] { background: var(--oro); color: #100c07; border-color: var(--oro); }
.dish__add[data-n]::after, .dish__opc[data-n]::after {
  content: attr(data-n); position: absolute; top: -7px; right: -7px;
  min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px;
  display: grid; place-items: center;
  font-size: 10px; letter-spacing: 0; font-weight: 500; line-height: 1;
  background: var(--tinta); color: #100c07;
}
.dish__add.is-pulso, .dish__opc.is-pulso { animation: pulso .45s var(--ease); }
@keyframes pulso { 40% { transform: scale(1.22); } }

.carrito {
  position: fixed; z-index: 95; left: 50%; bottom: 18px; translate: -50% 0;
  width: min(440px, calc(100% - 24px));
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px;
  padding: 9px 9px 9px 20px; border: 0; border-radius: 100px; cursor: pointer; text-align: left;
  font-family: var(--sans); color: #100c07; background: var(--oro);
  box-shadow: 0 18px 50px -14px rgba(0, 0, 0, .9);
  animation: carritoEntra .6s var(--ease) both;
}
.carrito[hidden] { display: none; }
@keyframes carritoEntra { from { translate: -50% 140%; } to { translate: -50% 0; } }
.carrito.is-pulso { animation: carritoPulso .5s var(--ease); }
@keyframes carritoPulso { 40% { scale: 1.04; } }
/* Ícono de carrito con el número de platos encima */
.carrito__ico { position: relative; display: grid; width: 26px; height: 26px; }
.carrito__ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.carrito__n {
  position: absolute; top: -8px; right: -10px; min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 10px; display: grid; place-items: center;
  background: #100c07; color: var(--oro); font-size: 10.5px; font-weight: 500; line-height: 1;
}
.carrito__info { display: grid; gap: 1px; min-width: 0; }
.carrito__txt {
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.carrito__total, .carrito__plato { font-family: var(--display); font-size: 1.2rem; font-weight: 500; line-height: 1.15; }
.carrito__plato { display: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.carrito.is-agregado .carrito__total { display: none; }
.carrito.is-agregado .carrito__plato { display: block; animation: subir .4s var(--ease) both; }
.carrito__ver {
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap;
  padding: 12px 16px; border-radius: 100px; background: #100c07; color: var(--tinta);
}
body.con-pedido .fab { bottom: 96px; }
body.con-pedido .footer { padding-bottom: 84px; }   /* que la barra no tape el pie */

.pedido { position: fixed; inset: 0; z-index: 9000; }
.pedido[hidden] { display: none; }
.pedido__fondo { position: absolute; inset: 0; background: rgba(6, 5, 4, .7); backdrop-filter: blur(4px); opacity: 0; transition: opacity .5s; }
.pedido__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(500px, 100%);
  display: flex; flex-direction: column;
  background: var(--bg-2); box-shadow: -1px 0 0 var(--linea);
  translate: 100% 0; transition: translate .6s var(--ease);
}
.pedido.is-open .pedido__fondo { opacity: 1; }
.pedido.is-open .pedido__panel { translate: 0 0; }
.pedido__head {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 28px; border-bottom: 1px solid var(--linea);
}
.pedido__head h2 { font-size: 2rem; font-weight: 300; }
.pedido__cerrar { background: none; border: 0; color: var(--tinta); font-size: 30px; line-height: 1; cursor: pointer; padding: 4px 8px; }
.pedido__cuerpo { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 10px 28px 0; }
.pedido__lista { list-style: none; margin: 0; padding: 0; }
.pedido__vacio { padding: 40px 0 10px; color: var(--tinta-3); font-style: italic; }
.pi {
  display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; align-items: center;
  padding: 18px 0; border-bottom: 1px solid var(--linea);
}
.pi__nombre { display: block; font-family: var(--display); font-size: 1.2rem; line-height: 1.25; }
.pi__unidad { display: block; font-size: .78rem; color: var(--tinta-3); }
.pi__lado { display: grid; justify-items: end; gap: 6px; }
.pi__total { font-family: var(--display); font-size: 1.1rem; color: var(--oro); }
.pi__cant { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--linea-2); border-radius: 100px; }
.pi__cant button { width: 34px; height: 32px; background: none; border: 0; color: var(--tinta); font-size: 17px; cursor: pointer; }
.pi__cant span { min-width: 18px; text-align: center; font-size: .9rem; }

.pedido__modo { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 26px 0 8px; }
.pedido__modo label { position: relative; cursor: pointer; }
.pedido__modo input { position: absolute; opacity: 0; pointer-events: none; }
.pedido__modo span {
  display: block; text-align: center; padding: 13px 10px; border-radius: var(--r);
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  box-shadow: inset 0 0 0 1px var(--linea-2); color: var(--tinta-2);
  transition: background .3s, color .3s, box-shadow .3s;
}
.pedido__modo input:checked + span { background: var(--oro); color: #100c07; box-shadow: none; }
.pedido__modo input:focus-visible + span { outline: 1px solid var(--oro); outline-offset: 3px; }

.pedido__cuentas { margin: 18px 0 0; display: grid; gap: 6px; }
.pedido__cuentas div { display: flex; justify-content: space-between; gap: 14px; color: var(--tinta-2); font-size: .92rem; }
.pedido__cuentas dd { margin: 0; }
.pedido__cuentas .es-total { padding-top: 12px; margin-top: 6px; border-top: 1px solid var(--linea); color: var(--tinta); }
.pedido__cuentas .es-total dd { font-family: var(--display); font-size: 1.6rem; color: var(--oro); }
.pedido__aviso { margin: 16px 0 6px; font-size: .82rem; line-height: 1.6; color: var(--tinta-3); }
.pedido__aviso b { color: var(--oro-claro); font-weight: 400; }
.pedido__form { margin-top: 0; padding-bottom: 34px; }
.pedido__form > .pedido__modo, .pedido__form > .pedido__cuentas, .pedido__form > .pedido__aviso { margin: 0; }
.pedido__form > .pedido__aviso { margin-top: -10px; }
/* El botón de enviar se queda a la vista abajo mientras se llenan los datos */
.pedido__enviar {
  position: sticky; bottom: 0; z-index: 2;
  margin: -14px -28px; padding: 14px 28px calc(14px + env(safe-area-inset-bottom));
  background: var(--bg-2);
}
.pedido__enviar::before {   /* lo que pasa por detrás se desvanece, sin corte seco */
  content: ''; position: absolute; left: 0; right: 0; bottom: 100%; height: 12px;
  background: linear-gradient(transparent, var(--bg-2)); pointer-events: none;
}
.pedido__vaciar { justify-self: center; background: none; border: 0; color: var(--tinta-3); font-size: .8rem; text-decoration: underline; cursor: pointer; }
.pedido__form [data-solo-domicilio][hidden] { display: none; }

@media (max-width: 520px) {
  .pedido__panel { top: auto; width: 100%; max-height: 92vh; max-height: 92dvh; border-radius: 14px 14px 0 0; translate: 0 100%; }
  .pedido__head { padding: 20px 22px; }
  .pedido__cuerpo { padding: 6px 22px 0; }
  .pedido__enviar { margin-inline: -22px; padding-inline: 22px; }
}
@media (max-width: 360px) {
  .pedido__enviar .btn { padding-inline: 14px; letter-spacing: .14em; }
}

/* ═══════════════════════════════════════════════════════════
   ACTO III · Lo que tienen los sitios premiados
   ═══════════════════════════════════════════════════════════ */

/* Texto solo para lectores de pantalla */
.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.lineas { display: block; }

/* ─── La casa: el salón y, encima, la chimenea ──────────── */

.sobre__figura { position: relative; }
.marco--chico {
  position: absolute; right: -36px; bottom: -48px; width: 42%;
  border: 6px solid var(--bg); box-sizing: content-box;
}
.marco--chico img { aspect-ratio: 4/5; }
html.js .marco.marco--chico.is-visible { transition-delay: .45s; }
html.js .marco.marco--chico.is-visible img { transition-delay: .45s; }
@media (max-width: 820px) {
  .sobre { gap: 78px; }
  .marco--chico { right: -14px; bottom: -36px; width: 40%; border-width: 5px; }
}

/* ─── Abierto ahora ──────────────────────────────────────── */

.estado { display: inline-flex; align-items: center; gap: 9px; }
.estado i { flex-shrink: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--tinta-3); }
.estado.is-abierto i { background: #7fcf95; animation: latido 2.4s ease-out infinite; }
@keyframes latido {
  0%   { box-shadow: 0 0 0 0 rgba(127, 207, 149, .55); }
  70%  { box-shadow: 0 0 0 9px rgba(127, 207, 149, 0); }
  100% { box-shadow: 0 0 0 0 rgba(127, 207, 149, 0); }
}
@media (prefers-reduced-motion: reduce) { .estado.is-abierto i { animation: none; } }
.hero__nota .estado { display: flex; justify-content: center; margin-bottom: 8px; color: var(--tinta-2); }
/* Mientras el script no dice si está abierto, la línea guarda su lugar: así la portada no salta */
.hero__nota .estado[hidden] { display: flex !important; visibility: hidden; }
.card .estado { margin: -4px 0 16px; font-size: .9rem; color: var(--tinta-2); }

/* ─── Pedido: tres formas de recibirlo ───────────────────── */

.pedido__modo { grid-template-columns: repeat(3, 1fr); }

/* ─── Accesos rápidos en el celular ──────────────────────── */

.dock { display: none; }
@media (max-width: 820px) {
  .dock {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 8000;
    display: grid; grid-template-columns: repeat(4, 1fr);
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
    background: rgba(12, 10, 9, .9);
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    border-top: 1px solid var(--linea);
    translate: 0 110%; transition: translate .6s var(--ease);
  }
  .dock.is-on { translate: 0 0; }
  .dock__btn {
    position: relative; display: grid; justify-items: center; gap: 4px; padding: 7px 0 5px;
    font-size: 10px; letter-spacing: .16em; text-indent: .16em; text-transform: uppercase;
    color: var(--tinta-2); transition: color .3s;
  }
  .dock__btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
  .dock__btn svg.dock__wa { fill: currentColor; stroke: none; }
  .dock__btn:active, .dock__btn.is-lleno { color: var(--oro); }
  .dock__btn.is-lleno span { letter-spacing: .04em; text-indent: 0; font-size: 11px; }
  .dock__n {
    position: absolute; top: 2px; left: calc(50% + 6px);
    min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px;
    display: grid; place-items: center;
    background: var(--oro); color: #100c07; font-size: 10px; font-weight: 500; letter-spacing: 0;
  }
  .dock__btn.is-pulso svg { animation: pulso .5s var(--ease); }
  .fab { display: none !important; }
  .footer { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  /* El pedido, visible encima de la barra de abajo; no estorba con el menú
     abierto ni mientras se escribe en un formulario de la página */
  .carrito { bottom: calc(72px + env(safe-area-inset-bottom)); }
  body.menu-abierto .carrito, body:has(main :is(input, select, textarea):focus) .carrito { display: none; }
  body.con-pedido .footer { padding-bottom: calc(142px + env(safe-area-inset-bottom)); }
}

/* Pantallas bajas: que la portada quepa entera con la cinta de abajo */
@media (max-height: 820px) { .hero__content { padding-top: 104px; padding-bottom: 124px; } }
@media (max-height: 700px) { .hero__content { padding-top: 92px; padding-bottom: 88px; } }

/* ═══ Revisión final (14-oct, 02:45) ═══════════════════════ */

/* La barra de abajo va debajo de los visores (500) y del pedido (9000),
   y se aparta mientras el menú del celular está abierto. */
@media (max-width: 820px) {
  .dock { z-index: 400; }
  body.menu-abierto .dock { translate: 0 110%; }

  /* Menú del celular: cerrado no se puede enfocar con el teclado; si no
     cabe en pantallas bajas, se desplaza por dentro. */
  .nav__links {
    visibility: hidden; max-height: calc(100vh - 66px); overflow-y: auto;
    transition: clip-path .6s var(--ease), visibility 0s .6s;
  }
  .nav__links.is-open { visibility: visible; transition: clip-path .6s var(--ease); }

  /* Pestañas de la carta en una sola fila que se desliza, con más área para el dedo */
  .menu__tabs {
    flex-wrap: nowrap; overflow-x: auto; gap: 0 26px;
    margin-inline: -28px; padding-inline: 28px; scroll-padding-inline: 28px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 44px), transparent);
            mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 44px), transparent);
  }
  .menu__tabs::-webkit-scrollbar { display: none; }
  .menu__tab { flex-shrink: 0; padding: 14px 0; white-space: nowrap; }
}

/* Computadores pequeños: con cinco enlaces y «Reservar», por debajo de 1100 px se juntan un poco */
@media (min-width: 821px) and (max-width: 1099px) { .nav__links { gap: 24px; } }
@media (min-width: 821px) and (max-width: 960px) { .nav__links { gap: 16px; } .nav__links > a { letter-spacing: .12em; } }

/* Para el dedo: enlaces de texto con más área de toque (el subrayado no se
   mueve) y campos de 16 px, porque con menos el iPhone acerca la página al
   tocarlos. */
@media (pointer: coarse) {
  a.link { padding-block: 10px; background-position: 0 calc(100% - 8px); }
  .field input, .field textarea, .field select, .buscador input { font-size: 16px; }
  .buscador { padding-block: 0; }
  .buscador input { padding-block: 13px; }
}

/* El carril fijo no se descuadra al recorrerlo con el teclado */
.section--platos.is-pin .platos-pin { overflow: hidden; overflow: clip; }

/* ═══ Acto IV: pulido final ═════════════════════════════════ */

/* Al presionar, el botón se hunde un poco: la página "oye" el toque */
.btn:active, .dish__add:active, .dish__opc:active, .deco__pedir:active, .dock__btn:active { scale: .97; }

/* Domicilios con foto al fondo */
.cta__inner {
  background:
    linear-gradient(90deg, var(--bg) 34%, rgba(12,10,9,.8) 58%, rgba(12,10,9,.4)),
    url(../img/platos/burger.webp) center 58% / cover no-repeat;
}
@media (max-width: 820px) {
  .cta__inner {
    background:
      linear-gradient(180deg, rgba(12,10,9,.55), var(--bg) 62%),
      url(../img/platos/burger.webp) center 40% / cover no-repeat;
    padding-top: 150px;
  }
}

/* Pie de página completo */
.footer__cols {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px;
  padding: 36px 0; border-block: 1px solid var(--linea);
}
.footer__col { display: grid; gap: 10px; align-content: start; font-size: .9rem; color: var(--tinta-2); }
.footer__col p { margin: 0; }
.footer__col > a { justify-self: start; }
.footer__col .footer__t { margin-bottom: 4px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--oro); }
.footer__horas span { display: block; }
.footer__mapa { grid-template-columns: 1fr 1fr; column-gap: 18px; row-gap: 0; }
.footer__mapa .footer__t { grid-column: 1 / -1; }
.footer__mapa a { padding: 7px 0; transition: color .3s; }
.footer__mapa a:hover { color: var(--oro); }
.footer__base { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.footer__arriba { padding: 10px 0; font-size: .72rem; letter-spacing: .12em; color: var(--tinta-3); transition: color .3s; }
.footer__arriba:hover { color: var(--oro); }
@media (max-width: 1040px) { .footer__cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__cols { grid-template-columns: 1fr; gap: 30px; } }

/* Las luces del patio: guirnaldas sobre la portada (las dibuja main.js) */
.hero__luces {
  position: absolute; left: 0; top: 0; z-index: -1;
  width: 100%; height: 62%; pointer-events: none;
}
/* El nombre se enciende como un letrero cuando llegan las luces */
.hero__title { text-shadow: 0 0 34px rgba(255, 196, 110, .32), 0 0 2px rgba(255, 226, 170, .4); }
html.js .hero__title { animation: encender 2.4s ease-out calc(var(--t0) + .9s) both; }
@keyframes encender {
  from { text-shadow: 0 0 0 rgba(255, 196, 110, 0); }
  to   { text-shadow: 0 0 34px rgba(255, 196, 110, .32), 0 0 2px rgba(255, 226, 170, .4); }
}

/* ═══ Fluidez (14-oct, 16:30) ═══════════════════════════════
   Medido en un celular lento simulado: lo que más pesaba al bajar era
   rehacer los desenfoques de las barras fijas en cada cuadro, el grano de
   película a pantalla completa (3 % de opacidad: casi no se ve, pero obliga
   a mezclar toda la pantalla) y animaciones que seguían corriendo fuera de
   vista. En pantallas táctiles se quitan los desenfoques (los fondos quedan
   un poco más opacos) y el grano; fuera de vista, las animaciones se paran. */
.progress { width: 100%; transform: scaleX(0); transform-origin: 0 50%; }
/* Lo que se repite sin fin se apaga mientras su sección no se ve (las
   entradas de una sola vez no se tocan: terminan solas) */
.is-fuera .hero__img, .is-fuera .marquee__track, .is-fuera .deleite__track, .is-fuera .deleite__fotos img,
.is-fuera .hero__bajar i::after, .is-fuera .estado i, .footer.is-fuera .footer__marca span::after { animation: none !important; }
/* Capas que el teléfono mantenía aparte todo el tiempo sin necesidad: la
   animación ya las separa mientras corre */
.hero__title .ch { will-change: auto; }
.footer__marca span::after { will-change: auto; }
.vbox, .lightbox { -webkit-backdrop-filter: none; backdrop-filter: none; }   /* ya son casi opacos */
@media (hover: none), (max-width: 820px) {
  .grain { display: none; }
  .gallery__item { will-change: auto; transform-style: flat; }   /* la inclinación solo existe con ratón */
  .btn { will-change: auto; }   /* el imán de los botones también */
  .nav, .nav.is-stuck, .dock, .marquee, .vid__play, .deco__n, .deco__pedir { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav.is-stuck { background: rgba(12, 10, 9, .95); }
  .marquee { background: rgba(12, 10, 9, .62); }
  .vid__play { background: rgba(12, 10, 9, .7); }
  .deco__n { background: rgba(12, 10, 9, .78); }
  .deco__pedir { background: rgba(12, 10, 9, .82); }
}
@media (max-width: 820px) {
  .nav { background: rgba(12, 10, 9, .95); }
  .dock { background: rgba(12, 10, 9, .97); }
}

/* ─── Versión definitiva (14-oct, 17:15) ─────────────────── */

/* Números de igual altura: Cormorant dibuja por defecto números «de texto»
   (el 7 y el 8 bajan de la línea) y los precios se ven disparejos. */
body { font-variant-numeric: lining-nums; }

/* En pantallas táctiles el «pasar el mouse» se queda pegado después de tocar:
   el botón quedaba claro y el plato corrido hasta tocar otra cosa. Ahí solo
   cuenta el toque (el botón se hunde un poco al presionarlo). */
@media (hover: none) {
  .btn:hover::before { transform: scaleX(0); }
  .btn:hover { box-shadow: none; }
  .btn--ghost:hover { color: var(--oro); }
  .chip:hover { color: var(--tinta-2); box-shadow: inset 0 0 0 1px var(--linea); }
  .dish:hover { padding-left: 0; }
  .dish:hover::before { height: 0; }
  .dish__add:hover:not([data-n]), .dish__opc:hover:not([data-n]) { background: none; color: var(--oro); border-color: rgba(201, 162, 74, .5); }
  .gallery__item:hover img { transform: none; filter: saturate(.9) brightness(.86); }
  .vid:hover video { transform: none; filter: saturate(.85) brightness(.7) contrast(1.05); }
  .deco:hover, .deco:hover img, .plato:hover img { transform: none; }
  .deco__pedir:hover:not(:focus-visible) { background: rgba(12,10,9,.82); color: var(--oro); }
  .carril__btn:hover:not(:disabled) { background: none; color: var(--tinta); border-color: var(--linea-2); }
  .footer__social a:hover { transform: none; }
}

/* Barra del pedido en celulares angostos: «Ver pedido» más compacto para
   que el plato recién agregado quepa entero */
@media (max-width: 400px) {
  .carrito { padding-left: 16px; }
  .carrito__ver { padding: 12px 13px; letter-spacing: .14em; }
}
