/* ==========================================================================
   KAIRO STORE LYM — Sistema de diseño "Price Sheet"
   --------------------------------------------------------------------------
   Dirección de arte: hoja de precios oficial + tiquete de pedido.
   Base near-black, retícula de hilos de 1px, tipografía Archivo (display)
   + JetBrains Mono (datos). Acento único de marca (lima ácido) y azul
   eléctrico heredados del logo. Sin degradados de texto, sin glassmorphism,
   sin emojis como iconos, sin brillos neón.

   0. Tokens
   1. Reset y base
   2. Primitivas de layout
   3. Iconos y gráficos
   4. Barra superior y cinta
   5. Hero
   6. Cabeceras de sección
   7. Selector de juego
   8. Chips y segmentado
   9. Lista de precios
   10. Riel de pedido (tiquete, campos, pagos, CTA)
   11. Pasos del proceso
   12. Registro de entregas
   13. Opiniones
   14. Preguntas frecuentes
   15. Pie de página
   16. Barra fija móvil
   17. Modal
   18. Movimiento y responsive
   ========================================================================== */

/* 0. Tokens ---------------------------------------------------------------- */
:root {
  /* Superficies */
  --ink: #08090b;
  --ink-soft: #0b0d10;
  --surface: #0e1114;
  --surface-2: #13171b;

  /* Hilos */
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.12);
  --line-3: rgba(255, 255, 255, 0.22);

  /* Texto */
  --fg: #f0f1ef;
  --fg-2: #a4abb2;
  --fg-3: #7e868d;

  /* Acentos de marca (extraídos del logo) */
  --lime: #b8f03f;
  --lime-ink: #0a0d05;
  --lime-08: rgba(184, 240, 63, 0.08);
  --lime-14: rgba(184, 240, 63, 0.14);
  --lime-28: rgba(184, 240, 63, 0.28);
  --lime-45: rgba(184, 240, 63, 0.45);
  --blue: #4d84ff;
  --danger: #ff6a55;

  /* Radios */
  --r-1: 3px;
  --r-2: 5px;
  --r-3: 8px;
  --r-4: 12px;

  /* Tipografía */
  --font-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --fs-mono: 0.6875rem;   /* 11px — etiquetas */
  --fs-small: 0.8125rem;  /* 13px */
  --fs-body: 0.9375rem;   /* 15px */
  --track-label: 0.14em;

  /* Ritmo */
  --gutter: clamp(1rem, 4vw, 2rem);
  --max: 1160px;
  --stack: clamp(2.75rem, 6vw, 4.5rem);
  --nav-h: 56px;
  --chrome-h: 64px;

  --ease: cubic-bezier(0.22, 0.72, 0.26, 1);

  color-scheme: dark;
}

/* 1. Reset y base ---------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100dvh;
  background: var(--ink);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
}

a {
  color: inherit;
  text-decoration: none;
}

ol,
ul {
  padding: 0;
  list-style: none;
}

strong {
  font-weight: 700;
  color: var(--fg);
}

::selection {
  background: var(--lime);
  color: var(--lime-ink);
}

/* Grano fino sobre el contenido: textura de impresión, no brillo */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  opacity: 0.032;
  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='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
  border-radius: var(--r-1);
}

/* 2. Primitivas de layout -------------------------------------------------- */
.u-mt-sm {
  margin-top: 0.75rem;
}

.u-mt-md {
  margin-top: 1.75rem;
}

.u-mt-stack {
  margin-top: var(--stack);
}

.u-mb-stack {
  margin-bottom: var(--stack);
}

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

/* Las secciones con ancla no quedan bajo la barra fija */
section[id],
footer[id] {
  scroll-margin-top: calc(var(--chrome-h) + 12px);
}

/* Trama diagonal: firma gráfica, reemplaza a los "blobs" de neón */
.hatch {
  height: 6px;
  background-image: repeating-linear-gradient(
    135deg,
    var(--lime) 0 1px,
    transparent 1px 7px
  );
  opacity: 0.5;
}

.mono {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  font-weight: 500;
  color: var(--fg-3);
}

.lime {
  color: var(--lime);
}

