/* ==========================================================================
   Trenify — "Viaje en tren" (solo para la portada, index.html)
   El visitante avanza vagón a vagón con el scroll. Usa las variables de
   marca de style.css (--brand-1/-2, --brand, --night...) + tokens propios
   para el modo oscuro/claro alterno de los vagones. Doors/ventanillas/
   parallax se controlan con --enter y --c, escritos por assets/js/viaje.js
   en cada <section data-vagon>. Sin JS (o con reduced-motion) los fallbacks
   de las custom properties dejan todo abierto y sin desplazar.
   ========================================================================== */

:root {
  --vj-mono: var(--font-plex, "IBM Plex Mono", ui-monospace, monospace);
  --vj-lilac: #a98bff;
  --vj-pink: #ff7ad0;
  --vj-mint: #8dffc0;
  --sway: vjSway 7s ease-in-out infinite;
  --vel: 1;
}

body.viaje { margin: 0; background: #0c061a; }
body.viaje main { display: block; }

@keyframes vjPanPhoto { from { transform: translateX(0); } to { transform: translateX(-42%); } }
@keyframes vjPanNear  { from { transform: translateX(0); } to { transform: translateX(-180px); } }
@keyframes vjSway     { 0%, 100% { transform: translate3d(0,0,0) rotate(-.16deg); } 50% { transform: translate3d(1.5px,-2px,0) rotate(.16deg); } }
@keyframes vjBlink    { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes vjFlipIn   { from { transform: rotateX(-88deg); opacity: .2; } to { transform: rotateX(0); opacity: 1; } }
@keyframes vjFloaty   { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (prefers-reduced-motion: reduce) {
  .vagon-inner, .vj-window-hills, .vj-window-poles, .vj-floaty, .vj-eyebrow .dot,
  .vj-panel-live-tag .dot, .vj-monitor-bar .live .dot, .vj-play-btn::before { animation: none !important; }
}

/* -------------------------------------------------------------------------
   Header flotante — distinto del .nav claro del resto del sitio
   ------------------------------------------------------------------------- */
.vj-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px clamp(14px, 3vw, 34px);
  background: linear-gradient(#14092b, rgba(20,9,43,.82) 70%, rgba(20,9,43,0));
  backdrop-filter: blur(6px);
}
.vj-header .brand { display: flex; align-items: center; gap: 10px; }
.vj-header .brand img { height: 34px; width: auto; display: block; filter: drop-shadow(0 4px 10px rgba(0,0,0,.35)); }
.vj-header .nav-links { display: flex; align-items: center; gap: clamp(10px, 2vw, 26px); }
.vj-header .nav-links a:not(.vj-cta-pill) { color: #EFE4F5; font-size: 13.5px; font-weight: 500; letter-spacing: .01em; transition: color .15s; }
.vj-header .nav-links a:not(.vj-cta-pill):hover,
.vj-header .nav-links a:not(.vj-cta-pill).active { color: #fff; }
.vj-cta-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px;
  background: var(--brand); color: #fff !important;
  font-size: 14px; font-weight: 700;
  box-shadow: 0 10px 26px -12px rgba(196,30,140,.9);
  transition: filter .15s;
}
.vj-cta-pill:hover { filter: brightness(1.08); }
.vj-header .nav-toggle { display: none; }

@media (max-width: 760px) {
  .vj-header .nav-links {
    position: fixed; inset: 0; z-index: -1;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
    background: rgba(12,6,26,.98);
    opacity: 0; pointer-events: none;
    transition: opacity .2s ease;
  }
  .vj-header .nav-links.open { z-index: 46; opacity: 1; pointer-events: auto; }
  .vj-header .nav-links a:not(.vj-cta-pill) { font-size: 22px; }
  .vj-header .nav-toggle {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 12px;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: #fff;
    flex-shrink: 0;
  }
  .vj-header .nav-toggle svg { width: 19px; height: 19px; }
}

/* -------------------------------------------------------------------------
   Vagón — bloque base
   ------------------------------------------------------------------------- */
.vagon {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  padding: clamp(96px, 13vh, 150px) clamp(16px, 4vw, 48px);
}
.vagon--claro-a { background: linear-gradient(#FBF6EF, #f4ead9); }
.vagon--claro-b { background: linear-gradient(#f2e6d3, #FBF6EF); }
.vagon--oscuro-a { background: radial-gradient(110% 80% at 50% 0%, #2a1550, #150a2c 70%); }
.vagon--oscuro-b { background: linear-gradient(#0f0722, #1a0e35); }
.vagon--embarque { background: radial-gradient(120% 90% at 50% 0%, #2a1550 0%, #180c33 55%, #12081f 100%); align-items: center; }
.vagon--llegada { background: radial-gradient(120% 90% at 50% 30%, #3a1c6b, #160b2d 62%, #0d0620); flex-direction: column; justify-content: center; padding-bottom: clamp(60px, 9vh, 100px); }

.vagon-inner { position: relative; z-index: 3; width: 100%; max-width: 1120px; margin: 0 auto; animation: var(--sway); }
.vagon-inner--wide { max-width: 1180px; }
.vagon-inner--narrow { max-width: 900px; }
.vagon-inner--tight { max-width: 1060px; }

.vj-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px; border-radius: 999px;
  font-family: var(--vj-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  background: rgba(255,255,255,.09); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); color: #F6ECF7;
}
.vj-eyebrow--amber { background: rgba(201,122,43,.14); color: #C97A2B; box-shadow: none; }
.vj-eyebrow--violet { background: rgba(75,46,156,.1); color: #4B2E9C; box-shadow: none; }
.vj-eyebrow--magenta { background: rgba(196,30,140,.1); color: #C41E8C; box-shadow: none; }
.vj-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #2E8B57; box-shadow: 0 0 0 4px rgba(46,139,87,.25); animation: vjBlink 2.4s ease-in-out infinite; }

.vj-h1 {
  margin: 22px 0 0; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(38px, 5.6vw, 74px); line-height: 1.02; letter-spacing: -.02em;
  color: #FBF6EF; text-wrap: pretty;
}
.vj-h1 em {
  font-style: italic; font-family: var(--font-display);
  background: linear-gradient(120deg, var(--vj-lilac), var(--vj-pink));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.vj-h2 {
  margin: 18px 0 0; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(32px, 4.4vw, 58px); line-height: 1.04; letter-spacing: -.02em; color: #FBF6EF;
}
.vj-h2--ink { color: #2a1b4e; }
.vj-lead {
  margin: 22px 0 0; max-width: 44ch; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.6;
  color: rgba(251,246,239,.8); text-wrap: pretty;
}
.vj-lead--ink { color: #524766; }
.vj-mono-note { margin: 20px 0 0; font-family: var(--vj-mono); font-size: 12px; letter-spacing: .06em; color: rgba(251,246,239,.5); }

.vj-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 26px; border-radius: 999px;
  background: var(--brand); color: #fff; font-size: 16px; font-weight: 700;
  box-shadow: 0 20px 44px -18px rgba(196,30,140,.95);
  transition: filter .15s ease, transform .15s ease;
}
.vj-btn:hover { filter: brightness(1.09); transform: translateY(-1px); }
.vj-btn--ghost {
  background: transparent; color: #FBF6EF; box-shadow: inset 0 0 0 1.5px rgba(251,246,239,.32);
}
.vj-btn--ghost:hover { box-shadow: inset 0 0 0 1.5px rgba(251,246,239,.7); filter: none; }
.vj-btn--sm { padding: 15px 24px; font-size: 15.5px; box-shadow: 0 18px 40px -18px rgba(196,30,140,.9); }
.vj-btn--cream { background: #FBF6EF; color: #4B2E9C; box-shadow: none; }
.vj-btn--cream:hover { background: #fff; filter: none; }
.vj-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* -------------------------------------------------------------------------
   Puertas correderas entre vagones
   ------------------------------------------------------------------------- */
.vagon-doors { position: absolute; inset: 0; z-index: 8; display: flex; pointer-events: none; }
.vagon-door {
  flex: 1; display: flex; align-items: center;
  padding: 0 clamp(10px, 3vw, 40px);
  will-change: transform;
}
.vagon-door--l { justify-content: flex-end; background: linear-gradient(120deg, #4B2E9C, #8b2a97); transform: translateX(calc(var(--enter, 1) * -101%)); }
.vagon-door--r { justify-content: flex-start; gap: 26px; background: linear-gradient(120deg, #a52294, #C41E8C); transform: translateX(calc(var(--enter, 1) * 101%)); }
.vagon-door-glass { width: clamp(50px, 9vw, 130px); height: min(46vh, 360px); background: rgba(255,255,255,.13); box-shadow: inset 0 0 0 5px rgba(255,255,255,.24); }
.vagon-door--l .vagon-door-glass { border-radius: 16px 0 0 16px; }
.vagon-door--r .vagon-door-glass { border-radius: 0 16px 16px 0; }
.vagon-door-label { font-family: var(--vj-mono); font-size: 11px; letter-spacing: .24em; color: rgba(255,255,255,.7); text-transform: uppercase; }

/* -------------------------------------------------------------------------
   Ventanillas — paisaje animado hecho con CSS/SVG (sin fotos de stock)
   ------------------------------------------------------------------------- */
.vj-windows {
  position: absolute; inset: 0; display: flex; justify-content: space-between; align-items: center;
  pointer-events: none;
}
.vj-window {
  position: relative;
  width: max(0px, min(320px, calc((100vw - 1180px) * 20)));
  height: min(62vh, 460px);
  border-radius: 20px; overflow: hidden; background: #0d0620;
  box-shadow: inset 0 0 0 9px #EFE4D6, inset 0 0 0 12px #cbb9a2, 0 40px 70px -34px rgba(0,0,0,.8);
}
.vj-window--l { margin-left: clamp(0px, 2vw, 28px); }
.vj-window--r { margin-right: clamp(0px, 2vw, 28px); }
.vj-window-scene {
  position: absolute; inset: 0; overflow: hidden;
  background: linear-gradient(180deg, #1b0d38 0%, #3a2170 45%, #7a3f9e 75%, #c15a96 100%);
}
.vj-window-sun {
  position: absolute; left: 22%; top: 20%; width: 15%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, #ffe3b0, #ffb46b 60%, transparent 72%);
}
.vj-window--r .vj-window-sun { left: auto; right: 22%; }
.vj-window-hills {
  position: absolute; left: 0; right: -240px; bottom: 0;
  background-repeat: repeat-x; background-position: bottom left;
  animation: vjHillsPan linear infinite;
}
@keyframes vjHillsPan { from { background-position-x: 0; } to { background-position-x: -220px; } }
.vj-window-hills--far {
  height: 46%; opacity: .85; background-size: 220px 220px;
  background-image: radial-gradient(circle at 50% 122%, rgba(21,10,44,.55) 62%, transparent 63%);
  animation-duration: calc(30s / var(--vel, 1));
}
.vj-window-hills--near {
  height: 30%; background-size: 150px 150px;
  background-image: radial-gradient(circle at 50% 132%, #0d0620 66%, transparent 67%);
  animation-duration: calc(16s / var(--vel, 1));
}
.vj-window-poles {
  position: absolute; left: 0; right: -180px; top: 0; bottom: 0;
  background: linear-gradient(90deg, rgba(19,9,36,.45) 0 7px, transparent 7px);
  background-size: 180px 100%;
  animation: vjPanNear 2.4s linear infinite; animation-duration: calc(2.4s / var(--vel, 1));
}
.vj-window-glass { position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,.28) 0%, transparent 38%, transparent 70%, rgba(255,255,255,.12) 100%); }
.vj-window--r .vj-window-glass { background: linear-gradient(245deg, rgba(255,255,255,.28) 0%, transparent 38%, transparent 70%, rgba(255,255,255,.12) 100%); }
.vj-window-fade-top { position: absolute; top: 0; left: 0; right: 0; height: 22vh; background: linear-gradient(#1b0f39, rgba(27,15,57,0)); pointer-events: none; }
.vj-window-fade-bottom { position: absolute; bottom: 0; left: 0; right: 0; height: 26vh; background: linear-gradient(rgba(12,6,26,0), #0c061a); pointer-events: none; }

.vj-strip {
  position: absolute; left: clamp(16px, 4vw, 48px); right: clamp(16px, 4vw, 48px);
  top: clamp(74px, 11vh, 110px); height: clamp(70px, 14vh, 150px);
  border-radius: 14px; overflow: hidden; opacity: .72;
  box-shadow: inset 0 0 0 7px #EFE4D6, inset 0 0 0 10px #b7a48c;
}
.vj-strip .vj-window-hills--far { animation-duration: calc(46s / var(--vel, 1)); }
.vj-strip .vj-window-hills--near { animation-duration: calc(24s / var(--vel, 1)); }
.vj-strip-scrim { position: absolute; inset: 0; background: linear-gradient(rgba(21,10,44,.15), rgba(21,10,44,.75)); }

@media (max-width: 720px) { .vj-strip { display: none; } }

/* -------------------------------------------------------------------------
   01 · Embarque — hero + panel de alertas
   ------------------------------------------------------------------------- */
.vagon--embarque .vagon-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(28px, 4vw, 56px); align-items: center; }
.vj-col-hero { transform: translateY(calc(var(--c, 0) * -26px)); }
.vj-panel-live { transform: translateY(calc(var(--c, 0) * 26px)); border-radius: 24px; background: rgba(251,246,239,.97); box-shadow: 0 50px 90px -40px rgba(0,0,0,.85), inset 0 0 0 1px rgba(75,46,156,.1); overflow: hidden; }
.vj-panel-live-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; background: var(--brand); color: #fff; }
.vj-panel-live-head span:first-child { font-family: var(--vj-mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; }
.vj-panel-live-tag { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; }
.vj-panel-live-tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--vj-mint); animation: vjBlink 1.8s ease-in-out infinite; }
.vj-panel-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 20px; border-bottom: 1px solid rgba(75,46,156,.09); }
.vj-panel-row:last-of-type { border-bottom: none; }
.vj-panel-route { font-size: 15px; font-weight: 700; color: #241a3d; }
.vj-panel-time { font-family: var(--vj-mono); font-size: 11.5px; color: #7a6f8d; margin-top: 3px; }
.vj-chip { padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; transition: background .3s, color .3s; }
.vj-chip--amber { background: rgba(201,122,43,.13); color: #C97A2B; }
.vj-chip--green { background: rgba(46,139,87,.14); color: #2E8B57; }
.vj-chip--violet { background: rgba(75,46,156,.11); color: #4B2E9C; }
.vj-panel-foot { padding: 13px 20px; background: rgba(75,46,156,.05); font-family: var(--vj-mono); font-size: 11px; letter-spacing: .05em; color: #6b6083; }

.vj-floaty {
  position: absolute; left: 50%; bottom: clamp(78px, 11vh, 112px); transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(251,246,239,.55); font-family: var(--vj-mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase;
  animation: vjFloaty 2.8s ease-in-out infinite;
}

/* -------------------------------------------------------------------------
   02 · Sala de espera — problema
   ------------------------------------------------------------------------- */
.vj-problema-head { text-align: center; max-width: 44ch; margin: 0 auto; }
.vj-problema-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(18px, 2.4vw, 30px); margin-top: clamp(30px, 5vh, 52px); }
.vj-card-problema {
  position: relative; padding: clamp(24px, 3vw, 38px); border-radius: 22px; background: #fff;
  box-shadow: 0 34px 60px -40px rgba(42,27,78,.5), inset 0 0 0 1px rgba(75,46,156,.08);
}
.vj-card-problema--l { transform: translateY(calc(var(--c, 0) * -18px)); }
.vj-card-problema--r { transform: translateY(calc(var(--c, 0) * 18px)); }
.vj-card-tag { display: flex; align-items: center; gap: 10px; font-family: var(--vj-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; }
.vj-card-problema h3 { margin: 14px 0 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; color: #2a1b4e; }
.vj-card-problema p { margin: 14px 0 0; font-size: 16.5px; line-height: 1.62; color: #524766; text-wrap: pretty; }
.vj-f5-chips { display: flex; gap: 8px; margin-top: 22px; flex-wrap: wrap; }
.vj-f5-chip { padding: 7px 12px; border-radius: 8px; background: #f6f0e6; font-family: var(--vj-mono); font-size: 11.5px; color: #7a6f8d; }
.vj-f5-chip--completo { background: rgba(196,30,140,.1); color: #C41E8C; }
.vj-bars { display: flex; align-items: flex-end; gap: 6px; height: 74px; margin-top: 22px; }
.vj-bars span { flex: 1; border-radius: 6px 6px 0 0; background: #e7dccb; }
.vj-bars span.mid { background: #c9b8e0; }
.vj-bars span.hot { background: linear-gradient(#4B2E9C, #C41E8C); }
.vj-bars-note { margin: 10px 0 0; font-family: var(--vj-mono); font-size: 11px; letter-spacing: .05em; color: #7a6f8d; }

/* -------------------------------------------------------------------------
   03 · Cafetería — cómo funciona
   ------------------------------------------------------------------------- */
.vj-como-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.vj-como-intro { max-width: 34ch; margin: 0; font-size: 16.5px; line-height: 1.6; color: rgba(251,246,239,.72); }
.vj-steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: clamp(14px, 1.8vw, 22px); margin-top: clamp(28px, 5vh, 50px); }
.vj-step-card { position: relative; padding: 26px 24px 28px; border-radius: 20px; background: rgba(251,246,239,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.vj-step-card--last { background: linear-gradient(140deg, rgba(196,30,140,.28), rgba(75,46,156,.28)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.vj-step-num { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--brand); color: #fff; font-family: var(--vj-mono); font-size: 15px; font-weight: 500; }
.vj-step-card--last .vj-step-num { background: #FBF6EF; color: #4B2E9C; }
.vj-step-card h3 { margin: 18px 0 0; font-family: var(--font-display); font-weight: 600; font-size: 21px; line-height: 1.2; color: #FBF6EF; }
.vj-step-card p { margin: 10px 0 0; font-size: 15px; line-height: 1.58; color: rgba(251,246,239,.7); }
.vj-step-card--last p { color: rgba(251,246,239,.78); }
.vj-como-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: clamp(26px, 4vh, 40px); }
.vj-como-foot span { font-family: var(--vj-mono); font-size: 12px; color: rgba(251,246,239,.55); }

/* -------------------------------------------------------------------------
   04 · Cabina de mando — demo real
   ------------------------------------------------------------------------- */
.vagon--demo .vagon-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(28px, 4vw, 54px); align-items: center; }
.vj-demo-col { transform: translateY(calc(var(--c, 0) * -20px)); }
.vj-bullets { display: flex; flex-direction: column; gap: 12px; margin-top: 26px; }
.vj-bullet { display: flex; align-items: center; gap: 12px; }
.vj-bullet .dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.vj-bullet span:last-child { font-size: 15.5px; color: #3b3054; }
.vj-monitor { justify-self: center; position: relative; padding: clamp(14px, 2vw, 22px); border-radius: 30px; background: linear-gradient(150deg, #241640, #3a2263); box-shadow: 0 50px 90px -44px rgba(36,22,64,.9); transform: translateY(calc(var(--c, 0) * 20px)); }
.vj-monitor-bar { display: flex; align-items: center; justify-content: space-between; padding: 0 6px 12px; font-family: var(--vj-mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: rgba(251,246,239,.6); }
.vj-monitor-bar .live { display: flex; align-items: center; gap: 6px; }
.vj-monitor-bar .live .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--vj-mint); animation: vjBlink 1.6s ease-in-out infinite; }
.vj-monitor-screen { width: clamp(230px, 26vw, 300px); aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; position: relative; box-shadow: inset 0 0 0 3px rgba(251,246,239,.35); background: #0b0a10; }
.vj-monitor-screen video { width: 100%; height: 100%; object-fit: contain; display: block; background: #0b0a10; }
.vj-monitor-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; padding: 0 16px; transition: opacity .25s ease; }
.vj-monitor-placeholder.is-hidden { opacity: 0; pointer-events: none; }
.vj-monitor-placeholder img { width: 68px; height: auto; filter: drop-shadow(0 8px 20px rgba(0,0,0,.35)); }
.vj-monitor-caption { color: rgba(255,255,255,.72); font-size: 12.5px; font-family: var(--vj-mono); }
.vj-play-btn { position: relative; width: 56px; height: 56px; border-radius: 50%; border: none; background: rgba(75,46,156,.92); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 12px 30px -10px rgba(0,0,0,.7); transition: transform .15s ease; }
.vj-play-btn:hover { transform: scale(1.06); }
.vj-play-btn svg { width: 20px; height: 20px; margin-left: 2px; }
.vj-play-btn::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: rgba(75,46,156,.92); opacity: .5; animation: vjPulse 2.2s ease-out infinite; }
@keyframes vjPulse { 0% { transform: scale(1); opacity: .45; } 100% { transform: scale(1.7); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .vj-play-btn::before { animation: none; } }
.vj-monitor-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding: 0 6px; font-family: var(--vj-mono); font-size: 10.5px; color: rgba(251,246,239,.5); }

/* -------------------------------------------------------------------------
   05 · Compartimentos — qué incluye
   ------------------------------------------------------------------------- */
.vj-incluye-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 12px; }
.vj-incluye-card { padding: 22px; border-radius: 16px; background: rgba(251,246,239,.055); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.vj-incluye-card--last { background: linear-gradient(140deg, rgba(196,30,140,.3), rgba(75,46,156,.3)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.vj-incluye-bar { width: 26px; height: 4px; border-radius: 99px; background: linear-gradient(90deg, var(--vj-lilac), var(--vj-pink)); }
.vj-incluye-card--last .vj-incluye-bar { background: #FBF6EF; }
.vj-incluye-card h3 { margin: 14px 0 0; font-family: var(--font-display); font-weight: 600; font-size: 19px; color: #FBF6EF; line-height: 1.2; }
.vj-incluye-card p { margin: 8px 0 0; font-size: 14px; line-height: 1.5; color: rgba(251,246,239,.62); }
.vj-incluye-card--last p { color: rgba(251,246,239,.75); }

/* -------------------------------------------------------------------------
   06 · Panel de salidas — estadísticas / split-flap
   ------------------------------------------------------------------------- */
.vj-datos-head { text-align: center; }
.vj-flap-panel { margin-top: clamp(28px, 5vh, 48px); padding: clamp(18px, 2.6vw, 32px); border-radius: 22px; background: #0a0518; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1), 0 50px 80px -50px #000; }
.vj-flap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(16px, 2vw, 28px); }
.vj-flap-col { text-align: center; }
.vj-flap-row { display: flex; justify-content: center; gap: 6px; }
.vj-flap {
  min-width: clamp(34px, 4vw, 52px); padding: 14px 6px; border-radius: 8px;
  background: linear-gradient(#241640 0 49%, #1a0f30 49% 51%, #241640 51%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1);
  font-family: var(--vj-mono); font-size: clamp(26px, 3.4vw, 40px); color: #FBF6EF;
  animation: vjFlipIn .5s ease-out;
}
.vj-flap--wide { min-width: auto; padding: 14px 16px; font-size: clamp(22px, 2.8vw, 34px); color: var(--vj-mint); }
.vj-flap-label { margin: 14px 0 0; font-family: var(--vj-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(251,246,239,.62); }
.vj-flap-sub { margin: 6px 0 0; font-family: var(--vj-mono); font-size: 10.5px; color: rgba(251,246,239,.35); }

/* -------------------------------------------------------------------------
   07 · Vagón del billete — precio
   ------------------------------------------------------------------------- */
.vj-precio-head { text-align: center; margin-bottom: clamp(24px, 4vh, 38px); }
.vj-ticket { display: flex; flex-wrap: wrap; border-radius: 20px; overflow: hidden; background: #fff; box-shadow: 0 46px 80px -46px rgba(42,27,78,.6); }
.vj-ticket-body { flex: 1 1 300px; padding: clamp(26px, 3.2vw, 40px); }
.vj-ticket-kicker { margin: 0; font-family: var(--vj-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #7a6f8d; }
.vj-ticket-price { display: flex; align-items: flex-end; gap: 8px; margin-top: 12px; }
.vj-ticket-price strong { font-family: var(--font-display); font-weight: 700; font-size: clamp(46px, 6vw, 74px); line-height: .92; letter-spacing: -.02em; background: linear-gradient(120deg, #4B2E9C, #C41E8C); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vj-ticket-price span { font-size: 16px; font-weight: 600; color: #524766; padding-bottom: 8px; }
.vj-ticket-list { display: flex; flex-direction: column; gap: 11px; margin-top: 26px; }
.vj-ticket-list li { display: flex; gap: 11px; align-items: flex-start; list-style: none; }
.vj-ticket-list li::before { content: "✓"; color: #2E8B57; font-weight: 700; line-height: 1.5; }
.vj-ticket-list li span { font-size: 15.5px; line-height: 1.5; color: #3b3054; }
.vj-ticket-perf { flex: 0 0 auto; width: 100%; border-top: 2px dashed rgba(75,46,156,.3); background: repeating-linear-gradient(90deg, transparent 0 9px, rgba(75,46,156,.16) 9px 12px); height: 2px; align-self: stretch; }
.vj-ticket-stub { flex: 1 1 240px; display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: clamp(26px, 3.2vw, 40px); background: linear-gradient(140deg, #4B2E9C, #C41E8C); color: #fff; }
.vj-ticket-stub p:first-child { margin: 0; font-family: var(--vj-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; opacity: .75; }
.vj-ticket-stub p.headline { margin: 0; font-family: var(--font-display); font-size: clamp(21px, 2.4vw, 27px); line-height: 1.2; }
.vj-ticket-stub p:last-child { margin: 0; font-family: var(--vj-mono); font-size: 11px; opacity: .75; }
@media (min-width: 620px) { .vj-ticket-perf { width: 2px; height: auto; align-self: stretch; border-top: none; border-left: 2px dashed rgba(75,46,156,.3); background: repeating-linear-gradient(180deg, transparent 0 9px, rgba(75,46,156,.16) 9px 12px); } }

/* -------------------------------------------------------------------------
   08 · Información — FAQ
   ------------------------------------------------------------------------- */
.vj-faq-list { display: flex; flex-direction: column; gap: 12px; }
.vj-faq-item { padding: 24px 26px; border-radius: 18px; background: rgba(251,246,239,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.vj-faq-item h3 { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 20px; color: #FBF6EF; }
.vj-faq-item p { margin: 10px 0 0; font-size: 16px; line-height: 1.6; color: rgba(251,246,239,.72); }
.vj-faq-more { margin-top: 24px; }
.vj-faq-more a { font-size: 14.5px; font-weight: 700; color: var(--vj-lilac); }

/* -------------------------------------------------------------------------
   09 · Kiosco — blog
   ------------------------------------------------------------------------- */
.vj-blog-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; }
.vj-blog-head a { font-size: 15px; font-weight: 700; color: #C41E8C; }
.vj-blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(14px, 2vw, 22px); margin-top: clamp(24px, 4vh, 40px); }
.vj-blog-card { display: block; padding: 26px 24px; border-radius: 18px; background: #fff; box-shadow: 0 30px 56px -40px rgba(42,27,78,.5); transition: transform .2s ease; }
.vj-blog-card:hover { transform: translateY(-4px); }
.vj-blog-kicker { margin: 0; font-family: var(--vj-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: #C97A2B; }
.vj-blog-card h3 { margin: 10px 0 0; font-family: var(--font-display); font-weight: 600; font-size: 20px; line-height: 1.28; color: #2a1b4e; }
.vj-blog-card p { margin: 10px 0 0; font-size: 14.5px; line-height: 1.55; color: #6b6083; }
.vj-blog-card .read-more { display: inline-flex; margin-top: 14px; font-size: 13.5px; font-weight: 700; color: #C41E8C; }

/* -------------------------------------------------------------------------
   10 · Andén de llegada — CTA final + footer
   ------------------------------------------------------------------------- */
.vj-llegada { text-align: center; max-width: 820px; margin: 0 auto; position: relative; z-index: 3; }
.vj-llegada img { height: clamp(44px, 5vw, 62px); width: auto; display: block; margin: 0 auto 26px; filter: drop-shadow(0 10px 24px rgba(0,0,0,.5)); }
.vj-llegada h2 { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(34px, 5.6vw, 72px); line-height: 1.02; letter-spacing: -.02em; color: #FBF6EF; text-wrap: pretty; }
.vj-llegada p { margin: 20px auto 0; max-width: 46ch; font-size: clamp(16px, 1.3vw, 18.5px); line-height: 1.6; color: rgba(251,246,239,.78); }
.vj-llegada .vj-actions { justify-content: center; }

.vj-footer {
  position: relative; z-index: 3; width: 100%; max-width: 1120px; margin: clamp(56px, 9vh, 96px) auto 0;
  padding-top: 30px; border-top: 1px solid rgba(251,246,239,.14);
}
.vj-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; }
.vj-footer-brand p { margin: 12px 0 0; max-width: 280px; font-size: .88rem; line-height: 1.6; color: rgba(251,246,239,.55); }
.vj-footer-brand img { height: 32px; width: auto; }
.vj-footer-col h4 { margin: 0 0 14px; font-family: var(--vj-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: rgba(251,246,239,.45); font-weight: 500; }
.vj-footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.vj-footer-col a { font-size: .9rem; color: rgba(251,246,239,.72); transition: color .15s; }
.vj-footer-col a:hover { color: #fff; }
.vj-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(251,246,239,.1); font-size: .8rem; color: rgba(251,246,239,.4); }
@media (max-width: 780px) { .vj-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .vj-footer-grid { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------------------
   Indicador de trayecto — pill fija, abajo
   ------------------------------------------------------------------------- */
.vj-progress {
  position: fixed; left: 50%; bottom: clamp(12px, 2.4vh, 24px); transform: translateX(-50%); z-index: 45;
  width: min(94vw, 760px); padding: 11px clamp(14px, 2.4vw, 22px); border-radius: 999px;
  background: rgba(15,7,34,.9); backdrop-filter: blur(10px);
  box-shadow: 0 20px 44px -22px rgba(0,0,0,.85), inset 0 0 0 1px rgba(255,255,255,.14);
  display: flex; align-items: center; gap: clamp(10px, 2vw, 18px);
}
.vj-progress-label { flex: none; font-family: var(--vj-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #FBF6EF; white-space: nowrap; }
.vj-progress-rail { position: relative; flex: 1; height: 14px; display: flex; align-items: center; }
.vj-progress-track { position: absolute; left: 0; right: 0; height: 3px; border-radius: 99px; background: rgba(251,246,239,.18); }
.vj-progress-fill { position: absolute; left: 0; height: 3px; border-radius: 99px; background: linear-gradient(90deg, var(--vj-lilac), var(--vj-pink)); width: 0%; }
.vj-progress-stops { position: relative; flex: 1; display: flex; justify-content: space-between; align-items: center; }
.vj-progress-stop { width: 14px; height: 14px; border-radius: 50%; display: block; background: rgba(251,246,239,.28); box-shadow: none; transition: background .2s, box-shadow .2s; }
.vj-progress-stop.is-passed { background: var(--vj-lilac); }
.vj-progress-stop.is-current { background: #FBF6EF; box-shadow: 0 0 0 5px rgba(196,30,140,.45); }
.vj-progress-cta { flex: none; padding: 9px 16px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 13px; font-weight: 700; white-space: nowrap; transition: filter .15s; }
.vj-progress-cta:hover { filter: brightness(1.1); }
@media (max-width: 620px) { .vj-progress-label { display: none; } }
@media (max-width: 480px) { .vj-progress-cta { display: none; } }

/* -------------------------------------------------------------------------
   Responsive — sin breakpoints duros salvo estos
   ------------------------------------------------------------------------- */
@media (max-width: 720px) {
  .vagon { padding-left: 18px; padding-right: 18px; }
  .vagon-door { padding: 0 14px; }
  .vagon-door-glass { display: none; }
}

/* -------------------------------------------------------------------------
   Site shell — mismo header/footer de la portada, en el resto de páginas
   (FAQ, blog, legal). Estas páginas siguen siendo contenido normal (no
   vagones con scroll), solo comparten el header flotante oscuro y un
   footer oscuro a modo de cierre, para que no se sientan "del diseño
   antiguo" al navegar desde la home.
   ------------------------------------------------------------------------- */
body.site-shell main > .hero:first-child { padding-top: clamp(96px, 13vh, 130px); }
body.site-shell main > .section:first-child { padding-top: clamp(120px, 16vh, 160px); }

.site-footer-wrap {
  background: radial-gradient(120% 140% at 50% 0%, #2a1550, #0d0620 70%);
  padding: clamp(48px, 8vh, 80px) clamp(16px, 4vw, 48px) 30px;
  margin-top: 48px;
}
.site-footer-wrap .vj-footer { margin: 0 auto; }
