/* =====================================================================
   MARU 마루 · Sistema visual
   Paleta extraída del local y de su Instagram:
   madera hanok (ink/wood/honey), crema de sus posts, rojo Maru (logo y POS),
   rosa de su gráfica pastel.
   ===================================================================== */
:root {
  --ink: #1a0f0a;
  --ink-2: #2a1a12;
  --wood: #8a4f2a;
  --honey: #d39a5b;
  --pine: #e8c393;
  --cream: #f7efe3;
  --paper: #fffaf2;
  --red: #d2223a;
  --red-2: #a8152b;
  --pink: #f6b8c8;
  --lilac: #b79cf0;
  --blue: #1e4fa3;
  --wa: #25d366;
  --muted: #8b7768;

  --f-ko: "Black Han Sans", "Fredoka", sans-serif;
  --f-display: "Fredoka", system-ui, sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;
  --f-body: "DM Sans", system-ui, sans-serif;

  --r: 22px;
  --pad: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 400 clamp(15px, 1.05vw, 17px)/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }
em { font-family: var(--f-serif); font-style: italic; font-weight: 400; }
.muted { color: var(--muted); }
.hp { position: absolute; left: -9999px; opacity: 0; }

/* grano de película sobre todo el sitio */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 999; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(4) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 25%{transform:translate(-3%,2%)} 50%{transform:translate(2%,-3%)} 75%{transform:translate(-2%,-1%)} }

