/* =============================================================================
   HUGO.BZ // LA WEB — la landing y los precios (22-oct-2026; docs/WEB.md).
   Neutra y tranquila (Hugo, 22-oct): fondo casi blanco, grises y un solo acento azul para detalles; botones claros
   con borde fino; sin degradados, sin cristal, sin pastillas con punto, sin emojis ni cintas. Lo que se mueve son las
   interfaces de ejemplo (web.js), despacio. Sin estilos en el HTML: la CSP no los deja.
   ============================================================================= */
@font-face { font-family: 'Plex'; src: url('/comun/fuentes/ibm-plex-sans-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Plex'; src: url('/comun/fuentes/ibm-plex-sans-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Plex'; src: url('/comun/fuentes/ibm-plex-sans-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Plex Mono'; src: url('/comun/fuentes/ibm-plex-mono-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
/* (31-oct) La letra de repuesto mientras llega Plex: Arial (o sus gemelas) ajustada para ocupar lo mismo, medida en
   Chrome. Así, al llegar Plex, los titulares no cambian de líneas y la página no salta (CLS de PageSpeed). */
@font-face { font-family: 'Plex respaldo'; src: local('Arial'), local('ArialMT'), local('Liberation Sans'), local('LiberationSans'), local('Helvetica'); font-weight: 400; size-adjust: 99.3%; ascent-override: 103.2%; descent-override: 27.7%; line-gap-override: 0%; }
@font-face { font-family: 'Plex respaldo'; src: local('Arial'), local('ArialMT'), local('Liberation Sans'), local('LiberationSans'), local('Helvetica'); font-weight: 500; size-adjust: 101.4%; ascent-override: 101.1%; descent-override: 27.1%; line-gap-override: 0%; }
@font-face { font-family: 'Plex respaldo'; src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold'), local('LiberationSans-Bold'), local('Helvetica Bold'); font-weight: 600; size-adjust: 95.7%; ascent-override: 107.1%; descent-override: 28.7%; line-gap-override: 0%; }

:root {
  --fondo: #fafafa;
  --blanco: #fff;
  --tinta: #18181b;
  --tinta-2: #3f3f46;
  --suave: #71717a;
  --apagado: #a1a1aa;
  --linea: #e4e4e7;
  --linea-2: #f0f0f2;
  --gris: #f4f4f5;
  --acento: #3466e0;
  --acento-f: #eef2fd;
  --sombra: 0 1px 2px rgba(0, 0, 0, .04), 0 12px 32px -18px rgba(0, 0, 0, .14);
  --ancho: 1140px;
  --r: 12px;
  --mono: 'Plex Mono', ui-monospace, Menlo, monospace;
  --curva: cubic-bezier(.45, 0, .25, 1);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; } }
body { margin: 0; min-height: 100vh; background: var(--fondo); color: var(--tinta); font: 400 16px/1.6 'Plex', 'Plex respaldo', system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--acento-f); }
:focus-visible { outline: 2px solid var(--acento); outline-offset: 2px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Un marco: una interfaz de ejemplo (blanco, borde fino, sombra suave) */
.marco { position: relative; background: var(--blanco); border: 1px solid var(--linea); border-radius: var(--r); box-shadow: var(--sombra); }

/* ---- Barra ---- */
.barra { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: rgba(250, 250, 250, .86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.barra.bajado { border-bottom-color: var(--linea); }
.barra-in { width: min(var(--ancho), 100% - 32px); margin: 0 auto; height: 64px; display: flex; align-items: center; gap: 4px; }
.marca { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; margin-right: auto; }
.marca-ic { width: 26px; height: 26px; border-radius: 7px; display: inline-grid; place-items: center; font: 600 10px/1 'Plex', 'Plex respaldo', sans-serif; color: #fff; background: var(--acento); }
.barra nav { display: flex; gap: 2px; margin-right: 12px; }
.barra nav a, .enlace { padding: 8px 12px; border-radius: 8px; color: var(--suave); font-size: 14.5px; transition: color .2s; }
.barra nav a:hover, .enlace:hover { color: var(--tinta); }
.barra nav a.solo-movil { display: none; }
.menu-btn { display: none; width: 40px; height: 40px; border-radius: 8px; border: 0; background: transparent; cursor: pointer; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 16px; height: 1.5px; background: var(--tinta); margin: auto; position: relative; content: ''; transition: transform .3s; }
.menu-btn span::before { position: absolute; top: -5px; } .menu-btn span::after { position: absolute; top: 5px; }

/* ---- Botones: claros, con borde fino ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 10px; border: 1px solid #d4d4d8; background: var(--blanco); color: var(--tinta); cursor: pointer; font-weight: 500; font-size: 15px; white-space: nowrap; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); transition: background .2s, border-color .2s; }
.btn:hover { background: var(--gris); border-color: #c4c4ca; }
.btn:active { background: #ececee; }
.btn:disabled { opacity: .6; cursor: default; }
.btn-peq { height: 36px; padding: 0 14px; font-size: 14px; }

/* ---- Estructura y letra ---- */
.ancho { width: min(var(--ancho), 100% - 32px); margin: 0 auto; }
h1, h2, h3 { font-weight: 600; letter-spacing: -.022em; margin: 0; line-height: 1.12; }
h1 { font-size: clamp(38px, 5vw, 60px); }
h2 { font-size: clamp(28px, 3.3vw, 42px); }
h3 { font-size: clamp(21px, 2vw, 26px); letter-spacing: -.016em; line-height: 1.2; }
.lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--suave); max-width: 500px; margin: 18px 0 0; }
.sobre { margin: 0 0 12px; font-size: 14px; font-weight: 500; color: var(--acento); }
.av { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font: 500 11px/1 'Plex', 'Plex respaldo', sans-serif; font-style: normal; color: var(--tinta-2); box-shadow: 0 0 0 2px #fff; flex: none; }
.a1 { background: #dbe4f8; } .a2 { background: #e2ecd9; } .a3 { background: #f2e1da; } .a4 { background: #e8e4f3; }

/* ---- Portada ---- */
.portada { padding: 150px 0 90px; }
.portada .ancho { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.pedir { display: flex; gap: 8px; margin-top: 30px; max-width: 440px; }
.pedir input { flex: 1; min-width: 0; height: 42px; padding: 0 14px; border: 1px solid #d4d4d8; border-radius: 10px; background: var(--blanco); outline: none; font-size: 15px; transition: border-color .2s, box-shadow .2s; }
.pedir input::placeholder { color: var(--apagado); }
.pedir input:focus { border-color: var(--acento); box-shadow: 0 0 0 3px var(--acento-f); }
.nota-pedir { margin: 12px 0 0; font-size: 13.5px; color: var(--apagado); }
.ts:empty { display: none; } .ts { margin-top: 12px; }
.msj { margin: 10px 0 0; font-size: 14px; min-height: 1px; color: var(--suave); }
.msj.mal { color: #c2410c; }

.ventana { height: 480px; display: grid; grid-template-columns: 50px 1fr; grid-template-rows: 48px 1fr; overflow: hidden; }
.v-cab { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; padding: 0 12px 0 16px; border-bottom: 1px solid var(--linea); font-size: 13.5px; }
.v-ruta { color: var(--suave); } .v-ruta i { font-style: normal; opacity: .5; margin: 0 4px; } .v-ruta b { color: var(--tinta); font-weight: 500; }
.v-gente { margin-left: auto; display: flex; } .v-gente .av { margin-left: -6px; }
.v-btn { padding: 6px 12px; border-radius: 8px; border: 1px solid var(--linea); font-size: 12.5px; font-weight: 500; }
.v-carril { border-right: 1px solid var(--linea); display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 0; background: #fcfcfc; }
.v-carril i { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; color: var(--apagado); }
.v-carril i.on { background: var(--gris); color: var(--tinta); }
.v-carril svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.lienzo { position: relative; overflow: hidden; background-image: radial-gradient(#e2e2e6 1px, transparent 1.2px); background-size: 22px 22px; touch-action: none; }
.nota { position: absolute; width: 148px; padding: 11px 12px 13px; border-radius: 8px; font-size: 12.5px; line-height: 1.4; color: var(--tinta); box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 6px 14px -10px rgba(0, 0, 0, .25); user-select: none; -webkit-user-select: none; }
.nota small { display: block; font-size: 11px; color: var(--suave); margin-bottom: 4px; }
[data-arrastra] { cursor: grab; transition: box-shadow .25s; }
[data-arrastra].cogido { cursor: grabbing; z-index: 5; box-shadow: 0 2px 4px rgba(0, 0, 0, .08), 0 18px 30px -16px rgba(0, 0, 0, .35); }
.n1 { left: 9%; top: 12%; background: #fbf4d4; } .n2 { left: 52%; top: 9%; background: #e6eef9; }
.n3 { left: 58%; top: 56%; background: #e9f2e2; } .n4 { left: 10%; top: 58%; background: #f6e8e2; }
.foto { position: absolute; left: 34%; top: 33%; width: 148px; height: 104px; border-radius: 8px; background: linear-gradient(160deg, #d7dde6, #b9c3d0); box-shadow: 0 0 0 4px #fff, 0 6px 16px -8px rgba(0, 0, 0, .3); }
.flechas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.flechas path { fill: none; stroke: #c4c4ca; stroke-width: 1.4; stroke-dasharray: 4 5; }
.cursor, .raton { position: absolute; left: 0; top: 0; z-index: 12; pointer-events: none; will-change: transform; }
.raton { opacity: 0; transition: opacity .4s; } .raton.activo { opacity: 1; }
.cursor svg, .raton svg { width: 17px; height: 17px; display: block; stroke: #fff; stroke-width: 1.2; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .25)); transition: transform .15s; fill: var(--tinta); }
.cursor span, .raton span { position: absolute; left: 14px; top: 15px; padding: 2px 7px; border-radius: 5px; font: 500 11px/1.4 'Plex', 'Plex respaldo', sans-serif; color: #fff; white-space: nowrap; background: var(--tinta); }
.c-lucia svg, .r-lucia svg { fill: var(--acento); } .c-lucia span, .r-lucia span { background: var(--acento); }
.c-marc svg { fill: #52525b; } .c-marc span { background: #52525b; }
.raton.pulsa svg { transform: scale(.85); }
.pista { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); padding: 5px 10px; border-radius: 6px; background: var(--blanco); border: 1px solid var(--linea); color: var(--suave); font-size: 12px; pointer-events: none; transition: opacity .4s; white-space: nowrap; }
.lienzo.tocado .pista { opacity: 0; }

/* ---- Secciones ---- */
.bloque { padding: 110px 0 0; border-top: 1px solid var(--linea-2); margin-top: 20px; }
.cab { margin-bottom: 64px; max-width: 640px; }

/* Flujos: texto corto + interfaz de ejemplo */
.flujo { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 64px; align-items: center; margin-bottom: 100px; }
.flujo.inverso { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); }
.flujo.inverso .flujo-t { order: 2; }
.paso { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--linea); font-size: 13px; font-weight: 500; color: var(--suave); margin-bottom: 18px; background: var(--blanco); }
.flujo-t p { color: var(--suave); font-size: 16.5px; margin: 12px 0 0; max-width: 340px; }

.demo { height: 420px; overflow: hidden; display: flex; flex-direction: column; }
.d-cab { height: 44px; flex: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 14px; border-bottom: 1px solid var(--linea); font-size: 13px; color: var(--suave); }
.d-cab > span:first-child { color: var(--tinta); font-weight: 500; }
.d-gente { display: flex; } .d-gente .av { width: 22px; height: 22px; margin-left: -5px; font-size: 10px; }
.d-boton { padding: 5px 11px; border-radius: 7px; border: 1px solid var(--linea); color: var(--tinta); font-size: 12px; font-weight: 500; transition: background .2s; }
.pulsado { background: var(--gris) !important; }
.chip { font-size: 10.5px; padding: 2px 7px; border-radius: 5px; background: var(--gris); color: var(--suave); }

/* Demo 1: panel → tablero */
.d-split { flex: 1; display: grid; grid-template-columns: .9fr 1.1fr; min-height: 0; }
.d-lienzo { position: relative; border-right: 1px solid var(--linea); background-image: radial-gradient(#e4e4e8 1px, transparent 1.2px); background-size: 20px 20px; }
.d-lienzo .nota { width: 126px; font-size: 12px; }
.dn1 { left: 12%; top: 12%; background: #fbf4d4; } .dn2 { left: 40%; top: 44%; background: #e6eef9; } .dn3 { left: 10%; top: 67%; background: #f6e8e2; }
.nota.volando { z-index: 9; box-shadow: 0 2px 4px rgba(0, 0, 0, .08), 0 18px 30px -16px rgba(0, 0, 0, .35); }
.d-tablero { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 12px; background: #fcfcfc; }
.d-col { border-radius: 10px; padding: 8px; display: flex; flex-direction: column; gap: 8px; transition: background .3s; }
.d-col.sobre { background: var(--acento-f); }
.d-col > small { font-size: 11.5px; color: var(--suave); padding: 2px 4px; }
.tarjeta { border-radius: 8px; padding: 9px 10px; background: var(--blanco); border: 1px solid var(--linea); font-size: 12.5px; display: grid; gap: 6px; justify-items: start; position: relative; }
.tarjeta.hecha { color: var(--apagado); text-decoration: line-through; }
.tarjeta.nueva { border-color: #b9c9f3; animation: entra-t .6s var(--curva); }
.tarjeta .av { position: absolute; right: 8px; bottom: 8px; width: 20px; height: 20px; font-size: 9px; animation: entra-t .5s var(--curva); }
@keyframes entra-t { from { opacity: 0; transform: translateY(4px); } }

/* Demo 2: documento */
.d-papel { flex: 1; margin: 16px 20px 0; background: var(--blanco); border: 1px solid var(--linea); border-bottom: 0; border-radius: 8px 8px 0 0; padding: 24px 28px; position: relative; }
.d-papel h4 { margin: 0 0 12px; font-size: 18px; font-weight: 600; letter-spacing: -.015em; }
.d-papel p { margin: 0 0 10px; font-size: 13.5px; color: var(--tinta-2); line-height: 1.6; max-width: 70%; }
.d-linea { min-height: 22px; }
.caret { display: inline-block; width: 1.5px; height: 15px; background: var(--acento); vertical-align: -2px; margin-left: 1px; animation: parpadea 1.1s steps(1) infinite; }
@keyframes parpadea { 50% { opacity: 0; } }
.d-fecha { border-radius: 3px; transition: background .4s; padding: 0 1px; }
.d-fecha.sel { background: #fdf0c4; }
.d-com { position: absolute; right: 16px; top: 92px; width: 176px; padding: 11px 12px; border-radius: 10px; background: var(--blanco); border: 1px solid var(--linea); box-shadow: var(--sombra); font-size: 12.5px; opacity: 0; transform: translateY(4px); transition: opacity .5s, transform .5s var(--curva); }
.d-com.ver { opacity: 1; transform: none; }
.d-com b { display: block; font-size: 11.5px; font-weight: 500; color: var(--suave); margin-bottom: 2px; }
.d-resp { display: block; margin-top: 9px; padding-top: 9px; border-top: 1px solid var(--linea); opacity: 0; transition: opacity .5s; }
.d-com.respondido .d-resp { opacity: 1; }
.d-hoja { margin-top: 14px; border-radius: 8px; border: 1px solid var(--linea); padding: 12px 14px; display: grid; grid-template-columns: 1fr 100px; gap: 6px 18px; align-items: end; max-width: 390px; }
.d-hoja-t { grid-column: 1 / -1; font-size: 11.5px; color: var(--suave); }
.d-filas { display: grid; grid-template-columns: 1fr auto; gap: 3px 12px; font-size: 12.5px; }
.d-filas span:nth-child(even) { font-family: var(--mono); font-size: 12px; text-align: right; }
.d-filas span:nth-last-child(-n+2) { font-weight: 500; border-top: 1px solid var(--linea); padding-top: 4px; }
.d-total, .d-diseno { transition: color .4s; }
.d-total.cambio, .d-diseno.cambio { color: var(--acento); }
.d-barras { display: flex; align-items: flex-end; gap: 6px; height: 56px; }
.d-barras i { flex: 1; border-radius: 3px 3px 0 0; background: #d4d4d8; height: 40%; transition: height .8s var(--curva); }
.d-barras i:nth-child(2) { height: 70%; }
.d-barras .d-b3 { height: 82%; background: #9bb3ee; }
.d-barras .d-b3.alta { height: 100%; }

/* Demo 3: compartir */
.d-archivos { flex: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 14px; padding: 12px; position: relative; min-height: 0; }
.d-lista { display: flex; flex-direction: column; gap: 2px; }
.d-fila { display: grid; grid-template-columns: 32px 1fr auto; gap: 10px; align-items: center; padding: 9px 10px; border-radius: 8px; font-size: 13px; transition: background .3s; }
.d-fila small { color: var(--apagado); font-size: 11.5px; }
.d-fila.on { background: var(--gris); }
.ti { width: 32px; height: 32px; border-radius: 7px; display: grid; place-items: center; font: 400 9px/1 var(--mono); color: var(--suave); background: var(--gris); border: 1px solid var(--linea); flex: none; }
.d-pop { position: absolute; left: 20%; top: 40px; width: 268px; padding: 14px; border-radius: 12px; display: grid; gap: 12px; font-size: 13px; background: var(--blanco); border: 1px solid var(--linea); box-shadow: 0 2px 4px rgba(0, 0, 0, .04), 0 24px 48px -24px rgba(0, 0, 0, .25); opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s var(--curva); z-index: 3; pointer-events: none; }
.d-pop.ver { opacity: 1; transform: none; }
.d-pop b { font-weight: 500; }
.d-op { display: flex; justify-content: space-between; align-items: center; color: var(--tinta-2); gap: 10px; }
.sw { width: 34px; height: 20px; border-radius: 999px; background: #d4d4d8; position: relative; transition: background .3s; flex: none; }
.sw::after { content: ''; position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: transform .3s var(--curva); }
.sw.on { background: var(--acento); } .sw.on::after { transform: translateX(14px); }
.d-copiar { text-align: center; padding: 8px; border-radius: 8px; border: 1px solid var(--linea); font-weight: 500; font-size: 13px; transition: background .3s, color .3s; }
.d-copiar.hecho { color: var(--acento); background: var(--acento-f); border-color: #d3dcf6; }
.d-movil { align-self: center; justify-self: center; width: 100%; max-width: 200px; height: 92%; border-radius: 22px; background: var(--blanco); border: 1px solid var(--linea); box-shadow: 0 0 0 5px var(--gris); padding: 14px 12px; display: flex; flex-direction: column; gap: 9px; }
.d-movil-cab { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 500; padding-bottom: 10px; border-bottom: 1px solid var(--linea); }
.d-burbuja { padding: 8px 10px; border-radius: 12px; font-size: 12px; background: var(--gris); max-width: 92%; opacity: 0; transform: translateY(4px); transition: opacity .5s, transform .5s var(--curva); display: flex; align-items: center; gap: 8px; }
.d-burbuja.yo { align-self: flex-end; background: var(--acento-f); }
.d-burbuja.yo .ti { width: 24px; height: 24px; font-size: 7.5px; background: #fff; }
.d-burbuja.ver { opacity: 1; transform: none; }

/* Demo 4: hoy */
.d-hoy { flex: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 12px; padding: 14px; min-height: 0; background: #fcfcfc; }
.d-tareas, .d-cal { border-radius: 10px; background: var(--blanco); border: 1px solid var(--linea); padding: 12px; display: flex; flex-direction: column; gap: 4px; }
.d-tareas > small, .d-cal > small { font-size: 11.5px; color: var(--suave); margin-bottom: 6px; }
.d-t { display: flex; align-items: center; gap: 10px; padding: 8px 6px; border-radius: 6px; font-size: 13.5px; transition: color .4s, background .4s; }
.d-t em { font-style: normal; margin-left: auto; font-size: 11.5px; color: var(--apagado); }
.caja { width: 16px; height: 16px; border-radius: 4px; border: 1.5px solid #c4c4ca; position: relative; flex: none; transition: background .3s, border-color .3s; }
.d-t.hecha { color: var(--apagado); text-decoration: line-through; }
.d-t.hecha .caja { background: var(--acento); border-color: var(--acento); }
.d-t.hecha .caja::after { content: ''; position: absolute; left: 4px; top: 1px; width: 4px; height: 8px; border: solid #fff; border-width: 0 1.8px 1.8px 0; transform: rotate(45deg); }
.d-nueva { display: none; } .d-nueva.ver { display: flex; animation: entra-t .6s var(--curva); background: var(--gris); }
.d-ev { border-radius: 6px; padding: 8px 10px; font-size: 12.5px; display: grid; gap: 1px; background: var(--gris); }
.d-ev b { font: 400 11px/1.3 var(--mono); color: var(--suave); }
.d-anillo { font-size: 12.5px; color: var(--suave); }
.d-anillo b { color: var(--tinta); font-weight: 500; }
.d-aviso { position: absolute; left: 50%; top: 56px; transform: translate(-50%, -6px); display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; border-radius: 10px; font-size: 12.5px; white-space: nowrap; background: var(--blanco); border: 1px solid var(--linea); box-shadow: var(--sombra); opacity: 0; transition: opacity .5s, transform .5s var(--curva); z-index: 6; }
.d-aviso b { font-weight: 500; }
.d-aviso.ver { opacity: 1; transform: translate(-50%, 0); }

/* ---- IA ---- */
.ia { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
.modelos { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 26px; }
.modelo { cursor: pointer; font-size: 13.5px; padding: 6px 12px; border-radius: 8px; border: 1px solid var(--linea); background: var(--blanco); color: var(--suave); transition: background .2s, color .2s, border-color .2s; }
.modelo:hover { color: var(--tinta); }
.modelo.on { color: var(--tinta); border-color: #b4b4bb; background: var(--gris); }
.chat { height: 460px; display: flex; flex-direction: column; overflow: hidden; }
.chat-cab { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--linea); font-size: 14px; }
.chat-cab b { font-weight: 500; }
.chat-cab small { color: var(--apagado); font-size: 12.5px; margin-left: auto; }
.chat-msjs { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.burbuja { padding: 10px 13px; border-radius: 12px; font-size: 14px; line-height: 1.55; max-width: 86%; animation: entra-t .5s var(--curva); }
.burbuja.yo { align-self: flex-end; background: var(--gris); }
.burbuja.ia-r { border: 1px solid var(--linea); }
.burbuja.ia-r b { font-weight: 500; }
.burbuja.ia-r ul { margin: 4px 0 0; padding-left: 18px; } .burbuja.ia-r li { margin: 2px 0; }
.t-ok { display: flex; gap: 8px; align-items: center; margin: 5px 0; }
.t-ok i { width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid #c4c4ca; flex: none; }
.escribe { display: inline-flex; gap: 4px; } .escribe i { width: 5px; height: 5px; border-radius: 50%; background: var(--apagado); animation: salta 1.4s infinite; }
.escribe i:nth-child(2) { animation-delay: .2s; } .escribe i:nth-child(3) { animation-delay: .4s; }
@keyframes salta { 0%, 60%, 100% { opacity: .35; } 30% { opacity: 1; } }
.chat-sug { display: flex; gap: 6px; padding: 0 16px 12px; flex-wrap: wrap; }
.chat-sug button { cursor: pointer; padding: 6px 11px; border-radius: 8px; font-size: 13px; border: 1px solid var(--linea); background: var(--blanco); color: var(--tinta-2); transition: background .2s; }
.chat-sug button:hover { background: var(--gris); }
.chat-sug button:disabled { opacity: .5; cursor: default; }
.chat-in { margin: 0 12px 12px; display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 14px; border-radius: 10px; border: 1px solid var(--linea); }
.chat-texto { flex: 1; color: var(--apagado); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-texto.lleno { color: var(--tinta); }
.chat-env { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--gris); color: var(--suave); }
.chat-env svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---- Apps: una lista, sin tarjetas ---- */
.lista-apps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--linea); }
.lista-apps li { display: grid; grid-template-columns: 22px 1fr; gap: 2px 14px; padding: 20px 8px 20px 0; border-bottom: 1px solid var(--linea); align-items: center; }
.lista-apps svg { grid-row: span 2; width: 20px; height: 20px; fill: none; stroke: var(--tinta-2); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.lista-apps b { font-weight: 500; font-size: 15.5px; }
.lista-apps span { color: var(--suave); font-size: 14px; }

/* ---- Empresas ---- */
.empresas { display: grid; grid-template-columns: 1fr .9fr; gap: 64px; align-items: center; }
.org { padding: 18px; display: grid; gap: 10px; }
.org-t { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--linea); }
.org-t .logo { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; font-weight: 600; font-size: 14px; background: var(--gris); border: 1px solid var(--linea); }
.org-t b { font-weight: 500; display: block; font-size: 15px; }
.org-t small { font-size: 12.5px; color: var(--apagado); }
.org-btn { margin-left: auto; padding: 5px 11px; border-radius: 7px; border: 1px solid var(--linea); font-size: 12.5px; font-weight: 500; }
.persona { display: grid; grid-template-columns: 32px 1fr auto; gap: 12px; align-items: center; font-size: 14px; }
.persona .av { width: 32px; height: 32px; font-size: 12px; }
.persona small { display: block; color: var(--apagado); font-size: 12px; }
.rol { cursor: pointer; font-size: 12px; padding: 4px 9px; border-radius: 6px; border: 1px solid var(--linea); background: var(--blanco); color: var(--suave); transition: background .2s, color .2s; }
.rol:hover { background: var(--gris); }
.rol.adm { color: var(--tinta); background: var(--gris); }
.org-apps { display: flex; gap: 6px; flex-wrap: wrap; padding-top: 12px; border-top: 1px solid var(--linea); }
.org-apps small { flex-basis: 100%; font-size: 11.5px; color: var(--suave); margin-bottom: 2px; }
.sw-app { cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px 6px 6px; border-radius: 8px; border: 1px solid var(--linea); background: var(--blanco); font-size: 13px; color: var(--apagado); transition: color .3s; }
.sw-app i { width: 26px; height: 16px; border-radius: 999px; background: #d4d4d8; position: relative; transition: background .3s; }
.sw-app i::after { content: ''; position: absolute; left: 2px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: transform .3s var(--curva); }
.sw-app.on { color: var(--tinta); } .sw-app.on i { background: var(--acento); } .sw-app.on i::after { transform: translateX(10px); }

/* ---- Final ---- */
.final { padding: 120px 0 110px; border-top: 1px solid var(--linea-2); margin-top: 100px; }
.final-c { display: flex; flex-direction: column; align-items: center; text-align: center; }
.final-c .lead { margin: 14px auto 0; }
.final-c .pedir-caja { width: 100%; max-width: 440px; }
.final-c .pedir { margin: 28px auto 0; }
.final-c .msj { text-align: center; }
.final-c .ts { display: flex; justify-content: center; }

/* ---- Pie ---- */
.pie { border-top: 1px solid var(--linea); padding: 28px 0 40px; color: var(--suave); font-size: 13.5px; }
.pie .ancho { display: flex; gap: 20px; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.pie nav { display: flex; gap: 22px; flex-wrap: wrap; }
.pie a:hover { color: var(--tinta); }

/* ---- Aparecer: un fundido corto, sin saltos ---- */
.aparece { opacity: 0; transform: translateY(10px); transition: opacity .8s ease, transform .8s ease; }
.aparece.visto { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; } .d2 { transition-delay: .2s; } .d3 { transition-delay: .3s; }
.sin-js .aparece { opacity: 1; transform: none; }

/* ---- Precios ---- */
.precios-c { padding: 140px 0 40px; }
.precios-c .cab { margin: 0 auto 0; text-align: center; max-width: 640px; }
.cambio { display: inline-flex; padding: 3px; border-radius: 10px; gap: 2px; border: 1px solid var(--linea); background: var(--blanco); margin-top: 28px; }
.cambio button { height: 34px; padding: 0 14px; border: 0; border-radius: 7px; background: transparent; color: var(--suave); cursor: pointer; font-size: 14px; display: inline-flex; gap: 8px; align-items: center; }
.cambio button[aria-pressed='true'] { background: var(--gris); color: var(--tinta); }
.cambio em { font-style: normal; font-size: 12px; color: var(--acento); }
.planes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; align-items: stretch; }
.plan { padding: 28px 24px; display: flex; flex-direction: column; }
.plan.pro { border-color: #b4b4bb; }
.plan h2 { font-size: 19px; letter-spacing: -.01em; display: flex; align-items: baseline; gap: 10px; }
.plan h2 em { font-style: normal; font-size: 12.5px; font-weight: 400; color: var(--acento); }
.plan .para { color: var(--suave); margin: 8px 0 22px; font-size: 14.5px; min-height: 46px; }
.precio { display: flex; align-items: baseline; gap: 8px; min-height: 72px; flex-wrap: wrap; }
.precio b { font-size: clamp(38px, 4vw, 46px); font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.precio b.txt { font-size: clamp(28px, 2.8vw, 34px); }
.precio span { color: var(--suave); font-size: 14px; }
.precio .mensual-s, .precio .anual-s { color: inherit; font-size: inherit; }
.precio small { flex-basis: 100%; font-size: 13px; color: var(--apagado); margin-top: 4px; }
.plan .btn { margin: 20px 0 22px; width: 100%; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: 14.5px; }
.plan li { padding-left: 22px; position: relative; color: var(--tinta-2); }
.plan li::before { content: ''; position: absolute; left: 2px; top: 7px; width: 9px; height: 5px; border: solid var(--acento); border-width: 0 0 1.6px 1.6px; transform: rotate(-45deg); }
.plan li.t { padding-left: 0; color: var(--suave); font-size: 13px; margin-top: 4px; }
.plan li.t::before { display: none; }
.anual .mensual-s, .mensual .anual-s { display: none; }
.anual-s, .mensual-s { display: contents; }
.nota-precios { margin: 24px 0 0; text-align: center; color: var(--suave); font-size: 13.5px; }
.tabla-c { margin-top: 90px; overflow-x: auto; }
.tabla { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 14.5px; }
.tabla th, .tabla td { padding: 14px 12px; text-align: left; border-bottom: 1px solid var(--linea); }
.tabla thead th { font-weight: 600; font-size: 15px; }
.tabla thead th:first-child { font-weight: 400; color: var(--suave); }
.tabla td:first-child { color: var(--tinta-2); }
.tabla td:not(:first-child), .tabla th:not(:first-child) { text-align: center; width: 20%; }
.tabla tr.g td { font-size: 13px; font-weight: 500; color: var(--suave); padding-top: 30px; }
.si { display: inline-block; width: 10px; height: 6px; border: solid var(--acento); border-width: 0 0 1.8px 1.8px; transform: rotate(-45deg); vertical-align: 3px; }
.no-t { color: var(--apagado); }

/* ---- Ventanas ---- */
dialog.ventana-d { border: 1px solid var(--linea); padding: 0; color: var(--tinta); width: min(500px, calc(100% - 32px)); max-height: calc(100vh - 32px); overflow: auto; background: var(--blanco); border-radius: 14px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .3); }
dialog.ventana-d[open] { animation: entra .35s ease; }
@keyframes entra { from { opacity: 0; transform: translateY(8px); } }
dialog.ventana-d::backdrop { background: rgba(24, 24, 27, .25); }
.d-in { padding: 28px; }
.d-in h2 { font-size: 24px; }
.d-in > p { color: var(--suave); margin: 8px 0 22px; font-size: 15px; }
.cerrar { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border: 0; border-radius: 8px; background: transparent; cursor: pointer; display: grid; place-items: center; color: var(--suave); }
.cerrar:hover { background: var(--gris); }
.cerrar svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.8; fill: none; }
.campo { display: grid; gap: 6px; margin-bottom: 14px; }
.campo label { font-size: 13px; font-weight: 500; color: var(--tinta-2); }
.campo input, .campo select, .campo textarea { width: 100%; border: 1px solid #d4d4d8; border-radius: 9px; padding: 10px 12px; background: var(--blanco); outline: none; font-size: 15px; transition: border-color .2s, box-shadow .2s; }
.campo select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--suave) 50%), linear-gradient(135deg, var(--suave) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.campo textarea { min-height: 100px; resize: vertical; }
.campo input:focus, .campo select:focus, .campo textarea:focus { border-color: var(--acento); box-shadow: 0 0 0 3px var(--acento-f); }
.dos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.d-in .btn { width: 100%; margin-top: 6px; }
.hecho { text-align: center; padding: 14px 0 4px; }
.hecho .ok { width: 44px; height: 44px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: var(--acento-f); }
.hecho .ok svg { width: 20px; height: 20px; stroke: var(--acento); stroke-width: 2.2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.hecho h3 { font-size: 19px; } .hecho p { color: var(--suave); margin: 8px 0 0; }

/* ---- Tablet y móvil ---- */
@media (max-width: 1000px) {
  .portada .ancho { grid-template-columns: 1fr; gap: 56px; }
  .flujo, .flujo.inverso { grid-template-columns: 1fr; gap: 26px; margin-bottom: 80px; }
  .flujo.inverso .flujo-t { order: 0; }
  .ia, .empresas { grid-template-columns: 1fr; gap: 40px; }
  .lista-apps { grid-template-columns: repeat(2, 1fr); }
  .planes { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
}
@media (max-width: 760px) {
  .barra nav, .barra .solo-ancho { display: none; }
  .menu-btn { display: block; }
  .barra.abierta .barra-in { flex-wrap: wrap; height: auto; padding: 12px 0; }
  .barra.abierta nav { display: flex; flex-direction: column; flex-basis: 100%; order: 5; padding: 8px 0 4px; }
  .barra.abierta nav a { padding: 12px 4px; font-size: 16px; }
  .barra.abierta nav a.solo-movil { display: block; }
  .barra.abierta .menu-btn span { background: transparent; }
  .barra.abierta .menu-btn span::before { transform: translateY(5px) rotate(45deg); } .barra.abierta .menu-btn span::after { transform: translateY(-5px) rotate(-45deg); }
  .portada { padding-top: 110px; }
  .bloque { padding-top: 80px; }
  .demo { height: 390px; }
  .d-split { grid-template-columns: 1fr 1fr; } .d-tablero { grid-template-columns: 1fr 1fr; padding: 8px; } .d-col[data-col='hecho'] { display: none; }
  .d-lienzo .nota { width: 106px; font-size: 11px; }
  .d-archivos { grid-template-columns: 1fr; } .d-movil { display: none; }
  .d-hoy { grid-template-columns: 1fr; } .d-cal { display: none; }
  .d-papel p { max-width: 100%; } .d-com { width: 156px; right: 8px; }
  .lista-apps { grid-template-columns: 1fr 1fr; }
  .ventana { grid-template-columns: 42px 1fr; height: 420px; }
  .n4 { display: none; }
  .dos { grid-template-columns: 1fr; }
  .chat { height: 430px; }
}
@media (max-width: 480px) {
  .pedir { flex-direction: column; } .pedir .btn { width: 100%; }
  .v-btn { display: none; }
  .lista-apps { grid-template-columns: 1fr; }
}

/* =============================================================================
   COLOR Y JERARQUÍA (Hugo, 22-oct: «necesito más dinamismo, color, jerarquía»). Sin volver a los rasgos «de IA»:
   el color va en BLOQUES PLANOS (cada flujo, su color; la interfaz de ejemplo encima, como en un escenario), nada de
   degradados, cristal ni brillos. Titulares grandes y prietos, números de paso grandes, una sección oscura para el
   ritmo y el cierre en azul. El fondo de la página toma, despacio, el tono del flujo que se está viendo (web.js).
   ============================================================================= */
:root {
  --c-amarillo: #ffe7a3; --t-amarillo: #b07a00; --f-amarillo: #fffaeb;
  --c-azul: #d3e1ff;     --t-azul: #2f5fd6;     --f-azul: #f3f7ff;
  --c-verde: #cfeec0;    --t-verde: #3f8a1f;    --f-verde: #f4fbf0;
  --c-coral: #ffd3c4;    --t-coral: #d2532c;    --f-coral: #fff6f2;
  --c-lila: #e2dbff;     --t-lila: #6a4fd6;     --f-lila: #f7f5ff;
  --c-cielo: #dbe8ff;
}
body { transition: background-color 1.2s ease; }
body[data-tono='amarillo'] { background: var(--f-amarillo); } body[data-tono='azul'] { background: var(--f-azul); }
body[data-tono='verde'] { background: var(--f-verde); } body[data-tono='coral'] { background: var(--f-coral); } body[data-tono='lila'] { background: var(--f-lila); }
.barra { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; transition: border-color .3s, background-color .3s; }
.barra.bajado { background: rgba(255, 255, 255, .92); }

/* Letra con jerarquía */
h1 { font-size: clamp(46px, 6.6vw, 94px); letter-spacing: -.048em; line-height: .98; font-weight: 600; }
h2 { font-size: clamp(36px, 4.8vw, 66px); letter-spacing: -.042em; line-height: 1.02; }
h3 { font-size: clamp(24px, 2.3vw, 31px); letter-spacing: -.028em; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--tinta-2); }
.sobre { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
mark { color: inherit; background: none; position: relative; white-space: nowrap; z-index: 0; }
mark::before { content: ''; position: absolute; left: -.06em; right: -.08em; top: .52em; bottom: .02em; background: var(--c-amarillo); z-index: -1; border-radius: .08em; transform-origin: left; transform: scaleX(0); transition: transform 1.1s cubic-bezier(.65, 0, .35, 1) .5s; }
.visto mark::before, .sin-js mark::before { transform: none; }

/* Botones: el principal, azul sólido */
.btn-p { background: var(--acento); border-color: var(--acento); color: #fff; box-shadow: 0 1px 2px rgba(52, 102, 224, .3), 0 8px 18px -10px rgba(52, 102, 224, .7); }
.btn-p:hover { background: #2a57c7; border-color: #2a57c7; }
.btn-p:active { background: #234bb0; }

/* Escenarios de color: un bloque plano con la interfaz encima */
.escenario { position: relative; border-radius: 28px; padding: 36px; overflow: hidden; background: var(--c); }
.escenario::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(0, 0, 0, .07) 1.2px, transparent 1.4px); background-size: 18px 18px; pointer-events: none; }
.escenario > .marco { position: relative; will-change: transform; box-shadow: 0 2px 4px rgba(0, 0, 0, .05), 0 30px 60px -30px rgba(0, 0, 0, .35); border-color: rgba(0, 0, 0, .08); }
.c-amarillo { --c: var(--c-amarillo); } .c-azul { --c: var(--c-azul); } .c-verde { --c: var(--c-verde); } .c-coral { --c: var(--c-coral); } .c-lila { --c: var(--c-lila); } .c-cielo { --c: var(--c-cielo); }
.escena.escenario { padding: 40px 0 40px 40px; }
.escena.escenario .ventana { border-radius: 12px 0 0 12px; border-right: 0; }
.demo { height: 400px; }

/* Flujos: número grande con su color, y la ruta de apps */
.flujo { gap: 72px; margin-bottom: 120px; }
.paso { width: auto; height: auto; border: 0; background: none; border-radius: 0; font-size: clamp(54px, 6vw, 84px); font-weight: 600; letter-spacing: -.05em; line-height: 1; margin-bottom: 18px; display: block; }
.t-amarillo { color: var(--t-amarillo); } .t-azul { color: var(--t-azul); } .t-verde { color: var(--t-verde); } .t-coral { color: var(--t-coral); }
.flujo-t p { font-size: 17.5px; color: var(--tinta-2); }
.ruta-apps { display: flex; align-items: center; gap: 8px; margin-top: 22px !important; font-size: 13.5px; color: var(--apagado); }
.ruta-apps i { font-style: normal; font-weight: 500; padding: 5px 10px; border-radius: 7px; color: var(--tinta); }
.b-amarillo { background: var(--c-amarillo); } .b-azul { background: var(--c-azul); } .b-verde { background: var(--c-verde); } .b-coral { background: var(--c-coral); }
.bloque { border-top: 0; }
.cab { margin-bottom: 80px; max-width: 760px; }

/* La sección oscura (IA): ritmo */
.oscuro { background: #121316; color: #f4f4f5; padding: 120px 0; margin-top: 100px; }
.oscuro .sobre { color: #9db7ff; }
.oscuro .lead { color: #a1a1aa; }
.oscuro .modelo { background: transparent; border-color: #34353b; color: #a1a1aa; }
.oscuro .modelo:hover { color: #fff; }
.oscuro .modelo.on { background: #fff; color: #121316; border-color: #fff; }
.oscuro .chat { color: var(--tinta); border-color: #2a2b30; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.oscuro + .bloque { margin-top: 0; }

/* Apps: la lista, con cada icono en su color */
.lista-apps li { grid-template-columns: 40px 1fr; gap: 2px 16px; padding: 22px 8px 22px 0; }
.ic-a { grid-row: span 2; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; }
.ic-a svg { width: 20px; height: 20px; stroke: var(--tinta); }
.k1 { background: var(--c-amarillo); } .k2 { background: var(--c-azul); } .k3 { background: var(--c-verde); } .k4 { background: var(--c-coral); }
.k5 { background: var(--c-lila); } .k6 { background: #d4ecfa; } .k7 { background: #c8efe3; } .k8 { background: #ffd6e8; }
.k9 { background: var(--c-azul); } .k10 { background: #ffe1bf; } .k11 { background: #cfeec0; } .k12 { background: #e4e4e7; }
.lista-apps li { transition: background .3s; } .lista-apps li:hover { background: rgba(0, 0, 0, .02); }

/* Empresas */
.empresas .escenario { padding: 36px; }

/* El cierre: un bloque azul */
.final { border-top: 0; margin-top: 60px; padding: 60px 0 100px; }
.final-c { background: var(--acento); color: #fff; border-radius: 32px; padding: clamp(48px, 8vw, 110px) 24px; position: relative; overflow: hidden; }
.final-c::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .14) 1.2px, transparent 1.4px); background-size: 20px 20px; pointer-events: none; }
.final-c > * { position: relative; }
.final-c h2 { font-size: clamp(38px, 5.4vw, 76px); }
.final-c .lead { color: rgba(255, 255, 255, .82); }
.final-c .pedir input { border-color: transparent; }
.final-c .btn-p { background: #121316; border-color: #121316; box-shadow: none; }
.final-c .btn-p:hover { background: #000; }
.final-c .msj { color: rgba(255, 255, 255, .9); }
.final-c .msj.mal { color: #ffe1d6; }
.final-c .hecho h3, .final-c .hecho p { color: #fff; }
/* (081) Sobre el azul: la casilla de ofertas y el enlace del código, en blanco. */
.final-c .casilla { color: rgba(255, 255, 255, .85); }
.final-c .casilla input { accent-color: #121316; }
.final-c .nota-pedir { color: rgba(255, 255, 255, .78); }
.final-c .nota-pedir a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* Precios: el Pro con su bloque de color */
.plan.pro { background: var(--c-azul); border-color: transparent; }
.plan.pro .btn { background: var(--acento); border-color: var(--acento); color: #fff; }
.plan.pro .btn:hover { background: #2a57c7; }

@media (max-width: 1000px) {
  .escena.escenario { padding: 28px 0 28px 28px; }
  .escenario { padding: 24px; border-radius: 22px; }
  .flujo { gap: 30px; margin-bottom: 90px; }
}
@media (max-width: 760px) {
  .escenario { padding: 14px; border-radius: 18px; }
  .escena.escenario { padding: 16px 0 16px 16px; }
  .oscuro { padding: 80px 0; }
  .final-c { border-radius: 22px; }
}
h1, h2, h3 { text-wrap: balance; }
.portada .ancho { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.portada h1 { font-size: clamp(44px, 5.7vw, 84px); }

/* =============================================================================
   EL LIENZO (Hugo, 22-oct: «que no sea tan cuadrícula y plantilla, más dinámico; que las cosas aparezcan con
   cursores y cajas de selección; el fondo animado, pero muy discreto»). Todo entra como en un panel: un cursor con
   nombre arrastra una caja de selección y el elemento aparece dentro; los titulares se escriben (web.js).
   ============================================================================= */
section { position: relative; }
#fondo { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0; transition: opacity 2s ease; pointer-events: none; }
.con-fondo #fondo { opacity: .62; }
body { background-color: var(--fondo); }

/* Lo que entra: oculto hasta que lo «seleccionan» (solo con JS; sin JS se ve todo) */
html.js [data-entra]:not(.entra), html.js [data-escribe]:not(.entra) { opacity: 0; }
html.js [data-entra], html.js [data-escribe] { transition: opacity .5s ease; }
html.js [data-entra].entra { animation: asentar .5s cubic-bezier(.2, .7, .2, 1); }
@keyframes asentar { from { transform: scale(.985); } }
.escribiendo::after { content: ''; display: inline-block; width: .06em; height: .9em; margin-left: .04em; vertical-align: -.08em; background: var(--acento); animation: parpadea 1s steps(1) infinite; }

/* La capa de cada sección: el cursor que coloca las cosas y su caja de selección */
.coreo { position: absolute; inset: 0; pointer-events: none; z-index: 40; overflow: visible; }
.coreo .sel { position: absolute; left: 0; top: 0; width: 0; height: 0; border: 1.5px solid var(--acento); background: rgba(52, 102, 224, .06); border-radius: 3px; opacity: 0; transition: opacity .3s; }
.coreo .sel.ver { opacity: 1; }
.coreo .sel i { position: absolute; width: 8px; height: 8px; background: #fff; border: 1.5px solid var(--acento); border-radius: 2px; }
.coreo .sel i:nth-child(1) { left: -5px; top: -5px; } .coreo .sel i:nth-child(2) { right: -5px; top: -5px; }
.coreo .sel i:nth-child(3) { left: -5px; bottom: -5px; } .coreo .sel i:nth-child(4) { right: -5px; bottom: -5px; }
.coreo .raton-c { position: absolute; left: 0; top: 0; opacity: 0; transition: opacity .35s; will-change: transform; }
.coreo .raton-c.ver { opacity: 1; }
.coreo .raton-c svg { width: 18px; height: 18px; display: block; fill: var(--acento); stroke: #fff; stroke-width: 1.2; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .25)); transition: transform .12s; }
.coreo .raton-c.pulsa svg { transform: scale(.82); }
.coreo .raton-c span { position: absolute; left: 14px; top: 15px; padding: 2px 7px; border-radius: 5px; font: 500 11px/1.4 'Plex', 'Plex respaldo', sans-serif; color: #fff; background: var(--acento); white-space: nowrap; }
.oscuro .coreo .sel { border-color: #9db7ff; background: rgba(157, 183, 255, .08); } .oscuro .coreo .sel i { border-color: #9db7ff; background: #121316; }
.oscuro .coreo .raton-c svg { fill: #9db7ff; } .oscuro .coreo .raton-c span { background: #9db7ff; color: #121316; }

/* ---- Portada: el titular y, al lado, trozos sueltos que se pueden mover ---- */
.portada { padding: 140px 0 60px; min-height: 92vh; display: flex; align-items: center; }
.portada-g { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.portada h1 { font-size: clamp(46px, 6vw, 88px); }
.suelto { position: relative; height: 540px; touch-action: none; }
.hilos { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.hilos path { fill: none; stroke: #b8b8c0; stroke-width: 1.5; stroke-dasharray: 4 5; }
.frag { position: absolute; user-select: none; -webkit-user-select: none; }
.frag.marco { border-radius: 12px; }
.frag.cogido { z-index: 20; box-shadow: 0 2px 4px rgba(0, 0, 0, .08), 0 24px 40px -18px rgba(0, 0, 0, .35); }
.f-nota1 { left: 2%; top: 4%; width: 170px; background: #ffe7a3; transform: rotate(-3deg); }
.f-nota2 { left: 66%; top: 56%; width: 160px; background: #ffd3c4; transform: rotate(2.5deg); }
.frag.nota { padding: 14px 14px 16px; font-size: 14px; border-radius: 6px; box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 10px 20px -12px rgba(0, 0, 0, .3); }
.f-tarea { left: 46%; top: 2%; display: flex; align-items: center; gap: 12px; padding: 12px 14px; font-size: 14px; min-width: 250px; }
.f-tarea small, .f-archivo small, .f-doc small { display: block; font-size: 12px; color: var(--apagado); }
.f-tarea .av { margin-left: auto; }
.f-doc { left: 6%; top: 36%; width: 260px; padding: 16px 18px; display: grid; gap: 8px; }
.f-doc b { font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; }
.f-doc i { display: block; height: 7px; border-radius: 4px; background: #ececef; } .f-doc i.corta { width: 60%; }
.f-foto { left: 58%; top: 24%; width: 190px; height: 132px; border-radius: 10px; background: #d3e1ff; box-shadow: 0 0 0 5px #fff, 0 12px 24px -12px rgba(0, 0, 0, .3); overflow: hidden; }
.f-foto::before { content: ''; position: absolute; left: 18%; top: 22%; width: 26px; height: 26px; border-radius: 50%; background: #fff3c4; }
.f-foto::after { content: ''; position: absolute; left: -10%; right: -10%; bottom: -30%; height: 75%; background: #9bb3ee; border-radius: 50% 50% 0 0; }
.f-chat { left: 0%; top: 72%; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; font-size: 14px; border-radius: 999px; }
.chat-ic-p { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #121316; color: #fff; }
.chat-ic-p svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.f-archivo { left: 36%; top: 87%; display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; font-size: 14px; }
.suelto .cursor { z-index: 25; }
.suelto .pista { bottom: auto; top: -26px; left: auto; right: 0; transform: none; }
.suelto.tocado .pista { opacity: 0; }


/* ---- Apps: un racimo suelto ---- */
.racimo { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 22px; max-width: 980px; }
.app-p { width: 150px; display: grid; justify-items: center; text-align: center; gap: 4px; padding: 18px 10px 16px; border-radius: 18px; background: rgba(255, 255, 255, .7); border: 1px solid var(--linea); transition: transform .4s cubic-bezier(.2, .7, .2, 1), box-shadow .4s; }
.app-p:nth-child(3n+1) { transform: translateY(14px); } .app-p:nth-child(4n+2) { transform: translateY(-10px); } .app-p:nth-child(5n) { transform: translateY(22px); }
.app-p:hover { transform: translateY(-6px); box-shadow: var(--sombra); }
.app-p .ic-a { width: 46px; height: 46px; border-radius: 13px; margin-bottom: 8px; }
.app-p b { font-weight: 600; font-size: 15px; }
.app-p > span:last-child { font-size: 12.5px; color: var(--suave); }
.app-p.k1 .ic-a { background: var(--c-amarillo); } .app-p.k2 .ic-a { background: var(--c-azul); } .app-p.k3 .ic-a { background: var(--c-verde); } .app-p.k4 .ic-a { background: var(--c-coral); }
.app-p.k5 .ic-a { background: var(--c-lila); } .app-p.k6 .ic-a { background: #d4ecfa; } .app-p.k7 .ic-a { background: #c8efe3; } .app-p.k8 .ic-a { background: #ffd6e8; }
.app-p.k9 .ic-a { background: var(--c-azul); } .app-p.k10 .ic-a { background: #ffe1bf; } .app-p.k11 .ic-a { background: #cfeec0; } .app-p.k12 .ic-a { background: #e4e4e7; }
#apps .cab, #flujos .cab { margin-left: auto; margin-right: auto; text-align: center; }

/* ---- Empresas: el panel ladeado sobre su bloque ---- */
.empresas { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.empresas-t { padding-left: 20px; }

@media (max-width: 1000px) {
  .portada-g { grid-template-columns: 1fr; gap: 30px; }
  .suelto { height: 480px; }
}
@media (max-width: 760px) {
  .suelto { height: 440px; }
  .f-tarea { min-width: 0; left: 30%; } .f-foto { width: 140px; height: 100px; left: 62%; top: 28%; }
  .f-doc { width: 210px; } .f-archivo { left: 32%; } .f-nota2 { left: 54%; top: 60%; }
  .app-p { width: calc(50% - 12px); } .app-p:nth-child(n) { transform: none; }
}
html.js [data-coreo]:not(.coreo-hecho) .hilos { opacity: 0; } .hilos { transition: opacity .8s ease; }
.cab { position: relative; }

/* Varios cursores a la vez: cada uno con su color (y su caja de selección) */
.coreo .sel.c1 { border-color: #2f8f4e; background: rgba(47, 143, 78, .06); } .coreo .sel.c1 i { border-color: #2f8f4e; }
.coreo .sel.c2 { border-color: #d2532c; background: rgba(210, 83, 44, .06); } .coreo .sel.c2 i { border-color: #d2532c; }
.coreo .raton-c.c1 svg { fill: #2f8f4e; } .coreo .raton-c.c1 span { background: #2f8f4e; }
.coreo .raton-c.c2 svg { fill: #d2532c; } .coreo .raton-c.c2 span { background: #d2532c; }

/* ---- Botones con más carácter: relieve, borde inferior y su círculo con flecha ---- */
.btn { height: 46px; padding: 0 20px; border-radius: 12px; font-weight: 600; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 1px 0 #d4d4d8, 0 2px 0 #c9c9cf, 0 8px 16px -10px rgba(0, 0, 0, .25); transition: transform .15s ease, box-shadow .15s ease, background .2s; }
.btn:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 1px 0 #d4d4d8, 0 3px 0 #c9c9cf, 0 12px 20px -10px rgba(0, 0, 0, .28); }
.btn:active { transform: translateY(1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 1px 0 #c9c9cf; }
.btn-p { background: #3466e0; border-color: #2c58c6; color: #fff; padding-right: 8px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 2px 0 #1f43a3, 0 10px 22px -10px rgba(52, 102, 224, .8); }
.btn-p:hover { background: #3a6ef0; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 3px 0 #1f43a3, 0 14px 26px -10px rgba(52, 102, 224, .85); }
.btn-p:active { background: #2f5fd6; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 0 #1f43a3; }
.btn-ic { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: rgba(255, 255, 255, .18); margin-left: 6px; transition: transform .25s cubic-bezier(.2, .7, .2, 1), background .2s; }
.btn-ic svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover .btn-ic { transform: translateX(3px); background: rgba(255, 255, 255, .26); }
.btn-peq { height: 38px; padding: 0 14px; border-radius: 10px; }
.btn-p.btn-peq { padding-right: 14px; }
.final-c .btn-p { background: #121316; border-color: #000; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 2px 0 #000, 0 10px 22px -10px rgba(0, 0, 0, .6); }

/* ---- Apps: cuadrícula de bloques de color grandes ---- */
.rejilla-apps2 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.rejilla-apps2 .app-p { width: auto; transform: none !important; justify-items: start; text-align: left; padding: 22px 22px 24px; min-height: 176px; border: 0; border-radius: 20px; align-content: space-between; grid-template-rows: auto 1fr auto; gap: 6px; position: relative; overflow: hidden; }
.rejilla-apps2 .app-p::after { content: ''; position: absolute; right: -30px; bottom: -30px; width: 120px; height: 120px; border-radius: 50%; background: rgba(255, 255, 255, .28); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.rejilla-apps2 .app-p:hover { transform: translateY(-4px) !important; box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .35); }
.rejilla-apps2 .app-p:hover::after { transform: scale(1.35); }
.rejilla-apps2 .app-p .ic-a { width: 50px; height: 50px; border-radius: 14px; background: rgba(255, 255, 255, .72) !important; margin: 0 0 18px; box-shadow: 0 1px 0 rgba(0, 0, 0, .04); position: relative; z-index: 1; }
.rejilla-apps2 .app-p .ic-a svg { width: 24px; height: 24px; }
.rejilla-apps2 .app-p b { font-size: 21px; font-weight: 600; letter-spacing: -.02em; position: relative; z-index: 1; }
.rejilla-apps2 .app-p > span:last-child { font-size: 14px; color: rgba(24, 24, 27, .7); position: relative; z-index: 1; }
.rejilla-apps2 .k1 { background: var(--c-amarillo); } .rejilla-apps2 .k2 { background: var(--c-azul); } .rejilla-apps2 .k3 { background: var(--c-verde); } .rejilla-apps2 .k4 { background: var(--c-coral); }
.rejilla-apps2 .k5 { background: var(--c-lila); } .rejilla-apps2 .k6 { background: #cfe9f8; } .rejilla-apps2 .k7 { background: #c6eedf; } .rejilla-apps2 .k8 { background: #ffd3e5; }
.rejilla-apps2 .k9 { background: #c9d8ff; } .rejilla-apps2 .k10 { background: #ffdcb5; } .rejilla-apps2 .k11 { background: #d4f0c4; } .rejilla-apps2 .k12 { background: #e2e2e8; }
.rejilla-apps2 .k1, .rejilla-apps2 .k2, .rejilla-apps2 .k5, .rejilla-apps2 .k12 { grid-column: span 2; min-height: 200px; }
.rejilla-apps2 .k1 b, .rejilla-apps2 .k2 b, .rejilla-apps2 .k5 b { font-size: 28px; }
@media (max-width: 1000px) { .rejilla-apps2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .rejilla-apps2 { grid-template-columns: 1fr; } .rejilla-apps2 .k1, .rejilla-apps2 .k2, .rejilla-apps2 .k5, .rejilla-apps2 .k12 { grid-column: auto; } }
.ic-a svg { fill: none; stroke: var(--tinta); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 1000px) { .portada .ancho.portada-g { grid-template-columns: 1fr; } .portada h1 { font-size: clamp(40px, 10vw, 64px); } }

/* =============================================================================
   CRISTAL Y DETALLES (Hugo, 22-oct: «añade glassmorfismo, que el fondo se note más y algo sorprendente que la haga
   mucho más profesional»). El cristal va sobre el fondo de color: blanco translúcido, desenfoque y un filo de luz.
   ============================================================================= */
.con-fondo #fondo { opacity: .95; }
.cristal, .barra.bajado, .frag.marco, .chat, .org, dialog.ventana-d, .plan, .paleta-c, .d-pop, .d-aviso {
  background: rgba(255, 255, 255, .58) !important;
  -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, .75) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 1px 2px rgba(20, 30, 60, .05), 0 24px 50px -28px rgba(20, 30, 80, .35) !important;
}
.barra { border-bottom: 0 !important; }
.barra.bajado { box-shadow: 0 1px 0 rgba(255, 255, 255, .7), 0 10px 30px -20px rgba(20, 30, 80, .3) !important; border: 0 !important; border-bottom: 1px solid rgba(255, 255, 255, .7) !important; }
.chat .chat-msjs .burbuja.ia-r { background: rgba(255, 255, 255, .7); }
.escenario { background: color-mix(in srgb, var(--c) 78%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6); }
.rejilla-apps2 .app-p { background: color-mix(in srgb, var(--fondo-app, #fff) 80%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 18px 36px -26px rgba(20, 30, 80, .4); }
.rejilla-apps2 .k1 { --fondo-app: var(--c-amarillo); } .rejilla-apps2 .k2 { --fondo-app: var(--c-azul); } .rejilla-apps2 .k3 { --fondo-app: var(--c-verde); } .rejilla-apps2 .k4 { --fondo-app: var(--c-coral); }
.rejilla-apps2 .k5 { --fondo-app: var(--c-lila); } .rejilla-apps2 .k6 { --fondo-app: #cfe9f8; } .rejilla-apps2 .k7 { --fondo-app: #c6eedf; } .rejilla-apps2 .k8 { --fondo-app: #ffd3e5; }
.rejilla-apps2 .k9 { --fondo-app: #c9d8ff; } .rejilla-apps2 .k10 { --fondo-app: #ffdcb5; } .rejilla-apps2 .k11 { --fondo-app: #d4f0c4; } .rejilla-apps2 .k12 { --fondo-app: #e2e2e8; }
.oscuro { background: rgba(14, 15, 20, .92); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.oscuro .chat { background: rgba(255, 255, 255, .9) !important; }
.final-c { background: color-mix(in srgb, var(--acento) 88%, transparent); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 40px 80px -40px rgba(52, 102, 224, .7); }
.plan.pro { background: color-mix(in srgb, var(--c-azul) 70%, rgba(255, 255, 255, .5)) !important; }

/* ⌘K: la paleta de comandos (como en la app) */
.k-pista { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px; margin-right: 8px; border-radius: 9px; border: 1px solid rgba(20, 30, 60, .1); background: rgba(255, 255, 255, .5); color: var(--suave); font-size: 13px; cursor: pointer; transition: background .2s, color .2s; }
.k-pista:hover { background: rgba(255, 255, 255, .85); color: var(--tinta); }
.k-pista kbd { font: 500 11.5px/1 var(--mono); padding: 3px 6px; border-radius: 5px; background: rgba(20, 30, 60, .07); }
.paleta { position: fixed; inset: 0; z-index: 100; display: none; align-items: flex-start; justify-content: center; padding-top: 14vh; background: rgba(240, 243, 250, .35); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.paleta.ver { display: flex; animation: entra .25s ease; }
.paleta-c { width: min(620px, calc(100% - 32px)); border-radius: 18px; overflow: hidden; }
.paleta-c input { width: 100%; border: 0; background: transparent; outline: none; padding: 20px 22px; font-size: 18px; border-bottom: 1px solid rgba(20, 30, 60, .08); }
.paleta-l { list-style: none; margin: 0; padding: 8px; max-height: 50vh; overflow: auto; }
.paleta-l li { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 10px; cursor: pointer; font-size: 15px; color: var(--tinta-2); }
.paleta-l li small { margin-left: auto; color: var(--apagado); font-size: 12.5px; }
.paleta-l li .pi { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: rgba(255, 255, 255, .8); box-shadow: 0 0 0 1px rgba(20, 30, 60, .06); }
.paleta-l li .pi svg { width: 16px; height: 16px; fill: none; stroke: var(--tinta); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.paleta-l li.on { background: rgba(52, 102, 224, .1); color: var(--tinta); }
.paleta-pie { display: flex; gap: 16px; padding: 10px 18px; font-size: 12px; color: var(--apagado); border-top: 1px solid rgba(20, 30, 60, .06); }
.paleta-pie kbd { font: 500 11px/1 var(--mono); padding: 2px 5px; border-radius: 4px; background: rgba(20, 30, 60, .07); margin-right: 4px; }

/* Tu cursor, como uno más del equipo */
.mi-cursor { position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none; padding: 2px 8px; border-radius: 6px; font: 500 11.5px/1.5 'Plex', 'Plex respaldo', sans-serif; color: #fff; background: #121316; opacity: 0; transition: opacity .3s; will-change: transform; }
.mi-cursor.ver { opacity: 1; }

/* Móvil: nada se sale por los lados */
html { overflow-x: clip; }
@media (max-width: 760px) { .suelto { overflow: hidden; } .k-pista { display: none; } .barra .btn-peq { padding: 0 12px; } }

/* ---- La página entera como un lienzo ---- */
.puntos-lienzo { position: fixed; inset: 0; z-index: -1; pointer-events: none; background-image: radial-gradient(rgba(30, 40, 80, .13) 1px, transparent 1.3px); background-size: 26px 26px; -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, .35)); mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, .35)); }
/* Las secciones, como marcos del lienzo: su nombre arriba a la izquierda y el título alineado a la izquierda */
#apps .cab, #flujos .cab { text-align: left; margin-left: 0; }
.etq-marco { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 18px; padding: 5px 10px 5px 8px; border-radius: 7px; font: 500 12.5px/1 var(--mono); color: var(--acento); background: rgba(52, 102, 224, .08); border: 1px solid rgba(52, 102, 224, .18); }
.etq-marco svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.oscuro .etq-marco { color: #9db7ff; background: rgba(157, 183, 255, .1); border-color: rgba(157, 183, 255, .25); }
.cab h2 { max-width: 15ch; }
/* Los avatares dentro del titular */
.h-gente { display: inline-flex; vertical-align: middle; margin: 0 .2em .12em 0; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 1px 0 #fff, 0 6px 16px -8px rgba(20, 30, 80, .35); }
.h-gente .av { width: .62em; height: .62em; font-size: .22em; margin-left: -.12em; } .h-gente .av:first-child { margin-left: 0; }
/* (31-oct) Las iniciales, dibujadas: así no son texto del titular (los buscadores leían «Tu trabajo LMI entero»). */
.h-gente .av::before { content: attr(data-l); }

.h-gente .av { width: clamp(30px, 3.4vw, 56px); height: clamp(30px, 3.4vw, 56px); font-size: clamp(11px, 1.1vw, 18px); margin-left: -10px; box-shadow: 0 0 0 3px #fff; }

/* =============================================================================
   LA PILA (Hugo, 22-oct: «destaca que sustituye una pila de herramientas y que todo está conectado, comparando el
   precio de todas las apps por separado con los 8 € de Hugo.bz»). A la izquierda, las herramientas sueltas, cada una
   con su precio y su casilla; a la derecha, Hugo.bz como una red: las mismas cosas, unidas. La suma y el ahorro
   cambian al marcar (web.js).
   ============================================================================= */
.pila .cab { margin-bottom: 56px; }
.pila .cab h2 { max-width: 13ch; }
.pila-g { display: grid; grid-template-columns: minmax(0, 1.3fr) 72px minmax(0, 1fr); gap: 0; align-items: center; }
.pila-izq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.herr { --h: #e4e4e7; position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 12px; row-gap: 10px; align-items: center; padding: 14px 16px 12px 14px; border-radius: 14px; cursor: pointer;
  background: rgba(255, 255, 255, .62); -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%); border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 1px 2px rgba(20, 30, 60, .05), 0 16px 34px -26px rgba(20, 30, 80, .4); transition: opacity .3s, transform .2s, box-shadow .2s; }
.herr::before { content: ''; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0; background: var(--h); filter: saturate(1.6) brightness(.9); }
.herr:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(20, 30, 60, .06), 0 20px 36px -24px rgba(20, 30, 80, .45); }
.herr input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.herr-caja { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid #c4c4cc; background: #fff; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.herr-caja::after { content: ''; width: 9px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; transition: opacity .15s; }
.herr input:checked + .herr-caja { background: var(--acento); border-color: var(--acento); }
.herr input:checked + .herr-caja::after { opacity: 1; }
.herr input:focus-visible + .herr-caja { outline: 2px solid var(--acento); outline-offset: 2px; }
.herr-t { min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.herr-t b { font-weight: 600; font-size: 15.5px; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.herr-t small { font-size: 12.5px; color: var(--suave); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.herr-p { font: 500 15px/1 var(--mono); color: var(--tinta); white-space: nowrap; transition: color .2s; }
.herr-hbz { grid-column: 2 / 4; display: flex; align-items: baseline; gap: 6px; padding-top: 9px; border-top: 1px dashed rgba(20, 30, 60, .12); font-size: 12px; line-height: 1.35; color: var(--tinta-2); }
.herr-hbz::before { content: ''; flex: none; align-self: center; width: 8px; height: 8px; border-radius: 3px; background: var(--h); box-shadow: 0 0 0 1px rgba(20, 30, 60, .12); }
.herr:not(.usa) { opacity: .5; }
.herr:not(.usa) .herr-p { color: var(--apagado); text-decoration: line-through; }
.herr.usa, html:not(.js) .herr { opacity: 1; }
.herr.marcado { box-shadow: inset 0 1px 0 #fff, 0 0 0 2px var(--acento), 0 20px 36px -24px rgba(20, 30, 80, .45); }
.h1 { --h: var(--c-amarillo); } .h2 { --h: var(--c-lila); } .h3 { --h: var(--c-azul); } .h4 { --h: #cfe9f8; }
.h5 { --h: #c6eedf; } .h6 { --h: #ffd3e5; } .h7 { --h: #ffdcb5; } .h8 { --h: #e2e2e8; }
.pila-suma { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 10px; margin: 4px 0 0; padding: 16px 18px; border-radius: 14px; background: color-mix(in srgb, var(--c-coral) 85%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 2px 0 rgba(210, 83, 44, .25); color: #7a2e17; }
.pila-suma b { position: relative; font: 600 clamp(40px, 4.4vw, 56px)/1 'Plex', 'Plex respaldo', sans-serif; letter-spacing: -.04em; color: #18181b; font-variant-numeric: tabular-nums; }
.pila-suma b::after { content: ''; position: absolute; left: -4%; right: -4%; top: 52%; height: 4px; border-radius: 2px; background: var(--t-coral); transform: scaleX(0); transform-origin: left; transition: transform .7s cubic-bezier(.65, 0, .35, 1) .4s; }
.pila.coreo-hecho .pila-suma b::after, html:not(.js) .pila-suma b::after { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) { .pila-suma b::after { transform: scaleX(1); } }
.pila-suma span { font-size: 14.5px; }
.pila-flecha { display: grid; place-items: center; }
.pila-flecha svg { width: 52px; height: 18px; fill: none; stroke: var(--tinta); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Hugo.bz: la tarjeta que se lleva todo */
.hbz-c { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 22px; border-radius: 22px;
  background: rgba(255, 255, 255, .66); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); border: 1px solid rgba(255, 255, 255, .85);
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(52, 102, 224, .12), 0 40px 80px -40px rgba(30, 60, 160, .55); }
.hbz-cab { display: flex; align-items: center; gap: 12px; }
.hbz-cab b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.hbz-cab small { display: block; font-size: 13px; color: var(--suave); }
.hbz-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: #121316; color: #fff; font: 600 13px/1 var(--mono); }
.red { position: relative; width: 100%; max-width: 380px; margin: 0 auto; aspect-ratio: 1; }
.red-l { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.red-l .aro { fill: none; stroke: rgba(20, 30, 60, .16); stroke-width: 1.2; stroke-dasharray: 3 5; }
.red-l .radio { fill: none; stroke: rgba(52, 102, 224, .35); stroke-width: 1.5; transition: opacity .3s; }
.red-l .flujo { fill: none; stroke: var(--acento); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 2 26; animation: fluye 2.4s linear infinite; transition: opacity .3s; }
.red-l .off { opacity: .12; }
@keyframes fluye { to { stroke-dashoffset: -56; } }
html.js .hbz-c:not(.entra) .red-l path { opacity: 0; }
.hbz-c.entra .red-l .radio, .hbz-c.entra .red-l .aro { stroke-dashoffset: 0; animation: trazo 1s cubic-bezier(.6, 0, .3, 1) both; }
@keyframes trazo { from { opacity: 0; } }
.red-c { position: absolute; left: 50%; top: 50%; width: 22%; aspect-ratio: 1; transform: translate(-50%, -50%); display: grid; place-items: center; border-radius: 28%; background: #121316; color: #fff; font: 600 clamp(14px, 1.6vw, 19px)/1 var(--mono); box-shadow: 0 0 0 6px rgba(255, 255, 255, .7), 0 16px 30px -12px rgba(0, 0, 0, .45); z-index: 2; }
.nodo { --x: 50%; --y: 50%; --n: #e4e4e7; position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); z-index: 2; padding: 6px 10px; border-radius: 9px; background: var(--n); font-size: 12.5px; font-weight: 500; color: #18181b; white-space: nowrap; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 0 0 1px rgba(20, 30, 60, .08), 0 8px 16px -10px rgba(20, 30, 80, .4); transition: opacity .3s, transform .25s; }
.nodo.off { opacity: .28; }
.nodo.marcado { transform: translate(-50%, -50%) scale(1.1); box-shadow: 0 0 0 2px var(--acento), 0 10px 20px -10px rgba(20, 30, 80, .5); }
/* En el círculo, cada una en su hueco: los nombres largos arriba y abajo */
.nodo.s0 { --x: 50%; --y: 11%; } .nodo.s1 { --x: 77%; --y: 23%; } .nodo.s2 { --x: 88%; --y: 50%; } .nodo.s3 { --x: 77%; --y: 77%; }
.nodo.s4 { --x: 50%; --y: 89%; } .nodo.s5 { --x: 23%; --y: 77%; } .nodo.s6 { --x: 12%; --y: 50%; } .nodo.s7 { --x: 23%; --y: 23%; }
.nodo[data-k='paneles'] { --n: var(--c-amarillo); } .nodo[data-k='organiza'] { --n: var(--c-lila); } .nodo[data-k='documentos'] { --n: var(--c-azul); } .nodo[data-k='archivos'] { --n: #cfe9f8; }
.nodo[data-k='transferencias'] { --n: #c6eedf; } .nodo[data-k='mensajes'] { --n: #ffd3e5; } .nodo[data-k='formularios'] { --n: #ffdcb5; } .nodo[data-k='linkinbio'] { --n: #e2e2e8; }
.hbz-nota { margin: -4px 0 0; text-align: center; font-size: 13.5px; color: var(--tinta-2); }
.hbz-precio { display: flex; align-items: baseline; gap: 10px; padding: 16px 18px; border-radius: 14px; background: var(--acento); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 2px 0 #1f43a3; }
.hbz-precio b { font: 600 clamp(40px, 4.4vw, 56px)/1 'Plex', 'Plex respaldo', sans-serif; letter-spacing: -.04em; }
.hbz-precio span { font-size: 14.5px; color: rgba(255, 255, 255, .85); }
.hbz-ahorro { margin: 0; font-size: 15px; color: var(--tinta-2); }
.hbz-ahorro b { color: var(--tinta); font-weight: 600; font-variant-numeric: tabular-nums; }
.hbz-c .btn-p { align-self: flex-start; }
.pila-nota { margin: 22px 0 0; max-width: 680px; font-size: 12.5px; color: var(--suave); }

@media (max-width: 1100px) {
  .pila-g { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .pila-flecha { padding: 18px 0; }
  .pila-flecha svg { transform: rotate(90deg); }
  .hbz-c { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: 'cab cab' 'red precio' 'red ahorro' 'red nota' 'red btn'; column-gap: 32px; row-gap: 14px; align-items: start; padding: 26px; }
  .hbz-cab { grid-area: cab; } .red { grid-area: red; max-width: 340px; } .hbz-precio { grid-area: precio; } .hbz-ahorro { grid-area: ahorro; } .hbz-nota { grid-area: nota; text-align: left; margin: 0; } .hbz-c .btn-p { grid-area: btn; }
}
@media (max-width: 680px) {
  .pila .cab { margin-bottom: 36px; }
  .pila-izq { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .hbz-c { display: flex; padding: 18px; border-radius: 18px; }
  .hbz-nota { text-align: center; }
  .hbz-c .btn-p { align-self: stretch; justify-content: space-between; }
  .nodo { font-size: 11.5px; padding: 5px 8px; }
}
@media (max-width: 380px) {
  .nodo { font-size: 10.5px; padding: 4px 7px; }
  .nodo.s2 { --x: 86%; } .nodo.s6 { --x: 14%; }
  .herr { padding: 12px 12px 10px 12px; column-gap: 10px; }
}

/* =============================================================================
   TODAS LAS PANTALLAS (Hugo, 22-oct: «que quede bien en todas las pantallas, que se vea hecha a medida»).
   Márgenes que crecen con la pantalla, el menú se recoge antes de amontonarse, la portada recolocada en el móvil y
   más ancho en pantallas grandes.
   ============================================================================= */
.ancho, .barra-in { width: min(var(--ancho), 100% - 2 * clamp(16px, 4vw, 40px)); }
@media (min-width: 1600px) { :root { --ancho: 1280px; } }
@media (min-width: 2200px) { :root { --ancho: 1440px; } html { font-size: 17px; } }
.barra nav a { white-space: nowrap; }

/* La pila: el titular a la izquierda y la explicación a su lado, abajo */
.pila .cab { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); column-gap: 48px; align-items: end; max-width: none; }
.pila .cab .etq-marco { grid-column: 1 / -1; justify-self: start; }
.pila .cab h2 { max-width: 14ch; margin: 0; }
.pila .cab .lead { margin: 0 0 .4em; max-width: 440px; }
@media (max-width: 1100px) {
  .hbz-c { grid-template-rows: auto auto auto auto 1fr; }
  .hbz-c .btn-p { justify-self: start; align-self: start; }
}
@media (max-width: 760px) {
  .pila .cab { grid-template-columns: minmax(0, 1fr); row-gap: 16px; }
}
@media (max-width: 680px) {
  .hbz-c { align-items: stretch; }
}

/* El menú: recogido en cuanto no cabe en una línea */
@media (max-width: 920px) {
  .barra nav, .barra .solo-ancho, .k-pista { display: none; }
  .menu-btn { display: block; }
  .barra.abierta .barra-in { flex-wrap: wrap; height: auto; padding: 12px 0; }
  .barra.abierta nav { display: flex; flex-direction: column; flex-basis: 100%; order: 5; padding: 8px 0 4px; }
  .barra.abierta nav a { padding: 12px 4px; font-size: 16px; }
  .barra.abierta nav a.solo-movil { display: block; }
  .barra.abierta .menu-btn span { background: transparent; }
  .barra.abierta .menu-btn span::before { transform: translateY(5px) rotate(45deg); } .barra.abierta .menu-btn span::after { transform: translateY(-5px) rotate(-45deg); }
}

/* El correo de la portada, con su altura también en columna */
@media (max-width: 480px) {
  .pedir input { flex: none; height: 50px; font-size: 16px; }
}

/* La portada en el móvil: los trozos en cascada, sin taparse */
@media (max-width: 600px) {
  .suelto { height: 540px; margin-top: 10px; }
  .f-nota1 { left: 0; top: 0; width: 150px; }
  .f-foto { left: auto; right: 6px; top: 3%; width: 132px; height: 94px; }
  .f-tarea { left: 6%; top: 24%; }
  .f-doc { left: 0; top: 41%; width: min(220px, 62%); }
  .f-nota2 { left: auto; right: 4px; top: 49%; width: 138px; }
  .f-chat { left: 2%; top: 71%; }
  .f-archivo { left: auto; right: 4px; top: 85%; }
  .frag.nota { font-size: 13px; padding: 12px 12px 14px; }
}

/* La demo del documento en el móvil: la tabla cabe */
@media (max-width: 600px) {
  .d-papel { margin: 12px 10px 0; padding: 18px 16px; }
  .d-hoja { grid-template-columns: minmax(0, 1fr) 64px; gap: 6px 12px; padding: 10px 12px; }
  .d-filas span { white-space: nowrap; }
}

/* Empresas: en columna cuando no caben las dos */
@media (max-width: 900px) {
  .empresas { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .empresas-t { padding-left: 0; order: -1; }
}

/* Apps en el móvil: dos columnas de bloques más bajos (las grandes, a todo el ancho) */
@media (max-width: 520px) {
  .rejilla-apps2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .rejilla-apps2 .app-p { padding: 16px 16px 18px; min-height: 132px; border-radius: 16px; }
  .rejilla-apps2 .app-p .ic-a { width: 40px; height: 40px; border-radius: 12px; margin-bottom: 10px; }
  .rejilla-apps2 .app-p .ic-a svg { width: 20px; height: 20px; }
  .rejilla-apps2 .app-p b { font-size: 16.5px; }
  .rejilla-apps2 .app-p > span:last-child { font-size: 12.5px; }
  .rejilla-apps2 .k1, .rejilla-apps2 .k2, .rejilla-apps2 .k5, .rejilla-apps2 .k12, .rejilla-apps2 .k13 { grid-column: 1 / -1; min-height: 136px; }
  .rejilla-apps2 .k1 b, .rejilla-apps2 .k2 b, .rejilla-apps2 .k5 b { font-size: 22px; }
}
.hbz-nota, .pila-nota { text-wrap: pretty; }
@media (max-width: 680px) { .hbz-c .btn-p { align-self: stretch; justify-self: stretch; } }

/* =============================================================================
   «CÓMO FUNCIONA» CON LA INTERFAZ FIJA (Hugo, 22-oct: «mira cada sección al milímetro, cambios grandes»).
   En el ordenador, los cuatro pasos bajan por la izquierda y la interfaz de ejemplo se queda fija a la derecha,
   cambiando con el paso que está en el centro (antes: cuatro bloques de ~800 px y la tarjeta tapaba la interfaz).
   Una línea a la izquierda se llena según lo recorrido. En tablet y móvil, cada paso con su interfaz debajo.
   ============================================================================= */
.recorrido { position: relative; }
.est-t { position: relative; }
.est-t h3 { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.12; letter-spacing: -.025em; font-weight: 600; margin: 0; max-width: 16ch; }
.est-t p { color: var(--tinta-2); font-size: 17px; margin: 14px 0 0; max-width: 380px; }
.est-t .paso { display: block; font-size: clamp(48px, 5vw, 76px); font-weight: 600; letter-spacing: -.05em; line-height: 1; margin-bottom: 16px; }
.riel { display: none; }
@media (min-width: 1001px) {
  .recorrido { display: grid; grid-template-columns: minmax(0, 4.4fr) minmax(0, 7.6fr); column-gap: 64px; }
  .estacion { display: contents; }
  .riel { display: block; grid-column: 1; grid-row: 1 / 5; position: relative; justify-self: start; width: 2px; margin: 38vh 0 38vh 9px; border-radius: 2px; background: rgba(20, 30, 60, .1); }
  .riel-l { position: absolute; inset: 0; border-radius: 2px; background: var(--acento); transform-origin: top; transform: scaleY(var(--k, 0)); }
  .estacion .est-t { grid-column: 1; min-height: 78vh; display: flex; flex-direction: column; justify-content: center; padding-left: 48px; opacity: .3; transition: opacity .5s ease; }
  .e1 .est-t { grid-row: 1; } .e2 .est-t { grid-row: 2; } .e3 .est-t { grid-row: 3; } .e4 .est-t { grid-row: 4; }
  .estacion .est-t.activa { opacity: 1; }
  /* El punto de cada paso en la línea */
  .estacion .est-t::before { content: ''; position: absolute; left: 3px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: var(--fondo); box-shadow: 0 0 0 2px rgba(20, 30, 60, .16); transition: background .4s, box-shadow .4s, transform .4s; }
  .estacion .est-t.activa::before { background: var(--acento); box-shadow: 0 0 0 4px rgba(52, 102, 224, .18); transform: scale(1.1); }
  .estacion .escenario { grid-column: 2; grid-row: 1 / 5; align-self: start; position: sticky; top: max(96px, calc(50vh - 280px)); opacity: 0; visibility: hidden; transform: translateY(18px) scale(.985); transition: opacity .45s ease, transform .6s cubic-bezier(.2, .7, .2, 1), visibility 0s linear .6s; }
  .estacion .escenario.activa { opacity: 1; visibility: visible; transform: none; transition: opacity .45s ease, transform .6s cubic-bezier(.2, .7, .2, 1), visibility 0s; }
  /* Las escenas fijas ocupan el sitio de la más alta: el primer y el último paso quedan centrados con ella */
  .flujos .cab { margin-bottom: 0; }
}
@media (max-width: 1000px) {
  .estacion { display: grid; gap: 22px; margin-bottom: 84px; }
  .estacion:last-child { margin-bottom: 0; }
}

/* =============================================================================
   IA: las tareas a la izquierda (tarjetas grandes que se pulsan; si nadie toca, van solas con su barra) y el chat
   a la derecha, con el modelo en su cabecera y los mensajes desde abajo, como un chat de verdad (antes: un hueco
   vacío, sugerencias repetidas y el modelo suelto fuera).
   ============================================================================= */
.ia { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.ia-acc { display: grid; gap: 10px; margin-top: 28px; }
.acc { position: relative; overflow: hidden; display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 14px; width: 100%; padding: 14px 16px 14px 14px; border-radius: 14px; text-align: left; cursor: pointer; color: #f4f4f5; font: inherit;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09); transition: background .25s, border-color .25s, transform .2s; }
.acc:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); }
.acc:disabled { cursor: default; }
.acc.on { background: rgba(255, 255, 255, .1); border-color: rgba(157, 183, 255, .45); }
.acc:focus-visible { outline: 2px solid #9db7ff; outline-offset: 2px; }
.acc-ic { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; }
.acc-ic svg { width: 20px; height: 20px; fill: none; stroke: #18181b; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.k-amarillo { background: var(--c-amarillo); } .k-lila { background: var(--c-lila); } .k-azul { background: var(--c-azul); }
.acc-t { min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.acc-t b { font-weight: 600; font-size: 15.5px; letter-spacing: -.01em; }
.acc-t small { font-size: 13px; color: #a1a1aa; margin-top: 2px; }
.acc-app { font: 500 11.5px/1 var(--mono); color: #9db7ff; padding: 5px 8px; border-radius: 6px; background: rgba(157, 183, 255, .1); white-space: nowrap; }
.acc-barra { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: #9db7ff; transform-origin: left; transform: scaleX(0); opacity: 0; }
.acc.on.sola .acc-barra { opacity: 1; animation: barra-acc 8s linear forwards; }
@keyframes barra-acc { from { transform: scaleX(0); } to { transform: scaleX(1); } }
/* El chat: blanco, el modelo en la cabecera y los mensajes empiezan abajo */
.oscuro .chat { background: rgba(255, 255, 255, .97) !important; height: 500px; }
.chat-cab { gap: 12px; flex-wrap: wrap; padding: 12px 14px 12px 16px; }
.chat-cab .modelos { margin: 0 0 0 auto; gap: 4px; padding: 3px; border-radius: 10px; background: #f1f1f3; }
.oscuro .chat .modelo { border: 0; background: transparent; color: var(--suave); padding: 5px 10px; font-size: 12.5px; border-radius: 7px; }
.oscuro .chat .modelo:hover { color: var(--tinta); }
.oscuro .chat .modelo.on { background: #fff; color: var(--tinta); box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 0 0 1px rgba(0, 0, 0, .04); }
.chat-msjs > :first-child { margin-top: auto; }
.chat .chat-msjs .burbuja.ia-r { background: #f4f4f6; border-color: transparent; }
.chat .burbuja.yo { background: var(--acento); color: #fff; }
.chat-in { background: #fafafa; }
@media (max-width: 1000px) {
  .ia { grid-template-columns: minmax(0, 1fr); gap: 36px; }
}
@media (max-width: 560px) {
  .acc { grid-template-columns: 38px minmax(0, 1fr); padding: 12px; }
  .acc-ic { width: 38px; height: 38px; }
  .acc-app { display: none; }
  .chat-cab .modelos { margin: 0; width: 100%; justify-content: space-between; }
  .oscuro .chat .modelo { flex: 1; padding: 6px 4px; }
  .oscuro .chat { height: 470px; }
}

/* La barra: marca la sección en la que estás y se pone oscura sobre la sección oscura */
.barra nav a { position: relative; }
.barra nav a.aqui { color: var(--tinta); }
.barra nav a.aqui::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--acento); }
.barra.sobre-oscuro.bajado { background: rgba(18, 19, 22, .72) !important; border-bottom-color: rgba(255, 255, 255, .08) !important; box-shadow: none !important; }
.barra.sobre-oscuro .marca { color: #fff; }
.barra.sobre-oscuro nav a, .barra.sobre-oscuro .enlace { color: #a1a1aa; }
.barra.sobre-oscuro nav a:hover, .barra.sobre-oscuro .enlace:hover, .barra.sobre-oscuro nav a.aqui { color: #fff; }
.barra.sobre-oscuro nav a.aqui::after { background: #9db7ff; }
.barra.sobre-oscuro .k-pista { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); color: #a1a1aa; }
.barra.sobre-oscuro .menu-btn span, .barra.sobre-oscuro .menu-btn span::before, .barra.sobre-oscuro .menu-btn span::after { background: #fff; }
.barra { transition: background-color .3s, border-color .3s; }

/* =============================================================================
   APPS: las grandes enseñan un trocito de la app (antes solo el nombre)
   ============================================================================= */
#apps .cab { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); column-gap: 48px; align-items: end; max-width: none; margin-bottom: 56px; }
#apps .cab .etq-marco { grid-column: 1 / -1; justify-self: start; }
#apps .cab h2 { margin: 0; }
#apps .cab .lead { margin: 0 0 .4em; max-width: 440px; }
.rejilla-apps2 .k1, .rejilla-apps2 .k2, .rejilla-apps2 .k5, .rejilla-apps2 .k12, .rejilla-apps2 .k13 { padding-right: 46%; }
.rejilla-apps2 .k1::after, .rejilla-apps2 .k2::after, .rejilla-apps2 .k5::after, .rejilla-apps2 .k12::after, .rejilla-apps2 .k13::after { display: none; }
.mini { position: absolute; right: 18px; top: 18px; bottom: 18px; width: 42%; z-index: 1; border-radius: 12px; background: rgba(255, 255, 255, .55); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 10px 24px -16px rgba(20, 30, 60, .35); overflow: hidden; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.app-p:hover .mini { transform: translateY(-3px) rotate(-.6deg); }
.mini i, .mini b, .mini em, .mini small { font-style: normal; }
/* Paneles: notas y un hilo */
.m-panel { background-image: radial-gradient(rgba(20, 30, 60, .14) 1px, transparent 1.2px); background-size: 12px 12px; }
.m-panel i { position: absolute; padding: 8px 10px 14px; font-size: 11px; font-weight: 500; border-radius: 4px; box-shadow: 0 6px 12px -8px rgba(0, 0, 0, .35); }
.m-panel .mp1 { left: 10%; top: 14%; background: #fff3c4; transform: rotate(-4deg); }
.m-panel .mp2 { left: 56%; top: 46%; background: #ffd3c4; transform: rotate(3deg); }
.m-panel .mp3 { left: 18%; top: 62%; background: #d3e1ff; transform: rotate(-2deg); }
.m-panel svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: rgba(20, 30, 60, .35); stroke-width: .8; stroke-dasharray: 2 2; }
/* Documentos: una hoja con una frase marcada y alguien escribiendo */
.m-doc { padding: 16px 18px; display: flex; flex-direction: column; gap: 7px; background: rgba(255, 255, 255, .85); }
.m-doc b { font-size: 12.5px; font-weight: 600; margin-bottom: 2px; }
.m-doc i { display: block; height: 6px; border-radius: 3px; background: #e4e4e9; }
.m-doc i.sel { background: #fde68a; width: 80%; }
.m-doc i.corta { width: 55%; }
.m-doc em { position: absolute; right: 14px; bottom: 14px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-weight: 600; background: #d3e1ff; color: #2f5fd6; box-shadow: 0 0 0 2px #fff; }
/* Organiza: un tablero */
.m-org { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 12px; }
.m-org > span { display: flex; flex-direction: column; gap: 5px; padding: 6px; border-radius: 7px; background: rgba(255, 255, 255, .6); }
.m-org small { font-size: 9.5px; color: var(--suave); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-org i { display: block; height: 22px; border-radius: 5px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.m-org i.az { box-shadow: inset 3px 0 0 #6a4fd6, 0 1px 2px rgba(0, 0, 0, .08); }
.m-org i.ok { opacity: .55; }
/* Link in bio: un móvil con sus botones */
.m-bio { width: 30%; right: 9%; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 10px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .6), 0 12px 24px -14px rgba(20, 30, 60, .4); }
.m-bio em { width: 26px; height: 26px; border-radius: 50%; background: #d4d4d8; }
.m-bio b { width: 50%; height: 6px; border-radius: 3px; background: #a1a1aa; margin-bottom: 4px; }
.m-bio i { width: 100%; height: 16px; border-radius: 8px; background: #f1f1f3; box-shadow: inset 0 0 0 1px #e4e4e7; }
@media (max-width: 760px) {
  #apps .cab { grid-template-columns: minmax(0, 1fr); row-gap: 16px; margin-bottom: 36px; }
}
@media (max-width: 520px) {
  .rejilla-apps2 .k1, .rejilla-apps2 .k2, .rejilla-apps2 .k5, .rejilla-apps2 .k12, .rejilla-apps2 .k13 { padding-right: 44%; }
  .mini { right: 12px; top: 12px; bottom: 12px; }
  .m-bio { right: 7%; }
}

/* Empresas: cuatro bloques con icono en vez de una lista con guiones */
.empresas-t .lead { margin: 16px 0 0; max-width: 460px; }
.emp-f { list-style: none; margin: 28px 0 30px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.emp-f li { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 12px; row-gap: 2px; align-items: start; padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, .55); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .8); box-shadow: inset 0 1px 0 #fff, 0 12px 26px -22px rgba(20, 30, 80, .4); }
.emp-ic { grid-row: 1 / 3; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--c-lila); }
.emp-ic svg { width: 18px; height: 18px; fill: none; stroke: #18181b; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.emp-f b { font-weight: 600; font-size: 15px; letter-spacing: -.01em; }
.emp-f span:not(.emp-ic) { font-size: 13.5px; line-height: 1.45; color: var(--suave); }
@media (max-width: 480px) { .emp-f { grid-template-columns: minmax(0, 1fr); } }

/* El cierre: debajo del correo, los tres planes de un vistazo */
.final-planes { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 34px; }
.final-planes a { display: flex; flex-direction: column; align-items: flex-start; min-width: 170px; padding: 12px 16px; border-radius: 12px; text-align: left; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); color: #fff; transition: background .2s, transform .2s; }
.final-planes a:hover { background: rgba(255, 255, 255, .2); transform: translateY(-2px); }
.final-planes a.pro { background: #fff; color: var(--tinta); border-color: #fff; box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .5); }
.final-planes b { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.final-planes span { font-size: 13px; opacity: .78; }

/* El pie: la marca y tres columnas de enlaces */
.pie { padding: 56px 0 28px; }
.pie-g { display: grid !important; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px; align-items: start !important; }
.pie-marca p { margin: 12px 0 0; color: var(--suave); font-size: 14px; max-width: 260px; }
.pie-marca .marca { color: var(--tinta); }
.pie-col { display: flex !important; flex-direction: column; gap: 9px !important; }
.pie-col b { color: var(--tinta); font-weight: 600; font-size: 13.5px; margin-bottom: 4px; }
.pie-col a { color: var(--suave); }
.pie-fin { display: flex !important; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--linea); font-size: 12.5px; color: var(--apagado); }
@media (max-width: 760px) {
  .pie-g { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pie-marca { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
  .pie-g { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .final-planes a { min-width: 0; flex: 1 1 140px; }
}

/* Portada: lo que sustituye, que lleva a «la pila» */
.sustituye { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; margin-top: 34px; padding: 10px 12px 10px 14px; border-radius: 14px; font-size: 13.5px; color: var(--suave); background: rgba(255, 255, 255, .5); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .8); box-shadow: inset 0 1px 0 #fff, 0 12px 28px -22px rgba(20, 30, 80, .45); transition: transform .2s, box-shadow .2s; }
.sustituye:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 #fff, 0 16px 30px -20px rgba(20, 30, 80, .5); }
.sus-l { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.sus-l s, .sus-l em { font-style: normal; text-decoration: none; position: relative; padding: 3px 8px; border-radius: 6px; background: rgba(20, 30, 60, .06); color: var(--tinta-2); font-weight: 500; }
.sus-l s::after { content: ''; position: absolute; left: 5px; right: 5px; top: 50%; height: 1.5px; background: var(--t-coral); transform: scaleX(0); transform-origin: left; transition: transform .5s cubic-bezier(.65, 0, .35, 1); }
.sustituye.entra .sus-l s::after, html:not(.js) .sus-l s::after { transform: scaleX(1); }
.sustituye.entra .sus-l s:nth-child(2)::after { transition-delay: .12s; } .sustituye.entra .sus-l s:nth-child(3)::after { transition-delay: .24s; } .sustituye.entra .sus-l s:nth-child(4)::after { transition-delay: .36s; }
.sus-ir { display: inline-flex; align-items: center; gap: 5px; color: var(--acento); font-weight: 500; }
.sus-ir svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.sustituye:hover .sus-ir svg { transform: translateY(2px); }
@media (prefers-reduced-motion: reduce) { .sus-l s::after { transform: scaleX(1); } }
.rejilla-apps2 .app-p .mini b { font-size: 12.5px; letter-spacing: 0; z-index: auto; }
.rejilla-apps2 .app-p .m-bio b { font-size: 0; }
@media (max-width: 560px) {
  .oscuro .chat { height: 420px; }
  .m-org small { display: none; }
  .final-planes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .final-planes a { min-width: 0; padding: 10px 10px; }
  .final-planes b { font-size: 13.5px; }
  .final-planes span { font-size: 11.5px; }
}

/* =============================================================================
   EL LOGO (22-oct-2026, de Illustrator): el icono y «hugo.bz»; en negro sobre claro y en blanco sobre oscuro.
   ============================================================================= */
.marca { gap: 0; }
.marca-logo { display: block; height: 22px; width: auto; }
.marca-blanca { display: none; }
.barra.sobre-oscuro .marca-logo { display: none; }
.barra.sobre-oscuro .marca-blanca { display: block; }
.pie .marca-logo { height: 24px; }
.hbz-ic img { width: 58%; height: auto; display: block; }
.red-c img { width: 52%; height: auto; display: block; }
@media (max-width: 480px) { .marca-logo { height: 20px; } }

/* (26-oct-2026) Los iconos de las apps, los mismos que en la app («todo cristal»): la caja no pinta nada, el icono la llena. */
.ic-a.ic-app { background: none !important; box-shadow: none !important; }
.ic-a.ic-app img { width: 100%; height: 100%; display: block; border-radius: 27%; }
.rejilla-apps2 .app-p .ic-a.ic-app { box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .35) !important; border-radius: 27%; }
/* Reuniones (13.ª app): ancha, con una videollamada pequeña */
.rejilla-apps2 .k13 { --fondo-app: #cfe9ff; background: #cfe9ff; grid-column: span 4; min-height: 200px; }
.rejilla-apps2 .k13 b { font-size: 28px; }
@media (max-width: 1000px) { .rejilla-apps2 .k13 { grid-column: span 2; } }

.m-reu { width: 36%; background: #12141a; padding: 10px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: 1fr auto; gap: 7px; align-items: center; }
.m-reu i { position: relative; aspect-ratio: 4 / 3; border-radius: 8px; background: #262b36; outline: 2px solid transparent; }
.m-reu i.habla { outline-color: #2fb36d; }
.m-reu i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 36%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); background: #f59f00; }
.m-reu i.r2::after { background: #4dabf7; } .m-reu i.r3::after { background: #e64980; }
.m-reu em { grid-column: 1 / -1; display: flex; justify-content: center; gap: 7px; }
.m-reu u { width: 18px; height: 18px; border-radius: 50%; background: #2c313b; text-decoration: none; }
.m-reu u.rojo { background: #e5484d; }
@media (max-width: 640px) { .m-reu { width: 40%; padding: 8px; gap: 5px; } .m-reu u { width: 12px; height: 12px; } }

/* (26-oct-2026) El fondo de cada tarjeta, del color de su icono nuevo en pastel (el color del icono mezclado con blanco al 76 %). Reuniones (k13) se queda con el suyo. */
.rejilla-apps2 .k1 { --fondo-app: #ffedca; background: #ffedca; }   /* paneles */
.rejilla-apps2 .k2 { --fondo-app: #d5e3ff; background: #d5e3ff; }   /* documentos */
.rejilla-apps2 .k3 { --fondo-app: #cdf4df; background: #cdf4df; }   /* hojas */
.rejilla-apps2 .k4 { --fondo-app: #ffe3d0; background: #ffe3d0; }   /* presentaciones */
.rejilla-apps2 .k5 { --fondo-app: #e7dfff; background: #e7dfff; }   /* organiza */
.rejilla-apps2 .k6 { --fondo-app: #fff5d2; background: #fff5d2; }   /* archivos */
.rejilla-apps2 .k7 { --fondo-app: #ffdbe9; background: #ffdbe9; }   /* transferencias */
.rejilla-apps2 .k8 { --fondo-app: #cdf4ee; background: #cdf4ee; }   /* mensajes */
.rejilla-apps2 .k9 { --fondo-app: #eddbff; background: #eddbff; }   /* chat-ia */
.rejilla-apps2 .k10 { --fondo-app: #ffdada; background: #ffdada; }   /* formularios */
.rejilla-apps2 .k11 { --fondo-app: #d0f2ff; background: #d0f2ff; }   /* publico */
.rejilla-apps2 .k12 { --fondo-app: #eef9d0; background: #eef9d0; }   /* linkinbio */

/* ---- (081) La casilla de «también ofertas» (apagada) y la página de la invitación ---- */
.casilla { display: flex; align-items: flex-start; gap: 8px; margin: 12px 0 0; font-size: 13.5px; color: var(--suave); cursor: pointer; max-width: 440px; text-align: left; }
.casilla input { margin: 2px 0 0; accent-color: var(--acento); flex: none; }
.d-in .casilla { margin: 0 0 14px; }
.final-c .casilla { align-self: center; }
.nota-pedir a { color: var(--acento); }
.invitacion { padding: 140px 16px 80px; }
.inv-c { max-width: 460px; margin: 0 auto; }
.inv-c h1 { font-size: clamp(30px, 5vw, 40px); line-height: 1.1; }
.inv-c .lead { margin: 14px 0 28px; }
.inv-c .btn { width: 100%; margin-top: 16px; }
.inv-c .casilla { margin: 4px 0 6px; }
.opc { font-weight: 400; color: var(--apagado); }
