:root {
  --black: #0B0B0B;
  --coal: #242424;
  --panel: #151515;
  --line: rgba(214, 166, 58, .18);
  --gold: #D6A63A;
  --gold-light: #F2D27A;
  --bronze: #8A5A22;
  --ivory: #F4F0E8;
  --muted: #a39d92;
  --ok: #5fbf77;
  --bad: #e06a5a;
  --gold-grad: linear-gradient(135deg, #8A5A22 0%, #D6A63A 35%, #F2D27A 55%, #D6A63A 75%, #8A5A22 100%);
  --radius: 16px;
  --display: 'Cinzel', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--black); color: var(--ivory); font-family: var(--sans); font-size: 15px; line-height: 1.5; min-height: 100vh; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
a { color: var(--gold-light); text-decoration: none; }
.wrap { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 16px; }
.gold-text { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hidden { display: none !important; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 68vh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: 0; background: var(--hero) 82% center/cover no-repeat; z-index: -2; transform: scale(1.04); }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(11,11,11,.72) 0%, rgba(11,11,11,.5) 35%, rgba(11,11,11,.93) 78%, var(--black) 100%); }
.hero .wrap { padding-top: 40px; padding-bottom: 28px; text-align: center; }
.hero-logo { width: min(340px, 82vw); margin: 0 auto 14px; filter: drop-shadow(0 6px 18px rgba(0,0,0,.85)) drop-shadow(0 0 28px rgba(214,166,58,.28)); }
.hero h1 { font-family: var(--display); font-size: clamp(22px, 5vw, 30px); letter-spacing: .06em; font-weight: 700; }
.hero p.sub { color: #d8d2c6; margin-top: 6px; }
.meta { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 16px; }
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; background: rgba(21,21,21,.8); border: 1px solid var(--line); font-size: 13px; backdrop-filter: blur(6px); }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(95,191,119,.18); }
.pill.closed .dot { background: var(--bad); box-shadow: 0 0 0 4px rgba(224,106,90,.18); }
.pill svg { width: 15px; height: 15px; color: var(--gold); flex: none; }
.cta-row { display: flex; gap: 10px; justify-content: center; margin-top: 20px; flex-wrap: wrap; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 12px; font-weight: 600; transition: transform .15s, filter .15s, opacity .15s; }
.btn:active { transform: scale(.97); }
.btn-gold { background: var(--gold-grad); background-size: 200% 100%; color: #1a1206; box-shadow: 0 8px 24px rgba(214,166,58,.25); }
.btn-gold:hover { filter: brightness(1.08); }
.btn-ghost { border: 1px solid var(--line); background: rgba(21,21,21,.7); color: var(--ivory); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Category nav ---------- */
.catnav { position: sticky; top: 0; z-index: 20; background: rgba(11,11,11,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.catnav .wrap { display: flex; gap: 8px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.catnav .wrap::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 8px 15px; border-radius: 999px; border: 1px solid var(--line); color: #d8d2c6; font-size: 14px; white-space: nowrap; transition: .15s; }
.chip.active { background: var(--gold); border-color: var(--gold); color: #1a1206; font-weight: 600; }
.search { flex: none; width: 38px; height: 36px; border-radius: 999px; border: 1px solid var(--line); display: grid; place-items: center; }
.search svg { width: 16px; height: 16px; color: var(--gold); }
.searchbox { padding: 0 16px 10px; max-width: 760px; margin: 0 auto; }
.input { width: 100%; height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid #333; background: var(--panel); outline: none; transition: border .15s; }
.input:focus { border-color: var(--gold); }
textarea.input { height: auto; min-height: 76px; padding: 12px 14px; resize: vertical; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }

/* ---------- Sections ---------- */
.section { padding: 26px 0 4px; scroll-margin-top: 60px; }
.section-title { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.section-title h2 { font-family: var(--display); font-size: 21px; letter-spacing: .05em; color: var(--gold); font-weight: 700; }
.section-title::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }

.featured { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 62%); gap: 12px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.featured::-webkit-scrollbar { display: none; }
.fcard { scroll-snap-align: start; border-radius: var(--radius); overflow: hidden; background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; }
.fcard .ph { aspect-ratio: 16/10; }
.fcard .body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.fcard .row { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 8px; }

.ph { background: radial-gradient(circle at 30% 20%, #2c2418, #121212 70%); position: relative; overflow: hidden; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph .mono { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-size: 34px; color: rgba(214,166,58,.55); }

.item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px dashed rgba(214,166,58,.14); }
.item:last-child { border-bottom: 0; }
.item .ph { width: 84px; height: 84px; border-radius: 12px; flex: none; }
.item .info { flex: 1; min-width: 0; }
.item h3, .fcard h3 { font-size: 16px; font-weight: 600; line-height: 1.3; }
.item p, .fcard p { color: var(--muted); font-size: 13.5px; margin-top: 3px; }
.item .side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 8px; flex: none; }
.price { font-weight: 700; color: var(--gold-light); white-space: nowrap; }
.tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.tag { font-size: 11px; font-weight: 600; letter-spacing: .02em; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--gold-light); }
.tag.t-picante { color: #ff9a7a; border-color: rgba(255,120,90,.35); }
.tag.t-vegetariano, .tag.t-liviano { color: #8fd6a0; border-color: rgba(95,191,119,.35); }
.tag.t-hipocalórico { color: #8fc6e6; border-color: rgba(100,170,220,.35); }
.item.off { opacity: .45; }
.soldout { font-size: 12px; color: var(--bad); font-weight: 600; }

.add { width: 36px; height: 36px; border-radius: 11px; background: var(--gold); color: #1a1206; display: grid; place-items: center; font-size: 22px; font-weight: 500; line-height: 1; }
.qty { display: inline-flex; align-items: center; gap: 2px; background: var(--coal); border-radius: 11px; border: 1px solid var(--line); }
.qty button { width: 32px; height: 34px; font-size: 18px; color: var(--gold-light); }
.qty span { min-width: 20px; text-align: center; font-weight: 700; font-size: 14px; }

.empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* ---------- Cart ---------- */
.cartbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(0deg, var(--black) 60%, transparent); transform: translateY(120%); transition: transform .25s; }
.cartbar.show { transform: none; }
.cartbar .btn { width: 100%; max-width: 728px; margin: 0 auto; display: flex; justify-content: space-between; height: 54px; font-size: 15.5px; }
.badge { background: #1a1206; color: var(--gold-light); border-radius: 999px; min-width: 26px; height: 26px; display: inline-grid; place-items: center; font-size: 13px; padding: 0 7px; }

.sheet-bg { position: fixed; inset: 0; background: rgba(0,0,0,.65); z-index: 40; opacity: 0; pointer-events: none; transition: opacity .2s; }
.sheet-bg.show { opacity: 1; pointer-events: auto; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 41; max-height: 90vh; overflow-y: auto; background: #111; border-top: 1px solid var(--line); border-radius: 22px 22px 0 0; transform: translateY(105%); transition: transform .28s cubic-bezier(.2,.8,.2,1); padding-bottom: env(safe-area-inset-bottom); }
.sheet.show { transform: none; }
.sheet .wrap { padding-top: 10px; padding-bottom: 20px; }
.grab { width: 44px; height: 5px; border-radius: 9px; background: #333; margin: 0 auto 14px; }
.sheet h2 { font-family: var(--display); color: var(--gold); font-size: 22px; margin-bottom: 8px; }
.line { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid #222; }
.line .n { flex: 1; min-width: 0; }
.line .n small { display: block; color: var(--muted); }
.total { display: flex; justify-content: space-between; font-size: 18px; font-weight: 700; padding: 16px 0; }
.field { margin-top: 12px; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; background: var(--panel); border: 1px solid #2a2a2a; padding: 4px; border-radius: 12px; }
.seg button { height: 38px; border-radius: 9px; font-size: 14px; color: #cfc8bb; }
.seg button.on { background: var(--coal); color: var(--gold-light); font-weight: 600; box-shadow: inset 0 0 0 1px var(--line); }
.closed-note { background: rgba(224,106,90,.1); border: 1px solid rgba(224,106,90,.3); color: #f0b3a8; border-radius: 12px; padding: 10px 14px; font-size: 14px; margin-top: 12px; }

/* ---------- Footer ---------- */
.footer { text-align: center; padding: 40px 16px 120px; color: var(--muted); font-size: 13px; }
.footer img { width: 150px; margin: 0 auto 12px; opacity: .95; }
.footer .social { display: flex; justify-content: center; gap: 10px; margin: 12px 0; }
.footer .social a { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); display: grid; place-items: center; }
.footer .social svg { width: 19px; height: 19px; color: var(--gold); }
.credit { margin-top: 14px; font-size: 11.5px; opacity: .6; }

.toast { position: fixed; left: 50%; top: 18px; transform: translate(-50%, -150%); opacity: 0; pointer-events: none; background: var(--coal); border: 1px solid var(--line); color: var(--ivory); padding: 11px 18px; border-radius: 12px; z-index: 60; transition: transform .25s; font-size: 14px; max-width: calc(100% - 32px); box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast.err { border-color: rgba(224,106,90,.5); }

/* =========================================================
   MINERÍA — mismo ADN, tono corporativo/industrial
   ========================================================= */
.mn-gate { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; position: relative; isolation: isolate; }
.mn-gate::before { content: ''; position: absolute; inset: 0; background: var(--hero) center/cover; z-index: -2; filter: saturate(.8); }
.mn-gate::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 50% 30%, rgba(11,11,11,.55), rgba(11,11,11,.95) 70%); }
.gate-card { width: 100%; max-width: 400px; background: rgba(17,17,17,.88); border: 1px solid var(--line); border-radius: 22px; padding: 28px 22px; text-align: center; backdrop-filter: blur(10px); box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.gate-card img { width: 240px; margin: 0 auto 14px; filter: drop-shadow(0 0 22px rgba(214,166,58,.25)); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.eyebrow::before, .eyebrow::after { content: ''; width: 18px; height: 1px; background: var(--gold); opacity: .6; }
.gate-card h1 { font-family: var(--display); font-size: 24px; margin: 8px 0 6px; }
.gate-card p { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.gate-card .input { text-align: center; letter-spacing: .25em; text-transform: uppercase; font-weight: 700; font-size: 17px; height: 52px; }
.gate-card .btn { margin-top: 10px; height: 52px; }
.err-msg { color: #f0b3a8; font-size: 13.5px; min-height: 20px; margin-top: 10px; }

.mn-top { border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #141210, var(--black)); }
.mn-top .wrap { display: flex; align-items: center; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
.mn-top img { width: 96px; filter: drop-shadow(0 0 10px rgba(214,166,58,.2)); }
.mn-top .t { flex: 1; min-width: 0; }
.mn-top .t b { display: block; font-family: var(--display); font-size: 16px; letter-spacing: .04em; }
.mn-top .t span { font-size: 12.5px; color: var(--gold); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.mn-top .out { font-size: 13px; color: var(--muted); border: 1px solid #333; padding: 7px 12px; border-radius: 10px; }

.mn-intro { padding-top: 20px; padding-bottom: 4px; }
.mn-intro h1 { font-family: var(--display); font-size: 24px; line-height: 1.2; }
.mn-intro p { color: var(--muted); font-size: 14px; margin-top: 6px; }
.notice { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: rgba(214,166,58,.08); border: 1px solid var(--line); font-size: 13.5px; color: #e6d9b8; }
.notice svg { width: 18px; height: 18px; color: var(--gold); flex: none; margin-top: 1px; }

.tabs { position: sticky; top: 0; z-index: 20; background: rgba(11,11,11,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); margin-top: 16px; }
.tabs .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.tabs button { height: 50px; font-size: 14px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; }
.tabs button.on { color: var(--gold-light); border-color: var(--gold); }

.days { display: flex; gap: 6px; overflow-x: auto; padding: 16px 0 6px; scrollbar-width: none; }
.days::-webkit-scrollbar { display: none; }
.day { flex: none; width: 58px; padding: 8px 0; border-radius: 12px; border: 1px solid #2a2a2a; text-align: center; background: var(--panel); }
.day small { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.day b { font-size: 18px; }
.day.on { background: var(--gold); border-color: var(--gold); color: #1a1206; }
.day.on small { color: #3b2a0c; }
.day.today:not(.on) { border-color: var(--gold); }

.svc { margin-top: 14px; border: 1px solid #262626; border-radius: var(--radius); background: var(--panel); overflow: hidden; }
.svc-h { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: linear-gradient(90deg, rgba(214,166,58,.12), transparent); border-bottom: 1px solid #222; }
.svc-h .ic { width: 34px; height: 34px; border-radius: 10px; background: rgba(214,166,58,.14); display: grid; place-items: center; flex: none; }
.svc-h .ic svg { width: 18px; height: 18px; color: var(--gold); }
.svc-h h3 { font-size: 15.5px; flex: 1; }
.svc-h time { font-size: 12.5px; color: var(--muted); }
.opt { display: flex; gap: 12px; padding: 12px 14px; border-bottom: 1px solid #1f1f1f; align-items: flex-start; }
.opt:last-child { border-bottom: 0; }
.opt .letter { width: 26px; height: 26px; border-radius: 8px; border: 1px solid var(--line); color: var(--gold); display: grid; place-items: center; font-size: 12.5px; font-weight: 700; flex: none; }
.opt .info { flex: 1; min-width: 0; }
.opt b { font-weight: 600; font-size: 15px; }
.opt p { color: var(--muted); font-size: 13px; margin-top: 2px; }
.kcal { font-size: 12px; color: var(--muted); white-space: nowrap; }

label.opt { cursor: pointer; }
label.opt input { position: absolute; opacity: 0; pointer-events: none; }
label.opt .radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #444; flex: none; margin-top: 2px; transition: .15s; }
label.opt:has(input:checked) { background: rgba(214,166,58,.07); }
label.opt:has(input:checked) .radio { border-color: var(--gold); box-shadow: inset 0 0 0 4px #151515; background: var(--gold); }
label.opt.none b { color: var(--muted); font-weight: 500; }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.card { background: var(--panel); border: 1px solid #262626; border-radius: var(--radius); padding: 16px; margin-top: 14px; }
.card h3 { font-size: 15px; margin-bottom: 4px; }
.step { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: #1a1206; font-size: 12px; font-weight: 800; margin-right: 8px; }

.ticket { margin-top: 18px; border-radius: 20px; background: #121212; border: 1px solid var(--line); overflow: hidden; }
.ticket .th { padding: 22px 18px 16px; text-align: center; background: radial-gradient(circle at 50% 0%, rgba(214,166,58,.22), transparent 70%); }
.ticket .check { width: 54px; height: 54px; border-radius: 50%; background: var(--gold-grad); display: grid; place-items: center; margin: 0 auto 10px; }
.ticket .check svg { width: 26px; height: 26px; color: #1a1206; }
.ticket .th h2 { font-family: var(--display); font-size: 21px; }
.ticket .th p { color: var(--muted); font-size: 13.5px; }
.ticket .cut { border-top: 2px dashed #2b2b2b; margin: 0 14px; }
.ticket dl { padding: 14px 18px 18px; display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: 14px; }
.ticket dt { color: var(--muted); }
.ticket dd { text-align: right; font-weight: 600; }

.res { padding: 14px; border: 1px solid #262626; border-radius: 14px; background: var(--panel); margin-top: 10px; }
.res-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.cap::first-letter, .res-h b::first-letter { text-transform: uppercase; } .res-h b { display: inline-block; }
.res li { list-style: none; font-size: 13.5px; color: #d8d2c6; padding: 2px 0; }
.res li span { color: var(--muted); }
.link-btn { color: var(--bad); font-size: 13px; font-weight: 600; }

@media (min-width: 640px) {
  .featured { grid-auto-columns: 240px; }
  .item .ph { width: 96px; height: 96px; }
}
.ph .brandmark { position: absolute; inset: 0; background: url('../img/logo-sm.png') center/62% no-repeat; opacity: .32; }
.fcard .ph .brandmark { background-size: 55%; }