.num {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

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

/* Utilidad de visibilidad usada desde JS */
.hidden {
  display: none !important;
}

/* 3. Iconos y gráficos ----------------------------------------------------- */
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.ico {
  width: 1em;
  height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ico--fill {
  fill: currentColor;
  stroke: none;
}

.ico--2xs {
  font-size: 9px;
}

.ico--xs {
  font-size: 11px;
}

.ico--sm {
  font-size: 12px;
}

/* Enlace de salto: invisible hasta recibir foco de teclado */
.skip {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--lime);
  color: var(--lime-ink);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.55rem 0.8rem;
  border-radius: var(--r-2);
  transition: transform 0.18s var(--ease);
}

.skip:focus {
  transform: translateY(0);
}

/* 4. Barra superior y cinta ------------------------------------------------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 9, 11, 0.92);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid var(--line);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--nav-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}

.brand__logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  object-fit: cover;
  flex: none;
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.brand__name {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.1;
  white-space: nowrap;
}

.brand__name span {
  color: var(--lime);
}

.brand__tag {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
  line-height: 1.2;
  white-space: nowrap;
}

.topnav {
  display: none;
  gap: 1.75rem;
}

.topnav a {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-2);
  padding-block: 0.25rem;
  border-bottom: 1px solid transparent;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.topnav a:hover {
  color: var(--fg);
  border-bottom-color: var(--lime);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-2);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 0.3rem 0.55rem;
  white-space: nowrap;
}

.status__short {
  display: none;
}

.status__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px var(--lime-14);
  animation: breathe 2.8s var(--ease) infinite;
}

/* En pantallas angostas: se libera espacio para el estado del asesor */
@media (max-width: 419px) {
  .brand__tag {
    display: none;
  }

  .brand__name {
    font-size: 0.6875rem;
    letter-spacing: 0.14em;
  }

  .status__long {
    display: none;
  }

  .status__short {
    display: inline;
  }
}

/* Cinta de datos: mono, hilos, sin degradado */
.strip {
  border-bottom: 1px solid var(--line);
  background: var(--ink-soft);
  overflow: hidden;
  position: relative;
}

.strip::before,
.strip::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40px;
  z-index: 1;
  pointer-events: none;
}

.strip::before {
  left: 0;
  background: linear-gradient(90deg, var(--ink-soft), transparent);
}

.strip::after {
  right: 0;
  background: linear-gradient(270deg, var(--ink-soft), transparent);
}

.strip__track {
  display: flex;
  width: max-content;
  animation: marquee 44s linear infinite;
}

.strip__group {
  display: flex;
  align-items: center;
  gap: 0;
  flex: none;
}

.strip__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-3);
  white-space: nowrap;
}

.strip__item + .strip__item::before {
  content: "/";
  margin: 0 0.85rem;
  color: var(--line-3);
}

.strip__item b {
  color: var(--fg);
  font-weight: 600;
}

.strip__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--lime);
}

/* 5. Hero ----------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(1.75rem, 5vw, 3.5rem) clamp(1.5rem, 3.5vw, 2.5rem);
  overflow: hidden;
}

/* Retícula técnica de fondo, apenas visible */
.hero__grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(120% 90% at 20% 0%, #000 0%, transparent 72%);
  mask-image: radial-gradient(120% 90% at 20% 0%, #000 0%, transparent 72%);
  opacity: 0.7;
}

.hero__inner {
  position: relative;
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.75rem);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-2);
  margin-bottom: 1rem;
}

.kicker::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--lime);
}

.hero h1 {
  font-size: clamp(2.35rem, 8.6vw, 4.25rem);
  line-height: 0.9;
  letter-spacing: -0.035em;
  font-weight: 800;
  text-transform: uppercase;
  text-wrap: balance;
  max-width: 14ch;
}

