/* ==========================================================================
   Blue Barman · estilos
   Paleta: negro absoluto + dos amarillos del logo (dorado de las letras y uno
   más vivo). Tipografía: DM Serif Display (serif moderna de alto contraste) en
   títulos y nombres, DM Sans en el cuerpo y las descripciones.
   ========================================================================== */

:root {
  --bg: #000000;
  --bg-2: #070707;
  --surface: #0e0e0e;
  --surface-2: #161616;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #f4f4f3;
  --text-2: rgba(244, 244, 243, 0.72);
  --text-3: rgba(244, 244, 243, 0.5);
  --accent: #e8c24c;
  --accent-2: #ffce2e;
  --accent-line: rgba(232, 194, 76, 0.4);
  --on-accent: #0a0a0a;
  --violet: #ffce2e;
  --glass-stroke: #f0dd9a;
  --blue: #f0cf5a;
  --blue-glow: rgba(232, 194, 76, 0.32);
  --ok: #7ee0b0;
  --danger: #ff8f8f;
  --paper: #f8f7f4;
  --ink: #1a1a1a;
  --ink-2: #6a6a6a;
  --serif: 'DM Serif Display', Georgia, serif;
  --display: 'DM Serif Display', Georgia, serif; /* títulos de sección */
  --name: 'DM Serif Display', Georgia, serif; /* nombres de las bebidas */
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 20px;
  --ease: cubic-bezier(0.22, 0.8, 0.2, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --header-h: 72px;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.lock { overflow: hidden; }

/* Grano sutil para dar textura al fondo */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: 0.4; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 32px, 1200px); margin-inline: auto; }
@media (min-width: 768px) { .container { width: min(100% - 64px, 1200px); } }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip {
  position: fixed; top: 12px; left: 12px; z-index: 300;
  padding: 10px 16px; border-radius: 999px;
  background: var(--accent); color: var(--on-accent); font-weight: 500;
  transform: translateY(-160%);
  transition: transform 0.3s var(--ease);
}
.skip:focus { transform: none; }

.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(42px, 5.6vw, 74px);
  line-height: 1.12;
  letter-spacing: 0;
  margin-top: 14px;
}

.section { padding: clamp(84px, 10vw, 140px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-sub {
  margin-top: 18px;
  color: var(--text-2);
  font-size: 17px;
  font-weight: 300;
  max-width: 560px;
}
.center .section-sub { margin-inline: auto; }

.text-btn {
  font-size: 13.5px;
  color: var(--text-2);
  text-decoration: underline;
  text-decoration-color: var(--line-2);
  text-underline-offset: 4px;
  transition: color 0.25s, text-decoration-color 0.25s;
}
.text-btn:hover { color: var(--accent-2); text-decoration-color: var(--accent-2); }

/* ---------- Efectos de texto (inspirados en 21st.dev) ---------- */
.fx-w { display: inline-block; white-space: nowrap; }

/* Blur Reveal: letra a letra, de desenfocado a nítido */
.fx-blur .fx-u {
  display: inline-block;
  opacity: 0;
  filter: blur(12px);
  transform: translateY(0.28em);
  transition: opacity 0.8s var(--ease), filter 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: calc(var(--d, 0ms) + var(--i) * var(--s, 26ms));
}
.fx-blur.fx-on .fx-u { opacity: 1; filter: blur(0); transform: none; }

/* Word Pull Up: cada palabra sube desde su propia máscara */
.fx-pull .fx-u {
  padding: 0.12em 0.06em 0.18em;
  margin: -0.12em -0.06em -0.18em;
  clip-path: inset(0);
}
.fx-pull .fx-in {
  display: inline-block;
  transform: translateY(130%);
  transition: transform 1s var(--ease);
  transition-delay: calc(var(--d, 0ms) + var(--i) * var(--s, 80ms));
}
.fx-pull.fx-on .fx-in { transform: none; }

/* Text Shimmer: brillo que recorre el texto */
.shimmer {
  background: linear-gradient(110deg, var(--accent-2) 30%, #ffffff 50%, var(--accent-2) 70%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 4s linear infinite;
}
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -150% 0; } }

/* Random Letter Swap: al pasar el ratón las letras se cambian en orden aleatorio */
.swap { display: inline-block; white-space: nowrap; }
.swap-ch {
  position: relative;
  display: inline-block;
  line-height: 1.3;
  clip-path: inset(0);
}
.swap-ch > span {
  display: inline-block;
  transition: transform 0.5s var(--ease);
  transition-delay: calc(var(--i) * 18ms);
}
.swap-ch > span::after {
  content: attr(data-c);
  position: absolute;
  left: 0;
  top: 100%;
}
a:hover .swap-ch > span,
button:hover .swap-ch > span,
a:focus-visible .swap-ch > span,
button:focus-visible .swap-ch > span { transform: translateY(-100%); }

/* Text Rotate: palabra que cambia letra a letra */
.rotator {
  display: inline-grid;
  vertical-align: bottom;
  padding: 0.1em 0 0.2em;
  margin: -0.1em 0 -0.2em;
  clip-path: inset(0);
  color: var(--accent-2);
  font-style: italic;
  transition: width 0.7s var(--ease);
}
.rot-word {
  grid-area: 1 / 1;
  justify-self: start;
  display: inline-flex;
  white-space: pre;
  padding-right: 0.12em;
}
.rot-ch {
  display: inline-block;
  opacity: 0;
  transform: translateY(105%);
  transition: transform 0.75s var(--spring), opacity 0.35s ease;
  transition-delay: calc(var(--i) * 30ms);
}
.is-in .rot-ch { opacity: 1; transform: none; }
.is-out .rot-ch {
  opacity: 0;
  transform: translateY(-110%);
  transition: transform 0.5s var(--ease), opacity 0.4s ease;
  transition-delay: calc(var(--i) * 20ms);
}

/* Number Ticker: cifras que ruedan; separadores que saltan */
.roll { display: inline-flex; align-items: flex-start; font-variant-numeric: lining-nums tabular-nums; }
.roll-d { display: inline-block; height: 1.1em; line-height: 1.1em; overflow: hidden; }
.roll-strip { display: flex; flex-direction: column; transition: transform 0.75s var(--ease); }
.roll-strip > span { height: 1.1em; }
.roll-s { display: inline-block; line-height: 1.1em; }
.roll-s.hop { animation: hop 0.55s var(--spring); }
@keyframes hop { 40% { transform: translateY(-38%); } }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.35s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: linear-gradient(180deg, #ffce2e, #e0ab38);
  color: var(--on-accent);
  box-shadow: 0 12px 32px -12px rgba(232, 194, 76, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -12px rgba(232, 194, 76, 0.95), 0 0 30px rgba(232, 194, 76, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn-primary svg:last-child { transition: transform 0.35s var(--ease); }
.btn-primary:hover svg:last-child { transform: translateX(3px); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent-line); color: var(--accent-2); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }

.icon-btn {
  width: 42px; height: 42px; flex: none;
  display: grid; place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: var(--text-2);
  transition: border-color 0.3s, color 0.3s, transform 0.4s var(--ease);
}
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn:hover { border-color: var(--accent-line); color: var(--accent-2); transform: rotate(90deg); }

/* ---------- Cabecera ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
}
.site-header.scrolled {
  background: rgba(0, 0, 0, 0.78);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-color: var(--line);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-inline: clamp(16px, 3vw, 40px);
}

.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo-img { width: auto; height: 50px; filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.55)); transition: transform 0.4s var(--ease); }
.logo:hover .logo-img { transform: rotate(-2deg) scale(1.03); }
@media (max-width: 520px) { .logo-img { height: 42px; } }

.header-actions { display: flex; align-items: center; gap: 8px; }
/* Botones de cristal sobre la foto */
.hbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  min-width: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: border-color 0.3s, background 0.3s, color 0.3s, transform 0.3s var(--ease);
}
.hbtn svg { width: 18px; height: 18px; flex: none; color: var(--accent-2); }
.hbtn:hover { border-color: var(--accent-line); background: rgba(232, 194, 76, 0.16); transform: translateY(-1px); }
.hbtn-txt { display: none; }
@media (min-width: 640px) { .hbtn-txt { display: inline; } }
@media (max-width: 380px) { .hbtn { padding: 0 12px; } }

.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffce2e, #e0ab38);
  color: var(--on-accent);
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 10px 28px -12px rgba(232, 194, 76, 0.9);
  transition: box-shadow 0.3s, transform 0.3s var(--ease);
}
.cart-btn svg { width: 20px; height: 20px; }
.cart-btn:hover { transform: translateY(-1px); box-shadow: 0 14px 32px -12px rgba(232, 194, 76, 1), 0 0 24px rgba(232, 194, 76, 0.35); }
.cart-btn-label { display: none; }
.cart-btn::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid var(--accent-2);
  opacity: 0;
  pointer-events: none;
}
.cart-btn.ring::after { animation: ring 0.9s var(--ease); }
@keyframes ring { 0% { opacity: 0.9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.35); } }

.badge {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  color: #0a0a0a;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}
.badge.bump { animation: bump 0.6s var(--spring); }
@keyframes bump { 30% { transform: scale(1.45); } }

@media (min-width: 640px) { .cart-btn-label { display: inline; } }

/* ---------- Hero: vertido con scroll ---------- */
/* Una sola foto sobre negro: la escena se queda fija mientras se recorre la sección.
   La foto se ve ampliada y la cámara baja siguiendo el chorro: empieza en la mano con la
   coctelera y termina en el vaso (js/pour.js mueve .pour-frame) */
.hero { position: relative; }
.js .hero { height: 300vh; }
.hero-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  min-height: 520px;
  overflow: hidden;
  isolation: isolate;
  background: #000;
}
/* Paso suave del negro de la foto al azul de la página */
.hero-stage::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 9%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), var(--bg));
  pointer-events: none;
}

.pour { position: absolute; inset: 0; }
.pour-frame {
  position: absolute;
  top: 0;
  left: 50%;
  height: 100%;
  aspect-ratio: 2 / 3;
  transform: translateX(-50%);
}
/* Con JavaScript la cámara la mueve js/pour.js: el marco mide 820 px de escena de alto por pantalla
   (1536 / 820 = 187,3 %) y se desplaza y escala desde su esquina; oculto hasta que se coloca */
