/* Homepage content below the story hero. Hero rules live in napnet-hero.css. */
.nap-home-content { position: relative; z-index: 3; overflow: hidden; background: #f8fbff; color: #071f49; }
.nap-home-shell { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.nap-home-content :is(h2,h3,p) { margin-top: 0; }
.nap-home-content svg { display: block; width: 19px; height: 19px; }
.nap-home-stats { position: relative; z-index: 4; padding: 0 0 54px; background: #f8fbff; scroll-margin-top: 110px; }
.nap-home-stats__panel { display: grid; grid-template-columns: repeat(4, .72fr) 2.1fr; align-items: stretch; min-height: 112px; margin-top: 0; overflow: hidden; border: 1px solid #d8e8fa; border-radius: 0 0 17px 17px; background: #fff; box-shadow: 0 14px 36px rgba(7,31,73,.10); }
.nap-home-stat { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 6px; margin-block: 20px; border-left: 1px solid #dce7f3; text-align: center; }
.nap-home-stat strong { color: #092c66; font-size: clamp(23px,2.4vw,34px); line-height: 1; }
.nap-home-stat span { color: #496b99; font-size: 12px; }
.nap-home-stats blockquote { position: relative; display: flex; align-items: center; margin: 0; padding: 20px 70px 20px 36px; background: linear-gradient(130deg,#f7fbff,#edf6ff); border: 0; }
.nap-home-stats blockquote::before { content: ""; position: absolute; right: 0; top: 0; border-style: solid; border-width: 0 58px 58px 0; border-color: transparent #fff transparent transparent; }
.nap-home-stats blockquote b { position: absolute; right: 34px; top: 18px; color: #0c3471; font-size: 48px; line-height: 1; }
.nap-home-stats blockquote p { margin: 0; color: #173c73; font-size: 15px; line-height: 2; }
.nap-home-stats blockquote strong { color: #071f49; }
.nap-home-services { position: relative; padding: 42px 0 70px; overflow: hidden; background: radial-gradient(ellipse at 8% 30%,#dceeff 0,transparent 34%),radial-gradient(ellipse at 94% 74%,#e2f1ff 0,transparent 32%),#f7fbff; scroll-margin-top: 110px; }
.nap-home-services::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .6; background: linear-gradient(125deg,transparent 0 16%,#fff8 16.2% 25%,transparent 25.2% 70%,#fff8 70.2% 84%,transparent 84.2%); }
.nap-home-services > .nap-home-shell { position: relative; z-index: 1; width: min(1540px,calc(100% - 96px)); }
.nap-home-heading { margin-bottom: 34px; text-align: center; }
.nap-home-heading > span,.nap-home-projects__intro > span,.nap-home-process__content header > span { display: block; margin-bottom: 8px; color: #ff650b; font-size: 14px; font-weight: 800; }
body.napnet .nap-home-heading h2,body.napnet .nap-home-projects h2,body.napnet .nap-home-process h2,body.napnet .nap-home-cta h2 { margin-bottom: 8px; color: #071f49 !important; font-size: clamp(24px,2.5vw,34px); line-height: 1.45; }
.nap-home-heading p { margin-bottom: 0; color: #7084a3; font-size: 14px; }
.nap-home-services__grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 16px; direction: rtl; }
.nap-home-service { position: relative; display: flex; flex-direction: column; overflow: hidden; min-width: 0; min-height: 535px; border: 1px solid #d6e7f7; border-radius: 20px; background: linear-gradient(180deg,#fff 0%,#f8fcff 100%); box-shadow: 0 14px 30px rgba(24,68,120,.10); text-decoration: none; transition: transform .25s ease,box-shadow .25s ease; }
.nap-home-service:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(24,68,120,.13); }
.nap-home-service__media { position: relative; flex: 0 0 auto; aspect-ratio: 1.13; overflow: visible; }
.nap-home-service__media img { width: 100%; height: 100%; border-radius: 0 !important; object-fit: cover; }
.nap-home-service__media i { position: absolute; left: 50%; bottom: -34px; display: grid; place-items: center; width: 70px; height: 70px; border: 2px solid #ff790b; border-radius: 50%; background: #fff; color: #087fe0; box-shadow: 0 8px 18px #0a4c8d22; transform: translateX(-50%); }
.nap-home-service__media i svg { width: 24px; height: 24px; }
.nap-home-service__body { display: flex; flex: 1; flex-direction: column; align-items: center; padding: 52px 22px 24px; text-align: center; }
body.napnet .nap-home-service h3 { margin-bottom: 10px; color: #081f49 !important; font-size: clamp(16px,1.35vw,22px); line-height: 1.55; }
.nap-home-service p { min-height: 60px; margin-bottom: 18px; color: #7084a3; font-size: clamp(12px,1vw,16px); line-height: 1.9; }
.nap-home-service__body span,.nap-home-project span { display: inline-flex; align-items: center; gap: 9px; margin-top: auto; color: #ff650b; font-size: clamp(13px,1vw,16px); font-weight: 800; }
.nap-home-service__body span svg,.nap-home-project span svg { width: 14px; height: 14px; }
.nap-home-more { display: flex; justify-content: center; align-items: center; gap: 7px; width: max-content; margin: 24px auto 0; color: #0879d7 !important; font-size: 12px; font-weight: 700; }
.nap-home-more svg { width: 14px; }
.nap-home-projects { position: relative; padding: 66px 0; overflow: hidden; background: linear-gradient(112deg,#031d3a,#062f59); color: #fff; scroll-margin-top: 110px; }
.nap-home-projects::before { content: ""; position: absolute; inset: 0; opacity: .22; background-image: url("../img/neural-bg.jpg"); background-size: cover; }
.nap-home-projects__orb { position: absolute; left: -115px; top: -70px; width: 470px; height: 470px; border: 1px solid #31aaff55; border-radius: 50%; background: radial-gradient(circle,#117ec240 0,transparent 62%); }
.nap-home-projects__orb::before,.nap-home-projects__orb::after { content: ""; position: absolute; inset: 12%; border: 1px solid #5ac3ff3b; border-radius: 48% 52% 45% 55%; transform: rotate(28deg); }
.nap-home-projects__orb::after { inset: 28%; transform: rotate(-34deg); }
.nap-home-projects__layout { position: relative; display: grid; grid-template-columns: 270px 1fr; gap: 38px; align-items: center; }
.nap-home-projects__intro span { color: #ff650b; }
body.napnet .nap-home-projects h2 { color: #fff !important; font-size: 36px; }
.nap-home-projects__intro > a { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 11px 20px; border: 1px solid #fff8; border-radius: 999px; color: #fff !important; font-size: 12px; }
.nap-home-projects__intro a svg { width: 15px; }
.nap-home-projects__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.nap-home-project { overflow: hidden; border-radius: 8px; background: #fff; color: #071f49 !important; box-shadow: 0 10px 25px #00132933; transition: transform .25s ease; }
.nap-home-project:hover { transform: translateY(-5px); }
.nap-home-project > img { width: 100%; height: 150px; border-radius: 0 !important; object-fit: cover; }
.nap-home-project > div { padding: 14px 17px 17px; }
body.napnet .nap-home-project h3 { margin-bottom: 3px; color: #071f49 !important; font-size: 14px; }
.nap-home-project p { margin-bottom: 8px; color: #7185a4; font-size: 11px; }
.nap-home-cta { padding: 0 0 50px; background: #f5f9ff; }
.nap-home-cta__panel { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 142px; overflow: hidden; padding: 30px 50px; border-radius: 18px; background: linear-gradient(90deg,#031d3aee,#062e58cc),url("../img/collab.jpg") left center/cover; color: #fff; }
body.napnet .nap-home-cta h2 { margin-bottom: 5px; color: #fff !important; font-size: 25px; }
.nap-home-cta p { margin: 0; color: #c8d8e9; font-size: 13px; }
.nap-home-cta__actions { display: flex; gap: 12px; }
.nap-home-cta__actions a { display: inline-flex; align-items: center; gap: 9px; padding: 12px 20px; border: 1px solid #fff8; border-radius: 999px; color: #fff !important; font-size: 12px; white-space: nowrap; }
.nap-home-cta__actions a.is-primary { border-color: #ff650b; background: #ff650b; box-shadow: 0 8px 18px #ff650b44; }
.nap-home-cta__actions svg { width: 15px; }
@media (max-width: 1024px) {
	.nap-home-services > .nap-home-shell { width: min(100% - 48px,1240px); }
	.nap-home-services__grid { grid-template-columns: repeat(3,1fr); }
	.nap-home-service { min-height: 500px; }
	.nap-home-projects__layout { grid-template-columns: 1fr; }
	.nap-home-projects__intro { text-align: center; }
}
@media (max-width: 768px) {
	.nap-home-shell { width: min(100% - 28px,1240px); }
	.nap-home-stats { padding-bottom: 40px; }
	.nap-home-stats__panel { grid-template-columns: repeat(2,1fr); }
	.nap-home-stats blockquote { grid-column: 1/-1; min-height: 105px; }
	.nap-home-stat { padding: 16px 8px; border-bottom: 1px solid #dce7f3; }
	.nap-home-services__grid { grid-template-columns: repeat(2,1fr); }
	.nap-home-projects__grid { grid-template-columns: 1fr; }
	.nap-home-project > img { height: 210px; }
	.nap-home-cta__panel { align-items: flex-start; flex-direction: column; padding: 28px; }
}
@media (max-width: 520px) {
	.nap-home-stats__panel { border-radius: 0 0 12px 12px; }
	.nap-home-stats blockquote { padding: 18px 54px 18px 18px; }
	.nap-home-stats blockquote b { right: 20px; }
	.nap-home-services__grid { grid-template-columns: 1fr; }
	.nap-home-service { min-height: 0; }
	.nap-home-service__media { aspect-ratio: 1.18; }
	.nap-home-service__body { min-height: 250px; }
	.nap-home-cta__actions { width: 100%; flex-direction: column; }
	.nap-home-cta__actions a { justify-content: center; }
}
html.nap-reveal-ready .nap-home-content > section,
html.nap-reveal-ready .nap-home-content > .nap-trust > section { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
html.nap-reveal-ready .nap-home-content > section.is-inview,
html.nap-reveal-ready .nap-home-content > .nap-trust > section.is-inview { opacity: 1; transform: translateY(0); }
html.nap-reveal-ready .nap-home-services__grid > *,
html.nap-reveal-ready .nap-home-projects__intro,
html.nap-reveal-ready .nap-home-projects__grid > *,
html.nap-reveal-ready .nap-home-cta__panel > *,
html.nap-reveal-ready .nap-home-stats blockquote,
html.nap-reveal-ready .nap-home-stats__metrics > * { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
html.nap-reveal-ready .nap-home-services.is-inview .nap-home-services__grid > *,
html.nap-reveal-ready .nap-home-projects.is-inview .nap-home-projects__intro,
html.nap-reveal-ready .nap-home-projects.is-inview .nap-home-projects__grid > *,
html.nap-reveal-ready .nap-home-cta.is-inview .nap-home-cta__panel > *,
html.nap-reveal-ready .nap-home-stats.is-inview blockquote,
html.nap-reveal-ready .nap-home-stats.is-inview .nap-home-stats__metrics > * { opacity: 1; transform: translateY(0); }
html.nap-reveal-ready .nap-home-services.is-inview .nap-home-services__grid > *:nth-child(2),
html.nap-reveal-ready .nap-home-projects.is-inview .nap-home-projects__grid > *:nth-child(2),
html.nap-reveal-ready .nap-home-stats.is-inview .nap-home-stats__metrics > *:nth-child(2) { transition-delay: .08s; }
html.nap-reveal-ready .nap-home-services.is-inview .nap-home-services__grid > *:nth-child(3),
html.nap-reveal-ready .nap-home-projects.is-inview .nap-home-projects__grid > *:nth-child(3),
html.nap-reveal-ready .nap-home-stats.is-inview .nap-home-stats__metrics > *:nth-child(3) { transition-delay: .16s; }
html.nap-reveal-ready .nap-home-services.is-inview .nap-home-services__grid > *:nth-child(4),
html.nap-reveal-ready .nap-home-stats.is-inview .nap-home-stats__metrics > *:nth-child(4) { transition-delay: .24s; }
html.nap-reveal-ready .nap-home-services.is-inview .nap-home-services__grid > *:nth-child(5) { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
	.nap-home-content * { transition: none !important; }
	html.nap-reveal-ready .nap-home-content > section,
	html.nap-reveal-ready .nap-home-content > .nap-trust > section,
	html.nap-reveal-ready .nap-home-content :is(.nap-home-services__grid > *, .nap-home-projects__intro, .nap-home-projects__grid > *, .nap-home-cta__panel > *, .nap-home-stats blockquote, .nap-home-stats__metrics > *) { opacity: 1; transform: none; }
}
