/* ============================================================
   EL ANILLO DEL CÍCLOPE · La Bitácora de Mirano · v3
   Fotografía como ancla; luz, destellos y hovers como acento.
   ============================================================ */

@font-face {
  font-family: 'Serif Gothic';
  src: url('../fonts/itc-serif-gothic-regular-588cef4e7134b.otf') format('opentype');
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: 'Serif Gothic';
  src: url('../fonts/itc-serif-gothic-extra-bold-588cef7e1f5d9.otf') format('opentype');
  font-weight: 700; font-display: swap;
}
@font-face {
  font-family: 'Serif Gothic';
  src: url('../fonts/itc-serif-gothic-heavy-588d443a778f2.otf') format('opentype');
  font-weight: 800; font-display: swap;
}
@font-face {
  font-family: 'Serif Gothic';
  src: url('../fonts/itc-serif-gothic-black-588d43e1e915d.otf') format('opentype');
  font-weight: 900; font-display: swap;
}

:root {
  --amarillo: oklch(0.88 0.19 95);
  --amarillo-hex: #FFD600;
  --ambar: oklch(0.75 0.14 75);
  --morado: oklch(0.47 0.23 293);
  --morado-luz: oklch(0.68 0.17 293);
  --fondo: oklch(0.16 0.015 310);
  --fondo-hondo: oklch(0.12 0.02 305);
  --panel: oklch(0.19 0.02 305 / 0.82);
  --linea: oklch(0.88 0.19 95 / 0.3);
  --linea-suave: oklch(0.88 0.19 95 / 0.13);
  --marfil: oklch(0.94 0.012 90);
  --texto: oklch(0.78 0.015 90);
  --display: 'Serif Gothic', 'Poppins', serif;
  --body: 'Poppins', system-ui, sans-serif;
  --panelfont: 'VT323', monospace;
  --notch: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--fondo);
  color: var(--texto);
  font-family: var(--body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}
body.gate-locked, body.nav-open { overflow: hidden; }
::selection { background: var(--amarillo-hex); color: #1a1408; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* accesibilidad: texto solo para lectores de pantalla + salto al contenido */
.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;
}
.skip {
  position: fixed; top: 10px; left: 12px; z-index: 200;
  background: var(--amarillo-hex); color: #1a1408;
  font-family: var(--display); font-weight: 800; font-size: 14px;
  padding: 10px 18px; transform: translateY(-160%);
  transition: transform 0.25s var(--ease);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.skip:focus { transform: translateY(0); outline: none; }

/* ============================================================
   GATE · entrada gamificada (solo con JS)
   ============================================================ */
.gate { display: none; }
.js .gate {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  cursor: pointer;
  background:
    radial-gradient(ellipse 60% 45% at 75% 15%, oklch(0.47 0.23 293 / 0.3), transparent 65%),
    radial-gradient(ellipse 50% 40% at 20% 80%, oklch(0.55 0.2 293 / 0.22), transparent 65%),
    radial-gradient(ellipse 40% 30% at 15% 30%, oklch(0.75 0.14 75 / 0.08), transparent 70%),
    var(--fondo-hondo);
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}
.js .gate.gate--open { opacity: 0; visibility: hidden; pointer-events: none; }
.gate__stars {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 22%, oklch(0.95 0.05 95 / 0.9), transparent 100%),
    radial-gradient(1px 1px at 32% 68%, oklch(0.9 0.01 90 / 0.7), transparent 100%),
    radial-gradient(2px 2px at 58% 12%, oklch(0.9 0.12 95 / 0.85), transparent 100%),
    radial-gradient(1px 1px at 72% 42%, oklch(0.9 0.01 90 / 0.6), transparent 100%),
    radial-gradient(1.5px 1.5px at 85% 75%, oklch(0.92 0.09 95 / 0.8), transparent 100%),
    radial-gradient(1px 1px at 44% 88%, oklch(0.9 0.01 90 / 0.55), transparent 100%),
    radial-gradient(2px 2px at 92% 28%, oklch(0.9 0.01 90 / 0.75), transparent 100%),
    radial-gradient(1px 1px at 8% 55%, oklch(0.9 0.01 90 / 0.6), transparent 100%);
}
.gate__core { position: relative; display: grid; place-items: center; gap: 26px; z-index: 2; }
.gate__halo {
  position: absolute; top: 75px; left: 50%; transform: translate(-50%, -50%);
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, oklch(0.88 0.19 95 / 0.22), transparent 60%);
  animation: haloPulse 2.6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes haloPulse { 0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; } 50% { transform: translate(-50%, -50%) scale(1.25); opacity: 1; } }
.gate__eye {
  position: relative; z-index: 2; width: 150px;
  filter: drop-shadow(0 0 30px oklch(0.88 0.19 95 / 0.45));
  transition: transform 0.4s var(--ease), filter 0.4s var(--ease);
  animation: eyeFloat 4s ease-in-out infinite;
}
@keyframes eyeFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.gate:hover .gate__eye { transform: scale(1.1); filter: drop-shadow(0 0 48px oklch(0.88 0.19 95 / 0.7)); animation-play-state: paused; }
.gate__hint {
  font-family: var(--display); font-weight: 800; font-size: 15px;
  letter-spacing: 0.4em; color: var(--marfil); opacity: 0.75;
  animation: hintBlink 2.6s ease-in-out infinite;
}
@keyframes hintBlink { 0%, 100% { opacity: 0.45; } 50% { opacity: 0.95; } }

