/* Propuesta de workflow. Sin dependencias ni recursos gráficos externos. */
.workflow-hero {
  color: #FFFFFF;
  background: radial-gradient(ellipse at 50% 80%, #13447755, transparent 65%), linear-gradient(135deg, #00162f, #002B5B);
}
.hero-heading { position: relative; text-align: center; padding-top: clamp(3rem, 6vw, 5rem); }
.hero-data-flow {
  position: absolute;
  inset: 38% 0 auto;
  width: 100%;
  height: auto;
  pointer-events: none;
}
.hero-data-traces { fill: none; stroke: #b7d9f2; stroke-width: 1; opacity: .28; }
.hero-data-traces path, .hero-data-traces circle { vector-effect: non-scaling-stroke; }
.hero-data-traces circle { fill: #002B5B; }
.hero-data-packets path {
  fill: none;
  stroke: #FFFFFF;
  stroke-width: 3.6;
  stroke-linecap: round;
  stroke-dasharray: .45 120;
  opacity: 0;
  animation: hero-data-packet 8s linear infinite paused;
}
.hero-data-packets path:nth-child(2) { animation-delay: -4s; stroke: #F57C00; }
.hero-data-packets path:nth-child(3) { animation-delay: -2s; }
.hero-data-packets path:nth-child(4) { animation-delay: -6s; stroke: #F57C00; }
.hero-data-flow.ambient-running .hero-data-packets path { animation-play-state: running; }
@keyframes hero-data-packet {
  0% { stroke-dashoffset: 0; opacity: 0; }
  15%, 68% { opacity: .8; }
  82%, 100% { stroke-dashoffset: -100; opacity: 0; }
}
@media (max-width: 67rem) {
  .hero-heading { padding-top: 4rem; }
  .hero-data-flow { inset-block-start: .35rem; height: 3rem; }
  .hero-data-packets path { stroke-width: 5; }
}
.hero-specialty { color: #c5d9ed; font-size: .9375rem; font-weight: 650; letter-spacing: .04em; }
.workflow-hero h1 { max-width: 24ch; text-wrap: balance; margin: 1.1rem auto 1.3rem; font-size: clamp(2.35rem, 4.2vw, 4rem); letter-spacing: -.055em; line-height: 1.06; font-weight: 750; }
.workflow-hero h1 span { color: #FFFFFF; }
.hero-summary { max-width: 53ch; margin-inline: auto; color: #d6e4f2; font-size: 1.125rem; line-height: 1.7; }
.hero-author { margin-top: .75rem; color: #b8cfe4; font-size: .9375rem; }
.hero-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .6rem 1.6rem; margin-block: 1.6rem 2.6rem; }
.hero-primary { background: #F57C00; color: #001b38; padding-inline: 1.3rem; min-height: 3.2rem; }
.hero-primary:hover { background: #ff9d3c; }
.hero-secondary { display: inline-flex; align-items: center; min-height: 3rem; color: #FFFFFF; font-size: .9375rem; font-weight: 650; }
.workflow-demo {
  --workflow-active: #a6dcff;
  --workflow-active-background: #1d476d;
  --workflow-background: #041e3c;
  margin-block: 0;
  padding: 0;
  border: 1px solid #88afd03d;
  border-radius: 1rem;
  background: var(--workflow-background);
  box-shadow: 0 30px 55px -30px #000f22c0, inset 0 1px #ffffff12;
}
.workflow-toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .6rem; padding: .75rem 1.4rem; border-bottom: 1px solid #88afd030; font-size: .9375rem; color: #d6e4f2; }
.motion-toggle { color: #d6e4f2; background: transparent; border: 1px solid #88afd055; border-radius: .35rem; min-height: 2.75rem; padding: .4rem .75rem; font: inherit; font-size: .875rem; cursor: pointer; }
.motion-toggle:hover { background: #ffffff0a; }
button:focus-visible { outline: 2px solid #F57C00; outline-offset: 4px; }
.workflow-demo button:focus-visible { outline-color: #a6dcff; }
.workflow-canvas {
  position: relative;
  height: 380px;
  margin: 1rem 1.2rem 0;
  background-image: radial-gradient(#93b5d326 1px, transparent 1px);
  background-size: 19px 19px;
}
.workflow-wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.workflow-wires path { fill: none; vector-effect: non-scaling-stroke; }
.wire-base path { stroke: #527b9e; stroke-width: 1.5px; transition: stroke .2s, stroke-width .2s; }
.wire-base .is-carrying { stroke: #83a9cb; stroke-width: 2px; }
.wire-base .review-wire { stroke-dasharray: 4 5; stroke: #8ba6bd; }
.wire-base .is-inspected { stroke: var(--workflow-active); stroke-width: 2px; }
.wire-pulse { fill: #ffbd80; filter: drop-shadow(0 0 4px #F57C00); }
.node-group { position: absolute; top: 0; bottom: 0; width: 14.1%; }
.group-label { position: absolute; top: 8px; width: 100%; text-align: center; color: #bdd4e9; font-size: .875rem; }
.source-group { left: 0; width: 16.43%; }
.validation-group { left: 23.66%; }
.transform-group { left: 44.2%; }
.integration-group { left: 64.73%; }
.result-group { left: 85.71%; width: 14.29%; }
.flow-node {
  --node-icon-accent: #f3ad65;
  --node-icon-stroke: #bad5ed;
  appearance: none; position: absolute; width: 100%;
  display: flex; align-items: center; justify-content: center; gap: .65rem;
  padding: .7rem; border: 1px solid #7398ba80; border-radius: .55rem;
  color: #FFFFFF; background-color: #113352;
  box-shadow: 0 6px 12px #000e222b;
  font: inherit; text-align: left; cursor: pointer;
  scale: 1;
  transition: scale .25s ease-out, background-color .25s, border-color .25s, box-shadow .25s;
}
.flow-node::before, .flow-node::after { content: ""; position: absolute; width: 5px; height: 5px; top: calc(50% - 3px); border: 1px solid #9cbedb; border-radius: 50%; background: #041e3c; }
.flow-node::before { left: -4px; }
.flow-node::after { right: -4px; }
.source-node::before, .result-node::after { display: none; }
.flow-node.is-receiving {
  --node-icon-accent: var(--workflow-active);
  border-color: #83b9e5;
  box-shadow: 0 0 16px #7ec3ff30;
}
.flow-node.is-inspected {
  --node-icon-accent: var(--workflow-active);
  --node-icon-stroke: #d1ecff;
  border-color: var(--workflow-active);
  background-color: var(--workflow-active-background);
}
.flow-node.is-inspected {
  scale: 1.03;
  z-index: 1;
  box-shadow: 0 0 18px #7ec3ff40, 0 8px 18px #000e2260;
}
.flow-node.is-inspected strong { color: var(--workflow-active); }
.flow-node.is-receiving:not(.is-inspected) strong { color: #c3e5ff; }
.flow-node.is-inspected .node-icon, .flow-node.is-receiving .node-icon {
  filter: drop-shadow(0 0 4px #8ccfff66);
}
.flow-node strong { display: block; font-size: 1rem; line-height: 1.3; font-weight: 650; }
.flow-node small { display: block; margin-top: .3rem; font-size: .875rem; color: #bfd4e7; line-height: 1.35; }
.source-node { height: 80px; justify-content: flex-start; top: 40px; }
.source-node:nth-of-type(2) { top: 136px; }
.source-node:nth-of-type(3) { top: 232px; }
.source-node small { font-size: .8125rem; }
.node-icon { flex: 0 0 1.7rem; width: 1.7rem; height: 1.7rem; display: inline-flex; align-items: center; justify-content: center; font-size: 1.35rem; color: var(--node-icon-accent); line-height: 1; }
.icon-grid { background-image: linear-gradient(var(--node-icon-stroke) 1px, transparent 1px), linear-gradient(90deg, var(--node-icon-stroke) 1px, transparent 1px); background-size: 8px 8px; border: 1px solid var(--node-icon-stroke); border-radius: 2px; width: 22px; height: 22px; flex-basis: 22px; }
.icon-form { border: 1px solid var(--node-icon-stroke); border-radius: 2px; height: 24px; width: 20px; flex-basis: 20px; background: repeating-linear-gradient(transparent 0 6px, var(--node-icon-stroke) 6px 7px); }
.process-node-new { top: 120px; height: 112px; flex-direction: column; gap: .3rem; text-align: center; }
.process-node-new .node-icon { flex: 0 0 1.5rem; }
.process-node-new small { margin: 0; }
.icon-transform::before { content: ""; display: block; width: 18px; height: 18px; border: 2px solid var(--node-icon-accent); border-radius: 3px; box-shadow: 5px -5px #153959, 7px -7px var(--node-icon-accent); }
.icon-integrate::before { content: ""; display: block; width: 22px; height: 12px; border: 2px solid var(--node-icon-accent); border-radius: 3px; box-shadow: 0 6px #153959, 0 8px var(--node-icon-accent); }
.review-node { position: absolute; top: 284px; width: 100%; padding: .6rem .3rem; border: 1px dashed #88a8c680; border-radius: .4rem; color: #d6e4f2; text-align: center; font-size: .875rem; line-height: 1.3; background: #09243f; }
.review-node small { display: block; color: #a9c3d9; font-size: .8125rem; margin-top: .3rem; }
.result-node { top: 88px; height: 80px; }
.result-node:nth-of-type(2) { top: 206px; }
.result-node .node-icon { flex-basis: 1.2rem; }
.result-node small { font-size: .8125rem; }
.icon-report::before { content: ""; width: 20px; height: 23px; border: 1px solid var(--node-icon-stroke); border-radius: 2px; background: linear-gradient(90deg, transparent 20%, var(--node-icon-accent) 20% 34%, transparent 34% 45%, var(--node-icon-stroke) 45% 60%, transparent 60% 72%, var(--node-icon-stroke) 72% 87%, transparent 87%) center / 100% 60% no-repeat; }
.workflow-explanation { display: grid; grid-template-columns: 13rem 1fr; gap: 1rem; padding: 1.2rem 1.5rem; background-color: var(--workflow-background); border-top: 1px solid #88afd045; transition: background-color .25s; }
.workflow-demo.has-inspected-step .workflow-explanation { background-color: var(--workflow-active-background); }
.workflow-explanation strong {
  align-self: start;
  font-size: 1rem;
  color: var(--workflow-active);
  border-inline-start: 2px solid currentColor;
  padding-inline-start: .65rem;
}
.workflow-explanation p { color: #e1f0ff; font-size: .9375rem; }
.workflow-demo figcaption { padding: .7rem 1.5rem 1rem; color: #a9c3d9; font-size: .8125rem; }
.hero-motto { padding-block: 1.5rem 2.5rem; text-align: center; color: #bdd4e9; font-size: .9375rem; }

/* Capacidades y ejemplos de aplicación. */
.solutions-section { padding-block: clamp(3rem, 6vw, 5.5rem); background: #FFFFFF; border-block: 1px solid #e0e8f1; }
.solutions-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: .9rem 4rem; margin-bottom: 2.5rem; }
.solutions-heading .eyebrow { grid-column: 1 / -1; }
.solutions-heading h2 { font-size: clamp(2rem, 3.4vw, 3rem); }
.solutions-heading > p:last-child { max-width: 47ch; font-size: 1.0625rem; }
.capabilities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.capabilities article { padding: clamp(1.4rem, 3vw, 2.2rem); border: 1px solid #d9e2ed; border-radius: .7rem; background: #FFFFFF; box-shadow: 0 10px 25px -22px #002b5b70; }
.capabilities h3 { font-size: 1.4rem; margin-bottom: .8rem; }
.capabilities p { max-width: 52ch; }
.capabilities span { display: block; margin-block: 1.3rem .4rem; color: #002B5B; font-size: .875rem; font-weight: 700; }
.capabilities article p:last-child { font-size: .9375rem; }
.custom-solution { display: grid; grid-template-columns: 12rem 1fr auto; gap: 1rem 2rem; align-items: start; padding-top: 1.8rem; margin-top: 2rem; border-top: 1px solid #c9d7e6; }
.custom-solution strong { font-size: 1.2rem; line-height: 1.3; }
.custom-solution a { font-weight: 650; display: inline-flex; min-height: 2.75rem; align-items: center; }

/* Conservación de las secciones que acompañan a la portada. */
.process-intro { padding-block: 4rem; }
.process-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 4rem; align-items: center; margin-top: 1.1rem; }
.process-intro h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
.featured-flow { background: linear-gradient(120deg, #001b3d, #002B5B 50%, #174c80); color: #FFFFFF; }
.featured-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 2rem 4rem; padding-block: 4.3rem; align-items: center; }
.featured-flow .eyebrow { color: #F57C00; margin-bottom: .85rem; }
.featured-flow h2 { max-width: 20ch; font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
.featured-flow p:not(.eyebrow) { color: #d5e2f0; }
.featured-copy > p:not(.eyebrow) { margin-top: 1.2rem; line-height: 1.8; max-width: 48ch; }
.video-preview { margin: 0; border: 1px solid #ffffff40; border-radius: .8rem; overflow: hidden; box-shadow: 0 20px 40px #00112840; background: #001d41; }
.video-player { position: relative; aspect-ratio: 16 / 9; background: #001d41; }
.video-play {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: grid; place-items: center; padding: 0; border: 0;
  background: #002B5B; color: #FFFFFF; cursor: pointer; font: inherit;
}
.video-play img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; opacity: .82; }
.video-play::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, #001b3dbf); pointer-events: none; }
.video-play-icon {
  position: absolute; z-index: 1; display: grid; place-items: center;
  width: 4.2rem; height: 3.1rem; border-radius: .7rem;
  background: #F57C00; box-shadow: 0 4px 18px #00152b70;
  transition: background .2s, transform .2s;
}
.video-play-icon::before { content: ""; margin-left: .25rem; border-block: .6rem solid transparent; border-left: .95rem solid #002B5B; }
.video-play:hover .video-play-icon { background: #ff9d3c; transform: scale(1.05); }
.video-play:focus-visible { outline: 3px solid #F57C00; outline-offset: -5px; }
.video-play-label { position: absolute; bottom: .85rem; z-index: 1; padding-inline: 1rem; text-align: center; font-size: .9375rem; font-weight: 650; }
.video-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-player iframe:focus-visible { outline: 2px solid #F57C00; outline-offset: -2px; }
.video-noscript { padding: .8rem 1.2rem; }
.video-preview figcaption a { text-underline-offset: .2em; }
.video-preview figcaption { padding: .8rem 1.2rem; border-top: 1px solid #ffffff25; color: #d5e2f0; font-size: .875rem; }
.profile { grid-template-columns: minmax(0, 19rem) minmax(0, 40rem); align-items: center; }
.profile-portrait {
  position: relative;
  width: 100%;
  max-width: 19rem;
  aspect-ratio: 1 / 1.05;
  overflow: hidden;
  /* Complete the fade before the bottom of the frame clips the image. */
  --portrait-fade: linear-gradient(
    to bottom,
    #000 64%,
    rgb(0 0 0 / .9) 74%,
    rgb(0 0 0 / .52) 84%,
    rgb(0 0 0 / .12) 93%,
    transparent 98%
  );
  -webkit-mask-image: var(--portrait-fade);
  mask-image: var(--portrait-fade);
}
.profile .profile-portrait img {
  position: absolute;
  width: 125%;
  max-width: none;
  height: auto;
  max-height: none;
  top: -2%;
  left: -12.5%;
  border: 0;
  border-radius: 0;
}
.profile-copy { padding-left: 1.5rem; border-left: 2px solid #F57C00; }
.profile p { line-height: 1.8; }

@media (max-width: 60rem) {
  .workflow-canvas { height: auto; margin: 1rem; display: grid; gap: 2.2rem; }
  .workflow-demo:not(.workflow-ready) .workflow-wires { display: none; }
  .node-group { position: relative; inset: auto; width: 100%; display: grid; gap: .7rem; }
  .group-label { position: static; margin: 0 0 .3rem; text-align: left; font-size: .9375rem; }
  .flow-node { position: relative; top: auto !important; min-height: 4.5rem; height: auto; }
  .source-group { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .source-group .group-label { grid-column: 1 / -1; }
  .source-node { flex-direction: column; text-align: center; padding: .9rem .45rem; }
  .flow-node::before, .flow-node::after { display: none; }
  .workflow-demo:not(.workflow-ready) .node-group:not(:last-child)::after { content: ""; position: absolute; width: 2px; height: 2.2rem; left: calc(50% - 1px); bottom: -2.2rem; background: linear-gradient(#83accb, #F57C00); }
  .process-node-new { flex-direction: row; padding: 1rem; justify-content: flex-start; text-align: left; flex-wrap: wrap; }
  .process-node-new small { margin-left: auto; }
  .review-node { position: static; width: auto; margin: .5rem 0 0 2rem; padding: .8rem; text-align: left; }
  .review-node small { display: inline; margin-left: .4rem; }
  .result-group { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .result-group .group-label { grid-column: 1 / -1; }
  .workflow-explanation { grid-template-columns: minmax(0, 1fr); gap: .4rem; }
  .custom-solution { grid-template-columns: minmax(0, 1fr); gap: .8rem; }
}
@media (max-width: 48rem) {
  .process-intro-grid, .featured-grid, .solutions-heading, .capabilities { grid-template-columns: minmax(0, 1fr); }
  .profile { grid-template-columns: minmax(0, 1fr); }
  .profile-portrait { max-width: 17rem; }
  .solutions-heading { gap: 1rem; }
  .featured-grid { gap: 1.5rem; }
}
@media (max-width: 36rem) {
  .workflow-hero h1 { font-size: clamp(2.4rem, 9vw, 3rem); }
  .hero-summary { font-size: 1rem; }
  .hero-author { font-size: .875rem; }
  .workflow-toolbar { padding-inline: 1rem; }
  .workflow-demo { border-radius: .7rem; }
  .source-group, .result-group { gap: .45rem; }
  .source-node, .result-node { flex-direction: column; text-align: center; padding: .65rem .25rem; }
  .source-node strong, .result-node strong { font-size: .875rem; overflow-wrap: anywhere; }
  .source-node small, .result-node small { font-size: .75rem; overflow-wrap: anywhere; }
  .process-node-new small { margin-left: 0; flex-basis: 100%; }
  .review-node { margin-left: 1rem; }
  .review-node small { display: block; margin: .4rem 0 0; }
  .hero-links { flex-direction: column; gap: .3rem; }
  .hero-motto { font-size: .875rem; }
  .workflow-explanation { padding: 1rem; }
  .workflow-demo figcaption { padding-inline: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-data-packets { display: none; }
  .hero-data-packets path { animation: none; }
  .wire-pulse { display: none; }
  .wire-base path { transition: none; }
  .flow-node, .flow-node.is-inspected { scale: none; }
  .flow-node, .workflow-explanation, .video-play-icon { transition: none; }
}



/* Contenidos educativos y perfiles sociales. */
.ideas-section { padding-block: clamp(3rem, 6vw, 5rem); border-top: 1px solid #e0e8f1; }
.ideas-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 3rem; align-items: center; margin-bottom: 2rem; }
.ideas-heading h2 { font-size: clamp(2rem, 3.4vw, 3rem); }
.ideas-heading p { max-width: 45ch; font-size: 1.0625rem; }
.article-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.article-image { display: block; overflow: hidden; border-radius: .65rem; background: #eef3f8; }
.article-image img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.article-copy time { display: block; color: #42546A; font-size: .875rem; margin-bottom: .7rem; }
.article-copy h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); max-width: 30ch; line-height: 1.2; }
.article-copy h3 a { text-decoration: none; }
.article-copy h3 a:hover { text-decoration: underline; text-decoration-color: #F57C00; }
.article-copy > p { max-width: 55ch; margin-top: .8rem; }
.article-read { display: inline-flex; align-items: center; min-height: 2.75rem; margin-top: .8rem; color: #002B5B; font-weight: 650; text-underline-offset: .2em; }
.ideas-resource {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-top: 2rem;
  padding: 1.3rem 0 0;
  border-top: 1px solid #d9e2ed;
}
.ideas-resource > div { flex: 1 1 24rem; min-width: 0; }
.ideas-resource h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); }
.ideas-resource p { margin-top: .4rem; }
@media (max-width: 48rem) {
  .ideas-heading { grid-template-columns: minmax(0, 1fr); }
  .article-feature { grid-template-columns: minmax(0, 1fr); }
  .article-image { max-width: 30rem; }
}


