/* Estilos de las páginas de presentación: la portada (transportistas), /oficinas/, /empresas/ y /precios/. */
:root {
  --bg: #f4f6f8;
  --surface: #fff;
  --ink: #0e1116;
  --ink-2: #353c45;
  --line: #8a94a1;
  --line-soft: #d5dae1;
  --link: #0a4aa0;
  --sign: #0a4aa0;
  --sign-ink: #fff;
  --sign-ink-2: #e8effa;
  --unlit: #c4d0e3;
  --ok: #0a5a28;
  --ok-bg: #e2f3e7;
  --device: #1b1f25;
  --shadow: 14 17 22;
  --ease: cubic-bezier(.2, 0, 0, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --r: 12px;
  --r-panel: 14px;
  color-scheme: light dark;
  font: 112.5%/1.5 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1014;
    --surface: #171b21;
    --ink: #f3f5f8;
    --ink-2: #c9cfd8;
    --line: #7d8794;
    --line-soft: #343b45;
    --link: #8fbaff;
    --unlit: #b7c4da;
    --ok: #8fe3ab;
    --ok-bg: #12301c;
    --device: #2a3038;
    --shadow: 0 0 0;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  overflow-wrap: break-word;
  -webkit-tap-highlight-color: transparent;
}
::selection { background: var(--sign); color: var(--sign-ink); }
:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; border-radius: 4px; }
a { color: var(--link); text-underline-offset: .2em; text-decoration-thickness: 2px; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem); line-height: 1.1; letter-spacing: -.02em; font-weight: 800; text-wrap: balance; }
h3 { font-size: 1.3rem; line-height: 1.25; font-weight: 800; }
p { max-width: 62ch; text-wrap: pretty; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ico { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.num { font-variant-numeric: tabular-nums; }
.legal { font-size: .9rem; color: var(--ink-2); }

.wrap { width: 100%; max-width: 74rem; margin-inline: auto; padding-inline: max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-right)); }
@media (min-width: 48rem) { .wrap { padding-inline: 2rem; } }
section { margin-block: clamp(4.5rem, 3rem + 7vw, 8rem); }

.sprite { position: absolute; }

/* ── Cabecera ── */
.top { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 1rem; min-height: 4.25rem; }
.enter { grid-row: 1; grid-column: 2; }
.nav { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 0 1.25rem; margin-bottom: .75rem; }
.nav a { display: inline-flex; align-items: center; min-height: 3rem; color: var(--ink); font-weight: 700; font-size: .9rem; text-decoration: none; transition: color 140ms var(--ease), box-shadow 180ms var(--ease); }
.nav a:hover { color: var(--link); box-shadow: inset 0 -2px var(--line-soft); }
.nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -4px var(--link); }
@media (min-width: 60rem) {
  .top { grid-template-columns: auto minmax(0, 1fr) auto; }
  .enter { grid-row: auto; grid-column: auto; }
  .nav { grid-column: auto; justify-content: flex-end; gap: 0 2rem; margin: 0 1.5rem 0 0; }
  .nav a { font-size: 1rem; }
}
.brand { display: inline-flex; align-items: center; gap: .6rem; min-height: 3rem; color: var(--ink); font-weight: 800; font-size: 1.15rem; text-decoration: none; letter-spacing: -.01em; }
.brand svg { width: 2.1rem; height: 2.1rem; flex: none; }
.enter { display: inline-flex; align-items: center; min-height: 3rem; padding-inline: .5rem; font-weight: 700; }

/* ── Botones ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  min-height: 3.6rem; padding: .8rem 1.6rem; border-radius: var(--r);
  max-width: 100%; font: inherit; font-weight: 800; font-size: 1.1rem; letter-spacing: .03em; text-decoration: none; text-align: center;
  transition: transform 140ms var(--ease), background-color 140ms var(--ease);
}
.btn .ico { width: 1.35em; height: 1.35em; stroke-width: 2.5; transition: transform 160ms var(--ease); }
@media (hover: hover) { .btn:hover .ico { transform: translateX(4px); } }
.btn:active { transform: scale(.98); }
.btn.on-sign { background: var(--sign-ink); color: var(--sign); }
.btn.on-sign:hover { background: #e3ecf8; }
.btn.on-sign:focus-visible { outline-color: #fff; outline-offset: 4px; }

/* ── Panel de carretera: azul, filete blanco por dentro. Igual de día y de noche. ── */
.sign { background: var(--sign); color: var(--sign-ink); border-radius: var(--r-panel); padding: 6px; color-scheme: dark; }
.sign-in { border: 3px solid var(--sign-ink); border-radius: calc(var(--r-panel) - 5px); }
/* Radios: paneles 14 px, todo lo demás 12 px. La matrícula (5 px) y el poste (6 px) se dibujan como el objeto real. */
.sign a:not(.btn) { color: var(--sign-ink); }
.sign .wait { font-size: .95rem; line-height: 1.4; color: var(--sign-ink-2); max-width: 36ch; }

