/**
 * NM-D
 * Autor: Paweł Nosko
 * Firma: Design Cart
 * URL: https://www.designcart.pl
 */

:root {
	--nm-d-purple: #5b3fc8;
	--nm-d-dark: #1a1c2e;
	--nm-d-cyan: #00c8e8;
	--nm-d-light: #f0f1f8;
	--nm-d-muted: #6b6d8a;
	--nm-d-font: "JetBrains Mono", monospace;
	--nm-d-font-heading: "DM Sans", sans-serif;
	--nm-d-mono: var(--nm-d-font);
}

*,
*::before,
*::after { box-sizing: border-box; }

html,
body {
	margin: 0;
	background: var(--nm-d-purple);
	color: var(--nm-d-dark);
	font-family: var(--nm-d-font);
	font-weight: 400;
}

h1, h2, h3, h4, h5, h6,
.nm-d-hero__title,
.nm-d-about__title,
.nm-d-offer__title,
.nm-d-offer__tile-title,
.nm-d-why__title,
.nm-d-why__card-title,
.nm-d-partners__title,
.nm-d-engineer__title,
.nm-d-about__cert-title,
.nm-d-inner-mast__title,
.nm-d-entry__heading,
.nmd-slide-menu__title,
h3.dc-wf-heading {
	font-family: var(--nm-d-font-heading);
}


body.admin-bar .nm-d-burger { top: calc(1.25rem + 32px); }

.nm-d-skip {
	position: absolute;
	left: -999px;
	top: 0;
}
.nm-d-skip:focus {
	left: 1rem;
	top: 1rem;
	z-index: 100000;
	background: #fff;
	padding: 0.5rem 1rem;
}

.nm-d-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

.nm-d-preloader {
	position: fixed;
	inset: 0;
	background: var(--nm-d-purple);
	z-index: 99999;
	opacity: 1;
	transition: opacity 0.45s ease;
	pointer-events: none;
}
.nm-d-preloader.is-done { opacity: 0; }

.nm-d-icon { display: block; }

/* Burger — style w nm-d-menu.css */

/* Horizontal panels */
.nm-d-panels { overflow: hidden; }
.nm-d-panels__track {
	display: flex;
	flex-wrap: nowrap;
}
.nm-d-panel {
	flex: 0 0 100vw;
	width: 100vw;
	min-height: 100vh;
	position: relative;
	overflow: visible;
}

/* Mockup triangles — exact geometry from LSSE / NMD */
.triangle-top-right-first {
	position: absolute;
	top: 0;
	right: 0;
	width: 0;
	height: 0;
	border-top: 284px solid var(--nm-d-purple);
	border-left: 284px solid transparent;
	border-right: 5px solid var(--nm-d-purple);
	margin-right: -5px;
	pointer-events: none;
	z-index: 12;
}
.triangle-bottom-center-first {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 0;
	border-bottom: 284px solid #fff;
	border-right: 284px solid transparent;
	border-left: 5px solid #fff;
	margin-left: -5px;
	pointer-events: none;
	z-index: 20;
}
/* nm-d-triangle-1 — górny klin, start pod spodem */
.triangle-section-3-left-top {
	position: absolute;
	top: 400px;
	left: 0;
	width: 0;
	height: 0;
	border-bottom: 142px solid var(--nm-d-purple);
	border-right: 142px solid transparent;
	pointer-events: none;
	z-index: 20;
	transform: translate3d(0, 260px, 0);
	opacity: 0;
	transition: transform 2.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s linear;
}
.nm-d-triangle-1.is-in {
	transform: translate3d(0, 0, 0);
	opacity: 1;
}
.rectangle-section-3-left-center {
	position: absolute;
	width: 142px;
	height: 500px;
	top: 542px;
	left: 0;
	background-color: var(--nm-d-purple);
	pointer-events: none;
	z-index: 20;
}
/* nm-d-triangle-2 — dolny klin, start po lewej */
.triangle-section-3-left-bottom {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 0;
	border-bottom: 284px solid var(--nm-d-purple);
	border-right: 284px solid transparent;
	pointer-events: none;
	z-index: 20;
	transform: translate3d(-420px, 0, 0);
	opacity: 0;
	transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s linear;
}
.nm-d-triangle-2.is-in {
	transform: translate3d(0, 0, 0);
	opacity: 1;
}
.nm-d-triangle-1.is-reset,
.nm-d-triangle-2.is-reset {
	transition: none;
}
.triangle-big-top-right-dark {
	position: absolute;
	top: 0;
	right: -30px;
	width: 0;
	height: 0;
	border-top: 53vh solid var(--nm-d-purple);
	border-left: 53vh solid transparent;
	pointer-events: none;
	z-index: 2;
}
.nm-d-about .triangle-big-top-right-dark {
	transform: translate3d(0, -55vh, 0);
	transition: transform 3s cubic-bezier(0.22, 1, 0.36, 1);
}
.nm-d-about .triangle-big-top-right-dark.is-in {
	transform: translate3d(0, 0, 0);
}
.nm-d-about .triangle-big-top-right-dark.is-reset {
	transition: none;
}
.triangle-big-bottom-right {
	position: absolute;
	bottom: 0;
	right: 0;
	width: 0;
	height: 0;
	border-bottom: 38vw solid var(--nm-d-light);
	border-left: 38vw solid transparent;
	pointer-events: none;
	z-index: 1;
}
.nm-d-engineer .triangle-big-top-right-dark { z-index: 2; }

