/* ==========================================================================
   brIsA — landing
   Paleta: violeta noche, violeta eléctrico, calipso, cian, verde selva y cromo.
   ========================================================================== */

:root {
  /* Color */
  --night: #1C0A45;
  --night-2: #28105E;
  --night-3: #12052F;
  --violet: #7A3CFF;
  --violet-ink: #5B24D6;
  --cyan: #13B6EC;
  --calypso: #34E0C9;
  --green: #1FCB6E;
  --green-hover: #33DA80;
  --steel: #8D98B5;
  --amber: #FFB547;

  --sand: #FFF9F0;
  --paper: #FFFFFF;
  --seaglass: #DCF7F1;

  --ink: #1C0A45;
  --ink-2: #4D4170;
  --ink-3: #74699A;
  --line: #EADFF0;

  --on-night: #F4EFFF;
  --on-night-2: #BAAEDF;
  --line-night: rgba(244, 239, 255, .13);

  --chrome: linear-gradient(100deg, #A9B1C6 0%, #F7F8FC 18%, #C3CADB 36%, #FFFFFF 50%, #AAB3C8 68%, #EDF0F6 86%, #C9CFDD 100%);

  /* Tipografía */
  --f-display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "Martian Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Espacio */
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1180px;
  --sec-pad: clamp(72px, 9vw, 128px);
  --r-lg: 22px;
  --r-md: 14px;

  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}
html[data-lang-pending] body { visibility: hidden; }

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { margin: 0; font-family: var(--f-display); text-wrap: balance; }
p, ul, ol, dl, dd, figure { margin: 0; }
img, svg { max-width: 100%; }
a { color: var(--violet-ink); }

h2 {
  font-size: clamp(2rem, 1.25rem + 2.8vw, 3.35rem);
  line-height: 1.02;
  font-weight: 760;
  font-stretch: 82%;
  letter-spacing: -.015em;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

:where(a, button, input, summary):focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 3px;
}
:where(.topbar, .hero, .metrics, .final, .foot, .tile--other) :where(a, button, input, summary):focus-visible {
  outline-color: var(--calypso);
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--paper); color: var(--ink);
  padding: 10px 14px; border-radius: 10px; font-weight: 600;
}
.skip:focus { top: 12px; }

.eyebrow {
  font-family: var(--f-mono);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--violet-ink);
}

.sec-head {
  display: grid;
  gap: 14px;
  max-width: 46rem;
  margin-bottom: clamp(36px, 5vw, 60px);
}
.sec-lede { color: var(--ink-2); font-size: 1.125rem; max-width: 40rem; }

