/* =========================================================
   Gordos Restaurant & Grocery's — estilos
   Paleta tomada del logotipo (se puede sobrescribir desde config.js)
   ========================================================= */
:root {
  --choc: #2A170E;
  --cocoa: #3E2417;
  --cocoa-2: #4B2D1D;
  --gold: #FFB81C;
  --sun: #FFD54A;
  --cream: #FFF6E6;
  --peach: #F2C49B;
  --ink-soft: rgba(255, 246, 230, .72);
  --ink-faint: rgba(255, 246, 230, .5);
  --line: rgba(255, 246, 230, .12);
  --hero-bg: #B9770E;

  --f-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --f-body: "DM Sans", "Segoe UI", system-ui, sans-serif;
  --f-script: "Yellowtail", cursive;

  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;
  --nav-h: 78px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, .55);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--choc); color: var(--cream);
  font: 400 16px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video, iframe { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.05; margin: 0; letter-spacing: -.02em; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--choc); padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }

/* ---------- Botones ---------- */
.btn {
  --bg: transparent; --fg: var(--cream);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .95em 1.6em; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg);
  font: 700 .95rem/1 var(--f-body); letter-spacing: .06em; text-transform: uppercase;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s;
  white-space: nowrap;
}
.btn svg { font-size: 1.15em; transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--gold { --bg: var(--gold); --fg: var(--choc); box-shadow: 0 10px 30px -10px rgba(255, 184, 28, .7); }
.btn--gold:hover { --bg: var(--sun); box-shadow: 0 16px 36px -12px rgba(255, 213, 74, .8); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn:disabled svg { display: none; }
.stepper button:disabled { opacity: .4; cursor: not-allowed; }
.btn--ghost { box-shadow: inset 0 0 0 2px rgba(255, 246, 230, .55); }
.btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--cream); background: rgba(255, 246, 230, .08); }
.btn--small { padding: .75em 1.2em; font-size: .78rem; }
.btn--whats { --bg: var(--gold); --fg: var(--choc); width: 100%; padding: 1.1em; font-size: .9rem; }
.btn--whats:hover { --bg: var(--sun); }
.btn--whats:disabled { opacity: .4; pointer-events: none; }
.btn--whats svg { fill: currentColor; stroke: none; font-size: 1.3em; }
.link-btn { background: none; border: 0; color: var(--ink-faint); font-size: .85rem; text-decoration: underline; text-underline-offset: 3px; padding: 6px; }
.link-btn:hover { color: var(--cream); }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 246, 230, .08); display: grid; place-items: center; font-size: 1.2rem; transition: background .25s, transform .25s; }
.icon-btn:hover { background: rgba(255, 246, 230, .16); transform: rotate(90deg); }

