/* ==========================================================================
   ROSSINO RESTO BAR · Hoja de estilos
   Dirección de arte: los colores salen del local (vídeo real):
   pared crema, pared verde salvia, suelo de madera clara, barra de mármol
   cobrizo, tapete del billar y las líneas LED cálidas del techo.
   La línea de luz es el hilo gráfico de toda la web.
   Índice: 1 Tokens · 2 Base · 3 Piezas · 4 Cabecera · 5 Inicio · 6 Esencia
   7 Gastronomía · 8 Carta · 9 Espacio · 10 Galería · 11 Reservas
   12 Contacto · 13 Pie y fijos · 14 Movimiento
   ========================================================================== */

/* ---------- 1. TOKENS ---------- */
:root {
  color-scheme: light;
  --arena: #F2E7CF;        /* pared crema */
  --crema: #FBF6E9;        /* papel de la carta */
  --salvia: #5C7052;       /* pared verde, en sombra */
  --salvia-clara: #A9BA94; /* pared verde, a la luz */
  --tapete: #12332A;       /* tapete del billar, de noche */
  --tapete-vivo: #2E6B52;
  --madera: #B98A5A;       /* suelo y mesas */
  --cobre: #A4593B;        /* mármol de la barra */
  --led: #FFE9A8;          /* línea de luz */
  --tinta: #1E241C;
  --tinta-suave: #4E5648;

  --f-display: "Gloock", "Bodoni MT", "Didot", Georgia, serif;
  --f-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 56px);
  --radius: 18px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --glow: 0 0 6px rgba(255, 233, 168, .9), 0 0 26px rgba(255, 220, 130, .55);

  --lg-ball: var(--tapete-vivo);
  --lg-dot: var(--led);
  --lg-line: var(--cobre);
}

/* ---------- 2. BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--arena); color: var(--tinta);
  font: 400 1rem/1.6 var(--f-body); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
em { font-style: normal; }
:focus-visible { outline: 2px solid var(--cobre); outline-offset: 3px; border-radius: 4px; }
.hero :focus-visible, .espacio :focus-visible, .reservas__copy :focus-visible, .foot :focus-visible, .mmenu :focus-visible { outline-color: var(--led); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--tinta); color: var(--crema); padding: 10px 16px; border-radius: 8px; transition: top .2s; }
.skip:focus { top: 12px; }

.wrap { width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.sec { position: relative; padding-block: clamp(72px, 10vw, 148px); }

/* ---------- 3. PIEZAS ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: .76rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--cobre); margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; border-radius: 2px; }
.h-xl {
  font: 400 clamp(2.15rem, 5.2vw, 4.5rem)/1.03 var(--f-display);
  letter-spacing: -.012em; text-wrap: balance; max-width: 17ch;
}
.h-xl em { color: var(--cobre); }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.5; }

.dotball { /* la bola del logotipo, usada como viñeta */
  flex: none; width: .72em; height: .72em; border-radius: 50%;
  background: radial-gradient(circle at 68% 30%, var(--led) 0 22%, var(--tapete-vivo) 24%);
}

.logo { color: inherit; overflow: visible; }
.lg-ball { fill: var(--lg-ball); } .lg-dot, .lg-monoR { fill: var(--lg-dot); } .lg-line { stroke: var(--lg-line); }

/* Botones: el contorno es una línea LED que se enciende al pasar */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  font-weight: 600; font-size: .95rem; letter-spacing: .02em; text-decoration: none; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s, background .35s, color .35s;
}
.btn svg, .link-led svg, .round svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.btn--led { background: var(--led); color: var(--tapete); box-shadow: 0 0 0 0 rgba(255, 233, 168, 0); }
.btn--led:hover { transform: translateY(-2px); box-shadow: var(--glow); }
.btn--led:active { transform: translateY(0) scale(.98); }
.btn--ghost { color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--ghost:hover { background: var(--crema); color: var(--tapete); box-shadow: inset 0 0 0 1.5px var(--crema); }
.btn--ghost:hover svg, .link-led:hover svg { transform: translateX(4px); }
.btn--full { width: 100%; }
.sec:not(.espacio):not(.reservas) .btn--led, .ticket .btn--led, .form .btn--led, .nav.is-solid .btn--led { background: var(--tapete); color: var(--led); }
.sec:not(.espacio):not(.reservas) .btn--led:hover, .form .btn--led:hover, .ticket .btn--led:hover, .nav.is-solid .btn--led:hover { box-shadow: 0 10px 26px -10px rgba(18, 51, 42, .7), 0 0 0 2px var(--led) inset; }

.link-led {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none;
  padding-bottom: 4px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat;
  transition: background-size .4s var(--ease);
}
.link-led:hover { background-size: 28px 1.5px; }

.round {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px currentColor; transition: background .3s, color .3s, transform .3s var(--ease);
}
.round:hover { background: var(--tinta); color: var(--crema); box-shadow: none; }
.round:active { transform: scale(.94); }
.round[disabled] { opacity: .3; pointer-events: none; }

.chip {
  min-height: 40px; padding: 0 18px; border-radius: 999px; font-weight: 500; font-size: .9rem;
  box-shadow: inset 0 0 0 1.5px rgba(30, 36, 28, .25); transition: background .3s, color .3s, box-shadow .3s;
}
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--tinta); }
.chip.is-on { background: var(--tinta); color: var(--crema); box-shadow: none; }

.ph { border-bottom: 2px dotted var(--cobre); cursor: help; }
.pend { color: var(--tinta-suave); }

/* Líneas de luz */
.led-line { fill: none; stroke: #FFF7DC; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 5px rgba(255, 233, 168, .95)) drop-shadow(0 0 18px rgba(255, 215, 120, .6)); }
.led-edge { position: absolute; inset: 0 0 auto 0; height: 2px; background: #FFF7DC; box-shadow: var(--glow); }
.led-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; pointer-events: none; }
.led-progress i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: #FFF7DC; box-shadow: var(--glow); }

/* ---------- 4. CABECERA ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: 76px;
  display: flex; align-items: center; gap: 28px; padding-inline: var(--gutter);
  color: var(--crema); --lg-ball: var(--led); --lg-dot: var(--salvia);
  transition: background .4s, color .4s, height .4s var(--ease), box-shadow .4s, transform .5s var(--ease);
}
.nav.is-solid { height: 64px; background: rgba(251, 246, 233, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--tinta); --lg-ball: var(--tapete-vivo); --lg-dot: var(--led); box-shadow: 0 1px 0 rgba(30, 36, 28, .08); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__logo { display: block; margin-right: auto; }
.logo--word { width: 148px; height: 28px; }
.nav__links { display: flex; gap: clamp(16px, 2.2vw, 32px); }
.nav__links a { position: relative; text-decoration: none; font-size: .9rem; font-weight: 500; padding: 8px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 2px; background: currentColor; transform: scaleX(0); transform-origin: 0 50%; transition: transform .4s var(--ease); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__cta { min-height: 42px; padding: 0 22px; font-size: .88rem; }
.nav__burger { display: none; width: 44px; height: 44px; position: relative; }
.nav__burger span { position: absolute; left: 9px; right: 9px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.nav__burger span:nth-child(1) { top: 17px; } .nav__burger span:nth-child(2) { top: 26px; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.mmenu {
  position: fixed; inset: 0; z-index: 90; background: var(--tapete); color: var(--crema);
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  padding: 96px var(--gutter) 32px; overflow-y: auto;
  clip-path: circle(0 at calc(100% - 42px) 38px); transition: clip-path .7s var(--ease);
}
.mmenu[hidden] { display: none; }
.mmenu.is-open { clip-path: circle(150% at calc(100% - 42px) 38px); }
.mmenu nav { display: flex; flex-direction: column; }
.mmenu nav a {
  display: flex; align-items: baseline; gap: 16px; padding: 9px 0; text-decoration: none;
  font: 400 clamp(1.7rem, 8vw, 2.4rem)/1.15 var(--f-display);
  border-bottom: 1px solid rgba(255, 233, 168, .16);
  transform: translateY(18px); opacity: .01; transition: transform .6s var(--ease), opacity .5s, color .3s;
}
.mmenu.is-open nav a { transform: none; opacity: 1; }
.mmenu nav a:nth-child(n) { transition-delay: calc(.05s * var(--i, 0) + .12s); }
.mmenu nav a small { font: 500 .72rem var(--f-body); letter-spacing: .14em; color: var(--led); }
.mmenu nav a:active { color: var(--led); }
.mmenu__foot { display: flex; flex-wrap: wrap; gap: 12px; }
.mmenu__foot .btn { flex: 1 1 140px; }
body.is-locked { overflow: hidden; }

/* ---------- 5. INICIO ---------- */
/* Portada: un banner de cinco ventanas en arco, cada una con una zona real del local en vídeo */
.hero { position: relative; background: var(--tapete); color: var(--crema); overflow: hidden; isolation: isolate; display: flex; flex-direction: column; min-height: clamp(640px, 100svh, 960px); }
.hero__stage { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; }
.hero__reel { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(8px, 1.1vw, 18px); padding: 88px var(--gutter) 0; }
.pane { position: relative; display: block; overflow: hidden; margin-top: var(--o); border-radius: 999px 999px 0 0; background: #0a1f19; transition: box-shadow .5s, transform .8s var(--ease); }
.pane video { width: 100%; height: 100%; object-fit: cover; filter: brightness(.86) saturate(1.06); transition: filter .6s, transform 1.6s var(--ease); }
.pane__label {
  position: absolute; left: 50%; top: clamp(64px, 26%, 150px); transform: translate(-50%, 10px); white-space: nowrap; opacity: 0;
  display: flex; align-items: baseline; gap: 8px; padding: 8px 16px; border-radius: 999px;
  font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  background: rgba(18, 51, 42, .8); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: opacity .4s, transform .5s var(--ease);
}
.pane__label small { color: var(--led); font-size: 1em; }
@media (hover: hover) and (min-width: 821px) {
  .hero__reel:hover .pane video { filter: brightness(.45) saturate(.8); }
  .hero__reel .pane:hover video, .hero__reel .pane:focus-visible video { filter: brightness(1.04) saturate(1.1); transform: scale(1.05); }
  .pane:hover, .pane:focus-visible { box-shadow: 0 0 0 3px #FFF7DC, var(--glow); transform: translateY(-10px); outline: none; }
  .pane:hover .pane__label, .pane:focus-visible .pane__label { opacity: 1; transform: translate(-50%, 0); }
}
.hero__shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(18, 51, 42, .7) 0, rgba(18, 51, 42, 0) 20%, rgba(18, 51, 42, 0) 36%, rgba(18, 51, 42, .78) 66%, var(--tapete) 96%); }
.hero__ticks { display: none; }
.hero__in { position: relative; z-index: 2; pointer-events: none; width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto; padding: 0 0 clamp(28px, 5vh, 52px); }
.hero__in a { pointer-events: auto; }
.hero__eyebrow { color: var(--led); margin-bottom: 14px; }
.hero__eyebrow::before { display: none; }
.hero__title { font: 400 clamp(2.7rem, 7.6vw, 7rem)/.96 var(--f-display); letter-spacing: -.02em; text-shadow: 0 2px 40px rgba(10, 28, 22, .55); }
.hero__title .ln { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.04em; }
.hero__title .ln > span { display: block; }
.hero__title em { color: var(--led); text-shadow: 0 0 38px rgba(255, 220, 130, .5); }
.hero__row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 40px; margin-top: clamp(16px, 2.4vw, 28px); }
.hero__lead { max-width: 48ch; font-size: clamp(1.02rem, 1.3vw, 1.2rem); line-height: 1.5; color: rgba(251, 246, 233, .92); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

.marquee { position: relative; overflow: hidden; padding: 16px 0; }
.marquee::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: #FFF7DC; box-shadow: var(--glow); transform-origin: 0 50%; animation: grow 1.8s var(--ease) .9s both; }
.marquee__track { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 34s linear infinite; }
.marquee span { font: 400 clamp(1.15rem, 2vw, 1.6rem) var(--f-display); white-space: nowrap; }
.marquee i { width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 68% 30%, var(--tapete) 0 22%, var(--led) 24%); flex: none; }

/* ---------- 6. ESENCIA ---------- */
.esencia__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); margin-top: clamp(40px, 6vw, 80px); align-items: start; }
.esencia__text { display: grid; gap: 20px; justify-items: start; max-width: 46ch; position: sticky; top: 110px; }
.esencia__text p:not(.lead) { color: var(--tinta-suave); }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 26px); }
.trio__item:nth-child(2) { margin-top: 64px; }
.trio__item:nth-child(3) { margin-top: 128px; }
.trio figure { aspect-ratio: 9 / 14; overflow: hidden; border-radius: 999px 999px 14px 14px; background: var(--salvia-clara); }
.trio img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.trio__item:hover img { transform: scale(1.06); }
.trio h3 { font: 400 1.5rem/1.1 var(--f-display); margin: 18px 0 8px; display: flex; align-items: center; gap: 10px; }
.trio h3::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--tapete-vivo); }
.trio p { font-size: .94rem; color: var(--tinta-suave); line-height: 1.5; }

