/* ==========================================================================
   Cevichería El Hermano
   Marca: marlín azul, verde limón de las paredes, verde bosque de la portada,
   azul marino del rotulado. Una familia tipográfica: Archivo (ancha y negra
   para los titulares, normal para el texto).
   ========================================================================== */

:root {
  --paper: #f2f5ea;
  --paper-2: #e4ead6;
  --paper-3: #d7dfc5;
  --white: #fbfcf7;
  --ink: #0b1f4d;
  --ink-soft: #44506b;
  --lime: #88b53e;
  --lime-hi: #9cc952;
  --forest: #1c4e2b;
  --forest-2: #245c35;
  --cobalt: #1b6cb8;
  --night: #071433;

  --m: clamp(16px, 2.4vw, 32px);
  --col: calc((100vw - 2 * var(--m)) / 12);

  --f: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --t-s: 14px;
  --t-m: clamp(16px, 1.15vw, 18px);
  --t-l: clamp(26px, 2.7vw, 40px);
  --t-xl: clamp(48px, 6.6vw, 104px);

  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --r-field: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f);
  font-size: var(--t-m);
  line-height: 1.5;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, figure, ol, ul, dl, dd, fieldset { margin: 0; padding: 0; }
fieldset { border: 0; min-width: 0; }
ol, ul { list-style: none; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 4px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: var(--m); top: -60px; z-index: 200; background: var(--lime); padding: 10px 16px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { padding-left: var(--m); padding-right: var(--m); }

/* Display: ancha, negra, en mayúsculas — como el rotulado de sus posts */
.disp, .hero__title, .intro__title, .recipe__title, .show__title, .menu__word, .causa__title,
.book__title, .foot__word, .band, .loader__count, .show__label, .recipe__reveal-name {
  font-family: var(--f);
  font-weight: 900;
  font-stretch: 112%;
  text-transform: uppercase;
  letter-spacing: -0.035em;
  line-height: .88;
}

/* el tracking se resuelve en cada línea (así el ajuste al ancho escala parejo) */
.hero__l1, .hero__l2, .causa__title span, .foot__word span, .menu__word span { letter-spacing: -0.035em; }

/* ---------- Marlín (logo como máscara, toma el color del texto) ---------- */
.marlin {
  display: inline-block;
  width: 44px;
  aspect-ratio: 894 / 750;
  background: currentColor;
  -webkit-mask: url(../assets/img/marlin-mask.png) center / contain no-repeat;
          mask: url(../assets/img/marlin-mask.png) center / contain no-repeat;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px;
  border: 0; border-radius: 999px;
  font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: transform .35s var(--ease), background-color .25s, color .25s;
}
.btn:active { transform: scale(.96); }
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime:hover { background: var(--lime-hi); transform: translateY(-2px); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--cobalt); }
.btn--lg { min-height: 58px; padding: 0 30px; font-size: 18px; }
.link-arrow { font-weight: 700; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.link-arrow::after { content: '→'; transition: transform .35s var(--ease); }
.link-arrow:hover::after { transform: translateX(6px); }

.wa-ico {
  width: 22px; height: 22px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.6a9.4 9.4 0 0 0-8.1 14.2L2.6 21.4l4.7-1.2A9.4 9.4 0 1 0 12 2.6z' fill='none' stroke='%23000' stroke-width='1.9' stroke-linejoin='round'/%3E%3Cpath d='M8.9 7.4c.25-.5.5-.52.78-.53h.6c.2 0 .45.05.66.52l.84 2c.1.25.06.5-.08.7l-.55.68c-.16.2-.18.4-.06.6a7.2 7.2 0 0 0 2.6 2.55c.2.12.42.1.58-.08l.72-.85c.2-.22.42-.26.66-.16l1.94.92c.36.17.46.36.42.62-.06.86-.62 1.66-1.5 1.92-.86.26-2.2.12-4.1-1.04-1.9-1.16-3.26-2.98-3.72-4.22-.46-1.24-.26-2.3.2-3.13z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.6a9.4 9.4 0 0 0-8.1 14.2L2.6 21.4l4.7-1.2A9.4 9.4 0 1 0 12 2.6z' fill='none' stroke='%23000' stroke-width='1.9' stroke-linejoin='round'/%3E%3Cpath d='M8.9 7.4c.25-.5.5-.52.78-.53h.6c.2 0 .45.05.66.52l.84 2c.1.25.06.5-.08.7l-.55.68c-.16.2-.18.4-.06.6a7.2 7.2 0 0 0 2.6 2.55c.2.12.42.1.58-.08l.72-.85c.2-.22.42-.26.66-.16l1.94.92c.36.17.46.36.42.62-.06.86-.62 1.66-1.5 1.92-.86.26-2.2.12-4.1-1.04-1.9-1.16-3.26-2.98-3.72-4.22-.46-1.24-.26-2.3.2-3.13z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--paper-3); display: inline-block; flex: none; }