/* ── Portada ── */
.hero { display: grid; grid-template-columns: minmax(0, 1fr); padding-top: .25rem; }
.hero .sign-in { display: grid; gap: 1.25rem; justify-items: start; padding: clamp(1.5rem, 1rem + 3vw, 3.5rem); padding-bottom: clamp(5.5rem, 4rem + 4vw, 3.5rem); }
.hero h1 { font-size: clamp(2rem, 1.2rem + 3.4vw, 3.6rem); line-height: 1.04; letter-spacing: -.03em; font-weight: 800; text-wrap: balance; max-width: 17ch; }
.hero .lede { font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem); line-height: 1.4; color: var(--sign-ink-2); max-width: 30ch; }
.hero .btn { margin-top: .5rem; }
.also { display: inline-flex; align-items: center; min-height: 3rem; font-weight: 700; font-size: 1.1rem; }
.hero-shot { display: grid; justify-items: center; gap: .75rem; margin-top: -4.5rem; position: relative; }
.hero-shot figcaption { font-size: .95rem; color: var(--ink-2); text-align: center; max-width: 22rem; }
@media (min-width: 60rem) {
  .hero { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 2rem; align-items: start; padding-top: 1rem; }
  .hero .sign { align-self: stretch; display: grid; }
  .hero .sign-in { padding: 3.5rem 6rem 3.5rem 3.5rem; min-height: 28rem; align-content: center; }
  .hero-shot { margin: 0; }
  .hero-shot .phone { width: 20rem; }
  .hero-shot figcaption { max-width: 20rem; }
}

