/* ==========================================================
   NORTEÑO RESTAURANTE — línea gráfica
   Cartel chicha serio: negro y rojo mandan; naranja, turquesa y crema
   salen del isotipo (la chakana). Motivos incas: chakana, sol Inti,
   muro de piedra y vanos trapezoidales.
   Tipos: Shrikhand (rótulos), Anton (títulos y botones), DM Sans (texto).
   ========================================================== */
:root {
  --ink: #0c0a08;
  --ink-2: #14100d;
  --ink-3: #1e1813;
  --cream: #f1e8d6;
  --cream-2: #e4d8bf;
  --muted: #a89f8d;
  --red: #d23b2c;
  --red-d: #a82a1e;
  --orange: #f08a2c;
  --aji: #f6b722;
  --teal: #5fc0d2;
  --teal-d: #256a78;
  --line: rgba(241, 232, 214, .18);
  --chicha: "Shrikhand", "Anton", cursive;
  --display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: min(1240px, 100% - clamp(36px, 8vw, 112px));
  --r: 6px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --chakana: polygon(33% 0, 67% 0, 67% 33%, 100% 33%, 100% 67%, 67% 67%, 67% 100%, 33% 100%, 33% 67%, 0 67%, 0 33%, 33% 33%);
  --trapezoid: polygon(9% 0, 91% 0, 100% 100%, 0 100%);
  /* muro inca: sillares irregulares */
  --wall: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='200' fill='none' stroke='%23f1e8d6' stroke-opacity='.06' stroke-width='2'%3E%3Cpath d='M4 6h118q8 0 8 8v60q0 8-8 8H4zM138 6h92q8 0 8 8v36q0 8-8 8h-92q-8 0-8-8V14q0-8 8-8zM246 6h70v84h-70q-8 0-8-8V14q0-8 8-8zM138 66h92q8 0 8 8v52q0 8-8 8h-92q-8 0-8-8V74q0-8 8-8zM4 90h118q8 0 8 8v96H4zM138 142h100v52H138q-8 0-8-8v-36q0-8 8-8zM246 98h70v96h-70q-8 0-8-8v-80q0-8 8-8z'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--cream); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }
:focus-visible { outline: 3px solid var(--aji); outline-offset: 3px; }
.wrap { width: var(--wrap); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--cream); color: var(--ink); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Rótulo chicha: relleno en degradado, filete fino y sombra dura ---------- */
.chicha {
  --c1: #fffaf0; --c2: var(--cream); --c3: #dcc9a3; --sh: var(--red); --out: var(--cream);
  position: relative; display: block; width: max-content; max-width: 100%; white-space: nowrap;
  font-family: var(--chicha); font-weight: 400; line-height: 1.04; padding: .08em .16em .14em .04em;
  color: var(--out); -webkit-text-stroke: .05em var(--out); paint-order: stroke fill;
  text-shadow: .045em .06em 0 var(--ink), .085em .11em 0 var(--sh);
  transform: rotate(-2deg); transform-origin: left center;
}
.chicha::after {
  content: attr(data-t); content: attr(data-t) / ""; position: absolute; inset: 0; padding: inherit;
  background: linear-gradient(180deg, var(--c1) 16%, var(--c2) 54%, var(--c3) 88%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  -webkit-text-stroke: 0 transparent; text-shadow: none;
}
/* Una sola tinta para todos los rótulos: crema con sombra roja (en fondo oscuro) */
.chicha--fire, .chicha--pink, .chicha--lime, .chicha--sea { --c1: #fffaf0; --c2: var(--cream); --c3: #dcc9a3; --sh: var(--red); --out: var(--cream); }
.chicha--menu { --c1: #e8503f; --c2: var(--red); --c3: #8f1d13; --sh: var(--orange); --out: var(--ink); }
.chicha--menu2 { --c1: #e2513f; --c2: var(--red); --c3: var(--red-d); --sh: var(--ink); --out: var(--cream); }
.chicha--sm { font-size: clamp(34px, 3.8vw, 52px); }

.h2 { font-size: clamp(46px, 6.6vw, 96px); font-weight: 400; margin: 6px 0 4px; }
.h2 .chicha + .chicha { margin-top: -.12em; margin-left: .4em; }

/* Cinta de cartel */
.ribbon {
  display: inline-block; font-family: var(--display); text-transform: uppercase; letter-spacing: .14em; font-size: clamp(13px, 1.1vw, 15px);
  padding: 7px 26px 6px 14px; color: #fff; background: var(--red-d);
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 50%, 100% 100%, 0 100%); margin-bottom: 16px;
}
.ribbon--cyan, .ribbon--green { background: var(--teal); color: var(--ink); }
.ribbon--orange, .ribbon--yellow { background: var(--orange); color: var(--ink); }
.ribbon--black { background: var(--ink); color: var(--cream); }

.lead { font-size: clamp(18px, 1.45vw, 20px); color: #ddd2bd; max-width: 54ch; margin-top: 26px; }

/* Botones: bloque con sombra dura */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px;
  font-family: var(--display); font-size: 17px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
  border: 2px solid transparent; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s;
}
.btn--sm { padding: 8px 18px; font-size: 14.5px; }
.btn--yellow { background: var(--red-d); color: #fff; border-color: var(--red-d); box-shadow: 5px 5px 0 var(--cream); }
.btn--yellow:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--cream); background: var(--red); border-color: var(--red); }
.btn--line { border-color: var(--cream); color: var(--cream); background: rgba(12, 10, 8, .6); }
.btn--line:hover { background: var(--cream); color: var(--ink); }
.btn--black { background: var(--ink); color: var(--cream); border-color: var(--ink); box-shadow: 5px 5px 0 var(--red); }
.btn--black:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--red); }
.btn--line-dark { border-color: var(--ink); color: var(--ink); }
.btn--line-dark:hover { background: var(--ink); color: var(--cream); }

