/* =============================================
   ROOT
   ============================================= */
.nmp {
	font-family: 'Factor A', ui-sans-serif, system-ui, sans-serif;
	background: #0b0b0b;
	color: #fff;
	min-height: 100vh;
	-webkit-font-smoothing: antialiased;
}

.nmp *, .nmp *::before, .nmp *::after {
	box-sizing: border-box;
}

.nmp a {
	color: inherit;
	text-decoration: none;
}

.nmp button {
	cursor: pointer;
	border: none;
	background: none;
	padding: 0;
	font-family: inherit;
}

.nmp img {
	display: block;
}

/* =============================================
   NAVBAR
   ============================================= */
.nmp-nav {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	padding: 0;
	transition: background .3s, padding .3s, box-shadow .3s;
}

.nmp-nav--sticky {
	position: fixed;
	background: #131313;
	border-bottom: 1px solid #1a1a1a;
	box-shadow: 0 4px 20px rgba(0, 0, 0, .5);
}

.nmp-nav__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 32px 56px 16px;
	transition: padding .3s;
}

.nmp-nav--sticky .nmp-nav__inner {
	padding: 10px 56px;
}

.nmp-nav__menu-btn {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #fff;
	font-size: 15px;
	font-weight: 400;
}

.nmp-nav__menu-icon {
	display: flex;
	flex-direction: column;
	gap: 4px;
	width: 20px;
}

.nmp-nav__menu-icon span {
	display: block;
	height: 1.5px;
	background: #fff;
	transition: transform .3s, opacity .3s;
	transform-origin: center;
}

.nmp-nav--open .nmp-nav__menu-icon span:nth-child(1) {
	transform: translateY(5.5px) rotate(45deg);
}

.nmp-nav--open .nmp-nav__menu-icon span:nth-child(2) {
	opacity: 0;
}

.nmp-nav--open .nmp-nav__menu-icon span:nth-child(3) {
	transform: translateY(-5.5px) rotate(-45deg);
}

.nmp-nav__logo img {
	height: 16px;
	width: auto;
}

.nmp-nav__user {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 15px;
}

.nmp-nav__user-avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #1a1a1a;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.nmp-nav__user-avatar svg {
	width: 28px;
	height: 28px;
	color: #555;
}

/* Backdrop */
.nmp-nav__backdrop {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, .6);
	backdrop-filter: blur(4px);
	z-index: 98;
	opacity: 0;
	pointer-events: none;
	transition: opacity .25s;
}

.nmp-nav__backdrop--visible {
	opacity: 1;
	pointer-events: auto;
}

/* Menu panel */
.nmp-menu-panel {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	background: #0b0b0b;
	border-bottom: 1px solid #1a1a1a;
	z-index: 99;
	padding-top: 84px;
	padding-bottom: 48px;
	box-shadow: 0 15px 40px rgba(0, 0, 0, .8);
	transform: translateY(-100%);
	transition: transform .35s cubic-bezier(.4, 0, .2, 1);
	max-height: 85vh;
	overflow-y: auto;
}

.nmp-menu-panel--open {
	transform: translateY(0);
}

.nmp-menu-panel__inner {
	max-width: 1400px;
	margin: 32px auto 0;
	padding: 0 24px;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 32px;
}

