/* ============================================================
   INFINITY BISTRO — ESTILOS
   Mobile-first · Platinum dark · Inter
   ============================================================ */

:root {
  /* Platinum Design System */
  --onyx:    #0A0C10;
  --carbon:  #0D0F14;
  --slate:   #14171C;
  --steel:   #7A8494;
  --platinum:#B8C0CC;
  --silver:  #DCE2EA;
  --pearl:   #F7F9FC;
  --ice-100: #E4EBF5;
  --ice-300: #B4C4DB;
  --ice-500: #6F8AB0;
  --ice-steel:#6F8AB0;

  /* Variables base (mapeadas al sistema frío) */
  --wood-0: #0A0C10;
  --wood-1: #14171C;
  --wood-2: #1A1D24;
  --wood-3: #232830;
  --gold:   #B4C4DB;
  --gold-2: #DCE2EA;
  --gold-3: #6F8AB0;
  --gold-gradient: linear-gradient(180deg, #DCE2EA, #B4C4DB 45%, #6F8AB0);
  --red:    #6F8AB0;
  --red-2:  #B4C4DB;
  --red-deep:#2A3F5C;
  --red-gradient: linear-gradient(135deg, #6F8AB0, #2A3F5C);
  --green-gradient: linear-gradient(135deg, #7AB07A, #4D8C4D);
  --cream:  #F7F9FC;
  --muted:  #B8C0CC;
  --line:   rgba(220,226,234,0.12);
  --card:   rgba(26,29,36,0.78);
  --ok:     #7AB07A;
  --shadow: 0 18px 40px -12px rgba(0,0,0,0.7);
  --r:      12px;
  --m-text: #E4EBF5;
  --font-display: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif:   "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:    "Courier New", monospace;
  --font-sans:    system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body { min-height: 100%; }

a {
  color: inherit;
  text-decoration: none;
}
a:hover, a:focus, a:active {
  color: inherit;
  text-decoration: none;
}

body {
  font-family: var(--font-body);
  color: var(--cream);
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(111,138,176,.20), transparent 60%),
    radial-gradient(90% 60% at 50% 110%, rgba(220,226,234,.10), transparent 60%),
    linear-gradient(160deg, var(--wood-2), var(--wood-0) 60%);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  overflow-x: hidden;
}

/* Marco tipo teléfono en pantallas grandes */
.app-shell {
  width: 100%;
  max-width: 460px;
  min-height: 100vh;
  position: relative;
  background:
    radial-gradient(120% 50% at 50% 0%, rgba(184,192,204,0.06), transparent 70%),
    radial-gradient(120% 50% at 50% 100%, rgba(111,138,176,0.06), transparent 70%),
    linear-gradient(180deg, var(--wood-1), var(--wood-0));
  overflow-x: hidden;
}
body.bg-A .app-shell { --bg-lena: none; }
body.bg-D .app-shell { --bg-lena: none; }
@media (min-width: 540px) {
  body { padding: 24px 0; align-items: flex-start; }
  .app-shell {
    min-height: calc(100vh - 48px);
    border-radius: 24px;
    box-shadow: var(--shadow), 0 0 0 0.5px rgba(220,226,234,0.10);
    overflow: hidden;
  }
}

/* Sin textura (brand-overrides la elimina de todas formas) */
.app-shell::before {
  content: none;
  display: none;
}

#app { position: relative; z-index: 1; min-height: 100vh; display: flex; flex-direction: column; }

/* ---------- TIPOGRAFÍA ---------- */
.display { font-family: var(--font-display); letter-spacing: .04em; }
.gold-text {
  background: linear-gradient(180deg, var(--gold-2), var(--gold) 45%, var(--gold-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 1px 0 rgba(0,0,0,.3);
}
h1 { font-size: 1.9rem; line-height: 1.1; }
h2 { font-size: 1.35rem; }
.eyebrow { font-size: .72rem; letter-spacing: .35em; text-transform: uppercase; color: var(--gold); opacity: .8; }
.sub { color: var(--muted); font-size: .95rem; line-height: 1.5; }
.tiny { font-size: .72rem; color: var(--muted); }

/* ---------- LAYOUT / SCREENS ---------- */
.screen { flex: 1; display: flex; flex-direction: column; padding: 22px 20px 28px; animation: fadeUp .45s ease both; position: relative; }

/* Hero de la bienvenida */
.splash-bg {
  position: absolute; inset: 0; z-index: -1; overflow: hidden;
  background: url("../assets/img/hero-bienvenida.jpg") center/cover no-repeat;
}
.splash-bg .splash-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.splash-bg::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg,
    rgba(11,8,7,.62), rgba(11,8,7,.28) 38%,
    rgba(11,8,7,.55) 62%, rgba(11,8,7,.92) 85%, var(--wood-0));
}

/* Portada compacta */
.splash-screen {
  padding: 16px 20px 20px !important;
  justify-content: space-between;
}
.splash-screen .logo-wrap { margin-top: 0px !important; }
.splash-screen .logo { max-width: 220px !important; transition: max-width 0.3s ease; }
.splash-screen .ember { width: 170px; height: 170px; top: 15px; }
.splash-screen .eyebrow { margin-top: 10px !important; font-size: 0.68rem; }
.splash-screen h1 { font-size: 1.65rem; margin: 2px 0 4px !important; }
.splash-screen .sub { font-size: 0.88rem; line-height: 1.45; max-width: 280px !important; }
.splash-screen .btn { padding: 13px 16px !important; }
.splash-screen .btn-ghost { padding: 8px !important; margin-top: 2px; }
.splash-screen .grow { flex: 0.3 !important; }
.splash-screen .grow:last-of-type { flex: 0.15 !important; }
.splash-screen .grow:first-of-type { flex: 0.12 !important; }

@media (min-height: 740px) {
  .splash-screen { padding: 24px 20px 28px !important; }
  .splash-screen .logo-wrap { margin-top: 10px !important; }
  .splash-screen .logo { max-width: 280px !important; }
  .splash-screen .ember { width: 220px; height: 220px; top: 20px; }
  .splash-screen h1 { font-size: 1.9rem; }
  .splash-screen .sub { font-size: 0.95rem; }
  .splash-screen .btn { padding: 16px 18px !important; }
  .splash-screen .grow { flex: 1 !important; }
  .splash-screen .grow:first-of-type { flex: 0.5 !important; }
}

/* Banner de ofertas */
.offers-banner {
  position: relative; height: 132px; border-radius: 4px; overflow: hidden;
  border: 1px solid rgba(216,167,62,.3); margin-bottom: 18px;
  background: url("../assets/img/banner-ofertas.png") center/cover no-repeat;
  box-shadow: var(--shadow);
}
.offers-banner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,8,7,.15) 35%, rgba(11,8,7,.78));
}
.offers-banner .ob-text {
  position: absolute; left: 14px; bottom: 10px; z-index: 1;
  font-family: var(--font-serif); font-style: italic; font-size: .9rem; color: var(--cream);
  text-shadow: 0 2px 6px rgba(0,0,0,.8);
}
.screen-pad { display: none; }
.grow { flex: 1; }
.center { align-items: center; text-align: center; justify-content: center; }
.stack { display: flex; flex-direction: column; gap: 14px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px);} to {opacity:1; transform:none;} }