.js .pour-frame { left: 0; height: 187.3%; transform-origin: 0 0; visibility: hidden; will-change: transform; }
.js .pour.is-placed .pour-frame { visibility: visible; }
.js .pour.is-fallback .pour-frame { left: 50%; height: 100%; transform: translateX(-50%); visibility: visible; }
.pour-photo,
.pour-base,
.pour-hand,
.pour-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.pour-canvas { opacity: 0; transition: opacity 0.8s var(--ease); }
/* Con JavaScript: escena sin chorro, encima la foto de la mano a resolución completa y el lienzo
   con el vertido; sin él, la foto original */
.pour-base,
.pour-hand { display: none; }
.js .pour-base,
.js .pour-hand { display: block; }
/* La foto de la mano encaja con la coctelera de la escena: x 263,7 · y 107,6 · 529 × 579 de 1024 × 1536 */
.pour-hand { left: 25.749%; top: 7.008%; width: 51.658%; height: 37.686%; }
.js .pour-photo { visibility: hidden; }
.js .pour.is-fallback .pour-photo { visibility: visible; }
.js .pour.is-fallback .pour-base,
.js .pour.is-fallback .pour-hand { display: none; }
.pour.is-live .pour-canvas { opacity: 1; }

/* Aviso para empezar a servir; desaparece en cuanto cae el chorro (--p lo pone js/pour.js) */
.pour-hint {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 3%;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(244, 244, 243, 0.7);
  transform: translateX(-50%);
  opacity: calc(1 - var(--p, 1) * 14);
}
.pour-hint-drop {
  position: relative;
  width: 1px;
  height: 26px;
  background: linear-gradient(180deg, transparent, rgba(244, 244, 243, 0.35));
  overflow: hidden;
}
.pour-hint-drop::after {
  content: '';
  position: absolute;
  left: -2px;
  top: -8px;
  width: 5px;
  height: 7px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: #f0a04b;
  animation: hintDrop 1.8s cubic-bezier(0.55, 0, 0.85, 0.4) infinite;
}
@keyframes hintDrop { 70%, 100% { transform: translateY(36px); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Pasos: scroll anclado (sticky) con estados que avanzan ---------- */
.steps.section { padding: 0; }
.steps { position: relative; }
.steps-pin-wrap { position: relative; height: 300vh; }
.steps-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.steps-pin .container { position: relative; z-index: 1; width: 100%; }

.steps-stage { position: relative; width: 100%; max-width: 1000px; margin: 0 auto; min-height: clamp(360px, 62vh, 560px); }
.steps-item { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.steps-item.section-head { margin-bottom: 0; }
.steps-item .h2 { margin-top: 0; }
.js .steps-item { opacity: 0; transform: translateX(72px); transition: transform 0.7s var(--ease), opacity 0.55s var(--ease); will-change: transform, opacity; }
/* estado activo (centrado) */
.js .steps-stage[data-phase="0"] [data-item="0"],
.js .steps-stage[data-phase="1"] [data-item="1"],
.js .steps-stage[data-phase="2"] [data-item="2"] { opacity: 1; transform: translateX(0); }
/* estados ya mostrados: salen por la izquierda */
.js .steps-stage[data-phase="1"] [data-item="0"],
.js .steps-stage[data-phase="2"] [data-item="0"],
.js .steps-stage[data-phase="2"] [data-item="1"] { opacity: 0; transform: translateX(-72px); }

/* contenido de cada paso */
.step6-num { display: block; font-family: var(--serif); font-size: clamp(42px, 6vw, 62px); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(232, 194, 76, 0.5); }
.step6 h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 3vw, 32px); line-height: 1.12; margin-top: 12px; }
.step6 p { color: var(--text-2); font-weight: 300; line-height: 1.55; max-width: 42ch; margin: 10px auto 0; }
.step6-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 500; color: var(--accent-2); transition: gap 0.3s var(--ease), transform 0.2s var(--ease); }
.step6-cta svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.step6-cta:hover { gap: 12px; }
.step6-cta:hover svg { transform: translateX(3px); }
.step6-cta:active { transform: scale(0.97); }
.step6-foot { display: inline-flex; align-items: center; gap: 9px; margin-top: 18px; font-size: 13.5px; color: var(--text-3); }
.step6-foot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(126, 224, 176, 0.18); }

/* halo dorado de fondo del escenario */
.steps-pin::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(900px, 120vw); height: 620px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(232, 194, 76, 0.13), transparent 72%); pointer-events: none; z-index: 0; }
/* composición premium de cada estado: imagen enmarcada + texto */
.step-split { display: flex; flex-direction: column; align-items: center; gap: clamp(22px, 3.5vw, 46px); width: 100%; }
.step-visual { position: relative; flex: 0 0 auto; width: clamp(200px, 38vw, 340px); aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; border: 1px solid var(--accent-line); background: var(--surface-2); box-shadow: 0 34px 90px -34px rgba(0, 0, 0, 0.9), 0 0 70px -24px rgba(232, 194, 76, 0.4); }
.step-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.step-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.5)); }
.step-text { max-width: 430px; }
@media (min-width: 820px) {
  .step-split { flex-direction: row; align-items: center; justify-content: center; gap: clamp(40px, 5vw, 72px); text-align: left; }
  .step-split.reverse { flex-direction: row-reverse; }
  .step-text { text-align: left; }
  .step-text p { margin-left: 0; margin-right: 0; }
}

/* reducir movimiento: desancla y apila los tres estados */
@media (prefers-reduced-motion: reduce) {
  .steps-pin-wrap { height: auto; }
  .steps-pin { position: static; height: auto; overflow: visible; display: block; }
  .steps.section { padding: clamp(84px, 10vw, 140px) 0; }
  .steps-stage { min-height: 0; }
  .js .steps-item { position: static; opacity: 1; transform: none; margin-bottom: clamp(32px, 6vh, 64px); transition: opacity 0.4s ease; }
}

/* emojis flotando a los lados, con entrada en "tornado" al ver la sección */
.steps-emojis { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.steps-emojis span {
  position: absolute;
  line-height: 1;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.45));
}
.js .steps-emojis span { opacity: 0; will-change: transform, opacity; }
.js .steps-emojis.swarm-in span {
  animation:
    tornadoIn 1.1s cubic-bezier(0.18, 0.7, 0.2, 1) var(--in-delay, 0s) both,
    stepFloat var(--d, 6s) ease-in-out calc(var(--in-delay, 0s) + 1.15s) infinite;
}
@keyframes tornadoIn {
  0%   { opacity: 0; transform: translate(var(--fromx, 0), var(--fromy, 36vh)) rotate(-680deg) scale(0.12); }
  65%  { opacity: 1; }
  100% { opacity: 1; transform: translate(0, 0) rotate(0deg) scale(1); }
}
@keyframes stepFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@media (prefers-reduced-motion: reduce) {
  .js .steps-emojis span { opacity: 1; animation: none !important; }
}
@media (max-width: 719px) { .steps-emojis { display: none; } }

/* ===== Cómo funciona: martini servido — copa centrada, texto a los lados ===== */
.mtn-inner { position: relative; z-index: 1; width: min(100% - 40px, 1080px); margin-inline: auto; }
.mtn-row { position: relative; display: grid; grid-template-columns: 1fr clamp(210px, 25vw, 290px) 1fr; align-items: center; gap: clamp(16px, 3.5vw, 60px); min-height: clamp(440px, 72vh, 640px); }

/* columnas de texto a los lados (título a un lado, texto al otro) */
.mtn-col { position: relative; min-height: clamp(210px, 34vh, 300px); }
.mtn-left { text-align: right; }
.mtn-right { text-align: left; }
.mtn-head, .mtn-body { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.mtn-left .mtn-head { align-items: flex-end; }
.mtn-right .mtn-body { align-items: flex-start; }
.js .mtn-head { opacity: 0; transform: translateX(-40px); filter: blur(5px); pointer-events: none; transition: opacity .55s var(--ease), transform .8s cubic-bezier(.16, 1, .3, 1), filter .55s var(--ease); will-change: opacity, transform, filter; }
.js .mtn-body { opacity: 0; transform: translateX(40px); filter: blur(5px); pointer-events: none; transition: opacity .55s var(--ease), transform .8s cubic-bezier(.16, 1, .3, 1), filter .55s var(--ease); will-change: opacity, transform, filter; }
.js .mtn-row[data-phase="0"] .mtn-head[data-state="0"],
.js .mtn-row[data-phase="1"] .mtn-head[data-state="1"],
.js .mtn-row[data-phase="2"] .mtn-head[data-state="2"],
.js .mtn-row[data-phase="0"] .mtn-body[data-state="0"],
.js .mtn-row[data-phase="1"] .mtn-body[data-state="1"],
.js .mtn-row[data-phase="2"] .mtn-body[data-state="2"] { opacity: 1; transform: none; filter: none; pointer-events: auto; }

/* copa centrada */
.mtn-glass { position: relative; display: flex; align-items: center; justify-content: center; }
.mtn-glass-inner { position: relative; width: 100%; animation: mtnFloat 7.5s ease-in-out infinite; }
@keyframes mtnFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.mtn-seq { position: relative; width: 100%; max-width: 300px; margin-inline: auto; aspect-ratio: 474 / 667; overflow: visible; }
.mtn-seq .glassimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; z-index: 2; }
.mtn-fill { clip-path: inset(calc(48% - 20% * var(--fill, 0)) 0 0 0); -webkit-clip-path: inset(calc(48% - 20% * var(--fill, 0)) 0 0 0); will-change: clip-path; }

