.kp-offer {
	position: relative;
	overflow: hidden;
	border-radius: 16px;
	background-color: #101e33;
	background-repeat: no-repeat;
	background-position: left center;
	background-size: cover;
	color: #fff;
	font-family: Inter, Arial, sans-serif;
}

.kp-offer::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(8, 18, 36, 0.28) 0%, rgba(10, 22, 42, 0.45) 24%, rgba(16, 30, 51, 0.82) 46%, #101e33 64%);
}

.kp-offer__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.35fr);
	gap: 28px 36px;
	align-items: center;
	padding: 34px 32px 30px 44px;
	box-sizing: border-box;
}

.kp-offer__title {
	margin: 0 0 14px !important;
	padding: 0;
	color: #fff;
	font-family: Inter, Arial, sans-serif;
	font-size: 40px !important;
	font-weight: 700;
	line-height: 1.05 !important;
	letter-spacing: -0.03em;
}

.kp-offer__lead {
	max-width: 380px;
	margin: 0;
	color: rgba(255, 255, 255, 0.78);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.45;
}

.kp-offer .wpcf7 {
	margin: 0;
}

.kp-offer .kp-form p {
	display: contents;
	margin: 0;
}

.kp-form__fields {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.kp-form__row--inputs,
.kp-form__row--action {
	display: grid;
	gap: 12px;
}

.kp-form__row--inputs {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.kp-form__row--action {
	grid-template-columns: minmax(0, 1fr) 188px;
	align-items: stretch;
}

.kp-offer .wpcf7-form-control-wrap {
	display: block;
	min-width: 0;
}

.kp-offer .kp-form__input,
.kp-offer input.kp-form__input {
	display: block;
	width: 100% !important;
	height: 48px !important;
	margin: 0 !important;
	padding: 0 16px !important;
	border: 0 !important;
	border-radius: 6px !important;
	background: #fff !important;
	color: #1c1c1c !important;
	font-family: Inter, Arial, sans-serif !important;
	font-size: 15px !important;
	font-weight: 400 !important;
	line-height: 48px !important;
	box-shadow: none !important;
	box-sizing: border-box;
}

.kp-offer .kp-form__input::placeholder {
	color: #8b93a0;
	opacity: 1;
}

.kp-form__file {
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 72px;
	margin: 0;
	padding: 10px 16px;
	border: 1.5px dashed rgba(255, 255, 255, 0.55);
	border-radius: 8px;
	color: #fff;
	cursor: pointer;
	box-sizing: border-box;
	transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.kp-form__file.is-dragover {
	border-color: #f6b423;
	background: rgba(246, 180, 35, 0.16);
	box-shadow: inset 0 0 0 1px rgba(246, 180, 35, 0.5);
}

.kp-form__file.is-chosen {
	border-style: solid;
	border-color: rgba(255, 255, 255, 0.92);
	background: rgba(255, 255, 255, 0.06);
}

.kp-form__file-icon {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
}

.kp-form__file-icon svg {
	width: 26px;
	height: 26px;
}

.kp-form__file-copy {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.kp-form__file-title {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
}

.kp-form__file-hint {
	color: rgba(255, 255, 255, 0.72);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.3;
}

.kp-form__file .wpcf7-form-control-wrap {
	position: static;
}

.kp-offer .kp-form__file-input {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	border: 0 !important;
	opacity: 0 !important;
}

.kp-offer input.kp-form__submit,
.kp-offer .wpcf7-submit.kp-form__submit {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	height: 100% !important;
	min-height: 72px !important;
	margin: 0 !important;
	padding: 12px 16px !important;
	border: 0 !important;
	border-radius: 8px !important;
	background: #f6b423 !important;
	background-color: #f6b423 !important;
	color: #1c1c1c !important;
	font-family: Inter, Arial, sans-serif !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	box-shadow: none !important;
	cursor: pointer;
}

.kp-offer input.kp-form__submit:hover,
.kp-offer .wpcf7-submit.kp-form__submit:hover {
	background: #e6a61a !important;
	background-color: #e6a61a !important;
	color: #1c1c1c !important;
}

.kp-form__consent {
	color: rgba(255, 255, 255, 0.92);
	font-size: 14px;
	line-height: 1.4;
}

.kp-form__consent .wpcf7-list-item {
	margin: 0;
}

.kp-form__consent label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	cursor: pointer;
}

.kp-form__consent input[type="checkbox"] {
	width: 16px !important;
	height: 16px !important;
	min-width: 16px;
	margin: 2px 0 0 !important;
	accent-color: #fff;
	flex: 0 0 auto;
}

.kp-form__consent a {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.kp-offer .wpcf7-not-valid-tip {
	display: block;
	margin-top: 4px;
	color: #ffb4b4;
	font-size: 12px;
	line-height: 1.3;
}

.kp-offer .wpcf7-not-valid.kp-form__input {
	outline: 2px solid #e25b5b;
}

.kp-offer .wpcf7-response-output {
	margin: 4px 0 0 !important;
	padding: 8px 12px !important;
	border-color: rgba(255, 255, 255, 0.35) !important;
	color: #fff;
	font-size: 14px;
}

.kp-offer .wpcf7-spinner {
	position: absolute;
	margin: 0;
}

.kp-form__row--action {
	position: relative;
}

.kp-offer span.captcha-image {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px 8px;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	color: #fff;
	text-align: left;
}

.kp-offer .cf7ic_instructions {
	flex: 1 1 100%;
	margin: 0;
	color: rgba(255, 255, 255, 0.75);
	font-size: 13px;
	line-height: 1.3;
}

.kp-offer span.captcha-image > label {
	margin: 0 !important;
}

.kp-offer span.captcha-image svg {
	width: 28px !important;
	height: 28px !important;
	padding: 2px !important;
}

@media (max-width: 1100px) {
	.kp-offer__title {
		font-size: 34px !important;
	}

	.kp-offer__inner {
		gap: 22px 24px;
		padding: 28px 24px 24px;
	}

	.kp-form__row--action {
		grid-template-columns: minmax(0, 1fr) 160px;
	}
}

@media (max-width: 860px) {
	.kp-offer {
		background-size: cover;
		background-position: left center;
	}

	.kp-offer::before {
		background: linear-gradient(180deg, rgba(12, 26, 46, 0.72) 0%, rgba(16, 30, 51, 0.94) 46%, #101e33 72%);
	}

	.kp-offer__inner {
		grid-template-columns: 1fr;
		padding: 28px 18px 22px;
	}

	.kp-offer__lead {
		max-width: none;
	}

	.kp-form__row--inputs,
	.kp-form__row--action {
		grid-template-columns: 1fr;
	}

	.kp-offer input.kp-form__submit,
	.kp-offer .wpcf7-submit.kp-form__submit {
		min-height: 52px !important;
	}
}

@media (max-width: 640px) {
	.kp-offer {
		border-radius: 10px;
	}

	.kp-offer__title {
		font-size: 28px !important;
	}

	.kp-offer__lead {
		font-size: 15px;
	}
}
