/* ==========================================================
   Midwest Restaurant · Halal Steakhouse
   Paleta tomada de sus publicaciones:
   carbón del carrusel, vino de "La misión", marrón del logo,
   café de la historia, dorado de la estrella y crema de los títulos.
   ========================================================== */
:root {
  --ink: #121111;
  --charcoal: #1d1d1d;
  --charcoal-2: #262524;
  --wine: #5b3737;
  --wine-deep: #432929;
  --maroon: #502e2d;
  --cafe: #412414;
  --gold: #d4a660;
  --gold-soft: #e8c78f;
  --gold-deep: #86602f; /* dorado legible sobre fondo claro (contraste 5.3:1) */
  --cream: #f0e1ca;
  --paper: #faf7f3;
  --paper-2: #efe6e1;
  --text: #2a1d1c;
  --muted: #7d6566;
  --light-muted: rgba(240, 225, 202, .66);
  --line-gold: rgba(212, 166, 96, .3);
  --line-wine: rgba(80, 46, 45, .22);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Pinyon Script", cursive;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);
  --nav-h: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 70px; }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--charcoal);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.is-locked { overflow: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
::selection { background: var(--gold); color: var(--ink); }

.container { width: min(1200px, 100% - 48px); margin-inline: auto; }

/* ---------- Grano de película ---------- */
.grain {
  position: absolute;
  inset: -50%;
  pointer-events: none;
  z-index: 1;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* ---------- Ornamentos de esquina ---------- */
.c { position: absolute; width: 56px; height: 56px; color: var(--gold); pointer-events: none; }
.c--tl { top: 0; left: 0; }
.c--tr { top: 0; right: 0; transform: scaleX(-1); }
.c--bl { bottom: 0; left: 0; transform: scaleY(-1); }
.c--br { bottom: 0; right: 0; transform: scale(-1, -1); }

.flourish { display: block; width: 120px; height: 16px; margin: 22px auto 0; color: var(--wine); }
.flourish--gold { color: var(--gold); }

/* ---------- Tipografía ---------- */
.eyebrow {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--wine);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.eyebrow--gold { color: var(--gold); }

.h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  line-height: 1.04;
  letter-spacing: -.015em;
  margin-top: 20px;
  color: var(--maroon);
}
.h2 em { font-style: italic; color: var(--wine); }
.h2--light { color: var(--cream); }
.h2--light em { color: var(--gold-soft); }

.script { font-family: var(--script); line-height: 1; color: var(--gold); }

.tag { font-size: .64rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }

/* ---------- Botones (relleno que barre al pasar el cursor) ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 17px 32px;
  font: 600 .72rem/1 var(--sans);
  letter-spacing: .24em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color .6s var(--ease), border-color .6s var(--ease);
}
.btn > span { display: inline-flex; align-items: center; gap: 10px; position: relative; z-index: 1; }
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .6s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleY(1); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold::before { background: var(--cream); }
.btn--ghost { border-color: rgba(240, 225, 202, .45); color: var(--cream); }
.btn--ghost::before { background: var(--cream); }
.btn--ghost:hover { color: var(--ink); border-color: var(--cream); }
.btn--wine { background: var(--wine); color: var(--cream); }
.btn--wine::before { background: var(--maroon); }
.btn--sm { padding: 13px 22px; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  gap: 10px;
  margin-top: 18px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--wine);
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  padding-bottom: 6px;
  transition: background-size .6s var(--ease);
}
.link-arrow:hover { background-size: 30% 1px; }
.link-arrow span { transition: transform .4s var(--ease); }
.link-arrow:hover span { transform: translateX(6px); }

/* ==========================================================
   PRELOADER
   ========================================================== */
.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.no-js .loader, .loader.is-skip { display: none; }
.loader__panel {
  position: absolute;
  left: 0; right: 0;
  height: 50.5%;
  background: var(--charcoal);
  transition: transform 1.3s var(--ease-in-out);
}
.loader__panel--top { top: 0; }
.loader__panel--bottom { bottom: 0; }
.loader__inner { position: relative; text-align: center; transition: opacity .6s var(--ease), transform 1s var(--ease); }
.loader__inner img { width: 200px; height: auto; margin: 0 auto; opacity: 0; transform: translateY(14px); animation: rise 1.1s var(--ease) .15s forwards; }
.loader__line { display: block; width: 160px; height: 1px; margin: 24px auto 0; background: var(--gold); transform: scaleX(0); animation: line 1.1s var(--ease-in-out) .5s forwards; }
.loader__tag { margin-top: 18px; font-size: .64rem; letter-spacing: .5em; text-transform: uppercase; color: var(--gold); opacity: 0; animation: fade .8s var(--ease) .9s forwards; }
.loader.is-done .loader__inner { opacity: 0; transform: scale(.96); }
.loader.is-done .loader__panel--top { transform: translateY(-100%); }
.loader.is-done .loader__panel--bottom { transform: translateY(100%); }
.loader.is-gone { visibility: hidden; }
@keyframes line { to { transform: scaleX(1); } }
@keyframes fade { to { opacity: 1; } }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ==========================================================
   NAV
   ========================================================== */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--nav-h);
  transition: transform .6s var(--ease), background .6s var(--ease), height .6s var(--ease);
}
.nav::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--line-gold);
  transform: scaleX(0);
  transition: transform 1s var(--ease);
}
.nav.is-scrolled { height: 70px; background: rgba(29, 29, 29, .86); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); }
.nav.is-scrolled::after { transform: scaleX(1); }
.nav.is-hidden { transform: translateY(-100%); }
.nav.is-menu-open { transform: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav__inner {
  height: 100%;
  width: min(1320px, 100% - 48px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__brand img { width: 104px; height: auto; transition: width .6s var(--ease); }
.nav.is-scrolled .nav__brand img { width: 86px; }
.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links a:not(.btn) {
  color: var(--cream);
  text-decoration: none;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
}
.nav__links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease);
}
.nav__links a:not(.btn):hover::after, .nav__links a.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav__toggle { display: none; }

/* ==========================================================
   HERO (video)
   ========================================================== */
.hero {
  position: relative;
  height: 100svh;
  min-height: 620px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
  background: var(--charcoal);
}
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  transform: scale(1.15);
  transition: transform 3.2s var(--ease);
  will-change: transform;
}
.is-ready .hero__video { transform: scale(1.02); }
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(18, 17, 17, .28) 0%, rgba(18, 17, 17, .66) 100%),
    linear-gradient(180deg, rgba(29, 29, 29, .6) 0%, rgba(29, 29, 29, .05) 30%, rgba(29, 29, 29, .15) 70%, var(--charcoal) 100%),
    linear-gradient(90deg, rgba(91, 55, 55, .22), rgba(65, 36, 20, .18));
}
.hero .grain { z-index: 0; }

