/* Home journey: a preserved cinematic opening followed by clear, editorial content. */
body .journey{--ink:#171b2b;--copy:#525c70;--accent:#4946c8;--edge:#dfe4ed;color-scheme:light;color:var(--ink);background:transparent}
body:is(.landing-open,.intro-revealing) #landing .journey :where(h2,h3,p,a,span,strong,small){color:var(--ink);text-shadow:none}
body:is(.landing-open,.intro-revealing) #landing .journey p{color:var(--copy)}
body:is(.landing-open,.intro-revealing) #landing .journey .journey-label,body:is(.landing-open,.intro-revealing) #landing .journey .journey-link{color:var(--accent)}
body:is(.landing-open,.intro-revealing) #landing .journey .journey-button{color:#fff}
body.landing-open #landing .journey h2{color:var(--ink);font-size:clamp(2.4rem,4.5vw,4.1rem);line-height:1.08;letter-spacing:-.055em;font-weight:600}
body .journey p{color:var(--copy);line-height:1.65}
body .journey .journey-label{font-size:.7rem;font-weight:600;letter-spacing:.15em;color:var(--accent);margin-bottom:22px;line-height:1.5}
/* A single white surface with eased opacity. Keep both ends flat so the
   compositor cannot expose clipped blur, tinted overlays or a hero boundary. */
body.landing-open .landing-hero{background:transparent}
body .journey .journey-dawn{
  height:clamp(260px,26vw,410px);margin-top:clamp(-110px,-7vw,-55px);
  position:relative;z-index:2;overflow:hidden;pointer-events:none;isolation:isolate;
  background:linear-gradient(180deg,
    rgba(255,255,255,0) 0%,rgba(255,255,255,0) 6%,
    rgba(255,255,255,.008) 12%,rgba(255,255,255,.035) 18%,
    rgba(255,255,255,.09) 24%,rgba(255,255,255,.18) 30%,
    rgba(255,255,255,.30) 36%,rgba(255,255,255,.44) 42%,
    rgba(255,255,255,.59) 48%,rgba(255,255,255,.73) 54%,
    rgba(255,255,255,.84) 60%,rgba(255,255,255,.92) 66%,
    rgba(255,255,255,.97) 72%,rgba(255,255,255,.992) 78%,
    #fff 84%,#fff 100%);
}
.journey-dawn::before,.journey-dawn::after{content:none}
body.landing-open #capacidades.journey-services{display:block;min-height:0;background:#fff;padding:85px 0 110px;overflow:visible;scroll-margin-top:72px}
body.landing-open #capacidades.journey-services::after,body.landing-open #capacidades.journey-services::before{display:none}
.journey-heading{max-width:700px;margin:0 auto 58px;text-align:center;scroll-margin-top:100px}
.journey-heading>p:last-child{font-size:1.06rem;max-width:550px;margin:24px auto 0}
.journey-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.journey-card{display:flex;flex-direction:column;padding:14px 14px 26px;border:1px solid var(--edge);border-radius:24px;background:#fff;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.journey-card:hover{transform:translateY(-5px);border-color:#aeace5;box-shadow:0 20px 48px #24315410;text-decoration:none}
.service-visual{height:218px;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:16px;margin-bottom:28px;background:#f1f2fd;overflow:hidden}
.service-visual.visual-1{background:#eef7f9}.service-visual.visual-2{background:#f4f0fb}
.visual-map{display:flex;align-items:center;justify-content:center;width:100%;gap:7px;padding:10px}.visual-map img{width:52px;height:52px}.visual-map span{padding:10px 8px;background:white;border:1px solid #dcdff2;border-radius:10px;font-size:.67rem}.visual-map i,.visual-flow i{height:1px;background:#a3acd3;width:20px;flex-shrink:1}.visual-caption{font-size:.7rem;color:#656589;margin-top:16px}
.visual-flow{display:flex;align-items:center;justify-content:center;gap:12px;width:90%}.visual-flow>span{display:grid;place-items:center;width:52px;height:52px;border:1px solid #c4dfe6;background:#fff;border-radius:14px;font-size:1.8rem;color:#378297}.visual-flow .flow-cell{border-radius:50%;background:#e0f0f4;color:#24748c}.visual-labels{display:flex;justify-content:space-between;width:85%;margin-top:17px}.visual-labels small{font-size:.65rem;color:#506b75}
.visual-window{width:78%;background:#fff;border:1px solid #ded9eb;border-radius:12px;padding:12px 16px;box-shadow:0 12px 26px #4a2b7710;transform:rotate(-3deg)}.window-bar{display:flex;gap:4px;border-bottom:1px solid #eeeaf5;padding-bottom:9px;margin-bottom:10px}.window-bar b{width:4px;height:4px;background:#ccc5e0;border-radius:50%}.visual-window strong{font-size:.7rem}.window-content{display:flex;gap:20px;align-items:center;margin:12px 0}.window-content img{width:35px;height:35px}.window-content span{flex:1}.window-content i{display:block;height:4px;margin:6px 0;border-radius:4px;background:#e5e3f2}.window-content i:last-child{width:60%}.window-action{font-size:.62rem;background:#f0edfa;color:#65508e;padding:5px 8px;border-radius:5px}
body .journey .journey-number{font-size:.64rem;color:#68748a;letter-spacing:.035em;margin:0 14px 12px}
body .journey .journey-card h3{font-size:1.43rem;line-height:1.18;letter-spacing:-.04em;margin:0 14px 14px}
body .journey .journey-card>p{font-size:.9rem;line-height:1.6;margin:0 14px 25px}
.journey-card-link{margin:auto 14px 0;padding-top:18px;border-top:1px solid #e7eaf1;display:flex;justify-content:space-between;font-size:.8rem;font-weight:600;color:var(--accent)!important}
body.landing-open #layers.journey-system{display:block;min-height:0;padding:105px 0;background:#f4f6f9;scroll-margin-top:65px}
.journey-system-head{display:grid;grid-template-columns:1.3fr 1fr;align-items:end;gap:65px;margin-bottom:45px}.journey-system-head>p{font-size:1rem;max-width:370px;margin:0 0 5px}
.journey-demo{padding:30px 38px 22px;background:#fff;border:1px solid #e2e6ed;border-radius:24px;box-shadow:0 15px 55px #26345805}
.demo-flow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));list-style:none;margin:35px 0 24px;padding:0;gap:26px}.demo-flow li{position:relative}.demo-flow li:not(:last-child)::after{content:"→";position:absolute;top:22px;left:80px;right:0;color:#b4bdd1;border-bottom:1px solid #e0e5ef;text-align:right;line-height:0;height:9px}
.demo-icon{display:grid;place-items:center;width:64px;height:64px;border-radius:18px;background:#eff2fa;color:#525f8f!important;font-size:2rem;margin-bottom:22px}.demo-icon img{width:39px;height:39px}.demo-icon.icon-2{background:#e5f3ed;color:#247357!important}.demo-icon.icon-3{background:#eef0ff;color:#5553b8!important}.demo-step{font-size:.65rem;color:#778398!important}.demo-flow h3{font-size:1rem;line-height:1.3;margin:6px 0}.demo-flow p{font-size:.78rem;line-height:1.5;max-width:145px}.demo-note{border-top:1px solid #e7eaf0;padding-top:18px;font-size:.72rem;margin:0}
body .journey .journey-method{padding:100px 0;background:#fff}
.journey-phases{display:grid;grid-template-columns:repeat(4,1fr);gap:30px;list-style:none;margin:0 0 38px;padding:0}.journey-phases li{border-top:1px solid #d9deeb;padding-top:20px}.journey-phases span{font-size:.72rem;color:var(--accent)!important}.journey-phases h3{font-size:1.22rem;margin:18px 0 9px}.journey-phases p{font-size:.85rem}.journey-method>.page-width>.journey-link{display:table;margin:auto}
body .journey .journey-link{color:var(--accent);font-size:.87rem;font-weight:600;display:inline-block;padding:10px 0}.journey-link:hover{text-decoration:underline;text-underline-offset:5px}
.journey-products{background:#f4f5f9;padding:75px 0}.journey-products>.page-width{display:grid;grid-template-columns:1.3fr 1fr;gap:90px;align-items:center}.journey-products h2{font-size:clamp(2rem,3vw,3rem)!important}.journey-products p:not(.journey-label){margin-top:20px;max-width:500px;font-size:.95rem}.product-names span{display:flex;justify-content:space-between;align-items:center;font-size:1.8rem;letter-spacing:-.05em;padding:23px 0;border-bottom:1px solid #dce1eb}.product-names small{font-size:.7rem;letter-spacing:0;color:#82899c!important}
body.landing-open #contacto.journey-contact{padding:95px 0 105px;text-align:center;background:#fff;isolation:auto}
body.landing-open #contacto.journey-contact::before{display:none}.journey-contact img{margin:0 auto 30px}.journey-contact p{max-width:530px;margin:24px auto 30px;font-size:1.05rem}.journey-actions{display:flex;justify-content:center;align-items:center;gap:28px}
body .journey .journey-button{display:inline-flex;align-items:center;justify-content:center;background:#4946c8;color:#fff;border-radius:30px;padding:14px 25px;font-size:.9rem;font-weight:600;min-height:48px;transition:background .2s,transform .2s}.journey-button:hover{background:#3431a4!important;transform:translateY(-2px)}
body.landing-open #landing>footer{padding-top:35px;padding-bottom:30px}.journey a:focus-visible{outline-color:#4946c8}
@media(min-width:951px){.demo-icon.icon-1{animation:cell-breathe 4s ease-in-out infinite}@keyframes cell-breathe{50%{box-shadow:0 0 0 7px #7470e50b}}}
@media(max-width:950px){.journey-cards{gap:14px}.journey-card{padding:10px 10px 23px}.service-visual{height:180px}.visual-map{gap:3px}.visual-map img{width:38px;height:38px}.visual-map span{font-size:.55rem;padding:8px 5px}.visual-flow{gap:5px}.visual-flow>span{width:40px;height:40px}.journey-system-head{gap:30px}.journey-products>.page-width{gap:45px}.journey-demo{padding:25px}.demo-flow{gap:14px}}
@media(max-width:700px){body .journey .page-width{width:calc(100% - 40px)}body.landing-open #capacidades.journey-services,body.landing-open #layers.journey-system,.journey-method,body.landing-open #contacto.journey-contact{padding:65px 0}.journey-heading{text-align:left;margin-bottom:32px}.journey-heading>p:last-child{margin:20px 0 0}.journey-cards{grid-template-columns:1fr;gap:22px}.service-visual{height:215px}.visual-map{max-width:320px;gap:12px}.visual-map img{width:55px;height:55px}.visual-map span{font-size:.72rem;padding:12px}.visual-flow,.visual-labels{max-width:300px}.visual-flow>span{width:54px;height:54px}.visual-window{max-width:260px}.journey-card{padding:14px 14px 26px}.journey-system-head,.journey-products>.page-width{grid-template-columns:1fr;gap:25px}.demo-flow{grid-template-columns:1fr;gap:22px;margin:24px 0}.demo-flow li{display:grid;grid-template-columns:55px 1fr;column-gap:17px}.demo-icon{grid-column:1;grid-row:1/4;width:50px;height:50px;border-radius:14px;margin:0;align-self:center}.demo-icon img{width:32px;height:32px}.demo-flow li:not(:last-child)::after{content:"";top:60px;bottom:-19px;height:auto;left:25px;right:auto;border-bottom:0;border-left:1px solid #dce2ec}.demo-step,.demo-flow h3,.demo-flow p{grid-column:2}.demo-flow p{max-width:none;margin:0}.demo-flow h3{margin:2px 0 4px}.demo-note{font-size:.7rem}.journey-phases{grid-template-columns:1fr 1fr;gap:24px}.journey-products{padding:60px 0}.journey-actions{flex-wrap:wrap;gap:12px 25px}.journey-contact h2{font-size:2.6rem!important}.journey-contact .page-width{text-align:center}}
@media(prefers-reduced-motion:reduce){.demo-icon.icon-1{animation:none}.journey-card,.journey-button{transition:none}.journey-card:hover,.journey-button:hover{transform:none}}
