/* NEXINTI 2.0: conserva la composición, añade movimiento sin librerías. */
body{color-scheme:dark;--bg:#071321;--surface:#102238;--surface2:#132b43;--ink:#f3f7fd;--muted:#c0d0e1;--line:#29445f;--blue:#54c4ff;--orb:#269fe4;--shadow:0 10px 28px #0003}
.scrollprogress{position:absolute;bottom:-1px;left:0;display:block;width:100%;height:2px;border:0;appearance:none;background:transparent;pointer-events:none;accent-color:#35c4ff}
.scrollprogress::-webkit-progress-bar{background:transparent}.scrollprogress::-webkit-progress-value{background:linear-gradient(90deg,#0678d5,#38d9ff)}.scrollprogress::-moz-progress-bar{background:#35c4ff}
.hero .eyebrow,.hero h1,.hero .sub,.hero-actions{animation:nx-entry .64s cubic-bezier(.2,.8,.2,1) both}
.hero h1{animation-delay:70ms}.hero .sub{animation-delay:130ms}.hero-actions{animation-delay:200ms}
.orbnode{animation:nx-node-in .65s cubic-bezier(.2,.8,.2,1) both}
.orbnode.software{animation-delay:130ms}.orbnode.web{animation-delay:190ms}.orbnode.ai{animation-delay:250ms}.orbnode.data{animation-delay:310ms}.orbnode.research{animation-delay:370ms}.orbnode.gis{animation-delay:430ms}
.core{animation:nx-core-glow 4.5s ease-in-out infinite;}
.orbit-idle .rot,.orbit-idle .core{animation-play-state:paused}
.reveal-wait{opacity:0;translate:0 22px;}
.reveal-in{animation:nx-entry .62s cubic-bezier(.2,.8,.2,1) both;}
.cards .reveal-in:nth-child(3n+2),.projectgrid .reveal-in:nth-child(3n+2),.steps .reveal-in:nth-child(4n+2),.complementgrid .reveal-in:nth-child(4n+2),.detailitems .reveal-in:nth-child(3n+2){animation-delay:75ms}
.cards .reveal-in:nth-child(3n),.projectgrid .reveal-in:nth-child(3n),.steps .reveal-in:nth-child(4n+3),.complementgrid .reveal-in:nth-child(4n+3),.detailitems .reveal-in:nth-child(3n){animation-delay:145ms}
.steps .reveal-in:nth-child(4n),.complementgrid .reveal-in:nth-child(4n){animation-delay:210ms}
.route-in .detailhero{animation:nx-route .42s ease-out both;}
.photo img{transition:transform .42s ease;}
.card,.project,.step,.complementitem,.social,.wa,.primary,.secondary{transition:transform .22s ease,border-color .22s ease,background-color .22s ease,box-shadow .22s ease;}
@media(hover:hover){.card:hover .photo img{transform:scale(1.045)}.card:hover,.project:hover,.step:hover,.complementitem:hover{border-color:var(--blue);transform:translateY(-4px);box-shadow:0 9px 28px #0289d51a}.social[href]:hover,.wa:hover{transform:translateY(-3px);box-shadow:0 0 18px #38caff40}.primary:hover,.secondary:hover{transform:translateY(-2px)}}
.footer .social{width:40px;height:40px;display:grid;place-items:center;flex:none}.social svg{width:24px;height:24px;display:block}.social-pending{opacity:.65;cursor:default}.footer .social-note{font-size:11px}.footer-contact a{overflow-wrap:anywhere}.footer-contact{margin-bottom:0}.footer .socials{gap:8px}
.motion-paused .reveal-in,.motion-paused .route-in .detailhero,.motion-paused .hero .eyebrow,.motion-paused .hero h1,.motion-paused .hero .sub,.motion-paused .hero-actions,.motion-paused .orbnode,.motion-paused .core,.motion-paused .rot{animation:none!important;opacity:1;translate:none}
.motion-paused .reveal-wait{opacity:1;translate:none}.motion-paused *{transition:none!important}body.motion-paused .card:hover,body.motion-paused .project:hover,body.motion-paused .step:hover,body.motion-paused .complementitem:hover,body.motion-paused .social:hover,body.motion-paused .wa:hover,body.motion-paused .primary:hover,body.motion-paused .secondary:hover,body.motion-paused .card:hover .photo img{transform:none}body.motion-paused .orbnode:hover{transform:translate(-50%,-50%)}
@keyframes nx-entry{from{opacity:0;translate:0 22px}to{opacity:1;translate:0 0}}
@keyframes nx-node-in{from{opacity:0;scale:.93}to{opacity:1;scale:1}}
@keyframes nx-core-glow{0%,100%{box-shadow:0 0 0 10px #119ce21c,0 0 32px #0b91d830}50%{box-shadow:0 0 0 12px #119ce229,0 0 48px #0b91d85c}}
@keyframes nx-route{from{opacity:.3;translate:0 12px}to{opacity:1;translate:0 0}}
@media(max-width:560px){.reveal-wait{translate:0 14px}.footer .social{width:42px;height:42px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.reveal-wait,.reveal-in{opacity:1;translate:none}.orbnode:hover{transform:translate(-50%,-50%)}.card:hover,.project:hover,.step:hover,.complementitem:hover,.social:hover,.wa:hover,.primary:hover,.secondary:hover,.card:hover .photo img{transform:none}}

/* 2.1 — movimiento perceptible, sin ocultar permanentemente contenido. */
.reveal-wait{translate:0 36px}
.reveal-in{animation-duration:.78s}
.cards .reveal-in:nth-child(3n+2),.projectgrid .reveal-in:nth-child(3n+2){animation-delay:110ms}
.cards .reveal-in:nth-child(3n),.projectgrid .reveal-in:nth-child(3n){animation-delay:220ms}
.section-head.reveal-in .eyebrow::after{content:"";display:block;width:42px;height:2px;background:linear-gradient(90deg,#1386e2,#49d8ff);margin-top:8px;transform-origin:left;animation:nx-line .85s ease both}
.steps{position:relative;isolation:isolate}
.steps::before{content:"";position:absolute;top:0;left:0;width:100%;height:2px;background:linear-gradient(90deg,#0d73bf,#58d4ff);transform-origin:left;scale:0 1;z-index:-1}
.steps.reveal-in::before{animation:nx-line 1.3s .12s ease both}
.form input:focus,.form textarea:focus,.form select:focus{border-color:#54c4ff;box-shadow:0 0 0 3px #54c4ff20}
.form .primary{min-height:48px}.form textarea::placeholder,.form input::placeholder{color:#94a9bd}.form .status:empty{display:none}
@keyframes nx-line{from{scale:0 1}to{scale:1 1}}
@media(max-width:560px){.reveal-wait{translate:0 18px}.steps::before{display:none}}
.motion-paused .steps::before{animation:none!important;scale:1 1}.motion-paused .reveal-wait{opacity:1;translate:none}
@media(prefers-reduced-motion:reduce){.reveal-wait,.reveal-in{opacity:1;translate:none}.steps::before{scale:1 1}.form input:focus,.form textarea:focus,.form select:focus{box-shadow:none}}

/* Contacto directo: enlace de recuperación y foco accesible. */
#wa-fallback{display:block;color:var(--accent,#59c7ff);text-decoration:underline;font-size:13px;line-height:1.5;margin-top:6px}#wa-fallback[hidden]{display:none} .wa:focus-visible,#wa-fallback:focus-visible{outline:3px solid #7edcff;outline-offset:4px}