/* burbujas sutiles dentro de la bebida al llenarse */
.mtn-bubs { position: absolute; left: 50%; bottom: 50%; transform: translateX(-50%); width: 20%; height: 22%; z-index: 2; opacity: clamp(0, calc(var(--fill, 0) * 1.6 - 0.2), .85); pointer-events: none; }
.mtn-bubs i { position: absolute; bottom: 0; width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 246, 214, .5); animation: mtnBub 4s linear infinite; }
.mtn-bubs i:nth-child(1) { left: 26%; width: 3px; height: 3px; animation-duration: 4.4s; animation-delay: .2s; }
.mtn-bubs i:nth-child(2) { left: 46%; animation-duration: 3.4s; animation-delay: 1.3s; }
.mtn-bubs i:nth-child(3) { left: 60%; width: 3px; height: 3px; animation-duration: 4.8s; animation-delay: .7s; }
.mtn-bubs i:nth-child(4) { left: 36%; width: 2.5px; height: 2.5px; animation-duration: 5.2s; animation-delay: 2.3s; }
.mtn-bubs i:nth-child(5) { left: 54%; width: 3.5px; height: 3.5px; animation-duration: 3.9s; animation-delay: 1.7s; }
@keyframes mtnBub { 0% { transform: translateY(0) scale(.5); opacity: 0; } 15% { opacity: .65; } 85% { opacity: .35; } 100% { transform: translateY(-110px) scale(1); opacity: 0; } }

/* chorro real: cae hasta el fondo de la copa, por DENTRO; la bebida va tapando la parte que cubre */
.mtn-pour { position: absolute; left: 48.5%; top: -14%; transform: translateX(-50%); width: 7%; height: 62%; object-fit: fill; object-position: 50% 100%; opacity: var(--pour, 0); clip-path: inset(calc(var(--pend, 0) * 100%) 0 max(calc((1 - var(--preach, 0)) * 100%), calc(var(--fill, 0) * 32%)) 0); -webkit-clip-path: inset(calc(var(--pend, 0) * 100%) 0 max(calc((1 - var(--preach, 0)) * 100%), calc(var(--fill, 0) * 32%)) 0); pointer-events: none; z-index: 1; }
/* aceituna real (con sus gotas): cae y ENTRA en la copa */
.mtn-ofall { position: absolute; left: 50%; top: 0; width: 20%; height: 92%; object-fit: contain; object-position: 50% 0; transform: translate(-50%, calc(-86% + 88% * var(--odrop, 0))); opacity: var(--odropop, 0); pointer-events: none; z-index: 4; }

.mtn-reflect { position: absolute; left: 50%; bottom: 3%; width: 46%; height: 8%; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(232, 194, 76, calc(.08 + var(--fill, 0) * .22)), transparent 72%); filter: blur(7px); pointer-events: none; }

/* tipografía del texto lateral */
.mtn-kicker { letter-spacing: .34em; }
.mtn-step { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--accent); }
.mtn-step b { font-weight: 500; color: var(--accent-2); }
.mtn-step i { width: 20px; height: 1px; background: rgba(232, 194, 76, .4); font-style: normal; }
.mtn-title { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 4.2vw, 54px); line-height: 1.08; letter-spacing: -.005em; color: var(--text); margin: 0; }
.mtn-sub { max-width: 30ch; color: var(--text-2); font-weight: 300; font-size: clamp(15px, 1.5vw, 18px); line-height: 1.55; margin: 0; }
.mtn-text { max-width: 32ch; color: var(--text-2); font-weight: 300; font-size: clamp(14.5px, 1.4vw, 17px); line-height: 1.6; margin: 0; }
.mtn-cta { display: inline-flex; align-items: center; gap: 9px; margin-top: 4px; font-weight: 500; font-size: 16px; color: var(--accent-2); text-decoration: none; transition: gap .3s var(--ease); }
.mtn-cta svg { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.mtn-cta:hover { gap: 14px; }
.mtn-cta:hover svg { transform: translateX(4px); }
.mtn-foot { display: inline-flex; align-items: center; gap: 10px; margin-top: 4px; font-size: 13.5px; color: var(--text-3); }
.mtn-foot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(126, 224, 176, .18); animation: mtnPulse 2.4s var(--ease) infinite; }
@keyframes mtnPulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(126, 224, 176, .18); } 50% { box-shadow: 0 0 0 6px rgba(126, 224, 176, .04); } }

/* móvil: copa arriba, texto apilado debajo */
@media (max-width: 860px) {
  .mtn-row { grid-template-columns: 1fr; gap: clamp(14px, 4vh, 28px); min-height: 0; }
  .mtn-glass { order: 1; }
  .mtn-left { order: 2; text-align: center; }
  .mtn-right { order: 3; text-align: center; }
  .mtn-col { min-height: clamp(150px, 26vh, 220px); }
  .mtn-left .mtn-head, .mtn-right .mtn-body { align-items: center; }
  .mtn-seq { width: min(62vw, 250px); }
  .js .mtn-head, .js .mtn-body { transform: translateY(26px); }
}
@media (prefers-reduced-motion: reduce) {
  .mtn-col { position: static; min-height: 0; }
  .js .mtn-head, .js .mtn-body { position: static; opacity: 1; transform: none; filter: none; pointer-events: auto; }
  .mtn-glass-inner { animation: none; }
  .mtn-bubs i, .mtn-foot::before { animation: none; }
}

/* ---------- Carta: pestañas y carruseles laterales ---------- */
.menu { position: relative; isolation: isolate; overflow: hidden; }
.menu::before {
  content: '';
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 55%;
  width: min(1100px, 120vw);
  height: 760px;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(232, 194, 76, 0.2), rgba(255, 206, 46, 0.07) 60%, transparent 76%);
  pointer-events: none;
}

/* Panel de cristal con borde degradado azul-violeta */
.menu-shell { position: relative; }

.menu-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: clamp(20px, 3vw, 30px); }
.cat-tabs {
  position: relative;
  display: inline-flex;
  gap: 2px;
  max-width: 100%;
  padding: 5px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.65);
}
.cat-indicator {
  position: absolute;
  top: 5px; bottom: 5px; left: 0;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffce2e, #e0ab38);
  box-shadow: 0 0 22px rgba(232, 194, 76, 0.55);
  transition: transform 0.55s var(--ease), width 0.55s var(--ease);
}
.cat-tab {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: 0.03em;
  color: var(--text-2);
  transition: color 0.35s;
}
.cat-tab small { font-size: 11px; opacity: 0.6; }
.cat-tab:hover { color: var(--text); }
.cat-tab.active { color: var(--on-accent); }
@media (min-width: 640px) { .cat-tab { padding: 0 22px; } }

.rail-nav { display: none; gap: 10px; }
@media (min-width: 640px) { .rail-nav { display: flex; } }
.rail-btn {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s, opacity 0.3s;
}
.rail-btn svg { width: 18px; height: 18px; }
.rail-btn:not(:disabled):hover { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 26px rgba(232, 194, 76, 0.6); }
.rail-btn:disabled { opacity: 0.3; cursor: default; }

.panel-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 6px 40px; margin-bottom: 22px; }
.panel-title { font-family: var(--display); font-style: normal; font-weight: 600; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.15; }
.panel-desc { max-width: 440px; color: var(--text-2); font-size: 15px; font-weight: 300; }

/* Carrusel horizontal: se desliza con el dedo, el trackpad, las flechas o arrastrando */
.rail {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(290px, 80%);
  gap: 16px;
  margin: -6px -4px -10px;
  padding: 6px 4px 10px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 4px;
  scrollbar-width: none;
  cursor: grab;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail:focus-visible { outline-offset: 4px; border-radius: 18px; }
.rail.dragging { cursor: grabbing; scroll-snap-type: none; }
.rail.dragging > * { pointer-events: none; user-select: none; }
.rail-cartas { grid-auto-columns: min(640px, 92%); align-items: start; }
.rail-clasicos { grid-template-rows: repeat(2, auto); grid-auto-columns: min(330px, 88%); gap: 12px 14px; }

.rail-progress { position: relative; height: 2px; margin-top: 26px; overflow: hidden; border-radius: 2px; background: var(--line); }
.rail-progress span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--violet));
  box-shadow: 0 0 12px rgba(232, 194, 76, 0.9);
  transition: width 0.4s var(--ease);
}

/* Al cambiar de pestaña las bebidas entran desde el lateral */
.panel.slide .rail > * { animation: slideX 0.75s var(--ease) backwards; animation-delay: calc(var(--k, 0) * 70ms); }
.panel.slide .panel-head { animation: fadeIn 0.5s ease backwards; }
@keyframes slideX { from { opacity: 0; transform: translateX(var(--from, 80px)); } }
@keyframes fadeIn { from { opacity: 0; } }

.price { font-size: 20px; font-weight: 500; color: var(--accent-2); white-space: nowrap; }
.price small { margin-left: 4px; font-size: 13px; font-weight: 400; color: var(--text-3); }

/* Botón añadir (texto) */
.add-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px 0 14px;
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  color: var(--accent-2);
  flex: none;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.2s;
}
.add-btn:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); box-shadow: 0 0 24px rgba(232, 194, 76, 0.5); }
.add-btn:active, .add-round:active { transform: scale(0.94); }
.add-ic { position: relative; width: 18px; height: 18px; flex: none; }
.add-ic svg { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform 0.45s var(--spring), opacity 0.3s; }
.add-ic svg:last-child { opacity: 0; transform: scale(0.4) rotate(-45deg); }
.added .add-ic svg:first-child { opacity: 0; transform: scale(0.4) rotate(90deg); }
.added .add-ic svg:last-child { opacity: 1; transform: none; }
.add-txt { display: grid; align-items: center; }
.add-txt > span { white-space: nowrap; }
.add-txt > span { grid-area: 1 / 1; transition: transform 0.45s var(--ease), opacity 0.3s; }
.add-txt > span:last-child { opacity: 0; transform: translateY(70%); }
.add-btn.added { border-color: rgba(126, 224, 176, 0.5); color: var(--ok); background: rgba(126, 224, 176, 0.08); box-shadow: none; }
.add-btn.added:hover { background: rgba(126, 224, 176, 0.16); color: var(--ok); }
.added .add-txt > span:first-child { opacity: 0; transform: translateY(-70%); }
.added .add-txt > span:last-child { opacity: 1; transform: none; }

