/* ==========================================================================
   Infusiva · Sitio 2 · "La barra"
   Una sola pantalla: la barra blanca con el neón al centro es la navegación.
   Identidad: infusiva-skill (noche + champagne + malva sobre rubor, Raleway +
   Urbanist, radio 0). El rosa neón es el del letrero físico de la barra.
   ========================================================================== */

@font-face { font-family: 'Raleway'; src: url('../assets/fonts/raleway.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Urbanist'; src: url('../assets/fonts/urbanist.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Urbanist'; src: url('../assets/fonts/urbanist-italic.woff2') format('woff2'); font-weight: 100 900; font-style: italic; font-display: swap; }

:root {
  --malva: #AB6C7E;
  --malva-deep: #8E5566;
  --malva-light: #C29BAA;
  --ciruela: #5E3242;
  --rosa-palo: #E4BEB8;
  --champagne: #E8D5C2;
  --rubor: #F8EDF2;
  --blanco: #FFFFFF;
  --noche: #2A1820;
  --noche-surface: #3A2330;
  --noche-muted: #4E3140;
  /* Letrero físico de la barra */
  --neon: #FF6FB1;
  --neon-core: #FFE6F2;
  --neon-off: #6B3B50;

  --font-display: 'Raleway', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Urbanist', 'Helvetica Neue', Arial, sans-serif;
  --gutter: clamp(16px, 3vw, 40px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border-radius: 0; }
html, body { height: 100%; }
body {
  background: var(--noche); color: var(--champagne);
  font-family: var(--font-body); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow: hidden; overscroll-behavior: none;
  display: grid; grid-template-rows: auto 1fr auto auto; grid-template-columns: minmax(0, 1fr); height: 100svh; width: 100%;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ol, ul { list-style: none; }
img, video { display: block; max-width: 100%; }
:focus-visible { outline: 1px solid var(--neon); outline-offset: 4px; }
::selection { background: var(--malva); color: var(--blanco); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; background: var(--champagne); color: var(--ciruela);
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.btn:hover { background: var(--blanco); }
.btn--block { width: 100%; padding: 18px 22px; background: var(--malva-deep); color: var(--blanco); font-size: 12px; }
.btn--block:hover { background: var(--ciruela); }
.btn.is-disabled { opacity: 0.45; pointer-events: none; }

/* ---------- Marco (cabecera y pie) ---------- */
.chrome { position: relative; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px var(--gutter); }
.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--malva-light); }
.chrome-actions { display: flex; align-items: center; gap: 12px; }
.mybar-btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 13px 16px; border: 1px solid var(--noche-muted);
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--champagne);
  transition: border-color 0.4s;
}
.mybar-btn:hover { border-color: var(--champagne); }
.mybar-count { min-width: 20px; height: 20px; display: inline-grid; place-items: center; background: var(--noche-muted); font-size: 11px; letter-spacing: 0; transition: background 0.4s, color 0.4s; }
.mybar-count.is-on { background: var(--neon); color: var(--noche); }
.chrome--bottom { padding-top: 10px; padding-bottom: 18px; }
.tagline { font-weight: 200; font-style: italic; font-size: 17px; color: var(--malva-light); }
.contact-mini { display: flex; gap: 22px; font-size: 12px; letter-spacing: 0.06em; color: var(--malva-light); }
.contact-mini a:hover { color: var(--champagne); }
.foot-info { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.legal { font-size: 10px; letter-spacing: 0.06em; color: var(--malva-light); opacity: 0.8; }
.legal a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--noche-muted); }
.legal a:hover { color: var(--champagne); }