/* ---------- Navegación ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  transition: background .4s, box-shadow .4s, height .4s var(--ease), backdrop-filter .4s;
}
.nav.is-solid { background: rgba(42, 23, 14, .86); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 var(--line); }
html.nav-solid { --nav-h: 66px; }
.nav__inner { height: 100%; width: min(1320px, 100% - 32px); margin-inline: auto; display: flex; align-items: center; gap: 24px; }
.nav__brand img { height: calc(var(--nav-h) - 16px); width: auto; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .35)); transition: height .4s var(--ease), transform .4s var(--ease); }
.nav__brand:hover img { transform: rotate(-3deg) scale(1.04); }
.nav__links { display: flex; gap: 6px; margin-left: auto;
  background: rgba(42, 23, 14, .35); padding: 6px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.nav__links a { padding: .55em 1.1em; border-radius: 999px; font-weight: 500; font-size: .93rem; transition: background .25s, color .25s; }
.nav__links a:hover { background: rgba(255, 246, 230, .1); }
.nav__links a.is-active { background: var(--cream); color: var(--choc); }
.nav__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav__links + .nav__actions { margin-left: 0; }
@media (max-width: 860px) { .nav__links + .nav__actions { margin-left: auto; } .at-hero .fab { display: none !important; } }
.lang { display: flex; padding: 4px; border-radius: 999px; background: rgba(42, 23, 14, .35); box-shadow: inset 0 0 0 1px var(--line); }
.lang button { border: 0; background: none; padding: .45em .8em; border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; color: var(--ink-soft); transition: .25s; }
.lang button[aria-pressed="true"] { background: var(--gold); color: var(--choc); }
.cart-btn { position: relative; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--cream); color: var(--choc); display: grid; place-items: center; font-size: 1.35rem; transition: transform .3s var(--ease); }
.cart-btn:hover { transform: scale(1.06); }
.cart-btn__count { position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--gold); color: var(--choc); font: 700 .75rem/22px var(--f-body); text-align: center; box-shadow: 0 0 0 3px var(--choc); }
.cart-btn.bump { animation: bump .6s var(--ease); }
@keyframes bump { 30% { transform: scale(1.22) rotate(-8deg); } 60% { transform: scale(.94) rotate(4deg); } }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 246, 230, .1); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--cream); border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

/* ---------- Portada ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; background: var(--hero-bg); transition: background 1.1s var(--ease); }
.hero__bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(30, 14, 6, .55) 0%, rgba(30, 14, 6, .1) 45%, rgba(30, 14, 6, 0) 70%),
              radial-gradient(120% 90% at 58% 52%, transparent 40%, rgba(20, 9, 4, .5) 100%); }
.hero__rings { position: absolute; inset: -20%;
  background: repeating-radial-gradient(circle at 58% 50%, rgba(255, 246, 230, .075) 0 64px, rgba(255, 246, 230, 0) 64px 128px);
  animation: rings 22s linear infinite; }
@keyframes rings { from { transform: scale(1); } 50% { transform: scale(1.06); } to { transform: scale(1); } }
.hero__glow { position: absolute; width: 60vmin; height: 60vmin; left: 58%; top: 50%; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 230, 160, .45), transparent 65%); filter: blur(20px); }

.hero__inner { flex: 1; width: min(1320px, 100% - 40px); margin-inline: auto; padding: calc(var(--nav-h) + 24px) 0 70px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) 96px; align-items: center; gap: 24px; }
.hero__copy { max-width: 560px; min-width: 0; position: relative; z-index: 2; }
.hero__eyebrow { font: 700 .78rem/1.4 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--sun); }
.hero__script { font: 400 clamp(1.6rem, 2.6vw, 2.2rem)/1 var(--f-script); color: var(--cream); margin: 18px 0 6px; transform: rotate(-3deg); transform-origin: left; }
.hero__title { font: 800 clamp(2.8rem, 6.4vw, 5.6rem)/.92 var(--f-display); letter-spacing: -.035em; text-transform: uppercase; margin: 0; min-height: 1.84em; display: flex; align-items: flex-end; text-wrap: balance; }
.hero__title span { display: inline-block; }
.hero__desc { color: var(--ink-soft); font-size: 1.05rem; margin: 16px 0 24px; max-width: 44ch; min-height: 3.2em; }
.hero__buy { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.hero__price { font: 800 2.4rem/1 var(--f-display); color: var(--sun); }
.stepper { display: inline-flex; align-items: center; background: rgba(42, 23, 14, .45); border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255, 246, 230, .2); }
.stepper button { width: 40px; height: 40px; border: 0; background: none; border-radius: 50%; font-size: 1.2rem; transition: background .2s; }
.stepper button:hover { background: rgba(255, 246, 230, .14); }
.stepper output { min-width: 26px; text-align: center; font-weight: 700; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__stage { position: relative; aspect-ratio: 1; width: 100%; max-width: 640px; justify-self: center; }
.hero__plate { position: absolute; inset: 0; }
.hero__plate img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 40px 40px rgba(20, 8, 2, .55)); will-change: transform, opacity, filter; }
.hero__plate img.is-in { animation: plateIn 1.15s var(--ease) both; }
.hero__plate img.is-out { animation: plateOut .8s cubic-bezier(.55, 0, .7, .4) both; }
.hero__plate img.is-idle { animation: float 6s ease-in-out infinite; }
@keyframes plateIn { from { opacity: 0; transform: rotate(-110deg) scale(.55); filter: blur(10px) drop-shadow(0 40px 40px rgba(20, 8, 2, .55)); } }
@keyframes plateOut { to { opacity: 0; transform: rotate(90deg) scale(1.25) translateX(10%); filter: blur(12px) drop-shadow(0 40px 40px rgba(20, 8, 2, 0)); } }
@keyframes float { 50% { transform: translateY(-12px) rotate(2deg); } }

.hero__thumbs { position: relative; display: flex; flex-direction: column; gap: 10px; align-items: center; z-index: 2;
  max-height: calc(100svh - var(--nav-h) - 90px); overflow-y: auto; scrollbar-width: none; padding: 8px 4px 8px 22px; }
.hero__thumbs::-webkit-scrollbar { display: none; }
.thumb { flex: none; width: 60px; height: 60px; border-radius: 50%; border: 0; padding: 6px; background: rgba(42, 23, 14, .28);
  box-shadow: inset 0 0 0 1px rgba(255, 246, 230, .18); transition: transform .4s var(--ease), background .3s, box-shadow .3s; position: relative; }
.thumb img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .35)); transition: transform .5s var(--ease); }
.thumb:hover img { transform: rotate(-14deg) scale(1.08); }
.thumb[aria-selected="true"] { background: rgba(255, 246, 230, .18); box-shadow: inset 0 0 0 2px var(--sun); transform: scale(1.08); }
.thumb[aria-selected="true"]::after { content: ""; position: absolute; left: -16px; top: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); translate: 0 -50%; }

.hero__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 246, 230, .12); }
.hero__progress span { display: block; height: 100%; width: 0; background: var(--sun); }
.hero__progress span.run { animation: progress var(--dur, 5s) linear forwards; }
@keyframes progress { to { width: 100%; } }
.hero__scroll { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; width: 26px; height: 42px; border-radius: 14px; box-shadow: inset 0 0 0 2px rgba(255, 246, 230, .55); }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--cream); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 60% { transform: translateY(12px); opacity: 0; } 61% { transform: none; opacity: 0; } }

.reveal-load { opacity: 0; transform: translateY(24px); animation: rise .9s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes rise { to { opacity: 1; transform: none; } }
.swap-out { animation: swapOut .35s ease forwards; }
.swap-in { animation: swapIn .6s var(--ease) forwards; }
@keyframes swapOut { to { opacity: 0; transform: translateY(-14px); filter: blur(4px); } }
@keyframes swapIn { from { opacity: 0; transform: translateY(18px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }

/* ---------- Cinta ---------- */
.ribbon { background: var(--gold); color: var(--choc); overflow: hidden; padding: 14px 0; transform: rotate(-1.2deg); margin: -10px -10px 0; position: relative; z-index: 3; box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .5); }
.ribbon__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.ribbon__track span { font: 800 1.15rem/1 var(--f-display); text-transform: uppercase; letter-spacing: .02em; padding: 0 22px; display: inline-flex; align-items: center; gap: 44px; }
.ribbon__track span::after { content: "✦"; font-size: .8em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head h2, .social h2 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); font-weight: 800; text-wrap: balance; }
.kicker { font: 400 1.7rem/1 var(--f-script); color: var(--gold); margin: 0 0 10px; }
.kicker--light { color: var(--sun); }
.lead { color: var(--ink-soft); font-size: 1.08rem; margin: 16px auto 0; max-width: 56ch; }