.hero__frame {
  position: absolute;
  inset: calc(var(--nav-h) + 4px) clamp(14px, 2.4vw, 28px) clamp(14px, 2.4vw, 28px);
  z-index: 1;
  pointer-events: none;
  border: 1px solid transparent;
}
.hero__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--line-gold);
  clip-path: inset(0 50% 100% 50%);
  transition: clip-path 2.2s var(--ease-in-out) .4s;
}
.is-ready .hero__frame::before { clip-path: inset(0 0 0 0); }
.hero__frame .c { opacity: 0; transition: opacity 1.2s var(--ease) 1.6s; }
.is-ready .hero__frame .c { opacity: 1; }

.hero__content { position: relative; z-index: 2; max-width: 900px; padding: 0 24px; }
.hero__status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid var(--line-gold);
  border-radius: 40px;
  background: rgba(18, 17, 17, .4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: .66rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.hero__status .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.hero__status.is-open .dot { background: #7fd39a; animation: pulse 2s infinite; }
.hero__status.is-closed .dot { background: #d9776b; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(127, 211, 154, .55); } 70% { box-shadow: 0 0 0 10px rgba(127, 211, 154, 0); } 100% { box-shadow: 0 0 0 0 rgba(127, 211, 154, 0); } }

.hero__eyebrow {
  margin-top: 34px;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .5em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero__eyebrow i { font-style: normal; margin: 0 .6em; font-size: .7em; vertical-align: 2px; }
.hero__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3rem, 8.4vw, 7.4rem);
  line-height: .98;
  letter-spacing: -.025em;
  margin-top: 22px;
}
.hero__title em { font-style: italic; color: var(--gold-soft); }
.hero__lead {
  max-width: 520px;
  margin: 28px auto 0;
  color: var(--light-muted);
  font-weight: 300;
  font-size: 1rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 42px; }

/* Entrada escalonada del hero */
.js .hero__status, .js .hero__eyebrow, .js .hero__lead, .js .hero__actions, .js .hero__foot { opacity: 0; transform: translateY(20px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.is-ready .hero__status { transition-delay: .2s; }
.is-ready .hero__eyebrow { transition-delay: .35s; }
.is-ready .hero__lead { transition-delay: 1.05s; }
.is-ready .hero__actions { transition-delay: 1.25s; }
.is-ready .hero__foot { transition-delay: 1.6s; }
.is-ready .hero__status, .is-ready .hero__eyebrow, .is-ready .hero__lead, .is-ready .hero__actions, .is-ready .hero__foot { opacity: 1; transform: none; }

.hero__foot {
  position: absolute;
  left: 0; right: 0;
  bottom: clamp(30px, 5vw, 54px);
  z-index: 2;
  width: min(1320px, 100% - 96px);
  margin-inline: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.hero__scroll {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .62rem;
  letter-spacing: .36em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--light-muted);
}
.hero__scroll-line { position: relative; width: 1px; height: 46px; background: rgba(240, 225, 202, .2); overflow: hidden; }
.hero__scroll-line::after { content: ""; position: absolute; inset: 0; background: var(--gold); animation: scrollLine 2.4s var(--ease-in-out) infinite; }
@keyframes scrollLine { from { transform: translateY(-100%); } to { transform: translateY(100%); } }
.hero__play {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-gold);
  background: rgba(18, 17, 17, .35);
  color: var(--cream);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color .4s, background .4s;
}
.hero__play:hover { border-color: var(--gold); background: rgba(18, 17, 17, .6); }
.hero__play .i-play { display: none; }
.hero__play[aria-pressed="true"] .i-play { display: block; }
.hero__play[aria-pressed="true"] .i-pause { display: none; }

/* ---------- Texto dividido en palabras (revelado con máscara) ---------- */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.w > span { display: inline-block; transform: translateY(105%); transition: transform 1.3s var(--ease); transition-delay: calc(var(--i) * 70ms); }
.is-in .w > span, .is-ready .hero__title .w > span { transform: none; }
.is-ready .hero__title .w > span { transition-delay: calc(.5s + var(--i) * 80ms); }

/* ==========================================================
   MARQUEE
   ========================================================== */
.marquee {
  background: var(--wine);
  color: var(--cream);
  overflow: hidden;
  padding: 22px 0;
  border-block: 1px solid rgba(232, 199, 143, .18);
  position: relative;
  z-index: 2;
}
.marquee__track {
  display: flex;
  width: max-content;
  gap: 40px;
  align-items: center;
  animation: marquee 45s linear infinite;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 300;
  white-space: nowrap;
}
.marquee__track i { font-style: normal; font-size: .8rem; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================
   SECCIONES
   ========================================================== */
.section { padding: clamp(96px, 12vw, 170px) 0; position: relative; overflow: hidden; }
.section--paper { background: var(--paper); }
.section--charcoal { background: var(--charcoal); color: var(--cream); }
.section--wine { background: var(--wine-deep); color: var(--cream); }

.section__head { text-align: center; max-width: 720px; margin: 0 auto clamp(56px, 7vw, 90px); }
.section__head .eyebrow::after { content: ""; width: 36px; height: 1px; background: currentColor; }
.section__sub { margin-top: 22px; color: var(--light-muted); font-weight: 300; }

/* ---------- Revelados al hacer scroll ---------- */
.js :where([data-reveal]:not([data-reveal="mask"], [data-reveal="fade"])) { opacity: 0; transform: translateY(36px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.js :where([data-reveal="fade"]) { opacity: 0; transform: scale(.9); transition: opacity 1.4s var(--ease), transform 1.4s var(--ease); }
.js :where([data-reveal="mask"]) { clip-path: inset(100% 0 0 0); transition: clip-path 1.6s var(--ease-in-out); }
.js :where([data-reveal="mask"]) img { scale: 1.25; transition: scale 2.2s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="mask"].is-in { clip-path: inset(0 0 0 0); }
.js [data-reveal="mask"].is-in img { scale: 1; }
.visit__map { transition-delay: .15s !important; }

/* ==========================================================
   ESENCIA — misión/visión en pestañas + pilares en slider
   ========================================================== */
.essence { padding-block: clamp(56px, 6vw, 88px); }
.essence__eyebrow { display: flex; justify-content: center; margin: 0 0 clamp(22px, 3vw, 34px); }
.essence__eyebrow::after { content: ""; width: 36px; height: 1px; background: currentColor; }
.essence__grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr auto;
  gap: clamp(12px, 2vw, 20px);
  max-width: 1140px;
  margin-inline: auto;
  align-items: stretch;
}
.mv-tabs, .pslider { position: relative; min-height: 230px; }
.mv-tabs .c, .pslider .c { width: 30px; height: 30px; margin: 7px; }

/* Misión / visión */
.mv-tabs {
  background: #fff;
  padding: 28px clamp(24px, 3vw, 36px) 26px;
  box-shadow: 0 40px 70px -50px rgba(80, 46, 45, .45);
}
.mv-tabs .c { color: var(--maroon); opacity: .45; }
.mv-tabs__list { display: flex; gap: 22px; border-bottom: 1px solid var(--line-wine); }
.mv-tabs__tab {
  position: relative;
  padding: 12px 0;
  margin-top: -12px;
  border: 0;
  background: none;
  cursor: pointer;
  font: 700 .66rem/1 var(--sans);
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .4s;
}
.mv-tabs__tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.mv-tabs__tab.is-active { color: var(--maroon); }
.mv-tabs__tab.is-active::after { transform: scaleX(1); }
.mv-tabs__tab:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.mv-tabs__panel { margin-top: 16px; color: var(--muted); font-size: .92rem; line-height: 1.75; }
.mv-tabs__panel.is-active { animation: tabIn .6s var(--ease); }
@keyframes tabIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Pilares */
.pslider {
  background: var(--charcoal);
  color: var(--cream);
  padding: 26px 24px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  box-shadow: 0 40px 70px -40px rgba(18, 17, 17, .6);
  overflow: hidden;
  touch-action: pan-y;
  transition-delay: .1s;
}
.pslider .c { color: var(--gold); opacity: .75; }
.pslider__title { font-size: .62rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.pslider__track { list-style: none; margin: 0; padding: 0; position: relative; flex: 1; min-height: 128px; }
.pslide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateX(28px);
  transition: opacity .6s var(--ease), transform .7s var(--ease);
  pointer-events: none;
}
.pslide.is-active { opacity: 1; transform: none; pointer-events: auto; }
.pslide.is-leaving { opacity: 0; transform: translateX(-28px); }
.pslide__n { font-family: var(--serif); font-size: .95rem; color: var(--gold); }
.pslide__tag { margin-top: 4px; font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.pslide__name {
  margin: 6px 0 0;
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  letter-spacing: .12em;
  text-transform: uppercase;
  background: linear-gradient(180deg, var(--cream) 20%, #c9b089 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pslide__text { margin-top: 8px; max-width: 280px; font-size: .82rem; line-height: 1.55; color: var(--light-muted); font-weight: 300; }
.pslider__nav { display: flex; align-items: center; justify-content: center; gap: 14px; }
.pslider__arrow {
  width: 34px; height: 34px;
  border: 1px solid var(--line-gold);
  border-radius: 50%;
  background: none;
  color: var(--gold);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  transition: background .4s, color .4s;
}
.pslider__arrow:hover { background: var(--gold); color: var(--ink); }
.pslider__dots { display: flex; }
/* Zona de toque de 24 px con el punto visible dibujado dentro */
.pslider__dots button { position: relative; width: 24px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; transition: width .5s var(--ease); }
.pslider__dots button::before { content: ""; position: absolute; left: 9px; right: 9px; top: 50%; height: 6px; margin-top: -3px; border-radius: 3px; background: rgba(240, 225, 202, .25); transition: background .5s; }
.pslider__dots button.is-active { width: 34px; }
.pslider__dots button.is-active::before { background: var(--gold); }
.pslider__arrow:focus-visible, .pslider__dots button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Certificado halal */
.halal-cert { margin: 0; position: relative; display: flex; flex-direction: column; width: 178px; }
.halal-cert__open {
  position: relative;
  display: block;
  padding: 6px;
  border: 1px solid var(--line-gold);
  background: #fff;
  cursor: zoom-in;
  box-shadow: 0 30px 60px -40px rgba(80, 46, 45, .55);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.halal-cert__open img { width: 100%; height: auto; display: block; }
.halal-cert__open:hover { transform: translateY(-3px); box-shadow: 0 40px 70px -40px rgba(80, 46, 45, .7); }
.halal-cert__open:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.halal-cert__zoom {
  position: absolute;
  left: 6px; right: 6px; bottom: 6px;
  padding: 8px 6px;
  background: rgba(29, 29, 29, .82);
  color: var(--gold-soft);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-align: center;
  opacity: 0;
  transition: opacity .4s;
}
.halal-cert__open:hover .halal-cert__zoom, .halal-cert__open:focus-visible .halal-cert__zoom { opacity: 1; }
.halal-cert__cap { display: none; }

.cert-dialog {
  max-width: min(92vw, 640px);
  max-height: 92vh;
  padding: 0;
  border: 1px solid var(--gold);
  background: #fff;
  overflow: auto;
}
.cert-dialog::backdrop { background: rgba(18, 17, 17, .86); backdrop-filter: blur(4px); }
.cert-dialog img { display: block; width: 100%; height: auto; }
.cert-dialog[open] { animation: certIn .45s var(--ease); }
@keyframes certIn { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
.cert-dialog__close {
  position: sticky;
  top: 8px;
  float: right;
  margin: 8px 8px -52px 0;
  z-index: 1;
  width: 44px; height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--charcoal);
  color: var(--cream);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.cert-dialog__close:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ==========================================================
   PLATOS — marcos listos para las fotos
   ========================================================== */
.dishes {
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(91, 55, 55, .35), transparent 70%),
    var(--charcoal);
}
.dishes .container { position: relative; z-index: 2; }
.dish-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.9fr;
  grid-template-rows: clamp(220px, 24vw, 330px) clamp(220px, 24vw, 330px);
  grid-template-areas:
    "pescado pescado bebida"
    "quipes croqueta bebida";
  gap: clamp(10px, 1.6vw, 18px);
}
.dish-slot--pescado { grid-area: pescado; }
.dish-slot--bebida { grid-area: bebida; }
.dish-slot--quipes { grid-area: quipes; }
.dish-slot--croqueta { grid-area: croqueta; }
.dish-slot--pescado img { object-position: center 45%; }
.dish-slot--quipes img { object-position: 45% 40%; }
.dish-slot {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--charcoal-2);
  border: 1px solid var(--line-gold);
}
.dish-slot::after { content: ""; position: absolute; z-index: 2; inset: 8px; border: 1px solid rgba(212, 166, 96, .14); pointer-events: none; transition: inset .8s var(--ease), border-color .8s; }
.dish-slot:hover::after { inset: 12px; border-color: rgba(240, 225, 202, .4); }
.dish-slot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease), scale 2.2s var(--ease); }
.dish-slot:hover img { transform: scale(1.05); }
.dish-slot::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 60%, rgba(18, 17, 17, .35)); pointer-events: none; }
.dish-grid .dish-slot:nth-child(2) { transition-delay: .1s; }
.dish-grid .dish-slot:nth-child(3) { transition-delay: .2s; }
.dish-grid .dish-slot:nth-child(4) { transition-delay: .3s; }
.dishes__cta { margin-top: clamp(36px, 5vw, 56px); text-align: center; }

/* ==========================================================
   RESERVA
   ========================================================== */
.reserve {
  color: var(--cream);
  background:
    radial-gradient(ellipse 70% 60% at 85% 15%, rgba(91, 55, 55, .42), transparent 70%),
    radial-gradient(ellipse 50% 50% at 0% 100%, rgba(65, 36, 20, .35), transparent 70%),
    var(--ink);
}
.reserve__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(48px, 8vw, 110px); align-items: center; }
.reserve__intro .script { font-size: clamp(3.4rem, 8vw, 5.4rem); }
.reserve__title { font-family: var(--sans); font-weight: 700; font-size: clamp(2.6rem, 6vw, 4.6rem); letter-spacing: .04em; text-transform: uppercase; line-height: 1; margin-top: -6px; }
.reserve__intro > p { margin-top: 26px; color: var(--light-muted); font-weight: 300; max-width: 420px; }
.reserve__phone { display: inline-flex; flex-direction: column; margin-top: 38px; padding: 18px 28px; border: 1px solid var(--line-gold); text-decoration: none; transition: border-color .5s, background .5s; }
.reserve__phone:hover { border-color: var(--gold); background: rgba(212, 166, 96, .06); }
.reserve__phone span { font-size: .64rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.reserve__phone strong { font-family: var(--serif); font-size: 2.4rem; font-weight: 400; line-height: 1.1; }

.rform {
  position: relative;
  background: rgba(38, 37, 36, .82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line-gold);
  padding: clamp(30px, 4.4vw, 52px);
  display: grid;
  gap: 22px;
}
.rform .c { width: 44px; height: 44px; margin: 8px; }
.rform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 8px; position: relative; }
.field > span { font-size: .64rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.field em { font-style: normal; color: var(--light-muted); letter-spacing: .06em; text-transform: none; font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%;
  font: 400 1rem var(--sans);
  color: var(--cream);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(240, 225, 202, .22);
  border-radius: 0;
  padding: 10px 2px;
  outline: none;
  color-scheme: dark;
  background-image: linear-gradient(var(--gold), var(--gold));
  background-size: 0 1px;
  background-position: left bottom;
  background-repeat: no-repeat;
  transition: background-size .6s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { background-size: 100% 1px; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 24px;
  background-image: linear-gradient(var(--gold), var(--gold)), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23d4a660' stroke-width='1.5'/%3E%3C/svg%3E");
  background-size: 0 1px, 12px 8px;
  background-position: left bottom, right 4px center;
}
.field select:focus { background-size: 100% 1px, 12px 8px; }
.field select option { background: var(--charcoal-2); color: var(--cream); }
.field textarea { resize: vertical; min-height: 64px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(240, 225, 202, .32); }
.field.has-error input, .field.has-error select { border-color: #d9776b; }
.rform__error { font-size: .85rem; color: #ec9e93; margin: -6px 0; }
.rform__error:empty { display: none; }

/* ==========================================================
   CUENTA COMERCIAL
   ========================================================== */
.biz {
  color: var(--cream);
  background:
    radial-gradient(ellipse 60% 70% at 100% 0%, rgba(212, 166, 96, .1), transparent 70%),
    linear-gradient(160deg, var(--wine-deep) 0%, var(--charcoal) 75%);
  padding-block: clamp(70px, 8vw, 120px);
}
.biz__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.biz__intro > p:last-child { margin-top: 20px; max-width: 400px; color: var(--light-muted); font-weight: 300; }
.bform { background: rgba(29, 29, 29, .7); }

/* ==========================================================
   VISÍTANOS
   ========================================================== */
.visit { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(48px, 8vw, 110px); align-items: start; }
.visit__block { margin-top: 38px; padding-top: 30px; border-top: 1px solid var(--line-wine); }
.visit__block h3 { font-size: .68rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--wine); margin-bottom: 12px; }
.visit__block p { font-size: 1.05rem; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: 12px 0; text-align: left; font-weight: 400; border-bottom: 1px dashed var(--line-wine); }
.hours td { text-align: right; font-family: var(--serif); font-size: 1.3rem; }
.hours tr.is-today th { font-weight: 600; color: var(--wine); }
.hours tr.is-today th::after { content: "Hoy"; margin-left: 10px; font-size: .58rem; letter-spacing: .22em; text-transform: uppercase; background: var(--wine); color: var(--cream); padding: 3px 8px; vertical-align: middle; }
.pay { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pay li { padding: 8px 15px; background: #fff; border: 1px solid var(--paper-2); font-size: .8rem; font-weight: 500; }

.visit { align-items: center; }
.visit__map { position: relative; aspect-ratio: 4 / 4.2; background: var(--paper-2); box-shadow: 0 50px 90px -60px rgba(80, 46, 45, .55); }
.visit__map::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(212, 166, 96, .5); pointer-events: none; }
.visit__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) sepia(.25) contrast(1.05); }

/* ==========================================================
   FOOTER
   ========================================================== */
.footer { position: relative; overflow: hidden; background: var(--ink); color: var(--light-muted); padding: clamp(90px, 12vw, 150px) 0 40px; text-align: center; }
.footer__inner { position: relative; z-index: 2; }
.footer__script { font-size: clamp(2.6rem, 6vw, 4rem); }
.footer__logo { width: 190px; height: auto; margin: 26px auto 0; }
.footer__tag { margin-top: 20px; font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--cream); }
.footer__social { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 36px; margin-top: 34px; }
.footer__social a { display: inline-flex; align-items: center; gap: 10px; padding: 8px 0; text-decoration: none; font-size: .88rem; transition: color .4s; }
.footer__social a:hover { color: var(--gold); }
.footer__copy { margin-top: 70px; padding-top: 26px; border-top: 1px solid rgba(240, 225, 202, .08); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 14px 34px -10px rgba(0, 0, 0, .6);
  transform: scale(0);
  transition: transform .7s var(--ease), background .4s;
}
.wa-float.is-visible { transform: scale(1); }
.wa-float:hover { background: var(--cream); }
.wa-float::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--gold); opacity: .5; animation: ring 2.6s var(--ease) infinite; }
@keyframes ring { from { transform: scale(.85); opacity: .7; } to { transform: scale(1.3); opacity: 0; } }

/* ==========================================================
   CARTA (menu.html)
   ========================================================== */
.page-hero {
  position: relative;
  min-height: clamp(340px, 52vh, 480px);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--cream);
  padding: calc(var(--nav-h) + 30px) 24px 60px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 70% 60% at 50% 30%, rgba(91, 55, 55, .45), transparent 70%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(212, 166, 96, .08), transparent 70%),
    var(--charcoal);
}
.page-hero .grain { z-index: 0; }
.page-hero__frame { position: absolute; inset: calc(var(--nav-h) + 4px) clamp(14px, 2.4vw, 28px) clamp(14px, 2.4vw, 28px); border: 1px solid var(--line-gold); pointer-events: none; z-index: 1; }
.page-hero__content { position: relative; z-index: 2; }
.page-hero .hero__eyebrow { margin-top: 0; }
.page-hero__title { margin-top: 14px; font-family: var(--serif); font-weight: 300; font-size: clamp(3.2rem, 9vw, 6.4rem); line-height: 1; letter-spacing: -.02em; }
.page-hero__title em { font-style: italic; color: var(--gold-soft); }
.page-hero__lead { margin: 18px auto 0; max-width: 460px; color: var(--light-muted); font-weight: 300; font-size: .95rem; }
.js .page-hero .hero__eyebrow, .js .page-hero__lead { opacity: 0; transform: translateY(16px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.is-ready .page-hero .hero__eyebrow { opacity: 1; transform: none; transition-delay: .1s; }
.is-ready .page-hero__lead { opacity: 1; transform: none; transition-delay: .6s; }
.is-ready .page-hero__title .w > span { transform: none; transition-delay: calc(.25s + var(--i) * 80ms); }

/* Barra de categorías fija bajo el menú */
.menu-chips {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(29, 29, 29, .94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-gold);
  transition: top .6s var(--ease);
}
.nav.is-scrolled:not(.is-hidden) ~ main .menu-chips { top: 70px; }
.menu-chips__track {
  position: relative;
  display: flex;
  gap: 6px;
  width: min(1200px, 100% - 32px);
  margin-inline: auto;
  padding: 10px 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
}
.menu-chips__track::-webkit-scrollbar { display: none; }
.menu-chips a {
  flex: none;
  scroll-snap-align: start;
  padding: 9px 16px;
  border: 1px solid transparent;
  border-radius: 40px;
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--light-muted);
  white-space: nowrap;
  transition: color .4s, border-color .4s, background .4s;
}
.menu-chips a:hover { color: var(--cream); }
.menu-chips a.is-current { color: var(--ink); background: var(--gold); border-color: var(--gold); }

/* Herramientas de la carta: buscador e idioma */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.menu-tools { display: flex; align-items: center; gap: 10px; width: min(1200px, 100% - 32px); margin-inline: auto; padding: 10px 0 0; }
.menu-search {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  height: 40px;
  border: 1px solid var(--line-gold);
  border-radius: 40px;
  color: var(--gold);
  background: rgba(255, 255, 255, .03);
  transition: border-color .4s;
}
.menu-search:focus-within { border-color: var(--gold); }
.menu-search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  background: none;
  outline: none;
  color: var(--cream);
  font: 400 16px var(--sans);
}
.menu-search input::placeholder { color: rgba(240, 225, 202, .45); }
.menu-search input::-webkit-search-cancel-button { filter: invert(.8) sepia(.4); }
.menu-lang { display: flex; border: 1px solid var(--line-gold); border-radius: 40px; overflow: hidden; flex: none; }
.menu-lang button { height: 38px; min-width: 42px; padding: 0 10px; border: 0; background: none; color: var(--light-muted); font: 600 .68rem var(--sans); letter-spacing: .14em; cursor: pointer; transition: background .3s, color .3s; }
.menu-lang button[aria-pressed="true"] { background: var(--gold); color: var(--ink); }
.menu-lang button:focus-visible, .menu-search:focus-within { outline: 2px solid var(--gold); outline-offset: 2px; }
.menu-empty { padding: 60px 24px; text-align: center; font-family: var(--serif); font-size: 1.4rem; color: var(--muted); background: var(--paper); }
html:not([data-lang="en"]) .t-en { display: none; }
html[data-lang="en"] .t-es { display: none; }
.is-searching .lunch, .is-searching .menu-end { display: none; }
.dish.is-hidden, .menu-sec.is-hidden, .menu-sub.is-hidden { display: none; }