/* ---------- Escenario ---------- */
.stage-wrap { position: relative; min-height: 0; min-width: 0; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.stage-scroll { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.stage {
  position: relative; flex: none;
  width: min(100vw, calc((100svh - 150px) * 1300 / 750)); aspect-ratio: 1300 / 750;
  container-type: inline-size;
}
.stage-inner { position: absolute; inset: 0; transform-origin: 0 0; will-change: transform; }
.scene { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }

.layer { transition: transform 1.2s var(--ease); }
.backbar { fill: none; stroke: var(--champagne); stroke-width: 1; opacity: 0.2; }
.backbar .shelf { opacity: 1.4; }
.bar-top { fill: #FBF7F9; }
.bar-front { fill: #F2EAEE; }
.bar-flutes { stroke: #E2D2DA; stroke-width: 1; }
.bar-edge { stroke: #D2C1CA; stroke-width: 1.2; }
.bar-kick { fill: #C9B6C0; }
.floor { stroke: var(--champagne); stroke-width: 1; opacity: 0.18; }

.neon-halo { fill: var(--neon); opacity: 0.12; filter: url(#halo); pointer-events: none; }
.neon use { fill: none; stroke-linejoin: round; stroke-linecap: round; }
.neon--off use { stroke: var(--neon-off); stroke-width: 16; }
.neon-tube { stroke: var(--neon); stroke-width: 18; }
.neon-core { stroke: var(--neon-core); stroke-width: 6; }
.hit { fill: transparent; stroke: none !important; cursor: pointer; pointer-events: all; }

.obj { fill: none; stroke: var(--champagne); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; cursor: pointer; transition: stroke 0.4s, opacity 0.5s; }
.obj .liquid { stroke: var(--malva-light); }
.obj .garnish { stroke: var(--rosa-palo); }
.obj.is-hot { stroke: var(--blanco); filter: url(#obj-glow); }
.obj.is-hot .liquid, .obj.has-picks .liquid { stroke: var(--neon); }
.scene.is-focus .obj:not(.is-hot), .scene.is-focus .decor { opacity: 0.35; }
.menu-card { fill: #FBF7F9; stroke: var(--champagne); }
.obj.is-hot .menu-card { stroke: var(--blanco); }
.menu-wm use { fill: var(--malva); stroke: none; }
.menu-rule { stroke: var(--malva-light); stroke-width: 0.6; }
.menu-title { fill: var(--malva); stroke: none; font-family: var(--font-body); font-size: 6.5px; font-weight: 600; letter-spacing: 1.6px; }
.menu-lines text { fill: var(--ciruela); stroke: none; font-family: var(--font-body); font-size: 6.2px; font-weight: 300; letter-spacing: 0.4px; }
.menu-lines text.ph { fill: var(--malva-light); font-style: italic; }
.menu-side--map { display: none; }
.menu-face.show-map .menu-side--front { display: none; }
.menu-face.show-map .menu-side--map { display: inline; }
.menu-axis { stroke: var(--malva-light); stroke-width: 0.8; }
.menu-dots circle { fill: var(--neon); stroke: none; }
.menu-ping { fill: var(--neon); stroke: none; transform-box: fill-box; transform-origin: center; animation: ping 2.2s var(--ease) infinite; }
@keyframes ping { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.35; transform: scale(1.6); } }
.decor { fill: none; stroke: var(--champagne); stroke-width: 1.2; opacity: 0.4; transition: opacity 0.5s; }

.leaders { fill: none; stroke: var(--champagne); stroke-width: 1; pointer-events: none; }
.leader path { opacity: 0.4; transition: opacity 0.4s, stroke 0.4s; }
.leader circle { fill: var(--champagne); stroke: none; opacity: 0.8; }
.leader.is-hot path { opacity: 1; stroke: var(--blanco); }
.leader.is-hot circle { fill: var(--neon); }
.leader--main path { stroke: var(--neon); opacity: 0.7; }
.leader .tick { stroke-width: 1; }

/* Etiquetas del diagrama (posición en coordenadas del dibujo 1600×900) */
.labels { position: absolute; inset: 0; pointer-events: none; }
.label {
  position: absolute; left: calc((var(--x) - 150) / 1300 * 100%); top: calc((var(--y) - 40) / 750 * 100%);
  transform: translateX(-50%); pointer-events: auto;
  display: flex; flex-direction: column; align-items: center; gap: 0.25cqw; padding: 0.4cqw 0.8cqw;
  text-align: center; color: var(--champagne);
}
.label-num { font-size: max(9px, 0.72cqw); font-weight: 600; letter-spacing: 0.2em; color: var(--malva-light); }
.label-title {
  font-weight: 200; text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap;
  font-size: max(12px, 1.55cqw); line-height: 1.1; padding-bottom: 0.35cqw;
  background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat;
  transition: background-size 0.6s var(--ease), color 0.4s;
}
.label-sub { font-style: italic; font-weight: 300; font-size: max(10px, 0.82cqw); color: var(--malva-light); white-space: nowrap; }
.label:hover .label-title, .label.is-hot .label-title { background-size: 100% 1px; color: var(--blanco); }
.label--main .label-title { font-size: max(14px, 1.9cqw); color: var(--blanco); }
.label--main .label-num { color: var(--neon); }

.stage-hint { position: absolute; bottom: 4px; left: 0; right: 0; text-align: center; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--malva-light); pointer-events: none; }
.hint-touch { display: none; }
.bar-hint { display: none; }

/* ---------- Intro ---------- */
.intro { display: none; }
.js .intro { display: flex; position: fixed; inset: 0; z-index: 40; align-items: flex-end; justify-content: space-between; padding: 24px var(--gutter); pointer-events: none; }
.intro-hint { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--malva-light); }
.intro-skip { pointer-events: auto; font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--champagne); padding: 8px 0; border-bottom: 1px solid var(--champagne); }
.js body.is-dark .chrome, .js body.is-dark .dock, .js body.is-dark .labels, .js body.is-dark .stage-hint, .js body.is-dark .bar-hint { opacity: 0; }

/* ---------- Dock (celular) ---------- */
.dock { display: none; }

/* ---------- Paneles ---------- */
.scrim { position: fixed; inset: 0; z-index: 50; background: rgba(42, 24, 32, 0.35); }
.panel {
  position: fixed; z-index: 60; top: 0; right: 0; bottom: 0;
  width: min(560px, 100vw); background: var(--rubor); color: var(--ciruela);
  display: flex; flex-direction: column;
}
.panel--wide { width: min(880px, 100vw); }
.panel[hidden] { display: none; }
.panel-head { display: flex; align-items: baseline; gap: 16px; padding: 28px 32px 20px; border-bottom: 1px solid var(--malva); }
.panel-num { font-size: 12px; font-weight: 600; letter-spacing: 0.2em; color: var(--malva-deep); }
.panel-title { font-family: var(--font-display); font-weight: 500; text-transform: uppercase; font-size: clamp(26px, 3vw, 40px); line-height: 1; letter-spacing: 0.02em; color: var(--malva); }
.panel-close { margin-left: auto; min-height: 44px; font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--malva-deep); padding: 6px 0; border-bottom: 1px solid currentColor; }
.panel-close:hover { color: var(--ciruela); }
.panel-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 28px 32px 40px; display: flex; flex-direction: column; gap: 28px; }
.panel-lead { font-weight: 300; font-size: 19px; line-height: 1.4; color: var(--ciruela); }
.panel-foot { border-top: 1px solid var(--malva-light); padding: 16px 32px; display: flex; justify-content: flex-end; }
.next { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--malva-deep); }
.next::after { content: ' →'; }
.next:hover { color: var(--ciruela); }
.panel-body > * { will-change: transform; flex-shrink: 0; }

.media-4x3 { position: relative; flex-shrink: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--rosa-palo); }
.media-4x3 img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vslot > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s var(--ease); z-index: 2; }
.vslot.is-ready > video { opacity: 1; }
.vslot-tag { position: absolute; z-index: 5; right: 10px; top: 10px; display: inline-flex; flex-direction: column; gap: 2px; padding: 7px 10px; background: var(--champagne); color: var(--ciruela); font-size: 9px; line-height: 1.3; letter-spacing: 0.14em; text-transform: uppercase; pointer-events: none; }
.vslot-tag strong { font-weight: 700; letter-spacing: 0.2em; }
.vslot-tag em { font-style: normal; text-transform: none; letter-spacing: 0.04em; opacity: 0.8; }
.vslot.is-ready .vslot-tag, .hide-pending .vslot-tag { display: none; }

/* Experiencia */
.steps { display: flex; flex-direction: column; }
.steps li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--malva-light); }
.step-n { font-family: var(--font-display); font-weight: 200; font-size: 40px; line-height: 1; color: var(--malva); }
.steps h3, .evento h3 { font-weight: 200; text-transform: uppercase; letter-spacing: 0.05em; font-size: 22px; line-height: 1.15; color: var(--malva); margin-bottom: 6px; }
.steps p, .evento p { font-size: 15px; color: var(--ciruela); }

/* Carta */
.tabs { display: flex; flex-wrap: wrap; gap: 6px 26px; border-bottom: 1px solid var(--malva-light); }
.tabs button { padding: 8px 0 10px; font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--malva-deep); opacity: 0.55; border-bottom: 1px solid transparent; margin-bottom: -1px; transition: opacity 0.3s, border-color 0.3s; }
.tabs button[aria-selected="true"] { opacity: 1; border-color: var(--malva); }
.carta-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; }
.card { position: relative; display: flex; flex-direction: column; background: var(--blanco); }
.card-photo { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--rosa-palo); }
.card-photo img { width: 100%; height: 100%; object-fit: cover; transition: scale 0.8s var(--ease); }
.card:hover .card-photo img { scale: 1.03; }
.card-body { padding: 12px 14px 16px; }
.card-name { font-weight: 200; text-transform: uppercase; letter-spacing: 0.05em; font-size: 16px; line-height: 1.15; color: var(--malva); padding-bottom: 6px; border-bottom: 1px solid var(--malva); }
.card-desc { margin-top: 6px; font-style: italic; font-size: 13px; line-height: 1.35; color: var(--malva-deep); }
.card-add {
  position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; display: grid; place-items: center;
  background: var(--blanco); color: var(--malva-deep); font-size: 22px; font-weight: 200; line-height: 1;
  transition: background 0.3s, color 0.3s;
}
.card-add:hover { background: var(--malva-deep); color: var(--blanco); }
.card.is-picked .card-add { background: var(--malva-deep); color: var(--blanco); }
.card.is-picked { outline: 1px solid var(--malva-deep); }

