/* Vacancies / jobs page */
.jobs {
	background: #f3f2f0;
}

.jobs__intro {
	position: relative;
	padding: 64px 0 56px;
	background:
		linear-gradient(105deg, rgba(20, 20, 20, 0.88) 0%, rgba(20, 20, 20, 0.55) 48%, rgba(20, 20, 20, 0.35) 100%),
		url("/newsite/images/v1.jpg") center / cover no-repeat;
	color: #fff;
	overflow: hidden;
}

.jobs__intro::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 48px;
	background: linear-gradient(to top, #f3f2f0, transparent);
	pointer-events: none;
}

.jobs__intro-inner {
	position: relative;
	z-index: 1;
	max-width: 1200px;
	padding: 0 15px;
	margin: 0 auto;
	width: 100%;
	box-sizing: border-box;
}

.jobs__eyebrow {
	margin: 0 0 14px;
	font-family: Montserrat, "Segoe UI", sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.72);
}

.jobs__title {
	margin: 0 0 18px;
	font-family: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
	font-size: clamp(48px, 8vw, 84px);
	font-weight: 400;
	line-height: 0.92;
	letter-spacing: 0.02em;
	color: #fff;
}

.jobs__lead {
	margin: 0 0 28px;
	font-family: Montserrat, "Segoe UI", sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.88);
}

.jobs__intro-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 22px;
}

.jobs__intro-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 22px;
	font-family: Montserrat, "Segoe UI", sans-serif;
	font-size: 14px;
	font-weight: 700;
	color: #fff !important;
	text-decoration: none !important;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.45);
	border-radius: 8px;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease;
}

.jobs__intro-cta:hover {
	border-color: #fff;
	background: rgba(255, 255, 255, 0.1);
}

.jobs__intro-cta--primary {
	background: #f66446 !important;
	border-color: #f66446 !important;
	color: #fff !important;
}

.jobs__intro-cta--primary:hover {
	background: #e85a3f !important;
	border-color: #e85a3f !important;
	color: #fff !important;
}

.jobs__perks {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	margin: -8px 0 48px;
	padding: 0;
	list-style: none;
	background: #fff;
	border: 1px solid rgba(26, 26, 26, 0.08);
	position: relative;
	z-index: 2;
}

.jobs__perks li {
	padding: 22px 20px;
	border-right: 1px solid rgba(26, 26, 26, 0.08);
}

.jobs__perks li:last-child {
	border-right: 0;
}

.jobs__perk-label {
	display: block;
	margin: 0 0 6px;
	font-family: Montserrat, "Segoe UI", sans-serif;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #f66446;
}

.jobs__perk-text {
	display: block;
	font-family: Montserrat, "Segoe UI", sans-serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	color: #1a1a1a;
}

.jobs__list {
	display: flex;
	flex-direction: column;
	gap: 56px;
	padding-bottom: 64px;
}

.job {
	display: grid;
	grid-template-columns: minmax(260px, 0.95fr) minmax(0, 1.15fr);
	gap: 32px 48px;
	align-items: center;
}

.job--flip .job__media {
	order: 2;
}

.job--flip .job__body {
	order: 1;
}

.job__media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: #1a1a1a;
}

.job__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.02);
	transition: transform 0.55s ease;
}

.job:hover .job__media img {
	transform: scale(1.06);
}

.job__index {
	position: absolute;
	left: 16px;
	bottom: 14px;
	font-family: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
	font-size: 56px;
	line-height: 0.85;
	letter-spacing: 0.02em;
	color: rgba(255, 255, 255, 0.92);
	text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
	pointer-events: none;
}

.job__role {
	margin: 0 0 8px;
	font-family: Montserrat, "Segoe UI", sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #f66446;
}

.job__name {
	margin: 0 0 14px;
	font-family: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
	font-size: clamp(32px, 4vw, 44px);
	font-weight: 400;
	line-height: 0.95;
	letter-spacing: 0.02em;
	color: #1a1a1a;
}

.job__text {
	margin: 0 0 22px;
	font-family: Montserrat, "Segoe UI", sans-serif;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.6;
	color: #4a4a4a;
}

.job__cols {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 16px 20px;
	margin: 0 0 26px;
	padding: 18px 0 0;
	border-top: 1px solid rgba(26, 26, 26, 0.1);
}

.job__col-title {
	margin: 0 0 6px;
	font-family: Montserrat, "Segoe UI", sans-serif;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #8a8a8a;
}

.job__cols p {
	margin: 0;
	font-family: Montserrat, "Segoe UI", sans-serif;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.45;
	color: #2a2a2a;
}

.job__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 26px;
	font-family: Montserrat, "Segoe UI", sans-serif;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.01em;
	color: #fff !important;
	text-decoration: none !important;
	background: #f66446;
	border-radius: 8px;
	border: 0;
	box-shadow: none;
	cursor: pointer;
	transition: background 0.2s ease;
}

.job__cta:hover {
	background: #e85a3f;
	color: #fff !important;
}

.jobs__footer {
	padding: 48px 0 64px;
	background: #1a1a1a;
	color: #fff;
}

.jobs__footer-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px 40px;
}

.jobs__footer-title {
	margin: 0 0 10px;
	font-family: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
	font-size: clamp(32px, 4vw, 44px);
	font-weight: 400;
	line-height: 0.95;
	letter-spacing: 0.02em;
	color: #fff;
}

.jobs__footer-text {
	margin: 0;
	max-width: 420px;
	font-family: Montserrat, "Segoe UI", sans-serif;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.72);
}

.jobs__footer-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 28px;
	font-family: Montserrat, "Segoe UI", sans-serif;
	font-size: 15px;
	font-weight: 700;
	color: #fff !important;
	background: #f66446;
	border: 0;
	border-radius: 10px;
	cursor: pointer;
	transition: background 0.2s ease;
}

.jobs__footer-cta:hover {
	background: #e85a3f;
	color: #fff !important;
}

@media (max-width: 900px) {
	.jobs__perks {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		margin-top: -4px;
		margin-bottom: 40px;
	}

	.jobs__perks li:nth-child(2n) {
		border-right: 0;
	}

	.jobs__perks li:nth-child(-n + 2) {
		border-bottom: 1px solid rgba(26, 26, 26, 0.08);
	}

	.job,
	.job--flip {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.job--flip .job__media,
	.job--flip .job__body {
		order: initial;
	}

	.jobs__list {
		gap: 44px;
		padding-bottom: 48px;
	}
}

@media (max-width: 560px) {
	.jobs__intro {
		padding: 44px 0 40px;
	}

	.jobs__perks {
		grid-template-columns: 1fr;
	}

	.jobs__perks li {
		border-right: 0;
		border-bottom: 1px solid rgba(26, 26, 26, 0.08);
	}

	.jobs__perks li:last-child {
		border-bottom: 0;
	}

	.jobs__intro-actions {
		flex-direction: column;
		align-items: flex-start;
	}

	.job__index {
		font-size: 44px;
	}

	.jobs__footer-inner {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (prefers-reduced-motion: reduce) {
	.job__media img,
	.job:hover .job__media img {
		transform: none;
		transition: none;
	}
}