/* ===== Carta: un solo formato, fondo oscuro uniforme ===== */
.menu-v2 main { background: var(--charcoal); }
.menu-v2 .menu-chips { background: rgba(29, 29, 29, .96); }

/* Destacados: franja de fotos deslizable */
.menu-feat { padding: clamp(34px, 5vw, 56px) 0 clamp(28px, 4vw, 44px); background: var(--charcoal); border-bottom: 1px solid rgba(212, 166, 96, .14); }
.menu-feat__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.menu-feat__title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 3.4vw, 2.4rem); color: var(--cream); }
.menu-feat__hint { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--light-muted); }
.feat-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 0 max(24px, calc((100% - 1200px) / 2)) 6px;
  scroll-padding-inline: max(24px, calc((100% - 1200px) / 2));
}
.feat-track::-webkit-scrollbar { display: none; }
.feat {
  flex: 0 0 clamp(190px, 22vw, 250px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  padding: 0 0 14px;
  border: 1px solid var(--line-gold);
  background: var(--charcoal-2);
  color: var(--cream);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform .5s var(--ease), border-color .4s;
  -webkit-tap-highlight-color: transparent;
}
.feat:hover { transform: translateY(-3px); border-color: var(--gold); }
.feat:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.feat__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink); }
.feat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.feat:hover .feat__img img { transform: scale(1.06); }
.feat__cat { margin: 12px 14px 0; font-size: .56rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.feat__name { margin: 4px 14px 0; font-family: var(--serif); font-size: 1.18rem; line-height: 1.2; }
.feat__price { margin: 6px 14px 0; font-size: .86rem; font-weight: 600; color: var(--gold-soft); }

/* Categorías: encabezado a la izquierda con número de platos */
.menu-v2 .menu-sec { padding: clamp(44px, 5vw, 70px) 0 clamp(20px, 3vw, 36px); background: var(--charcoal); color: var(--cream); }
.menu-v2 .menu-sec + .menu-sec { border-top: 1px solid rgba(212, 166, 96, .12); }
.menu-sec__inner { max-width: 1060px; }
.menu-v2 .menu-sec__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; text-align: left; margin-bottom: 8px; padding-bottom: 14px; border-bottom: 1px solid var(--line-gold); }
.menu-v2 .menu-sec__title { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1; color: var(--cream); }
.menu-sec__meta { display: flex; align-items: center; gap: 12px; font-size: .62rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.menu-sec__count { padding: 5px 10px; border: 1px solid var(--line-gold); border-radius: 20px; letter-spacing: .14em; color: var(--light-muted); }
.menu-v2 .menu-sub { margin: 26px 0 0; font-size: .64rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }

/* Platos: todos en filas iguales */
.dlist { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(28px, 4vw, 56px); }
.dish { position: relative; }
.dish__open {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 96px;
  padding: 18px 0;
  border: 0;
  border-bottom: 1px solid rgba(212, 166, 96, .13);
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background .4s;
}
.dish__open:hover { background: linear-gradient(90deg, rgba(212, 166, 96, .06), transparent 70%); }
.dish__open:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.dish__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.dish__name { font-family: var(--serif); font-weight: 500; font-size: 1.26rem; line-height: 1.2; color: var(--cream); transition: color .3s; }
.dish__open:hover .dish__name { color: var(--gold-soft); }
.dish__desc { display: -webkit-box; margin-top: 5px; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .84rem; line-height: 1.5; color: rgba(240, 225, 202, .68); }
.dish__price { margin-top: 8px; font-size: .92rem; font-weight: 600; letter-spacing: .02em; color: var(--gold); }
.dish__img { flex: none; margin: 0; width: 104px; height: 104px; overflow: hidden; border-radius: 4px; background: var(--ink); border: 1px solid var(--line-gold); }
.dish__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.dish__open:hover .dish__img img { transform: scale(1.07); }
.dish.has-img .dish__name::after { content: ""; }

/* Bebidas con el mismo estilo oscuro */
.menu-v2 .mgroups { max-width: none; margin-top: 18px; }
.menu-v2 .mgroup__img { display: none; }
.menu-v2 .mgroup { background: var(--charcoal-2); border-color: var(--line-gold); }
.menu-v2 .mgroup__title { color: var(--gold); }
.menu-v2 .mgroup__list li { color: var(--cream); border-bottom-color: rgba(212, 166, 96, .1); }
.menu-v2 .mgroup__list b { color: var(--gold); }
.menu-v2 .mgroup__list .mitem__dots { flex: 1; min-width: 12px; border-bottom: 1px dotted rgba(212, 166, 96, .35); transform: translateY(-4px); }

/* Lunch más compacto */
.menu-v2 .lunch { padding: clamp(44px, 5vw, 70px) 0; }
.menu-v2 .lunch__price { font-size: clamp(3.4rem, 7vw, 5rem); }
.menu-v2 .lunch__opt figure { aspect-ratio: 16 / 10; }
.menu-v2 .menu-empty { background: var(--charcoal); color: var(--light-muted); }
.is-searching .menu-feat { display: none; }

/* Ficha del plato */
.dsheet {
  width: min(560px, 100%);
  max-width: 100%;
  max-height: 100%;
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cream);
  overflow: visible;
}
.dsheet::backdrop { background: rgba(18, 17, 17, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.dsheet__panel {
  position: relative;
  max-height: 92vh;
  max-height: 92dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--charcoal);
  border: 1px solid var(--line-gold);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .9);
}
.dsheet[open] .dsheet__panel { animation: sheetIn .55s var(--ease); }
@keyframes sheetUp { from { transform: translateY(100%); } to { transform: none; } }
@keyframes sheetIn { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
.dsheet__grab { display: none; }
.dsheet__close {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 2;
  width: 40px; height: 40px;
  border: 1px solid rgba(240, 225, 202, .25);
  border-radius: 50%;
  background: rgba(18, 17, 17, .65);
  color: var(--cream);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(6px);
}
.dsheet__img { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink); }
.dsheet__img img { width: 100%; height: 100%; object-fit: cover; }
.dsheet__body { padding: 26px 26px 22px; }
.dsheet__cat { font-size: .62rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.dsheet__name { margin-top: 8px; font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 6vw, 2.4rem); line-height: 1.1; padding-right: 30px; }
.dsheet__price { margin-top: 10px; font-family: var(--serif); font-size: 1.7rem; color: var(--gold-soft); }
.dsheet__price:empty { display: none; }
.dsheet__text p { margin-top: 14px; font-size: .95rem; line-height: 1.7; color: rgba(240, 225, 202, .82); }
.dsheet__text p[lang="en"] { font-style: italic; }
.dsheet__prices { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.dsheet__prices li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border: 1px solid var(--line-gold); font-size: .88rem; }
.dsheet__prices b { color: var(--gold); white-space: nowrap; }
.dsheet__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.dsheet__actions .btn { padding: 15px 12px; }
.dsheet__nav { display: flex; justify-content: space-between; margin-top: 16px; padding-top: 12px; border-top: 1px solid rgba(212, 166, 96, .15); }
.dsheet__step { min-height: 40px; padding: 0 4px; border: 0; background: none; color: var(--light-muted); font: 600 .66rem var(--sans); letter-spacing: .2em; text-transform: uppercase; cursor: pointer; }
.dsheet__step:hover { color: var(--gold); }
.dsheet__step[disabled] { visibility: hidden; }
.dsheet__close:focus-visible, .dsheet__step:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
body.has-sheet { overflow: hidden; }

