/* ==========================================================
   Papi Pizza · Pizzas Artesanales
   Paleta del logo sobre fondo oscuro de horno de leña
   ========================================================== */
:root {
  --bg: #140d09;
  --bg-2: #1c130d;
  --surface: #241810;
  --surface-2: #2e1f15;
  --line: rgba(255, 228, 190, .12);
  --cream: #f8ecd6;
  --text: #efe2cc;
  --muted: #bda98f;
  --red: #d8322a;
  --red-2: #b0221b;
  --green: #2e9a52;
  --green-2: #1f7a3e;
  --gold: #f0b94d;
  --gold-2: #c98f2a;
  --wa: #25d366;
  --wa-2: #1da851;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, .7);
  --f-display: "Playfair Display", Georgia, serif;
  --f-script: "Satisfy", cursive;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 68px;
  --topbar-h: 34px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(1200px 600px at 85% -10%, rgba(216, 50, 42, .10), transparent 60%),
    radial-gradient(900px 500px at -10% 40%, rgba(240, 185, 77, .06), transparent 60%);
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { line-height: 1.1; margin: 0; color: var(--cream); }
p { margin: 0; }
em { font-style: italic; color: var(--gold); }
[hidden] { display: none !important; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 999; background: var(--gold); color: #000; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 32px); }
.muted { color: var(--muted); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 800; font-size: 15px; text-decoration: none; letter-spacing: .01em;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease, border-color .18s;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 20px; height: 20px; }
.btn--red { background: linear-gradient(180deg, #e53b31, var(--red-2)); color: #fff; box-shadow: 0 10px 24px -10px rgba(216, 50, 42, .8); }
.btn--red:hover { box-shadow: 0 14px 30px -10px rgba(216, 50, 42, 1); transform: translateY(-1px); }
.btn--ghost { border-color: rgba(248, 236, 214, .35); color: var(--cream); background: rgba(0, 0, 0, .25); backdrop-filter: blur(4px); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--wa { background: linear-gradient(180deg, #2ee073, var(--wa-2)); color: #06290f; }
.btn--wa:hover { transform: translateY(-1px); box-shadow: 0 12px 26px -12px rgba(37, 211, 102, .9); }
.btn--sm { padding: 8px 16px; font-size: 14px; }
.btn--lg { padding: 15px 28px; font-size: 16px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.link-btn { background: none; border: 0; color: var(--muted); text-decoration: underline; font-size: 14px; padding: 6px 0; }
.link-btn:hover { color: var(--red); }

.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .04); color: var(--cream); position: relative;
  transition: background .2s, border-color .2s;
}
.icon-btn:hover { border-color: var(--gold); }
.icon-btn svg { width: 22px; height: 22px; }

/* ---------- Topbar ---------- */
.topbar {
  height: var(--topbar-h); background: linear-gradient(90deg, var(--green-2), var(--green) 33%, #f3ead9 33%, #f3ead9 66%, var(--red) 66%, var(--red-2));
  position: relative; overflow: hidden;
}
.topbar::after { content: ""; position: absolute; inset: 0; background: rgba(20, 13, 9, .86); }
.topbar__track { position: relative; z-index: 1; height: 100%; display: grid; place-items: center; }
.topbar__msg {
  grid-area: 1 / 1; font-size: 13px; font-weight: 700; color: var(--cream); letter-spacing: .02em;
  opacity: 0; transform: translateY(10px); transition: opacity .45s, transform .45s; text-align: center; padding: 0 12px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%;
}
.topbar__msg.is-active { opacity: 1; transform: none; }
.topbar__msg.is-open { color: #6fe39a; }
.topbar__msg.is-closed { color: #ff8a80; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(20, 13, 9, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s;
}
.header.is-scrolled { border-color: var(--line); background: rgba(20, 13, 9, .92); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 52px; height: 52px; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .5)); }
.brand__txt { display: flex; flex-direction: column; line-height: 1.05; }
.brand__txt strong { font-family: var(--f-display); font-weight: 900; font-size: 20px; color: var(--cream); }
.brand__txt small { font-family: var(--f-script); color: var(--gold); font-size: 15px; }
.nav { display: none; }
.header__actions { display: flex; align-items: center; gap: 8px; }
.header__cta { display: none; }
.cart-badge {
  position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
  background: var(--red); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center;
  transform: scale(0); transition: transform .25s cubic-bezier(.3, 1.6, .5, 1);
}
.cart-badge.has-items { transform: scale(1); }
.cart-badge.bump { animation: bump .45s; }
@keyframes bump { 40% { transform: scale(1.45); } }
.menu-btn { gap: 4px; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.menu-btn span { width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s, opacity .25s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 959px) {
  .nav.is-open {
    display: flex; flex-direction: column; position: fixed; inset: calc(var(--header-h)) 0 auto 0;
    background: rgba(20, 13, 9, .98); padding: 12px 16px 24px; border-bottom: 1px solid var(--line);
    animation: drop .25s ease;
  }
  .nav.is-open a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 700; color: var(--cream); }
  .nav.is-open .nav__cta { margin-top: 16px; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }

@media (min-width: 960px) {
  .nav { display: flex; align-items: center; gap: 22px; }
  .nav a:not(.btn) { text-decoration: none; font-weight: 700; font-size: 14.5px; color: var(--text); position: relative; padding: 6px 0; }
  .nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .25s; transform-origin: left; }
  .nav a:not(.btn):hover::after { transform: scaleX(1); }
  .nav__cta { display: none; }
  .menu-btn { display: none; }
  .header__cta { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: calc(100svh - var(--header-h) - var(--topbar-h)); display: flex; align-items: flex-end; padding: 72px 0 44px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transform: scale(1.06); animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20, 13, 9, .35) 0%, rgba(20, 13, 9, .55) 45%, var(--bg) 100%),
              linear-gradient(90deg, rgba(20, 13, 9, .85) 0%, rgba(20, 13, 9, .2) 70%);
}
.hero__inner { position: relative; z-index: 1; }
.status-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: rgba(0, 0, 0, .45); border: 1px solid var(--line); font-size: 13px; font-weight: 700; margin-bottom: 18px;
}
.status-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.status-pill.is-open .dot { background: #44d07a; box-shadow: 0 0 0 0 rgba(68, 208, 122, .7); animation: pulse 2s infinite; }
.status-pill.is-closed .dot { background: #ff6b5e; }
.status-pill--sm { margin: 12px 0 0; font-size: 12px; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(68, 208, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(68, 208, 122, 0); } }
.hero__kicker { font-family: var(--f-script); color: var(--gold); font-size: 24px; margin-bottom: 6px; }
.hero__title { font-family: var(--f-display); font-weight: 900; font-size: clamp(40px, 10.5vw, 84px); letter-spacing: -.01em; text-shadow: 0 6px 30px rgba(0, 0, 0, .5); }
.hero__title em { display: inline-block; color: var(--gold); }
.hero__lead { max-width: 560px; margin-top: 18px; font-size: 17px; color: var(--text); }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero__btns .btn { flex: 1 1 auto; }
@media (min-width: 560px) { .hero__btns .btn { flex: 0 0 auto; } }
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 34px; max-width: 560px;
  background: rgba(20, 13, 9, .55); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 8px; backdrop-filter: blur(6px);
}
.stat { text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--f-display); font-size: clamp(24px, 6vw, 36px); color: var(--gold); line-height: 1.1; }
.stat small { color: var(--muted); font-size: 12px; font-weight: 600; }

/* ---------- Marquee ---------- */
.marquee { background: var(--red); color: #fff; overflow: hidden; border-block: 3px solid var(--gold-2); transform: rotate(-1.2deg); margin: 8px -10px; box-shadow: var(--shadow); }
.marquee__track { display: flex; gap: 22px; width: max-content; padding: 12px 0; animation: marquee 32s linear infinite; }
.marquee span { font-family: var(--f-display); font-style: italic; font-weight: 800; font-size: 20px; white-space: nowrap; }
.marquee i { font-style: normal; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { padding: 76px 0; position: relative; }
.section--dark { background: var(--bg-2); border-block: 1px solid var(--line); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.eyebrow { font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; font-weight: 800; color: var(--red); margin-bottom: 10px; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before, .eyebrow::after { content: ""; width: 22px; height: 2px; background: currentColor; opacity: .7; }
.section__title { font-family: var(--f-display); font-weight: 900; font-size: clamp(32px, 7vw, 52px); }
.section__lead { margin-top: 14px; color: var(--muted); font-size: 16.5px; }
.note { font-size: 13px; color: var(--muted); margin-top: 12px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track, .hero__bg img { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Historia ---------- */
.story { display: grid; gap: 18px; }
@media (min-width: 800px) { .story { grid-template-columns: repeat(3, 1fr); } }
.story__card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .3s, border-color .3s; }
.story__card:hover { transform: translateY(-4px); border-color: rgba(240, 185, 77, .4); }
.story__img { aspect-ratio: 16 / 10; overflow: hidden; }
.story__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.story__card:hover .story__img img { transform: scale(1.06); }
.story__body { padding: 22px; position: relative; }
.story__num { position: absolute; top: -26px; right: 18px; font-family: var(--f-display); font-weight: 900; font-size: 44px; color: var(--gold); text-shadow: 0 4px 16px rgba(0, 0, 0, .7); }
.story__body h3 { font-family: var(--f-display); font-size: 24px; margin-bottom: 8px; }
.story__body p { color: var(--muted); font-size: 15px; }

/* ---------- Carta ---------- */
.menu { display: grid; gap: 20px; }
@media (min-width: 640px) { .menu { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .menu { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .3s, border-color .3s, box-shadow .3s; position: relative;
}
.card:hover { transform: translateY(-5px); border-color: rgba(240, 185, 77, .45); box-shadow: var(--shadow); }
.card--star { border-color: rgba(240, 185, 77, .6); box-shadow: 0 0 0 1px rgba(240, 185, 77, .25), var(--shadow); }
.card__img { aspect-ratio: 1 / 1; overflow: hidden; position: relative; background: #000; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.card:hover .card__img img { transform: scale(1.05) rotate(.6deg); }
.card__tag {
  position: absolute; top: 14px; left: 14px; z-index: 1; padding: 6px 12px; border-radius: 999px;
  background: var(--gold); color: #2a1a06; font-weight: 800; font-size: 13px; box-shadow: 0 6px 16px rgba(0, 0, 0, .4);
}
.card__body { padding: 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card__title { font-family: var(--f-display); font-size: 26px; }
.card__desc { color: var(--muted); font-size: 15px; flex: 1; }
.size-toggle { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.size-toggle button {
  border: 0; background: transparent; border-radius: 999px; padding: 9px 6px; font-weight: 800; font-size: 14px; color: var(--muted);
  transition: background .2s, color .2s; line-height: 1.2;
}
.size-toggle button small { display: block; font-weight: 600; font-size: 11px; opacity: .8; }
.size-toggle button[aria-pressed="true"] { background: var(--cream); color: #2a1a06; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price { font-family: var(--f-display); font-weight: 900; font-size: 30px; color: var(--gold); line-height: 1; }
.price.flash { animation: flash .4s; }
@keyframes flash { 50% { transform: scale(1.12); color: #fff; } }

/* ---------- Promo ---------- */
.promo-section { background: radial-gradient(700px 400px at 20% 50%, rgba(216, 50, 42, .18), transparent 70%); }
.promo { display: grid; gap: 30px; align-items: center; }
@media (min-width: 900px) { .promo { grid-template-columns: 1.1fr 1fr; gap: 50px; } }
.promo__media { position: relative; border-radius: var(--radius); overflow: hidden; border: 3px solid var(--gold-2); box-shadow: var(--shadow); }
.promo__badge {
  position: absolute; top: 14px; right: 14px; background: var(--red); color: #fff; font-weight: 900; font-size: 20px;
  width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; border: 3px solid var(--gold); transform: rotate(10deg);
}
.promo__body .eyebrow { margin-bottom: 8px; }
.promo__body .eyebrow::before { display: none; }
.promo__desc { color: var(--muted); margin-top: 10px; }
.promo__price { display: flex; align-items: baseline; gap: 14px; margin: 18px 0 20px; }
.promo__price s { color: var(--muted); font-size: 20px; }
.promo__price strong { font-family: var(--f-display); font-size: 54px; color: var(--gold); line-height: 1; }
.promo__count-label { font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.countdown { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 20px; max-width: 360px; }
.countdown div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); text-align: center; padding: 10px 6px; }
.countdown strong { display: block; font-family: var(--f-display); font-size: 34px; color: var(--cream); line-height: 1.1; font-variant-numeric: tabular-nums; }
.countdown small { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; }

/* ---------- Arma tu pizza ---------- */
.builder { display: grid; gap: 24px; align-items: start; }
@media (min-width: 960px) { .builder { grid-template-columns: 1.5fr 1fr; } .builder__summary { position: sticky; top: calc(var(--header-h) + 20px); } }
.builder__steps { display: grid; gap: 16px; }
.step { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); padding: 18px; margin: 0; min-width: 0; }
.step legend { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 800; font-size: 21px; color: var(--cream); padding: 0 6px; }
.step legend small { font-family: var(--f-body); font-size: 11.5px; font-weight: 800; color: var(--gold); text-transform: uppercase; letter-spacing: .1em; margin-left: auto; padding-left: 10px; }
.step__n { width: 30px; height: 30px; border-radius: 50%; background: var(--red); color: #fff; font-family: var(--f-body); font-size: 15px; display: grid; place-items: center; flex: none; }
.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 10px; margin-top: 10px; }
.opts--wide { grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; pointer-events: none; }
.opt label {
  display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: var(--radius-sm); cursor: pointer; height: 100%;
  border: 1.5px solid var(--line); background: var(--bg); transition: border-color .2s, background .2s, transform .15s;
}
.opt label:hover { border-color: rgba(240, 185, 77, .5); }
.opt label strong { font-size: 14.5px; color: var(--cream); }
.opt label span { font-size: 13px; color: var(--muted); }
.opt input:checked + label { border-color: var(--gold); background: rgba(240, 185, 77, .12); }
.opt input:checked + label::after { content: "✓"; position: absolute; top: 8px; right: 10px; color: var(--gold); font-weight: 900; }
.opt input:focus-visible + label { outline: 3px solid var(--gold); outline-offset: 2px; }
.builder__summary { background: var(--surface); border: 1px solid rgba(240, 185, 77, .35); border-radius: var(--radius); padding: 18px; display: grid; gap: 12px; }
.builder__img { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 16 / 9; }
.builder__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.builder__summary h3 { font-family: var(--f-display); font-size: 24px; }
.summary { margin: 0; display: grid; gap: 8px; font-size: 14.5px; }
.summary div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--line); padding-bottom: 8px; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; text-align: right; color: var(--cream); font-weight: 600; }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; }
.summary__total span { font-weight: 800; }
.summary__total strong { font-family: var(--f-display); font-size: 34px; color: var(--gold); }

/* ---------- Calculadora ---------- */
.calc { display: grid; gap: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
@media (min-width: 860px) { .calc { grid-template-columns: 1fr 1.4fr; padding: 28px; gap: 30px; } }
.calc__inputs { display: grid; gap: 14px; align-content: start; }
.stepper { display: flex; align-items: center; justify-content: space-between; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px 10px 16px; font-weight: 800; }
.stepper__ctrl { display: flex; align-items: center; gap: 6px; }
.stepper__ctrl button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface-2); font-size: 20px; font-weight: 800; color: var(--cream); }
.stepper__ctrl button:hover { border-color: var(--gold); color: var(--gold); }
.stepper output { min-width: 34px; text-align: center; font-family: var(--f-display); font-size: 24px; color: var(--gold); }
.calc__items { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.calc__item { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px; text-align: center; }
.calc__item .ico { font-size: 26px; }
.calc__item strong { display: block; font-family: var(--f-display); font-size: 32px; color: var(--gold); line-height: 1.1; }
.calc__item small { color: var(--muted); font-size: 13px; font-weight: 600; }
.calc__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.calc__foot small { display: block; color: var(--muted); font-size: 13px; }
.calc__foot strong { font-family: var(--f-display); font-size: 32px; color: var(--cream); }

/* ---------- Campos ---------- */
.field { display: grid; gap: 6px; font-size: 14px; font-weight: 700; color: var(--cream); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: var(--bg);
  font-weight: 500; font-size: 16px; color: var(--cream); transition: border-color .2s;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23f0b94d' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.field select option { background: var(--bg-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field input::placeholder, .field textarea::placeholder { color: #7d6b57; }
.field.is-invalid input, .field.is-invalid select { border-color: #ff6b5e; }

/* ---------- Delivery ---------- */
.zone { max-width: 760px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 18px; }
.zone__result { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.zone__result div { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; text-align: center; }
.zone__result strong { display: block; font-family: var(--f-display); font-size: clamp(24px, 7vw, 34px); white-space: nowrap; color: var(--gold); line-height: 1.1; }
.zone__result small { color: var(--muted); font-size: 13px; font-weight: 600; }
.zone__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: var(--bg); border-radius: 999px; padding: 7px 13px; font-size: 13px; font-weight: 700; color: var(--text); transition: border-color .2s, background .2s; }
.chip:hover { border-color: var(--gold); }
.chip.is-active { background: var(--gold); color: #2a1a06; border-color: var(--gold); }
.zone__free { text-align: center; font-weight: 700; color: var(--cream); background: rgba(46, 154, 82, .15); border: 1px solid rgba(46, 154, 82, .4); border-radius: var(--radius-sm); padding: 12px; }

/* ---------- Cómo pedir ---------- */
.how { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 640px) { .how { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .how { grid-template-columns: repeat(4, 1fr); } }
.how li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; position: relative; overflow: hidden; }
.how__n { position: absolute; right: 14px; top: 2px; font-family: var(--f-display); font-weight: 900; font-size: 72px; color: rgba(240, 185, 77, .12); line-height: 1; }
.how__ico { font-size: 34px; display: block; margin-bottom: 10px; }
.how h3 { font-family: var(--f-display); font-size: 22px; margin-bottom: 6px; }
.how p { color: var(--muted); font-size: 15px; }

/* ---------- Pagos ---------- */
.pay { display: grid; gap: 16px; }
@media (min-width: 720px) { .pay { grid-template-columns: repeat(3, 1fr); } }
.pay__card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-align: center; }
.pay__logo { width: 74px; height: 74px; border-radius: 20px; display: inline-grid; place-items: center; font-weight: 900; font-size: 22px; margin-bottom: 14px; letter-spacing: -.02em; }
.pay__logo--yape { background: #6c1d8e; color: #fff; font-style: italic; }
.pay__logo--plin { background: linear-gradient(135deg, #00c2c7, #2f6fe4); color: #fff; }
.pay__logo--cash { background: var(--green); color: #fff; font-family: var(--f-display); font-size: 28px; }
.pay__card h3 { font-family: var(--f-display); font-size: 22px; margin-bottom: 6px; }
.pay__card p { color: var(--muted); font-size: 15px; }

/* ---------- Galería ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; gap: 10px; grid-auto-flow: dense; }
@media (min-width: 800px) { .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 14px; } }
.g { margin: 0; position: relative; border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; background: var(--surface); }
.g--tall { grid-row: span 2; }
.g--wide { grid-column: span 2; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.g:hover img { transform: scale(1.07); }
.g figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 12px 10px; font-weight: 700; font-size: 13.5px; color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, .8));
}
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(0, 0, 0, .92); display: grid; place-items: center; padding: 16px; }
.lightbox img { max-height: 88vh; max-width: 100%; border-radius: var(--radius-sm); }
.lightbox__close { position: absolute; top: 16px; right: 16px; }

/* ---------- Reseñas ---------- */
.rating { display: flex; align-items: center; justify-content: center; gap: 14px; margin: -14px auto 30px; }
.rating > strong { font-family: var(--f-display); font-size: 56px; color: var(--cream); line-height: 1; }
.stars { color: var(--gold); font-size: 22px; letter-spacing: 2px; display: block; }
.rating small { color: var(--muted); font-weight: 600; }
.reviews { display: grid; gap: 16px; }
@media (min-width: 720px) { .reviews { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.review .stars { font-size: 16px; }
.review p { color: var(--text); font-size: 15px; flex: 1; }
.review__who { display: flex; align-items: center; gap: 12px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; flex: none; }
.review__who strong { display: block; color: var(--cream); font-size: 15px; }
.review__who small { color: var(--muted); font-size: 13px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color .2s; }
.faq details[open] { border-color: rgba(240, 185, 77, .45); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 50px 18px 20px; font-weight: 800; color: var(--cream); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--gold); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 20px 18px; color: var(--muted); }

/* ---------- CTA ---------- */
.cta { padding: 90px 0; text-align: center; position: relative; overflow: hidden; background: linear-gradient(rgba(20, 13, 9, .75), rgba(20, 13, 9, .9)), url("../img/galeria-horno.webp") center / cover; }
.cta h2 { font-family: var(--f-display); font-weight: 900; font-size: clamp(36px, 8vw, 64px); }
.cta p { color: var(--text); max-width: 560px; margin: 16px auto 0; }
.cta .hero__btns { justify-content: center; }

/* ---------- Footer ---------- */
.footer { background: #0e0906; border-top: 3px solid; border-image: linear-gradient(90deg, var(--green) 33%, var(--cream) 33% 66%, var(--red) 66%) 1; padding: 56px 0 120px; }
@media (min-width: 960px) { .footer { padding-bottom: 30px; } }
.footer__grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer h3 { font-family: var(--f-display); font-size: 19px; margin-bottom: 10px; color: var(--gold); }
.footer p { color: var(--text); font-size: 15px; }
.footer__brand img { width: 96px; height: 96px; margin-bottom: 12px; }
.footer__wa { color: var(--wa); font-weight: 800; text-decoration: none; }
.footer__wa:hover { text-decoration: underline; }
.social { display: flex; gap: 10px; margin-top: 14px; }
.social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--cream); transition: border-color .2s, color .2s; }
.social a:hover { border-color: var(--gold); color: var(--gold); }
.social svg { width: 18px; height: 18px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: 84px; z-index: 60; display: flex; align-items: center; gap: 8px;
  background: var(--wa); color: #06290f; text-decoration: none; font-weight: 800; border-radius: 999px; padding: 10px; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .7);
  transition: transform .2s;
}
.wa-float:hover { transform: translateY(-2px) scale(1.03); }
.wa-float svg { width: 34px; height: 34px; color: #fff; }
.wa-float span { display: none; padding-right: 8px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; animation: ring 2.4s infinite; box-shadow: 0 0 0 0 rgba(37, 211, 102, .6); }
@keyframes ring { 70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
@media (min-width: 960px) { .wa-float { bottom: 24px; right: 24px; padding: 10px 14px 10px 10px; } .wa-float span { display: inline; } }

/* ---------- Barra móvil ---------- */
.mobile-bar {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60; border: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-radius: 999px;
  background: linear-gradient(180deg, #e53b31, var(--red-2)); color: #fff; font-weight: 700; font-size: 15.5px;
  box-shadow: 0 14px 34px -10px rgba(0, 0, 0, .8), 0 0 0 1px rgba(240, 185, 77, .5);
}
.mobile-bar__count { background: #fff; color: var(--red-2); border-radius: 999px; min-width: 28px; height: 28px; display: grid; place-items: center; font-weight: 900; font-size: 14px; padding: 0 6px; }
.mobile-bar strong { font-weight: 900; }
@media (min-width: 960px) { .mobile-bar { display: none; } }

/* ---------- Carrito ---------- */
.overlay { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, .6); backdrop-filter: blur(2px); animation: fade .25s; }
@keyframes fade { from { opacity: 0; } }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 100; width: min(440px, 100%); background: var(--bg-2); border-left: 1px solid var(--line);
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform .35s cubic-bezier(.2, .8, .2, 1); visibility: hidden;
}
.drawer.is-open { transform: none; visibility: visible; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-family: var(--f-display); font-size: 26px; }
.drawer__body { flex: 1; overflow-y: auto; padding: 16px 18px; overscroll-behavior: contain; }
.drawer__foot { padding: 14px 18px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--surface); }
.cart-empty { text-align: center; padding: 40px 10px; display: grid; gap: 14px; justify-items: center; color: var(--muted); }
.cart-empty__icon { font-size: 54px; }
.drawer.is-empty .cart-form, .drawer.is-empty #cartClear, .drawer.is-empty .drawer__foot { display: none; }
.drawer:not(.is-empty) .cart-empty { display: none; }
.cart-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cart-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px; }
.cart-item img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; }
.cart-item__name { font-weight: 800; color: var(--cream); font-size: 14.5px; line-height: 1.25; }
.cart-item__det { color: var(--muted); font-size: 12.5px; line-height: 1.35; margin-top: 2px; }
.cart-item__price { color: var(--gold); font-weight: 800; font-size: 14px; margin-top: 4px; }
.cart-item__side { display: grid; justify-items: end; gap: 6px; }
.qty { display: flex; align-items: center; gap: 4px; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 2px; }
.qty button { width: 30px; height: 30px; border-radius: 50%; border: 0; background: var(--surface-2); color: var(--cream); font-weight: 900; font-size: 16px; }
.qty span { min-width: 22px; text-align: center; font-weight: 800; font-size: 14px; }
.remove { background: none; border: 0; color: var(--muted); font-size: 12px; text-decoration: underline; padding: 0; }
.remove:hover { color: #ff6b5e; }
#cartClear { display: block; margin: 8px 0 0 auto; }
.cart-form { display: grid; gap: 12px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.cart-form h3 { font-family: var(--f-display); font-size: 20px; }
.totals { display: grid; gap: 6px; margin-bottom: 12px; font-size: 14.5px; }
.totals > div { display: flex; justify-content: space-between; }
.totals__hint { font-size: 12.5px; color: var(--gold); font-weight: 700; }
.totals__hint.is-free { color: #6fe39a; }
.totals__grand { padding-top: 8px; border-top: 1px dashed var(--line); align-items: baseline; }
.totals__grand span { font-weight: 800; color: var(--cream); }
.totals__grand strong { font-family: var(--f-display); font-size: 30px; color: var(--gold); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 92px; z-index: 300; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--cream); color: #2a1a06; font-weight: 800; padding: 12px 20px; border-radius: 999px; box-shadow: var(--shadow);
  transition: opacity .3s, transform .3s; max-width: calc(100% - 32px); text-align: center; font-size: 14.5px;
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 960px) { .toast { bottom: 30px; } }
