/* Apolonio Gourmet · Paysandú
   Concepto: la comanda. Una cocina que manda todo a la vitrina y al delivery; la web
   funciona igual: el hero es la comanda de la casa y el momento firma es tu comanda.
   Paleta del local y sus posteos: espresso, marrón, arena dorada y papel de ticket.
   Regla: arena = acción e insistencia; papel solo para tickets y para la sección locales.
   Tipos: Jost (línea fina como el cartel) + Courier Prime (impresora de comandas). */

:root {
  --esp: #1A1310;
  --esp2: #221915;
  --brown: #6B4029;
  --sand: #E3C27F;
  --sand2: #C9A35C;
  --paper: #F6F1E7;
  --ink: #1B1512;
  --car: #8A5632;
  --mute: #BBAE9F;
  --line: rgba(246, 241, 231, .16);
  --fd: "Jost", "Futura", system-ui, sans-serif;
  --fm: "Courier Prime", "Courier New", ui-monospace, monospace;
  --gut: clamp(16px, 4vw, 64px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; overflow-x: clip; background: var(--esp); color: var(--paper); font: 400 1.0625rem/1.6 var(--fd); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, ul, ol, dl, dd, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
em { font-style: italic; color: var(--sand); }
b { font-weight: 600; }
::selection { background: var(--sand); color: var(--ink); }
:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 200; background: var(--sand); color: var(--ink); padding: 10px 16px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.ico { width: 18px; height: 18px; fill: currentColor; flex: none; }

.mono { font: 400 .82rem/1.45 var(--fm); letter-spacing: .04em; text-transform: uppercase; }
.kicker { font: 700 .8rem/1 var(--fm); letter-spacing: .16em; text-transform: uppercase; color: var(--sand); }
.kicker--ink { color: var(--car); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 22px;
  font: 500 .95rem/1 var(--fd); letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  border: 1.5px solid transparent; border-radius: 999px;
  transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--sand { background: var(--sand); color: var(--ink); }
.btn--sand:hover { background: var(--paper); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--car); }
.btn--line { border-color: rgba(246, 241, 231, .5); color: var(--paper); }
.btn--line:hover { border-color: var(--sand); color: var(--sand); }
.btn--line-ink { border-color: var(--ink); color: var(--ink); }
.btn--line-ink:hover { background: var(--ink); color: var(--paper); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: .82rem; }
.btn--lg { min-height: 58px; padding: 0 28px; }
.btn--block { width: 100%; }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 28px; padding: 14px var(--gut); transition: background-color .3s; }
.nav.is-solid { background: rgba(26, 19, 16, .9); backdrop-filter: blur(10px); }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; text-decoration: none; }
.brand img { border-radius: 50%; }
.brand__name { font: 300 1.2rem/1 var(--fd); letter-spacing: .32em; text-transform: uppercase; }
.nav__links { display: flex; gap: 28px; }
.nav__links a { font: 400 .78rem/1 var(--fm); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; padding: 8px 0; border-bottom: 1px solid transparent; }
.nav__links a:hover { border-color: var(--sand); }

