/* v1.8: mobile-only service cards, centered process, portfolio gallery grid */
/* Portfolio: static responsive grid, not carousel */
.np-carousel-shell{width:min(1200px,100%);margin-inline:auto;overflow:visible!important}
.np-carousel-track{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important;overflow:visible!important;scroll-snap-type:none!important;transform:none!important;max-width:100%!important;align-items:stretch!important}
.np-carousel-slide{width:auto!important;min-width:0!important;max-width:none!important;flex:none!important;aspect-ratio:4/5;overflow:hidden;border-radius:15px!important;display:block!important;transform:none!important}
.np-carousel-slide img{display:block;width:100%!important;height:100%!important;object-fit:cover}
.np-carousel-controls,.np-carousel-nav,.np-carousel-prev,.np-carousel-next,.np-carousel-arrow{display:none!important}
@media(max-width:980px){.np-carousel-track{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:660px){.np-carousel-track{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}.np-carousel-slide{aspect-ratio:3/4}}
@media(max-width:390px){.np-carousel-track{gap:9px!important}}
@media(max-width:650px){
 /* Three standalone services on phones, photo above text; eliminate pinned/stacked scene */
 .np-service-stage{padding:22px 14px!important;min-height:0!important}
 .np-service-stage__inner{height:auto!important;min-height:0!important;display:block!important;overflow:visible!important}
 .np-service-stage__media{display:none!important}
 .np-service-stage__content{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:22px!important;background:transparent!important;overflow:visible!important}
 .np-service-panel{position:relative!important;inset:auto!important;display:flex!important;flex-direction:column!important;width:100%!important;max-width:460px!important;margin-inline:auto!important;min-height:0!important;height:auto!important;padding:0 0 26px!important;opacity:1!important;visibility:visible!important;filter:none!important;transform:none!important;overflow:hidden!important;border-radius:18px!important;background:#fff!important;box-shadow:0 12px 32px rgba(0,15,45,.18)!important}
 .np-service-panel:nth-child(n+4){display:none!important}
 .np-service-panel::before{content:''!important;display:block!important;position:relative!important;flex:none!important;width:100%!important;height:clamp(185px,58vw,270px)!important;margin:0 0 22px!important;background-image:var(--mobile-image)!important;background-size:cover!important;background-position:center!important}
 .np-service-panel>*{position:relative!important;max-width:none!important;width:calc(100% - 44px)!important;margin-left:22px!important;margin-right:22px!important}
 .np-service-panel__number{font-size:2.7rem!important;line-height:1.1!important;margin-bottom:10px!important}
 .np-service-panel__title{font-size:clamp(1.5rem,7vw,2.1rem)!important;line-height:1.14!important;overflow-wrap:anywhere}
 .np-service-panel__lead,.np-service-panel .points{font-size:.96rem!important;line-height:1.56!important}
 .np-service-panel .btn{align-self:center!important;max-width:calc(100% - 44px)!important;white-space:normal!important;text-align:center}
 /* Mobile process: clean central cards; curve sits behind, never overlaps text */
 .process-curve .fx-line{position:relative!important;isolation:isolate;max-width:520px!important;width:100%!important;margin-inline:auto!important}
 .process-curve .process-curve__svg{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;z-index:-1!important;opacity:.40!important;pointer-events:none!important}
 .process-curve .fx-line__steps{display:flex!important;flex-direction:column!important;gap:38px!important;align-items:center!important;padding:18px 10px!important;width:100%!important}
 .process-curve .fx-line__steps>.fx-step,.process-curve .fx-line__steps>.fx-step:nth-child(odd),.process-curve .fx-line__steps>.fx-step:nth-child(even){display:flex!important;justify-content:center!important;align-items:center!important;min-height:0!important;width:100%!important;margin:0!important}
 .process-curve .fx-line__steps>.fx-step .fx-step__card{width:100%!important;max-width:440px!important;margin:0 auto!important;position:relative!important;z-index:2!important;padding:26px 24px!important;opacity:1!important;transform:none!important;visibility:visible!important;box-sizing:border-box!important;background:#081b40!important;border:1px solid rgba(255,255,255,.2)!important;box-shadow:0 8px 30px rgba(0,0,0,.22)!important;transition:box-shadow .45s ease,border-color .45s ease,background .45s ease!important}
 .process-curve .fx-step.is-on .fx-step__card{border-color:#e03d50!important;box-shadow:0 0 0 2px rgba(233,53,79,.24),0 0 32px rgba(226,42,69,.40)!important;background:#0b2754!important}
 .process-curve .fx-step__card h3,.process-curve .fx-step__card p{text-align:center!important}
}
@media(prefers-reduced-motion:reduce){.process-curve .fx-step__card{transition:none!important}}
