/* ============ DON FUEGO · sistema visual luxury (sitio público) ============
   Carbón con brasas animado, serif elegante, detalles rojo-blanco-rojo del Perú y acentos dorados.
   theme.css (base del panel del personal) se carga antes; aquí se redefinen variables y componentes. */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500;1,600&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --carbon: #0A0908;
  --carbon-2: #131110;
  --brasa: #1A1715;
  --peru: #C8102E;
  --hueso: #F4EFE6;
  --oro: #C9A96E;
  --oro-2: #E3CB97;
  --ember: #FF6A1A;
  --crema: #F4EFE6;
  --crema-2: #B9B0A3;
  --crema-3: #857C70;
  --llama: #E3CB97;           /* precios y cifras en dorado */
  --fuego: #C8102E;           /* el acento principal pasa a ser el rojo Perú */
  --fuego-2: #C9A96E;
  --line: rgba(201, 169, 110, .18);
  --line-2: rgba(201, 169, 110, .42);
  --glass: rgba(16, 14, 13, .72);
  --glass-2: rgba(22, 19, 17, .86);
  --grad-fuego: linear-gradient(120deg, #A50D25, #C8102E);
  --grad-oro: linear-gradient(120deg, #B8955A 0%, #EBD6A6 50%, #B8955A 100%);
  --peru-line: linear-gradient(90deg, var(--peru) 0 33.33%, var(--hueso) 33.33% 66.66%, var(--peru) 66.66% 100%);
  --glow: 0 10px 40px -12px rgba(200, 16, 46, .55);
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .9);
  --f-title: 'Cormorant Garamond', 'Times New Roman', serif;
  --f-hud: 'Manrope', 'Segoe UI', system-ui, sans-serif;
  --f-body: 'Manrope', 'Segoe UI', system-ui, sans-serif;
  --r: 4px;
}

body { background: var(--carbon); font: 400 16px/1.7 var(--f-body); letter-spacing: .005em; }
::selection { background: var(--peru); color: #fff; }
::-webkit-scrollbar-thumb { background: #2a2420; }
::-webkit-scrollbar-thumb:hover { background: var(--oro); }

/* ============ fondo: carbón que respira + chispas + humo ============ */
.bg-grid { display: none; }
.coal { position: fixed; inset: 0; z-index: -3; pointer-events: none; overflow: hidden; background: var(--carbon); }
.coal i { position: absolute; inset: -4%; background: center / cover no-repeat; }
.coal .base { background-image: url('../assets/carbon-1920.webp'); opacity: .55; animation: drift 60s ease-in-out infinite alternate; }
.coal .glow { background-image: url('../assets/carbon-glow-1920.webp'); mix-blend-mode: screen; opacity: .5; animation: drift 60s ease-in-out infinite alternate, breathe 5.5s ease-in-out infinite; }
.coal .glow.b { animation: drift 60s ease-in-out infinite alternate, breathe 8s ease-in-out -3s infinite; filter: blur(10px) saturate(1.3); opacity: .35; }
.coal .veil { background: radial-gradient(ellipse 120% 80% at 50% 40%, rgba(10, 9, 8, .25), rgba(10, 9, 8, .82) 70%), linear-gradient(to bottom, rgba(10, 9, 8, .35), rgba(10, 9, 8, .6)); inset: 0; }
@media (max-width: 900px) {
  .coal .base { background-image: url('../assets/carbon-1280.webp'); }
  .coal .glow { background-image: url('../assets/carbon-glow-1280.webp'); }
}
@keyframes breathe { 0%, 100% { opacity: .22; } 45% { opacity: .75; } 60% { opacity: .55; } }
@keyframes drift { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.08) translate(-1.2%, -1%); } }
#embers { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; }

/* ============ tipografía ============ */
.wrap { width: min(1200px, 90vw); margin: 0 auto; }
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.hud-label, .eyebrow {
  font: 700 11px/1 var(--f-hud); letter-spacing: .34em; text-transform: uppercase; color: var(--oro);
  display: inline-flex; align-items: center; gap: 14px;
}
.hud-label::before { content: ''; width: 34px; height: 2px; background: var(--peru-line); box-shadow: none; }
.title { font: 500 clamp(40px, 5.6vw, 78px)/1.02 var(--f-title); text-transform: none; letter-spacing: -.01em; margin-top: 18px; }
.title .hot, .title .gold { background: none; filter: none; -webkit-background-clip: initial; background-clip: initial; color: var(--oro-2); font-style: italic; font-weight: 500; }
.lead { font-size: 18px; margin-top: 18px; max-width: 54ch; color: var(--crema-2); }
.muted { color: var(--crema-2); }
.mono { font-family: var(--f-hud); }
.small { font-size: 13px; }

