.credit {
	position: relative;
	height: 382px;
	overflow: hidden;
	border-radius: 10px;
	color: var(--color-white);
	padding-top: 30px;
	padding-bottom: 45px;
	max-width: 1920px;
	margin-left: auto;
	margin-right: auto;
}

.credit-inner {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
	align-items: flex-start;
	position: relative;
}

.credit-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
	pointer-events: none;
}

.credit__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.credit-note {
	font-size: 14px;
	border: 1px solid rgba(255, 255, 255, 0.38);
	line-height: 1;
	padding: 12px 16px;
	border-radius: 29px;
	text-transform: uppercase;
}
.credit-title {
	font-weight: 400;
	font-size: 44px;
	line-height: 1;
	text-transform: uppercase;
}

.credit-title .mob-hide {
	display: block;
}

.credit-title .desk-hide {
	display: none;
}
.credit-form {
	max-width: 564px;
	width: 100%;
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: auto auto;
	gap: 20px 10px;
	grid-auto-flow: row;
	grid-template-areas:
		'credit-form-input-phone credit-form-btn'
		'credit-form-checkbox credit-form-checkbox';
}

.credit-form-input-phone {
	grid-area: credit-form-input-phone;
}

.credit-form-btn {
	grid-area: credit-form-btn;
}

.credit-form-checkbox {
	grid-area: credit-form-checkbox;
}

.credit-form-input-phone {
	background-color: rgba(255, 255, 255, 0.44);
	padding: 0 18px;
	border-radius: 33px;
}
.credit-form-input-phone::placeholder {
	color: rgba(40, 40, 40, 0.52);
}

.credit-form-btn {
	max-width: 100%;
	height: 50px;
}

.credit-form-checkbox .custom-checkbox-text {
	text-wrap: nowrap;
}

.credit-form .form-input__check[type='checkbox'] + .custom-checkbox {
	background-color: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.credit-pay {
	display: flex;
	flex-direction: column;
	gap: 40px;
	position: absolute;
	right: 0;
	bottom: 40px;
}

.credit-payment,
.credit-percent {
	font-weight: 600;
	font-size: 33px;
	line-height: 1.2;
	position: relative;
}

.credit-payment sup,
.credit-percent sup {
	font-size: 12px;
	position: absolute;
}

.credit-payment span,
.credit-percent span {
	font-weight: 400;
	font-size: 16px;
	line-height: 1;
	text-transform: lowercase;
	display: block;
	color: rgba(255, 255, 255, 0.6);
}

.credit-car-img {
	display: none;
}

@media screen and (max-width: 1540px) {
	.credit-pay {
		position: unset;
		flex-direction: row;
		gap: 60px;
	}
	.credit-title {
		font-size: 36px;
	}
	.credit {
		padding: 25px 0;
	}
}

@media screen and (max-width: 1024px) {
	.credit-title {
		font-size: 26px;
	}
	.credit-payment,
	.credit-percent {
		font-size: 22px;
	}
	.credit-payment span,
	.credit-percent span {
		font-size: 14px;
	}
	.credit-pay {
		flex-direction: column;
		gap: 10px;
	}
	.credit-form {
		max-width: 430px;
	}
}

@media screen and (max-width: 768px) {
	.credit {
		height: 100%;
		background: linear-gradient(180deg, #000000 0.67%, #c30d23 136.87%);
	}
	.credit-car-img {
		display: block;
		margin: 0 auto;
	}
	.credit-form {
		max-width: 100%;
	}
	.credit-form-checkbox .custom-checkbox-text {
		text-wrap: wrap;
	}
	.credit-title {
		font-size: 24px;
	}
	.credit-title .mob-hide {
		display: none;
	}
	.credit-title .desk-hide {
		display: block;
	}
	.credit-note {
		margin-bottom: 10px;
	}
	.credit-title {
		margin-bottom: 5px;
	}
	.credit-pay {
		margin-bottom: 35px;
	}
}

@media screen and (max-width: 540px) {
	.credit-car-img {
		display: block;
		max-width: 100%;
		margin: 0 auto;
	}
	.credit-form {
		display: grid;
		grid-template-columns: 1fr;
		grid-template-rows: 1fr 1fr auto;
		gap: 10px;
		grid-auto-flow: row;
		grid-template-areas:
			'credit-form-input-phone'
			'credit-form-btn'
			'credit-form-checkbox';
	}
}
