/* =============================================================
   VIKINGAS · styles.css
   Arquetipo: Editorial Dark Warm (adaptado a marca vikinga)
   ============================================================= */

/* 1. Tokens ---------------------------------------------------- */
:root {
  --bg:      #0D0A08;
  --bg-2:    #15100C;
  --bg-3:    #1E1711;
  --bg-4:    #2A2018;
  --cream:   #F3EAD7;
  --cream-2: #D6C8AD;
  --mute:    #9A8A70;
  --gold:    #E3A92C;
  --gold-2:  #F7CD62;
  --gold-3:  #9C6F12;
  --red:     #C8232B;
  --red-2:   #8E141A;
  --blue:    #0B2E86;
  --blue-2:  #1E4BC4;
  --wa:      #25D366;
  --line:    rgba(243, 234, 215, .12);
  --line-2:  rgba(227, 169, 44, .28);

  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --fraktur: "Pirata One", "Barlow Condensed", serif;
  --sans:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --runic:   "Noto Sans Runic", "Segoe UI Historic", "Segoe UI Symbol", serif;

  --gutter: clamp(16px, 4.5vw, 56px);
  --maxw: 1240px;
  --radius: 18px;
  --nav-h: 64px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* 2. Reset & base --------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 56px); background: var(--bg); }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--cream);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.is-locked { overflow: hidden; }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1; }
ul { list-style: none; padding: 0; }
::selection { background: var(--gold); color: var(--bg); }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

/* 3. Utilities ------------------------------------------------ */
.skip-link { position: fixed; top: -100px; left: 1rem; padding: .6rem 1rem; background: var(--gold); color: var(--bg); z-index: 9999; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.muted { color: var(--mute); }
.small { font-size: .8rem; }
.center { text-align: center; }
.rune { font-family: var(--runic); color: var(--gold); font-style: normal; }
.rune.big { font-size: 3rem; line-height: 1; }
.gold { color: var(--gold); }

.section { padding: clamp(72px, 12vw, 140px) var(--gutter); max-width: calc(var(--maxw) + var(--gutter) * 2); margin: 0 auto; }
.section-head { margin-bottom: clamp(28px, 5vw, 56px); max-width: 720px; }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; max-width: none; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .22em;
  font-size: .82rem; color: var(--gold); margin-bottom: 14px;
}
.eyebrow::after { content: ""; width: 42px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
.section-title {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.5rem, 9vw, 5.2rem); letter-spacing: -.01em; line-height: .92;
}
.section-title em { font-family: var(--fraktur); font-style: normal; font-weight: 400; text-transform: none; color: var(--gold); letter-spacing: 0; font-size: 1.05em; }
.section-lead { margin-top: 18px; color: var(--cream-2); max-width: 56ch; }