/* Midwest Lunch */
.lunch {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 110px) 0;
  color: var(--cream);
  background:
    radial-gradient(ellipse 60% 70% at 0% 0%, rgba(212, 166, 96, .12), transparent 70%),
    linear-gradient(160deg, var(--wine) 0%, var(--wine-deep) 55%, var(--cafe) 100%);
}
.lunch::before { content: ""; position: absolute; inset: clamp(12px, 2vw, 22px); border: 1px solid rgba(232, 199, 143, .3); pointer-events: none; z-index: 1; }
.lunch__inner { position: relative; z-index: 2; display: grid; grid-template-columns: .8fr 1.6fr; gap: clamp(32px, 5vw, 70px); align-items: center; }
.lunch__title { margin-top: 14px; font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1; }
.lunch__price { margin-top: 18px; font-family: var(--serif); font-size: clamp(4.4rem, 9vw, 6.6rem); line-height: .9; color: var(--gold-soft); }
.lunch__price span { font-size: .45em; vertical-align: .9em; margin-right: 4px; }
.lunch__facts { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 8px; font-size: .9rem; color: rgba(240, 225, 202, .85); }
.lunch__facts li { padding-left: 18px; position: relative; }
.lunch__facts li::before { content: "✦"; position: absolute; left: 0; top: 1px; font-size: .62rem; color: var(--gold); }
.lunch__facts b { color: var(--cream); font-weight: 600; }
.lunch__pick, .lunch__desserts > p { font-size: .64rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.lunch__opts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.lunch__opt { position: relative; background: rgba(18, 17, 17, .35); border: 1px solid rgba(232, 199, 143, .22); padding: 10px 10px 16px; }
.lunch__opt figure { margin: 0 0 12px; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink); }
.lunch__opt img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.lunch__opt:hover img { transform: scale(1.06); }
.lunch__n { position: absolute; z-index: 1; top: 0; left: 0; width: 28px; height: 28px; display: grid; place-items: center; color: var(--ink); font-family: var(--serif); font-size: .95rem; font-weight: 600; isolation: isolate; }
.lunch__n::before { content: ""; position: absolute; inset: 4px; z-index: -1; background: var(--gold); transform: rotate(45deg); }
.lunch__opt h3 { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; line-height: 1.35; }
.lunch__opt p { margin-top: 4px; font-size: .8rem; color: var(--light-muted); }
.lunch__opts .lunch__opt:nth-child(2) { transition-delay: .08s; }
.lunch__opts .lunch__opt:nth-child(3) { transition-delay: .16s; }
.lunch__opts .lunch__opt:nth-child(4) { transition-delay: .24s; }
.lunch__desserts { margin-top: 22px; }
.lunch__desserts ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; }
.lunch__desserts li { display: flex; align-items: center; gap: 12px; padding: 6px 16px 6px 6px; border: 1px solid rgba(232, 199, 143, .22); background: rgba(18, 17, 17, .3); font-family: var(--serif); font-size: 1.15rem; }
.lunch__desserts img { width: 64px; height: 44px; object-fit: cover; }