@media (min-width: 768px) {
	.nmp-menu-panel__inner {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (min-width: 1200px) {
	.nmp-menu-panel__inner {
		grid-template-columns: repeat(6, 1fr);
	}
}

.nmp-menu-col__title {
	font-size: 15px;
	font-weight: 500;
	color: #fff;
	padding-bottom: 10px;
	border-bottom: 1px solid #2a2a2a;
	margin-bottom: 10px;
}

.nmp-menu-col__link {
	display: block;
	padding: 5px 0;
	font-size: 14px;
	color: #8e8e93;
	transition: color .2s, transform .2s;
}

.nmp-menu-col__link:hover {
	color: #bd0c1e;
	transform: translateX(4px);
}

/* =============================================
   SLIDER
   ============================================= */
.nmp-slider {
	margin: 16px;
	border-radius: 32px;
	overflow: hidden;
	position: relative;
}

.nmp-slider__track {
	display: flex;
	transition: transform .8s cubic-bezier(.16, 1, .3, 1);
}

.nmp-slide {
	min-width: 100%;
	position: relative;
	display: flex;
	align-items: center;
	padding: 80px 64px;
	min-height: 520px;
	overflow: hidden;
}

@media (max-width: 768px) {
	.nmp-slide {
		padding: 64px 24px;
		min-height: 440px;
	}
}

.nmp-slide__content {
	position: relative;
	z-index: 2;
	max-width: 55%;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

@media (max-width: 768px) {
	.nmp-slide__content {
		max-width: 100%;
	}
}

.nmp-slide__badges {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.nmp-badge {
	padding: 6px 14px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 400;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: .06em;
	background: rgba(255, 255, 255, .12);
	backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, .1);
}

.nmp-badge--dim {
	background: rgba(255, 255, 255, .07);
	border-color: rgba(255, 255, 255, .05);
}

.nmp-slide__title {
	font-size: clamp(32px, 5vw, 72px);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -.02em;
	color: #fff;
	text-transform: uppercase;
	margin: 0;
}

.nmp-slide__desc {
	font-size: clamp(14px, 1.2vw, 18px);
	color: #d1d1d6;
	line-height: 1.6;
	max-width: 520px;
	margin: 0;
}

.nmp-slide__btn {
	align-self: flex-start;
	padding: 14px 28px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 500;
	color: #fff;
	background: linear-gradient(90deg, #9333ea -20%, #a855f7 20%, #2563eb 120%);
	transition: transform .2s, opacity .2s;
	white-space: nowrap;
}

.nmp-slide__btn:hover {
	transform: scale(1.04);
	opacity: .9;
}

.nmp-slide__img-wrap {
	position: absolute;
	bottom: 0;
	right: 6%;
	height: 88%;
	width: 44%;
	z-index: 1;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	pointer-events: none;
	overflow: hidden;
}

.nmp-slide__img-wrap img {
	height: 100%;
	width: auto;
	object-fit: contain;
	object-position: bottom;
}

@media (max-width: 768px) {
	.nmp-slide__img-wrap {
		display: none;
	}
}

/* Dots */
.nmp-slider__dots {
	position: absolute;
	bottom: 24px;
	left: 48px;
	display: flex;
	gap: 8px;
	z-index: 3;
}

.nmp-dot {
	height: 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .4);
	transition: width .3s, background .3s;
	width: 10px;
}

.nmp-dot--active {
	background: #fff;
	width: 24px;
}

/* =============================================
   HERO
   ============================================= */
.nmp-hero {
	position: relative;
	margin: 16px;
	border-radius: 32px;
	background: #131313;
	padding: 80px 96px;
	min-height: 340px;
	display: flex;
	align-items: center;
}

@media (max-width: 768px) {
	.nmp-hero {
		padding: 40px 24px;
	}
}

.nmp-hero__blob {
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	width: 50%;
	overflow: hidden;
	border-radius: 0 32px 32px 0;
	pointer-events: none;
	z-index: 0;
}

.nmp-hero__blob img {
	position: absolute;
	right: -25%;
	top: -25%;
	width: 120%;
	height: 150%;
	object-fit: contain;
	opacity: .85;
	mix-blend-mode: screen;
	filter: blur(10px);
}

.nmp-hero__body {
	position: relative;
	z-index: 1;
	width: 100%;
}

.nmp-hero__greeting {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: -4px;
}

.nmp-hero__hi {
	font-size: clamp(28px, 4.5vw, 72px);
	font-weight: 700;
	line-height: 1.1;
	color: #aeaeb2;
}

.nmp-hero__hand {
	width: clamp(28px, 4.5vw, 72px);
	height: auto;
}

.nmp-hero__phrases {
	position: relative;
	height: clamp(36px, 4.5vw, 88px);
	overflow: hidden;
	margin-bottom: 28px;
}

.nmp-phrase {
	position: absolute;
	left: 0;
	top: 0;
	font-size: clamp(28px, 4.5vw, 72px);
	font-weight: 700;
	line-height: 1.1;
	color: #fff;
	white-space: nowrap;
	opacity: 0;
	transform: translateY(100%);
	transition: transform .6s cubic-bezier(.22, 1, .36, 1), opacity .6s;
}

.nmp-phrase--active {
	opacity: 1;
	transform: translateY(0);
}

.nmp-phrase--leave {
	opacity: 0;
	transform: translateY(-100%);
}

.nmp-hero__search {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	background: #fff;
	border-radius: 16px;
	padding: 0 8px 0 20px;
	max-width: 640px;
	height: 52px;
	box-shadow: 0 10px 35px rgba(0, 0, 0, .25);
}

.nmp-hero__ai-response {
	position: absolute;
	left: 0;
	bottom: 68px;
	width: max-content;
	max-width: 85dvw;
	color: #0B0B0B;
	font-size: 16px;
	line-height: 26px;
	font-style: italic;
	background: #FFFFFF;
	border-radius: 16px;
	border: 1px solid #f5f5f5;
	padding: 24px;
	opacity: 0;
	pointer-events: none;
	transition: transform .25s ease-in-out, opacity .2s ease-in-out;
}

.nmp-hero__ai-response._show {
	opacity: 1;
	pointer-events: auto;
}

.nmp-hero__ai-response a {
	display: flex;
	width: inherit;
	color: #BD0C1E;
	margin-top: 16px;
}

.nmp-hero__ai-response a:hover {
	color: #0b0b0b;
}

@media (max-width: 768px) {
	.nmp-hero {
		min-height: auto;
	}

	.nmp-hero__ai-response {
		max-width: 100%;
		font-size: 15px;
		line-height: 21px;
		padding: 16px 20px;
	}

	.nmp-hero__phrases {
		height: clamp(72px, 4.5vw, 88px);
	}

	.nmp-phrase {
		white-space: normal;
	}
}

.nmp-hero__search input {
	flex: 1;
	font-size: 14px;
	color: #0b0b0b;
	background: none;
	border: none;
	outline: none;
	font-family: inherit;
}

.nmp-hero__search input::placeholder {
	color: #aaa;
}

.nmp-hero__search-btn {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #0b0b0b;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: transform .2s;
}

.nmp-hero__search-btn:hover {
	transform: scale(1.1);
}

.nmp-hero__search-btn svg {
	width: 16px;
	height: 16px;
	fill: #131313;
}

.nmp-hero__search-btn_spinner {
	display: none;
	width: 20px;
	height: 20px;
	border: 2px solid rgb(19 19 19 / 30%);
	border-top-color: #131313;
	border-radius: 50%;
	animation: spin 1s linear infinite;
	box-sizing: border-box;
	margin: 0 8px;
}

.nmp-floater-search-btn_spinner {
	display: none;
	width: 20px;
	height: 20px;
	border: 2px solid rgb(255 255 255 / 30%);
	border-top-color: #FFFFFF;
	border-radius: 50%;
	animation: spin 1s linear infinite;
	box-sizing: border-box;
	margin: 0 8px;
}

.nmp-hero__stats {
	display: flex;
	flex-direction: row;
	gap: 16px;
	margin: 16px;
}

.nmp-stat {
	width: 100%;
	background: #131313;
	border-radius: 32px;
	padding: 24px 32px;
}

.nmp-stat__val {
	font-size: 36px;
	font-weight: 700;
	color: #fff;
	white-space: nowrap;
}

.nmp-stat__lbl {
	font-size: 14px;
	color: #6b7280;
	line-height: 1.5;
	margin-top: 2px;
}

/* =============================================
   CATALOG GRID
   ============================================= */
.nmp-catalog {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-template-rows: repeat(2, 1fr);
	grid-auto-flow: dense;
	gap: 32px;
	padding: 0 112px;
	margin: 16px 0;
}

.nmp-card {
	position: relative;
	border-radius: 36px;
	overflow: hidden;
	background: #141414;
	border: 1px solid #2a2a2a;
	aspect-ratio: 1 / 1;
	transition: transform .2s, box-shadow .2s;
	cursor: pointer;
}

.nmp-card:hover {
	transform: scale(1.02);
	box-shadow: 0 16px 40px rgba(0, 0, 0, .5);
}

.nmp-card--2x2 {
	grid-column: span 2 / span 2;
	grid-row: span 2 / span 2;
}

.nmp-card--event img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: .9;
	transition: opacity .2s;
}

.nmp-card--event:hover img {
	opacity: 1;
}

.nmp-card__labels {
	position: absolute;
	bottom: 20px;
	left: 20px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.nmp-label {
	font-size: 12px;
	color: #fff;
	font-weight: 400;
	background: rgba(26, 26, 26, .9);
	backdrop-filter: blur(8px);
	border: 1px solid #2a2a2a;
	border-radius: 999px;
	padding: 5px 12px;
	line-height: 1;
}

/* Vacancy card */
.nmp-card--vacancy {
	display: flex;
	flex-direction: column;
	padding: 24px;
}

.nmp-card__top {
	flex: 0 0 auto;
}

.nmp-card__title {
	font-size: 17px;
	font-weight: 400;
	color: #fff;
	line-height: 1.25;
	margin: 0 0 6px;
}

.nmp-card__salary {
	font-size: 15px;
	font-weight: 500;
	color: #6b7280;
	margin: 0;
}

.nmp-card__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 14px;
}

.nmp-tag {
	font-size: 11px;
	color: #d1d5db;
	background: #1a1a1a;
	border: 1px solid #2a2a2a;
	border-radius: 999px;
	padding: 4px 10px;
}

.nmp-card__nge {
	margin-top: 10px;
	font-size: 11px;
	color: #bd0c1e;
	border: 1px solid rgba(189, 12, 30, .2);
	background: rgba(189, 12, 30, .05);
	border-radius: 999px;
	display: inline-block;
	padding: 4px 10px;
	align-self: flex-start;
}

.nmp-card__bottom {
	margin-top: auto;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
}

.nmp-card__logo {
	max-height: 32px;
	max-width: 200px;
	object-fit: contain;
	object-position: left;
}

.nmp-card__company {
	font-size: 12px;
	font-weight: 500;
	color: #6b7280;
}

.nmp-card__like {
	padding: 8px;
	color: #d1d5db;
	transition: transform .15s, color .15s;
}

.nmp-card__like:hover {
	transform: scale(1.15);
}

.nmp-card__like svg {
	width: 22px;
	height: 22px;
	display: block;
}

.nmp-card__like--active svg {
	fill: #bd0c1e;
	color: #bd0c1e;
}

/* =============================================
   FLOATING SEARCH BAR
   ============================================= */
.nmp-floater {
	position: fixed;
	bottom: 28px;
	left: 50%;
	transform: translateX(-50%) translateY(0);
	width: min(calc(100vw - 48px), 500px);
	z-index: 90;
	pointer-events: auto;
	transition: opacity .3s cubic-bezier(.34, 1.56, .64, 1),
	transform .3s cubic-bezier(.34, 1.56, .64, 1);
}

.nmp-floater--hidden {
	opacity: 0;
	transform: translateX(-50%) translateY(16px);
	pointer-events: none;
}

.nmp-floater__ai-response {
	color: #ebe6e7;
	font-size: 16px;
	line-height: 26px;
	font-style: italic;
	background: #1a1a1a;
	border: 1px solid #2a2a2a;
	border-radius: 16px;
	padding: 24px;
	margin-bottom: 16px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, .6);
	opacity: 0;
	pointer-events: none;
	transition: transform .25s ease-in-out, opacity .2s ease-in-out;
}

.nmp-floater__ai-response._show {
	opacity: 1;
	pointer-events: auto;
}

.nmp-floater__ai-response a {
	display: flex;
	width: inherit;
	color: #BD0C1E;
	margin-top: 16px;
}

.nmp-floater__ai-response a:hover {
	color: #FFFFFF;
}

@media (max-width: 768px) {
	.nmp-floater__ai-response {
		padding: 18px;
		font-size: 15px;
		line-height: 21px;
	}
}

.nmp-floater__inner {
	display: flex;
	align-items: center;
	gap: 8px;
	background: #1a1a1a;
	border: 1px solid #2a2a2a;
	border-radius: 16px;
	padding: 0 8px 0 18px;
	height: 52px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, .6);
}

