/* ============================================================
   MotOPS · landing
   Paleta de la marca: rojo sobre negro, con el amarillo de la
   placa colombiana como acento. Tipografía: la de la aplicación
   (IBM Plex) + una condensada pesada para los titulares.
   ============================================================ */

:root {
  --negro: #0b0c0e;
  --grafito: #15171a;
  --panel: #1b1e22;
  --panel-2: #22262b;
  --linea: rgba(255, 255, 255, 0.09);
  --linea-fuerte: rgba(255, 255, 255, 0.18);
  --blanco: #f5f6f7;
  --apagado: #a1a7af;
  --rojo: #e11b22;
  --rojo-claro: #ef3b41;
  --placa: #f2c21a;
  --verde: #22a455;
  --ambar: #e8a33a;

  --display: 'Big Shoulders Display', 'Arial Narrow', Impact, sans-serif;
  --sans: 'IBM Plex Sans', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;

  --ancho: 1200px;
  --salida: cubic-bezier(0.2, 0, 0, 1);
  --resorte: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--negro);
  color: var(--blanco);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p, ul, ol, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }

:focus-visible { outline: 3px solid var(--rojo-claro); outline-offset: 3px; border-radius: 4px; }

.saltar {
  position: fixed; left: 1rem; top: -4rem; z-index: 200;
  background: var(--blanco); color: #000; padding: .6rem 1rem; border-radius: .5rem;
  transition: top .2s;
}
.saltar:focus { top: 1rem; }

.contenedor { width: 100%; max-width: var(--ancho); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.5rem); }
.angosto { max-width: 52rem; }
.centrado { text-align: center; }
.rojo { color: var(--rojo-claro); }

/* ------------------------------------------------------------
   Piezas comunes
   ------------------------------------------------------------ */
.etiqueta {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--mono); font-weight: 500; font-size: .78rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--apagado);
}
.etiqueta-roja { color: var(--rojo-claro); }
.punto {
  width: .55rem; height: .55rem; border-radius: 50%; background: var(--rojo);
  box-shadow: 0 0 0 0 rgba(225, 27, 34, .6); animation: pulso 2s infinite;
}
@keyframes pulso {
  70% { box-shadow: 0 0 0 .6rem rgba(225, 27, 34, 0); }
  100% { box-shadow: 0 0 0 0 rgba(225, 27, 34, 0); }
}

.titulo {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.5rem, 6.4vw, 4.9rem); line-height: .93; letter-spacing: .005em;
  margin-top: 1rem; text-wrap: balance;
}
.parrafo { color: var(--apagado); font-size: clamp(1.05rem, 1.6vw, 1.25rem); margin-top: 1.4rem; max-width: 40rem; }
.parrafo.fuerte { color: var(--blanco); font-weight: 600; }
.centrado .parrafo { margin-inline: auto; }

.btn {
  --h: 3rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  min-height: var(--h); padding: 0 1.4rem; border-radius: .6rem;
  font: 600 1rem/1 var(--sans); text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform .25s var(--resorte), background .2s, box-shadow .25s, border-color .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--salida); }
.btn:hover svg { transform: translateX(4px); }
.btn-rojo { background: var(--rojo); color: #fff; box-shadow: 0 0 0 0 rgba(225, 27, 34, .55), 0 10px 30px -10px rgba(225, 27, 34, .7); }
.btn-rojo:hover { background: var(--rojo-claro); box-shadow: 0 0 0 6px rgba(225, 27, 34, .18), 0 14px 40px -10px rgba(225, 27, 34, .9); }
.btn-fantasma { border-color: var(--linea-fuerte); color: var(--blanco); background: rgba(255, 255, 255, .03); }
.btn-fantasma:hover { border-color: var(--blanco); background: rgba(255, 255, 255, .08); }
.btn-chico { --h: 2.5rem; padding: 0 1.1rem; font-size: .92rem; }
.btn-grande { --h: 3.5rem; padding: 0 1.8rem; font-size: 1.05rem; }
.btn-enorme { --h: 4.4rem; padding: 0 2.4rem; font-size: clamp(1.05rem, 2.4vw, 1.4rem); border-radius: .8rem; }
.btn-enorme .ico-wa { width: 1.7rem; height: 1.7rem; }
.btn-enorme:hover .ico-wa { transform: none; }

/* La placa colombiana de moto: amarilla, letras negras, marco negro. */
.placa-fisica {
  display: inline-block; background: var(--placa); color: #000;
  border: .14em solid #000; border-radius: .22em; padding: .1em .4em;
  font-family: var(--mono); font-weight: 700; letter-spacing: .12em; text-indent: .12em;
  text-transform: uppercase; white-space: nowrap; line-height: 1.25;
  box-shadow: 0 0 0 .08em rgba(242, 194, 26, .0);
}
.placa-fisica.grande { font-size: 1.9em; }

.pill {
  display: inline-block; font: 600 .78em/1 var(--sans); padding: .32em .7em; border-radius: 99em; white-space: nowrap;
}
.pill.ok { background: #e3f5e9; color: #146c34; }
.pill.esp { background: #fdf0d9; color: #94560a; }

/* Aparición al bajar. Sin JavaScript todo se ve. */
.js .rev { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--salida), transform .8s var(--salida); }
.js .rev.vista { opacity: 1; transform: none; }
.js .bento .rev:nth-child(2n) { transition-delay: .08s; }
.js .bento .rev:nth-child(3n) { transition-delay: .16s; }

/* ------------------------------------------------------------
   Cabecera
   ------------------------------------------------------------ */
.cabecera {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: 4rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-inline: clamp(1.1rem, 4vw, 2.5rem);
  transition: background .3s, backdrop-filter .3s, border-color .3s; border-bottom: 1px solid transparent;
}
.cabecera.solida { background: rgba(11, 12, 14, .78); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-color: var(--linea); }
.logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.logo-gear { width: 1.9rem; height: 1.9rem; color: var(--rojo-claro); display: block; }
.logo-texto { font-family: var(--display); font-weight: 900; font-size: 1.7rem; letter-spacing: .02em; text-transform: uppercase; line-height: 1; }
.logo-texto b { color: var(--rojo-claro); font-weight: 900; }
.menu { display: none; gap: 2rem; }
.menu a { text-decoration: none; font-size: .95rem; color: var(--apagado); transition: color .2s; }
.menu a:hover { color: var(--blanco); }
@media (min-width: 900px) { .menu { display: flex; } }

/* ------------------------------------------------------------
   Engranajes (decoración)
   ------------------------------------------------------------ */
.gear-gigante { position: absolute; pointer-events: none; will-change: transform; transform: rotate(var(--rot, 0deg)); }
.gear-gigante svg, [data-gear] svg { width: 100%; height: 100%; }

/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; padding-top: 5.5rem; isolation: isolate; }
.hero-fondo { position: absolute; inset: 0; z-index: -1; }
.g1 { width: min(95vmin, 880px); aspect-ratio: 1; right: -22vmin; top: -14vmin; color: rgba(225, 27, 34, .2); }
.g2 { width: min(60vmin, 560px); aspect-ratio: 1; right: min(52vmin, 480px); top: 38vmin; color: rgba(255, 255, 255, .055); }
.rejilla {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--linea) 1px, transparent 1px), linear-gradient(90deg, var(--linea) 1px, transparent 1px);
  background-size: 64px 64px; opacity: .55;
  mask-image: radial-gradient(70% 60% at 30% 40%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(70% 60% at 30% 40%, #000 20%, transparent 80%);
}
.viñeta { position: absolute; inset: 0; background: radial-gradient(120% 90% at 20% 30%, transparent 30%, var(--negro) 90%); }

.hero-grid {
  display: grid; gap: 2.5rem; align-items: center; width: 100%; max-width: 1360px; margin-inline: auto;
  padding: 1.5rem clamp(1.1rem, 4vw, 2.5rem) 3rem;
}
@media (min-width: 1000px) { .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: 3rem; } }