.dot.is-open { background: var(--lime); animation: pulse 2.2s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.35); } 100% { transform: scale(1); } }

/* ---------- Preloader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 300;
  background: var(--lime); color: var(--ink);
  display: grid; place-items: center;
}
.loader__marlin { width: min(34vw, 260px); aspect-ratio: 894/750; background: var(--ink);
  -webkit-mask: url(../assets/img/marlin-mask.png) center / contain no-repeat; mask: url(../assets/img/marlin-mask.png) center / contain no-repeat; }
html:not(.js) .loader, .no-motion .loader { display: none; }

/* ---------- Cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 250; pointer-events: none; width: 14px; height: 14px; margin: -7px 0 0 -7px;
  border-radius: 50%; background: var(--lime); display: none; place-items: center;
  transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background-color .3s; }
.has-cursor .cursor { display: grid; }
.cursor__label { font-size: 14px; font-weight: 800; color: var(--ink); opacity: 0; transition: opacity .2s; }
.cursor.is-big { width: 92px; height: 92px; margin: -46px 0 0 -46px; }
.cursor.is-big .cursor__label { opacity: 1; }
.cursor.is-link { width: 40px; height: 40px; margin: -20px 0 0 -20px; background: rgba(136, 181, 62, .45); }

/* ---------- Navegación ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; gap: 28px;
  padding: 14px var(--m);
  color: var(--white);
  transition: background-color .4s, color .4s, transform .5s var(--ease);
}
.nav.is-solid { background: var(--paper); color: var(--ink); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.nav__brand .marlin { width: 46px; }
.nav__word { font-weight: 900; font-stretch: 112%; text-transform: uppercase; letter-spacing: -.02em; font-size: 19px; }
.nav__links { display: flex; gap: 26px; }
.nav__links a { text-decoration: none; font-weight: 600; font-size: 15px; position: relative; }
.nav__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__status { font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.nav__status .dot { width: 8px; height: 8px; }
.nav__cta { min-height: 42px; padding: 0 20px; font-size: 15px; }
.nav__burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--lime); cursor: pointer; position: relative; }
.nav__burger span:not(.sr-only) { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--ink); transition: transform .4s var(--ease); }
.nav__burger span:nth-child(1) { top: 19px; }
.nav__burger span:nth-child(2) { top: 26px; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu { position: fixed; inset: 0; z-index: 90; background: var(--lime); color: var(--ink); padding: 96px var(--m) var(--m); display: flex; flex-direction: column; justify-content: space-between; }
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu nav a { font-weight: 900; font-stretch: 112%; text-transform: uppercase; letter-spacing: -.03em; font-size: clamp(40px, 12vw, 72px); line-height: 1; text-decoration: none; }
.mobile-menu__foot { font-weight: 600; }

/* ---------- 1 · Hero ---------- */
.hero { position: relative; height: 100svh; min-height: 620px; color: var(--white); overflow: hidden; background: var(--night); }
.hero__media { position: absolute; inset: 0; }
.hero__img, .hero__gl { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__img { transform: scale(1.06); }
.hero__gl { opacity: 0; transition: opacity .8s; }
.hero__gl.is-ready { opacity: 1; }
.hero__scrim { position: absolute; inset: 0; background: /* taste-skill-ignore: scrim neutro bajo texto sobre foto */
  linear-gradient(90deg, rgba(4, 12, 32, .5) 0%, rgba(4, 12, 32, .28) 45%, rgba(4, 12, 32, 0) 75%),
  linear-gradient(180deg, rgba(4, 12, 32, .55) 0%, rgba(4, 12, 32, .12) 30%, rgba(4, 12, 32, .2) 60%, rgba(4, 12, 32, .72) 100%); }
.hero__title { position: absolute; inset: 0; pointer-events: none; font-size: var(--hero-size, 17vw); }
.mask { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title .mask { position: absolute; font-size: 1em; }
.hero__l1wrap { left: var(--m); top: 84px; }
.hero__l2wrap { right: var(--m); bottom: 10px; }
.hero__l1, .hero__l2 { display: block; }
.hero__l1 { color: var(--lime); }
.hero__mid { position: absolute; left: calc(var(--m) + 3 * var(--col)); top: 40%; max-width: 46ch; display: grid; gap: 22px; }
.hero__lede { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.42; font-weight: 500; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.hero__live { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; }

/* ---------- 2 · Intro ---------- */
.intro { position: relative; padding-top: clamp(120px, 15vh, 200px); background: var(--paper); }
.intro__title { font-size: var(--t-xl); }
.intro__caps { display: grid; grid-template-columns: repeat(3, minmax(0, 300px)); gap: 48px; margin-top: 32px; font-size: 16px; line-height: 1.45; font-weight: 500; }
.intro__pano { margin-top: 44px; height: 78svh; overflow: hidden; }
.intro__pano img { width: 100%; height: 118%; object-fit: cover; }

/* ---------- 3 · Receta (scroll 3D) ---------- */
.recipe { position: relative; height: 560svh; background: var(--forest); color: var(--white); margin-top: clamp(120px, 14vw, 200px); }
.recipe__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.recipe__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.recipe__fallback { position: absolute; inset: 0; display: none; }
.recipe__fallback img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.no-webgl .recipe__fallback { display: block; }
.recipe__ui { position: absolute; inset: 0; display: grid; grid-template-columns: 5fr 7fr; grid-template-rows: auto 1fr auto; padding-top: 104px; padding-bottom: 40px; pointer-events: none; }
.recipe__title { grid-column: 1; font-size: clamp(44px, 5.2vw, 84px); color: var(--lime); }
.recipe__steps { grid-column: 1; grid-row: 3; display: grid; gap: 14px; max-width: 34ch; }
.recipe__steps li { opacity: .32; transition: opacity .5s, transform .6s var(--ease); transform: translateX(0); }
.recipe__steps li.is-on { opacity: 1; transform: translateX(10px); }
.recipe__steps strong { display: block; font-size: clamp(20px, 1.8vw, 26px); font-weight: 800; letter-spacing: -.01em; line-height: 1.15; }
.recipe__steps span { display: block; font-size: 16px; line-height: 1.45; max-height: 0; overflow: hidden; transition: max-height .6s var(--ease); }
.recipe__steps li.is-on span { max-height: 5em; }
.recipe__meter { position: absolute; right: var(--m); top: 50%; width: 4px; height: 34vh; transform: translateY(-50%); background: var(--forest-2); border-radius: 4px; overflow: hidden; }
.recipe__meter span { position: absolute; inset: 0; background: var(--lime); transform-origin: top; transform: scaleY(0); }
.recipe__reveal { position: absolute; inset: 0; clip-path: circle(0% at 62% 58%); background: var(--forest); }
.recipe__reveal img { width: 100%; height: 100%; object-fit: cover; }
.recipe__reveal figcaption { position: absolute; left: var(--m); right: var(--m); bottom: 40px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.recipe__reveal-name { font-size: clamp(48px, 8vw, 132px); color: var(--white); }
.recipe__reveal::before { content: ''; position: absolute; inset: 0; background: /* taste-skill-ignore: scrim neutro */ linear-gradient(0deg, rgba(4, 12, 32, .7), rgba(4, 12, 32, 0) 45%); z-index: 1; }
.recipe__reveal figcaption { z-index: 2; }

/* ---------- 4 · Los de la casa ---------- */
.show { padding-top: clamp(120px, 14vw, 200px); }
.show__title { font-size: var(--t-xl); padding-left: calc(var(--m) + 2 * var(--col)); margin-bottom: 56px; }
.show__band { display: flex; height: 70svh; min-height: 440px; }
.show__panel { position: relative; flex: var(--g) 1 0; min-width: 0; overflow: hidden; display: block; transition: flex-grow .6s var(--ease); }
.show__band:hover .show__panel:hover { flex-grow: 6; }
.show__panel img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.show__panel:hover img { transform: scale(1.05); }
.show__panel::before { content: ''; position: absolute; inset: 0; z-index: 1; background: /* taste-skill-ignore: scrim neutro */ linear-gradient(160deg, rgba(4, 12, 32, .62), rgba(4, 12, 32, 0) 42%); }
.show__label { position: absolute; left: 24px; top: 24px; z-index: 2; color: var(--white); font-size: clamp(18px, 1.8vw, 28px); }
.show__cap { margin-top: 20px; max-width: 70ch; color: var(--ink); }
.show__panel:last-child .show__label { left: 20px; }

/* ---------- Banda ---------- */
.band { margin-top: clamp(120px, 14vw, 200px); background: var(--lime); color: var(--ink); overflow: hidden; padding: 22px 0 14px; font-size: clamp(44px, 7vw, 112px); white-space: nowrap; }
.band__track { display: inline-flex; will-change: transform; }
.band__track span { padding-right: .3em; }

/* ---------- 5 · Carta ---------- */
.menu { display: grid; grid-template-columns: 5fr 7fr; gap: calc(var(--col) * .6 + 24px); padding-top: clamp(120px, 14vw, 200px); align-items: start; }
.menu__aside { position: sticky; top: 90px; min-width: 0; }
.menu__word { font-size: var(--carta-size, 10vw); line-height: .8; color: var(--ink); white-space: nowrap; }
.menu__photo { margin-top: 24px; aspect-ratio: 4 / 5; max-height: 56svh; overflow: hidden; background: var(--paper-2); }
.menu__photo img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s, transform .9s var(--ease); }
.menu__photo img.is-swapping { opacity: 0; transform: scale(1.04); }
.menu__note { margin-top: 14px; font-size: 14px; color: var(--ink-soft); }
.menu__list { display: grid; gap: 8px; padding-top: 6px; }
.cat { background: var(--paper-2); border-radius: var(--r-field); transition: background-color .3s; }
.cat[open] { background: var(--white); }
.cat summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; min-height: 66px; padding: 0 22px; font-weight: 800; font-size: clamp(18px, 1.5vw, 22px); letter-spacing: -.01em; }
.cat summary::-webkit-details-marker { display: none; }
.cat summary small { font-weight: 600; font-size: 14px; color: var(--ink-soft); margin-left: auto; }
.cat summary i { width: 28px; height: 28px; border-radius: 50%; background: var(--lime); position: relative; flex: none; transition: transform .5s var(--ease); }
.cat summary i::before, .cat summary i::after { content: ''; position: absolute; left: 8px; right: 8px; top: 13px; height: 2px; background: var(--ink); }
.cat summary i::after { transform: rotate(90deg); transition: transform .5s var(--ease); }
.cat[open] summary i::after { transform: rotate(0); }
.cat summary:hover i { transform: rotate(90deg); }
.cat__items { padding: 4px 22px 20px; display: grid; gap: 6px; }
.dish { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 4px 18px; padding: 12px 0; }
.dish__name { font-weight: 700; font-size: 17px; }
.dish__desc { grid-column: 1; font-size: 15px; color: var(--ink-soft); line-height: 1.4; }
.dish__price { grid-row: 1 / span 2; grid-column: 2; font-weight: 800; font-variant-numeric: tabular-nums; font-size: 17px; white-space: nowrap; }
.dish__add { grid-row: 1 / span 2; grid-column: 3; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 0; cursor: pointer; background: var(--ink); color: var(--paper); font-weight: 700; font-size: 14px; white-space: nowrap; transition: background-color .25s, transform .3s var(--ease); }
.dish__add:hover { background: var(--cobalt); }
.dish__add:active { transform: scale(.94); }
.dish__add.in-cart { background: var(--lime); color: var(--ink); }

/* ---------- 6 · ¡Uno para tu causa! ---------- */
.causa { position: relative; margin-top: clamp(120px, 14vw, 200px); height: 100svh; min-height: 640px; background: var(--lime); overflow: hidden; display: grid; place-items: center; }
.causa__title { display: grid; justify-items: center; text-align: center; color: var(--ink); font-size: var(--causa-size, 12.5vw); line-height: .86; position: relative; z-index: 1; }
.causa__title span { display: block; white-space: nowrap; }
.print { position: absolute; z-index: 2; background: var(--white); padding: 8px; transition: transform .35s var(--ease); cursor: pointer; }
.print img { width: 100%; height: 100%; object-fit: cover; }
.print--a { width: 25vw; aspect-ratio: 3/4; left: 27vw; top: 17%; --r: -8deg; transform: rotate(var(--r)); }
.print--b { width: 25vw; aspect-ratio: 3/4; left: 46vw; top: 25%; --r: 6deg; transform: rotate(var(--r)); }
.print--c { width: 15vw; aspect-ratio: 3/4; right: 5vw; bottom: -6%; --r: -4deg; transform: rotate(var(--r)); }
.print:hover, .print.is-front { z-index: 5; transform: rotate(0) scale(1.03) !important; }
.causa__line { position: absolute; left: var(--m); bottom: 24px; z-index: 3; font-size: 17px; font-weight: 600; max-width: 40ch; }

/* ---------- 7 · Reservas ---------- */
.book { display: grid; grid-template-columns: 7fr 5fr; column-gap: calc(var(--col) + 24px); row-gap: 48px; padding-top: clamp(120px, 14vw, 200px); padding-bottom: clamp(120px, 14vw, 200px); align-items: start; }
.book__head { grid-column: 1 / -1; display: grid; grid-template-columns: 7fr 5fr; gap: inherit; align-items: end; column-gap: calc(var(--col) + 24px); }
.book__title { font-size: var(--t-xl); }
.book__lede { max-width: 42ch; padding-bottom: 6px; }
.book__form { display: grid; gap: 34px; }
.field legend, .input > span { font-weight: 800; font-size: 16px; margin-bottom: 12px; display: block; }
.input small { font-weight: 500; color: var(--ink-soft); }
.field__hint { font-size: 14px; color: var(--ink-soft); margin-top: 10px; min-height: 1.4em; }
.field--row { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 24px; }
.field--row legend { grid-column: 1 / -1; }
.field--row .field__hint { margin: 0; }
.field--two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.day { min-width: 0; height: 84px; border: 0; border-radius: var(--r-field); background: var(--paper-2); cursor: pointer; display: grid; place-content: center; gap: 2px; text-align: center; scroll-snap-align: start; transition: background-color .25s, color .25s, transform .3s var(--ease); }
.day small { font-size: 13px; font-weight: 600; text-transform: capitalize; }
.day b { font-size: 28px; font-weight: 900; font-stretch: 112%; line-height: 1; }
.day:hover { background: var(--paper-3); }
.day[aria-checked="true"] { background: var(--ink); color: var(--paper); }
.day:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.days__other { display: inline-flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.days__other input { border: 0; background: var(--paper-2); border-radius: 999px; padding: 8px 14px; font-size: 14px; }

.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.slot { min-height: 46px; border: 0; border-radius: 999px; background: var(--paper-2); font-weight: 700; font-variant-numeric: tabular-nums; cursor: pointer; transition: background-color .25s, transform .3s var(--ease); }
.slot:hover { background: var(--paper-3); }
.slot[aria-checked="true"] { background: var(--lime); }
.slot:disabled { opacity: .3; cursor: not-allowed; }

.stepper { display: inline-flex; align-items: center; background: var(--paper-2); border-radius: 999px; padding: 5px; }
.stepper button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--white); font-size: 22px; font-weight: 700; cursor: pointer; transition: transform .3s var(--ease), background-color .2s; }
.stepper button:hover { background: var(--lime); }
.stepper button:active { transform: scale(.9); }
.stepper output { min-width: 64px; text-align: center; font-weight: 900; font-size: 26px; font-variant-numeric: tabular-nums; }

.chips, .seg { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label, .seg label { position: relative; cursor: pointer; }
.chips input, .seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span, .seg span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--paper-2); font-weight: 700; font-size: 15px; transition: background-color .25s, color .25s; }
.chips input:checked + span, .seg input:checked + span { background: var(--ink); color: var(--paper); }
.chips input:focus-visible + span, .seg input:focus-visible + span { outline: 3px solid var(--lime); outline-offset: 2px; }