/* 4. Buttons -------------------------------------------------- */
.btn {
  --b-bg: var(--gold); --b-fg: var(--bg);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: 0 1.5em; border-radius: 999px;
  font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: 1.08rem;
  background: var(--b-bg); color: var(--b-fg);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .3s;
  overflow: hidden; isolation: isolate; white-space: nowrap;
}
.btn::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease-out); z-index: -1; }
.btn:hover::before { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-wa { --b-bg: var(--wa); --b-fg: #04210F; box-shadow: 0 10px 30px -10px rgba(37,211,102,.55); }
.btn-gold { box-shadow: 0 10px 30px -12px rgba(227,169,44,.6); }
.btn-ghost { --b-bg: rgba(243,234,215,.06); --b-fg: var(--cream); border: 1px solid var(--line-2); backdrop-filter: blur(6px); }
.btn-ghost:hover { --b-bg: rgba(227,169,44,.14); }
.btn-block { width: 100%; }

/* 5. Splash --------------------------------------------------- */
.splash {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: var(--bg);
  animation: splashOut .6s var(--ease-out) 2.6s forwards; /* red de seguridad CSS */
}
.splash-inner { display: grid; justify-items: center; gap: 22px; }
.splash img { width: min(200px, 48vw); animation: splashLogo 1.1s var(--ease-bounce) both; filter: drop-shadow(0 0 40px rgba(227,169,44,.35)); }
.splash-bar { width: 140px; height: 2px; background: var(--line); overflow: hidden; border-radius: 2px; }
.splash-bar span { display: block; height: 100%; width: 100%; background: var(--gold); transform-origin: left; animation: splashBar 1.3s var(--ease-soft) both .2s; }
html.is-ready .splash { animation: splashOut .55s var(--ease-out) forwards; }
@keyframes splashLogo { from { opacity: 0; transform: scale(.8) rotate(-4deg); } to { opacity: 1; transform: none; } }
@keyframes splashBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes splashOut { to { opacity: 0; visibility: hidden; pointer-events: none; } }

/* 6. Nav ------------------------------------------------------ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 var(--gutter);
  transition: background .4s, border-color .4s, transform .45s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-solid { background: rgba(13,10,8,.82); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-color: var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav-logo img { width: 52px; height: auto; filter: drop-shadow(0 4px 12px rgba(0,0,0,.6)); }
.nav-links { display: none; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.open-pill { display: none; align-items: center; gap: 8px; font-size: .78rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: rgba(243,234,215,.06); border: 1px solid var(--line); white-space: nowrap; }
.open-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mute); }
.open-pill.is-open .dot { background: var(--wa); box-shadow: 0 0 0 0 rgba(37,211,102,.6); animation: pulse 2s infinite; }
.open-pill.is-closed .dot { background: var(--red); }
.open-pill--lg { display: inline-flex; font-size: .9rem; white-space: normal; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
.cart-btn { position: relative; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: rgba(243,234,215,.07); border: 1px solid var(--line); transition: transform .3s var(--ease-bounce), background .3s; }
.cart-btn:hover { background: rgba(227,169,44,.16); }
.cart-btn.bump { animation: bump .5s var(--ease-bounce); }
@keyframes bump { 40% { transform: scale(1.25); } }
.cart-count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--red); color: #fff; font-size: .72rem; font-weight: 700; display: grid; place-items: center; transform: scale(0); transition: transform .3s var(--ease-bounce); }
.cart-count.has-items { transform: scale(1); }
.burger { width: 46px; height: 46px; display: grid; place-content: center; gap: 6px; border-radius: 50%; background: rgba(243,234,215,.07); border: 1px solid var(--line); }
.burger span { display: block; width: 18px; height: 2px; background: var(--cream); transition: transform .35s var(--ease-out); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.nav.menu-open .nav-links {
  display: flex; position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; gap: 4px;
  padding: 18px var(--gutter) 28px; background: rgba(13,10,8,.97); border-bottom: 1px solid var(--line);
  animation: dropIn .45s var(--ease-out);
}
.nav.menu-open { background: rgba(13,10,8,.97); }
.nav.menu-open .nav-links a { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 2rem; padding: 6px 0; border-bottom: 1px solid var(--line); }
@keyframes dropIn { from { opacity: 0; transform: translateY(-12px); } }

/* 7. Hero ----------------------------------------------------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; padding: calc(var(--nav-h) + 20px) var(--gutter) 48px; }
.hero-media { position: absolute; inset: 0; z-index: -3; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; transform: scale(1.08); filter: saturate(1.08) contrast(1.06); }
.hero-tint { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(13,10,8,.35) 0%, rgba(13,10,8,.05) 28%, rgba(13,10,8,.35) 52%, rgba(13,10,8,.94) 74%, var(--bg) 100%),
  radial-gradient(80% 50% at 50% 100%, rgba(13,10,8,.6), transparent 70%); }
.hero-embers { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; pointer-events: none; }
.hero-grain { position: absolute; inset: -50%; z-index: -1; pointer-events: none; opacity: .08;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0%,100% { transform: translate(0,0); } 20% { transform: translate(-4%,3%); } 40% { transform: translate(3%,-5%); } 60% { transform: translate(-6%,-2%); } 80% { transform: translate(5%,4%); } }
.hero-ring { position: absolute; z-index: -2; color: var(--gold); width: min(118vw, 560px); aspect-ratio: 1; left: 50%; top: 40%; translate: -50% -50%; pointer-events: none; opacity: .55; }
.hero-ring svg { width: 100%; height: 100%; animation: spin 60s linear infinite; }
.rune-text { font-family: var(--runic); font-size: 19px; letter-spacing: 6px; fill: currentColor; fill-opacity: .55; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-inner { position: relative; width: 100%; max-width: var(--maxw); margin: 0 auto; }
.hero-kicker { font-family: var(--display); text-transform: uppercase; letter-spacing: .28em; font-weight: 600; font-size: .8rem; color: var(--gold-2); display: flex; align-items: center; gap: .6em; margin-bottom: 10px; }
.hero-logo { display: none; }
.hero-title { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(3rem, 15.5vw, 8.6rem); line-height: .86; letter-spacing: -.015em; text-shadow: 0 6px 40px rgba(0,0,0,.6); }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero-title .line > span { display: inline-block; }
.hero-title .gold { font-family: var(--fraktur); font-weight: 400; text-transform: none; font-size: 1.08em; letter-spacing: 0; background: linear-gradient(180deg, var(--gold-2), var(--gold) 55%, var(--gold-3)); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 24px rgba(227,169,44,.35)); padding-right: .08em; }
.hero-sub { margin-top: 16px; max-width: 42ch; color: var(--cream-2); font-size: 1.02rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-actions .btn { flex: 1 1 200px; }
.hero-star { position: absolute; right: 0; bottom: calc(100% + 16px); display: grid; justify-items: end; text-align: right; padding: 12px 16px; border-radius: 14px; background: rgba(13,10,8,.55); border: 1px solid var(--line-2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: transform .4s var(--ease-out); }
.hero-star:hover { transform: translateY(-3px) rotate(-1deg); }
.hero-star-label { font-size: .66rem; text-transform: uppercase; letter-spacing: .2em; color: var(--mute); }
.hero-star-name { font-family: var(--fraktur); font-size: 1.7rem; line-height: 1; color: var(--cream); }
.hero-star-price { font-family: var(--display); font-weight: 800; font-size: 1.4rem; color: var(--gold); line-height: 1.1; }
.hero-star-price sup { font-size: .55em; }
.hero-scroll { display: none; }

/* Marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line-2); background: linear-gradient(90deg, var(--bg-2), var(--bg-3), var(--bg-2)); padding: 14px 0; }
.marquee-track { display: flex; width: max-content; gap: 28px; align-items: center; animation: marquee 32s linear infinite; }
.marquee span { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.35rem; letter-spacing: .06em; white-space: nowrap; }
.marquee i { font-family: var(--runic); font-style: normal; color: var(--gold); font-size: 1.2rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* 8. Menu ----------------------------------------------------- */
.menu-tabs-wrap { position: sticky; top: var(--nav-h); z-index: 30; margin: 0 calc(var(--gutter) * -1) 28px; padding: 10px var(--gutter); background: rgba(13,10,8,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); transition: top .45s var(--ease-out); }
.nav.is-hidden ~ main .menu-tabs-wrap { top: 0; }
.menu-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.menu-tabs::-webkit-scrollbar { display: none; }
.menu-tab { flex: 0 0 auto; scroll-snap-align: start; padding: 10px 18px; border-radius: 999px; font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: 1rem; color: var(--cream-2); border: 1px solid var(--line); transition: background .3s, color .3s, border-color .3s; }
.menu-tab:hover { border-color: var(--line-2); color: var(--cream); }
.menu-tab.is-active { background: var(--gold); color: var(--bg); border-color: var(--gold); }

.menu-cat { margin-bottom: clamp(56px, 9vw, 96px); }
.menu-cat-head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.menu-cat-title { font-family: var(--fraktur); font-weight: 400; font-size: clamp(2.4rem, 8vw, 3.8rem); color: var(--gold); line-height: 1; }
.menu-cat-note { color: var(--mute); font-size: .92rem; }
.menu-cat-rule { flex: 1 1 80px; height: 1px; background: linear-gradient(90deg, var(--line-2), transparent); }

.dish-grid { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
.dish {
  position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2)); border: 1px solid var(--line);
  transition: border-color .4s, transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
  transform-style: preserve-3d;
}
.dish:hover { border-color: var(--line-2); box-shadow: 0 30px 60px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(227,169,44,.12); }
.dish-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #070504; }
.dish-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 70%; transform: scale(1.02); transition: transform .9s var(--ease-out), filter .6s; filter: saturate(1.05) contrast(1.04); }
.dish:hover .dish-media img { transform: scale(1.09); filter: saturate(1.2) contrast(1.06); }
.dish-media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(0deg, var(--bg-3), transparent); pointer-events: none; }
.dish-tags { position: absolute; top: 12px; left: 12px; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 5px 9px; border-radius: 999px; background: rgba(13,10,8,.75); border: 1px solid var(--line); backdrop-filter: blur(4px); }
.tag--hot { background: var(--red); border-color: var(--red); color: #fff; }
.tag--star { background: var(--gold); border-color: var(--gold); color: var(--bg); }
.tag--blue { background: var(--blue); border-color: var(--blue-2); color: #fff; }
.dish-body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 10px; padding: 4px 20px 20px; margin-top: -18px; flex: 1; }
.dish-name { font-family: var(--fraktur); font-weight: 400; font-size: 2.1rem; line-height: 1; color: var(--cream); }
.dish-desc { color: var(--cream-2); font-size: .92rem; line-height: 1.55; flex: 1; }
.dish-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; }
.price { font-family: var(--display); font-weight: 800; font-size: 1.9rem; color: var(--gold); line-height: 1; letter-spacing: -.01em; }
.price sup { font-size: .5em; margin-left: 1px; }
.add-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 999px; background: var(--cream); color: var(--bg); font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: 1rem; transition: transform .3s var(--ease-bounce), background .3s; }
.add-btn:hover { background: var(--gold-2); transform: scale(1.04); }
.add-btn:active { transform: scale(.95); }
.add-btn .plus { font-size: 1.3em; line-height: 0; }
.add-btn.is-added { background: var(--wa); color: #04210F; }
.dish-qty { position: absolute; top: 12px; right: 12px; z-index: 2; min-width: 30px; height: 30px; border-radius: 15px; padding: 0 8px; display: grid; place-items: center; background: var(--gold); color: var(--bg); font-weight: 800; font-size: .85rem; transform: scale(0); transition: transform .35s var(--ease-bounce); }
.dish-qty.has { transform: scale(1); }

/* Featured (first burger) */
.dish--hero .dish-name { font-size: 2.8rem; }

/* Compact list for extras / drinks */
.row-list { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
.row-item { display: flex; align-items: center; gap: 14px; padding: 12px 12px 12px 16px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); transition: border-color .3s; }
.row-item:hover { border-color: var(--line-2); }
.row-thumb { width: 54px; height: 54px; border-radius: 10px; object-fit: cover; flex: 0 0 auto; }
.row-main { flex: 1; min-width: 0; }
.row-name { font-weight: 600; }
.row-desc { color: var(--mute); font-size: .82rem; }
.row-price { font-family: var(--display); font-weight: 800; font-size: 1.3rem; color: var(--gold); }
.add-mini { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(243,234,215,.08); border: 1px solid var(--line-2); font-size: 1.3rem; font-weight: 700; color: var(--gold-2); flex: 0 0 auto; transition: transform .3s var(--ease-bounce), background .3s; }
.add-mini:hover { background: var(--gold); color: var(--bg); transform: rotate(90deg); }

.menu-loading { display: flex; gap: 8px; justify-content: center; padding: 60px 0; }
.menu-loading span { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); animation: blink 1s infinite alternate; }
.menu-loading span:nth-child(2) { animation-delay: .2s; } .menu-loading span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { from { opacity: .2; transform: scale(.7); } }
.menu-fallback { padding: 24px; border: 1px dashed var(--line-2); border-radius: 14px; color: var(--cream-2); }
.menu-fallback a { color: var(--gold); text-decoration: underline; }