/* capas de explosión */
.gate__flash, .gate__rays, .gate__ring {
  position: absolute; top: 50%; left: 50%;
  translate: -50% -50%;
  border-radius: 50%; pointer-events: none; opacity: 0;
}
.gate__flash { width: 90px; height: 90px; background: radial-gradient(circle, #fff, oklch(0.88 0.19 95) 40%, transparent 70%); }
.gate__rays {
  width: 340px; height: 340px;
  background: repeating-conic-gradient(from 8deg, oklch(0.88 0.19 95 / 0.9) 0deg 3deg, transparent 3deg 24deg);
  -webkit-mask-image: radial-gradient(circle, transparent 18%, #000 30%, transparent 72%);
  mask-image: radial-gradient(circle, transparent 18%, #000 30%, transparent 72%);
}
.gate__ring { width: 120px; height: 120px; border: 3px solid oklch(0.88 0.19 95 / 0.9); box-shadow: 0 0 40px oklch(0.88 0.19 95 / 0.6), inset 0 0 24px oklch(0.88 0.19 95 / 0.4); }
.gate--boom { cursor: default; }
.gate--boom .gate__eye { animation: eyeBoom 0.55s var(--ease) forwards; }
@keyframes eyeBoom { 0% { transform: scale(1); } 35% { transform: scale(1.35); } 100% { transform: scale(0); opacity: 0; } }
.gate--boom .gate__hint, .gate--boom .gate__halo { opacity: 0 !important; transition: opacity 0.2s; }
.gate--boom .gate__flash { animation: boomFlash 0.75s var(--ease) forwards; }
@keyframes boomFlash { 0% { opacity: 0; scale: 0.2; } 15% { opacity: 1; } 100% { opacity: 0; scale: 16; } }
.gate--boom .gate__rays { animation: boomRays 0.85s var(--ease) forwards; }
@keyframes boomRays { 0% { opacity: 0; scale: 0.3; rotate: 0deg; } 20% { opacity: 1; } 100% { opacity: 0; scale: 6; rotate: 18deg; } }
.gate--boom .gate__ring { animation: boomRing 0.8s var(--ease) forwards; }
@keyframes boomRing { 0% { opacity: 0; scale: 0.4; } 25% { opacity: 1; } 100% { opacity: 0; scale: 10; } }

/* ---------- fondo galáctico ---------- */
#stars { position: fixed; inset: 0; width: 100%; height: 100vh; z-index: 0; pointer-events: none; }
.nebula {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 55% 40% at 80% 10%, oklch(0.47 0.23 293 / 0.18), transparent 70%),
    radial-gradient(ellipse 40% 30% at 12% 40%, oklch(0.75 0.14 75 / 0.07), transparent 70%),
    radial-gradient(ellipse 60% 45% at 88% 88%, oklch(0.47 0.23 293 / 0.13), transparent 70%);
}
.hero, .entrada, .footer, .marquee, .showcase { position: relative; z-index: 1; }

/* ---------- utilidades ---------- */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }

/* botones: Serif Gothic + iluminación al hover (oceanx) */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px;
  font-family: var(--display); font-weight: 800;
  font-size: 15px; letter-spacing: 0.1em;
  padding: 12px 30px; text-transform: uppercase;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: transform 0.2s var(--ease), box-shadow 0.3s var(--ease), background 0.25s ease, border-color 0.25s ease, filter 0.3s var(--ease);
  cursor: pointer;
}
.btn::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120px 50px at 50% 120%, oklch(1 0 0 / 0.28), transparent 70%);
  opacity: 0; transition: opacity 0.35s var(--ease);
}
.btn:hover::after { opacity: 1; }
.btn--solid { background: var(--amarillo-hex); color: #1a1408; }
.btn--solid:hover { box-shadow: 0 0 34px oklch(0.88 0.19 95 / 0.55), 0 6px 22px oklch(0.88 0.19 95 / 0.3); filter: brightness(1.06); }
.btn--ghost { border: 1px solid var(--linea); color: var(--marfil); background: oklch(0.88 0.19 95 / 0.05); }
.btn--ghost:hover { background: oklch(0.88 0.19 95 / 0.12); border-color: oklch(0.88 0.19 95 / 0.7); box-shadow: 0 0 26px oklch(0.88 0.19 95 / 0.28), inset 0 0 18px oklch(0.88 0.19 95 / 0.08); }
.btn--sm { padding: 11px 18px; font-size: 12.5px; }
.btn--big { padding: 17px 42px; font-size: clamp(15px, 1.6vw, 19px); }

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

/* inmersión por sección: clases IO, solo transform+opacity (composited) */
.js [data-immerse] {
  opacity: 0.001; transform: translateY(34px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
.js [data-immerse].io-in { opacity: 1; transform: none; }

/* tarjeta con destello posterior */
.glow-card { position: relative; }
.glow-card::before {
  content: ""; position: absolute; inset: -22px; z-index: -1;
  background:
    radial-gradient(60% 55% at 30% 20%, oklch(0.88 0.19 95 / 0.16), transparent 70%),
    radial-gradient(55% 50% at 75% 85%, oklch(0.47 0.23 293 / 0.24), transparent 70%);
  filter: blur(18px);
  opacity: 0.85;
  transition: opacity 0.45s var(--ease);
}
.glow-card:hover::before { opacity: 1; }
.glow-card--purple::before {
  background:
    radial-gradient(60% 55% at 30% 20%, oklch(0.68 0.17 293 / 0.22), transparent 70%),
    radial-gradient(55% 50% at 75% 85%, oklch(0.88 0.19 95 / 0.12), transparent 70%);
}

/* ============================================================
   COCKPIT
   ============================================================ */
.cockpit {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 22px;
  padding: 10px clamp(16px, 3vw, 30px);
  background: oklch(0.13 0.02 305 / 0.92);
  border-bottom: 1px solid var(--linea-suave);
  backdrop-filter: blur(10px);
}
.cockpit::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, oklch(0.88 0.19 95 / 0.5) 30%, transparent 60%);
}
.cockpit__brand { display: flex; align-items: center; min-height: 44px; }
.cockpit__brand img { height: 36px; width: auto; }
.cockpit__repair { display: flex; align-items: center; gap: 8px; }
.cockpit__repair-label { font-family: var(--panelfont); font-size: 14px; color: var(--texto); opacity: 0.8; letter-spacing: 0.04em; }
.cockpit__repair-bar {
  width: 90px; height: 8px; border: 1px solid var(--linea);
  clip-path: polygon(3px 0, 100% 0, 100% calc(100% - 3px), calc(100% - 3px) 100%, 0 100%, 0 3px);
  overflow: hidden; background: oklch(0.88 0.19 95 / 0.06);
}
.cockpit__repair-bar i {
  display: block; height: 100%; width: 100%;
  background: repeating-linear-gradient(90deg, var(--amarillo-hex) 0 5px, oklch(0.75 0.17 90) 5px 7px);
  transform: scaleX(0.38); transform-origin: left;
  transition: transform 0.2s linear;
}
.cockpit__repair-pct { font-family: var(--panelfont); font-size: 17px; color: var(--amarillo-hex); min-width: 42px; }
.cockpit__index { display: flex; gap: 26px; margin-left: auto; }
.cockpit__index a {
  font-family: var(--display); font-weight: 700;
  font-size: 13.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--marfil); opacity: 0.85; padding: 4px 2px; position: relative; white-space: nowrap;
  transition: opacity 0.3s ease, text-shadow 0.3s ease, color 0.3s ease;
}
.cockpit__index a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 100%; background: var(--amarillo-hex); box-shadow: 0 0 10px oklch(0.88 0.19 95 / 0.8); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.cockpit__index a:hover { opacity: 1; color: var(--amarillo-hex); text-shadow: 0 0 18px oklch(0.88 0.19 95 / 0.55); }
.cockpit__index a:hover::after { transform: scaleX(1); }
.cockpit__cta { padding: 10px 22px; font-size: 13px; white-space: nowrap; }
.cockpit__burger { display: none; }