.input { display: block; }
.input input, .input textarea, .input select { width: 100%; min-height: 54px; border: 2px solid transparent; border-radius: var(--r-field); background: var(--paper-2); padding: 14px 16px; font-size: 16px; transition: border-color .2s, background-color .2s; }
.input textarea { resize: vertical; min-height: 84px; }
.input input:focus, .input textarea:focus, .input select:focus { outline: none; border-color: var(--ink); background: var(--white); }
.input.is-bad input { border-color: #c2412d; }
.input__err { display: block; font-style: normal; font-size: 14px; color: #a8301e; min-height: 1.3em; margin-top: 6px; font-weight: 600; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--ink); margin-top: 2px; }
.check[hidden] { display: none; }
.book__submit { display: grid; gap: 4px; justify-items: start; }
.btn--wa .wa-ico { width: 24px; height: 24px; }

.ticket { position: sticky; top: 96px; display: grid; gap: 32px; }
.ticket__paper {
  background: var(--white); padding: 30px 30px 46px; transform: rotate(1.4deg);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='12' viewBox='0 0 20 12'%3E%3Cpath d='M0 0h20v2L10 12 0 2z'/%3E%3C/svg%3E") bottom left / 20px 12px repeat-x, linear-gradient(#000, #000) top / 100% calc(100% - 11px) no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='12' viewBox='0 0 20 12'%3E%3Cpath d='M0 0h20v2L10 12 0 2z'/%3E%3C/svg%3E") bottom left / 20px 12px repeat-x, linear-gradient(#000, #000) top / 100% calc(100% - 11px) no-repeat;
  transition: transform .6s var(--ease);
}
.ticket:hover .ticket__paper { transform: rotate(0); }
.ticket__top { display: flex; align-items: center; gap: 14px; }
.ticket__top .marlin { width: 58px; color: var(--cobalt); }
.ticket__brand { font-weight: 900; font-stretch: 112%; text-transform: uppercase; font-size: 22px; line-height: 1; letter-spacing: -.02em; }
.ticket__brand small { font-weight: 600; font-stretch: 100%; text-transform: none; font-size: 14px; letter-spacing: 0; color: var(--ink-soft); }
.ticket__code { margin: 28px 0 18px; font-weight: 900; font-stretch: 112%; font-size: clamp(44px, 4.6vw, 68px); letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.ticket__rows { display: grid; gap: 0; }
.ticket__rows div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; }
.ticket__rows div:nth-child(odd) { background: var(--paper); margin: 0 -12px; padding-left: 12px; padding-right: 12px; }
.ticket__rows dt { color: var(--ink-soft); font-size: 15px; }
.ticket__rows dd { font-weight: 800; text-align: right; }
.ticket__state { margin-top: 20px; font-weight: 700; font-size: 15px; }
.ticket__paper.is-sent .ticket__state { background: var(--lime); padding: 10px 14px; border-radius: 10px; }
.mine__title { font-size: var(--t-l); font-weight: 900; font-stretch: 112%; text-transform: uppercase; letter-spacing: -.03em; line-height: 1; margin-bottom: 14px; }
.mine__list { display: grid; gap: 8px; }
.mine__item { background: var(--paper-2); border-radius: var(--r-field); padding: 16px 18px; display: grid; gap: 10px; }
.mine__item p { font-size: 15px; }
.mine__item b { font-size: 17px; }
.mine__item.is-cancel { opacity: .55; }
.mine__acts { display: flex; flex-wrap: wrap; gap: 8px; }
.mine__acts button, .mine__acts a { min-height: 38px; padding: 0 14px; border-radius: 999px; border: 0; background: var(--white); font-weight: 700; font-size: 14px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; transition: background-color .2s; }
.mine__acts button:hover, .mine__acts a:hover { background: var(--lime); }

/* ---------- 8 · Contacto ---------- */
.contact { position: relative; z-index: 2; min-height: 100svh; background: var(--forest); color: var(--white); display: grid; grid-template-rows: auto 1fr auto; padding: 120px var(--m) 28px; overflow: hidden; }
.contact__marlin { position: absolute; right: 4vw; top: 6vh; width: min(52vw, 72svh * 1.19); color: var(--lime); }
.contact__lede { position: relative; font-size: clamp(22px, 2.2vw, 34px); font-weight: 800; max-width: 30ch; line-height: 1.15; letter-spacing: -.01em; }
.contact__num { position: relative; align-self: end; text-decoration: none; display: block; margin-bottom: 8vh; }
.contact__digits { display: block; font-weight: 800; font-stretch: 100%; letter-spacing: -.045em; line-height: .9; white-space: nowrap; font-size: var(--num-size, 15vw); font-variant-numeric: tabular-nums; transition: color .35s; }
.contact__num:hover .contact__digits { color: var(--lime); }
.contact__foot { position: relative; display: flex; justify-content: space-between; gap: 24px; font-size: 16px; font-weight: 500; }
.contact__social { display: flex; gap: 22px; align-items: flex-end; padding-right: 84px; }
.contact a:not(.contact__num) { text-decoration-thickness: 1px; text-underline-offset: 4px; }
.contact a:not(.contact__num):hover { color: var(--lime); }

/* ---------- 9 · Footer ---------- */
main { position: relative; z-index: 2; background: var(--paper); }
.foot { position: sticky; bottom: 0; z-index: 1; min-height: 100svh; overflow: hidden; background: var(--ink); color: var(--paper); display: grid; grid-template-rows: auto 1fr auto auto; padding: 40px var(--m) 20px; }
.foot__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; font-size: 16px; }
.foot__cols p { color: #b8c2d8; }
.foot__cols .foot__h { color: var(--paper); font-weight: 800; margin-bottom: 6px; }
.foot__cols a { text-decoration: none; }
.foot__cols a:hover { color: var(--lime); }
.foot__word { grid-row: 3; color: var(--lime); white-space: nowrap; font-size: var(--foot-size, 13.6vw); font-weight: 900; font-stretch: 112%; text-transform: uppercase; letter-spacing: -.04em; line-height: .82; margin-bottom: 18px; }
.foot__word span { display: inline-block; }
.foot__legal { grid-row: 4; font-size: 13px; color: #b8c2d8; }

/* ---------- Flotantes ---------- */
.fab { position: fixed; z-index: 80; border: 0; cursor: pointer; transition: transform .4s var(--ease), background-color .25s; }
.fab--wa { right: var(--m); bottom: var(--m); width: 60px; height: 60px; border-radius: 50%; background: var(--lime); color: var(--ink); display: grid; place-items: center; }
.fab--wa .wa-ico { width: 30px; height: 30px; }
.fab--wa:hover { transform: scale(1.08) rotate(-6deg); }
.fab--wa.is-away { transform: translateY(calc(100% + 40px)); pointer-events: none; }
.fab--cart { left: 50%; bottom: var(--m); transform: translateX(-50%); min-height: 56px; padding: 0 10px 0 22px; border-radius: 999px; background: var(--ink); color: var(--paper); display: flex; align-items: center; gap: 12px; font-weight: 700; }
.fab--cart b { background: var(--lime); color: var(--ink); min-width: 28px; height: 28px; border-radius: 999px; display: grid; place-items: center; font-size: 14px; }
.fab--cart span:last-child { background: var(--forest-2); padding: 8px 14px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.fab--cart:hover { transform: translateX(-50%) translateY(-3px); }
.fab--cart.is-away { transform: translateX(-50%) translateY(calc(100% + 40px)); pointer-events: none; }
.fab--cart.bump { animation: bump .5s var(--ease); }
@keyframes bump { 30% { transform: translateX(-50%) scale(1.08); } 100% { transform: translateX(-50%) scale(1); } }
.fab[hidden] { display: none; }

.drawer { position: fixed; inset: 0; z-index: 150; }
.drawer[hidden] { display: none; }
.drawer__veil { position: absolute; inset: 0; background: rgba(7, 20, 51, .55); }
.drawer__panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(480px, 100vw); background: var(--paper); box-shadow: -20px 0 60px rgba(7, 20, 51, .25); display: flex; flex-direction: column; overflow-y: auto; padding: 24px var(--m) 28px; gap: 18px; overscroll-behavior: contain; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; }
.drawer__head h2 { font-weight: 900; font-stretch: 112%; text-transform: uppercase; letter-spacing: -.03em; font-size: 32px; line-height: 1; }
.drawer__x { border: 0; background: var(--paper-2); border-radius: 999px; min-height: 40px; padding: 0 16px; font-weight: 700; cursor: pointer; }
.drawer__x:hover { background: var(--lime); }
.cart { display: grid; gap: 8px; }
.cart li { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; background: var(--white); border-radius: var(--r-field); padding: 12px 14px; }
.cart li b { font-size: 16px; }
.cart li .price { font-weight: 800; font-variant-numeric: tabular-nums; }
.cart .qty { justify-self: start; display: inline-flex; align-items: center; gap: 4px; background: var(--paper-2); border-radius: 999px; padding: 3px; }
.cart .qty button { width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--white); font-weight: 800; cursor: pointer; }
.cart .qty button:hover { background: var(--lime); }
.cart .qty span { min-width: 24px; text-align: center; font-weight: 800; }
.cart__empty { color: var(--ink-soft); }
.drawer__form { display: grid; gap: 14px; margin-top: auto; }
.drawer__form .input__err { min-height: 0; }
.drawer__total { display: flex; justify-content: space-between; font-size: 18px; font-weight: 700; padding-top: 8px; }
.drawer__total b { font-size: 24px; font-variant-numeric: tabular-nums; }

.toast { position: fixed; left: 50%; top: 18px; z-index: 260; transform: translate(-50%, calc(-100% - 40px)); background: var(--ink); color: var(--paper); padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: 15px; transition: transform .5s var(--ease); max-width: calc(100vw - 32px); text-align: center; }
.toast.is-on { transform: translate(-50%, 0); }

/* ---------- Revelados (sin JS todo queda visible) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .intro__head { grid-template-columns: 1fr; }
  .menu { grid-template-columns: 1fr; }
  .menu__aside { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: end; container-type: normal; }
  .menu__word { grid-column: 1 / -1; }
  .recipe__ui { grid-template-columns: 1fr; }
  .recipe__title { font-size: clamp(44px, 9vw, 84px); }
  .menu__photo { margin-top: 0; max-height: none; aspect-ratio: 16 / 10; grid-column: 1 / -1; }
  .menu__note { grid-column: 1 / -1; margin-top: 0; }
  .book { grid-template-columns: 1fr; }
  .book__head { grid-template-columns: 1fr; row-gap: 20px; }
  .ticket { position: static; }
}

/* ---------- Teléfono ---------- */
@media (max-width: 720px) {
  .nav { gap: 10px; padding: 10px var(--m); }
  .nav__status { display: none; }
  .nav__cta { min-height: 40px; padding: 0 16px; }
  .nav__word { font-size: 16px; }
  .nav__brand .marlin { width: 38px; }

  .hero { min-height: 560px; }
  .hero__l1wrap { top: 76px; }
  .hero__l2wrap { right: var(--m); bottom: 12px; }
  .hero__mid { left: var(--m); right: var(--m); top: 39%; gap: 18px; }
  .hero__lede { font-size: 18px; }
  .contact__lede { font-size: 21px; max-width: none; }
  .hero__actions { gap: 18px; }

  .intro__title { font-size: 10vw; }
  .intro__caps { grid-template-columns: 1fr; gap: 10px; margin-top: 24px; }
  .intro__caps br { display: none; }
  .intro__pano { height: 70svh; margin-top: 32px; }

  .recipe { height: 520svh; }
  .recipe__ui { grid-template-columns: 1fr; padding-top: 86px; padding-bottom: 28px; }
  .recipe__title { font-size: 12vw; }
  .recipe__steps { grid-row: 3; gap: 0; }
  .recipe__steps li { display: none; transform: none; }
  .recipe__steps li.is-on { display: block; transform: none; }
  .recipe__meter { top: auto; bottom: 0; left: 0; right: 0; width: auto; height: 4px; transform: none; border-radius: 0; }
  .recipe__meter span { transform-origin: left; }
  .recipe__reveal figcaption { flex-direction: column; align-items: flex-start; bottom: 28px; }
  .recipe__reveal-name { font-size: 13vw; }

  .show__title { padding-left: var(--m); margin-bottom: 28px; }
  .show__band { display: grid; grid-template-columns: 36fr 28fr 36fr; grid-template-rows: 1fr 1fr; height: 84svh; min-height: 0; }
  .show__panel:nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
  .show__panel:nth-child(2) { grid-column: 3 / 4; grid-row: 1; }
  .show__panel:nth-child(3) { grid-column: 1 / 2; grid-row: 2; }
  .show__panel:nth-child(4) { grid-column: 2 / 4; grid-row: 2; }
  .show__label, .show__panel:last-child .show__label { left: 16px; top: 16px; font-size: 18px; }

  .band { padding: 16px 0 10px; }

  .menu__aside { grid-template-columns: 1fr; }
  .day { height: 66px; }
  .day b { font-size: 21px; }
  .day small { font-size: 13px; }
  .cat summary { padding: 0 16px; min-height: 60px; }
  .cat__items { padding: 0 16px 16px; }
  .dish { grid-template-columns: 1fr auto; }
  .dish__price { grid-row: 1; }
  .dish__add { grid-row: 2; grid-column: 2; min-height: 36px; padding: 0 14px; }

  .causa { height: 92svh; min-height: 600px; place-items: start center; padding-top: 16svh; }
  .print--a { width: 46vw; left: 6vw; top: 40%; --r: -6deg; }
  .print--b { width: 46vw; left: 46vw; top: 45%; --r: 5deg; }
  .print--c { display: none; }
  .causa__line { font-size: 15px; right: var(--m); }

  .field--two { grid-template-columns: 1fr; gap: 0; }
  .ticket__paper { padding: 22px 20px 40px; }

  .contact { padding-top: 96px; min-height: 86svh; }
  .contact__marlin { width: 80vw; right: -24vw; top: 14vh; }
  .contact__foot { flex-direction: column; gap: 12px; }
  .contact__social { gap: 16px; }

  .foot__cols { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .foot__word { white-space: normal; display: grid; font-size: var(--foot-size-m, 26vw); }
  .foot__legal { font-size: 13px; }

  .fab--wa { width: 54px; height: 54px; }
  .fab--cart { left: var(--m); transform: none; }
  .fab--cart:hover { transform: translateY(-3px); }
  .fab--cart.is-away { transform: translateY(calc(100% + 40px)); }
  @keyframes bump { 30% { transform: scale(1.08); } 100% { transform: scale(1); } }
}

@media (hover: none) {
  .show__band:hover .show__panel:hover { flex-grow: var(--g); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .recipe { height: auto; }
  .recipe__stage { position: relative; height: auto; min-height: 100svh; }
  .recipe__gl { display: none; }
  .recipe__ui { position: relative; min-height: 100svh; }
  .recipe__steps li { opacity: 1; display: block; }
  .recipe__steps li span { max-height: none; }
  .recipe__reveal { position: relative; clip-path: none; height: 80svh; }
}


/* 2026-11-02 · Ajustes ----------------------------------------------- */
/* Footer: se muestra completo debajo del contenido (antes quedaba tapado por el menú en PC) */
.foot { position: relative; bottom: auto; min-height: 0; padding-top: 64px; }
/* Celular / táctil: secciones visibles de inmediato, sin esperar la animación */
@media (max-width: 760px), (hover: none) {
  .js [data-reveal] { opacity: 1; transform: none; }
  .foot { padding-top: 48px; }
}