/* Fly-to-cart */
.fly { position: fixed; z-index: 150; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; pointer-events: none; box-shadow: 0 10px 30px rgba(0,0,0,.6), 0 0 0 3px var(--gold); }

/* 9. Promos --------------------------------------------------- */
.promo-arrows { display: none; gap: 10px; }
.arrow { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); font-size: 1.3rem; transition: background .3s, color .3s; }
.arrow:hover { background: var(--gold); color: var(--bg); }
.promo-track { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 22px; margin: 0 calc(var(--gutter) * -1); scrollbar-width: thin; scrollbar-color: var(--gold-3) transparent; overscroll-behavior-x: contain; }
.promo { scroll-snap-align: center; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg-3); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .5s var(--ease-out); }
.promo:hover { transform: translateY(-6px); }
.promo-img { aspect-ratio: 4 / 5; overflow: hidden; }
.promo-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.promo:hover .promo-img img { transform: scale(1.05); }
.promo-day { justify-self: start; }
.promo-body { padding: 16px 18px 18px; display: grid; gap: 10px; }
.promo-title { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.45rem; line-height: 1; }
.promo-detail { color: var(--cream-2); font-size: .9rem; }
.promo-cta { justify-self: start; min-height: 42px; font-size: .95rem; padding: 0 16px; }
.promo-note { color: var(--mute); font-size: .82rem; margin-top: 6px; }