/* ============================================================
   HERO · foto de fondo + logo + 2 botones
   ============================================================ */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 120px 24px 120px;
  overflow: clip;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background: url('../img/hero-food.jpg') center 30% / cover no-repeat;
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(oklch(0.12 0.02 305 / 0.82), oklch(0.12 0.02 305 / 0.35) 42%, oklch(0.14 0.02 308 / 0.55) 75%, var(--fondo) 100%),
    radial-gradient(ellipse 70% 50% at 50% 55%, transparent 30%, oklch(0.12 0.02 305 / 0.55));
}
.hero__inner { max-width: 820px; position: relative; z-index: 2; display: grid; justify-items: center; gap: clamp(34px, 5vh, 56px); }
.hero__logo {
  width: min(560px, 84vw);
  filter: drop-shadow(0 14px 50px oklch(0 0 0 / 0.7)) drop-shadow(0 0 34px oklch(0.88 0.19 95 / 0.25));
}
.hero__cta { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.hero__scroll {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; justify-content: center;
  padding: 12px 22px;
}
.hero__scroll-line { display: block; width: 1.5px; height: 52px; background: linear-gradient(var(--amarillo-hex), transparent); animation: drop 2.2s var(--ease) infinite; }
@keyframes drop { 0% { transform: scaleY(0); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: top; } 100% { transform: scaleY(1) translateY(10px); opacity: 0; } }

/* ============================================================
   SECCIONES
   ============================================================ */
.entrada { padding: clamp(90px, 11vw, 140px) 0; position: relative; overflow: clip; }
.entrada__head { margin-bottom: clamp(34px, 4.6vw, 56px); max-width: 780px; }
.entrada__head--center { margin-inline: auto; text-align: center; }
.entrada__title {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(38px, 6vw, 66px);
  color: var(--marfil); line-height: 1.05;
}
.entrada__title em { font-style: normal; color: var(--amarillo-hex); }
.entrada__sub { margin-top: 12px; max-width: 56ch; }
.entrada__head--center .entrada__sub { margin-inline: auto; }

/* ---------- HISTORIA ---------- */
.origen__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.origen__lede {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(21px, 2.8vw, 30px); line-height: 1.25;
  color: var(--amarillo-hex); margin-bottom: 22px;
}
.origen__txt p + p { margin-top: 14px; }
.origen__txt strong { color: var(--marfil); font-weight: 500; }
.origen__stats { display: flex; gap: 40px; margin-top: 36px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat__n { font-family: var(--display); font-weight: 900; font-size: 30px; color: var(--amarillo-hex); line-height: 1.1; }
.stat__l { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.6; margin-top: 6px; }

.origen__fig { justify-self: center; }
.scan-frame {
  position: relative; padding: 24px 24px 50px;
  border: 1px solid var(--linea);
  clip-path: var(--notch);
  background:
    linear-gradient(oklch(0.88 0.19 95 / 0.04), transparent 30%),
    repeating-linear-gradient(transparent 0 3px, oklch(0.88 0.19 95 / 0.03) 3px 4px);
}
.scan-frame img { width: min(300px, 58vw); filter: drop-shadow(0 0 36px oklch(0.88 0.19 95 / 0.15)); }
.scan-frame__code {
  position: absolute; bottom: 16px; left: 0; right: 0; text-align: center;
  font-family: var(--panelfont); font-size: 15px; letter-spacing: 0.1em;
  color: var(--amarillo-hex); opacity: 0.9;
}

/* ---------- MARQUEE ---------- */
.marquee {
  overflow: hidden; padding: clamp(18px, 2.4vw, 28px) 0;
  border-top: 1px solid var(--linea-suave);
  border-bottom: 1px solid var(--linea-suave);
  background: linear-gradient(90deg, oklch(0.47 0.23 293 / 0.1), transparent 30%, transparent 70%, oklch(0.47 0.23 293 / 0.1));
}
.marquee__track {
  display: flex; width: max-content;
  animation: marquee 22s linear infinite;
  will-change: transform;
}
.marquee__track span {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(26px, 4vw, 44px);
  color: var(--amarillo-hex); white-space: nowrap;
  text-shadow: 0 0 34px oklch(0.88 0.19 95 / 0.35);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- SHOWCASE · carrusel (auto-scroll JS + flechas + lightbox) ---------- */
.showcase { padding: clamp(60px, 8vw, 100px) 0; overflow: hidden; }
.showcase__viewport {
  overflow-x: auto; overflow-y: hidden;
  scrollbar-width: none; -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}
.showcase__viewport::-webkit-scrollbar { display: none; }
.showcase__track {
  display: flex; gap: clamp(22px, 3vw, 34px); width: max-content;
  padding: 30px clamp(20px, 4vw, 48px);
}
.show-card {
  flex: 0 0 auto; padding: 0; border: none; background: none; cursor: pointer;
  display: block; line-height: 0;
}
.show-card:focus-visible { outline: 2px solid var(--amarillo-hex); outline-offset: 4px; }
.show-card img {
  width: clamp(200px, 22vw, 270px); height: clamp(266px, 29vw, 356px);
  object-fit: cover;
  clip-path: var(--notch);
  border: 1px solid var(--linea-suave);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
.showcase__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 42px; height: 42px; display: grid; place-items: center;
  font-family: var(--display); font-size: 26px; line-height: 1;
  color: #1a1408; background: var(--amarillo-hex);
  border: none; cursor: pointer; padding: 0 0 3px;
  clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
  box-shadow: 0 6px 22px oklch(0 0 0 / 0.45);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s var(--ease);
}
.showcase__arrow--prev { left: clamp(6px, 1.5vw, 16px); }
.showcase__arrow--next { right: clamp(6px, 1.5vw, 16px); }
.showcase__arrow:hover { filter: brightness(1.06); box-shadow: 0 0 26px oklch(0.88 0.19 95 / 0.55); }
.showcase__arrow:active { transform: translateY(-50%) scale(0.92); }
.showcase__arrow:focus-visible { outline: 2px solid var(--marfil); outline-offset: 3px; }

/* ---------- LIGHTBOX ---------- */
.lightbox[hidden] { display: none; }
.lightbox {
  position: fixed; inset: 0; z-index: 95;
  display: grid; place-items: center; padding: 20px;
}
.lightbox__backdrop { position: absolute; inset: 0; background: oklch(0.06 0.02 305 / 0.9); backdrop-filter: blur(5px); }
.lightbox__img {
  position: relative; z-index: 1;
  max-width: min(92vw, 900px); max-height: 86vh; width: auto; height: auto;
  object-fit: contain; clip-path: var(--notch);
  border: 1px solid var(--linea);
  box-shadow: 0 30px 90px oklch(0 0 0 / 0.7);
}
.js .lightbox:not([hidden]) .lightbox__img { animation: qvIn 0.4s var(--ease); }
.lightbox__close {
  position: absolute; top: 14px; right: 16px; z-index: 2;
  width: 46px; height: 46px; display: grid; place-items: center;
  background: none; border: none; cursor: pointer;
  font-size: 34px; line-height: 1; color: var(--marfil);
  transition: color 0.2s ease, transform 0.2s ease;
}
.lightbox__close:hover { color: var(--amarillo-hex); transform: scale(1.1); }
body.lb-open { overflow: hidden; }

/* ---------- MENÚ · chips con imagen ---------- */
.cats {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 12px; margin-bottom: 30px;
}
.cat-chip {
  display: flex; align-items: center; gap: 11px;
  background: var(--panel); border: 1px solid var(--linea-suave);
  padding: 7px 18px 7px 8px; cursor: pointer;
  clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}
.cat-chip img { width: 44px; height: 44px; object-fit: cover; clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px); background: oklch(0.25 0.02 305); }
.cat-chip span {
  font-family: var(--display); font-weight: 700; font-size: 14.5px;
  letter-spacing: 0.04em; color: var(--marfil); white-space: nowrap;
}
.cat-chip.is-active { background: var(--amarillo-hex); border-color: var(--amarillo-hex); box-shadow: 0 0 30px oklch(0.88 0.19 95 / 0.4); }
.cat-chip.is-active span { color: #1a1408; }

.inv__panel {
  position: relative;
  background: oklch(0.17 0.02 305 / 0.94);
  border: 1px solid var(--linea);
  clip-path: var(--notch);
  padding: clamp(24px, 3.4vw, 44px);
  min-height: 420px;
}
.inv__panel::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(transparent 0 3px, oklch(0.88 0.19 95 / 0.016) 3px 4px);
}
.inv__panel.scanning::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(oklch(0.88 0.19 95 / 0) 30%, oklch(0.88 0.19 95 / 0.14) 50%, transparent 70%);
  animation: scanline 0.4s var(--ease);
}
@keyframes scanline { from { transform: translateY(-100%); } to { transform: translateY(100%); } }

.menu__cat { display: none; grid-template-columns: 280px 1fr; gap: clamp(24px, 3.6vw, 44px); align-items: start; }
.menu__cat.is-active { display: grid; animation: catIn 0.5s var(--ease); }
@keyframes catIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.menu__visual { position: sticky; top: 130px; }
.menu__visual img {
  width: 100%; border: 1px solid var(--linea-suave);
  clip-path: var(--notch); object-fit: cover; aspect-ratio: 4 / 4.6;
}
.menu__visual--cutout img { border: none; clip-path: none; object-fit: contain; aspect-ratio: auto; filter: drop-shadow(0 16px 32px oklch(0 0 0 / 0.55)); }
.menu__visual figcaption { margin-top: 10px; font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: 0.16em; color: var(--amarillo-hex); opacity: 0.8; text-align: center; text-transform: uppercase; }

.menu__cat h3 { font-family: var(--display); font-weight: 800; font-size: clamp(22px, 2.6vw, 28px); color: var(--marfil); margin-bottom: 4px; }
.menu__catdesc { font-size: 14px; margin-bottom: 24px; opacity: 0.8; max-width: 52ch; }
.menu__group + .menu__group { margin-top: 28px; }
.menu__group h4 {
  font-family: var(--display); font-weight: 700; font-size: 13px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--morado-luz);
  border-bottom: 1px solid oklch(0.68 0.17 293 / 0.3);
  padding-bottom: 7px; margin-bottom: 12px;
}
.mi { display: flex; align-items: baseline; gap: 10px; padding: 9px 0; }
.mi + .mi, .mi__desc + .mi { border-top: 1px dashed oklch(0.88 0.19 95 / 0.1); }
.mi__name { color: var(--marfil); font-weight: 500; font-size: 15.5px; }
.mi__hint { font-size: 12.5px; opacity: 0.75; }
.mi__dots { flex: 1; border-bottom: 1px dotted oklch(0.88 0.19 95 / 0.28); transform: translateY(-4px); min-width: 20px; }
.mi__price { font-family: var(--display); font-weight: 800; font-size: 17px; color: var(--amarillo-hex); white-space: nowrap; }
.mi__desc { font-size: 13px; opacity: 0.7; margin: -4px 0 6px; line-height: 1.55; max-width: 58ch; }
.mi__stamp {
  font-family: var(--display); font-weight: 700; font-size: 10.5px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: #1a1408; background: var(--amarillo-hex);
  padding: 2px 8px; white-space: nowrap;
  clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
}
.menu__note { margin-top: 18px; font-size: 13px; opacity: 0.75; }
.menu__note em { color: var(--amarillo-hex); font-style: normal; }

