/* ═══════════════════════════════════════════════════════════════════════════
   ELIXIR · CARTA DIGITAL
   Hoja de estilos única · mobile first · sin dependencias
   ─────────────────────────────────────────────────────────────────────────
   01 Tokens        05 Navegación    09 Lista de productos
   02 Base / reset  06 Secciones     10 Variantes / dos precios
   03 Pared negra   07 Cabecera      11 Pie, utilidades, print
   04 Luz + brillos 08 Productos
   ═════════════════════════════════════════════════════════════════════════ */

/* ─── 01 · TOKENS ───────────────────────────────────────────────────────── */
:root {
  /* Negro real de pared */
  --bg-0: #050505;
  --bg-1: #0b0b0b;
  --bg-2: #111111;
  --bg-3: #1a1a1a;

  /* Tipos de texto */
  --ink: #f3eee5;        /* blanco roto / marfil */
  --ink-2: #d7d0c5;
  --muted: #968d82;      /* gris cálido */
  --faint: #6f675e;

  /* Dorados: tres tonos, del más apagado al más luminoso.
     Se usan con cuentagotas: filetes de 1 px, contornos y precios. */
  --gold-1: #b88a2d;                              /* dorado oscuro */
  --gold-2: #d4af37;                              /* dorado principal */
  --gold-3: #e6c76a;                              /* dorado claro */

  /* Acento único del local (latón/dorado cálido de bar nocturno) */
  --brass: var(--gold-2);
  --brass-soft: rgba(212, 175, 55, .42);

  /* Filetes dorados, siempre muy discretos */
  --gold-line: rgba(184, 138, 45, .26);
  --gold-line-soft: rgba(184, 138, 45, .13);
  --sep: rgba(212, 175, 55, .11);                 /* separador entre productos */

  /* Acento de la sección (lo reescribe JS desde los datos) */
  --accent: var(--brass);
  --accent-08: rgba(212, 175, 55, .08);
  --accent-25: rgba(212, 175, 55, .25);
  --accent-45: rgba(212, 175, 55, .45);
  --accent-70: rgba(212, 175, 55, .70);

  /* Líneas (siempre muy sutiles) */
  --line: rgba(243, 238, 229, .07);
  --line-2: rgba(243, 238, 229, .13);

  /* Tipografía: 2 familias (la cursiva de la serif para detalles) */
  --font-serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype",
                Palatino, Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;

  /* Métricas */
  --content: 46rem;
  --gutter: clamp(1.15rem, 5.2vw, 2.5rem);
  --nav-h: 3.4rem;
  /* Anchura de las dos columnas de precio (media / entera) */
  --duo-a: 3.45rem;
  --duo-b: 3.55rem;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
  --radius: 14px;
  --ease: cubic-bezier(.22, .61, .36, 1);

  /* Grano de pared (SVG en línea, ~0,5 KB, sin imágenes externas) */
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ─── 02 · BASE / RESET ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--bg-0);
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + .75rem);
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink);
  background: transparent;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, h4, h5, h6, p, ul, li, figure { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }

::selection { background: var(--accent-25); color: #fff; }

:focus-visible {
  outline: 1px solid var(--brass);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Solo para lectores de pantalla (etiquetas de las columnas de precio) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: .75rem 1rem;
  background: var(--bg-2);
  color: var(--ink);
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
}
.skip-link:focus { left: .75rem; top: .75rem; }

/* ─── 03 · PARED NEGRA (fondo por capas) ────────────────────────────────── */
/* Capa 1: base, degradados radiales y viñeta a negro profundo en los bordes */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-color: var(--bg-0);
  background-image:
    /* viñeta: bordes a negro profundo */
    radial-gradient(150% 118% at 50% 36%,
      rgba(0, 0, 0, 0) 32%, rgba(0, 0, 0, .42) 70%, rgba(0, 0, 0, .80) 100%),
    /* foco central: brillo muy suave, sin borde perceptible */
    radial-gradient(52% 30% at 50% 28%,
      rgba(255, 242, 222, .050), rgba(255, 242, 222, 0) 74%),
    /* rebote cálido inferior */
    radial-gradient(95% 46% at 50% 104%,
      rgba(212, 175, 55, .050), rgba(0, 0, 0, 0) 64%),
    /* carbón intermedio */
    radial-gradient(88% 56% at 50% 56%,
      rgba(26, 26, 26, .92), rgba(10, 10, 10, 0) 78%),
    /* base vertical */
    linear-gradient(180deg, #080808 0%, #0c0c0c 46%, #050505 100%);
}

/* Capa 2: grano extremadamente ligero (textura de pared / pizarra) */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: var(--noise);
  background-size: 180px 180px;
  background-repeat: repeat;
  opacity: .26;
  mix-blend-mode: soft-light;
}

