/* ==========================================================================
   BRASA — Hamburguesas artesanales al carbón · Tijuana
   Mobile-first. Estructura: tokens · base · layout · componentes · secciones
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg: #141414;
  --bg-alt: #181716;
  --surface: #1f1d1b;
  --surface-2: #2a2724;
  --line: rgba(248, 238, 226, 0.1);
  --cream: #f8eee2;
  --muted: #b3a89b;
  --ember: #e8501f;
  --ember-2: #ff7a2f;
  --amber: #f5a53d;
  --wa: #25d366;
  --wa-dark: #128c4a;

  --font-display: "Unbounded", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 20px;
  --radius-sm: 12px;
  --header-h: 68px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.7);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -0.01em; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon--sm { width: 18px; height: 18px; }
.icon--xl { width: 56px; height: 56px; stroke-width: 1.5; }

.skip-link {
  position: fixed; left: 12px; top: -60px; z-index: 200;
  background: var(--amber); color: #1a1208; padding: 10px 16px; border-radius: 10px; font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

.text-ember {
  background: linear-gradient(100deg, var(--amber), var(--ember-2) 45%, var(--ember));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; white-space: nowrap;
  transition: transform 0.25s var(--ease), background 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.btn:active { transform: scale(0.97); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 0.9rem; }
.btn--lg { min-height: 54px; padding: 0 28px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--primary {
  background: linear-gradient(180deg, var(--ember-2), var(--ember));
  color: #fff; box-shadow: 0 10px 24px -10px rgba(232, 80, 31, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(232, 80, 31, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn--ghost { background: rgba(248, 238, 226, 0.06); border-color: var(--line); color: var(--cream); }
.btn--ghost:hover { background: rgba(248, 238, 226, 0.12); border-color: rgba(248, 238, 226, 0.25); transform: translateY(-2px); }
.btn--wa { background: var(--wa); color: #06210f; box-shadow: 0 10px 24px -12px rgba(37, 211, 102, 0.7); }
.btn--wa:hover { transform: translateY(-2px); background: #2fe173; }

.btn-icon {
  display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 50%;
  transition: background 0.25s, transform 0.25s var(--ease), border-color 0.25s;
}
.btn-icon:hover { background: var(--ember); border-color: var(--ember); transform: translateY(-2px); }
.btn-icon:active { transform: scale(0.94); }

.link-btn { background: none; border: 0; color: var(--muted); font-size: 0.85rem; text-decoration: underline; padding: 8px; }
.link-btn:hover { color: var(--cream); }

.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px;
  background: rgba(248, 238, 226, 0.07); border: 1px solid var(--line); border-radius: 999px;
  font-size: 0.82rem; font-weight: 500; color: var(--cream);
}
.pill .icon { color: var(--ember-2); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 90; height: var(--header-h);
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}
.header.is-scrolled {
  background: rgba(20, 20, 20, 0.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.header__logo img { width: 116px; height: auto; }
.header__actions { display: flex; align-items: center; gap: 10px; }

.cart-btn, .menu-btn {
  position: relative; display: grid; place-items: center; width: 46px; height: 46px;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px;
  transition: background 0.25s, transform 0.25s;
}
.cart-btn:hover, .menu-btn:hover { background: #38332f; }
.cart-btn__badge {
  position: absolute; top: -7px; right: -7px; min-width: 22px; height: 22px; padding: 0 6px;
  display: grid; place-items: center; border-radius: 999px;
  background: var(--amber); color: #1a1208; font-size: 0.75rem; font-weight: 700;
}
.bump { animation: bump 0.45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.25); } }

.menu-btn .icon--close { display: none; }
.menu-btn[aria-expanded="true"] .icon--open { display: none; }
.menu-btn[aria-expanded="true"] .icon--close { display: block; }

/* Navegación móvil: panel desplegable */
.nav {
  position: fixed; inset: var(--header-h) 0 auto 0; padding: 12px 20px 28px;
  background: rgba(20, 20, 20, 0.97); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transform: translateY(-12px); opacity: 0; visibility: hidden;
  transition: transform 0.3s var(--ease), opacity 0.3s, visibility 0.3s;
}
.nav.is-open { transform: none; opacity: 1; visibility: visible; }
.nav__list a { display: block; padding: 14px 4px; font-size: 1.1rem; font-weight: 500; border-bottom: 1px solid var(--line); }
.nav__list a.is-active { color: var(--amber); }
.nav__cta { width: 100%; margin-top: 20px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + 28px) 0 56px;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(232, 80, 31, 0.14), transparent 70%),
    var(--bg);
}
.hero__inner { position: relative; z-index: 1; display: grid; gap: 28px; }
.hero__copy { display: grid; justify-items: start; gap: 18px; }
.hero h1 { font-size: clamp(1.85rem, 8.4vw, 4.4rem); font-weight: 800; }
.hero__lead { color: var(--muted); font-size: 1.02rem; max-width: 52ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; width: 100%; }
.hero__cta .btn { flex: 1 1 160px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 0.88rem; }
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero__facts .icon { color: var(--ember-2); }