/* Subrayado tipo marcador: detalle de oficio, sin degradados en el texto */
.mark {
  background-image: linear-gradient(var(--lime), var(--lime));
  background-repeat: no-repeat;
  background-position: 0 92%;
  background-size: 100% 0.16em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.hero__sub {
  margin-top: 1.25rem;
  max-width: 46ch;
  color: var(--fg-2);
  font-size: var(--fs-small);
  line-height: 1.7;
}

.hero__sub strong {
  color: var(--fg);
  font-weight: 600;
}

.hero__aside {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  justify-content: flex-end;
}

.metagrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.metagrid__cell {
  padding: 0.85rem 0.9rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metagrid__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--lime);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.metagrid__num.is-plain {
  color: var(--fg);
}

.metagrid__label {
  display: block;
  margin-top: 0.3rem;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
  line-height: 1.35;
}

.hero__note {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--fg-2);
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.hero__note .ico {
  color: var(--lime);
  font-size: 15px;
  margin-top: 2px;
}

/* 6. Cabeceras de sección --------------------------------------------------- */
.shead {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.85rem;
}

.shead__num {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--lime);
  border: 1px solid var(--lime-28);
  border-radius: var(--r-1);
  padding: 0.2rem 0.35rem;
  line-height: 1;
}

.shead__title {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--fg);
}

.shead__meta {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
  white-space: nowrap;
}

.ehead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.ehead__title {
  font-size: clamp(1.25rem, 3.4vw, 1.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-transform: uppercase;
}

.ehead__title span {
  color: var(--fg-3);
  font-weight: 500;
}

.ehead__meta {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
  text-align: right;
  white-space: nowrap;
  padding-bottom: 2px;
}

/* 7. Selector de juego ------------------------------------------------------ */
.games {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
}

@media (min-width: 480px) {
  .games {
    gap: 0.5rem;
  }

  .game {
    padding-inline: 0.6rem;
  }

  .game__code {
    display: grid;
  }

  .game__name {
    font-size: 0.75rem;
  }
}

.game {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 0.55rem;
  min-height: 60px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  transition: border-color 0.18s var(--ease), background-color 0.18s var(--ease),
    transform 0.18s var(--ease);
}

.game:hover {
  border-color: var(--line-3);
  background: var(--surface-2);
}

.game:active {
  transform: scale(0.985);
}

.game__code {
  display: none;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: var(--r-2);
  border: 1px solid var(--line-2);
  background: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--fg-2);
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease),
    background-color 0.18s var(--ease);
}

.game__body {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.game__name {
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--fg-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.18s var(--ease);
}

.game__meta {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-3);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game[aria-pressed="true"] {
  background: linear-gradient(180deg, var(--lime-08), transparent 90%), var(--surface);
  border-color: var(--lime-45);
}

.game[aria-pressed="true"] .game__code {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--lime-ink);
}

.game[aria-pressed="true"] .game__name {
  color: var(--fg);
}

.game[aria-pressed="true"]::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px 0;
  height: 2px;
  background: var(--lime);
  border-radius: 2px 2px 0 0;
}

/* 8. Chips y segmentado ----------------------------------------------------- */
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
  flex-wrap: wrap;
}

.chips {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-block: 1px;
  margin-inline: -1px;
}

.chips::-webkit-scrollbar {
  display: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-3);
  white-space: nowrap;
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease),
    background-color 0.16s var(--ease);
}

.chip:hover {
  color: var(--fg);
  border-color: var(--line-3);
}

.chip[aria-pressed="true"] {
  color: var(--lime);
  border-color: var(--lime-45);
  background: var(--lime-08);
}

.chip__count {
  color: var(--fg-3);
  font-size: 0.5625rem;
}

.chip[aria-pressed="true"] .chip__count {
  color: var(--lime);
  opacity: 0.7;
}

.seg {
  display: inline-flex;
  border: 1px solid var(--line-2);
  border-radius: var(--r-2);
  padding: 2px;
  gap: 2px;
  flex: none;
}

.seg__btn {
  padding: 0.22rem 0.5rem;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--fg-3);
  transition: color 0.16s var(--ease), background-color 0.16s var(--ease);
}

.seg__btn:hover {
  color: var(--fg);
}

.seg__btn[aria-pressed="true"] {
  background: var(--lime);
  color: var(--lime-ink);
}

.trm {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-3);
  flex-wrap: wrap;
}

.trm b {
  color: var(--fg-2);
  font-weight: 500;
}

.trm__sep {
  color: var(--line-3);
}

/* 9. Lista de precios ------------------------------------------------------- */
.plist {
  border: 1px solid var(--line);
  border-radius: var(--r-4);
  overflow: hidden;
  background: var(--surface);
}