/* ---------- TOP BAR ---------- */
.topbar {
  position: sticky; top: 0; height: 58px; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 14px;
  background: rgba(11, 8, 7, 0.93);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(216, 167, 62, 0.15);
  margin-left: -20px; margin-right: -20px; margin-top: -22px; margin-bottom: 14px;
}
.lang-btn {
  font-family: var(--font-body); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-2);
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line);
  border-radius: 8px; padding: 6px 12px; cursor: pointer; margin-right: 8px;
  transition: all 0.15s ease; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
}
.lang-btn:active { transform: scale(0.93); background: rgba(216, 167, 62, 0.12); }
.lang-float {
  position: absolute; top: 14px; right: 14px; z-index: 100;
  font-family: var(--font-body); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-2);
  background: rgba(11, 8, 7, 0.75); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: 6px; padding: 8px 14px; cursor: pointer;
  transition: all 0.15s ease;
}
.lang-float:active { transform: scale(0.93); }
.tb-right { display: flex; align-items: center; }
.iconbtn {
  width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line);
  background: rgba(255,255,255,.04); color: var(--cream); font-size: 1.1rem;
  display: grid; place-items: center; cursor: pointer; transition: .15s;
}
.iconbtn:active { transform: scale(.92); }
.topbar .title { font-family: var(--font-display); font-size: 1rem; letter-spacing: .15em; color: var(--gold); }
.topbar .tlogo { height: 34px; filter: drop-shadow(0 3px 8px rgba(0,0,0,.7)); }