.titular {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(3.7rem, 15.5vw, 6.6rem); line-height: .86; letter-spacing: .004em; margin-top: 1.4rem;
}
@media (min-width: 1000px) { .titular { font-size: clamp(4.4rem, 7.9vw, 8.6rem); } }
.titular .linea { display: block; overflow: hidden; padding-bottom: .06em; }
.titular .linea > span { display: block; transform: translateY(105%); animation: sube 1s var(--salida) forwards; }
.titular .linea:nth-child(2) > span { animation-delay: .12s; }
.titular .linea:nth-child(3) > span { animation-delay: .24s; }
@keyframes sube { to { transform: none; } }
.tachado { font-style: normal; color: var(--rojo-claro); position: relative; display: inline-block; }
.tachado::after {
  content: ''; position: absolute; left: -2%; right: -2%; top: 54%; height: .09em; background: var(--blanco);
  transform: scaleX(0); transform-origin: left; animation: raya .6s .9s var(--salida) forwards; box-shadow: 0 0 22px rgba(255, 255, 255, .5);
}
@keyframes raya { to { transform: scaleX(1); } }

.bajada { margin-top: 1.7rem; max-width: 33rem; font-size: clamp(1.1rem, 1.9vw, 1.35rem); color: #d3d7dc; }
.bajada strong { color: var(--blanco); }
.acciones { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.garantias { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin-top: 1.6rem; color: var(--apagado); font-size: .92rem; }
.garantias li { display: flex; align-items: center; gap: .5rem; }
.garantias li::before { content: ''; width: .45rem; height: .45rem; background: var(--placa); border-radius: 50%; }

.hero-texto > * { animation: aparece .9s var(--salida) backwards; }
.hero-texto > .etiqueta { animation-delay: .05s; }
.hero-texto > .bajada { animation-delay: .45s; }
.hero-texto > .acciones { animation-delay: .6s; }
.hero-texto > .garantias { animation-delay: .75s; }
@keyframes aparece { from { opacity: 0; transform: translateY(18px); } }

/* ---- Tablero en vivo ---- */
.hero-demo { animation: aparece 1.1s .35s var(--salida) backwards; }
.demo-marco { position: relative; container-type: inline-size; max-width: 760px; margin-inline: auto; perspective: 1500px; }
.tablero {
  font-size: 2.05cqw; position: relative; height: 31em;
  background: #f5f6f7; color: #1c2024; border-radius: 1.1em; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .25);
  box-shadow: 0 3em 6em -1.5em rgba(0, 0, 0, .9), 0 0 0 .5em rgba(255, 255, 255, .04), 0 0 9em -1em rgba(225, 27, 34, .35);
  transform: rotateY(-9deg) rotateX(4deg); transform-style: preserve-3d; transition: transform .8s var(--salida);
}
@media (hover: hover) { .demo-marco:hover .tablero { transform: rotateY(-2deg) rotateX(1deg); } }
@media (max-width: 999px) { .tablero { transform: none; } }
.tab-barra { display: flex; align-items: center; gap: .9em; height: 3em; padding: 0 1em; background: #15171a; color: #a1a7af; font: 500 .8em var(--mono); }
.tab-luces { display: flex; gap: .4em; }
.tab-luces i { width: .75em; height: .75em; border-radius: 50%; background: #3a3f45; }
.tab-luces i:first-child { background: var(--rojo); }
.tab-url { flex: 1; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tab-vivo { display: flex; align-items: center; gap: .45em; color: #5fd68a; }
.tab-vivo i { width: .6em; height: .6em; border-radius: 50%; background: #5fd68a; animation: parpadeo 1.4s infinite; }
@keyframes parpadeo { 50% { opacity: .25; } }
.tab-cols { position: absolute; inset: 3em 0 0 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.tab-col { border-right: 1px solid #dde0e4; padding: .8em .6em; }
.tab-col:last-child { border-right: 0; }
.tab-col h4 { font: 600 .74em/1.2 var(--sans); text-transform: uppercase; letter-spacing: .04em; color: #60656c; }
.tab-col:nth-child(4) { background: linear-gradient(180deg, #fdf3e3, transparent 60%); }
.tab-col:nth-child(5) { background: linear-gradient(180deg, #e9f6ec, transparent 60%); }
.tab-tarjetas { position: absolute; inset: 3em 0 0 0; }

.moto {
  position: absolute; left: calc(var(--col) * 20% + .45em); top: calc(3.2em + var(--row) * 6em); width: calc(20% - .9em);
  background: #fff; border: 1px solid #d7dbdf; border-left: .3em solid #2563a8; border-radius: .55em; padding: .55em .6em .6em;
  box-shadow: 0 .15em .5em -.15em rgba(16, 24, 40, .2);
  transition: left .9s var(--resorte), top .7s var(--salida), opacity .5s, transform .5s var(--salida), border-color .3s, box-shadow .3s;
  animation: entra-moto .6s var(--salida) backwards;
}
@keyframes entra-moto { from { opacity: 0; transform: translateY(1em) scale(.94); } }
.moto.sale { opacity: 0; transform: translateX(1em) scale(.9); }
.moto.aprob { border-left-color: var(--ambar); box-shadow: 0 0 0 .2em rgba(232, 163, 58, .22), 0 .15em .5em -.15em rgba(16, 24, 40, .2); }
.moto.lista { border-left-color: var(--verde); }
.moto .placa-fisica { font-size: .92em; }
.moto .m-modelo { display: block; margin-top: .4em; font-size: .78em; font-weight: 600; color: #1c2024; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.moto .m-pie { display: flex; align-items: center; justify-content: space-between; margin-top: .35em; font-size: .68em; color: #60656c; }
.moto .m-tipo { background: #e8f0f9; color: #2563a8; border-radius: 99em; padding: .15em .6em; font-weight: 600; }
.moto.aprob .m-tipo { background: #fdf3e3; color: #94560a; }
.moto.lista .m-tipo { background: #e9f6ec; color: #146c34; }

.avisos { position: absolute; right: -.5em; bottom: -1.4em; display: flex; flex-direction: column; gap: .6em; align-items: flex-end; font-size: 2.05cqw; z-index: 3; pointer-events: none; }
.aviso {
  display: flex; align-items: center; gap: .7em; background: rgba(21, 23, 26, .96); border: 1px solid var(--linea-fuerte);
  color: var(--blanco); font: 500 .85em/1.3 var(--sans); padding: .7em 1em; border-radius: .8em; box-shadow: 0 1em 2.5em -.5em rgba(0, 0, 0, .8);
  animation: aviso-entra .5s var(--resorte) backwards; transition: opacity .4s, transform .4s;
}
.aviso.fuera { opacity: 0; transform: translateY(.6em); }
.aviso i { width: 1.7em; height: 1.7em; border-radius: 50%; background: var(--verde); display: grid; place-items: center; flex: none; }
.aviso i svg { width: 1em; height: 1em; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.aviso.amb i { background: var(--ambar); }
@keyframes aviso-entra { from { opacity: 0; transform: translateY(1em) scale(.9); } }

/* ---- Cinta ---- */
.cinta { border-block: 1px solid var(--linea); background: rgba(11, 12, 14, .7); overflow: hidden; white-space: nowrap; transform: skewY(-1.2deg); margin-bottom: 1.2rem; }
.cinta-pista { display: inline-flex; align-items: center; gap: 1.6rem; padding: .85rem 0; animation: cinta 38s linear infinite; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.5rem; letter-spacing: .06em; color: var(--blanco); }
.cinta-pista span:nth-of-type(odd) { color: var(--apagado); }
.cinta-pista i { width: .9rem; height: .9rem; background: var(--rojo); transform: rotate(45deg); flex: none; }
@keyframes cinta { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------
   Secciones
   ------------------------------------------------------------ */
.seccion { padding-block: clamp(4.5rem, 10vw, 8rem); position: relative; }
.dos-col { display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
@media (min-width: 900px) { .dos-col { grid-template-columns: 1fr 1fr; } .dos-col.invertido > :first-child { order: 0; } }

/* Problema: el celular que no para */
.problema { background: linear-gradient(180deg, var(--negro), var(--grafito)); overflow: hidden; }
.solo-lector { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.contador-caos { display: flex; align-items: center; gap: 1.1rem; margin-top: 2.2rem; }
.contador-caos b { font-family: var(--display); font-weight: 900; font-size: clamp(5.5rem, 17vw, 10rem); line-height: .78; color: var(--rojo-claro); text-shadow: 0 0 3.5rem rgba(225, 27, 34, .7); font-variant-numeric: tabular-nums; min-width: 1.5ch; transition: color .4s, text-shadow .4s; }
.contador-caos span { font: 500 .85rem/1.35 var(--mono); text-transform: uppercase; letter-spacing: .16em; color: var(--apagado); }
.contador-caos.sube b { animation: golpe .26s var(--salida); }
.contador-caos.ok b { color: #5fd68a; text-shadow: 0 0 3.5rem rgba(34, 164, 85, .7); }
@keyframes golpe { 40% { transform: scale(1.14) rotate(-1.5deg); } }

.caos { container-type: inline-size; max-width: 21.5rem; width: 100%; margin-inline: auto; position: relative; }
.caos-tel {
  font-size: 4.5cqw; aspect-ratio: 9 / 18.4; border-radius: 3.1em; padding: .55em; position: relative;
  background: linear-gradient(160deg, #3a3f46, #15171a);
  box-shadow: 0 0 0 1px var(--linea-fuerte), 0 4em 7em -2em rgba(0, 0, 0, .95), 0 0 10em -2em rgba(225, 27, 34, .55);
  transform: rotate(3deg);
}
.caos-tel.vibra { animation: vibra .3s linear; }
@keyframes vibra {
  0%, 100% { transform: rotate(3deg) translate(0, 0); }
  20% { transform: rotate(2deg) translate(-.45em, .12em); }
  40% { transform: rotate(4deg) translate(.45em, -.12em); }
  60% { transform: rotate(2.4deg) translate(-.3em, .08em); }
  80% { transform: rotate(3.4deg) translate(.25em, 0); }
}
.caos-notch { position: absolute; top: 1.25em; left: 50%; width: 6em; height: 1.45em; background: #000; border-radius: 1em; transform: translateX(-50%); z-index: 5; }
.caos-pantalla { position: relative; height: 100%; border-radius: 2.6em; overflow: hidden; background: radial-gradient(120% 70% at 50% 0%, #4a161b, #0d0e10 68%); }

.bloqueo { position: absolute; inset: 0; padding: 3.7em .9em 1em; display: flex; flex-direction: column; gap: .35em; transition: opacity .25s; }
.bq-sinleer { position: absolute; top: 1.15em; right: 1.2em; z-index: 6; min-width: 2.1em; height: 2.1em; padding: 0 .55em; display: grid; place-items: center; border-radius: 99em; background: var(--rojo); font: 700 .8em var(--sans); box-shadow: 0 0 1.4em rgba(225, 27, 34, .8); opacity: 0; transform: scale(.4); transition: opacity .2s, transform .3s var(--resorte); }
.bq-sinleer.on { opacity: 1; transform: none; }
.bq-hora { font-family: var(--display); font-weight: 800; font-size: 4.6em; line-height: .88; text-align: center; letter-spacing: .01em; }
.bq-dia { text-align: center; color: var(--apagado); font-size: .82em; margin-bottom: .5em; }
.bq-lista { display: flex; flex-direction: column; gap: .45em; flex: 1; min-height: 0; overflow: hidden; }
.notif { display: grid; grid-template-columns: auto 1fr auto; gap: .6em; align-items: start; padding: .6em .7em; border-radius: 1em; background: rgba(38, 42, 48, .94); border: 1px solid rgba(255, 255, 255, .09); font-size: .8em; line-height: 1.25; flex: none;
  animation: cae .55s var(--resorte) backwards; box-shadow: 0 .4em 1em -.4em rgba(0, 0, 0, .8); }
@keyframes cae { from { opacity: 0; transform: translateY(-140%) scale(.9); } }
.notif b { display: block; font-weight: 600; font-size: .95em; }
.notif .t { color: #c8cdd3; display: block; }
.notif time { color: var(--apagado); font-size: .75em; white-space: nowrap; }
.notif-ico { width: 2.1em; height: 2.1em; border-radius: .6em; background: var(--c, #2563a8); display: grid; place-items: center; font: 700 .9em var(--sans); }
.notif.sale { animation: barrida .3s var(--salida) forwards; }
@keyframes barrida { to { opacity: 0; transform: translateX(110%); height: 0; padding-block: 0; margin: 0; } }
.bq-mas { align-self: center; padding: .4em 1em; border-radius: 99em; background: rgba(225, 27, 34, .25); border: 1px solid rgba(239, 59, 65, .6); font-size: .78em; font-weight: 600; color: #ffb3b6; }
.bq-mas[hidden] { display: none; }
.bq-mas b { font-family: var(--mono); }

.orden { position: absolute; inset: 0; padding: 3.6em .9em .9em; background: #f5f6f7; color: #1c2024; display: flex; flex-direction: column; gap: .7em; opacity: 0; pointer-events: none; transition: opacity .2s; }
.caos.fin .orden { opacity: 1; }
.caos.fin .bloqueo { opacity: 0; }
.or-cab { display: flex; justify-content: space-between; align-items: center; font-size: .8em; }
.or-logo { font-family: var(--display); font-weight: 900; font-size: 1.7em; text-transform: uppercase; line-height: 1; }
.or-logo b { color: var(--rojo); }
.or-hoy { color: #60656c; font-weight: 600; }
.or-lista { display: flex; flex-direction: column; gap: .45em; }
.or-lista li { display: grid; grid-template-columns: auto 1fr; gap: .65em; align-items: start; padding: .55em .65em; border-radius: .75em; background: #fff; border: 1px solid #e1e4e7; font-size: .76em; line-height: 1.25; opacity: .38; transform: translateX(.6em); transition: opacity .4s var(--salida), transform .4s var(--salida), border-color .3s, background .3s; }
.or-lista li .q { display: block; color: #7b828a; text-decoration: line-through; text-decoration-color: rgba(185, 28, 28, .6); }
.or-lista li .a { display: block; font-weight: 600; margin-top: .1em; }
.or-lista .chk { width: 1.7em; height: 1.7em; border-radius: 50%; border: .16em solid #cfd4d9; display: grid; place-items: center; background: #fff; transition: background .3s, border-color .3s; }
.or-lista .chk svg { width: 1em; height: 1em; fill: none; stroke: #fff; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 26; stroke-dashoffset: 26; transition: stroke-dashoffset .45s .1s var(--salida); }
.or-lista li.ok { opacity: 1; transform: none; border-color: #bfe3cb; background: #f2fbf5; }
.or-lista li.ok .chk { background: var(--verde); border-color: var(--verde); }
.or-lista li.ok .chk svg { stroke-dashoffset: 0; }
.or-final { margin-top: auto; text-align: center; background: var(--rojo); color: #fff; font-weight: 700; font-size: .95em; border-radius: .8em; padding: .8em; opacity: 0; transform: scale(.9); transition: opacity .4s, transform .5s var(--resorte); box-shadow: 0 .6em 1.6em -.4em rgba(225, 27, 34, .7); }
.caos.completo .or-final { opacity: 1; transform: none; }

/* El cortocircuito entre el caos y el orden. */
.caos-pantalla.corto { animation: corto .72s steps(2, end); }
@keyframes corto {
  0% { transform: none; filter: none; }
  10% { transform: translateX(-6%) skewX(9deg); filter: hue-rotate(120deg) saturate(3); }
  22% { transform: translateX(7%); filter: invert(1); }
  32% { transform: translateX(-3%) scaleY(1.05); filter: none; }
  44% { transform: translateX(5%) skewX(-7deg); filter: brightness(2.4); }
  58% { transform: none; filter: hue-rotate(-90deg); }
  72% { transform: translateX(-2%); filter: invert(.7); }
  100% { transform: none; filter: none; }
}
.glitch { position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: 0; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .2) 0 2px, transparent 2px 7px), linear-gradient(90deg, rgba(255, 0, 60, .3), transparent 40%, rgba(0, 200, 255, .25)); mix-blend-mode: screen; }
.corto .glitch { animation: ruido .72s steps(3, end); }
@keyframes ruido { 0%, 100% { opacity: 0; } 20% { opacity: 1; } 50% { opacity: .35; } 80% { opacity: .9; } }

.repetir { display: block; margin: 1.2rem auto 0; padding: .6rem 1.1rem; min-height: 2.75rem; border-radius: 99em; background: transparent; color: var(--apagado); border: 1px solid var(--linea-fuerte); font: 500 .92rem var(--sans); cursor: pointer; transition: color .2s, border-color .2s; }
.repetir:hover { color: var(--blanco); border-color: var(--blanco); }
.repetir[hidden] { display: none; }

/* ------------------------------------------------------------
   Recorrido
   ------------------------------------------------------------ */
.recorrido { padding-block: clamp(4rem, 8vw, 7rem) clamp(2rem, 4vw, 4rem); background: var(--grafito); position: relative; }
.recorrido-cab { margin-bottom: clamp(2rem, 5vw, 4rem); }
.recorrido-grid { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 900px) { .recorrido-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; } }

.recorrido-visor { container-type: inline-size; position: sticky; top: 4.6rem; z-index: 5; max-width: 30rem; width: 100%; margin-inline: auto; }
@media (min-width: 900px) { .recorrido-visor { top: 6.5rem; max-width: 34rem; margin: 0 auto; } }

.dispositivo {
  font-size: 3.55cqw; height: 31em; position: relative; border-radius: 1.4em; overflow: hidden;
  background: #fff; color: #1c2024; border: .5em solid #26292e;
  box-shadow: 0 0 0 1px var(--linea-fuerte), 0 3em 6em -2em rgba(0, 0, 0, .9), 0 0 8em -2em rgba(225, 27, 34, .45);
}
.disp-barra { display: flex; align-items: center; justify-content: space-between; height: 2.9em; padding: 0 1.1em; background: #15171a; color: #fff; font: 600 .9em var(--sans); }
.disp-paso { font: 500 .85em var(--mono); color: #ef3b41; }
.pantalla { position: absolute; inset: 2.9em 0 0 0; padding: 1.1em 1.2em; display: flex; flex-direction: column; gap: .85em; opacity: 0; transform: translateY(1.2em); transition: opacity .5s var(--salida), transform .5s var(--salida); pointer-events: none; }
.dispositivo[data-paso='1'] [data-pantalla='1'],
.dispositivo[data-paso='2'] [data-pantalla='2'],
.dispositivo[data-paso='3'] [data-pantalla='3'],
.dispositivo[data-paso='4'] [data-pantalla='4'],
.dispositivo[data-paso='5'] [data-pantalla='5'] { opacity: 1; transform: none; }

.pantalla .campo { display: flex; flex-direction: column; gap: .35em; align-items: flex-start; }
.pantalla label { font: 600 .72em/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: #60656c; }
.pantalla .placa-fisica { font-size: 1.5em; }
.fila2 { display: grid; grid-template-columns: 1fr 1fr; gap: .8em; }
.fila2 .campo { align-items: stretch; }
.input { border: 1px solid #d7dbdf; border-radius: .5em; padding: .55em .7em; font-size: .95em; background: #fafbfb; }
.num { font-variant-numeric: tabular-nums; }
.fotos { display: flex; gap: .5em; align-self: stretch; }
.fotos span { flex: 1; height: 3.6em; border-radius: .5em; background: linear-gradient(135deg, #e4e7ea, #cfd4d9); display: grid; place-items: center; }
.fotos svg { width: 1.5em; height: 1.5em; fill: none; stroke: #7b828a; stroke-width: 1.7; stroke-linejoin: round; }
.fotos .onda { flex: 1.4; display: flex; align-items: center; justify-content: center; gap: .25em; background: #e8f0f9; }
.onda i { width: .3em; background: #2563a8; border-radius: 1em; height: 40%; animation: onda 1s ease-in-out infinite; }
.onda i:nth-child(2) { animation-delay: .1s; } .onda i:nth-child(3) { animation-delay: .25s; } .onda i:nth-child(4) { animation-delay: .05s; }
.onda i:nth-child(5) { animation-delay: .3s; } .onda i:nth-child(6) { animation-delay: .15s; } .onda i:nth-child(7) { animation-delay: .2s; }
@keyframes onda { 50% { height: 90%; } }
.firma { width: 100%; height: 3em; border-bottom: 1px solid #d7dbdf; fill: none; stroke: #1c2024; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 600; stroke-dashoffset: 600; }
.dispositivo[data-paso='1'] .firma { animation: firma 1.8s .5s var(--salida) forwards; }
@keyframes firma { to { stroke-dashoffset: 0; } }
.boton-mock { margin-top: auto; text-align: center; background: #2563a8; color: #fff; border-radius: .6em; padding: .75em; font-weight: 600; font-size: .95em; }
.boton-mock.verde { background: #15803d; margin: 0; flex: 1.3; }
.boton-mock.claro { background: #f0f2f4; color: #1c2024; margin: 0; flex: 1; border: 1px solid #d7dbdf; }
.nota-mock { margin-top: auto; font-size: .78em; color: #60656c; line-height: 1.35; }

.lineas { display: flex; flex-direction: column; gap: .5em; }
.lineas li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .7em; padding: .6em .7em; border: 1px solid #e1e4e7; border-radius: .55em; font-size: .86em; }
.lineas .codigo { font-family: var(--mono); font-size: .8em; color: #60656c; }
.lineas.simple li { grid-template-columns: 1fr auto; border: 0; border-bottom: 1px dashed #d7dbdf; border-radius: 0; padding-inline: 0; }
.lineas li b.pill { font-size: .72em; }
.js .dispositivo[data-paso='2'] .lineas li { animation: linea-entra .5s var(--salida) backwards; }
.dispositivo[data-paso='2'] .lineas li:nth-child(2) { animation-delay: .1s; } .dispositivo[data-paso='2'] .lineas li:nth-child(3) { animation-delay: .2s; } .dispositivo[data-paso='2'] .lineas li:nth-child(4) { animation-delay: .3s; }
@keyframes linea-entra { from { opacity: 0; transform: translateX(-1em); } }
.dispositivo[data-paso='2'] .pill.esp { animation: aprobar 1s 1.4s forwards; }
@keyframes aprobar { 0% { background: #fdf0d9; color: #94560a; } 100% { background: #e3f5e9; color: #146c34; } }

.cot-cab { display: flex; justify-content: space-between; align-items: center; }
.vig { font-size: .8em; color: #94560a; background: #fdf3e3; padding: .3em .7em; border-radius: 99em; font-weight: 600; }
.total { display: flex; justify-content: space-between; font-weight: 700; font-size: 1.25em; padding-top: .3em; }
.resp { display: flex; gap: .6em; margin-top: auto; }
.dispositivo[data-paso='3'] .boton-mock.verde { animation: toque 1.2s 1.2s; }
@keyframes toque { 40% { transform: scale(.93); box-shadow: 0 0 0 .5em rgba(21, 128, 61, .25); } }

.tiempos { display: flex; flex-direction: column; gap: .5em; }
.tiempos li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .8em; padding: .7em .8em; border: 1px solid #e1e4e7; border-radius: .55em; font-size: .9em; }
.tiempos i { width: .8em; height: .8em; border-radius: 50%; }
.t-ok { background: var(--verde); } .t-pausa { background: var(--ambar); } .t-corre { background: #2563a8; animation: parpadeo 1.2s infinite; }
.tiempos b { font-family: var(--mono); font-weight: 500; }
.num.corre { color: #2563a8; }

.listo { display: flex; align-items: center; gap: .8em; background: #e9f6ec; color: #146c34; border-radius: .8em; padding: 1em; font-weight: 700; font-size: 1.15em; }
.listo svg { width: 1.8em; height: 1.8em; fill: none; stroke: #15803d; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; }
.dispositivo[data-paso='5'] .listo svg { animation: firma .7s .3s var(--salida) forwards; }
.entrega-fila { display: flex; align-items: center; justify-content: space-between; font-weight: 500; }
.qr {
  align-self: center; width: 9em; height: 9em; border: .4em solid #fff; outline: 1px solid #d7dbdf; border-radius: .3em;
  background:
    conic-gradient(from 0deg at 50% 50%, #111 0 25%, #fff 0 50%, #111 0 75%, #fff 0) 0 0 / 1.5em 1.5em,
    #fff;
  mask-image: linear-gradient(#000, #000); position: relative;
}
.qr::before, .qr::after { content: ''; position: absolute; width: 2.6em; height: 2.6em; background: #fff; border: .45em solid #111; box-shadow: inset 0 0 0 .5em #fff, inset 0 0 0 1.5em #111; }
.qr::before { left: .3em; top: .3em; } .qr::after { right: .3em; top: .3em; }

/* Pasos (texto) */
.pasos { display: flex; flex-direction: column; }
.paso { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; padding-block: 2rem; opacity: .28; transition: opacity .45s var(--salida), transform .45s var(--salida); }
.paso.activo { opacity: 1; }
.paso-num { font-family: var(--display); font-weight: 900; font-size: clamp(4rem, 8vw, 6.5rem); line-height: .9; color: transparent; -webkit-text-stroke: 2px var(--rojo); transition: color .4s; }
.paso.activo .paso-num { color: var(--rojo); }
.paso h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: .98; margin-top: .6rem; }
.paso p { margin-top: 1rem; color: #cfd3d8; max-width: 31rem; font-size: 1.08rem; }
@media (max-width: 899px) {
  .recorrido-visor { max-width: 18.5rem; }
  .paso { min-height: 52vh; padding-block: 1.2rem; }
  .paso-num { font-size: 3.4rem; }
  .recorrido-visor { padding-top: .4rem; }
}

/* ------------------------------------------------------------
   Bento
   ------------------------------------------------------------ */
.bento { display: grid; gap: 1rem; margin-top: clamp(2.5rem, 5vw, 4rem); grid-template-columns: 1fr; }
@media (min-width: 640px) { .bento { grid-template-columns: repeat(2, 1fr); } .t-ancha { grid-column: span 2; } }
@media (min-width: 1000px) { .bento { grid-template-columns: repeat(4, 1fr); } }

.tarjeta {
  position: relative; padding: 1.6rem; border-radius: 1.2rem; overflow: hidden; isolation: isolate;
  background: linear-gradient(160deg, var(--panel), var(--grafito)); border: 1px solid var(--linea);
  transition: border-color .3s, transform .4s var(--salida);
}
.tarjeta::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s;
  background: radial-gradient(26rem circle at var(--mx, 50%) var(--my, 0%), rgba(239, 59, 65, .16), transparent 55%);
}
.tarjeta:hover { border-color: rgba(239, 59, 65, .5); }
.tarjeta:hover::before { opacity: 1; }
.tarjeta h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.7rem; line-height: 1; margin-top: 1.1rem; }
.tarjeta p { margin-top: .7rem; color: var(--apagado); font-size: 1rem; }
.tarjeta-icono { width: 3rem; height: 3rem; border-radius: .8rem; background: rgba(225, 27, 34, .14); display: grid; place-items: center; color: var(--rojo-claro); }
.tarjeta-icono svg { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.mini-garantia { display: flex; align-items: center; gap: .8rem; margin-top: 1.4rem; font-size: 1.05rem; }
.mini-tv { margin-top: 1.4rem; display: flex; flex-direction: column; gap: .5rem; padding: .9rem; border-radius: .8rem; background: #0b0c0e; border: 1px solid var(--linea); font-size: .85rem; }
.mini-tv-fila { display: grid; grid-template-columns: auto 1fr auto; gap: .8rem; align-items: center; }
.mini-tv-fila .placa-fisica { font-size: .9em; }
.mini-tv-fila > span:last-child { color: var(--apagado); min-width: 4.5em; text-align: right; }
.barra { height: .5rem; background: rgba(255, 255, 255, .08); border-radius: 1em; overflow: hidden; display: block; }
.barra u { display: block; height: 100%; width: var(--p); background: linear-gradient(90deg, var(--rojo), var(--rojo-claro)); border-radius: 1em; transform-origin: left; }
.js .rev:not(.vista) .barra u { transform: scaleX(0); }
.barra u { transition: transform 1.4s .5s var(--salida); }

/* ------------------------------------------------------------
   Mi moto (cliente)
   ------------------------------------------------------------ */
.mimoto { background: radial-gradient(60rem 30rem at 15% 50%, rgba(225, 27, 34, .13), transparent 60%), var(--negro); overflow: hidden; }
.telefono-wrap { container-type: inline-size; max-width: 19rem; margin-inline: auto; width: 100%; }
.telefono {
  font-size: 4.6cqw; aspect-ratio: 9 / 18.2; border-radius: 3.2em; padding: .55em; position: relative;
  background: linear-gradient(160deg, #3a3f46, #15171a); box-shadow: 0 0 0 1px var(--linea-fuerte), 0 4em 7em -2em rgba(0, 0, 0, .95), 0 0 9em -2em rgba(225, 27, 34, .5);
  transform: rotate(-4deg); transition: transform .6s var(--salida);
}
.telefono:hover { transform: rotate(0); }
.tel-notch { position: absolute; top: 1.25em; left: 50%; width: 6em; height: 1.45em; background: #000; border-radius: 1em; transform: translateX(-50%); z-index: 2; }
.tel-pantalla { height: 100%; border-radius: 2.7em; background: #f5f6f7; color: #1c2024; padding: 4em 1.4em 1.4em; display: flex; flex-direction: column; align-items: center; gap: .9em; overflow: hidden; }
.tel-peq { font: 600 .75em var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #60656c; }
.tel-estado { font-weight: 700; font-size: 1.25em; text-align: center; }
.tel-pasos { width: 100%; margin-top: .6em; display: flex; flex-direction: column; gap: .7em; position: relative; }
.tel-pasos li { display: flex; align-items: center; gap: .8em; font-size: .92em; color: #8a9097; font-weight: 500; transition: color .4s; }
.tel-pasos li::before { content: ''; width: 1.4em; height: 1.4em; border-radius: 50%; border: .2em solid #cfd4d9; flex: none; background: #fff; transition: all .4s; }
.tel-pasos li.hecho { color: #1c2024; }
.tel-pasos li.hecho::before { background: var(--verde); border-color: var(--verde); box-shadow: inset 0 0 0 .22em #fff; }
.tel-pasos li.actual { color: #1c2024; font-weight: 700; }
.tel-pasos li.actual::before { border-color: var(--rojo); background: var(--rojo); box-shadow: 0 0 0 .3em rgba(225, 27, 34, .2); animation: parpadeo 1.4s infinite; }

.lista-check { margin-top: 1.8rem; display: grid; gap: .8rem; }
.lista-check li { display: flex; gap: .9rem; align-items: flex-start; color: #d3d7dc; }
.lista-check li::before { content: ''; flex: none; width: 1.4rem; height: 1.4rem; margin-top: .15rem; border-radius: 50%; background: var(--rojo) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 70% no-repeat; }

/* ------------------------------------------------------------
   Confianza
   ------------------------------------------------------------ */
.confianza { background: var(--grafito); border-block: 1px solid var(--linea); }
.confianza-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 900px) { .confianza-grid { grid-template-columns: 1.25fr 1fr; align-items: center; } }
.confianza blockquote { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.9rem, 4.4vw, 3.3rem); line-height: 1; margin-top: 1.2rem; }
.confianza-lista { display: grid; gap: 1.2rem; }
.confianza-lista li { padding: 1.2rem 1.3rem; border-radius: 1rem; background: var(--panel); border: 1px solid var(--linea); border-left: 3px solid var(--rojo); }
.confianza-lista b { display: block; font-size: 1.08rem; }
.confianza-lista span { display: block; margin-top: .3rem; color: var(--apagado); font-size: .98rem; }

/* Cómo empezar */
.tres-pasos { display: grid; gap: 1rem; margin-top: clamp(2.5rem, 5vw, 4rem); counter-reset: x; }
@media (min-width: 800px) { .tres-pasos { grid-template-columns: repeat(3, 1fr); gap: 1.4rem; } }
.tres-pasos li { position: relative; padding: 2rem 1.6rem; border-radius: 1.2rem; border: 1px solid var(--linea); background: linear-gradient(170deg, var(--panel), var(--grafito)); }
.tres-pasos li > span { font-family: var(--display); font-weight: 900; font-size: 5.5rem; line-height: .8; color: transparent; -webkit-text-stroke: 2px var(--rojo); display: block; }
.tres-pasos h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.8rem; line-height: 1; margin-top: 1.2rem; }
.tres-pasos p { color: var(--apagado); margin-top: .7rem; }
.precio-nota { text-align: center; margin: 2rem auto 0; max-width: 36rem; color: var(--apagado); }

/* FAQ */
.faq { margin-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--linea); }
.faq details { border-bottom: 1px solid var(--linea); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.3rem 0; font-weight: 600; font-size: 1.12rem; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--rojo-claro); }
.faq summary::after { content: '+'; font: 400 1.8rem/1 var(--sans); color: var(--rojo-claro); transition: transform .3s var(--resorte); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 2.5rem 1.4rem 0; color: var(--apagado); }

/* ------------------------------------------------------------
   Final
   ------------------------------------------------------------ */
.final { position: relative; overflow: hidden; padding-block: clamp(5rem, 12vw, 10rem); text-align: center; isolation: isolate; background: radial-gradient(70rem 30rem at 50% 100%, rgba(225, 27, 34, .28), transparent 70%), var(--negro); border-top: 1px solid var(--linea); }
.final-fondo { position: absolute; inset: 0; z-index: -1; }
.g3 { width: min(130vmin, 1100px); aspect-ratio: 1; left: 50%; top: 50%; margin: calc(min(130vmin, 1100px) / -2) 0 0 calc(min(130vmin, 1100px) / -2); color: rgba(225, 27, 34, .1); }
.titulo-final { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(3.6rem, 13vw, 10.5rem); line-height: .85; margin: 1.2rem 0 1.6rem; }
.final .parrafo { margin-inline: auto; margin-top: 0; }
.final .btn-enorme { margin-top: 2.2rem; }
.micro { margin-top: 1.1rem; color: var(--apagado); font-size: .9rem; }

/* Pie */
.pie { padding-block: 2.5rem 6.5rem; border-top: 1px solid var(--linea); background: var(--negro); }
.pie-grid { display: grid; gap: 1.5rem; }
@media (min-width: 800px) { .pie-grid { grid-template-columns: 1fr 1fr; align-items: end; } .pie-legal { text-align: right; } }
.pie-lema { margin-top: .8rem; color: var(--apagado); font-size: .95rem; }
.pie-legal { color: #6f757c; font-size: .8rem; max-width: 34rem; margin-left: auto; }
@media (min-width: 720px) { .pie { padding-bottom: 2.5rem; } }

/* Barra de contacto en el celular */
.barra-movil { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: .8rem 1rem calc(.8rem + env(safe-area-inset-bottom)); background: linear-gradient(0deg, var(--negro) 55%, transparent); transform: translateY(110%); transition: transform .4s var(--salida); display: none; }
.barra-movil .btn { width: 100%; }
.barra-movil.visible { transform: none; }
@media (max-width: 719px) { .barra-movil { display: block; } }

/* ------------------------------------------------------------
   Calculadora: mesa de control y tablero de pérdidas
   ------------------------------------------------------------ */
@property --f { syntax: '<number>'; inherits: false; initial-value: 0; }
@property --g { syntax: '<number>'; inherits: false; initial-value: 0; }

.calculadora { background: radial-gradient(50rem 26rem at 85% 30%, rgba(225, 27, 34, .14), transparent 60%), var(--grafito); border-block: 1px solid var(--linea); }
.mesa { display: grid; gap: 1.2rem; margin-top: clamp(2.2rem, 5vw, 3.6rem); align-items: start; }
@media (min-width: 980px) { .mesa { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 1.6rem; } }

.mesa-controles, .mesa-resultado { position: relative; border-radius: 1.4rem; padding: clamp(1.3rem, 3vw, 2.1rem); }
.mesa-controles {
  background: linear-gradient(170deg, #22262b, #121417);
  border: 1px solid var(--linea-fuerte);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), inset 0 -2.5rem 4rem -2.5rem rgba(0, 0, 0, .6), 0 2.5rem 5rem -2rem rgba(0, 0, 0, .85);
}
.tornillos i { position: absolute; width: .7rem; height: .7rem; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #6a7078, #1b1e22); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .7), 0 1px 0 rgba(255, 255, 255, .1); }
.tornillos i::after { content: ''; position: absolute; left: 15%; right: 15%; top: calc(50% - .5px); height: 1px; background: rgba(0, 0, 0, .75); transform: rotate(var(--r, 35deg)); }
.tornillos i:nth-child(1) { top: .75rem; left: .75rem; --r: 20deg; }
.tornillos i:nth-child(2) { top: .75rem; right: .75rem; --r: 70deg; }
.tornillos i:nth-child(3) { bottom: .75rem; left: .75rem; --r: 110deg; }
.tornillos i:nth-child(4) { bottom: .75rem; right: .75rem; --r: 155deg; }

.mesa-cab { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 1rem; margin: .4rem 0 1.5rem; padding-bottom: 1.1rem; border-bottom: 1px dashed var(--linea-fuerte); }
.mesa-titulo { font: 500 .78rem/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--apagado); }
.partidas { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .85rem; color: var(--apagado); }
.chip { min-height: 2.5rem; padding: 0 1rem; border-radius: 99em; border: 1px solid var(--linea-fuerte); background: rgba(255, 255, 255, .04); color: var(--blanco); font: 500 .9rem var(--sans); cursor: pointer; transition: background .2s, border-color .2s, transform .25s var(--resorte); -webkit-tap-highlight-color: transparent; }
.chip:hover { border-color: var(--rojo-claro); background: rgba(225, 27, 34, .14); }
.chip:active { transform: scale(.95); }
.chip.activo { background: var(--rojo); border-color: var(--rojo); box-shadow: 0 0 1.5rem -.2rem rgba(225, 27, 34, .8); }

.perilla { display: grid; gap: .3rem; }
.perilla + .perilla { margin-top: 1.25rem; }
.perilla-cab { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.perilla label { display: flex; align-items: center; gap: .75rem; font-weight: 500; line-height: 1.25; }
.perilla-ico { flex: none; width: 2.2rem; height: 2.2rem; border-radius: .65rem; background: rgba(225, 27, 34, .16); color: var(--rojo-claro); display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(239, 59, 65, .25); }
.perilla-ico svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.perilla-valor { font-family: var(--display); font-weight: 900; font-size: 2rem; line-height: 1; color: var(--placa); white-space: nowrap; text-shadow: 0 0 1.4rem rgba(242, 194, 26, .4); }
.control-ayuda { font-size: .85rem; color: var(--apagado); line-height: 1.35; margin-left: 2.95rem; }
.perilla-hipotesis { margin-top: 1.6rem !important; padding-top: 1.3rem; border-top: 1px dashed var(--linea-fuerte); }

.regla { position: relative; padding-bottom: .5rem; }
.regla::after { content: ''; position: absolute; left: .9rem; right: .9rem; bottom: 0; height: .45rem; pointer-events: none; border-right: 1px solid rgba(255, 255, 255, .25); background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .25) 0 1px, transparent 1px 10%); }
input[type='range'] { -webkit-appearance: none; appearance: none; width: 100%; height: 2.5rem; background: transparent; cursor: pointer; margin: 0; --p: 30%; touch-action: pan-y; }
input[type='range']::-webkit-slider-runnable-track { height: .55rem; border-radius: 99em; background: linear-gradient(90deg, var(--rojo) var(--p), rgba(255, 255, 255, .13) var(--p)); box-shadow: inset 0 1px 3px rgba(0, 0, 0, .6); }
input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none; width: 2.1rem; height: 2.1rem; margin-top: -.775rem; border-radius: 50%; border: .2rem solid var(--rojo);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e11b22' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='3.4'/%3E%3Cpath d='M12 2.5v3.200M12 18.300v3.200M2.500 12h3.200M18.300 12h3.200M5.300 5.300l2.300 2.300M16.400 16.400l2.300 2.300M18.700 5.300l-2.300 2.300M7.600 16.400l-2.300 2.300'/%3E%3C/svg%3E") center / 72% no-repeat;
  box-shadow: 0 .25rem .8rem rgba(0, 0, 0, .65), 0 0 0 0 rgba(225, 27, 34, .4); transition: box-shadow .2s, transform .25s var(--resorte);
}
input[type='range']:hover::-webkit-slider-thumb, input[type='range']:focus-visible::-webkit-slider-thumb, input[type='range']:active::-webkit-slider-thumb { box-shadow: 0 .25rem .8rem rgba(0, 0, 0, .65), 0 0 0 .55rem rgba(225, 27, 34, .28); transform: scale(1.1) rotate(25deg); }
input[type='range']::-moz-range-track { height: .55rem; border-radius: 99em; background: rgba(255, 255, 255, .13); }
input[type='range']::-moz-range-progress { height: .55rem; border-radius: 99em; background: var(--rojo); }
input[type='range']::-moz-range-thumb { width: 1.5rem; height: 1.5rem; border-radius: 50%; background: #fff; border: .3rem solid var(--rojo); box-shadow: 0 .25rem .8rem rgba(0, 0, 0, .65); }
input[type='range']:focus-visible { outline: none; }

.mesa-resultado {
  display: flex; flex-direction: column; gap: .55rem; overflow: hidden; isolation: isolate;
  background: linear-gradient(160deg, #2c0e11, #121417 62%); border: 1px solid rgba(239, 59, 65, .5);
  box-shadow: 0 3rem 6rem -2rem rgba(225, 27, 34, .55), inset 0 1px 0 rgba(255, 255, 255, .08);
}
@media (min-width: 980px) { .mesa-resultado { position: sticky; top: 5.5rem; } }
.mesa-resultado::before { content: ''; position: absolute; z-index: -1; right: -30%; top: -40%; width: 80%; aspect-ratio: 1; background: radial-gradient(circle, rgba(239, 59, 65, .38), transparent 65%); }
.mesa-resultado > .res-etiqueta { margin-top: .3rem; }
.res-etiqueta { font: 500 .78rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--apagado); }

/* El odómetro: ruedas con dígitos, como el de la moto. */
.odometro { display: flex; align-items: center; gap: .3em; font-family: var(--mono); font-weight: 700; font-size: clamp(2rem, 7.4vw, 3.9rem); line-height: 1; margin: .35rem 0 .3rem; padding: .32em .42em; border-radius: .35em; width: fit-content; max-width: 100%;
  background: #08090a; border: 1px solid #000; box-shadow: inset 0 .12em .55em rgba(0, 0, 0, .95), 0 0 0 .09em rgba(255, 255, 255, .09), 0 0 3.5em -1em rgba(225, 27, 34, .7); }
.od-signo { color: var(--placa); margin-right: .08em; text-shadow: 0 0 .6em rgba(242, 194, 26, .5); }
.od-d { position: relative; width: .7em; height: 1.2em; overflow: hidden; border-radius: .13em; background: linear-gradient(180deg, #17191c, #2a2d32 48%, #0e0f11 52%, #1b1d21); }
.od-d::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, .7), transparent 32%, transparent 68%, rgba(0, 0, 0, .7)); }
.od-rueda { display: flex; flex-direction: column; transform: translateY(calc(var(--d, 0) * -1.2em)); transition: transform 1.1s cubic-bezier(.2, 1.2, .3, 1); transition-delay: calc(var(--i, 0) * 45ms); will-change: transform; }
.od-rueda span { display: grid; place-items: center; height: 1.2em; color: #f5f6f7; transition: color .4s; }
.od-d.apagado .od-rueda span { color: rgba(255, 255, 255, .13); }
.od-sep { color: var(--apagado); font-size: .55em; align-self: flex-end; margin: 0 -.1em .35em; }

.res-horas { display: flex; flex-wrap: wrap; align-items: baseline; gap: .15rem .55rem; color: #d3d7dc; font-size: 1.05rem; }
.res-horas b { font-family: var(--display); font-weight: 900; font-size: 2.5rem; line-height: 1; color: var(--blanco); font-variant-numeric: tabular-nums; }
.res-punto { color: var(--rojo-claro); }
.res-personas { flex-basis: 100%; color: #ff9a9e; font-weight: 600; font-size: .92rem; min-height: 1.3em; }
.res-desglose { font-size: .85rem; color: var(--apagado); }
.res-desglose b { color: var(--blanco); font-family: var(--mono); }

.calendario { display: grid; grid-template-columns: repeat(12, 1fr); gap: .3rem; margin-top: .7rem; }
@media (max-width: 560px) { .calendario { grid-template-columns: repeat(8, 1fr); } }
.dia { position: relative; aspect-ratio: 1; border-radius: .3rem; overflow: hidden; border: 1px solid rgba(255, 255, 255, .07);
  background: linear-gradient(to top, #22a455 calc(var(--g) * 1%), #e11b22 calc(var(--g) * 1%) calc(var(--f) * 1%), rgba(255, 255, 255, .06) calc(var(--f) * 1%));
  transition: --f .8s var(--salida), --g .8s var(--salida); transition-delay: calc(var(--n) * 24ms); }
.dia::after { content: attr(data-n); position: absolute; inset: 0; display: grid; place-items: center; font: 600 .62rem var(--mono); color: rgba(255, 255, 255, .3); transition: color .4s; }
.dia.llena::after { color: rgba(255, 255, 255, .9); }
.cal-leyenda { display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; font-size: .8rem; color: var(--apagado); margin-top: .5rem; }
.cal-leyenda span { display: flex; align-items: center; gap: .4rem; }
.cal-leyenda i { width: .7rem; height: .7rem; border-radius: .2rem; }
.l-a { background: var(--rojo); }
.l-v { background: #22a455; }
.cal-nota { margin-left: auto; }
.cal-nota b { color: #ff9a9e; font-weight: 600; }
.cal-nota b[hidden] { display: none; }

.res-recupero2 { margin-top: .9rem; padding: 1.1rem 1.2rem; border-radius: 1rem; background: rgba(34, 164, 85, .1); border: 1px solid rgba(34, 164, 85, .5); display: grid; gap: .3rem; }
.res-recupero2 .res-etiqueta { color: #7fe0a3; }
.res-medio { font-family: var(--display); font-weight: 800; font-size: clamp(1.7rem, 4vw, 2.3rem); line-height: 1.05; text-transform: uppercase; }
.res-medio b { font-family: var(--display); font-weight: 900; color: #5fd68a; font-variant-numeric: tabular-nums; }
.res-mas { color: #5fd68a; }
.res-sub { color: #d3d7dc; }
.res-sub b { color: #5fd68a; font-family: var(--mono); font-weight: 700; }
.mesa-resultado .btn { margin-top: 1rem; align-self: flex-start; }
.res-nota { font-size: .82rem; color: var(--apagado); margin-top: .2rem; }

/* ------------------------------------------------------------
   Contacto: texto + formulario
   ------------------------------------------------------------ */
.final { text-align: left; }
.final-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 960px) { .final-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); } }
.final .titulo-final { font-size: clamp(3.4rem, 9.5vw, 7.6rem); margin-top: 1rem; }
.final .parrafo { margin-inline: 0; }
.final .lista-check { margin-top: 1.4rem; }
.enlace-directo { display: inline-block; margin-top: 1.6rem; color: var(--apagado); text-underline-offset: .3em; transition: color .2s; }
.enlace-directo:hover { color: var(--blanco); }

.form-demo { display: grid; gap: 1.05rem; padding: clamp(1.4rem, 3vw, 2.1rem); border-radius: 1.3rem; background: rgba(21, 23, 26, .92); border: 1px solid var(--linea-fuerte); box-shadow: 0 3rem 6rem -2rem rgba(0, 0, 0, .9), 0 0 8rem -3rem rgba(225, 27, 34, .5); backdrop-filter: blur(8px); }
.form-demo h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.9rem; line-height: 1; }
.campo-f { display: grid; gap: .4rem; min-width: 0; }
.fila-f { display: grid; gap: 1.05rem; }
@media (min-width: 520px) { .fila-f { grid-template-columns: 1fr 1fr; } }
.campo-f label { font-size: .9rem; font-weight: 500; color: #d3d7dc; }
.opc { color: var(--apagado); font-weight: 400; }
/* 16px: por debajo, iOS hace zoom al enfocar el campo. */
.form-demo input[type='text'], .form-demo select, .form-demo textarea {
  width: 100%; min-height: 3rem; padding: .7rem .95rem; border-radius: .65rem; font: 400 1rem/1.3 var(--sans); color: var(--blanco);
  background: rgba(255, 255, 255, .05); border: 1px solid var(--linea-fuerte); transition: border-color .2s, background .2s, box-shadow .2s;
}
.form-demo input[type='text']:hover, .form-demo select:hover { border-color: rgba(255, 255, 255, .35); }
.form-demo input[type='text']:focus, .form-demo select:focus, .form-demo textarea:focus { outline: none; border-color: var(--rojo-claro); background: rgba(255, 255, 255, .08); box-shadow: 0 0 0 .25rem rgba(225, 27, 34, .25); }
.form-demo select { appearance: none; -webkit-appearance: none; padding-right: 2.6rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23a1a7af' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; background-size: 1.2rem; }
.form-demo select option { background: #1b1e22; color: var(--blanco); }
.form-demo [aria-invalid='true'] { border-color: var(--rojo-claro) !important; }
.error { color: #ff8a8f; font-size: .85rem; font-weight: 500; }
.error[hidden] { display: none; }
.check-calculo { display: flex; gap: .7rem; align-items: flex-start; padding: .85rem 1rem; border-radius: .8rem; background: rgba(242, 194, 26, .08); border: 1px dashed rgba(242, 194, 26, .5); cursor: pointer; font-size: .92rem; line-height: 1.35; }
.check-calculo[hidden] { display: none; }
.check-calculo input { margin-top: .15rem; width: 1.15rem; height: 1.15rem; accent-color: var(--rojo); flex: none; }
.check-calculo b { color: var(--placa); font-family: var(--mono); font-weight: 700; }
.form-demo .btn-enorme { width: 100%; --h: 4rem; font-size: 1.1rem; margin-top: 0; }
.form-demo .micro { margin-top: -.3rem; text-align: center; }
.form-listo { display: grid; gap: .8rem; padding: 1.1rem 1.2rem; border-radius: .9rem; background: rgba(34, 164, 85, .12); border: 1px solid rgba(34, 164, 85, .5); font-size: .95rem; }
.form-listo[hidden] { display: none; }
.form-listo textarea { resize: vertical; min-height: 7rem; font-size: .9rem !important; }
.form-listo-acciones { display: flex; flex-wrap: wrap; gap: .6rem; }
.nota-sin-numero { font-size: .82rem; color: var(--apagado); }
.nota-sin-numero[hidden] { display: none; }

/* Resumen flotante de la calculadora (solo donde el resultado queda lejos de los controles). */
.calc-mini { position: fixed; left: 1rem; right: 1rem; bottom: calc(.8rem + env(safe-area-inset-bottom)); z-index: 85; display: none; align-items: baseline; justify-content: space-between; gap: .8rem;
  padding: .75rem 1.1rem; border-radius: 1rem; background: rgba(42, 13, 16, .96); border: 1px solid rgba(239, 59, 65, .6); box-shadow: 0 1rem 2.5rem -.5rem rgba(0, 0, 0, .9);
  transform: translateY(150%); transition: transform .35s var(--salida); pointer-events: none; font-size: .88rem; color: var(--apagado); }
.calc-mini b { font-family: var(--display); font-weight: 900; font-size: 1.5rem; line-height: 1; color: var(--blanco); text-transform: uppercase; }
.calc-mini .m-costo { color: var(--placa); }
.calc-mini.visible { transform: none; }
@media (max-width: 939px) { .calc-mini { display: flex; } }
@media (max-width: 719px) { .calc-mini { bottom: calc(5rem + env(safe-area-inset-bottom)); } }

/* ------------------------------------------------------------
   Menos movimiento
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .cinta-pista { animation: none; }
  .titular .linea > span { transform: none; }
  .tachado::after { transform: scaleX(1); }
  .js .rev { opacity: 1; transform: none; }
  .js .rev:not(.vista) .barra u { transform: none; }
}
