:root {
  --red: #b5121b;
  --red-2: #8f0d13;
  --red-3: #5a080b;
  --ink: #120d0c;
  --coal: #1b1413;
  --flame: #ffb23f;
  --flame-2: #ff7a1a;
  --paper: #fff3e6;
  --muted: #e9c9bd;
  --display: "Archivo", system-ui, sans-serif;
  --brand: "Marcellus SC", Georgia, serif;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 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; }
html { overflow-x: clip; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ink); color: var(--paper);
  font-family: var(--display); font-size: 1.0625rem; line-height: 1.55;
  font-variation-settings: "wdth" 100; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid var(--flame); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--flame); color: var(--ink); padding: 10px 14px; }
.skip:focus { left: 8px; }

.eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  font-variation-settings: "wdth" 110; color: var(--flame);
}

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; text-decoration: none;
  font-weight: 800; font-size: 1rem; letter-spacing: .02em; font-variation-settings: "wdth" 88;
  transition: background-color .2s, color .2s, translate .2s;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn:hover { translate: 0 -2px; }
.btn--flame { background: var(--flame); color: var(--ink); }
.btn--flame:hover { background: #ffc66b; }
.btn--ghost { border: 2px solid rgba(255, 243, 230, .55); color: var(--paper); }
.btn--ghost:hover { background: var(--paper); color: var(--red-2); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: 72px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 clamp(16px, 3vw, 40px);
  transition: background-color .3s;
}
.nav.is-solid { background: rgba(18, 13, 12, .88); backdrop-filter: blur(10px); }
.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--brand); font-size: 1.3rem; }
.nav-brand img { width: 40px; height: 40px; border-radius: 50%; }
.nav nav { display: flex; gap: 28px; }
.nav nav a { text-decoration: none; font-weight: 600; font-size: .95rem; opacity: .9; }
.nav nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.nav-call {
  text-decoration: none; font-weight: 800; font-size: .92rem; font-variation-settings: "wdth" 90;
  padding: 10px 18px; border-radius: 999px; background: var(--paper); color: var(--red-2);
}

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; padding-top: 72px;
  display: grid; place-items: end center; overflow: hidden;
  background:
    var(--grain),
    radial-gradient(ellipse 70% 60% at 50% 70%, #d81a22 0%, var(--red) 35%, var(--red-2) 70%, var(--red-3) 100%);
  background-size: 240px 240px, auto;
}
.hero::after { /* viñeta inferior: el piso del horno */
  content: ""; position: absolute; inset: auto 0 0; height: 22%;
  background: linear-gradient(to top, rgba(18, 13, 12, .85), transparent); pointer-events: none;
}
.hero-stage {
  position: relative; z-index: 1; container-type: inline-size;
  width: min(1000px, 94vw, calc((100svh - 96px) * 1.35));
  aspect-ratio: 1000 / 740;
}
.hero-arc { position: absolute; inset: 0 0 auto; width: 100%; height: auto; overflow: visible; }
.arc-big { font-family: var(--brand); font-size: 118px; fill: var(--paper); letter-spacing: 4px; }
.arc-small { font-family: var(--display); font-weight: 800; font-size: 26px; fill: var(--paper); letter-spacing: 3px; }
.arc-line { stroke: var(--paper); stroke-width: 5; stroke-linecap: round; }
.oven {
  position: absolute; left: 25cqw; top: 20cqw; width: 50cqw; bottom: 0;
  border-radius: 25cqw 25cqw 0 0; overflow: hidden; background: #000;
  box-shadow: 0 0 0 1.4cqw #1a0f0e, 0 0 0 1.7cqw rgba(255, 178, 63, .35), 0 0 12cqw 2cqw rgba(255, 110, 20, .45);
}
.oven img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; filter: saturate(1.15) contrast(1.05); animation: flicker 3.2s infinite; }
.oven-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 55% at 50% 95%, rgba(255, 130, 30, .55), transparent 70%),
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(0, 0, 0, .55), transparent 70%);
  mix-blend-mode: screen; animation: glow 2.4s ease-in-out infinite alternate;
}
.embers { position: absolute; inset: 0; pointer-events: none; }
.embers i {
  position: absolute; bottom: -6px; width: 4px; height: 4px; border-radius: 50%;
  background: #ffcf7a; box-shadow: 0 0 8px 2px #ff8a1c;
  animation: rise var(--d, 4s) linear var(--delay, 0s) infinite; opacity: 0;
}
@keyframes rise {
  0% { transform: translate(0, 0); opacity: 0; }
  15% { opacity: 1; }
  100% { transform: translate(var(--x, 10px), -42cqw); opacity: 0; }
}
@keyframes flicker {
  0%, 100% { filter: saturate(1.15) contrast(1.05) brightness(1); }
  30% { filter: saturate(1.2) contrast(1.05) brightness(1.08); }
  55% { filter: saturate(1.1) contrast(1.05) brightness(.96); }
  80% { filter: saturate(1.2) contrast(1.05) brightness(1.05); }
}
@keyframes glow { from { opacity: .7; } to { opacity: 1; } }

