/* ============================================================================
   LANDING de HubOp — HTML plano (inicio.html), 3ª vuelta (dueño 5-oct noche: «en tonos claros, no oscura»).
   SIEMPRE en claro (aunque el sistema esté en oscuro). Sistema §00 de HubOp: tokens claros de la consola, IBM Plex Sans
   400/500/600, `--accent` = lo nuestro, `--ia` = la IA, color de producto SOLO en la marca.
   ESPEJO de console/src/styles/tokens.css (valores claros copiados: la página no carga la consola) — si cambia un token de
   marca, de canal o de producto, cambiarlo acá también y subir la versión del archivo en inicio.html.
   La firma es el recibimiento: las rutas de los siete canales que se juntan en HubOp. Todo lo demás, callado.
   ============================================================================ */

@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(/inicio/fuentes/plex-sans-400-v1.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url(/inicio/fuentes/plex-sans-500-v1.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url(/inicio/fuentes/plex-sans-600-v1.woff2) format("woff2"); }

:root {
  color-scheme: light;
  --sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --bg: #f1f3f7; --surface: #fbfcfd; --surface-2: #f4f6f9;
  --ink: #15181d; --ink-2: #4b515c; --ink-3: #6f7580; --ink-4: #6b7280;
  --line: #ecedf0; --line-2: #e2e4e8; --line-3: #d6d9de;
  --accent: #3b5bdb; --accent-h: #2f49b8; --accent-soft: #eef1fd; --accent-line: #cdd6f7;
  --ia: #6a5acd; --ia-bg: #f4f3fb; --ia-line: #ddd9f0;
  --ml: #d4a72c; --ml-soft: #fbf3da; --ml-line: #ecdcab; --ml-ink: #8a6a14;
  --wa: #25a35a; --wa-ink: #177a40;
  --verde: #2f8f5b; --verde-bg: #edf6f1;
  --mail: #8c2f39; --ig: #8a5a44; --fb: #3b5998; --web: #6b5aa8; --gmb: #0e8088;
  --prod-desk: var(--ink); --prod-desk-ink: var(--surface); --prod-desk-tinta: var(--accent-h);
  --prod-dev: var(--ml); --prod-dev-ink: #15181d; --prod-dev-tinta: var(--ml-ink);
  --prod-cons: var(--accent); --prod-cons-ink: #ffffff; --prod-cons-tinta: var(--accent-h);
  --prod-excl: #9b2335; --excl-soft: #f6e8eb; --excl-line: #e9c6ce;
  --pagina: #f1f3f7; --pagina-2: #e8ebf1;
  --cielo: #edf0f7;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--pagina); color: var(--ink); font: 400 16px/1.55 var(--sans); overflow-x: clip; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
b { font-weight: 600; }
p, li, dd, figcaption { text-wrap: pretty; }
.in { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.saltar { position: absolute; left: 12px; top: -48px; z-index: 20; background: var(--accent); color: #fff; padding: 8px 12px; border-radius: 8px; text-decoration: none; font-weight: 500; }
.saltar:focus { top: 12px; }

/* colores de canal y de producto (clases: los atributos SVG no leen var() en línea) */
.c-ml { --c: var(--ml); } .c-wa { --c: var(--wa); } .c-mail { --c: var(--mail); } .c-ig { --c: var(--ig); }
.c-fb { --c: var(--fb); } .c-web { --c: var(--web); } .c-gmb { --c: var(--gmb); }
.c-cons { --c: var(--prod-cons); } .c-desk { --c: var(--prod-desk); } .c-dev { --c: var(--prod-dev); } .c-excl { --c: var(--prod-excl); }
.f-desk { fill: var(--prod-desk); } .f-desk-ink { fill: var(--prod-desk-ink); }
.f-dev { fill: var(--prod-dev); } .s-dev-ink { stroke: var(--prod-dev-ink); }
.f-cons { fill: var(--prod-cons); } .s-cons-ink { stroke: var(--prod-cons-ink); }

/* ---------- botones (los de la puerta de ingreso) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font: 500 14.5px/1.2 var(--sans); border-radius: 9px; padding: 12px 18px;
  border: 1px solid transparent; text-decoration: none; cursor: pointer;
  transition: background .13s, border-color .13s, color .13s;
}
.btn.pri { background: var(--accent); color: #fff; }
.btn.pri:hover { background: var(--accent-h); }
.btn.alt { background: var(--surface); color: var(--ink); border-color: var(--line-3); }
.btn.alt:hover { background: var(--surface-2); border-color: var(--ink-4); }
.ico-wa { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn.alt .ico-wa { color: var(--wa-ink); }
.btn.pri .ico-wa { color: #ffffff; }
.cierre .btn.pri .ico-wa { color: var(--wa-ink); }

/* ---------- barra de arriba ---------- */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--pagina) 92%, transparent); backdrop-filter: blur(10px); }
.top-in { max-width: 1160px; margin: 0 auto; padding: 13px 28px; display: flex; align-items: center; gap: 28px; }
.marca { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.racimo { position: relative; display: block; flex: none; width: 43px; height: 34px; }
.racimo .rc { position: absolute; width: 19px; height: 19px; border-radius: 5px; box-shadow: 0 0 0 2px var(--pagina); }
.rc-1 { left: 0; top: 0; } .rc-2 { left: 12px; top: 8px; } .rc-3 { left: 24px; top: 15px; }
.hubop { font-size: 23px; letter-spacing: -.02em; }
.op { color: var(--accent); font-weight: 600; }
/* logo «Hub◯p» (dueño 5-oct, A+D): el anillo de los cuatro servicios es la O. Colores = productos (Exclusiones bordó). */
.hubop { display: inline-flex; align-items: baseline; font-weight: 600; }
.hubop b { font-weight: 600; }
.o-360 { width: .76em; height: .76em; align-self: center; margin: 0 .035em 0 .055em; position: relative; top: -.06em; flex: none; }
.o-360 g { stroke-width: 17; }
.a-cons { stroke: var(--prod-cons); } .a-desk { stroke: var(--prod-desk); } .a-dev { stroke: var(--prod-dev); } .a-excl { stroke: var(--prod-excl); }
.pie .a-cons { stroke: #7a93f0; } .pie .a-desk { stroke: #eceef2; } .pie .a-excl { stroke: #e07a8a; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { font-size: 14px; color: var(--ink-2); text-decoration: none; padding: 7px 10px; border-radius: 7px; }
.nav a:hover { color: var(--ink); background: var(--surface-2); }
.nav a[aria-current="true"] { color: var(--accent-h); background: var(--accent-soft); font-weight: 600; box-shadow: inset 0 -2px 0 var(--accent); }
.btn-top { padding: 9px 16px; }
.franja { display: flex; height: 3px; transform-origin: left center; animation: abre .62s cubic-bezier(.2, .7, .2, 1) .05s both; }
.franja i { display: block; height: 100%; background: var(--c); }
.g58 { flex-grow: 58; } .g12 { flex-grow: 12; } .g9 { flex-grow: 9; } .g7 { flex-grow: 7; } .g6 { flex-grow: 6; } .g5 { flex-grow: 5; } .g3 { flex-grow: 3; }

/* ---------- el recibimiento (claro) ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: min(92vh, 880px); display: flex; flex-direction: column; justify-content: center;
  background:
    radial-gradient(720px 520px at 76% 50%, rgba(59, 91, 219, .10), transparent 64%),
    radial-gradient(380px 300px at 76% 50%, rgba(106, 90, 205, .10), transparent 70%),
    var(--cielo);
  border-bottom: 1px solid var(--line-2);
}
/* velo para que el texto se lea sobre las rutas */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(237, 240, 247, .96) 0%, rgba(237, 240, 247, .78) 34%, rgba(237, 240, 247, 0) 62%);
}
.rutas { display: block; }
.rutas.ancho { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.rutas.angosto { display: none; }
.r { fill: none; stroke: var(--c); stroke-linecap: butt; }
.entran .r, .salen .r { stroke-dasharray: 1; stroke-dashoffset: 1; animation: traza 1.1s cubic-bezier(.3, .6, .2, 1) forwards; }
.entran .r { animation-delay: calc(.2s + var(--i) * .08s); opacity: .9; }
.salen .r { animation-duration: .6s; animation-delay: calc(1.3s + var(--i) * .1s); }
.nudo .fondo { fill: #fbfcfd; stroke: var(--line-3); stroke-width: 1.5; }
.nudo text { font: 600 30px var(--sans); letter-spacing: -.02em; }
.nudo .b { fill: var(--ink); } .nudo .op { fill: var(--accent); }
.anillo-nudo .a-cons { stroke: var(--prod-cons); } .anillo-nudo .a-desk { stroke: var(--prod-desk); } .anillo-nudo .a-dev { stroke: var(--prod-dev); } .anillo-nudo .a-excl { stroke: var(--prod-excl); }
.anillo-nudo .a-centro { fill: var(--ink); }
.nudo .aro { fill: none; stroke: var(--ia); stroke-width: 1.5; opacity: .45; transform-origin: 1088px 392px; animation: late 3.6s ease-out 1.9s infinite; }
.nudo .aro.dos { animation-delay: 3.7s; }
.rutas.ancho .nudo { animation: aparece .4s ease-out 1.05s both; }

.hero-in { max-width: 1160px; width: 100%; margin: 0 auto; padding: 64px 28px 72px; }
.hero-in > * { max-width: 620px; }
.chip {
  display: inline-flex; align-items: center; gap: 9px; padding: 6px 13px 6px 11px; border-radius: 999px;
  font-size: 13px; font-weight: 500; color: var(--ink-2); background: var(--ia-bg); border: 1px solid var(--ia-line);
}
.punto-ia { width: 8px; height: 8px; border-radius: 50%; background: var(--ia); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ia) 18%, transparent); flex: none; display: inline-block; }
.hola { margin-top: 24px; font-size: 17px; color: var(--ink-2); }
h1 { margin-top: 10px; font-size: clamp(42px, 6.2vw, 80px); font-weight: 400; letter-spacing: -.038em; line-height: 1.02; }
h1 b { font-weight: 600; }
/* el nombre sale de la palabra (dueño 5-oct: «mezclalo con el nombre»): «Hub»+«Op» como en el logo y «eracional» se
   despliega desde la «Op»; después entra «de tu e-commerce.». Con «menos movimiento», todo quieto y completo. */
.h1-hub { max-width: 820px; font-size: clamp(34px, 6.2vw, 80px); }
.h1-nombre { white-space: nowrap; }
.h-hub { font-weight: 600; color: var(--ink); }
.h-op { font-weight: 600; color: var(--accent); }
.h-era { display: inline-block; font-weight: 400; color: var(--ink-2); clip-path: inset(-.1em 100% -.2em 0); animation: revela 1s cubic-bezier(.3, .7, .2, 1) .85s forwards; }
.h1-resto { display: inline-block; font-weight: 400; opacity: 0; transform: translateY(10px); animation: sube .6s ease-out 1.65s forwards; }
.nw { white-space: nowrap; }
@keyframes revela { to { clip-path: inset(-.1em 0 -.2em 0); } }
@keyframes sube { to { opacity: 1; transform: none; } }
.ia-txt { color: var(--ia); font-weight: 600; white-space: nowrap; }
.lead { margin-top: 22px; font-size: 17.5px; line-height: 1.6; color: var(--ink-2); max-width: 54ch; }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

/* certificaciones */
.certs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.cert { display: inline-flex; align-items: center; gap: 11px; padding: 9px 16px 9px 10px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px; box-shadow: 0 1px 2px rgba(21, 24, 29, .04); }
.cert-ico { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.cert-ico svg { width: 22px; height: 22px; fill: none; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.cert-plat .cert-ico { background: linear-gradient(140deg, #f4f5f7, #d9dde3); border: 1px solid #c9ced6; }
.cert-plat .cert-ico svg { stroke: #4b515c; }
.cert-meta .cert-ico { background: var(--accent-soft); border: 1px solid var(--accent-line); }
.cert-meta .cert-ico svg { stroke: var(--accent); }
.cert-txt { display: flex; flex-direction: column; line-height: 1.25; }
.cert-txt b { font-size: 14px; }
.cert-txt span { font-size: 12.5px; color: var(--ink-3); }

/* ---------- marcas en movimiento ---------- */
.marcas { background: var(--pagina-2); padding: 34px 0 36px; border-bottom: 1px solid var(--line-2); }
.marcas-t { font-size: 14px; font-weight: 500; color: var(--ink-3); text-align: center; padding: 0 16px; margin: 0 auto; max-width: none; letter-spacing: 0; line-height: 1.4; }
.cinta {
  display: flex; overflow: hidden; margin-top: 20px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.cinta-l { display: flex; flex: none; gap: 64px; padding-right: 64px; animation: desliza 34s linear infinite; }
.cinta:hover .cinta-l { animation-play-state: paused; }
.cinta-l li { font-size: 21px; font-weight: 600; letter-spacing: -.015em; color: var(--ink-3); white-space: nowrap; }

/* ---------- secciones ---------- */
.sec { padding: 92px 0; }
.sec.gris { background: var(--pagina-2); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.ceja { font-size: 14px; font-weight: 600; color: var(--accent); }
.ceja-ia { color: var(--ia); }
h2 { margin-top: 10px; font-size: clamp(30px, 3.6vw, 44px); font-weight: 400; letter-spacing: -.03em; line-height: 1.1; max-width: 24ch; text-wrap: balance; }
.sub { margin-top: 16px; font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 62ch; }

/* ¿por qué HubOp? */
.porque { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: start; }
.pilares { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pilares li { background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 16px; padding: 22px 22px 24px; }
.pilares li:first-child { background: var(--ia-bg); border-color: var(--ia-line); }
.pilares h3 { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.pilares p { margin-top: 8px; font-size: 15px; color: var(--ink-2); }

/* agentes de IA */
.ia-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; align-items: start; }
.capac { margin-top: 36px; display: grid; gap: 24px; }
.capac li { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 16px; }
.capac-ico { width: 38px; height: 38px; border-radius: 11px; background: var(--ia-bg); border: 1px solid var(--ia-line); display: grid; place-items: center; }
.capac-ico svg { width: 20px; height: 20px; fill: none; stroke: var(--ia); stroke-width: 1.8; stroke-linejoin: round; }
.capac h3 { font-size: 16.5px; font-weight: 600; letter-spacing: -.01em; }
.capac p { margin-top: 4px; font-size: 15px; color: var(--ink-2); }

.chat { display: grid; gap: 16px; position: sticky; top: 100px; }
.chat-card { background: var(--surface); border: 1px solid var(--line-2); border-radius: 16px; padding: 18px 18px 14px; box-shadow: 0 1px 2px rgba(21, 24, 29, .04), 0 12px 32px -18px rgba(21, 24, 29, .18); display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.chat-canal { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 500; color: var(--ink-3); }
.chat-canal i { width: 8px; height: 8px; border-radius: 2px; background: var(--c); display: inline-block; flex: none; }
.chat-pub { font-size: 14px; font-weight: 600; }
.msg { font-size: 14.5px; line-height: 1.5; padding: 10px 13px; border-radius: 12px; max-width: 88%; }
.msg.cli { background: var(--surface-2); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg.ia { background: var(--ia-bg); border: 1px solid var(--ia-line); border-bottom-right-radius: 4px; align-self: flex-end; }
.chat-meta { display: flex; align-items: center; gap: 8px; align-self: flex-end; font-size: 12.5px; font-weight: 500; color: var(--ia); }
.nota { align-self: stretch; border-left: 3px solid var(--ia); background: var(--surface-2); border-radius: 0 10px 10px 0; padding: 9px 12px; font-size: 13.5px; color: var(--ink-2); }
.nota-t { font-size: 12px; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.chat figcaption { font-size: 12.5px; color: var(--ink-4); text-align: center; }

.dos-cajas { margin-top: 56px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.caja { display: flex; gap: 16px; align-items: flex-start; border-radius: 16px; padding: 22px 24px; background: var(--surface); border: 1px solid var(--line-2); }
.caja-ml { background: var(--ml-soft); border-color: var(--ml-line); }
.caja h3 { font-size: 17px; font-weight: 600; }
.caja-ml h3 { color: var(--ml-ink); }
.caja p { margin-top: 6px; font-size: 15px; color: var(--ink-2); }
.caja-ico { width: 38px; height: 38px; border-radius: 11px; flex: none; display: grid; place-items: center; }
.ml-ico { background: var(--ml); }
.ml-ico svg { width: 22px; height: 22px; fill: none; stroke: #15181d; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.tienda-ico { background: var(--accent-soft); border: 1px solid var(--accent-line); }
.tienda-ico svg { width: 20px; height: 20px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.tiendas { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tiendas li { font-size: 13px; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line-2); color: var(--ink-2); }

/* análisis: sentimiento, métricas, conversiones */
.analisis { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.analisis article { background: var(--surface); border: 1px solid var(--line-2); border-radius: 16px; padding: 24px 24px 26px; box-shadow: 0 1px 2px rgba(21, 24, 29, .04); }
.an-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; }
.an-ico svg { width: 22px; height: 22px; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.an-sent { background: var(--ia-bg); } .an-sent svg { stroke: var(--ia); }
.an-met { background: var(--accent-soft); } .an-met svg { stroke: var(--accent); }
.an-conv { background: var(--verde-bg); } .an-conv svg { stroke: var(--verde); }
.analisis h3 { margin-top: 16px; font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.analisis p { margin-top: 6px; font-size: 15px; color: var(--ink-2); }

/* calidad: la misma vara para la IA y el equipo */
.quienes { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.quien { display: inline-flex; align-items: center; gap: 9px; padding: 9px 15px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--ink); }
.q-ia { background: var(--ia-bg); border: 1px solid var(--ia-line); }
.q-eq { background: var(--accent-soft); border: 1px solid var(--accent-line); }
.q-eq svg { width: 17px; height: 17px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; }
.mas { font-size: 20px; color: var(--ink-3); }
.ciclo { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; position: relative; }
.ciclo::before { content: ""; position: absolute; left: 6px; right: 6px; top: 6px; height: 2px; background: var(--line-3); }
.ciclo li { position: relative; padding-top: 28px; }
.ciclo li::before { content: ""; position: absolute; left: 0; top: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent); }
.cuando { font-size: 13.5px; font-weight: 600; color: var(--accent); }
.ciclo h3 { margin-top: 6px; font-size: 19px; font-weight: 600; letter-spacing: -.012em; }
.ciclo p { margin-top: 6px; font-size: 15px; color: var(--ink-2); }
.ciclo-pie { margin-top: 34px; font-size: 15px; color: var(--ink-2); padding-top: 18px; border-top: 1px solid var(--line-2); }

/* productos (dueño 5-oct: «quedó pequeña y poco distintiva»): una fila GRANDE por producto — lomo de su color con el
   nombre en vertical, de abajo hacia arriba (rotado, nunca letra por letra), qué es, te sirve para y un dibujo propio de su
   pantalla (sin datos reales). Exclusiones = bordó (dueño). */
.org { margin-top: 26px; display: flex; gap: 14px; align-items: flex-start; background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: 14px; padding: 16px 20px; max-width: 900px; }
.org-ico { width: 34px; height: 34px; flex: none; border-radius: 10px; background: var(--surface); display: grid; place-items: center; border: 1px solid var(--accent-line); }
.org-ico svg { width: 20px; height: 20px; fill: none; stroke: var(--accent); stroke-width: 1.7; }
.org p { font-size: 15.5px; color: var(--ink-2); }
.org b { color: var(--ink); }
.prods { margin-top: 36px; display: grid; gap: 22px; }
.prod { display: grid; grid-template-columns: 50px minmax(0, 1fr) minmax(0, 360px); min-height: 250px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 18px; overflow: hidden; box-shadow: 0 1px 2px rgba(21, 24, 29, .04); }
.p-cons { --pc: var(--prod-cons); --pc-soft: var(--accent-soft); --pc-tinta: var(--prod-cons-tinta); --pc-lomo: #ffffff; }
.p-desk { --pc: var(--prod-desk); --pc-soft: #e9ecf2; --pc-tinta: var(--prod-desk-tinta); --pc-lomo: #ffffff; }
.p-dev  { --pc: var(--prod-dev);  --pc-soft: var(--ml-soft); --pc-tinta: var(--prod-dev-tinta); --pc-lomo: #15181d; }
.p-excl { --pc: var(--prod-excl); --pc-soft: var(--excl-soft); --pc-tinta: var(--prod-excl); --pc-lomo: #ffffff; }
.lomo { background: var(--pc-soft); border-left: 4px solid var(--pc); display: flex; align-items: flex-end; justify-content: center; padding: 24px 0; }
.lomo span { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 14px; font-weight: 600; letter-spacing: .04em; color: var(--pc-tinta); white-space: nowrap; }
.prod-cuerpo { padding: 28px 32px; display: grid; gap: 13px; align-content: start; }
.prod-head { display: flex; align-items: center; gap: 14px; }
.prod-head .logo { width: 42px; height: 42px; flex: none; border-radius: 12px; }
.logo-excl { background: var(--pc); display: grid; place-items: center; }
.logo-excl svg { width: 23px; height: 23px; fill: none; stroke: #ffffff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.prod-hub { display: block; font-size: 13px; color: var(--ink-4); line-height: 1.2; }
.prod h3 { font-size: 24px; font-weight: 600; letter-spacing: -.018em; line-height: 1.2; color: var(--pc-tinta); }
.prod-que { font-size: 16.5px; line-height: 1.6; color: var(--ink-2); max-width: 62ch; }
.sirve { display: grid; gap: 8px; }
.sirve li { position: relative; padding-left: 26px; font-size: 15px; color: var(--ink-2); }
.sirve li::before { content: ""; position: absolute; left: 3px; top: 7px; width: 12px; height: 6px; border-left: 2px solid var(--pc); border-bottom: 2px solid var(--pc); transform: rotate(-45deg); }
.prod-nota { font-size: 14px; color: var(--ink-4); }
.pronto-tag { margin-left: auto; font-size: 12.5px; font-weight: 600; color: var(--prod-excl); background: var(--excl-soft); border: 1px solid var(--excl-line); padding: 5px 11px; border-radius: 999px; white-space: nowrap; }
/* el dibujo de cada producto */
.prod-vis { background: color-mix(in srgb, var(--pc-soft) 55%, var(--surface)); border-left: 1px solid var(--line); display: grid; place-items: center; padding: 26px; }
.mini { width: 100%; max-width: 280px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px; padding: 16px; box-shadow: 0 6px 20px -16px rgba(21, 24, 29, .3); display: grid; gap: 11px; }
.mini-t { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.mini-sub { font-size: 12px; color: var(--ink-3); margin-bottom: -6px; }
.mini-pie { display: flex; gap: 6px; flex-wrap: wrap; }
.pill { font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line-2); color: var(--ink-2); white-space: nowrap; }
.pill-cons { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent-h); }
.pill-ia { background: var(--ia-bg); border-color: var(--ia-line); color: var(--ia); }
.pill-dev { background: var(--ml-soft); border-color: var(--ml-line); color: var(--ml-ink); }
.pill-excl { background: var(--excl-soft); border-color: var(--excl-line); color: var(--prod-excl); }
.barras { display: flex; align-items: flex-end; gap: 8px; height: 96px; padding: 0 2px; border-bottom: 1px solid var(--line-2); }
.barras i { flex: 1; border-radius: 5px 5px 0 0; background: var(--accent-line); }
.barras .b1 { height: 30%; } .barras .b2 { height: 46%; } .barras .b3 { height: 38%; } .barras .b4 { height: 62%; }
.barras .b5 { height: 76%; background: var(--accent); } .barras .b6 { height: 92%; background: var(--accent); }
.fila { display: flex; align-items: center; gap: 10px; }
.fila > i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); flex: none; }
.fila .pill { margin-left: auto; }
.l { height: 8px; border-radius: 4px; background: var(--line-2); flex: none; }
.l-45 { width: 45%; } .l-55 { width: 52%; } .l-60 { width: 56%; } .l-70 { width: 60%; } .l-80 { width: 64%; }
.plazo { height: 10px; border-radius: 5px; background: var(--line); overflow: hidden; }
.plazo i { display: block; height: 100%; width: 62%; background: var(--ml); border-radius: 5px; }
.termo { display: flex; gap: 5px; padding: 4px 0; }
.termo i { flex: 1; height: 12px; border-radius: 3px; }
.termo .t1 { background: #e5484d; } .termo .t2 { background: #f08c4a; } .termo .t3 { background: #f1c84b; } .termo .t4 { background: #9bd36b; }
.termo .t5 { background: #2f8f5b; outline: 2px solid var(--ink); outline-offset: 2px; }
/* idioma, arriba a la derecha (dueño 5-oct) */
.idioma { display: flex; align-items: center; gap: 2px; margin: 0; font-size: 13.5px; font-weight: 600; color: var(--ink-4); }
.idioma a { color: var(--ink-3); text-decoration: none; padding: 6px 7px; border-radius: 7px; }
.idioma a:hover { color: var(--accent); }
.idioma a[aria-current="true"] { color: var(--ink); background: var(--surface); border: 1px solid var(--line-2); padding: 5px 6px; }

/* casos de éxito: tarjetas que se abren (details/summary, sin scripts) */
.casos { margin-top: 36px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.caso { background: var(--surface); border: 1px solid var(--line-2); border-radius: 18px; box-shadow: 0 1px 2px rgba(21, 24, 29, .04); transition: border-color .15s, box-shadow .15s; }
.caso:hover, .caso[open] { border-color: var(--accent-line); box-shadow: 0 1px 2px rgba(21, 24, 29, .04), 0 14px 34px -22px rgba(59, 91, 219, .35); }
.caso summary { list-style: none; cursor: pointer; padding: 24px 26px; display: grid; gap: 10px; border-radius: 18px; }
.caso summary::-webkit-details-marker { display: none; }
.caso summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.caso-marca { font-size: 13.5px; font-weight: 600; color: var(--accent); }
.caso-tit { font-size: 21px; font-weight: 600; letter-spacing: -.015em; line-height: 1.25; color: var(--ink); }
.caso-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 12.5px; font-weight: 500; padding: 3px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line-2); color: var(--ink-2); }
.caso-leer { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 500; color: var(--accent); }
.caso-leer::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .15s; }
.caso[open] .caso-leer::after { transform: rotate(-135deg) translateY(-2px); }
.caso-cuerpo { margin: 0 26px; padding: 20px 0 26px; border-top: 1px solid var(--line); display: grid; gap: 16px; }
.caso-cuerpo h3 { font-size: 13.5px; font-weight: 600; color: var(--ink-3); }
.caso-cuerpo p { margin-top: 4px; font-size: 15.5px; color: var(--ink-2); }

/* resultados: parámetros redondos (y ciertos) */
.nums { margin-top: 40px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--surface); border: 1px solid var(--line-2); border-radius: 18px; }
.nums > div { padding: 28px 26px 30px; }
.nums > div + div { border-left: 1px solid var(--line-2); }
.nums dt { font-size: clamp(30px, 3.2vw, 42px); font-weight: 600; letter-spacing: -.03em; line-height: 1.05; }
.nums .n-ia dt { color: var(--ia); }
.nums dd { margin-top: 10px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.logros { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.logros li { position: relative; font-size: 15px; font-weight: 500; padding: 9px 16px 9px 38px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); }
.logros li::before { content: ""; position: absolute; left: 17px; top: 14px; width: 10px; height: 5px; border-left: 2px solid var(--verde); border-bottom: 2px solid var(--verde); transform: rotate(-45deg); }

/* cierre (dueño 5-oct: «super llamativo»): banda azul→violeta a todo el ancho, titular grande en blanco, la franja de los
   canales arriba y los botones en blanco. Contraste: blanco sobre #3b5bdb = 5,4:1. */
.cierre { position: relative; overflow: hidden; isolation: isolate; padding: 104px 0 108px; color: #ffffff;
  background:
    radial-gradient(560px 380px at 88% 18%, rgba(171, 157, 240, .55), transparent 70%),
    radial-gradient(520px 420px at 6% 110%, rgba(122, 147, 240, .45), transparent 70%),
    linear-gradient(120deg, #2f49b8 0%, #3b5bdb 45%, #5a4fc4 100%); }
.cierre::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--ml) 0 46%, var(--wa) 46% 56%, var(--mail) 56% 63%, var(--ig) 63% 69%, var(--fb) 69% 74%, var(--web) 74% 79%, var(--gmb) 79% 100%); }
.cierre::after { content: ""; position: absolute; z-index: -1; right: -120px; top: 50%; width: 520px; height: 520px; transform: translateY(-50%); border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .16); box-shadow: 0 0 0 46px rgba(255, 255, 255, .05), 0 0 0 92px rgba(255, 255, 255, .03); }
.cierre-in { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 34px; }
.cierre h2 { margin-top: 0; max-width: 16ch; font-size: clamp(38px, 5.4vw, 66px); font-weight: 600; letter-spacing: -.035em; line-height: 1.04; color: #ffffff; }
.cierre p { margin-top: 18px; font-size: 18.5px; line-height: 1.55; color: rgba(255, 255, 255, .86); max-width: 52ch; }
.cierre .ctas { margin-top: 0; }
.cierre .btn { padding: 15px 22px; font-size: 15.5px; border-radius: 11px; }
.cierre .btn.pri { background: #ffffff; color: var(--accent-h); box-shadow: 0 10px 28px -12px rgba(10, 14, 40, .55); }
.cierre .btn.pri:hover { background: #eef1fd; }
.cierre .btn.alt { background: transparent; color: #ffffff; border-color: rgba(255, 255, 255, .55); }
.cierre .btn.alt:hover { background: rgba(255, 255, 255, .1); border-color: #ffffff; }
.cierre a:focus-visible { outline-color: #ffffff; }

/* pie: marca · contacto · legal */
.pie { background: #15181d; color: #bfc5cf; }
.pie-in { max-width: 1160px; margin: 0 auto; padding: 48px 28px 36px; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.pie .hubop { font-size: 24px; color: #ffffff; }
.pie .op { color: #94a9f6; }
.pie-lema { margin-top: 6px; font-size: 15px; color: #bfc5cf; }
.pie-certs { margin-top: 14px; font-size: 13px; color: #969ca7; }
.pie-t { font-size: 13px; font-weight: 600; color: #ffffff; margin-bottom: 12px; }
.pie-wa { padding: 10px 14px; font-size: 14px; }
.pie .btn.alt { background: transparent; color: #eceef2; border-color: #454b54; }
.pie .btn.alt:hover { background: #23262d; border-color: #969ca7; }
.pie .btn.alt .ico-wa { color: #5ecf91; }
.pie a:focus-visible { outline-color: #94a9f6; }
.pie-links { display: grid; gap: 8px; font-size: 14.5px; }
.pie-links a, .pie-base a { color: #bfc5cf; text-decoration: none; border-radius: 4px; }
.pie-links a:hover, .pie-base a:hover { color: #ffffff; text-decoration: underline; }
.pie-base { max-width: 1160px; margin: 0 auto; padding: 16px 28px 32px; border-top: 1px solid #31353d; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 13px; color: #969ca7; }

/* ---------- movimiento ---------- */
@keyframes traza { to { stroke-dashoffset: 0; } }
@keyframes aparece { from { opacity: 0; } to { opacity: 1; } }
@keyframes abre { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes late { 0% { transform: scale(.76); opacity: .5; } 80%, 100% { transform: scale(1.32); opacity: 0; } }
@keyframes desliza { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .h-era { animation: none; clip-path: none; }
  .h1-resto { animation: none; opacity: 1; transform: none; }
  .caso, .caso-leer::after { transition: none; }
  .entran .r, .salen .r { animation: none; stroke-dashoffset: 0; }
  .rutas.ancho .nudo, .franja { animation: none; }
  .nudo .aro { animation: none; opacity: .3; transform: none; }
  .nudo .aro.dos { display: none; }
  .cinta { justify-content: center; -webkit-mask-image: none; mask-image: none; }
  .cinta-l { animation: none; flex-wrap: wrap; justify-content: center; gap: 12px 40px; padding: 0 16px; flex: 1 1 auto; }
  .cinta-l[aria-hidden="true"] { display: none; }
}

/* ---------- tableta: una columna; las rutas pasan a ser una franja debajo del texto ---------- */
@media (max-width: 960px) {
  .nav { display: none; }
  .btn-top { margin-left: auto; }
  .hero { min-height: 0; }
  .hero::after { display: none; }
  .rutas.ancho { display: none; }
  .rutas.angosto { display: block; width: 100%; height: auto; max-height: 300px; margin: -16px 0 8px; }
  .rutas.angosto .aro { animation: none; opacity: .3; }
  .hero-in { padding: 52px 28px 8px; }
  .porque, .ia-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .chat { position: static; }
  .dos-cajas, .analisis { grid-template-columns: minmax(0, 1fr); }
  .ciclo { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .ciclo::before { left: 6px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; }
  .ciclo li { padding: 0 0 0 30px; }
  .ciclo li::before { top: 4px; }
  .prod { grid-template-columns: 44px minmax(0, 1fr); }
  .lomo { grid-row: 1 / span 2; }
  .prod-vis { grid-column: 2; padding: 22px; border-left: 0; border-top: 1px solid var(--line); }
  .casos { grid-template-columns: minmax(0, 1fr); }
  .pie-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pie-marca { grid-column: 1 / -1; }
  .nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nums > div:nth-child(3) { border-left: 0; }
  .nums > div:nth-child(n+3) { border-top: 1px solid var(--line-2); }
  .sec { padding: 72px 0; }
}

/* ---------- teléfono ---------- */
@media (max-width: 600px) {
  .in, .top-in, .hero-in { padding-left: 16px; padding-right: 16px; }
  .top-in { gap: 12px; }
  .hubop { font-size: 19px; }
  .hero-in { padding-top: 36px; }
  .lead { font-size: 16px; }
  .ctas .btn { flex: 1 1 100%; }
  .cert { flex: 1 1 100%; }
  .cinta-l li { font-size: 18px; }
  .sec { padding: 56px 0; }
  .pilares { grid-template-columns: minmax(0, 1fr); }
  .caja { padding: 18px; }
  .prod { grid-template-columns: 38px minmax(0, 1fr); }
  .lomo span { font-size: 13px; }
  .prod-cuerpo { padding: 22px 18px; }
  .prod h3 { font-size: 21px; }
  .prod-que { font-size: 15.5px; }
  .prod-vis { padding: 18px; }
  .prod-head { flex-wrap: wrap; }
  .nums { grid-template-columns: minmax(0, 1fr); }
  .nums > div + div { border-left: 0; border-top: 1px solid var(--line-2); }
  .cierre { padding: 72px 0 76px; }
  .cierre::after { width: 320px; height: 320px; right: -160px; }
  .cierre .btn { flex: 1 1 100%; }
  .pie-in { grid-template-columns: minmax(0, 1fr); gap: 26px; padding: 36px 16px 28px; }
  .pie-base { padding: 14px 16px 28px; }
  .pie-wa { width: 100%; }
}