/* Diseña tu barra · 5 sorbos */
.wz-progress { display: flex; align-items: center; gap: 12px; padding: 12px 32px; border-bottom: 1px solid var(--malva-light); }
.wz-glass { width: 18px; height: 24px; flex: none; }
.wz-line { fill: none; stroke: var(--malva-deep); stroke-width: 1.4; stroke-linejoin: round; }
.wz-liquid { fill: var(--neon); transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0.2); transition: transform 0.8s var(--ease); }
.wz-count { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--malva-deep); }
.wz-count b { color: var(--malva); }
.wz-dots { display: flex; gap: 18px; margin-left: auto; }
.wz-dots li { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--malva-light); }
.wz-dots li.is-done { color: var(--malva-deep); }
.wz-dots li.is-on { color: var(--ciruela); font-weight: 600; }

.disena { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 32px; align-items: start; }
.wz-step { display: none; flex-direction: column; gap: 18px; }
.wz-step.is-active { display: flex; }
.wz-q { font-family: var(--font-display); font-weight: 500; text-transform: uppercase; letter-spacing: 0.02em; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.05; color: var(--malva); }
.wz-help { font-size: 15px; color: var(--malva-deep); }

.opts { display: flex; flex-direction: column; gap: 10px; }
.opt { display: flex; flex-direction: column; gap: 4px; text-align: left; padding: 18px 20px; background: var(--blanco); border: 1px solid var(--malva-light); transition: background 0.3s, border-color 0.3s, color 0.3s; }
.opt b { font-weight: 300; text-transform: uppercase; letter-spacing: 0.06em; font-size: 20px; color: var(--malva); }
.opt span { font-size: 13px; font-style: italic; color: var(--malva-deep); }
.opt:hover { border-color: var(--malva-deep); }
.opt[aria-checked="true"] { background: var(--malva-deep); border-color: var(--malva-deep); }
.opt[aria-checked="true"] b, .opt[aria-checked="true"] span { color: var(--blanco); }