.pgroup {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5rem 0.85rem;
  background: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.pgroup:first-child {
  border-top: 0;
}

.pgroup__name {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-2);
}

.pgroup__name::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--lime);
  flex: none;
}

.pgroup__note {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pkg {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.65rem 0.85rem 0.65rem 0.85rem;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.14s var(--ease);
}

.pkg:last-child {
  border-bottom: 0;
}

.pkg:hover {
  background: rgba(255, 255, 255, 0.022);
}

.pkg[aria-pressed="true"] {
  background: var(--lime-08);
}

.pkg[aria-pressed="true"]::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: var(--lime);
}

.pkg__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.pkg__name {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--fg);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.pkg__tag {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-3);
  border: 1px solid var(--line-2);
  border-radius: 2px;
  padding: 0.08rem 0.3rem;
  line-height: 1.25;
  white-space: nowrap;
}

.pkg__tag[data-tone="hot"] {
  color: var(--lime);
  border-color: var(--lime-28);
  background: var(--lime-08);
}

.pkg__tag[data-tone="value"] {
  color: var(--blue);
  border-color: rgba(77, 132, 255, 0.32);
  background: rgba(77, 132, 255, 0.08);
}

.pkg__tag[data-tone="top"] {
  color: var(--fg);
  border-color: var(--line-3);
}

.pkg__leader {
  align-self: center;
  height: 1px;
  border-bottom: 1px dotted var(--line-3);
  opacity: 0.5;
}

.pkg__prices {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  text-align: right;
}

.pkg__price {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  color: var(--fg);
  line-height: 1.2;
  white-space: nowrap;
}

.pkg[aria-pressed="true"] .pkg__price {
  color: var(--lime);
}

.pkg__alt {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  color: var(--fg-3);
  line-height: 1.2;
  white-space: nowrap;
}

/* 10. Riel de pedido -------------------------------------------------------- */
.workbench {
  display: grid;
  gap: var(--stack);
  padding-bottom: var(--stack);
}

.rail {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-4);
  overflow: hidden;
}

.rail__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.6rem 0.9rem;
  border-bottom: 1px solid var(--line);
  background: var(--ink-soft);
}

.rail__title {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--fg);
}

.rail__title .ico {
  color: var(--lime);
  font-size: 13px;
}

.rail__live {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
}

.rail__live i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--lime);
  animation: breathe 2.8s var(--ease) infinite;
}

/* Tiquete */
.ticket {
  padding: 0.85rem 0.9rem 0.9rem;
}

.ticket__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding-block: 0.3rem;
}

.ticket__key {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
  flex: none;
}

.ticket__val {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--fg);
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}


.ticket__val--discount {
  color: var(--lime);
  font-weight: 600;
}

.ticket__total-orig {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--fg-3);
  text-decoration: line-through;
  display: block;
  margin-top: 1px;
}

.ticket__val--muted {
  color: var(--fg-2);
}

/* Perforación del tiquete */
.ticket__perf {
  position: relative;
  height: 0;
  border-top: 1px dashed var(--line-2);
  margin: 0.9rem -0.95rem;
}

.ticket__perf::before,
.ticket__perf::after {
  content: "";
  position: absolute;
  top: -5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ink);
  border: 1px solid var(--line-2);
}

.ticket__perf::before {
  left: -5px;
}

.ticket__perf::after {
  right: -5px;
}

.ticket__total {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
}

.ticket__total-label {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-3);
  display: block;
}

.ticket__total-value {
  font-family: var(--font-mono);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--lime);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  display: block;
  margin-top: 2px;
}

.ticket__total-alt {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-variant-numeric: tabular-nums;
  color: var(--fg-3);
  text-align: right;
  line-height: 1.5;
}

.ticket__code {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.1em;
  color: var(--fg-3);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0.1rem 0.3rem;
  margin-top: 0.35rem;
}

/* Código de barras decorativo, generado con gradientes */
.barcode {
  height: 16px;
  margin-top: 0.75rem;
  opacity: 0.22;
  background-image: repeating-linear-gradient(
    90deg,
    var(--fg) 0 1px,
    transparent 1px 3px,
    var(--fg) 3px 5px,
    transparent 5px 6px,
    var(--fg) 6px 7px,
    transparent 7px 11px
  );
}