/* Botón añadir (redondo) */
.add-round {
  width: 40px; height: 40px; flex: none;
  display: grid; place-items: center;
  border: 1px solid var(--accent-line);
  border-radius: 50%;
  color: var(--accent-2);
  transition: background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.2s;
}
.add-round:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); box-shadow: 0 0 20px rgba(232, 194, 76, 0.5); }
.add-round.added { background: var(--ok); border-color: var(--ok); color: #0a2318; box-shadow: none; }

/* Foto o, si falta, ilustración de la copa */
.media { position: relative; overflow: hidden; display: grid; place-items: center; background: radial-gradient(55% 65% at 50% 64%, var(--glow), transparent 72%), rgba(0, 0, 0, 0.6); }
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.media .glass { color: var(--glass-stroke); filter: drop-shadow(0 18px 20px rgba(0, 0, 0, 0.55)); transition: transform 0.8s var(--ease); }
.glass .liq { transition: transform 0.8s var(--ease); }

/* Tarjetas de estación */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(165deg, rgba(232, 194, 76, 0.16), rgba(14, 14, 14, 0.92) 42%, rgba(7, 7, 7, 0.96));
  transition: border-color 0.4s, transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.card:hover { border-color: var(--accent-line); transform: translateY(-4px); box-shadow: 0 30px 60px -34px rgba(0, 0, 0, 0.9), 0 24px 60px -36px rgba(232, 194, 76, 0.7); }
.card.in-cart { border-color: rgba(126, 224, 176, 0.4); }
.card-media { aspect-ratio: 5 / 6; margin: 8px 8px 0; border-radius: 16px; }
.card-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 28%, transparent 70%, rgba(0, 0, 0, 0.35)); pointer-events: none; }
.card-media .glass { width: 104px; }
.card:hover .card-media img { transform: scale(1.06); }
.card:hover .card-media .glass { transform: translateY(-6px) rotate(-4deg); }
.card:hover .liq, .classic:hover .liq { transform: translateY(-3px); }
.card-chip {
  position: absolute;
  z-index: 1;
  top: 12px; left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 4px 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 12px;
  color: var(--text);
}
.card-chip i { width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.6), transparent 45%), var(--chip); }
.card-flag {
  position: absolute;
  z-index: 1;
  top: 12px; right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px 6px 10px;
  border-radius: 999px;
  background: rgba(10, 35, 24, 0.7);
  border: 1px solid rgba(126, 224, 176, 0.45);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--ok);
  font-size: 12px;
  font-weight: 500;
  opacity: 0;
  transform: translateY(-8px) scale(0.9);
  transition: opacity 0.35s, transform 0.5s var(--spring);
}
.card-flag svg { width: 14px; height: 14px; }
.in-cart .card-flag { opacity: 1; transform: none; }
.card-body { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; }
.card-name { font-family: var(--name); font-size: 24px; font-weight: 600; line-height: 1.15; }
.card-desc { color: var(--text-2); font-size: 14.5px; font-weight: 300; }
.card-foot { margin-top: auto; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-foot .price { line-height: 1.2; }
.card-foot .price small { display: block; margin: 2px 0 0; }

/* Cartas completas */
.carta {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(80% 40% at 15% 0%, rgba(232, 194, 76, 0.2), transparent 70%),
    linear-gradient(180deg, rgba(14, 14, 14, 0.95), rgba(7, 7, 7, 0.98));
  transition: border-color 0.4s, box-shadow 0.6s var(--ease);
}
.carta:hover { border-color: var(--accent-line); box-shadow: 0 24px 60px -36px rgba(232, 194, 76, 0.7); }
.carta.in-cart { border-color: rgba(126, 224, 176, 0.4); }
.carta-head { display: flex; align-items: center; gap: 22px; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.carta-media { flex: none; display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; width: 210px; height: 156px; }
.carta-media .media { border-radius: 12px; }
.carta-media .media:first-child { grid-row: 1 / 3; }
.carta-media .glass { width: 46px; }
.carta-media.is-art { display: grid; place-items: center; grid-template: none; border-radius: 16px; background: rgba(0, 0, 0, 0.55); }
.carta-media.is-art .glass { width: 150px; color: var(--glass-stroke); }
.carta:hover .carta-media img { transform: scale(1.06); }
.carta-kicker { font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-2); }
.carta-name { margin-top: 6px; font-family: var(--name); font-size: clamp(28px, 2.8vw, 36px); font-weight: 600; line-height: 1.1; }
.carta-desc { margin-top: 6px; color: var(--text-2); font-size: 14.5px; font-weight: 300; }
.carta-groups { padding: 22px 24px 4px; columns: var(--cols, 2); column-gap: 28px; }
.carta-group { break-inside: avoid; margin-bottom: 20px; }
.carta-group h5 { padding-bottom: 8px; margin-bottom: 2px; border-bottom: 1px solid var(--accent-line); font-family: var(--serif); font-style: italic; font-size: 22px; font-weight: 500; color: var(--accent-2); }
.carta-group li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.carta-group li b { display: block; font-family: var(--name); font-size: 17px; font-weight: 600; line-height: 1.25; }
.carta-group li span { display: block; color: var(--text-2); font-size: 13px; font-weight: 300; line-height: 1.45; }
.carta-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 24px 22px; border-top: 1px solid var(--line); }
@media (max-width: 600px) {
  .carta-head { flex-direction: column; align-items: stretch; }
  .carta-media { width: 100%; height: 190px; }
  .carta-groups { columns: 1; }
}

/* Clásicos */
.classics-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
.search { position: relative; flex: 1 1 260px; max-width: 380px; }
.search svg { position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--text-3); pointer-events: none; }
.search input {
  width: 100%;
  height: 46px;
  padding: 0 18px 0 46px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.6);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.search input::placeholder { color: var(--text-3); }
.search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(232, 194, 76, 0.18); }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding: 2px 16px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none;
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--text-2);
  transition: background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.chip span { margin-left: 4px; font-size: 11px; opacity: 0.6; }
.chip:hover { border-color: var(--accent-line); color: var(--text); }
.chip[aria-pressed='true'] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); box-shadow: 0 0 18px rgba(232, 194, 76, 0.45); }
@media (min-width: 768px) { .chips { flex-wrap: wrap; margin-inline: 0; padding: 0; overflow: visible; } }

.classics-count { margin-bottom: 12px; font-size: 13px; color: var(--text-3); }
.classic {
  position: relative;
  display: grid;
  grid-template-columns: 78px 1fr;
  grid-template-areas: 'v t' 'v s';
  gap: 2px 14px;
  padding: 10px 12px 10px 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  transition: border-color 0.35s, background 0.35s;
}
.classic:hover { border-color: var(--accent-line); background: linear-gradient(160deg, rgba(232, 194, 76, 0.16), rgba(255, 255, 255, 0.02)); }
.classic.in-cart { border-color: rgba(126, 224, 176, 0.4); }
.classic-media { grid-area: v; height: 100px; border-radius: 12px; }
.classic-media .glass { width: 40px; }
.classic:hover .classic-media img { transform: scale(1.08); }
.classic:hover .classic-media .glass { transform: rotate(-6deg) translateY(-2px); }
.classic-text { grid-area: t; min-width: 0; padding-top: 2px; }
.classic-name { font-family: var(--name); font-size: 20px; font-weight: 600; line-height: 1.2; }
.classic-desc { color: var(--text-2); font-size: 13px; font-weight: 300; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.classic-side { grid-area: s; align-self: end; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.classic .price { font-size: 16px; }
.classic.in-cart .classic-name { color: var(--accent-2); }
.classics-empty { padding: 40px 0; text-align: center; color: var(--text-2); }
.classics-empty .text-btn { margin-top: 8px; }

/* ---------- Eventos en vídeo ---------- */
.events { position: relative; }
/* El brillo va en .events-sticky, que recorta (si fuera .events con overflow se rompería el sticky) */
.events-sticky { position: relative; overflow: hidden; isolation: isolate; }
.events-sticky::before {
  content: '';
  position: absolute;
  z-index: -1;
  right: -280px;
  top: 50%;
  width: 920px;
  height: 920px;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--blue-glow), transparent 72%);
  transform: translateY(-50%);
  pointer-events: none;
}
.events-grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 960px) { .events-grid { grid-template-columns: 0.9fr 1.1fr; gap: 72px; } }
.events-points { display: grid; gap: 12px; margin-top: 28px; }
.events-points li { display: flex; align-items: baseline; gap: 14px; font-size: 16px; }
.events-points li::before {
  content: '';
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 4px rgba(232, 194, 76, 0.18);
  transform: translateY(-2px);
}
.events-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.events-ctas .btn-ghost svg { color: var(--accent); }

.reels { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 2.6vw, 28px); align-items: start; }
.reel { margin: 0; }
.reel:nth-child(2) { margin-top: clamp(28px, 6vw, 72px); }
.reel figcaption { margin-top: 16px; padding-inline: 2px; }
.reel figcaption b { display: block; font-family: var(--serif); font-size: clamp(18px, 2vw, 22px); font-weight: 600; line-height: 1.15; }
.reel figcaption span { display: block; margin-top: 4px; font-size: 13.5px; color: var(--text-3); }

.reel-frame {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: clamp(18px, 3vw, 28px);
  background: var(--surface);
  border: 1px solid rgba(232, 194, 76, 0.4);
  box-shadow:
    0 0 0 6px rgba(0, 0, 0, 0.7),
    0 0 0 7px rgba(232, 194, 76, 0.18),
    0 40px 90px -40px rgba(0, 0, 0, 0.95),
    0 0 60px -14px rgba(232, 194, 76, 0.45);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.5s var(--ease), box-shadow 0.5s;
}
@media (hover: hover) {
  .reel-frame:hover {
    transform: translateY(-4px);
    box-shadow:
      0 0 0 6px rgba(0, 0, 0, 0.7),
      0 0 0 7px rgba(232, 194, 76, 0.4),
      0 40px 90px -40px rgba(0, 0, 0, 0.95),
      0 0 80px -10px rgba(232, 194, 76, 0.6);
  }
}
.reel-video { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Degradado inferior para que se lean los controles */
.reel-frame::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 32%;
  background: linear-gradient(180deg, transparent, rgba(6, 8, 14, 0.8));
  pointer-events: none;
}
.reel-tag,
.reel-big,
.reel-bar,
.reel-progress { position: absolute; z-index: 2; }

