/* Huaraches de la 12 — menú digital (demo) */
:root {
  --red: #B20D30;
  --red-dark: #8F0925;
  --red-soft: #FBE8EC;
  --ink: #111111;
  --ink-2: #1C1917;
  --paper: #FFFDF8;
  --paper-2: #F8F5EE;
  --line: #E6DFD1;
  --muted: #5E574D;
  --mustard: #F2B705;
  --mustard-soft: #FFF4CF;
  --wa: #1FA855;
  --wa-dark: #178A45;

  --font-display: "Bebas Neue", "Arial Narrow", sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;

  --topbar-h: 56px;
  --nav-h: 52px;
  --radius: 14px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper-2);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.4;
  -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; }

.app {
  max-width: 428px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--paper);
  position: relative;
  padding-bottom: 96px;
  overflow-x: clip;
  box-shadow: 0 0 0 1px var(--line);
}

/* ---------- Topbar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  background: var(--ink);
  color: #fff;
  border-bottom: 3px solid var(--red);
}
.topbar__badge {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--red);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: .5px;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.25);
}
.topbar__name {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 1px;
  line-height: 1;
  text-transform: uppercase;
}
.topbar__tag { font-size: 11px; color: #D4D0C8; font-weight: 600; margin-top: 2px; }

/* ---------- Demo note ---------- */
.demo-note {
  margin: 0;
  padding: 7px 16px;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.35;
  color: #6B4A00;
  background: var(--mustard-soft);
  border-bottom: 1px dashed #D9B44A;
}

