/* /para-empresas/: página de venta. Abre con lo que distingue al portal y deja lo cotidiano al final. Usa las variables
   de color del sitio, así respeta también la paleta del portal de empresas. Sin JavaScript o con «reducir movimiento»
   cada panel muestra su estado final. Las cifras y los nombres de los paneles son ilustración y van rotulados. */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fuentes/bricolage-grotesque-latin-ext-wght-normal.b1ae2c312cfb.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fuentes/bricolage-grotesque-latin-wght-normal.ada540c0e24a.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 100 1000;
  src: url("../fuentes/dm-sans-latin-ext-wght-normal.0d3827bfcb02.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 100 1000;
  src: url("../fuentes/dm-sans-latin-wght-normal.3ccd9ab2050b.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
.ve { font-family: "DM Sans", var(--fuente); overflow-x: clip; --ve-titulos: "Bricolage Grotesque", var(--fuente-titulos); --ve-mono: ui-monospace, "Cascadia Mono", "SFMono-Regular", Menlo, Consolas, monospace; }
.ve h1, .ve h2, .ve-tarjetas strong { font-family: var(--ve-titulos); text-wrap: balance; }
/* Una idea por título: el color y un trazo de plumón, hecho a mano, la separan del resto. El trazo es una imagen
   de fondo (no un subrayado del navegador) para que sea orgánico; con box-decoration-break cada línea lleva el suyo. */
.ve-realce, .ve-rota { background: no-repeat 0 100% / 100% 0.36em; padding-bottom: 0.06em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.ve-realce { color: var(--azul); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 24' preserveAspectRatio='none'%3E%3Cpath fill='%23005da9' d='M3 15.6C22 12.9 52 11.7 92 11.3C135 10.9 178 9.7 236 7.5C238.6 7.4 239.5 9.7 237.7 11C233 14 214 13.7 188 14.7C146 16.2 98 16.7 58 17.7C34 18.3 16 19.5 6 19.7C2.2 19.8.9 16.3 3 15.6Z'/%3E%3Cpath fill='none' stroke='%23005da9' stroke-linecap='round' stroke-width='1.4' stroke-opacity='.55' d='M14 20.6C58 19 122 18.1 204 15.7'/%3E%3Cpath fill='none' stroke='%23005da9' stroke-linecap='round' stroke-width='1.1' stroke-opacity='.45' d='M30 10.6C84 9.6 146 9 222 6.3'/%3E%3C/svg%3E"); }
.ve-oscuro .ve-realce { color: var(--celeste); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 24' preserveAspectRatio='none'%3E%3Cpath fill='%238cc8ff' d='M3 15.6C22 12.9 52 11.7 92 11.3C135 10.9 178 9.7 236 7.5C238.6 7.4 239.5 9.7 237.7 11C233 14 214 13.7 188 14.7C146 16.2 98 16.7 58 17.7C34 18.3 16 19.5 6 19.7C2.2 19.8.9 16.3 3 15.6Z'/%3E%3Cpath fill='none' stroke='%238cc8ff' stroke-linecap='round' stroke-width='1.4' stroke-opacity='.55' d='M14 20.6C58 19 122 18.1 204 15.7'/%3E%3Cpath fill='none' stroke='%238cc8ff' stroke-linecap='round' stroke-width='1.1' stroke-opacity='.45' d='M30 10.6C84 9.6 146 9 222 6.3'/%3E%3C/svg%3E"); }
body.portal-empresas .ve-realce { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 24' preserveAspectRatio='none'%3E%3Cpath fill='%231868db' d='M3 15.6C22 12.9 52 11.7 92 11.3C135 10.9 178 9.7 236 7.5C238.6 7.4 239.5 9.7 237.7 11C233 14 214 13.7 188 14.7C146 16.2 98 16.7 58 17.7C34 18.3 16 19.5 6 19.7C2.2 19.8.9 16.3 3 15.6Z'/%3E%3Cpath fill='none' stroke='%231868db' stroke-linecap='round' stroke-width='1.4' stroke-opacity='.55' d='M14 20.6C58 19 122 18.1 204 15.7'/%3E%3Cpath fill='none' stroke='%231868db' stroke-linecap='round' stroke-width='1.1' stroke-opacity='.45' d='M30 10.6C84 9.6 146 9 222 6.3'/%3E%3C/svg%3E"); }
body.portal-empresas .ve-oscuro .ve-realce { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 24' preserveAspectRatio='none'%3E%3Cpath fill='%237fb0f5' d='M3 15.6C22 12.9 52 11.7 92 11.3C135 10.9 178 9.7 236 7.5C238.6 7.4 239.5 9.7 237.7 11C233 14 214 13.7 188 14.7C146 16.2 98 16.7 58 17.7C34 18.3 16 19.5 6 19.7C2.2 19.8.9 16.3 3 15.6Z'/%3E%3Cpath fill='none' stroke='%237fb0f5' stroke-linecap='round' stroke-width='1.4' stroke-opacity='.55' d='M14 20.6C58 19 122 18.1 204 15.7'/%3E%3Cpath fill='none' stroke='%237fb0f5' stroke-linecap='round' stroke-width='1.1' stroke-opacity='.45' d='M30 10.6C84 9.6 146 9 222 6.3'/%3E%3C/svg%3E"); }
.ve section { scroll-margin-top: 92px; }

/* Minimapa de secciones: una columna fija de rayas al borde derecho, una por tramo de página. Las de inicio de sección
   son más largas, las del tramo a la vista van en azul y las cercanas al cursor crecen (para_empresas.js). Sólo con
   mouse y con ancho de sobra para no tapar el contenido; es un atajo decorativo: el índice de arriba sigue estando. */
.ve-minimapa { display: none; }
@media (min-width: 1320px) and (min-height: 560px) and (hover: hover) and (pointer: fine) {
  .ve-minimapa.listo { display: block; position: fixed; z-index: 15; top: 50%; right: 8px; width: 40px; height: min(420px, 60vh); transform: translateY(-50%); border: 1px solid var(--linea); border-radius: 12px; background: rgba(255, 255, 255, 0.9); box-shadow: 0 4px 14px rgba(5, 20, 50, 0.1); cursor: pointer; touch-action: none; -webkit-user-select: none; user-select: none; }
  .ve-minimapa i { position: absolute; right: 9px; width: 11px; height: 2px; border-radius: 2px; background: #b9c4d2; transform-origin: right center; transition: transform 0.12s ease-out, background-color 0.15s ease; pointer-events: none; }
  .ve-minimapa i.inicio { width: 18px; background: var(--tinta-2); }
  .ve-minimapa i.vista { background: var(--azul-vivo); }
  .ve-minimapa-rotulo { position: absolute; right: 48px; padding: 5px 10px; border-radius: 8px; background: var(--tinta); color: #fff; font-size: 13px; font-weight: 600; line-height: 1.3; white-space: nowrap; transform: translateY(-50%); pointer-events: none; }
}
@media (prefers-reduced-motion: reduce) { .ve-minimapa i { transition: none; } }
@media print { .ve-minimapa { display: none !important; } }
.ve .ve-indice { scroll-margin-top: 92px; }
.ve-oscuro { position: relative; color: #fff; background: radial-gradient(900px 520px at 78% 22%, rgba(127, 176, 245, 0.3), transparent 70%), radial-gradient(760px 420px at 6% 96%, rgba(24, 104, 219, 0.34), transparent 70%), var(--marino-profundo); }
.ve-oscuro :focus-visible { outline-color: #fff; }

/* Portada: el mapa de Chile buscando perfiles */
.ve-hero { margin-top: -1px; overflow: hidden; }
.ve-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 90%); mask-image: linear-gradient(180deg, #000, transparent 90%); }
.ve-hero .ve-hero-grilla { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 48px; align-items: center; padding-top: 96px; padding-bottom: 96px; }
.ve-hero-texto { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; min-width: 0; }
.ve-pastilla { padding: 6px 14px; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 999px; background: rgba(255, 255, 255, 0.08); color: var(--celeste-claro); font-size: 14px; font-weight: 600; }
.ve-hero h1, .ve-hero p { text-shadow: 0 2px 26px rgba(5, 20, 50, 0.6); }
.ve-hero h1 { color: #fff; font-size: 68px; font-weight: 700; line-height: 1.04; letter-spacing: -0.045em; }
.ve-hero p { max-width: 50ch; color: var(--texto-sobre-marino); font-size: 20px; line-height: 1.5; }
.ve-acciones { display: flex; flex-wrap: wrap; gap: 12px; }
.ve-palabra { display: inline-block; }
.ve-sinsalto { display: block; white-space: nowrap; }
/* El cargo que rota: al entrar, el plumón vuelve a trazar su línea de izquierda a derecha. */
.ve-rota { display: inline-block; color: var(--celeste); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 24' preserveAspectRatio='none'%3E%3Cpath fill='%238cc8ff' d='M3 15.6C22 12.9 52 11.7 92 11.3C135 10.9 178 9.7 236 7.5C238.6 7.4 239.5 9.7 237.7 11C233 14 214 13.7 188 14.7C146 16.2 98 16.7 58 17.7C34 18.3 16 19.5 6 19.7C2.2 19.8.9 16.3 3 15.6Z'/%3E%3Cpath fill='none' stroke='%238cc8ff' stroke-linecap='round' stroke-width='1.4' stroke-opacity='.55' d='M14 20.6C58 19 122 18.1 204 15.7'/%3E%3Cpath fill='none' stroke='%238cc8ff' stroke-linecap='round' stroke-width='1.1' stroke-opacity='.45' d='M30 10.6C84 9.6 146 9 222 6.3'/%3E%3C/svg%3E"); background-size: 100% 0.42em; transition: opacity 0.25s ease, transform 0.25s ease, background-size 0.5s cubic-bezier(0.3, 0.7, 0.25, 1) 0.08s; }
body.portal-empresas .ve-rota { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 24' preserveAspectRatio='none'%3E%3Cpath fill='%237fb0f5' d='M3 15.6C22 12.9 52 11.7 92 11.3C135 10.9 178 9.7 236 7.5C238.6 7.4 239.5 9.7 237.7 11C233 14 214 13.7 188 14.7C146 16.2 98 16.7 58 17.7C34 18.3 16 19.5 6 19.7C2.2 19.8.9 16.3 3 15.6Z'/%3E%3Cpath fill='none' stroke='%237fb0f5' stroke-linecap='round' stroke-width='1.4' stroke-opacity='.55' d='M14 20.6C58 19 122 18.1 204 15.7'/%3E%3Cpath fill='none' stroke='%237fb0f5' stroke-linecap='round' stroke-width='1.1' stroke-opacity='.45' d='M30 10.6C84 9.6 146 9 222 6.3'/%3E%3C/svg%3E"); }
.ve-rota.saliendo { opacity: 0; transform: translateY(14px); background-size: 0% 0.42em; transition: opacity 0.25s ease, transform 0.25s ease, background-size 0s; }
.ve-nota { padding: 4px 12px; border-radius: 999px; background: var(--celeste-claro); color: var(--marino); font-size: 13px; font-weight: 700; }

/* Chile de fondo, desvanecido hacia el azul, detrás del título. Sin movimiento se ve completo; con movimiento, la
   capa crece y la cámara baja de norte a sur. */
.ve-radar { position: absolute; inset: 0 -14% 0 14%; overflow: hidden; pointer-events: none; opacity: 0.6; -webkit-mask-image: radial-gradient(ellipse 62% 78% at 50% 50%, #000 42%, transparent 100%); mask-image: radial-gradient(ellipse 62% 78% at 50% 50%, #000 42%, transparent 100%); }
.ve-capa { position: absolute; left: 0; right: 0; top: 0; height: 100%; }
/* El plano no se ve mientras llega el 3D, para que no haya salto. Se muestra si el 3D no se puede usar (.plano); sin
   JavaScript aparece solo a los pocos segundos. */
.ve-capa svg { display: block; width: 100%; height: 100%; overflow: visible; opacity: 0; animation: ve-plano-entra 0.5s ease 4s forwards; }
.ve-radar.esperando-3d .ve-capa svg { animation: none; }
.ve-radar.plano .ve-capa svg { opacity: 1; animation: none; }
.ve-region { fill: rgba(255, 255, 255, 0.2); stroke: rgba(255, 255, 255, 0.42); stroke-width: 1; vector-effect: non-scaling-stroke; }
.ve-ciudad { fill: rgba(255, 255, 255, 0.85); transition: fill 0.4s ease; }
.ve-ciudad.encendida { fill: var(--celeste); }
/* Con 3D el plano se apaga y el lienzo aparece encima, con más presencia. */
.ve-lienzo { position: absolute; inset: 0; width: 100%; height: 100%; }
.ve-radar.con-3d { opacity: 0.82; }
.ve-radar.con-3d .ve-capa { display: none; }
.ve-baliza { position: absolute; left: 0; top: 0; width: 0; height: 0; }
.ve-baliza::before, .ve-baliza::after { content: ""; position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 14px 3px var(--celeste); }
.ve-baliza::after { background: none; border: 2px solid #fff; box-shadow: none; box-sizing: border-box; animation: ve-pulso 1.6s ease-out infinite; }

/* Cinta de funciones */
.ve-cinta { overflow: hidden; background: var(--azul); color: #fff; }
.ve-cinta-riel { display: flex; width: max-content; }
.ve-cinta span { padding: 14px 26px; font-family: var(--fuente-titulos); font-size: 17px; font-weight: 700; white-space: nowrap; }
.ve .ve-indice { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding-top: 28px; padding-bottom: 28px; }
.ve-indice a { padding: 8px 15px; border: 1px solid var(--linea); border-radius: 999px; background: var(--superficie); color: var(--marino); font-size: 14px; font-weight: 600; text-decoration: none; transition: border-color var(--suave), color var(--suave); }
@media (hover: hover) { .ve-indice a:hover { border-color: var(--azul); color: var(--azul); } }

/* Capítulos */
.ve-cap { padding: 104px 0; }
.ve-cap-bruma { background: var(--bruma); }
.ve-cap-cabeza { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; max-width: 900px; margin-bottom: 48px; }
.ve-rotulo { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--tinta-2); font-size: 15px; font-weight: 500; }
.ve-rotulo b { color: var(--tenue); font-family: var(--ve-mono); font-size: 14px; font-weight: 400; }
.ve-oscuro .ve-rotulo { color: var(--celeste-claro); }
.ve-oscuro .ve-rotulo b { color: var(--texto-sobre-marino); }
.ve-cap-cabeza h2 { position: relative; color: var(--tinta); font-size: 56px; font-weight: 700; line-height: 1.08; letter-spacing: -0.03em; }
.ve-oscuro .ve-cap-cabeza h2 { color: #fff; }
.ve-cap-cabeza p { position: relative; max-width: 58ch; color: var(--tenue); font-size: 19px; line-height: 1.6; }
.ve-oscuro .ve-cap-cabeza p { color: var(--texto-sobre-marino); }
/* Los asistentes con su marca: ChatGPT en el color del texto y Claude en el suyo. */
.ve-logo { flex: none; width: 22px; height: 22px; fill: currentColor; }
.ve-logo-claude { fill: #d97757; }
.ve-asistentes { position: relative; display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0; padding: 0; list-style: none; }
.ve-asistentes li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ve-asistentes .ve-logo { width: 28px; height: 28px; }
.ve-asistentes strong { font-family: var(--ve-titulos); font-size: 20px; }
.ve-pronto { padding: 3px 11px; border-radius: 999px; background: #fff; color: var(--marino); font-size: 12px; font-style: normal; font-weight: 800; letter-spacing: 0; text-transform: none; }

.ve-panel { position: relative; min-width: 0; overflow: hidden; border: 1px solid var(--linea); border-radius: 22px; background: var(--superficie); color: var(--tinta); box-shadow: 0 30px 70px rgba(5, 20, 50, 0.13); }
.ve-campo { display: block; padding: 11px 14px; border: 1px solid var(--borde-control); border-radius: 10px; font-size: 15px; overflow-wrap: anywhere; }
.ve-panel small { color: var(--tenue); font-size: 13px; font-weight: 600; }

/* ChatGPT */
.ve-chat-grilla { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: start; }
.ve-chat-grilla .ve-cap-cabeza { margin-bottom: 0; }
/* La conversación: oscura, sin globo en las respuestas, con el mensaje que se escribe abajo. */
.ve-chat { --chat-fondo: #14161b; --chat-globo: #2b2e36; --chat-texto: #e8ebf0; --chat-tenue: #a2a8b3; --chat-linea: #2c2f37; display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 22px; background: var(--chat-fondo); color: var(--chat-texto); box-shadow: 0 34px 80px rgba(0, 0, 0, 0.5); }
.ve-chat-cabeza { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; padding: 15px 20px; border-bottom: 1px solid var(--chat-linea); }
.ve-chat-cabeza strong { display: flex; align-items: center; gap: 8px; font-family: var(--ve-titulos); font-size: 18px; }
.ve-chat-cabeza span { color: var(--chat-tenue); font-size: 13px; font-weight: 600; }
.ve-chat-cabeza span::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: #3ecf8e; }
.ve-guiones { display: flex; flex-direction: column; gap: 24px; padding: 20px; font-size: 15px; line-height: 1.5; }
.ve-guion { display: flex; flex-direction: column; gap: 14px; }
.ve-yo { align-self: flex-end; max-width: 84%; margin: 0; padding: 10px 15px; border-radius: 18px; background: var(--chat-globo); }
.ve-tools { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; color: var(--chat-tenue); font-size: 14px; }
.ve-tools li { display: flex; align-items: center; gap: 9px; }
.ve-tools li::before { content: ""; flex: none; box-sizing: border-box; width: 14px; height: 14px; border: 2px solid #3ecf8e; border-radius: 50%; background: #3ecf8e; }
.ve-respuesta { display: flex; flex-direction: column; gap: 12px; }
.ve-respuesta p { margin: 0; }
.ve-candidata { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 8px; padding: 12px 14px; border: 1px solid var(--chat-linea); border-radius: 12px; }
.ve-candidata > span { flex-basis: 100%; color: var(--chat-tenue); font-size: 14px; }
.ve-candidata em { padding: 2px 10px; border-radius: 999px; font-size: 12px; font-style: normal; font-weight: 800; }
.ve-candidata em:empty { display: none; }
.ve-candidata .pre { background: rgba(62, 207, 142, 0.16); color: #63dba6; }
.ve-candidata .rec { background: rgba(240, 100, 90, 0.16); color: #f28f86; }
.ve-pensando { display: flex; gap: 5px; padding: 6px 0; }
.ve-pensando i { width: 8px; height: 8px; border-radius: 50%; background: var(--chat-tenue); }
.ve-redactor { display: flex; align-items: center; gap: 10px; margin: 0 14px 14px; padding: 9px 9px 9px 18px; border: 1px solid var(--chat-linea); border-radius: 24px; background: #1d2026; }
.ve-escribe { flex: 1; min-width: 0; min-height: 22px; overflow: hidden; color: var(--chat-tenue); font-size: 15px; white-space: nowrap; text-overflow: ellipsis; direction: ltr; }
.ve-escribe.activa { color: var(--chat-texto); }
.ve-enviar { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: #3b3f49; transition: background 0.2s ease, transform 0.15s ease; }
.ve-enviar::before { content: ""; position: absolute; left: 11px; top: 13px; width: 8px; height: 8px; border-top: 2px solid #14161b; border-left: 2px solid #14161b; transform: rotate(45deg); }
.ve-enviar.activa { background: #fff; }
.ve-enviar.pulsado { transform: scale(0.88); }
/* Con JavaScript la conversación se reproduce sola en una ventana fija; sin él, se ven todas completas. */
.ve-chat-listo .ve-guiones { height: 470px; box-sizing: border-box; overflow: hidden; scroll-behavior: smooth; }
.ve-chat-listo .ve-guion:not(.visible), .ve-chat-listo .ve-chat .ve-oculto { display: none; }
html:not(.ve-chat-listo) .ve-redactor { display: none; }
.ve-tools li.corriendo::before { background: none; border-color: var(--chat-tenue); border-top-color: transparent; }
.ve-tools li.corriendo { color: var(--chat-texto); }

/* Sueldos: mapa de calor con las ofertas por región y rango de sueldo; cada fila marca su sueldo medio. */
.ve-sueldos { --c0: #eef3fb; --c1: #dde8f7; --c2: #c6d8f2; --c3: #a9c5ec; --c4: #8bb0e5; --c5: #6f9bdd; --c-medio: var(--azul); }
.ve-calor-cabeza { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 24px 28px 0; }
.ve-calor-cabeza > div:first-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ve-calor-cabeza strong { color: var(--tinta); font-family: var(--ve-titulos); font-size: 22px; letter-spacing: -0.02em; }
.ve-pestanas { display: flex; flex-wrap: wrap; gap: 2px; padding: 4px; border: 1px solid var(--linea-suave); border-radius: 12px; background: var(--superficie-2); }
.ve-pestanas button { min-height: 40px; padding: 0 14px; border: 1px solid transparent; border-radius: 9px; background: none; color: var(--tenue); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background 0.2s ease, color 0.2s ease; }
.ve-pestanas button:hover { color: var(--tinta); }
.ve-pestanas button.activa { border-color: var(--linea); background: var(--superficie); color: var(--tinta); }
.ve-calor-titulo { padding: 20px 28px 0; }
.ve-calor-titulo h3 { margin: 0; color: var(--tinta); font-family: var(--ve-titulos); font-size: 30px; font-weight: 800; line-height: 1.12; letter-spacing: -0.03em; }
.ve-azul { color: var(--azul); font-variant-numeric: tabular-nums; }
.ve-calor-titulo p { margin: 8px 0 0; color: var(--tenue); font-size: 15px; line-height: 1.5; }
.ve-marca { color: var(--tinta); font-weight: 700; white-space: nowrap; }
.ve-marca.sobre { color: var(--verde-texto); }
.ve-marca.en { color: var(--azul); }
.ve-marca.bajo { color: var(--rojo); }
.ve-calor { display: grid; grid-template-columns: 104px repeat(12, minmax(0, 1fr)) 150px; gap: 4px; align-items: center; padding: 20px 28px 0; }
.ve-calor:empty { display: none; }
.ve-calor-col { color: var(--tenue); font-size: 12px; font-weight: 600; white-space: nowrap; }
.ve-calor-region { overflow: hidden; color: var(--tenue); font-size: 14px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; transition: color 0.2s ease; }
.ve-calor-region.sel { color: var(--tinta); }
.ve-celda { position: relative; height: 38px; border-radius: 7px; background: var(--c0); transition: background 0.6s ease var(--d, 0ms); }
.ve-celda.n1, .ve-leyenda .n1 { background: var(--c1); }
.ve-celda.n2, .ve-leyenda .n2 { background: var(--c2); }
.ve-celda.n3, .ve-leyenda .n3 { background: var(--c3); }
.ve-celda.n4, .ve-leyenda .n4 { background: var(--c4); }
.ve-celda.n5, .ve-leyenda .n5 { background: var(--c5); }
.ve-celda.media { background: var(--c-medio); }
.ve-celda.marcada { z-index: 2; outline: 2px solid var(--tinta); outline-offset: 1px; }
.ve-calor-resumen { display: flex; align-items: center; gap: 8px; min-width: 0; padding-left: 10px; color: var(--tenue); font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ve-calor-resumen i { flex: none; height: 9px; border-radius: 5px; background: var(--c2); transition: width 0.7s ease; }
.ve-calor-marg { display: flex; align-items: flex-end; height: 42px; }
.ve-calor-marg i { display: block; width: 100%; height: 0; border-radius: 4px 4px 0 0; background: var(--c1); transition: height 0.7s ease; }
.ve-calor-pie { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 14px 28px 18px; }
.ve-punto-medio { display: inline-block; width: 15px; height: 15px; margin-right: 8px; border-radius: 4px; background: var(--c-medio); vertical-align: -3px; }
.ve-leyenda { display: inline-flex; align-items: center; gap: 4px; }
.ve-leyenda i { display: inline-block; width: 15px; height: 15px; border-radius: 4px; }
.ve-calor-tip { position: absolute; z-index: 5; box-sizing: border-box; width: 280px; padding: 11px 13px; border: 1px solid var(--linea); border-radius: 12px; background: var(--superficie); box-shadow: 0 10px 28px rgba(5, 20, 50, 0.12); color: var(--tinta); font-size: 13px; pointer-events: none; }
.ve-calor-tip[hidden] { display: none; }
.ve-calor-tip b { display: block; font-size: 14px; }
.ve-calor-tip small { display: block; margin-bottom: 8px; font-size: 12px; }
.ve-calor-tip ul { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.ve-calor-tip li { display: flex; justify-content: space-between; gap: 10px; color: var(--tenue); }
.ve-calor-tip li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ve-calor-tip li em { flex: none; color: var(--tinta); font-style: normal; font-weight: 600; font-variant-numeric: tabular-nums; }
.ve-calor-tip p { margin: 8px 0 0; padding-top: 7px; border-top: 1px solid var(--linea-suave); color: var(--azul); font-weight: 700; }
.ve-sueldo-fuente { margin: 0; padding: 14px 28px; border-top: 1px solid var(--linea-suave); background: var(--superficie-2); color: var(--tenue); font-size: 13px; line-height: 1.5; }
@media (prefers-reduced-motion: reduce) {
  .ve-celda, .ve-calor-resumen i, .ve-calor-marg i { transition: none; }
}

/* Filtrar */
.ve-filtro { padding: 22px; }
.ve-cifras { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.ve-cifras > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 15px 18px; border-radius: 14px; background: var(--superficie-2); }
.ve-cifras strong { color: var(--tinta); font-family: var(--ve-titulos); font-size: 34px; font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.ve-cifras .ideal strong { color: var(--azul); }
.ve-interruptores { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 18px; margin: 16px 0 12px; }
.ve-interruptores > div { display: flex; flex-wrap: wrap; gap: 6px; }
.ve-interruptores button { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 10px; border: 1px solid var(--linea); border-radius: 999px; background: var(--superficie); color: var(--tenue); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease; }
.ve-interruptores button::before { content: ""; width: 12px; height: 12px; border: 2px solid var(--linea); border-radius: 50%; box-sizing: border-box; transition: background 0.2s ease, border-color 0.2s ease; }
.ve-interruptores button[aria-pressed="true"] { border-color: var(--azul); background: var(--bruma); color: var(--tinta); }
.ve-interruptores button[aria-pressed="true"]::before { border-color: var(--azul); background: var(--azul); }
html:not(.js) .ve-interruptores, .ve-flujo:empty, .ve-etapas:empty, .ve-etapas-caja:has(.ve-etapas:empty) { display: none; }
.ve-flujo { position: relative; height: 350px; padding: 0; border-radius: 16px; background: var(--superficie-2); }
.ve-flujo svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ve-flujo-cinta { mix-blend-mode: multiply; opacity: 0.75; transition: opacity 0.2s ease; }
.ve-flujo-cinta.apagada { opacity: 0.15; }
.ve-flujo-cinta.f0, .ve-barra-origen.f0 { fill: #9dbdf0; }
.ve-flujo-cinta.f1, .ve-barra-origen.f1 { fill: #a8dcc0; }
.ve-flujo-cinta.f2, .ve-barra-origen.f2 { fill: #f5cf86; }
.ve-flujo-cinta.f3, .ve-barra-origen.f3 { fill: #c9b6ef; }
.ve-barra-fin { fill: var(--tinta); }
.ve-barra-fin.ideal { fill: var(--azul); }
/* Lo que filtra la IA (una sugerencia que tú confirmas), en violeta: en la cifra, el botón, la barra y su rótulo. */
.ve-barra-fin.ia { fill: #7a5ad6; }
.ve-nodo.ia, .ve-cifras .ia strong { color: #6a49c9; }
.ve-ia { padding: 1px 6px; border-radius: 6px; background: #ece6fb; color: #5b3cb8; font-size: 11px; font-weight: 800; letter-spacing: 0.02em; }
.ve-nodo { position: absolute; display: block; box-sizing: border-box; width: 214px; padding: 0 14px; color: var(--tinta); font-size: 14px; line-height: 1.25; transform: translateY(-50%); cursor: default; }
.ve-nodo b { font-weight: 700; font-variant-numeric: tabular-nums; }
.ve-nodo.izq { left: 0; text-align: right; }
.ve-nodo.der { right: 0; }
.ve-nodo.ideal { color: var(--azul); font-weight: 700; }
/* Angosto (celular): el rótulo sobre las cintas, junto a su barra y con fondo para leerse; uno largo usa dos líneas. */
.ve-flujo.angosto .ve-nodo { width: auto; max-width: calc(50% - 18px); padding: 3px 8px; border-radius: 7px; background: rgba(255, 255, 255, 0.9); box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12); font-size: 12px; line-height: 1.2; }
.ve-flujo.angosto .ve-nodo.izq { left: 12px; text-align: left; }
.ve-flujo.angosto .ve-nodo.der { right: 12px; }
.ve-etapas-caja { margin-top: 20px; }
.ve-etapas-caja h3 { margin: 0 0 12px; color: var(--tenue); font-family: inherit; font-size: 14px; font-weight: 700; letter-spacing: 0; }
.ve-etapas { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.ve-etapa { display: flex; flex-direction: column; gap: 5px; min-width: 0; text-align: center; }
.ve-etapa b { color: var(--tinta); font-size: 14px; font-variant-numeric: tabular-nums; }
.ve-etapa .pista { position: relative; display: block; height: 130px; overflow: hidden; border-radius: 9px; background: var(--superficie-2); }
.ve-etapa .pista i { position: absolute; right: 0; bottom: 0; left: 0; display: block; height: var(--parte, 0); border-radius: 9px 9px 0 0; background: #8bb0e5; transition: height 0.6s ease; }
.ve-etapa.ultima .pista i { background: var(--azul); }
.ve-etapa.sin-uso { opacity: 0.45; }
.ve-etapa small { font-size: 12px; font-weight: 500; line-height: 1.25; overflow-wrap: anywhere; hyphens: auto; }

/* Lo cotidiano, en tarjetas chicas */
.ve-mas { padding: 88px 0 24px; background: var(--bruma); }
.ve-mas h2 { margin-bottom: 32px; color: var(--tinta); font-size: 40px; font-weight: 700; line-height: 1.1; letter-spacing: -0.03em; }
.ve-tarjetas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-bottom: 24px; }
.ve-tarjetas article { display: flex; flex-direction: column; gap: 8px; padding: 22px; border: 1px solid var(--linea); border-radius: 16px; background: var(--superficie); transition: border-color var(--suave), transform var(--suave); }
@media (hover: hover) { .ve-tarjetas article:hover { border-color: var(--azul); transform: translateY(-3px); } }
.ve-tarjetas strong { color: var(--marino); font-size: 19px; }
.ve-tarjetas span { color: var(--tinta-2); font-size: 15px; line-height: 1.5; }
.ve-nota-final { display: block; padding-bottom: 28px; color: var(--tenue); font-size: 12px; }

/* Cierre */
.ve .landing-empresas { padding-bottom: 72px; }
.ve-final { margin-bottom: -56px; }
.ve-final .contenedor { display: flex; flex-direction: column; align-items: center; gap: 28px; padding-top: 96px; padding-bottom: 96px; text-align: center; }
.ve-final h2 { max-width: 16em; color: #fff; font-size: 60px; font-weight: 700; line-height: 1.06; letter-spacing: -0.035em; }

/* Ilustraciones que se dibujan al entrar en pantalla (static/js/ilustracion.js). Sin JavaScript se ven completas. */
.ilu { display: block; width: 100%; height: auto; }
.ilu [data-t="f"] { transform-box: fill-box; transform-origin: center; }
.ve-cap-fila { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 48px; }
.ve-cap-fila .ve-cap-cabeza { margin-bottom: 0; }
.ve-como { align-items: center; margin-bottom: 0; }
.ve-ilu { flex: none; width: 176px; }
.ve-ilu-media { width: 232px; }
.ve-ilu-escena { width: 248px; }
/* Cierre: el texto a la izquierda y la ilustración a su lado, nunca encima del título. */
.ve-final .ve-final-fila { flex-direction: row; justify-content: center; gap: 56px; padding-top: 80px; padding-bottom: 80px; text-align: left; }
.ve-final-texto { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.ve-final .ve-ilu { width: 288px; }
/* Sobre el fondo marino la línea va en blanco y el círculo de fondo apenas se insinúa. */
.ve-oscuro .ilu [data-t="l"] { fill: #fff; }
.ve-oscuro .ilu [data-t="f"] { fill: rgba(255, 255, 255, 0.08); }

/* Ritmo de /para-empresas/ (.ve-empresas; la portada del CV fija el suyo en cv_portada.css). Pocos pasos que se
   repiten: 16 dentro del título, 64 del título al contenido y 160 entre secciones. En teléfono, 16, 40 y 96. */
.ve-empresas .ve-cap { padding: 80px 0; }
.ve-empresas .ve-cap > .contenedor:not(.ve-chat-grilla) > .ve-cap-cabeza, .ve-empresas .ve-cap-fila { margin-bottom: 64px; }
.ve-empresas .ve-mas { padding: 80px 0 0; }
.ve-empresas .ve-mas h2 { margin-bottom: 64px; }
.ve-empresas .seccion-landing { gap: 64px; padding-top: 160px; padding-bottom: 0; }
.ve-empresas .ve-como, .ve-empresas .ve-cap-fila:last-child { margin-bottom: 0; }
.ve-empresas .landing-empresas { padding-bottom: 80px; }
/* Cinco tarjetas en «Y todo lo que necesitas»: tres arriba y dos abajo, sin hueco al final de la fila. */
@media (min-width: 1100px) {
  .ve-empresas .ve-mas .ve-tarjetas { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .ve-empresas .ve-mas .ve-tarjetas article { grid-column: span 2; }
  .ve-empresas .ve-mas .ve-tarjetas article:nth-child(n+4) { grid-column: span 3; }
}
/* En escritorio el mapa de Cómo funciona no estira la fila: se apoya en la línea del título y sube por el espacio
   libre de la derecha. Así el título queda a 160 de lo anterior y a 64 de los pasos, como el resto. */
@media (min-width: 760px) {
  .ve-empresas .ve-como { position: relative; }
  .ve-empresas .ve-como .ve-ilu { position: absolute; right: 0; bottom: -28px; width: 208px; }
}

/* Movimiento: las escenas parten ocultas solo si hay JavaScript y nadie pidió reducir el movimiento. */
@media (prefers-reduced-motion: no-preference) {
  .ve-hero .ve-palabra { animation: ve-palabra 0.65s cubic-bezier(0.2, 0.8, 0.2, 1) backwards; }
  .ve-hero .ve-palabra:nth-of-type(2) { animation-delay: 0.08s; } .ve-hero .ve-palabra:nth-of-type(3) { animation-delay: 0.16s; }
  .ve-hero .ve-palabra:nth-of-type(4) { animation-delay: 0.28s; } .ve-hero .ve-palabra:nth-of-type(5) { animation-delay: 0.3s; }
  .ve-hero .ve-palabra:nth-of-type(6) { animation-delay: 0.4s; } .ve-hero .ve-palabra:nth-of-type(7) { animation-delay: 0.48s; }
  .ve-hero .ve-palabra:nth-of-type(8) { animation-delay: 0.56s; }
  .ve-hero-texto > p, .ve-acciones, .ve-nota { animation: ve-sube 0.7s 0.8s ease-out backwards; }
  .ve-cinta-riel { animation: ve-cinta 36s linear infinite; }

  html.js .ve-escena:not(.ve-activa) { opacity: 0; transform: translateY(34px); }
  .ve-escena { transition: opacity 0.7s ease-out, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }

  /* Mapa: cerca y bajando por Chile, ida y vuelta */
  html.js .ve-capa { height: 330%; animation: ve-camara 46s ease-in-out infinite alternate; }
  .ve-lienzo { animation: ve-lienzo-entra 0.5s ease-out; }



  /* Chat: lo que llega a la conversación aparece suave; el indicador late y el círculo de la herramienta gira */
  .ve-entra { animation: ve-sube 0.3s ease-out; }
  .ve-pensando i { animation: ve-punto 1.1s ease-in-out infinite; }
  .ve-pensando i:nth-child(2) { animation-delay: 0.15s; } .ve-pensando i:nth-child(3) { animation-delay: 0.3s; }
  .ve-tools li.corriendo::before { animation: ve-gira 0.8s linear infinite; }
}
@keyframes ve-palabra { from { opacity: 0; transform: translateY(28px) rotate(2deg); } }
@keyframes ve-sube { from { opacity: 0; transform: translateY(16px); } }
@keyframes ve-plano-entra { to { opacity: 1; } }
@keyframes ve-lienzo-entra { from { opacity: 0; } }
@keyframes ve-cinta { to { transform: translateX(-50%); } }
@keyframes ve-camara { from { transform: translateY(0); } to { transform: translateY(-69.7%); } }
@keyframes ve-pulso { from { opacity: 0.9; transform: scale(1); } to { opacity: 0; transform: scale(4.5); } }
@keyframes ve-punto { 0%, 100% { opacity: 0.3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-4px); } }
@keyframes ve-gira { to { transform: rotate(360deg); } }

@media (max-width: 1099px) {
  .ve-hero h1 { font-size: 60px; }
  .ve-hero .ve-hero-grilla, .ve-chat-grilla { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .ve-radar { inset: 0; }
  .ve-tarjetas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ve-empresas .ve-mas .ve-tarjetas article:last-child { grid-column: 1 / -1; }
}
@media (max-width: 759px) {
  .ve section, .ve .ve-indice { scroll-margin-top: 12px; }
  .ve-hero .ve-hero-grilla { padding-top: 52px; padding-bottom: 52px; }
  .ve-hero h1 { font-size: 44px; letter-spacing: -0.04em; }
  .ve-hero .boton-grande { white-space: normal; text-align: center; padding-inline: 20px; }
  .ve-radar { inset: 0; opacity: 0.42; }
  .ve-radar.con-3d { opacity: 0.55; }
  .ve-cap { padding: 68px 0; }
  .ve-cap-cabeza { margin-bottom: 32px; }
  .ve-cap-cabeza h2 { font-size: 36px; letter-spacing: -0.03em; }
  .ve-cap-cabeza p, .ve-hero p { font-size: 17px; }
  .ve-calor-cabeza { padding: 20px 16px 0; }
  .ve-calor-titulo { padding: 16px 16px 0; }
  .ve-calor-titulo h3 { font-size: 24px; }
  .ve-calor { grid-template-columns: 80px repeat(12, minmax(0, 1fr)); gap: 2px; padding: 16px 16px 0; }
  .ve-calor-region { font-size: 11px; }
  .ve-calor-resumen, .ve-calor-vacio { display: none; }
  .ve-celda { height: 27px; border-radius: 4px; }
  .ve-calor-col { font-size: 10px; }
  .ve-calor-marg { height: 30px; }
  .ve-calor-pie { padding: 12px 16px 16px; }
  .ve-pestanas { width: 100%; box-sizing: border-box; }
  .ve-pestanas button { flex: 1 1 auto; padding: 0 8px; font-size: 13px; }
  .ve-sueldo-fuente { padding: 14px 16px; }
  .ve-filtro { padding: 14px; }
  .ve-cifras { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .ve-cifras > div { padding: 12px 13px; }
  .ve-cifras strong { font-size: 28px; }
  .ve-interruptores button { flex: 1 1 auto; justify-content: center; }
  .ve-flujo { height: 400px; }
  .ve-nodo { width: 100px; padding: 0 8px; font-size: 12px; }
  /* En el celular, filtro por filtro va en filas: nombre, barra y cuántos quedan. */
  .ve-etapas { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .ve-etapa { display: grid; grid-template-columns: 112px minmax(0, 1fr) 34px; grid-template-areas: "texto pista valor"; align-items: center; gap: 10px; text-align: left; }
  .ve-etapa b { grid-area: valor; text-align: right; }
  .ve-etapa small { grid-area: texto; font-size: 12.5px; overflow-wrap: normal; hyphens: none; }
  .ve-etapa .pista { grid-area: pista; height: 14px; border-radius: 7px; }
  .ve-etapa .pista i { top: 0; right: auto; height: auto; width: var(--parte, 0); border-radius: 7px; transition: width 0.6s ease; }
  .ve-mas { padding-top: 60px; }
  .ve-mas h2 { font-size: 30px; }
  .ve-tarjetas { grid-template-columns: minmax(0, 1fr); }
  .ve-empresas .ve-mas .ve-tarjetas article:last-child { grid-column: auto; }
  .ve-final h2 { font-size: 38px; }
  .ve-final .contenedor { padding-top: 68px; padding-bottom: 68px; }
  /* En teléfono la ilustración va después del texto, nunca sobre el título. */
  .ve-cap-fila { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 32px; }
  .ve-como { margin-bottom: 0; }
  .ve-ilu { width: 120px; }
  .ve-ilu-media { width: 144px; }
  .ve-ilu-escena { width: 144px; }
  .ve-final .ve-final-fila { flex-direction: column; gap: 40px; padding-top: 48px; padding-bottom: 48px; text-align: center; }
  .ve-final-texto { align-items: center; }
  .ve-final .ve-ilu { width: 224px; }
  .ve-empresas .ve-cap { padding: 48px 0; }
  .ve-empresas .ve-cap > .contenedor:not(.ve-chat-grilla) > .ve-cap-cabeza, .ve-empresas .ve-cap-fila { margin-bottom: 40px; }
  .ve-empresas .ve-mas { padding-top: 48px; }
  .ve-empresas .ve-mas h2 { margin-bottom: 40px; }
  .ve-empresas .seccion-landing { gap: 40px; padding-top: 96px; }
  .ve-empresas .ve-como, .ve-empresas .ve-cap-fila:last-child { margin-bottom: 0; }
  .ve-empresas .landing-empresas { padding-bottom: 48px; }
}