/* Formulario */
.form {
  padding: 0.9rem;
  border-top: 1px solid var(--line);
}

.form__row + .form__row {
  margin-top: 0.9rem;
}

.field__label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-2);
}

.field__meta {
  color: var(--fg-3);
  letter-spacing: 0.06em;
  font-size: 0.5625rem;
}

.field__help {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  margin-top: 0.4rem;
  font-size: 0.6875rem;
  line-height: 1.5;
  color: var(--fg-3);
}

.field__help .ico {
  color: var(--lime);
  font-size: 12px;
  margin-top: 2px;
}

.link-quiet {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lime);
  border-bottom: 1px solid var(--lime-28);
  padding-bottom: 1px;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: border-color 0.16s var(--ease);
}

.link-quiet:hover {
  border-bottom-color: var(--lime);
}

.input {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--line-2);
  border-radius: var(--r-3);
  background: var(--ink);
  padding: 0 0.6rem 0 0.7rem;
  transition: border-color 0.16s var(--ease), box-shadow 0.16s var(--ease);
}

.input:focus-within {
  border-color: var(--lime);
  box-shadow: 0 0 0 3px var(--lime-14);
}

.input__icon {
  color: var(--fg-3);
  font-size: 15px;
}

.input input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0.7rem 0;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg);
  outline: none;
  letter-spacing: 0.02em;
}

.input input::placeholder {
  color: var(--fg-3);
  font-weight: 400;
  letter-spacing: 0;
}

.input__btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.3rem 0.4rem;
  border: 1px solid var(--line);
  border-radius: var(--r-1);
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-2);
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease);
}

.input__btn:hover {
  color: var(--lime);
  border-color: var(--lime-28);
}

.input.is-invalid {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(255, 106, 85, 0.12);
  animation: nudge 0.4s var(--ease);
}

.error {
  display: none;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.4rem;
  font-size: 0.6875rem;
  line-height: 1.4;
  color: var(--danger);
}

.error.is-visible {
  display: flex;
}

/* Cupón de descuento */
.coupon-box {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.coupon-msg {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  line-height: 1.4;
  padding: 0.15rem 0.1rem;
}

.coupon-msg.is-success {
  color: var(--lime);
}

.coupon-msg.is-error {
  color: var(--danger);
}

.coupon-active {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  background: var(--bg-1);
  border: 1px solid var(--lime-45);
  border-radius: var(--r-sm);
  padding: 0.4rem 0.6rem;
}

.coupon-active__info {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  color: var(--lime);
}

.coupon-active__code {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--fg-0);
  letter-spacing: 0.04em;
}

.coupon-active__badge {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  font-weight: 700;
  color: var(--bg-0);
  background: var(--lime);
  padding: 0.1rem 0.35rem;
  border-radius: var(--r-xs);
  letter-spacing: 0.04em;
}

.coupon-active__remove {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  background: transparent;
  border: 0;
  color: var(--fg-3);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  cursor: pointer;
  padding: 0.2rem 0.3rem;
  border-radius: var(--r-xs);
  transition: color 0.16s var(--ease);
}

.coupon-active__remove:hover {
  color: var(--danger);
}

/* Métodos de pago */
.pay-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.3rem;
}

.pay {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  cursor: pointer;
  transition: border-color 0.16s var(--ease), background-color 0.16s var(--ease);
}

.pay:hover {
  border-color: var(--line-3);
}

/* El radio real está oculto: el foco debe verse en la tarjeta */
.pay:focus-within {
  border-color: var(--lime);
  box-shadow: 0 0 0 3px var(--lime-14);
}

.pay[data-selected="true"] {
  border-color: var(--lime-45);
  background: var(--lime-08);
}

.pay__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex: none;
  background: var(--dot, var(--fg-3));
}

.pay__dot[data-pay="nequi"] {
  --dot: #a855f7;
}

.pay__dot[data-pay="breb"] {
  --dot: #4d84ff;
}

.pay__dot[data-pay="binance"] {
  --dot: #f0b90b;
}

.pay__dot[data-pay="paypal"] {
  --dot: #4d84ff;
}