.inv { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.inv-out { font-family: var(--font-display); font-weight: 200; font-size: clamp(56px, 7vw, 80px); line-height: 1; color: var(--malva); }
.inv-unit { font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--malva-deep); }
.inv input { flex-basis: 100%; accent-color: var(--malva-deep); height: 36px; font-size: 16px; }
.wz-reco { background: var(--blanco); padding: 16px 18px; font-size: 16px; line-height: 1.45; color: var(--ciruela); border-left: 2px solid var(--malva); }
.wz-reco b { font-weight: 600; color: var(--malva-deep); }
.wz-reco span { display: block; margin-top: 6px; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--malva); }

.pkgs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pkg { position: relative; display: flex; flex-direction: column; gap: 2px; text-align: left; padding: 16px 16px 14px; background: var(--blanco); border: 1px solid var(--malva-light); transition: border-color 0.3s, background 0.3s; }
.pkg:hover { border-color: var(--malva-deep); }
.pkg[aria-checked="true"] { border-color: var(--malva-deep); outline: 1px solid var(--malva-deep); background: #FDF9FB; }
.pkg-badge { position: absolute; top: -9px; left: 12px; padding: 2px 8px; background: var(--malva-deep); color: var(--blanco); font-style: normal; font-size: 9px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.pkg-name { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--malva-deep); margin-top: 4px; }
.pkg-num { font-family: var(--font-display); font-weight: 300; font-size: 34px; line-height: 1.1; color: var(--malva); }
.pkg-unit { font-size: 12px; color: var(--ciruela); }
.pkg-para { margin-top: 6px; font-size: 12px; font-style: italic; color: var(--malva-deep); line-height: 1.3; }
.wz-note { font-size: 13px; font-style: italic; color: var(--malva-deep); }
.wz-note:empty { display: none; }

.flav-count { margin-left: 6px; padding: 2px 8px; background: var(--blanco); font-size: 12px; font-weight: 600; color: var(--malva-deep); white-space: nowrap; }
.flav-list { display: flex; flex-direction: column; gap: 8px; }
.flav { display: grid; grid-template-columns: 52px minmax(0, 1fr) 44px; gap: 12px; align-items: center; background: var(--blanco); padding: 6px; cursor: pointer; transition: outline-color 0.3s; outline: 1px solid transparent; }
.flav img { width: 52px; height: 52px; object-fit: cover; }
.flav-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.flav-txt b { font-weight: 300; text-transform: uppercase; letter-spacing: 0.04em; font-size: 15px; line-height: 1.15; color: var(--malva); }
.flav-txt span { font-size: 12px; font-style: italic; line-height: 1.3; color: var(--malva-deep); }
.flav-btn { width: 44px; height: 44px; display: grid; place-items: center; font-size: 22px; font-weight: 200; color: var(--malva-deep); border: 1px solid var(--malva-light); }
.flav.is-on { outline-color: var(--malva-deep); }
.flav.is-on .flav-btn { background: var(--malva-deep); border-color: var(--malva-deep); color: var(--blanco); }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.fields .full { grid-column: 1 / -1; }
.fields label { display: flex; flex-direction: column; gap: 6px; font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--malva-deep); }
.fields input { border: 0; border-bottom: 1px solid var(--malva-light); background: transparent; padding: 10px 0; font-size: 16px; letter-spacing: 0; text-transform: none; font-weight: 400; color: var(--ciruela); }
.fields input:focus { outline: none; border-color: var(--malva-deep); }
.fields input::placeholder { color: var(--malva-light); opacity: 0.75; font-style: italic; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.err { min-height: 0; font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; color: #A2364F; }
.err:empty { display: none; }
.fields input[aria-invalid="true"] { border-color: #A2364F; }
.checks { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 14px; line-height: 1.4; color: var(--ciruela); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 0; accent-color: var(--malva-deep); }
.check a { color: var(--malva-deep); text-decoration: underline; text-underline-offset: 3px; }
.check .err { grid-column: 2; }
.wz-done { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px 0; }
.wz-done[hidden] { display: none; }
.done-glass { width: 40px; height: 52px; fill: none; stroke: var(--malva-deep); stroke-width: 1.2; stroke-linejoin: round; }
.done-glass .ic-liq { fill: var(--neon); stroke: none; }
.done-txt { font-size: 17px; line-height: 1.5; color: var(--ciruela); max-width: 440px; }
.done-wa { max-width: 380px; }
.summary { margin-top: 18px; display: flex; flex-direction: column; background: var(--blanco); padding: 6px 18px; }
.summary div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid #EBD9E0; }
.summary div:last-child { border-bottom: 0; }
.summary dt { font-size: 10px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--malva-deep); padding-top: 2px; }
.summary dd { font-size: 14px; color: var(--ciruela); }

.wz-nav { justify-content: space-between; align-items: center; gap: 16px; }
.wz-nav [hidden], .wz-nav[hidden] { display: none !important; }
.wz-send:disabled { opacity: 0.6; pointer-events: none; }
.wz-back { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--malva-deep); min-height: 44px; padding: 0 4px; }
.wz-nav .btn--block { width: auto; flex: 1; max-width: 380px; }

/* Menú impreso que gira: frente = tu menú, reverso = mapa de sabores */
.menu-stage { position: sticky; top: 0; display: grid; grid-template-columns: minmax(0, 1fr) 40px; gap: 8px; align-items: stretch; }
.menu-flip-wrap { perspective: 1400px; }
.menu-flip { display: grid; transform-style: preserve-3d; transition: transform 0.9s var(--ease); }
.menu-flip.is-flipped { transform: rotateY(180deg); }
.menu-face { grid-area: 1 / 1; backface-visibility: hidden; -webkit-backface-visibility: hidden; background: var(--blanco); outline: 1px solid var(--malva-light); outline-offset: -8px; padding: 26px 22px 22px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; min-height: 440px; }
.menu-back { transform: rotateY(180deg); }
.mp-wm { width: 116px; }
.mp-event { font-size: 10px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--malva-deep); }
.mp-rule { width: 40px; height: 1px; background: var(--malva); margin: 4px 0 6px; }
.mp-list { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.mp-list li { display: flex; flex-direction: column; gap: 2px; }
.mp-list .n { font-weight: 300; text-transform: uppercase; letter-spacing: 0.08em; font-size: 14px; color: var(--malva); }
.mp-list .d { font-style: italic; font-size: 11.5px; color: var(--malva-deep); line-height: 1.3; }
.mp-list .ph { font-style: italic; font-size: 13px; color: var(--malva-light); padding: 40px 0; }
.mp-pkg { margin-top: auto; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--malva-deep); }
.mp-pkg:empty { display: none; }
.mp-tag { font-weight: 200; font-style: italic; font-size: 12.5px; color: var(--malva-deep); }