.reel-tag {
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: #fff;
  white-space: nowrap;
  font-variant-numeric: lining-nums tabular-nums;
}
.reel-tag i { width: 7px; height: 7px; border-radius: 50%; background: #ff5d6c; box-shadow: 0 0 0 3px rgba(255, 93, 108, 0.22); }
.reel-frame.playing .reel-tag i { animation: rec 1.6s ease-in-out infinite; }
@keyframes rec { 50% { opacity: 0.35; } }

/* Botón grande de reproducir mientras el vídeo está parado */
.reel-big {
  left: 50%;
  top: 50%;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.26);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.35s, transform 0.5s var(--spring);
  pointer-events: none;
}
.reel-big svg { width: 26px; height: 26px; margin-left: 3px; }
.reel-frame:not(.playing) .reel-big,
.reel-frame.waiting .reel-big { opacity: 1; transform: none; }
.reel-frame.waiting .reel-big svg { opacity: 0; }
.reel-frame.waiting .reel-big::before {
  content: '';
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-top-color: #fff;
  animation: spin 0.8s linear infinite;
}

.reel-bar { left: 10px; right: 10px; bottom: 18px; display: flex; align-items: center; gap: 6px; }
.reel-btn {
  height: 38px;
  min-width: 38px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  transition: background 0.3s, border-color 0.3s, transform 0.35s var(--spring);
}
.reel-btn:hover { background: rgba(232, 194, 76, 0.55); border-color: rgba(255, 206, 46, 0.6); }
.reel-btn:active { transform: scale(0.9); }
.reel-btn svg { width: 17px; height: 17px; flex: none; }
[data-reel-toggle] { margin-right: auto; }
.reel-btn .i-pause,
.reel-frame.playing .reel-btn .i-play { display: none; }
.reel-frame.playing .reel-btn .i-pause { display: block; }

/* Sonido: icono tachado en silencio y ecualizador cuando suena */
.reel-sound .eq { display: none; align-items: flex-end; gap: 2px; height: 14px; }
.reel-sound .eq i { width: 3px; height: 100%; border-radius: 2px; background: currentColor; transform-origin: bottom; animation: eq 0.9s ease-in-out infinite alternate; }
.reel-sound .eq i:nth-child(2) { animation-delay: -0.3s; animation-duration: 0.7s; }
.reel-sound .eq i:nth-child(3) { animation-delay: -0.6s; }
@keyframes eq { from { transform: scaleY(0.25); } to { transform: scaleY(1); } }
.reel-sound[aria-pressed='true'] { background: var(--accent); border-color: transparent; }
.reel-sound[aria-pressed='true'] .i-muted { display: none; }
.reel-sound[aria-pressed='true'] .eq { display: inline-flex; }
.reel-frame:not(.playing) .reel-sound .eq i { animation-play-state: paused; }
/* Invita a activar el sonido las primeras veces que se reproduce */
.reel-frame.playing .reel-sound[aria-pressed='false'] { animation: soundHint 2.2s ease-out 1.2s 2; }
@keyframes soundHint {
  0% { box-shadow: 0 0 0 0 rgba(255, 206, 46, 0.7); }
  70%, 100% { box-shadow: 0 0 0 12px rgba(255, 206, 46, 0); }
}
@media (max-width: 599px) { .reel-sound-txt { display: none; } }

.reel-progress { left: 14px; right: 14px; bottom: 8px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.2); overflow: hidden; }
.reel-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent-2), #fff); transform: scaleX(0); transform-origin: left; }

/* Sección de vídeos fijada: al llegar se queda quieta y, al bajar, los vídeos pasan
   de lado; cuando terminan, la página sigue bajando (lo mueve js/events.js, solo en
   pantallas anchas y con movimiento normal). .events-track lleva la altura inline. */
.events-track, .events-media { position: relative; }
@media (min-width: 960px) {
  .events.is-pinned { padding: 0; }
  .events.is-pinned .events-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
  }
  .events.is-pinned .events-grid {
    width: min(100% - 64px, 1200px);
    margin-inline: auto;
    align-items: center;
  }
  .events.is-pinned .events-media { overflow: hidden; }
  .events.is-pinned .reels {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    align-items: center;
    gap: clamp(20px, 2.4vw, 40px);
    /* Hueco a los lados: al empezar los vídeos se ven y al final ya han pasado y salido.
       El derecho (= ancho visible) hace que el último vídeo salga del todo, haya los que haya */
    padding-left: 30%;
    padding-right: 100%;
    will-change: transform;
  }
  .events.is-pinned .reel { flex: 0 0 clamp(236px, 25vw, 320px); margin: 0; }
  .events.is-pinned .reel:nth-child(2) { margin-top: 0; }
}

/* ---------- Servicios de la barra (barmans y menaje) ---------- */
.services { margin-top: clamp(40px, 6vw, 72px); }
.services-head { max-width: 760px; margin-bottom: clamp(22px, 3vw, 34px); }
.services-grid { display: grid; grid-template-columns: 1fr; gap: clamp(18px, 2.4vw, 26px); max-width: 560px; }

.svc {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(20px, 2.6vw, 30px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(170deg, var(--surface), var(--bg-2));
}
.svc-top { display: flex; align-items: center; gap: 14px; }
.svc-ic {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  color: var(--accent-2);
  background: rgba(232, 194, 76, 0.14);
  border: 1px solid var(--accent-line);
}
.svc-ic svg { width: 24px; height: 24px; }
.svc-name { font-family: var(--serif); font-size: 24px; font-weight: 600; line-height: 1.1; }
.svc-sub { margin-top: 2px; font-size: 13.5px; color: var(--text-3); }

.svc-fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.svc-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.svc-field-full { grid-column: 1 / -1; }
.svc-detail { margin-top: 2px; font-family: var(--sans); font-size: 13.5px; color: var(--text-2); }
.svc-label { font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.svc-stepper { display: flex; width: 100%; }
.svc-stepper input { flex: 1 1 auto; width: auto; }

.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button {
  padding: 9px 15px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: transparent;
  color: var(--text-2);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.seg button:hover { border-color: var(--accent-line); color: var(--text); }
.seg button[aria-pressed='true'] { border-color: transparent; color: var(--on-accent); background: var(--accent); }

.svc-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.svc-price { font-family: var(--serif); font-size: clamp(26px, 3vw, 34px); font-weight: 600; line-height: 1; font-variant-numeric: lining-nums; }
.svc-noiva { font-family: var(--sans); font-size: 13px; font-weight: 500; color: var(--text-3); letter-spacing: 0.02em; }
.svc-add { white-space: nowrap; }
.svc-add[disabled] { opacity: 0.5; cursor: not-allowed; box-shadow: none; transform: none; }

/* Línea de servicio dentro de la cesta */
.line-service .line-tag {
  display: inline-block;
  padding: 3px 10px;
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
}

/* ---------- Tarjetas de estación: enlazan a la personalización ---------- */
.card-estacion > .card-link { display: flex; flex-direction: column; flex: 1; min-height: 0; color: inherit; text-decoration: none; }
.price-from { font-size: 12px; font-weight: 400; color: var(--text-3); letter-spacing: 0.04em; }
.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--accent-line);
  color: var(--accent-2);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.card-cta svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.card-estacion:hover .card-cta { background: var(--accent); color: var(--on-accent); border-color: transparent; }
.card-estacion:hover .card-cta svg { transform: translateX(3px); }
.card-crea-media { --glow: rgba(232, 194, 76, 0.32); }
.card-crea .card-name { font-family: var(--display); font-weight: 700; font-size: 28px; }

/* ---------- Página de personalización de estación (estacion.html) ---------- */
.estacion-page { padding-top: calc(var(--header-h) + 28px); padding-bottom: clamp(60px, 9vw, 110px); min-height: 72vh; }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; font-size: 14px; color: var(--text-2); transition: color 0.2s; }
.back-link svg { width: 18px; height: 18px; }
.back-link:hover { color: var(--accent-2); }

.est-grid { display: grid; grid-template-columns: 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (min-width: 900px) { .est-grid { grid-template-columns: 1.4fr 0.9fr; } }
/* Sin esto, el carrusel de cócteles ensancha la columna y desborda la página */
.est-config, .est-summary { min-width: 0; }

.est-head { display: flex; gap: 20px; align-items: center; }
.est-art { flex: 0 0 auto; width: 110px; height: 132px; border-radius: 18px; overflow: hidden; position: relative; display: grid; place-items: center; background: radial-gradient(60% 60% at 50% 55%, rgba(232, 194, 76, 0.25), transparent 72%), var(--surface); border: 1px solid var(--line); }
.est-art img { width: 100%; height: 100%; object-fit: cover; }
.est-art .glass { width: 74px; color: var(--glass-stroke); }
.est-title { font-family: var(--display); font-weight: 700; font-size: clamp(32px, 4.4vw, 52px); line-height: 1.05; margin-top: 4px; }
.est-desc { margin-top: 8px; color: var(--text-2); font-size: 15.5px; font-weight: 300; max-width: 46ch; }
.est-included { margin-top: 12px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-2); }
.est-inc-ic { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(126, 224, 176, 0.16); color: var(--ok); }
.est-inc-ic svg { width: 13px; height: 13px; }

.est-section { margin-top: clamp(22px, 3vw, 32px); }
.est-h { font-family: var(--serif); font-size: 22px; font-weight: 600; margin-bottom: 14px; }
.est-h3 { font-size: 15px; font-weight: 600; margin-bottom: 12px; color: var(--text); }
.est-fields2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 480px) { .est-fields2 { grid-template-columns: 1fr; } }
.est-hint { margin-top: 10px; font-size: 13px; color: var(--text-3); }
.est-select { width: 100%; height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); font: inherit; }
.est-select:focus { outline: none; border-color: var(--accent-line); }

