/* Ciencia de datos y ML: figuras propias de esta página (prefijo cd-). Línea gris 1px, verde solo en lo que importa. */
.cd-split{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:72px;align-items:center}
.cd-split > *{min-width:0}
@media (max-width:960px){.cd-split{grid-template-columns:minmax(0,1fr);gap:48px}.cd-split > figure{order:2}}
.cd-win{display:flex;flex-direction:column;min-width:0}
.cd-hd{position:relative;z-index:1;display:flex;justify-content:space-between;align-items:center;gap:12px 20px;flex-wrap:wrap;padding:16px 20px;border-bottom:1px solid var(--line)}
.cd-hd b{display:block;font:500 15px/1.3 var(--f-display);letter-spacing:-.01em;color:var(--fg-hi)}
.cd-hd small{display:block;font:400 11px/1.4 var(--f-mono);letter-spacing:.06em;text-transform:uppercase;color:var(--fg-3);margin-top:3px}
.cd-lg{display:flex;gap:14px;flex-wrap:wrap;font:500 10.5px/1 var(--f-mono);letter-spacing:.06em;text-transform:uppercase;color:var(--fg-3)}
.cd-lg span{display:inline-flex;align-items:center;gap:7px}
.cd-lg i{width:14px;height:1.5px;background:var(--fg-2)}
.cd-lg i.f{height:2px;background:var(--green)}
.cd-lg i.b{height:9px;background:var(--green-tint);box-shadow:inset 0 0 0 1px var(--green-line)}
.cd-ch{position:relative;z-index:1;padding:14px 14px 6px}
.cd-ch svg{width:100%;height:auto;overflow:visible}
.cd-ch text,.cd-viz text{font-family:var(--f-mono);font-size:11px;letter-spacing:.04em;fill:var(--fg-3)}
.cd-gr{stroke:var(--line-2);stroke-width:1;fill:none}
.cd-hist{fill:none;stroke:var(--fg-2);stroke-width:1.5;stroke-linejoin:round;stroke-linecap:round}
.cd-fc{fill:none;stroke:var(--green);stroke-width:2;stroke-linejoin:round;stroke-linecap:round;stroke-dasharray:1000;stroke-dashoffset:1000;transition:stroke-dashoffset 1.6s var(--ease) .5s}
.cd-band{fill:var(--green-tint);stroke:var(--green-line);stroke-width:1;stroke-dasharray:3 3;opacity:0;transition:opacity 1s var(--ease) 1.3s}
.rv.in .cd-fc{stroke-dashoffset:0}
.rv.in .cd-band,.rv.in .cd-tip{opacity:1}
.cd-now{stroke:var(--line-3);stroke-dasharray:2 4}
.cd-tip{opacity:0;transition:opacity .6s var(--ease) 2s}
.cd-tip rect{fill:var(--bg-2);stroke:var(--line-3)}
.cd-ch .cd-tip .v{fill:var(--fg-hi);font-size:13px}
.cd-dot{fill:var(--bg);stroke:var(--green);stroke-width:2}
.cd-ft{position:relative;z-index:1;display:flex;justify-content:space-between;gap:8px 16px;flex-wrap:wrap;padding:12px 20px 16px;border-top:1px solid var(--line)}
@media (max-width:640px){
  .cd-ch{display:flex;justify-content:flex-end;overflow:hidden;padding:14px 0 6px;-webkit-mask-image:linear-gradient(90deg,transparent,#000 22%);mask-image:linear-gradient(90deg,transparent,#000 22%)}
  .cd-ch svg{flex:none;width:600px;max-width:none}
}

/* Flujo: datos empresariales → modelos ML → decisiones accionables */
.cd-flow{display:grid;grid-template-columns:minmax(0,1fr) 72px minmax(0,.9fr) 72px minmax(0,1.15fr);align-items:stretch}
.cd-st{flex:none;display:flex;flex-direction:column;align-items:flex-end;gap:8px}
.cd-col{display:flex;flex-direction:column}
.cd-col > .mono{height:20px;margin-bottom:16px;display:flex;gap:10px;align-items:center}
.cd-col > .card{flex:1;display:flex;flex-direction:column}
.cd-mid > .card{flex:none;margin:auto 0}
.cd-row{position:relative;z-index:1;flex:1;display:flex;align-items:center;gap:14px;padding:16px 20px;min-height:72px}
.cd-row + .cd-row{border-top:1px solid var(--line)}
.cd-row b{display:block;font:500 15px/1.3 var(--f-display);letter-spacing:-.01em;color:var(--fg-hi)}
.cd-row small{display:block;font-size:13px;line-height:1.4;color:var(--fg-3);margin-top:2px}
.cd-row .tx{flex:1;min-width:0}
.cd-ic{flex:none;width:34px;height:34px;border-radius:9px;display:grid;place-items:center;box-shadow:inset 0 0 0 1px var(--line-2);background:var(--bg-2);color:var(--fg-2)}
.cd-ic svg{width:16px;height:16px}
.cd-link{position:relative;padding-top:36px}
.cd-link svg{width:100%;height:100%}
.cd-link path{fill:none;stroke:var(--line-3);stroke-width:1}
.cd-link.go path{stroke:var(--green);stroke-width:1.5;stroke-dasharray:4 6;animation:cd-flow 1.1s linear infinite}
@keyframes cd-flow{to{stroke-dashoffset:-20}}
.cd-mrow{position:relative;z-index:1;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 20px;border-top:1px solid var(--line);font-size:14px;color:var(--fg)}
.cd-mrow .mono{font-size:11px}
.cd-live{display:inline-flex;align-items:center;gap:8px}
.cd-live::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--green)}
.cd-sp{flex:none;width:72px;height:28px;overflow:visible}
.cd-sp polyline{fill:none;stroke:var(--fg-3);stroke-width:1.2;stroke-linejoin:round;stroke-linecap:round}
.cd-sp .on{stroke:var(--green);stroke-width:1.6}
.chip.cd-on{color:var(--green-text);box-shadow:inset 0 0 0 1px var(--green-line)}
@media (max-width:900px){
  .cd-flow{grid-template-columns:1fr}
  .cd-link{padding:0;height:44px}
  .cd-link svg{display:none}
  .cd-link::before{content:"";position:absolute;left:36px;top:0;bottom:0;border-left:1px solid var(--line-3)}
  .cd-link.go::before{border-left:1.5px dashed var(--green)}
  .cd-mid > .card{margin:0}
}

/* Vistas de tablero en las soluciones */
.cd-viz{position:relative;z-index:1;aspect-ratio:16/10;padding:22px 24px 18px;background:var(--bg);border-bottom:1px solid var(--line);display:flex;align-items:center}
.cd-viz svg{width:100%;height:auto;overflow:visible}
.cd-tr{fill:var(--bg-3)}
.cd-br{fill:var(--fg-3)}
.cd-bg{fill:var(--green)}
.cd-viz .cd-vg,.cd-ch .cd-vg{fill:var(--green-text)}
.cd-viz .cd-hi{fill:var(--fg)}
.cd-thr{stroke:var(--line-3);stroke-dasharray:2 3}
.cd-ring{fill:none;stroke:var(--green);opacity:.5}
@media (max-width:640px){.cd-viz{padding:18px 16px 14px}.cd-viz text{font-size:12px}}