.pay__dot[data-pay="remitly"] {
  --dot: #10b981;
}

.pay__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.pay__name {
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--fg-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pay[data-selected="true"] .pay__name {
  color: var(--fg);
}

.pay__meta {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg-3);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pay--wide {
  grid-column: span 2;
}

.hint {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  margin-top: 0.5rem;
  padding: 0.45rem 0.55rem;
  border: 1px solid var(--line);
  border-left: 2px solid var(--line-3);
  border-radius: var(--r-1);
  background: var(--ink-soft);
  font-size: 0.6875rem;
  line-height: 1.5;
  color: var(--fg-2);
}

.hint .ico {
  color: var(--lime);
  font-size: 12px;
  margin-top: 2px;
}

/* Línea de WhatsApp */
.line-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  width: 100%;
  padding: 0.55rem 0.6rem;
  border: 1px solid var(--line-2);
  border-radius: var(--r-2);
  background: var(--ink-soft);
  transition: border-color 0.16s var(--ease);
}

.line-card[data-selected="true"] {
  border-color: var(--lime-45);
}

.line-card:hover {
  border-color: var(--line-3);
}

.line-card__left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.line-card__icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: var(--r-1);
  background: var(--lime-14);
  color: var(--lime);
  font-size: 14px;
}

.line-card__num {
  font-family: var(--font-mono);
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--fg);
  line-height: 1.2;
  white-space: nowrap;
}

.line-card__sub {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-3);
  line-height: 1.3;
  display: block;
  margin-top: 1px;
}

.line-card__state {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lime);
  white-space: nowrap;
}

.line-card__state i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--lime);
}

/* CTA principal */
.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.85rem 1rem;
  min-height: 48px;
  border-radius: var(--r-3);
  background: var(--lime);
  color: var(--lime-ink);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background-color 0.16s var(--ease), transform 0.16s var(--ease);
}

.cta:hover {
  background: #c9ff58;
}

.cta:active {
  transform: translateY(1px);
}

.cta .ico {
  font-size: 16px;
  transition: transform 0.2s var(--ease);
}

.cta:hover .ico {
  transform: translateX(3px);
}

.cta__note {
  margin-top: 0.5rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-3);
}

/* 11. Pasos del proceso ----------------------------------------------------- */
.steps {
  display: grid;
  border-top: 1px solid var(--line);
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}

.step__num {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--lime);
  padding-top: 2px;
}

.step__title {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.step__desc {
  margin-top: 2px;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--fg-2);
}

/* 12. Registro de entregas -------------------------------------------------- */
.log {
  border: 1px solid var(--line);
  border-radius: var(--r-4);
  overflow: hidden;
  background: var(--surface);
}

.log__head {
  display: none;
  gap: 0.6rem;
  padding: 0.45rem 0.7rem;
  border-bottom: 1px solid var(--line);
  background: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-3);
}

.log__head span:last-child {
  text-align: right;
}

.log__row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) minmax(0, 1.15fr) auto;
  gap: 0.5rem;
  align-items: center;
  padding: 0.55rem 0.7rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.log__row:last-child {
  border-bottom: 0;
}

.log__row--new {
  animation: slideIn 0.45s var(--ease);
}

.log__time {
  color: var(--fg-3);
  font-variant-numeric: tabular-nums;
}

