:root {
  --bg: #0e0b08;
  --bg-alt: #15100c;
  --card: #1c1611;
  --card-2: #241c15;
  --line: rgba(240, 199, 94, 0.16);
  --gold: #e9b949;
  --gold-2: #f6d27a;
  --red: #d0182f;
  --cream: #f4ead6;
  --muted: #b5a891;
  --ok: #5cc28a;
  --oro: #e9b949;
  --plata: #c9ccd1;
  --bronce: #d08a54;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --display: 'Bebas Neue', Impact, 'Arial Narrow', sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font: 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-2); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: 0.02em; line-height: 1.02; margin: 0 0 0.4em; }
h1 { font-size: clamp(2.6rem, 6.5vw, 4.8rem); }
h2 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 2px; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.wrap--narrow { width: min(760px, 100% - 32px); }
.muted { color: var(--muted); }
.center { text-align: center; }
.eyebrow { color: var(--gold); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.6em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--gold); color: #000; padding: 8px 12px; border-radius: 8px; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; text-decoration: none; transition: transform 0.15s, background 0.15s, border-color 0.15s;
  min-height: 46px;
}
.btn:active { transform: scale(0.97); }
.btn--gold { background: var(--gold); color: #1a1205; }
.btn--gold:hover { background: var(--gold-2); }
.btn--ghost { background: transparent; color: var(--cream); border-color: rgba(244, 234, 214, 0.3); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.btn--wa { background: #25d366; color: #062c14; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.icon-btn { background: none; border: 0; color: var(--cream); font-size: 1.3rem; width: 40px; height: 40px; border-radius: 50%; }
.icon-btn:hover { background: rgba(255, 255, 255, 0.08); }

/* Topbar + header */
.topbar { background: var(--red); color: #fff; text-align: center; font-size: 0.85rem; font-weight: 600; padding: 7px 12px; }
.header { position: sticky; top: 0; z-index: 30; background: rgba(14, 11, 8, 0.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header__in { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cream); }
.brand__mark {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--gold); color: var(--gold); font-family: var(--display); font-size: 1.3rem; letter-spacing: 0.04em;
}
.brand__mark--lg { width: 72px; height: 72px; font-size: 2.2rem; margin: 0 auto 16px; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.1; }
.brand__txt strong { font-family: var(--display); font-size: 1.45rem; font-weight: 400; letter-spacing: 0.04em; }
.brand__txt small { color: var(--muted); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--cream); text-decoration: none; font-weight: 500; font-size: 0.95rem; opacity: 0.85; }
.nav a:hover { color: var(--gold-2); opacity: 1; }
.cart-btn { position: relative; background: var(--card); border: 1px solid var(--line); color: var(--cream); width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; }
.cart-btn svg { width: 22px; height: 22px; }
.cart-btn__n { position: absolute; top: -4px; right: -4px; background: var(--red); color: #fff; font-size: 0.72rem; font-weight: 700; min-width: 20px; height: 20px; border-radius: 10px; display: grid; place-items: center; padding: 0 5px; }
.cart-btn__n:empty, .cart-btn__n[data-n="0"] { display: none; }
.cart-btn.bump { animation: bump 0.35s; }
@keyframes bump { 50% { transform: scale(1.18); } }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 56px 0 64px; background: radial-gradient(ellipse at 75% 30%, rgba(233, 185, 73, 0.16), transparent 60%), var(--bg); }
.hero__in { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.lead { font-size: 1.12rem; color: #e6dbc6; max-width: 34em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 32px; }
.stats { list-style: none; padding: 0; margin: 0; display: flex; gap: 28px; flex-wrap: wrap; }
.stats li { display: flex; flex-direction: column; }
.stats b { font-family: var(--display); font-weight: 400; font-size: 2.6rem; line-height: 1; color: var(--gold); }
.stats span { color: var(--muted); font-size: 0.85rem; }
.hero__img { margin: 0; }
.hero__img img { border-radius: 24px; box-shadow: var(--shadow); aspect-ratio: 1 / 1; height: auto; max-height: 540px; object-fit: cover; object-position: 50% 68%; width: 100%; border: 1px solid var(--line); }

/* Secciones */
.section { padding: 72px 0; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section__head { margin-bottom: 28px; }
.section__head h2 { margin-bottom: 0.2em; }

.grid { display: grid; gap: 18px; }
.grid--beers { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.grid--packs { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.skeleton { height: 380px; border-radius: var(--radius); background: linear-gradient(90deg, var(--card) 0%, var(--card-2) 50%, var(--card) 100%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }

/* Producto */
.prod { display: flex; flex-direction: column; overflow: hidden; transition: border-color 0.2s, transform 0.2s; }
.prod:hover { border-color: rgba(240, 199, 94, 0.4); transform: translateY(-2px); }
.prod__img { position: relative; height: 230px; display: grid; place-items: center; background: radial-gradient(ellipse at 50% 100%, rgba(233, 185, 73, 0.18) 0%, transparent 60%), #000; }
.prod__img img { height: 200px; width: auto; object-fit: contain; border-radius: 6px; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.6)); }
.prod__img--pack { gap: 0; display: flex; justify-content: center; align-items: flex-end; padding-bottom: 18px; }
.prod__img--pack img { height: 150px; margin-inline: -10px; }
.prod__img--pack img:nth-child(even) { transform: translateY(-10px); }
.prod__tag { position: absolute; top: 12px; left: 12px; background: var(--red); color: #fff; font-size: 0.72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.06em; }
.prod__tag--gold { background: var(--gold); color: #1a1205; }
.prod__body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.prod__name { font-family: var(--display); font-size: 1.8rem; line-height: 1; margin: 0; }
.prod__style { color: var(--gold); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin: 0; }
.prod__desc { color: #ddd1bb; font-size: 0.92rem; margin: 0; }
.prod__pair { color: var(--muted); font-size: 0.82rem; margin: 0; }
.prod__pair b { color: var(--cream); font-weight: 600; }
.medals { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 2px 0; }
.medal { display: inline-flex; align-items: center; gap: 5px; font-size: 0.72rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); }
.medal::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--c, var(--oro)); box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.35); }
.medal--oro { --c: var(--oro); }
.medal--plata { --c: var(--plata); }
.medal--bronce { --c: var(--bronce); }
.prod__foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { display: flex; flex-direction: column; line-height: 1.1; }
.price b { font-size: 1.35rem; }
.price s { color: var(--muted); font-size: 0.85rem; }
.price small { color: var(--ok); font-size: 0.78rem; font-weight: 600; }
.stock-low { color: var(--gold-2); font-size: 0.78rem; font-weight: 600; }
.prod--agotado .prod__img img { filter: grayscale(1) brightness(0.6); }

.stepper { display: inline-flex; align-items: center; background: var(--card-2); border: 1px solid var(--line); border-radius: 999px; }
.stepper button { width: 40px; height: 40px; border: 0; background: none; color: var(--cream); font-size: 1.2rem; border-radius: 50%; }
.stepper button:hover { color: var(--gold-2); }
.stepper span { min-width: 26px; text-align: center; font-weight: 700; }

/* Chips */
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.chip { background: transparent; border: 1px solid rgba(244, 234, 214, 0.22); color: var(--cream); padding: 8px 16px; border-radius: 999px; font-size: 0.9rem; font-weight: 500; }
.chip.is-on { background: var(--gold); border-color: var(--gold); color: #1a1205; }

/* Quiz */
.quiz { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 28px; min-height: 280px; }
.quiz__progress { height: 4px; background: var(--card-2); border-radius: 4px; margin-bottom: 22px; overflow: hidden; }
.quiz__progress i { display: block; height: 100%; background: var(--gold); transition: width 0.3s; }
.quiz__q { font-family: var(--display); font-size: 2rem; margin-bottom: 16px; }
.quiz__opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.quiz__opt { text-align: left; background: var(--card-2); border: 1px solid var(--line); color: var(--cream); padding: 16px; border-radius: 12px; font-weight: 500; transition: border-color 0.15s, background 0.15s; }
.quiz__opt:hover { border-color: var(--gold); background: #2c2219; }
.quiz__res { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; }
.quiz__res img { height: 220px; width: auto; border-radius: 8px; }
.quiz__res .btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }

/* Historia */
.historia { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.logros { padding-left: 1.1em; margin: 0 0 1.2em; }
.logros li { margin-bottom: 0.5em; }
.logros li::marker { color: var(--gold); }
.galeria { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.galeria button { padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: none; }
.galeria img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; transition: transform 0.3s; }
.galeria button:hover img { transform: scale(1.04); }

/* Pasos */
.pasos { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pasos li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.pasos span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: #1a1205; font-family: var(--display); font-size: 1.6rem; margin-bottom: 12px; }
.pasos p { color: #ddd1bb; margin: 0; }
.referidos { background: linear-gradient(120deg, rgba(208, 24, 47, 0.22), rgba(233, 185, 73, 0.12)); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; }
.referidos p { margin: 0; }

/* Formularios */
.dos-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { padding-left: 28px; position: relative; margin-bottom: 8px; }
.checks li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.form { display: grid; gap: 14px; }
.form.card { padding: 24px; }
.form label { display: grid; gap: 6px; font-size: 0.88rem; font-weight: 600; color: #e6dbc6; }
.form input, .form select, .form textarea {
  width: 100%; background: #0f0c09; border: 1px solid rgba(244, 234, 214, 0.18); color: var(--cream);
  border-radius: 10px; padding: 12px 14px; font: inherit; font-weight: 400;
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--gold); outline: none; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.form .check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--gold); flex: none; }
.form--inline { grid-template-columns: 1fr 1fr auto; align-items: center; }
.club { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: center; padding: 32px; }
.club p { margin: 0; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: '+'; color: var(--gold); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq p { color: #ddd1bb; }

/* Footer */
.footer { padding: 40px 0 24px; border-top: 1px solid var(--line); }
.footer__in { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer__links { display: flex; gap: 20px; align-items: flex-start; }
.footer__links a { color: var(--cream); text-decoration: none; font-weight: 500; }
.legal { text-align: center; font-size: 0.75rem; color: var(--muted); letter-spacing: 0.08em; margin: 28px 16px 0; }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 25; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: var(--shadow); }
.wa-float svg { width: 32px; height: 32px; }

/* Drawer */
.overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.6); z-index: 40; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--bg-alt); border-left: 1px solid var(--line); z-index: 50; display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.28s ease; }
.drawer.is-open { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 2rem; margin: 0; }
.drawer__body { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.linea { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.linea img { width: 56px; height: 72px; object-fit: contain; background: #0b0907; border-radius: 8px; }
.linea h4 { margin: 0; font-size: 0.98rem; }
.linea p { margin: 0; color: var(--muted); font-size: 0.85rem; }
.linea .stepper button { width: 34px; height: 34px; }
.totales { display: grid; gap: 6px; padding: 14px 0; }
.totales div { display: flex; justify-content: space-between; }
.totales .total { font-size: 1.25rem; font-weight: 700; border-top: 1px solid var(--line); padding-top: 10px; margin-top: 4px; }
.totales .desc { color: var(--ok); }
.aviso { background: rgba(233, 185, 73, 0.1); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 0.9rem; }
.aviso--ok { background: rgba(92, 194, 138, 0.12); border-color: rgba(92, 194, 138, 0.35); }
.aviso--error { background: rgba(208, 24, 47, 0.15); border-color: rgba(208, 24, 47, 0.45); }
.vacio { text-align: center; padding: 40px 10px; color: var(--muted); }
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.segmented label { display: block; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; }
.segmented span { display: block; text-align: center; padding: 12px; border: 1px solid rgba(244, 234, 214, 0.2); border-radius: 10px; font-weight: 600; }
.segmented small { display: block; font-weight: 400; color: var(--muted); font-size: 0.78rem; }
.segmented input:checked + span { border-color: var(--gold); background: rgba(233, 185, 73, 0.12); }
.segmented input:focus-visible + span { outline: 2px solid var(--gold-2); }
.cupon { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.cupon input { text-transform: uppercase; }
.alias { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #0f0c09; border: 1px dashed var(--gold); border-radius: 12px; padding: 14px 16px; }
.alias b { font-size: 1.2rem; word-break: break-all; }
.exito { text-align: center; }
.exito .big { font-family: var(--display); font-size: 3rem; color: var(--gold); line-height: 1; margin: 6px 0; }
.link-btn { background: none; border: 0; color: var(--gold-2); text-decoration: underline; padding: 0; }

/* Modales */
.modal { background: var(--bg-alt); color: var(--cream); border: 1px solid var(--line); border-radius: 20px; padding: 24px; width: min(420px, calc(100% - 32px)); }
.modal::backdrop { background: rgba(0, 0, 0, 0.7); }
.modal__acciones { display: flex; gap: 10px; justify-content: flex-end; }
.modal--img { padding: 0; width: min(720px, calc(100% - 32px)); background: #000; }
.modal--img img { width: 100%; height: auto; max-height: 86vh; object-fit: contain; }
.modal__cerrar { position: absolute; top: 8px; right: 8px; background: rgba(0, 0, 0, 0.6); }

/* +18 */
.edad { position: fixed; inset: 0; z-index: 100; background: rgba(8, 6, 4, 0.96); display: grid; place-items: center; padding: 16px; }
.edad__box { text-align: center; max-width: 380px; }
.edad__btns { display: flex; gap: 10px; justify-content: center; }
.edad__no { margin-top: 16px; color: var(--gold-2); }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 120px); background: var(--cream); color: #1a1205; font-weight: 600; padding: 12px 20px; border-radius: 999px; z-index: 120; transition: transform 0.25s; max-width: calc(100% - 32px); text-align: center; }
.toast.is-on { transform: translate(-50%, 0); }

.demo-banner { background: #2b2118; color: var(--gold-2); text-align: center; font-size: 0.82rem; padding: 6px 12px; }

/* Responsive */
@media (max-width: 960px) {
  .nav { display: none; }
  .header__in { justify-content: space-between; }
  .hero__in, .historia, .dos-col, .club { grid-template-columns: 1fr; }
  .hero { padding-top: 32px; }
  .hero__img { order: -1; }
  .hero__img img { aspect-ratio: 16 / 11; }
  .pasos { grid-template-columns: 1fr; }
  .form--inline { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .section { padding: 52px 0; }
  .grid--beers { grid-template-columns: 1fr 1fr; gap: 12px; }
  .prod__img { height: 180px; }
  .prod__img img { height: 160px; }
  .prod__body { padding: 12px; gap: 6px; }
  .prod__name { font-size: 1.45rem; }
  .prod__desc, .prod__pair { display: none; }
  .prod__foot { flex-direction: column; align-items: stretch; }
  .prod__foot .btn { padding: 10px; }
  .medal { font-size: 0.66rem; padding: 2px 7px; }
  .medals li:nth-child(n+3) { display: none; }
  .quiz { padding: 20px; }
  .quiz__res { grid-template-columns: 1fr; text-align: center; }
  .quiz__res img { margin: 0 auto; height: 180px; }
  .quiz__res .btns { justify-content: center; }
  .stats { gap: 20px; }
  .club { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