/* Carrusel de cócteles de "crea tu estación" (elige varios) */
.coc-carousel { display: flex; gap: 12px; margin-top: 12px; padding: 4px 2px 12px; overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.coc-carousel::-webkit-scrollbar { height: 7px; }
.coc-carousel::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 999px; }
.coc-card {
  flex: 0 0 auto;
  width: 112px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px 8px 10px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: var(--surface);
  color: var(--text-2);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s, color 0.25s, transform 0.3s var(--ease);
}
.coc-card:hover { border-color: var(--accent-line); transform: translateY(-2px); }
.coc-card.is-sel { border-color: var(--accent); background: rgba(232, 194, 76, 0.14); color: var(--text); }
.coc-img { position: relative; width: 100%; aspect-ratio: 1 / 1; border-radius: 10px; overflow: hidden; display: grid; place-items: center; background: radial-gradient(60% 60% at 50% 55%, rgba(232, 194, 76, 0.18), transparent 72%), var(--surface-2); }
.coc-img img { width: 100%; height: 100%; object-fit: cover; }
.coc-img .glass { width: 54px; color: var(--glass-stroke); }
.coc-img-other { color: var(--accent-2); }
.coc-img-other svg { width: 26px; height: 26px; }
.coc-name { font-size: 12.5px; line-height: 1.2; font-weight: 500; }
.coc-check { position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); opacity: 0; transform: scale(0.6); transition: opacity 0.2s, transform 0.2s var(--spring); }
.coc-check svg { width: 13px; height: 13px; }
.coc-card.is-sel .coc-check { opacity: 1; transform: none; }
.coc-other-wrap { margin-top: 10px; }
.est-input { width: 100%; height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); font: inherit; }
.est-input:focus { outline: none; border-color: var(--accent-line); }

.est-more { margin-top: clamp(22px, 3vw, 32px); border: 1px solid var(--line); border-radius: 18px; background: rgba(0, 0, 0, 0.4); overflow: hidden; }
.est-more-sum { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; cursor: pointer; font-weight: 500; list-style: none; }
.est-more-sum::-webkit-details-marker { display: none; }
.est-chevron { width: 18px; height: 18px; color: var(--text-3); transition: transform 0.3s; }
.est-more[open] .est-chevron { transform: rotate(180deg); }
.est-more-body { padding: 0 20px 22px; }
.est-more-body .est-section:first-child { margin-top: 6px; }

.est-checks { display: grid; gap: 10px; }
.est-check { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 12px; cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.est-check:hover { border-color: var(--accent-line); }
.est-check input { position: absolute; opacity: 0; width: 0; height: 0; }
.est-check-box { flex: 0 0 auto; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--line-2); display: grid; place-items: center; transition: background 0.2s, border-color 0.2s; }
.est-check-box::after { content: ''; width: 10px; height: 10px; border-radius: 3px; background: var(--on-accent); transform: scale(0); transition: transform 0.2s var(--spring); }
.est-check input:checked + .est-check-box { background: var(--accent); border-color: transparent; }
.est-check input:checked + .est-check-box::after { transform: scale(1); }
.est-check input:focus-visible + .est-check-box { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.est-check-label { flex: 1; font-size: 14.5px; }
.est-check-price { font-size: 13px; color: var(--text-3); }

.est-textarea { width: 100%; padding: 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); font: inherit; font-size: 14.5px; resize: vertical; min-height: 84px; }
.est-textarea:focus { outline: none; border-color: var(--accent-line); }

@media (min-width: 900px) { .est-summary { position: sticky; top: calc(var(--header-h) + 16px); } }
.est-summary-card { padding: clamp(22px, 2.6vw, 30px); border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(170deg, var(--surface), var(--bg-2)); }
.est-summary-name { font-family: var(--serif); font-size: 26px; font-weight: 600; line-height: 1.1; margin: 4px 0 18px; }
.est-breakdown { display: grid; gap: 10px; margin: 0 0 18px; padding: 0 0 18px; list-style: none; border-bottom: 1px solid var(--line); }
.est-breakdown li { display: flex; justify-content: space-between; gap: 14px; font-size: 14px; color: var(--text-2); }
.est-breakdown li span:last-child { color: var(--text); font-variant-numeric: lining-nums; white-space: nowrap; }
.est-breakdown .est-incl { color: var(--ok); font-size: 12.5px; }
.est-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.est-total span { font-size: 13px; color: var(--text-3); }
.est-total strong { font-family: var(--serif); font-size: clamp(30px, 4vw, 40px); font-weight: 600; font-variant-numeric: lining-nums; }
.est-add { width: 100%; justify-content: center; }
.est-add[disabled] { opacity: 0.5; cursor: not-allowed; box-shadow: none; transform: none; }
.est-added { margin-top: 12px; display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ok); }
.est-added a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }
.est-added-ic { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(126, 224, 176, 0.16); }
.est-added-ic svg { width: 12px; height: 12px; }
.est-keep { display: block; text-align: center; margin-top: 14px; font-size: 13.5px; color: var(--text-3); }
.est-keep:hover { color: var(--accent-2); }

/* ---------- Opiniones ---------- */
.opinions { display: grid; grid-template-columns: 1fr; gap: clamp(18px, 2.4vw, 28px); }
@media (min-width: 680px) { .opinions { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .opinions { grid-template-columns: repeat(3, 1fr); } }

.opinion {
  margin: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(170deg, var(--surface), var(--bg-2));
  transition: transform 0.5s var(--ease), box-shadow 0.5s, border-color 0.4s;
}
@media (hover: hover) {
  .opinion:hover {
    transform: translateY(-5px);
    border-color: var(--accent-line);
    box-shadow: 0 34px 70px -40px rgba(0, 0, 0, 0.9), 0 0 70px -26px rgba(232, 194, 76, 0.5);
  }
}
.opinion-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface-2); }
.opinion-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.6s var(--ease); }
@media (hover: hover) { .opinion:hover .opinion-media img { transform: scale(1.05); } }
.opinion-media::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(8, 10, 18, 0.55));
  pointer-events: none;
}
.opinion-body { padding: clamp(18px, 2.4vw, 24px); display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.stars { display: inline-flex; color: #f1c976; font-size: 15px; letter-spacing: 3px; line-height: 1; }
.opinion-text { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(17px, 1.6vw, 19px); line-height: 1.4; color: var(--text); }
.opinion-author { margin-top: 2px; font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-2); }

/* ---------- Contacto ---------- */
.contact-card {
  display: grid;
  gap: clamp(28px, 5vw, 48px);
}
@media (min-width: 900px) { .contact-card { grid-template-columns: 1fr 0.9fr; align-items: center; gap: clamp(40px, 6vw, 80px); } }
.contact-list { display: grid; }
.contact-list li { border-bottom: 1px solid var(--line); }
.contact-list li:first-child { border-top: 1px solid var(--line); }
.contact-list a {
  display: grid;
  grid-template-columns: 26px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 20px 2px;
  transition: color 0.3s;
}
.c-ic { color: var(--accent-2); display: grid; place-items: center; }
.c-ic svg { width: 22px; height: 22px; }
.c-text small { display: block; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3); margin-bottom: 3px; }
.c-text b { display: block; font-family: var(--serif); font-size: 21px; font-weight: 600; line-height: 1.2; overflow-wrap: anywhere; transition: color 0.3s; }
.contact-list a:hover .c-text b { color: var(--accent-2); }
.c-arrow { width: 18px; height: 18px; color: var(--text-3); transition: transform 0.35s var(--ease), color 0.3s; }
.contact-list a:hover .c-arrow { transform: translateX(4px); color: var(--accent-2); }

/* ---------- Pie ---------- */
.site-footer { padding: 56px 0 40px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 14px; }
.footer-brand { display: grid; justify-items: center; gap: 28px; padding-bottom: 40px; text-align: center; }
.footer-logo { position: relative; isolation: isolate; display: block; width: min(360px, 76vw); }
.footer-logo::before {
  content: '';
  position: absolute;
  inset: -18% -12%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(232, 194, 76, 0.22), transparent 75%);
}
.footer-logo img { width: 100%; height: auto; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; }
.footer-nav a:hover { color: var(--text); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 22px; border-top: 1px solid var(--line); }

/* ---------- Cesta ---------- */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(4, 6, 9, 0.62);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.4s;
}
.overlay.show { opacity: 1; }

.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 90;
  width: min(100%, 470px);
  display: flex;
  flex-direction: column;
  background: var(--bg-2);
  border-left: 1px solid var(--line-2);
  box-shadow: -40px 0 80px -40px rgba(0, 0, 0, 0.9);
  transform: translateX(104%);
  visibility: hidden;
  transition: transform 0.6s var(--ease), visibility 0s linear 0.6s;
}
.drawer.open { transform: none; visibility: visible; transition: transform 0.6s var(--ease), visibility 0s; }
@media (max-width: 640px) {
  .drawer {
    top: auto;
    left: 0;
    width: 100%;
    height: 92svh;
    border-left: 0;
    border-top: 1px solid var(--line-2);
    border-radius: 24px 24px 0 0;
    transform: translateY(104%);
  }
  .drawer::before {
    content: '';
    position: absolute;
    top: 8px; left: 50%;
    width: 40px; height: 4px;
    margin-left: -20px;
    border-radius: 4px;
    background: var(--line-2);
  }
}

.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px 18px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin-top: 4px; font-family: var(--serif); font-size: 32px; font-weight: 500; line-height: 1; }
.drawer-head h2 span { color: var(--text-3); font-size: 24px; }
.drawer-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 20px 24px; }

