.careersForm {
	--careers-bkg-shift: 195px;
	position: relative;
	isolation: isolate;
	width: 100%;
	min-height: 701px;
	padding: clamp(96px, 10vw, 160px) var(--pad) clamp(96px, 10vw, 160px);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 64px;
	overflow: hidden;
}

.careersForm_bkg {
	position: absolute;
	width: 806.17px;
	height: 1044px;
	top: -111.49px;
	left: calc(50% + var(--careers-bkg-shift));
	transform: translateX(-50%) scale(0.85) matrix(1, -0.01, -0.01, 1, 0, 0);
	transform-origin: center;
	pointer-events: none;
	z-index: 0;
}

.careersForm_header {
	width: min(1184px, 100%);
	display: flex;
	flex-direction: column;
	gap: 10px;
	z-index: 1;
}

.careersForm_title {
	margin: 0;
	font-family: "Bree Serif", serif;
	font-weight: 400;
	font-size: 42px;
	line-height: 52px;
	color: #11151d;
}

.careersForm_subtitle {
	margin: 0;
	max-width: 351px;
	font-family: "Lato", system-ui, sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	color: #11151d;
}

.careersForm_items {
	width: min(1184px, 100%);
	display: flex;
	align-items: flex-start;
	gap: 32px;
	z-index: 2;
}

.careersForm_form {
	width: min(638px, 100%);
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.careersForm_spacer {
	flex: 1 1 0;
	min-width: 0;
}

.careersForm_row {
	display: flex;
	gap: 18px;
	width: 100%;
}

.careersForm_row--file {
	gap: 12px;
}

.careersForm_field--file {
	flex: 0 0 100px;
	max-width: 100px;
	position: relative;
	height: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(17, 21, 29, 0.85);
	border: 1px solid #2b2e33;
	border-radius: 6px;
	cursor: pointer;
	overflow: hidden;
	transition:
		background-color 180ms ease,
		border-color 180ms ease,
		box-shadow 180ms ease;
}

.careersForm_fileInput {
	position: absolute;
	inset: 0;
	opacity: 0;
	cursor: pointer;
}

.careersForm_fileLabel {
	font-family: "Lato", system-ui, sans-serif;
	font-weight: 500;
	font-size: 14px;
	line-height: 24px;
	color: #f5f0e8;
	white-space: nowrap;
	transition: color 180ms ease;
}

.careersForm_field--file:hover,
.careersForm_field--file:focus-within {
	background: #1a202b;
	border-color: #1a202b;
	box-shadow: 0 4px 14px rgba(17, 21, 29, 0.12);
}

.careersForm_field--file:hover .careersForm_fileLabel,
.careersForm_field--file:focus-within .careersForm_fileLabel {
	color: #f5f0e8;
}

.careersForm :is(.field_input, .field_select, .field_textarea) {
	background: #d8d8d8;
	border-color: #c2c2c2;
	color: #11151d;
}

.careersForm :is(.field_input, .field_textarea)::placeholder {
	color: #11151d;
	opacity: 1;
}

.careersForm .field_select {
	color: #11151d;
	background-image:
		linear-gradient(45deg, transparent 50%, #11151d 50%),
		linear-gradient(135deg, #11151d 50%, transparent 50%);
	background-position: calc(100% - 22px) 24px, calc(100% - 16px) 24px;
	background-size: 6px 6px, 6px 6px;
	background-repeat: no-repeat;
}

.careersForm :is(.field_hint, .field_count) {
	color: #959ba0;
}

.careersForm_send {
	width: 260px;
	height: 60px;
	--ui-btn-bg: var(--light);
	--ui-btn-border: var(--dark);
	--ui-btn-text: var(--dark);
	--ui-btn-hover-bg: var(--dark);
	--ui-btn-hover-border: var(--dark);
	--ui-btn-hover-text: var(--light);
}

.careersForm_sendText,
.careersForm_sendArrow {
	color: currentColor;
	transition:
		color 520ms cubic-bezier(.22, 1, .36, 1),
		transform 520ms cubic-bezier(.22, 1, .36, 1);
}

@media (max-width: 1200px) {
	.careersForm {
		--careers-bkg-shift: 150px;
	}

	.careersForm_items {
		gap: 24px;
	}
}

@media (max-width: 980px) {
	.careersForm {
		--careers-bkg-shift: 110px;
		padding-top: 104px;
		padding-bottom: 104px;
		gap: 48px;
	}

	.careersForm_items {
		flex-direction: column;
		align-items: stretch;
	}

	.careersForm_form {
		width: 100%;
		max-width: none;
	}

	.careersForm_spacer {
		display: none;
	}

	.careersForm_send {
		width: 100%;
		max-width: 320px;
	}
}

@media (max-width: 720px) {
	.careersForm {
		--careers-bkg-shift: 70px;
		min-height: auto;
		padding-top: 88px;
		padding-bottom: 88px;
		gap: 36px;
	}

	.careersForm_bkg {
		opacity: 0.45;
		transform: translateX(-50%) scale(0.72) matrix(1, -0.01, -0.01, 1, 0, 0);
	}

	.careersForm_header {
		gap: 12px;
	}

	.careersForm_title {
		font-size: 34px;
		line-height: 40px;
	}

	.careersForm_subtitle {
		max-width: 100%;
		font-size: 15px;
		line-height: 22px;
	}

	.careersForm_row {
		flex-direction: column;
		gap: 14px;
	}

	.careersForm_row--file {
		gap: 14px;
	}

	.careersForm_field--file {
		flex: 1 1 auto;
		max-width: none;
		width: 100%;
	}

	.careersForm_send {
		width: 100%;
		max-width: none;
	}
}

@media (max-width: 480px) {
	.careersForm {
		--careers-bkg-shift: 40px;
		padding-top: 72px;
		padding-bottom: 72px;
		gap: 28px;
	}

	.careersForm_bkg {
		opacity: 0.32;
		transform: translateX(-50%) scale(0.62) matrix(1, -0.01, -0.01, 1, 0, 0);
		top: -150px;
	}

	.careersForm_title {
		font-size: 28px;
		line-height: 34px;
	}

	.careersForm_subtitle {
		font-size: 14px;
		line-height: 21px;
	}

	.careersForm_form {
		gap: 16px;
	}

	.careersForm_send {
		height: 56px;
	}
}

@media (min-width: 1400px) {
	.careersForm {
		--careers-bkg-shift: 240px;
	}
}

@media (max-width: 640px) {
  .careersForm {
    padding-bottom: 130px;
  }
}