/* ---------- 7. GASTRONOMÍA ---------- */
.gastro { background: var(--tapete); color: var(--crema); overflow: hidden; }
.gastro .eyebrow { color: var(--led); } .gastro .h-xl em { color: var(--led); }
.gastro__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; }
.gastro__note { max-width: 36ch; font-size: .88rem; color: rgba(251, 246, 233, .72); padding-left: 16px; border-left: 2px dotted var(--led); }
.gastro__rail {
  display: flex; gap: clamp(16px, 2.4vw, 34px); margin-top: clamp(36px, 5vw, 64px);
  padding: 8px max(var(--gutter), calc((100vw - 1240px) / 2)) 72px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
}
.gastro__rail::-webkit-scrollbar { display: none; }
.dish { flex: none; width: clamp(250px, 29vw, 380px); scroll-snap-align: center; }
.dish:nth-child(even) { margin-top: 56px; }
.dish figure { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: #0c241d; }
.dish:nth-child(odd) figure { border-radius: 999px 999px var(--radius) var(--radius); }
.dish img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter .6s; filter: saturate(.92); }
.dish:hover img { transform: scale(1.07); filter: saturate(1.05); }
.dish__ref { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); white-space: nowrap; font-size: .64rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: rgba(18, 51, 42, .78); color: var(--led); }
.dish__meta { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; margin-top: 18px; align-items: baseline; }
.dish__n { grid-column: 1 / -1; font-size: .72rem; font-weight: 600; letter-spacing: .18em; color: var(--led); }
.dish h3 { font: 400 1.55rem/1.1 var(--f-display); }
.dish__price { font: 400 1.25rem var(--f-display); color: var(--led); font-variant-numeric: tabular-nums; white-space: nowrap; }
.dish p { grid-column: 1 / -1; font-size: .93rem; color: rgba(251, 246, 233, .76); line-height: 1.5; }
.gastro .ph { border-color: var(--led); }
.gastro__ctrl { display: flex; align-items: center; gap: 24px; margin-top: -24px; }
.rail-progress { flex: 1; height: 2px; background: rgba(255, 233, 168, .18); border-radius: 2px; }
.rail-progress i { display: block; height: 100%; width: 20%; background: #FFF7DC; box-shadow: var(--glow); border-radius: 2px; transition: width .2s linear; }
.rail-btns { display: flex; gap: 10px; }
.gastro .round:hover { background: var(--led); color: var(--tapete); }

/* ---------- 8. CARTA ---------- */
.carta { background: var(--crema); }
.carta::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, transparent 0 47px, rgba(185, 138, 90, .09) 47px 48px); mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent); }
.carta__in { position: relative; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.carta__side { position: sticky; top: 100px; display: grid; gap: 14px; }
.carta__side > p:not(.eyebrow) { color: var(--tinta-suave); max-width: 30ch; }
.carta__tabs { display: grid; margin-top: 18px; border-top: 1px solid rgba(30, 36, 28, .14); }
.tab {
  display: grid; grid-template-columns: 34px 1fr auto; align-items: baseline; gap: 6px; text-align: left;
  padding: 16px 0; border-bottom: 1px solid rgba(30, 36, 28, .14); color: var(--tinta-suave);
  transition: color .3s, padding .4s var(--ease);
}
.tab small { font-size: .7rem; font-weight: 600; letter-spacing: .14em; }
.tab b { font: 400 clamp(1.3rem, 2vw, 1.75rem)/1.1 var(--f-display); }
.tab span { font-size: .8rem; opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .4s var(--ease); }
.tab:hover { color: var(--tinta); padding-left: 6px; }
.tab[aria-selected="true"] { color: var(--tapete-vivo); padding-left: 12px; }
.tab[aria-selected="true"] span { opacity: 1; transform: none; }
.carta__panel { min-height: 420px; }
.carta__panel h3 { font: 400 clamp(1.7rem, 3vw, 2.4rem)/1.1 var(--f-display); display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 2px solid var(--tinta); }
.carta__panel h3 small { font: 500 .78rem var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--cobre); }
.item { padding: 20px 0; border-bottom: 1px solid rgba(30, 36, 28, .12); animation: itemIn .55s var(--ease) both; animation-delay: calc(var(--i) * 55ms); }
.item__top { display: flex; align-items: baseline; gap: 10px; }
.item__name { font-weight: 600; font-size: 1.08rem; }
.item__dots { flex: 1; min-width: 20px; border-bottom: 2px dotted rgba(30, 36, 28, .28); transform: translateY(-4px); }
.item__price { font: 400 1.2rem var(--f-display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.item__desc { color: var(--tinta-suave); font-size: .94rem; margin-top: 4px; max-width: 52ch; }
.tag { font-size: .66rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: var(--salvia-clara); color: var(--tapete); white-space: nowrap; }
.carta__foot { margin-top: 22px; font-size: .86rem; color: var(--tinta-suave); }

/* ---------- 9. EL ESPACIO ---------- */
.espacio { background: var(--tapete); color: var(--crema); }
.espacio::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 50% at 78% 45%, rgba(255, 233, 168, .1), transparent 70%); }
.espacio .eyebrow, .espacio .h-xl em { color: var(--led); }
.espacio__in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 7vw, 110px); align-items: center; }
.espacio__copy > p:not(.eyebrow) { max-width: 44ch; margin-top: 20px; color: rgba(251, 246, 233, .8); }
.caps { margin-top: 34px; display: grid; }
.cap {
  width: 100%; display: grid; grid-template-columns: 54px 1fr; gap: 2px 8px; text-align: left; padding: 14px 0 14px 18px;
  border-left: 2px solid rgba(255, 233, 168, .16); color: rgba(251, 246, 233, .62);
  transition: color .3s, border-color .3s, box-shadow .3s, padding .4s var(--ease);
}
.cap time { font-size: .76rem; font-weight: 600; letter-spacing: .1em; font-variant-numeric: tabular-nums; padding-top: 5px; }
.cap b { font: 400 1.3rem/1.2 var(--f-display); }
.cap span { grid-column: 2; font-size: .88rem; display: none; }
.cap:hover { color: var(--crema); padding-left: 24px; }
.cap.is-on { color: var(--crema); border-left-color: #FFF7DC; background: linear-gradient(90deg, rgba(255, 233, 168, .1), transparent 60%); }
.cap.is-on time { color: var(--led); }
.cap.is-on span { display: block; color: rgba(251, 246, 233, .78); }
.phone { position: relative; width: min(350px, 78vw); aspect-ratio: 9 / 16; border-radius: 30px; overflow: hidden; background: #0a1f19; box-shadow: 0 0 0 3px #FFF7DC, var(--glow), 0 50px 90px -40px #000; }
.phone video { width: 100%; height: 100%; object-fit: cover; }
.phone__play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(10, 31, 25, .28); transition: background .4s, opacity .4s; }
.phone__play svg { width: 78px; height: 78px; padding: 22px; border-radius: 50%; background: var(--led); fill: var(--tapete); transition: transform .4s var(--ease), box-shadow .4s; }
.phone__play:hover svg { transform: scale(1.08); box-shadow: var(--glow); }
.phone__play .i-pause { display: none; }
.phone.is-playing .phone__play { background: transparent; opacity: 0; }
.phone.is-playing .phone__play:hover, .phone.is-playing .phone__play:focus-visible { opacity: 1; background: rgba(10, 31, 25, .28); }
.phone.is-playing .i-play { display: none; } .phone.is-playing .i-pause { display: block; }
.phone__bar { position: absolute; left: 18px; right: 18px; bottom: 16px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .28); pointer-events: none; }
.phone__bar i { display: block; height: 100%; width: 0; border-radius: 3px; background: #FFF7DC; box-shadow: var(--glow); }
.phone__label { position: absolute; left: 18px; bottom: 30px; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-shadow: 0 1px 8px rgba(0, 0, 0, .7); pointer-events: none; }

/* ---------- 10. GALERÍA ---------- */
.galeria__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 52px); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.masonry { columns: 3; column-gap: clamp(10px, 1.6vw, 22px); }
.shot { position: relative; display: block; width: 100%; margin-bottom: clamp(10px, 1.6vw, 22px); break-inside: avoid; border-radius: 14px; overflow: hidden; background: var(--salvia-clara); transition: opacity .5s, transform .6s var(--ease); }
.shot img { width: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.shot--alta img, .shot--arco img { aspect-ratio: 3 / 4; } .shot--ancha img { aspect-ratio: 4 / 3; }
.shot--arco { border-radius: 999px 999px 14px 14px; }
.shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(18, 51, 42, .82)); opacity: 0; transition: opacity .5s; }
.shot span { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; color: var(--crema); font-size: .85rem; font-weight: 500; text-align: left; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .5s var(--ease); }
.shot:hover img, .shot:focus-visible img { transform: scale(1.06); }
.shot:hover::after, .shot:hover span, .shot:focus-visible::after, .shot:focus-visible span { opacity: 1; transform: none; }
.shot.is-out { display: none; }

.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(12, 30, 24, .95); color: var(--crema); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 20px; animation: fade .3s both; }
.lightbox[hidden] { display: none; }
.lightbox figure { display: grid; justify-items: center; gap: 14px; min-width: 0; }
.lightbox img { max-height: 80svh; max-width: 100%; border-radius: 14px; box-shadow: 0 0 0 2px #FFF7DC, var(--glow); animation: pop .45s var(--ease) both; }
.lightbox figcaption { font-size: .9rem; text-align: center; }
.lightbox .round:hover { background: var(--led); color: var(--tapete); }
.lightbox__close { position: absolute; top: 18px; right: 18px; }

/* ---------- 11. RESERVAS ---------- */
.reservas { background: var(--salvia); color: var(--crema); overflow: hidden; isolation: isolate; }
.reservas__led { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .9; }
.reservas__copy .eyebrow, .reservas__copy .h-xl em { color: var(--led); }
.reservas__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.reservas__copy > p:not(.eyebrow) { margin-top: 20px; max-width: 42ch; color: rgba(251, 246, 233, .92); }
.reservas__tips { margin-top: 26px; display: grid; gap: 12px; font-size: .95rem; }
.reservas__tips li { display: flex; gap: 12px; align-items: baseline; }
.reservas__tips .dotball { background: radial-gradient(circle at 68% 30%, var(--salvia) 0 22%, var(--led) 24%); transform: translateY(1px); }

.form, .ticket { background: var(--crema); color: var(--tinta); border-radius: 26px; padding: clamp(22px, 3.4vw, 40px); box-shadow: 0 40px 80px -40px rgba(10, 28, 22, .7); }
.form { display: grid; gap: 18px; }
.form[hidden] { display: none; }
.form__row { display: grid; gap: 16px; }
.form__row--3 { grid-template-columns: 1.25fr 1fr 1fr; }
.form__row--2 { grid-template-columns: 1fr 1fr; }
.field { display: grid; gap: 7px; min-width: 0; align-content: start; }
.field label { font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--tinta-suave); }
.field .opt { letter-spacing: .04em; text-transform: none; font-weight: 400; opacity: .8; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid rgba(30, 36, 28, .2); background: #fff;
  font-size: 1rem; transition: border-color .25s, box-shadow .25s; appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E241C' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 38px; }
.field textarea { resize: vertical; min-height: 76px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--tapete-vivo); box-shadow: 0 0 0 4px rgba(255, 233, 168, .9); }
.field.is-bad input, .field.is-bad select { border-color: #B3261E; }
.err { font-size: .82rem; color: #B3261E; min-height: 0; }
.err:empty { display: none; }
.stepper { display: grid; grid-template-columns: 48px 1fr 48px; border: 1.5px solid rgba(30, 36, 28, .2); border-radius: 12px; background: #fff; overflow: hidden; }
.stepper button { font-size: 1.3rem; min-height: 49px; transition: background .2s; }
.stepper button:hover { background: var(--arena); }
.stepper button:active { background: var(--led); }
.stepper input { border: 0; border-radius: 0; min-height: 49px; text-align: center; padding: 0; font-weight: 600; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper:focus-within { border-color: var(--tapete-vivo); box-shadow: 0 0 0 4px rgba(255, 233, 168, .9); }
.stepper input:focus { box-shadow: none; }
.form__legal { font-size: .8rem; color: var(--tinta-suave); text-align: center; }

.ticket { display: grid; gap: 16px; animation: pop .5s var(--ease) both; position: relative; }
.ticket[hidden] { display: none; }
.ticket:focus { outline: none; }
.ticket__title { font: 400 clamp(1.9rem, 3.4vw, 2.6rem)/1.05 var(--f-display); }
.ticket__data { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; border-radius: 14px; overflow: hidden; }
.ticket__data div { background: var(--arena); padding: 14px 16px; }
.ticket__data div.wide { grid-column: 1 / -1; }
.ticket__data dt { font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--tinta-suave); }
.ticket__data dd { font: 400 1.25rem/1.25 var(--f-display); margin-top: 2px; overflow-wrap: anywhere; }
.ticket__data .wide dd { font: 400 1rem/1.4 var(--f-body); }
.ticket__msg { font-size: .94rem; color: var(--tinta-suave); }
.ticket__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ticket__actions .btn { flex: 1 1 200px; }
.ticket .btn--ghost:hover { background: var(--tinta); color: var(--crema); box-shadow: none; }
.ticket > .link-led { justify-self: start; font-size: .9rem; }

/* ---------- 12. CONTACTO ---------- */
.contacto__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 4vw, 64px); margin-top: clamp(36px, 5vw, 64px); }
.contacto__col h3 { font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--cobre); margin: 28px 0 10px; }
.contacto__col h3:first-child { margin-top: 0; }
.contacto__col p { font: 400 clamp(1.2rem, 1.8vw, 1.5rem)/1.3 var(--f-display); overflow-wrap: anywhere; }
.contacto__col p a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .4s var(--ease); }
.contacto__col p a:hover { background-size: 100% 1.5px; }
.contacto__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.contacto__btns:empty { display: none; }
.contacto__btns .btn { min-height: 44px; padding: 0 20px; font-size: .88rem; }
.contacto .btn--ghost:hover { background: var(--tinta); color: var(--crema); box-shadow: none; }
.redes { display: flex; flex-wrap: wrap; gap: 8px 18px; font-weight: 500; }
.horario { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.horario td { padding: 11px 0; border-bottom: 1px solid rgba(30, 36, 28, .14); }
.horario td:last-child { text-align: right; }
.horario tr.is-hoy td { font-weight: 600; color: var(--tapete-vivo); }
.horario tr.is-hoy td:first-child::after { content: "hoy"; margin-left: 10px; font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: var(--tapete-vivo); color: var(--led); vertical-align: 2px; }
.contacto__map { position: relative; min-height: 320px; border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; background: var(--salvia-clara); }
.contacto__map img, .contacto__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.contacto__map figcaption { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); white-space: nowrap; font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; background: rgba(18, 51, 42, .78); color: var(--crema); }

/* ---------- 13. PIE Y ELEMENTOS FIJOS ---------- */
.foot { position: relative; background: var(--tapete); color: var(--crema); padding: clamp(48px, 7vw, 88px) 0 clamp(96px, 9vw, 72px); --lg-ball: var(--led); --lg-dot: var(--tapete-vivo); --lg-line: var(--led); }
.foot__in { display: grid; justify-items: center; gap: 28px; text-align: center; }
.logo--full { width: min(340px, 74vw); aspect-ratio: 466 / 121; }
.foot__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; }
.foot__nav a { text-decoration: none; font-size: .92rem; opacity: .85; transition: opacity .3s, color .3s; }
.foot__nav a:hover { opacity: 1; color: var(--led); }
.foot__legal { font-size: .8rem; color: rgba(251, 246, 233, .6); max-width: 60ch; }

.dock { display: none; }
.demo {
  position: fixed; left: 16px; bottom: 16px; z-index: 80; display: flex; align-items: center; gap: 14px;
  max-width: min(440px, calc(100% - 32px)); padding: 10px 10px 10px 16px; border-radius: 14px;
  background: var(--crema); color: var(--tinta); font-size: .82rem; line-height: 1.35; box-shadow: 0 14px 40px -14px rgba(10, 28, 22, .55), 0 0 0 1px rgba(30, 36, 28, .1);
}
.demo[hidden] { display: none; }
.demo code { font-size: .92em; background: var(--arena); padding: 1px 5px; border-radius: 4px; }
.demo button { flex: none; font-weight: 600; padding: 8px 12px; border-radius: 9px; background: var(--tinta); color: var(--crema); }

/* ---------- 14. MOVIMIENTO ---------- */
@keyframes kenburns { from { transform: scale(1.14) translateY(-1.5%); } to { transform: scale(1); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(calc(-50% - 17px)); } }
@keyframes rise { from { transform: translateY(108%); } to { transform: none; } }
@keyframes soft { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes archIn { from { clip-path: inset(100% 0 0 0 round 999px 999px 18px 18px); } to { clip-path: inset(0 0 0 0 round 999px 999px 18px 18px); } }
@keyframes itemIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }

/* Secuencia de entrada de la portada: suben las ventanas, sube el titular, se enciende la línea */
@keyframes paneIn { from { clip-path: inset(100% 0 0 0 round 999px 999px 0 0); } to { clip-path: inset(0 0 0 0 round 999px 999px 0 0); } }
@keyframes grow { from { transform: scaleX(0); } to { transform: none; } }
@media (min-width: 821px) { .pane { animation: paneIn 1.25s var(--ease) both; animation-delay: calc(var(--n) * 110ms); } }
.hero__title .ln > span { animation: rise 1.1s var(--ease) both; }
.hero__title .ln:nth-child(1) > span { animation-delay: .55s; }
.hero__title .ln:nth-child(2) > span { animation-delay: .7s; }
.hero__eyebrow, .hero__row { animation: soft .9s var(--ease) both; }
.hero__eyebrow { animation-delay: .45s; } .hero__row { animation-delay: 1s; }