/* salsas */
.salsas {
  margin-top: 30px; padding: 24px clamp(22px, 3vw, 36px);
  border: 1px solid var(--linea); clip-path: var(--notch);
  background: var(--panel);
  display: flex; align-items: center; gap: 16px 34px; flex-wrap: wrap;
}
.salsas__title { font-family: var(--display); font-weight: 800; font-size: 18px; color: var(--marfil); white-space: nowrap; }
.salsas__list { display: flex; gap: 8px 30px; flex-wrap: wrap; list-style: none; font-size: 13.5px; align-items: center; }
.salsas__list em { font-style: normal; font-weight: 600; color: oklch(0.85 0.06 90); }
.salsas__list .c-green { color: oklch(0.8 0.17 135); }
.salsas__list .c-red { color: oklch(0.7 0.18 30); }
.salsas__list .c-orange { color: oklch(0.78 0.15 60); }
.heat { display: inline-flex; margin-left: 6px; transform: translateY(1px); }
.heat--1::after, .heat--2::after, .heat--3::after, .heat--4::after {
  font-family: var(--panelfont); font-size: 14px; letter-spacing: 2px; color: oklch(0.7 0.18 30);
}
.heat--1::after { content: "▮"; }
.heat--2::after { content: "▮▮"; }
.heat--3::after { content: "▮▮▮"; }
.heat--4::after { content: "▮▮▮▮"; }