.guests { padding: 18px; margin-bottom: 8px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.guests-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.guests-label { font-family: var(--serif); font-size: 23px; font-weight: 600; }
.guests-hint { font-size: 12.5px; color: var(--text-3); line-height: 1.4; }
.presets { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.preset {
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-2);
  font-variant-numeric: tabular-nums;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.preset:hover { border-color: var(--accent-line); color: var(--text); }
.preset[aria-pressed='true'] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

.stepper { display: inline-flex; align-items: center; height: 40px; border: 1px solid var(--line-2); border-radius: 999px; }
.stepper button { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: var(--text-2); transition: color 0.2s, background 0.2s; }
.stepper button svg { width: 16px; height: 16px; }
.stepper button:not(:disabled):hover { color: var(--accent-2); background: rgba(232, 194, 76, 0.08); }
.stepper input {
  width: 52px;
  height: 100%;
  border: 0;
  background: none;
  text-align: center;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
  appearance: textfield;
}
.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus { outline: none; }
.stepper:focus-within { border-color: var(--accent-line); }
.stepper-lg { height: 46px; }
.stepper-lg button { width: 44px; height: 44px; }
.stepper-lg input { width: 60px; font-size: 18px; }

.line { display: grid; grid-template-columns: 56px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); overflow: hidden; }
.line.enter { animation: lineIn 0.6s var(--ease); }
@keyframes lineIn { from { opacity: 0; transform: translateY(12px); } }
.line-visual { width: 56px; height: 66px; display: grid; place-items: center; overflow: hidden; border-radius: 14px; background: var(--surface); }
.line-visual img, .fly-in img { width: 100%; height: 100%; object-fit: cover; }
.line-visual .glass { width: 34px; color: var(--glass-stroke); }
.line-visual .trio { width: 48px; }
.line-top { display: flex; justify-content: space-between; gap: 12px; }
.line-name { font-family: var(--serif); font-size: 20px; font-weight: 600; line-height: 1.15; }
.line-meta { margin-top: 2px; font-size: 12.5px; color: var(--text-3); }
.line-total { font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.line-total.flash { animation: flash 0.7s var(--ease); }
@keyframes flash { 30% { color: var(--accent-2); transform: translateY(-2px); } }
.line-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 12px; }
.line-unit { font-size: 13px; color: var(--text-3); }
.line-remove { margin-left: auto; font-size: 12.5px; color: var(--text-3); text-decoration: underline; text-underline-offset: 3px; transition: color 0.2s; }
.line-remove:hover { color: var(--danger); }
.line-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.line-actions .line-remove { margin-left: 0; }
.line-edit { font: inherit; font-size: 12.5px; color: var(--accent-2); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; transition: color 0.2s; }
.line-edit:hover { color: var(--text); }
.line-sync { margin-top: 8px; font-size: 12.5px; color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }

.cart-empty { padding: 40px 12px 24px; text-align: center; color: var(--text-2); font-weight: 300; }
.cart-empty-art { display: flex; justify-content: center; margin-bottom: 18px; }
.cart-empty-art .glass { width: 74px; color: var(--glass-stroke); opacity: 0.85; }
.cart-empty-title { margin-bottom: 6px; font-family: var(--serif); font-size: 26px; font-weight: 500; color: var(--text); }
.cart-empty .btn { margin-top: 20px; }

.drawer-foot { padding: 18px 24px calc(22px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--bg-2); }
.total-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.total-label { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-3); }
.total-value { font-family: var(--serif); font-size: 42px; font-weight: 600; line-height: 1.1; }
.total-note { margin: 2px 0 16px; font-size: 12.5px; color: var(--text-3); }
.foot-links { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; }
.text-btn.confirm { color: var(--danger); text-decoration-color: var(--danger); animation: nudge 0.4s var(--ease); }
@keyframes nudge { 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }

/* ---------- Presupuesto ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.35s;
}
.modal.show { opacity: 1; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(4, 6, 9, 0.8); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal-panel {
  position: relative;
  width: min(100%, 1060px);
  max-height: calc(100svh - 48px);
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--line-2);
  border-radius: 26px;
  background: var(--bg-2);
  box-shadow: 0 60px 140px -40px rgba(0, 0, 0, 0.95);
  transform: translateY(28px) scale(0.985);
  transition: transform 0.6s var(--ease);
}
.modal.show .modal-panel { transform: none; }
@media (max-width: 640px) {
  .modal { padding: 0; }
  .modal-panel { max-height: 100svh; height: 100svh; border-radius: 0; border: 0; }
}

.modal-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 7, 7, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.q-steps { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--text-3); }
.q-steps li { display: inline-flex; align-items: center; gap: 8px; transition: color 0.3s; }
.q-steps li + li::before { content: ''; width: 28px; height: 1px; margin-right: 2px; background: var(--line-2); }
.q-steps span { width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; font-size: 12px; transition: background 0.3s, color 0.3s, border-color 0.3s; }
.q-steps li.active { color: var(--text); }
.q-steps li.active span, .q-steps li.done span { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

.q-step { padding: clamp(24px, 4vw, 44px); animation: stepIn 0.6s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateY(14px); } }
.q-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .q-grid { grid-template-columns: 1.45fr 0.75fr; gap: 44px; align-items: start; } }
.q-title { font-family: var(--serif); font-size: clamp(32px, 3.6vw, 44px); font-weight: 500; line-height: 1.05; }
.q-title:focus { outline: none; }
.q-sub { margin-top: 8px; color: var(--text-2); font-weight: 300; }

.type-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; border: 0; }
.type-chips legend { width: 100%; margin-bottom: 10px; padding: 0; font-size: 13px; letter-spacing: 0.06em; color: var(--text-2); }
.type-chips label { position: relative; cursor: pointer; }
.type-chips input { position: absolute; opacity: 0; pointer-events: none; }
.type-chips span {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 14px;
  color: var(--text-2);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.type-chips label:hover span { border-color: var(--accent-line); color: var(--text); }
.type-chips input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.type-chips input:focus-visible + span { outline: 2px solid var(--accent-2); outline-offset: 3px; }

.fields { display: grid; gap: 14px 16px; margin-top: 22px; }
@media (min-width: 640px) { .fields { grid-template-columns: 1fr 1fr; } .field-full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; letter-spacing: 0.04em; color: var(--text-2); }
.field label small { color: var(--text-3); }
.input {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: var(--surface);
  transition: border-color 0.2s, box-shadow 0.2s;
}
textarea.input { height: auto; min-height: 96px; padding: 14px 16px; resize: vertical; }
.input::placeholder { color: var(--text-3); }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(232, 194, 76, 0.14); }
.input::-webkit-calendar-picker-indicator { filter: invert(0.8) sepia(0.4) saturate(2) hue-rotate(5deg); cursor: pointer; }
.field-error { min-height: 0; font-size: 12.5px; color: var(--danger); }
.field.invalid .input { border-color: var(--danger); }
.field.invalid .input:focus { box-shadow: 0 0 0 4px rgba(255, 143, 143, 0.16); }
.shake { animation: shake 0.42s var(--ease); }
@keyframes shake { 20% { transform: translateX(-6px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }
.privacy-note { margin-top: 18px; font-size: 12.5px; color: var(--text-3); }
.q-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 22px; }

.q-summary { padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
@media (min-width: 900px) { .q-summary { position: sticky; top: 92px; } }
.q-summary-list { margin-top: 12px; }
.q-summary-list li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.q-summary-list b { display: block; font-family: var(--serif); font-size: 18px; font-weight: 600; line-height: 1.2; }
.q-summary-list small { color: var(--text-3); }
.q-summary-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-top: 16px; }
.q-summary-total span { font-size: 13px; color: var(--text-2); }
.q-summary-total small { display: block; font-size: 11.5px; color: var(--text-3); }
.q-summary-total strong { font-family: var(--serif); font-size: 34px; font-weight: 600; font-variant-numeric: lining-nums; }

.q-toolbar { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.q-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.q-buttons .btn { min-height: 46px; padding: 0 20px; font-size: 14px; }
@media (max-width: 640px) { .q-buttons .btn { flex: 1 1 100%; } .q-buttons .text-btn { margin: 4px auto 0; } }

/* Documento del presupuesto (también es la versión impresa) */
.quote-doc {
  position: relative;
  padding: clamp(24px, 5vw, 56px);
  border-radius: 18px;
  background: var(--paper);
  color: var(--ink);
  font-size: 14.5px;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9);
  animation: docIn 0.8s var(--ease);
}
@keyframes docIn { from { opacity: 0; transform: translateY(24px) scale(0.985); } }
.doc-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; padding-bottom: 24px; border-bottom: 1.5px solid #d4b24e; }
.doc-logo { display: inline-block; padding: 10px 14px; border-radius: 12px; background: #0f0f0f; line-height: 0; }
.doc-logo img { width: auto; height: 58px; }
.doc-tag { margin-top: 6px; font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ink-2); }
.doc-meta { text-align: right; font-size: 13px; color: var(--ink-2); }
@media (max-width: 560px) { .doc-meta { text-align: left; } }
.doc-kicker { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: #9a7a16; }
.doc-ref { margin: 4px 0 6px; font-family: var(--serif); font-size: 24px; font-weight: 600; color: var(--ink); font-variant-numeric: lining-nums; }
.doc-parties { display: grid; gap: 20px; padding: 24px 0; }
@media (min-width: 560px) { .doc-parties { grid-template-columns: 1fr 1fr; } }
.doc-parties h3, .doc-notes h3 { margin-bottom: 6px; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: #9a7a16; font-weight: 500; }
.doc-parties p { line-height: 1.55; overflow-wrap: anywhere; }
.doc-table { width: 100%; border-collapse: collapse; }
.doc-table th { padding: 10px 8px; border-bottom: 1px solid rgba(20, 26, 43, 0.25); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); text-align: right; }
.doc-table th:first-child, .doc-table td:first-child { text-align: left; padding-left: 0; }
.doc-table th:last-child, .doc-table td:last-child { padding-right: 0; }
.doc-table td { padding: 14px 8px; border-bottom: 1px solid rgba(20, 26, 43, 0.1); text-align: right; vertical-align: top; font-variant-numeric: tabular-nums; white-space: nowrap; }
.doc-table td:first-child { white-space: normal; }
.doc-table td b { display: block; font-family: var(--serif); font-size: 19px; font-weight: 600; line-height: 1.2; }
.doc-table td span { display: block; font-size: 12.5px; color: var(--ink-2); }
.doc-table .only-sm { display: none; font-style: normal; }
@media (max-width: 560px) {
  .doc-table .col-price { display: none; }
  .doc-table .only-sm { display: inline; }
}
.doc-total { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0 6px; }
.doc-total-num { text-align: right; }
.doc-total-num span { display: block; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-2); }
.doc-total-num strong { font-family: var(--serif); font-size: clamp(38px, 5vw, 50px); font-weight: 600; line-height: 1; font-variant-numeric: lining-nums; }
.doc-seal { width: 92px; height: 92px; flex: none; color: #9a7a16; transform: rotate(-12deg); animation: stamp 0.7s var(--spring) 0.45s backwards; }
.doc-seal text { fill: currentColor; font-family: var(--sans); font-size: 9px; font-weight: 500; letter-spacing: 0.16em; }
@keyframes stamp { from { opacity: 0; transform: rotate(-30deg) scale(1.6); } }
.doc-notes { margin-top: 18px; padding: 16px 18px; border-radius: 12px; background: rgba(61, 99, 214, 0.1); }
.doc-notes p { white-space: pre-line; }
.doc-foot { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(20, 26, 43, 0.15); font-size: 12px; color: var(--ink-2); display: grid; gap: 6px; }

/* ---------- Toast, barra de cesta móvil y vuelo a la cesta ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 120;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: calc(100% - 32px);
  padding: 12px 14px 12px 20px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-size: 14px;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.8);
  transform: translate(-50%, 160%);
  transition: transform 0.55s var(--spring), bottom 0.4s var(--ease);
}
.toast:empty { visibility: hidden; }
.toast.show { transform: translate(-50%, 0); }
.toast span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.toast button { flex: none; padding: 6px 12px; border-radius: 999px; background: var(--bg); color: var(--text); font-weight: 500; font-size: 13px; }

.cartbar {
  position: fixed;
  left: 12px; right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 62px;
  padding: 8px 8px 8px 20px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(22, 22, 22, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.9);
  font-size: 14px;
  transform: translateY(160%);
  transition: transform 0.6s var(--spring);
}
.cartbar.show { transform: none; }
.has-cartbar .toast { bottom: 92px; }
@media (min-width: 1040px) {
  .cartbar { display: none; }
  .has-cartbar .toast { bottom: 24px; }
}

.fly { position: fixed; z-index: 130; width: 46px; height: 46px; pointer-events: none; }
.fly-in {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--accent);
  box-shadow: 0 10px 30px -8px rgba(232, 194, 76, 0.6);
}
.fly-in .glass { width: 26px; color: var(--glass-stroke); }

/* ---------- Aparición al hacer scroll ---------- */
.js .reveal:not(.in) { opacity: 0; }
.js .reveal.in { animation: rise 0.9s var(--ease) backwards; animation-delay: calc(var(--ri, 0) * 80ms); }
.js .hero .reveal.in { animation-delay: calc(450ms + var(--ri, 0) * 120ms); }
.classic.pop { animation: rise 0.55s var(--ease) backwards; animation-delay: calc(var(--ri, 0) * 25ms); }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .fx-blur .fx-u, .fx-pull .fx-in, .rot-ch { opacity: 1; filter: none; transform: none; }
}