.map-title { font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--malva); }
.map { position: relative; width: 100%; aspect-ratio: 1; margin-top: 18px; }
.map::before, .map::after { content: ''; position: absolute; background: var(--malva-light); }
.map::before { left: 0; right: 0; top: 50%; height: 1px; }
.map::after { top: 0; bottom: 0; left: 50%; width: 1px; }
.ax { position: absolute; z-index: 1; font-size: 9px; letter-spacing: 0.14em; color: var(--malva-deep); background: var(--blanco); padding: 2px 4px; white-space: nowrap; }
.ax-top { top: -18px; left: 50%; transform: translateX(-50%); }
.ax-bottom { bottom: -18px; left: 50%; transform: translateX(-50%); }
.ax-left { left: -14px; top: 50%; transform: translateY(-50%) rotate(-90deg); }
.ax-right { right: -16px; top: 50%; transform: translateY(-50%) rotate(90deg); }
.map-points { position: absolute; inset: 0; z-index: 2; }
.pt { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 1px; }
.pt svg { width: 18px; height: 23px; fill: none; stroke: var(--ciruela); stroke-width: 1.3; stroke-linejoin: round; stroke-linecap: round; }
.pt svg .ic-liq { fill: var(--rosa-palo); stroke: none; }
.pt span { min-width: 14px; height: 14px; display: grid; place-items: center; font-size: 9px; font-weight: 600; color: var(--blanco); background: var(--malva-deep); }
.map-legend { width: 100%; margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; text-align: left; }
.map-legend li { display: flex; align-items: center; gap: 6px; font-size: 10.5px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ciruela); line-height: 1.2; }
.map-legend span { flex: none; width: 14px; height: 14px; display: grid; place-items: center; font-size: 9px; font-weight: 600; color: var(--blanco); background: var(--malva-deep); }
.map-empty { position: absolute; inset: 25% 12%; display: grid; place-items: center; font-size: 13px; font-style: italic; color: var(--malva-light); background: var(--blanco); }