.hero__visual { position: relative; display: grid; place-items: center; min-height: 300px; will-change: transform; }
.hero__glow {
  position: absolute; width: 90%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 80, 31, 0.62), rgba(245, 165, 61, 0.18) 45%, transparent 68%);
  filter: blur(8px); animation: pulse 5s ease-in-out infinite;
}
.hero__burger { position: relative; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.6)); }
.hero__burger--main { width: min(88vw, 520px); animation: float 6s ease-in-out infinite; }
.hero__burger--side {
  position: absolute; width: 34%; right: -2%; bottom: -2%; transform: rotate(10deg);
  animation: float-2 7s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-14px) rotate(-1deg); } }
@keyframes float-2 { 50% { transform: translateY(10px) rotate(6deg); } }
@keyframes pulse { 50% { transform: scale(1.08); opacity: 0.85; } }

.hero__embers { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero__embers span {
  position: absolute; bottom: -20px; left: var(--x); width: var(--s); height: var(--s); border-radius: 50%;
  background: var(--amber); box-shadow: 0 0 10px 2px rgba(255, 122, 47, 0.7); opacity: 0;
  animation: ember var(--d) linear var(--t) infinite;
}
@keyframes ember {
  0% { transform: translate(0, 0); opacity: 0; }
  15% { opacity: 0.9; }
  100% { transform: translate(28px, -85vh); opacity: 0; }
}

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--surface); padding: 14px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee__track span {
  display: inline-flex; align-items: center; padding-inline: 22px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.marquee__track span::after { content: ""; width: 8px; height: 8px; margin-left: 44px; border-radius: 50%; background: var(--ember); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { padding: 72px 0; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section__head { display: grid; gap: 12px; justify-items: center; text-align: center; max-width: 720px; margin: 0 auto 40px; }
.section__head--left { justify-items: start; text-align: left; margin: 0 0 28px; }
.section__head h2 { font-size: clamp(1.5rem, 6vw, 2.6rem); font-weight: 700; }
.section__lead { color: var(--muted); max-width: 56ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--ember-2);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }

.price { display: flex; align-items: baseline; gap: 8px; }
.price strong { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--amber); }
.price s { color: var(--muted); font-size: 0.85rem; }

/* ---------- Promociones ---------- */
.promos { display: grid; gap: 20px; }
.promo {
  position: relative; display: grid; grid-template-columns: 112px 1fr; gap: 6px 16px; align-items: center;
  padding: 18px; background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.4s;
}
.promo:hover { transform: translateY(-6px); border-color: rgba(232, 80, 31, 0.5); box-shadow: var(--shadow); }
.promo--featured { border-color: rgba(232, 80, 31, 0.55); background: linear-gradient(160deg, #3a2217, var(--surface)); }
.promo > img { grid-row: 1 / span 4; width: 112px; transition: transform 0.5s var(--ease); filter: drop-shadow(0 12px 14px rgba(0, 0, 0, 0.5)); }
.promo:hover > img { transform: scale(1.08) rotate(-4deg); }
.promo__tag {
  position: absolute; top: 14px; left: 14px; z-index: 1; padding: 5px 12px; border-radius: 999px;
  background: var(--ember); color: #fff; font-family: var(--font-display); font-size: 0.72rem; font-weight: 700;
}
.promo__body { display: contents; }
.promo__body > :not(.promo__foot) { grid-column: 2; }
.promo__when { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber); align-self: end; }
.promo h3 { font-size: 1.05rem; }
.promo__body > p:not(.promo__when) { color: var(--muted); font-size: 0.88rem; align-self: start; }
.promo__foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.promo__foot .price { margin-right: auto; }

/* ---------- Menú ---------- */
.tabs {
  display: flex; gap: 8px; margin: 0 -20px 28px; padding: 4px 20px;
  overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; scroll-padding-inline: 20px;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; padding: 10px 20px; border-radius: 999px; scroll-snap-align: start;
  background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-weight: 500; font-size: 0.92rem;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.tab:hover { color: var(--cream); border-color: rgba(248, 238, 226, 0.25); }
.tab.is-active { background: var(--ember); border-color: var(--ember); color: #fff; }

.menu-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.4s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(232, 80, 31, 0.45); box-shadow: var(--shadow); }
.card__media {
  position: relative; display: grid; place-items: center; padding: 14px 14px 0;
  background: radial-gradient(circle at 50% 55%, rgba(232, 80, 31, 0.28), transparent 65%);
}
.card__media img { width: 86%; transition: transform 0.55s var(--ease); filter: drop-shadow(0 14px 16px rgba(0, 0, 0, 0.55)); }
.card:hover .card__media img { transform: scale(1.1) rotate(-3deg); }
.card__body { display: flex; flex-direction: column; flex: 1; gap: 6px; padding: 14px; }
.card h3 { font-size: 0.88rem; }
.card__body > p:not(.price) {
  color: var(--muted); font-size: 0.8rem; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.card .price { margin-top: auto; padding-top: 4px; }
.card .price strong { font-size: 1.05rem; }
.card__actions { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.card__actions .btn { flex: 1; padding: 0 10px; }
.menu-note { margin-top: 28px; text-align: center; color: var(--muted); font-size: 0.85rem; }
.card[hidden] { display: none; }
.card.is-entering { animation: card-in 0.5s var(--ease) both; }
@keyframes card-in { from { opacity: 0; transform: translateY(18px) scale(0.97); } }

/* ---------- Por qué Brasa ---------- */
.why { display: grid; gap: 40px; align-items: center; }
.why__visual { position: relative; display: grid; place-items: center; max-width: 520px; margin-inline: auto; }
.why__ring {
  position: absolute; inset: 6%; border-radius: 50%;
  border: 2px dashed rgba(245, 165, 61, 0.35);
  background: radial-gradient(circle, rgba(232, 80, 31, 0.3), transparent 65%);
  animation: spin 40s linear infinite;
}
.why__visual img { position: relative; width: 86%; filter: drop-shadow(0 30px 36px rgba(0, 0, 0, 0.6)); }
.why__badge {
  position: absolute; left: 2%; bottom: 8%; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px; background: var(--ember); color: #fff;
  font-weight: 600; font-size: 0.88rem; box-shadow: var(--shadow); transform: rotate(-4deg);
}
@keyframes spin { to { transform: rotate(360deg); } }

.features { display: grid; gap: 14px; }
.feature {
  display: flex; gap: 16px; padding: 18px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color 0.3s, transform 0.4s var(--ease);
}
.feature:hover { border-color: rgba(232, 80, 31, 0.45); transform: translateX(6px); }
.feature__icon {
  flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  background: rgba(232, 80, 31, 0.15); color: var(--ember-2);
}
.feature h3 { font-size: 0.98rem; margin-bottom: 4px; }
.feature p { color: var(--muted); font-size: 0.9rem; }

/* ---------- Opiniones ---------- */
.reviews {
  display: flex; gap: 16px; margin: 0 -20px; padding: 4px 20px 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.reviews::-webkit-scrollbar { display: none; }
.review {
  flex: 0 0 84%; scroll-snap-align: center; display: grid; gap: 16px; align-content: space-between;
  padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.stars { display: flex; gap: 2px; color: var(--amber); }
.stars .icon { width: 20px; height: 20px; }
.review blockquote { font-size: 1rem; line-height: 1.6; }
.review figcaption { display: flex; align-items: center; gap: 12px; }
.review figcaption span:last-child { display: grid; line-height: 1.3; }
.review small { color: var(--muted); }
.avatar {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--amber), var(--ember)); color: #fff; font-family: var(--font-display); font-weight: 700;
}
.reviews__cta { display: flex; justify-content: center; margin-top: 28px; }

/* ---------- Contacto ---------- */
.steps { display: grid; gap: 14px; margin-bottom: 40px; counter-reset: step; }
.step { display: grid; grid-template-columns: 48px 1fr; gap: 2px 16px; align-items: center; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.step__n {
  grid-row: span 2; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--ember-2), var(--ember)); font-family: var(--font-display); font-weight: 700;
}
.step h3 { font-size: 1rem; }
.step p { color: var(--muted); font-size: 0.9rem; }

.contact { display: grid; gap: 20px; }
.contact__card, .faq { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.contact__card h3, .faq h3 { font-size: 1.15rem; margin-bottom: 18px; }
.info { display: grid; gap: 18px; margin-bottom: 24px; }
.info li { display: flex; gap: 14px; align-items: flex-start; }
.info .icon { color: var(--ember-2); margin-top: 2px; }
.info strong { display: block; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber); }
.info span { color: var(--cream); font-size: 0.98rem; }
.contact__buttons { display: grid; gap: 12px; }
.contact__tel { margin-top: 16px; color: var(--muted); font-size: 0.9rem; text-align: center; }
.contact__tel a { color: var(--cream); font-weight: 600; }

.faq details { border-top: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0;
  font-weight: 500; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--ember-2); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 16px; color: var(--muted); font-size: 0.92rem; }

/* ---------- Footer ---------- */
.footer { padding: 56px 0 0; background: #0f0f0f; border-top: 1px solid var(--line); }
.footer__inner { display: grid; gap: 28px; padding-bottom: 32px; }
.footer__brand { display: grid; gap: 14px; max-width: 360px; }
.footer__brand img { width: 220px; }
.footer__brand p { color: var(--muted); font-size: 0.92rem; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.footer__nav a { color: var(--muted); font-size: 0.92rem; transition: color 0.2s; }
.footer__nav a:hover { color: var(--amber); }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 20px 0 96px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.82rem;
}
.footer__bottom a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--surface); transition: background 0.25s; }
.footer__bottom a:hover { background: var(--ember); color: #fff; }

/* ---------- Barra móvil, toast ---------- */
.cart-bar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 56px; padding: 0 22px; border: 0; border-radius: 999px;
  background: linear-gradient(180deg, var(--ember-2), var(--ember)); color: #fff; font-weight: 600;
  box-shadow: 0 16px 36px -10px rgba(232, 80, 31, 0.8);
  animation: rise 0.45s var(--ease);
}
.cart-bar__left { display: inline-flex; align-items: center; gap: 10px; }
@keyframes rise { from { transform: translateY(100px); opacity: 0; } }

.toast {
  position: fixed; left: 50%; bottom: 84px; z-index: 120; max-width: calc(100% - 32px);
  padding: 12px 20px; border-radius: 999px; background: var(--cream); color: #1a1208;
  font-size: 0.9rem; font-weight: 600; box-shadow: var(--shadow);
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  transition: transform 0.35s var(--ease), opacity 0.35s;
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

/* ---------- Carrito (drawer) ---------- */
.overlay { position: fixed; inset: 0; z-index: 140; background: rgba(0, 0, 0, 0.65); backdrop-filter: blur(3px); opacity: 0; transition: opacity 0.3s; }
.overlay.is-visible { opacity: 1; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 150; width: min(440px, 100%);
  display: flex; flex-direction: column; background: var(--bg-alt); border-left: 1px solid var(--line);
  transform: translateX(100%); visibility: hidden;
  transition: transform 0.4s var(--ease), visibility 0.4s;
}
.drawer.is-open { transform: none; visibility: visible; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 1.2rem; }
.drawer__body { flex: 1; overflow-y: auto; padding: 20px; overscroll-behavior: contain; }
.drawer__empty { display: grid; justify-items: center; gap: 14px; padding: 48px 0; text-align: center; color: var(--muted); }
.drawer__foot { display: grid; gap: 10px; justify-items: center; padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--bg); }
.totals { width: 100%; display: grid; gap: 4px; }
.totals div { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.05rem; }
.totals strong { font-family: var(--font-display); font-size: 1.4rem; color: var(--amber); }
.totals small { color: var(--muted); }

.cart-list { display: grid; gap: 12px; margin-bottom: 24px; }
.cart-item { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); animation: card-in 0.35s var(--ease) both; }
.cart-item__name { font-weight: 600; font-size: 0.95rem; }
.cart-item__price { color: var(--amber); font-weight: 600; text-align: right; }
.cart-item__unit { color: var(--muted); font-size: 0.82rem; }
.qty { display: inline-flex; align-items: center; gap: 4px; justify-self: end; }
.qty button { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface-2); }
.qty button:hover { background: var(--ember); border-color: var(--ember); }
.qty button .icon { width: 16px; height: 16px; }
.qty output { min-width: 28px; text-align: center; font-weight: 600; }