.chrome {
  background: var(--chrome);
  background-size: 220% 100%;
  background-position: 0 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .chrome { color: #E3E7F0; background: none; }
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--f-body); font-weight: 700; font-size: 1rem; line-height: 1.1;
  padding: .95em 1.3em;
  border: 0; border-radius: 999px;
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn svg { width: 1.3em; height: 1.3em; flex: none; }
.btn--wa {
  background: var(--green);
  color: var(--night);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 10px 24px -12px rgba(14, 143, 78, .9);
}
.btn--wa:hover { background: var(--green-hover); transform: translateY(-1px); }
.btn--ghost { color: var(--on-night); box-shadow: inset 0 0 0 1.5px var(--line-night); }
.btn--ghost:hover { background: rgba(255, 255, 255, .07); }
.btn--lg { font-size: 1.0625rem; padding: 1.05em 1.5em; }
.btn--sm { font-size: .9rem; padding: .7em 1em; }
.btn--block { width: 100%; justify-content: center; }

/* ---------- Barra superior ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(28, 10, 69, .88);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  color: var(--on-night);
  border-bottom: 1px solid var(--line-night);
}
.topbar__in { display: flex; align-items: center; gap: 24px; min-height: 64px; }

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: inherit; text-decoration: none; white-space: nowrap;
  font-family: var(--f-display); font-weight: 700; font-stretch: 88%;
  font-size: 1.08rem; letter-spacing: -.01em;
}
.brand b {
  font-weight: 800;
  background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand__mark { width: 30px; height: 30px; flex: none; }

.nav { flex: 1; display: flex; justify-content: center; gap: 26px; font-size: .95rem; }
.nav a { color: var(--on-night-2); text-decoration: none; }
.nav a:hover { color: var(--on-night); }

.topbar__actions { display: flex; align-items: center; gap: 10px; }

.lang { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .08); }
.lang button {
  font-family: var(--f-mono); font-size: .7rem; letter-spacing: .06em;
  color: var(--on-night-2); background: transparent;
  border: 0; border-radius: 999px; padding: .55em .8em; cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--on-night); color: var(--night); }

@media (max-width: 900px) {
  .nav { display: none; }
  .topbar__actions { margin-inline-start: auto; }
}
@media (max-width: 480px) {
  .brand { font-size: .98rem; }
  .topbar .btn__label { display: none; }
  .topbar .btn--sm { padding: .62em; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(40px, 7vw, 88px);
  color: var(--on-night);
  background:
    radial-gradient(38% 30% at 50% 100%, rgba(255, 255, 255, .16), transparent 70%),
    linear-gradient(180deg, var(--night) 0%, #250E5C 45%, #3D1A92 78%, #6538D0 100%);
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid; gap: clamp(40px, 5vw, 64px);
  align-items: center;
}
@media (min-width: 980px) {
  .hero__grid { grid-template-columns: 1.05fr 1fr; }
}

.hero__copy { display: grid; gap: 24px; justify-items: start; }

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: .68rem; letter-spacing: .07em; text-transform: uppercase;
  padding: .6em .95em; border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  box-shadow: inset 0 0 0 1px var(--line-night);
}
.pill__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(31, 203, 110, .22);
  animation: pulse 2.6s ease-in-out infinite;
}

.hero__title {
  display: grid; gap: .06em;
  font-size: clamp(2.6rem, 1.5rem + 4.6vw, 5.2rem);
  line-height: .96;
  font-weight: 800;
  font-stretch: 76%;
  letter-spacing: -.02em;
}
.hero__l2 { animation: shine 3.4s cubic-bezier(.2, .7, .2, 1) .3s both; }

.hero__lede { max-width: 34rem; font-size: clamp(1.0625rem, 1rem + .3vw, 1.2rem); color: var(--on-night-2); }
.hero__lede strong { color: var(--on-night); font-weight: 650; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__note { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .03em; color: var(--on-night-2); }

.horizon {
  display: block;
  width: 100%;
  height: clamp(110px, 15vw, 210px);
  margin-top: clamp(24px, 4vw, 40px);
}
.hz-sun { animation: rise 2.4s cubic-bezier(.2, .7, .2, 1) both; }

/* ---------- Tablero demo ---------- */
.board {
  background: var(--night-3);
  border-radius: var(--r-lg);
  overflow: hidden;
  font-size: .9rem;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .09),
    0 0 0 8px rgba(255, 255, 255, .035),
    0 44px 80px -30px rgba(5, 0, 20, .85);
}
.board__bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px;
  border-bottom: 1px solid var(--line-night);
}
.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .07); }
.seg [role="tab"] {
  font: 600 .88rem/1 var(--f-body);
  color: var(--on-night-2); background: transparent;
  border: 0; border-radius: 999px; padding: .65em 1.1em; cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.seg [role="tab"][aria-selected="true"] { background: var(--calypso); color: var(--night); }
.board__tag {
  font-family: var(--f-mono); font-size: .6rem; letter-spacing: .07em; text-transform: uppercase;
  color: var(--on-night-2); padding-inline-end: 4px;
}

.board__panels { display: grid; }
.panel { grid-area: 1 / 1; min-width: 0; }
.panel.is-inactive { visibility: hidden; }

/* Después: salidas */
.deps { display: grid; gap: 12px; padding: 18px 18px 16px; }
.deps__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; }
.deps__title { font-family: var(--f-display); font-weight: 750; font-stretch: 85%; font-size: 1.3rem; color: var(--on-night); }
.deps__day { color: var(--on-night-2); font-weight: 500; }
.deps__op { font-family: var(--f-mono); font-size: .6rem; letter-spacing: .05em; text-transform: uppercase; color: var(--calypso); }