/* ---------- COMPONENTES DE MARCA ---------- */
.rb {
  background: linear-gradient(180deg, #cf3d34, #ab251c 55%, #8e1a12);
  border: 1px solid rgba(0,0,0,.4);
  box-shadow: 0 3px 12px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.16);
  color: #f7ecd9; text-align: center;
  padding: 11px 18px; margin: 4px 0 16px;
  font-family: var(--font-display); font-size: 1.08rem; letter-spacing: .1em;
  border-radius: 3px; position: relative;
}
.rb .en {
  display: block; font-family: var(--font-serif); font-style: italic;
  font-size: .82rem; letter-spacing: .06em; color: rgba(247,236,217,.82); margin-top: 2px;
}

/* Esquinas doradas */
.corners { position: relative; }
.corners::before, .corners::after {
  content: ""; position: absolute; width: 14px; height: 14px;
  pointer-events: none; z-index: 2; animation: cornersPulse 3.5s infinite ease-in-out;
}
.corners::before { top: -1px; left: -1px; border-top: 2px solid var(--gold); border-left: 2px solid var(--gold); }
.corners::after { bottom: -1px; right: -1px; border-bottom: 2px solid var(--gold); border-right: 2px solid var(--gold); animation-delay: 1.75s; }
@keyframes cornersPulse {
  0%, 100% { border-color: var(--gold); filter: drop-shadow(0 0 1px rgba(216, 167, 62, 0.4)); opacity: 0.85; }
  50% { border-color: var(--gold-2); filter: drop-shadow(0 0 6px rgba(244, 210, 122, 0.85)); opacity: 1; }
}

/* Íconos */
.ic { width: 26px; height: 26px; color: var(--gold-2); flex-shrink: 0; }
.ic-lg { width: 34px; height: 34px; }

/* ---------- LOGO ---------- */
.logo { width: 100%; max-width: 300px; display: block; filter: drop-shadow(0 10px 24px rgba(0,0,0,.6)); }
.logo-wrap { position: relative; display: grid; place-items: center; }
.ember {
  position: absolute; width: 220px; height: 220px; top: -10px; border-radius: 50%;
  background: radial-gradient(circle, rgba(226,69,60,.55), rgba(216,167,62,.2) 45%, transparent 70%);
  filter: blur(14px); animation: flicker 3.2s ease-in-out infinite; z-index: -1;
}
@keyframes flicker { 0%,100%{opacity:.65; transform:scale(1);} 50%{opacity:1; transform:scale(1.08);} }