/* ─── 04 · LUZ AMBIENTAL (deriva muy lenta) ─────────────────────────────── */
.ambient {
  position: fixed;
  inset: -18% -8%;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(42% 32% at 50% 42%,
    rgba(255, 240, 216, .055), rgba(255, 240, 216, 0) 72%);
  animation: ambient-drift 64s var(--ease) infinite alternate;
  will-change: transform;
}

@keyframes ambient-drift {
  0%   { transform: translate3d(-2.5%, -1.5%, 0) scale(1); }
  50%  { transform: translate3d(1.5%, 2%, 0) scale(1.05); }
  100% { transform: translate3d(3%, 1%, 0) scale(1.02); }
}

/* ─── 04b · BRILLOS DORADOS ─────────────────────────────────────────────── */
/* Destellos mínimos que aparecen y se apagan cada ~11 s. Van por detrás de
   todo el texto (z-index negativo), así que nunca estorban la lectura. */
.gild {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.gild i {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(255, 248, 224, .95), rgba(230, 199, 106, .45) 45%, rgba(230, 199, 106, 0) 72%);
  opacity: 0;
  animation: gild-twinkle 11s var(--ease) infinite;
  will-change: opacity, transform;
}

.gild i:nth-child(1) { top: 9%;  left: 15%;  animation-delay: 0s; }
.gild i:nth-child(2) { top: 14%; right: 18%; width: 4px; height: 4px; animation-delay: 3.2s; }
.gild i:nth-child(3) { top: 31%; left: 6%;   animation-delay: 6.4s; }
.gild i:nth-child(4) { top: 45%; right: 5%;  animation-delay: 1.6s; }
.gild i:nth-child(5) { top: 58%; left: 8%;   animation-delay: 8.6s; }
.gild i:nth-child(6) { top: 71%; right: 7%;  width: 4px; height: 4px; animation-delay: 4.8s; }
.gild i:nth-child(7) { top: 85%; left: 11%;  animation-delay: 2.4s; }
.gild i:nth-child(8) { top: 94%; right: 13%; animation-delay: 9.8s; }

@keyframes gild-twinkle {
  0%, 72%, 100% { opacity: 0; transform: scale(.5); }
  82%           { opacity: .50; transform: scale(1); }
  90%           { opacity: .16; }
}

.page {
  position: relative;
  padding-left: var(--safe-l);
  padding-right: var(--safe-r);
}

/* ─── 07 · CABECERA ─────────────────────────────────────────────────────── */
.masthead {
  max-width: 40rem;
  margin-inline: auto;
  padding: clamp(2.75rem, 13vw, 5.5rem) var(--gutter) clamp(1.4rem, 5vw, 2.25rem);
  text-align: center;
}

.masthead__eyebrow {
  margin-bottom: clamp(.9rem, 4vw, 1.5rem);
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .40em;
  text-indent: .40em;
  text-transform: uppercase;
  color: var(--faint);
}

.masthead__brand {
  position: relative;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: var(--brand-size, clamp(2.1rem, 14vw, 4.2rem));
  line-height: 1.02;
  letter-spacing: .13em;
  text-indent: .13em;
  text-transform: uppercase;
  color: var(--ink);
  overflow-wrap: break-word;
  text-wrap: balance;
  text-shadow: 0 0 70px rgba(255, 240, 214, .13);
}