.log__name {
  color: var(--fg);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.log__item {
  color: var(--fg-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.log__state {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.3rem;
  color: var(--lime);
  font-size: 0.5625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.log__state span {
  display: none;
}

.log__state .ico {
  font-size: 12px;
}

@media (min-width: 560px) {
  .log__head {
    display: grid;
    grid-template-columns: 52px minmax(0, 0.85fr) minmax(0, 1.2fr) auto;
  }

  .log__row {
    grid-template-columns: 52px minmax(0, 0.85fr) minmax(0, 1.2fr) auto;
    font-size: 0.6875rem;
    padding-inline: 0.7rem;
  }

  .log__state span {
    display: inline;
  }
}

/* 13. Opiniones ------------------------------------------------------------- */
.quotes {
  display: grid;
  border: 1px solid var(--line);
  border-radius: var(--r-4);
  overflow: hidden;
  background: var(--surface);
}

.quote {
  padding: 1rem;
  border-bottom: 1px solid var(--line);
}

.quote:last-child {
  border-bottom: 0;
}

.quote__text {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--fg);
  letter-spacing: -0.005em;
}

.quote__text::before {
  content: "“";
  color: var(--lime);
  font-size: 1.1em;
  line-height: 0;
  margin-right: 1px;
}

.quote__text::after {
  content: "”";
  color: var(--lime);
  font-size: 1.1em;
  line-height: 0;
}

.quote__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.75rem;
  padding-top: 0.6rem;
  border-top: 1px solid var(--line);
}

.quote__who {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-2);
  line-height: 1.5;
}

.quote__who b {
  color: var(--fg);
  letter-spacing: 0.08em;
}

.quote__who span {
  display: block;
  color: var(--fg-3);
  letter-spacing: 0.04em;
  text-transform: none;
}

.quote__stars {
  display: inline-flex;
  gap: 2px;
  color: var(--lime);
  font-size: 11px;
}

/* 14. Preguntas frecuentes -------------------------------------------------- */
.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 0;
  cursor: pointer;
  list-style: none;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--fg);
  transition: color 0.16s var(--ease);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary:hover {
  color: var(--lime);
}

.faq__num {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.06em;
  color: var(--fg-3);
  flex: none;
}

.faq summary .ico {
  margin-left: auto;
  font-size: 14px;
  color: var(--fg-3);
  transition: transform 0.22s var(--ease), color 0.16s var(--ease);
}

.faq details[open] summary .ico {
  transform: rotate(180deg);
  color: var(--lime);
}

.faq__body {
  padding: 0 0 0.95rem 1.55rem;
  font-size: 0.8125rem;
  line-height: 1.65;
  color: var(--fg-2);
  max-width: 62ch;
}

.faq__body strong {
  color: var(--fg);
}

/* 15. Pie de página --------------------------------------------------------- */
.footer {
  border-top: 1px solid var(--line);
  background: var(--ink-soft);
  padding-block: 2rem 2.5rem;
}

.footer__top {
  display: grid;
  gap: 1.5rem;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}

.footer__brand img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
}

.footer__brandname {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer__legal {
  font-size: 0.6875rem;
  line-height: 1.6;
  color: var(--fg-3);
  max-width: 46ch;
}

.footer__legal + .footer__legal {
  margin-top: 0.5rem;
}

.footer__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem 1.5rem;
  align-content: start;
}

.footer__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding-block: 0.3rem;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-2);
  border-bottom: 1px solid transparent;
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease);
  width: fit-content;
}

.footer__link:hover {
  color: var(--lime);
  border-bottom-color: var(--lime-28);
}

.footer__link .ico {
  font-size: 13px;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-3);
}

/* 16. Barra fija móvil ------------------------------------------------------ */
.mobilebar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 60;
  background: rgba(11, 13, 16, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line-2);
  padding: 0.5rem var(--gutter) calc(0.5rem + env(safe-area-inset-bottom));
}

.mobilebar__inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 560px;
  margin-inline: auto;
}

.mobilebar__info {
  min-width: 0;
  flex: 1;
}

.mobilebar__game {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mobilebar__game i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  flex: none;
}

.mobilebar__price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-top: 1px;
}

.mobilebar__main {
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  white-space: nowrap;
}