/* 10. Story --------------------------------------------------- */
.story { position: relative; overflow: hidden; isolation: isolate; padding: clamp(80px, 14vw, 170px) var(--gutter); border-block: 1px solid var(--line); }
.story-bg { position: absolute; inset: -12% 0; z-index: -1; }
.story-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 70%; opacity: .6; }
.story-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(13,10,8,.55) 30%, rgba(13,10,8,.7) 70%, var(--bg) 100%), linear-gradient(90deg, rgba(13,10,8,.85), transparent 70%); }
.story-inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.story-copy p { color: var(--cream-2); margin-top: 16px; max-width: 54ch; }
.story-copy p strong { color: var(--cream); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 34px; }
.stats div { border-top: 1px solid var(--line-2); padding-top: 12px; }
.stats dt { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 8vw, 3.4rem); color: var(--gold); line-height: 1; }
.stats dd { margin: 6px 0 0; color: var(--mute); font-size: .8rem; line-height: 1.35; }
.story-figure { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 40px 80px -40px rgba(0,0,0,.9); max-width: 520px; }
.story-figure::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(227,169,44,.35); border-radius: 12px; z-index: 1; pointer-events: none; }
.story-figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* 11. Reviews ------------------------------------------------- */
.review-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.review { position: relative; padding: 28px 22px 22px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); }
.review::before { content: "“"; position: absolute; right: 18px; top: -10px; font-family: var(--fraktur); font-size: 6rem; color: var(--gold); opacity: .25; line-height: 1; }
.demo-badge { display: inline-block; font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-2); background: rgba(30,75,196,.12); border: 1px dashed rgba(30,75,196,.55); padding: 4px 9px; border-radius: 999px; margin-bottom: 12px; }
.stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 10px; }
.review blockquote { font-size: 1.02rem; color: var(--cream); line-height: 1.55; }
.review figcaption { margin-top: 14px; color: var(--mute); font-size: .86rem; }
.review figcaption strong { color: var(--cream-2); }