/* ---------- BOTONES ---------- */
.btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 16px 18px; border-radius: 6px; border: none;
  font-family: var(--font-body); font-size: .88rem; font-weight: 600;
  letter-spacing: .09em; text-transform: uppercase;
  cursor: pointer; transition: transform .12s, box-shadow .2s, filter .2s;
  text-decoration: none !important;
}
.btn:active { transform: scale(.97); }
.btn-gold {
  background: linear-gradient(180deg, var(--gold-2), var(--gold) 55%, var(--gold-3));
  color: #2a1a08; box-shadow: 0 10px 22px -8px rgba(216,167,62,.7);
}
.btn-gold:hover { filter: brightness(1.05); }
.btn-red {
  background: linear-gradient(180deg, var(--red-2), var(--red) 60%, var(--red-deep));
  color: #fff; box-shadow: 0 10px 22px -8px rgba(200,48,42,.6);
}
.btn-outline { background: rgba(255,255,255,.03); color: var(--cream); border: 1px solid var(--line); }
.btn-wa { background: linear-gradient(180deg, #28c266, #1fa653); color: #fff; box-shadow: 0 10px 22px -8px rgba(37,211,102,.5); }
.btn-ghost { background: transparent; color: var(--muted); border: none; padding: 12px; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ---------- TARJETAS / HUB ---------- */
.card {
  background: linear-gradient(180deg, rgba(36,26,17,.78), rgba(20,16,11,.82));
  border: 1px solid rgba(216,167,62,.32); border-radius: 3px;
  padding: 16px; backdrop-filter: blur(6px);
  box-shadow: 0 6px 18px -8px rgba(0,0,0,.6);
}
.hub-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hub-card {
  background: linear-gradient(180deg, rgba(36,26,17,.80), rgba(20,16,11,.85));
  border: 1px solid rgba(216,167,62,.32); border-radius: 3px;
  padding: 14px 12px; text-align: left; cursor: pointer; position: relative;
  min-height: 102px; display: flex; flex-direction: column; justify-content: space-between;
  transition: transform .15s, border-color .2s; overflow: hidden;
  box-shadow: 0 5px 14px -8px rgba(0,0,0,.6); text-decoration: none !important;
}
.hub-card, .hub-card * { text-decoration: none !important; }
.hub-card:active { transform: scale(.97); }
.hub-card .emoji { font-size: 1.6rem; }
.hub-card .ic { width: 26px; height: 26px; margin-bottom: 8px; }
.hub-card.wide .ic { margin-bottom: 0; }
.hub-card .h { font-family: var(--font-serif); font-weight: 700; font-size: 1.06rem; line-height: 1.15; color: var(--cream); }
.hub-card .d { font-family: var(--font-serif); font-style: italic; font-size: .78rem; color: var(--muted); margin-top: 2px; }
.hub-card.wide { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 14px; min-height: auto; }
.hub-card.feature { border-color: rgba(216,167,62,.55); background: linear-gradient(135deg, rgba(216,167,62,.22), rgba(36,26,17,.82)); }
.hub-card.fire { border-color: rgba(200,48,42,.55); background: linear-gradient(135deg, rgba(200,48,42,.24), rgba(36,26,17,.82)); }

/* ---------- OPCIONES ---------- */
.option {
  display: flex; align-items: center; gap: 14px; width: 100%;
  padding: 16px; border-radius: 3px; border: 1px solid rgba(216,167,62,.32);
  background: linear-gradient(180deg, rgba(36,26,17,.80), rgba(20,16,11,.85));
  color: var(--cream); font-family: var(--font-serif);
  font-size: 1.1rem; font-weight: 600; cursor: pointer; transition: .15s; text-align: left;
  box-shadow: 0 5px 14px -8px rgba(0,0,0,.6);
}
.option:active { transform: scale(.98); }
.option.sel, .option:hover { border-color: var(--gold); background: rgba(216,167,62,.12); }
.option .emoji { font-size: 1.3rem; }
.option .tiny { font-family: var(--font-body); font-weight: 400; }

/* progreso encuesta */
.progress { height: 6px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; margin-bottom: 18px; }
.progress > i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-2)); transition: width .35s; }