.dot { width: 10px; height: 10px; border-radius: 50%; background: #7d7466; display: inline-block; margin-right: 9px; flex: none; }
.dot.is-open { background: #6fd08a; box-shadow: 0 0 0 0 rgba(111, 208, 138, .6); animation: pulse 2s infinite; }
.dot.is-soon { background: var(--aji); }
@keyframes pulse { to { box-shadow: 0 0 0 10px rgba(111, 208, 138, 0); } }

/* Cenefa de chakanas (tocapu): la línea de color del isotipo */
.poncho {
  height: 52px; position: relative; z-index: 2; background-color: var(--ink);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='108' height='52'%3E%3Cpath d='M14 14h8v8h8v8h-8v8h-8v-8H6v-8h8z' fill='%23d23b2c'/%3E%3Cpath d='M50 14h8v8h8v8h-8v8h-8v-8h-8v-8h8z' fill='%23f08a2c'/%3E%3Cpath d='M86 14h8v8h8v8h-8v8h-8v-8h-8v-8h8z' fill='%235fc0d2'/%3E%3Cpath d='M16 24h4v4h-4zM52 24h4v4h-4zM88 24h4v4h-4z' fill='%230c0a08'/%3E%3Cpath d='M34 24l2 2-2 2-2-2zM70 24l2 2-2 2-2-2zM106 24l2 2-2 2-2-2z' fill='%23f1e8d6'/%3E%3C/svg%3E"),
    linear-gradient(180deg, var(--red) 0 5px, var(--ink) 5px 8px, var(--cream) 8px 9px, transparent 9px 43px, var(--cream) 43px 44px, var(--ink) 44px 47px, var(--red) 47px);
  background-repeat: repeat-x, no-repeat;
}
.poncho--b {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='108' height='52'%3E%3Cpath d='M14 14h8v8h8v8h-8v8h-8v-8H6v-8h8z' fill='%235fc0d2'/%3E%3Cpath d='M50 14h8v8h8v8h-8v8h-8v-8h-8v-8h8z' fill='%23f1e8d6'/%3E%3Cpath d='M86 14h8v8h8v8h-8v8h-8v-8h-8v-8h8z' fill='%23d23b2c'/%3E%3Cpath d='M16 24h4v4h-4zM52 24h4v4h-4zM88 24h4v4h-4z' fill='%230c0a08'/%3E%3Cpath d='M34 24l2 2-2 2-2-2zM70 24l2 2-2 2-2-2zM106 24l2 2-2 2-2-2z' fill='%23f08a2c'/%3E%3C/svg%3E"),
    linear-gradient(180deg, var(--orange) 0 5px, var(--ink) 5px 8px, var(--cream) 8px 9px, transparent 9px 43px, var(--cream) 43px 44px, var(--ink) 44px 47px, var(--orange) 47px);
}

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- NAV ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 clamp(18px, 4vw, 48px); transition: background .35s, height .35s, border-color .35s; border-bottom: 2px solid transparent; }
.nav.is-stuck { height: 64px; border-color: rgba(241, 232, 214, .14); }
.nav::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(12, 10, 8, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); opacity: 0; transition: opacity .35s; }
.nav.is-stuck::before { opacity: 1; }
.nav__brand { display: flex; align-items: center; gap: 10px; }
.nav__brand img:first-child { width: 40px; height: 40px; }
.nav__word { height: 34px; width: auto; }
.nav__links { display: flex; gap: clamp(18px, 2.6vw, 40px); font-family: var(--display); text-transform: uppercase; font-size: 14px; letter-spacing: .2em; }
.nav__links a { position: relative; padding: 6px 0; transition: color .2s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__links a.is-active { color: var(--aji); }
.nav__tools { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; border: 1.5px solid var(--cream); padding: 2px; }
.lang button { background: none; border: 0; padding: 8px 12px; font-family: var(--display); font-size: 13.5px; letter-spacing: .1em; color: var(--cream); }
.lang button[aria-pressed="true"] { background: var(--cream); color: var(--ink); }
.nav .btn--yellow { box-shadow: none; }
.burger { display: none; width: 44px; height: 44px; border: 1.5px solid var(--cream); background: var(--ink); position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--cream); transition: transform .3s var(--ease), top .3s var(--ease); }
.burger span:first-child { top: 16px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: max(100svh, 760px); padding: 122px clamp(20px, 6vw, 96px) 60px; overflow: hidden; background: var(--ink); }
.hero__rays { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(40% 46% at 70% 40%, rgba(210, 59, 44, .2), transparent 70%), var(--wall); }
.scene { position: absolute; right: 0; bottom: 0; width: min(66vw, 1180px); pointer-events: none; }
.scene__img { position: relative; width: 100%; -webkit-mask-image: linear-gradient(90deg, transparent 6%, #000 46%), linear-gradient(0deg, transparent 0, #000 12%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 6%, #000 46%), linear-gradient(0deg, transparent 0, #000 12%); mask-composite: intersect; }
.inti { position: absolute; width: 46%; left: 26%; top: -9%; }
.inti__rays { transform-origin: 260px 260px; animation: turn 120s linear infinite; }
@keyframes turn { to { transform: rotate(360deg); } }

.hero__copy { position: relative; z-index: 3; max-width: 680px; }
.hero__title { font-size: clamp(76px, 10.4vw, 160px); font-weight: 400; margin-top: 6px; }
.hero__title .chicha + .chicha { margin-top: -.02em; margin-left: -.04em; }
.hero__sub { font-family: var(--display); text-transform: uppercase; letter-spacing: .2em; font-size: clamp(14px, 1.3vw, 18px); color: var(--cream); opacity: .8; margin-top: 24px; }
.hero__lead { margin-top: 12px; font-size: clamp(17px, 1.4vw, 20px); color: #e9dfca; max-width: 44ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }
.hero__status { margin-top: 0; font-size: 14.5px; color: #ddd2bd; display: flex; align-items: center; min-height: 24px; font-weight: 600; }

.sticker { position: absolute; z-index: 3; right: clamp(18px, 4vw, 70px); top: 15%; width: clamp(150px, 14vw, 210px); }
.sticker img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; border: 4px solid var(--cream); box-shadow: 0 0 0 6px var(--ink), 0 0 0 8px var(--red), 0 30px 60px -20px #000; transition: transform .5s var(--ease); }
.sticker:hover img { transform: scale(1.04); }
.sticker__label { display: block; text-align: center; margin-top: 18px; font-family: var(--display); text-transform: uppercase; letter-spacing: .12em; font-size: 14px; line-height: 1.3; }
.sticker__label b { font-weight: 400; color: var(--aji); } .sticker__label i { font-style: normal; }

/* ---------- LLAMA ---------- */
.llama { position: relative; }
.llama svg { width: 100%; height: auto; overflow: visible; display: block; }
.llama--hero { position: absolute; z-index: 4; right: min(40vw, 700px); bottom: 14px; width: clamp(120px, 12vw, 176px); }
.llama__head { transform-box: view-box; transform-origin: 123px 215px; animation: nod 8s ease-in-out infinite; }
@keyframes nod { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-3deg); } 60% { transform: rotate(2.500deg); } }
.llama__ear { transform-box: fill-box; transform-origin: 50% 100%; animation: ear 6s ease-in-out infinite; }
.llama__ear--b { animation-delay: .35s; }
@keyframes ear { 0%, 84%, 100% { transform: rotate(0); } 88% { transform: rotate(-12deg); } 94% { transform: rotate(8deg); } }
.llama__eye { transform-box: fill-box; transform-origin: center; animation: blink 5s infinite; }
@keyframes blink { 0%, 95%, 100% { transform: scaleY(1); } 97.500% { transform: scaleY(.08); } }
.llama__jaw { animation: chew 1s ease-in-out infinite; }
@keyframes chew { 50% { transform: translate(1.500px, 2px); } }
.llama__tail { transform-box: fill-box; transform-origin: 0 50%; animation: wag 2.4s ease-in-out infinite; }
@keyframes wag { 50% { transform: rotate(-16deg); } }

.walk { position: relative; height: 84px; overflow: hidden; }
.llama--walk { position: absolute; bottom: -4px; left: 0; width: 78px; animation: cross 46s linear infinite; }
@keyframes cross { from { transform: translateX(105vw); } to { transform: translateX(-120px); } }
.llama--walk .llama__leg { transform-box: fill-box; transform-origin: 50% 0; animation: step .9s ease-in-out infinite alternate; }
.llama--walk .llama__leg--f2, .llama--walk .llama__leg--b1 { animation-direction: alternate-reverse; }
@keyframes step { from { transform: rotate(-12deg); } to { transform: rotate(12deg); } }

/* ---------- MARQUEE ---------- */
.marquee { overflow: hidden; padding: 16px 0; background: var(--red); color: var(--cream); }
.marquee__track { display: flex; align-items: center; gap: 30px; width: max-content; animation: slide 50s linear infinite; }
.marquee span { font-family: var(--chicha); font-size: clamp(24px, 2.8vw, 38px); line-height: 1.2; white-space: nowrap; }
.marquee i { width: 18px; height: 18px; flex: none; background: var(--ink); clip-path: var(--chakana); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- PLATOS ---------- */
.platos { padding: clamp(80px, 10vw, 140px) 0; background: var(--wall), var(--ink); }
.platos__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: clamp(44px, 6vw, 72px); }
.plato { --c: var(--red); position: relative; display: flex; flex-direction: column; background: var(--ink-2); border: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s; }
.plato:hover { transform: translateY(-8px); box-shadow: 0 34px 60px -28px #000, 0 0 0 1px rgba(241, 232, 214, .35); border-color: transparent; }

.plato figure { aspect-ratio: 1; overflow: hidden; position: relative; }
.plato figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(12, 10, 8, .5)); pointer-events: none; }
.plato img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.08) contrast(1.04); transition: transform 1.1s var(--ease); }
.plato:hover img { transform: scale(1.07); }
.price { position: absolute; right: 0; top: 14px; z-index: 2; background: var(--cream); color: var(--ink); font-family: var(--display); font-size: 21px; letter-spacing: .03em; padding: 3px 12px 3px 20px; clip-path: polygon(10px 0, 100% 0, 100% 100%, 10px 100%, 0 50%); }
.plato__body { padding: 20px 20px 24px; }
.plato h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(22px, 1.9vw, 27px); line-height: 1.08; letter-spacing: .02em; }
.plato h3::after { content: ""; display: block; width: 34px; height: 3px; background: var(--c); margin-top: 10px; }
.plato p { font-size: 14.5px; color: #cfc4ae; margin-top: 10px; line-height: 1.5; }

/* ---------- CARTA: papel crema, tinta negra y roja ---------- */
.menu { background: var(--cream); color: var(--ink); padding: clamp(80px, 10vw, 140px) 0; position: relative; }
.menu::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='200' fill='none' stroke='%230c0a08' stroke-opacity='.05' stroke-width='2'%3E%3Cpath d='M4 6h118q8 0 8 8v60q0 8-8 8H4zM138 6h92q8 0 8 8v36q0 8-8 8h-92q-8 0-8-8V14q0-8 8-8zM246 6h70v84h-70q-8 0-8-8V14q0-8 8-8zM138 66h92q8 0 8 8v52q0 8-8 8h-92q-8 0-8-8V74q0-8 8-8zM4 90h118q8 0 8 8v96H4zM138 142h100v52H138q-8 0-8-8v-36q0-8 8-8zM246 98h70v96h-70q-8 0-8-8v-80q0-8 8-8z'/%3E%3C/svg%3E"); }
.menu .wrap { position: relative; }
.menu__head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; }
.menu__intro { color: #3d352a; font-size: 17px; max-width: 44ch; }
.tabs { position: sticky; top: 64px; z-index: 6; display: flex; gap: 8px; margin-top: 46px; overflow-x: auto; padding: 10px 0 8px; scrollbar-width: none; border-bottom: 2px solid var(--ink); background: var(--cream); -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 70px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 70px), transparent); }
.tabs.at-end { -webkit-mask-image: none; mask-image: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; border: 0; background: none; color: var(--ink); padding: 10px 16px 9px; font-family: var(--display); text-transform: uppercase; font-size: 15.5px; letter-spacing: .08em; transition: background .2s, color .2s; }
.tabs button:hover { background: rgba(12, 10, 8, .08); }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--cream); box-shadow: inset 0 -4px 0 var(--red); }
.menu__body { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(30px, 5vw, 72px); margin-top: 26px; align-items: start; }
.menu__list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
.item { padding: 18px 0; border-bottom: 1px solid rgba(12, 10, 8, .18); animation: itemIn .5s var(--ease) both; }
@keyframes itemIn { from { opacity: 0; transform: translateY(10px); } }
.item__top { display: flex; align-items: baseline; gap: 10px; }
.item__name { font-family: var(--display); text-transform: uppercase; font-size: 20px; line-height: 1.15; letter-spacing: .03em; }
.item__dots { flex: 1; border-bottom: 2px dotted rgba(12, 10, 8, .35); transform: translateY(-4px); min-width: 16px; }
.item__price { font-family: var(--display); font-size: 20px; color: var(--red-d); white-space: nowrap; letter-spacing: .02em; }
.item__desc { font-size: 15px; color: #2a241c; margin-top: 5px; line-height: 1.5; }
.item--slim { padding: 13px 0; } .item--slim .item__name { font-size: 17.5px; }
.item.has-photo .item__name { cursor: pointer; }
.item.is-active .item__name { color: var(--red-d); }
.menu__sub { grid-column: 1 / -1; font-family: var(--chicha); font-weight: 400; font-size: 28px; color: var(--red-d); margin: 28px 0 0; line-height: 1.1; }
.menu__sub:first-child { margin-top: 10px; }
.tag { display: inline-grid; place-items: center; min-width: 24px; height: 21px; padding: 0 5px; font-size: 10.5px; font-weight: 800; letter-spacing: .04em; vertical-align: 2px; }
.tag--v { background: var(--teal-d); color: #fff; } .tag--sg { background: var(--orange); color: var(--ink); } .tag--hot { background: none; color: var(--red); font-size: 15px; min-width: 0; padding: 0; }
.menu__photo { position: sticky; top: 150px; }
.menu__photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 4px solid var(--ink); box-shadow: 0 0 0 7px var(--cream), 0 0 0 9px var(--red); transition: opacity .3s, transform .6s var(--ease); }
.menu__photo img.swap { opacity: 0; transform: rotate(-10deg) scale(.94); }
.menu__photo span { display: block; text-align: center; margin-top: 30px; font-family: var(--chicha); font-size: 28px; color: var(--red-d); line-height: 1.1; }
.menu__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-top: 44px; font-size: 14px; color: #3d352a; font-weight: 600; }
.menu__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- EL LOCAL ---------- */
.place { position: relative; padding: clamp(80px, 11vw, 150px) 0 clamp(70px, 9vw, 120px); background: #0a120d; overflow: hidden; }
.place__wall { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(45% 40% at 25% 35%, rgba(246, 210, 120, .10), transparent 70%),
    radial-gradient(60% 50% at 85% 90%, rgba(40, 90, 56, .25), transparent 70%),
    var(--wall),
    linear-gradient(180deg, #0d1a12, #0a120d); }
.place__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 90px); align-items: center; }
.neon { display: grid; justify-items: center; gap: 22px; padding: 40px 10px; }
.neon__chakana { width: min(46%, 210px); filter: brightness(0) invert(1) drop-shadow(0 0 4px #fff) drop-shadow(0 0 26px rgba(246, 183, 34, .75)); animation: flicker 12s infinite; }
.neon__word { width: min(88%, 430px); filter: brightness(0) invert(1) drop-shadow(0 0 4px #fff) drop-shadow(0 0 24px rgba(246, 183, 34, .7)); }
.neon__sub { font-family: var(--chicha); font-size: clamp(22px, 2.6vw, 32px); color: #fff; text-shadow: 0 0 6px #fff, 0 0 18px rgba(255, 244, 190, .9), 0 0 40px rgba(246, 183, 34, .7); }
@keyframes flicker { 0%, 91%, 94%, 97%, 100% { opacity: 1; } 92%, 96% { opacity: .55; } }
.perks { margin-top: 34px; border-top: 1px solid var(--line); }
.perks li { display: grid; grid-template-columns: 150px 1fr; gap: 20px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.perks b { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 30px; line-height: 1; letter-spacing: .03em; color: var(--aji); }

.perks span { color: #d6dccf; font-size: 16px; }
.sed { position: relative; margin-top: clamp(60px, 8vw, 110px); }
.sed__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 30px; color: #d6dccf; }
.sed__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 34px; }
.sed__row li { text-align: center; display: flex; flex-direction: column; }
.sed__row img { clip-path: var(--trapezoid); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; margin-bottom: 16px; transition: transform .7s var(--ease); }
.sed__row li:hover img { transform: translateY(-8px); }
.sed__row li > b { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 22px; line-height: 1.1; letter-spacing: .04em; }
.sed__row li > span:last-child { font-size: 14px; color: #a9b3a2; margin-top: 4px; }
.sed__pisco { position: relative; justify-content: flex-end; }
.sed__pisco::before { content: ""; display: block; aspect-ratio: 4 / 5; clip-path: var(--trapezoid); margin-bottom: 16px; background: radial-gradient(circle at 50% 46%, var(--aji) 0 17%, var(--ink) 17.500% 19%, var(--orange) 19.500% 30%, transparent 30.500%), repeating-conic-gradient(from 0deg at 50% 46%, var(--red) 0 7.500deg, var(--red-d) 7.500deg 15deg); }
.sed__pisco .price { top: 16%; right: 12%; }

/* ---------- PREMIO: bloque rojo ---------- */
.award { position: relative; padding: clamp(70px, 9vw, 120px) 0; background: var(--red-d); color: var(--cream); overflow: hidden; }
.award__rays { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(40% 60% at 18% 50%, rgba(240, 138, 44, .35), transparent 70%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='200' fill='none' stroke='%230c0a08' stroke-opacity='.12' stroke-width='2'%3E%3Cpath d='M4 6h118q8 0 8 8v60q0 8-8 8H4zM138 6h92q8 0 8 8v36q0 8-8 8h-92q-8 0-8-8V14q0-8 8-8zM246 6h70v84h-70q-8 0-8-8V14q0-8 8-8zM138 66h92q8 0 8 8v52q0 8-8 8h-92q-8 0-8-8V74q0-8 8-8zM4 90h118q8 0 8 8v96H4zM138 142h100v52H138q-8 0-8-8v-36q0-8 8-8zM246 98h70v96h-70q-8 0-8-8v-80q0-8 8-8z'/%3E%3C/svg%3E"); }
.award__grid { position: relative; display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: clamp(36px, 6vw, 90px); align-items: center; }
.award .ribbon { background: var(--ink); color: var(--cream); }
.award .chicha--pink { --c1: #fffaf0; --c2: var(--cream); --c3: #e1d3b4; --sh: var(--ink); --out: var(--ink); }
.award .lead { color: #fbeee0; }
.player { position: relative; aspect-ratio: 9 / 16; overflow: hidden; background: var(--ink-3); border: 4px solid var(--cream); box-shadow: 10px 10px 0 var(--ink); }
.player video { width: 100%; height: 100%; object-fit: cover; }
.player__play { position: absolute; inset: 0; border: 0; background: linear-gradient(to top, rgba(12, 10, 8, .88), rgba(12, 10, 8, .05) 55%); display: flex; align-items: flex-end; gap: 14px; padding: 20px; text-align: left; transition: opacity .3s; }
.player.is-playing .player__play { opacity: 0; pointer-events: none; }
.player__icon { width: 60px; height: 60px; border-radius: 50%; background: var(--cream); color: var(--ink); display: grid; place-items: center; flex: none; padding-left: 4px; transition: transform .3s var(--ease); }
.player__play:hover .player__icon { transform: scale(1.1); }
.player__label strong { display: block; font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .06em; font-size: 22px; line-height: 1.05; }
.player__label em { font-style: normal; font-size: 14px; color: #e9dfca; }
.credit { font-size: 12.5px; color: #f3d9cf; margin-top: 22px; letter-spacing: .04em; }
.quote { margin-top: 28px; padding-left: 22px; border-left: 4px solid var(--ink); max-width: 58ch; }
.quote blockquote { font-size: clamp(18px, 1.7vw, 23px); line-height: 1.45; font-style: italic; }
.quote figcaption { margin-top: 10px; font-family: var(--display); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: #ffd9a8; }
.steps { display: flex; gap: 8px; margin-top: 34px; max-width: 640px; height: clamp(150px, 16vw, 210px); }
.steps li { flex: 1; min-width: 0; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); transition: flex .6s var(--ease); }
.steps li:hover { flex: 2.6; }
.steps img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- VISÍTANOS ---------- */
.visit { padding: clamp(80px, 10vw, 140px) 0 clamp(60px, 8vw, 100px); background: var(--wall), var(--ink); }
.visit__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(36px, 6vw, 90px); align-items: start; }
.visit address { font-style: normal; font-size: clamp(20px, 2vw, 26px); line-height: 1.4; margin-top: 30px; }
.visit address a { border-bottom: 1px solid var(--line); transition: border-color .2s; }
.visit address a:hover { border-color: var(--red); }
.tel { display: inline-block; font-family: var(--display); font-size: clamp(50px, 7vw, 100px); line-height: 1; margin-top: 18px; color: var(--cream); text-shadow: 4px 4px 0 var(--red); transition: color .2s; letter-spacing: .01em; }
.tel:hover { color: var(--aji); }
.visit__cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 30px; }
.hours { background: var(--ink-2); border: 2px solid var(--cream); padding: clamp(22px, 3vw, 36px); box-shadow: 9px 9px 0 var(--red); }
.hours__head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.hours__head h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .06em; font-size: 30px; }
.hours__status { font-size: 13.5px; color: #ddd2bd; display: flex; align-items: center; font-weight: 600; }
.hours table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.hours td { padding: 11px 0; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.hours td:first-child { font-weight: 700; }
.hours td:last-child { text-align: right; color: #ddd2bd; }
.hours td span { display: inline-block; margin-left: 18px; white-space: nowrap; }
.hours tr.is-today td { color: var(--orange); }
.hours tr.is-today td:first-child::after { content: ""; display: inline-block; width: 9px; height: 9px; margin-left: 9px; background: var(--red); clip-path: var(--chakana); }
.hours__note { margin-top: 14px; font-size: 14px; color: var(--muted); }
.map { margin-top: clamp(40px, 6vw, 80px); overflow: hidden; border: 1px solid var(--line); min-height: 240px; display: grid; background: radial-gradient(50% 80% at 50% 50%, rgba(210, 59, 44, .14), transparent 70%), var(--ink-2); }
.map__inner { place-self: center; text-align: center; display: grid; justify-items: center; gap: 12px; padding: 30px; }
.map__inner small { color: var(--muted); font-size: 12px; }
.map .btn--yellow { box-shadow: none; }
.map iframe { width: 100%; height: 440px; border: 0; display: block; }

/* ---------- FOOTER ---------- */
.foot { background: #070605; padding: 0 0 110px; font-size: 15px; color: #cfc4ae; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; gap: 40px; padding-top: 60px; }
.foot__brand img { width: 150px; height: auto; margin-bottom: 16px; }
.foot__h { font-family: var(--display); font-weight: 400; font-size: 14px; letter-spacing: .2em; text-transform: uppercase; color: var(--orange); margin-bottom: 12px; }
.foot a { display: block; padding: 4px 0; transition: color .2s; }
.foot a:hover { color: var(--orange); }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

.dock { display: none; }

/* ==========================================================
   ACABADO DE CARTEL (v6)
   ========================================================== */
:root { --out-ease: cubic-bezier(.16, 1, .3, 1); }

/* Grano de serigrafía sobre toda la página */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 95; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.4 -.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Índice de cartel: 01 —— Platos */
.kicker { display: flex; align-items: center; gap: 14px; font-family: var(--display); text-transform: uppercase; letter-spacing: .24em; font-size: 13.5px; color: var(--cream); margin-bottom: 18px; }
.kicker b { font-weight: 400; color: var(--aji); font-size: 15px; letter-spacing: .08em; }
.kicker i { width: 56px; height: 1.5px; background: currentColor; opacity: .45; }
.menu .kicker { color: var(--ink); } .menu .kicker b { color: var(--red-d); }
.award .kicker b { color: var(--ink); }

/* Títulos: primera palabra en capitular espaciada, la segunda en rótulo chicha */
.h2 .chicha:first-child, .hero__title .chicha:first-child {
  font-family: var(--display); text-transform: uppercase; font-size: .36em; letter-spacing: .3em; line-height: 1.1;
  color: var(--cream); -webkit-text-stroke: 0; text-shadow: none; transform: none; padding: 0 0 .25em;
}
.h2 .chicha:first-child::after, .hero__title .chicha:first-child::after { display: none; }
.hero__title .chicha:first-child { font-size: .3em; letter-spacing: .42em; color: var(--aji); padding-left: .12em; }
.h2 .chicha + .chicha { margin-top: 0; margin-left: -.04em; }
.menu .h2 .chicha:first-child { color: var(--ink); }
.h2 { font-size: clamp(56px, 7.6vw, 112px); }

/* Sello de imprenta: el rótulo cae, se asienta y la sombra se desregistra */
@keyframes stamp {
  0% { opacity: 0; transform: rotate(-2deg) scale(1.28); text-shadow: 0 0 0 var(--ink), 0 0 0 var(--sh); }
  55% { opacity: 1; transform: rotate(-2deg) scale(.97); text-shadow: 0 0 0 var(--ink), 0 0 0 var(--sh); }
  100% { opacity: 1; transform: rotate(-2deg) scale(1); text-shadow: .045em .06em 0 var(--ink), .085em .11em 0 var(--sh); }
}
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
@keyframes spread { from { opacity: 0; letter-spacing: 1.2em; } to { opacity: 1; } }
.js .h2.reveal { opacity: 1; transform: none; }
.js .h2.reveal .chicha { opacity: 0; }
.js .h2.reveal.in .chicha:first-child { animation: spread 1s var(--out-ease) both; }
.js .h2.reveal.in .chicha + .chicha { animation: stamp .8s var(--ease) .18s both; }

/* Intro del hero */
@keyframes sunrise { from { opacity: 0; transform: translateY(38%) scale(.82); } }
@keyframes wipe { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0); } }
@keyframes slideIn { from { opacity: 0; transform: translateX(-30px); } }
.js .inti { animation: sunrise 1.8s var(--out-ease) .25s both; }
.js .scene__img { animation: wipe 1.4s var(--out-ease) both; }
.js .hero__copy .ribbon { animation: slideIn .8s var(--out-ease) .5s both; }
.js .hero__title .chicha:first-child { animation: spread 1.2s var(--out-ease) .6s both; }
.js .hero__title .chicha + .chicha { animation: stamp .9s var(--ease) .8s both; }
.js .hero__sub { animation: rise .8s var(--out-ease) 1.1s both; }
.js .hero__lead { animation: rise .8s var(--out-ease) 1.2s both; }
.js .hero__cta { animation: rise .8s var(--out-ease) 1.3s both; }
.js .hero__meta { animation: rise .8s var(--out-ease) 1.45s both; }
.js .llama--hero { animation: rise 1s var(--out-ease) 1.6s both; }

/* Parallax: el sol se queda atrás, la montaña sube despacio, el texto se va */
.scene { translate: 0 calc(var(--p, 0) * 60px); }
.inti { translate: calc(var(--mx, 0) * 14px) calc(var(--p, 0) * 140px + var(--my, 0) * 10px); }
.hero__copy { translate: 0 calc(var(--p, 0) * -70px); opacity: calc(1 - var(--p, 0) * 1.1); }
.llama--hero { translate: calc(var(--mx, 0) * -8px) 0; }

.hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 26px; }
.laurel { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 6px; border: 1px solid rgba(246, 183, 34, .45); color: var(--aji); font-family: var(--display); text-transform: uppercase; letter-spacing: .1em; font-size: 13px; transition: background .25s, color .25s; }
.laurel sup { font-size: .7em; }
.laurel:hover { background: var(--aji); color: var(--ink); }

/* Platos: composición editorial */
.plato--feature { grid-column: span 2; grid-row: span 2; }
.plato--feature figure { aspect-ratio: auto; flex: 1; }
.plato--feature img { object-position: 22% 60%; }
.plato--feature figure::after { background: linear-gradient(180deg, transparent 40%, rgba(12, 10, 8, .92)); }
.plato--feature .plato__body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(22px, 3vw, 40px); }
.plato--feature h3 { font-size: clamp(32px, 3.4vw, 50px); }
.plato--feature p { font-size: 16.5px; color: #e9dfca; max-width: 46ch; }
.plato--feature .price { font-size: 28px; top: 22px; }
.plato__kicker { display: block; font-family: var(--chicha); color: var(--aji); font-size: clamp(20px, 1.8vw, 26px); line-height: 1.2; margin-bottom: 4px; transform: rotate(-2deg); transform-origin: left; }
.plato__body { flex: 1; }
.plato--more { justify-content: center; align-items: flex-start; gap: 8px; padding: clamp(22px, 2.4vw, 32px); border: 0; overflow: hidden; isolation: isolate;
  background: var(--wall), linear-gradient(160deg, var(--red) 0%, var(--red-d) 70%); }
.plato--more::before { content: ""; position: absolute; right: -40px; bottom: -40px; width: 190px; height: 190px; clip-path: var(--chakana); background: rgba(12, 10, 8, .28);  z-index: -1; transition: transform .8s var(--ease); }
.plato--more:hover::before { transform: rotate(45deg) scale(1.08); }
.plato__more-n { font-family: var(--chicha); font-size: clamp(64px, 6vw, 92px); line-height: 1; color: var(--cream); text-shadow: .05em .06em 0 var(--ink); }
.plato__more-t { font-family: var(--display); text-transform: uppercase; letter-spacing: .08em; font-size: 22px; line-height: 1.1; max-width: 11ch; }
.plato__more-cta { margin-top: 14px; font-family: var(--display); text-transform: uppercase; letter-spacing: .16em; font-size: 14px; background: var(--ink); color: var(--cream); padding: 9px 14px 8px; }

/* Marquesina: rótulo y contorno alternos */
.marquee span.o { font-family: var(--display); text-transform: uppercase; letter-spacing: .04em; color: transparent; -webkit-text-stroke: 1.5px var(--cream); }

/* Carta: foto con anillo que gira */
.menu__photo { isolation: isolate; }
.menu__photo::before { content: ""; position: absolute; left: -22px; right: -22px; top: -22px; aspect-ratio: 1; border-radius: 50%; border: 2px dashed rgba(12, 10, 8, .35); z-index: -1; animation: turn 60s linear infinite; }

/* Cartel de cierre */
.cta { position: relative; overflow: hidden; padding: clamp(100px, 12vw, 170px) 0; text-align: center; isolation: isolate;
  background: linear-gradient(180deg, rgba(12, 10, 8, .88) 0%, rgba(12, 10, 8, .7) 50%, rgba(110, 22, 14, .92) 100%), url("../assets/img/plato-portada.webp") center / cover no-repeat, var(--ink); }
.cta__sun { position: absolute; left: 50%; bottom: -31vw; width: max(44vw, 340px); aspect-ratio: 1; translate: -50% 0; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, var(--aji) 0 58%, var(--ink) 58.5% 61%, var(--orange) 61.5% 70%, transparent 70.5%); }
.cta__inner { display: grid; justify-items: center; }
.cta .h2 .chicha { margin-inline: auto; }
.cta .h2 .chicha:first-child { color: var(--cream); padding-left: .3em; }
.cta .chicha--pink { --sh: var(--red); --out: var(--ink); }
.cta .btn--black { background: var(--red-d); border-color: var(--red-d); color: #fff; }
.cta__lead { text-shadow: 0 2px 12px rgba(12, 10, 8, .35); margin-top: 20px; font-size: clamp(18px, 1.6vw, 22px); color: #fff3e3; max-width: 46ch; }
.cta__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 30px; }
.cta .btn--black { font-size: 22px; padding: 16px 30px; box-shadow: 6px 6px 0 var(--cream); }
.cta .btn--line { background: rgba(12, 10, 8, .35); }

/* Fotos reales del local */
.place__photo { position: relative; margin: 0; }
.place__photo > img:first-child { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; object-position: 50% 30%; border: 4px solid var(--cream); box-shadow: 14px 14px 0 var(--red-d), 0 40px 80px -30px #000; }
.place__seal { position: absolute; width: 74px; top: -30px; left: -26px; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .6)); animation: turn 40s linear infinite; }
.place__photo figcaption, .where__photo figcaption { margin-top: 24px; font-family: var(--chicha); font-size: clamp(19px, 1.7vw, 24px); line-height: 1.25; color: var(--aji); transform: rotate(-1.500deg); transform-origin: left; }
.where { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); align-items: stretch; margin-top: clamp(40px, 6vw, 80px); }
.where__photo { margin: 0; display: flex; flex-direction: column; }
.where__photo img { width: 100%; flex: 1; min-height: 0; object-fit: cover; border: 1px solid var(--line); }
.where .map { margin-top: 0; }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1180px) {
  .platos__grid { grid-template-columns: repeat(3, 1fr); }
  .sticker { display: none; }
}
@media (max-width: 1080px) {
  .nav__links { position: fixed; inset: 0; background: rgba(12, 10, 8, .98); flex-direction: column; justify-content: center; align-items: center; gap: 22px; font-size: 38px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .3s, visibility .3s; z-index: -1; }
  .nav__links.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
  .burger { display: block; }
  .menu__body { grid-template-columns: 1fr; }
  .menu__photo { display: none; }
}
@media (max-width: 900px) {
  body { font-size: 16px; }
  .hero { min-height: 0; padding-top: 104px; padding-bottom: calc(80vw + 30px); }
  .scene { width: 100%; }
  .scene__img { -webkit-mask-image: linear-gradient(0deg, transparent 0, #000 10%); mask-image: linear-gradient(0deg, transparent 0, #000 10%); }
  .llama--hero { right: auto; left: 5vw; bottom: 8px; width: 104px; }
  .platos__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .plato--feature { grid-column: 1 / -1; grid-row: auto; }
  .plato--feature figure { aspect-ratio: 4 / 3; }
  .plato--feature figure { flex: none; }
  .plato--feature .plato__body { position: static; padding: 18px 16px 22px; }
  .plato--feature figure::after { background: linear-gradient(180deg, transparent 60%, rgba(12, 10, 8, .5)); }
  .tabs { top: 60px; }
  .menu__head { grid-template-columns: 1fr; gap: 18px; }
  .place__grid, .visit__grid, .award__grid { grid-template-columns: 1fr; }
  .where { grid-template-columns: 1fr; }
  .place__photo { margin: 10px 8px 14px 0; }
  .place__seal { width: 58px; top: -22px; left: -10px; }
  .award__video { width: min(100%, 300px); margin-inline: auto; order: 2; }
  .sed__row { grid-template-columns: repeat(2, 1fr); }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot { padding-bottom: 120px; }
  .dock { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 0; background: var(--ink); border: 2px solid var(--cream); box-shadow: 5px 5px 0 var(--red); transform: translateY(160%); transition: transform .45s var(--ease); }
  .dock.is-on { transform: none; }
  .dock a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 8px; font-family: var(--display); text-transform: uppercase; font-size: 15px; letter-spacing: .08em; }
  .dock a:first-child { background: var(--red-d); color: #fff; }
}
@media (max-width: 640px) {
  .nav .btn--sm { display: none; }
  .nav__word { height: 28px; }
  .hero__title { font-size: min(17.6vw, 100px); }
  .hero__title .chicha + .chicha { margin-left: .08em; }
  .h2 { font-size: clamp(44px, 13.500vw, 68px); }
  .h2 .chicha + .chicha { margin-left: .2em; }
  .menu__list { grid-template-columns: 1fr; }
  .perks li { grid-template-columns: 104px 1fr; }
  .perks b { font-size: 24px; }
  .hours td span { display: block; margin-left: 0; }
  .hours td { vertical-align: top; }
  .price { font-size: 17px; top: 10px; }
  .plato__body { padding: 14px 13px 18px; } .plato p { font-size: 13.5px; }
  .plato h3 { font-size: 19px; }
  .steps { gap: 5px; height: 130px; }
  .plato--feature h3 { font-size: 30px; }
  .plato__more-n { font-size: 48px; }
  .plato__more-t { font-size: 18px; }
  .plato--more::before { width: 130px; height: 130px; right: -30px; bottom: -30px; }
  .foot__grid { grid-template-columns: 1fr; gap: 28px; }
  .btn { font-size: 15.5px; padding: 12px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .h2.reveal .chicha, .hero__copy > * { opacity: 1 !important; transform: none; }
  .hero__title .chicha { opacity: 1 !important; }
  .llama--walk { transform: translateX(60vw); }
}

/* ==========================================================
   HERO «EL VANO» (v7): ventana inca a la cocina + platos
   ========================================================== */
.hero { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(12px, 1.6vw, 24px); align-items: center; min-height: max(100svh, 760px); padding: 104px clamp(20px, 6vw, 96px) 0; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(46% 60% at 78% 62%, rgba(210, 59, 44, .2), transparent 70%), var(--wall); }
.hero__copy { grid-column: 1 / 8; max-width: none; padding-bottom: clamp(40px, 6vh, 80px); }
.hero__eyebrow { display: flex; align-items: center; gap: 12px; font-family: var(--display); text-transform: uppercase; letter-spacing: .32em; font-size: clamp(12px, .95vw, 14px); color: var(--aji); margin-bottom: 22px; }
.hero__eyebrow i { width: 14px; height: 14px; background: var(--red); clip-path: var(--chakana); flex: none; }
.hero__title { font-size: clamp(84px, 11.4vw, 176px); margin-top: 0; }
.hero__title .chicha:first-child { color: var(--cream); font-size: .3em; letter-spacing: .34em; }
.hero__sub { margin-top: 30px; }
.hero__stage { grid-column: 8 / 13; position: relative; align-self: end; height: min(780px, 84svh); z-index: 2; }
.vano { position: absolute; inset: 0; clip-path: var(--trapezoid); background: linear-gradient(180deg, var(--cream), #b9a67c); }
.vano__in { position: absolute; inset: 3px 3px 0; clip-path: var(--trapezoid); background: #000; overflow: hidden; }
.vano__in::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 10, 8, .35), transparent 22%, transparent 62%, rgba(12, 10, 8, .7)); pointer-events: none; }
.vano__v { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; display: block; }
.vano__cap { position: absolute; left: 50%; top: -17px; width: 34px; height: 34px; translate: -50% 0; background: var(--aji); clip-path: var(--chakana); z-index: 3; }
.orb { position: absolute; z-index: 3; display: block; filter: drop-shadow(0 26px 26px rgba(0, 0, 0, .7)); }
.orb img { width: 100%; height: auto; transition: transform .8s var(--ease); }
.orb:hover img, .orb:focus-visible img { transform: rotate(7deg) scale(1.05); }
.orb span { position: absolute; left: 50%; bottom: -4px; translate: -50% 6px; white-space: nowrap; background: var(--cream); color: var(--ink); font-family: var(--display); text-transform: uppercase; letter-spacing: .08em; font-size: 13px; padding: 5px 11px 4px; opacity: 0; transition: opacity .3s, translate .3s; }
.orb:hover span, .orb:focus-visible span { opacity: 1; translate: -50% 0; }
.orb--1 { width: clamp(200px, 25vw, 360px); left: -38%; bottom: 6%; translate: calc(var(--mx, 0) * -14px) calc(var(--my, 0) * -8px); }
.orb--2 { width: clamp(120px, 13.5vw, 200px); right: -11%; top: 9%; translate: calc(var(--mx, 0) * 10px) calc(var(--my, 0) * 8px); }
.orb--3 { width: clamp(110px, 12vw, 176px); right: -7%; bottom: 17%; translate: calc(var(--mx, 0) * 16px) calc(var(--my, 0) * -6px); }
.seal { position: absolute; z-index: 4; left: -4%; top: 5%; width: 128px; aspect-ratio: 1; border-radius: 50%; display: grid; place-content: center; text-align: center; rotate: -10deg; background: var(--red-d); color: #fff; font-family: var(--display); text-transform: uppercase; box-shadow: 0 0 0 4px var(--ink), 0 0 0 6px var(--cream), 0 16px 30px rgba(0, 0, 0, .55); transition: rotate .5s var(--ease), scale .5s var(--ease); }
.seal:hover { rotate: 4deg; scale: 1.06; }
.seal b { font-weight: 400; font-size: 34px; line-height: 1; color: var(--aji); } .seal sup { font-size: .5em; }
.seal span { font-size: 10.5px; letter-spacing: .12em; line-height: 1.3; margin-top: 2px; }
.hero .laurel { display: none; }

@keyframes vanoIn { from { clip-path: polygon(9% 100%, 91% 100%, 100% 100%, 0 100%); } to { clip-path: polygon(9% 0, 91% 0, 100% 100%, 0 100%); } }
@keyframes orbIn { from { opacity: 0; transform: scale(.78) rotate(-16deg); } }
@keyframes sealIn { from { opacity: 0; scale: 1.6; } }
.js .vano { animation: vanoIn 1.2s var(--out-ease) .1s both; }
.js .vano__cap { animation: rise .6s var(--out-ease) 1.1s both; }
.js .orb img { animation: orbIn 1s var(--out-ease) both; }
.js .orb--1 img { animation-delay: .7s; } .js .orb--2 img { animation-delay: .85s; } .js .orb--3 img { animation-delay: 1s; }
.js .seal { animation: sealIn .5s var(--ease) 1.5s both; }
.js .hero__eyebrow { animation: slideIn .8s var(--out-ease) .3s both; }
.js .hero__title .chicha:first-child { animation: spread 1.2s var(--out-ease) .45s both; }
.js .hero__title .chicha + .chicha { animation: stamp .9s var(--ease) .65s both; }

/* ---------- La carta de un vistazo: seis vanos ---------- */
.cats { padding: clamp(76px, 9vw, 130px) 0 clamp(40px, 5vw, 70px); background: var(--wall), var(--ink); }
.cats__row { display: flex; gap: 10px; height: clamp(380px, 35vw, 500px); margin-top: clamp(36px, 5vw, 60px); }
.cat { position: relative; flex: 1; min-width: 0; overflow: hidden; clip-path: var(--trapezoid); background: var(--ink-3); color: var(--cream); display: flex; flex-direction: column; justify-content: flex-end; align-items: center; text-align: center; padding: 0 14px 30px; transition: flex .6s var(--ease), filter .4s, opacity .8s var(--ease), transform .8s var(--ease); }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); filter: saturate(.78) brightness(.82); transition: transform .9s var(--ease), filter .6s; }
.cat::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(12, 10, 8, .5), transparent 30%, transparent 46%, rgba(12, 10, 8, .93)); }
.cat::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; z-index: 2; background: var(--red); transform: scaleX(0); transition: transform .5s var(--ease); }
.cat > span, .cat > b, .cat > em { position: relative; z-index: 2; }
.cat__n { position: absolute !important; top: 18px; left: 50%; translate: -50% 0; font-family: var(--display); font-size: 14px; letter-spacing: .14em; color: var(--aji); }
.cat b { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .05em; font-size: clamp(17px, 1.7vw, 25px); line-height: 1.05; }
.cat em { font-style: normal; font-size: 13px; letter-spacing: .08em; color: #d9cdb6; margin-top: 8px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s; }
.cats__row:hover .cat:not(:hover) { filter: brightness(.55); }
.cat:hover, .cat:focus-visible { flex: 1.9; }
.cat:hover img, .cat:focus-visible img { transform: scale(1.02); filter: none; }
.cat:hover::after, .cat:focus-visible::after { transform: none; }
.cat:hover em, .cat:focus-visible em { max-height: 30px; opacity: 1; }

@media (max-width: 1180px) {
  .orb--1 { left: -30%; }
  .seal { width: 108px; } .seal b { font-size: 28px; } .seal span { font-size: 9px; }
}
@media (max-width: 900px) {
  .hero { display: flex; flex-direction: column; min-height: 0; padding: 0; }
  .hero__stage { order: -1; align-self: stretch; height: min(64svh, 540px); z-index: 1; }
  .vano { clip-path: none; background: none; animation: none !important; }
  .vano__in { inset: 0; clip-path: none; -webkit-mask-image: linear-gradient(#000 58%, transparent); mask-image: linear-gradient(#000 58%, transparent); }
  .vano__cap, .seal, .orb--2, .orb--3 { display: none; }
  .orb--1 { width: 168px; left: auto; right: -22px; bottom: 21%; }
  .orb span { display: none; }
  .hero__copy { position: relative; z-index: 3; margin-top: -150px; padding: 0 20px 44px; translate: none; opacity: 1; }
  .hero__eyebrow { margin-bottom: 14px; letter-spacing: .24em; }
  .hero__sub { margin-top: 20px; }
  .hero .laurel { display: inline-flex; }
  .cats__row { height: 330px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc((100vw - 100%) / -2); padding-inline: calc((100vw - 100%) / 2); }
  .cats__row::-webkit-scrollbar { display: none; }
  .cat { flex: 0 0 58vw; scroll-snap-align: center; }
  .cat em { max-height: 30px; opacity: 1; }
  .cat img { filter: none; transform: scale(1.04); }
  .cats__row:hover .cat:not(:hover) { filter: none; }
  .cat:hover, .cat:focus-visible { flex: 0 0 58vw; }
}
@media (max-width: 640px) {
  .hero__title { font-size: min(21vw, 110px); }
  .hero__lead { display: none; }
  .hero__cta { gap: 10px; margin-top: 22px; }
  .hero__cta .btn { padding: 12px 16px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .orb img, .vano, .seal, .vano__cap, .hero__eyebrow { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================
   HISTORIA: línea de tiempo con fechas grandes
   ========================================================== */
.story { position: relative; padding: clamp(80px, 10vw, 140px) 0; background: #100c09; overflow: hidden; }
.story::before { content: ""; position: absolute; inset: 0; background: var(--wall); opacity: .7; pointer-events: none; }
.story .wrap { position: relative; }
.story__head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; }
.story__head .lead { margin-top: 0; }
.story__list { margin-top: clamp(50px, 7vw, 100px); position: relative; }
.story__list::before { content: ""; position: absolute; left: clamp(110px, 12vw, 170px); top: 0; bottom: 0; width: 1px; background: linear-gradient(180deg, transparent, var(--line) 6%, var(--line) 94%, transparent); }
.chap { display: grid; grid-template-columns: clamp(220px, 24vw, 340px) minmax(0, .9fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding: clamp(34px, 5vw, 70px) 0; }
.chap__date { align-self: start; position: sticky; top: 130px; display: flex; flex-direction: column; align-items: flex-start; }
.chap__date b { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(64px, 8.4vw, 132px); line-height: .9; letter-spacing: .01em; color: transparent; -webkit-text-stroke: 1.5px var(--cream); background: #100c09; padding: 8px 14px 8px 0; position: relative; z-index: 1; }
.chap__date i { width: 16px; height: 16px; background: var(--aji); clip-path: var(--chakana); margin: 14px 0 0 clamp(102px, calc(12vw - 8px), 162px); position: relative; z-index: 1; }
.chap__img { margin: 0; position: relative; }
.chap__img img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; clip-path: var(--trapezoid); filter: saturate(1.05) contrast(1.04); }
.chap__img::after { content: ""; position: absolute; left: 6%; right: 6%; bottom: -10px; height: 4px; background: var(--red); }
.chap__img--mp img { object-fit: cover; object-position: 60% 100%; background: radial-gradient(60% 50% at 55% 28%, #f08a2c 0, #d23b2c 34%, #3a120c 70%, #140c09 100%); }
.chap__n { font-family: var(--display); letter-spacing: .24em; font-size: 12.5px; color: var(--aji); }
.chap__txt h3 { font-family: var(--chicha); font-weight: 400; font-size: clamp(34px, 3.6vw, 54px); line-height: 1.05; color: var(--cream); text-shadow: .05em .06em 0 var(--red); margin: 8px 0 18px; transform: rotate(-1.500deg); transform-origin: left; }
.chap__txt p { color: #ddd2bd; font-size: clamp(16px, 1.25vw, 18.5px); line-height: 1.65; max-width: 48ch; }
.chap__fact { margin-top: 20px; padding: 14px 0 0 30px; border-top: 1px solid var(--line); position: relative; color: var(--cream) !important; font-weight: 600; font-size: 15.5px !important; }
.chap__fact::before { content: ""; position: absolute; left: 2px; top: 19px; width: 14px; height: 14px; background: var(--red); clip-path: var(--chakana); }
.story__stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(40px, 6vw, 80px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.story__stats li { padding: clamp(24px, 3vw, 40px) clamp(14px, 2vw, 28px); border-left: 1px solid var(--line); }
.story__stats li:first-child { border-left: 0; padding-left: 0; }
.story__stats b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(44px, 5vw, 76px); line-height: 1; color: var(--aji); letter-spacing: .01em; white-space: nowrap; }
.story__stats span { display: block; margin-top: 10px; font-size: 14.5px; color: #cfc4ae; line-height: 1.45; max-width: 24ch; }
.dict { margin-top: clamp(50px, 7vw, 90px); }
.dict dl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 30px 0 0; }
.dict dl > div { background: rgba(241, 232, 214, .04); border: 1px solid var(--line); padding: 20px 20px 22px; transition: border-color .3s, background .3s, transform .4s var(--ease), opacity .8s var(--ease); }
.dict dl > div:hover { border-color: var(--aji); background: rgba(246, 183, 34, .06); }
.dict dt { font-family: var(--display); text-transform: uppercase; letter-spacing: .06em; font-size: 20px; color: var(--cream); }
.dict dt::after { content: ""; display: block; width: 28px; height: 3px; background: var(--red); margin: 9px 0 10px; }
.dict dd { margin: 0; font-size: 14.5px; line-height: 1.5; color: #cfc4ae; }

@media (max-width: 900px) {
  .story__head { grid-template-columns: 1fr; gap: 18px; }
  .story__list::before { display: none; }
  .chap { grid-template-columns: 1fr; gap: 18px; padding: 34px 0; border-top: 1px solid var(--line); }
  .chap__date { position: static; flex-direction: row; align-items: center; gap: 14px; }
  .chap__date b { font-size: 68px; background: none; padding: 0; }
  .chap__date i { margin: 0; }
  .chap__img img { aspect-ratio: 4 / 3; clip-path: none; }
  .chap__img::after { left: 0; right: auto; width: 70px; bottom: -4px; }
  .story__stats { grid-template-columns: 1fr 1fr; }
  .story__stats li { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .story__stats li:nth-child(-n+2) { border-top: 0; }
  .dict dl { grid-template-columns: 1fr 1fr; gap: 10px; }
  .dict dl > div { padding: 14px 14px 16px; } .dict dt { font-size: 17px; } .dict dd { font-size: 13.5px; }
}

/* La despensa: ingredientes */
.pantry { margin-top: clamp(40px, 6vw, 80px); }
.pantry__row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 30px; }
.pantry__row li { display: flex; flex-direction: column; text-align: center; }
.pantry__row img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; clip-path: var(--trapezoid); margin-bottom: 14px; filter: saturate(.92); transition: transform .7s var(--ease), filter .5s; }
.pantry__row li:hover img { transform: translateY(-8px); filter: none; }
.pantry__row b { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .05em; font-size: 19px; line-height: 1.1; }
.pantry__row span { font-size: 13.5px; color: #cfc4ae; margin-top: 5px; line-height: 1.4; }
.foot__credits { margin-top: 34px; font-size: 11.5px; line-height: 1.6; color: #8d8474; }
.foot__credits a { display: inline; padding: 0; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 900px) {
  .pantry__row { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .pantry__row b { font-size: 16px; } .pantry__row span { font-size: 12.5px; }
}
@media (max-width: 480px) { .pantry__row { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================
   BOTONES SUAVES (v8): píldora, sin sombra dura
   ========================================================== */
.btn { border-radius: 999px; padding: 14px 28px 13px; font-size: 15.5px; letter-spacing: .1em; border-width: 1.5px; box-shadow: none; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s; }
.btn--sm { padding: 9px 20px 8px; font-size: 13.5px; }
.btn--yellow, .cta .btn--black { background: linear-gradient(180deg, #c8382a, var(--red-d)); border-color: transparent; color: #fff; box-shadow: 0 10px 24px -10px rgba(210, 59, 44, .75), inset 0 1px 0 rgba(255, 255, 255, .18); }
.btn--yellow:hover, .cta .btn--black:hover { transform: translateY(-2px); background: linear-gradient(180deg, #d94433, #b52f22); border-color: transparent; box-shadow: 0 16px 30px -10px rgba(210, 59, 44, .85), inset 0 1px 0 rgba(255, 255, 255, .22); }
.btn--line { border-color: rgba(241, 232, 214, .45); background: rgba(241, 232, 214, .06); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn--line:hover { background: var(--cream); border-color: var(--cream); color: var(--ink); transform: translateY(-2px); }
.btn--black { background: var(--ink); border-color: var(--ink); color: var(--cream); box-shadow: 0 10px 24px -12px rgba(12, 10, 8, .7); }
.btn--black:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(12, 10, 8, .8); background: #1e1813; }
.btn--line-dark { border-color: rgba(12, 10, 8, .4); }
.btn--line-dark:hover { transform: translateY(-2px); }
.nav .btn--yellow, .map .btn--yellow { box-shadow: 0 8px 18px -10px rgba(210, 59, 44, .7); }
.cta .btn--black { font-size: 19px; padding: 16px 32px 15px; }

.lang { border-radius: 999px; border-color: rgba(241, 232, 214, .4); padding: 3px; }
.lang button { border-radius: 999px; padding: 6px 12px 5px; transition: background .25s, color .25s; }
.burger { border-radius: 50%; border-color: rgba(241, 232, 214, .4); background: rgba(12, 10, 8, .5); }
.laurel { border-radius: 999px; padding: 8px 16px 7px; }
.plato__more-cta, .orb span { border-radius: 999px; }
.plato__more-cta { padding: 10px 18px 9px; }
.tabs { gap: 6px; border-bottom-width: 1px; padding-bottom: 12px; }
.tabs button { border-radius: 999px; padding: 9px 18px 8px; font-size: 14.5px; }
.tabs button[aria-selected="true"] { box-shadow: none; background: var(--red-d); color: #fff; }
.price { border-radius: 999px 0 0 999px; clip-path: none; padding: 4px 14px 3px 16px; }
.hours { box-shadow: 0 30px 60px -30px #000; border: 1px solid var(--line); border-radius: 14px; }
.player { box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .7); border-width: 3px; border-radius: 14px; }
.place__photo > img:first-child { box-shadow: 0 40px 80px -30px #000; border-width: 3px; border-radius: 10px; }
.dict dl > div, .map { border-radius: 12px; }
@media (max-width: 900px) {
  .dock { border-radius: 999px; border: 1px solid rgba(241, 232, 214, .25); box-shadow: 0 16px 34px -12px rgba(0, 0, 0, .8); overflow: hidden; background: rgba(12, 10, 8, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 4px; }
  .dock a { border-radius: 999px; padding: 11px 8px 10px; font-size: 14px; }
  .dock a:first-child { background: linear-gradient(180deg, #c8382a, var(--red-d)); }
}
@media (max-width: 640px) { .btn { padding: 12px 20px 11px; font-size: 14.5px; } }

/* Jerga peruana */
.cta__slang { font-family: var(--chicha); font-size: clamp(24px, 2.6vw, 38px); line-height: 1.15; color: var(--aji); margin-top: 18px; transform: rotate(-2deg); text-shadow: .05em .06em 0 var(--ink); }
.cta__lead { margin-top: 14px; }
.dict__h2 { margin-top: clamp(44px, 6vw, 70px); }
.dict__intro { color: #cfc4ae; margin-top: 10px; font-size: 16.5px; }
.dict--jerga { margin-top: 24px !important; }
.dict--jerga dt { font-family: var(--chicha); text-transform: none; letter-spacing: 0; font-size: 26px; color: var(--aji); line-height: 1.1; }
.dict--jerga dt::after { background: var(--cream); opacity: .4; height: 1px; width: 100%; }
.foot__slang { font-family: var(--chicha); color: var(--aji); font-size: 20px; margin-top: 10px; transform: rotate(-2deg); transform-origin: left; }

/* ==========================================================
   v9: fondos negros lisos · vídeo con forma de isotipo · historia breve
   ========================================================== */
:root {
  --wall: linear-gradient(transparent, transparent);
  --chakana-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M36 5H64V20H80V36H95V64H80V80H64V95H36V80H20V64H5V36H20V20H36Z' stroke='%23000' stroke-width='7' stroke-linejoin='round'/%3E%3C/svg%3E");
}
/* sin sillares ni resplandores */
.hero__bg, .story::before, .menu::before, .award__rays { display: none; }
.hero, .platos, .cats, .visit, .story { background: var(--ink); }
.place { background: #0c130f; }
.place__wall { background: none; }
.plato--more { background: var(--red-d); }
.map { background: var(--ink-2); }
.award { background: var(--red-d); }

/* Hero: el vídeo dentro de la chakana del logo */
.hero__copy { grid-column: 1 / 7; }
.hero__stage { grid-column: 7 / 13; align-self: center; justify-self: center; width: min(100%, 78svh, 640px); height: auto; aspect-ratio: 1; margin-bottom: clamp(20px, 4vh, 50px); }
.hero__stage::before { content: ""; position: absolute; inset: 0; translate: 16px 16px; background: var(--red-d); -webkit-mask: var(--chakana-mask) center / 100% 100% no-repeat; mask: var(--chakana-mask) center / 100% 100% no-repeat; }
.vano { inset: 0; clip-path: none; background: linear-gradient(160deg, var(--cream), #c7b48a); -webkit-mask: var(--chakana-mask) center / 100% 100% no-repeat; mask: var(--chakana-mask) center / 100% 100% no-repeat; }
.vano__in { inset: 5px; clip-path: none; -webkit-mask: var(--chakana-mask) center / 100% 100% no-repeat; mask: var(--chakana-mask) center / 100% 100% no-repeat; }
.vano__in::after { background: linear-gradient(180deg, rgba(12, 10, 8, .2), transparent 30%, transparent 70%, rgba(12, 10, 8, .35)); }
.vano__v { object-position: 50% 42%; }
.seal { left: 6%; top: 6%; }
@keyframes chakIn { from { opacity: 0; transform: scale(.86) rotate(-8deg); } }
.js .vano { animation: chakIn 1.2s var(--out-ease) .15s both; }
.js .hero__stage::before { animation: chakIn 1.2s var(--out-ease) .3s both; }

/* Historia en una fila */
.story { padding: clamp(70px, 8vw, 110px) 0; }
.eras { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(14px, 1.8vw, 26px); margin-top: clamp(36px, 5vw, 60px); }
.era { border-top: 1px solid var(--line); padding-top: 18px; }
.era figure { margin: 0 0 16px; overflow: hidden; border-radius: 10px; }
.era img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .9s var(--ease); }
.era:hover img { transform: scale(1.06); }
.era__img--mp img, .era .chap__img--mp img { object-position: 60% 100%; background: #141a12; }
.era__date { display: block; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(34px, 3.6vw, 54px); line-height: 1; color: var(--aji); letter-spacing: .01em; }
.era h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .05em; font-size: clamp(17px, 1.4vw, 21px); margin: 10px 0 8px; }
.era p { font-size: 14.5px; line-height: 1.55; color: #cfc4ae; }
.jerga { display: grid; grid-template-columns: 240px 1fr; gap: 30px; align-items: start; margin-top: clamp(40px, 5vw, 64px); padding-top: 28px; border-top: 1px solid var(--line); }
.jerga h3 { font-family: var(--chicha); font-weight: 400; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.1; color: var(--cream); text-shadow: .05em .06em 0 var(--red); transform: rotate(-2deg); transform-origin: left; }
.jerga dl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 26px; margin: 0; }
.jerga dt { font-family: var(--chicha); color: var(--aji); font-size: 20px; line-height: 1.2; }
.jerga dd { margin: 2px 0 0; font-size: 13.5px; line-height: 1.45; color: #cfc4ae; }

@media (max-width: 900px) {
  .hero__stage { order: -1; align-self: center; width: min(84vw, 420px); height: auto; margin: 92px auto 0; }
  .hero__stage::before { translate: 10px 10px; }
  .vano { background: linear-gradient(160deg, var(--cream), #c7b48a); animation: chakIn 1.2s var(--out-ease) .15s both !important; }
  .vano__in { inset: 4px; -webkit-mask: var(--chakana-mask) center / 100% 100% no-repeat; mask: var(--chakana-mask) center / 100% 100% no-repeat; }
  .hero__copy { margin-top: 26px; }
  .eras { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 68vw; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc((100vw - 100%) / -2); padding-inline: calc((100vw - 100%) / 2); }
  .eras::-webkit-scrollbar { display: none; }
  .era { scroll-snap-align: center; }
  .jerga { grid-template-columns: 1fr; gap: 18px; }
  .jerga dl { grid-template-columns: 1fr 1fr; }
}

/* Enlaces legales y página legal */
.foot__legal { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot__legal a { display: inline; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.legal { padding: 140px 0 90px; background: var(--ink); min-height: 100svh; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .04em; font-size: clamp(40px, 6vw, 72px); line-height: 1; }
.legal h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .06em; font-size: 28px; color: var(--aji); margin: 56px 0 14px; padding-top: 28px; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.legal h3 { font-size: 17px; margin: 24px 0 6px; color: var(--cream); }
.legal p, .legal li { color: #d6ccb8; font-size: 16px; line-height: 1.7; }
.legal p { margin-top: 10px; }
.legal ul { list-style: disc; padding-left: 22px; margin-top: 8px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal mark { background: rgba(246, 183, 34, .22); color: var(--aji); padding: 1px 6px; border-radius: 4px; }
.legal__back { display: inline-block; margin-bottom: 26px; font-family: var(--display); text-transform: uppercase; letter-spacing: .14em; font-size: 13.5px; color: var(--aji); text-decoration: none !important; }
.legal__note { margin-top: 18px; color: var(--muted) !important; font-size: 14px !important; }
@media (max-width: 1080px) { .nav__links { font-size: 32px; gap: 16px; } }

/* Móvil: primero «Sabor Norteño», después el vídeo */
@media (max-width: 900px) {
  .hero { padding: 96px 20px 44px; }
  .hero__copy { display: contents; }
  .hero__eyebrow { order: 1; }
  .hero__title { order: 2; }
  .hero__stage { order: 3; margin: 26px auto 10px; width: min(82vw, 420px); }
  .hero__sub, .hero__lead, .hero__cta, .hero__meta { order: 4; }
}