.deps__cols, .dep {
  display: grid;
  grid-template-columns: 3.4rem minmax(0, 1fr) 3.2rem 8.4rem;
  gap: 10px;
  align-items: start;
}
.deps__cols {
  font-family: var(--f-mono); font-size: .56rem; letter-spacing: .09em; text-transform: uppercase;
  color: var(--on-night-2);
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--line-night);
}
.deps__list { list-style: none; padding: 0; display: grid; }
.dep { padding: 12px 0; border-bottom: 1px solid var(--line-night); }
.dep__time, .dep__pax {
  font-family: var(--f-mono); font-size: .78rem; color: var(--on-night);
  font-variant-numeric: tabular-nums; padding-top: 2px;
}
.dep__tour { display: grid; gap: 2px; font-weight: 600; line-height: 1.3; color: var(--on-night); }
.dep__tour small { font-size: .78rem; font-weight: 400; color: var(--on-night-2); }
.dep__state { display: grid; gap: 5px; justify-items: start; }
.dep__auto { font-size: .74rem; line-height: 1.3; color: var(--calypso); }
.dep__auto::before { content: "✓ "; }

.st {
  font-family: var(--f-mono); font-size: .58rem; font-weight: 500; line-height: 1.25;
  letter-spacing: .05em; text-transform: uppercase;
  padding: .5em .7em; border-radius: 6px;
}
.st--ok { background: rgba(31, 203, 110, .16); color: #74F2AC; }
.st--moved { background: rgba(19, 182, 236, .18); color: #86DCFB; }
.st--full { background: rgba(122, 60, 255, .3); color: #D3BFFF; }
.st--pend { background: rgba(255, 181, 71, .16); color: #FFD18A; }

.deps__foot { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--on-night-2); }
.live {
  width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex: none;
  box-shadow: 0 0 0 3px rgba(31, 203, 110, .2);
  animation: pulse 2.6s ease-in-out infinite;
}

@media (max-width: 560px) {
  .deps__cols { display: none; }
  .dep {
    grid-template-columns: 3rem minmax(0, 1fr) auto;
    grid-template-areas: "time tour pax" ". state state";
    row-gap: 8px;
  }
  .dep__time { grid-area: time; }
  .dep__tour { grid-area: tour; }
  .dep__pax { grid-area: pax; }
  .dep__state { grid-area: state; grid-auto-flow: column; justify-content: start; align-items: center; gap: 10px; }
}

/* Antes: bandeja de chats */
.chats { height: 100%; background: #0B141A; }
.chats__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 16px 18px 10px;
}
.chats__title { font-family: var(--f-body); font-weight: 700; font-size: 1.3rem; color: #E9EDEF; }
.chats__unread { font-size: .78rem; font-weight: 600; color: #21C063; }
.chats__list { list-style: none; padding: 0 6px 8px; display: grid; }
.chat {
  display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center;
  padding: 9px 12px; border-radius: 12px;
}
.chat + .chat { box-shadow: 0 -1px 0 rgba(233, 237, 239, .06); }
.chat__av {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700; color: #0B141A; background: var(--av);
}
.chat__body { display: grid; gap: 1px; min-width: 0; }
.chat__name { font-weight: 600; font-size: .92rem; color: #E9EDEF; }
.chat__msg { font-size: .82rem; line-height: 1.35; color: #8696A0; }
.chat__meta { display: grid; justify-items: end; gap: 5px; align-self: start; padding-top: 2px; }
.chat__meta time { font-size: .7rem; color: #21C063; }
.chat__badge {
  min-width: 20px; padding: .2em .45em; border-radius: 999px;
  background: #21C063; color: #0B141A;
  font-size: .7rem; font-weight: 700; text-align: center; line-height: 1.3;
}

.panel.is-anim .dep { animation: flip .55s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i) * 80ms + 120ms); transform-origin: 50% 0; }
.panel.is-anim .chat { animation: slide .45s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i) * 60ms); }

/* ---------- Problema ---------- */
.problem { padding-block: var(--sec-pad); background: var(--sand); }
.problem__grid { display: grid; gap: 44px; align-items: start; }
@media (min-width: 960px) {
  .problem__grid { grid-template-columns: 1fr 1.05fr; gap: 64px; }
}
.problem__copy { display: grid; gap: 18px; max-width: 34rem; }
.problem__copy p:not(.eyebrow) { color: var(--ink-2); font-size: 1.125rem; }

.pains {
  display: grid; gap: 18px;
  padding: clamp(20px, 3vw, 32px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: 0 30px 60px -36px rgba(28, 10, 69, .38);
}
.pains fieldset { display: grid; gap: 10px; min-width: 0; margin: 0; padding: 0; border: 0; }
.pains legend {
  padding: 0; margin-bottom: 12px;
  font-family: var(--f-display); font-weight: 750; font-stretch: 88%; font-size: 1.35rem; line-height: 1.15;
}
.pain {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 14px; border-radius: 12px;
  background: var(--sand); line-height: 1.4; cursor: pointer;
  transition: background-color .15s ease, box-shadow .15s ease;
}
.pain:hover { background: #F5EEFF; }
.pain input {
  -webkit-appearance: none; appearance: none;
  flex: none; display: grid; place-items: center;
  width: 22px; height: 22px; margin: 1px 0 0;
  border: 2px solid #B6A6D8; border-radius: 6px; background: var(--paper);
  cursor: pointer; transition: background-color .15s ease, border-color .15s ease;
}
.pain input::after {
  content: ""; width: 11px; height: 6px; margin-top: -3px;
  border-left: 2.5px solid var(--night); border-bottom: 2.5px solid var(--night);
  transform: rotate(-45deg) scale(0); transition: transform .12s ease;
}
.pain input:checked { background: var(--green); border-color: var(--green); }
.pain input:checked::after { transform: rotate(-45deg) scale(1); }
.pain:has(input:checked) { background: #E4F9EC; box-shadow: inset 0 0 0 1.5px rgba(31, 203, 110, .65); }

.pains__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; }
.pains__count { font-weight: 600; font-size: .98rem; color: var(--ink-2); }
.pains__hint { font-size: .84rem; color: var(--ink-3); }

/* ---------- La ruta ---------- */
.route { padding-block: var(--sec-pad); background: var(--paper); }

.stops {
  --trail: linear-gradient(90deg, var(--violet), var(--cyan), var(--calypso), var(--green), var(--steel));
  position: relative;
  list-style: none; padding: 0;
  display: grid; gap: 28px;
}
.stops::before {
  content: ""; position: absolute;
  background: var(--trail);
  -webkit-mask: repeating-linear-gradient(90deg, #000 0 10px, transparent 10px 17px);
  mask: repeating-linear-gradient(90deg, #000 0 10px, transparent 10px 17px);
}
.stop { position: relative; display: grid; gap: 10px; align-content: start; }
.stop__when { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); line-height: 1.4; }
.stop__dot {
  position: relative; z-index: 1;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--paper);
  box-shadow: inset 0 0 0 6px var(--c);
}
.stop h3 { font-size: 1.45rem; font-weight: 760; font-stretch: 86%; line-height: 1.1; }
.stop p { color: var(--ink-2); font-size: 1rem; }

@media (min-width: 900px) {
  .stops { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
  .stops::before { left: 12px; right: 0; top: calc(.66rem * 1.4 + 10px + 11px); height: 3px; }
}
@media (max-width: 899.98px) {
  .stops { padding-left: 42px; }
  .stops::before {
    left: 11px; top: 8px; bottom: 8px; width: 3px;
    background: linear-gradient(180deg, var(--violet), var(--cyan), var(--calypso), var(--green), var(--steel));
    -webkit-mask: repeating-linear-gradient(180deg, #000 0 10px, transparent 10px 17px);
    mask: repeating-linear-gradient(180deg, #000 0 10px, transparent 10px 17px);
  }
  .stop__dot { position: absolute; left: -42px; top: 0; }
}

.route__split { display: grid; gap: 16px; margin-top: clamp(48px, 6vw, 72px); }
@media (min-width: 760px) { .route__split { grid-template-columns: 1fr 1fr; } }
.route__get, .route__not { display: grid; gap: 14px; align-content: start; padding: clamp(22px, 3vw, 30px); border-radius: var(--r-md); }
.route__get { background: var(--seaglass); }
.route__not { box-shadow: inset 0 0 0 1.5px var(--line); }
.route__split h3 { font-size: 1.3rem; font-weight: 750; font-stretch: 88%; }

.ticks, .crosses { list-style: none; padding: 0; display: grid; gap: 9px; }
.ticks li, .crosses li { position: relative; padding-left: 28px; line-height: 1.45; }
.ticks li::before, .crosses li::before {
  content: ""; position: absolute; left: 0; top: .18em;
  width: 18px; height: 18px; border-radius: 50%;
}
.ticks li::before {
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.2l2.6 2.6L13 6.4' fill='none' stroke='%231C0A45' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.crosses li { color: var(--ink-2); }
.crosses li::before {
  background: #EFE8F6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M6 6l6 6M12 6l-6 6' fill='none' stroke='%2374699A' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}

/* ---------- Ejemplos ---------- */
.examples { padding-block: var(--sec-pad); background: var(--sand); }
.tiles { list-style: none; padding: 0; display: grid; gap: 16px; }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1020px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.tile {
  display: grid; grid-template-rows: auto auto 1fr auto; gap: 12px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.tile__icon {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 12px;
  background: color-mix(in srgb, var(--c) 20%, #FFFFFF);
  color: var(--c-ink);
}
.tile__icon svg {
  width: 24px; height: 24px;
  fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.tile h3 { font-size: 1.3rem; font-weight: 750; font-stretch: 88%; line-height: 1.15; }
.tile p { color: var(--ink-2); font-size: 1rem; }
.tile__where { display: flex; flex-wrap: wrap; gap: 6px; align-self: end; }
.tile__where > span {
  font-family: var(--f-mono); font-size: .6rem; letter-spacing: .05em; text-transform: uppercase;
  padding: .5em .65em; border-radius: 6px;
  background: var(--sand); color: var(--ink-2);
}

.tile--other { background: var(--night); border-color: var(--night); color: var(--on-night); }
.tile--other p { color: var(--on-night-2); }
.tile--other .tile__icon { background: rgba(52, 224, 201, .14); }
.tile__link { color: var(--calypso); font-weight: 700; text-decoration: none; }
.tile__link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Métricas ---------- */
.metrics {
  padding-block: var(--sec-pad);
  color: var(--on-night);
  background:
    radial-gradient(50% 60% at 100% 0%, rgba(122, 60, 255, .35), transparent 70%),
    var(--night);
}
.metrics .eyebrow { color: var(--calypso); }
.stats { display: grid; }
.stat { display: flex; flex-direction: column-reverse; gap: 10px; padding-block: 26px; border-top: 1px solid var(--line-night); }
.stat dd {
  font-family: var(--f-display); font-weight: 800; font-stretch: 75%;
  font-size: clamp(3.4rem, 2.4rem + 4.2vw, 6.2rem); line-height: .9; letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.stat dt { max-width: 16rem; font-size: 1.05rem; color: var(--on-night-2); }
@media (min-width: 820px) {
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat { padding: 6px 28px; border-top: 0; border-left: 1px solid var(--line-night); }
  .stat:first-child { padding-left: 0; border-left: 0; }
}
.metrics__note { max-width: 44rem; margin-top: clamp(32px, 4vw, 48px); color: var(--on-night-2); }
.metrics__note strong { color: var(--on-night); font-weight: 650; }

/* ---------- Precios ---------- */
.pricing { padding-block: var(--sec-pad); background: var(--seaglass); }
.pricing .eyebrow { color: #0A6F62; }

.tickets { list-style: none; padding: 0; display: grid; gap: 22px; }
@media (min-width: 920px) { .tickets { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; } }

.tk { display: grid; filter: drop-shadow(0 18px 22px rgba(12, 90, 80, .16)); }
.ticket {
  --cut: 96px;
  --stub-bg: var(--chrome);
  --stub-ink: var(--night);
  --dot: var(--steel);
  display: grid; grid-template-rows: var(--cut) 1fr auto;
  background: var(--paper);
  border-radius: 18px;
  -webkit-mask:
    radial-gradient(circle 11px at 0 var(--cut), transparent 97%, #000) left / 51% 100% no-repeat,
    radial-gradient(circle 11px at 100% var(--cut), transparent 97%, #000) right / 51% 100% no-repeat;
  mask:
    radial-gradient(circle 11px at 0 var(--cut), transparent 97%, #000) left / 51% 100% no-repeat,
    radial-gradient(circle 11px at 100% var(--cut), transparent 97%, #000) right / 51% 100% no-repeat;
}
.ticket--pilot { --stub-bg: linear-gradient(120deg, #6A2EF0, var(--violet) 55%, #9A6BFF); --stub-ink: #FFFFFF; --dot: var(--violet); }
.ticket--live { --stub-bg: linear-gradient(120deg, #19B864, var(--green) 55%, #5BE39A); --stub-ink: var(--night); --dot: var(--green); }

.ticket__stub {
  display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr; gap: 10px;
  padding: 18px 22px 16px;
  background: var(--stub-bg);
  color: var(--stub-ink);
}
.ticket__code { font-family: var(--f-mono); font-size: .72rem; font-weight: 500; letter-spacing: .1em; }
.ticket__kind {
  font-family: var(--f-mono); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase;
  padding: .45em .65em; border-radius: 6px;
  background: rgba(255, 255, 255, .38);
}
.ticket--pilot .ticket__kind { background: rgba(255, 255, 255, .18); }
.ticket__bars {
  grid-column: 1 / -1; align-self: end;
  width: 132px; height: 22px; opacity: .55;
  background: repeating-linear-gradient(90deg,
    currentColor 0 2px, transparent 2px 4px, currentColor 4px 5px, transparent 5px 8px,
    currentColor 8px 11px, transparent 11px 13px, currentColor 13px 14px, transparent 14px 17px);
}

.ticket__body {
  display: grid; gap: 10px; align-content: start;
  padding: 24px 22px 22px;
  border-top: 2px dashed #D6CCE6;
}
.ticket__badge {
  justify-self: start;
  font-family: var(--f-mono); font-size: .6rem; letter-spacing: .08em; text-transform: uppercase;
  padding: .45em .65em; border-radius: 6px;
  background: #EFE6FF; color: var(--violet-ink);
}
.ticket h3 { font-size: 1.5rem; font-weight: 760; font-stretch: 85%; line-height: 1.1; }
.ticket__price {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px;
  font-family: var(--f-display); font-weight: 800; font-stretch: 76%;
  font-size: 3.1rem; line-height: 1; letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.ticket__price small { font-family: var(--f-body); font-size: .92rem; font-weight: 500; letter-spacing: 0; color: var(--ink-2); }
.ticket__when { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .07em; text-transform: uppercase; color: var(--violet-ink); }
.ticket ul { list-style: none; padding: 0; margin-top: 6px; display: grid; gap: 8px; font-size: .98rem; color: var(--ink-2); }
.ticket li { position: relative; padding-left: 20px; line-height: 1.45; }
.ticket li::before {
  content: ""; position: absolute; left: 0; top: .5em;
  width: 9px; height: 9px; border-radius: 50%; background: var(--dot);
}
.ticket__foot {
  padding: 14px 22px 20px;
  border-top: 1px solid var(--line);
  font-size: .9rem; font-weight: 650; color: var(--ink);
}
.pricing__total { margin-top: 28px; color: var(--ink-2); }
.pricing__total strong { color: var(--ink); }

/* ---------- Cómo trabajamos ---------- */
.how { padding-block: var(--sec-pad); background: var(--sand); }
.promises { list-style: none; padding: 0; display: grid; gap: 34px 44px; }
@media (min-width: 720px) { .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .promises { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.promise { display: grid; gap: 8px; align-content: start; padding-top: 18px; border-top: 1px solid var(--line); position: relative; }
.promise::before {
  content: ""; position: absolute; top: -2px; left: 0;
  width: 44px; height: 3px; border-radius: 3px; background: var(--c);
}
.promise h3 { font-size: 1.28rem; font-weight: 750; font-stretch: 88%; line-height: 1.15; }
.promise p { color: var(--ink-2); }

/* ---------- Piloto ---------- */
.pilot { padding-block: var(--sec-pad); background: var(--paper); }
.places { display: grid; gap: 16px; }
@media (min-width: 760px) { .places { grid-template-columns: 1fr 1fr; } }

.place {
  display: grid; gap: 10px;
  grid-template-rows: 1fr repeat(4, auto);
  min-height: 320px;
  padding: clamp(24px, 3.5vw, 40px);
  border-radius: var(--r-lg);
}
.place--pr { background: linear-gradient(155deg, #22D07A 0%, #19BFA9 55%, #13B6EC 100%); color: var(--night); }
.place--cl { background: linear-gradient(155deg, #8A55FF 0%, #5B24D6 50%, #2A1070 100%); color: #FFFFFF; }
.place__art { justify-self: end; align-self: start; width: min(46%, 210px); height: auto; margin-bottom: 8px; }
.place__coord { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .09em; }
.place h3 { font-size: clamp(2.6rem, 1.8rem + 2.8vw, 3.9rem); font-weight: 800; font-stretch: 76%; line-height: .95; letter-spacing: -.02em; }
.place__season { font-size: 1.02rem; font-weight: 600; }
.place__season > span:first-child {
  display: block; margin-bottom: 2px;
  font-family: var(--f-mono); font-size: .62rem; font-weight: 400; letter-spacing: .09em; text-transform: uppercase; opacity: .8;
}
.place__spots { font-size: .92rem; opacity: .88; }

.fit { display: grid; gap: 16px; margin-top: 16px; }
@media (min-width: 860px) { .fit { grid-template-columns: 1.25fr 1fr; } }
.fit__who { display: grid; gap: 14px; align-content: start; padding: clamp(22px, 3vw, 32px); border-radius: var(--r-lg); background: var(--sand); }
.fit__who h3 { font-size: 1.3rem; font-weight: 750; font-stretch: 88%; }
.fit__timing {
  align-self: stretch;
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--r-lg);
  background: var(--night); color: var(--on-night-2);
  font-size: 1.12rem; line-height: 1.5;
}
.fit__timing strong { color: var(--calypso); font-weight: 650; }

/* ---------- Preguntas ---------- */
.faq { padding-block: var(--sec-pad); background: var(--sand); }
.faq__grid { display: grid; gap: 8px; }
@media (min-width: 960px) {
  .faq__grid { grid-template-columns: 1fr 1.7fr; gap: 64px; align-items: start; }
  .faq .sec-head { position: sticky; top: 104px; margin-bottom: 0; }
}
.qa { border-top: 1px solid #E3D8EC; }
.qa:last-of-type { border-bottom: 1px solid #E3D8EC; }
.qa summary {
  display: flex; justify-content: space-between; gap: 18px;
  padding: 20px 0; cursor: pointer; list-style: none;
  font-family: var(--f-display); font-weight: 700; font-stretch: 90%; font-size: 1.2rem; line-height: 1.25;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; flex: none; width: 26px; height: 26px; margin-top: -1px; border-radius: 50%;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 11px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 11px no-repeat,
    #EDE4F8;
  transition: transform .2s ease, background-color .2s ease;
}
.qa[open] summary::after { transform: rotate(45deg); }
.qa summary:hover::after { background-color: #E2D5F6; }
.qa p { max-width: 42rem; padding-bottom: 22px; color: var(--ink-2); }

/* ---------- CTA final ---------- */
.final {
  padding-block: var(--sec-pad);
  color: var(--on-night);
  background:
    radial-gradient(45% 55% at 0% 100%, rgba(52, 224, 201, .22), transparent 70%),
    radial-gradient(45% 60% at 100% 0%, rgba(122, 60, 255, .4), transparent 70%),
    var(--night);
}
.final__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 920px) { .final__grid { grid-template-columns: 1.1fr 1fr; gap: 64px; } }
.final__copy { display: grid; gap: 20px; }
.final h2 { font-size: clamp(2.5rem, 1.5rem + 4vw, 4.6rem); font-weight: 800; font-stretch: 76%; line-height: .96; letter-spacing: -.02em; }
.final__copy p { max-width: 32rem; font-size: 1.125rem; color: var(--on-night-2); }

.composer {
  display: grid; gap: 14px;
  padding: clamp(20px, 3vw, 28px);
  border-radius: var(--r-lg);
  background: var(--night-2);
  box-shadow: inset 0 0 0 1px var(--line-night);
}
.where { min-width: 0; margin: 0; padding: 0; border: 0; }
.where legend { padding: 0; margin-bottom: 10px; font-weight: 650; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.chips label {
  padding: .6em 1.05em; border-radius: 999px; cursor: pointer;
  font-size: .95rem; font-weight: 600; color: var(--on-night-2);
  box-shadow: inset 0 0 0 1.5px var(--line-night);
  transition: background-color .15s ease, color .15s ease;
}
.chips label:hover { color: var(--on-night); }
.chips input:checked + label { background: var(--calypso); color: var(--night); box-shadow: none; }
.chips input:focus-visible + label { outline: 3px solid var(--calypso); outline-offset: 3px; }

.composer__label { font-family: var(--f-mono); font-size: .62rem; letter-spacing: .09em; text-transform: uppercase; color: var(--on-night-2); margin-top: 6px; }
.bubble {
  justify-self: end; max-width: 100%;
  padding: 12px 14px 12px;
  border-radius: 14px 14px 4px 14px;
  background: #005C4B; color: #E9EDEF;
  font-size: .96rem; line-height: 1.45;
  white-space: pre-line; overflow-wrap: anywhere;
}
.composer__hint { font-size: .84rem; color: var(--on-night-2); text-align: center; }

/* ---------- Footer ---------- */
.foot {
  padding-block: 40px calc(40px + env(safe-area-inset-bottom, 0px));
  background: var(--night-3);
  color: var(--on-night-2);
  font-size: .92rem;
}
.foot__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; }
.foot .brand { color: var(--on-night); }
.foot__meta { font-size: .82rem; }

/* ---------- brIsA: piezas añadidas ---------- */
/* Tablero del hero sin columna de hora */
.deps--radar .deps__cols, .deps--radar .dep { grid-template-columns: minmax(0, 1fr) 4.6rem 8.4rem; }
.deps--radar .dep__pax { white-space: nowrap; }
@media (max-width: 560px) {
  .deps--radar .dep { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "tour pax" "state state"; }
}

/* Cifras alineadas arriba aunque el texto tenga distinto largo */
.metrics .stat { justify-content: flex-end; }

/* Fuentes citadas */
.src { font-size: .8rem; line-height: 1.45; color: var(--ink-3); }
.src a { color: inherit; text-underline-offset: 2px; }
.metrics .src { color: var(--on-night-2); }
.promise .src { margin-top: 4px; }

/* Producto */
.ticket__foot a { color: var(--violet-ink); text-decoration: none; }
.ticket__foot a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ticket__foot .ticket__badge { display: inline-block; margin-right: 6px; vertical-align: 1px; }

/* Piloto y equipo */
.pilot .route__split { margin-top: 16px; }
.pilot__cta { margin-top: clamp(28px, 4vw, 40px); }
@media (min-width: 1020px) { .tiles--duo { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Animaciones ---------- */
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(31, 203, 110, .22); } 50% { box-shadow: 0 0 0 7px rgba(31, 203, 110, 0); } }
@keyframes shine { from { background-position: 100% 0; } to { background-position: 0 0; } }
@keyframes rise { from { transform: translateY(46px); } to { transform: none; } }
@keyframes flip { from { opacity: 0; transform: perspective(600px) rotateX(-75deg); } to { opacity: 1; transform: none; } }
@keyframes slide { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