/* promo */
.promo {
  margin-top: 30px; padding: 22px 30px; text-align: center;
  border: 1px dashed oklch(0.68 0.17 293 / 0.55);
  clip-path: var(--notch);
  background: linear-gradient(90deg, oklch(0.47 0.23 293 / 0.24), oklch(0.47 0.23 293 / 0.1));
  display: flex; align-items: center; justify-content: center; gap: 12px 30px; flex-wrap: wrap;
}
.promo__proto { font-family: var(--display); font-weight: 900; font-size: 19px; letter-spacing: 0.06em; color: var(--morado-luz); text-transform: uppercase; }
.promo__deal { font-size: 17px; color: var(--marfil); }
.promo__deal strong { font-family: var(--display); font-weight: 900; color: var(--amarillo-hex); font-size: 26px; }

/* ---------- MERCH ---------- */
.merch {
  background:
    radial-gradient(ellipse 70% 50% at 20% 0%, oklch(0.47 0.23 293 / 0.35), transparent 65%),
    linear-gradient(oklch(0.22 0.09 298), oklch(0.18 0.06 300));
  border-top: 1px solid oklch(0.68 0.17 293 / 0.3);
  border-bottom: 1px solid oklch(0.68 0.17 293 / 0.3);
}
.merch__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 3.4vw, 40px); }
.merch__designs {
  position: relative; padding: 18px;
  border: 1px solid oklch(0.68 0.17 293 / 0.4);
  clip-path: var(--notch);
  background: oklch(0.16 0.04 300 / 0.72);
}
.merch__designs img { clip-path: var(--notch); }
.merch__pick {
  font-family: var(--display); font-weight: 800; font-size: clamp(17px, 2vw, 21px);
  letter-spacing: 0.03em; color: var(--marfil); text-align: center;
  margin: 2px 0 10px;
}
.badges {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(10px, 1.6vw, 20px); align-items: center;
  padding: 10px;
}
.badge-btn {
  display: block; width: 100%; padding: 0; border: none; background: none; cursor: pointer;
  filter: drop-shadow(0 8px 18px oklch(0 0 0 / 0.5));
  transition: transform 0.28s var(--ease), filter 0.28s var(--ease);
}
.badge-btn img { width: 100%; display: block; }
.badge-btn:focus-visible {
  transform: scale(1.1) rotate(-2deg);
  filter: drop-shadow(0 14px 30px oklch(0 0 0 / 0.6)) drop-shadow(0 0 22px oklch(0.88 0.19 95 / 0.35));
  outline: 2px solid var(--amarillo-hex); outline-offset: 3px;
}
.badge-btn.is-active {
  transform: scale(1.1);
  filter: drop-shadow(0 14px 30px oklch(0 0 0 / 0.6)) drop-shadow(0 0 26px oklch(0.88 0.19 95 / 0.55));
}
.badges__hint {
  text-align: center; font-size: 12.5px; letter-spacing: 0.06em;
  color: var(--morado-luz); opacity: 0.9; padding-bottom: 8px;
}
.product--tee img {
  clip-path: none; object-fit: contain; background: none;
  filter: drop-shadow(0 10px 22px oklch(0 0 0 / 0.55));
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.product--tee img.swapping { opacity: 0; transform: scale(0.94); }
.product__design {
  font-family: var(--display); font-weight: 700; font-size: 13px;
  letter-spacing: 0.05em; color: var(--amarillo-hex); margin-top: 2px;
}
.merch__stamp {
  position: absolute; top: -14px; right: -6px;
  font-family: var(--display); font-weight: 900; font-size: 15px;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: #1a1408; background: var(--amarillo-hex);
  padding: 7px 16px; transform: rotate(6deg);
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
  box-shadow: 0 6px 24px oklch(0.88 0.19 95 / 0.35);
}
.merch__products { display: grid; gap: 22px; align-content: start; }
.product {
  display: grid; grid-template-columns: 140px 1fr; align-items: center; gap: 22px; padding: 16px;
  border: 1px solid oklch(0.68 0.17 293 / 0.4);
  clip-path: var(--notch);
  background: oklch(0.16 0.04 300 / 0.72);
  font: inherit; text-align: left; color: inherit; width: 100%; cursor: pointer;
  transition: border-color 0.3s ease, box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}
.product:focus-visible { outline: 2px solid var(--amarillo-hex); outline-offset: 3px; }
.product__view {
  display: inline-block; margin-top: 8px;
  font-family: var(--display); font-weight: 700; font-size: 12.5px;
  letter-spacing: 0.06em; color: var(--amarillo-hex);
}
.merch__hint { margin-top: 30px; text-align: center; font-size: 13.5px; opacity: 0.82; }
.product img { clip-path: var(--notch); aspect-ratio: 1; object-fit: cover; object-position: center 72%; transition: transform 0.3s var(--ease); }
.product h3 { font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--marfil); }
.product__price { font-family: var(--display); font-weight: 900; font-size: 30px; color: var(--amarillo-hex); line-height: 1.15; }
.product__desc { font-size: 13px; opacity: 0.75; }
.merch__lbl { font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: 0.2em; color: var(--morado-luz); }
.merch__meta { display: flex; align-items: center; gap: 18px 36px; flex-wrap: wrap; }
.merch__opts { display: flex; align-items: center; gap: 12px; }
.chips { display: flex; gap: 7px; }
.chips span {
  font-size: 12px; font-weight: 600; color: var(--marfil);
  border: 1px solid oklch(0.68 0.17 293 / 0.45); padding: 4px 10px;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}