/* 12. Location ------------------------------------------------ */
.location-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.info-list { display: grid; gap: 0; margin: 8px 0 28px; }
.info-list li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-k { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .16em; font-size: .8rem; color: var(--gold); padding-top: 3px; }
.info-v { color: var(--cream); }
.map-frame { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); min-height: 340px; background: var(--bg-3); }
.map-frame iframe { width: 100%; height: 100%; min-height: 340px; border: 0; filter: grayscale(.35) contrast(1.05) brightness(.9); }

/* 13. Contact ------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.contact-card { position: relative; display: grid; gap: 4px; padding: 18px 16px; min-height: 124px; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; transition: transform .4s var(--ease-out), border-color .3s; }
.contact-card::after { content: ""; position: absolute; inset: auto -30% -60% auto; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, rgba(227,169,44,.18), transparent 70%); transition: transform .6s var(--ease-out); }
.contact-card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.contact-card:hover::after { transform: scale(1.6); }
.cc-k { font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.cc-v { font-family: var(--display); font-weight: 800; font-size: 1.35rem; line-height: 1.05; text-transform: uppercase; word-break: break-word; }
.cc-cta { margin-top: auto; color: var(--gold); font-size: .85rem; font-weight: 600; }
.contact-card--wa { grid-column: 1 / -1; background: linear-gradient(135deg, rgba(37,211,102,.16), var(--bg-2) 60%); border-color: rgba(37,211,102,.35); }
.contact-card--wa .cc-v { font-size: 2rem; }
.contact-card--wa .cc-cta { color: var(--wa); }

/* 14. Footer -------------------------------------------------- */
.footer { text-align: center; padding: 60px var(--gutter) 130px; border-top: 1px solid var(--line); color: var(--mute); font-size: .88rem; display: grid; justify-items: center; gap: 10px; }
.footer img { width: 84px; opacity: .9; }
.footer-runes { font-family: var(--runic); color: var(--gold); letter-spacing: .3em; opacity: .7; }
.footer-small { font-size: .74rem; max-width: 60ch; }