.nmp-floater__inner input {
	flex: 1;
	font-size: 14px;
	color: #fff;
	background: none;
	border: none;
	outline: none;
	font-family: inherit;
}

.nmp-floater__inner input::placeholder {
	color: #555;
}

.nmp-floater__inner button {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: transparent;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: transform .2s;
}

.nmp-floater__inner button:hover {
	transform: scale(1.1);
}

.nmp-floater__inner button svg {
	width: 16px;
	height: 16px;
}

.nmp-hero__search._disabled input,
.nmp-floater__inner._disabled input {
	pointer-events: none;
}

.nmp-hero__search._disabled .nmp-hero__search-btn,
.nmp-floater__inner._disabled button {
	display: none;
}

.nmp-hero__search._disabled .nmp-hero__search-btn_spinner,
.nmp-floater__inner._disabled .nmp-floater-search-btn_spinner {
	display: block;
}

@media (max-width: 1199px) {
	.nmp-floater {
		bottom: 80px;
	}
}

/* =============================================
   RESPONSIVE TWEAKS
   ============================================= */
@media (max-width: 992px) {
	.nmp-nav__inner {
		padding: 20px 16px 12px;
	}

	.nmp-nav--sticky .nmp-nav__inner {
		padding: 10px 16px;
	}

	.nmp-slider {
		margin: 8px;
	}

	.nmp-hero {
		margin: 8px;
		padding: 32px 16px;
	}

	.nmp-catalog {
		display: flex;
		flex-direction: column;
		gap: 8px;
		padding: 0 8px;
		margin: 8px 0;
	}

	.nmp-card--2x2 {
		grid-column: span 2;
	}

	.nmp-hero__stats {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		grid-template-rows: repeat(2, 1fr);
		gap: 8px;
		margin: 8px;
	}

	.nmp-stat {
		padding: 24px 24px;
	}

	.nmp-stat__val {
		font-size: 24px;
	}

	.nmp-stat__lbl {
		line-height: normal;
	}
}

@media (max-width: 350px) {
	.nmp-hero__stats {
		display: flex;
		flex-direction: column;
	}
}

.page-wrapper {
	background: #0b0b0b;
}

.header-slider {
	border-radius: 32px !important;
	margin-bottom: 16px !important;
}

.desktop-menu {
	max-width: none !important;
	padding-left: 112px !important;
	padding-right: 112px !important;
}

.header-slider__layout {
	max-width: none !important;
	padding-left: 96px !important;
	padding-right: 96px !important;
}

@media (max-width: 480px) {
	.header-slider {
		border-radius: 0 0 32px 32px !important;
	}
}

@media (max-width: 992px) {
	.header-slider__layout {
		padding-left: 16px !important;
		padding-right: 16px !important;
	}
}

@keyframes spin {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

.desktop-menu-container.fixed {
	background-color: #131313 !important;
}


.desktop-menu-container.fixed .desktop-menu .desktop-menu__logo svg path {
	fill: #FFFFFF !important;
}