.dots { display: flex; gap: 8px; }
.dots i { width: 18px; height: 18px; border-radius: 50%; background: var(--c); border: 1.5px solid oklch(1 0 0 / 0.35); }

/* ---------- SUCURSALES ---------- */
.sucursales { background: url('../img/cover-landscape.jpg') center / cover no-repeat; }
.sucursales::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(oklch(0.16 0.015 310 / 0.95), oklch(0.16 0.015 310 / 0.78) 45%, oklch(0.16 0.015 310 / 0.95));
}
/* el overlay es position:absolute (capa superior); subir el contenido por encima para que el título y el texto no se enturbien */
.sucursales .entrada__body { position: relative; z-index: 1; }
.sucursales .entrada__title { text-shadow: 0 2px 20px oklch(0.1 0.02 305 / 0.85); }
.sucursales__delivery { text-shadow: 0 1px 12px oklch(0.1 0.02 305 / 0.85); }
.sucursales__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22px, 3vw, 34px); }
.suc {
  position: relative; padding: clamp(26px, 3.4vw, 40px);
  border: 1px solid var(--linea); clip-path: var(--notch);
  background: oklch(0.17 0.02 305 / 0.94);
  transition: border-color 0.3s ease, box-shadow 0.4s var(--ease);
}
.suc:hover { border-color: oklch(0.88 0.19 95 / 0.55); box-shadow: 0 0 38px oklch(0.88 0.19 95 / 0.18); }
.suc__radar {
  position: absolute; top: 22px; right: 22px; width: 46px; height: 46px;
  border: 1px solid var(--linea); border-radius: 50%;
  background: conic-gradient(from 0deg, oklch(0.88 0.19 95 / 0.35), transparent 70deg, transparent);
  animation: radar 4s linear infinite;
}
.suc__radar i { position: absolute; top: 12px; right: 14px; width: 4px; height: 4px; border-radius: 50%; background: var(--amarillo-hex); animation: blink 2s steps(1) infinite; }
@keyframes radar { to { transform: rotate(360deg); } }
@keyframes blink { 50% { opacity: 0; } }
.suc__coords { font-family: var(--panelfont); font-size: 16px; letter-spacing: 0.14em; color: var(--amarillo-hex); opacity: 0.85; margin-bottom: 8px; }
.suc h3 { font-family: var(--display); font-weight: 800; font-size: clamp(24px, 2.6vw, 30px); color: var(--marfil); margin-bottom: 8px; }
.suc__addr { font-size: 14.5px; margin-bottom: 24px; }
.suc__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.sucursales__delivery { text-align: center; margin-top: clamp(36px, 5vw, 54px); font-size: 14px; }
.sucursales__delivery strong { color: var(--marfil); font-weight: 500; }