.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Menú ---------- */
.menu { padding: 110px 0 120px; background:
  radial-gradient(900px 500px at 10% 0%, rgba(255, 184, 28, .08), transparent 60%),
  radial-gradient(900px 600px at 100% 40%, rgba(242, 196, 155, .06), transparent 60%), var(--choc); }
.filters { position: sticky; top: calc(var(--nav-h) - 1px); z-index: 20; display: flex; gap: 14px; align-items: center; padding: 12px 0; margin-bottom: 26px; transition: background .3s; }
.filters.is-stuck { background: rgba(42, 23, 14, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line), 0 0 0 100vmax rgba(42, 23, 14, .92); clip-path: inset(0 -100vmax); }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; flex: 1; padding: 2px; scroll-snap-type: x proximity; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 0; padding: .7em 1.2em; border-radius: 999px; background: var(--cocoa); color: var(--ink-soft); font-weight: 500; font-size: .92rem; box-shadow: inset 0 0 0 1px var(--line); transition: background .25s, color .25s, transform .25s; scroll-snap-align: start; }
.chip:hover { color: var(--cream); transform: translateY(-1px); }
.chip[aria-selected="true"] { background: var(--gold); color: var(--choc); font-weight: 700; box-shadow: none; }
.chip small { opacity: .6; margin-left: 4px; font-weight: 700; }
.search { flex: 0 0 260px; display: flex; align-items: center; gap: 8px; background: var(--cocoa); border-radius: 999px; padding: 0 16px; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-faint); }
.search:focus-within { box-shadow: inset 0 0 0 2px var(--gold); }
.search input { border: 0; background: none; outline: 0; padding: .78em 0; width: 100%; color: var(--cream); }
.search input::placeholder { color: var(--ink-faint); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 26px; }
.card { background: var(--cocoa); border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line); }
.dish { display: flex; flex-direction: column; overflow: hidden; position: relative; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.dish.enter { animation: cardIn .7s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes cardIn { from { opacity: 0; transform: translateY(26px) scale(.97); } }
.dish:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgba(255, 184, 28, .4), var(--shadow); }
.dish__media { position: relative; aspect-ratio: 1; overflow: hidden; background: #141414; }
.dish__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .4s; }
.dish:hover .dish__media img { transform: scale(1.08) rotate(-2deg); }
.dish__media::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(transparent, rgba(62, 36, 23, .95)); pointer-events: none; }
.dish__media img.fade { opacity: 0; }
.dish__tag { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--gold); color: var(--choc); font: 700 .7rem/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; padding: .6em .9em; border-radius: 999px; }
.dish__qty { position: absolute; top: 14px; right: 14px; z-index: 2; background: var(--cream); color: var(--choc); font: 700 .78rem/1 var(--f-body); padding: .55em .8em; border-radius: 999px; display: inline-flex; gap: 5px; align-items: center; transform: scale(0); transition: transform .45s var(--ease); }
.dish__qty.on { transform: scale(1); }
.dish__body { padding: 4px 22px 22px; display: flex; flex-direction: column; flex: 1; position: relative; z-index: 1; margin-top: -26px; }
.dish__name { font-size: 1.4rem; font-weight: 800; margin-bottom: 8px; }
.dish__desc { color: var(--ink-soft); font-size: .93rem; line-height: 1.5; margin: 0 0 16px; }
.dish__opts { display: grid; gap: 8px; margin-bottom: 16px; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; width: 100%; border: 0; background: var(--cocoa-2); color: var(--cream); border-radius: var(--r-sm); padding: .7em 2.4em .7em .9em; font-size: .9rem; box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; }
.select select:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
.select::after { content: ""; position: absolute; right: 14px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.select span { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); margin: 0 0 5px 2px; }
.select option { background: var(--cocoa); }
.tops { border: 0; margin: 0; padding: 0; min-width: 0; }
.tops legend { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); margin: 4px 0 8px 2px; padding: 0; }
.tops__list { display: flex; flex-wrap: wrap; gap: 6px; }
.top { position: relative; cursor: pointer; }
.top input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.top span { display: inline-flex; align-items: center; gap: 5px; padding: .5em .8em; border-radius: 999px; font-size: .82rem; background: var(--cocoa-2); color: var(--ink-soft); box-shadow: inset 0 0 0 1px var(--line); transition: background .2s, color .2s, transform .2s; user-select: none; }
.top span::before { content: "+"; font-weight: 700; color: var(--gold); }
.top:hover span { color: var(--cream); transform: translateY(-1px); }
.top input:checked + span { background: var(--gold); color: var(--choc); font-weight: 700; box-shadow: none; }
.top input:checked + span::before { content: "✓"; color: var(--choc); }
.top input:focus-visible + span { outline: 2px solid var(--sun); outline-offset: 2px; }
.dish__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dish__price { font: 800 1.7rem/1 var(--f-display); color: var(--sun); }
.dish__foot { flex-wrap: wrap; }
.add { white-space: nowrap; border: 0; background: var(--gold); color: var(--choc); border-radius: 999px; padding: .85em 1.15em; font: 700 .76rem/1 var(--f-body); letter-spacing: .07em; text-transform: uppercase; display: inline-flex; gap: .5em; align-items: center; transition: background .3s, transform .3s var(--ease), box-shadow .3s; }
.add svg { font-size: 1.2em; }
.add:hover { background: var(--sun); transform: translateY(-2px); box-shadow: 0 10px 22px -10px rgba(255, 213, 74, .8); }
.add.is-added { background: var(--cream); }
.add:disabled { background: var(--cocoa-2); color: var(--ink-faint); cursor: not-allowed; transform: none; box-shadow: none; }
.add .ok { display: none; }
.add.is-added .ok { display: inline; } .add.is-added .plus { display: none; }
.dish.flash::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 3px var(--gold); z-index: 3; pointer-events: none; animation: flash 1s ease forwards; }
@keyframes flash { to { opacity: 0; } }
.empty-results { text-align: center; color: var(--ink-soft); padding: 40px 0; }