/* ---------- INPUTS ---------- */
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.field label { font-size: .8rem; color: var(--gold); letter-spacing: .02em; }
.input, select.input, textarea.input {
  width: 100%; padding: 15px 16px; border-radius: 4px;
  border: 1px solid rgba(216,167,62,.28); background: rgba(11,8,7,.7); color: var(--cream);
  font-size: 1rem; font-family: var(--font-body); outline: none; transition: border-color .2s;
}
.input:focus { border-color: var(--gold); }
.input::placeholder { color: #7d6f5a; }
textarea.input { resize: vertical; min-height: 84px; }
.input-tel { display: flex; align-items: center; gap: 0; border: 1px solid rgba(216,167,62,.28); border-radius: 4px; background: rgba(11,8,7,.7); overflow: hidden; }
.input-tel .pre { padding: 15px 12px; color: var(--gold); border-right: 1px solid var(--line); font-weight: 600; }
.input-tel input { flex: 1; border: none; background: transparent; color: var(--cream); padding: 15px 14px; font-size: 1.1rem; outline: none; letter-spacing: .04em; }

/* ============================================================
   MENÚ
   ============================================================ */
.menu-hero { text-align: center; padding: 4px 0 6px; position: relative; }
.menu-hero .mh-kicker { font-size: .64rem; letter-spacing: .42em; text-transform: uppercase; color: var(--gold); opacity: .85; }
.menu-hero .mh-title {
  font-family: var(--font-display); font-size: 1.75rem; margin: 8px 0 2px;
  background: linear-gradient(180deg, var(--gold-2), var(--gold) 50%, var(--gold-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.menu-hero .mh-sub { font-family: var(--font-serif); font-style: italic; font-size: .95rem; color: var(--muted); }

/* Ornamento */
.orn { display: flex; align-items: center; gap: 12px; margin: 12px auto 4px; max-width: 240px; }
.orn span { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(216,167,62,.55)); }
.orn span:last-child { background: linear-gradient(90deg, rgba(216,167,62,.55), transparent); }
.orn i { color: var(--gold); font-size: .8rem; font-style: normal; transform: translateY(-1px); }

/* Marca de agua del logo */
.watermark {
  position: absolute; left: 50%; top: 110px; transform: translateX(-50%);
  width: 270px; height: 270px; pointer-events: none; z-index: -1;
  background: url("../logo/INFINITY.png") center/contain no-repeat;
  opacity: .05; filter: saturate(.6);
}

/* Navegación por categorías */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0 16px; -ms-overflow-style: none; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  white-space: nowrap; padding: 9px 16px; border-radius: 2px;
  border: 1px solid rgba(216,167,62,.28); background: rgba(20,14,9,.5);
  color: var(--muted); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  cursor: pointer; transition: .18s;
}
.chip.sel {
  background: linear-gradient(180deg, var(--gold-2), var(--gold-3));
  color: #2a1a08; border-color: transparent; font-weight: 600;
  box-shadow: 0 6px 16px -6px rgba(216,167,62,.55);
}

/* Sección del menú */
.m-section {
  position: relative; margin-bottom: 30px; padding: 22px 16px 14px;
  background: linear-gradient(180deg, rgba(36,26,17,.78), rgba(20,16,11,.85) 70%);
  border: 1px solid rgba(216,167,62,.3);
  box-shadow: 0 8px 22px -10px rgba(0,0,0,.7);
}
.m-section::before, .m-section::after {
  content: ""; position: absolute; width: 16px; height: 16px; pointer-events: none;
}
.m-section::before { top: -1px; left: -1px; border-top: 2px solid var(--gold); border-left: 2px solid var(--gold); }
.m-section::after { bottom: -1px; right: -1px; border-bottom: 2px solid var(--gold); border-right: 2px solid var(--gold); }

.m-sec-head { text-align: center; margin-bottom: 6px; }
.m-sec-num {
  display: inline-block; font-family: var(--font-display); font-size: .72rem;
  color: var(--gold); letter-spacing: .3em; opacity: .9;
  padding-bottom: 3px; border-bottom: 1px solid rgba(216,167,62,.35); margin-bottom: 8px;
}
.m-sec-title {
  font-family: var(--font-display); font-size: 1.32rem; letter-spacing: .08em; line-height: 1.15;
  background: linear-gradient(180deg, var(--gold-2), var(--gold) 55%, var(--gold-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.m-sec-en {
  display: block; font-family: var(--font-serif); font-style: italic;
  font-size: .9rem; color: var(--muted); margin-top: 2px;
}
.m-nota {
  font-family: var(--font-serif); font-style: italic; text-align: center;
  font-size: .92rem; line-height: 1.45; color: var(--muted);
  max-width: 320px; margin: 6px auto 10px;
}

/* Platos */
.mitem { display: flex; align-items: baseline; gap: 10px; padding: 12px 2px; }
.mitem + .mitem { border-top: 1px solid rgba(216,167,62,.09); }
.mitem .info { flex: 1; min-width: 0; }
.mitem .n { font-family: var(--font-serif); font-weight: 600; font-size: 1.14rem; line-height: 1.2; color: var(--cream); letter-spacing: .01em; }
.mitem .en, .m-item-desc { font-family: var(--font-serif); font-style: italic; font-size: .88rem; color: var(--muted); margin-top: 1px; }
.mitem .dots { flex: 1; min-width: 14px; transform: translateY(-4px); border-bottom: 1px dotted rgba(216,167,62,.32); }
.mitem .p { font-family: var(--font-display); font-size: .98rem; color: var(--gold-2); white-space: nowrap; letter-spacing: .02em; }
.mitem .p .desde { font-family: var(--font-serif); font-style: italic; font-size: .78rem; color: var(--muted); letter-spacing: 0; margin-right: 3px; }
.mitem .p.consult { font-family: var(--font-serif); font-style: italic; font-size: .88rem; color: var(--gold); opacity: .8; letter-spacing: .04em; }

.m-fin { text-align: center; color: rgba(216,167,62,.5); font-size: .7rem; padding-top: 10px; letter-spacing: .5em; }

/* ---------- TOGGLE Vista Lista / Imágenes ---------- */
.m-view-toggle {
  display: inline-flex; gap: 0; align-self: center;
  border: 1px solid rgba(216,167,62,.32); border-radius: 4px;
  background: rgba(11,8,7,.6); padding: 3px;
  margin: 0 auto 16px; overflow: hidden;
}
.m-view-toggle button {
  background: transparent; color: var(--muted); border: 0;
  padding: 8px 16px; font-family: var(--font-body);
  font-size: .72rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; cursor: pointer; border-radius: 3px;
  transition: all .18s; display: inline-flex; align-items: center; gap: 6px;
}
.m-view-toggle button.sel {
  background: linear-gradient(180deg, var(--gold-2), var(--gold-3));
  color: #2a1a08; box-shadow: 0 4px 10px -4px rgba(216,167,62,.4);
}
.m-view-toggle .ic { width: 16px; height: 16px; }

/* ---------- VISTA EN IMÁGENES ---------- */
.m-image-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.m-image-card {
  position: relative; border-radius: 4px; overflow: hidden;
  border: 1px solid rgba(216,167,62,.22);
  background: linear-gradient(180deg, rgba(36,26,17,.78), rgba(20,16,11,.85));
  box-shadow: 0 4px 12px -6px rgba(0,0,0,.5);
  transition: transform .18s, border-color .2s; display: flex; flex-direction: column;
}
.m-image-card:active { transform: scale(.985); }
.m-image-card .photo {
  aspect-ratio: 4 / 3; width: 100%; background-size: cover; background-position: center;
  background-color: var(--wood-1); position: relative;
}
.m-image-card .photo.placeholder {
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(120% 80% at 50% 30%, rgba(216,167,62,.18), transparent 65%),
    linear-gradient(135deg, rgba(36,26,17,.95), rgba(11,8,7,.95));
  position: relative;
}
.m-image-card .photo.placeholder::before {
  content: ""; position: absolute; inset: 8px; border: 1px solid rgba(216,167,62,.22); pointer-events: none;
}
.m-image-card .photo.placeholder .letter {
  font-family: var(--font-display); font-size: 3.2rem; font-weight: 700;
  background: linear-gradient(180deg, var(--gold-2), var(--gold-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 2px 8px rgba(0,0,0,.5); letter-spacing: .04em;
}
.m-image-card .info { padding: 10px 11px 12px; flex: 1; display: flex; flex-direction: column; }
.m-image-card .n { font-family: var(--font-serif); font-weight: 700; font-size: .98rem; line-height: 1.15; color: var(--cream); margin-bottom: 3px; }
.m-image-card .en { font-family: var(--font-serif); font-style: italic; font-size: .76rem; color: var(--muted); margin-bottom: 8px; line-height: 1.2; }
.m-image-card .p { font-family: var(--font-display); font-size: .98rem; color: var(--gold-2); letter-spacing: .02em; margin-top: auto; }
.m-image-card .p .desde { font-family: var(--font-serif); font-style: italic; font-size: .7rem; color: var(--muted); margin-right: 3px; letter-spacing: 0; }
.m-image-card .p.consult { font-family: var(--font-serif); font-style: italic; font-size: .82rem; color: var(--gold); opacity: .82; }

.menu-legal {
  font-family: var(--font-serif); font-style: italic; text-align: center;
  font-size: .82rem; color: var(--muted); line-height: 1.55; margin: 2px 0 14px;
}

/* ---------- OFERTAS ---------- */
.offer { display: flex; gap: 14px; align-items: center; }
.offer .emoji { font-size: 2rem; }
.offer .badge {
  margin-left: auto; background: linear-gradient(180deg, var(--red-2), var(--red-deep));
  color: #fff; font-weight: 700; padding: 7px 12px; border-radius: 10px; font-size: .9rem; white-space: nowrap;
}
.offer .h { font-weight: 600; }
.offer .d { font-size: .8rem; color: var(--muted); }

/* ---------- CUPÓN ---------- */
.ticket {
  position: relative;
  background:
    linear-gradient(135deg, rgba(30,20,11,.88), rgba(20,13,8,.92)),
    url("../assets/img/textura-cupon.png") center/cover no-repeat;
  border: 1.5px dashed var(--gold); border-radius: 20px; padding: 26px 22px; text-align: center;
  box-shadow: var(--shadow);
}
.ticket::before, .ticket::after {
  content: ""; position: absolute; width: 26px; height: 26px; border-radius: 50%;
  background: var(--wood-0); top: 50%; transform: translateY(-50%);
}
.ticket::before { left: -14px; } .ticket::after { right: -14px; }
.ticket .pct { font-family: var(--font-display); font-size: 3.4rem; line-height: 1; }
.ticket .code {
  margin-top: 14px; font-family: var(--font-display); letter-spacing: .15em; font-size: 1.5rem;
  padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: rgba(0,0,0,.3); color: var(--gold-2);
}

/* ---------- ESTRELLAS ---------- */
.stars { font-size: 2.2rem; letter-spacing: .1em; color: var(--gold-2); }

/* ---------- ADMIN ---------- */
.arow {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 13px 14px; border-radius: 14px; border: 1px solid var(--line);
  background: var(--card); color: var(--cream); cursor: pointer;
  text-align: left; transition: .15s; font-family: var(--font-body); font-size: .95rem;
}
.arow:active { transform: scale(.985); }
.arow .emoji { font-size: 1.3rem; }
.arow + .arow { margin-top: 0; }
.arow .iconbtn { flex-shrink: 0; width: 38px; height: 38px; font-size: .95rem; }

.stat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 18px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 10px; text-align: center; }
.stat .num { font-family: var(--font-display); font-size: 1.7rem; color: var(--gold-2); }
.stat .lbl { font-size: .68rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.tbl { width: 100%; font-size: .8rem; border-collapse: collapse; }
.tbl th { text-align: left; color: var(--gold); font-weight: 600; padding: 8px 6px; border-bottom: 1px solid var(--line); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.tbl td { padding: 9px 6px; border-bottom: 1px solid rgba(255,255,255,.05); color: var(--cream); }
.qr-box { background: #fff; padding: 14px; border-radius: 16px; display: inline-block; }

/* ---------- TOAST ---------- */
.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(20px);
  background: #1c140d; border: 1px solid var(--gold); color: var(--cream);
  padding: 13px 20px; border-radius: 12px; font-size: .9rem; opacity: 0; transition: .3s; z-index: 50;
  box-shadow: var(--shadow); max-width: 90%; text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- VARIOS ---------- */
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .75rem; margin: 6px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.note { font-size: .78rem; color: var(--muted); line-height: 1.5; }
.badge-soft { display: inline-block; background: rgba(216,167,62,.15); color: var(--gold-2); padding: 4px 10px; border-radius: 99px; font-size: .72rem; }
.spacer { height: 14px; }
.link { color: var(--gold-2); text-decoration: underline; cursor: pointer; }

/* ---------- MODAL ---------- */
.modal-overlay {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(11, 8, 7, 0.95); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  z-index: 200; padding: 20px; animation: fadeIn 0.25s ease both;
}
.modal-content {
  width: 100%; max-width: 380px;
  background: linear-gradient(180deg, rgba(36, 26, 17, 0.98), rgba(20, 16, 11, 0.99));
  border: 1px solid var(--gold); padding: 22px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  transform: scale(0.95); animation: modalScaleUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes modalScaleUp { to { transform: scale(1); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