/* separador peruano entre secciones */
.peru-rule { display: flex; align-items: center; gap: 18px; justify-content: center; width: min(1200px, 90vw); margin: 0 auto; }
.peru-rule::before, .peru-rule::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2)); }
.peru-rule::after { background: linear-gradient(90deg, var(--line-2), transparent); }
.peru-rule span { display: inline-flex; align-items: center; gap: 10px; font: 700 10px/1 var(--f-hud); letter-spacing: .38em; text-transform: uppercase; color: var(--crema-3); white-space: nowrap; }
.peru-rule span::before { content: ''; width: 22px; height: 12px; background: linear-gradient(90deg, var(--peru) 0 33.33%, var(--hueso) 33.33% 66.66%, var(--peru) 66.66%); border-radius: 1px; }

/* ============ paneles, botones, chips, badges ============ */
.panel { background: var(--glass); clip-path: none; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); -webkit-backdrop-filter: blur(16px) saturate(1.1); backdrop-filter: blur(16px) saturate(1.1); }
.panel::before { display: none; }
.btn {
  clip-path: none; border-radius: 2px; padding: 15px 28px; font: 700 12px/1 var(--f-hud); letter-spacing: .22em;
  transition: background .25s, color .25s, box-shadow .25s, transform .15s;
}
.btn::after { content: ''; position: absolute; left: 50%; right: 50%; bottom: 0; height: 2px; background: var(--peru-line); transition: left .3s ease, right .3s ease; }
.btn:hover::after { left: 0; right: 0; }
.btn.primary { background: var(--peru); color: #fff; box-shadow: var(--glow); }
.btn.primary:hover { background: #A50D25; filter: none; }
.btn.primary::after { background: linear-gradient(90deg, #fff, #fff); opacity: .5; }
.btn.ghost { background: transparent; color: var(--hueso); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn.ghost:hover { background: rgba(201, 169, 110, .08); box-shadow: inset 0 0 0 1px var(--oro); }
.btn.gold { background: var(--grad-oro); color: #1b140b; }
.btn.dark { background: var(--brasa); }
.btn.sm { padding: 11px 16px; font-size: 11px; }
.btn[disabled] { opacity: .4; }
.chip { clip-path: none; border-radius: 40px; padding: 10px 18px; background: transparent; color: var(--crema-2); font: 700 11px/1 var(--f-hud); letter-spacing: .2em; box-shadow: inset 0 0 0 1px var(--line); transition: .2s; }
.chip:hover { color: var(--hueso); background: transparent; box-shadow: inset 0 0 0 1px var(--oro); }
.chip.on { color: #1b140b; background: var(--grad-oro); box-shadow: none; }
.badge { border-radius: 2px; font: 800 10px/1 var(--f-hud); letter-spacing: .2em; padding: 6px 10px; }
.badge.open { background: rgba(80, 190, 120, .12); color: #8fdcab; box-shadow: inset 0 0 0 1px rgba(110, 210, 150, .35); }
.badge.open::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #6fd69a; box-shadow: 0 0 8px #6fd69a; }
.badge.closed { background: rgba(200, 16, 46, .14); color: #ff9aa8; box-shadow: inset 0 0 0 1px rgba(200, 16, 46, .45); }
.badge.live { background: var(--peru); box-shadow: 0 0 20px rgba(200, 16, 46, .5); }
.tag-hot { background: var(--grad-oro); color: #1b140b; }
.input { border-radius: 2px; background: rgba(10, 9, 8, .7); border-color: var(--line); }
.input:focus { border-color: var(--oro); box-shadow: 0 0 0 3px rgba(201, 169, 110, .15); }
.field > span { font: 700 10px/1 var(--f-hud); letter-spacing: .26em; }
.toast { border-radius: 2px; background: var(--glass-2); font: 600 13px var(--f-hud); letter-spacing: .04em; box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow); }
.toast::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--peru-line); }
.modal { border-radius: var(--r); }
.modal .h { font: 500 30px/1.1 var(--f-title); }
.flame { width: 12px; height: 18px; background: var(--peru); filter: none; }

/* ============ nav ============ */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 20px; transition: background .3s, box-shadow .3s, padding .3s; padding: 20px clamp(18px, 4vw, 48px); }
.nav.solid { -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.nav-brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--crema); }
.nav-links { display: flex; gap: clamp(16px, 2.4vw, 34px); }
.nav-links a { text-decoration: none; text-transform: uppercase; color: var(--crema-2); position: relative; padding: 6px 0; display: inline-flex; gap: 6px; align-items: center; }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; transition: width .25s; }
.nav-links a:hover { color: var(--crema); }
.nav-links a:hover::after { width: 100%; }
.cart-btn { position: relative; border: 0; cursor: pointer; display: grid; place-items: center; flex: none; }
.cart-count { position: absolute; min-width: 18px; height: 18px; padding: 0 4px; text-align: center; }
.nav::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--peru-line); }
.nav.solid { background: rgba(10, 9, 8, .8); box-shadow: 0 1px 0 var(--line); padding-block: 13px; }
.nav-brand { gap: 12px; font: 600 26px/1 var(--f-title); letter-spacing: .04em; }
.nav-brand img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--line-2); }
.nav-brand b { font-weight: 600; background: none; color: var(--oro-2); font-style: italic; -webkit-background-clip: initial; background-clip: initial; }
.nav-links a { font: 700 11px/1 var(--f-hud); letter-spacing: .24em; }
.nav-links a::after { background: var(--peru-line); box-shadow: none; height: 2px; }
.cart-btn { clip-path: none; border-radius: 50%; width: 46px; height: 46px; background: var(--peru); color: #fff; box-shadow: var(--glow); }
.cart-count { border-radius: 9px; top: -2px; right: -2px; background: var(--hueso); color: var(--peru); font: 800 11px/18px var(--f-hud); }
.cart-btn.bump { animation: bump .45s ease; }
@keyframes bump { 40% { transform: scale(1.15); } }
.langs { clip-path: none; border-radius: 40px; background: transparent; box-shadow: inset 0 0 0 1px var(--line); margin-left: auto; margin-right: 12px; display: flex; gap: 2px; padding: 3px; }
.langs button { border: 0; cursor: pointer; border-radius: 40px; background: transparent; color: var(--crema-2); font: 700 10px/1 var(--f-hud); letter-spacing: .14em; padding: 7px 9px; }
.langs button.on { background: var(--grad-oro); color: #1b140b; box-shadow: none; }
@media (max-width: 960px) { .nav-links { display: none; } }
@media (max-width: 420px) { .langs button { padding: 7px 6px; } .nav-brand span.word { display: none; } }

/* ============ portada ============ */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero-media::after { content: ''; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(10, 9, 8, .96) 0%, rgba(10, 9, 8, .78) 34%, rgba(10, 9, 8, .15) 70%, rgba(10, 9, 8, .35) 100%),
  linear-gradient(to top, var(--carbon) 0%, rgba(10, 9, 8, 0) 32%); }
.hero-inner { width: min(1200px, 90vw); margin: 0 auto; padding: 140px 0 70px; display: grid; gap: 26px; }
.hero h1 { font: 500 clamp(52px, 8.4vw, 124px)/.95 var(--f-title); letter-spacing: -.02em; max-width: 11ch; text-transform: none; }
.hero h1 span { display: block; font-style: italic; color: var(--oro-2); }
.hero-sub { font-size: clamp(16px, 1.5vw, 19px); color: var(--crema-2); max-width: 46ch; }
.hero .ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.order-bar { margin-top: 22px; display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; padding: 18px 22px; max-width: 760px; }
.order-bar .ob-k { font: 700 10px/1 var(--f-hud); letter-spacing: .3em; text-transform: uppercase; color: var(--oro); display: block; margin-bottom: 7px; }
.order-bar .ob-v { font: 600 15px/1.35 var(--f-hud); }
.order-bar .ob-v small { display: block; color: var(--crema-2); font-weight: 500; font-size: 13px; }
.seal { position: absolute; right: clamp(20px, 5vw, 70px); bottom: clamp(30px, 8vh, 90px); width: 132px; height: 132px; border-radius: 50%; display: grid; place-items: center; text-align: center; padding: 18px;
  background: rgba(10, 9, 8, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px var(--line-2), inset 0 0 0 7px rgba(10, 9, 8, .6), inset 0 0 0 8px var(--line); }
.seal b { display: block; width: 30px; height: 16px; margin: 0 auto 8px; background: linear-gradient(90deg, var(--peru) 0 33.33%, var(--hueso) 33.33% 66.66%, var(--peru) 66.66%); border-radius: 1px; }
.seal span { font: 700 9px/1.5 var(--f-hud); letter-spacing: .28em; text-transform: uppercase; color: var(--oro-2); }
.seal { animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }
@media (max-width: 760px) {
  .hero-media video, .hero-media img { object-position: 70% 50%; }
  .hero-media::after { background: linear-gradient(to top, var(--carbon) 8%, rgba(10, 9, 8, .82) 45%, rgba(10, 9, 8, .35) 100%); }
  .order-bar { grid-template-columns: 1fr; gap: 14px; }
  .seal { display: none; }
  .order-bar .badge { justify-self: start; }
  .hero-inner { padding-top: 110px; }
}

/* ============ franja de ventajas ============ */
.perks { border-block: 1px solid var(--line); background: rgba(10, 9, 8, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.perks ul { list-style: none; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 22px 0; }
.perks li { font: 700 11px/1 var(--f-hud); letter-spacing: .28em; text-transform: uppercase; color: var(--crema-2); display: inline-flex; align-items: center; gap: 14px; }
.perks li::before { content: ''; width: 6px; height: 6px; transform: rotate(45deg); background: var(--oro); }
@media (max-width: 760px) { .perks ul { justify-content: center; gap: 14px 22px; } .perks li { font-size: 10px; letter-spacing: .2em; } }

/* ============ encabezados de sección ============ */
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; margin-bottom: 48px; }
.sec-head > p { max-width: 380px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }

/* ============ lo más pedido (editorial) ============ */
.top-sec { padding-bottom: clamp(40px, 6vw, 80px); }
.top-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 16px; }
.top-card { position: relative; overflow: hidden; min-height: 250px; background: #120f0d; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); isolation: isolate; animation: topIn .9s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i) * 110ms); }
.top-card:first-child { grid-row: span 2; min-height: 520px; }
.top-card .media { position: absolute; inset: 0; z-index: -2; }
.top-card .media img, .top-card .media video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s cubic-bezier(.2, .8, .2, 1); }
.top-card:hover .media img, .top-card:hover .media video { transform: scale(1.05); }
.top-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(10, 9, 8, .96) 0%, rgba(10, 9, 8, .5) 40%, transparent 72%); }
.top-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--peru-line); z-index: 2; opacity: .9; }
.top-card .rank { position: absolute; top: 14px; left: 20px; font: italic 500 72px/1 var(--f-title); color: var(--oro-2); text-shadow: 0 4px 30px rgba(0, 0, 0, .8); }
.top-card:not(:first-child) .rank { font-size: 48px; }
.top-card .pick { position: absolute; top: 16px; right: 16px; }
.top-card .info { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 22px; display: flex; align-items: flex-end; gap: 14px; }
.top-card .info h3 { flex: 1; font: 500 clamp(26px, 2.6vw, 40px)/1.02 var(--f-title); text-transform: none; text-shadow: 0 2px 14px rgba(0, 0, 0, .8); }
.top-card:not(:first-child) .info h3 { font-size: clamp(20px, 1.8vw, 27px); }
.top-card .info .p { display: block; margin-top: 8px; font: 700 15px var(--f-hud); letter-spacing: .08em; color: var(--oro-2); text-shadow: none; }
.top-card .count { display: block; font: 700 10px var(--f-hud); letter-spacing: .24em; text-transform: uppercase; color: var(--crema-2); margin-top: 4px; }
@keyframes topIn { from { opacity: 0; transform: translateY(30px); } }
@media (max-width: 900px) {
  .top-grid { display: flex; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; gap: 14px; padding-bottom: 8px; margin: 0 -5vw; padding-inline: 5vw; }
  .top-card, .top-card:first-child { flex: 0 0 78vw; min-height: 400px; scroll-snap-align: center; }
}
.top-grid::-webkit-scrollbar { display: none; }