/* fly-to-cart */
.fly { position: fixed; z-index: 120; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; pointer-events: none; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); transition: transform .8s cubic-bezier(.5, -0.3, .6, 1), opacity .8s; }

/* ---------- Video ---------- */
.film { position: relative; min-height: 78vh; display: grid; align-items: center; overflow: hidden; background: #1a0d07 url("../assets/video/hero-poster.jpg?v=5") center/cover no-repeat; }
.film__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(42, 23, 14, .95) 0%, rgba(42, 23, 14, .7) 45%, rgba(42, 23, 14, .25) 100%); }
.film__inner { position: relative; padding: 110px 0; }
.film__title { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 800; max-width: 12ch; }
.film__title em { font-style: normal; color: var(--sun); }
.film__points { list-style: none; padding: 0; margin: 28px 0 34px; display: grid; gap: 10px; }
.film__points li { display: flex; gap: 12px; align-items: center; color: var(--ink-soft); font-size: 1.05rem; }
.film__points li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(255, 184, 28, .2); }

/* ---------- Información ---------- */
.info { padding: 120px 0; }
.info__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; }
.map { overflow: hidden; min-height: 440px; position: relative; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.3) sepia(.25) contrast(1.05); }
.info__side { display: grid; gap: 24px; }
.info-card { padding: 28px; display: flex; gap: 18px; }
.info-card h3 { font-size: 1.35rem; margin-bottom: 8px; }
.info-card p { color: var(--ink-soft); margin: 0 0 16px; }
.info-card__icon { flex: none; width: 48px; height: 48px; border-radius: 14px; background: rgba(255, 184, 28, .14); color: var(--gold); display: grid; place-items: center; font-size: 1.4rem; }
.hours { flex: 1; }
.hours__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; padding: .45em .85em; border-radius: 999px; background: rgba(255, 246, 230, .08); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink-faint); }
.status.open { background: rgba(255, 213, 74, .16); color: var(--sun); }
.status.open::before { background: var(--sun); box-shadow: 0 0 0 0 rgba(255, 213, 74, .7); animation: pulse 2s infinite; }
.status.closed { color: var(--peach); }
.status.closed::before { background: var(--peach); }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(255, 213, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 213, 74, 0); } }
.hours__list, .footer__hours { list-style: none; margin: 0; padding: 0; }
.hours__list li { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed var(--line); color: var(--ink-soft); font-size: .95rem; }
.hours__list li:last-child { border: 0; }
.hours__list li.today { color: var(--cream); font-weight: 700; }
.hours__list li.today span:first-child::after { content: " •"; color: var(--gold); }