.order-form { display: grid; gap: 18px; }
.order-form fieldset { border: 0; padding: 0; margin: 0; }
.order-form legend, .field label { display: block; margin-bottom: 8px; font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg label { margin: 0; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 10px;
  border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface);
  color: var(--cream); font-size: 0.88rem; font-weight: 500; text-align: center; transition: all 0.25s;
}
.seg input:checked + span { background: rgba(232, 80, 31, 0.18); border-color: var(--ember); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.field input, .field textarea {
  width: 100%; padding: 13px 14px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); font-size: 16px; resize: vertical; transition: border-color 0.25s, box-shadow 0.25s;
}
.field input::placeholder, .field textarea::placeholder { color: #7d746a; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ember-2); box-shadow: 0 0 0 3px rgba(232, 80, 31, 0.25); }
.field__error { display: none; margin-top: 6px; color: #ff8a6b; font-size: 0.82rem; }
.field.has-error input { border-color: #ff6b45; }
.field.has-error .field__error { display: block; }

/* ---------- Animaciones de scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .card.reveal.is-visible:hover, .js .promo.reveal.is-visible:hover { transform: translateY(-6px); transition-delay: 0s; transition-duration: 0.4s; }

/* ---------- Tablet ---------- */
@media (min-width: 600px) {
  .menu-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .card h3 { font-size: 1rem; }
  .card__body > p:not(.price) { font-size: 0.85rem; }
  .card__body { padding: 18px; }
  .review { flex-basis: 56%; }
  .contact__buttons { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step { grid-template-columns: 1fr; justify-items: start; gap: 10px; padding: 24px; }
  .step__n { grid-row: auto; }
}

/* ---------- Escritorio ---------- */
@media (min-width: 900px) {
  :root { --header-h: 80px; }
  .container { width: min(1200px, 100% - 64px); }
  .header__logo img { width: 140px; }
  .menu-btn { display: none; }
  .nav {
    position: static; display: flex; align-items: center; gap: 24px; padding: 0; background: none; border: 0;
    backdrop-filter: none; -webkit-backdrop-filter: none; transform: none; opacity: 1; visibility: visible;
  }
  .nav__list { display: flex; gap: 6px; }
  .nav__list a { padding: 8px 14px; border: 0; border-radius: 999px; font-size: 0.92rem; color: var(--muted); transition: color 0.2s, background 0.2s; }
  .nav__list a:hover { color: var(--cream); background: rgba(248, 238, 226, 0.07); }
  .nav__list a.is-active { color: var(--cream); background: rgba(232, 80, 31, 0.2); }
  .nav__cta { width: auto; margin: 0; }
  .header__inner { gap: 24px; }

  .hero { padding: calc(var(--header-h) + 56px) 0 96px; }
  .hero__inner { grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
  .hero__copy { gap: 24px; }
  .hero__cta .btn { flex: 0 0 auto; }
  .hero__visual { min-height: 560px; }
  .hero__burger--main { width: 540px; }

  .section { padding: 112px 0; }
  .section__head { margin-bottom: 56px; }

  .promos { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .promo { grid-template-columns: 1fr; grid-template-rows: auto 1fr; padding: 28px; text-align: left; }
  .promo > img { grid-row: auto; width: 62%; margin: 8px auto 4px; }
  .promo__body { display: flex; flex-direction: column; gap: 8px; }
  .promo__body > :not(.promo__foot) { grid-column: auto; }
  .promo h3 { font-size: 1.25rem; }
  .promo__body > p:not(.promo__when) { font-size: 0.95rem; }
  .promo__foot { grid-column: auto; margin-top: auto; padding-top: 10px; }
  .promo__tag { top: 20px; left: auto; right: 20px; font-size: 0.8rem; }
  .promo--featured { transform: translateY(-14px); }
  .promo--featured:hover { transform: translateY(-20px); }
  .js .promo--featured.reveal.is-visible { transform: translateY(-14px); }
  .js .promo--featured.reveal.is-visible:hover { transform: translateY(-20px); }

  .menu-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tabs { justify-content: center; margin-inline: 0; padding-inline: 0; }

  .why { grid-template-columns: 0.9fr 1.1fr; gap: 72px; }
  .feature { padding: 22px; }

  .reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; padding: 0; overflow: visible; }
  .review { flex-basis: auto; padding: 32px; }

  .contact { grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
  .contact__card, .faq { padding: 36px; }

  .footer__inner { grid-template-columns: 1.2fr 1fr; align-items: start; }
  .footer__nav { justify-content: flex-end; }
  .footer__bottom { padding-bottom: 28px; }

  .cart-bar { display: none !important; }
  .toast { bottom: 32px; }
}

@media (min-width: 1200px) {
  .hero__visual { min-height: 620px; }
  .hero__burger--main { width: 600px; }
}

/* ---------- Accesibilidad: menos movimiento ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero__embers, .marquee__track { display: none; }
}