/* ---------- Hero (rótulo, sin foto) ---------- */
.hero {
  position: relative;
  padding: 28px 16px 34px;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 10px, transparent 10px 20px),
    var(--red);
  color: #fff;
  overflow: hidden;
}
.hero::after { /* borde dentado tipo lona / papel picado */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 12px;
  background:
    linear-gradient(135deg, var(--paper) 25%, transparent 25%) -6px 0 / 12px 12px,
    linear-gradient(225deg, var(--paper) 25%, transparent 25%) -6px 0 / 12px 12px;
}
.hero__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--mustard);
  padding: 4px 10px;
  border-radius: 999px;
  transform: rotate(-2deg);
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(56px, 18vw, 76px);
  line-height: .88;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 14px;
  text-shadow: 3px 3px 0 var(--red-dark), 5px 5px 0 rgba(0,0,0,.25);
}
.hero__title span { display: block; color: var(--mustard); }
.hero__sub { margin-top: 12px; font-size: 14px; font-weight: 600; color: #FFE9EE; }
.hero__stamp {
  position: absolute;
  top: 22px; right: 16px;
  width: 78px; height: 78px;
  border-radius: 50%;
  border: 2px dashed rgba(255,255,255,.7);
  display: grid; place-items: center;
  text-align: center;
  font-family: var(--font-display);
  font-size: 17px;
  line-height: .95;
  letter-spacing: 1px;
  text-transform: uppercase;
  transform: rotate(12deg);
  color: #fff;
}

/* ---------- Nav de categorías ---------- */
.cats {
  position: sticky;
  top: var(--topbar-h);
  z-index: 30;
  background: rgba(255, 253, 248, .96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.cats__list {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 16px;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}
.cats__list::-webkit-scrollbar { display: none; }
.cats__pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  background: var(--paper);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  scroll-snap-align: start;
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .15s var(--ease);
}
.cats__pill:hover { background: var(--red-soft); }
.cats__pill:active { transform: scale(.95); }
.cats__pill:focus-visible { outline: 3px solid var(--mustard); outline-offset: 2px; }
.cats__pill.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Secciones ---------- */
.menu { padding: 8px 16px 0; }
.sec { padding-top: 26px; scroll-margin-top: calc(var(--topbar-h) + var(--nav-h) + 6px); }
.sec__head { margin-bottom: 12px; padding-bottom: 8px; border-bottom: 3px solid var(--ink); position: relative; }
.sec__head::after {
  content: "";
  position: absolute;
  left: 0; bottom: -3px;
  width: 56px; height: 3px;
  background: var(--red);
}
.sec__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 34px;
  line-height: 1;
  letter-spacing: .8px;
  text-transform: uppercase;
}
.sec__sub { font-size: 13px; color: var(--muted); font-weight: 600; margin-top: 3px; }

/* Fila con puntos guía (estilo lista de precios pintada) */
.row { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.row__name { font-size: 15.5px; font-weight: 800; line-height: 1.25; flex: 0 1 auto; min-width: 0; }
.row__dots { flex: 1 1 12px; min-width: 12px; border-bottom: 2px dotted #BDB4A4; transform: translateY(-4px); }
.row__price {
  flex: none;
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1;
  color: var(--red);
  letter-spacing: .5px;
}
.row__desc { font-size: 13px; color: var(--muted); margin-top: 3px; }

.list { display: flex; flex-direction: column; }
.item { padding: 12px 2px; border-bottom: 1px solid var(--line); }
.item:last-child { border-bottom: 0; }

/* Estrella */
.star {
  position: relative;
  padding: 16px 14px 14px;
  margin-bottom: 6px;
  background: var(--mustard-soft);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 4px 4px 0 var(--ink);
}
.star .row__name { font-size: 18px; }
.star .row__price { font-size: 32px; }
.star .row__desc { color: #4A4238; }
.star__tag {
  position: absolute;
  top: -11px; left: 12px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: var(--red);
  color: #fff;
  padding: 3px 9px;
  border-radius: 6px;
}

/* Combinaciones */
.combos { display: flex; flex-direction: column; gap: 12px; }
.combo {
  padding: 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.combo--lead { border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--red); }
.combo__label { font-size: 12px; font-weight: 700; color: var(--muted); margin-top: 8px; text-transform: uppercase; letter-spacing: .6px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chips li {
  font-size: 12.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--paper-2);
  border: 1px solid var(--line);
}

/* Especiales */
.special {
  position: relative;
  overflow: hidden;
  padding: 16px;
  border-radius: var(--radius);
  color: #fff;
  margin-bottom: 12px;
}
.special--dark { background: var(--ink-2); box-shadow: 4px 4px 0 var(--mustard); }
.special--red { background: var(--red); box-shadow: 4px 4px 0 var(--ink); }
.special__kicker {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: var(--mustard);
  color: var(--ink);
  padding: 3px 8px;
  border-radius: 6px;
}
.special__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 8px; position: relative; z-index: 1; }
.special__name { font-family: var(--font-display); font-weight: 400; font-size: 40px; line-height: .95; letter-spacing: 1px; text-transform: uppercase; }
.special__price { font-family: var(--font-display); font-size: 40px; line-height: .95; color: var(--mustard); }
.special__desc { font-size: 13.5px; margin-top: 6px; color: #F3ECE2; position: relative; z-index: 1; max-width: 85%; }
.special--red .special__desc { color: #FFE3E9; }
.special__ghost {
  position: absolute;
  right: -8px; bottom: -22px;
  font-family: var(--font-display);
  font-size: 110px;
  line-height: 1;
  opacity: .09;
  pointer-events: none;
}

/* Bebidas */
.drinks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.drink {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 6px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  text-align: center;
}
.drink__name { font-size: 13.5px; font-weight: 800; }
.drink__price { font-family: var(--font-display); font-size: 28px; line-height: 1; color: var(--red); }

/* Aviso */
.notice {
  margin-top: 28px;
  padding: 14px;
  border-radius: var(--radius);
  background: var(--mustard-soft);
  border: 2px dashed #C99A1A;
}
.notice__title { font-family: var(--font-display); font-weight: 400; font-size: 22px; letter-spacing: .8px; text-transform: uppercase; }
.notice__list { margin-top: 4px; font-size: 13px; color: #4A3A10; }
.notice__list li { padding-left: 14px; position: relative; margin-top: 4px; }
.notice__list li::before { content: "•"; position: absolute; left: 2px; color: var(--red); font-weight: 800; }

/* Footer */
.foot { text-align: center; padding: 32px 0 12px; }
.foot__name { font-family: var(--font-display); font-size: 28px; letter-spacing: 1px; text-transform: uppercase; }
.foot__tag { font-size: 13px; color: var(--muted); font-weight: 600; }
.foot__credit { font-size: 11px; color: #8A8276; margin-top: 14px; font-weight: 600; }

/* ---------- CTA WhatsApp sticky ---------- */
.cta {
  position: fixed;
  z-index: 50;
  left: 50%;
  bottom: max(14px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: min(calc(100% - 32px), 396px);
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 16px;
  background: var(--wa);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
  border: 2px solid var(--ink);
  box-shadow: 0 4px 0 var(--ink), 0 12px 24px rgba(0,0,0,.18);
  transition: background-color .2s var(--ease), transform .12s var(--ease), box-shadow .12s var(--ease);
}
.cta:hover { background: var(--wa-dark); }
.cta:active { transform: translateX(-50%) translateY(3px); box-shadow: 0 1px 0 var(--ink), 0 6px 12px rgba(0,0,0,.18); }
.cta:focus-visible { outline: 3px solid var(--mustard); outline-offset: 3px; }
.cta__icon { width: 22px; height: 22px; flex: none; }