.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-top: 24px; }
.contact__item { padding: 22px 24px; display: flex; gap: 16px; align-items: center; transition: transform .4s var(--ease), box-shadow .4s; }
.contact__item:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(255, 184, 28, .45), var(--shadow); }
.contact__item > svg { flex: none; font-size: 1.5rem; color: var(--gold); width: 48px; height: 48px; padding: 12px; border-radius: 14px; background: rgba(255, 184, 28, .14); }
.contact__item small { display: block; color: var(--ink-faint); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; }
.contact__item strong { font-size: 1.05rem; word-break: break-word; }

/* ---------- Redes ---------- */
.social { padding: 20px 0 120px; }
.social__inner { background: linear-gradient(120deg, var(--gold), #F59E0B 60%, var(--sun)); color: var(--choc); border-radius: 36px; padding: 56px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: center; position: relative; overflow: hidden; }
.social__inner::before { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: repeating-radial-gradient(circle, rgba(42, 23, 14, .08) 0 26px, transparent 26px 52px); }
.social .kicker { color: var(--choc); }
.social .lead { color: rgba(42, 23, 14, .78); margin-left: 0; }
.social__links { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; justify-content: flex-end; position: relative; }
.social__icon { width: 62px; height: 62px; border-radius: 50%; background: var(--choc); color: var(--cream); display: grid; place-items: center; font-size: 1.5rem; transition: transform .4s var(--ease), background .3s; }
.social__icon:hover { transform: translateY(-4px) rotate(-8deg); background: var(--cocoa); }
.social .btn--gold { --bg: var(--choc); --fg: var(--cream); box-shadow: none; }
.social .btn--gold:hover { --bg: var(--cocoa); }

/* ---------- Footer ---------- */
.footer { background: #1E0F08; padding: 80px 0 30px; color: var(--ink-soft); font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer h3 { color: var(--cream); font-size: 1.05rem; margin-bottom: 14px; }
.footer__brand img { width: 150px; height: auto; margin-bottom: 14px; }
.footer__name { color: var(--cream); font: 700 1.15rem/1.2 var(--f-display); margin: 0; }
.footer__tag { margin: 6px 0 0; }
.footer__hours li { display: flex; justify-content: space-between; gap: 10px; padding: 2px 0; }
.footer a:hover { color: var(--sun); }
.footer__social { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px; }
.footer__social a { text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom { border-top: 1px solid var(--line); margin-top: 50px; padding-top: 24px; font-size: .85rem; color: var(--ink-faint);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-bottom: 70px; }
.footer__bottom p { margin: 0; }
.footer__credit a { color: var(--gold); font-weight: 700; }
.footer__credit a:hover { color: var(--sun); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Carrito ---------- */
.overlay { position: fixed; inset: 0; z-index: 90; background: rgba(15, 7, 3, .6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity .4s; }
.overlay.on { opacity: 1; }
.drawer { position: fixed; z-index: 100; top: 0; right: 0; height: 100%; height: 100dvh; width: min(440px, 100%); background: var(--choc); box-shadow: -30px 0 60px rgba(0, 0, 0, .45); display: flex; flex-direction: column; transform: translateX(105%); transition: transform .55s var(--ease); }
.drawer.open { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 1.6rem; display: flex; align-items: center; gap: 10px; }
.drawer__count { background: var(--gold); color: var(--choc); font: 700 .85rem/1 var(--f-body); padding: .4em .7em; border-radius: 999px; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 24px 20px; overscroll-behavior: contain; }
.cart-list { list-style: none; margin: 0; padding: 0; }
.cart-item { display: grid; grid-template-columns: 74px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; animation: cardIn .45s var(--ease) both; }
.cart-item img { width: 74px; height: 74px; border-radius: 16px; object-fit: cover; }
.cart-item h3 { font: 700 1rem/1.25 var(--f-display); letter-spacing: -.01em; }
.cart-item__opt { color: var(--ink-faint); font-size: .82rem; margin: 2px 0 8px; }
.cart-item__unit { color: var(--ink-soft); font-size: .82rem; }
.cart-item__right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.cart-item__sub { font: 800 1.05rem/1 var(--f-display); color: var(--sun); }
.qty { display: inline-flex; align-items: center; background: var(--cocoa); border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); }
.qty button { width: 32px; height: 32px; border: 0; background: none; border-radius: 50%; font-size: 1rem; }
.qty button:hover { background: rgba(255, 246, 230, .12); }
.qty span { min-width: 22px; text-align: center; font-weight: 700; font-size: .9rem; }
.remove { border: 0; background: none; color: var(--ink-faint); font-size: .78rem; text-decoration: underline; padding: 0; }
.remove:hover { color: var(--peach); }
.cart-empty { text-align: center; padding: 50px 10px; color: var(--ink-soft); }
.cart-empty img { margin: 0 auto 14px; width: 160px; height: 160px; object-fit: contain; animation: float 5s ease-in-out infinite; }
.cart-extra { display: grid; gap: 12px; margin-top: 18px; }
.cart-extra label span { display: block; font-size: .8rem; color: var(--ink-faint); margin-bottom: 6px; }
.cart-extra input, .cart-extra textarea { width: 100%; background: var(--cocoa); border: 0; border-radius: var(--r-sm); padding: .8em .95em; box-shadow: inset 0 0 0 1px var(--line); resize: vertical; }
.cart-extra input:focus, .cart-extra textarea:focus { outline: 0; box-shadow: inset 0 0 0 2px var(--gold); }
.drawer__foot { padding: 18px 24px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--cocoa); display: grid; gap: 10px; }
.totals { display: grid; gap: 6px; margin-bottom: 4px; }
.totals div { display: flex; justify-content: space-between; color: var(--ink-soft); }
.totals__grand { color: var(--cream) !important; font: 800 1.5rem/1.2 var(--f-display); }

.fab { position: fixed; z-index: 60; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); translate: -50% 0; border: 0; background: var(--gold); color: var(--choc); padding: 1em 1.5em; border-radius: 999px; font: 700 .92rem/1 var(--f-body); box-shadow: 0 14px 30px -8px rgba(0, 0, 0, .6); display: none; white-space: nowrap; animation: rise .5s var(--ease); }

.toast { position: fixed; z-index: 130; left: 50%; top: calc(var(--nav-h) + 14px); translate: -50% -20px; opacity: 0; pointer-events: none; background: var(--cream); color: var(--choc); padding: .8em 1.3em; border-radius: 999px; font-weight: 700; font-size: .9rem; box-shadow: var(--shadow); transition: opacity .35s, translate .5s var(--ease); max-width: calc(100% - 32px); text-align: center; }
.toast.on { opacity: 1; translate: -50% 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hero__thumbs { grid-column: 1 / -1; flex-direction: row; justify-content: safe center; max-height: none; overflow-x: auto; overflow-y: hidden; padding: 6px 4px 16px; }
  .thumb[aria-selected="true"]::after { left: 50%; top: auto; bottom: -14px; translate: -50% 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .contact { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  :root { --nav-h: 68px; }
  html.nav-solid { --nav-h: 62px; }
  .burger { display: block; }
  .nav__links { position: fixed; inset: var(--nav-h) 12px auto; flex-direction: column; gap: 4px; padding: 12px; border-radius: 22px; background: rgba(42, 23, 14, .97); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); opacity: 0; pointer-events: none; transform: translateY(-10px); transition: opacity .3s, transform .4s var(--ease); }
  .nav__links.open { opacity: 1; pointer-events: auto; transform: none; }
  .nav__links a { padding: .9em 1.1em; font-size: 1.05rem; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); text-align: center; gap: 10px; padding-top: calc(var(--nav-h) + 8px); padding-bottom: 56px; }
  .hero__stage { order: -1; width: min(82vw, 430px); }
  .hero__copy { margin-inline: auto; }
  .hero__script { transform-origin: center; margin-top: 12px; }
  .hero__title { justify-content: center; min-height: 1.84em; font-size: clamp(2.3rem, 10vw, 3.4rem); }
  .hero__desc { margin-inline: auto; font-size: .98rem; }
  .hero__buy, .hero__cta { justify-content: center; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(30, 14, 6, 0) 30%, rgba(30, 14, 6, .55) 100%), radial-gradient(120% 90% at 50% 30%, transparent 40%, rgba(20, 9, 4, .5) 100%); }
  .hero__rings { background: repeating-radial-gradient(circle at 50% 28%, rgba(255, 246, 230, .075) 0 46px, rgba(255, 246, 230, 0) 46px 92px); }
  .hero__glow { left: 50%; top: 28%; }
  .hero__thumbs { gap: 8px; justify-content: safe center; overflow-x: auto; scrollbar-width: none; padding: 6px 4px 14px; }
  .hero__thumbs::-webkit-scrollbar { display: none; }
  .thumb { flex: none; width: clamp(44px, 13vw, 62px); height: clamp(44px, 13vw, 62px); padding: 3px; }
  .thumb[aria-selected="true"]::after { bottom: -10px; width: 6px; height: 6px; }
  .hero__scroll { display: none; }
  .filters { flex-direction: column; align-items: stretch; gap: 10px; top: calc(var(--nav-h) - 58px); padding: 10px 0;
    background: var(--choc); box-shadow: 0 0 0 100vmax var(--choc); clip-path: inset(0 -100vmax); }
  .filters.is-stuck { box-shadow: 0 1px 0 var(--line), 0 0 0 100vmax var(--choc); }
  .search { flex: none; order: -1; height: 46px; }
  .search input { padding: 0; height: 100%; }
  .info__grid, .social__inner { grid-template-columns: 1fr; }
  .map { min-height: 320px; }
  .social__inner { padding: 40px 28px; }
  .social__links { justify-content: flex-start; }
  .fab:not([hidden]) { display: inline-flex; gap: .4em; }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 28px); }
  .lang button { padding: .45em .6em; }
  .menu, .info { padding: 80px 0; }
  .grid { grid-template-columns: 1fr; gap: 20px; }
  .contact { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .hero__cta .btn { flex: 1 1 0; min-width: 0; padding-inline: .8em; font-size: .85rem; }
  .hero__eyebrow { font-size: .68rem; letter-spacing: .14em; }
  .hero__buy { gap: 12px; }
  .hero__price { font-size: 2rem; }
  .film__inner { padding: 80px 0; }
  .nav__actions { gap: 6px; }
}
@media (max-width: 380px) {
  .nav__brand img { height: 46px; }
  .cart-btn { width: 42px; height: 42px; }
  .burger { width: 42px; height: 42px; } .burger span { left: 11px; right: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-load { opacity: 1; transform: none; }
}