/* 15. Floating buttons --------------------------------------- */
.floaters { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 70; display: grid; gap: 12px; justify-items: end; transition: transform .45s var(--ease-out); }
body.has-order .floaters { transform: translateY(-72px); }
.fab { position: relative; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; box-shadow: 0 14px 30px -8px rgba(0,0,0,.7); transition: transform .35s var(--ease-bounce); }
.fab:hover { transform: scale(1.08); }
.fab-wa { background: var(--wa); color: #fff; }
.fab-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ring 2.4s var(--ease-out) infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }
.fab-chat { width: 52px; height: 52px; background: var(--blue); color: #fff; border: 2px solid var(--gold); }
.fab-label { position: absolute; right: calc(100% + 10px); white-space: nowrap; padding: 8px 12px; border-radius: 10px; background: var(--cream); color: var(--bg); font-size: .8rem; font-weight: 700; opacity: 0; transform: translateX(8px); transition: opacity .4s, transform .4s var(--ease-out); pointer-events: none; }
.fab-label::after { content: ""; position: absolute; right: -5px; top: 50%; translate: 0 -50%; border: 6px solid transparent; border-right: 0; border-left-color: var(--cream); }
.fab-chat.nudge .fab-label, .fab-chat:hover .fab-label { opacity: 1; transform: none; }

.order-bar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 65; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 58px; padding: 0 18px; border-radius: 16px; background: var(--gold); color: var(--bg); font-weight: 700; box-shadow: 0 18px 40px -12px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.2) inset; animation: barIn .5s var(--ease-bounce); }
.ob-count { font-size: .85rem; }
.ob-cta { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: 1.1rem; }
.ob-total { font-family: var(--display); font-weight: 800; font-size: 1.25rem; }
@keyframes barIn { from { transform: translateY(120%); } }