/* ── El móvil y sus pantallas (componentes reales de la app) ── */
.phone {
  width: min(18.5rem, 82vw); padding: 1rem .95rem 1.1rem;
  border: 10px solid var(--device); border-radius: 2.4rem;
  background: #fff; color: #111; color-scheme: light;
  box-shadow: 0 2px 4px rgb(var(--shadow) / .14), 0 28px 56px -24px rgb(var(--shadow) / .55);
  display: grid; gap: .55rem; justify-items: center; text-align: center;
}
.x {
  justify-self: end; width: 2.6rem; height: 2.6rem; display: grid; place-items: center;
  border: 2.5px solid #000; border-radius: 50%; color: #000;
}
.x .ico { width: 1.3rem; height: 1.3rem; stroke-width: 2.5; }
.qr-box { display: block; position: relative; width: 100%; overflow: hidden; line-height: 0; }
.qr { display: block; width: 100%; height: auto; shape-rendering: crispEdges; }
.scan {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(to bottom, transparent 78%, rgb(10 74 160 / .18) 97%, #0a4aa0 97%, #0a4aa0 100%);
}
.phone .when { font-size: 1.25rem; font-weight: 800; }
.phone .meta { font-size: .9rem; color: #2f353c; }
.phone .pdf { width: 100%; min-height: 2.9rem; display: grid; place-items: center; border: 2.5px solid #000; border-radius: var(--r); font-weight: 700; }

/* Matrícula española, dibujada como en la app */
.plate {
  display: inline-flex; align-items: stretch; height: 2.25rem; overflow: hidden;
  border: 2px solid #111; border-radius: 5px; background: #fff; color: #111;
  font-size: 1.15rem; font-weight: 800; letter-spacing: .06em; line-height: 1; white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.plate .eu { display: flex; align-items: flex-end; justify-content: center; width: 1.15rem; padding-bottom: .2rem; background: #1d3fa6; color: #fff; font-size: .65rem; letter-spacing: 0; }
.plate .txt { display: flex; align-items: center; padding: 0 .5rem; }
.plate { max-width: 100%; }
.plate.big { height: auto; min-height: 3rem; font-size: min(1.6rem, 7.5vw); border-width: 3px; }
.plate.big .eu { width: 1.5rem; font-size: .85rem; }

/* ── Ya es obligatorio ── */
.law { display: grid; gap: 1.5rem 4rem; align-items: center; }
/* La fecha, en un panel complementario blanco como los que van bajo una señal */
.date { justify-self: start; display: grid; justify-items: center; padding: 1rem 1.75rem 1.1rem; background: #fff; color: #111; border: 4px solid #111; border-radius: var(--r); font-weight: 800; line-height: .95; letter-spacing: -.03em; color-scheme: light; }
.date b { font-size: clamp(3.5rem, 2.5rem + 5vw, 5.5rem); }
.date span { font-size: clamp(2rem, 1.5rem + 2.2vw, 3rem); }
.law-text { display: grid; gap: 1rem; }
.law-text p:not(.legal) { font-size: 1.15rem; }
.law-text .more { font-weight: 700; justify-self: start; display: inline-flex; align-items: center; min-height: 3rem; }
@media (min-width: 48rem) { .law { grid-template-columns: auto minmax(0, 1fr); } }

/* ── Índice de la página, bajo la portada ── */
.toc { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; }
.toc a {
  display: inline-flex; align-items: center; min-height: 3rem; padding: .4rem 1.1rem;
  border: 2px solid var(--line-soft); border-radius: 999px; background: var(--surface);
  color: var(--ink); font-weight: 700; text-decoration: none;
  transition: border-color 140ms var(--ease), color 140ms var(--ease);
}
.toc a:hover { border-color: var(--link); color: var(--link); }
section[id] { scroll-margin-top: 1rem; }

/* ── Lo que te quita de encima: cada problema con su respuesta ── */
.pain-list { display: grid; gap: 0 4rem; margin-top: 2rem; }
.pain-list li { display: grid; gap: .4rem; align-content: start; padding: 1.4rem 0; border-top: 2px solid var(--line-soft); }
.pain-list b { font-size: 1.25rem; line-height: 1.25; }
.pain-list p { color: var(--ink-2); font-size: 1.05rem; }
.pain-list a { justify-self: start; display: inline-flex; align-items: center; min-height: 3rem; font-weight: 700; }
@media (min-width: 48rem) { .pain-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ── Ponerla en el móvil: los pasos de Android y de iPhone ── */
.install { display: grid; gap: 3rem 4rem; }
.install-head { display: grid; gap: 1.25rem; align-content: start; }
.install-head p { font-size: 1.15rem; }
.os-list { display: grid; gap: 3rem 4rem; }
.os { display: grid; gap: 1rem; align-content: start; }
.os h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.os .for { color: var(--ink-2); margin-top: -.6rem; }
.howto { display: grid; margin: 0; padding: 0; list-style: none; counter-reset: paso; }
.howto li { counter-increment: paso; display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); gap: 1rem; align-items: center; padding: .9rem 0; border-top: 2px solid var(--line-soft); font-size: 1.15rem; line-height: 1.4; }
.howto li:last-child { border-bottom: 2px solid var(--line-soft); }
.howto li::before { content: counter(paso); display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--sign); color: #fff; font-weight: 800; font-size: 1.2rem; }
.howto a { font-weight: 700; }
.key { display: inline-grid; place-items: center; width: 2rem; height: 2rem; vertical-align: middle; border: 2px solid var(--ink); border-radius: 8px; }
.key .ico { width: 1.3rem; height: 1.3rem; stroke-width: 2.5; }
.os .legal .key { width: 1.6rem; height: 1.6rem; border-width: 1.5px; }
.os .legal .key .ico { width: 1rem; height: 1rem; }
.install > .note { font-size: 1.05rem; color: var(--ink-2); }
/* La pantalla de inicio del móvil, con el icono de PasaControl entre las demás apps */
.mini.home { min-height: 0; max-width: 16rem; background: linear-gradient(160deg, #dfe8f5, #b9cbe6); padding: 1.25rem 1rem 1.5rem; }
.apps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem .8rem; align-items: start; }
.apps i { aspect-ratio: 1; border-radius: 22%; background: rgb(255 255 255 / .7); }
.apps .app { display: grid; justify-items: center; gap: .3rem; font-size: .55rem; white-space: nowrap; font-weight: 700; color: #111; }
.apps .app svg { width: 100%; aspect-ratio: 1; height: auto; border-radius: 22%; box-shadow: 0 0 0 2px #fff, 0 0 0 4px #0a4aa0; }
@media (min-width: 60rem) {
  .install { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
  .os-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .install > .note { grid-column: 2; }
}

/* ── Precio, en corto ── */
.price-strip { display: grid; gap: 2rem 4rem; align-items: center; }
.price-text { display: grid; gap: 1rem; }
.price-text p { font-size: 1.15rem; }
@media (min-width: 48rem) { .price-strip { grid-template-columns: minmax(0, 22rem) minmax(0, 1fr); } }

/* ── Tres pasos: los postes de aproximación a una salida (3, 2, 1) ── */
.flow h2 { max-width: 18ch; }
.examples { margin-top: 2rem; }
.steps { display: grid; gap: 3.5rem 2rem; margin: 2.5rem 0 0; padding: 0; list-style: none; }
@media (min-width: 60rem) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.step { display: grid; gap: 1.25rem; align-content: start; }
.step-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.1rem; align-items: start; }
.step-head p { margin-top: .4rem; color: var(--ink-2); }
.post { display: grid; justify-items: center; }
.post-panel {
  display: grid; align-content: center; gap: .45rem; width: 3.1rem; height: 5.2rem; padding: .55rem .5rem;
  background: #fff; border: 2px solid #9aa5b3; border-radius: 6px; color-scheme: light;
}
.post-panel i { display: block; height: .62rem; background: var(--sign); transform: skewY(-24deg); border-radius: 1px; }
.post::after { content: ""; width: 6px; height: 1.4rem; background: #8a94a1; border-radius: 0 0 2px 2px; }
.mini {
  border: 7px solid var(--device); border-radius: 1.6rem; background: #fff; color: #111; color-scheme: light;
  padding: .9rem .85rem 1rem; display: grid; gap: .55rem; align-content: start; min-height: 22rem;
  box-shadow: 0 2px 4px rgb(var(--shadow) / .1), 0 18px 36px -22px rgb(var(--shadow) / .5);
  width: 100%; max-width: 21rem;
}
.mini .t { font-size: 1.05rem; font-weight: 800; }
.mini .l { font-weight: 700; font-size: .95rem; line-height: 1.3; }
.mini .s { font-size: .82rem; color: #3a4048; margin-top: -.45rem; }
.mini .in { border: 2px solid #8a94a1; border-radius: var(--r); padding: .55rem .65rem; font-size: .95rem; text-align: left; }
.mini .go { margin-top: .35rem; min-height: 2.9rem; display: grid; place-items: center; border-radius: var(--r); background: #0a4aa0; color: #fff; font-weight: 800; letter-spacing: .03em; font-size: .95rem; }
.mini .plate { justify-self: start; }
.mini .doc .plate { justify-self: center; }
.doc { display: grid; gap: .45rem; justify-items: center; text-align: center; padding: .65rem .65rem .75rem; border: 1px solid #c4cad3; border-radius: var(--r); box-shadow: 0 8px 18px -12px rgb(0 0 0 / .4); }
.doc-head { width: 100%; display: flex; justify-content: space-between; align-items: baseline; padding-bottom: .4rem; border-bottom: 2px dashed #c4cad3; }
.doc-head b { letter-spacing: .1em; font-weight: 900; }
.doc-head span { font-weight: 700; color: #2f353c; font-size: .9rem; }
.doc .qr { width: 62%; }
.doc .route { font-weight: 700; font-size: .95rem; }
.saved { display: flex; gap: .4rem; align-items: center; padding: .55rem .6rem; border-radius: var(--r); background: #e2f3e7; color: #0a5a28; font-weight: 700; font-size: .85rem; text-align: left; line-height: 1.3; }
.saved .ico { width: 1.3rem; height: 1.3rem; stroke-width: 2.5; }
.mini.inspect { justify-items: center; text-align: center; }
.mini.inspect .qr-box { width: 92%; }
.mini.inspect .plate { justify-self: center; }
.mini.inspect .x { width: 2.2rem; height: 2.2rem; }

/* ── Sin cobertura ── */
.offline { display: grid; gap: 2.5rem 4rem; align-items: center; }
.offline-text { display: grid; gap: 1.25rem; }
.offline-text p { font-size: 1.15rem; }
.offline .saved { font-size: 1.05rem; padding: .85rem 1rem; justify-self: start; background: var(--ok-bg); color: var(--ok); }
.offline .saved .ico { width: 1.6rem; height: 1.6rem; }
.tunnel { display: grid; justify-items: center; gap: .6rem; }
.tunnel .sign { width: min(13rem, 60vw); aspect-ratio: 1; }
.tunnel .sign-in { height: 100%; display: grid; place-items: center; }
.tunnel .sign-in svg { width: 72%; height: auto; }
.tunnel .plaque { min-width: min(13rem, 60vw); padding: .55rem 1rem; background: #fff; color: #111; border: 3px solid #111; border-radius: var(--r); font-weight: 800; font-size: 1.1rem; text-align: center; display: flex; gap: .5rem; justify-content: center; align-items: center; color-scheme: light; }
.tunnel .plaque .ico { width: 1.5rem; height: 1.5rem; stroke-width: 2.25; }
@media (min-width: 48rem) { .offline { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }

/* ── Palabras de la calle ── */
.words > p { margin-top: 1rem; font-size: 1.15rem; color: var(--ink-2); }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(19rem, 100%), 1fr)); gap: 2rem 2.5rem; margin-top: 2.5rem; }
.field { display: grid; gap: .15rem; align-content: start; }
.field b { font-size: 1.2rem; line-height: 1.25; }
.field .legal { margin-bottom: .5rem; }
.field .in { min-height: 3.25rem; display: flex; align-items: center; gap: .5rem; padding: .55rem .85rem; border: 2px solid var(--line); border-radius: var(--r); background: var(--surface); color: var(--ink); }
.field .in.plain { border-style: dashed; color: var(--ink-2); }
.field .in .plate { height: 2rem; font-size: 1.05rem; }
.words .note { margin-top: 2.5rem; font-size: 1rem; color: var(--ink-2); }

/* ── Cartel de orientación: lo que te ahorra ── */
.board .sign-in { padding: clamp(1.5rem, 1rem + 3vw, 3.25rem); display: grid; gap: 1.5rem; }
.board ul { display: grid; }
.board li { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; padding: 1rem 0; font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); font-weight: 700; line-height: 1.3; }
.board li > span { flex: 1 1 11rem; }
.board li + li { border-top: 2px solid rgb(255 255 255 / .45); }
.board li .pict { width: 2.4rem; height: 2.4rem; fill: none; stroke: currentColor; stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 60rem) {
  .board .sign-in { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 3rem; align-items: start; }
  .board h2 { padding-top: 1rem; }
}

/* ── Para quién ── */
.who { display: grid; gap: 2.5rem 4rem; }
.who-main { display: grid; gap: 1rem; align-content: start; }
.who-main h3 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); line-height: 1.1; letter-spacing: -.02em; }
.who-main p { font-size: 1.2rem; color: var(--ink-2); }
.who-side { display: grid; gap: 2rem; }
.who-side div { display: grid; gap: .5rem; padding-top: 1.25rem; border-top: 2px solid var(--line-soft); }
.who-side p { color: var(--ink-2); }
@media (min-width: 60rem) { .who { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } .who h2 { grid-column: 1 / -1; } }

/* ── Preguntas ── */
.faq > * { max-width: 48rem; }
.faq h2 { margin-bottom: 1.5rem; }
.faq details { border-bottom: 2px solid var(--line-soft); }
.faq summary {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: center;
  min-height: 3.75rem; padding: .75rem 0; cursor: pointer; list-style: none;
  font-size: 1.2rem; font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 1.6rem; height: 1.6rem; background: var(--link); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat; }
.faq details[open] summary::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E"); }
.faq summary:hover { color: var(--link); }
.faq .ans { display: grid; gap: .75rem; padding: 0 0 1.5rem; }
.faq .ans ul { display: grid; gap: .35rem; padding-left: 1.25rem; list-style: disc; }

/* ── Cierre ── */
.close .sign-in { display: grid; gap: 1.25rem; justify-items: start; padding: clamp(1.75rem, 1rem + 3.5vw, 3.75rem); }
.close h2 { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.5rem); }
.close p { font-size: 1.2rem; color: var(--sign-ink-2); }

footer { border-top: 2px solid var(--line-soft); padding-block: 1.5rem 2.5rem; }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 2rem; }
footer nav { display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
footer a { display: inline-flex; align-items: center; min-height: 3rem; }
footer .brand { font-size: 1rem; }

/* ── El vídeo: vertical, con su cartel de portada; se carga solo al pulsar ── */
.film { display: grid; gap: .75rem; justify-items: center; min-width: 0; }
.film video {
  display: block; width: 100%; max-width: min(20rem, 80vw); height: auto; aspect-ratio: 9 / 16;
  border-radius: var(--r-panel); background: #0e1116;
  box-shadow: 0 2px 4px rgb(var(--shadow) / .14), 0 28px 56px -24px rgb(var(--shadow) / .55);
}
.film figcaption { font-size: .95rem; color: var(--ink-2); text-align: center; max-width: 21rem; }
.hero .aside { font-size: 1rem; color: var(--sign-ink-2); }

/* ── Míralo: texto y capítulos a un lado, el vídeo al otro ── */
.watch { display: grid; gap: 2.5rem 4rem; align-items: center; }
.watch-text { display: grid; gap: 1.25rem; }
.watch-text > p { font-size: 1.15rem; }
.beats { display: grid; margin-top: .5rem; }
.beats li { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); gap: .25rem 1rem; align-items: start; padding: 1rem 0; border-top: 2px solid var(--line-soft); }
.beats li:last-child { border-bottom: 2px solid var(--line-soft); }
.beats .ico { width: 2.1rem; height: 2.1rem; color: var(--link); stroke-width: 2.25; grid-row: span 2; }
.beats b { font-size: 1.15rem; line-height: 1.3; }
.beats span { color: var(--ink-2); }
@media (min-width: 48rem) { .watch { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } }

/* ── Enlaces a la página de cada uno ── */
.go-to { display: inline-flex; align-items: center; gap: .4rem; min-height: 3rem; font-weight: 700; justify-self: start; }
.go-to .ico { transition: transform 160ms var(--ease); }
@media (hover: hover) { .go-to:hover .ico { transform: translateX(4px); } }

/* ── Pantallas de la oficina: lista de viajes y etiquetas de estado (como en la app) ── */
.rows { display: grid; text-align: left; }
.rows .r { display: grid; gap: .15rem; padding: .6rem 0; border-top: 1px solid #d5dae1; }
.rows .r:first-child { border-top: 0; }
.rows .r b { font-size: .95rem; }
.rows .r small { font-size: .8rem; color: #3a4048; }
.tag { display: inline-grid; justify-self: start; padding: .2rem .65rem; border-radius: 999px; font-size: .8rem; font-weight: 700; line-height: 1.35; white-space: nowrap; }
.tag.wait { background: #ffe9a6; color: #3a2a00; }
.tag.ok { background: #e2f3e7; color: #0a5a28; }
/* La etiqueta que cambia: las dos ocupan la misma celda; sin animación se ve la de hecho. */
.flip { display: grid; justify-self: start; }
.flip > .tag { grid-area: 1 / 1; }
.flip > .wait { visibility: hidden; }
.mini .from { font-size: .85rem; color: #3a4048; margin-top: -.45rem; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chips span { display: inline-flex; align-items: center; gap: .3rem; padding: .35rem .8rem; border: 2px solid #8a94a1; border-radius: 999px; font-size: .9rem; font-weight: 600; }
.chips .on { background: #0e1116; border-color: #0e1116; color: #fff; }
.chips .ico { width: 1rem; height: 1rem; stroke-width: 3; }

/* ── Quién pone qué ── */
.split { display: grid; gap: 2.5rem 4rem; }
.split-head { display: grid; gap: 1rem; }
.split-head p { font-size: 1.15rem; color: var(--ink-2); }
.side { display: grid; gap: 1.5rem; align-content: start; }
.side .fields { margin-top: 0; grid-template-columns: minmax(0, 1fr); gap: 1.4rem; }
.side .after { color: var(--ink-2); }
.who-tag { display: inline-flex; align-items: center; gap: .55rem; justify-self: start; min-height: 3rem; padding: .4rem 1.1rem; border-radius: var(--r); font-weight: 800; font-size: 1.15rem; background: var(--sign); color: #fff; }
.who-tag.them { background: var(--ink); color: var(--bg); }
.who-tag .ico { width: 1.4rem; height: 1.4rem; stroke-width: 2.25; }
@media (min-width: 60rem) { .split { grid-template-columns: repeat(2, minmax(0, 1fr)); } .split-head { grid-column: 1 / -1; } }

/* ── Móvil u ordenador: un portátil y un móvil con la misma lista ── */
.duo { display: grid; gap: 2.5rem 4rem; align-items: center; }
.duo-text { display: grid; gap: 1.25rem; }
.duo-text p { font-size: 1.15rem; }
.devices { position: relative; padding: 0 0 3rem; max-width: 40rem; width: 100%; justify-self: center; }
.laptop { width: 88%; }
.laptop .screen {
  display: grid; gap: .6rem; align-content: start; aspect-ratio: 16 / 10; padding: 1rem 1.25rem;
  background: #fff; color: #111; color-scheme: light; overflow: hidden;
  border: 12px solid var(--device); border-bottom-width: 16px; border-radius: 16px 16px 4px 4px;
}
.laptop .base { height: 14px; margin: 0 -7%; background: #aeb6c1; border-radius: 2px 2px 14px 14px; box-shadow: 0 18px 30px -18px rgb(var(--shadow) / .6); }
.laptop .t { font-size: 1.1rem; font-weight: 800; }
.laptop .rows .r { grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 1rem; }
.laptop .rows .r .tag { grid-row: span 2; grid-column: 2; }
.duo .phone-s {
  position: absolute; right: 0; bottom: 0; width: 34%; min-width: 8.5rem;
  display: grid; gap: .4rem; align-content: start; padding: .8rem .7rem 1rem;
  background: #fff; color: #111; color-scheme: light;
  border: 7px solid var(--device); border-radius: 1.4rem;
  box-shadow: 0 2px 4px rgb(var(--shadow) / .14), 0 24px 44px -20px rgb(var(--shadow) / .6);
}
.phone-s .t { font-size: .9rem; font-weight: 800; }
.phone-s .rows .r b { font-size: .8rem; }
.phone-s .rows .r small { font-size: .7rem; }
.phone-s .tag { font-size: .68rem; padding: .15rem .5rem; }
@media (max-width: 30rem) {
  .laptop { width: 74%; }
  .laptop .screen { padding: .55rem .7rem; border-width: 8px 8px 11px; gap: .3rem; }
  .laptop .t { font-size: .85rem; }
  .laptop .rows .r { grid-template-columns: minmax(0, 1fr); padding: .3rem 0; }
  .laptop .rows .r .tag { grid-row: auto; grid-column: auto; font-size: .68rem; padding: .1rem .45rem; }
  .laptop .rows .r b { font-size: .78rem; }
  .laptop .rows .r small, .laptop .rows .r:nth-child(3) { display: none; }
  .devices { padding: 0; }
  .duo .phone-s { position: relative; width: 46%; margin: -3.5rem 0 0 auto; }
}
@media (min-width: 60rem) { .duo { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); } }
/* Las facturas: una factura en el portátil y la lista en el móvil, y el texto a la derecha.
   La columna de la factura deja libre el lado derecho de la pantalla, que tapa el móvil. */
.bills-shot .screen { padding: .8rem 34% .8rem 1.25rem; gap: .35rem; }
.bills-shot .laptop .t { font-size: 1rem; }
.bills-shot .who-row { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .5rem; font-size: .8rem; }
.bills-shot .who-row .tag { font-size: .68rem; padding: .1rem .5rem; }
.bills-shot .lines { display: grid; border: 1px solid #d5dae1; border-radius: 8px; padding: 0 .6rem; }
.bills-shot .ln { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: .75rem; padding: .25rem 0; border-top: 1px solid #d5dae1; font-size: .75rem; line-height: 1.3; }
.bills-shot .ln:first-child { border-top: 0; }
.bills-shot .ln small { grid-column: 1; font-size: .65rem; color: #3a4048; }
.bills-shot .ln .amt { grid-area: 1 / 2 / 3 / 3; }
.bills-shot .sum { display: grid; grid-template-columns: minmax(0, 1fr) auto; padding: 0 .6rem; font-size: .68rem; line-height: 1.35; color: #3a4048; }
.bills-shot .sum > :nth-child(even) { padding-left: .75rem; text-align: right; }
.bills-shot .sum b { color: #111; font-size: .8rem; margin-top: .15rem; padding-top: .15rem; border-top: 2px solid #111; }
.bills-shot .phone-s .sub { font-size: .72rem; font-weight: 800; margin-top: .2rem; }
.bills-shot .due { display: grid; gap: .2rem; padding: .5rem; border: 1px solid #d5dae1; border-radius: 8px; }
.bills-shot .due b { font-size: .8rem; }
.bills-shot .due small { font-size: .68rem; color: #3a4048; }
.bills-shot .go { min-height: 1.9rem; display: grid; place-items: center; margin-top: .2rem; border-radius: 6px; background: #0a4aa0; color: #fff; font-weight: 800; font-size: .72rem; white-space: nowrap; }
/* En el móvil el portátil es pequeño: el número, el cliente, un porte y el total. */
@media (max-width: 30rem) {
  .bills-shot .screen { padding: .55rem .7rem; }
  .bills-shot .laptop .t { font-size: .85rem; }
  .bills-shot .ln small, .bills-shot .ln + .ln, .bills-shot .sum > :nth-child(-n+6) { display: none; }
  .bills-shot .sum b { border-top-width: 1px; }
  .duo .bills-shot .phone-s { width: 58%; margin-top: -1rem; }
}
.bills-shot figcaption { margin-top: 1.25rem; max-width: 60%; font-size: .95rem; color: var(--ink-2); }
.bills .beats { padding: 0; }
.bills .duo-text .legal { font-size: .9rem; }
@media (min-width: 60rem) {
  .bills { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
  .bills .devices { grid-row: 1; }
}

/* ── Los dos papeles de un equipo: paneles blancos, como los que van bajo una señal ── */
.roles { display: grid; gap: 1.5rem 2rem; margin-top: 2.5rem; }
.role { display: grid; gap: 1rem; align-content: start; padding: 1.5rem 1.5rem 1.75rem; background: #fff; color: #111; border: 4px solid #111; border-radius: var(--r); color-scheme: light; }
.role h3 { display: flex; align-items: center; gap: .75rem; font-size: 1.5rem; }
.role h3 .pict { width: 2.4rem; height: 2.4rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.role ul { display: grid; gap: .65rem; }
.role li { display: grid; grid-template-columns: 1.6rem minmax(0, 1fr); gap: .6rem; align-items: start; font-size: 1.05rem; line-height: 1.4; }
.role li .ico { width: 1.5rem; height: 1.5rem; stroke-width: 2.5; margin-top: .05rem; }
.role li.yes .ico { color: #0a5a28; }
.role li.no { color: #353c45; }
.role li.no .ico { color: #6b7684; }
@media (min-width: 48rem) { .roles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.team .r { grid-template-columns: minmax(0, 1fr); }
.team .r.pending { border-top-style: dashed; color: #3a4048; }
.team-phone { justify-items: stretch; text-align: left; gap: .75rem; }
.team-phone .t { font-size: 1.25rem; font-weight: 800; }
.team .r b { font-size: 1.05rem; }
.team .r small { font-size: .9rem; }
.invite { display: grid; gap: .5rem; padding: .75rem; border-radius: var(--r); background: #e3ecf8; text-align: left; }
.invite b { font-size: 1rem; line-height: 1.3; }
.invite span { font-size: .85rem; color: #2f353c; }
.mini .link { justify-self: center; font-weight: 700; color: #0a4aa0; font-size: .95rem; text-decoration: underline; text-underline-offset: .2em; }

/* ── Precios: el cartel de destinos, el bono y la factura del mes ── */
.dest { display: grid; align-self: center; width: 100%; }
.dest li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .25rem 1rem; padding: 1rem 0; font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); font-weight: 700; line-height: 1.25; }
.dest li + li { border-top: 2px solid rgb(255 255 255 / .45); }
.dest b { margin-left: auto; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); font-weight: 800; letter-spacing: -.01em; }
.price-hero .sign-in { display: grid; gap: 2rem 4rem; padding: clamp(1.5rem, 1rem + 3vw, 3.5rem); }
.price-hero .intro { display: grid; gap: 1.25rem; justify-items: start; }
.price-hero h1 { font-size: clamp(2rem, 1.2rem + 3.4vw, 3.6rem); line-height: 1.04; letter-spacing: -.03em; font-weight: 800; text-wrap: balance; max-width: 18ch; }
.price-hero .lede { font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem); line-height: 1.4; color: var(--sign-ink-2); max-width: 32ch; }
@media (min-width: 60rem) { .price-hero .sign-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 3.5rem; min-height: 26rem; } }

.ways-head { display: grid; gap: 1rem; }
.ways-head p { font-size: 1.15rem; color: var(--ink-2); }
.ways { display: grid; gap: 4rem; margin-top: 3rem; }
.way { display: grid; gap: 1.5rem; align-content: start; }
.way h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.15; letter-spacing: -.01em; }
.way .for { color: var(--ink-2); margin-top: -.9rem; }
.way > p { font-size: 1.15rem; }
.way ul { display: grid; gap: .7rem; }
.way li { display: grid; grid-template-columns: 1.6rem minmax(0, 1fr); gap: .6rem; font-size: 1.05rem; line-height: 1.4; }
.way li .ico { width: 1.5rem; height: 1.5rem; stroke-width: 2.5; color: var(--ok); margin-top: .05rem; }
@media (min-width: 60rem) { .ways { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem 5rem; } }
.ticket {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; max-width: 26rem; min-height: 9rem;
  background: #fff; color: #111; color-scheme: light; border: 3px solid #111; border-radius: var(--r);
}
.ticket-main { display: grid; align-content: center; gap: .35rem; padding: 1.1rem 1.25rem; }
.ticket-main b { font-size: 1.5rem; font-weight: 900; letter-spacing: .02em; line-height: 1.1; }
.ticket-main span { font-size: .95rem; color: #2f353c; }
.ticket-stub { display: grid; place-items: center; width: 6.5rem; padding: 1rem .75rem; border-left: 3px dashed #fff; outline: 0; background: #0a4aa0; color: #fff; font-weight: 800; font-size: 1.05rem; text-align: center; line-height: 1.15; border-radius: 0 calc(var(--r) - 3px) calc(var(--r) - 3px) 0; }
.bill { display: grid; gap: .1rem; max-width: 26rem; padding: 1rem 1.25rem 1.1rem; background: #fff; color: #111; color-scheme: light; border: 1px solid #c4cad3; border-radius: 10px; box-shadow: 0 1px 2px rgb(0 0 0 / .06), 0 12px 28px -16px rgb(0 0 0 / .4); }
.bill-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-bottom: .55rem; margin-bottom: .25rem; border-bottom: 2px dashed #c4cad3; }
.bill-head b { font-weight: 900; letter-spacing: .02em; }
.bill-head span { font-size: .9rem; font-weight: 700; color: #2f353c; }
.bill p { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; max-width: none; padding: .45rem 0; font-size: .95rem; }
.bill p + p { border-top: 1px solid #e3e7ec; }
.bill p b { white-space: nowrap; }
.promise { display: grid; gap: 1.5rem 4rem; align-items: center; }
.promise .date b { font-size: clamp(3.5rem, 2.5rem + 5vw, 5.5rem); }
.promise ul { display: grid; gap: .8rem; }
.promise li { display: grid; grid-template-columns: 1.6rem minmax(0, 1fr); gap: .6rem; font-size: 1.15rem; line-height: 1.4; }
.promise li .ico { width: 1.5rem; height: 1.5rem; stroke-width: 2.5; color: var(--ok); margin-top: .1rem; }
@media (min-width: 48rem) { .promise { grid-template-columns: auto minmax(0, 1fr); } }

/* ── Movimiento ── */
@media (prefers-reduced-motion: no-preference) {
  .hero-shot .phone { animation: rise 700ms var(--ease-out) 120ms both; }
  .hero-shot .scan { animation: scan 1300ms cubic-bezier(.4, 0, .2, 1) 900ms both; }

  /* Al cargar, lo que hay en el panel azul de arriba sube en orden. */
  .hero .sign-in > *, .price-hero .intro > * { animation: rise-in 600ms var(--ease-out) both; }
  .hero .sign-in > :nth-child(2), .price-hero .intro > :nth-child(2) { animation-delay: 80ms; }
  .hero .sign-in > :nth-child(3), .price-hero .intro > :nth-child(3) { animation-delay: 160ms; }
  .hero .sign-in > :nth-child(4) { animation-delay: 240ms; }
  .hero .sign-in > :nth-child(5) { animation-delay: 300ms; }
  .hero-shot.film video { animation: rise 700ms var(--ease-out) 160ms both; }
  /* El cartel de destinos de precios se enciende de arriba abajo. */
  .dest b { animation: lit-text 500ms var(--ease) 500ms both; }
  .dest li:nth-child(2) b { animation-delay: 650ms; }
  .dest li:nth-child(3) b { animation-delay: 800ms; }

  /* Al bajar por la página pasas los postes: 3, 2, 1. Cada uno se enciende
     y su pantalla sube a su sitio. Sin soporte, todo se ve encendido. */
  @supports (animation-timeline: view()) {
    .post-panel i { animation: lit linear both; animation-timeline: view(); animation-range: entry 100% cover 38%; }
    .post-panel i:nth-child(2) { animation-range: entry 100% cover 42%; }
    .post-panel i:nth-child(3) { animation-range: entry 100% cover 46%; }
    .mini { animation: lift linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
    /* Cada bloque sube al entrar: título, texto y figura, uno detrás de otro. */
    .reveal { animation: lift-in linear both; animation-timeline: view(); animation-range: entry 0 entry 9rem; }
    .reveal.d1 { animation-range: entry 1.5rem entry 10.5rem; }
    .reveal.d2 { animation-range: entry 3rem entry 12rem; }
    /* «Esperando» pasa a «DeCA hecho» mientras la lista sube por la pantalla. */
    .flip > .wait { visibility: visible; animation: tag-out linear both; animation-timeline: view(); animation-range: cover 34% cover 42%; }
    .flip > .ok { animation: tag-in linear both; animation-timeline: view(); animation-range: cover 40% cover 50%; }
    /* El viaje se asigna a Luis al llegar a la mitad de la pantalla. */
    .chips .pick { animation: chip-on linear both; animation-timeline: view(); animation-range: cover 36% cover 46%; }
    @media (min-width: 60rem) {
      .step:nth-child(2) .post-panel i, .step:nth-child(2) .mini { animation-range: cover 22% cover 46%; }
      .step:nth-child(3) .post-panel i, .step:nth-child(3) .mini { animation-range: cover 30% cover 54%; }
    }
  }
}
@keyframes rise { from { transform: translateY(2.5rem) rotate(2deg); opacity: 0; } }
@keyframes scan {
  0% { transform: translateY(-100%); opacity: 1; }
  80% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(0); opacity: 0; }
}
@keyframes lit { from { background-color: var(--unlit); } }
@keyframes lift { from { transform: translateY(2rem); } }
@keyframes rise-in { from { transform: translateY(1.25rem); opacity: 0; } }
@keyframes lift-in { from { transform: translateY(2rem); opacity: 0; } }
@keyframes tag-out { to { transform: translateY(-.5rem); opacity: 0; } }
@keyframes tag-in { from { transform: scale(.85); opacity: 0; } }
@keyframes chip-on { from { background: #fff; border-color: #8a94a1; color: #111; } }
@keyframes lit-text { from { color: var(--unlit); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