/* ---------- tipografía ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em; margin: 0 0 1.2rem;
  font: 600 .78rem/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--pine);
}
.eyebrow--dark { color: var(--wood); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 0 rgba(37,211,102,.6); animation: ping 2s infinite; }
.eyebrow .dot.is-closed { background: var(--red); animation: none; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
.h2 { font: 600 clamp(2.2rem, 5.4vw, 5rem)/.98 var(--f-display); letter-spacing: -.02em; margin: 0 0 1.4rem; }
.h2 em { color: var(--red); font-size: 1.08em; }
.h2--light { color: var(--paper); }
.h2--light em { color: var(--pink); }

/* ---------- botones ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 1rem 1.6rem; border-radius: 999px; border: 0; background: var(--bg); color: var(--fg);
  font: 600 1rem/1 var(--f-display); letter-spacing: .01em; text-decoration: none; white-space: nowrap;
  transition: transform .5s var(--ease), background .3s, box-shadow .3s; will-change: transform;
}
.btn:hover { box-shadow: 0 12px 30px -10px rgba(0,0,0,.45); }
.btn:active { transform: scale(.97); }
.btn--sm { padding: .72rem 1.15rem; font-size: .92rem; }
.btn--block { width: 100%; }
.btn--red { --bg: var(--red); }
.btn--red:hover { --bg: var(--red-2); }
.btn--dark { --bg: var(--ink); }
.btn--cream { --bg: var(--paper); --fg: var(--ink); }
.btn--ghost { --bg: transparent; --fg: var(--paper); box-shadow: inset 0 0 0 1.5px rgba(255,250,242,.45); }
.btn--ghost:hover { --bg: rgba(255,250,242,.1); }
.btn--ghost-dark { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--wa { --bg: var(--wa); --fg: #062b14; }
.btn[disabled] { opacity: .55; pointer-events: none; }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; background: var(--ink); color: var(--paper);
  transition: clip-path 1.1s var(--ease); clip-path: inset(0 0 0 0);
}
.loader.is-done { clip-path: inset(0 0 100% 0); }
.loader__lattice {
  position: absolute; inset: 0; opacity: .12;
  background:
    linear-gradient(var(--honey) 2px, transparent 2px) 0 0/64px 64px,
    linear-gradient(90deg, var(--honey) 2px, transparent 2px) 0 0/64px 64px;
}
.loader__inner { position: relative; text-align: center; }
.loader__ko { font: 400 clamp(5rem, 20vw, 12rem)/1 var(--f-ko); letter-spacing: -.02em; background: linear-gradient(90deg, var(--paper) 50%, #4a3326 50%); background-size: 200% 100%; background-position: var(--p, 100%) 0; -webkit-background-clip: text; background-clip: text; color: transparent; }
.loader__count { font: 600 1rem var(--f-display); margin-top: .5rem; color: var(--pine); }
.loader__tag { margin: .2rem 0 0; color: var(--muted); font-size: .85rem; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0 var(--pad);
  color: var(--paper); transition: background .4s, color .4s, transform .5s var(--ease), backdrop-filter .4s;
}
.nav.is-solid { background: rgba(26,15,10,.72); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__logo { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.logo-mark { width: 46px; height: 46px; transition: transform .8s var(--ease); }
.nav__logo:hover .logo-mark { transform: rotate(-12deg) scale(1.06); }
.nav__logo span { font: 700 1.25rem/1 var(--f-display); display: flex; flex-direction: column; }
.nav__logo small { font: 500 .62rem/1.4 var(--f-body); letter-spacing: .18em; text-transform: uppercase; opacity: .7; }
.nav__links { display: flex; gap: clamp(1rem, 2vw, 2.2rem); }
.nav__links a { position: relative; text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { display: flex; align-items: center; gap: .6rem; }
.cart-btn { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,250,242,.12); color: inherit; }
.cart-btn__n { position: absolute; top: -2px; right: -2px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: var(--red); color: #fff; font: 700 .7rem/19px var(--f-body); transform: scale(0); transition: transform .4s var(--ease); }
.cart-btn__n.has { transform: scale(1); }
.cart-btn.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.25) rotate(-8deg); } }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; position: relative; }
.burger i { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; transition: transform .4s var(--ease); }
.burger i:first-child { top: 17px; } .burger i:last-child { top: 25px; }
.burger[aria-expanded="true"] i:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 45; background: var(--ink); color: var(--paper);
  display: flex; flex-direction: column; justify-content: center; gap: .4rem; padding: var(--pad);
  clip-path: circle(0 at calc(100% - 40px) 36px); transition: clip-path .8s var(--ease); visibility: hidden;
}
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 40px) 36px); visibility: visible; }
.mobile-menu a { font: 600 2.4rem/1.2 var(--f-display); text-decoration: none; }
.mobile-menu__ko { position: absolute; right: -2rem; bottom: -3rem; font: 12rem/1 var(--f-ko); color: rgba(255,250,242,.05); margin: 0; }
.announcement { position: fixed; top: var(--nav-h); left: 50%; transform: translateX(-50%); z-index: 40; background: var(--pink); color: var(--ink); padding: .5rem 1.1rem; border-radius: 99px; font-weight: 600; font-size: .88rem; max-width: calc(100% - 32px); text-align: center; }

/* ---------- HERO ---------- */
.hero {
  position: relative; height: 100svh; min-height: 620px; overflow: hidden; color: var(--paper);
  background: radial-gradient(120% 90% at 70% 40%, #4a2814 0%, var(--ink-2) 45%, var(--ink) 100%);
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; }
.hero__ko {
  position: absolute; z-index: 1; right: -2vw; top: 50%; transform: translateY(-50%);
  display: flex; font: 400 clamp(14rem, 40vw, 44rem)/.8 var(--f-ko); color: rgba(211,154,91,.09); letter-spacing: -.05em; pointer-events: none; user-select: none;
}
.hero__content { position: absolute; z-index: 3; left: var(--pad); bottom: clamp(110px, 16vh, 170px); max-width: min(800px, 92vw); }
.hero__title { font: 600 clamp(2.8rem, 7.6vw, 7.4rem)/.92 var(--f-display); letter-spacing: -.035em; margin: 0 0 1.4rem; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; transform: translateY(110%); }
.hero__title em { color: var(--pink); font-size: 1.1em; }
.hero__lede { max-width: 44ch; margin: 0 0 2rem; color: rgba(255,250,242,.78); font-size: clamp(1rem, 1.25vw, 1.15rem); }
.hero__ctas { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero__meta { position: absolute; z-index: 3; left: var(--pad); right: var(--pad); bottom: 28px; display: flex; justify-content: space-between; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,250,242,.55); }
.scroll-hint { display: inline-flex; align-items: center; gap: .6rem; }
.scroll-hint i { width: 1px; height: 34px; background: linear-gradient(var(--paper), transparent); animation: drip 1.8s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
.hero__caption { position: absolute; z-index: 3; left: var(--pad); top: 50%; transform: translateY(-50%); margin: 0; font: 600 clamp(2.2rem, 6vw, 5.6rem)/1 var(--f-display); letter-spacing: -.03em; max-width: 12ch; pointer-events: none; }
.hero__caption span { display: block; opacity: 0; }
.hero__caption em { color: var(--pink); }
.hero__steam { position: absolute; inset: 0; z-index: 1; background: radial-gradient(40% 30% at 68% 30%, rgba(255,240,220,.08), transparent 70%); }
.hero.no-webgl .hero__canvas { display: none; }
.hero.no-webgl::before { content: "🍜"; position: absolute; right: 12vw; top: 28%; font-size: 30vmin; filter: drop-shadow(0 30px 60px rgba(0,0,0,.5)); z-index: 2; }

/* ---------- HISTORIA ---------- */
.story { position: relative; height: 420vh; background: var(--ink); color: var(--paper); }
.story__pin { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; place-items: center; padding: 0 var(--pad); }
.story__lattice { position: absolute; width: min(80vmin, 640px); color: var(--honey); opacity: .25; }
.story__lattice path, .story__lattice rect { stroke-dasharray: 2000; stroke-dashoffset: 2000; }
.story__chapter { position: absolute; max-width: 1000px; text-align: center; opacity: 0; padding: 0 var(--pad); }
.story__num { font: 600 .8rem var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--honey); margin: 0 0 1.5rem; }
.story__text { font: 500 clamp(1.9rem, 4.6vw, 4.2rem)/1.08 var(--f-display); letter-spacing: -.02em; margin: 0; }
.story__text b { font: 400 1.1em var(--f-ko); color: var(--red); }
.story__text em { color: var(--pink); }
.story__text .w { display: inline-block; opacity: .12; transition: opacity .2s; }
.story__progress { position: absolute; left: var(--pad); right: var(--pad); bottom: 40px; height: 2px; background: rgba(255,250,242,.12); }
.story__progress i { display: block; height: 100%; width: 100%; background: var(--red); transform-origin: left; transform: scaleX(0); }

/* ---------- MARQUEE ---------- */
.marquee { background: var(--red); color: var(--paper); overflow: hidden; padding: 1.1rem 0; transform: rotate(-1.5deg); margin: -1rem 0; position: relative; z-index: 3; }
.marquee__track { display: flex; gap: 2rem; width: max-content; animation: marquee 32s linear infinite; font: 600 clamp(1.3rem, 2.6vw, 2.2rem)/1 var(--f-display); white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- CARTA ---------- */
.menu { position: relative; background: var(--cream); padding-top: clamp(80px, 12vh, 140px); overflow: hidden; }
.menu__head { padding: 0 var(--pad); max-width: 900px; }
.menu__hint { color: var(--muted); margin: 0; }
.menu__viewport { overflow: hidden; }
.menu__track { display: flex; gap: clamp(16px, 2.4vw, 32px); padding: 48px var(--pad) 70px; width: max-content; }
.menu__loading { padding: 4rem 0; color: var(--muted); }
.mcat {
  position: relative; width: min(88vw, 560px); flex: none; border-radius: 32px; padding: clamp(22px, 3vw, 38px);
  background: var(--paper); box-shadow: 0 1px 0 rgba(26,15,10,.06), 0 30px 60px -40px rgba(74,40,20,.45);
  display: flex; flex-direction: column; overflow: hidden;
}
.mcat:nth-child(5n+2) { background: #fde7ec; }
.mcat:nth-child(5n+3) { background: var(--ink); color: var(--paper); }
.mcat:nth-child(5n+4) { background: #f3e2c9; }
.mcat:nth-child(5n+5) { background: #ece4fb; }
.mcat__ko { position: absolute; right: -10px; top: -26px; font: 400 9rem/1 var(--f-ko); color: currentColor; opacity: .06; pointer-events: none; }
.mcat__n { font: 600 .78rem var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--red); }
.mcat h3 { font: 600 clamp(2rem, 3.4vw, 3rem)/1 var(--f-display); margin: .4rem 0 .4rem; letter-spacing: -.02em; }
.mcat__blurb { margin: 0 0 1.4rem; opacity: .7; }
.mcat__art { height: 150px; margin: 0 0 1rem; display: grid; place-items: center; }
.mcat__art svg { height: 100%; width: auto; filter: drop-shadow(0 18px 22px rgba(74,40,20,.25)); transition: transform 1s var(--ease); }
.mcat:hover .mcat__art svg { transform: rotate(-6deg) scale(1.05); }
.mitems { list-style: none; margin: 0; padding: 0; display: grid; gap: .2rem; }
.mitem { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 0 .9rem; padding: .75rem 0; border-top: 1px dashed rgba(138,79,42,.25); }
.mcat:nth-child(5n+3) .mitem { border-color: rgba(255,250,242,.15); }
.mitem__img { width: 54px; height: 54px; border-radius: 14px; object-fit: cover; background: rgba(138,79,42,.12); }
.mitem__img--none { display: grid; place-items: center; font: 400 1.05rem var(--f-ko); color: var(--wood); }
.mcat:nth-child(5n+3) .mitem__img--none { color: var(--honey); background: rgba(255,250,242,.08); }
.mitem__name { font: 600 1.02rem/1.25 var(--f-display); }
.mitem__name small { font: 400 .8rem var(--f-body); opacity: .55; margin-left: .35rem; }
.mitem__desc { grid-column: 2; font-size: .86rem; opacity: .7; line-height: 1.4; margin-top: 2px; }
.mitem__meta { display: flex; flex-direction: column; align-items: center; gap: .3rem; grid-row: span 2; grid-column: 3; }
.mitem__price { font: 700 1.05rem var(--f-display); white-space: nowrap; }
.mitem > .add { grid-row: span 2; grid-column: 4; }
.mitem > .mitem__img { grid-row: span 2; }
.add { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--red); color: #fff; font: 600 1.3rem/1 var(--f-display); display: grid; place-items: center; transition: transform .4s var(--ease); }
.add:hover { transform: rotate(90deg) scale(1.08); }
.tag { display: inline-block; padding: .15rem .5rem; border-radius: 99px; font: 700 .62rem/1.4 var(--f-body); letter-spacing: .08em; text-transform: uppercase; background: var(--ink); color: var(--paper); vertical-align: middle; margin-left: .3rem; }
.tag--nuevo { background: var(--blue); }
.tag--favorito { background: var(--red); }
.spicy { color: var(--red); font-size: .8rem; letter-spacing: -2px; }
.menu__progress { position: absolute; left: var(--pad); right: var(--pad); bottom: 30px; height: 3px; background: rgba(26,15,10,.08); border-radius: 3px; }
.menu__progress i { display: block; height: 100%; background: var(--red); transform-origin: left; transform: scaleX(0); border-radius: 3px; }

/* ---------- COMBOS ---------- */
.combos { background: var(--cream); padding: clamp(40px, 8vh, 100px) var(--pad) clamp(80px, 14vh, 160px); }
.combos__inner { max-width: 1200px; margin: 0 auto; }
.combos .eyebrow { color: var(--wood); }
.combos__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2.5vw, 32px); perspective: 1200px; }
.combo-card { position: relative; border-radius: 36px; padding: clamp(26px, 4vw, 52px); background: var(--ink); color: var(--paper); transform-style: preserve-3d; overflow: hidden; min-height: 360px; display: flex; flex-direction: column; justify-content: flex-end; }
.combo-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at var(--mx, 70%) var(--my, 20%), rgba(255,255,255,.14), transparent 60%); pointer-events: none; }
.combo-card--red { background: var(--red); }
.combo-card__label { position: absolute; top: clamp(26px, 4vw, 44px); left: clamp(26px, 4vw, 52px); font: 600 .8rem var(--f-body); letter-spacing: .2em; text-transform: uppercase; opacity: .7; }
.combo-card__price { font: 700 clamp(6rem, 14vw, 12rem)/.8 var(--f-display); letter-spacing: -.05em; margin: 0 0 1rem; transform: translateZ(60px); }
.combo-card__price small { font-size: .3em; letter-spacing: 0; vertical-align: top; margin-right: .1em; }
.combo-card p:not(.combo-card__price) { margin: 0 0 1.4rem; max-width: 34ch; opacity: .85; transform: translateZ(30px); }
.combo-card .btn { align-self: flex-start; transform: translateZ(40px); }