/* ============ cómo funciona ============ */
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.how li { list-style: none; padding: clamp(28px, 4vw, 44px); background: var(--glass-2); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); position: relative; }
.how li::before { counter-increment: paso; content: '0' counter(paso); display: block; font: italic 500 54px/1 var(--f-title); color: var(--oro); margin-bottom: 18px; }
.how { counter-reset: paso; }
.how ol { display: contents; }
.how h3 { font: 500 30px/1.1 var(--f-title); margin-bottom: 10px; }
.how p { color: var(--crema-2); font-size: 15px; }
@media (max-width: 860px) { .how { grid-template-columns: 1fr; } }

/* ============ menú ============ */
.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; }
.card { position: relative; display: flex; flex-direction: column; overflow: hidden; }
.card-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.card-img::after { content: ''; position: absolute; inset: 0; }
.card-price { position: absolute; z-index: 2; right: 12px; bottom: 12px; }
.card-tag, .card-stock { position: absolute; z-index: 2; left: 12px; top: 12px; }
.card-days { position: absolute; z-index: 2; left: 12px; bottom: 12px; }
.card-body { display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--crema-2); flex: 1; }
.card-actions { display: flex; align-items: center; gap: 10px; }
.card-actions .btn { flex: 1; }
.qty-badge { min-width: 34px; text-align: center; }
.card.out { filter: grayscale(.85); }
.card.out .card-img::before { content: 'Agotado'; position: absolute; z-index: 3; inset: auto 0 45% 0; text-align: center; color: var(--crema); padding: 6px 0; transform: rotate(-4deg); }
.card-ph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 60px; }
.card { clip-path: none; border-radius: var(--r); background: var(--glass); box-shadow: inset 0 0 0 1px var(--line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: transform .4s cubic-bezier(.2, .8, .2, 1), box-shadow .4s; }
.card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--peru-line); z-index: 3; transform: scaleX(.18); transform-origin: left; transition: transform .5s ease; }
.card:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 60px -30px rgba(0, 0, 0, .95); }
.card:hover::before { transform: scaleX(1); }
.card-img { background: #120f0d; }
.card-img::after { background: linear-gradient(to top, rgba(10, 9, 8, .85), transparent 50%); }
.card-price { font: 700 16px/1 var(--f-hud); letter-spacing: .06em; color: var(--oro-2); text-shadow: none; padding: 8px 12px; background: rgba(10, 9, 8, .7); border-radius: 2px; box-shadow: inset 0 0 0 1px var(--line); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.card-body { padding: 20px 20px 20px; gap: 8px; }
.card-body h3 { font: 500 27px/1.08 var(--f-title); text-transform: none; letter-spacing: 0; }
.card-body p { font-size: 14px; line-height: 1.6; }
.chili { font: 700 11px var(--f-hud); color: #ff8d7a; letter-spacing: .14em; text-transform: uppercase; }
.card-actions { margin-top: 10px; }
.qty-badge { font: 800 13px var(--f-hud); color: var(--oro-2); }
.card-days, .card-stock { background: rgba(10, 9, 8, .78); color: var(--oro-2); box-shadow: inset 0 0 0 1px var(--line); }
.card.out .card-img::before { font: italic 500 32px var(--f-title); letter-spacing: 1px; text-transform: none; background: rgba(200, 16, 46, .82); }
.card-ph { background: radial-gradient(circle at 50% 60%, rgba(201, 169, 110, .16), transparent 65%); filter: none; }
.menu-grid.anim .card { animation: topIn .7s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i, 0) * 55ms); }
.menu-info { margin-top: 30px; padding: 20px 24px; display: grid; gap: 8px; font-size: 14px; }
.card-img video { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.card:hover .card-img img, .card:hover .card-img video { transform: scale(1.06); }

/* ============ dónde estamos hoy ============ */
.hoy-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.hoy-card { padding: 34px; display: grid; gap: 2px; overflow: hidden; }
.hoy-card::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--peru-line); }
.hoy-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.hoy-row .k { font: 700 10px/1 var(--f-hud); letter-spacing: .3em; text-transform: uppercase; color: var(--crema-3); }
.hoy-row strong { font: 500 22px/1.2 var(--f-title); text-align: right; }
.hoy-actions { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.radar { display: none; }
.pin { position: absolute; right: 26px; top: 24px; width: 14px; height: 14px; border-radius: 50%; background: var(--peru); box-shadow: 0 0 0 6px rgba(200, 16, 46, .18); animation: ping 2.4s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(200, 16, 46, .45); } 100% { box-shadow: 0 0 0 22px rgba(200, 16, 46, 0); } }
@media (max-width: 860px) { .hoy-grid { grid-template-columns: 1fr; } }

