/* El Punto del Sabor · "La pizarra del mostrador"
   Regla de color: pizarra (slate) domina; tiza para texto; caramelo del logo SOLO para acciones y acentos;
   verde agua de la pared para la frase; papel blanco SOLO para la comanda. */
:root {
  --slate: #1B211E;
  --slate-2: #232B27;
  --slate-3: #2C3530;
  --chalk: #F1EDE4;
  --chalk-dim: rgba(241, 237, 228, .74);
  --chalk-line: rgba(241, 237, 228, .22);
  --caramel: #E39B4F;
  --caramel-2: #F0B474;
  --caramel-ink: #22140A;
  --brown: #3A2219;
  --brown-2: #4C2D20;
  --wood: #6B4A33;
  --teal: #2B564E;
  --salmon: #F3B6A5;
  --paper: #FCFBF6;
  --ink: #1D1D1B;
  --display: 'Alfa Slab One', 'Rockwell', Georgia, serif;
  --hand: 'Kalam', 'Segoe Print', 'Comic Sans MS', cursive;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, 'Courier New', monospace;
  --gut: clamp(16px, 4vw, 56px);
  --noise: 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='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--slate); color: var(--chalk);
  font-family: var(--hand); font-size: 19px; line-height: 1.45; overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 3px solid var(--caramel); outline-offset: 3px; border-radius: 4px; }