/* ── El nombre del bar: contorno dorado muy fino + un reflejo que lo
   recorre cada 8 s (bucle infinito). Solo CSS, sin imágenes ni JS.
   Si el navegador no soporta el texto con degradado, se queda el color
   marfil de arriba: nunca desaparece el nombre. ─────────────────────── */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .masthead__brand {
    background-image:
      /* banda de luz que atraviesa las letras */
      linear-gradient(100deg,
        rgba(255, 255, 255, 0) 44%,
        rgba(255, 249, 232, .42) 49%,
        rgba(230, 199, 106, .80) 50.5%,
        rgba(255, 249, 232, .42) 52%,
        rgba(255, 255, 255, 0) 57%),
      /* color base: marfil con un pie dorado */
      linear-gradient(180deg, #fbf7f0 0%, #f1e9d8 52%, #e0cb9e 100%);
    background-size: 240% 100%, 100% 100%;
    background-repeat: no-repeat, no-repeat;
    background-position: 130% 50%, 0 0;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
    filter: drop-shadow(0 0 .6px rgba(230, 199, 106, .55))
            drop-shadow(0 0 22px rgba(212, 175, 55, .16));
    animation: brand-sheen 8s var(--ease) infinite;
    will-change: background-position;
  }
}

@keyframes brand-sheen {
  0%, 12%   { background-position: 130% 50%, 0 0; }
  55%, 100% { background-position: -30% 50%, 0 0; }
}

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  margin-top: clamp(.9rem, 4vw, 1.35rem);
}

.ornament__line {
  height: 1px;
  width: clamp(2.25rem, 13vw, 4.75rem);
  background: linear-gradient(90deg, rgba(212, 175, 55, 0), var(--brass-soft));
}
.ornament__line:last-child { transform: scaleX(-1); }
.ornament__mark {
  color: var(--gold-3);
  opacity: .85;
  filter: drop-shadow(0 0 6px rgba(212, 175, 55, .45));
}

.masthead__kicker {
  margin-top: clamp(.9rem, 4vw, 1.4rem);
  font-size: .66rem;
  font-weight: 400;
  letter-spacing: .58em;
  text-indent: .58em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.masthead__hours {
  margin-top: .85rem;
  font-size: .72rem;
  letter-spacing: .05em;
  color: var(--faint);
}

/* ─── 05 · NAVEGACIÓN ───────────────────────────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  padding-top: var(--safe-t);
  background: rgba(7, 7, 7, .70);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
}

.topbar.is-stuck {
  background: rgba(5, 5, 5, .88);
  box-shadow: 0 1px 0 var(--line), 0 18px 40px -30px rgba(0, 0, 0, .95);
}

.nav__scroller {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: .55rem calc(max(var(--gutter), calc((100% - var(--content)) / 2)) + .55rem) .55rem max(var(--gutter), calc((100% - var(--content)) / 2));
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 16px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 16px), transparent 100%);
}
.nav__scroller::-webkit-scrollbar { display: none; }

.nav__list {
  display: flex;
  align-items: center;
  gap: .15rem;
  width: max-content;
}

.chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .5rem .78rem;
  font-size: .71rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
  color: var(--muted);
  border-radius: 999px;
  transition: color .18s var(--ease), background-color .18s var(--ease);
}

.chip::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: .3rem;
  width: 0;
  height: 1px;
  border-radius: 2px;
  background: var(--brass);
  transform: translateX(-50%);
  opacity: 0;
  transition: width .3s var(--ease), opacity .3s var(--ease);
}

.chip:hover { color: var(--ink-2); }

.chip[aria-current="true"] {
  color: var(--ink);
  background: linear-gradient(180deg, rgba(212, 175, 55, .16), rgba(212, 175, 55, .05));
  box-shadow: inset 0 0 0 1px rgba(212, 175, 55, .16);
}
.chip[aria-current="true"]::after {
  width: 1.3rem;
  opacity: 1;
  box-shadow: 0 0 12px rgba(212, 175, 55, .55);
}

.topbar__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  overflow: hidden;
}
.topbar__progress span {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0), rgba(212, 175, 55, .9));
  opacity: .75;
}

/* ─── 06 · SECCIONES ────────────────────────────────────────────────────── */
.content {
  width: 100%;
  max-width: var(--content);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding: clamp(2.4rem, 9vw, 4rem) 0 clamp(.9rem, 3.5vw, 1.4rem);
  scroll-margin-top: calc(var(--nav-h) + .6rem);
}

/* Separador entre apartados: filete dorado con un rombo mínimo en el centro */
.section + .section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 4%;
  right: 4%;
  height: 1px;
  background: linear-gradient(90deg,
    rgba(184, 138, 45, 0), rgba(212, 175, 55, .20) 24%,
    rgba(230, 199, 106, .38) 50%,
    rgba(212, 175, 55, .20) 76%, rgba(184, 138, 45, 0));
}