/* Aparición al hacer scroll (solo la activa el JS en lo que queda bajo el pliegue) */
.rv { transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.rv.is-pre { opacity: .12; transform: translateY(30px); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1020px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .esencia__grid, .carta__in, .reservas__in { grid-template-columns: 1fr; }
  .esencia__text, .carta__side { position: static; }
  .contacto__grid { grid-template-columns: 1fr 1fr; }
  .contacto__map { grid-column: 1 / -1; min-height: 300px; border-radius: var(--radius); }
  .carta__tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; border: 0; margin: 10px calc(-1 * var(--gutter)) 0; padding: 4px var(--gutter); position: sticky; top: 64px; z-index: 5; }
  .carta__tabs::-webkit-scrollbar { display: none; }
  .carta__side { display: contents; }
  .carta__in { gap: 14px; }
  .tab { display: block; flex: none; min-height: 44px; padding: 0 18px !important; border: 0; border-radius: 999px; background: var(--crema); box-shadow: inset 0 0 0 1.5px rgba(30, 36, 28, .22); color: var(--tinta); }
  .tab small, .tab span { display: none; }
  .tab b { font: 600 .92rem var(--f-body); }
  .tab[aria-selected="true"] { background: var(--tapete); color: var(--led); box-shadow: none; }
  .carta__tabs { background: linear-gradient(var(--crema) 70%, transparent); }
  .carta__panel { margin-top: 10px; min-height: 0; }
}
@media (max-width: 820px) {
/* Portada en móvil: las cinco zonas pasan de una en una a pantalla completa, como historias */
  .hero { min-height: clamp(600px, 100svh, 900px); }
  .hero__reel { display: block; padding: 0; }
  .pane { position: absolute; inset: 0; margin: 0; border-radius: 0; opacity: 0; pointer-events: none; transition: opacity 1.1s ease; }
  .pane.is-on { opacity: 1; }
  .pane video { filter: brightness(.9) saturate(1.06); }
  .hero__shade { background: linear-gradient(180deg, rgba(18, 51, 42, .78) 0, rgba(18, 51, 42, 0) 22%, rgba(18, 51, 42, 0) 38%, rgba(18, 51, 42, .84) 68%, var(--tapete) 97%); }
  .hero__ticks { position: absolute; left: var(--gutter); right: var(--gutter); top: 80px; z-index: 2; display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; }
  .hero__ticks i { height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .3); overflow: hidden; }
  .hero__ticks i::after { content: ""; display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: #FFF7DC; box-shadow: var(--glow); }
  .hero__ticks i.is-done { --p: 1; }
  .hero__in { padding-bottom: 26px; }
  .espacio__in { grid-template-columns: 1fr; justify-items: center; }
  .espacio__copy { width: 100%; }
  .espacio__player { order: -1; }
  .espacio__copy .eyebrow, .espacio__copy .h-xl { display: none; } /* en móvil el vídeo abre la sección */
  .trio { grid-template-columns: 1fr; gap: 18px; }
  .trio__item { display: grid; grid-template-columns: 104px 1fr; gap: 18px; align-items: center; margin-top: 0 !important; }
  .trio h3 { margin-top: 0; }
  .masonry { columns: 2; }
  .dish:nth-child(even) { margin-top: 28px; }

  /* Barra fija: carta y reserva siempre a un toque */
  .dock {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 70;
    display: grid; grid-template-columns: 1fr 1.25fr; gap: 6px; padding: 6px; border-radius: 999px;
    background: rgba(18, 51, 42, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 233, 168, .25);
    transform: translateY(140%); transition: transform .6s var(--ease);
  }
  .dock.is-on { transform: none; }
  .dock a { display: grid; place-items: center; min-height: 46px; border-radius: 999px; color: var(--crema); text-decoration: none; font-weight: 600; font-size: .92rem; }
  .dock a:active { transform: scale(.97); }
  .dock__main { background: var(--led); color: var(--tapete) !important; }
  .demo { left: 12px; right: 12px; bottom: calc(82px + env(safe-area-inset-bottom, 0px)); max-width: none; }
  .foot { padding-bottom: 110px; }
}
@media (max-width: 560px) {
  .form__row--3 { grid-template-columns: 1fr 1fr; }
  .form__row--3 .field:first-child { grid-column: 1 / -1; }
  .form__row--2 { grid-template-columns: 1fr; }
  .contacto__grid { grid-template-columns: 1fr; }
  .ticket__data { grid-template-columns: 1fr 1fr; }
  .ticket__data div:first-child { grid-column: 1 / -1; }
  .hero__cta .btn { flex: 1 1 100%; }
  .lightbox { grid-template-columns: 1fr; padding: 64px 14px 84px; }
  .lightbox__nav { position: absolute; bottom: 20px; }
  .lightbox__nav--prev { left: calc(50% - 58px); } .lightbox__nav--next { right: calc(50% - 58px); }
  .gastro__head { align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .rv.is-pre { opacity: 1; transform: none; }
  .mmenu { clip-path: none; }
}

/* ==========================================================================
   15. PULIDO v2 · cristal, idiomas y fotos que se despliegan de lado
   Todo lo nuevo vive aquí, encima de la base: si se borra este bloque,
   la web vuelve a ser la de antes.
   ========================================================================== */
:root {
  --glass-claro: rgba(251, 246, 233, .58);
  --glass-oscuro: rgba(18, 51, 42, .38);
  --glass-borde: rgba(255, 255, 255, .5);
  --glass-borde-osc: rgba(255, 247, 220, .22);
  --glass-blur: blur(18px) saturate(1.6);
  --brillo: inset 0 1px 0 rgba(255, 255, 255, .45);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}
::selection { background: var(--led); color: var(--tapete); }
html { scrollbar-color: var(--salvia) transparent; scrollbar-width: thin; }

/* ---- Cristal reutilizable ---- */
.glass {
  background: var(--glass-claro);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-borde);
  box-shadow: var(--brillo), 0 40px 80px -40px rgba(10, 28, 22, .65);
}
.glass-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  display: grid; place-items: center; min-width: 42px; height: 30px; padding: 0 10px; border-radius: 999px;
  font-size: .72rem; font-weight: 600; letter-spacing: .14em; color: var(--crema);
  background: var(--glass-oscuro); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-borde-osc); box-shadow: var(--brillo);
}
.trio figure { position: relative; }
.trio figure .glass-badge { top: auto; bottom: 14px; left: 50%; transform: translateX(-50%); }
.btn--glass {
  color: var(--crema); background: rgba(255, 247, 220, .12);
  -webkit-backdrop-filter: blur(12px) saturate(1.5); backdrop-filter: blur(12px) saturate(1.5);
  box-shadow: inset 0 0 0 1px rgba(255, 247, 220, .45), var(--brillo);
}
.btn--glass:hover { background: rgba(255, 247, 220, .26); transform: translateY(-2px); box-shadow: inset 0 0 0 1px #FFF7DC, var(--glow); }
.btn--glass:hover svg { transform: translateX(4px); }

/* Manchas de luz difusa: dan algo que «ver» a través del cristal */
.orb { position: absolute; z-index: 0; pointer-events: none; border-radius: 50%; filter: blur(70px); opacity: .55; }
.orb--a { width: 46vw; height: 46vw; max-width: 620px; max-height: 620px; right: -12vw; top: 18%; background: radial-gradient(circle, var(--salvia-clara), transparent 68%); }
.orb--b { width: 40vw; height: 40vw; max-width: 560px; max-height: 560px; left: -14vw; top: 10%; background: radial-gradient(circle, rgba(164, 89, 59, .45), transparent 68%); }
.esencia, .galeria { overflow: hidden; }
.esencia > .wrap, .galeria > .wrap { position: relative; z-index: 1; }

/* ---- Cabecera: cristal flotante ---- */
.nav { gap: clamp(14px, 2vw, 28px); }
.nav.is-solid {
  inset: 10px clamp(10px, 2vw, 22px) auto; height: 60px; border-radius: 999px; padding-inline: clamp(16px, 2vw, 26px);
  background: var(--glass-claro); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-borde); box-shadow: var(--brillo), 0 18px 40px -22px rgba(10, 28, 22, .5);
}
.nav.is-hidden { transform: translateY(calc(-100% - 20px)); }

/* Selector de idioma */
.lang { position: relative; }
.lang__btn {
  display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px 0 11px; border-radius: 999px;
  font-size: .8rem; font-weight: 600; letter-spacing: .1em;
  background: rgba(255, 247, 220, .1); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px rgba(255, 247, 220, .35); transition: background .3s, box-shadow .3s;
}
.lang__btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.lang__btn:hover, .lang__btn[aria-expanded="true"] { background: rgba(255, 247, 220, .22); }
.nav.is-solid .lang__btn { background: rgba(255, 255, 255, .35); box-shadow: inset 0 0 0 1px rgba(30, 36, 28, .16); }
.lang__menu {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 176px; padding: 6px; border-radius: 18px; z-index: 5;
  background: rgba(251, 246, 233, .72); color: var(--tinta); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-borde); box-shadow: var(--brillo), 0 24px 50px -20px rgba(10, 28, 22, .55);
  transform-origin: 85% 0; animation: menuIn .35s var(--ease-out) both;
}
.lang__menu[hidden] { display: none; }
.lang__menu button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 12px; border-radius: 12px; font-size: .92rem; text-align: left; transition: background .2s; }
.lang__menu button small { font-size: .7rem; font-weight: 600; letter-spacing: .12em; color: var(--tinta-suave); }
.lang__menu button:hover { background: rgba(255, 255, 255, .6); }
.lang__menu button[aria-checked="true"] { background: var(--tapete); color: var(--led); }
.lang__menu button[aria-checked="true"] small { color: var(--led); }
@keyframes menuIn { from { opacity: 0; transform: translateY(-6px) scale(.96); } to { opacity: 1; transform: none; } }
.mmenu__langs { display: flex; flex-wrap: wrap; gap: 8px; }
.mmenu__langs button { min-height: 40px; padding: 0 16px; border-radius: 999px; font-size: .85rem; font-weight: 600; letter-spacing: .1em; box-shadow: inset 0 0 0 1px rgba(255, 233, 168, .35); background: rgba(255, 247, 220, .06); }
.mmenu__langs button[aria-pressed="true"] { background: var(--led); color: var(--tapete); box-shadow: none; }
.mmenu { background: rgba(18, 51, 42, .9); -webkit-backdrop-filter: blur(22px) saturate(1.3); backdrop-filter: blur(22px) saturate(1.3); }
/* Al cambiar de idioma, el texto hace un fundido corto (no un salto) */
body.is-lang [data-i18n], body.is-lang [data-i18n-html], body.is-lang .carta__panel, body.is-lang .dish__meta { animation: langIn .5s var(--ease) both; }
@keyframes langIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---- Portada: etiquetas de cristal y zona actual ---- */
.pane__label { background: var(--glass-oscuro); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); border: 1px solid var(--glass-borde-osc); box-shadow: var(--brillo); }
.pane__label b { font-weight: 600; }
.hero__now { display: none; }

/* ---- Despliegue lateral: la foto se abre de lado como una persiana ---- */
.wipe { transition: clip-path 1.25s var(--ease-out); transition-delay: var(--d, 0s); }
.wipe.is-pre, .wipe.is-run { clip-path: var(--wipe); }
.wipe.is-run { --wipe: inset(0 0 0 0); }
.wipe > img, .wipe > video, .wipe figure img { transition: transform 1.6s var(--ease-out), filter .6s; transition-delay: var(--d, 0s); }
.wipe.is-pre { --wipe: inset(0 100% 0 0); }
.wipe--r.is-pre { --wipe: inset(0 0 0 100%); }
.wipe.is-pre > img, .wipe.is-pre > video, .wipe.is-pre figure img { transform: scale(1.28) translateX(-7%); }
.wipe--r.is-pre > img, .wipe--r.is-pre > video, .wipe--r.is-pre figure img { transform: scale(1.28) translateX(7%); }
.wipe.is-pre .glass-badge { opacity: 0; }
.glass-badge { transition: opacity .6s .9s; }

/* ---- Gastronomía: tarjetas que entran de lado y fotos con paralaje ---- */
.gastro__rail { cursor: grab; }
.gastro__rail.is-drag { cursor: grabbing; scroll-snap-type: none; }
.gastro__rail.is-drag .dish { pointer-events: none; }
.dish figure img { scale: 1.14; translate: var(--px, 0px) 0; }
.dish__ref { background: var(--glass-oscuro); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); border: 1px solid var(--glass-borde-osc); }
.dish figure .glass-badge { top: 14px; left: 14px; transform: none; }
.dish:nth-child(odd) figure .glass-badge { left: 50%; transform: translateX(-50%); top: 22px; }

/* ---- Carta: pestañas de cristal en móvil y panel con cambio lateral ---- */
.carta__panel.is-out-l > * { animation: panelOutL .28s ease both; }
.carta__panel.is-in > * { animation: panelIn .6s var(--ease-out) both; }
.carta__panel.is-in > .item { animation-delay: calc(var(--i) * 45ms + 60ms); }
@keyframes panelOutL { to { opacity: 0; transform: translateX(-24px); } }
@keyframes panelIn { from { opacity: 0; transform: translateX(var(--dx, 34px)); } to { opacity: 1; transform: none; } }
.item { animation: none; }

/* ---- El espacio: capítulo activo en cristal, etiqueta del vídeo en cristal ---- */
.cap.is-on { background: rgba(255, 247, 220, .07); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-radius: 0 14px 14px 0; box-shadow: var(--brillo); }
.phone__label {
  left: 50%; bottom: 34px; transform: translateX(-50%); white-space: nowrap; padding: 8px 14px; border-radius: 999px; text-shadow: none;
  background: var(--glass-oscuro); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); border: 1px solid var(--glass-borde-osc);
  transition: opacity .3s;
}
.phone__label.is-swap { animation: labelSwap .55s var(--ease-out) both; }
@keyframes labelSwap { from { opacity: 0; transform: translate(-30%, 0); } to { opacity: 1; transform: translate(-50%, 0); } }
.phone__play { -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.phone.is-playing .phone__play { -webkit-backdrop-filter: none; backdrop-filter: none; }

/* ---- Galería: acordeón que se despliega en horizontal ---- */
.masonry { display: none; }
.acc { display: flex; gap: clamp(6px, .8vw, 12px); height: clamp(440px, 66vh, 660px); }
.acc__item {
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: 22px; background: var(--salvia-clara); text-align: left;
  transition: flex-grow .9s var(--ease-out), border-radius .9s var(--ease-out), opacity .5s;
}
.acc__item.is-on { flex-grow: 7; cursor: zoom-in; }
.acc__item:nth-child(3n+1).is-on { border-radius: 999px 999px 22px 22px / 260px 260px 22px 22px; }
.acc__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.75) brightness(.78); transform: scale(1.18); transition: transform 1.4s var(--ease-out), filter .9s; }
.acc__item.is-on img { filter: none; transform: scale(1.02); animation: drift 9s linear both; }
@keyframes drift { from { transform: scale(1.1) translateX(1.5%); } to { transform: scale(1.02) translateX(-1.5%); } }
.acc__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 51, 42, .1), rgba(18, 51, 42, .55)); transition: opacity .9s; }
.acc__item.is-on::after { opacity: .55; }
.acc__num {
  position: absolute; left: 50%; bottom: 18px; z-index: 2; transform: translateX(-50%);
  font-size: .7rem; font-weight: 600; letter-spacing: .16em; color: var(--crema); writing-mode: vertical-rl; rotate: 180deg;
  transition: opacity .5s;
}
.acc__num b { color: var(--led); font-weight: 600; margin-bottom: 10px; }
.acc__item.is-on .acc__num { opacity: 0; }
.acc__cap {
  position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2; display: flex; align-items: center; gap: 14px;
  padding: 12px 12px 12px 18px; border-radius: 18px; color: var(--crema);
  background: var(--glass-oscuro); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-borde-osc); box-shadow: var(--brillo);
  opacity: 0; transform: translateX(-26px); transition: opacity .4s, transform .7s var(--ease-out); pointer-events: none;
}
.acc__item.is-on .acc__cap { opacity: 1; transform: none; transition-delay: .35s; }
.acc__cap small { font-size: .7rem; font-weight: 600; letter-spacing: .16em; color: var(--led); flex: none; }
.acc__cap span { flex: 1; font-size: .95rem; font-weight: 500; line-height: 1.35; }
.acc__cap i { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 247, 220, .16); }
.acc__cap i svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.acc__bar { position: absolute; left: 0; right: 0; top: 0; z-index: 3; height: 3px; transform-origin: 0 50%; transform: scaleX(0); background: #FFF7DC; box-shadow: var(--glow); opacity: 0; }
.acc__item.is-on .acc__bar { opacity: 1; }
.acc.is-auto .acc__item.is-on .acc__bar { animation: grow var(--auto, 5s) linear both; }
.acc__item.is-out { display: none; }
.acc__item:focus-visible { outline-offset: -4px; outline-color: var(--led); }
.acc__ctrl { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); margin-top: 22px; }
.acc__count { display: flex; align-items: baseline; gap: 6px; font: 400 1.5rem var(--f-display); font-variant-numeric: tabular-nums; }
.acc__count span { font-size: .9rem; color: var(--tinta-suave); }
.acc__line { flex: 1; height: 2px; border-radius: 2px; background: rgba(30, 36, 28, .14); overflow: hidden; }
.acc__line i { display: block; height: 100%; width: 10%; background: var(--tapete-vivo); border-radius: 2px; transition: transform .8s var(--ease-out), width .8s var(--ease-out); }
.acc__hint { font-size: .8rem; color: var(--tinta-suave); }