.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; left: 12px; top: -60px; z-index: 100; background: var(--caramel); color: var(--caramel-ink); padding: 10px 16px; border-radius: 6px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.hand { font-family: var(--hand); font-weight: 700; color: var(--caramel); font-size: clamp(20px, 1.9vw, 26px); transform: rotate(-2deg); transform-origin: left; display: inline-block; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 22px; border-radius: 6px; border: 2px solid transparent;
  font-family: var(--hand); font-weight: 700; font-size: 19px; line-height: 1.1; text-decoration: none;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, .35);
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 rgba(0, 0, 0, .4); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 rgba(0, 0, 0, .4); }
.btn--caramel { background: var(--caramel); color: var(--caramel-ink); }
.btn--caramel:hover { background: var(--caramel-2); }
.btn--chalk { background: var(--chalk); color: var(--slate); }
.btn--ghost { border-color: var(--chalk-line); color: var(--chalk); box-shadow: none; }
.btn--ghost:hover { border-color: var(--chalk); box-shadow: none; }
.btn--lg { min-height: 60px; padding: 14px 28px; font-size: 22px; }
.btn--block { width: 100%; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px calc(var(--gut) + 14px);
  transition: background-color .3s ease, padding .3s ease, box-shadow .3s ease;
}
.nav.is-solid { background: rgba(27, 33, 30, .94); backdrop-filter: blur(8px); padding-top: 10px; padding-bottom: 10px; box-shadow: 0 1px 0 var(--chalk-line); }
.nav__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--display); font-size: 19px; letter-spacing: .01em; }
.nav__brand img { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--chalk-line); }
.nav__links { display: flex; gap: 30px; }
.nav__links a { text-decoration: none; font-size: 19px; color: var(--chalk-dim); background: linear-gradient(var(--caramel), var(--caramel)) 0 100% / 0 2px no-repeat; transition: background-size .25s ease, color .2s; padding-bottom: 2px; }
.nav__links a:hover { color: var(--chalk); background-size: 100% 2px; }
.nav__cta { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; padding: 8px 10px 8px 18px; border-radius: 6px; background: var(--caramel); color: var(--caramel-ink); box-shadow: 3px 3px 0 rgba(0, 0, 0, .35); }
.nav__count { display: grid; place-items: center; min-width: 30px; height: 30px; padding: 0 6px; border-radius: 4px; background: var(--slate); color: var(--chalk); font-family: var(--display); font-size: 14px; font-weight: 400; }
.bump { animation: bump .45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes bump { 40% { transform: scale(1.35) rotate(-6deg); } }

/* ---------- hero: la pizarra ---------- */
.hero {
  padding: 12px; min-height: 100svh; display: flex;
  background:
    repeating-linear-gradient(92deg, rgba(0, 0, 0, .12) 0 2px, transparent 2px 9px),
    repeating-linear-gradient(88deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 23px),
    linear-gradient(180deg, #7A5539, var(--wood) 40%, #5B3D29);
}
.board {
  position: relative; flex: 1; border-radius: 6px; overflow: hidden;
  display: grid; grid-template-rows: auto 1fr auto; gap: 20px;
  padding: 96px clamp(18px, 4vw, 64px) clamp(22px, 3.4vw, 44px);
  background:
    var(--noise),
    radial-gradient(ellipse 60% 50% at 24% 30%, rgba(241, 237, 228, .07), transparent 70%),
    radial-gradient(ellipse 50% 40% at 78% 82%, rgba(241, 237, 228, .05), transparent 70%),
    radial-gradient(ellipse 120% 90% at 50% 50%, var(--slate-2), var(--slate));
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .55), inset 0 0 90px rgba(0, 0, 0, .55);
}
.board::after { /* restos de tiza borrada */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background:
    radial-gradient(ellipse 22% 6% at 62% 18%, rgba(241, 237, 228, .06), transparent),
    radial-gradient(ellipse 30% 5% at 30% 86%, rgba(241, 237, 228, .05), transparent),
    linear-gradient(172deg, transparent 40%, rgba(241, 237, 228, .035) 46%, transparent 52%);
}
.board__top { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.chalk-note { font-size: clamp(17px, 1.5vw, 22px); color: var(--chalk-dim); text-decoration: none; filter: url(#chalk); }
.chalk-note--star { position: relative; color: var(--chalk); font-weight: 700; }
.ring { font-family: var(--display); font-weight: 400; color: var(--caramel); font-size: 1.15em; margin-right: 4px; }
.ring__svg { position: absolute; left: -22px; top: 50%; width: 92px; height: 52px; transform: translateY(-52%); overflow: visible; }
.ring__svg path, .underline path { fill: none; stroke: var(--caramel); stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }

.menuboard { position: relative; z-index: 2; align-self: center; font-family: var(--display); font-weight: 400; color: var(--chalk); font-size: min(9.8vw, 16.5vh, 170px); line-height: .9; letter-spacing: -.005em; }
.mb-line { position: relative; display: block; width: fit-content; overflow: hidden; padding: .02em .06em .12em 0; margin-bottom: -.1em; }
.mb-in { display: inline-block; filter: url(#chalk); text-shadow: 0 0 1px rgba(241, 237, 228, .35); }
.mb-line:nth-child(3) .mb-in { color: var(--chalk); }
.underline { position: absolute; left: 0; bottom: .02em; width: 100%; height: .16em; overflow: visible; }
.underline path { stroke-width: 5; }
.mb-more { display: block; margin: .12em 0 0 clamp(80px, 24vw, 420px); font-family: var(--hand); font-weight: 700; color: var(--caramel); font-size: .42em; line-height: 1; transform: rotate(-4deg); filter: url(#chalk); }

.pins { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.pin {
  position: absolute; background: var(--paper); padding: 10px 10px 0; box-shadow: 0 18px 40px rgba(0, 0, 0, .5), 0 2px 4px rgba(0, 0, 0, .3);
  transform: rotate(var(--r, 4deg));
}
.pin::before { /* cinta */
  content: ""; position: absolute; left: 50%; top: -14px; width: 92px; height: 28px; transform: translateX(-50%) rotate(-3deg);
  background: rgba(240, 222, 186, .78); box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
}
.pin img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.pin figcaption { font-family: var(--hand); font-weight: 700; color: var(--ink); font-size: 18px; padding: 8px 2px 10px; text-align: center; }
.pin--a { --r: 5deg; width: clamp(150px, 18vw, 280px); top: 19%; right: 6%; }
.pin--a img { object-position: 50% 82%; }
.pin--b { --r: -7deg; width: clamp(120px, 13.5vw, 210px); top: 55%; right: 25%; }
.pin--c { --r: 3deg; width: clamp(140px, 16vw, 250px); bottom: 8%; right: 3.5%; }
.pin--c img { aspect-ratio: 1; object-position: 40% 50%; }

.board__foot { position: relative; z-index: 4; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
.status { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: var(--chalk); }
.dot { width: 12px; height: 12px; border-radius: 50%; background: var(--caramel); box-shadow: 0 0 0 4px rgba(227, 155, 79, .2); flex: none; }
.is-open .dot { background: #7FD39A; box-shadow: 0 0 0 4px rgba(127, 211, 154, .22); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(127, 211, 154, 0); } }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- la vidriera ---------- */
.vid {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(227, 155, 79, .16), transparent 70%),
    linear-gradient(180deg, var(--brown), #2A1812);
}
.vid__track { display: flex; align-items: flex-start; gap: clamp(36px, 4.4vw, 72px); padding: 112px var(--gut) 80px; width: max-content; }
.vid__intro { width: min(36vw, 520px); flex: none; padding-top: 4vh; }
.vid__title { font-family: var(--display); font-weight: 400; font-size: clamp(64px, 8.6vw, 150px); line-height: .88; color: var(--caramel); margin: 12px 0 28px; }
.vid__lead { font-size: 21px; color: var(--chalk-dim); max-width: 30ch; }
.vid__lead b { color: var(--chalk); }
.vid__hint { margin-top: 28px; display: inline-flex; gap: 10px; align-items: center; color: var(--caramel); font-weight: 700; }
.vid { --h: min(52vh, 560px); }
.tray { flex: none; width: calc(var(--h) * .8); }
.tray--wide { width: calc(var(--h) * 1.3); margin-top: 9vh; }
.tray--wide .tray__img img { aspect-ratio: 16 / 10; }
.tray__img { position: relative; overflow: hidden; border-radius: 4px; box-shadow: 0 30px 60px rgba(0, 0, 0, .45); }
.tray__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transform: scale(1.08); }
.tray__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, .35)); }
.tray__txt { position: relative; padding-top: 18px; }
.tray__n { position: absolute; right: 0; top: -54px; z-index: 2; font-family: var(--display); font-size: 64px; line-height: 1; color: var(--chalk); text-shadow: 0 4px 20px rgba(0, 0, 0, .5); }
.tray h3 { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 2.8vw, 44px); line-height: 1; }
.tray p { color: var(--chalk-dim); margin: 8px 0 14px; max-width: 32ch; }
.add {
  display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 8px 8px 8px 16px; border-radius: 6px; cursor: pointer;
  background: transparent; border: 2px solid var(--caramel); color: var(--caramel); font-weight: 700; font-size: 18px;
  transition: background-color .2s, color .2s;
}
.add span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 4px; background: var(--caramel); color: var(--caramel-ink); font-family: var(--display); font-size: 18px; }
.add:hover, .add.is-added { background: var(--caramel); color: var(--caramel-ink); }
.add:hover span, .add.is-added span { background: var(--caramel-ink); color: var(--caramel); }

/* ---------- la comanda ---------- */
.order { padding: clamp(80px, 11vw, 150px) var(--gut); background: var(--noise), var(--slate); }
.order__head { max-width: 1240px; margin: 0 auto clamp(40px, 6vw, 72px); }
.order__title { font-family: var(--display); font-weight: 400; font-size: clamp(52px, 8vw, 132px); line-height: .9; margin: 10px 0 20px; filter: url(#chalk); }
.order__lead { font-size: clamp(19px, 1.7vw, 23px); color: var(--chalk-dim); max-width: 46ch; }
.order__body { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.carta { display: grid; gap: 48px; }
.carta__cat { font-family: var(--display); font-weight: 400; color: var(--caramel); font-size: clamp(22px, 2vw, 28px); padding-bottom: 12px; border-bottom: 2px dashed var(--chalk-line); margin-bottom: 4px; }
.item { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: start; padding: 20px 0; border-bottom: 1px solid rgba(241, 237, 228, .1); position: relative; }
.item::before { content: ""; position: absolute; left: -20px; top: 28px; width: 8px; height: 8px; border-radius: 50%; background: var(--caramel); transform: scale(0); transition: transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.item.is-on::before { transform: scale(1); }
.item__name { font-family: var(--hand); font-weight: 700; font-size: clamp(23px, 2vw, 27px); line-height: 1.1; }
.star { font-style: normal; font-size: 15px; color: var(--caramel-ink); background: var(--caramel); padding: 2px 8px; border-radius: 3px; vertical-align: 4px; margin-left: 6px; white-space: nowrap; }
.item__desc { color: var(--chalk-dim); font-size: 18px; margin-top: 4px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.opt { min-height: 36px; padding: 4px 14px; border-radius: 4px; border: 1.5px dashed var(--chalk-line); background: none; cursor: pointer; font-size: 16px; font-weight: 700; color: var(--chalk-dim); }
.opt[aria-checked="true"] { border-style: solid; border-color: var(--chalk); color: var(--slate); background: var(--chalk); }
.stepper { display: flex; align-items: center; gap: 4px; }
.stepper button { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--chalk-line); background: none; cursor: pointer; font-size: 22px; font-weight: 700; line-height: 1; transition: background-color .15s, border-color .15s; }
.stepper button[data-step="1"] { border-color: var(--caramel); background: var(--caramel); color: var(--caramel-ink); }
.stepper button:disabled { opacity: .35; cursor: default; }
.stepper output { min-width: 34px; text-align: center; font-family: var(--display); font-size: 22px; }
.item.pop .stepper output { animation: bump .45s cubic-bezier(.3, 1.6, .5, 1); }

.ticket-wrap { position: sticky; top: 96px; }
.ticket {
  position: relative; background: var(--paper); color: var(--ink); font-family: var(--mono); font-size: 14.5px; line-height: 1.5;
  padding: 26px 24px 30px; margin-bottom: 30px; transform: rotate(.8deg);
  box-shadow: 0 30px 50px rgba(0, 0, 0, .45);
}
.ticket::before, .ticket::after { content: ""; position: absolute; left: 0; right: 0; height: 12px; background-size: 14px 12px; background-repeat: repeat-x; }
.ticket::before { top: -11px; background-image: conic-gradient(from 135deg at 50% 100%, var(--paper) 90deg, transparent 0); }
.ticket::after { bottom: -11px; background-image: conic-gradient(from -45deg at 50% 0, var(--paper) 90deg, transparent 0); }
.ticket__head { text-align: center; padding-bottom: 14px; border-bottom: 1px dashed #9a9a92; }
.ticket__brand { font-weight: 700; font-size: 17px; letter-spacing: .14em; }
.ticket__meta { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-bottom: 1px dashed #9a9a92; }
.ticket__meta h3 { font-size: 15px; letter-spacing: .2em; }
.ticket__meta span { font-size: 13px; color: #55554f; }
.ticket__lines { padding: 8px 0; }
.line { display: grid; grid-template-columns: 3.2ch 1fr auto; gap: 8px; align-items: start; padding: 6px 0; }
.line.is-new { animation: print .5s steps(6) both; }
@keyframes print { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
.line__q { font-weight: 700; }
.line__n { text-transform: uppercase; }
.line__n small { display: block; text-transform: none; color: #55554f; font-size: 13px; }
.line__x { width: 30px; height: 30px; border: 1px solid #cfcfc6; background: none; border-radius: 4px; cursor: pointer; font-size: 16px; line-height: 1; color: #55554f; }
.line__x:hover { border-color: var(--ink); color: var(--ink); }
.ticket__empty { padding: 16px 0; color: #55554f; text-align: center; }
.ticket__total { display: flex; justify-content: space-between; font-weight: 700; padding: 10px 0; border-top: 1px dashed #9a9a92; border-bottom: 1px dashed #9a9a92; letter-spacing: .08em; }
.ticket__form { display: grid; gap: 14px; padding-top: 16px; }
.field { display: grid; gap: 4px; font-size: 12.5px; text-transform: uppercase; letter-spacing: .12em; color: #55554f; }
.field input, .field textarea { font-family: var(--mono); font-size: 15px; color: var(--ink); text-transform: none; letter-spacing: 0; border: 0; border-bottom: 1.5px dashed #8d8d86; background: transparent; padding: 6px 0; resize: vertical; border-radius: 0; }
.field input:focus, .field textarea:focus { outline: none; border-bottom: 1.5px solid var(--ink); }
.when { border: 0; padding: 0; margin: 0; display: grid; gap: 4px; }
.when legend { font-size: 12.5px; text-transform: uppercase; letter-spacing: .12em; color: #55554f; margin-bottom: 6px; padding: 0; }
.when label { display: flex; align-items: center; gap: 10px; cursor: pointer; min-height: 32px; }
.when input { appearance: none; width: 18px; height: 18px; border: 1.5px solid var(--ink); border-radius: 2px; display: grid; place-items: center; margin: 0; flex: none; cursor: pointer; }
.when input::after { content: "x"; font-weight: 700; font-size: 14px; line-height: 1; transform: scale(0); }
.when input:checked::after { transform: scale(1); }
.when input:focus-visible { outline: 2px solid var(--caramel); outline-offset: 2px; }
.ticket__note { margin-top: 18px; font-size: 12.5px; color: #55554f; text-align: center; }
.btn--wa { background: var(--caramel); color: var(--caramel-ink); font-size: 21px; min-height: 62px; }
.btn--wa:hover { background: var(--caramel-2); }
.ticket__alt { margin-top: 16px; font-size: 17px; color: var(--chalk-dim); text-align: center; }
.ticket__alt a { color: var(--caramel); font-weight: 700; }

/* ---------- la frase ---------- */
.quote { background: var(--teal); padding: clamp(96px, 14vw, 200px) var(--gut); position: relative; overflow: hidden; }
.quote::before { content: ""; position: absolute; inset: 0; background: var(--noise); opacity: .7; pointer-events: none; }
.quote blockquote { position: relative; max-width: 1280px; margin: 0 auto; }
.quote__text { font-family: var(--display); font-size: clamp(34px, 5.6vw, 96px); line-height: 1.02; color: var(--salmon); letter-spacing: -.01em; }
.quote__text .w { display: inline-block; }
.quote footer { display: block; margin-top: 36px; color: var(--chalk); }

/* ---------- encargos ---------- */
.enc { padding: clamp(80px, 11vw, 150px) var(--gut) clamp(60px, 8vw, 110px); background: var(--slate); }
.enc__head { max-width: 1240px; margin: 0 auto clamp(40px, 5vw, 64px); display: grid; grid-template-columns: 1.2fr .8fr; gap: 20px 60px; align-items: end; }
.enc__head .hand { grid-column: 1 / -1; }
.enc__title { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 5.4vw, 88px); line-height: .95; }
.enc__lead { color: var(--chalk-dim); font-size: 21px; }
.stack { max-width: 1240px; margin: 0 auto; display: grid; gap: 28px; }
.card {
  position: sticky; top: calc(96px + var(--i, 0) * 26px); min-height: min(56vh, 480px); border-radius: 8px; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; box-shadow: 0 -16px 40px rgba(0, 0, 0, .35); transform-origin: 50% 0;
}
.card--a { --i: 0; background: var(--caramel); color: var(--caramel-ink); }
.card--b { --i: 1; background: var(--teal); color: var(--chalk); }
.card--c { --i: 2; background: var(--brown-2); color: var(--chalk); }
.card__txt { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.card__n { font-family: var(--display); font-size: clamp(90px, 12vw, 190px); line-height: .8; opacity: .9; }
.card h3 { font-family: var(--display); font-weight: 400; font-size: clamp(34px, 4.2vw, 66px); line-height: .95; }
.card p { font-size: clamp(20px, 1.8vw, 25px); margin-top: 12px; max-width: 24ch; }
.card img { width: 100%; height: 100%; object-fit: cover; }
.enc__cta { max-width: 1240px; margin: clamp(40px, 6vw, 72px) auto 0; display: flex; justify-content: center; }

/* ---------- visit ---------- */
.visit { background: var(--slate-2); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.visit__photo { position: relative; overflow: hidden; min-height: 100%; }
.visit__photo img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; object-position: 50% 50%; }
.visit__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 70%, rgba(35, 43, 39, .6)); }
.visit__info { padding: clamp(72px, 9vw, 130px) var(--gut); }
.visit__title { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 5vw, 80px); line-height: .95; margin: 12px 0 18px; }
.visit__lead { font-size: 21px; color: var(--chalk-dim); max-width: 40ch; }
.aframe {
  margin: 34px 0 30px; max-width: 520px; padding: 22px 26px 18px; border-radius: 4px; transform: rotate(-1deg);
  background: var(--noise), var(--slate); box-shadow: 0 0 0 10px var(--wood), 0 0 0 12px #4A3221, 0 26px 40px rgba(0, 0, 0, .4);
}
.status--board { margin-bottom: 12px; filter: url(#chalk); }
.hours { width: 100%; border-collapse: collapse; font-size: 19px; }
.hours th { text-align: left; font-weight: 400; color: var(--chalk-dim); padding: 4px 0; }
.hours td { text-align: right; padding: 4px 0; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--caramel); font-weight: 700; }
.hours tr.is-today th::after { content: " ← hoy"; font-size: 15px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 10px 0 34px; max-width: 640px; }
.facts dt { font-family: var(--display); font-size: clamp(30px, 3vw, 42px); color: var(--caramel); line-height: 1; }
.facts dd { margin-top: 6px; color: var(--chalk-dim); font-size: 17px; line-height: 1.3; }
.visit__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.visit__note { margin-top: 24px; color: var(--chalk-dim); font-size: 17px; }
.map { grid-column: 1 / -1; height: clamp(320px, 42vw, 480px); position: relative; }
.map { background: var(--noise), repeating-linear-gradient(90deg, transparent 0 79px, rgba(241, 237, 228, .06) 79px 81px), repeating-linear-gradient(0deg, transparent 0 79px, rgba(241, 237, 228, .06) 79px 81px), var(--slate); }
.map__fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 20px; text-align: center; font-weight: 700; font-size: clamp(20px, 2.4vw, 30px); color: var(--chalk); filter: url(#chalk); }
.map__fallback svg { color: var(--caramel); flex: none; }
.map iframe { position: relative; width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.4) contrast(1.05); }

/* ---------- final ---------- */
.final { background: var(--noise), radial-gradient(ellipse 80% 70% at 50% 0%, var(--brown-2), var(--brown)); padding: clamp(90px, 12vw, 170px) var(--gut) 28px; text-align: center; }
.final__title { font-family: var(--display); font-weight: 400; font-size: clamp(60px, 13vw, 220px); line-height: .88; margin: 18px 0 44px; }
.final__title span { color: var(--caramel); display: inline-block; }
.final__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.foot { max-width: 1240px; margin: clamp(80px, 10vw, 130px) auto 0; display: grid; grid-template-columns: auto repeat(3, 1fr); gap: 32px 48px; text-align: left; padding-top: 40px; border-top: 1px solid var(--chalk-line); }
.foot__brand img { width: 96px; height: 96px; border-radius: 50%; }
.foot__h { font-family: var(--display); font-weight: 400; color: var(--caramel); font-size: 17px; margin-bottom: 8px; }
.foot p { color: var(--chalk-dim); font-size: 18px; }
.foot a { text-decoration-color: var(--chalk-line); text-underline-offset: 4px; }
.foot__bottom { max-width: 1240px; margin: 48px auto 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 15px; color: rgba(241, 237, 228, .6); }

/* ---------- dock (mobile) + toast ---------- */
.dock { display: none; }
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 70; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--paper); color: var(--ink); font-family: var(--mono); font-size: 14px; padding: 12px 18px; border-radius: 4px; box-shadow: 0 16px 30px rgba(0, 0, 0, .4);
  transition: opacity .25s, transform .25s; white-space: nowrap; max-width: calc(100vw - 32px); overflow: hidden; text-overflow: ellipsis;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- JS states (fail-safe: solo con .js) ---------- */
.js .mb-in { transform: translateY(110%); }
.js [data-h] { opacity: 0; }
.js [data-pin] { opacity: 0; }
.js .ring__svg path, .js .underline path { stroke-dashoffset: 1; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav__links { display: none; }
}
@media (max-width: 900px) {
  .vid__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); padding: 90px var(--gut) 70px; scrollbar-width: none; }
  .vid__track::-webkit-scrollbar { display: none; }
  .vid__intro { width: 82vw; padding-top: 0; scroll-snap-align: start; }
  .tray { width: 76vw; scroll-snap-align: center; }
  .tray--wide { width: 76vw; margin-top: 0; }
  .tray--wide .tray__img img { aspect-ratio: 4 / 5; }
  .order__body { grid-template-columns: 1fr; }
  .ticket-wrap { position: relative; top: 0; }
  .enc__head { grid-template-columns: 1fr; }
  .card { grid-template-columns: 1fr; min-height: 0; top: calc(78px + var(--i, 0) * 18px); }
  .card img { height: 220px; order: -1; }
  .card__txt { gap: 10px; }
  .card__n { display: none; }
  .visit { grid-template-columns: 1fr; }
  .visit__photo { min-height: 0; aspect-ratio: 4 / 3.4; }
  .visit__photo::after { background: linear-gradient(180deg, transparent 60%, rgba(35, 43, 39, .7)); }
  .foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  body { font-size: 18px; }
  .foot__bottom { padding-bottom: 84px; }
  .nav { padding: 14px 24px; }
  .nav__brand span { display: none; }
  .nav__cta { padding: 6px 8px 6px 14px; font-size: 17px; }
  .hero { padding: 8px; }
  .board { padding: 84px 18px 24px; gap: 14px; grid-template-rows: auto auto 1fr auto; }
  .chalk-note { font-size: 16px; }
  .ring__svg { left: -18px; width: 76px; }
  .menuboard { font-size: min(13.4vw, 13vh); align-self: start; margin-top: 10px; }
  .mb-more { margin-left: 22vw; font-size: .5em; }
  .pins { position: relative; inset: auto; height: 210px; margin: 6px -4px 0; align-self: center; }
  .pin { padding: 6px 6px 0; }
  .pin figcaption { font-size: 14px; padding: 4px 0 6px; }
  .pin::before { width: 60px; height: 20px; top: -10px; }
  .pin--a { width: 40%; top: 4px; right: auto; left: 2%; }
  .pin--b { width: 31%; top: 30px; right: 30%; left: auto; }
  .pin--c { width: 36%; top: 0; bottom: auto; right: 0; }
  .board__foot { gap: 14px; }
  .status { font-size: 18px; }
  .hero__ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
  .hero__ctas .btn { padding: 10px 12px; font-size: 18px; white-space: nowrap; }
  .hero__ctas .btn--caramel svg { display: none; }
  .hero__ctas .btn--ghost { grid-column: 1 / -1; min-height: 44px; border: 0; padding: 0; justify-content: flex-start; text-decoration: underline; text-underline-offset: 4px; color: var(--chalk-dim); }
  .facts { grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
  .facts dd { font-size: 15px; }
  .facts dt { font-size: 24px; }
  .dock {
    display: grid; grid-template-columns: 1.3fr 1fr 56px; gap: 8px; position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 60;
    padding: 8px; border-radius: 10px; background: rgba(27, 33, 30, .96); backdrop-filter: blur(8px); box-shadow: 0 10px 30px rgba(0, 0, 0, .5), 0 0 0 1px var(--chalk-line);
    transition: transform .3s ease;
  }
  .dock.is-hidden { transform: translateY(140%); }
  .dock a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 6px; text-decoration: none; font-weight: 700; font-size: 17px; }
  .dock__wa { background: var(--caramel); color: var(--caramel-ink); }
  .dock__order { border: 2px solid var(--chalk-line); }
  .dock__order b { display: grid; place-items: center; min-width: 26px; height: 26px; border-radius: 4px; background: var(--chalk); color: var(--slate); font-family: var(--display); font-weight: 400; font-size: 13px; }
  .dock__tel { background: var(--chalk); color: var(--slate); }
  .toast { bottom: 92px; }
}
@media (max-width: 420px) {
  .board__top .chalk-note:first-child { max-width: 60%; line-height: 1.2; }
  .final__ctas .btn { width: 100%; }
  .foot { grid-template-columns: 1fr; }
  .enc__cta .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