/* Secciones de la carta */
.menu-sec { position: relative; padding: clamp(60px, 7vw, 100px) 0; }
.menu-sec--paper { background: var(--paper); }
.menu-sec--dark { background: var(--charcoal); color: var(--cream); }
.menu-sec__head { text-align: center; margin-bottom: clamp(32px, 4vw, 52px); }
.menu-sec__title { font-family: var(--serif); font-weight: 300; font-size: clamp(2.2rem, 4.6vw, 3.4rem); line-height: 1.05; color: var(--maroon); }
.menu-sec--dark .menu-sec__title { color: var(--cream); }
.menu-sec__en { margin-top: 6px; font-size: .64rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-deep); }
.menu-sec--dark .menu-sec__en { color: var(--gold); }
.menu-sec .flourish { margin-top: 14px; }
.menu-sec--dark .flourish { color: var(--gold); }

.menu-sub { grid-column: 1 / -1; margin: 18px 0 2px; font-size: .64rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-deep); }
.menu-sec--dark .menu-sub { color: var(--gold); }
.menu-sub:first-child { margin-top: 0; }


/* Bebidas en tarjetas compactas */
.mgroups { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 1200px; margin-inline: auto; align-items: start; }
.mgroup { position: relative; padding: 24px 20px 18px; border: 1px solid var(--line-gold); background: rgba(255, 255, 255, .02); }
.menu-sec--paper .mgroup { background: #fff; border-color: var(--line-wine); }
.mgroup__img { margin: -24px -20px 18px; height: 150px; overflow: hidden; background: var(--ink); }
.mgroup__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 12%; }
.mgroup__title { font-size: .66rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.menu-sec--paper .mgroup__title { color: var(--gold-deep); }
.mgroup__list { list-style: none; margin: 0; padding: 0; }
.mgroup__list li { display: flex; align-items: baseline; gap: 8px; padding: 7px 0; font-size: .86rem; border-bottom: 1px solid rgba(212, 166, 96, .1); }
.mgroup__list li:last-child { border-bottom: 0; }
.mgroup__list b { font-weight: 600; color: var(--gold); white-space: nowrap; font-size: .82rem; }
.menu-sec--paper .mgroup__list b { color: var(--gold-deep); }
.mgroups .mgroup:nth-child(2) { transition-delay: .08s; }
.mgroups .mgroup:nth-child(3) { transition-delay: .16s; }
.mgroups .mgroup:nth-child(4) { transition-delay: .24s; }

/* Cierre de la carta */
.menu-end { padding: clamp(70px, 8vw, 110px) 0; text-align: center; background: var(--ink); color: var(--cream); }
.menu-end__title { font-family: var(--serif); font-weight: 300; font-size: clamp(2.2rem, 5vw, 3.2rem); line-height: 1.1; }
.menu-end__title em { font-style: italic; color: var(--gold-soft); }
.menu-end__text { margin: 12px 0 28px; color: var(--light-muted); font-weight: 300; }

/* Aviso del lunch en el inicio */
.lunch-teaser {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(16px, 3vw, 34px);
  align-items: center;
  margin-top: clamp(28px, 4vw, 44px);
  padding: clamp(20px, 3vw, 30px) clamp(22px, 3.4vw, 40px);
  text-decoration: none;
  color: var(--cream);
  background: linear-gradient(120deg, var(--wine) 0%, var(--wine-deep) 70%, var(--cafe) 100%);
  border: 1px solid rgba(232, 199, 143, .3);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.lunch-teaser:hover { transform: translateY(-3px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.lunch-teaser__price { font-family: var(--serif); font-size: clamp(3rem, 6vw, 4.2rem); line-height: .9; color: var(--gold-soft); }
.lunch-teaser__price small { font-size: .45em; vertical-align: .9em; margin-right: 2px; }
.lunch-teaser__title { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 400; line-height: 1.1; }
.lunch-teaser__text { margin-top: 6px; font-size: .84rem; color: rgba(240, 225, 202, .78); }
.lunch-teaser__go { font-size: .66rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
.lunch-teaser__go span { display: inline-block; transition: transform .4s var(--ease); }
.lunch-teaser:hover .lunch-teaser__go span { transform: translateX(6px); }
.dishes__cta .btn + .btn { margin-left: 12px; }
.visit__note { margin-top: 12px; font-size: .86rem; color: var(--muted); }
.visit__note b { color: var(--maroon); font-weight: 600; }
.reserve__private { margin-top: 18px; font-size: .84rem; color: var(--light-muted); }
.reserve__private a { display: inline-block; padding: 6px 0; color: var(--gold); text-decoration: none; background: linear-gradient(rgba(212, 166, 96, .4), rgba(212, 166, 96, .4)) left calc(100% - 4px) / 100% 1px no-repeat; }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1080px) {
}

@media (max-width: 1080px) {
  .lunch__inner { grid-template-columns: 1fr; }
  .lunch__intro { text-align: center; }
  .lunch__intro .eyebrow { justify-content: center; }
  .lunch__facts { justify-content: center; text-align: left; width: fit-content; margin-inline: auto; }
  .lunch__pick, .lunch__desserts > p { text-align: center; }
  .lunch__desserts ul { justify-content: center; }
  .mgroups { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .dlist { grid-template-columns: 1fr; }
  .biz__inner { grid-template-columns: 1fr; }
  .biz__intro { text-align: center; }
  .biz__intro .eyebrow { justify-content: center; }
  .biz__intro > p:last-child { margin-inline: auto; }
  .essence__grid { grid-template-columns: 1fr 1fr; }
  .halal-cert {
    grid-column: 1 / -1;
    width: auto;
    flex-direction: row;
    align-items: center;
    gap: 18px;
    padding: 12px 18px 12px 12px;
    background: #fff;
    border: 1px solid var(--line-gold);
    box-shadow: 0 30px 60px -45px rgba(80, 46, 45, .5);
  }
  .halal-cert__open { flex: none; width: 92px; padding: 3px; box-shadow: none; }
  .halal-cert__zoom { display: none; }
  .halal-cert__cap { display: grid; gap: 3px; font-size: .8rem; color: var(--muted); line-height: 1.45; }
  .halal-cert__cap b { font-size: .66rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--maroon); }
  .halal-cert__by { color: var(--gold-deep); font-weight: 600; }
  .halal-cert { cursor: pointer; }
  .halal-cert__more { margin-top: 4px; font-size: .62rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--maroon); }
  :root { --nav-h: 72px; }
  .nav__toggle {
    display: grid;
    gap: 7px;
    width: 44px; height: 44px;
    place-content: center;
    background: none;
    border: 0;
    cursor: pointer;
    z-index: 2;
  }
  .nav__toggle span { width: 26px; height: 1.5px; background: var(--cream); transition: transform .5s var(--ease); }
  .nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  .nav__links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 22px;
    background: var(--charcoal);
    clip-path: circle(0 at calc(100% - 46px) 36px);
    transition: clip-path .9s var(--ease-in-out);
  }
  .nav__links.is-open { clip-path: circle(150% at calc(100% - 46px) 36px); }
  .nav__links a:not(.btn) { font-family: var(--serif); font-size: 2.3rem; font-weight: 300; letter-spacing: 0; text-transform: none; overflow: hidden; }
  .nav__links a > span { display: inline-block; transform: translateY(110%); transition: transform .8s var(--ease); }
  .nav__links.is-open a > span { transform: none; }
  .nav__links.is-open a:nth-child(1) > span { transition-delay: .25s; }
  .nav__links.is-open a:nth-child(2) > span { transition-delay: .31s; }
  .nav__links.is-open a:nth-child(3) > span { transition-delay: .37s; }
  .nav__links.is-open a:nth-child(4) > span { transition-delay: .43s; }
  .nav__links.is-open a:nth-child(5) > span { transition-delay: .49s; }
  .nav__links.is-open a:nth-child(6) > span { transition-delay: .55s; }
  .nav__cta { margin-top: 14px; }
  .nav__brand { z-index: 2; }
  .nav__brand img { width: 88px; }

  .reserve__inner, .visit { grid-template-columns: 1fr; }
  .visit__map { aspect-ratio: 4 / 3.4; }

  .hero__foot { width: calc(100% - 64px); }
}

@media (max-width: 620px) {
  .dlist { grid-template-columns: 1fr; }
  .dish__open { gap: 14px; min-height: 0; padding: 16px 0; }
  .dish__name { font-size: 1.14rem; }
  .dish__desc { font-size: .8rem; }
  .dish__img { width: 88px; height: 88px; }
  .feat { flex-basis: 66vw; }
  .feat-track { padding-inline: 16px; scroll-padding-inline: 16px; gap: 10px; }
  .menu-feat__hint { display: none; }
  .menu-v2 .menu-sec__head { align-items: baseline; }
  .menu-tools { width: calc(100% - 24px); }
  .dsheet { width: 100%; margin: auto 0 0; }
  .dsheet__panel { max-height: 90vh; max-height: 90dvh; border-width: 1px 0 0; border-radius: 18px 18px 0 0; padding-bottom: env(safe-area-inset-bottom); }
  .dsheet[open] .dsheet__panel { animation: sheetUp .5s var(--ease); }
  .dsheet__grab { display: block; position: absolute; top: 8px; left: 50%; z-index: 3; width: 42px; height: 4px; margin-left: -21px; border-radius: 4px; background: rgba(240, 225, 202, .55); }
  .dsheet__img { border-radius: 18px 18px 0 0; aspect-ratio: 16 / 11; }
  .dsheet__body { padding: 20px 20px 18px; }
  .dsheet__actions { grid-template-columns: 1fr; }
  .mgroups { grid-template-columns: 1fr; }
  .lunch__opts { grid-template-columns: 1fr 1fr; gap: 10px; }
  .lunch__opt { padding: 8px 8px 12px; }
  .lunch__opt h3 { font-size: .7rem; }
  .lunch__desserts li { font-size: 1rem; padding-right: 12px; }
  .lunch__desserts img { width: 52px; height: 38px; }
  .lunch-teaser { grid-template-columns: auto 1fr; }
  .lunch-teaser__go { grid-column: 1 / -1; }
  .dishes__cta .btn { width: 100%; }
  .dishes__cta .btn + .btn { margin: 10px 0 0; }
  .container { width: calc(100% - 32px); }
  .hero__title { font-size: clamp(2.7rem, 13vw, 3.6rem); }
  .hero__eyebrow { letter-spacing: .3em; font-size: .64rem; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__lead { font-size: .95rem; }
  .c { width: 34px; height: 34px; }
  .section { padding: 76px 0; }
  .section__head { margin-bottom: 40px; }
  .h2 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .essence__grid { grid-template-columns: 1fr; gap: 12px; }
  .mv-tabs, .pslider { min-height: 0; }
  .mv-tabs { padding: 24px 22px 22px; }
  .mv-tabs__panel { font-size: .88rem; }
  .pslider__track { min-height: 118px; }
  .dish-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      "pescado pescado"
      "quipes bebida"
      "croqueta croqueta";
  }
  .dish-slot--pescado { aspect-ratio: 16 / 9.5; }
  .dish-slot--quipes, .dish-slot--bebida { aspect-ratio: 1 / 1.15; }
  .dish-slot--croqueta { aspect-ratio: 2 / 1; }
  .dish-grid { gap: 10px; }
  .reserve__intro { text-align: center; }
  .reserve__intro > p { margin-inline: auto; }
  .reserve__phone { align-items: center; }
  .rform { padding: 26px 20px; gap: 18px; }
  .visit__block { margin-top: 28px; padding-top: 22px; }
  .footer { padding-top: 76px; }
  .footer__copy { margin-top: 44px; }
  .rform__row { grid-template-columns: 1fr; }
  .hours th, .hours td { display: block; text-align: left; border: 0; padding: 2px 0; }
  .hours tr { display: block; padding: 12px 0; border-bottom: 1px dashed var(--line-wine); }
  .wa-float { width: 50px; height: 50px; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); }
}

/* ---------- Teléfono en horizontal (pantallas bajas) ---------- */
@media (max-height: 520px) and (orientation: landscape) {
  .hero { height: auto; min-height: 100svh; padding: calc(var(--nav-h) + 14px) 0 64px; }
  .hero__frame { inset: calc(var(--nav-h) + 2px) 12px 10px; }
  .hero__eyebrow { margin-top: 12px; }
  .hero__title { font-size: clamp(2rem, 7vh, 2.8rem); margin-top: 8px; }
  .hero__lead { margin-top: 10px; font-size: .88rem; }
  .hero__actions { margin-top: 16px; }
  .hero__actions .btn { flex: 0 0 auto; padding: 13px 22px; }
  .hero__foot { bottom: 16px; }
  .page-hero { min-height: 0; padding: calc(var(--nav-h) + 24px) 24px 40px; }
  .page-hero__title { font-size: clamp(2.4rem, 12vh, 3.4rem); }
  .cert-dialog { max-height: 94vh; max-width: min(92vw, 360px); }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
  .hero__video { transition: none; transform: scale(1.02); }
}