.hero-side { position: absolute; z-index: 2; bottom: clamp(28px, 5vh, 56px); width: min(360px, 26vw); }
.hero-side--l { left: clamp(16px, 4vw, 64px); }
.hero-side--r { right: clamp(16px, 4vw, 64px); display: grid; gap: 18px; justify-items: end; text-align: right; }
.hero-lede { margin-top: 12px; font-size: 1.25rem; line-height: 1.4; font-weight: 500; }
.hero-side .eyebrow { color: var(--paper); opacity: .85; }
.status {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 999px;
  background: rgba(18, 13, 12, .55); font-weight: 700; font-size: .95rem; backdrop-filter: blur(6px);
}
.status .dot { width: 10px; height: 10px; border-radius: 50%; background: #9a8f8c; }
.status.is-open .dot { background: #5bff7e; box-shadow: 0 0 0 4px rgba(91, 255, 126, .25); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

/* ---------- marquee ---------- */
.marquee { background: var(--ink); border-block: 1px solid rgba(255, 178, 63, .25); overflow: hidden; padding: 18px 0; }
.marquee-track { display: flex; gap: 28px; width: max-content; align-items: center; animation: slide 36s linear infinite; }
.marquee span {
  font-size: clamp(2rem, 4.4vw, 3.6rem); font-weight: 900; font-style: italic; text-transform: uppercase;
  font-variation-settings: "wdth" 70; line-height: 1; color: var(--paper);
}
.marquee span.o { color: transparent; -webkit-text-stroke: 1.5px var(--flame); }
.marquee i { color: var(--red); font-style: normal; font-size: 1.6rem; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- carta ---------- */
.carta { background: var(--coal); position: relative; overflow: hidden; }
.carta-track {
  display: flex; gap: clamp(16px, 2.5vw, 36px); align-items: stretch;
  padding: clamp(72px, 10vh, 120px) clamp(16px, 4vw, 64px);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scroll-padding-inline: clamp(16px, 4vw, 64px);
}
.is-drift .carta-track { overflow: visible; width: max-content; }
.carta-intro, .slice, .carta-end { flex: 0 0 auto; scroll-snap-align: start; }
.carta-intro { width: min(440px, 82vw); display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.carta-intro h2 {
  font-size: clamp(4rem, 9vw, 8.5rem); line-height: .86; font-weight: 900; text-transform: uppercase;
  font-variation-settings: "wdth" 66; letter-spacing: -.01em;
}
.carta-intro h2 em { font-family: var(--brand); font-style: normal; text-transform: none; color: var(--flame); font-weight: 400; letter-spacing: 0; }
.carta-intro p { color: var(--muted); max-width: 36ch; }
.carta-hint { font-weight: 700; color: var(--flame) !important; }
.carta-hint span { display: inline-block; animation: nudge 1.4s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(8px); } }
.slice { width: min(470px, 80vw); margin: 0; display: grid; gap: 14px; align-content: center; }
.slice img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); }
.slice:nth-child(even) { translate: 0 28px; }
.slice figcaption { font-weight: 800; font-size: 1.35rem; font-variation-settings: "wdth" 80; text-transform: uppercase; letter-spacing: .02em; }
.slice figcaption b { color: var(--flame); margin-right: 10px; font-weight: 900; }
.slice--photo img { filter: saturate(1.1); }
.carta-end { width: min(420px, 80vw); display: grid; align-content: center; gap: 24px; padding-right: 4vw; }
.carta-end p { font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: .95; font-weight: 900; text-transform: uppercase; font-variation-settings: "wdth" 70; }

/* ---------- firma: horno ---------- */
.horno {
  position: relative; padding: clamp(80px, 14vh, 160px) clamp(16px, 4vw, 64px);
  background:
    var(--grain),
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(255, 110, 20, .18), transparent 70%),
    var(--ink);
  background-size: 240px 240px, auto, auto;
  display: grid; justify-items: center; text-align: center; gap: 22px;
}
.horno-head { display: grid; gap: 14px; }
.horno-head h2 { font-family: var(--brand); font-weight: 400; font-size: clamp(1.8rem, 3.6vw, 3rem); line-height: 1.1; }
.horno-big {
  font-size: clamp(4.2rem, 17vw, 16rem); line-height: .82; font-weight: 900; text-transform: uppercase;
  font-variation-settings: "wdth" 62; letter-spacing: -.01em; color: #6d6260; margin-top: 10px;
}
.horno.is-open .horno-big {
  background: linear-gradient(180deg, #fff1c4 0%, var(--flame) 40%, var(--flame-2) 75%, #d8231b 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 40px rgba(255, 122, 26, .45));
  animation: heat 2.6s ease-in-out infinite alternate;
}
@keyframes heat { from { filter: drop-shadow(0 0 26px rgba(255, 122, 26, .35)); } to { filter: drop-shadow(0 0 56px rgba(255, 122, 26, .6)); } }
.horno-sub { font-size: clamp(1.1rem, 1.8vw, 1.45rem); max-width: 40ch; color: var(--muted); }
.horno-sub strong { color: var(--paper); }
.week { list-style: none; margin: 18px 0 8px; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; width: min(980px, 100%); }
.week li {
  display: grid; gap: 4px; padding: 16px 6px; border-radius: 10px; border: 1px solid rgba(255, 243, 230, .16);
  background: rgba(255, 243, 230, .03);
}
.week b { font-size: 1.15rem; font-weight: 800; text-transform: uppercase; font-variation-settings: "wdth" 80; }
.week span { font-size: .85rem; color: var(--muted); }
.week li.off { border-style: dashed; opacity: .6; }
.week li.off b { text-decoration: line-through; }
.week li.is-today { background: var(--red); border-color: var(--red); }
.week li.is-today span { color: var(--paper); }
.week li.is-today.off { background: transparent; border-color: var(--paper); opacity: 1; }

/* ---------- teléfono gigante ---------- */
.phone { position: relative; overflow: hidden; min-height: 92vh; display: grid; place-items: center; text-align: center; isolation: isolate; }
.phone-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; z-index: -2; filter: blur(2px) saturate(1.2); transform: scale(1.06); }
.phone::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18, 13, 12, .85), rgba(143, 13, 19, .62) 50%, rgba(18, 13, 12, .9)); }
.phone-in { display: grid; gap: 10px; justify-items: center; padding: 80px 16px; }
.phone-num {
  text-decoration: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 0 .25em;
  font-size: clamp(5rem, 19vw, 19rem); line-height: .84; font-weight: 900; font-variation-settings: "wdth" 62;
  color: var(--paper); letter-spacing: -.02em; transition: color .2s;
}
.phone-num:hover { color: var(--flame); }
.phone-sub { font-family: var(--brand); font-size: clamp(1.4rem, 2.6vw, 2.2rem); }

