/* ==========================================================
   MASSA · Demo conceptual — estilos
   Mobile-first. Paleta tomada del logotipo y de las piezas de marca.
   ========================================================== */

@font-face { font-family: "Anton"; src: url("../assets/fonts/anton.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Climate Crisis"; src: url("../assets/fonts/climate-crisis.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Patrick Hand SC"; src: url("../assets/fonts/patrick-hand-sc.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../assets/fonts/dm-sans.woff2") format("woff2"); font-weight: 100 1000; font-display: swap; }

:root {
  --red: #BD2835;        /* rojo del logotipo */
  --red-deep: #A30F2D;   /* rojo de la tarjeta de horarios */
  --cream: #F5EEE2;
  --paper: #EBE1CF;
  --ink: #181818;
  --white: #fff;

  --f-display: "Anton", Impact, "Arial Narrow", sans-serif;
  --f-melt: "Climate Crisis", "Anton", Impact, sans-serif;
  --f-hand: "Patrick Hand SC", "Segoe Print", "Comic Sans MS", cursive;
  --f-ui: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
#page { overflow-x: clip; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 400 16px/1.5 var(--f-ui);
  overflow-x: clip;
  -webkit-tap-highlight-color: transparent;
}
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, dl, dd, figure, address { margin: 0; }
address { font-style: normal; }
section[id], header[id] { scroll-margin-top: 36px; }
[hidden] { display: none !important; }

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

.wrap { width: min(100% - 40px, 1120px); margin-inline: auto; }

/* ---------- Etiqueta de demo ---------- */
.demo-pill {
  position: fixed; z-index: 90; top: calc(env(safe-area-inset-top) + 8px); left: 50%; transform: translateX(-50%);
  padding: 6px 13px 5px; border: 1.5px solid var(--ink); border-radius: 999px;
  background: rgba(245, 238, 226, .95); color: var(--ink);
  font: 700 10.5px/1.2 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
  pointer-events: none;
}

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Tipografía de apoyo ---------- */
.hand-note {
  display: inline-block; font: 400 clamp(22px, 6vw, 30px)/1.05 var(--f-hand); letter-spacing: .02em;
  rotate: -3deg; transform-origin: left center;
}
.hand-note--red { color: var(--red); }
.hand-note--cream { color: var(--cream); }

.melt {
  font: 400 clamp(40px, 12.5vw, 110px)/.98 var(--f-melt); text-transform: uppercase; color: var(--red);
  font-variation-settings: "YEAR" 1979; transition: font-variation-settings 1.6s ease .2s; margin-top: 6px;
}
.melt.is-in { font-variation-settings: "YEAR" 2002; }
.melt--sm { font-size: clamp(32px, 9.6vw, 96px); }
.melt--two { font-size: clamp(26px, 8.1vw, 96px); }

.stamp--cream { background: var(--cream) !important; color: var(--red) !important; }
.stamp {
  display: inline-block; flex: none; padding: 4px 8px 2px; border-radius: 4px; rotate: -4deg;
  background: var(--red); color: var(--cream); font: 400 14px/1 var(--f-display); letter-spacing: .08em;
}

/* ---------- Botones ---------- */
.btn {
  --bg: var(--cream); --fg: var(--red); --bd: var(--ink); --sh: var(--ink);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 3px 20px 0; border: 2px solid var(--bd); border-radius: 999px;
  background: var(--bg); color: var(--fg); text-decoration: none; cursor: pointer;
  font: 400 17px/1 var(--f-display); letter-spacing: .05em; text-transform: uppercase; text-align: center;
  box-shadow: 3px 4px 0 var(--sh);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .2s;
}
.btn svg { width: 20px; height: 20px; margin-top: -3px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.btn:hover { transform: translate(-1px, -2px); box-shadow: 5px 7px 0 var(--sh); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translate(3px, 4px); box-shadow: 0 0 0 var(--sh); }
.btn:focus-visible, .tab:focus-visible, .dock__item:focus-visible, .icon-btn:focus-visible {
  outline: 3px solid var(--ink); outline-offset: 3px;
}
.btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; transform: none; }
.btn--cream { --bg: var(--cream); --fg: var(--red); }
.btn--ghost { --bg: transparent; --fg: var(--cream); --bd: var(--cream); --sh: var(--ink); }
.btn--black { --bg: var(--ink); --fg: var(--cream); --bd: var(--ink); --sh: var(--red); }
.btn--red { --bg: var(--red); --fg: var(--cream); --bd: var(--ink); --sh: var(--ink); }
.btn--block { width: 100%; }
.btn--sm { min-height: 44px; padding: 3px 16px 0; font-size: 15px; box-shadow: 2px 3px 0 var(--sh); }
.btn--xl { min-height: 76px; justify-content: flex-start; padding: 3px 26px 0 22px; gap: 14px; width: 100%; }
.btn--xl svg { width: 32px; height: 32px; margin-top: 0; }
.btn--xl:hover svg { transform: none; }
.btn__txt { display: grid; gap: 4px; text-align: left; font-size: 24px; }
.btn__txt small { font: 500 13px/1 var(--f-ui); letter-spacing: .04em; text-transform: none; opacity: .96; }

/* ==========================================================
   1 · HERO
   ========================================================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(env(safe-area-inset-top) + 52px) 20px calc(98px + env(safe-area-inset-bottom));
  background: var(--red); color: var(--cream);
}
.hero::before { /* mano de MASSA como marca de agua */
  content: ""; position: absolute; z-index: -1; right: -22%; bottom: 4%; width: 86%; aspect-ratio: 414 / 596;
  background: url("../assets/img/hand-white.png") center / contain no-repeat; opacity: .085; rotate: -14deg;
}
.hero__logo { display: block; width: 104px; height: auto; animation: fadeUp .7s var(--ease) both; }
.hero__main { position: relative; margin: 20px 0 58px; }
.hero__title {
  position: relative; z-index: 2; font: 400 clamp(62px, 19.4vw, 150px)/.88 var(--f-display);
  text-transform: uppercase; letter-spacing: -.005em;
}
.row { display: block; }
.line { display: block; overflow: hidden; padding-top: .05em; margin-top: -.05em; }
.line > span { display: block; transform: translateY(112%); animation: rise .85s var(--ease) forwards; animation-delay: calc(var(--i) * 95ms + 120ms); }
.line--alt > span { color: transparent; -webkit-text-stroke: 2px var(--cream); }

.print {
  position: absolute; z-index: 1; right: -6px; bottom: -30px; width: min(38.5vw, 190px);
  padding: 7px; background: var(--cream); box-shadow: 5px 7px 0 var(--ink);
  rotate: 5deg; animation: drop 1s .45s cubic-bezier(.2, 1.15, .3, 1) both;
}
.print > img { display: block; width: 100%; height: auto; }
.tape { position: absolute; top: -10px; width: 52px; height: 19px; background: rgba(233, 222, 196, .88); box-shadow: 0 1px 2px rgba(0, 0, 0, .2); }
.tape--l { left: -16px; rotate: -20deg; }
.tape--r { right: -16px; rotate: 16deg; }
.print__badge {
  position: absolute; left: -26px; bottom: -22px; width: 62px; aspect-ratio: 1; border-radius: 50%;
  background: var(--cream); display: grid; place-items: center; rotate: -12deg; box-shadow: 3px 3px 0 var(--ink);
}
.print__badge img { width: 44%; height: auto; }

.hero__bottom { position: relative; z-index: 3; display: grid; gap: 20px; }
.hero__sub { display: grid; gap: 4px; }
.hero__sub-a { font: 700 13px/1.2 var(--f-ui); letter-spacing: .16em; text-transform: uppercase; }
.hero__sub .hand-note { font-size: clamp(24px, 6.9vw, 34px); position: relative; padding-bottom: 9px; white-space: nowrap; justify-self: start; }
.squiggle { position: absolute; left: 0; bottom: -2px; width: 100%; height: 10px; fill: none; stroke: var(--cream); stroke-width: 2.2; stroke-linecap: round; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.fade { animation: fadeUp .8s .85s var(--ease) both; }
.hero__cta.fade { animation-delay: 1s; }

/* ---------- Cinta ---------- */
.ribbon {
  position: relative; z-index: 4; margin: -22px -10px 0; rotate: -1.6deg; overflow: hidden;
  background: var(--cream); border-block: 2px solid var(--ink); padding: 13px 0 10px;
}
.ribbon__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.ribbon__group { display: flex; align-items: center; gap: 22px; padding-right: 22px; white-space: nowrap; font: 400 22px/1 var(--f-display); letter-spacing: .05em; }
.ribbon .ast { width: 22px; height: 22px; fill: none; stroke: var(--red); stroke-width: 2.4; stroke-linecap: round; }

/* ==========================================================
   2 · MENÚ
   ========================================================== */
.menu { position: relative; padding: 74px 0 56px; }
.sec-head { display: grid; justify-items: start; gap: 4px; margin-bottom: 22px; }
.demo-note {
  display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px 12px;
  border: 1.5px dashed var(--ink); border-radius: 12px; background: rgba(189, 40, 53, .06);
  font-size: 13.5px; line-height: 1.35;
}

.tabs-wrap {
  position: sticky; top: 38px; z-index: 20; margin: 0 -20px 6px; padding: 10px 20px 4px;
  background: linear-gradient(var(--cream) 82%, rgba(245, 238, 226, 0));
}
.tabs { display: flex; gap: 10px; padding: 4px 2px 10px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; scroll-snap-align: start; min-height: 46px; padding: 3px 18px 0; cursor: pointer;
  border: 2px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink);
  font: 400 17px/1 var(--f-display); letter-spacing: .05em; text-transform: uppercase;
  transition: background .2s, color .2s, rotate .25s var(--ease), box-shadow .2s;
}
.tab[aria-selected="true"] { background: var(--red); color: var(--cream); rotate: -1.5deg; box-shadow: 3px 3px 0 var(--ink); }

.cat-banner { position: relative; margin: 8px 0 28px; }
.cat-banner img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border: 2px solid var(--ink); border-radius: 6px; box-shadow: 4px 5px 0 var(--ink); }
.cat-banner figcaption {
  position: absolute; left: 10px; bottom: -15px; max-width: 92%; padding: 6px 12px 3px; border-radius: 3px; rotate: -2deg;
  background: var(--red); color: var(--cream); font: 400 21px/1 var(--f-hand); letter-spacing: .02em;
}