/* ============ chef ============ */
.chef-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.chef-img { position: relative; clip-path: none; border-radius: var(--r); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow); }
.chef-img::after { content: ''; position: absolute; inset: 14px; border: 1px solid rgba(227, 203, 151, .35); pointer-events: none; }
.chef-img .scan { display: none; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 34px; background: var(--line); border-radius: var(--r); overflow: hidden; }
.stats div { padding: 22px 18px; background: var(--glass-2); box-shadow: none; }
.stats b { display: block; font: 500 46px/1 var(--f-title); color: var(--oro-2); text-shadow: none; }
.stats span { font: 700 10px/1.4 var(--f-hud); color: var(--crema-2); text-transform: uppercase; letter-spacing: .22em; }
@media (max-width: 860px) { .chef-grid { grid-template-columns: 1fr; } }

/* ============ en vivo ============ */
.live-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.live-screen { aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden; }
.live-off { text-align: center; display: grid; gap: 16px; justify-items: center; padding: 20px; }
.live-off p { color: var(--crema-2); font-size: 14px; }
.eq { display: flex; gap: 5px; align-items: flex-end; height: 34px; }
.eq i { width: 3px; background: var(--grad-oro); border-radius: 2px; animation: eq 1s ease-in-out infinite alternate; }
.eq i:nth-child(odd) { animation-duration: .7s; } .eq i:nth-child(3n) { animation-duration: 1.3s; }
@keyframes eq { from { height: 5px; } to { height: 34px; } }
.live-on { width: 100%; height: 100%; display: flex; flex-direction: column; }
.live-top { display: flex; gap: 12px; align-items: center; padding: 10px 14px; font-size: 13px; }
.live-frame { flex: 1; background: #000; display: grid; place-items: center; }
.live-frame iframe { width: 100%; height: 100%; border: 0; }
.live-frame .live-links { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; padding: 20px; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
@media (max-width: 860px) { .live-grid { grid-template-columns: 1fr; } }

/* ============ catering corporativo ============ */
.eventos { padding: clamp(34px, 6vw, 70px); display: flex; justify-content: space-between; align-items: center; gap: 34px; flex-wrap: wrap; background: linear-gradient(120deg, rgba(200, 16, 46, .16), rgba(16, 14, 13, .8) 60%); }
.eventos::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--peru-line); }