.section + .section::after {
  content: "";
  position: absolute;
  top: -2px;
  left: 50%;
  width: 5px;
  height: 5px;
  margin-left: -2.5px;
  background: var(--gold-2);
  opacity: .5;
  transform: rotate(45deg);
  box-shadow: 0 0 10px rgba(212, 175, 55, .45);
}

.section__head {
  position: relative;
  z-index: 2;
  margin-bottom: clamp(1.1rem, 4.5vw, 1.75rem);
}

.section__top {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: .65rem;
}

.section__index {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: .92rem;
  line-height: 1;
  letter-spacing: .06em;
  color: var(--accent);
  opacity: .72;
}

.section__rule {
  flex: 1 1 auto;
  min-width: 0;
  height: 6px;
  color: var(--accent);
  opacity: .4;
  -webkit-mask-image: linear-gradient(90deg, #000, #000 55%, transparent);
  mask-image: linear-gradient(90deg, #000, #000 55%, transparent);
}
.section__rule svg { width: 100%; height: 100%; }

.section__icon {
  flex: 0 0 auto;
  color: var(--accent);
  opacity: .5;
}

.section__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 8.6vw, 2.45rem);
  line-height: 1.05;
  letter-spacing: .1em;
  text-indent: .1em;
  text-transform: uppercase;
  color: var(--ink);
  text-wrap: balance;
  text-shadow: 0 0 46px rgba(230, 199, 106, .12);
}

.section__note {
  margin-top: .55rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: .95rem;
  letter-spacing: .02em;
  color: var(--muted);
}

.section__deco {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  color: var(--accent);
  opacity: .055;
}
.section__deco--tr { top: -.5rem; right: -2.5rem; width: 13rem; height: 13rem; }
.section__deco--bl { bottom: .5rem; left: -3rem; width: 11rem; height: 11rem; }

.menu-footnote {
  margin: clamp(2rem, 8vw, 3.25rem) auto 0;
  padding-top: clamp(1.2rem, 4vw, 1.75rem);
  max-width: 34rem;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: .72rem;
  line-height: 1.7;
  letter-spacing: .03em;
  color: var(--faint);
}

/* ─── 08/09 · PRODUCTOS ─────────────────────────────────────────────────── */
.dishes { display: grid; }

/* Filete dorado finísimo entre productos (nunca antes del primero) */
.dishes > li + li { border-top: 1px solid var(--sep); }

/* Lista con subapartados fuera del panel (es el caso de TOSTADAS) */
.blocks { display: block; }
.blocks .group__head { margin-bottom: .45rem; }

.dish {
  position: relative;
  padding: .62rem 0 .68rem;
}

.dish__row {
  display: flex;
  align-items: flex-end;
  gap: .45rem;
}

.dish__name {
  flex: 0 1 auto;
  min-width: 0;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.32;
  letter-spacing: .002em;
  color: var(--ink);
  overflow-wrap: break-word;
}

/* Marca del producto (opcional) */
.dish__brand {
  display: block;
  margin-top: .18rem;
  font-size: .63rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--faint);
}