/* ---------- visitanos ---------- */
.visit {
  padding: clamp(80px, 12vh, 140px) clamp(16px, 4vw, 64px) clamp(60px, 8vh, 100px);
  background: var(--grain), var(--red-2); background-size: 240px 240px, auto;
}
.visit .eyebrow { color: var(--flame); }
.visit h2 {
  margin-top: 16px; font-size: clamp(3rem, 9vw, 8.6rem); line-height: .88; font-weight: 900; text-transform: uppercase;
  font-variation-settings: "wdth" 66;
}
.visit-grid { margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: 1.2fr 1fr .8fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.facts { margin: 0; display: grid; }
.facts div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid rgba(255, 243, 230, .25); }
.facts div:last-child { border-bottom: 1px solid rgba(255, 243, 230, .25); }
.facts dt { font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #ffd9a8; padding-top: 4px; }
.facts dd { margin: 0; font-weight: 600; font-size: 1.1rem; }
.visit-ctas { display: grid; gap: 12px; }
.visit-ctas .btn--ghost:hover { color: var(--red-2); }
.visit-photo { margin: 0; }
.visit-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 200px 200px 8px 8px; }

.foot { padding: 48px clamp(16px, 4vw, 64px) 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; color: var(--muted); font-size: .95rem; }
.foot img { width: 56px; height: 56px; border-radius: 50%; }
.foot-small { margin-left: auto; font-size: .8rem; opacity: .75; }

.mbar { display: none; }

/* ---------- reveals ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .nav nav { display: none; }
  .hero { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding: 92px 16px 110px; gap: 28px; }
  .hero::after { display: none; }
  .hero-stage { width: min(560px, 100%); }
  .hero-side { position: static; width: 100%; max-width: 560px; }
  .hero-side--r { justify-items: start; text-align: left; }
  .cta-row { justify-content: flex-start; }
  .visit-grid { grid-template-columns: 1fr; }
  .visit-photo { max-width: 360px; }
  .slice:nth-child(even) { translate: none; }
}
@media (max-width: 640px) {
  .nav { height: 64px; }
  .nav-brand span { display: none; }
  .nav-call { font-size: .85rem; padding: 9px 14px; }
  .hero-lede { font-size: 1.12rem; }
  .cta-row .btn { flex: 1 1 100%; }
  .week { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .week li { padding: 12px 4px; }
  .facts div { grid-template-columns: 1fr; gap: 4px; }
  .foot { padding-bottom: 100px; }
  .phone { min-height: 72vh; }
  .foot-small { margin-left: 0; }
  .mbar {
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; position: fixed; z-index: 60; left: 10px; right: 10px; bottom: 10px;
    padding: 8px; border-radius: 999px; background: rgba(18, 13, 12, .92); backdrop-filter: blur(10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .45);
  }
  .mbar a { display: grid; place-items: center; min-height: 48px; border-radius: 999px; text-decoration: none; font-weight: 800; font-size: .95rem; }
  .mbar-call { background: var(--flame); color: var(--ink); }
}