/* ---- Visor: la foto entra por el lado hacia el que avanzas; fondo de cristal ---- */
.lightbox { background: rgba(12, 30, 24, .62); -webkit-backdrop-filter: blur(22px) saturate(1.2); backdrop-filter: blur(22px) saturate(1.2); }
.lightbox__frame { overflow: hidden; border-radius: 16px; box-shadow: 0 0 0 2px #FFF7DC, var(--glow); }
.lightbox img { box-shadow: none; border-radius: 0; animation: none; display: block; }
.lightbox img.go-next { animation: lbNext .7s var(--ease-out) both; }
.lightbox img.go-prev { animation: lbPrev .7s var(--ease-out) both; }
.lightbox img.go-open { animation: lbOpen .6s var(--ease-out) both; }
@keyframes lbNext { from { clip-path: inset(0 0 0 100%); transform: translateX(8%) scale(1.06); } to { clip-path: inset(0); transform: none; } }
@keyframes lbPrev { from { clip-path: inset(0 100% 0 0); transform: translateX(-8%) scale(1.06); } to { clip-path: inset(0); transform: none; } }
@keyframes lbOpen { from { clip-path: inset(0 50% 0 50%); transform: scale(1.08); } to { clip-path: inset(0); transform: none; } }
.lightbox figcaption { padding: 8px 16px; border-radius: 999px; background: rgba(255, 247, 220, .1); border: 1px solid var(--glass-borde-osc); }
.lightbox .round { background: rgba(255, 247, 220, .08); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

/* ---- Reservas: formulario y resumen de cristal sobre las líneas de luz ---- */
.reservas__glow { position: absolute; z-index: -1; right: -10%; top: 10%; width: 60%; height: 80%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 233, 168, .32), transparent 65%); filter: blur(30px); pointer-events: none; }
.form.glass, .ticket.glass { background: rgba(251, 246, 233, .74); }
.form.glass .field input, .form.glass .field select, .form.glass .field textarea, .form.glass .stepper { background-color: rgba(255, 255, 255, .62); border-color: rgba(30, 36, 28, .16); }
.form.glass .field input:focus, .form.glass .field select:focus, .form.glass .field textarea:focus { background-color: #fff; }
.ticket__data div { background: rgba(242, 231, 207, .7); }

/* ---- Contacto ---- */
.contacto__map figcaption { background: var(--glass-oscuro); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); border: 1px solid var(--glass-borde-osc); }
.horario tr.is-hoy td:first-child::after { content: attr(data-hoy); }

/* ---- Fijos de cristal ---- */
.demo { background: var(--glass-claro); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); border: 1px solid var(--glass-borde); }