.dishes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; margin-top: 14px; }
.dish {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border: 2px solid var(--ink); border-radius: 16px; background: var(--cream); box-shadow: 3px 4px 0 var(--ink);
  animation: dishIn .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 55ms);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.dish:hover { transform: translate(-1px, -2px); box-shadow: 5px 7px 0 var(--ink); }
.dish:active { transform: translate(2px, 3px); box-shadow: 0 0 0 var(--ink); }
.dish__media { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--red); display: grid; place-items: center; border-bottom: 2px solid var(--ink); }
.dish__media .photo { width: 100%; height: 100%; object-fit: cover; display: block; transition: scale .6s var(--ease); }
.dish:hover .photo { scale: 1.05; }
.dish__media.ph img { width: 28%; height: auto; }
.dish__media.ph--b { background: var(--paper); }
.dish__body { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 12px; }
.dish__name { font: 400 22px/1.02 var(--f-display); text-transform: uppercase; letter-spacing: .01em; }
.dish__open {
  appearance: none; margin: 0; padding: 0; border: 0; background: none; color: inherit; cursor: pointer;
  font: inherit; text-transform: inherit; letter-spacing: inherit; text-align: left;
}
.dish__open::after { content: ""; position: absolute; inset: 0; border-radius: 14px; }
.dish__open:focus-visible { outline: none; }
.dish__open:focus-visible::after { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 16px; }
.dish__desc {
  font-size: 13.5px; line-height: 1.38; color: #3a3a3a;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.dish__foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: auto; padding-top: 8px; border-top: 2px dotted rgba(24, 24, 24, .3); }
.dish__price { font: 700 16px/1 var(--f-ui); }
.dish__price sup { color: var(--red); font-size: 12px; }
.dish__price small { display: none; font-weight: 500; font-size: 11px; letter-spacing: .08em; opacity: .7; }
.dish__more { display: inline-flex; align-items: center; gap: 2px; color: var(--red); font: 700 11px/1 var(--f-ui); letter-spacing: .07em; text-transform: uppercase; }
.dish__more span { display: none; }
.dish__more svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.dish:hover .dish__more svg { transform: translateX(3px); }

.dish--feature { grid-column: 1 / -1; background: var(--red); color: var(--cream); }
.dish--feature .dish__media { aspect-ratio: 4 / 3; }
.dish--feature .dish__media .photo { object-position: var(--pos, 50% 50%); }
.dish--feature .dish__body { gap: 8px; padding: 16px; }
.dish--feature .dish__name { font-size: 32px; }
.dish--feature .dish__desc { font-size: 15px; color: rgba(245, 238, 226, .92); -webkit-line-clamp: 4; }
.dish--feature .dish__price sup, .dish--feature .dish__more { color: var(--cream); }
.dish--feature .dish__price small { display: inline; opacity: .95; }
.dish--feature .dish__foot { border-top-color: rgba(245, 238, 226, .4); }
.dish--feature .dish__more span { display: inline; }
.dish--feature .dish__open:focus-visible::after { outline-color: var(--cream); }
.dish:not(.dish--feature) .dish__media .photo { object-position: var(--pos, 50% 50%); }
.pop { animation: pop .35s var(--ease); }

/* ==========================================================
   4 · EXPERIENCIA
   ========================================================== */
.exp { position: relative; padding: 84px 0 96px; background: var(--ink); color: var(--cream); overflow: hidden; }
.exp .melt { color: var(--cream); }
.exp .hand-note { color: var(--cream); }
.collage { display: grid; grid-template-columns: repeat(12, 1fr); gap: 30px 10px; margin-top: 34px; align-items: start; }
.tile {
  position: relative; padding: 6px; border-radius: 3px; background: var(--cream); rotate: var(--rot, 0deg);
  box-shadow: 0 12px 26px rgba(0, 0, 0, .5);
}
.tile img { display: block; width: 100%; height: auto; }
.tile figcaption {
  position: absolute; left: -5px; bottom: -14px; max-width: 92%; padding: 6px 10px 3px; border-radius: 3px; rotate: -3deg;
  background: var(--red); color: var(--cream); font: 400 18px/1 var(--f-hand); letter-spacing: .02em;
}
.t-mezcal { grid-column: 1 / 10; grid-row: 1; }
.phrase--bella { grid-column: 7 / 13; grid-row: 1; align-self: end; z-index: 2; margin-bottom: -6px; padding-right: 8px; }
.t-pizzas { grid-column: 1 / 7; grid-row: 2; }
.t-pasta { grid-column: 7 / 13; grid-row: 2; margin-top: 34px; }
.t-masa { grid-column: 4 / 13; grid-row: 3; }
.phrase--drip { grid-column: 1 / -1; grid-row: 4; }
.t-interior { grid-column: 1 / 9; grid-row: 5; }
.t-amigos { grid-column: 8 / 13; grid-row: 5; align-self: end; z-index: 2; margin-bottom: -18px; }
.t-cincin { grid-column: 1 / 7; grid-row: 6; }
.t-wine { grid-column: 7 / 13; grid-row: 6; margin-top: 40px; }
.phrase--madre { grid-column: 1 / -1; grid-row: 7; }

.phrase { font-family: var(--f-display); text-transform: uppercase; }
.phrase--bella { font-size: clamp(52px, 16.4vw, 150px); line-height: .84; text-align: right; color: var(--cream); text-shadow: 4px 4px 0 var(--red); rotate: -4deg; }
.phrase--drip { font: 400 clamp(36px, 12vw, 104px)/1 var(--f-melt); font-variation-settings: "YEAR" 2035; text-align: center; color: var(--red); margin: 6px 0; }
.phrase--madre {
  justify-self: center; padding: 16px 24px 12px; border-radius: 22px; background: var(--cream); color: var(--red);
  font-size: clamp(34px, 10vw, 66px); line-height: .96; text-align: center; rotate: 2deg; margin-top: 18px;
  box-shadow: 0 0 0 5px var(--ink), 0 0 0 8px var(--cream);
}

/* ==========================================================
   5 · UBICACIÓN
   ========================================================== */
.loc { position: relative; background: var(--red); color: var(--cream); }
.loc__photo img { display: block; width: 100%; height: auto; max-height: 82svh; object-fit: cover; object-position: center 35%; }
.loc__paper {
  position: relative; z-index: 2; margin-top: -30px; padding: 56px 0 44px; background: var(--cream); color: var(--red);
  clip-path: polygon(0 10px, 3% 4px, 6% 9px, 9% 3px, 12% 8px, 15% 2px, 18% 7px, 22% 3px, 26% 9px, 30% 4px, 34% 8px, 38% 2px, 42% 7px, 46% 3px, 50% 9px, 54% 4px, 58% 8px, 62% 2px, 66% 6px, 70% 3px, 74% 9px, 78% 4px, 82% 8px, 86% 2px, 90% 7px, 94% 3px, 97% 8px, 100% 4px, 100% 100%, 0 100%);
}
.loc__paper .wrap { display: grid; justify-items: start; gap: 8px; }
.loc__title { font: 400 clamp(46px, 14vw, 96px)/.95 var(--f-hand); color: var(--red-deep); letter-spacing: .02em; }
.loc__addr { font: 400 clamp(27px, 7.6vw, 44px)/1.08 var(--f-hand); color: var(--red); margin-bottom: 18px; letter-spacing: .02em; }
.loc__hours { padding: 70px 0 96px; }
.board {
  position: relative; max-width: 440px; margin-inline: auto; padding: 56px 20px 30px; rotate: -2deg;
  background: var(--cream); color: var(--red); box-shadow: 8px 10px 0 var(--ink);
}
.board__badge {
  position: absolute; top: -38px; left: 50%; translate: -50% 0; width: 76px; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; background: var(--red); border: 4px solid var(--cream); box-shadow: 0 0 0 2px var(--ink);
}
.board__badge img { width: 42%; height: auto; }
.board__title { font-size: clamp(25px, 7.4vw, 38px); text-align: center; margin: 0 0 22px; line-height: 1.05; }
.board__row { text-align: center; margin-bottom: 16px; }
.board__row dt { font: 400 clamp(32px, 9vw, 44px)/1 var(--f-hand); text-transform: uppercase; letter-spacing: .03em; }
.board__row dd { font: 400 clamp(22px, 6vw, 28px)/1.1 var(--f-hand); color: var(--ink); letter-spacing: .03em; }
.board__row.is-today dt::after { content: "HOY"; display: inline-block; margin-left: 10px; padding: 4px 8px 2px; border-radius: 4px; rotate: -5deg; vertical-align: middle; background: var(--ink); color: var(--cream); font: 400 14px/1 var(--f-display); letter-spacing: .08em; }

/* ==========================================================
   6 · REDES Y RESEÑAS
   ========================================================== */
.social { padding: 76px 0 70px; background: var(--cream); }
.social__btns { display: grid; gap: 16px; max-width: 520px; }
.reviews { margin-top: 56px; display: grid; justify-items: start; gap: 18px; }
.reviews__title { font: 400 clamp(34px, 9vw, 56px)/1 var(--f-display); letter-spacing: .02em; }
.reviews__grid { display: grid; gap: 16px; width: 100%; }
.note {
  position: relative; padding: 22px 20px 18px; min-height: 124px; display: grid; align-content: center; gap: 6px;
  border: 2px dashed var(--ink); border-radius: 6px; background: var(--paper); rotate: var(--rot, 0deg);
}
.note:nth-child(1) { --rot: -1.2deg; }
.note:nth-child(2) { --rot: 1deg; background: var(--cream); }
.note:nth-child(3) { --rot: -.6deg; }
.note__q { font: 400 54px/.6 var(--f-display); color: var(--red); height: 26px; }
.note__t { font: 400 24px/1.1 var(--f-hand); letter-spacing: .02em; }
.note__s { font-size: 13px; line-height: 1.4; opacity: .75; }
.note__by { font: 700 12px/1.2 var(--f-ui); letter-spacing: .1em; text-transform: uppercase; }

/* ==========================================================
   7 · FOOTER
   ========================================================== */
.foot { background: var(--ink); color: var(--cream); padding: 64px 0 calc(116px + env(safe-area-inset-bottom)); }
.foot__logo { display: block; width: 104px; height: auto; }
.foot__tag { margin: 26px 0 28px; font: 400 clamp(38px, 12vw, 84px)/.9 var(--f-display); }
.foot__grid { display: grid; gap: 22px; font-size: 15px; line-height: 1.6; }
.foot a { text-underline-offset: 3px; }
.foot__credit { margin-top: 40px; padding-top: 16px; border-top: 1px solid rgba(245, 238, 226, .2); font-size: 12px; opacity: .6; }

/* ==========================================================
   BARRA INFERIOR · CARRITO · MODAL · TOAST
   ========================================================== */
.dock {
  position: fixed; z-index: 50; left: 50%; translate: -50% 0; bottom: calc(env(safe-area-inset-bottom) + 10px);
  width: min(100% - 20px, 520px); padding: 6px; display: grid; grid-template-columns: repeat(4, 1fr);
  border-radius: 22px; background: var(--ink); box-shadow: 0 10px 28px rgba(0, 0, 0, .38);
}
.dock__item {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 56px;
  border: 0; border-radius: 16px; background: none; color: var(--cream); cursor: pointer; text-decoration: none;
  font: 700 10.5px/1 var(--f-ui); letter-spacing: .08em; text-transform: uppercase;
}
.dock__item:active { background: rgba(255, 255, 255, .14); }
.dock__item svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dock__badge { position: absolute; top: 3px; left: calc(50% + 4px); min-width: 20px; height: 20px; padding: 2px 5px 0; border-radius: 999px; background: var(--red); color: var(--cream); font: 400 13px/18px var(--f-display); text-align: center; }
.dock__badge.bump { animation: pop .4s var(--ease); }


.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border: 2px solid var(--ink); border-radius: 50%; background: var(--cream); color: var(--ink); cursor: pointer; }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }

.modal { position: fixed; z-index: 70; inset: 0; display: grid; place-items: end center; padding: 16px; padding-bottom: calc(16px + env(safe-area-inset-bottom)); opacity: 0; visibility: hidden; transition: opacity .25s, visibility 0s .25s; }
.modal::before { content: ""; position: absolute; inset: 0; background: rgba(24, 24, 24, .62); }
.modal.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.modal__card {
  position: relative; width: min(100%, 460px); max-height: 90svh; overflow: auto; padding: 20px;
  border: 2px solid var(--ink); border-radius: 22px; background: var(--cream); box-shadow: 6px 8px 0 var(--ink);
  translate: 0 24px; transition: translate .35s var(--ease);
}
.modal.is-open .modal__card { translate: 0 0; }
.modal__card h2 { font: 400 26px/1 var(--f-display); letter-spacing: .03em; margin: 2px 0 14px; padding-top: 3px; }
.modal__note { margin: 12px 0 14px; font-size: 13px; opacity: .75; }
.modal__actions { display: grid; gap: 10px; }
.btn--line { --bg: transparent; --fg: var(--ink); --sh: transparent; box-shadow: none; }

.toast {
  position: fixed; z-index: 95; left: 50%; bottom: calc(env(safe-area-inset-bottom) + 90px); max-width: min(92vw, 420px);
  padding: 11px 18px 10px; border-radius: 999px; background: var(--ink); color: var(--cream); text-align: center;
  font: 500 14px/1.3 var(--f-ui); box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
  translate: -50% 20px; opacity: 0; pointer-events: none; transition: opacity .25s, translate .3s var(--ease);
}
.toast.is-on { opacity: 1; translate: -50% 0; }