/* ============ pie ============ */
.footer { border-top: 0; padding: 0 0 50px; position: relative; background: rgba(10, 9, 8, .75); }
.footer::before { content: ''; display: block; height: 3px; background: var(--peru-line); margin-bottom: 50px; }
.foot { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 30px; align-items: start; }
.foot .nav-brand { font-size: 30px; }
.foot h4 { font: 700 10px/1 var(--f-hud); letter-spacing: .3em; text-transform: uppercase; color: var(--oro); margin-bottom: 14px; }
.foot p, .foot a { font-size: 14px; color: var(--crema-2); text-decoration: none; }
.foot a:hover { color: var(--hueso); }
.foot .socials { margin-top: 0; }
.foot-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr; } }

/* ============ carrito ============ */
.drawer-bg { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, .65); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.drawer { position: fixed; z-index: 61; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); display: flex; flex-direction: column; background: rgba(14, 12, 11, .97); box-shadow: -1px 0 0 var(--line-2), -40px 0 90px rgba(0, 0, 0, .6); transform: translateX(105%); transition: transform .45s cubic-bezier(.2, .9, .3, 1); }
.drawer::before { content: ''; height: 3px; background: var(--peru-line); flex: none; }
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font: 500 28px/1 var(--f-title); letter-spacing: 0; text-transform: none; }
.x { width: 38px; height: 38px; border: 0; border-radius: 50%; background: transparent; cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); color: var(--crema); }
.drawer-body { flex: 1; overflow: auto; padding: 10px 24px; }
.line { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line img { width: 56px; height: 56px; object-fit: cover; border-radius: 2px; }
.line h4 { font: 500 20px/1.15 var(--f-title); }
.line .muted { font-size: 13px; }
.line .opt { color: var(--oro-2); font: 700 12px var(--f-hud); }
.line input { margin-top: 6px; padding: 7px 9px; font-size: 13px; }
.line.bad { opacity: .55; }
.stepper { display: flex; align-items: center; gap: 6px; }
.stepper button { width: 28px; height: 28px; border: 0; border-radius: 50%; cursor: pointer; background: transparent; color: var(--oro-2); box-shadow: inset 0 0 0 1px var(--line-2); font-weight: 700; }
.stepper b { min-width: 20px; text-align: center; font-family: var(--f-hud); }
.empty { text-align: center; padding: 60px 10px; color: var(--crema-2); display: grid; gap: 14px; justify-items: center; }
.drawer-foot { padding: 20px 24px 26px; border-top: 1px solid var(--line); display: grid; gap: 12px; background: rgba(20, 17, 15, .9); }
.subsum { display: grid; gap: 2px; color: var(--crema-2); font-size: 13px; }
.subsum div { display: flex; justify-content: space-between; }
.sum { display: flex; justify-content: space-between; align-items: baseline; }
.sum span { letter-spacing: .26em; text-transform: uppercase; font: 700 11px var(--f-hud); color: var(--crema-2); }
.sum b { font: 500 36px var(--f-title); color: var(--oro-2); text-shadow: none; }
.pay-note { padding: 12px 14px; border-radius: 2px; background: rgba(201, 169, 110, .06); box-shadow: inset 0 0 0 1px var(--line); line-height: 1.6; font-size: 13px; }
.form-err { color: #ff9aa8; font-size: 14px; }
.form-err:empty { display: none; }

/* ============ aparición ============ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s cubic-bezier(.2, .8, .2, 1), transform 1s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ============ página de seguimiento del pedido ============ */
body[data-page="pedido"] .ticket { border-radius: var(--r); }
body[data-page="pedido"] .ticket::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--peru-line); }
body[data-page="pedido"] .num { font: italic 500 clamp(90px, 22vw, 150px)/.9 var(--f-title); background: none; color: var(--oro-2); filter: none; -webkit-background-clip: initial; background-clip: initial; }
body[data-page="pedido"] .msg { font: 500 34px/1.1 var(--f-title); text-transform: none; }
body[data-page="pedido"] .step { border-radius: 2px; font: 700 10px/1.3 var(--f-hud); letter-spacing: .2em; }
body[data-page="pedido"] .step b { font: italic 500 26px var(--f-title); }
body[data-page="pedido"] .step.now { background: var(--peru); color: #fff; box-shadow: var(--glow); }
body[data-page="pedido"] li, body[data-page="pedido"] .total { font-family: var(--f-hud); }
body[data-page="pedido"] ul, body[data-page="pedido"] li { border-color: var(--line); border-style: solid; }

@media (prefers-reduced-motion: reduce) {
  .coal i, .seal, .pin, .top-card, .menu-grid.anim .card { animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* números alineados (Cormorant usa números estilo antiguo por defecto) */
body, h1, h2, h3, h4, .stats b, .rank, .how li::before, .sum b, .num { font-variant-numeric: lining-nums; }

/* ============ la verdadera sazón (franja destacada) ============ */
.truth { position: relative; padding: clamp(70px, 10vw, 130px) 0; text-align: center; border-block: 1px solid var(--line);
  background: radial-gradient(ellipse 70% 120% at 50% 50%, rgba(200, 16, 46, .14), transparent 70%), rgba(10, 9, 8, .55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.truth::before, .truth::after { content: ''; position: absolute; left: 50%; transform: translateX(-50%); width: min(420px, 60vw); height: 2px; background: var(--peru-line); }
.truth::before { top: -1px; } .truth::after { bottom: -1px; }
.truth-flag { display: block; width: 54px; height: 30px; margin: 0 auto 30px; border-radius: 2px; background: linear-gradient(90deg, var(--peru) 0 33.33%, var(--hueso) 33.33% 66.66%, var(--peru) 66.66%); box-shadow: 0 10px 30px -10px rgba(200, 16, 46, .7); }
.truth h2 { font: 500 clamp(36px, 5.4vw, 74px)/1.06 var(--f-title); max-width: 18ch; margin: 0 auto; letter-spacing: -.01em; }
.truth h2 .hot { display: block; font-style: italic; color: var(--oro-2); }
.truth p { margin: 24px auto 0; max-width: 52ch; color: var(--crema-2); font-size: clamp(16px, 1.4vw, 18px); }

/* ============ botón de música criolla ============ */
.music-btn { position: fixed; left: clamp(14px, 2.4vw, 28px); bottom: clamp(14px, 2.4vw, 28px); z-index: 55; display: inline-flex; align-items: center; gap: 12px;
  padding: 11px 18px 11px 14px; border: 0; border-radius: 40px; cursor: pointer; color: var(--hueso);
  background: rgba(10, 9, 8, .72); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 14px 40px -14px rgba(0, 0, 0, .9);
  font: 700 10px/1 var(--f-hud); letter-spacing: .24em; text-transform: uppercase; transition: box-shadow .25s, color .25s; }
.music-btn:hover { box-shadow: inset 0 0 0 1px var(--oro), 0 14px 40px -14px rgba(0, 0, 0, .9); }
.music-btn.on { color: var(--oro-2); }
.mbars { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; width: 16px; }
.mbars i { width: 2px; height: 4px; background: var(--oro); border-radius: 1px; transition: height .3s; }
.music-btn.on .mbars i { animation: mb 1s ease-in-out infinite alternate; }
.music-btn.on .mbars i:nth-child(2) { animation-duration: .7s; } .music-btn.on .mbars i:nth-child(3) { animation-duration: 1.2s; } .music-btn.on .mbars i:nth-child(4) { animation-duration: .85s; }
@keyframes mb { from { height: 3px; } to { height: 14px; } }
@media (max-width: 760px) { .music-btn .mtxt { display: none; } .music-btn { padding: 12px; } }
@media (prefers-reduced-motion: reduce) { .music-btn.on .mbars i { animation: none; height: 10px; } }

@media (max-width: 1180px) { .seal { display: none; } }

/* ============ CAJA CHINA AL CARBÓN ============ */
.cchina { position: relative; }
.cchina::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 25% 40%, rgba(255, 106, 26, .10), transparent 70%); }
.cc-hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; position: relative; }
.cc-main { position: relative; margin: 0; border-radius: 4px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow), 0 0 80px -20px rgba(255, 106, 26, .35); }
.cc-main img { display: block; width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; animation: ccHeat 6s ease-in-out infinite; }
.cc-main::after { content: ''; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(55% 35% at 50% 18%, rgba(255, 106, 26, .35), transparent 70%); animation: breathe 3.2s ease-in-out infinite; }
.cc-main figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; align-items: center; gap: 14px; padding: 40px 22px 18px;
  background: linear-gradient(transparent, rgba(10, 9, 8, .92)); font: 500 14px/1.4 var(--f-body, Manrope, sans-serif); color: var(--crema-2); }