/* Etiqueta discreta: "12 años", "Signature", "Artesana"… */
.dish__tag {
  display: inline-block;
  align-self: center;
  margin-left: .45rem;
  padding: .12rem .42rem .14rem;
  border: 1px solid var(--accent-25);
  border-radius: 999px;
  font-size: .55rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
  vertical-align: .12em;
}

/* Guía de puntos entre nombre y precio */
.dish__leader {
  flex: 1 1 .75rem;
  min-width: .75rem;
  margin-bottom: .34em;
  border-bottom: 1px dotted rgba(212, 175, 55, .22);
}

.dish__price {
  flex: 0 0 auto;
  font-size: .95rem;
  font-weight: 500;
  line-height: 1.32;
  letter-spacing: .01em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  white-space: nowrap;
  text-shadow: 0 0 14px rgba(230, 199, 106, .18);
}

.dish__desc {
  margin-top: .22rem;
  max-width: 46ch;
  font-size: .79rem;
  font-weight: 300;
  line-height: 1.55;
  letter-spacing: .006em;
  color: var(--muted);
}

/* Producto destacado: marca mínima, sin recuadros */
.dish--featured .dish__name { color: #fff; }
.dish--featured .dish__name::after {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 0 .18em .5rem;
  background: var(--accent);
  transform: rotate(45deg);
  opacity: .85;
  vertical-align: middle;
}

/* Precios por formato: copa / botella */
.dish__variants { margin-top: .1rem; }
.dish__variant {
  display: flex;
  align-items: flex-end;
  gap: .45rem;
  padding: .12rem 0;
}
.dish__vlabel {
  flex: 0 0 auto;
  min-width: 3.4rem;
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--faint);
}
.dish__variant .dish__leader { margin-bottom: .3em; }
.dish__variant .dish__price { font-size: .88rem; }

/* ── Dos precios en la misma línea: MEDIA / ENTERA (TOSTADAS) ─────────── */
/* Nombre · puntos · 2,70 € · 3,10 €. Las dos columnas de precio tienen
   anchura fija, así que todos los importes quedan alineados en vertical
   y coinciden exactamente con la cabecera. */
.dish--duo .dish__row,
.duo-head {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(.7rem, 1fr) var(--duo-a) var(--duo-b);
  align-items: end;
  column-gap: .5rem;
}

.dish--duo .dish__price {
  text-align: right;
  font-size: .9rem;
}

/* Si algún día hay dos precios dentro del panel premium, la rejilla se
   mantiene (el panel oculta la guía de puntos de las filas normales). */
.panel .dish--duo .dish__leader { display: block; }

.duo-head {
  padding: 0 0 .4rem;
  border-bottom: 1px solid var(--gold-line-soft);
}

/* Rótulo de la primera columna ("Producto") */
.duo-head__caption {
  font-size: .55rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--faint);
}

.duo-head__label {
  text-align: right;
  font-size: .55rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-70);
}

/* Listas a dos columnas (pantallas grandes) */
@media (min-width: 52rem) {
  .dishes--2 {
    grid-template-columns: 1fr 1fr;
    column-gap: clamp(2rem, 4.5vw, 3.5rem);
  }
  /* En rejilla, los dos primeros productos abren la fila: sin filete encima */
  .dishes--2 > li { border-top: 1px solid var(--sep); }
  .dishes--2 > li:nth-child(-n+2) { border-top: 0; }
}

/* ── Secciones cálidas (tostadas / crepes) ───────────────────────────── */
.section--warm .dish { padding: .68rem 0 .72rem; }
.section--warm .dish__desc { font-size: .8rem; }

/* ── COPAS: bloque premium con marco dorado, esquinas y halo ───────────── */
.panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(1.35rem, 5.4vw, 2.1rem) clamp(1.05rem, 4.8vw, 1.85rem) clamp(1.4rem, 5.4vw, 2.2rem);
  border: 1px solid rgba(212, 175, 55, .20);
  border-radius: var(--radius);
  background:
    radial-gradient(120% 90% at 50% 0%, var(--accent-08), rgba(0, 0, 0, 0) 62%),
    linear-gradient(180deg, rgba(212, 175, 55, .045), rgba(255, 255, 255, .006));
  box-shadow:
    inset 0 1px 0 rgba(230, 199, 106, .10),
    0 40px 70px -50px rgba(0, 0, 0, .95);
}