/* ---------- Ticket (objeto) ---------- */
.ticket { position: relative; background: var(--paper); color: var(--ink); filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45)); }
.ticket::before, .ticket::after {
  content: ""; position: absolute; left: 0; right: 0; height: 12px;
  background: radial-gradient(circle at 10px 0, transparent 6px, var(--paper) 6.5px) 0 0 / 20px 12px repeat-x;
}
.ticket::before { top: -12px; }
.ticket::after { bottom: -12px; transform: scaleY(-1); }
.ticket__in { padding: 30px clamp(20px, 3vw, 34px) 26px; }
.ticket .mono { color: #4c4038; }
.ticket__head { text-align: center; display: grid; gap: 2px; justify-items: center; padding-bottom: 16px; }
.ticket__leaf { width: 34px; height: 27px; fill: var(--ink); margin-bottom: 6px; }
.ticket__brand { font: 300 1.9rem/1 var(--fd); letter-spacing: .34em; text-transform: uppercase; padding-left: .34em; margin-bottom: 6px; }
.ticket__row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-block: 1.5px dashed rgba(27, 21, 18, .35); }
.ticket__lines { margin: 18px 0; display: grid; gap: 8px; }
.ticket__lines li { display: flex; align-items: baseline; gap: 8px; }
.ticket__lines i { flex: 1; border-bottom: 1.5px dotted rgba(27, 21, 18, .4); transform: translateY(-4px); min-width: 12px; }
.ticket__lines li > span:last-child { text-transform: none; }
.ticket__total { padding-top: 10px; margin-top: 4px; border-top: 1.5px dashed rgba(27, 21, 18, .35); font-weight: 700; }
.ticket__foot { text-align: center; margin-top: 16px; font-size: .74rem; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; padding: 108px var(--gut) 72px; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(60% 50% at 50% 40%, #3a281e 0%, var(--esp) 70%); }
.hero__ghost {
  position: absolute; left: 0; right: 0; top: 50%; margin-top: -.5em; text-align: center; white-space: nowrap;
  font: 200 19vw/1 var(--fd); letter-spacing: .06em; color: rgba(227, 194, 127, .09); pointer-events: none; user-select: none;
}
.hero__ticket { width: min(470px, 100%); transform: rotate(-1.6deg); z-index: 2; }
.hero__t { font: 300 clamp(2.2rem, 3.3vw, 3rem)/1.02 var(--fd); letter-spacing: -.01em; margin: 20px 0 6px; text-wrap: balance; }
.hero__cta { display: grid; gap: 10px; margin-top: 22px; }

.snap { position: absolute; z-index: 1; background: var(--paper); padding: 8px 8px 26px; box-shadow: 0 24px 40px -14px rgba(0, 0, 0, .6); }
.snap img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.snap--a { width: clamp(150px, 15vw, 240px); left: 7%; top: 17%; rotate: -8deg; }
.snap--b { width: clamp(170px, 17vw, 270px); left: 13%; bottom: 9%; rotate: 5deg; }
.snap--c { width: clamp(140px, 14vw, 220px); right: 8%; top: 14%; rotate: 7deg; }
.snap--c img { aspect-ratio: 4 / 5; }
.snap--d { width: clamp(110px, 10vw, 160px); right: 27%; top: 52%; rotate: -6deg; }
.snap--d img { aspect-ratio: 3 / 4; }
.snap--e { width: clamp(160px, 16vw, 250px); right: 6%; bottom: 8%; rotate: -4deg; }

/* ---------- Apo no es Apo sin ---------- */
.sin { background: var(--brown); padding: clamp(80px, 10vw, 150px) var(--gut); }
.sin__wrap { max-width: 1360px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 100px); }
.sin__stick { position: sticky; top: 110px; align-self: start; }
.sin__t { margin-top: 18px; font: 200 clamp(3rem, 6.6vw, 6.6rem)/.98 var(--fd); letter-spacing: -.02em; }
.sin__list { display: grid; gap: clamp(64px, 12vh, 140px); }
.sin__item figure { overflow: hidden; border-radius: 4px; }
.sin__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.sin__item .pos-low { aspect-ratio: 4 / 3; }
.sin__item .pos-low img { height: 100%; object-position: 60% 100%; scale: 1.45; transform-origin: 60% 100%; }
.sin__now, .sin__idx { display: none; }
.sin--live .sin__now { display: block; margin-top: 32px; min-height: 3.4em; font: 300 clamp(1.8rem, 2.8vw, 2.9rem)/1.12 var(--fd); max-width: 16ch; }
.sin--live .sin__idx { display: block; margin-top: 28px; color: var(--sand); }
.sin--live .sin__item p { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sin__item p { margin-top: 22px; font: 300 clamp(1.6rem, 2.6vw, 2.5rem)/1.12 var(--fd); max-width: 22ch; }

/* ---------- Cartel ---------- */
.neon { background: #0E0A08; padding: clamp(72px, 9vw, 140px) var(--gut); }
.neon__sign { max-width: 1100px; margin: 0 auto; }
.neon__sign img { width: 100%; height: auto; }
.neon__body { max-width: 1100px; margin: clamp(48px, 6vw, 88px) auto 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px clamp(32px, 5vw, 80px); align-items: start; }
.neon__t { font: 200 clamp(2.2rem, 4.2vw, 4rem)/1.02 var(--fd); grid-row: span 2; }
.neon__p { color: var(--mute); font-size: 1.1rem; }
.neon__facts { display: grid; gap: 0; border-top: 1px solid var(--line); }
.neon__facts div { display: flex; align-items: baseline; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.neon__facts dt { font: 700 1.3rem/1 var(--fm); color: var(--sand); min-width: 3.2em; }
.neon__facts dd { font: 400 .95rem/1.3 var(--fm); text-transform: uppercase; letter-spacing: .04em; color: var(--paper); }

/* ---------- Vitrina / comanda ---------- */
.vit { background: var(--esp2); padding: clamp(80px, 10vw, 150px) var(--gut); }
.vit__head { max-width: 1360px; margin: 0 auto; }
.vit__head .kicker--ink { color: var(--sand); }
.vit__t { margin-top: 18px; font: 200 clamp(2.6rem, 5.6vw, 5.6rem)/1 var(--fd); letter-spacing: -.02em; }
.vit__intro { margin-top: 24px; max-width: 60ch; color: var(--mute); font-size: 1.1rem; }
.vit__intro b { color: var(--sand); }
.vit__grid { max-width: 1360px; margin: clamp(48px, 6vw, 80px) auto 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 400px); gap: clamp(28px, 4vw, 64px); align-items: start; }

.shelf { position: relative; padding-bottom: 34px; margin-bottom: 40px; }
.shelf::after { /* el vidrio del estante */
  content: ""; position: absolute; left: -12px; right: -12px; bottom: 0; height: 10px; border-radius: 2px;
  background: linear-gradient(180deg, rgba(246, 241, 231, .5), rgba(246, 241, 231, .06) 40%, rgba(227, 194, 127, .2));
  box-shadow: 0 18px 30px -8px rgba(227, 194, 127, .25);
}
.shelf__t { font: 700 .82rem/1 var(--fm); letter-spacing: .16em; text-transform: uppercase; color: var(--sand); margin-bottom: 18px; }
.items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.item { position: relative; display: flex; flex-direction: column; background: rgba(246, 241, 231, .05); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; transition: border-color .25s, background-color .25s; }
.item.is-on { border-color: var(--sand); background: rgba(227, 194, 127, .1); }
.item__ph { aspect-ratio: 4 / 3; overflow: hidden; background: #2e231d; }
.item__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.item:hover .item__ph img { transform: scale(1.06); }
.item__ph--type { display: grid; place-items: center; background: linear-gradient(135deg, #3b2a20, #2a1e18); }
.item__ph--type span { font: italic 300 clamp(1.5rem, 2.4vw, 2.2rem)/1 var(--fd); color: var(--sand); }
.item__b { padding: 14px 14px 12px; flex: 1; }
.item__n { font: 500 1.05rem/1.2 var(--fd); letter-spacing: .02em; }
.item__d { margin-top: 4px; font-size: .9rem; line-height: 1.4; color: var(--mute); }
.qty { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 0 10px 12px 14px; }
.qty__n { font: 700 1rem/1 var(--fm); color: var(--sand); min-width: 2ch; text-align: center; }
.qty button { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); background: transparent; color: var(--paper); font: 400 1.3rem/1 var(--fd); cursor: pointer; display: grid; place-items: center; transition: background-color .2s, color .2s, border-color .2s; }
.qty button:hover { border-color: var(--sand); }
.qty .qty__add { background: var(--sand); color: var(--ink); border-color: var(--sand); }
.qty .qty__add:hover { background: var(--paper); border-color: var(--paper); }
.qty button:disabled { opacity: .3; cursor: default; }
.qty__lbl { font: 400 .75rem/1 var(--fm); color: var(--mute); text-transform: uppercase; letter-spacing: .06em; margin-right: auto; }

.order { position: sticky; top: 96px; }
.order__ticket { transform: rotate(.8deg); }
.order__list { margin: 14px 0; display: grid; gap: 8px; min-height: 64px; }
.order__list li { display: flex; align-items: baseline; gap: 10px; text-transform: none; }
.order__list li b { font-weight: 700; min-width: 2.4ch; }
.order__list li span { flex: 1; }
.order__list button { border: 0; background: none; color: var(--car); font: 700 .9rem/1 var(--fm); cursor: pointer; padding: 4px 6px; }
.order__empty { color: #6d6158; font-style: italic; }
.order__count { margin-bottom: 18px; }
.order__form { display: grid; gap: 16px; margin-bottom: 20px; }
.order__form legend { margin-bottom: 8px; padding: 0; font-weight: 700; }
.opt { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; font: 400 .95rem/1.3 var(--fm); }
.opt input { appearance: none; width: 18px; height: 18px; border: 1.5px solid var(--ink); margin: 0; flex: none; display: grid; place-items: center; cursor: pointer; }
.opt input::after { content: ""; width: 10px; height: 10px; background: var(--ink); transform: scale(0); transition: transform .15s; }
.opt input:checked::after { transform: scale(1); }
.opt input:focus-visible { outline: 2px solid var(--car); outline-offset: 2px; }
.opts-row { display: flex; gap: 18px; flex-wrap: wrap; }
.field { display: grid; gap: 4px; }
.field input { border: 0; border-bottom: 1.5px solid rgba(27, 21, 18, .5); background: transparent; padding: 8px 0; font: 400 1rem/1.3 var(--fm); color: var(--ink); border-radius: 0; }
.field input:focus { outline: none; border-color: var(--car); }
.field input::placeholder { color: #8b7e73; }
.field.is-off { display: none; }

/* ---------- Encargos ---------- */
.enc { background: var(--sand); color: var(--ink); padding: clamp(80px, 10vw, 150px) var(--gut); }
.enc__t { max-width: 1360px; margin: 0 auto; font: 200 clamp(2.8rem, 6.4vw, 6.4rem)/.98 var(--fd); letter-spacing: -.02em; }
.enc__t em { color: var(--brown); }
.enc__grid { max-width: 1360px; margin: clamp(48px, 6vw, 80px) auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
.gift { background: var(--esp); color: var(--paper); border-radius: 6px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.gift--alt { margin-top: clamp(0px, 8vw, 120px); }
.gift__ph img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.gift__b { padding: clamp(24px, 3vw, 40px); display: grid; gap: 14px; align-content: start; }
.gift h3 { font: 300 clamp(1.6rem, 2.4vw, 2.3rem)/1.1 var(--fd); }
.gift p:not(.kicker) { color: var(--mute); }
.gift .btn { justify-self: start; margin-top: 8px; }

/* ---------- Locales ---------- */
.loc { background: var(--paper); color: var(--ink); padding: clamp(80px, 10vw, 150px) var(--gut); }
.loc__head { max-width: 1360px; margin: 0 auto; }
.loc__t { margin-top: 18px; font: 200 clamp(2.4rem, 5vw, 5rem)/1 var(--fd); letter-spacing: -.02em; max-width: 16ch; }
.loc__grid { max-width: 1360px; margin: clamp(40px, 5vw, 72px) auto 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 4vw, 64px); }
.stores { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-content: start; }
.store { border: 1.5px solid var(--ink); padding: 22px; display: grid; gap: 6px; align-content: start; }
.store .mono { color: var(--car); font-weight: 700; }
.store h3 { font: 400 clamp(1.6rem, 2.4vw, 2.2rem)/1.05 var(--fd); }
.store p:not(.mono) { color: #4c4038; font-size: .98rem; }
.arrow { margin-top: 10px; display: inline-flex; align-items: center; gap: 8px; font: 700 .85rem/1 var(--fm); text-transform: uppercase; letter-spacing: .06em; text-decoration: none; color: var(--car); }
.arrow:hover { color: var(--ink); }
.hours { grid-column: 1 / -1; border-top: 1.5px dashed rgba(27, 21, 18, .35); }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1.5px dashed rgba(27, 21, 18, .35); }
.hours dt { color: #4c4038; }
.hours dd { font-weight: 500; }
.note { grid-column: 1 / -1; font-size: .88rem; color: #5a4e45; }
.loc__map { min-height: 440px; border: 1.5px solid var(--ink); }
.loc__map iframe { width: 100%; height: 100%; min-height: 440px; border: 0; display: block; filter: sepia(.35) saturate(.8); }

/* ---------- Cierre ---------- */
.fin { padding: clamp(96px, 12vw, 180px) var(--gut); text-align: center; background: radial-gradient(60% 60% at 50% 100%, #3a281e, var(--esp) 70%); }
.fin__t { font: 200 clamp(3rem, 10vw, 10rem)/.95 var(--fd); letter-spacing: -.03em; }
.fin__p { margin: 24px auto 0; max-width: 44ch; color: var(--mute); font-size: 1.15rem; }
.fin__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 36px; }

.foot { border-top: 1px solid var(--line); padding: 36px var(--gut) 110px; display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; }
.foot img { border-radius: 50%; }
.foot__cols { display: flex; gap: 40px; flex-wrap: wrap; color: var(--mute); font-size: .95rem; margin-right: auto; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--sand); }
.foot__demo { color: var(--mute); }

/* ---------- Dock ---------- */
.dock { position: fixed; z-index: 60; right: 20px; bottom: 20px; display: flex; gap: 8px; transition: transform .4s var(--ease), opacity .4s; }
.dock a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 20px; border-radius: 999px; text-decoration: none; font: 500 .9rem/1 var(--fd); letter-spacing: .05em; text-transform: uppercase; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .6); }
.dock__wa { background: var(--sand); color: var(--ink); }
.dock__order { background: var(--paper); color: var(--ink); }
.dock__order span { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px; background: var(--ink); color: var(--paper); font: 700 .8rem/1 var(--fm); }
.js .dock:not(.is-on) { transform: translateY(140%); opacity: 0; pointer-events: none; }

/* ---------- Reveals ---------- */
.js .rv { opacity: 0; transform: translateY(40px); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .snap--d { display: none; }
}
@media (max-width: 900px) {
  .nav__links { display: none; }
  .sin__wrap, .neon__body, .vit__grid, .loc__grid, .enc__grid { grid-template-columns: minmax(0, 1fr); }
  .sin__stick { top: 64px; z-index: 2; background: var(--brown); padding: 14px 0 16px; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); }
  .sin__t { font-size: clamp(2.2rem, 9vw, 3.4rem); margin-top: 8px; }
  .neon__t { grid-row: auto; }
  .order { position: relative; top: 0; }
  .gift--alt { margin-top: 0; }
}
@media (max-width: 640px) {
  .nav .btn { display: none; }
  .hero { padding: 84px 16px 56px; align-items: start; }
  .hero__ghost { display: none; }
  .hero__ticket { transform: rotate(-1deg); margin-top: 64px; }
  .snap { padding: 5px 5px 16px; }
  .snap--a { width: 118px; left: -10px; top: 70px; }
  .snap--c { width: 108px; right: -8px; top: 64px; }
  .snap--b, .snap--e { display: none; }
  .items { gap: 10px; }
  .item__b { padding: 10px 10px 8px; }
  .item__n { font-size: .98rem; }
  .item__d { display: none; }
  .qty { padding: 0 8px 10px 10px; }
  .qty__lbl { display: none; }
  .qty button { width: 38px; height: 38px; }
  .stores { grid-template-columns: 1fr; }
  .loc__map, .loc__map iframe { min-height: 320px; }
  .fin__cta .btn { width: 100%; }
  .dock { left: 12px; right: 12px; bottom: 12px; }
  .dock__wa { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