/* ---------- FOOTER ---------- */
.footer { padding: 70px 0 44px; border-top: 1px solid var(--linea-suave); background: oklch(0.11 0.015 305 / 0.9); position: relative; z-index: 1; }
.footer__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.footer__eof { font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: 0.34em; color: var(--amarillo-hex); opacity: 0.85; }
.footer__iso { opacity: 0.9; }
.footer__social { display: flex; gap: 20px; margin-top: 6px; }
.footer__social a {
  color: var(--marfil); opacity: 0.7;
  transition: color 0.3s ease, opacity 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  display: grid; place-items: center; width: 46px; height: 46px;
  border: 1px solid var(--linea-suave);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.footer__social a:hover { opacity: 1; color: var(--amarillo-hex); border-color: var(--linea); transform: translateY(-2px); box-shadow: 0 0 22px oklch(0.88 0.19 95 / 0.25); }
.footer__handle { font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: 0.14em; color: var(--amarillo-hex); }
.footer__legal { font-size: 11.5px; opacity: 0.62; }

/* ---------- POPUP CTA ---------- */
.cta-pop {
  position: fixed; left: 24px; bottom: 24px; z-index: 70;
  width: 250px; padding: 18px 22px 22px; text-align: center;
  display: grid; justify-items: center; gap: 4px;
  background: oklch(0.17 0.02 305 / 0.96); border: 1px solid var(--linea);
  box-shadow: 0 20px 60px oklch(0 0 0 / 0.5), 0 0 40px oklch(0.88 0.19 95 / 0.12);
}
.cta-pop[hidden] { display: none; }
.js .cta-pop { transform: translateY(140%) rotate(-4deg); opacity: 0; }
.js .cta-pop.show {
  animation: popIn 0.85s var(--ease) forwards;
}
@keyframes popIn {
  0% { transform: translateY(140%) rotate(-4deg); opacity: 0; }
  55% { transform: translateY(-14px) rotate(1.5deg); opacity: 1; }
  75% { transform: translateY(5px) rotate(-0.5deg); }
  100% { transform: translateY(0) rotate(0); opacity: 1; }
}
.js .cta-pop.hide { animation: popOut 0.45s var(--ease) forwards; }
@keyframes popOut { to { transform: translateY(140%) rotate(-4deg); opacity: 0; } }
.cta-pop__mascot {
  width: 92px;
  filter: drop-shadow(0 10px 24px oklch(0 0 0 / 0.55));
  animation: mascotBob 3s ease-in-out infinite;
}
@keyframes mascotBob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-7px) rotate(2deg); } }
.cta-pop__msg {
  font-family: var(--display); font-weight: 900;
  font-size: 20px; line-height: 1.14; color: var(--marfil);
  margin-bottom: 12px;
}
.cta-pop__close {
  position: absolute; top: 8px; right: 12px;
  background: none; border: none; cursor: pointer;
  font-size: 24px; line-height: 1; color: var(--texto);
  transition: color 0.2s ease, transform 0.2s ease;
}
.cta-pop__close:hover { color: var(--amarillo-hex); transform: scale(1.15); }

