/* Mia Burger — demo 2026 */
:root {
  --bg: #0d0a08;
  --surface: #17120e;
  --surface-2: #211a14;
  --text: #f6efe4;
  --muted: #b9ab98;
  --gold: #f2b43a;
  --gold-soft: #f7cf7a;
  --red: #d63a2a;
  --blue: #2446a8;
  --line: rgba(246, 239, 228, .12);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--gold); color: #1a120a; padding: .7rem 1rem; border-radius: 12px; font-weight: 700; }
.skip:focus { top: 16px; }

/* ---------- Tipografía ---------- */
.display { font-family: var(--display); text-transform: uppercase; letter-spacing: .005em; line-height: .92; }
.accent { font-family: var(--serif); font-style: italic; color: var(--gold); text-transform: none; letter-spacing: 0; }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); display: inline-flex; align-items: center; gap: .6rem; }
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--gold) 0 33.3%, var(--blue) 33.3% 66.6%, var(--red) 66.6%); }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 50px; padding: .85rem 1.5rem;
  border-radius: 999px; font: 700 .98rem/1 var(--sans); text-decoration: none; cursor: pointer; border: 1.5px solid transparent;
  transition: transform .4s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .4s; }
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: #1a120a; box-shadow: 0 10px 30px rgba(242, 180, 58, .25); }
.btn--gold:hover { box-shadow: 0 16px 40px rgba(242, 180, 58, .38); }
.btn--ghost { border-color: rgba(246, 239, 228, .55); color: var(--text); background: rgba(13, 10, 8, .25); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn svg { width: 18px; height: 18px; }

/* ---------- Navegación ---------- */
.nav { position: fixed; z-index: 100; top: 14px; left: 50%; transform: translateX(-50%); width: min(calc(100% - 28px), var(--max));
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 8px 8px 8px 14px; border-radius: 999px;
  background: rgba(20, 15, 11, .55); border: 1px solid var(--line); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
  transition: background .4s, transform .5s var(--ease); }
.nav.is-scrolled { background: rgba(20, 15, 11, .82); }
.nav__brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.nav__brand img { width: 46px; height: 46px; object-fit: contain; }
.nav__brand span { font-family: var(--display); font-size: 1.3rem; letter-spacing: .03em; text-transform: uppercase; }
.nav__links { display: flex; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.nav__links a { text-decoration: none; font-weight: 500; font-size: .95rem; opacity: .85; transition: opacity .3s, color .3s; }
.nav__links a:hover { opacity: 1; color: var(--gold); }
.nav .btn { min-height: 44px; padding: .7rem 1.2rem; font-size: .92rem; }

/* ---------- Loader ---------- */
.loader { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: var(--bg);
  transition: opacity .8s var(--ease), visibility .8s; }
.loader img { width: min(38vw, 190px); animation: pulse 1.6s ease-in-out infinite; }
.loader__bar { display: none; position: absolute; bottom: 12vh; width: min(60vw, 240px); height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 0; background: var(--gold); transition: width .3s; }
.loader.is-done { opacity: 0; visibility: hidden; }
@keyframes pulse { 50% { transform: scale(1.04); } }

/* ---------- HERO: video en bucle ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; padding: 84px 12px 12px; }
.hero__card { position: relative; height: 100%; border-radius: var(--radius-xl); overflow: hidden; background: var(--surface) url("../assets/img/hero-poster.webp") center top / cover; isolation: isolate; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero__card::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(0deg, rgba(10, 7, 5, .85) 0%, rgba(10, 7, 5, .35) 32%, rgba(10, 7, 5, 0) 55%),
    linear-gradient(90deg, rgba(10, 7, 5, .55) 0%, rgba(10, 7, 5, 0) 50%); }
.hero__content { position: absolute; z-index: 2; left: calc(12px + clamp(24px, 4.5vw, 64px)); bottom: calc(12px + clamp(28px, 6vh, 64px)); max-width: min(780px, 60%); }
.hero__content h1 { font-size: clamp(3.2rem, 8.6vw, 8.4rem); margin-top: .7rem; }
.hero__content .accent { display: block; font-size: clamp(1.4rem, 2.6vw, 2.4rem); margin-top: .35em; line-height: 1.1; }
.hero__content .btns { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

.hero__now { position: absolute; z-index: 2; right: clamp(20px, 3vw, 40px); bottom: clamp(28px, 6vh, 64px); width: min(340px, 30vw);
  padding: 18px 20px; border-radius: var(--radius-lg); background: rgba(16, 12, 9, .55); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.hero__now .count { font: 700 .74rem/1 var(--sans); letter-spacing: .2em; color: var(--gold); }
.hero__now strong { display: block; font-size: clamp(1.6rem, 2.3vw, 2.2rem); line-height: 1; margin-top: .55rem; font-weight: 400; }
.hero__now p { font-size: .92rem; color: #e6dac9; margin-top: .45rem; line-height: 1.45; min-height: 2.9em; }
.hero__now strong, .hero__now p { transition: opacity .35s var(--ease), transform .45s var(--ease); }
.hero__now.is-swap strong, .hero__now.is-swap p { opacity: 0; transform: translateY(8px); }
.hero__bar { margin-top: 14px; height: 3px; border-radius: 3px; background: rgba(246, 239, 228, .18); overflow: hidden; }
.hero__bar i { display: block; height: 100%; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.hero__pause { position: absolute; z-index: 3; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  background: rgba(16, 12, 9, .5); color: var(--text); cursor: pointer; display: grid; place-items: center; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hero__pause svg { width: 18px; height: 18px; }
.hero__pause .i-play, .hero__pause[aria-pressed="true"] .i-pause { display: none; }
.hero__pause[aria-pressed="true"] .i-play { display: block; }

/* ---------- Secciones ---------- */
.section { padding: clamp(80px, 12vw, 160px) var(--gutter); }
.wrap { max-width: var(--max); margin: 0 auto; }
.section__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem 3rem; margin-bottom: clamp(32px, 5vw, 56px); }
.section__head h2 { font-size: clamp(2.8rem, 7vw, 6.4rem); margin-top: .9rem; }
.section__head p { max-width: 42ch; color: var(--muted); font-size: 1.05rem; }

/* Declaración con imágenes en línea */
.statement { padding-top: clamp(90px, 13vw, 170px); }
.statement p { font-family: var(--display); text-transform: uppercase; font-size: clamp(2.3rem, 6.2vw, 5.8rem); line-height: 1.02; max-width: 16ch; }
.statement p .accent { font-size: 1.05em; }
.statement .pill { display: inline-block; vertical-align: middle; width: 1.9em; height: .95em; border-radius: 999px; overflow: hidden; margin: 0 .08em .12em; }
.statement .pill img { width: 100%; height: 100%; object-fit: cover; }
.statement__foot { display: flex; flex-wrap: wrap; gap: 2rem 4rem; margin-top: clamp(40px, 6vw, 72px); color: var(--muted); max-width: 900px; }
.statement__foot div { flex: 1 1 240px; border-top: 1px solid var(--line); padding-top: 1rem; }
.statement__foot strong { display: block; color: var(--text); font-size: 1.05rem; margin-bottom: .3rem; }

/* Favoritos: carril horizontal */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(260px, 29vw, 400px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  padding: 4px var(--gutter) 24px; margin: 0 calc(var(--gutter) * -1); scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.dish { margin: 0; scroll-snap-align: start; position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface); }
.dish img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.dish:hover img { transform: scale(1.06); }
.dish::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 7, 5, .88), rgba(10, 7, 5, 0) 52%); }
.dish figcaption { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 18px; }
.dish figcaption small { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.dish figcaption h3 { font-family: var(--display); text-transform: uppercase; font-size: 1.9rem; line-height: 1; margin-top: .35rem; }
.dish figcaption p { font-size: .92rem; color: #e3d7c6; margin-top: .35rem; }
.rail__controls { display: flex; gap: .6rem; }
.rail__controls button { width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid var(--line); background: transparent; color: var(--text); cursor: pointer; display: grid; place-items: center; transition: border-color .3s, color .3s; }
.rail__controls button:hover { border-color: var(--gold); color: var(--gold); }
.rail__controls svg { width: 20px; height: 20px; }

/* Especialidad */
.feature { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.feature__media { position: relative; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4 / 5; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature__tag { position: absolute; left: 18px; top: 18px; padding: .55rem .9rem; border-radius: 999px; background: rgba(13, 10, 8, .6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: .8rem; font-weight: 700; }
.feature h2 { font-size: clamp(2.8rem, 6.4vw, 5.8rem); margin: .9rem 0 1.2rem; }
.feature p { color: var(--muted); font-size: 1.1rem; max-width: 44ch; }
.feature ul { list-style: none; padding: 0; margin: 1.6rem 0 2rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.feature li { padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--line); font-weight: 500; font-size: .93rem; }

/* Carta */
.menu { background: var(--surface); border-radius: var(--radius-xl); margin: 0 12px; }
.tabs { position: sticky; top: 84px; z-index: 5; display: flex; gap: .5rem; overflow-x: auto; padding: .6rem; margin: 0 -.6rem 1.6rem; scrollbar-width: none;
  background: rgba(23, 18, 14, .88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-radius: 999px; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; font: 700 .9rem/1 var(--sans); color: var(--text); background: transparent; border: 1.5px solid var(--line); padding: .8rem 1.15rem; border-radius: 999px; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.tabs button:hover { border-color: var(--gold); }
.tabs button[aria-selected="true"] { background: var(--gold); border-color: var(--gold); color: #1a120a; }
.plates { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.plate { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; padding: 10px; border-radius: var(--radius-md); background: var(--surface-2); border: 1px solid transparent; transition: border-color .3s, transform .4s var(--ease); }
.plate:hover { border-color: rgba(242, 180, 58, .45); transform: translateY(-2px); }
.plate img { width: 96px; height: 96px; border-radius: 12px; object-fit: cover; }
.plate h3 { font-family: var(--display); text-transform: uppercase; font-size: 1.25rem; line-height: 1.05; }
.plate p { font-size: .9rem; color: var(--muted); margin-top: .25rem; line-height: 1.4; }
.menu__note { margin-top: 1.6rem; font-size: .88rem; color: var(--muted); }

/* Visítanos */
.visit { display: grid; grid-template-columns: 1fr 1.1fr; gap: 12px; }
.visit__info { background: var(--surface); border-radius: var(--radius-xl); padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; }
.visit__info h2 { font-size: clamp(2.8rem, 6vw, 5.4rem); margin-top: .9rem; }
.visit dl { margin: 0; display: grid; gap: 1.2rem; }
.visit dt { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.visit dd { margin: .25rem 0 0; font-size: 1.2rem; }
.visit .btns { display: flex; flex-wrap: wrap; gap: .75rem; }
.visit__map { border-radius: var(--radius-xl); overflow: hidden; min-height: 420px; background: var(--surface); }
.visit__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: saturate(.85) contrast(1.05); }

/* Pie */
.footer { padding: clamp(60px, 9vw, 120px) var(--gutter) 40px; overflow: hidden; }
.footer__big { font-family: var(--display); text-transform: uppercase; font-size: clamp(4rem, 17.5vw, 17rem); line-height: .82; letter-spacing: -.005em; text-align: center; white-space: nowrap; }
.footer__big .accent { font-size: .32em; display: block; margin-top: .25em; }
.footer__bar { max-width: var(--max); margin: clamp(40px, 6vw, 72px) auto 0; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; color: var(--muted); font-size: .9rem; }
.footer__bar nav { display: flex; gap: 1.4rem; }
.footer__bar a { text-decoration: none; }
.footer__bar a:hover { color: var(--gold); }

/* Barra fija en móvil */
.mbar { display: none; }

/* Aparición */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; } .reveal[data-delay="2"] { transition-delay: .2s; } .reveal[data-delay="3"] { transition-delay: .3s; }

/* ---------- Móvil ---------- */
@media (max-width: 860px) {
  body { font-size: 16px; }
  .nav__links { display: none; }
  .nav__brand span { display: none; }
  .nav .btn { padding: .65rem 1rem; }
  .hero { height: auto; min-height: 0; padding: 76px 8px 0; }
  .hero__card { height: auto; aspect-ratio: 4 / 5; max-height: 62svh; width: 100%; border-radius: 24px; }
  .hero__card::after { background: linear-gradient(0deg, rgba(10, 7, 5, .7) 0%, rgba(10, 7, 5, 0) 38%); }
  .hero__content { position: static; max-width: none; padding: 26px 16px 8px; }
  .hero__content h1 { font-size: clamp(2.6rem, 12.5vw, 3.6rem); margin-top: .55rem; }
  .hero__content h1 br { display: none; }
  .hero__content .accent { font-size: 1.35rem; }
  .hero__content .btns { margin-top: 1.2rem; }
  .hero__content .btns .btn { flex: 1 1 auto; }
  .hero__now { left: 14px; right: 14px; bottom: 14px; width: auto; padding: 12px 14px; }
  .hero__now strong { font-size: 1.5rem; }
  .hero__now p { display: none; }
  .hero__now { padding: 10px 14px 12px; left: 10px; right: auto; bottom: 10px; max-width: calc(100% - 20px); }
  .hero__now strong { font-size: 1.25rem; margin-top: .4rem; }
  .hero__bar { margin-top: 10px; }
  .hero__pause { top: 12px; right: 12px; width: 40px; height: 40px; }
  .hide-sm { display: none; }
  .rail { grid-auto-columns: 78vw; }
  .feature, .visit { grid-template-columns: 1fr; }
  .feature__media { aspect-ratio: 4 / 4.4; }
  .menu { margin: 0 8px; }
  .tabs { top: 76px; }
  .plates { grid-template-columns: 1fr; }
  .plate { grid-template-columns: 84px 1fr; }
  .plate img { width: 84px; height: 84px; }
  .visit__map, .visit__map iframe { min-height: 320px; }
  .mbar { display: flex; position: fixed; z-index: 90; left: 12px; right: 12px; bottom: 12px; gap: 8px; transform: translateY(150%); transition: transform .5s var(--ease); }
  .mbar.is-on { transform: none; }
  .mbar .btn { flex: 1; box-shadow: 0 12px 30px rgba(0, 0, 0, .5); }
  .mbar .btn--ghost { background: rgba(20, 15, 11, .9); }
  .footer { padding-bottom: 100px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .loader img { animation: none; }
  .dish img, .btn { transition: none; }
}