/* ---------- Impresión: solo el presupuesto ---------- */
@media print {
  @page { margin: 14mm; }
  html, body { background: #fff !important; }
  body { overflow: visible !important; }
  body::after { display: none; }
  body > :not(#quote) { display: none !important; }
  #quote { position: static; display: block; padding: 0; opacity: 1; }
  #quote .modal-backdrop, #quote .modal-head, #qStep1, .q-toolbar { display: none !important; }
  .modal-panel { position: static; width: auto; max-height: none; height: auto; overflow: visible; border: 0; border-radius: 0; background: none; box-shadow: none; transform: none; }
  .q-step { padding: 0; animation: none; }
  .quote-doc { padding: 0; border-radius: 0; box-shadow: none; background: #fff; animation: none; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .doc-seal { animation: none; }
  .doc-table tr { break-inside: avoid; }
}

/* ===================== Scroll de cine ===================== */
.cine { position: relative; background: #000; }
.cine-pin-wrap { height: 460vh; }
.cine-pin { position: sticky; top: 0; height: 100vh; min-height: 560px; overflow: hidden; background: radial-gradient(130% 90% at 50% 38%, #141008 0%, #060504 55%, #000 100%); }

/* La copa, grande y centrada */
.cine-stage { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.cine-glow { position: absolute; left: 50%; top: 45%; width: min(1100px, 125vw); height: 82vh; transform: translate(-50%, -50%); background: radial-gradient(ellipse at center, rgba(232, 194, 76, .18), rgba(150, 96, 28, .07) 42%, transparent 70%); filter: blur(12px); pointer-events: none; }
.cine-seq { position: relative; height: min(80vh, 760px); max-width: none; width: auto; aspect-ratio: 474 / 667; margin: 0; overflow: visible; }
.cine-seq .glassimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; z-index: 2; }
.cine-reflect { position: absolute; left: 50%; bottom: 8%; width: 40%; height: 8%; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(232, 194, 76, calc(.07 + var(--fill, 0) * .2)), transparent 72%); filter: blur(8px); pointer-events: none; }

/* Velo para la legibilidad del texto */
.cine-veil { position: absolute; inset: 0; pointer-events: none; z-index: 3; background:
  linear-gradient(to top, rgba(0,0,0,.94) 0%, rgba(0,0,0,.62) 24%, rgba(0,0,0,0) 50%),
  linear-gradient(to bottom, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 20%); }

/* Escenas */
.cine-scenes { position: absolute; left: 0; right: 0; bottom: clamp(70px, 15vh, 170px); z-index: 4; pointer-events: none; }
.cine-scene { position: absolute; left: clamp(22px, 7vw, 120px); right: clamp(22px, 7vw, 120px); bottom: 0; }
.js .cine-scene { opacity: 0; }
.cine-scene[data-scene="3"] { pointer-events: auto; }
.cine-eyebrow { display: inline-block; font-size: clamp(11px, 1.05vw, 13px); font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
/* Escenas 01-03: etiqueta sin número, centrada sobre el título y un poco más grande */
.cine-scene:not([data-scene="0"]) .cine-eyebrow { display: block; max-width: 17ch; text-align: center; font-size: clamp(14px, 1.7vw, 19px); letter-spacing: .26em; margin-bottom: 14px; }
.cine-title { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 6.4vw, 86px); line-height: 1.03; letter-spacing: -.012em; color: #fff; margin: 0; max-width: 17ch; text-wrap: balance; }
.cine-title em { font-style: italic; color: var(--accent-2); }
.cine-sub { margin: 18px 0 0; max-width: 40ch; color: rgba(255, 255, 255, .82); font-weight: 300; font-size: clamp(15px, 1.6vw, 21px); line-height: 1.5; }
.cine-hint { display: inline-flex; align-items: center; gap: 12px; margin-top: 30px; font-size: 12px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.cine-hint::before { content: ""; width: 1px; height: 30px; background: linear-gradient(to bottom, var(--accent), transparent); animation: cineHint 1.9s ease-in-out infinite; }
.cine-cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; padding: 13px 26px; border: 1px solid rgba(232, 194, 76, .55); border-radius: 100px; color: var(--accent-2); font-weight: 500; letter-spacing: .01em; transition: background .25s ease, border-color .25s ease; }
.cine-cta:hover { background: rgba(232, 194, 76, .12); border-color: var(--accent-2); }
.cine-cta svg { width: 18px; height: 18px; }

/* Indicador de progreso */
.cine-progress { position: absolute; right: clamp(22px, 6vw, 90px); bottom: clamp(26px, 5vh, 56px); z-index: 4; display: flex; align-items: center; gap: 14px; font-size: 12px; letter-spacing: .18em; color: rgba(255, 255, 255, .55); font-variant-numeric: tabular-nums; }
.cine-idx { color: var(--accent); }
.cine-track { position: relative; width: clamp(68px, 10vw, 130px); height: 1px; background: rgba(255, 255, 255, .22); }
.cine-fill-bar { position: absolute; left: 0; top: 0; height: 100%; width: calc(var(--cine-p, 0) * 100%); background: var(--accent); }

@keyframes cineHint { 0%, 100% { opacity: .35; transform: translateY(0); } 50% { opacity: 1; transform: translateY(5px); } }

@media (max-width: 680px) {
  .cine-seq { height: min(58vh, 540px); }
  .cine-title { font-size: clamp(30px, 9vw, 46px); }
}

@media (prefers-reduced-motion: reduce) {
  .cine-pin-wrap { height: auto; }
  .cine-pin { position: relative; height: 100vh; }
  .cine-hint::before { animation: none; }
}

/* ============ Carta → Servicios: scroll en L ============ */
/* Base (sin JS / móvil): las dos secciones se ven apiladas y normales */
.lcine { position: relative; }
.lcine-track { position: relative; }
.lcine-lane { display: block; }

/* Panel 2 · Suma servicios (apilado por defecto) */
.lcine-svc { background: #000; }
.lcine-svc-inner { max-width: min(560px, 100%); }
.lcine-svc .eyebrow { color: var(--accent); }
.lcine-svc .h2 { margin: 12px 0 0; }
.lcine-svc .section-sub { margin: 16px 0 26px; max-width: 46ch; }
.lcine-svc .svc { margin: 0; width: 100%; }

/* Con JS en pantallas anchas: se fija y la cinta se desplaza a la DERECHA */
.lcine.is-hscroll .lcine-sticky { position: sticky; top: 0; height: 100vh; min-height: 620px; overflow: hidden; }
.lcine.is-hscroll .lcine-lane { display: flex; flex-direction: row; align-items: stretch; height: 100%; width: max-content; will-change: transform; }
.lcine.is-hscroll .lcine-panel { flex: 0 0 100vw; height: 100%; margin: 0; overflow: hidden; }

/* Carta compactada para caber en una pantalla dentro del track */
.lcine.is-hscroll #carta { display: flex; align-items: flex-start; padding: clamp(84px, 12vh, 116px) 0 18px; }
.lcine.is-hscroll #carta > .container { width: 100%; }
.lcine.is-hscroll #carta .section-head { display: none; }
.lcine.is-hscroll #carta .menu-shell { margin-top: 0; }

/* Servicios centrado dentro del panel */
.lcine.is-hscroll .lcine-svc { display: flex; align-items: center; justify-content: center; padding: clamp(60px, 10vh, 120px) clamp(28px, 9vw, 140px); }
.lcine.is-hscroll .lcine-svc-inner { width: min(560px, 100%); }

/* Pista de "desliza a la derecha" sobre la carta */
.lcine-hint { display: none; }
.lcine.is-hscroll .lcine-hint { display: inline-flex; align-items: center; gap: 10px; position: absolute; right: clamp(22px, 6vw, 90px); bottom: clamp(26px, 5vh, 54px); z-index: 5; font-size: 12px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: rgba(255, 255, 255, .62); pointer-events: none; }
.lcine-hint svg { width: 22px; height: 22px; color: var(--accent); animation: svcNudge 1.8s ease-in-out infinite; }
@keyframes svcNudge { 0%, 100% { transform: translateX(0); opacity: .55; } 50% { transform: translateX(8px); opacity: 1; } }