/* ---------- K-POP ---------- */
.kpop { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 4vw; align-items: center; padding: clamp(90px, 14vh, 160px) var(--pad); background: #120a1c; color: var(--paper); overflow: hidden; min-height: 100svh; }
.kpop__screen { position: absolute; inset: 0; pointer-events: none; }
.kpop__glow { position: absolute; width: 70vmax; height: 70vmax; left: 40%; top: -20%; border-radius: 50%; background: conic-gradient(from 0deg, #ff6fb1, #b79cf0, #6ad0ff, #ffd36a, #ff6fb1); filter: blur(120px); opacity: .32; animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(1turn); } }
.kpop__eq { position: absolute; left: var(--pad); bottom: 40px; display: flex; gap: 6px; align-items: flex-end; height: 50px; }
.kpop__eq i { width: 6px; background: var(--pink); border-radius: 3px; animation: eq 1s ease-in-out infinite alternate; }
.kpop__eq i:nth-child(odd) { animation-duration: .7s; background: var(--lilac); }
.kpop__eq i:nth-child(3n) { animation-duration: 1.3s; }
@keyframes eq { from { height: 6px; } to { height: 50px; } }
.kpop__copy { position: relative; z-index: 2; }
.kpop__copy p { color: rgba(255,250,242,.75); max-width: 48ch; }
.kpop__chips { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.kpop__chips li { padding: .55rem 1rem; border-radius: 99px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-size: .9rem; backdrop-filter: blur(6px); }
.cards3d { position: relative; z-index: 2; height: 520px; perspective: 1400px; transform-style: preserve-3d; }
.pc {
  position: absolute; width: 170px; height: 250px; border-radius: 18px; left: 50%; top: 50%; margin: -125px 0 0 -85px;
  background: linear-gradient(160deg, hsl(var(--h) 80% 78%), hsl(calc(var(--h) + 40) 70% 55%));
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6), inset 0 0 0 6px rgba(255,255,255,.85);
  display: grid; place-items: center; transform-style: preserve-3d; will-change: transform;
}
.pc::after { content: ""; position: absolute; inset: 6px; border-radius: 13px; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.55) 45%, transparent 60%); background-size: 250% 100%; animation: holo 4s linear infinite; mix-blend-mode: overlay; }
@keyframes holo { from { background-position: 150% 0; } to { background-position: -100% 0; } }
.pc span { font: 400 2.6rem var(--f-ko); color: rgba(255,255,255,.9); text-shadow: 0 4px 20px rgba(0,0,0,.2); }

/* ---------- MESA QR ---------- */
.tableqr { display: grid; grid-template-columns: 1.2fr 1fr; gap: 6vw; align-items: center; padding: clamp(90px, 14vh, 160px) var(--pad); background: var(--pine); position: relative; overflow: hidden; }
.tableqr::before { content: ""; position: absolute; inset: 0; opacity: .14; background: repeating-linear-gradient(90deg, var(--wood) 0 2px, transparent 2px 46px), repeating-linear-gradient(0deg, var(--wood) 0 2px, transparent 2px 46px); mask: linear-gradient(90deg, transparent, #000 60%); -webkit-mask: linear-gradient(90deg, transparent, #000 60%); }
.tableqr__copy { position: relative; }
.steps { list-style: none; padding: 0; margin: 0 0 2.2rem; display: grid; gap: 1rem; }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 1rem; align-items: baseline; padding-bottom: 1rem; border-bottom: 1px solid rgba(26,15,10,.15); }
.steps b { font: 700 1.6rem var(--f-display); color: var(--red); }
.phone { position: relative; width: min(300px, 78vw); aspect-ratio: 9/19; margin: 0 auto; border-radius: 46px; background: var(--ink); padding: 12px; box-shadow: 0 50px 80px -30px rgba(26,15,10,.6); transform: rotate(-6deg); }
.phone__notch { position: absolute; top: 20px; left: 50%; width: 90px; height: 24px; margin-left: -45px; border-radius: 20px; background: #000; z-index: 2; }
.phone__screen { height: 100%; border-radius: 36px; background: var(--paper); padding: 64px 18px 18px; display: flex; flex-direction: column; }
.phone__t { font: 700 2.2rem/1 var(--f-display); margin: 0; }
.phone__t b { color: var(--red); }
.phone__s { margin: .3rem 0 1.2rem; color: var(--muted); font-size: .9rem; }
.phone__btns { display: grid; gap: .55rem; }
.pb { display: block; padding: .9rem; border-radius: 16px; background: var(--cream); font: 600 .9rem var(--f-display); }
.pb--red { background: var(--red); color: #fff; animation: tap 3s var(--ease) infinite; }
@keyframes tap { 0%, 70%, 100% { transform: scale(1); } 75% { transform: scale(.94); } }
.phone__ok { margin-top: auto; text-align: center; color: #128c47; font-weight: 700; font-size: .9rem; animation: okfade 3s infinite; }
@keyframes okfade { 0%, 75% { opacity: 0; transform: translateY(6px); } 85%, 100% { opacity: 1; transform: none; } }

/* ---------- RESERVA ---------- */
.reserve { display: grid; grid-template-columns: 1fr 1.25fr; gap: 5vw; padding: clamp(90px, 14vh, 160px) var(--pad); background: var(--ink); color: var(--paper); position: relative; }
.reserve > *, .kpop > *, .tableqr > *, .visit > *, .rform__row > * { min-width: 0; }
.reserve__intro { position: sticky; top: calc(var(--nav-h) + 40px); align-self: start; }
.reserve__intro p { color: rgba(255,250,242,.72); max-width: 42ch; }
.wa-link { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1rem; color: var(--wa); font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.rform, .rdone { background: var(--ink-2); border: 1px solid rgba(255,250,242,.08); border-radius: 32px; padding: clamp(20px, 3vw, 40px); }
.rform__step { border: 0; padding: 0; margin: 0 0 1.8rem; min-width: 0; }
.rform legend { display: flex; align-items: center; gap: .6rem; font: 600 1.15rem var(--f-display); margin-bottom: .9rem; padding: 0; }
.rform legend span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--red); font-size: .8rem; }
.rform legend small { font: 400 .8rem var(--f-body); opacity: .55; }
.rform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.days { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .5rem; scrollbar-width: thin; scroll-snap-type: x mandatory; }
.day { flex: none; width: 66px; padding: .7rem 0; border-radius: 18px; border: 1px solid rgba(255,250,242,.14); background: transparent; text-align: center; line-height: 1.15; scroll-snap-align: start; transition: background .3s, border-color .3s, transform .3s var(--ease); }
.day small { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; opacity: .6; }
.day b { display: block; font: 700 1.45rem var(--f-display); }
.day:hover { border-color: var(--pine); }
.day[aria-checked="true"] { background: var(--paper); color: var(--ink); border-color: var(--paper); transform: translateY(-3px); }
.day[disabled] { opacity: .3; pointer-events: none; text-decoration: line-through; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: .45rem; }
.slot { padding: .65rem 0; border-radius: 12px; border: 1px solid rgba(255,250,242,.14); background: transparent; font: 600 .95rem var(--f-display); position: relative; }
.slot:hover { border-color: var(--pine); }
.slot[aria-checked="true"] { background: var(--red); border-color: var(--red); }
.slot[disabled] { opacity: .28; text-decoration: line-through; pointer-events: none; }
.slot .few { position: absolute; top: -7px; right: -4px; background: var(--honey); color: var(--ink); font-size: .58rem; padding: 1px 5px; border-radius: 99px; }
.stepper { display: inline-flex; align-items: center; border: 1px solid rgba(255,250,242,.14); border-radius: 99px; }
.stepper button { width: 48px; height: 48px; border: 0; background: transparent; font-size: 1.4rem; }
.stepper output { min-width: 44px; text-align: center; font: 700 1.4rem var(--f-display); }
.seg { display: inline-flex; padding: 4px; border-radius: 99px; background: rgba(255,250,242,.06); flex-wrap: wrap; }
.seg label, .chips label { position: relative; cursor: pointer; }
.seg input, .chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: block; padding: .7rem 1.1rem; border-radius: 99px; font-weight: 600; font-size: .92rem; transition: background .3s; }
.seg input:checked + span { background: var(--paper); color: var(--ink); }
.seg input:focus-visible + span, .chips input:focus-visible + span { outline: 3px solid var(--red); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips span { display: block; padding: .6rem 1rem; border-radius: 99px; border: 1px solid rgba(255,250,242,.14); font-size: .92rem; transition: .3s; }
.chips input:checked + span { background: var(--pink); color: var(--ink); border-color: var(--pink); }
.field { display: grid; gap: .4rem; margin-bottom: 1.2rem; }
.field > span { font-size: .85rem; font-weight: 500; opacity: .75; }
.field input, .field select, .field textarea { width: 100%; padding: .95rem 1.1rem; border-radius: 14px; border: 1px solid rgba(255,250,242,.14); background: rgba(255,250,242,.04); color: inherit; font: inherit; font-size: 16px; }
.field input:focus { outline: none; border-color: var(--pink); background: rgba(255,250,242,.08); }
.field--light input { border-color: rgba(26,15,10,.15); background: #fff; }
.rform__error { background: rgba(210,34,58,.15); border: 1px solid var(--red); color: #ffd5db; padding: .8rem 1rem; border-radius: 12px; font-size: .9rem; }
.rform__fine { text-align: center; font-size: .78rem; opacity: .5; margin: 1rem 0 0; }
.rdone { text-align: center; }
.rdone__stamp { display: inline-grid; place-items: center; width: 120px; height: 120px; border-radius: 50%; border: 3px solid var(--red); color: var(--red); font: 400 1.6rem/1 var(--f-ko); transform: rotate(-12deg); margin-bottom: 1rem; animation: stamp .7s var(--ease); }
@keyframes stamp { from { transform: scale(2.4) rotate(-30deg); opacity: 0; } }
.rdone h3 { font: 600 2rem var(--f-display); margin: 0 0 .5rem; }
.rdone b { color: var(--pink); font-family: var(--f-display); letter-spacing: .05em; }
.rdone .btn { margin-top: .8rem; }

/* ---------- VISÍTANOS ---------- */
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: 5vw; align-items: center; padding: clamp(90px, 14vh, 160px) var(--pad); background: var(--cream); }
.visit__map { position: relative; aspect-ratio: 1; border-radius: 40px; background:
  repeating-linear-gradient(0deg, transparent 0 58px, rgba(138,79,42,.18) 58px 60px),
  repeating-linear-gradient(90deg, transparent 0 58px, rgba(138,79,42,.18) 58px 60px), #f0dcc0; display: grid; place-items: center; overflow: hidden; }
.map-card { position: relative; text-align: center; background: var(--paper); padding: 2rem 2.4rem; border-radius: 28px; box-shadow: 0 30px 60px -30px rgba(74,40,20,.5); }
.map-card__floor { font: 700 4rem/1 var(--f-display); margin: 0; color: var(--red); }
.map-card p { margin: .2rem 0 0; font-weight: 600; }
.map-card__pin { position: absolute; top: -48px; right: -36px; width: 86px; animation: bob 3s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-10px) rotate(6deg); } }
.hours { display: grid; grid-template-columns: auto 1fr; gap: .5rem 2rem; margin: 0 0 1.5rem; font-size: 1.05rem; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; }
.hours .is-today { color: var(--red); }
.visit__addr { color: var(--wood); margin: 0 0 2rem; }
.visit__ctas { display: flex; flex-wrap: wrap; gap: .7rem; }

/* ---------- FOOTER ---------- */
.footer { background: var(--ink); color: rgba(255,250,242,.6); padding: 0 var(--pad) 28px; overflow: hidden; }
.footer__big { font: 400 clamp(8rem, 34vw, 30rem)/.9 var(--f-ko); color: var(--paper); text-align: center; letter-spacing: -.04em; transform: translateY(8%); background: linear-gradient(180deg, var(--paper) 40%, rgba(255,250,242,.04)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer__row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; font-size: .82rem; border-top: 1px solid rgba(255,250,242,.1); padding-top: 20px; }

/* ---------- CARRITO ---------- */
.cart { position: fixed; inset: 0; z-index: 80; background: rgba(26,15,10,.5); opacity: 0; visibility: hidden; transition: .4s; }
.cart.is-open { opacity: 1; visibility: visible; }
.cart__panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(420px, 100%); background: var(--paper); padding: 24px; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .6s var(--ease); overflow-y: auto; }
.cart.is-open .cart__panel { transform: none; }
.cart header { display: flex; justify-content: space-between; align-items: center; }
.cart h3 { font: 600 1.6rem var(--f-display); margin: 0; }
.cart__close { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--cream); font-size: 1.6rem; }
.cart__list { list-style: none; padding: 0; margin: 1rem 0; flex: 1; }
.cart__list li { display: grid; grid-template-columns: 1fr auto auto; gap: .6rem; align-items: center; padding: .8rem 0; border-bottom: 1px dashed rgba(138,79,42,.25); }
.cart__list .qty { display: inline-flex; align-items: center; gap: .4rem; }
.cart__list .qty button { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(26,15,10,.2); background: #fff; }
.cart__empty { color: var(--muted); text-align: center; padding: 2rem 0; }
.cart__total { display: flex; justify-content: space-between; font: 600 1.2rem var(--f-display); margin: .5rem 0 1rem; }
.cart__fine { font-size: .78rem; color: var(--muted); text-align: center; }

/* ---------- flotantes ---------- */
.wa-float { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 60; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 12px 30px -8px rgba(37,211,102,.6); transition: transform .5s var(--ease); }
.wa-float:hover { transform: scale(1.08) rotate(-8deg); }
.toast { position: fixed; left: 50%; bottom: 96px; z-index: 90; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--ink); color: var(--paper); padding: .8rem 1.2rem; border-radius: 99px; font-weight: 500; font-size: .92rem; transition: .45s var(--ease); max-width: calc(100% - 32px); text-align: center; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.cursor { position: fixed; left: 0; top: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--red); pointer-events: none; z-index: 998; mix-blend-mode: difference; transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease); opacity: 0; }
.cursor.is-big { width: 54px; height: 54px; margin: -27px 0 0 -27px; }
@media (hover: hover) and (pointer: fine) { .cursor { opacity: 1; } }

/* revelados genéricos */
.reveal { opacity: 0; transform: translateY(40px); }

/* ---------- RESPONSIVE ---------- */
@media (max-height: 820px) and (min-width: 981px) { .mcat__art { height: 96px; } .mitem { padding: .55rem 0; } .mitem__desc { font-size: .8rem; } }
@media (max-width: 980px) {
  .menu__viewport { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .menu__viewport::-webkit-scrollbar { display: none; }
  .mcat { scroll-snap-align: center; }
  .nav__links { display: none; }
  .burger { display: block; }
  .kpop, .tableqr, .reserve, .visit { grid-template-columns: 1fr; }
  .reserve__intro { position: static; }
  .cards3d { height: 380px; }
  .pc { width: 130px; height: 190px; margin: -95px 0 0 -65px; }
}
@media (max-width: 640px) {
  :root { --nav-h: 64px; }
  .nav .btn--sm { display: none; }
  .nav__logo small { display: none; }
  .logo-mark { width: 40px; height: 40px; }
  .hero__content { bottom: 90px; }
  .hero__meta span:first-child { display: none; }
  .hero__ko { top: 30%; right: -8vw; }
  .combos__grid { grid-template-columns: 1fr; }
  .combo-card { min-height: 300px; }
  .rform__row { grid-template-columns: 1fr; }
  .mitem { grid-template-columns: auto 1fr auto; }
  .mitem > .add { grid-column: 3; grid-row: auto; justify-self: end; }
  .mitem__meta { grid-row: auto; grid-column: 3; }
  .mitem__img { width: 46px; height: 46px; }
  .story { height: 360vh; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero__title .line > span, .reveal { transform: none; opacity: 1; }
  .story { height: auto; }
  .story__pin { position: relative; height: auto; display: block; padding: 120px var(--pad); }
  .story__chapter { position: relative; opacity: 1; margin-bottom: 4rem; }
  .story__text .w { opacity: 1; }
}