/* ---------- Revelado al hacer scroll ---------- */
.js .reveal { opacity: 0; translate: 0 26px; transition: opacity .7s var(--ease), translate .8s var(--ease); }
.js .reveal.is-in { opacity: 1; translate: 0 0; }

/* ---------- Animaciones ---------- */
@keyframes rise { to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
@keyframes drop { from { opacity: 0; translate: 0 -46px; rotate: -16deg; } to { opacity: 1; translate: 0 0; rotate: 5deg; } }
@keyframes dishIn { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
@keyframes pop { 0% { scale: 1; } 40% { scale: 1.18; } 100% { scale: 1; } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================
   ESCRITORIO
   ========================================================== */
@media (min-width: 860px) {
  .demo-pill { font-size: 11.5px; }
  .hero { padding: 78px 6vw 90px; }
  .hero__logo { width: 140px; }
  .hero__main { display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 3vw; margin: 3vh 0; }
  .hero__title { font-size: clamp(84px, 9.2vw, 176px); }
  .row { display: flex; column-gap: .2em; }
  .print { position: relative; right: auto; bottom: auto; width: min(100%, 340px); justify-self: center; padding: 10px; }
  .print__badge { width: 86px; left: -34px; bottom: -30px; }
  .hero__bottom { grid-template-columns: 1fr auto; align-items: end; }
  .hero__sub { max-width: none; }
  .hero__cta .btn { min-height: 60px; font-size: 20px; padding-inline: 28px; }

  .menu { padding: 110px 0 90px; }
  .cat-banner img { aspect-ratio: 3 / 1; }
  .tabs-wrap { margin-inline: 0; padding-inline: 0; }
  .dishes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 22px; }
  .dish__name { font-size: 25px; }
  .dish__desc { font-size: 14.5px; }
  .dish__more span { display: inline; }
  .dish__price small { display: inline; }
  .dish--feature { display: grid; grid-template-columns: 1.1fr 1fr; }
  .dish--feature .dish__media { aspect-ratio: auto; min-height: 340px; border-bottom: 0; border-right: 2px solid var(--ink); }
  .dish--feature .dish__body { justify-content: center; gap: 14px; padding: 36px; }
  .dish--feature .dish__name { font-size: 52px; }
  .dish--feature .dish__desc { font-size: 18px; max-width: 460px; }
  .dish--feature .dish__foot { justify-content: flex-start; gap: 26px; margin-top: 8px; }

  .exp { padding: 120px 0 130px; }
  .collage { gap: 46px 18px; }
  .t-mezcal { grid-column: 1 / 6; grid-row: 1; }
  .phrase--bella { grid-column: 5 / 9; grid-row: 1; }
  .t-pizzas { grid-column: 9 / 13; grid-row: 1; margin-top: 70px; }
  .t-pasta { grid-column: 1 / 5; grid-row: 2; margin-top: 0; }
  .t-masa { grid-column: 5 / 9; grid-row: 2; }
  .t-amigos { grid-column: 9 / 13; grid-row: 2; margin-bottom: 0; align-self: start; }
  .phrase--drip { grid-row: 3; }
  .t-interior { grid-column: 1 / 6; grid-row: 4; }
  .t-cincin { grid-column: 6 / 9; grid-row: 4; margin-top: 56px; }
  .t-wine { grid-column: 9 / 13; grid-row: 4; margin-top: 0; }
  .phrase--madre { grid-row: 5; }

  .loc { display: grid; grid-template-columns: 1.1fr .9fr; grid-template-rows: auto 1fr; }
  .loc__photo { grid-row: 1 / 3; }
  .loc__photo img { height: 100%; max-height: none; }
  .loc__paper { margin-top: 0; clip-path: none; padding: 90px 0 30px; background: var(--cream); }
  .loc__paper .wrap { width: min(100% - 80px, 520px); }
  .loc__hours { width: min(100% - 80px, 520px); padding: 80px 0 90px; }

  .social__btns { grid-template-columns: 1fr 1fr; max-width: 760px; }
  .reviews__grid { grid-template-columns: repeat(3, 1fr); }

  .foot__grid { grid-template-columns: 1fr 1fr; max-width: 640px; }
  .dock { width: 480px; }
  .toast { bottom: 100px; }

  .modal { place-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .ribbon__track { animation: none; }
  .melt { font-variation-settings: "YEAR" 2002; }
}