.mobilebar__alt {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  color: var(--fg-3);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.mobilebar .cta {
  width: auto;
  flex: none;
  padding-inline: 0.85rem;
  font-size: 0.6875rem;
}

/* 17. Modal ----------------------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  background: rgba(4, 5, 6, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.modal.is-open {
  display: flex;
}

.modal__panel {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: 88dvh;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-4) var(--r-4) 0 0;
  padding: 1.1rem;
  animation: sheetUp 0.28s var(--ease);
}

.modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0.85rem;
}

.modal__title {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  line-height: 1.2;
}

.modal__kicker {
  display: block;
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
}

.modal__close {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  color: var(--fg-2);
  font-size: 15px;
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease);
}

.modal__close:hover {
  color: var(--fg);
  border-color: var(--line-3);
}

.guide {
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  background: var(--ink);
  padding: 0.75rem;
  margin-bottom: 0.75rem;
}

.guide__lead {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 0.5rem;
}

.guide ol {
  display: grid;
  gap: 0.45rem;
  counter-reset: guide;
}

.guide li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 0.5rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--fg-2);
  counter-increment: guide;
}

.guide li::before {
  content: counter(guide, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  color: var(--fg-3);
  padding-top: 3px;
}

.guide li strong {
  color: var(--fg);
}

.modal__note {
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--fg-3);
  margin-bottom: 1rem;
}

/* 17b. Aviso flotante de actividad ---------------------------------------- */
.toast {
  position: fixed;
  left: max(0.75rem, env(safe-area-inset-left));
  bottom: calc(84px + env(safe-area-inset-bottom));
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  max-width: min(310px, calc(100vw - 1.5rem));
  padding: 0.55rem 0.7rem;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  border-left: 2px solid var(--lime);
  border-radius: var(--r-3);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.55);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.toast__icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: none;
  border-radius: var(--r-1);
  background: var(--lime-14);
  color: var(--lime);
  font-size: 12px;
}

.toast__body {
  min-width: 0;
}

.toast__title {
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--fg);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.toast__desc {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-3);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 1040px) {
  .toast {
    left: 1.25rem;
    bottom: 1.25rem;
  }
}

/* 18. Movimiento y responsive ---------------------------------------------- */
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes breathe {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.85);
  }
}

@keyframes nudge {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-4px);
  }
  75% {
    transform: translateX(4px);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sheetUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__inner > * {
  animation: riseIn 0.6s var(--ease) both;
}

.hero__inner > *:nth-child(2) {
  animation-delay: 0.08s;
}

/* Espacio para la barra fija móvil */
body {
  padding-bottom: calc(78px + env(safe-area-inset-bottom));
}

@media (min-width: 640px) {
  .quotes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quote {
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }

  .quote:last-child {
    border-right: 0;
  }

  .footer__top {
    grid-template-columns: 1.4fr 1fr;
    gap: 2.5rem;
  }

  .footer__nav {
    justify-content: end;
  }
}

@media (min-width: 900px) {
  :root {
    --nav-h: 64px;
    --chrome-h: 72px;
    --fs-body: 1rem;
  }

  .topnav {
    display: flex;
  }

  .brand__name {
    font-size: 0.8125rem;
  }

  .hero__inner {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: end;
    gap: 3rem;
  }

  .hero h1 {
    max-width: 12ch;
  }

  .hero__sub {
    font-size: 0.9375rem;
    margin-top: 0;
  }

  .hero__aside {
    padding-bottom: 2px;
  }

  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-bottom: 1px solid var(--line);
  }

  .step {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 1.1rem 1.25rem 1.25rem 0;
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }

  .step:last-child {
    border-right: 0;
  }

  .step:not(:first-child) {
    padding-left: 1.25rem;
  }

  .step__num {
    padding-top: 0;
  }

  .modal {
    align-items: center;
    padding: 1.5rem;
  }

  .modal__panel {
    border-radius: var(--r-4);
    padding: 1.25rem;
  }
}

@media (min-width: 1040px) {
  .workbench {
    grid-template-columns: minmax(0, 1fr) 372px;
    column-gap: clamp(2rem, 3.5vw, 3.25rem);
    align-items: start;
  }

  .workbench__rail {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: start;
  }

  .workbench__bottom {
    grid-column: 1;
  }

  .rail {
    position: sticky;
    top: calc(var(--chrome-h) + 12px);
    max-height: calc(100dvh - var(--chrome-h) - 24px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--line-3) transparent;
  }

  .mobilebar {
    display: none;
  }

  body {
    padding-bottom: 0;
  }

  .pkg {
    padding-block: 0.72rem;
  }

  .pkg__name {
    font-size: 0.9375rem;
  }

  .pkg__price {
    font-size: 0.875rem;
  }
}

/* En pantallas bajas el riel no se fija para no cortar el formulario */
@media (min-width: 1040px) and (max-height: 760px) {
  .rail {
    position: static;
    max-height: none;
    overflow: visible;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .strip__track {
    animation: none;
  }
}
