/* Homepage only. Without JavaScript, all service descriptions remain visible. */
.nsx { --nsx-dur:.75s; --nsx-ease:cubic-bezier(.65,0,.25,1); padding:48px 28px 28px; background:#f5f8f6; color:#10241a; scroll-margin-top:84px; }
.nsx-panels { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; max-width:1320px; margin:auto; }
.nsx-panel { position:relative; min-width:0; overflow:hidden; border-radius:8px; background:#10251c; color:#fff; isolation:isolate; }
.nsx-media { position:absolute; inset:0; z-index:-2; overflow:hidden; pointer-events:none; }
.nsx-media img { width:100%; height:100%; object-fit:cover; transform:scale(1.06); }
.nsx-media { transition:filter var(--nsx-dur) var(--nsx-ease),opacity var(--nsx-dur) ease,transform 1.4s cubic-bezier(.22,1,.36,1); }
.nsx-panel::after { content:''; position:absolute; inset:0; z-index:-1; pointer-events:none; background:linear-gradient(100deg,rgba(5,16,12,.56),rgba(5,16,12,.28) 65%,rgba(5,16,12,.08)),linear-gradient(0deg,rgba(5,16,12,.65),transparent 60%); transition:opacity .4s ease; }
.nsx-panel[data-solution="web"]::after,.nsx-panel[data-solution="team"]::after { background:linear-gradient(100deg,rgba(5,16,12,.72),rgba(5,16,12,.48) 65%,rgba(5,16,12,.12)),linear-gradient(0deg,rgba(5,16,12,.65),transparent 60%); }
.nsx-panel-heading { margin:0; font:inherit; }
.nsx-trigger { display:flex; align-items:center; width:100%; gap:16px; padding:26px 28px; border:0; background:transparent; color:#fff; text-align:left; font:inherit; }
.nsx-index { color:#c2ddce; font-size:11px; font-weight:600; letter-spacing:.08em; }
.nsx-label { font-size:14px; font-weight:700; white-space:nowrap; }
.nsx-plus { display:none; margin-left:auto; width:44px; height:44px; border:1px solid #ffffff90; border-radius:50%; position:relative; flex-shrink:0; }
.nsx-plus::before,.nsx-plus::after { content:''; position:absolute; left:11px; right:11px; height:1px; top:20px; background:currentColor; }
.nsx-plus::after { transform:rotate(90deg); transition:transform .3s ease; }
.nsx-trigger[aria-expanded="true"] .nsx-plus::after { transform:rotate(0); }
.nsx-content { padding:24px 28px 32px; }
.nsx-content[hidden] { display:none; }
.nsx-content h4 { max-width:660px; font-size:clamp(28px,3vw,44px); line-height:1.16; font-weight:700; letter-spacing:-.035em; text-wrap:balance; }
.nsx-content p { max-width:560px; margin-top:24px; font-size:15px; line-height:1.8; color:#e2ebe5; }
.nsx-cta { display:inline-flex; align-items:center; justify-content:center; gap:24px; min-height:46px; padding:12px 20px; margin-top:28px; border-radius:99px; background:#fff; color:#10241a; font-size:13px; font-weight:700; transition:background .2s ease,transform .2s ease; }
.nsx-cta svg { transition:transform .2s ease; }
.nsx-features { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; margin:28px 0 0; padding:18px 0 0; list-style:none; border-top:1px solid #ffffff36; }
.nsx-features li { display:flex; flex-direction:column; gap:9px; font-size:12px; line-height:1.5; font-weight:600; color:#e6f0e9; }
.nsx-feature-num { color:#aac6b7; font-size:10px; font-weight:400; }
/* Overview: light intro panel with a looping video (dark text on white). */
.nsx-panel[data-solution="overview"] { background:#f1f7f3; color:#0c1411; }
.nsx-intro-video { width:100%; height:100%; object-fit:cover; object-position:center; }
.nsx.is-enhanced .nsx-panel[data-solution="overview"] .nsx-content h4 { max-width:500px; }
.nsx-panel[data-solution="overview"]::after { background:linear-gradient(90deg,rgba(241,247,243,.9) 0%,rgba(241,247,243,.6) 34%,rgba(241,247,243,0) 56%); }
.nsx-panel[data-solution="overview"] .nsx-trigger,.nsx-panel[data-solution="overview"] .nsx-arrow { color:#0c1411; }
.nsx-panel[data-solution="overview"] .nsx-content p { color:#3b4a43; }
.nsx-panel[data-solution="overview"] .nsx-cta { background:#0c1411; color:#fff; }
.nsx-panel[data-solution="overview"] .nsx-plus,.nsx-panel[data-solution="overview"] .nsx-arrow { border-color:#0c141166; }
.nsx-panel[data-solution="overview"] .nsx-slide-count { color:#4b5b53; }
.nsx-panel[data-solution="overview"] .nsx-timebar { background:#0c14111f; }
.nsx-panel[data-solution="overview"] .nsx-timebar span { background:#10a36b; }
.nsx.is-enhanced .nsx-panel[data-solution="overview"] .nsx-label::after { border-color:#0c141199; }
.nsx.is-enhanced .nsx-panel[data-solution="overview"]:not(.is-active)::after { background:linear-gradient(0deg,rgba(241,247,243,.45),rgba(241,247,243,.15)); }
.nsx-panel[data-solution="overview"] .nsx-trigger:focus-visible,.nsx-panel[data-solution="overview"] .nsx-cta:focus-visible,.nsx-panel[data-solution="overview"] .nsx-arrow:focus-visible { outline-color:#10a36b; }
.nsx-panel[data-solution="overview"] .nsx-content h4 { max-width:430px; }
.nsx-panel[data-solution="overview"] .nsx-content p { max-width:340px; }
.nsx.is-enhanced .nsx-panels { display:flex; align-items:stretch; }
.nsx.is-enhanced .nsx-panel { flex:0 0 88px; min-height:560px; transition:flex-grow var(--nsx-dur) var(--nsx-ease),flex-basis .45s cubic-bezier(.22,1,.36,1); }
.nsx.is-enhanced .nsx-panel.is-active { flex-grow:1; }
.nsx.is-enhanced .nsx-panel-heading { position:absolute; inset:0; z-index:2; pointer-events:none; }
.nsx.is-enhanced .nsx-trigger { position:absolute; inset:0; width:100%; height:100%; padding:0; pointer-events:auto; }
.nsx.is-enhanced .nsx-panel.is-active .nsx-trigger { height:70px; }
.nsx.is-enhanced .nsx-index { display:none; }
.nsx.is-enhanced .nsx-label { position:absolute; top:14px; right:44px; width:250px; padding-right:26px; text-align:right; font-size:14px; font-weight:500; line-height:24px; transform-origin:100% 12px; transform:rotate(-90deg); transition:transform var(--nsx-dur) var(--nsx-ease),top var(--nsx-dur) var(--nsx-ease); }
.nsx.is-enhanced .nsx-label::after { content:''; position:absolute; right:0; top:8px; width:8px; height:8px; border:1px solid #ffffffb3; border-radius:50%; }
.nsx.is-enhanced .nsx-panel.is-active .nsx-label { top:24px; transform:translateX(16px) rotate(0deg); }
.nsx.is-enhanced .nsx-plus { display:block; position:absolute; right:22px; bottom:24px; margin:0; opacity:1; transform:translateX(0) rotate(0); transition:opacity .35s ease,transform var(--nsx-dur) var(--nsx-ease),background .25s ease,border-color .25s ease,color .25s ease; }
.nsx.is-enhanced .nsx-panel.is-active .nsx-plus { opacity:0; transform:translateX(16px) rotate(90deg); pointer-events:none; }
.nsx.is-enhanced .nsx-content { width:calc(min(1320px, 100vw - 56px) - 312px); padding:104px clamp(28px,4.4vw,64px) 104px; visibility:hidden; opacity:0; transition:opacity .12s ease,visibility 0s .12s; }
/* The opening panel uncovers content that is already in place (fixed width, clipped by the panel). */
.nsx.is-enhanced .nsx-panel.is-active .nsx-content { visibility:visible; opacity:1; transition:opacity .2s ease,visibility 0s; }
.nsx.is-enhanced .nsx-content h4 { font-family:var(--font-serif); font-size:clamp(34px,4vw,56px); font-weight:400; line-height:1.06; letter-spacing:-.025em; max-width:700px; }
.nsx.is-enhanced .nsx-content > p,.nsx.is-enhanced .nsx-content > .nsx-cta,.nsx.is-enhanced .nsx-content > .nsx-features { margin-left:clamp(0px,5vw,80px); }
.nsx.is-enhanced .nsx-content > p { max-width:530px; font-size:14px; line-height:1.7; }
.nsx.is-enhanced .nsx-panel[data-solution="overview"] .nsx-content { padding-top:140px; }
.nsx.is-enhanced .nsx-panel:not(.is-active) .nsx-media { filter:blur(14px); opacity:.75; transform:scale(1.08); }
.nsx.is-enhanced .nsx-panel:not(.is-active) .nsx-media img { object-position:75% center; }
.nsx.is-enhanced .nsx-panel:not(.is-active)::after { background:linear-gradient(0deg,rgba(6,22,14,.78),rgba(6,22,14,.42)); }
.nsx.is-enhanced .nsx-panel.is-active .nsx-media img { animation:nsx-drift 18s ease-in-out infinite alternate; animation-play-state:paused; }
.nsx.is-enhanced.has-ambient-motion .nsx-panel.is-active .nsx-media img { animation-play-state:running; }
.nsx-controls { display:flex; justify-content:flex-end; max-width:1320px; min-height:44px; margin:6px auto 0; }
.nsx-motion { display:inline-flex; align-items:center; gap:8px; min-height:44px; padding:8px 4px; background:none; border:0; color:#596d5f; font:inherit; font-size:11px; }
.nsx-motion[hidden] { display:none; }
.nsx-play-icon,.nsx-motion[aria-pressed="true"] .nsx-pause-icon { display:none; }
.nsx-motion[aria-pressed="true"] .nsx-play-icon { display:block; }
.nsx-trigger:focus-visible { outline:2px solid #baf8d9; outline-offset:-5px; border-radius:16px; }
.nsx-cta:focus-visible { outline:2px solid #baf8d9; outline-offset:5px; }
.nsx-panel-controls { position:absolute; left:clamp(28px,3vw,48px); right:28px; bottom:24px; display:flex; align-items:center; gap:12px; }
.nsx-panel-controls[hidden] { display:none; }
.nsx-timebar { height:1px; background:#ffffff26; flex:1; margin-right:14px; overflow:hidden; }
.nsx-timebar span { display:block; width:100%; height:100%; background:#c6f5dd; transform:scaleX(var(--nsx-progress,0)); transform-origin:left; }
.nsx.is-static .nsx-timebar { visibility:hidden; }
.nsx-slide-count { font-size:10px; color:#d5e4da; font-variant-numeric:tabular-nums; letter-spacing:.08em; margin-right:8px; }
.nsx-arrow { display:grid; place-items:center; width:44px; height:44px; flex:0 0 44px; border:1px solid #ffffff90; border-radius:50%; background:transparent; color:#fff; transition:background .2s ease; }
.nsx-arrow:hover { background:#ffffff20; }
.nsx-arrow:focus-visible { outline:2px solid #baf8d9; outline-offset:3px; }
.nsx-sr { position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.nsx-mobile-picker { display:none; }
@keyframes nsx-drift { from { transform:scale(1.06) translateX(-.8%); } to { transform:scale(1.14) translateX(.8%); } }
@media(hover:hover) { .nsx-cta:hover { background:#c6f5dd; transform:translateY(-2px); } .nsx-cta:hover svg { transform:translate(2px,-2px); } .nsx-trigger:hover { background:#ffffff06; } .nsx-panel:not(.is-active) .nsx-trigger:hover .nsx-plus { background:#fff; border-color:#fff; color:#10241a; } .nsx.is-enhanced .nsx-panel:not(.is-active):hover { flex-basis:112px; } .nsx.is-enhanced .nsx-panel:not(.is-active):hover::after { opacity:.72; } .nsx-panel[data-solution="overview"] .nsx-cta:hover { background:#1f2d27; } .nsx-panel[data-solution="overview"] .nsx-arrow:hover { background:#0c14110f; } .nsx-panel[data-solution="overview"]:not(.is-active) .nsx-trigger:hover .nsx-plus { background:#0c1411; border-color:#0c1411; color:#fff; } .nsx.is-enhanced .nsx-panel:not(.is-active):hover .nsx-media { filter:blur(7px); opacity:1; } }
@media(max-width:900px) {
 .nsx { padding:48px 16px 24px; }
 .nsx-panels { display:grid; grid-template-columns:minmax(0,1fr); gap:10px; }
 /* Phones: ELEKS-style swipe carousel, the next card peeks in from the right. */
 .nsx.is-enhanced .nsx-panels { position:relative; display:flex; gap:10px; margin:0 -16px; padding:0 16px; overflow-x:auto; overscroll-behavior-x:contain; scroll-snap-type:x mandatory; scroll-padding:0 16px; scrollbar-width:none; }
 .nsx.is-enhanced .nsx-panels::-webkit-scrollbar { display:none; }
 .nsx.is-enhanced .nsx-panel,.nsx.is-enhanced .nsx-panel.is-active,.nsx.is-enhanced .nsx-panel:not(.is-active):hover { flex:0 0 calc(100% - 30px); min-height:600px; scroll-snap-align:start; scroll-snap-stop:always; }
 .nsx.is-enhanced .nsx-panel:not(.is-active) .nsx-media { filter:none; opacity:1; transform:none; }
 .nsx.is-enhanced .nsx-plus { display:none; }
 .nsx-mobile-picker:not([hidden]) { display:none; }
 .nsx-mobile-picker button { min-height:44px; border:0; border-radius:10px; background:none; color:#476151; font:inherit; font-size:11px; font-weight:700; padding:8px 4px; transition:background .3s ease,color .3s ease,box-shadow .3s ease; }
 .nsx-mobile-picker button[aria-pressed="true"] { background:#123626; color:#fff; }
 .nsx-trigger { padding:20px 22px; gap:14px; min-height:76px; }
 .nsx.is-enhanced .nsx-label,.nsx.is-enhanced .nsx-panel.is-active .nsx-label { top:24px; left:24px; right:auto; width:auto; padding:0 0 0 24px; text-align:left; transform:none; }
 .nsx.is-enhanced .nsx-label::after { left:0; right:auto; }
 .nsx-content { padding:12px 24px 28px; }
 .nsx.is-enhanced .nsx-content { width:100%; padding:100px 24px 100px; }
 .nsx.is-enhanced .nsx-panel[data-solution="overview"] .nsx-content { padding-top:110px; }
 .nsx.is-enhanced .nsx-content > p,.nsx.is-enhanced .nsx-content > .nsx-cta,.nsx.is-enhanced .nsx-content > .nsx-features { margin-left:0; }
 .nsx.is-enhanced .nsx-content h4 { font-size:36px; }
 .nsx-panel[data-solution="overview"]::after { background:linear-gradient(180deg,rgba(241,247,243,.6) 0%,rgba(241,247,243,0) 30%); }
 .nsx-intro-video { position:absolute; left:0; right:0; bottom:40px; height:46%; object-position:86% center; -webkit-mask-image:linear-gradient(180deg,transparent 0,#000 30%,#000 82%,transparent 100%); mask-image:linear-gradient(180deg,transparent 0,#000 30%,#000 82%,transparent 100%); }
 .nsx-panel[data-solution="overview"] { background:linear-gradient(160deg,#f1f7f3 0%,#e3f0e8 60%,#d2e9db 100%); }
 .nsx-content h4 { font-size:30px; }
 .nsx-content p { font-size:14px; margin-top:18px; }
 .nsx-features { margin-top:28px; gap:14px; }
 .nsx-features li { font-size:11px; }
 .nsx-panel-controls { left:24px; right:24px; }
 .nsx-slide-count { margin-right:0; }
 .nsx-timebar { margin-right:4px; }
}
@media(prefers-reduced-motion:reduce) { .nsx *, .nsx *::before,.nsx *::after { animation:none !important; transition:none !important; } }