/* Hero */
.nm-d-hero {
	display: grid;
	grid-template-columns: 1fr 1fr;
	background: #fff;
}
.nm-d-hero__left,
.nm-d-hero__right {
	position: relative;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.nm-d-hero__left { background: #fff; }
.nm-d-hero__right {
	background: var(--nm-d-purple);
	border-right: 5px solid var(--nm-d-purple);
	overflow: visible;
	/* ten sam gutter co logo-lg → prawa krawędź lewej kolumny */
	padding-left: calc((100% - min(420px, 70%)) / 2);
	box-sizing: border-box;
}
.nm-d-hero__logo-sm {
	position: absolute;
	top: 1.25rem;
	left: 1.5rem;
	z-index: 25;
	line-height: 0;
}
.nm-d-hero__logo-sm img {
	width: 100%;
	max-width: 170px;
	height: auto;
}
.nm-d-hero__logo-lg {
	width: 100%;
	max-width: min(420px, 70%);
	height: auto;
	margin: 0 auto;
	display: block;
}
.nm-d-hero__meta {
	position: absolute;
	left: 0; right: 0; bottom: 1.25rem;
	z-index: 20;
	padding: 0 1.5rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
}
.nm-d-hero__partners {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1.25rem 1.75rem;
}
.nm-d-hero__partners img {
	width: auto;
	max-width: 110px;
	height: auto;
	object-fit: contain;
	filter: grayscale(100%) opacity(0.45);
	transition: filter 0.3s ease;
}
.nm-d-hero__partners img:hover { filter: none; }
.nm-d-hero__contact {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.35rem 0.5rem;
	color: #000;
	font-size: 10px;
}
.nm-d-hero__contact a { color: #000; text-decoration: none; }
.nm-d-hero__contact a:hover { text-decoration: underline; }
.nm-d-hero__infolinia,
.nm-d-hero__address,
.nm-d-hero__sep { margin: 0; }

.nm-d-hero__content {
	position: relative;
	z-index: 5;
	max-width: 520px;
	padding: 0 2rem 0 0;
	margin-left: 0;
}
.nm-d-hero__eyebrow {
	display: inline-flex;
	margin-bottom: 1.25rem;
	padding: 0.25rem 0.75rem;
	border-radius: 999px;
	border: 1px solid rgba(0, 200, 232, 0.4);
	background: rgba(0, 200, 232, 0.08);
}
.nm-d-hero__eyebrow span {
	font-family: var(--nm-d-font);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--nm-d-cyan);
}
.nm-d-hero__title {
	margin: 0 0 1.25rem;
	font-size: clamp(1.6rem, 3.2vw, 2.6rem);
	font-weight: 700;
	line-height: 1.15;
	color: #fff;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.15em;
}
.nm-d-hero__title-line,
.nm-d-hero__title-sub {
	display: block;
	white-space: nowrap;
}
.nm-d-hero__title-sub { color: var(--nm-d-cyan); }
@media (max-width: 560px) {
	.nm-d-hero__title-line,
	.nm-d-hero__title-sub {
		white-space: normal;
	}
}
.nm-d-hero__lead {
	margin: 0 0 2rem;
	font-size: 1rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.72);
	max-width: 460px;
}
.nm-d-hero__ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-bottom: 2.5rem;
}
.nm-d-hero__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	border-radius: 0.5rem;
	font-size: 0.875rem;
	font-weight: 700;
	text-decoration: none;
	transition: opacity 0.2s ease;
}
.nm-d-hero__cta:hover { opacity: 0.9; }
.nm-d-hero__cta--primary { background: var(--nm-d-cyan); color: var(--nm-d-dark); }
.nm-d-hero__cta--ghost { border: 1px solid rgba(255, 255, 255, 0.3); color: #fff; }
.nm-d-hero__nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 1.25rem;
}
.nm-d-hero__nav a {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	color: rgba(255, 255, 255, 0.55);
	text-decoration: none;
}
.nm-d-hero__nav-dot {
	width: 3px; height: 3px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.25);
}
.nm-d-hero,
.nm-d-hero__right { overflow: visible; }
.nm-d-hero__gear {
	position: absolute;
	top: -220px;
	right: -140px;
	width: min(520px, 58vw);
	height: auto;
	z-index: 0;
	pointer-events: none;
	animation: nm-d-gear-spin 40s linear infinite;
}
.uzor-image { max-width: fit-content; }
.nm-d-hero .uzor-image-bottom-center.bottom-left {
	position: absolute;
	left: auto;
	right: -60px;
	bottom: -100px;
	width: min(504px, 55vw);
	max-width: min(504px, 55vw);
	height: auto;
	opacity: 0.45;
	z-index: 25;
	pointer-events: none;
}
@keyframes nm-d-gear-spin {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}