/* Esquinas doradas mínimas, como el filete de una carta impresa */
.panel::after {
  content: "";
  position: absolute;
  inset: 9px;
  z-index: 2;
  pointer-events: none;
  opacity: .38;
  background-repeat: no-repeat;
  background-image:
    linear-gradient(var(--gold-2), var(--gold-2)),
    linear-gradient(var(--gold-2), var(--gold-2)),
    linear-gradient(var(--gold-2), var(--gold-2)),
    linear-gradient(var(--gold-2), var(--gold-2)),
    linear-gradient(var(--gold-2), var(--gold-2)),
    linear-gradient(var(--gold-2), var(--gold-2)),
    linear-gradient(var(--gold-2), var(--gold-2)),
    linear-gradient(var(--gold-2), var(--gold-2));
  background-size:
    13px 1px, 1px 13px, 13px 1px, 1px 13px,
    13px 1px, 1px 13px, 13px 1px, 1px 13px;
  background-position:
    left top, left top, right top, right top,
    left bottom, left bottom, right bottom, right bottom;
}

.panel__deco {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  color: var(--accent);
  opacity: .07;
}
.panel__deco--glass { top: -1.2rem; right: -1.4rem; width: 12rem; height: 12rem; }
.panel__deco--citrus { bottom: -3rem; right: -2.5rem; width: 10rem; height: 10rem; }

.group + .group { margin-top: clamp(1.4rem, 5.5vw, 2.1rem); }

.group__head {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .3rem;
}

.group__title {
  flex: 0 0 auto;
  font-family: var(--font-serif);
  font-size: clamp(.95rem, 4vw, 1.06rem);
  font-weight: 500;
  letter-spacing: .28em;
  text-indent: .28em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.group__line {
  flex: 1 1 auto;
  height: 1px;
  min-width: 1.5rem;
  background: linear-gradient(90deg, var(--accent-45), rgba(212, 175, 55, 0));
}

/* Gamas premium: el rótulo se dora, sin estridencias */
.group--premium .group__title {
  color: var(--gold-3);
  opacity: .93;
}
.group--premium .group__line {
  background: linear-gradient(90deg, rgba(230, 199, 106, .50), rgba(212, 175, 55, 0));
}

/* Nota del subapartado (p. ej. lo que incluye el desayuno especial) */
.group__note {
  margin: -.02rem 0 .55rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: .88rem;
  line-height: 1.5;
  color: var(--muted);
}

.group__items > li { border-top: 1px solid var(--sep); }
.group__items > li:first-child { border-top: 0; }

/* Dentro del panel premium no hay guía de puntos: filas + filete fino */
.panel .dish__leader { display: none; }
.panel .dish__row { justify-content: space-between; }
.panel .dish { padding: .55rem 0 .58rem; }
.panel .dish__variant { justify-content: space-between; }
.panel .dish__variant .dish__vlabel { min-width: 0; }

/* Subapartados: se leen siempre en el orden de los datos (también en el
   móvil); en pantallas anchas se reparten en dos columnas equilibradas */
.panel__body--cols { display: block; }

@media (min-width: 52rem) {
  .panel__body--cols {
    column-count: 2;
    column-gap: clamp(2rem, 4.5vw, 3.25rem);
  }
  .panel__body--cols > .group {
    break-inside: avoid;
    page-break-inside: avoid;
  }
}

/* ── CÓCTELES: fichas editoriales en dos columnas ──────────────────────── */
.cocktails { display: grid; }

.cocktail {
  position: relative;
  padding: .85rem 0 .95rem;
}
.cocktail + .cocktail::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--line-2), rgba(243, 238, 229, 0) 85%);
}
.cocktail .dish__name { font-size: 1.05rem; }
.cocktail .dish__desc { font-size: .82rem; max-width: 40ch; }