/* ---------- Quick view (popup de merch) ---------- */
body.qv-open { overflow: hidden; }
.qv[hidden] { display: none; }
.qv {
  position: fixed; inset: 0; z-index: 90;
  display: grid; place-items: center; padding: 18px;
}
.qv__backdrop {
  position: absolute; inset: 0;
  background: oklch(0.08 0.02 305 / 0.74);
  backdrop-filter: blur(4px);
}
.qv__panel {
  position: relative; z-index: 1;
  width: min(860px, 100%); max-height: 92vh; overflow-y: auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 3vw, 40px);
  padding: clamp(22px, 3vw, 40px);
  background: oklch(0.16 0.035 300);
  border: 1px solid oklch(0.68 0.17 293 / 0.5);
  clip-path: var(--notch);
  box-shadow: 0 30px 80px oklch(0 0 0 / 0.6);
}
.js .qv__panel { animation: qvIn 0.4s var(--ease); }
@keyframes qvIn { from { opacity: 0; transform: scale(0.96) translateY(10px); } to { opacity: 1; transform: none; } }
.qv__close {
  position: absolute; top: 8px; right: 12px; z-index: 2;
  width: 44px; height: 44px; display: grid; place-items: center;
  background: none; border: none; cursor: pointer;
  font-size: 30px; line-height: 1; color: var(--texto);
  transition: color 0.2s ease, transform 0.2s ease;
}
.qv__close:hover { color: var(--amarillo-hex); transform: scale(1.1); }
.qv__media {
  position: relative; display: grid; place-items: center; min-height: 240px;
  background: radial-gradient(62% 60% at 50% 42%, oklch(0.68 0.17 293 / 0.3), transparent 70%);
}
#qvImg { width: 100%; max-width: 330px; object-fit: contain; filter: drop-shadow(0 14px 32px oklch(0 0 0 / 0.55)); }
.qv__badge {
  position: absolute; right: 4px; bottom: 4px; width: 33%; max-width: 128px;
  filter: drop-shadow(0 6px 16px oklch(0 0 0 / 0.6));
}
.qv__info { display: flex; flex-direction: column; }
.qv__kicker { font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--morado-luz); }
.qv__title { font-family: var(--display); font-weight: 900; font-size: clamp(24px, 3vw, 34px); color: var(--marfil); line-height: 1.05; margin: 4px 0 6px; }
.qv__price { font-family: var(--display); font-weight: 900; font-size: 30px; color: var(--amarillo-hex); }
.qv__field { margin-top: 18px; }
.qv__label { display: block; font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--texto); margin-bottom: 9px; }
.qv__sizes { display: flex; gap: 8px; flex-wrap: wrap; }
.qv__sizes button {
  min-width: 46px; min-height: 44px; padding: 0 12px;
  font-family: var(--body); font-weight: 600; font-size: 14px; color: var(--marfil);
  background: none; border: 1px solid var(--linea-suave); cursor: pointer;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.qv__sizes button:hover { border-color: var(--linea); }
.qv__sizes button.sel { background: var(--amarillo-hex); border-color: var(--amarillo-hex); color: #1a1408; }
.qv__colors { display: flex; gap: 12px; flex-wrap: wrap; }
.qv__colors button {
  width: 34px; height: 34px; border-radius: 50%; padding: 0; cursor: pointer;
  background: var(--c); border: 2px solid oklch(1 0 0 / 0.3);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.qv__colors button.sel { box-shadow: 0 0 0 2px oklch(0.16 0.035 300), 0 0 0 4px var(--amarillo-hex); transform: scale(1.12); }
.qv__sizes button:focus-visible, .qv__colors button:focus-visible { outline: 2px solid var(--amarillo-hex); outline-offset: 3px; }
.qv__order { margin-top: 22px; align-self: flex-start; }
.qv__note { font-size: 12px; opacity: 0.65; margin-top: 10px; }
@media (max-width: 720px) {
  .qv__panel { grid-template-columns: 1fr; gap: 18px; padding: 24px 20px; }
  .qv__media { min-height: 180px; }
  #qvImg { max-width: 240px; }
  .qv__order { align-self: stretch; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .js .qv__panel { animation: none; } }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 58px; height: 58px; display: grid; place-items: center;
  background: var(--amarillo-hex); color: #1a1408;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  box-shadow: 0 8px 30px oklch(0.88 0.19 95 / 0.35);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 0 40px oklch(0.88 0.19 95 / 0.6); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .cockpit__repair-label { display: none; }
}
@media (max-width: 920px) {
  .origen__grid, .merch__grid, .sucursales__grid { grid-template-columns: 1fr; }
  .origen__fig { order: -1; }
  /* categorías: todas visibles (envuelven), sin scroll horizontal */
  .cats { justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
  .cat-chip { padding: 6px 15px 6px 6px; gap: 8px; }
  .cat-chip img { width: 34px; height: 34px; }
  .cat-chip span { font-size: 13px; }
  .menu__cat, .menu__cat.is-active { grid-template-columns: 1fr; }
  /* imagen del platillo: banner ancho (menos zoom, menos alto) */
  .menu__visual { position: static; max-width: 100%; margin: 0 0 4px; }
  .menu__visual img, .menu__visual--cutout img { aspect-ratio: 3 / 2; }
  .menu__visual--cutout img { object-fit: contain; }

  /* nav móvil: el nav en línea se oculta y aparece el botón + overlay a pantalla completa */
  /* sin backdrop-filter en el header: si no, el overlay fixed se ancla al header y no a la pantalla */
  .cockpit { backdrop-filter: none; }
  .cockpit__index { display: none; }
  .cockpit__cta { margin-left: auto; }
  .cockpit__burger {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 0; width: 46px; height: 46px; z-index: 51;
  }
  .cockpit__burger span { width: 24px; height: 2px; background: var(--amarillo-hex); transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
  .cockpit__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .cockpit__burger.is-open span:nth-child(2) { opacity: 0; }
  .cockpit__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .cockpit__index.is-open {
    display: flex; position: fixed; inset: 0; z-index: 49;
    flex-direction: column; align-items: center; justify-content: center; gap: 30px;
    background: oklch(0.11 0.02 305 / 0.98);
    backdrop-filter: blur(8px);
    margin: 0; animation: navIn 0.28s var(--ease);
  }
  .cockpit__index.is-open a { font-size: 24px; padding: 10px 18px; opacity: 0.95; }
}
@keyframes navIn { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 720px) {
  .cockpit { gap: 12px; }
  .cockpit__cta { padding: 10px 16px; font-size: 12px; }
  .cockpit__repair-bar { width: 54px; }
  .product { grid-template-columns: 104px 1fr; gap: 16px; }
  .origen__stats { gap: 26px; }
  .cta-pop { left: 16px; right: auto; width: 232px; }
  /* marquee: paso más ágil en pantallas chicas */
  .marquee__track { animation-duration: 15s; }
  /* precios del menú: grid para que el precio quede SIEMPRE junto al nombre,
     y la pista/sello bajen a su propio renglón (el sello sin estirarse) */
  .mi {
    display: grid; grid-template-columns: 1fr auto;
    column-gap: 10px; row-gap: 2px; align-items: baseline;
  }
  .mi__name { grid-column: 1; grid-row: 1; min-width: 0; }
  .mi__price { grid-column: 2; grid-row: 1; text-align: right; }
  .mi__dots { display: none; }
  .mi__hint { grid-column: 1 / -1; }
  .mi__stamp { grid-column: 1 / -1; justify-self: start; margin-top: 2px; }
  .mi__desc { max-width: 100%; }
}

/* motion en hover solo con puntero real (en touch, :hover se queda "pegado" tras el tap) */
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-2px); }
  .cat-chip:hover { transform: translateY(-2px); border-color: oklch(0.88 0.19 95 / 0.6); box-shadow: 0 0 26px oklch(0.88 0.19 95 / 0.25); }
  .show-card:hover img { transform: scale(1.07); box-shadow: 0 18px 50px oklch(0 0 0 / 0.6), 0 0 40px oklch(0.88 0.19 95 / 0.2); }
  .product:hover { transform: translateY(-3px); border-color: oklch(0.68 0.17 293 / 0.8); box-shadow: 0 0 34px oklch(0.47 0.23 293 / 0.4); }
  .product:hover img { transform: scale(1.04); }
  .badge-btn:hover { transform: scale(1.1) rotate(-2deg); filter: drop-shadow(0 14px 30px oklch(0 0 0 / 0.6)) drop-shadow(0 0 22px oklch(0.88 0.19 95 / 0.35)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__scroll-line, .suc__radar, .suc__radar i, .gate__eye, .gate__halo, .gate__hint, .cta-pop__mascot { animation: none; }
  .marquee__track, .showcase__track { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js [data-immerse] { transform: none !important; opacity: 1 !important; transition: none !important; }
  .inv__panel.scanning::after { display: none; }
  .menu__cat.is-active { animation: none; }
  .js .cta-pop.show { animation: none; transform: none; opacity: 1; }
}