/* About */
.nm-d-about { background: var(--nm-d-light); }
.nm-d-about__inner {
	position: relative;
	z-index: 5;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 2.25rem;
	min-height: 100vh;
	/* lewy gutter z zapasem nad klin 284px; prawy pod ciemny trójkąt */
	padding: 2.5rem clamp(5rem, 10vw, 9rem) 2.5rem clamp(13rem, 22vw, 20rem);
}
.nm-d-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem 1.75rem;
}
.nm-d-stat {
	width: clamp(110px, 14vw, 140px);
	height: clamp(110px, 14vw, 140px);
	border-radius: 50%;
	border: 1px solid rgba(0, 200, 232, 0.35);
	background: #1a1b2d;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 0.75rem;
}
.nm-d-stat__value {
	font-family: var(--nm-d-font);
	font-size: clamp(1.15rem, 2vw, 1.5rem);
	font-weight: 700;
	color: var(--nm-d-cyan);
}
.nm-d-stat__label {
	margin-top: 0.4rem;
	font-family: var(--nm-d-font);
	font-size: 8px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #fff;
	max-width: 90%;
}
.nm-d-about__row {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: clamp(1.5rem, 3vw, 2.5rem);
	width: 100%;
	max-width: min(64rem, 100%);
	align-items: center;
}
.nm-d-about__copy { max-width: 34rem; }
.nm-d-about__eyebrow {
	font-family: var(--nm-d-font);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--nm-d-purple);
	margin-bottom: 0.75rem;
}
.nm-d-about__title {
	font-size: clamp(1.35rem, 2.4vw, 1.85rem);
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 1.1rem;
}
.nm-d-about__text {
	font-size: 0.9rem;
	line-height: 1.6;
	color: var(--nm-d-muted);
	margin: 0 0 0.9rem;
}
.nm-d-trust {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem 1.25rem;
	margin: 1.5rem 0 1.75rem;
}
.nm-d-trust__item { display: flex; gap: 0.75rem; }
.nm-d-trust__icon {
	flex-shrink: 0;
	width: 36px; height: 36px;
	border-radius: 8px;
	background: #ebeaf5;
	color: var(--nm-d-purple);
	display: flex;
	align-items: center;
	justify-content: center;
}
.nm-d-trust__label {
	font-family: var(--nm-d-font);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--nm-d-muted);
}
.nm-d-trust__value {
	font-size: 0.875rem;
	font-weight: 700;
}
.nm-d-about__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.85rem 1.5rem;
	border-radius: 999px;
	background: var(--nm-d-purple);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 8px 24px rgba(91, 63, 200, 0.28);
}
.nm-d-about__cta:hover { background: #4a32b0; color: #fff; }
.nm-d-about__cards {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.85rem;
}
.nm-d-about__card {
	background: #fff;
	border-radius: 14px;
	padding: 1.15rem 1.25rem;
	box-shadow: 0 4px 18px rgba(26, 28, 46, 0.06);
}
.nm-d-about__card-value {
	display: block;
	font-family: var(--nm-d-font);
	font-size: clamp(1.25rem, 2vw, 1.6rem);
	font-weight: 700;
	color: var(--nm-d-purple);
	margin-bottom: 0.3rem;
}
.nm-d-about__card-value--cyan { color: var(--nm-d-cyan); }
.nm-d-about__card-label { font-size: 0.8rem; color: var(--nm-d-muted); }
.nm-d-about__cert {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1.1rem 1.25rem;
	border-radius: 14px;
	background: var(--nm-d-purple);
	color: #fff;
}
.nm-d-about__cert-icon {
	width: 40px; height: 40px;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, 0.85);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.nm-d-about__cert-title { font-weight: 700; font-size: 0.9rem; }
.nm-d-about__cert-text { font-size: 0.8rem; opacity: 0.9; }

/* Offer */
.nm-d-offer {
	background: #fff;
	padding: 5rem 1.5rem 7rem;
	position: relative;
	z-index: 5;
}
.nm-d-offer__inner { max-width: 72rem; margin: 0 auto; }
.nm-d-offer__head { margin-bottom: 3rem; }
.nm-d-offer__eyebrow {
	font-family: var(--nm-d-font);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--nm-d-purple);
	margin-bottom: 0.75rem;
}
.nm-d-offer__title {
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	font-weight: 700;
	margin: 0;
}
.nm-d-offer__grid {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	grid-auto-rows: minmax(160px, auto);
	gap: 1rem;
}
.nm-d-offer__tile {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 1.5rem;
	border-radius: 1rem;
	text-decoration: none;
	color: inherit;
	position: relative;
	overflow: hidden;
	transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.nm-d-offer__tile--span3 { grid-column: span 3; }
.nm-d-offer__tile--span4 { grid-column: span 4; }
.nm-d-offer__tile--span5,
.nm-d-offer__tile--plc { grid-column: span 5; grid-row: span 2; padding: 2rem; }
.nm-d-offer__tile--plc { background: var(--nm-d-purple); color: #fff; }
.nm-d-offer__tile--light { background: #fff; border: 1px solid rgba(26, 28, 46, 0.07); }
.nm-d-offer__tile--light:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(91, 63, 200, 0.12); }
.nm-d-offer__tile--cyan { background: var(--nm-d-cyan); }
.nm-d-offer__tile--dark { background: var(--nm-d-dark); color: #fff; }
.nm-d-offer__tile--dashed { background: rgba(91, 63, 200, 0.08); border: 1.5px dashed rgba(91, 63, 200, 0.3); }
.nm-d-offer__tile-gear {
	position: absolute;
	right: -2rem; bottom: -2rem;
	width: 240px;
	opacity: 0.1;
	animation: nm-d-gear-spin 60s linear infinite;
}
.nm-d-offer__icon {
	width: 40px; height: 40px;
	border-radius: 0.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(91, 63, 200, 0.1);
	color: var(--nm-d-purple);
}
.nm-d-offer__icon--on-purple { width: 48px; height: 48px; border-radius: 0.75rem; background: rgba(255,255,255,0.15); color: #fff; margin-bottom: 1.25rem; }
.nm-d-offer__icon--on-cyan { background: rgba(0,0,0,0.12); color: var(--nm-d-dark); }
.nm-d-offer__icon--on-dark { background: rgba(255,255,255,0.1); color: #fff; }
.nm-d-offer__icon--cyan-bg { background: rgba(0, 200, 232, 0.12); color: var(--nm-d-cyan); }
.nm-d-offer__tile-title { font-size: 1rem; font-weight: 700; margin: 0 0 0.35rem; }
.nm-d-offer__tile--plc .nm-d-offer__tile-title { font-size: 1.25rem; color: #fff; }
.nm-d-offer__tile-text { font-size: 0.75rem; line-height: 1.45; margin: 0; color: var(--nm-d-muted); }
.nm-d-offer__tile--plc .nm-d-offer__tile-text { font-size: 0.875rem; color: rgba(255,255,255,0.7); }
.nm-d-offer__tile--cyan .nm-d-offer__tile-text { color: rgba(26,28,46,0.7); }
.nm-d-offer__tile--dark .nm-d-offer__tile-text { color: rgba(255,255,255,0.5); }
.nm-d-offer__tile-cta {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--nm-d-purple);
}
.nm-d-offer__tile-cta--cyan { color: var(--nm-d-cyan); font-weight: 700; }
.nm-d-offer__tile-cta--white { color: #fff; font-weight: 700; }

/* Why */
.nm-d-why { background: var(--nm-d-purple); min-height: 100vh; }
.nm-d-why__inner {
	position: relative;
	z-index: 5;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	min-height: 100vh;
	padding: clamp(4rem, 10vh, 7rem) clamp(1rem, 4vw, 3rem) clamp(10rem, 22vh, 16rem);
}
.nm-d-why__head {
	text-align: left;
	margin: 0 0 3.5rem;
	max-width: 62rem;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}
.nm-d-why__eyebrow {
	font-family: var(--nm-d-font);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--nm-d-cyan);
	margin-bottom: 0.75rem;
}
.nm-d-why__title { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 700; color: #fff; margin: 0 0 0.75rem; }
.nm-d-why__lead { color: rgba(255,255,255,0.6); margin: 0; }
.nm-d-why__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.5rem;
	max-width: 62rem;
	margin: 0 auto;
	width: 100%;
}
.nm-d-why__card {
	text-align: center;
	padding: 2.25rem 1.5rem;
	border-radius: 1rem;
	background: rgba(255,255,255,0.08);
	position: relative;
	overflow: hidden;
}
.nm-d-why__icon {
	width: 64px; height: 64px;
	border-radius: 1rem;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1.5rem;
	background: rgba(255,255,255,0.15);
	color: var(--nm-d-cyan);
}
.nm-d-why__card-title { font-size: 1rem; font-weight: 700; color: #fff; margin: 0 0 0.75rem; }
.nm-d-why__card-text { font-size: 0.875rem; line-height: 1.6; color: rgba(255,255,255,0.6); margin: 0; }

/* Engineer */
.nm-d-engineer {
	background: var(--nm-d-light);
	min-height: 100vh;
}
.nm-d-engineer__inner {
	position: relative;
	z-index: 5;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	align-items: center;
	min-height: 100vh;
	padding: 2.25rem 1.5rem 8rem;
	max-width: 80rem;
	margin: 0 auto;
}
.nm-d-engineer__title {
	font-size: clamp(1.6rem, 3vw, 2.5rem);
	font-weight: 700;
	margin: 0 0 1rem;
}
.nm-d-engineer__tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0.5rem;
	font-family: var(--nm-d-font);
	font-size: 11px;
	color: var(--nm-d-purple);
	margin-bottom: 1.25rem;
}
.nm-d-engineer__tag--cyan { color: var(--nm-d-cyan); }
.nm-d-engineer__dot { color: var(--nm-d-muted); }
.nm-d-engineer__accent {
	width: 52px; height: 3px;
	border-radius: 99px;
	background: var(--nm-d-cyan);
	margin-bottom: 1.5rem;
}
.nm-d-engineer__text {
	font-family: var(--nm-d-font);
	font-size: 13px;
	line-height: 1.75;
	text-align: justify;
	max-width: 36rem;
	margin: 0;
}
.nm-d-engineer__form {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	padding: 1.5rem 1.75rem;
	border-radius: 1rem;
	background: #fff;
	box-shadow: 0 8px 40px rgba(26, 28, 46, 0.1);
}
.nm-d-engineer__form-title {
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--nm-d-purple);
	margin: 0 0 0.25rem;
}
.nm-d-engineer__form-hint {
	margin: 0 0 0.35rem;
	font-size: 0.75rem;
	line-height: 1.4;
	color: var(--nm-d-muted);
}
.nm-d-engineer__input {
	width: 100%;
	border: 1px solid transparent;
	border-radius: 10px;
	background: var(--nm-d-light);
	padding: 0.75rem 1rem;
	font-family: var(--nm-d-font);
	font-size: 0.8125rem;
	outline: none;
}
.nm-d-engineer__input:focus { box-shadow: 0 0 0 2px rgba(91, 63, 200, 0.25); }
.nm-d-engineer__input.is-invalid {
	border-color: #b42318;
	box-shadow: 0 0 0 2px rgba(180, 35, 24, 0.18);
}
.nm-d-engineer__field-error {
	margin: 0.3rem 0 0;
	font-size: 0.75rem;
	line-height: 1.35;
	color: #b42318;
}
.nm-d-engineer__textarea { resize: none; min-height: 5.5rem; }
.nm-d-engineer__form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.nm-d-engineer__form-actions {
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
	gap: 0.75rem;
	flex-wrap: wrap;
}
.nm-d-engineer__attach-wrap {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.25rem;
	margin-right: auto;
}
.nm-d-engineer__btn {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.65rem 1.25rem;
	border: 1px solid transparent;
	border-radius: 999px;
	background: var(--nm-d-cyan);
	color: var(--nm-d-dark);
	font-weight: 700;
	cursor: pointer;
	text-decoration: none;
}
.nm-d-engineer__btn--attach { background: #e8eaf5; }
.nm-d-engineer__btn--attach.is-invalid {
	border-color: #b42318;
	box-shadow: 0 0 0 2px rgba(180, 35, 24, 0.18);
}
.nm-d-engineer__status { font-size: 0.85rem; padding: 0.5rem 0; }
.nm-d-engineer__status.is-ok { color: #137a4a; }
.nm-d-engineer__status.is-err { color: #b42318; }

/* Partners */
.nm-d-partners {
	background: var(--nm-d-purple);
	padding: 0 0 3rem;
	position: relative;
	z-index: 6;
}
.nm-d-partners__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 0 1.5rem;
}
.nm-d-partners__card {
	width: 100%;
	max-width: 72rem;
	padding: 3.5rem 2.5rem;
	margin-top: -6.5rem;
	background: #38b6ff;
	color: #fff;
	clip-path: polygon(0% 0%, calc(100% - 44px) 0%, 100% 44px, 100% 100%, 44px 100%, 0% calc(100% - 44px));
}
.nm-d-partners__grid {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 3rem;
	align-items: center;
}
.nm-d-partners__title {
	font-size: clamp(1.6rem, 3vw, 2.25rem);
	font-weight: 700;
	margin: 0 0 1.25rem;
}
.nm-d-partners__text {
	font-size: 1rem;
	line-height: 1.65;
	color: rgba(255,255,255,0.85);
	margin: 0 0 1.75rem;
	max-width: 34rem;
}
.nm-d-partners__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	border-radius: 0.5rem;
	background: var(--nm-d-dark);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}
.nm-d-partners__certs { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.nm-d-partners__cert {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 1rem;
	border-radius: 0.75rem;
	background: rgba(255,255,255,0.2);
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.3;
}

.nm-d-site-footer { background: var(--nm-d-purple); color: #fff; }

/* Logo stopki wyciągnięte JS — 1/4 szerokości + własne paddingi, bez borderów kolumny */
.nm-d-footer-logo {
	width: calc(100% / var(--nm-d-footer-logo-cols, 4));
	max-width: calc(100% / var(--nm-d-footer-logo-cols, 4));
	box-sizing: border-box;
	padding: 20px 24px;
	margin: 0;
	border: 0;
}
.nm-d-footer-logo .dc-wf-tile {
	margin-bottom: 0;
}
.nm-d-footer-logo .dc-wf-img-wrap,
.nm-d-footer-logo .dc-wf-img,
.nm-d-footer-logo img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
}
@media (max-width: 767.98px) {
	.nm-d-footer-logo {
		width: 100%;
		max-width: 100%;
	}
}

.nmd-footer-bottom {
	max-width: 72rem;
	margin: 0 auto;
	padding: 0.85rem 1.25rem 1.35rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1.5rem;
	flex-wrap: wrap;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.nmd-footer-bottom p {
	margin: 0;
}
.nmd-footer-copy {
	font-size: 0.8125rem;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.78);
}
.nmd-footer-credit {
	font-family: var(--nm-d-font);
	font-size: 0.6875rem;
	letter-spacing: 0.02em;
	color: rgba(255, 255, 255, 0.38);
	margin-left: auto;
}
.nmd-footer-credit a {
	color: inherit;
	text-decoration: none;
}
.nmd-footer-credit a:hover,
.nmd-footer-credit a:focus-visible {
	color: rgba(255, 255, 255, 0.62);
	text-decoration: underline;
}

/* Entrance animations from mockup */
@keyframes fadeInUp {
	0% { transform: translateY(100%); opacity: 0; }
	100% { transform: translateY(0); opacity: 1; }
}
@keyframes fadeInDown {
	0% { transform: translateY(-100%); opacity: 0; }
	100% { transform: translateY(0); opacity: 1; }
}
@keyframes fadeInRight {
	0% { transform: translateX(100%); opacity: 0; }
	100% { transform: translateX(0); opacity: 1; }
}
@keyframes fadeInDownLeft {
	0% { transform: translate3d(100px, -100px, 0); opacity: 1; }
	100% { transform: translate3d(0, 0, 0); opacity: 1; }
}
.fadeInUp-animation.active { animation: 1.5s fadeInUp both; }
.fadeInDown-animation.active { animation: 1.5s fadeInDown both; }
.fadeInRight-animation.active { animation: 1.5s fadeInRight both; }
.fadeInDownLeft-animation.active { animation: 1.5s fadeInDownLeft both; }

[data-nm-d-reveal="fade-flash"] {
	position: relative;
	overflow: hidden;
	isolation: isolate;
}
[data-nm-d-reveal="fade-flash"]::after {
	content: "";
	position: absolute;
	inset: 0;
	background: #fff;
	opacity: 0;
	pointer-events: none;
	z-index: 4;
	border-radius: inherit;
}
[data-nm-d-reveal="fade-flash"].is-flash::after {
	animation: nm-d-card-flash 0.55s ease-out;
}
@keyframes nm-d-card-flash {
	0% { opacity: 0; }
	15% { opacity: 0.95; }
	100% { opacity: 0; }
}

[data-aos="pageart-fade-left-down"] {
	opacity: 1;
	transform: translate3d(100px, -100px, 0);
	transition-property: transform, opacity;
}
[data-aos="pageart-fade-left-up"] {
	opacity: 1;
	transform: translate3d(100px, 100px, 0);
	transition-property: transform, opacity;
}
[data-aos="pageart-fade-right-down"] {
	opacity: 1;
	transform: translate3d(-100px, -100px, 0);
	transition-property: transform, opacity;
}
[data-aos="pageart-fade-right-up"] {
	opacity: 1;
	transform: translate3d(-100px, 100px, 0);
	transition-property: transform, opacity;
}
[data-aos="pageart-fade-up"] {
	opacity: 1;
	transform: translate3d(0, 140px, 0);
	transition-property: transform, opacity;
}
[data-aos="pageart-fade-right"] {
	opacity: 1;
	transform: translate3d(-140px, 0, 0);
	transition-property: transform, opacity;
}
[data-aos="pageart-fade-left-down"].aos-animate,
[data-aos="pageart-fade-left-up"].aos-animate,
[data-aos="pageart-fade-right-down"].aos-animate,
[data-aos="pageart-fade-right-up"].aos-animate,
[data-aos="pageart-fade-up"].aos-animate,
[data-aos="pageart-fade-right"].aos-animate {
	transform: translate3d(0, 0, 0);
	opacity: 1;
}

@media (max-width: 767.98px) {
	.triangle-top-right-first,
	.triangle-bottom-center-first,
	.triangle-section-3-left-top,
	.nm-d-triangle-1,
	.triangle-section-3-left-bottom,
	.nm-d-triangle-2,
	.rectangle-section-3-left-center,
	.triangle-big-top-right-dark,
	.triangle-big-bottom-right { display: none !important; }
}

@media (max-width: 991px) {
	.nm-d-hero,
	.nm-d-about__row,
	.nm-d-engineer__inner,
	.nm-d-partners__grid,
	.nm-d-why__grid { grid-template-columns: 1fr; }
	.nm-d-why__grid { grid-template-columns: 1fr 1fr; }
	.nm-d-offer__grid { grid-template-columns: 1fr 1fr; }
	.nm-d-offer__tile--plc,
	.nm-d-offer__tile--span3,
	.nm-d-offer__tile--span4,
	.nm-d-offer__tile--span5 { grid-column: span 1; grid-row: auto; }
	.nm-d-offer__tile--plc { grid-column: 1 / -1; }
	.nm-d-about__inner { padding: 2.5rem 1.25rem; }
	.nm-d-stats {
		display: grid;
		grid-template-columns: 1fr 1fr;
		justify-items: center;
		gap: 1rem 1.25rem;
		width: 100%;
	}
	.nm-d-stat {
		width: min(132px, 42vw);
		height: min(132px, 42vw);
	}
	.nm-d-hero,
	.nm-d-hero__right { overflow: hidden; }
	.nm-d-hero__left { display: none; }
	.nm-d-hero__right { padding-left: 0; }
	.nm-d-hero__content {
		position: relative;
		z-index: 5;
		padding: 5.75rem 1.25rem 7rem;
		margin: 0;
		max-width: none;
	}
	.nm-d-hero__gear {
		top: -8%;
		right: -14%;
		width: min(250px, 64vw);
		opacity: 0.38;
		z-index: 1;
	}
	.nm-d-hero .uzor-image-bottom-center.bottom-left {
		left: auto;
		right: -8%;
		bottom: -2%;
		width: min(280px, 78vw);
		max-width: min(280px, 78vw);
		opacity: 0.32;
		z-index: 1;
	}
	.nm-d-panels__track { display: block; }
	.nm-d-panel { width: 100%; flex: none; min-height: auto; }
}

@media (max-width: 575px) {
	.nm-d-offer__grid,
	.nm-d-why__grid,
	.nm-d-trust,
	.nm-d-about__cards,
	.nm-d-partners__certs,
	.nm-d-engineer__form-row { grid-template-columns: 1fr; }
	.nm-d-partners__card { clip-path: none; border-radius: 1rem; }
}

/* Stopka — nagłówki kafelków */
h3.dc-wf-heading {
	color: #fff !important;
	font-family: var(--nm-d-font-heading) !important;
	font-weight: 700;
}