@media (min-width: 52rem) {
  .cocktails { grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 4.5vw, 3.25rem); }
  .cocktail { padding: .95rem 0 1.05rem; }
  .cocktail:nth-child(2)::before { display: none; }
}

/* ─── 11 · PIE ──────────────────────────────────────────────────────────── */
.footer {
  position: relative;
  margin-top: clamp(2.25rem, 8vw, 3.75rem);
  padding: clamp(2.25rem, 9vw, 3.75rem) var(--gutter) calc(clamp(2.5rem, 9vw, 3.5rem) + var(--safe-b));
  text-align: center;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 4%;
  right: 4%;
  height: 1px;
  background: linear-gradient(90deg,
    rgba(184, 138, 45, 0), rgba(212, 175, 55, .20) 26%,
    rgba(230, 199, 106, .34) 50%,
    rgba(212, 175, 55, .20) 74%, rgba(184, 138, 45, 0));
}

.footer__inner { max-width: 34rem; margin-inline: auto; }

.footer__brand {
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 7vw, 1.9rem);
  letter-spacing: .2em;
  text-indent: .2em;
  text-transform: uppercase;
  color: var(--ink);
}

.footer__tagline {
  margin-top: .6rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--muted);
}

.footer__rule {
  width: 3.5rem;
  height: 1px;
  margin: 1.75rem auto;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0), var(--brass-soft), rgba(212, 175, 55, 0));
}

.footer__list { display: grid; gap: 1.1rem; justify-items: center; }

/* Pie minimalista: si un dato no existe (Instagram, dirección…) su bloque
   desaparece y no deja hueco. Si además la lista queda vacía, se oculta. */
.footer__item[hidden] { display: none !important; }
.footer__list:empty { display: none; }

.footer__label {
  display: block;
  margin-bottom: .3rem;
  font-size: .58rem;
  letter-spacing: .3em;
  text-indent: .3em;
  text-transform: uppercase;
  color: var(--gold-1);
}

.footer__link {
  display: inline-block;
  min-height: 24px;
  font-size: .9rem;
  color: var(--ink-2);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.footer__link:hover, .footer__link:focus-visible {
  color: var(--ink);
  border-bottom-color: var(--line-2);
}

/* Horario del pie: una línea por tramo (días a la izquierda, horas a la
   derecha). Si el dato no existe, el bloque desaparece sin dejar hueco. */
.footer__hours { margin-top: 2.1rem; }
.footer__hours[hidden] { display: none !important; }

.hours {
  display: grid;
  max-width: 21rem;
  margin: .5rem auto 0;
}

.hours li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: .42rem 0;
  font-size: .84rem;
}
.hours li + li { border-top: 1px solid rgba(255, 255, 255, .05); }

.hours__days { color: var(--muted); }

.hours__time {
  min-width: 0;
  text-align: right;
  color: var(--ink-2);
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
}

.footer__thanks {
  margin-top: 2.1rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.06rem;
  color: var(--ink-2);
}

.footer__legal {
  margin-top: .8rem;
  font-size: .66rem;
  letter-spacing: .04em;
  line-height: 1.7;
  color: var(--faint);
}