.cc-temp { font: 600 13px/1 var(--f-body, Manrope, sans-serif); letter-spacing: .14em; color: var(--ember); border: 1px solid rgba(255, 106, 26, .5); padding: 7px 10px; border-radius: 2px; white-space: nowrap; font-variant-numeric: lining-nums; }
.cc-copy > p { color: var(--crema-2); font-size: 17px; line-height: 1.7; margin: 22px 0 26px; max-width: 52ch; }
.cc-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.cc-points li { display: grid; grid-template-columns: 26px 1fr; column-gap: 14px; align-items: start; }
.cc-points li::before { content: ''; grid-row: span 2; width: 10px; height: 10px; margin: 6px 0 0 6px; border-radius: 50%;
  background: var(--ember); box-shadow: 0 0 0 4px rgba(255, 106, 26, .15), 0 0 16px 2px rgba(255, 106, 26, .7); animation: breathe 2.6s ease-in-out infinite; }
.cc-points b { font: 600 15px/1.3 var(--f-body, Manrope, sans-serif); color: var(--crema); letter-spacing: .02em; }
.cc-points span { color: var(--crema-3); font-size: 14.5px; line-height: 1.5; }
.cc-dishes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.4vw, 32px); margin-top: clamp(36px, 5vw, 70px); }
.cc-dish { position: relative; border-radius: 4px; overflow: hidden; border: 1px solid var(--line); background: var(--glass); }
.cc-dish::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--peru-line); z-index: 2; }
.cc-dish img { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform 1.2s ease; }
.cc-dish:hover img { transform: scale(1.04); }
.cc-dish > div { padding: 22px 24px 26px; }
.cc-dish h3 { font: 500 clamp(26px, 2.6vw, 34px)/1.1 var(--f-title); color: var(--crema); margin: 0 0 8px; }
.cc-dish p { color: var(--crema-2); font-size: 15px; line-height: 1.6; margin: 0; }
@keyframes ccHeat { 0%, 100% { filter: brightness(1) saturate(1); } 50% { filter: brightness(1.08) saturate(1.12); } }
@media (max-width: 860px) {
  .cc-hero, .cc-dishes { grid-template-columns: 1fr; }
  .cc-main figcaption { font-size: 13px; padding: 30px 16px 14px; }
}
@media (prefers-reduced-motion: reduce) { .cc-main img, .cc-main::after, .cc-points li::before { animation: none; } }