/* 16. Drawer (cart) ------------------------------------------ */
.drawer-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(5,4,3,.65); backdrop-filter: blur(3px); animation: fade .3s; }
@keyframes fade { from { opacity: 0; } }
.drawer { position: fixed; z-index: 100; left: 0; right: 0; bottom: 0; max-height: 92svh; display: flex; flex-direction: column; background: var(--bg-2); border-top: 1px solid var(--line-2); border-radius: 22px 22px 0 0; transform: translateY(105%); transition: transform .55s var(--ease-out); visibility: hidden; }
.drawer.is-open { transform: none; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 12px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-family: var(--fraktur); font-weight: 400; font-size: 2rem; color: var(--gold); }
.drawer-close { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); font-size: 1rem; flex: 0 0 auto; }
.drawer-close:hover { background: rgba(243,234,215,.08); }
.drawer-body { overflow-y: auto; padding: 16px 20px; flex: 1; overscroll-behavior: contain; }
.drawer-foot { padding: 14px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--bg-3); display: grid; gap: 10px; }
.total-row { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--display); text-transform: uppercase; font-weight: 800; font-size: 1.1rem; letter-spacing: .06em; }
.total-row strong { font-size: 2rem; color: var(--gold); letter-spacing: 0; }
.cart-empty { text-align: center; padding: 20px 0 10px; display: grid; gap: 8px; justify-items: center; }
.cart-list { display: grid; gap: 10px; }
.cart-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; background: var(--bg-3); border: 1px solid var(--line); animation: fade .35s; }
.cart-item img, .cart-item .ci-ph { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; }
.ci-ph { display: grid; place-items: center; background: var(--bg-4); font-family: var(--runic); color: var(--gold); font-size: 1.4rem; }
.ci-name { font-weight: 600; line-height: 1.25; }
.ci-price { color: var(--gold); font-family: var(--display); font-weight: 800; font-size: 1.1rem; }
.qty { display: flex; align-items: center; gap: 4px; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.qty button { width: 32px; height: 32px; border-radius: 50%; font-size: 1.1rem; font-weight: 700; }
.qty button:hover { background: rgba(227,169,44,.2); }
.qty span { min-width: 20px; text-align: center; font-weight: 700; }
.cart-form { display: grid; gap: 16px; margin-top: 22px; padding-top: 20px; border-top: 1px dashed var(--line-2); }
.field { display: grid; gap: 6px; border: 0; padding: 0; }
.field > label, .field legend { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--cream-2); }
.field input, .field textarea { width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--cream); font-size: 16px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(227,169,44,.2); }
.field.has-error input, .field.has-error textarea { border-color: var(--red); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg legend { grid-column: 1 / -1; margin-bottom: 6px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: grid; place-items: center; min-height: 50px; padding: 8px; text-align: center; border-radius: 12px; border: 1px solid var(--line); font-weight: 600; font-size: .92rem; transition: all .3s; }
.seg input:checked + span { background: rgba(227,169,44,.15); border-color: var(--gold); color: var(--gold-2); }
.seg input:focus-visible + span { outline: 2px solid var(--gold-2); outline-offset: 2px; }
.hint { color: var(--mute); font-size: .8rem; }
.form-error { color: #FF8A8F; font-size: .88rem; font-weight: 600; min-height: 1em; }

/* 17. Chat ---------------------------------------------------- */
.chat { position: fixed; z-index: 100; inset: auto 0 0 0; height: min(86svh, 680px); display: flex; flex-direction: column; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 22px 22px 0 0; transform: translateY(105%); visibility: hidden; transition: transform .55s var(--ease-out), visibility 0s .55s; box-shadow: 0 -30px 60px -20px rgba(0,0,0,.8); }
.chat.is-open { transform: none; visibility: visible; transition: transform .55s var(--ease-out); }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); background: linear-gradient(90deg, rgba(11,46,134,.35), transparent); border-radius: 22px 22px 0 0; }
.chat-head > div { flex: 1; }
.chat-head h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.15rem; letter-spacing: .04em; }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: grid; align-content: start; gap: 10px; overscroll-behavior: contain; }
.msg { max-width: 88%; padding: 11px 14px; border-radius: 16px; font-size: .94rem; line-height: 1.5; animation: msgIn .4s var(--ease-out); }
.msg p + p { margin-top: 6px; }
.msg-bot { background: var(--bg-3); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg-user { justify-self: end; background: var(--gold); color: var(--bg); border-bottom-right-radius: 4px; font-weight: 500; }
.msg-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.msg-actions button, .msg-actions a { font-size: .78rem; font-weight: 700; padding: 7px 11px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--gold-2); background: rgba(227,169,44,.08); }
.msg-actions a.wa { color: #04210F; background: var(--wa); border-color: var(--wa); }
.msg-actions button:hover { background: var(--gold); color: var(--bg); }
.typing { display: inline-flex; gap: 4px; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: blink .8s infinite alternate; }
.typing span:nth-child(2) { animation-delay: .15s; } .typing span:nth-child(3) { animation-delay: .3s; }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } }
.chat-chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 16px 10px; scrollbar-width: none; }
.chat-chips::-webkit-scrollbar { display: none; }
.chat-chips button { flex: 0 0 auto; font-size: .82rem; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--cream-2); background: var(--bg-3); }
.chat-chips button:hover { border-color: var(--gold); color: var(--gold-2); }
.chat-form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); }
.chat-form input { flex: 1; min-width: 0; padding: 13px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); font-size: 16px; }
.chat-form input:focus { outline: none; border-color: var(--gold); }
.chat-form button { width: 48px; height: 48px; border-radius: 50%; background: var(--gold); color: var(--bg); font-size: 1.1rem; flex: 0 0 auto; }
.chat-form button:disabled { opacity: .5; }
.chat-foot { font-size: .7rem; color: var(--mute); text-align: center; padding: 0 16px calc(10px + env(safe-area-inset-bottom)); }

/* Toast */
.toast { position: fixed; left: 50%; top: calc(var(--nav-h) + 12px); z-index: 160; translate: -50% 0; padding: 10px 16px; border-radius: 999px; background: var(--cream); color: var(--bg); font-weight: 700; font-size: .88rem; box-shadow: 0 12px 30px rgba(0,0,0,.5); opacity: 0; transform: translateY(-10px); transition: opacity .35s, transform .45s var(--ease-out); pointer-events: none; white-space: nowrap; max-width: calc(100vw - 32px); overflow: hidden; text-overflow: ellipsis; }
.toast.show { opacity: 1; transform: none; }