/* ─── UTILIDADES: volver arriba, carga, aviso sin JS ───────────────────── */
.totop {
  position: fixed;
  right: max(clamp(.9rem, 4vw, 1.4rem), var(--safe-r));
  bottom: calc(clamp(.9rem, 4vw, 1.4rem) + var(--safe-b));
  z-index: 70;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: rgba(14, 14, 14, .78);
  color: var(--ink-2);
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  visibility: hidden;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s var(--ease);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.totop.is-on { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
.totop:active { transform: scale(.96); }

.boot { display: grid; place-items: center; min-height: 46vh; }
.boot span {
  display: block;
  width: min(11rem, 45vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(243, 238, 229, .45), transparent);
  animation: boot-pulse 1.5s var(--ease) infinite;
}
@keyframes boot-pulse {
  0%, 100% { opacity: .2; transform: scaleX(.65); }
  50%      { opacity: .85; transform: scaleX(1); }
}

.noscript {
  margin: 2rem auto;
  max-width: 26rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .03);
  text-align: center;
  font-size: .82rem;
  color: var(--ink-2);
}

/* ─── ANIMACIONES (150–500 ms, sin exageraciones) ──────────────────────── */
.js .reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ─── ADAPTACIÓN POR TAMAÑO ────────────────────────────────────────────── */
@media (max-width: 340px) {
  :root { --gutter: 1rem; --duo-a: 2.95rem; --duo-b: 3.05rem; }
  .chip { font-size: .66rem; padding: .5rem .62rem; letter-spacing: .12em; }
  .masthead__kicker { letter-spacing: .4em; text-indent: .4em; }
  .dish__name { font-size: .96rem; }
  .dish__price { font-size: .9rem; }
  .section__note { font-size: .9rem; }
  /* Dos precios en pantallas muy estrechas: un punto menos y más juntos */
  .dish--duo .dish__price { font-size: .84rem; }
  .duo-head__label { font-size: .5rem; letter-spacing: .12em; }
  .group__title { letter-spacing: .2em; text-indent: .2em; }
  .group__note { font-size: .84rem; }
}

@media (min-width: 600px) {
  .dish__name { font-size: 1.05rem; }
  .dish__desc { font-size: .82rem; }
  .cocktail .dish__name { font-size: 1.12rem; }
}

@media (min-width: 900px) {
  :root { --content: 48rem; --nav-h: 3.6rem; }
  .masthead { padding-top: clamp(4rem, 9vw, 6.5rem); }
  .masthead__brand { letter-spacing: .16em; text-indent: .16em; }
  .section { padding-top: clamp(3.25rem, 5.5vw, 4.75rem); }
  .footer__list { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .footer__list .footer__item { width: 100%; }
}

/* Pantallas bajas en horizontal: menos aire arriba */
@media (orientation: landscape) and (max-height: 480px) {
  .masthead { padding-top: 2rem; }
  .boot { min-height: 30vh; }
}

/* ─── IMPRESIÓN: la carta también debe poder imprimirse ────────────────── */
@media print {
  body::before, body::after, .ambient, .gild, .topbar, .totop, .boot { display: none !important; }
  html, body { background: #fff !important; color: #111 !important; }
  .masthead__brand, .section__title, .footer__brand, .dish__name { color: #000 !important; }
  .dish__price { color: #000 !important; font-weight: 600 !important; }
  .dish__desc, .section__note, .masthead__hours, .group__note { color: #444 !important; }
  .masthead__kicker, .masthead__eyebrow, .footer__label, .duo-head__label { color: #666 !important; }
  .hours__days, .hours__time { color: #333 !important; }
  .hours li + li { border-color: #ddd !important; }
  .group--premium .group__title { color: #444 !important; opacity: 1 !important; }
  .section__index { color: #888 !important; }
  .dish__leader { border-color: #bbb !important; }
  /* El nombre se pinta con degradado (background-clip): en impresión, negro */
  .masthead__brand {
    background-image: none !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
    -webkit-text-fill-color: #000 !important;
    filter: none !important;
    animation: none !important;
    text-shadow: none !important;
  }
  .panel { border-color: #ddd !important; background: none !important; box-shadow: none !important; }
  .panel::after { display: none !important; }
  .section__deco, .panel__deco { display: none !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .section { padding: .75rem 0 !important; break-inside: avoid; }
  .dish, .cocktail { break-inside: avoid; }
  .section + .section::before { background: #ddd !important; }
  .section + .section::after { display: none !important; }
}

/* ─── MOVIMIENTO REDUCIDO ──────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ambient { animation: none; }
  .boot span { animation: none; opacity: .5; }
  /* Sin reflejo en el nombre y destellos quietos (pero dorados) */
  .masthead__brand { animation: none; }
  .gild i { animation: none; opacity: .22; transform: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