/* ============ PAGO: tarjeta (Square) o al recoger ============ */
.pay-choice { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; min-width: 0; }
.pay-choice[hidden], .sq-card[hidden], .pay-note[hidden] { display: none; }
.pay-choice legend { font: 700 10px/1 var(--f-hud); letter-spacing: .26em; text-transform: uppercase; color: var(--crema-2); margin-bottom: 10px; padding: 0; }
.pay-opt { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; padding: 12px 14px; border-radius: 2px; cursor: pointer;
  background: rgba(201, 169, 110, .04); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s, background .2s; }
.pay-opt:has(input:checked) { background: rgba(201, 169, 110, .1); box-shadow: inset 0 0 0 1px var(--oro); }
.pay-opt input { accent-color: var(--peru); width: 16px; height: 16px; margin: 3px 0 0; }
.pay-opt b { display: block; font: 600 14.5px/1.3 var(--f-body); color: var(--crema); }
.pay-opt small { display: block; font-size: 12.5px; color: var(--crema-3); margin-top: 2px; }
.sq-card { padding: 14px 12px 4px; border-radius: 2px; background: rgba(10, 9, 8, .6); box-shadow: inset 0 0 0 1px var(--line); }
#sqCardBox { min-height: 90px; }
.sq-secure { font-size: 12px; color: var(--crema-3); margin: 6px 0 8px; display: flex; gap: 6px; align-items: center; }
.sq-secure::before { content: '🔒'; font-size: 11px; }

