/* Landing de Ventu (variante 14, sobre la 13c · Tubo). Tipografía (titulares serif en dos tonos, etiquetas y botones mono
   de tinta) con el tubo en serpentina como único motivo: en el hero, como señal de scroll, como conector del recorrido
   fijado y como columna de la línea de tiempo. Los tubos los dibuja home.js en canvas con estas variables. Sin píxeles.
   Las capturas reales se recortan a su zona útil (≥ 0,75 en escritorio, ≥ 0,6 en celular y paneles). */
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 300; font-display: swap; src: url("/site/fonts/source-serif-4-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 400; font-display: swap; src: url("/site/fonts/source-serif-4-latin-400-normal.woff2") format("woff2"); }

html:has(> body.v13), body.v13 { overflow-x: clip; }
body.v13 { background: var(--c-sheet); }
.v13 { --frame: 1440px; --px: clamp(20px, 3vw, 48px); --serif: "Source Serif 4", Georgia, serif;
  --gl: rgb(17 24 39 / .08); --gl2: rgb(17 24 39 / .16); --tab: #1C1D1F; --tab-tx: #fff; --cols: 16; }
[data-theme="dark"] .v13 { --gl: rgb(255 255 255 / .07); --gl2: rgb(255 255 255 / .15); --tab: #ededed; --tab-tx: #111; }
/* colores del tubo (los lee home.js): tubo, grano "r g b", mensaje, acento y tinta del check */
.v13c { --tube: #E7E8EB; --grain: 62 66 74; --dot: #FFFFFF; --acc: #2563EB; --ink: #1C1D1F; }
[data-theme="dark"] .v13c { --tube: #272727; --grain: 190 190 190; --dot: #EDEDED; --acc: #60A5FA; --ink: #EDEDED; }
.tube { position: relative; }
.tube canvas { display: block; width: 100%; height: 100%; }
main.fr { background: transparent; }
/* las secciones de abajo no se maquetan hasta acercarse (la primera maquetación con CPU lenta pasaba de 50 ms);
   "auto" recuerda el alto real una vez vistas. El recorrido y el día quedan fuera: sus transiciones arrancan al verse
   y, saltadas fuera de pantalla, quedaban a medias */
.facts, .addons, .end { content-visibility: auto; }
/* altos estimados (medidos a 390 y 1230): con uno genérico, los saltos del menú caían corridos */
.facts { contain-intrinsic-size: auto 780px; } .addons { contain-intrinsic-size: auto 1610px; } .end { contain-intrinsic-size: auto 500px; }
@media (max-width: 600px) { .facts { contain-intrinsic-size: auto 1100px; } .addons { contain-intrinsic-size: auto 3010px; } .end { contain-intrinsic-size: auto 590px; } }

/* Tipografía */
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; }
.serif .g { display: block; color: var(--c-mut-l); }
.v13 h2.serif { font-size: clamp(34px, 4.2vw, 56px); line-height: 1.04; font-weight: 400; letter-spacing: -.035em; }
.eb { display: inline-flex; align-items: center; gap: 8px; margin: 0; font: 500 11px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--c-tx2); }
.eb::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--acc); }
.sub { margin: 0; font-size: 16px; line-height: 1.5; color: var(--c-mut); }

/* Botones como el .btn del CRM (web/src/shared/styles/base.css): Geist 500, radio 7px, 36px; primario de tinta,
   secundario con borde --line-2 sobre el fondo. Valores de los tokens del CRM en claro y oscuro. */
body.v13 { --btn-ink: #111111; --btn-on-ink: #ffffff; --btn-bg: #ffffff; --btn-line: #dadad7; --btn-fg: #171717; --btn-hover: #f4f4f3; --btn-page: #ffffff; }
[data-theme="dark"] body.v13 { --btn-ink: #f2f2f2; --btn-on-ink: #111111; --btn-bg: #141414; --btn-line: #333333; --btn-fg: #ededed; --btn-hover: #1e1e1e; --btn-page: #141414; }
.mb, .v13 .nav8 .b8 { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 0 12px; border: 1px solid var(--btn-ink);
  border-radius: 7px; background: var(--btn-ink); color: var(--btn-on-ink); font: 500 15px/1.3 var(--font); letter-spacing: normal; text-transform: none; text-decoration: none;
  white-space: nowrap; box-shadow: none; transition: background-color .12s, transform .12s; }
.mb:hover, .v13 .nav8 .b8:hover { background: color-mix(in srgb, var(--btn-ink) 86%, var(--btn-page)); }
.mb.line, .v13 .nav8 .b8.line { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-line); }
.mb.line:hover, .v13 .nav8 .b8.line:hover { background: var(--btn-hover); }
.mb:active, .v13 .nav8 .b8:active { transform: scale(.98); }
.mb:focus-visible, .v13 .nav8 .b8:focus-visible { outline: 2px solid var(--btn-fg); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .mb, .v13 .nav8 .b8 { transition: none; } .mb:active, .v13 .nav8 .b8:active { transform: none; } }
.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.v13 .nav8 nav a { font-size: 14px; }

/* ---------- Hero: la primera pantalla. El tubo arriba, a todo el ancho; titular a la izquierda, bajada y botones a la derecha.
   Tubo y titular son un bloque: el espacio libre se reparte arriba y abajo (filas 1fr) y la señal de scroll va al borde de abajo.
   min-height, nunca alto fijo ---------- */
/* ritmo vertical: un solo juego de espacios por breakpoint (cada sección lleva media --sg arriba y abajo: entre secciones, --sg) */
body.v13 { --sg: 136px; --hv: 56px; --cg: 28px; }
@media (max-width: 1024px) { body.v13 { --sg: 104px; --hv: 48px; } }
@media (max-width: 600px) { body.v13 { --sg: 76px; --hv: 40px; --cg: 24px; } }
.hero { display: grid; grid-template-columns: minmax(0, 9fr) minmax(0, 6fr); grid-template-rows: 1fr auto auto 1fr auto; column-gap: 48px; align-items: end;
  min-height: calc(100svh - 64px); padding: 64px var(--px) 0; }
.tube.big { grid-column: 1 / -1; grid-row: 2; height: 240px; }
.hhead { display: grid; gap: 22px; grid-row: 3; margin-top: 72px; }
.v13 h1 { margin: 0; max-width: none; font-size: clamp(46px, 5.4vw, 76px); line-height: 1.02; letter-spacing: -.04em; font-weight: 400; color: var(--c-tx); }
.hside { display: grid; gap: 22px; grid-row: 3; margin-top: 72px; padding-bottom: 6px; }
.hside p { margin: 0; max-width: 36ch; font-size: 16px; line-height: 1.5; color: var(--c-tx2); }
/* la señal de scroll: tubo recto pegado al borde de abajo, que sigue de largo hacia #negocios; se apaga al bajar (home.js) */
.hcue { grid-column: 1 / -1; grid-row: 5; display: grid; justify-items: center; justify-self: start; gap: 8px; margin-bottom: -36px; padding-top: 32px; transition: opacity .2s ease-out; }
.hcue span { font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--c-mut); }
.hcue .tube { width: 22px; height: 84px; }
.hcue.gone { opacity: 0; }
/* pantallas altas (>900 px): el hero crece con el alto en vez de sumar aire (hasta 900 px no cambia nada). El tubo toma su
   geometría del alto (tw = H/12) y hasta 360 px sigue denso. El titular más grande ya no cabe en dos líneas junto a la
   bajada: toma todo el ancho y la bajada con los botones va debajo (como en celular) */
@media (min-width: 861px) and (min-height: 901px) {
  .hero { grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr auto auto auto 1fr auto; padding-top: 24px; }
  .tube.big { height: clamp(240px, 26vh, 360px); }
  .v13 h1 { font-size: clamp(clamp(46px, 5.4vw, 76px), 8.4vh, 112px); }
  .hhead { margin-top: clamp(72px, 8vh, 112px); }
  .hside { grid-row: 4; margin-top: 36px; }
  .hcue { grid-row: 6; }
}

/* ---------- Para quién: tres tipos de negocio con piezas reales del CRM; cada uno abre con el mensaje que llega ---------- */
.biz { padding: calc(var(--sg) / 2 + 36px) var(--px) calc(var(--sg) / 2); }
.biz .dhead { justify-items: start; text-align: left; }
.biz .dhead .sub { max-width: 62ch; text-wrap: balance; }
.bz-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--cg); margin-top: var(--hv); }
.bz { display: grid; align-content: start; gap: 10px; padding: 28px 28px 26px; border-radius: 12px; background: var(--c-card); box-shadow: 0 0 0 1px var(--c-bd); }
.bz p, .sp-ui p { margin: 0; }
.bz-k { font: 500 11px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--c-tx2); }
.v13 .bz h3 { margin: 0; font-size: 20px; line-height: 1.2; font-weight: 500; letter-spacing: -.02em; }
.bz > p:not([class]) { font-size: 14.5px; line-height: 1.5; color: var(--c-mut); }
.bz-ui { display: grid; gap: 9px; margin-top: 8px; padding: 14px; border-radius: 10px; background: var(--c-off); box-shadow: inset 0 0 0 1px var(--c-bd); font-size: 13.5px; line-height: 1.4; color: var(--c-tx); }
.bz-ui .bz-in { margin-bottom: 4px; }
.bz-h { display: flex; align-items: center; gap: 8px; padding-bottom: 9px; border-bottom: 1px solid var(--c-bd); } .bz-h b { font-weight: 600; } .bz-h > span:last-child { margin-left: auto; font-size: 12px; color: var(--c-mut); }
.bz-av { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 6px; background: var(--c-50); font: 600 10.5px/1 var(--font); color: var(--c-tx2); }
.bz-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; } .bz-row b { font-weight: 600; } .bz-row > span + span { color: var(--c-mut); font-size: 12.5px; }
.bz-row.ship { justify-content: start; } .bz-row.ship img { border-radius: 5px; }
.bz-chip { display: inline-flex; align-items: center; gap: 6px; justify-self: start; padding: 3px 8px; border-radius: 5px; background: var(--c-50); font-size: 12.5px; font-weight: 500; color: var(--c-tx2); }
.bz-chip.warn { background: #f4ece7; color: #92400e; } [data-theme="dark"] .bz-chip.warn { background: #2b2516; color: #fbbf24; }
.bz-ok { display: flex; align-items: center; gap: 6px; font-weight: 600; color: #166534; } [data-theme="dark"] .bz-ok { color: #4ade80; }
.bz-time { display: flex; align-items: baseline; gap: 8px; } .bz-time b { font: 600 26px/1 var(--font); letter-spacing: -.02em; } .bz-time span { color: var(--c-mut); }
.bz-btns { display: flex; flex-wrap: wrap; gap: 6px; } .bz-btns .xbtn.sm { padding: 0 10px; }
.bz-gc { display: flex; align-items: center; gap: 6px; font-weight: 500; color: var(--c-tx2); }
:is(.bz, .sp-ui) .ml-h .won { background: #e8f0eb; color: #166534; } [data-theme="dark"] :is(.bz, .sp-ui) .ml-h .won { background: #19281f; color: #4ade80; }
:is(.bz, .sp-ui) .sv-ans { --green-bg: #e3f5e9; --green-fg: #166534; font-size: 13px; } [data-theme="dark"] :is(.bz, .sp-ui) .sv-ans { --green-bg: #12301d; --green-fg: #86efac; }
:is(.bz, .sp-ui) .sv-ans .sv-f { width: 64px; min-height: 52px; }
.bz-more { justify-self: start; margin-top: 6px; font-size: 15px; font-weight: 500; color: var(--c-tx); text-decoration: underline; text-decoration-color: var(--c-mut-l); text-underline-offset: 4px; }
.bz-more:hover { text-decoration-color: currentColor; }
.trust { display: flex; flex-wrap: wrap; justify-content: start; gap: 10px 28px; margin: var(--hv) 0 0; padding: 0; list-style: none; }
.trust li { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: var(--c-tx); }
.trust svg { color: #166534; } [data-theme="dark"] .trust svg { color: #86efac; }
@media (max-width: 1024px) { .bz-grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; } }
/* aparecen al entrar (14 px, 300 ms, 40 ms entre tarjetas; home.js pone .rv y .in); sin JS o con movimiento reducido no se ocultan */
@media (prefers-reduced-motion: no-preference) {
  .rv .biz :is(.dhead, .bz, .trust) { opacity: 0; transform: translateY(14px); transition: opacity .3s ease-out, transform .3s ease-out; transition-delay: calc(var(--i, 0) * 40ms); }
  .rv .biz :is(.dhead, .bz, .trust).in { opacity: 1; transform: none; }
  .bz:nth-child(1) { --i: 1; } .bz:nth-child(2) { --i: 2; } .bz:nth-child(3) { --i: 3; } .trust { --i: 4; }
}

/* Capturas recortadas: --cx/--cy/--cw/--ch en px de la imagen 1x de ancho --iw; en celular --mx/--my/--mw/--mh */
.sh { display: block; overflow: hidden; background: var(--c-card); }
.sh img { display: block; width: 100%; height: auto; max-width: none; }
.cp { --X: var(--cx); --Y: var(--cy); --W: var(--cw); --H: var(--ch); aspect-ratio: var(--W) / var(--H); }
.cp img { width: calc(var(--iw) / var(--W) * 100%); margin-left: calc(var(--X) / var(--W) * -100%); margin-top: calc(var(--Y) / var(--W) * -100%); }

/* ---------- Del chat al paquete ---------- */
.flow { position: relative; padding: calc(var(--sg) / 2) var(--px); }
.pin { display: grid; justify-items: center; }
.fhead { display: grid; justify-items: center; gap: 16px; text-align: center; }
.v13 .fhead h2.serif { margin: 0 0 6px; }
.stage { position: relative; width: min(780px, 100%); margin-top: var(--hv); }
.wires, .bar { display: none; }
.wires { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.node { position: relative; z-index: 1; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 48px; }
.st { display: grid; justify-items: start; gap: 10px; }
.lab { margin: 0; font-size: 15px; font-weight: 500; color: var(--c-tx); }
.lab span { font-family: var(--mono); font-size: 13px; }
/* las etiquetas de paso son botones: llevan al paso (home.js); sin aspecto de botón */
button.lab { padding: 0; border: 0; background: none; font: 500 15px/1.35 var(--font); color: var(--c-tx); text-align: inherit; cursor: pointer; }
button.lab:focus-visible, .xtl button:focus-visible { outline: 2px solid var(--c-tx); outline-offset: 3px; border-radius: 4px; }
.cap { margin: 0 0 6px; font-size: 14px; color: var(--c-mut); }
.node { margin: 0; width: min(100%, var(--w)); border-radius: 10px; overflow: hidden; background: var(--c-card);
  box-shadow: 0 0 0 1px var(--c-bd), 0 10px 28px -14px rgb(17 24 39 / .22); transition: opacity .2s, transform .2s; }
[data-theme="dark"] .node { box-shadow: 0 0 0 1px #2a2a2a, 0 10px 28px -14px rgb(0 0 0 / .6); }
.etag { font: 500 11px/1 var(--font); }
.n-chat { --w: 450px; } .n-lead, .n-sha, .n-trk { --w: 250px; }
/* Nodos: componentes chicos con los estilos reales del CRM (texto ≥ 11 px). Tokens: chip, avatar, evento del historial */
.node { font-size: 12.5px; line-height: 1.35; color: var(--c-tx); text-align: left; }
.node p { margin: 0; }
.node .mono, .ms-fl b { font-family: var(--mono); }
.av { position: relative; flex: none; display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; font: 600 11px/1 var(--font); letter-spacing: .02em; }
.av.sm { width: 20px; height: 20px; font-size: 11px; letter-spacing: 0; }
.av-c { background: #fed7d7; color: #9b2c2c; } .av-d { background: #fed7e2; color: #702459; } .av-l { background: var(--c-50); color: var(--c-tx2); } .av-m { background: #b2f5ea; color: #234e52; }
[data-theme="dark"] .av-c { background: #63171b; color: #feb2b2; } [data-theme="dark"] .av-d { background: #521b41; color: #fbb6ce; } [data-theme="dark"] .av-m { background: #1d4044; color: #81e6d9; }
.wa-b { position: absolute; right: -4px; bottom: -3px; border-radius: 50%; background: var(--c-card); box-shadow: 0 0 0 1.5px var(--c-card); }
.lc { display: inline-flex; align-items: center; gap: 5px; height: 20px; padding: 0 7px; border: 1px solid var(--c-bd); border-radius: 999px; background: var(--c-card); font-size: 11.5px; font-weight: 500; white-space: nowrap; }
.lc i { width: 6px; height: 6px; border-radius: 2px; background: var(--c-blue); }
.evl { font-size: 11.5px; color: var(--c-mut); text-align: center; }
.bub { position: relative; justify-self: start; max-width: 88%; padding: 6px 9px; border-radius: 9px; background: var(--c-card); box-shadow: 0 0 0 1px var(--c-bd); }
.bub time { margin-left: 8px; font: 11px/1 var(--mono); color: var(--c-mut); }
/* 01 Tomar el chat: "Sin asignar" y Tomar → Lucía a cargo y el evento en el historial (home.js pone .taken al verlo) */
.mc-h { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--c-bd); }
.who { display: grid; justify-items: start; gap: 3px; min-width: 0; margin-right: auto; }
.who b { font-size: 14px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; }
.take { flex: none; padding: 5px 10px; border-radius: 6px; background: var(--c-btn); color: var(--c-btn-tx); font-size: 12.5px; font-weight: 500; transition: opacity .25s, transform .25s; }
.own { flex: none; display: inline-grid; grid-template-columns: auto auto; align-items: center; gap: 5px; height: 26px; padding: 0 8px 0 6px; border: 1px solid var(--c-bd); border-radius: 999px; font-size: 12px; font-weight: 500; color: var(--c-tx2); }
/* los dos estados en la misma celda: el chip no cambia de ancho al tomar el chat (sin saltos de diseño) */
.own > span { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 6px; }
.own .o1 { visibility: hidden; }
.own .na { width: 14px; height: 14px; border-radius: 50%; border: 1.3px dashed var(--c-mut-l); }
.own svg { color: var(--c-mut-l); }
.mc-b { display: grid; gap: 6px; padding: 10px 12px 10px; background: var(--c-off); }
[data-theme="dark"] .mc-b { background: rgb(255 255 255 / .02); }
.n-chat .evl { margin-top: 4px; opacity: 0; transform: translateY(4px); transition: opacity .3s .25s, transform .3s .25s; }
.n-chat.taken .take { opacity: 0; transform: scale(.94); }
.n-chat.taken .own .o0 { visibility: hidden; }
.n-chat.taken .own .o1 { visibility: visible; animation: own13 .3s ease-out; }
.n-chat.taken .own { color: var(--c-tx); }
.n-chat.taken .evl { opacity: 1; transform: none; }
@keyframes own13 { from { opacity: 0; } }
/* 02 Pasa a Ganado */
.n-lead { display: grid; gap: 8px; padding: 10px; background: var(--c-off); }
.ml-h { display: flex; align-items: center; gap: 6px; color: var(--c-mut-l); }
.stg { padding: 3px 7px; border-radius: 5px; background: var(--c-50); color: var(--c-tx2); font-size: 11.5px; font-weight: 500; transition: background .3s .3s, color .3s .3s; }
.stg:first-child { color: var(--c-mut); }
.flow:not([data-step="0"]) .won { background: #e8f0eb; color: #166534; }
[data-theme="dark"] .flow:not([data-step="0"]) .won { background: #19281f; color: #4ade80; }
.lcard { display: grid; gap: 6px; padding: 9px 10px; border-radius: 8px; background: var(--c-card); box-shadow: 0 0 0 1px var(--c-bd), 0 2px 6px -2px rgb(17 24 39 / .12); }
.ln { display: flex; align-items: center; gap: 6px; } .ln b { font-size: 13px; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 5px; }
.fup { display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 7px; border-radius: 999px; background: var(--c-50); font-size: 11.5px; font-weight: 500; color: var(--c-tx2); white-space: nowrap; }
.ow { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--c-tx2); }
.n-lead .evl { text-align: left; padding: 0 2px; }
/* 03 Crear el pedido: la cotización del flete */
.n-sha { display: grid; gap: 8px; padding: 11px 12px 12px; }
.ms-h { display: flex; align-items: center; gap: 8px; font-size: 13.5px; } .ms-h b { font-weight: 600; }
.ms-h img, .mt-c img { flex: none; border-radius: 5px; }
.ms-st { color: var(--c-mut); } .ms-st b { margin-left: 4px; color: var(--c-tx); font-weight: 600; }
.ms-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: -2px; }
.ms-bar i { height: 3px; border-radius: 2px; background: var(--c-bd); }
.ms-bar i:nth-child(-n+2) { background: var(--c-tx); }
.ms-bar i:nth-child(3) { background: linear-gradient(90deg, var(--c-tx) 50%, var(--c-bd) 50%) 100% 0 / 200% 100%; transition: background-position .5s .3s; }
[data-step="2"] .ms-bar i:nth-child(3) { background-position: 0 0; }
.ms-fl { padding: 7px 9px; border-radius: 7px; background: var(--c-off); box-shadow: inset 0 0 0 1px var(--c-bd); color: var(--c-mut); }
.ms-fl b { margin-left: 4px; font-size: 12px; font-weight: 600; color: var(--c-tx); }
.ms-kv { display: flex; justify-content: space-between; gap: 8px; } .ms-kv span { color: var(--c-mut); } .ms-kv b { font-weight: 500; text-align: right; color: var(--c-tx); }
.ms-kv.col { display: grid; gap: 2px; } .ms-kv.col b { text-align: left; }
/* 04 Tu cliente lo sigue: la página de seguimiento con la marca de la tienda */
.n-trk { border-top: 3px solid #5E7B66; } /* color de marca de Pima Studio, como en su link de seguimiento */
.mt-h { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-bottom: 1px solid var(--c-bd); font-size: 13px; } .mt-h b { font-weight: 600; }
.tk { display: block; flex: none; width: 22px; height: 22px; border-radius: 6px; overflow: hidden; } .tk img { display: block; width: 100%; height: 100%; }
.mt-b { display: grid; gap: 4px; padding: 10px 12px 12px; }
.mt-s { display: flex; align-items: center; gap: 7px; font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
.mt-s i { width: 9px; height: 9px; border-radius: 50%; background: var(--c-blue); box-shadow: 0 0 0 3px rgb(38 109 240 / .18); }
.mt-d { color: var(--c-tx2); }
.mt-c { display: flex; align-items: center; gap: 7px; margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--c-bd); color: var(--c-mut); }
.mt-c .mono { font-size: 12px; color: var(--c-tx); }
@media (prefers-reduced-motion: reduce) { .node *, .node { transition: none !important; animation: none !important; } }
.s2 { grid-template-columns: repeat(2, max-content); gap: 16px 24px; }
.s2 .lab, .s2 .cap { grid-column: 1 / -1; }
/* lavado suave al pie, cielo y cian; sigue 140 px dentro de la sección siguiente y se apaga ahí, para que no corte en línea recta en el borde */
.flow::after { content: ""; position: absolute; z-index: -1; inset: auto 0 -140px; height: 560px; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 140px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 140px), transparent);
  background: radial-gradient(60% 420px at 50% calc(100% - 140px), rgb(125 211 252 / .32), rgb(34 211 238 / .1) 55%, transparent 80%); }
[data-theme="dark"] .flow::after { background: radial-gradient(60% 420px at 50% calc(100% - 140px), rgb(34 211 238 / .12), rgb(37 99 235 / .06) 55%, transparent 80%); }

/* Fijado: solo en escritorio con altura suficiente y con movimiento */
@media (min-width: 861px) and (min-height: 760px) and (prefers-reduced-motion: no-preference) {
  .flow { height: 300vh; padding: 0; }
  /* fijado: el lavado vive en .pin (recortado); este tramo de 140 px debajo de la sección continúa la misma elipse y se apaga */
  .flow::after { inset: 100% 0 auto; height: 140px; -webkit-mask-image: linear-gradient(to bottom, #000, transparent); mask-image: linear-gradient(to bottom, #000, transparent);
    background: radial-gradient(70% calc((100vh - 64px) * .46) at 50% calc((100vh - 64px) * .04), rgb(125 211 252 / .34), rgb(34 211 238 / .1) 55%, transparent 82%); }
  [data-theme="dark"] .flow::after { background: radial-gradient(70% calc((100vh - 64px) * .46) at 50% calc((100vh - 64px) * .04), rgb(34 211 238 / .13), rgb(37 99 235 / .06) 55%, transparent 82%); }
  .pin { position: sticky; top: 64px; height: calc(100vh - 64px); align-content: start; padding-top: 28px; overflow: hidden;
    background: radial-gradient(70% 46% at 50% 104%, rgb(125 211 252 / .34), rgb(34 211 238 / .1) 55%, transparent 82%); }
  [data-theme="dark"] .pin { background: radial-gradient(70% 46% at 50% 104%, rgb(34 211 238 / .13), rgb(37 99 235 / .06) 55%, transparent 82%); }
  .stage { width: 780px; height: 404px; margin-top: 24px; }
  .steps { display: block; }
  .st { display: block; }
  .wires { display: block; }
  .node { position: absolute; width: var(--w); }
  .n-chat { left: 0; top: 10px; } .n-lead { left: 530px; top: 0; } .n-sha { left: 150px; top: 216px; } .n-trk { left: 500px; top: 230px; }
  .n-lead, .n-sha, .n-trk { opacity: 0; transform: translateY(10px); }
  [data-step="0"] .n-chat { transform: translate(165px, 111px); }
  [data-step="1"] .n-lead, [data-step="2"] .node { opacity: 1; transform: none; }
  .lab, .cap { position: absolute; width: 200px; left: calc(50% - 300px + var(--i) * 200px); text-align: center; color: var(--c-mut-l); transition: color .2s; }
  .lab { top: calc(100% + 26px); }
  .cap { top: calc(100% + 64px); font-size: 13px; }
  .s0 { --i: 0; } .s1 { --i: 1; } .s2 { --i: 2; }
  [data-step="0"] .s0 :is(.lab, .cap), [data-step="1"] .s1 :is(.lab, .cap), [data-step="2"] .s2 :is(.lab, .cap) { color: var(--c-tx); }
  [data-step="0"] .s0 .cap, [data-step="1"] .s1 .cap, [data-step="2"] .s2 .cap { color: var(--c-tx2); }
  .bar { display: block; position: absolute; top: calc(100% + 54px); left: calc(50% - 300px); width: 600px; height: 1px; background: var(--c-bd); }
  .bar i { display: block; width: 200px; height: 2px; margin-top: -1px; background: var(--c-tx); transform: translateX(calc(var(--s, 0) * 200px)); transition: transform .2s; }
  [data-step="1"] .bar i { --s: 1; } [data-step="2"] .bar i { --s: 2; }
}

/* ---------- Extensión para Chrome ---------- */
.ext { position: relative; padding: calc(var(--sg) / 2) var(--px); }
.ext .sub { max-width: 52ch; }
.xpin { display: grid; justify-items: center; }
/* un trozo de WhatsApp Web (genérico, sin logos) y el panel de Ventu encima, más grande */
.xw { --wa-bg: #efeae2; --wa-bar: #f0f2f5; --wa-in: #ffffff; --wa-out: #d9fdd3; --wa-tx: #111b21; --wa-mut: #54656f; --wa-list: #ffffff;
  width: min(900px, 100%); margin-top: var(--hv); overflow: clip; border-radius: 14px; background: var(--wa-bg); box-shadow: 0 0 0 1px var(--c-bd), 0 24px 60px -30px rgb(17 24 39 / .3); color: var(--wa-tx); text-align: left; }
[data-theme="dark"] .xw { --wa-bg: #0b141a; --wa-bar: #202c33; --wa-in: #202c33; --wa-out: #005c4b; --wa-tx: #e9edef; --wa-mut: #aebac1; --wa-list: #111b21; box-shadow: 0 0 0 1px #2a2a2a, 0 24px 60px -30px rgb(0 0 0 / .7); }
.xw p { margin: 0; }
.xw-bar { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; background: var(--c-50); border-bottom: 1px solid var(--c-bd); color: var(--c-tx2); }
.xw-bar > i { width: 10px; height: 10px; border-radius: 50%; background: var(--c-bd); }
.xw-url { margin-left: 12px; padding: 3px 12px; border-radius: 999px; background: var(--c-card); font-size: 12px; color: var(--c-mut); }
.xw-ext { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-size: 12px; font-weight: 500; color: var(--c-tx); }
.xw-body { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); }
.xw-chat { display: grid; grid-template-rows: minmax(0, 1fr) auto; min-width: 0; margin-right: -28px; padding-right: 28px; font-size: 14px; line-height: 1.4;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 34%); mask-image: linear-gradient(90deg, transparent, #000 34%); }
.xw-msgs { display: grid; align-content: end; gap: 8px; padding: 24px 16px 16px 0; transition: opacity .35s; }
.xm { max-width: 92%; padding: 7px 10px 8px; border-radius: 8px; background: var(--wa-in); box-shadow: 0 1px .5px rgb(11 20 26 / .13); }
.xm.out { justify-self: end; background: var(--wa-out); }
.xm time { float: right; margin: 6px 0 -4px 10px; font-size: 11px; color: var(--wa-mut); }
[data-theme="dark"] .xm.out time { color: #cfe3dd; }
.xw-comp { padding: 10px 14px 12px 0; background: var(--wa-bar); }
.xw-comp span { display: block; padding: 9px 12px; border-radius: 8px; background: var(--wa-list); color: var(--wa-mut); }
/* sin chat abierto (paso 01): el trozo de WhatsApp queda vacío */
.ext[data-step="0"] .xw-msgs { opacity: 0; }
/* el panel: las mismas piezas que la extensión real (panel.css), a 14 px */
.xsts { list-style: none; margin: 0; padding: 0; min-width: 0; }
.xcap { margin: 0 0 10px; font-size: 14px; color: var(--c-tx2); }
.xcap span { margin-right: 6px; font-family: var(--mono); font-size: 13px; color: var(--c-mut); }
.xp { position: relative; z-index: 1; display: grid; align-content: start; height: 100%; background: var(--c-card); color: var(--c-tx); font-size: 14px; line-height: 1.4;
  box-shadow: -1px 0 0 var(--c-bd), -24px 0 48px -24px rgb(17 24 39 / .28); }
[data-theme="dark"] .xp { box-shadow: -1px 0 0 #2a2a2a, -24px 0 48px -24px rgb(0 0 0 / .7); }
.xp svg { flex: none; }
.xph { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-bottom: 1px solid var(--c-bd); font-size: 15px; } .xph b { font-weight: 600; }
.xbell { position: relative; display: grid; place-items: center; width: 30px; height: 30px; margin-left: auto; border-radius: 7px; color: var(--c-tx); }
.xbell.on { background: var(--c-50); }
.xbell i { position: absolute; top: -3px; right: -4px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: var(--c-btn); color: var(--c-btn-tx); font: 600 10.5px/16px var(--font); font-style: normal; text-align: center; }
.xst { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 10px; padding: 16px; border-bottom: 1px solid var(--c-bd); }
.xst p { display: grid; gap: 2px; } .xst b { font-weight: 600; } .xst p span { color: var(--c-mut); }
.xico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--c-50); color: var(--c-mut); }
.xpb { display: grid; align-content: start; gap: 10px; padding: 12px 16px 14px; }
.xsearch { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 7px; box-shadow: inset 0 0 0 1px var(--c-bd); color: var(--c-mut); }
.xnote { font-size: 13px; color: var(--c-mut); }
.xid { display: grid; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--c-bd); }
.xwho { display: flex; align-items: center; gap: 10px; } .xwho > span:nth-child(2) { display: grid; min-width: 0; margin-right: auto; }
.xwho b { font-size: 16px; font-weight: 600; letter-spacing: -.01em; } .xwho .mono { font-family: var(--mono); font-size: 12.5px; white-space: nowrap; color: var(--c-mut); }
.xacts { display: flex; gap: 6px; }
.xb { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: 7px; box-shadow: inset 0 0 0 1px var(--c-bd); font-size: 13px; font-weight: 500; }
.xb.ic { width: 30px; justify-content: center; padding: 0; } .xb.on { background: var(--c-50); }
.xown { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .xown p { display: grid; gap: 4px; } .xown p > span:first-child { font-size: 12.5px; color: var(--c-mut); }
.xsel { display: flex; align-items: center; gap: 7px; height: 32px; padding: 0 10px; border-radius: 7px; box-shadow: inset 0 0 0 1px var(--c-mut-l); font-size: 13.5px; }
.xsel svg { margin-left: auto; color: var(--c-mut); } .xsel i { width: 8px; height: 8px; border-radius: 2px; } .xsel i.ok { background: #166534; } .xsel.w { color: #166534; }
[data-theme="dark"] .xsel i.ok { background: #4ade80; } [data-theme="dark"] .xsel.w { color: #4ade80; }
.xtabs { display: flex; gap: 18px; padding: 0 16px; border-bottom: 1px solid var(--c-bd); }
.xtabs > * { padding: 9px 0 8px; font-size: 14px; color: var(--c-mut); } .xtabs b { font-weight: 600; color: var(--c-tx); box-shadow: inset 0 -2px 0 var(--c-tx); }
.xf { display: grid; gap: 5px; } .xf > span { font-size: 12.5px; color: var(--c-mut); }
.xfu { display: grid; gap: 3px; padding: 10px 12px; border-radius: 8px; background: var(--c-off); box-shadow: inset 0 0 0 1px var(--c-bd); }
.xfu-t { display: flex; align-items: center; gap: 6px; font-weight: 600; }
.xmut { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--c-mut); }
.xtags { display: flex; gap: 6px; } .xtags span { padding: 2px 8px; border-radius: 5px; background: var(--c-50); font-size: 13px; color: var(--c-tx2); }
.xnt { display: grid; gap: 6px; padding: 10px 12px; border: 1px dashed var(--c-mut-l); border-radius: 7px; }
.xnt-h { display: flex; align-items: center; gap: 6px; } .xnt-h b { font-size: 11.8px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; } .xnt .xmut { display: flex; align-items: center; gap: 6px; }
.xta { padding: 8px 10px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--c-bd); font-size: 13px; color: var(--c-mut); }
.xsh { display: grid; gap: 8px; padding: 12px; border-radius: 9px; box-shadow: inset 0 0 0 1px var(--c-bd); }
.xchip { display: inline-flex; align-items: center; gap: 6px; justify-self: start; padding: 2px 8px; border-radius: 7px; background: #e8edfb; color: #1d4ed8; font-size: 13px; font-weight: 500; }
[data-theme="dark"] .xchip { background: #21262b; color: #93c5fd; }
.xsh-g { display: flex; align-items: center; gap: 8px; } .xsh-g img { border-radius: 5px; } .xsh .mono { font-family: var(--mono); font-size: 13.5px; color: var(--c-tx); }
.xbtn { display: flex; align-items: center; justify-content: center; gap: 6px; height: 36px; border-radius: 7px; box-shadow: inset 0 0 0 1px var(--c-bd); font-size: 13.5px; font-weight: 500; }
.xbtn.pri { background: var(--c-btn); color: var(--c-btn-tx); box-shadow: none; } .xbtn.sm { height: 30px; padding: 0 12px; }
.xai { display: grid; gap: 7px; padding: 10px 12px; border-radius: 9px; box-shadow: 0 0 0 1px var(--c-bd), 0 8px 20px -12px rgb(17 24 39 / .2); }
.xai .ai-head b { margin-right: auto; } .xai .ai-draft { padding: 9px 11px; }
.xdue-h { display: flex; align-items: baseline; justify-content: space-between; } .xdue-h b { font-size: 16px; font-weight: 600; } .xdue-h span { font-size: 13px; color: var(--c-tx2); }
.xdue { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.xdue li { display: grid; justify-items: start; gap: 4px; padding: 10px 12px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--c-bd); }
.xdue b { display: flex; align-items: center; gap: 6px; font-weight: 600; }
.xdc { display: inline-flex; align-items: center; gap: 5px; padding: 2px 7px; border-radius: 5px; font-size: 12px; font-weight: 500; }
.xdc.warn { background: #f4ece7; color: #92400e; } .xdc.info { background: var(--c-50); color: var(--c-tx2); }
[data-theme="dark"] .xdc.warn { background: #2b2516; color: #fbbf24; }
.xtl, .xcapp { display: none; }
/* apilado (celular, menos movimiento o poco alto): un estado debajo de otro, cada uno con su línea */
@media not all and (min-width: 861px) and (min-height: 760px) and (prefers-reduced-motion: no-preference) {
  .xw { overflow: visible; background: none; box-shadow: none; }
  .xw-bar { border-radius: 12px 12px 0 0; box-shadow: 0 0 0 1px var(--c-bd); }
  .xw-body { grid-template-columns: minmax(0, 1fr); }
  .xw-chat { margin: 0; padding: 0 0 0 14px; background: var(--wa-bg); box-shadow: 0 0 0 1px var(--c-bd); -webkit-mask-image: none; mask-image: none; }
  .xw-msgs { padding: 16px 14px 12px 0; } .xm.out, .xw-comp { display: none; }
  .xsts { display: grid; gap: 28px; margin-top: 28px; }
  .xp { height: auto; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px var(--c-bd), 0 10px 28px -14px rgb(17 24 39 / .22); }
  .ext[data-step="0"] .xw-msgs { opacity: 1; }
  .xtl { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; order: -1; margin: 24px 0 0; }
  .xtl button { padding: 6px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--c-bd); font: 400 13.5px/1.3 var(--font); background: none; border: 0; color: var(--c-tx2); cursor: pointer; }
  .xpin > .dhead { order: -2; }
}
/* fijado: el trozo de chat y el panel cambian juntos al bajar; abajo, los seis estados con el actual marcado. Como en Chrome, el
   side panel va acoplado dentro de la ventana: bajo la barra, al borde derecho, de 370 px y a todo el alto (divisor de 1 px).
   home.js fija el alto (--xph, nunca menos que el estado más largo) y el zoom para que todo entre */
@media (min-width: 861px) and (min-height: 760px) and (prefers-reduced-motion: no-preference) {
  .ext { height: 460vh; padding: 0; }
  .xpin { position: sticky; top: 64px; height: calc(100vh - 64px); align-content: center; padding-bottom: 8px; overflow: hidden; }
  .ext .dhead { gap: 6px; } .v13 .ext h2.serif { font-size: clamp(26px, 3vw, 42px); } .ext .sub { max-width: 90ch; font-size: 14.5px; text-wrap: balance; }
  .xw-bar { height: 32px; } .xp { font-size: 14.5px; }
  .xw { width: min(900px, 100%); margin-top: 18px; }
  .xw-body { grid-template-columns: minmax(0, 1fr) 370px; grid-template-rows: minmax(0, 1fr); height: var(--xph, 600px); }
  .xw-chat { margin: 0; padding: 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 34%); mask-image: linear-gradient(90deg, transparent, #000 34%); }
  .xw-msgs { padding: 20px 16px 14px 0; }
  .xw-comp { padding-right: 14px; }
  .xsts { display: grid; min-width: 0; }
  .xs { grid-area: 1 / 1; display: grid; grid-template-rows: minmax(0, 1fr); min-height: 0; opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
  .xp { height: 100%; overflow: clip; box-shadow: -1px 0 0 var(--c-bd); }
  [data-theme="dark"] .xp { box-shadow: -1px 0 0 #2a2a2a; }
  /* fijado: el texto del paso va en una sola línea bajo las pestañas (.xcapp, home.js); el de cada estado queda para lectores */
  .xcap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .xcapp { display: block; margin: 12px 0 0; text-align: center; font-size: 15px; color: var(--c-tx); }
  .ext[data-step="0"] .x0, .ext[data-step="1"] .x1, .ext[data-step="2"] .x2, .ext[data-step="3"] .x3, .ext[data-step="4"] .x4, .ext[data-step="5"] .x5 { opacity: 1; visibility: visible; transition: opacity .3s; }
  .xtl { display: flex; gap: 4px; margin: 40px 0 0; padding: 0; list-style: none; }
  .xtl button { padding: 6px 12px 7px; border: 0; background: none; font: 400 13.5px/1.3 var(--font); cursor: pointer; color: var(--c-mut); box-shadow: inset 0 -1px 0 var(--c-bd); transition: color .2s, box-shadow .2s; }
  .xtl button[aria-current="step"] { color: var(--c-tx); box-shadow: inset 0 -2px 0 var(--c-tx); }
}

/* ---------- Un día en la tienda ---------- */
.day { position: relative; padding: calc(var(--sg) / 2) var(--px); }
.dhead, .end { display: grid; justify-items: center; gap: 16px; text-align: center; }
.v13 .dhead h2.serif, .v13 .end h2.serif { margin: 0; }
.tlw { position: relative; max-width: 1200px; margin: calc(var(--hv) + 16px) auto 0; }
.tl { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; }
/* la columna del día es el tubo: los mensajes bajan y se detienen en cada tarjeta cuando aparece (home.js) */
.spine { position: absolute; z-index: 0; left: calc(50% - 14px); top: 0; bottom: 0; width: 28px; }
.ev { position: relative; width: 50%; padding-right: 64px; }
.ev:nth-child(even) { margin-left: 50%; padding: 0 0 0 64px; }
.ev + .ev { margin-top: -56px; }
.ev time { position: absolute; top: 18px; left: calc(100% + 16px); display: inline-flex; align-items: center; gap: 6px; font: 500 12px/1 var(--mono); color: var(--c-tx2); }
.ev:nth-child(even) time { left: auto; right: calc(100% + 16px); }
.card { position: relative; max-width: var(--cardw, 440px); margin-left: auto; padding: 12px; border-radius: 10px; background: var(--c-off); box-shadow: 0 0 0 1px var(--c-bd); transition: opacity .45s, transform .45s; }
.ev:nth-child(even) .card { margin-left: 0; }
.motion .ev:not(.in) .card { opacity: 0; transform: translateY(18px); }
.etag { flex: none; display: inline-block; margin: 0; padding: 4px 7px; border-radius: 4px; }
.t-a { background: #E8F0FF; color: #1F57C7; } .t-b { background: #E3F6FD; color: #0A6C8F; } .t-c { background: #DDF6F2; color: #0F6B62; } .t-d { background: #DCF6FA; color: #0E6A80; }
[data-theme="dark"] .t-a { background: rgb(37 99 235 / .2); color: #93b4f8; } [data-theme="dark"] .t-b { background: rgb(125 211 252 / .14); color: #9ad9f7; }
[data-theme="dark"] .t-c { background: rgb(20 184 166 / .16); color: #6fdccf; } [data-theme="dark"] .t-d { background: rgb(34 211 238 / .14); color: #7fe3f2; }
.chd { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 10px 2px; }
.v13 .card h3 { margin: 0; font-size: 17px; line-height: 1.2; font-weight: 500; letter-spacing: -.02em; }
.ui .sh { border-radius: 8px; box-shadow: 0 0 0 1px var(--c-bd); }
.ft { display: flex; align-items: center; gap: 6px; margin: 10px 0 0 2px; font-size: 13px; color: var(--c-tx2); }
/* 16:20: el pie del chat dentro de Ventu (cabecera del contacto, su último mensaje, el aviso de WhatsApp y la nota interna) */
.dchat { overflow: hidden; border-radius: 8px; background: var(--c-card); box-shadow: 0 0 0 1px var(--c-bd); font-size: 13px; line-height: 1.4; color: var(--c-tx); }
.dchat p { margin: 0; }
.dc-h { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-bottom: 1px solid var(--c-bd); }
.dc-h > span:nth-child(2) { display: grid; } .dc-h b { font-size: 14px; font-weight: 600; } .dc-h small { font-size: 12px; color: var(--c-mut); }
.dc-b { display: grid; padding: 14px 12px; background: var(--c-off); }
[data-theme="dark"] .dc-b { background: rgb(255 255 255 / .02); }
.dc-f { display: grid; gap: 8px; padding: 10px 12px 12px; border-top: 1px solid var(--c-bd); }
.dc-n { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border-radius: 8px; background: var(--c-off); box-shadow: inset 0 0 0 1px var(--c-bd); }
.dc-n svg { flex: none; margin-top: 1px; } .dc-n > span { display: grid; gap: 2px; } .dc-n b { font-weight: 600; } .dc-n > span > span { color: var(--c-mut); }
.dc-add { font-weight: 500; color: var(--c-tx2); }
/* 17:05: un envío Olva en camino, con su historial (el seguimiento no es solo Shalom) */
.dship { display: grid; gap: 10px; padding: 12px; border-radius: 8px; background: var(--c-card); box-shadow: 0 0 0 1px var(--c-bd); font-size: 13px; line-height: 1.4; color: var(--c-tx); }
.dship p { margin: 0; }
.dsh-h { display: flex; align-items: center; gap: 10px; } .dsh-h img { flex: none; border-radius: 5px; } .dsh-h > span { display: grid; } .dsh-h b { font-weight: 600; }
.dsh-h .mono { font-family: var(--mono); font-weight: 500; } .dsh-h small { font-size: 12px; color: var(--c-mut); }
.dsh-t { display: grid; gap: 8px; margin: 0; padding: 0 0 0 4px; list-style: none; }
.dsh-t li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; align-items: center; gap: 10px; color: var(--c-mut); }
.dsh-t i { width: 8px; height: 8px; border-radius: 50%; background: var(--c-bd); } .dsh-t b { font-weight: 500; } .dsh-t span { font-size: 12px; }
.dsh-t li.on { color: var(--c-tx); } .dsh-t li.on i { background: var(--c-tx); }
/* la hora de la burbuja no es una hora de la línea de tiempo (.ev time) */
.ev .dchat .bub time { position: static; display: inline; margin-left: 8px; font: 11px/1 var(--mono); color: var(--c-mut); }
/* la tarjeta "Te toca a ti": siempre responde una persona */
.etag.t-you { display: inline-flex; align-items: center; gap: 6px; background: #22D3EE; color: #0b1f26; }
.etag.t-you::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #0b1f26; }
.ev:has(.t-you) .card { box-shadow: 0 0 0 1px #22D3EE, 0 0 0 4px rgb(34 211 238 / .18); }

/* ---------- En cifras ---------- */
.facts { padding: calc(var(--sg) / 2) var(--px); }
.fh { display: grid; justify-items: start; gap: 16px; }
.v13 .fh h2.serif { margin: 0; }
.fgrid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px; margin-top: var(--hv); }
.fprice { display: grid; align-content: end; justify-items: start; gap: 14px; padding: 32px; background: var(--c-off); box-shadow: 0 0 0 1px var(--c-bd);
  background-image: linear-gradient(90deg, var(--gl) 1px, transparent 1px), linear-gradient(var(--gl) 1px, transparent 1px); background-size: 40px 40px; }
.fprice .big { margin: 0; font-size: clamp(72px, 8vw, 112px); line-height: .9; font-weight: 300; letter-spacing: -.05em; }
.fprice p:last-child { margin: 0; max-width: 30ch; font-size: 15px; line-height: 1.5; color: var(--c-mut); }
.fdark { padding: 28px 32px 16px; background: #111; color: #ededed; }
[data-theme="dark"] .fdark { background: #0b0b0b; box-shadow: 0 0 0 1px #262626; }
.flogo { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 15px; font-weight: 500; }
.flist { list-style: none; margin: 0; padding: 0; }
.flist li { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid #2a2a2a; }
.fn { font-family: var(--serif); font-size: 40px; line-height: 1; letter-spacing: -.03em; }
.fl b { display: block; font-size: 16px; font-weight: 500; }
.fl small { display: block; margin-top: 2px; font-size: 13px; color: #a4adba; }
/* barra fina proporcional (sobre 6) */
.fu { width: 96px; height: 2px; background: #2a2a2a; }
.fu i { display: block; width: calc(var(--n) / 6 * 100%); height: 2px; background: #ededed; }

/* ---------- Add-ons ---------- */
.addons { padding: calc(var(--sg) / 2) var(--px); }
.v13 .addons h2.serif { margin: 0; }
.addons .sub { max-width: 44ch; }
.addons .tag { display: inline-flex; align-items: center; width: fit-content; height: 22px; margin: 0; padding: 0 8px; border-radius: 5px; font-size: 12px; font-weight: 500; background: var(--c-50); color: var(--c-tx2); }
.addons .tag.on { background: #DDF6F2; color: #0F6B62; }
[data-theme="dark"] .addons .tag.on { background: rgb(20 184 166 / .16); color: #6fdccf; }
/* precio: vacío no se ve; para publicarlo se escribe dentro del <p class="price"> de la tarjeta */
.price { margin: 0; font: 500 12px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--c-tx2); }
.price:empty { display: none; }
/* lo disponible: dos tarjetas lado a lado, texto arriba y la pieza real abajo (estiradas al mismo alto) */
.ao-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; margin-top: 68px; }
.ao-main { display: grid; grid-template-rows: auto 1fr; gap: 34px; padding: 38px; border-radius: 12px; background: var(--c-card); box-shadow: 0 0 0 1px var(--c-bd); }
.ao-txt { display: grid; justify-items: start; gap: 12px; }
.v13 .ao-main h3 { margin: 4px 0 0; font-size: 28px; line-height: 1.1; font-weight: 500; letter-spacing: -.03em; }
.ao-txt > p:not([class]) { margin: 0; max-width: 30ch; font-size: 16px; line-height: 1.5; color: var(--c-mut); }
.ao-txt .price { margin-top: 8px; }
/* la sugerencia real: el borrador lo revisa, lo copia y lo envía una persona (AiPanel, flujo de WhatsApp) */
.ai-demo { display: grid; align-content: center; gap: 10px; padding: 18px; border-radius: 10px; background: var(--c-off); box-shadow: inset 0 0 0 1px var(--c-bd); font-size: 13px; line-height: 1.45; color: var(--c-tx); }
.ai-demo p { margin: 0; }
.ai-box { display: grid; gap: 10px; padding: 12px; border-radius: 10px; background: var(--c-card); box-shadow: 0 0 0 1px var(--c-bd), 0 8px 20px -12px rgb(17 24 39 / .2); }
.ai-head { display: flex; align-items: center; gap: 8px; } .ai-head b { margin-right: auto; font-weight: 600; }
.ai-tile { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: #ede5fa; color: #6d28d9; }
[data-theme="dark"] .ai-tile { background: #292730; color: #c4b5fd; }
.ai-x { color: var(--c-mut-l); }
.ai-demo .btn { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 6px; font-size: 12.5px; font-weight: 500; white-space: nowrap; }
.ai-demo .btn.ghost { color: var(--c-tx2); }
.ai-demo .btn.primary { background: var(--c-btn); color: var(--c-btn-tx); }
.ai-label { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: #6d28d9; } [data-theme="dark"] .ai-label { color: #c4b5fd; }
.ai-draft { padding: 10px 12px; border-radius: 8px; background: var(--c-off); box-shadow: inset 0 0 0 1px var(--c-bd); }
.ai-tw { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-btn { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 7px; box-shadow: inset 0 0 0 1px var(--c-bd); font-size: 12px; font-weight: 500; color: var(--c-tx2); }
.ai-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.ai-ok { font-size: 12px; color: var(--c-mut); }
/* la encuesta real (web/src/survey/survey.css) en un celular, con los mismos tokens claro/oscuro; al lado, la tarjeta
   NPS del Inicio (NpsCard). 36 + 9 + 5 respuestas: 72 % − 10 % = +62 */
/* encuesta: la captura real en un celular completo y el resumen de Opiniones al lado (sin tapar nada) */
.sv-demo { --red-bg: #fdecec; --red-fg: #991b1b; --orange-bg: #fdf0e3; --orange-fg: #9a3412; --yellow-bg: #fcf6d9; --yellow-fg: #854d0e; --lime-bg: #eef8e1; --lime-fg: #3f6212; --green-bg: #e3f5e9; --green-fg: #166534;
  --sv-d: #b91c1c; --sv-n: #92400e; --sv-p: #166534;
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 0; padding: 28px 24px; border-radius: 10px; background: var(--c-off); box-shadow: inset 0 0 0 1px var(--c-bd); }
[data-theme="dark"] .sv-demo { --sv-d: #f87171; --sv-n: #fbbf24; --sv-p: #4ade80; }
.sv-demo p { margin: 0; }
/* la encuesta real como tarjeta (sin marco de celular), recortada hasta "Cuéntanos un poco más" (≈ 585 de 860 px) */
.sv-shot { width: 310px; aspect-ratio: 430 / 585; overflow: hidden; border-radius: 12px; background: var(--c-card); box-shadow: 0 0 0 1px var(--c-bd), 0 18px 40px -22px rgb(17 24 39 / .35); }
[data-theme="dark"] .sv-shot { box-shadow: 0 0 0 1px #2a2a2a, 0 18px 40px -22px rgb(0 0 0 / .7); }
.sv-shot picture, .sv-shot img { display: block; width: 100%; height: auto; }
.sv-sum { position: relative; z-index: 1; margin: 64px 0 0 -10px; display: grid; gap: 6px; padding: 18px 18px 16px; border-radius: 10px; background: var(--c-card); box-shadow: 0 0 0 1px var(--c-bd), 0 10px 28px -14px rgb(17 24 39 / .22); }
.sv-k { font: 500 11px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--c-tx2); }
.sv-big { font: 400 56px/1 var(--serif); letter-spacing: -.04em; color: var(--c-tx); }
.sv-n { font-size: 13px; color: var(--c-mut); }
.sv-seg { display: flex; gap: 3px; margin-top: 8px !important; }
.sv-seg i { height: 8px; border-radius: 999px; }
.sv-seg .d, .sv-leg .d { background: var(--sv-d); } .sv-seg .n, .sv-leg .n { background: var(--sv-n); } .sv-seg .p, .sv-leg .p { background: var(--sv-p); }
.sv-leg { display: grid; gap: 4px; margin: 6px 0 0; padding: 0; list-style: none; font-size: 12.5px; color: var(--c-tx2); }
.sv-leg li { display: flex; align-items: center; gap: 7px; white-space: nowrap; } .sv-leg li i { flex: none; width: 8px; height: 8px; border-radius: 2px; } .sv-leg b { font-weight: 600; color: var(--c-tx); }
/* las tarjetas de add-ons van de a dos: con la tarjeta angosta, el resumen pasa debajo del celular */
@media (max-width: 1180px) { .sv-demo { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 16px; } .sv-sum { justify-self: stretch; margin: 0; } }
.sv-f { display: grid; justify-items: center; align-content: center; gap: 5px; min-height: 62px; border-radius: 7px; background: var(--t-bg); color: var(--t-fg);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--t-fg) 25%, transparent); font-size: 11px; line-height: 1.2; letter-spacing: -.01em; white-space: nowrap; }
.sv-f .emo { font-size: 24px; line-height: 1; }
.sv-f.green { --t-bg: var(--green-bg); --t-fg: var(--green-fg); }
/* la respuesta en el día: la carita elegida y su comentario */
.sv-ans { --green-bg: #e3f5e9; --green-fg: #166534; display: flex; align-items: center; gap: 12px; margin: 0; padding: 10px; border-radius: 8px; background: var(--c-card); box-shadow: 0 0 0 1px var(--c-bd); font-size: 14px; }
[data-theme="dark"] .sv-ans { --green-bg: #12301d; --green-fg: #86efac; }
.sv-ans .sv-f { flex: none; width: 72px; }
.sv-ans q { color: var(--c-tx2); }
/* tramo de tubo de "Disponible" a lo que viene */
.tube.ao-tube { width: 22px; height: 64px; margin-left: 26px; }
.ao-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; margin: 0; padding: 0; list-style: none; }
.ao { display: grid; align-content: start; gap: 10px; padding: 30px 30px 32px; border-radius: 10px; box-shadow: 0 0 0 1px var(--c-bd); }
.ao-top { display: flex; align-items: center; justify-content: space-between; margin: 0 0 4px; }
.ao-ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--c-50); color: var(--c-tx2); }
.v13 .ao h3 { margin: 0; font-size: 16px; line-height: 1.25; font-weight: 500; letter-spacing: -.015em; }
.ao > p:not([class]) { margin: 0; font-size: 14px; line-height: 1.5; color: var(--c-mut); }
.ao-note { margin: 40px 0 0; font-size: 14px; color: var(--c-tx2); }

/* ---------- Cierre ---------- */
.end { position: relative; padding: calc(var(--sg) / 2) var(--px) 0; overflow: clip; }
.end::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(90deg, var(--gl) 1px, transparent 1px), linear-gradient(var(--gl) 1px, transparent 1px); background-size: 64px 64px; background-position: 50% 0;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent); mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent); }
.end .ctas { justify-content: center; margin-top: 8px; }
.note { margin: 0; font: 500 11px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--c-tx2); }
.tube.strip { width: min(1040px, 100%); height: 150px; margin-top: 48px; }

/* ---------- Subpáginas (/for/*): mismo encabezado, pie, tokens y tubo que la principal ---------- */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 28px var(--px) 0; list-style: none; font: 500 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--c-mut); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--c-mut-l); }
.crumbs a { color: var(--c-tx2); text-decoration: none; } .crumbs a:hover { color: var(--c-tx); }
/* hero de subpágina: el tubo arriba, más bajo; titular y bajada debajo (no es la primera pantalla: sin alto mínimo ni señal) */
.shero { display: grid; grid-template-columns: minmax(0, 9fr) minmax(0, 6fr); column-gap: 48px; row-gap: 48px; align-items: end; padding: 32px var(--px) calc(var(--sg) / 2); }
.shero .tube.big { grid-row: auto; height: 200px; }
.shero .hhead, .shero .hside { grid-row: auto; margin-top: 0; }
.v13 .shero h1 { font-size: clamp(40px, 4.6vw, 66px); }
.sec { padding: calc(var(--sg) / 2) var(--px); }
.sp-head { display: grid; justify-items: start; gap: 16px; }
.v13 .sp-head h2.serif { margin: 0; }
.sp-head .sub { max-width: 60ch; }
.sp-rows { display: grid; gap: clamp(56px, 7vw, 104px); margin-top: var(--hv); }
.sp-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(32px, 5vw, 80px); align-items: center; }
.sp-row:nth-child(even) .sp-t { order: 2; }
.sp-t { display: grid; justify-items: start; gap: 12px; }
.v13 .sp-t h3 { margin: 0; font-size: 26px; line-height: 1.15; font-weight: 500; letter-spacing: -.025em; }
.sp-t p { margin: 0; max-width: 44ch; font-size: 16px; line-height: 1.55; color: var(--c-mut); }
/* la pantalla o pieza real, en una tarjeta como las del día */
.sp-v { justify-self: center; width: min(100%, var(--vw, 560px)); padding: 12px; border-radius: 12px; background: var(--c-off); box-shadow: 0 0 0 1px var(--c-bd); }
.sp-v .sh { border-radius: 8px; box-shadow: 0 0 0 1px var(--c-bd); }
.sp-ui { padding: 0; background: none; box-shadow: none; }
.sp-ui > .bz-ui { margin: 0; padding: 18px; border-radius: 12px; background: var(--c-card); box-shadow: 0 0 0 1px var(--c-bd), 0 10px 28px -14px rgb(17 24 39 / .22); font-size: 14px; }
/* piezas del CRM armadas para las subpáginas: campos, servicios, listas y filas de la bandeja */
.bz-f { display: grid; gap: 4px; } .bz-f > span { font-size: 12.5px; color: var(--c-mut); }
.bz-f > b { padding: 7px 10px; border-radius: 7px; background: var(--c-card); box-shadow: inset 0 0 0 1px var(--c-bd); font-weight: 500; }
.bz-fs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.xtags { flex-wrap: wrap; } .xtags span.on { background: var(--c-btn); color: var(--c-btn-tx); }
.bz-btns.to-end { justify-content: end; margin-top: 4px; }
/* panel del chat: secciones, filas y los pasos de un formulario */
.xh { font-size: 13.5px; font-weight: 600; color: var(--c-tx); }
.xr { display: flex; align-items: start; gap: 10px; } .xr > svg { margin-top: 2px; color: var(--c-mut); } .xr > span:nth-child(2) { display: grid; gap: 2px; flex: 1; min-width: 0; } .xr b { font-weight: 500; }
.xsec { display: flex; align-items: center; justify-content: space-between; gap: 8px; } .xbtn.xend { justify-self: end; }
.xsh-g { flex-wrap: wrap; } .xg { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.bz-f .xtags span { padding: 4px 10px; border-radius: 7px; background: none; box-shadow: inset 0 0 0 1px var(--c-bd); } .bz-f .xtags span.on { background: none; color: var(--c-tx); font-weight: 600; box-shadow: inset 0 0 0 2px var(--c-tx); }
.xp .xnt-h b { font-size: 13.5px; letter-spacing: 0; text-transform: none; } .xid > .xf { display: flex; align-items: center; gap: 10px; } .xid > .xf .xsel svg { margin-left: 0; }
.bz-steps { display: flex; gap: 8px; } .bz-steps > * { display: flex; flex: 1; align-items: center; gap: 6px; padding: 4px 0 6px; font-size: 13px; font-weight: 500; color: var(--c-mut); border-bottom: 2px solid var(--c-bd); } .bz-steps > b { font-weight: 600; color: var(--c-tx); border-color: var(--c-tx); } .bz-steps i { font-style: normal; }
.bz-sum { display: grid; gap: 2px; padding-top: 10px; border-top: 1px solid var(--c-bd); } .bz-sum b { font-weight: 600; } .bz-sum span { font-size: 12.5px; color: var(--c-mut); }
.bz-li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; padding-top: 9px; border-top: 1px solid var(--c-bd); }
.bz-h + .bz-li { padding-top: 0; border-top: 0; }
.bz-li > b { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; }
.bz-chat { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: start; gap: 2px 10px; padding-top: 10px; border-top: 1px solid var(--c-bd); }
.bz-h + .bz-chat { padding-top: 0; border-top: 0; }
.bz-chat .bz-av { grid-row: span 3; width: 28px; height: 28px; border-radius: 50%; }
.bz-chat > b { font-weight: 600; } .bz-chat > time { font: 11.5px/1.6 var(--mono); color: var(--c-mut); }
.bz-chat > span:not(.bz-av) { grid-column: 2 / -1; color: var(--c-mut); }
.bz-chat > .chips { grid-column: 2 / -1; display: flex; flex-wrap: wrap; gap: 6px; }
.bz-chip.won { background: #e8f0eb; color: #166534; } [data-theme="dark"] .bz-chip.won { background: #19281f; color: #4ade80; }
/* colores de la app (chips de estado y avatares por persona, Avatar.tsx) */
.bz-chip.st-n { background: #e8edfb; color: #1d4ed8; } .bz-chip.st-o { background: #e8f0eb; color: #166534; } .bz-chip.bad { background: #f8e8e8; color: #b91c1c; } [data-theme="dark"] .bz-chip.st-n { background: #21262b; color: #93c5fd; } [data-theme="dark"] .bz-chip.st-o { background: #19281f; color: #4ade80; } [data-theme="dark"] .bz-chip.bad { background: #2f1f1f; color: #f87171; }
.bz-av[class*="h-"] { border-radius: 50%; } .h-red { background: #fed7d7; color: #9b2c2c; } .h-orange { background: #feebc8; color: #7b341e; } .h-green { background: #c6f6d5; color: #22543d; } .h-teal { background: #b2f5ea; color: #234e52; }
[data-theme="dark"] .h-red { background: #63171b; color: #feb2b2; } [data-theme="dark"] .h-orange { background: #652b19; color: #fbd38d; } [data-theme="dark"] .h-green { background: #1c4532; color: #9ae6b4; } [data-theme="dark"] .h-teal { background: #1d4044; color: #81e6d9; }
.bz-own { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--c-tx); } .bz-chat .bz-own .bz-av { width: 20px; height: 20px; grid-row: auto; font-size: 9px; } .bz-own.na { color: #92400e; } [data-theme="dark"] .bz-own.na { color: #fbbf24; }
.bz-chip.none { background: none; box-shadow: inset 0 0 0 1px var(--c-bd); color: var(--c-mut); }
.bz-q { font-weight: 600; }
/* preguntas frecuentes: siempre visibles */
.qa-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px clamp(32px, 5vw, 80px); margin-top: var(--hv); }
.qa { display: grid; align-content: start; gap: 8px; padding-top: 20px; border-top: 1px solid var(--c-bd); }
.v13 .qa h3 { margin: 0; font-size: 18px; line-height: 1.3; font-weight: 500; letter-spacing: -.015em; }
.qa p { margin: 0; max-width: 60ch; font-size: 15.5px; line-height: 1.55; color: var(--c-mut); }
/* las páginas hermanas y la principal */
.sib { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--cg); margin: var(--hv) 0 0; padding: 0; list-style: none; }
.sib a { display: grid; align-content: start; gap: 8px; height: 100%; box-sizing: border-box; padding: 24px; border-radius: 12px; background: var(--c-card); box-shadow: 0 0 0 1px var(--c-bd); color: var(--c-tx); text-decoration: none; transition: box-shadow .15s; }
.sib a:hover { box-shadow: 0 0 0 1px var(--c-tx2); }
.sib a:focus-visible { outline: 2px solid var(--c-tx); outline-offset: 3px; }
.sib b { font-size: 19px; line-height: 1.25; font-weight: 500; letter-spacing: -.02em; }
.sib a > span:last-child, .sib-wide a > span:nth-last-child(2) { margin-top: 4px; font-size: 14px; color: var(--c-tx2); }
/* una sola tarjeta en la fila: a todo el ancho, con la acción a la derecha */
.sib-wide { grid-template-columns: minmax(0, 1fr); }
.sib-wide a { grid-template-columns: minmax(0, 1fr) auto; column-gap: 32px; align-items: center; }
.sib-wide a > * { grid-column: 1; }
.sib-wide a > .sib-go { grid-column: 2; grid-row: 1 / span 3; margin: 0; font-size: 15px; font-weight: 500; color: var(--c-tx); white-space: nowrap; }

/* páginas de funciones: el panel real de la extensión (los mismos estados que #extension), suelto en una tarjeta */
.ft-panel { padding: 0; background: none; box-shadow: none; }
.ft-panel p { margin: 0; }
.ft-panel .xp { height: auto; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px var(--c-bd), 0 10px 28px -14px rgb(17 24 39 / .22); font-size: 14px; }
[data-theme="dark"] .ft-panel .xp { box-shadow: 0 0 0 1px #2a2a2a, 0 10px 28px -14px rgb(0 0 0 / .6); }
.ft-panel > .ai-demo, .ft-panel > .sv-demo { border-radius: 12px; }
.ft-panel .dsh-h .mono { color: var(--c-tx2); } /* suelto sobre la tarjeta, el gris tenue de .mono no llega al contraste */
/* fila de enlaces "Funciones" (en /for/* y en cada función) */
.ft-links { display: flex; flex-wrap: wrap; gap: 10px; margin: var(--hv) 0 0; padding: 0; list-style: none; }
.ft-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; background: var(--c-card); box-shadow: inset 0 0 0 1px var(--c-bd); font-size: 15px; font-weight: 500; color: var(--c-tx); text-decoration: none; }
.ft-links a:hover { box-shadow: inset 0 0 0 1px var(--c-tx2); }
.ft-links a:focus-visible { outline: 2px solid var(--c-tx); outline-offset: 3px; }
.ft-links + .sib { margin-top: var(--cg); }
.ft-row { display: grid; justify-items: start; gap: 4px; margin-top: clamp(56px, 7vw, 104px); }
.ft-row .ft-links { margin-top: 8px; }
/* piezas armadas para las funciones (mismos tokens que las de "Para quién") */
.ft-ev { justify-self: center; font-size: 12.5px; color: var(--c-mut); }
.ft-team { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 9px; padding-top: 10px; border-top: 1px solid var(--c-bd); font-size: 13px; color: var(--c-tx2); }
.ft-team .bz-av { border-radius: 50%; }
.ft-note { display: grid; gap: 2px; padding: 10px 12px; border-radius: 8px; background: var(--c-card); box-shadow: 0 0 0 1px var(--c-bd), 0 8px 20px -12px rgb(17 24 39 / .25); }
.ft-note b { font-weight: 600; } .ft-note span { font-size: 12.5px; color: var(--c-mut); }
.bz-li > b img { flex: none; border-radius: 4px; }
.ft-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--c-mut); }
.ft-or { font-size: 12.5px; color: var(--c-mut); }
.ft-mut { font-size: 13px; color: var(--c-mut); }
.ft-faces { --green-bg: #e3f5e9; --green-fg: #166534; } [data-theme="dark"] .ft-faces { --green-bg: #12301d; --green-fg: #86efac; }
.ft-row5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.ft-row5 .sv-f { min-height: 60px; white-space: normal; text-align: center; }
/* sin elegir: su tono apagado y el texto con contraste AA (sin opacidad); solo la carita se apaga, que no es texto */
.sv-f.ft-off { background: color-mix(in srgb, var(--t-bg) 55%, var(--c-card)); color: var(--c-tx2); } .sv-f.ft-off .emo { filter: grayscale(.6); }
.sv-f.ft-off .emo { opacity: .55; }
.ft-sv { grid-template-columns: minmax(0, 1fr); padding: 0; background: none; box-shadow: none; }
.ft-sv .sv-sum { margin: 0; }
.ft-alert { display: flex; align-items: center; gap: 8px; padding: 9px 11px; border-radius: 8px; background: #FEF2F2; color: #991B1B; }
.ft-alert b { font-weight: 600; } [data-theme="dark"] .ft-alert { background: rgb(239 68 68 / .14); color: #fca5a5; }
.ft-check { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.ft-box { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; background: var(--c-btn); color: var(--c-btn-tx); }

/* guías (/guides/*): el artículo en una columna de lectura, con el índice fijo a la derecha */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.art-meta { margin: 0; font: 500 11px/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--c-tx2); }
.art-meta a, .cmp-note a { color: inherit; }
.art-w { display: grid; grid-template-columns: minmax(0, 68ch) minmax(200px, 300px); justify-content: space-between; gap: 48px; padding: 0 var(--px) calc(var(--sg) / 2); }
.art-b { display: grid; gap: clamp(48px, 5vw, 72px); font-size: 17px; line-height: 1.7; color: var(--c-tx2); }
.art-b section { padding-block: 0; border-top: 0; scroll-margin-top: 88px; } /* sin el relleno global de section */
.art-b section.art-v { padding: clamp(24px, 3vw, 40px); }
.v13 .art-b h2.serif { margin: 0; font-size: clamp(28px, 2.6vw, 36px); line-height: 1.12; color: var(--c-tx); text-wrap: balance; }
.art-b p, .art-b ul, .art-b ol { margin: 16px 0 0; }
.art-b ul, .art-b ol { padding-left: 22px; } .art-b li + li { margin-top: 8px; }
.art-b strong { font-weight: 600; color: var(--c-tx); }
.art-b a { color: var(--c-tx); text-underline-offset: 3px; }
.art-fig { margin: 32px 0 0; } .art-fig .sp-v { width: 100%; box-sizing: border-box; } /* a todo el ancho de la columna (o de la caja de Ventu) */
.art-fig figcaption { margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--c-mut); }
.art-v { border-radius: 12px; background: var(--c-off); box-shadow: 0 0 0 1px var(--c-bd); }
.art-v .ft-links { margin-top: 24px; }
.art-toc { position: sticky; top: 96px; align-self: start; display: grid; gap: 12px; }
.art-toc ol { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--c-bd); }
.art-toc a { display: block; padding: 6px 0 6px 14px; font-size: 14px; line-height: 1.4; color: var(--c-mut); text-decoration: none; }
.art-toc a:hover { color: var(--c-tx); }
/* comparación (/compare/*): la tabla y "cuándo elegir" */
.cmp { width: 100%; margin-top: var(--hv); border-collapse: collapse; font-size: 15.5px; line-height: 1.5; }
.cmp th, .cmp td { padding: 16px 24px 16px 0; border-top: 1px solid var(--c-bd); text-align: left; vertical-align: top; }
.cmp thead th { padding-top: 0; border-top: 0; font: 500 11px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--c-tx2); }
.cmp tbody th { width: 24%; font-weight: 600; color: var(--c-tx); }
.cmp td { width: 38%; color: var(--c-mut); }
.cmp-note { max-width: 90ch; margin: 24px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--c-mut); }
.qa ul, .cmp-pick ul { display: grid; gap: 8px; margin: 0; padding-left: 20px; font-size: 15.5px; line-height: 1.55; color: var(--c-mut); }
.cmp-pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--cg); margin-top: var(--hv); }
.cmp-pick > div { display: grid; align-content: start; gap: 14px; padding: 24px; border-radius: 12px; background: var(--c-card); box-shadow: 0 0 0 1px var(--c-bd); }
@media (max-width: 860px) {
  .art-w { grid-template-columns: minmax(0, 1fr); } .art-toc { display: none; }
  .cmp-pick { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .art-b { font-size: 16px; }
  .sib-wide a > .sib-go { grid-column: 1; grid-row: auto; margin-top: 4px; }
  .cmp thead { display: none; }
  .cmp, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; width: auto; }
  .cmp tr { padding: 16px 0; border-top: 1px solid var(--c-bd); }
  .cmp th, .cmp td { padding: 0; border: 0; } .cmp td { margin-top: 10px; }
  .cmp td::before { content: attr(data-l); display: block; font: 500 11px/1.6 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--c-tx2); }
}

/* Pie */
.foot .fr { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding: 32px var(--px); }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.foot nav a { font-size: 14px; color: var(--c-mut); text-decoration: none; }
.foot nav a:hover { color: var(--c-tx); }
.foot .copy { margin-left: auto; font-size: 13px; color: var(--c-mut); }
.foot .tm { width: 100%; margin: 0; font-size: 12px; color: var(--c-mut); }
/* grupo "Funciones" del pie: una fila propia con su etiqueta */
.foot nav.ft-fn { width: 100%; align-items: baseline; }
.ft-fn > span { margin-right: 4px; font: 500 11px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--c-tx2); }

/* Menú de celular: hoja a pantalla completa (patrón de la 11) */
.menu-btn { display: none; place-items: center; width: 44px; height: 44px; border-radius: 8px; border: 1px solid var(--c-bd); background: var(--c-card); color: var(--c-tx); cursor: pointer; }
.msheet { position: fixed; inset: 0; width: 100%; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0 20px 28px; border: 0;
  background: var(--c-sheet); color: var(--c-tx); font-family: var(--font); }
.msheet[open] { display: flex; flex-direction: column; animation: msheet13 .22s ease-out; }
.msheet::backdrop { background: rgb(0 0 0 / .2); }
@keyframes msheet13 { from { opacity: 0; transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .msheet[open] { animation: none; } }
html:has(.msheet[open]) { overflow: hidden; }
.mhead { display: flex; align-items: center; justify-content: space-between; min-height: 64px; border-bottom: 1px solid var(--c-bd); }
.mclose { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 8px; border: 1px solid var(--c-bd); background: var(--c-card); color: var(--c-tx); cursor: pointer; }
.mnav { display: grid; padding: 8px 0; }
.mnav a { display: flex; align-items: center; min-height: 52px; border-bottom: 1px solid var(--c-bd); font-size: 20px; font-weight: 500; letter-spacing: -.02em; color: var(--c-tx); text-decoration: none; }
.mtheme { display: flex; align-items: center; gap: 10px; min-height: 52px; margin-bottom: 16px; padding: 0; border: 0; background: none; font: inherit; font-size: 16px; color: var(--c-tx2); cursor: pointer; }
.mtheme .sun, [data-theme="dark"] .mtheme .moon { display: none; }
[data-theme="dark"] .mtheme .sun { display: block; }
.mctas { display: grid; gap: 10px; margin-top: auto; }
.mctas .mb { min-height: 44px; }
.msheet :focus-visible { outline: 2px solid var(--c-blue); outline-offset: 2px; }

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
  .ev { padding-right: 76px; } .ev:nth-child(even) { padding-left: 76px; }
}
@media (max-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr auto auto auto 1fr auto; }
  .hhead { margin-top: 40px; }
  .hside { grid-row: 4; margin-top: 40px; padding: 0; }
  .hcue { grid-row: 6; }
  .fgrid { grid-template-columns: minmax(0, 1fr); }
  .ao-row { grid-template-columns: minmax(0, 1fr); }
  .ao-main { gap: 28px; }
  .ao-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .tube.ao-tube { width: 18px; margin-left: 24px; }
  .spine { left: -8px; }
  .shero { grid-template-columns: minmax(0, 1fr); row-gap: 32px; }
  .sp-row { grid-template-columns: minmax(0, 1fr); }
  .sp-row:nth-child(even) .sp-t { order: 0; }
  .qa-list, .sib { grid-template-columns: minmax(0, 1fr); }
  .ev, .ev:nth-child(even) { width: auto; margin: 0; padding: 30px 0 0 32px; }
  .ev + .ev { margin-top: 28px; }
  .ev time, .ev:nth-child(even) time { top: 0; left: 32px; right: auto; }
  .card, .ev:nth-child(even) .card { margin-left: 0; max-width: none; }
}
@media (max-width: 600px) {
  .hero { padding-top: 32px; }
  .hhead, .hside { margin-top: 32px; }
  .tube.big { height: 136px; }
  .v13 h1 { font-size: 42px; }
  .v13 .shero h1 { font-size: 36px; }
  .shero .tube.big { height: 120px; }
  .v13 .sp-t h3 { font-size: 22px; }
  .dc-h { flex-wrap: wrap; }
  .tube.strip { height: 110px; }
  .nav8 nav, .nav8 .theme8, .v13 .nav8 .b8 { display: none; }
  .menu-btn { display: grid; }
  .ctas { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; }
  .mb { min-height: 44px; } /* área táctil de 44 px en celular; mismo aspecto que el .btn del CRM */
  .cp { --X: var(--mx, var(--cx)); --Y: var(--my, var(--cy)); --W: var(--mw, var(--cw)); --H: var(--mh, var(--ch)); }
  /* recortes de celular que cortan la fila a la derecha: se desvanecen en vez de cortar en seco */
  .ui .cp[style*="--mx"] { -webkit-mask-image: linear-gradient(90deg, #000 86%, transparent); mask-image: linear-gradient(90deg, #000 86%, transparent); }
  .s2 { grid-template-columns: minmax(0, 1fr); }
  .end { padding-top: 72px; }
  .v13 h2.serif { font-size: 34px; }
  .fprice, .fdark { padding: 24px 20px; }
  .ao-row { margin-top: 48px; gap: 24px; }
  .ao-main { padding: 24px; gap: 26px; }
  .ao { padding: 24px; }
  .tube.ao-tube { height: 48px; }
  .ai-demo { padding: 12px; }
  /* en celular: el teléfono centrado y el resumen debajo, a todo el ancho */
  .sv-demo { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 20px; padding: 22px 16px; }
  .sv-sum { justify-self: stretch; margin: 0; }
  .sv-shot { width: min(320px, 100%); }
  .sv-leg { font-size: 13px; }
  .ao-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .flist li { grid-template-columns: 40px minmax(0, 1fr); }
  .fu { grid-column: 2; }
  .fn { font-size: 32px; }
  .foot .copy { margin-left: 0; width: 100%; }
  .foot .ft-d { display: block; }
  .foot .ft-d i { display: none; }
}

/* Franja de acceso anticipado y barra, iguales en todas las páginas */
.k-strip { padding: 9px 16px; background: #141414; color: #fff; text-align: center; font-size: 14px; line-height: 1.5; } .k-strip p { margin: 0; }
[data-theme="dark"] .k-strip { background: #ededed; color: #111; } .k-strip a { color: inherit; font-weight: 500; text-underline-offset: 3px; } .v8 .k-strip a:focus-visible { outline-color: currentColor; }
.k-strip b { font-weight: 600; }
@media (max-width: 1100px) { .v13 .nav8 nav { display: none; } .v13 .menu-btn { display: grid; } }
@media (max-width: 600px) { .k-strip span { display: none; } body.v13 .nav8 .b8 { display: inline-flex; min-height: 44px; } }

/* Subpáginas: reglas más fuertes que pisaban a estas */
.hside .art-meta { font-size: 12px; max-width: 48ch; }
.art-v .ft-links li { margin: 0; } .art-v .ft-links { padding-left: 0; }
@media (max-width: 600px) { .cmp tbody th { width: auto; } .ft-team { display: grid; grid-template-columns: auto 1fr; } }

/* servicio en el formulario de cita: los chips, centrados con el campo de al lado */
.bz-fs > .bz-f { grid-template-rows: auto 1fr; } .bz-fs > div.bz-f > .xtags { align-self: center; align-items: center; }
/* caritas en celular: la columna de «Excelente» crece lo que necesita su texto */
@media (max-width: 600px) { .ft-row5 { grid-template-columns: repeat(5, minmax(auto, 1fr)); } .ft-row5 .sv-f { padding: 0 4px; } }

/* bandeja como en la app: cuadrito de estado, canal sobre el avatar y círculo punteado sin responsable */
.bz-chip[class*="st-"] > i { flex: none; width: 8px; height: 8px; border-radius: 2.5px; } .bz-chip.st-n > i { background: #2563eb; } .bz-chip.st-o > i { background: #16a34a; } [data-theme="dark"] .bz-chip.st-n > i { background: #60a5fa; } [data-theme="dark"] .bz-chip.st-o > i { background: #4ade80; }
.bz-chat > .bz-av { position: relative; } .bz-ch { position: absolute; right: -4px; bottom: -3px; padding: 1px; box-sizing: content-box; border-radius: 50%; background: var(--c-card); box-shadow: 0 0 0 1.5px var(--c-card); }
.bz-own.na > i { width: 20px; height: 20px; border-radius: 50%; border: 1.5px dashed var(--c-mut); box-sizing: border-box; }

/* la encuesta como la ve el cliente (web/src/survey/survey.css): la serif es de la app */
.ft-faces { gap: 14px; } .sv-mono { display: flex; align-items: center; gap: 8px; margin: 0; font: 500 11px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--c-tx2); }
.sv-eye::before { content: ""; flex: none; width: 6px; height: 6px; background: var(--c-tx); }
.sv-ttl { margin: 0; font: 400 28px/1.15 "Source Serif 4", Georgia, serif; letter-spacing: -.035em; color: var(--c-tx); text-wrap: balance; } .sv-ttl span { display: block; color: #6f7988; } [data-theme="dark"] .sv-ttl span { color: #9a9a9a; }
.sv-card { display: grid; gap: 14px; padding: 16px; border-radius: 10px; background: var(--c-card); box-shadow: 0 0 0 1px var(--c-bd); } .sv-ql { margin: -6px 0 0; font: 400 20px/1.25 "Source Serif 4", Georgia, serif; letter-spacing: -.015em; color: var(--c-tx); }
.ft-faces .sv-f { min-height: 80px; border-radius: 10px; box-shadow: none; font-weight: 500; } .ft-faces .sv-f .emo { font-size: 32px; }
.sv-f.red { --t-bg: #fdecec; --t-fg: #991b1b; } .sv-f.orange { --t-bg: #fdf0e3; --t-fg: #9a3412; } .sv-f.yellow { --t-bg: #fcf6d9; --t-fg: #854d0e; } .sv-f.lime { --t-bg: #eef8e1; --t-fg: #3f6212; }
[data-theme="dark"] .sv-f.red { --t-bg: #361a1a; } [data-theme="dark"] .sv-f.orange { --t-bg: #36230f; } [data-theme="dark"] .sv-f.yellow { --t-bg: #332c0e; } [data-theme="dark"] .sv-f.lime { --t-bg: #222f15; }
.ft-faces .sv-f.ft-on { position: relative; box-shadow: 0 0 0 2px var(--c-card), 0 0 0 4px var(--c-tx); } .ft-on > i { position: absolute; top: 4px; right: 4px; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--c-tx); color: var(--c-card); } .ft-on > i svg { width: 10px; height: 10px; }
.sv-saved svg { width: 12px; height: 12px; color: #166534; } [data-theme="dark"] .sv-saved svg { color: #4ade80; }
/* en celular la tarjeta cede espacio para que los cinco nombres entren en una línea con aire */
@media (max-width: 600px) { .ft-faces .sv-card { padding: 14px 10px; } .ft-faces .ft-row5 { gap: 4px; } .ft-faces .ft-row5 .sv-f { white-space: nowrap; } }
/* las piezas dentro de una guía no heredan el espacio entre párrafos del artículo */
.art-b .bz-ui p { margin: 0; }
.foot .ft-d i { font-style: normal; }
/* celular angosto (320): menú entero, botones y campos dentro de su tarjeta */
@media (max-width: 359px) { body.v13 .nav8-in { gap: 4px; } body.v13 .nav8 .logo8 { font-size: 0; gap: 0; } body.v13 .k-amt { font-size: 56px; } body.v13 .k-wlf form { grid-template-columns: minmax(0, 1fr); } body.v13 :is(.k-plan, .k-wlf) .k-cta { width: 100%; padding: 0; } }
@media (min-width: 601px) { .foot .copy { order: 1; width: 100%; margin-left: 0; } .foot .tm { order: 1; } }