/* 18. Reveal --------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); }
.js .reveal.in { opacity: 1; transform: none; }

/* 19. Responsive ---------------------------------------------- */
@media (min-width: 540px) {
  .dish-grid { grid-template-columns: repeat(2, 1fr); }
  .promo-track { grid-auto-columns: 46%; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .open-pill { display: inline-flex; }
}
@media (min-width: 720px) {
  .row-list { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: repeat(4, 1fr); }
  .contact-card--wa { grid-column: span 2; grid-row: span 2; min-height: 260px; }
  .contact-card--wa .cc-v { font-size: 3rem; }
  .promo-arrows { display: flex; }
  .promo-track { grid-auto-columns: 34%; }
  .order-bar { left: auto; right: 96px; width: 380px; }
  body.has-order .floaters { transform: none; }
  .drawer { left: auto; top: 0; width: 440px; max-height: none; border-radius: 0; border-top: 0; border-left: 1px solid var(--line-2); transform: translateX(105%); }
  .chat { left: auto; right: 16px; bottom: 16px; width: 400px; border-radius: 22px; transform: translateY(24px) scale(.96); opacity: 0; transition: transform .45s var(--ease-out), opacity .35s, visibility 0s .45s; }
  .chat.is-open { transform: none; opacity: 1; }
}
@media (min-width: 960px) {
  :root { --nav-h: 76px; }
  .burger { display: none; }
  .nav .open-pill { display: none; }
  .nav-links { display: flex; gap: 30px; position: absolute; left: 50%; translate: -50% 0; }
  .nav-links a { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: .92rem; color: var(--cream-2); position: relative; padding: 6px 0; transition: color .3s; }
  .nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out); }
  .nav-links a:hover { color: var(--cream); }
  .nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
  .nav-logo img { width: 62px; }

  .hero { align-items: center; padding-bottom: 80px; }
  .hero-media { left: 42%; }
  .hero-media img { object-position: 50% 58%; transform: scale(1.02); }
  .hero-media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--bg) 0%, rgba(13,10,8,.75) 18%, transparent 48%); }
  .hero-tint { background: linear-gradient(180deg, rgba(13,10,8,.5), transparent 25%, transparent 70%, var(--bg)); }
  .hero-ring { left: 71%; top: 55%; width: min(62vw, 720px); opacity: .6; }
  .hero-inner { display: grid; }
  .hero-logo { display: block; width: 150px; margin: 8px 0 18px -6px; filter: drop-shadow(0 10px 30px rgba(0,0,0,.6)); }
  .hero-title { font-size: clamp(4.2rem, 6.6vw, 7.6rem); }
  .hero-actions .btn { flex: 0 0 auto; }
  .hero-star { top: auto; bottom: 0; right: 0; padding: 18px 22px; }
  .hero-star-name { font-size: 2.4rem; }
  .hero-star-price { font-size: 2rem; }
  .hero-scroll { display: block; position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; border: 1.5px solid var(--line-2); border-radius: 14px; }
  .hero-scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--gold); animation: scrollDot 1.8s var(--ease-out) infinite; }
  @keyframes scrollDot { to { transform: translateY(14px); opacity: 0; } }

  .dish-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .dish--hero { grid-column: span 2; grid-row: span 2; }
  .dish--hero .dish-media { aspect-ratio: auto; flex: 1; min-height: 360px; }
  .dish--hero .dish-name { font-size: 3.6rem; }
  .dish--hero .price { font-size: 2.6rem; }
  .row-list { grid-template-columns: repeat(3, 1fr); }
  .promo-track { grid-auto-columns: calc((100% - 48px) / 4 + 12px); }

  .story-inner { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 80px; }
  .story-figure { justify-self: end; transform: rotate(2deg); }
  .location-grid { grid-template-columns: .85fr 1.15fr; align-items: stretch; gap: 56px; }
  .map-frame, .map-frame iframe { min-height: 460px; }
  .footer { padding-bottom: 60px; }
  .floaters { right: 24px; bottom: 24px; }
  .order-bar { right: 104px; bottom: 24px; }
}
@media (min-width: 1280px) {
  .nav .open-pill { display: inline-flex; }
  .dish-grid { grid-template-columns: repeat(4, 1fr); }
  .dish--hero { grid-column: span 2; }
}

/* 20. Reduced motion (solo efectos intrusivos) ---------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-grain, .hero-ring svg, .marquee-track, .fab-wa::before { animation: none; }
  .hero-embers { display: none; }
}