/* ============ PORTADA SEGÚN EL MOMENTO DEL DÍA ============ */
.hero-slides { position: absolute; inset: 0; }
.hero-slides img { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s ease; transform: scale(1.04); }
.hero-slides img.on { opacity: 1; animation: heroKen 16s ease-out forwards; }
@keyframes heroKen { from { transform: scale(1.04) translateX(0); } to { transform: scale(1.12) translateX(-1.5%); } }
.hero[data-momento="tarde"] .hero-slides, .hero:not([data-momento="tarde"]) #heroVideo { display: none; }
.menu-moment { margin: 14px 0 0; font: 600 12px/1.4 var(--f-hud); letter-spacing: .2em; text-transform: uppercase; color: var(--oro-2); display: flex; align-items: center; gap: 10px; }
.menu-moment:empty { display: none; }
.menu-moment::before { content: '☀'; font-size: 15px; letter-spacing: 0; }
.menu-moment[data-m="tarde"]::before { content: '🍽'; }
.menu-moment[data-m="noche"]::before { content: '☾'; }
@media (max-width: 760px) { .hero-slides img { object-position: 72% 50%; } }
@media (prefers-reduced-motion: reduce) { .hero-slides img.on { animation: none; } }

/* ============ INTRO DEL CHEF EMILIO (una vez por visita) ============ */
.hero-intro { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; z-index: 1; opacity: 0; transition: opacity .9s ease; pointer-events: none; }
.hero.intro-on .hero-intro { opacity: 1; }
.hero.intro-on .hero-media::after { opacity: .35; }
.hero-media::after { transition: opacity .9s ease; }
.hero.intro-on .hero-inner > :not(.order-bar) { opacity: 0; transform: translateY(12px); pointer-events: none; }
.hero-inner > * { transition: opacity .9s ease, transform .9s ease; }
.hero.intro-on .seal { opacity: 0; }
.skip { position: absolute; z-index: 5; right: clamp(16px, 3vw, 40px); top: calc(var(--nav-h, 76px) + 18px); padding: 10px 18px; border: 1px solid var(--line-2); border-radius: 2px;
  background: rgba(10, 9, 8, .55); backdrop-filter: blur(6px); color: var(--crema); font: 600 11px/1 var(--f-hud); letter-spacing: .22em; text-transform: uppercase; cursor: pointer; transition: background .2s, border-color .2s; }
.skip:hover { background: rgba(200, 16, 46, .8); border-color: var(--peru); }
.skip[hidden] { display: none; }