.flip-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  border: 1px solid var(--malva-light); background: var(--blanco); color: var(--malva-deep); min-height: 44px;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.flip-txt { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; }
.flip-ico { font-size: 18px; line-height: 1; transition: transform 0.9s var(--ease); }
.flip-btn:hover, .flip-btn[aria-pressed="true"] { background: var(--malva-deep); border-color: var(--malva-deep); color: var(--blanco); }
.flip-btn[aria-pressed="true"] .flip-ico { transform: rotate(180deg); }

/* Eventos e incluye */
.evento { display: flex; flex-direction: column; gap: 12px; }
.evento + .evento { padding-top: 28px; border-top: 1px solid var(--malva-light); }
.incluye { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--malva-light); }
.incluye li { display: flex; gap: 12px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--malva-light); font-weight: 300; text-transform: uppercase; letter-spacing: 0.05em; font-size: 16px; color: var(--malva); }
.incluye li:nth-child(odd) { padding-right: 16px; }
.incluye span { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; color: var(--malva-deep); }

/* Aviso */
.toast { position: fixed; z-index: 80; left: 50%; bottom: calc(100px + env(safe-area-inset-bottom)); transform: translate(-50%, 16px); opacity: 0; pointer-events: none; background: var(--champagne); color: var(--ciruela); padding: 12px 18px; font-size: 13px; transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Celular / tablet vertical ---------- */
@media (max-width: 860px), (orientation: portrait) and (max-width: 1100px) {
  body { grid-template-rows: auto 1fr auto auto; }
  .chrome--top { flex-wrap: wrap; padding-top: 14px; padding-bottom: 6px; }
  .eyebrow { font-size: 9px; letter-spacing: 0.2em; width: 100%; }
  .chrome-actions { width: 100%; justify-content: space-between; }
  .chrome, .dock { max-width: 100vw; }
  .chrome-actions .btn { padding: 12px 14px; font-size: 10px; }
  .mybar-btn { padding: 11px 12px; font-size: 10px; }
  .stage-scroll { overflow-x: auto; overflow-y: hidden; justify-content: flex-start; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .stage-scroll::-webkit-scrollbar { display: none; }
  .stage { width: auto; height: min(100%, 58svh, 480px); aspect-ratio: 1300 / 750; }
  .stage-hint { display: none; }
  /* El aviso va en el frente blanco de la barra (y 89% del dibujo, centrado en el letrero)
     y se retira al primer deslizamiento */
  .bar-hint {
    display: block; position: absolute; left: 50%; top: 89%; transform: translate(-50%, -50%);
    white-space: nowrap; pointer-events: none;
    font-size: max(9px, 1.25cqw); letter-spacing: 0.2em; text-transform: uppercase; color: var(--malva-deep);
    transition: opacity 0.6s var(--ease);
  }
  .bar-hint.is-done { opacity: 0; }
  /* "Desliza para servir": la coctelera recorre la barra y llena las copas */
  .dock.pour { display: flex; flex-direction: column; align-items: stretch; gap: 4px; padding: 10px var(--gutter) 2px; position: relative; z-index: 20; }
  .pour-track {
    position: relative; height: 84px; overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none;
    border: 1px solid var(--neon); background: var(--noche-surface);
  }
  .pour-fill { position: absolute; left: 0; bottom: 0; height: 5px; width: 0; background: var(--neon); box-shadow: 0 0 8px var(--neon), 0 0 22px rgba(255, 111, 177, 0.6); }
  .pour-label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 1px; padding: 10px 0 0 60px; pointer-events: none; }
  .pour-label strong { font-weight: 300; font-size: 17px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blanco); }
  .pour-label em { font-size: 11px; letter-spacing: 0.12em; color: var(--malva-light); }
  .pour-glass { position: absolute; bottom: 7px; left: calc(var(--at) * 100%); width: 15px; height: 19px; margin-left: -8px; overflow: visible; opacity: 0.55; transition: opacity 0.3s; pointer-events: none; }
  .pour-glass.is-full { opacity: 1; }
  .g-line { fill: none; stroke: var(--champagne); stroke-width: 1.4; stroke-linejoin: round; }
  .g-liquid { fill: var(--neon); transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); }
  .pour-handle { position: absolute; left: 4px; top: 4px; bottom: 4px; width: 56px; display: grid; place-items: center; background: var(--champagne); will-change: transform; }
  .pour-shaker { width: 26px; height: 36px; fill: none; stroke: var(--ciruela); stroke-width: 2.2; stroke-linejoin: round; transform-origin: 70% 30%; will-change: transform; }
  .pour-stream { position: absolute; right: -3px; top: 30%; width: 2px; height: 0; background: var(--neon); box-shadow: 0 0 6px var(--neon); }
  .pour-track:focus-visible { outline-offset: 3px; }
  .pour-alt { align-self: center; padding: 10px 8px; font-size: 12px; letter-spacing: 0.08em; color: var(--malva-light); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--noche-muted); }
  .chrome--bottom { flex-direction: column; align-items: flex-start; gap: 6px; padding-bottom: calc(14px + env(safe-area-inset-bottom)); }
  .chrome--bottom .tagline { display: none; }
  .dock.pour { margin-top: 18px; }
  .contact-mini { gap: 14px; font-size: 11px; flex-wrap: wrap; }
  .foot-info { align-items: flex-start; gap: 4px; }
  .legal { font-size: 9.5px; line-height: 1.5; }

  .panel, .panel--wide { top: auto; left: 0; width: 100%; height: 90svh; }
  .panel-head { padding: 20px 20px 14px; position: relative; }
  .panel-head::before { content: ''; position: absolute; top: 8px; left: 50%; width: 40px; height: 3px; margin-left: -20px; background: var(--malva-light); }
  .panel-body { padding: 20px 20px 32px; }
  .panel-foot { padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); }
  .disena { grid-template-columns: 1fr; }
  .wz-progress { padding: 10px 20px; }
  .wz-dots { display: none; }
  .menu-stage { position: static; display: none; }
  .disena[data-step="4"] .menu-stage, .disena[data-step="5"] .menu-stage { display: grid; }
  .menu-face { min-height: 400px; }
  .pkgs { grid-template-columns: 1fr 1fr; gap: 8px; }
  .pkg { padding: 14px 12px 12px; }
  .pkg-num { font-size: 28px; }
  .wz-nav .btn--block { max-width: none; }
  .contact-mini { row-gap: 0; }
  .contact-mini a { padding: 10px 0; }
  .chrome-actions .btn, .mybar-btn { min-height: 44px; }
  .carta-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card-name { font-size: 14px; }
  .card-desc { font-size: 12px; }
  .fields { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
}