/* ---- Responsive de lo nuevo ---- */
@media (max-width: 1020px) {
  .lang { margin-left: auto; }
  .nav__logo { margin-right: 0; }
  .tab { background: rgba(251, 246, 233, .55); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); }
  .carta__tabs { background: none; }
}
@media (max-width: 820px) {
  /* Portada en móvil: las zonas pasan de lado, la nueva tapa a la anterior como una persiana */
  .pane { opacity: 1; clip-path: inset(0 0 0 100%); transition: clip-path 1.15s var(--ease-out); z-index: 1; }
  .pane video { transition: transform 1.6s var(--ease-out), filter .6s; transform: scale(1.12) translateX(6%); }
  .pane.is-on { clip-path: inset(0); z-index: 3; }
  .pane.is-on video { transform: none; }
  .pane.was-on { clip-path: inset(0); z-index: 2; }
  .pane.was-on video { transform: scale(1.05) translateX(-8%); filter: brightness(.6); }
  .hero__now {
    display: flex; align-items: baseline; gap: 8px; position: absolute; z-index: 3; left: var(--gutter); top: 96px;
    padding: 7px 14px; border-radius: 999px; font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
    background: var(--glass-oscuro); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); border: 1px solid var(--glass-borde-osc);
  }
  .hero__now small { color: var(--led); font-size: 1em; }
  .hero__now.is-swap { animation: nowIn .6s var(--ease-out) both; }
  @keyframes nowIn { from { opacity: 0; transform: translateX(22px); } to { opacity: 1; transform: none; } }
  .dock { background: rgba(18, 51, 42, .55); -webkit-backdrop-filter: blur(20px) saturate(1.5); backdrop-filter: blur(20px) saturate(1.5); box-shadow: var(--brillo), 0 16px 40px -12px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 233, 168, .25); }
  .trio__item figure .glass-badge { display: none; }

  /* Galería en móvil: tira horizontal que se desliza con el dedo */
  .acc { height: auto; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter); scroll-padding-inline: var(--gutter); }
  .acc::-webkit-scrollbar { display: none; }
  .acc__item, .acc__item.is-on { flex: 0 0 78%; height: min(118vw, 520px); scroll-snap-align: start; border-radius: 22px; }
  .acc__item:nth-child(3n+1), .acc__item:nth-child(3n+1).is-on { border-radius: 999px 999px 22px 22px / 200px 200px 22px 22px; }
  .acc__item img { filter: saturate(.85) brightness(.85); transform: scale(1.1); }
  .acc__num { display: none; }
  .acc__cap { opacity: .9; transform: none; }
  .acc__hint { display: none; }
}
@media (max-width: 560px) {
  .lang__btn { padding: 0 11px 0 9px; height: 38px; }
  .logo--word { width: 124px; }
  .acc__ctrl .rail-btns { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .wipe, .wipe.is-pre { clip-path: none; }
  .wipe.is-pre > img, .wipe.is-pre > video, .wipe.is-pre figure img { transform: none; }
  .pane { clip-path: none; opacity: 0; } .pane.is-on { opacity: 1; }
}
/* Mapa: la foto del rincón queda debajo, así nunca se ve vacío mientras carga Google Maps */
.contacto__map { background: var(--salvia-clara) url("../img/local-rincon-cartel.jpg") center / cover no-repeat; }

/* ==========================================================================
   16. v3 · diagonales LED (adiós a los arcos), banner de promociones,
   carta en libro y «Tener suerte»
   ========================================================================== */
:root { --skew: -9deg; --unskew: 9deg; --cut: 30px; }

/* ---- Fuera los arcos: rectángulos con una esquina cortada en diagonal, como las líneas del techo ---- */
.trio figure, .dish figure, .dish:nth-child(odd) figure, .contacto__map {
  border-radius: 6px;
  -webkit-mask: linear-gradient(225deg, transparent var(--cut), #000 calc(var(--cut) + .6px));
          mask: linear-gradient(225deg, transparent var(--cut), #000 calc(var(--cut) + .6px));
}
.dish:nth-child(odd) figure .glass-badge { left: 14px; transform: none; top: 14px; }

/* Portada: las ventanas pasan a ser tiras inclinadas con un filo de luz, igual que las líneas LED del techo */
@media (min-width: 821px) {
  .hero__reel { padding-inline: calc(var(--gutter) + 40px); gap: clamp(14px, 1.6vw, 24px); }
  .pane { border-radius: 4px; transform: skewX(var(--skew)); animation-name: paneTilt; }
  .pane::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-left: 2px solid #FFF7DC; box-shadow: inset 6px 0 18px -10px rgba(255, 220, 130, .9), -6px 0 22px -6px rgba(255, 220, 130, .55); opacity: .9; }
  .pane video { transform: skewX(var(--unskew)) scale(1.4); }
  .hero__reel .pane:hover video, .hero__reel .pane:focus-visible video { transform: skewX(var(--unskew)) scale(1.46); }
  .pane:hover, .pane:focus-visible { transform: skewX(var(--skew)) translateY(-10px); }
  .pane__label { transform: translate(-50%, 10px) skewX(var(--unskew)); }
  .pane:hover .pane__label, .pane:focus-visible .pane__label { transform: translate(-50%, 0) skewX(var(--unskew)); }
}
@keyframes paneTilt { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0); } }

/* Galería: las tiras del acordeón también van inclinadas */
.acc__in { position: absolute; inset: 0; }
.acc__in img { position: absolute; inset: 0; width: 100%; height: 100%; }
.acc__item:nth-child(3n+1).is-on { border-radius: 10px; }
@media (min-width: 821px) {
  .acc { padding-inline: 50px; }
  .acc__item { border-radius: 10px; transform: skewX(-8deg); }
  .acc__item::before { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-left: 2px solid rgba(255, 247, 220, 0); transition: border-color .6s; }
  .acc__item.is-on::before { border-left-color: #FFF7DC; box-shadow: -6px 0 22px -6px rgba(255, 220, 130, .6); }
  .acc__in { inset: 0 -16%; transform: skewX(8deg); }
  .acc__cap { left: calc(16% + 18px); right: calc(16% + 18px); }
}
@media (max-width: 820px) {
  .acc__item:nth-child(3n+1), .acc__item:nth-child(3n+1).is-on { border-radius: 16px; }
  .contacto__map { border-radius: 6px; }
}

/* ---- Banner de promociones ---- */
.promos { position: relative; padding: clamp(40px, 6vw, 80px) 0 0; background: var(--arena); }
.promo { position: relative; }
.promo__track { display: grid; }
.promo__slide {
  grid-area: 1 / 1; position: relative; overflow: hidden; border-radius: 26px; visibility: hidden;
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); min-height: clamp(360px, 38vw, 470px);
  background: var(--tapete); color: var(--crema); box-shadow: 0 40px 80px -46px rgba(10, 28, 22, .8);
}
.promo__slide.tone-cobre { background: linear-gradient(135deg, #8E4A30, var(--cobre)); }
.promo__slide.tone-crema { background: var(--crema); color: var(--tinta); box-shadow: inset 0 0 0 1px rgba(30, 36, 28, .1), 0 40px 80px -46px rgba(10, 28, 22, .5); }
.promo__slide.is-on { visibility: visible; z-index: 2; animation: promoIn 1s var(--ease-out) both; }
.promo__slide.was-on { visibility: visible; z-index: 1; animation: promoOut 1s var(--ease-out) both; }
@keyframes promoIn { from { clip-path: inset(0 0 0 100% round 26px); } to { clip-path: inset(0 0 0 0 round 26px); } }
@keyframes promoOut { to { transform: translateX(-7%); filter: brightness(.6); } }
.promo__slide.is-on .promo__body > * { animation: promoTxt .9s var(--ease-out) both; }
.promo__slide.is-on .promo__body > :nth-child(2) { animation-delay: .08s; } .promo__slide.is-on .promo__body > :nth-child(3) { animation-delay: .16s; } .promo__slide.is-on .promo__body > :nth-child(4) { animation-delay: .24s; }
@keyframes promoTxt { from { opacity: 0; transform: translateX(46px); } to { opacity: 1; transform: none; } }
.promo__slide::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 80% at 10% 100%, rgba(255, 233, 168, .14), transparent 70%); }
.promo__body { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 16px; padding: clamp(28px, 4.4vw, 60px); }
.promo__tag {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  background: rgba(255, 247, 220, .12); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); box-shadow: inset 0 0 0 1px rgba(255, 247, 220, .3), var(--brillo);
}
.tone-crema .promo__tag { background: rgba(255, 255, 255, .5); box-shadow: inset 0 0 0 1px rgba(30, 36, 28, .14); color: var(--cobre); }
.promo__title { font: 400 clamp(2rem, 4.2vw, 3.6rem)/1 var(--f-display); letter-spacing: -.015em; text-wrap: balance; }
.promo__body > p:not(.promo__tag) { max-width: 42ch; font-size: clamp(.98rem, 1.2vw, 1.1rem); line-height: 1.5; opacity: .9; }
.promo__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 6px; }
.promo__price { font: 400 clamp(2rem, 3.4vw, 2.8rem)/1 var(--f-display); color: var(--led); text-shadow: 0 0 26px rgba(255, 220, 130, .45); font-variant-numeric: tabular-nums; }
.tone-crema .promo__price { color: var(--cobre); text-shadow: none; }
.tone-crema .btn--led { background: var(--tapete); color: var(--led); }
.promo__media { position: absolute; top: -2px; bottom: -2px; right: -7%; width: 52%; overflow: hidden; transform: skewX(var(--skew)); border-left: 3px solid #FFF7DC; box-shadow: -8px 0 30px -4px rgba(255, 220, 130, .5); }
.promo__media img { position: absolute; top: 0; bottom: 0; left: -18%; width: 136%; height: 100%; object-fit: cover; transform: skewX(var(--unskew)); }
.promo__slide.is-on .promo__media img { animation: promoZoom 7s linear both; }
@keyframes promoZoom { from { scale: 1.12; } to { scale: 1; } }
.promo__seal {
  position: absolute; z-index: 3; left: calc(48% - 52px); top: 26px; display: grid; place-items: center; width: 104px; height: 104px; border-radius: 50%; rotate: -12deg;
  font: 400 1.4rem/1 var(--f-display); color: var(--tapete); background: var(--led); box-shadow: var(--glow), 0 10px 30px -10px rgba(0, 0, 0, .5);
}
.promo__seal::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 1.5px dashed rgba(18, 51, 42, .45); animation: spin 18s linear infinite; }
.promo__ui { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 18px; }
.promo__dots { display: flex; gap: 8px; }
.promo__dots button { position: relative; width: 44px; height: 4px; border-radius: 4px; background: rgba(30, 36, 28, .16); overflow: hidden; }
.promo__dots button::after { content: ""; position: absolute; inset: 0; background: var(--tapete-vivo); transform: scaleX(0); transform-origin: 0 50%; }
.promo__dots button.is-on::after { transform: scaleX(1); }
.promo.is-auto .promo__dots button.is-on::after { animation: grow var(--auto, 6s) linear both; }
@media (max-width: 820px) {
  .promo__slide { grid-template-columns: 1fr; grid-template-rows: 230px auto; min-height: 0; }
  .promo__media { position: relative; grid-row: 1; inset: auto; width: 100%; height: 100%; transform: none; border: 0; box-shadow: none; clip-path: polygon(0 0, 100% 0, 100% 84%, 0 100%); }
  .promo__media img { left: 0; width: 100%; transform: none; }
  .promo__media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 16%; background: linear-gradient(to top right, transparent 49%, #FFF7DC 49.5%, #FFF7DC 51%, transparent 51.5%); filter: drop-shadow(0 0 6px rgba(255, 220, 130, .9)); }
  .promo__body { grid-row: 2; padding: 6px 22px 26px; }
  .promo__seal { left: auto; right: 16px; top: 16px; width: 84px; height: 84px; font-size: 1.15rem; }
}

/* ---- Carta: libro de páginas ---- */
.carta__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 18px 40px; margin-bottom: clamp(30px, 4vw, 54px); }
.carta__sub { max-width: 42ch; color: var(--tinta-suave); }
.book-wrap { display: grid; justify-items: center; gap: 16px; }
.book { --h: clamp(560px, 80vh, 720px); position: relative; width: min(1060px, 100%); height: var(--h); perspective: 2600px; outline: none; transition: transform .9s var(--ease-out); }
.book.is-closed { transform: translateX(-25%); }
.book.is-end { transform: translateX(25%); }
.book:focus-visible { outline: 2px solid var(--cobre); outline-offset: 10px; border-radius: 12px; }
.book__shadow { position: absolute; left: 2%; right: 2%; bottom: -26px; height: 60px; background: radial-gradient(50% 50% at 50% 50%, rgba(30, 36, 28, .35), transparent 70%); filter: blur(8px); transition: left .9s var(--ease-out), right .9s var(--ease-out); }
.book.is-closed .book__shadow { left: 52%; } .book.is-end .book__shadow { right: 52%; }
.book__stack { position: absolute; inset: 0; transform-style: preserve-3d; }
.sheet { position: absolute; top: 0; bottom: 0; left: 50%; width: 50%; transform-origin: 0 50%; transform-style: preserve-3d; transition: transform 1.05s cubic-bezier(.45, .05, .2, 1); }
.sheet.is-flipped { transform: rotateY(-180deg); }
.sheet.is-top:not(.is-flipped):hover { transform: rotateY(-8deg); }
.sheet.is-top-l.is-flipped:hover { transform: rotateY(-172deg); }
.book.is-busy .sheet:hover { transform: none; } .book.is-busy .sheet.is-flipped:hover { transform: rotateY(-180deg); }
.face { position: absolute; inset: 0; overflow: hidden; -webkit-backface-visibility: hidden; backface-visibility: hidden; background: #FBF6E9; color: var(--tinta); cursor: pointer; }
.face--front { border-radius: 2px 12px 12px 2px; box-shadow: inset 18px 0 30px -18px rgba(60, 40, 20, .28), 6px 6px 0 -2px #EFE5CF, 7px 7px 0 -2px rgba(30, 36, 28, .12); }
.face--back { transform: rotateY(180deg); border-radius: 12px 2px 2px 12px; box-shadow: inset -18px 0 30px -18px rgba(60, 40, 20, .28), -6px 6px 0 -2px #EFE5CF, -7px 7px 0 -2px rgba(30, 36, 28, .12); }
.face::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, transparent 0 31px, rgba(185, 138, 90, .07) 31px 32px); }
.face::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .5s; background: linear-gradient(90deg, rgba(20, 30, 20, .32), rgba(20, 30, 20, 0) 70%); }
.face--back::after { background: linear-gradient(270deg, rgba(20, 30, 20, .32), rgba(20, 30, 20, 0) 70%); }
.sheet.is-turning .face::after { opacity: 1; }
.sheet.is-turning { z-index: 99 !important; }
.pg { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; padding: clamp(24px, 3.2vw, 44px) clamp(22px, 3.2vw, 46px) clamp(18px, 2vw, 26px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(30, 36, 28, .2) transparent; }
.pg__eyebrow { font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--cobre); }
.pg__title { font: 400 clamp(1.7rem, 2.6vw, 2.35rem)/1.05 var(--f-display); margin-top: 6px; }
.pg__nota { font-size: .85rem; color: var(--tinta-suave); margin-top: 4px; }
.pg__head { padding-bottom: 12px; border-bottom: 2px solid var(--tinta); margin-bottom: 4px; }
.pg__img { flex: none; height: clamp(96px, 16vh, 140px); margin: 4px 0 8px; border-radius: 6px; overflow: hidden; -webkit-mask: linear-gradient(225deg, transparent 20px, #000 20.6px); mask: linear-gradient(225deg, transparent 20px, #000 20.6px); }
.pg__img img { width: 100%; height: 100%; object-fit: cover; }
.pg .item { padding: 10px 0; }
.pg .item__name { font-size: .97rem; }
.pg .item__price { font-size: 1.08rem; }
.pg .item__desc { font-size: .84rem; margin-top: 2px; line-height: 1.4; }
.pg .tag { font-size: .6rem; padding: 2px 8px; }
.pg__foot { margin-top: auto; padding-top: 14px; display: flex; justify-content: space-between; align-items: center; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--tinta-suave); }
.pg__foot b { font: 400 1rem var(--f-display); letter-spacing: 0; color: var(--tinta); }
.pg__note { font-size: .78rem; color: var(--tinta-suave); margin-top: 12px; }
.pg--dark { background: var(--tapete); color: var(--crema); }
.pg--dark .pg__foot, .pg--dark .pg__foot b { color: rgba(251, 246, 233, .7); }
.face:has(.pg--dark)::before { background: radial-gradient(70% 60% at 80% 10%, rgba(255, 233, 168, .14), transparent 70%); }
.face:has(.pg--dark) { background: var(--tapete); }
.pg--cover { align-items: center; justify-content: center; text-align: center; gap: 18px; overflow: hidden; }
.pg--cover .logo--full { width: min(78%, 330px); color: var(--crema); --lg-ball: var(--led); --lg-dot: var(--tapete-vivo); --lg-line: var(--led); }
.pg__big { font: 400 clamp(3rem, 6vw, 4.6rem)/.95 var(--f-display); color: var(--led); text-shadow: 0 0 34px rgba(255, 220, 130, .4); }
.pg__sub { font-size: .76rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; opacity: .8; }
.pg__turn { position: absolute; right: 26px; bottom: 22px; display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 600; letter-spacing: .08em; color: var(--led); }
.pg__turn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; animation: nudge 1.6s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateX(5px); } }
.pg__led { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.pg__toc { display: grid; margin-top: 10px; }
.pg__toc button { display: flex; align-items: baseline; gap: 10px; padding: 11px 0; text-align: left; border-bottom: 1px solid rgba(30, 36, 28, .12); transition: color .25s, padding .35s var(--ease); }
.pg__toc button small { font-size: .7rem; font-weight: 600; letter-spacing: .12em; color: var(--cobre); width: 24px; flex: none; }
.pg__toc button b { font: 400 1.2rem/1.2 var(--f-display); }
.pg__toc button i { flex: 1; border-bottom: 2px dotted rgba(30, 36, 28, .25); transform: translateY(-4px); }
.pg__toc button span { font-size: .8rem; color: var(--tinta-suave); font-variant-numeric: tabular-nums; }
.pg__toc button:hover { color: var(--tapete-vivo); padding-left: 6px; }
.pg--center { align-items: center; justify-content: center; text-align: center; gap: 16px; }
.pg--center p { max-width: 32ch; }
.pg__ball { width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 34% 28%, #4a4a4a, #111 62%); box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .6); animation: float 4s ease-in-out infinite; }
.pg__ball b { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: #FBF6E9; color: #111; font: 400 1.7rem var(--f-display); }
@keyframes float { 50% { transform: translateY(-8px) rotate(8deg); } }
#carta .pg .btn--led, #carta .pg--dark .btn--led { min-height: 46px; }
#carta .pg--dark .btn--led { background: var(--led); color: var(--tapete); }
#carta .pg--dark .btn--ghost:hover { background: var(--crema); color: var(--tapete); }
.pg__contact { display: grid; gap: 6px; font: 400 1.1rem/1.35 var(--f-display); }
.pg__contact a { text-decoration: none; color: var(--led); }
.book__ui { display: flex; align-items: center; gap: 22px; margin-top: 18px; }
.book__pager { min-width: 140px; text-align: center; font-size: .82rem; color: var(--tinta-suave); }
.book__pager b { display: block; font: 400 1.5rem/1.1 var(--f-display); color: var(--tinta); font-variant-numeric: tabular-nums; }
.book__hint { font-size: .78rem; color: var(--tinta-suave); }
.book__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 900px; }
.book__chips .chip { min-height: 36px; padding: 0 14px; font-size: .84rem; }
@media (max-width: 899px) {
  .book { width: min(460px, 100%); height: min(76svh, 660px); transform: none !important; perspective: 1800px; }
  .book.is-closed .book__shadow, .book.is-end .book__shadow { left: 2%; right: 2%; }
  .sheet { left: 0; width: 100%; transition: transform .95s cubic-bezier(.45, .05, .2, 1), opacity .35s ease .6s; }
  .sheet.is-flipped { opacity: 0; pointer-events: none; }
  .sheet.is-top:not(.is-flipped):hover { transform: none; }
  .face--front { border-radius: 4px 14px 14px 4px; }
  .book__chips { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; width: calc(100% + 2 * var(--gutter)); margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter); scrollbar-width: none; }
  .book__chips::-webkit-scrollbar { display: none; }
  .book__chips .chip { flex: none; }
  .carta__head { margin-bottom: 22px; }
}

/* ---- Tener suerte ---- */
.suerte { background: var(--tapete); color: var(--crema); overflow: hidden; isolation: isolate; }
.suerte .reservas__led { opacity: .7; }
.suerte .eyebrow, .suerte .h-xl em { color: var(--led); }
.suerte__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.suerte__copy > p:not(.eyebrow):not(.suerte__label) { margin-top: 20px; max-width: 44ch; color: rgba(251, 246, 233, .85); }
.suerte__label { margin: 28px 0 12px; font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: rgba(251, 246, 233, .7); }
.suerte .chip { box-shadow: inset 0 0 0 1.5px rgba(255, 247, 220, .3); }
.suerte .chip:hover { box-shadow: inset 0 0 0 1.5px var(--led); }
.suerte .chip.is-on { background: var(--led); color: var(--tapete); box-shadow: none; }
.lucky {
  position: relative; padding: 30px clamp(20px, 3vw, 34px) 28px; border-radius: 30px;
  background: linear-gradient(165deg, rgba(46, 107, 82, .55), rgba(10, 31, 25, .75)); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: inset 0 0 0 1px rgba(255, 247, 220, .2), var(--brillo), 0 50px 100px -40px #000;
}
.lucky__bulbs { position: absolute; inset: 10px; pointer-events: none; }
.lucky__bulbs i { position: absolute; width: 7px; height: 7px; margin: -3.5px; border-radius: 50%; background: #FFE9A8; box-shadow: 0 0 6px rgba(255, 233, 168, .9); opacity: .35; transition: opacity .3s; }
.lucky.is-idle .lucky__bulbs i { animation: bulbIdle 3.2s ease-in-out infinite; animation-delay: calc(var(--i) * -.12s); }
.lucky.is-spin .lucky__bulbs i { animation: bulbChase .5s steps(1) infinite; animation-delay: calc(var(--i) * -.04s); }
.lucky.is-win .lucky__bulbs i { animation: bulbWin .32s steps(1) 6; }
@keyframes bulbIdle { 50% { opacity: 1; } }
@keyframes bulbChase { 0% { opacity: 1; } 50% { opacity: .15; } }
@keyframes bulbWin { 0% { opacity: 1; } 50% { opacity: .1; } }
.lucky__top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.lucky__ball { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: radial-gradient(circle at 34% 28%, #555, #0b0b0b 64%); box-shadow: 0 8px 18px -8px #000; }
.lucky__ball b { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #FBF6E9; color: #111; font: 400 .8rem var(--f-display); }
.lucky.is-spin .lucky__ball { animation: spin .45s linear infinite; }
.lucky__status { font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--led); }
.lucky__window { --row: 84px; position: relative; height: calc(var(--row) * 3); overflow: hidden; border-radius: 18px; background: rgba(255, 247, 220, .05); box-shadow: inset 0 0 0 1px rgba(255, 247, 220, .14), inset 0 20px 30px -20px rgba(0, 0, 0, .5), inset 0 -20px 30px -20px rgba(0, 0, 0, .5);
  -webkit-mask: linear-gradient(transparent, #000 26%, #000 74%, transparent); mask: linear-gradient(transparent, #000 26%, #000 74%, transparent); }
.lucky__window::before { content: ""; position: absolute; left: 10px; right: 10px; top: var(--row); height: var(--row); border-radius: 12px; border: 1px solid rgba(255, 247, 220, .5); box-shadow: 0 0 16px rgba(255, 220, 130, .25), inset 0 0 22px rgba(255, 220, 130, .12); pointer-events: none; }
.lucky__arrow { position: absolute; z-index: 2; top: 50%; width: 0; height: 0; border: 9px solid transparent; translate: 0 -50%; }
.lucky__arrow--l { left: 2px; border-left-color: var(--led); } .lucky__arrow--r { right: 2px; border-right-color: var(--led); }
.lucky__reel { will-change: transform; }
.lucky__reel li { height: var(--row); display: grid; place-content: center; text-align: center; gap: 2px; padding: 0 30px; }
.lucky__reel li b { font: 400 clamp(1.35rem, 2.3vw, 1.95rem)/1.05 var(--f-display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.lucky__reel li small { font-size: .66rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 233, 168, .7); }
.lucky__reel li.is-win b { color: var(--led); text-shadow: 0 0 26px rgba(255, 220, 130, .7); animation: winPop .6s var(--ease-out) both; }
@keyframes winPop { 0% { transform: scale(.9); } 55% { transform: scale(1.1); } 100% { transform: scale(1); } }
.lucky.is-spin .lucky__reel { filter: blur(.6px); }
#suerte .lucky__go { margin-top: 18px; background: var(--led); color: var(--tapete); min-height: 58px; font-size: 1.02rem; }
#suerte .lucky__go:hover { box-shadow: var(--glow); }
#suerte .lucky__go svg { fill: none; stroke: currentColor; stroke-width: 1.8; width: 20px; height: 20px; }
#suerte .lucky__go[disabled] { opacity: .7; pointer-events: none; }
.lucky__result {
  display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 16px; align-items: center; margin-top: 16px; padding: 14px; border-radius: 20px;
  background: rgba(255, 247, 220, .08); box-shadow: inset 0 0 0 1px rgba(255, 247, 220, .22), var(--brillo); animation: resIn .8s var(--ease-out) both;
}
.lucky__result[hidden] { display: none; }
@keyframes resIn { from { clip-path: inset(0 0 0 100% round 20px); transform: translateX(20px); } to { clip-path: inset(0 0 0 0 round 20px); transform: none; } }
.lucky__thumb { width: 92px; height: 92px; border-radius: 12px; overflow: hidden; background: var(--salvia); display: grid; place-items: center; }
.lucky__thumb img { width: 100%; height: 100%; object-fit: cover; }
.lucky__thumb b { font: 400 2.4rem var(--f-display); color: var(--led); }
.lucky__info small { font-size: .66rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--led); }
.lucky__info h3 { font: 400 1.45rem/1.1 var(--f-display); margin: 4px 0; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.lucky__info h3 span { color: var(--led); font-size: 1.15rem; white-space: nowrap; }
.lucky__info p { font-size: .86rem; color: rgba(251, 246, 233, .78); line-height: 1.4; }
.lucky__acts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.lucky__acts .btn { min-height: 42px; padding: 0 18px; font-size: .86rem; flex: 1 1 150px; }
#suerte .lucky__acts .btn--led { background: var(--led); color: var(--tapete); }
.suerte .btn--ghost:hover { background: var(--crema); color: var(--tapete); }
.lucky__confetti { position: absolute; inset: -60px; width: calc(100% + 120px); height: calc(100% + 120px); pointer-events: none; z-index: 5; }
@media (max-width: 900px) {
  .suerte__in { grid-template-columns: 1fr; }
  .lucky__window { --row: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  .sheet { transition-duration: .01ms; }
}
.promo__slide.from-l.is-on { animation-name: promoInL; }
@keyframes promoInL { from { clip-path: inset(0 100% 0 0 round 26px); } to { clip-path: inset(0 0 0 0 round 26px); } }
.pg__led .led-line { vector-effect: non-scaling-stroke; stroke-width: 2; }
.book.no-anim .sheet, .book.no-anim { transition: none !important; }
.acc__item::after { z-index: 1; }
.acc__cap, .acc__num { z-index: 2; }
.acc__item::after { display: none; }
.acc__in::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(18, 51, 42, .1), rgba(18, 51, 42, .55)); transition: opacity .9s; }
.acc__item.is-on .acc__in::after { opacity: .5; }

/* ---- Portada en alta resolución ----
   En móvil se ven fotos del local mejoradas (1152×2048) en lugar del vídeo, con zoom lento. */
.pane__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: none; }
@media (max-width: 820px) {
  .pane video { display: none; }
  .pane__img { display: block; transform: scale(1.14) translateX(6%); transition: transform 1.6s var(--ease-out), filter .6s; }
  .pane.is-on .pane__img { animation: heroKB 7.5s linear both; }
  .pane.was-on .pane__img { animation: none; transform: scale(1.06) translateX(-8%); filter: brightness(.6); }
  .pane:first-child .pane__img { object-position: 50% 38%; }
}
@keyframes heroKB { from { transform: scale(1.14); } to { transform: scale(1.02); } }
@media (prefers-reduced-motion: reduce) { .pane.is-on .pane__img { animation: none; transform: none; } }
@media (min-width: 821px) {
  .pane__img { display: block; z-index: 1; transform: skewX(var(--unskew)) scale(1.4); transition: opacity .7s var(--ease), transform 1.4s var(--ease-out); }
  .pane:hover .pane__img, .pane:focus-visible .pane__img { transform: skewX(var(--unskew)) scale(1.46); }
  .pane.is-play .pane__img { opacity: 0; }
  .pane__label { z-index: 2; }
  .pane:first-child .pane__img { object-position: 30% 40%; }
}

/* ==========================================================================
   17. Pedidos online y pagos
   ========================================================================== */
/* Botón del carrito en la cabecera */
.cartbtn { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 247, 220, .1); box-shadow: inset 0 0 0 1px rgba(255, 247, 220, .35); transition: background .3s, transform .3s var(--ease-out); }
.cartbtn svg, .cartfab svg, .dock__cart svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.cartbtn:hover { background: rgba(255, 247, 220, .22); }
.nav.is-solid .cartbtn { background: rgba(255, 255, 255, .35); box-shadow: inset 0 0 0 1px rgba(30, 36, 28, .16); }
.cartbtn b, .dock__count { position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; display: grid; place-items: center; font-size: .66rem; font-weight: 700; background: var(--cobre); color: #fff; box-shadow: 0 0 0 2px var(--tapete); }
.cartbtn b[hidden], .dock__count[hidden] { display: none; }
.is-bump { animation: bump .5s var(--ease-out); }
@keyframes bump { 40% { transform: scale(1.22); } }
/* Botón «+» para añadir platos */
.add { flex: none; display: inline-grid; place-items: center; position: relative; width: 38px; height: 38px; border-radius: 50%; font-size: 1.3rem; line-height: 1; font-weight: 500; background: var(--tapete); color: var(--led); transition: transform .3s var(--ease-out), box-shadow .3s; }
.add:hover { transform: scale(1.1) rotate(90deg); box-shadow: var(--glow); }
.add:active { transform: scale(.92); }
.add i { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; font: 700 .62rem/18px var(--f-body); font-style: normal; background: var(--cobre); color: #fff; }
.add--sm { width: 26px; height: 26px; font-size: 1rem; margin-left: 4px; }
.dish__meta .add { position: absolute; right: 0; bottom: 0; }
.dish__meta { position: relative; padding-right: 48px; }
.fly { position: fixed; z-index: 200; width: 16px; height: 16px; border-radius: 50%; background: var(--led); box-shadow: var(--glow); pointer-events: none; }
/* Botón flotante del carrito (escritorio) */
.cartfab { position: fixed; z-index: 70; right: 22px; bottom: 22px; display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px 0 18px; border-radius: 999px; color: var(--led);
  background: rgba(18, 51, 42, .72); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5); box-shadow: inset 0 0 0 1px rgba(255, 233, 168, .3), var(--brillo), 0 20px 40px -14px rgba(0, 0, 0, .55); animation: fabIn .6s var(--ease-out) both; }
.cartfab[hidden] { display: none; }
.cartfab b { display: grid; place-items: center; min-width: 24px; height: 24px; border-radius: 999px; background: var(--led); color: var(--tapete); font-size: .78rem; }
.cartfab span { font-weight: 600; font-size: .92rem; color: var(--crema); font-variant-numeric: tabular-nums; }
.cartfab:hover { box-shadow: inset 0 0 0 1px var(--led), var(--glow); }
@keyframes fabIn { from { opacity: 0; transform: translateY(20px) scale(.9); } }
@media (max-width: 820px) { .cartfab { display: none; } }
/* Aviso corto */
.toast { position: fixed; z-index: 210; left: 50%; bottom: 96px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: 12px 18px; border-radius: 999px; font-size: .9rem; font-weight: 500; color: var(--crema);
  background: rgba(18, 51, 42, .8); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px rgba(255, 233, 168, .3); transition: opacity .3s, transform .45s var(--ease-out); white-space: nowrap; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
/* Barra fija del móvil: botón «Pedir online» */
.dock__cart { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: 1; min-height: 46px; padding: 0 14px; border-radius: 999px; color: var(--crema); font-weight: 600; font-size: .92rem; }
.dock__count { top: 2px; right: 6px; }

/* Sección de pedidos */
.pedidos { position: relative; overflow: hidden; background: var(--arena); }
.pedidos > .wrap { position: relative; z-index: 1; }
.pedidos__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(28px, 5vw, 72px) clamp(32px, 6vw, 90px); align-items: center; }
.pedidos__copy > p:not(.eyebrow) { margin: 20px 0 28px; max-width: 44ch; color: var(--tinta-suave); }
.pedidos__copy .btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.pasos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; counter-reset: none; }
.paso { border-radius: 22px; padding: 22px 20px 24px; background: rgba(251, 246, 233, .6); }
.paso small { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; font-size: .74rem; font-weight: 700; letter-spacing: .06em; background: var(--tapete); color: var(--led); }
.paso h3 { font: 400 1.35rem/1.15 var(--f-display); margin: 16px 0 6px; }
.paso p { font-size: .9rem; color: var(--tinta-suave); line-height: 1.45; }
.pedidos__info { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 26px 48px; padding-top: 26px; border-top: 1px solid rgba(30, 36, 28, .14); }
.pedidos__info h3 { font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--cobre); margin-bottom: 12px; }
.pay { display: flex; flex-wrap: wrap; gap: 8px; }
.pay li { display: inline-flex; flex-direction: column; justify-content: center; min-height: 40px; padding: 6px 16px; border-radius: 12px; font-size: .88rem; font-weight: 600; background: rgba(255, 255, 255, .55); box-shadow: inset 0 0 0 1px rgba(30, 36, 28, .12); }
.pay li small { font-size: .62rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--tinta-suave); }
.pay li.is-off { opacity: .6; }
.pay a { color: inherit; text-decoration: none; }
@media (max-width: 900px) {
  .pedidos__in { grid-template-columns: 1fr; }
  .pasos { grid-template-columns: 1fr; }
  .pedidos__info { grid-template-columns: 1fr; }
}

/* Panel lateral del pedido */
.cart { position: fixed; inset: 0; z-index: 150; }
.cart[hidden] { display: none; }
.cart__scrim { position: absolute; inset: 0; background: rgba(12, 30, 24, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .45s; }
.cart.is-open .cart__scrim { opacity: 1; }
.cart__panel {
  position: absolute; top: 10px; right: 10px; bottom: 10px; width: min(500px, calc(100% - 20px)); display: flex; flex-direction: column; border-radius: 26px; overflow: hidden; color: var(--tinta);
  background: rgba(251, 246, 233, .86); -webkit-backdrop-filter: blur(26px) saturate(1.5); backdrop-filter: blur(26px) saturate(1.5); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6), var(--brillo), -30px 0 80px -30px rgba(10, 28, 22, .6);
  transform: translateX(calc(100% + 30px)); transition: transform .6s var(--ease-out);
}
.cart.is-open .cart__panel { transform: none; }
.cart__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 22px 22px 14px; }
.cart__head h2 { font: 400 1.9rem/1.05 var(--f-display); margin-top: 4px; }
.cart__bar { display: flex; gap: 6px; padding: 0 22px 12px; }
.cart__bar i { flex: 1; height: 3px; border-radius: 3px; background: rgba(30, 36, 28, .12); overflow: hidden; position: relative; }
.cart__bar i::after { content: ""; position: absolute; inset: 0; background: var(--tapete-vivo); transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--ease-out); }
.cart__bar i.is-on::after { transform: scaleX(1); }
.cart__body { flex: 1; overflow-y: auto; padding: 4px 22px 18px; overscroll-behavior: contain; animation: cartStep .5s var(--ease-out); }
@keyframes cartStep { from { opacity: 0; transform: translateX(24px); } }
.cart__foot { padding: 14px 22px 20px; border-top: 1px solid rgba(30, 36, 28, .1); background: rgba(255, 255, 255, .35); }
.cart__empty { padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, .5); color: var(--tinta-suave); font-size: .92rem; }
.cart__lines { display: grid; gap: 2px; margin-bottom: 18px; }
.cart__lines li { display: grid; grid-template-columns: minmax(0, 1fr) auto 76px; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(30, 36, 28, .1); }
.cart__lines b { display: block; font-weight: 600; font-size: .95rem; }
.cart__lines small { font-size: .74rem; color: var(--tinta-suave); }
.cart__lines em { font-style: normal; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.qty { display: inline-flex; align-items: center; border-radius: 999px; background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1px rgba(30, 36, 28, .14); }
.qty button { width: 32px; height: 32px; border-radius: 50%; font-size: 1.05rem; }
.qty button:hover { background: var(--tapete); color: var(--led); }
.qty span { min-width: 22px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.qty__n { color: var(--tinta-suave); font-size: .9rem; }
.cart__label { font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--cobre); margin: 6px 0 10px; }
.cart__cats { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.cart__cats::-webkit-scrollbar { display: none; }
.cart__cats .chip { flex: none; min-height: 34px; padding: 0 13px; font-size: .8rem; }
.cart__pick li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px dashed rgba(30, 36, 28, .14); }
.cart__pick b { font-weight: 600; font-size: .93rem; }
.cart__pick small { display: block; font-size: .78rem; color: var(--tinta-suave); line-height: 1.35; margin-top: 2px; }
.cart__pick span { font: 400 1.02rem var(--f-display); font-variant-numeric: tabular-nums; }
.cart__tot { display: grid; gap: 4px; margin-bottom: 14px; }
.cart__tot div { display: flex; justify-content: space-between; font-size: .9rem; color: var(--tinta-suave); }
.cart__tot .is-total { font-size: 1.05rem; color: var(--tinta); font-weight: 600; padding-top: 6px; border-top: 1px solid rgba(30, 36, 28, .12); margin-top: 4px; }
.cart__tot .is-total dd { font: 400 1.5rem var(--f-display); }
.cart__hint { font-size: .78rem; color: var(--tapete-vivo); }
.cart__err { margin-bottom: 12px; padding: 10px 14px; border-radius: 12px; font-size: .86rem; background: rgba(164, 89, 59, .12); color: #8a3c22; }
.cart__btns { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.cart__foot .btn[disabled] { opacity: .45; pointer-events: none; }
.opts { display: grid; gap: 10px; margin-bottom: 18px; }
.choice { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; cursor: pointer; background: rgba(255, 255, 255, .55); box-shadow: inset 0 0 0 1.5px rgba(30, 36, 28, .12); transition: box-shadow .25s, background .25s; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: grid; gap: 2px; }
.choice b { font-weight: 600; }
.choice small { font-size: .8rem; color: var(--tinta-suave); }
.choice:has(input:checked) { background: #fff; box-shadow: inset 0 0 0 2px var(--tapete-vivo), 0 10px 24px -14px rgba(10, 28, 22, .4); }
.choice:has(input:checked)::after { content: "✓"; position: absolute; right: 16px; top: 50%; translate: 0 -50%; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; background: var(--tapete-vivo); color: #fff; }
.choice:has(input:focus-visible) { outline: 2px solid var(--cobre); outline-offset: 2px; }
.choice.is-off { opacity: .5; cursor: not-allowed; }
.choice__ico { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; font: 700 1.05rem var(--f-body); font-style: normal; background: var(--tapete); color: var(--led); }
.choice__ico--bizum { background: #0B8A8A; color: #fff; }
.choice__ico--paypal { background: #1D3A8A; color: #fff; }
.choice__ico--tarjeta { background: #2A2A2A; color: #fff; }
.cart__form { padding: 0; background: none; box-shadow: none; }
.cart__form .field input, .cart__form .field select, .cart__form .field textarea { background-color: rgba(255, 255, 255, .7); }
.cart__ok { text-align: center; padding-top: 10px; }
.cart__ok p { color: var(--tinta-suave); margin-top: 8px; }
.cart__okball { width: 74px; height: 74px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center; background: var(--tapete); box-shadow: var(--glow); animation: winPop .7s var(--ease-out) both; }
.cart__okball b { color: var(--led); font-size: 1.8rem; }
.cart__oknum { font: 400 1.6rem var(--f-display); color: var(--tinta) !important; }
.cart__msg { margin-top: 16px; padding: 14px; border-radius: 14px; text-align: left; white-space: pre-wrap; font: 400 .8rem/1.5 var(--f-body); background: rgba(255, 255, 255, .6); color: var(--tinta); max-height: 220px; overflow: auto; }
.cart__acts { display: grid; gap: 10px; justify-items: center; }
@media (max-width: 560px) {
  .cart__panel { top: auto; left: 0; right: 0; bottom: 0; width: 100%; height: 92svh; border-radius: 24px 24px 0 0; transform: translateY(100%); }
  .cart.is-open .cart__panel { transform: none; }
  .cart__lines li { grid-template-columns: minmax(0, 1fr) auto 64px; }
}

.cart.is-open ~ .toast { bottom: auto; top: 22px; }

/* ==========================================================================
   18. Portada a pantalla partida
   Dos pantallas con vídeo separadas por una línea de luz diagonal.
   Ordenador: izquierda y derecha. Móvil: arriba y abajo.
   ========================================================================== */
.split { position: absolute; inset: 0; z-index: 0; }
.screen { position: absolute; inset: 0; display: block; overflow: hidden; background: var(--tapete); transition: filter .6s var(--ease); }
.screen--a { clip-path: polygon(0 0, calc(57% - 5px) 0, calc(45% - 5px) 100%, 0 100%); }
.screen--b { clip-path: polygon(calc(57% + 5px) 0, 100% 0, 100% 100%, calc(45% + 5px) 100%); }
.screen__v { position: absolute; top: 0; bottom: 0; height: 100%; object-fit: cover; clip-path: inset(0 0 0 100%); transition: clip-path 1.2s var(--ease-out), transform 1.6s var(--ease-out), filter .8s; }
.screen--a .screen__v { left: 0; width: 57%; }
.screen--b .screen__v { left: 45%; width: 55%; clip-path: inset(0 100% 0 0); }
.screen__v.is-on { clip-path: inset(0); z-index: 2; animation: screenKB 7s linear both; }
.screen__v.was-on { clip-path: inset(0); z-index: 1; transform: translateX(-7%) scale(1.04); filter: brightness(.55); }
.screen--b .screen__v.was-on { transform: translateX(7%) scale(1.04); }
@keyframes screenKB { from { transform: scale(1.08); } to { transform: scale(1); } }
.split:hover .screen { filter: brightness(.72) saturate(.85); }
.split .screen:hover { filter: none; }
.screen__label {
  position: absolute; z-index: 3; top: 96px; display: inline-flex; align-items: baseline; gap: 10px; padding: 9px 16px; border-radius: 999px;
  font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--crema);
  background: var(--glass-oscuro); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); border: 1px solid var(--glass-borde-osc); box-shadow: var(--brillo);
}
.screen__label small { color: var(--led); font-size: 1em; }
.screen__label.is-swap { animation: labelIn .7s var(--ease-out) both; }
@keyframes labelIn { from { opacity: 0; transform: translateX(-18px); } }
.screen--a .screen__label { left: var(--gutter); }
.screen--b .screen__label { right: var(--gutter); }
.screen__bar { position: absolute; z-index: 3; top: 142px; width: 120px; height: 2px; border-radius: 2px; background: rgba(255, 247, 220, .25); overflow: hidden; }
.screen--a .screen__bar { left: calc(var(--gutter) + 4px); }
.screen--b .screen__bar { right: calc(var(--gutter) + 4px); }
.screen__bar i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: #FFF7DC; box-shadow: var(--glow); }
.split__seam { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.split__seam line { stroke: #FFF7DC; stroke-width: 2.5; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 6px rgba(255, 220, 130, .95)) drop-shadow(0 0 22px rgba(255, 200, 100, .55)); stroke-dasharray: 2000; stroke-dashoffset: 2000; animation: seamIn 1.8s .3s var(--ease-out) forwards; }
@keyframes seamIn { to { stroke-dashoffset: 0; } }
.seam--m { display: none; }
@media (max-width: 820px) {
  .screen--a { clip-path: polygon(0 0, 100% 0, 100% calc(45% - 4px), 0 calc(53% - 4px)); }
  .screen--b { clip-path: polygon(0 calc(53% + 4px), 100% calc(45% + 4px), 100% 100%, 0 100%); }
  .screen--a .screen__v { left: 0; width: 100%; top: 0; bottom: auto; height: 53%; }
  .screen--b .screen__v { left: 0; width: 100%; top: 45%; bottom: 0; height: 55%; }
  .screen--a .screen__label { top: 84px; }
  .screen--a .screen__bar { top: 124px; }
  .screen--b .screen__label { top: calc(53% + 14px); }
  .screen--b .screen__bar { top: calc(53% + 54px); }
  .seam--d { display: none; } .seam--m { display: inline; }
  .split:hover .screen { filter: none; }
}
@media (prefers-reduced-motion: reduce) {
  .screen__v.is-on { animation: none; }
  .split__seam line { animation: none; stroke-dashoffset: 0; }
}
@media (max-width: 820px) {
  .hero__stage { justify-content: flex-start; }
  .split { position: relative; inset: auto; flex: none; height: min(60svh, 540px); min-height: 420px; }
  .split::before, .split::after { content: ""; position: absolute; left: 0; right: 0; z-index: 2; pointer-events: none; }
  .split::before { top: 0; height: 120px; background: linear-gradient(rgba(18, 51, 42, .75), transparent); }
  .split::after { bottom: -1px; height: 26%; background: linear-gradient(transparent, var(--tapete)); }
  .hero__stage > .hero__shade { display: none; }
  .hero__in { margin-top: -36px; padding-bottom: 28px; }
  .screen--b .screen__label { top: auto; bottom: calc(26% + 6px); right: var(--gutter); }
  .screen--b .screen__bar { top: auto; bottom: calc(26% - 4px); }
}

/* ==========================================================================
   19. Portada interactiva a pantalla completa + intro del logo
   La división se controla con variables: --sx / --bx (ordenador: x arriba / x abajo)
   y --ly / --ry (móvil: y a la izquierda / y a la derecha). JS las mueve al
   arrastrar el tirador, al pasar el ratón o al tocar una mitad.
   ========================================================================== */
@property --sx { syntax: "<percentage>"; inherits: true; initial-value: 57%; }
@property --bx { syntax: "<percentage>"; inherits: true; initial-value: 45%; }
@property --ly { syntax: "<percentage>"; inherits: true; initial-value: 47%; }
@property --ry { syntax: "<percentage>"; inherits: true; initial-value: 39%; }

.hero { min-height: 0; }
.hero__stage { min-height: 100svh; }
.split { --sx: 57%; --bx: 45%; --ly: 47%; --ry: 39%; position: absolute; inset: 0; height: auto; min-height: 0;
  transition: --sx .95s var(--ease-out), --bx .95s var(--ease-out), --ly .95s var(--ease-out), --ry .95s var(--ease-out); }
.split.is-drag { transition: none; }
.split::before, .split::after { content: none; }
.screen { cursor: pointer; outline: none; }
.screen--a { clip-path: polygon(0 0, calc(var(--sx) - 4px) 0, calc(var(--bx) - 4px) 100%, 0 100%); }
.screen--b { clip-path: polygon(calc(var(--sx) + 4px) 0, 100% 0, 100% 100%, calc(var(--bx) + 4px) 100%); }
.screen--a .screen__v { left: 0; width: calc(max(var(--sx), var(--bx)) + 3%); }
.screen--b .screen__v { left: calc(min(var(--sx), var(--bx)) - 3%); right: 0; width: auto; }
.screen__v { translate: calc(var(--mx, 0) * -14px) calc(var(--my, 0) * -10px); }
.screen__label { translate: calc(var(--mx, 0) * 8px) calc(var(--my, 0) * 6px); transition: translate .3s; }
.split:hover .screen { filter: brightness(.8) saturate(.9); }
.split .screen:hover, .split .screen.is-big { filter: none; }
.screen:focus-visible .screen__label { box-shadow: 0 0 0 2px var(--led); }

/* la línea de luz: un trazo fino que sigue la división, con brillo */
.split__seam { position: absolute; inset: 0; z-index: 3; pointer-events: none;
  filter: drop-shadow(0 0 5px rgba(255, 225, 150, 1)) drop-shadow(0 0 18px rgba(255, 200, 100, .6));
  -webkit-mask: linear-gradient(#000, #000) 0 0 / 100% 0% no-repeat; mask: linear-gradient(#000, #000) 0 0 / 100% 0% no-repeat;
  animation: seamGrow 1.5s .25s var(--ease-out) forwards; }
.split__seam i { position: absolute; inset: 0; background: #FFF7DC;
  clip-path: polygon(calc(var(--sx) - 1.3px) 0, calc(var(--sx) + 1.3px) 0, calc(var(--bx) + 1.3px) 100%, calc(var(--bx) - 1.3px) 100%); }
@keyframes seamGrow { to { -webkit-mask-size: 100% 100%; mask-size: 100% 100%; } }
.intro-on .split__seam { animation-delay: 2.9s; }

/* tirador para arrastrar la división */
.split__knob {
  position: absolute; z-index: 4; left: calc((var(--sx) + var(--bx)) / 2); top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%;
  display: grid; place-items: center; color: var(--tapete); background: #FFF7DC; cursor: ew-resize; touch-action: none;
  box-shadow: 0 0 0 6px rgba(255, 247, 220, .18), 0 0 30px rgba(255, 220, 130, .7), 0 12px 28px -8px rgba(0, 0, 0, .5);
  opacity: 0; scale: .4; animation: knobIn .7s 1.2s var(--ease-out) forwards; transition: box-shadow .3s, scale .3s var(--ease-out);
}
.intro-on .split__knob { animation-delay: 3.8s; }
.split__knob svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.split__knob::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid rgba(255, 247, 220, .7); animation: knobPing 2.4s 2.2s ease-out infinite; }
.split__knob:hover, .split.is-drag .split__knob { scale: 1.08; box-shadow: 0 0 0 10px rgba(255, 247, 220, .22), 0 0 44px rgba(255, 220, 130, .9), 0 12px 28px -8px rgba(0, 0, 0, .5); }
.split.is-drag .split__knob::before, .split.is-touched .split__knob::before { animation: none; opacity: 0; }
.split__knob:focus-visible { outline: 3px solid var(--led); outline-offset: 4px; }
@keyframes knobIn { to { opacity: 1; scale: 1; } }
@keyframes knobPing { 0% { transform: scale(1); opacity: .9; } 70%, 100% { transform: scale(1.7); opacity: 0; } }

/* cursor que acompaña al ratón sobre las pantallas */
.hero-cursor {
  position: fixed; left: 0; top: 0; z-index: 90; width: 104px; height: 104px; margin: -52px 0 0 -52px; border-radius: 50%;
  display: grid; place-content: center; text-align: center; gap: 2px; pointer-events: none; color: var(--crema);
  background: rgba(18, 51, 42, .38); -webkit-backdrop-filter: blur(10px) saturate(1.4); backdrop-filter: blur(10px) saturate(1.4);
  box-shadow: inset 0 0 0 1px rgba(255, 247, 220, .45), 0 0 26px rgba(255, 220, 130, .25);
  opacity: 0; scale: .5; transition: opacity .3s, scale .4s var(--ease-out);
}
.hero-cursor.is-on { opacity: 1; scale: 1; }
.hero-cursor small { font-size: .56rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--led); padding: 0 12px; line-height: 1.2; }
.hero-cursor b { font: 400 .95rem/1.1 var(--f-display); }
@media (hover: none) { .hero-cursor { display: none; } }
@media (hover: hover) and (min-width: 821px) { .split .screen { cursor: none; } }

/* indicador de scroll */
.hero__in { padding-bottom: clamp(56px, 9vh, 96px); }

/* Móvil: las dos mitades llenan toda la pantalla, una encima de otra */
@media (max-width: 820px) {
  .hero__stage { justify-content: flex-end; min-height: 100svh; }
  .split { position: absolute; inset: 0; height: auto; min-height: 0; }
  .screen--a { clip-path: polygon(0 0, 100% 0, 100% calc(var(--ry) - 3px), 0 calc(var(--ly) - 3px)); }
  .screen--b { clip-path: polygon(0 calc(var(--ly) + 3px), 100% calc(var(--ry) + 3px), 100% 100%, 0 100%); }
  .screen--a .screen__v { left: 0; width: 100%; top: 0; bottom: auto; height: calc(max(var(--ly), var(--ry)) + 3%); }
  .screen--b .screen__v { left: 0; right: 0; width: 100%; top: calc(min(var(--ly), var(--ry)) - 3%); bottom: 0; height: auto; }
  .screen__v { translate: none; }
  .split__seam { -webkit-mask-size: 0% 100%; mask-size: 0% 100%; }
  .split__seam i { clip-path: polygon(0 calc(var(--ly) - 1.3px), 100% calc(var(--ry) - 1.3px), 100% calc(var(--ry) + 1.3px), 0 calc(var(--ly) + 1.3px)); }
  .split__knob { left: 50%; top: calc((var(--ly) + var(--ry)) / 2); width: 50px; height: 50px; margin: -25px 0 0 -25px; cursor: ns-resize; }
  .split__knob svg { rotate: 90deg; }
  .hero__stage > .hero__shade { display: block; background: linear-gradient(180deg, rgba(18, 51, 42, .7) 0, rgba(18, 51, 42, 0) 15%, rgba(18, 51, 42, 0) 54%, rgba(18, 51, 42, .82) 76%, rgba(18, 51, 42, .95) 100%); }
  .hero__in { margin-top: 0; padding-bottom: 30px; }
  .hero__lead { display: none; }
  .hero__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero__cta .btn { min-height: 50px; padding: 0 12px; font-size: .9rem; }
  .screen--a .screen__label { top: 84px; }
  .screen--a .screen__bar { top: 124px; }
  .screen--b .screen__label { top: calc(max(var(--ly), var(--ry)) + 14px); bottom: auto; right: var(--gutter); }
  .screen--b .screen__bar { top: calc(max(var(--ly), var(--ry)) + 54px); bottom: auto; }
  .screen--b .screen__label, .screen--b .screen__bar { transition: top .95s var(--ease-out); }
}

/* ---- Intro: el logo se dibuja, entra la bola y la pantalla se abre en diagonal ---- */
.intro { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; }
.no-intro .intro { display: none; }
.intro-on body { overflow: hidden; }
.intro__half { position: absolute; inset: 0; background: radial-gradient(60% 50% at 50% 45%, #1c4a3b, var(--tapete) 70%); }
.intro__half--a { clip-path: polygon(0 0, 57.2% 0, 45.2% 100%, 0 100%); animation: introA 1s 2.75s cubic-bezier(.7, 0, .2, 1) forwards; }
.intro__half--b { clip-path: polygon(56.8% 0, 100% 0, 100% 100%, 44.8% 100%); animation: introB 1s 2.75s cubic-bezier(.7, 0, .2, 1) forwards; }
@keyframes introA { to { transform: translateX(-104%); } }
@keyframes introB { to { transform: translateX(104%); } }
.intro__seam { position: absolute; inset: 0; pointer-events: none; filter: drop-shadow(0 0 6px rgba(255, 225, 150, 1)) drop-shadow(0 0 22px rgba(255, 200, 100, .7));
  -webkit-mask: linear-gradient(#000, #000) 0 0 / 100% 0% no-repeat; mask: linear-gradient(#000, #000) 0 0 / 100% 0% no-repeat;
  animation: seamGrow .7s 2.15s var(--ease-out) forwards, introFade .5s 3.2s forwards; }
.intro__seam i { position: absolute; inset: 0; background: #FFF7DC; clip-path: polygon(calc(57% - 1.5px) 0, calc(57% + 1.5px) 0, calc(45% + 1.5px) 100%, calc(45% - 1.5px) 100%); }
.intro__logo { position: relative; z-index: 2; display: grid; justify-items: center; gap: 22px; width: min(520px, 78vw); animation: introLogoOut .6s 2.3s var(--ease) forwards; }
.intro__svg { width: 100%; height: auto; overflow: visible; color: var(--crema); }
.il-word { fill: transparent; stroke: var(--crema); stroke-width: 1.1; stroke-dasharray: 1 1; stroke-dashoffset: 1; animation: ilDraw 1.35s .25s cubic-bezier(.6, .1, .3, 1) forwards, ilFill .6s 1.25s forwards; }
@keyframes ilDraw { to { stroke-dashoffset: 0; } }
@keyframes ilFill { to { fill: var(--crema); stroke-width: 0; } }
.il-roll { transform-box: fill-box; transform-origin: 50% 50%; transform: translateX(160px) rotate(300deg); opacity: 0; animation: ilRoll .95s .85s cubic-bezier(.2, .9, .25, 1.05) forwards; }
@keyframes ilRoll { 15% { opacity: 1; } to { transform: none; opacity: 1; } }
.il-ball { fill: var(--led); }
.il-dot { fill: var(--tapete); }
.il-line { stroke: var(--led); stroke-width: 1.4; fill: none; transform-box: fill-box; transform-origin: 50% 50%; transform: scaleX(0); animation: ilLine .8s 1.45s var(--ease-out) forwards; }
@keyframes ilLine { to { transform: scaleX(1); } }
.il-sub { fill: var(--crema); opacity: 0; animation: introUp .7s 1.6s var(--ease-out) forwards; }
.intro__tag { font-size: .72rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--led); opacity: 0; animation: introUp .8s 1.75s var(--ease-out) forwards; }
@keyframes introUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes introLogoOut { to { opacity: 0; transform: scale(.94); filter: blur(4px); } }
@keyframes introFade { to { opacity: 0; } }
.intro__skip { position: absolute; z-index: 3; right: 20px; bottom: 20px; padding: 10px 16px; border-radius: 999px; font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(251, 246, 233, .75); box-shadow: inset 0 0 0 1px rgba(251, 246, 233, .3); animation: introFade .3s 2.6s forwards; }
.intro__skip:hover { color: var(--crema); box-shadow: inset 0 0 0 1px var(--crema); }
/* Saltar: todo sale de golpe */
.intro.is-skip .intro__logo, .intro.is-skip .intro__skip, .intro.is-skip .intro__seam { animation: introFade .25s forwards; }
.intro.is-skip .intro__half--a { animation: introA .7s .1s cubic-bezier(.7, 0, .2, 1) forwards; }
.intro.is-skip .intro__half--b { animation: introB .7s .1s cubic-bezier(.7, 0, .2, 1) forwards; }
@media (max-width: 820px) {
  .intro__half--a { clip-path: polygon(0 0, 100% 0, 100% 39.3%, 0 47.3%); }
  .intro__half--b { clip-path: polygon(0 46.7%, 100% 38.7%, 100% 100%, 0 100%); }
  @keyframes introA { to { transform: translateY(-104%); } }
  @keyframes introB { to { transform: translateY(104%); } }
  .intro__seam { -webkit-mask-size: 0% 100%; mask-size: 0% 100%; }
  .intro__seam i { clip-path: polygon(0 calc(47% - 1.5px), 100% calc(39% - 1.5px), 100% calc(39% + 1.5px), 0 calc(47% + 1.5px)); }
  .intro__logo { gap: 16px; }
}
/* un vídeo no se estira con left+right: se le da el ancho/alto exacto */
.screen--b .screen__v { width: calc(100% - (min(var(--sx), var(--bx)) - 3%)); }
@media (max-width: 820px) {
  .screen--b .screen__v { width: 100%; height: calc(100% - (min(var(--ly), var(--ry)) - 3%)); }
}
/* capas: vídeos < sombra del texto < línea de luz y tirador */
.split { z-index: auto; }
.hero__stage > .hero__shade { z-index: 1; }
.split__seam { z-index: 3; }
.split__knob { z-index: 5; }

/* ==========================================================================
   20. Portada con fotos (más suave a la vista) y botones de cristal tipo Apple
   ========================================================================== */
/* Fotos: fundido lento y un zoom casi imperceptible */
.screen .screen__v { clip-path: none; opacity: 0; transform: none; filter: none; transition: opacity 2.2s cubic-bezier(.4, 0, .2, 1); }
.screen .screen__v.is-on { opacity: 1; z-index: 2; animation: kbSoft 16s ease-out both; }
.screen .screen__v.was-on { opacity: 1; z-index: 1; transform: none; filter: none; }
@keyframes kbSoft { from { transform: scale(1.06); } to { transform: scale(1); } }
.screen__v { translate: calc(var(--mx, 0) * -6px) calc(var(--my, 0) * -4px); transition: opacity 2.2s cubic-bezier(.4, 0, .2, 1), translate .6s ease-out; }
.split:hover .screen { filter: brightness(.9); }
.screen__bar i { transform: scaleX(0); animation: barGrow var(--cada, 8s) linear forwards; }
@keyframes barGrow { to { transform: scaleX(1); } }
.screen__label.is-swap { animation: labelSoft 1.2s ease both; }
@keyframes labelSoft { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .screen .screen__v.is-on { animation: none; } .screen__bar i { animation: none; } }

/* ---- Botones de cristal ----
   Translúcidos, con desenfoque del fondo, brillo en el borde superior y una sombra suave.
   Sobre fondos claros: principal en verde ahumado y secundario en blanco escarchado.
   Sobre fondos oscuros: principal en crema escarchado y secundario en cristal claro. */
:root {
  --gl-blur: blur(20px) saturate(1.8);
  --gl-hi: inset 0 1px 0 rgba(255, 255, 255, .55);
  --gl-hi-soft: inset 0 1px 0 rgba(255, 255, 255, .28);
}
.btn, .round, .chip, .cartbtn, .lang__btn, .dock__cart, .dock__main, .split__knob, .intro__skip {
  -webkit-backdrop-filter: var(--gl-blur); backdrop-filter: var(--gl-blur);
}
.btn { overflow: hidden; isolation: isolate; letter-spacing: .01em; font-weight: 600;
  transition: transform .45s cubic-bezier(.2, .9, .3, 1.2), box-shadow .35s, background .35s, color .35s, filter .35s; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .32), rgba(255, 255, 255, 0) 55%); opacity: .7; transition: opacity .35s; }
.btn:hover { transform: translateY(-1px) scale(1.025); filter: brightness(1.05); }
.btn:hover::after { opacity: 1; }
.btn:active { transform: scale(.97); filter: brightness(.98); transition-duration: .12s; }
.btn:focus-visible { outline: 2px solid var(--cobre); outline-offset: 3px; }

/* fondos claros (por defecto) */
.btn--led, .sec:not(.espacio):not(.reservas) .btn--led, .ticket .btn--led, .form .btn--led, .nav.is-solid .btn--led, .tone-crema .btn--led {
  background: rgba(18, 51, 42, .8) !important; color: #FFF3D6 !important;
  box-shadow: var(--gl-hi-soft), inset 0 0 0 1px rgba(255, 255, 255, .12), 0 10px 26px -12px rgba(18, 51, 42, .65) !important;
}
.btn--ghost, .btn--glass, .ticket .btn--ghost, .contacto .btn--ghost {
  background: rgba(255, 255, 255, .45) !important; color: var(--tinta) !important;
  box-shadow: var(--gl-hi), inset 0 0 0 1px rgba(30, 36, 28, .1), 0 8px 22px -14px rgba(10, 28, 22, .45) !important;
}
.btn--ghost:hover, .ticket .btn--ghost:hover, .contacto .btn--ghost:hover { background: rgba(255, 255, 255, .68) !important; }

/* fondos oscuros */
.hero .btn--led, .suerte .btn--led, #suerte .btn--led, .espacio .btn--led, .reservas .btn--led, .foot .btn--led, .mmenu .btn--led, .lightbox .btn--led,
.promo__slide:not(.tone-crema) .btn--led, #carta .pg--dark .btn--led, .nav:not(.is-solid) .btn--led, .dock .dock__main {
  background: rgba(255, 248, 228, .9) !important; color: var(--tapete) !important;
  box-shadow: var(--gl-hi), inset 0 0 0 1px rgba(255, 255, 255, .55), 0 10px 30px -12px rgba(0, 0, 0, .5), 0 0 26px -8px rgba(255, 225, 150, .4) !important;
}
.hero .btn--ghost, .hero .btn--glass, .suerte .btn--ghost, .espacio .btn--ghost, .reservas .btn--ghost, .foot .btn--ghost, .mmenu .btn--ghost,
.promo__slide:not(.tone-crema) .btn--ghost, #carta .pg--dark .btn--ghost, .lucky .btn--ghost {
  background: rgba(255, 255, 255, .12) !important; color: #FBF6E9 !important;
  box-shadow: var(--gl-hi-soft), inset 0 0 0 1px rgba(255, 255, 255, .24), 0 8px 24px -12px rgba(0, 0, 0, .5) !important;
}
.hero .btn--ghost:hover, .hero .btn--glass:hover, .suerte .btn--ghost:hover, .espacio .btn--ghost:hover, .reservas .btn--ghost:hover, .foot .btn--ghost:hover,
.promo__slide:not(.tone-crema) .btn--ghost:hover, #carta .pg--dark .btn--ghost:hover, .lucky .btn--ghost:hover { background: rgba(255, 255, 255, .22) !important; }
/* cajas claras dentro de secciones oscuras: vuelven al estilo claro */
.reservas .form .btn--led, .reservas .ticket .btn--led {
  background: rgba(18, 51, 42, .82) !important; color: #FFF3D6 !important;
  box-shadow: var(--gl-hi-soft), inset 0 0 0 1px rgba(255, 255, 255, .12), 0 10px 26px -12px rgba(18, 51, 42, .65) !important;
}
.reservas .ticket .btn--ghost { background: rgba(255, 255, 255, .5) !important; color: var(--tinta) !important; box-shadow: var(--gl-hi), inset 0 0 0 1px rgba(30, 36, 28, .12) !important; }

/* botones redondos, filtros y controles pequeños */
.round { background: rgba(255, 255, 255, .4); box-shadow: var(--gl-hi), inset 0 0 0 1px rgba(30, 36, 28, .12), 0 6px 18px -10px rgba(10, 28, 22, .4); transition: background .3s, transform .4s cubic-bezier(.2, .9, .3, 1.2), box-shadow .3s; }
.round:hover { background: rgba(255, 255, 255, .7); color: inherit; box-shadow: var(--gl-hi), inset 0 0 0 1px rgba(30, 36, 28, .16), 0 8px 22px -10px rgba(10, 28, 22, .5); transform: scale(1.06); }
.espacio .round, .lightbox .round, .suerte .round, .promo .round { color: inherit; }
.lightbox .round, .espacio .round { background: rgba(255, 255, 255, .12); box-shadow: var(--gl-hi-soft), inset 0 0 0 1px rgba(255, 255, 255, .24); color: #FBF6E9; }
.lightbox .round:hover, .espacio .round:hover { background: rgba(255, 255, 255, .24); }
.chip { background: rgba(255, 255, 255, .38); box-shadow: var(--gl-hi), inset 0 0 0 1px rgba(30, 36, 28, .12); }
.chip:hover { background: rgba(255, 255, 255, .62); box-shadow: var(--gl-hi), inset 0 0 0 1px rgba(30, 36, 28, .18); }
.chip.is-on { background: rgba(18, 51, 42, .82); color: #FFF3D6; box-shadow: var(--gl-hi-soft), 0 6px 16px -8px rgba(18, 51, 42, .6); }
.suerte .chip { background: rgba(255, 255, 255, .1); box-shadow: var(--gl-hi-soft), inset 0 0 0 1px rgba(255, 255, 255, .22); }
.suerte .chip:hover { background: rgba(255, 255, 255, .2); }
.suerte .chip.is-on { background: rgba(255, 246, 220, .85); color: var(--tapete); box-shadow: var(--gl-hi); }
.lang__btn, .cartbtn { background: rgba(255, 255, 255, .14); box-shadow: var(--gl-hi-soft), inset 0 0 0 1px rgba(255, 255, 255, .28); }
.nav.is-solid .lang__btn, .nav.is-solid .cartbtn { background: rgba(255, 255, 255, .5); box-shadow: var(--gl-hi), inset 0 0 0 1px rgba(30, 36, 28, .1); }
.dock { background: rgba(18, 51, 42, .42) !important; }
.dock__cart { background: rgba(255, 255, 255, .1); box-shadow: var(--gl-hi-soft), inset 0 0 0 1px rgba(255, 255, 255, .2); }
.dock__main { border-radius: 999px; }
/* tirador de la portada: también de cristal */
.split__knob { background: rgba(255, 250, 236, .62); color: var(--tapete);
  box-shadow: var(--gl-hi), inset 0 0 0 1px rgba(255, 255, 255, .7), 0 0 0 6px rgba(255, 247, 220, .14), 0 0 28px rgba(255, 220, 130, .55), 0 12px 28px -8px rgba(0, 0, 0, .45); }
.split__knob:hover, .split.is-drag .split__knob { background: rgba(255, 250, 236, .8); }
.intro__skip { background: rgba(255, 255, 255, .08); box-shadow: var(--gl-hi-soft), inset 0 0 0 1px rgba(255, 255, 255, .22); }

/* ==========================================================================
   21. Pedido en 2 pantallas, muy sencillo
   ========================================================================== */
.cart__bar i[hidden] { display: none; }
.cart__head h2 { font-size: 1.75rem; }
/* buscador */
.cart__search { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 10px; margin: 0 0 10px; padding: 0 16px; height: 48px; border-radius: 14px;
  background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: var(--gl-blur); backdrop-filter: var(--gl-blur); box-shadow: var(--gl-hi), inset 0 0 0 1px rgba(30, 36, 28, .1); }
.cart__search svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--tinta-suave); stroke-width: 1.8; stroke-linecap: round; }
.cart__search input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; font: inherit; font-size: 1rem; color: var(--tinta); outline: none; }
.cart__search:focus-within { box-shadow: var(--gl-hi), inset 0 0 0 2px var(--tapete-vivo); }
.cart__cats { position: sticky; top: 58px; z-index: 2; margin: 0 -22px 4px; padding: 4px 22px 8px; background: linear-gradient(rgba(251, 246, 233, .95) 70%, rgba(251, 246, 233, 0)); }
/* repetir último pedido */
.cart__repeat { width: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; margin-bottom: 12px; padding: 14px 16px; border-radius: 16px; text-align: left;
  background: rgba(18, 51, 42, .88); color: #FFF3D6; box-shadow: var(--gl-hi-soft), 0 10px 24px -14px rgba(18, 51, 42, .7); transition: transform .3s var(--ease-out); }
.cart__repeat span { font-size: 1.3rem; color: var(--led); }
.cart__repeat small { font-size: .78rem; opacity: .75; }
.cart__repeat:hover { transform: translateY(-1px); }
/* platos con foto y botón */
.picks { display: grid; gap: 8px; padding-bottom: 8px; }
.pick { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px; border-radius: 16px; background: rgba(255, 255, 255, .5); box-shadow: inset 0 0 0 1px rgba(30, 36, 28, .07); transition: background .3s, box-shadow .3s; }
.pick.is-in { background: #fff; box-shadow: inset 0 0 0 1.5px rgba(46, 107, 82, .45), 0 8px 20px -14px rgba(10, 28, 22, .35); }
.pick__img { width: 58px; height: 58px; border-radius: 12px; overflow: hidden; display: grid; place-items: center; background: linear-gradient(135deg, var(--salvia-clara), var(--salvia)); }
.pick__img img { width: 100%; height: 100%; object-fit: cover; }
.pick__img b { font: 400 1.6rem var(--f-display); color: #FFF3D6; }
.pick__txt { display: grid; gap: 2px; min-width: 0; }
.pick__txt b { font-weight: 600; font-size: .95rem; line-height: 1.25; }
.pick__txt small { font-size: .78rem; color: var(--tinta-suave); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pick__price { font: 400 1rem var(--f-display); margin-top: 2px; }
.pick .add { width: 42px; height: 42px; font-size: 1.4rem; }
.qty--in { background: var(--tapete); color: #FFF3D6; box-shadow: none; }
.qty--in button { width: 36px; height: 36px; color: inherit; font-size: 1.15rem; }
.qty--in button:hover { background: rgba(255, 255, 255, .15); color: inherit; }
.qty--in span { min-width: 20px; font-weight: 700; }
/* botón grande del pie: nº de platos · Ver mi pedido · total */
.cart__go { min-height: 58px; justify-content: space-between; padding: 0 10px 0 10px; font-size: 1rem; }
.cart__go span { flex: 1; text-align: center; }
.cart__goN, .cart__goT { flex: none !important; display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 10px; border-radius: 999px; background: rgba(255, 255, 255, .16); font-variant-numeric: tabular-nums; }
.cart__goT { font-weight: 700; }
.cart__go:not(:has(.cart__goN)) { justify-content: center; }
.cart__tip { text-align: center; font-size: .92rem; color: var(--tinta-suave); padding: 12px 0; }
/* pantalla de confirmar: bloques */
.cbox { padding: 16px; margin-bottom: 12px; border-radius: 18px; background: rgba(255, 255, 255, .55); box-shadow: inset 0 0 0 1px rgba(30, 36, 28, .07); }
.cbox h3 { font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--cobre); margin-bottom: 12px; }
.cbox__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.cbox__head .link-led { font-size: .85rem; }
.cbox .cart__lines { margin: 0; }
.cbox .cart__lines li { grid-template-columns: minmax(0, 1fr) auto 70px; padding: 8px 0; }
.cbox .cart__lines li:last-child { border-bottom: 0; }
.cbox .field { margin-top: 12px; }
.cbox .field input, .cbox .field select, .cbox .field textarea { background-color: rgba(255, 255, 255, .85); }
/* elegir con un toque: recoger / a domicilio */
.seg { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 6px; padding: 5px; border-radius: 16px; background: rgba(30, 36, 28, .06); }
.seg__opt { position: relative; cursor: pointer; }
.seg__opt input { position: absolute; opacity: 0; pointer-events: none; }
.seg__opt span { display: grid; gap: 2px; padding: 12px 10px; border-radius: 12px; text-align: center; transition: background .3s, box-shadow .3s, color .3s; }
.seg__opt b { font-weight: 600; font-size: .92rem; }
.seg__opt small { font-size: .72rem; color: var(--tinta-suave); }
.seg__opt input:checked + span { background: #fff; box-shadow: var(--gl-hi), 0 6px 16px -8px rgba(10, 28, 22, .35), inset 0 0 0 1.5px var(--tapete-vivo); }
.seg__opt input:focus-visible + span { outline: 2px solid var(--cobre); outline-offset: 2px; }
/* forma de pago */
.pays { display: grid; gap: 8px; }
.payopt { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; cursor: pointer; background: rgba(255, 255, 255, .6); box-shadow: inset 0 0 0 1.5px rgba(30, 36, 28, .1); transition: box-shadow .25s, background .25s; }
.payopt input { position: absolute; opacity: 0; pointer-events: none; }
.payopt span { display: grid; gap: 1px; }
.payopt b { font-weight: 600; font-size: .93rem; }
.payopt small { font-size: .76rem; color: var(--tinta-suave); }
.payopt:has(input:checked) { background: #fff; box-shadow: inset 0 0 0 2px var(--tapete-vivo); }
.payopt:has(input:checked)::after { content: "✓"; position: absolute; right: 14px; top: 50%; translate: 0 -50%; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; background: var(--tapete-vivo); color: #fff; }
.payopt .choice__ico { width: 36px; height: 36px; border-radius: 10px; font-size: .95rem; }
.cart__addnote { margin-top: 12px; font-size: .88rem; font-weight: 600; color: var(--tapete-vivo); }
.cart__hint { margin-top: 8px; font-size: .78rem; color: var(--tinta-suave); }
.field.is-bad input { box-shadow: inset 0 0 0 2px #B4532F; }
.cart__sum { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; font-size: .86rem; color: var(--tinta-suave); }
.cart__sum b { font: 400 1.6rem var(--f-display); color: var(--tinta); }
/* aviso con botón «Ver pedido» */
.toast { display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 18px; }
.toast.is-on { pointer-events: auto; }
.toast:not(:has(button)) { padding: 12px 18px; }
.toast button { padding: 8px 14px; border-radius: 999px; font-size: .82rem; font-weight: 700; background: rgba(255, 246, 220, .9); color: var(--tapete); box-shadow: var(--gl-hi); }
@media (max-width: 820px) { .toast { bottom: 92px; } }

/* Pedido guardado en el servidor (pantalla final del carrito) */
.cart__saved { margin: 12px 0; padding: 12px 16px; border-radius: 14px; font-size: .92rem; font-weight: 500; background: rgba(46, 107, 82, .12); color: var(--tapete); border: 1px solid rgba(46, 107, 82, .22); }
.cart__saved--wait { background: rgba(185, 138, 90, .12); border-color: rgba(185, 138, 90, .25); color: var(--tinta-suave); }
