.bottom-form {
	display: flex;
	align-items: center;
	background: #000000;
	overflow: hidden;
	border-radius: 10px;
	box-shadow: 0px 0px 5px rgba(242, 206, 181, 0.2);
}

.bottom-form__image {
	max-width: 1160px;
	display: flex;
	overflow: hidden;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	-ms-border-radius: 5px;
	-o-border-radius: 5px;
}

.bottom-form__image img,
.bottom-form__image picture {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: flex;
}

.bottom-form__content {
	margin: auto;
	max-width: 480px;
}

.bottom-form__desc {
	max-width: 294px;
	margin-top: 30px;
	font-weight: 300;
	font-size: 14px;
	line-height: normal;
	color: #e6e6e6;
}

.bottom-form__form {
	max-width: 460px;
	margin-top: 30px;
}

.bottom-form .wpcf7 {
	max-width: 460px;
	margin-top: 30px;
}

.bottom-form .wpcf7 .bottom-form__form {
	max-width: none;
	margin-top: 0;
}

.bottom-form .wpcf7 .hidden-fields-container,
.bottom-form .wpcf7 br {
	display: none;
}

.bottom-form .wpcf7-form-control-wrap {
	display: block;
	width: 100%;
}

.bottom-form__field {
	--bottom-form-field-border: rgba(230, 230, 230, 0.5);

	position: relative;
	display: block;
}

.bottom-form .wpcf7-form-control-wrap[data-name="your-name"],
.bottom-form .wpcf7-form-control-wrap[data-name="your-email"],
.bottom-form .wpcf7-form-control-wrap[data-name="your-phone"],
.bottom-form .wpcf7-form-control-wrap[data-name="your-tel"] {
	--bottom-form-field-border: rgba(230, 230, 230, 0.5);

	position: relative;
	display: block;
	width: 100%;
}

.bottom-form__field:after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background: var(--bottom-form-field-border);
	transform: scaleY(0.3);
	transform-origin: bottom;
	pointer-events: none;
	transition: background .2s ease;
}

.bottom-form .wpcf7-form-control-wrap[data-name="your-name"]:after,
.bottom-form .wpcf7-form-control-wrap[data-name="your-email"]:after,
.bottom-form .wpcf7-form-control-wrap[data-name="your-phone"]:after,
.bottom-form .wpcf7-form-control-wrap[data-name="your-tel"]:after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background: var(--bottom-form-field-border);
	transform: scaleY(0.3);
	transform-origin: bottom;
	pointer-events: none;
	transition: background .2s ease;
}

.bottom-form__field+.bottom-form__field {
	margin-top: 20px;
}

.bottom-form .wpcf7-form-control-wrap[data-name="your-name"] + .wpcf7-form-control-wrap {
	margin-top: 20px;
}

.bottom-form__field input {
	display: block;
	width: 100%;
	height: 34px;
	border: 0;
	border-radius: 0;
	padding: 0 0 16px;
	color: #e6e6e6;
	font: inherit;
	font-weight: 300;
	font-size: 14px;
	line-height: normal;
	background: transparent;
	outline: none;
}

.bottom-form .wpcf7-form-control-wrap[data-name="your-name"] input,
.bottom-form .wpcf7-form-control-wrap[data-name="your-email"] input,
.bottom-form .wpcf7-form-control-wrap[data-name="your-phone"] input,
.bottom-form .wpcf7-form-control-wrap[data-name="your-tel"] input {
	display: block;
	width: 100%;
	height: 34px;
	border: 0;
	border-radius: 0;
	padding: 0 0 16px;
	color: #e6e6e6;
	font: inherit;
	font-weight: 300;
	font-size: 14px;
	line-height: normal;
	background: transparent;
	outline: none;
}

.bottom-form__field input::placeholder {
	color: rgba(230, 230, 230, 0.5);
	text-transform: uppercase;
}

.bottom-form .wpcf7-form-control-wrap[data-name="your-name"] input::placeholder,
.bottom-form .wpcf7-form-control-wrap[data-name="your-email"] input::placeholder,
.bottom-form .wpcf7-form-control-wrap[data-name="your-phone"] input::placeholder,
.bottom-form .wpcf7-form-control-wrap[data-name="your-tel"] input::placeholder {
	color: rgba(230, 230, 230, 0.5);
	text-transform: uppercase;
}

.bottom-form__field:focus-within,
.bottom-form__field.is-filled {
	--bottom-form-field-border: #E7E7E7;
}

.bottom-form .wpcf7-form-control-wrap[data-name="your-name"]:focus-within,
.bottom-form .wpcf7-form-control-wrap[data-name="your-name"].is-filled,
.bottom-form .wpcf7-form-control-wrap[data-name="your-name"]:has(input:not(:placeholder-shown)),
.bottom-form .wpcf7-form-control-wrap[data-name="your-email"]:focus-within,
.bottom-form .wpcf7-form-control-wrap[data-name="your-email"].is-filled,
.bottom-form .wpcf7-form-control-wrap[data-name="your-email"]:has(input:not(:placeholder-shown)),
.bottom-form .wpcf7-form-control-wrap[data-name="your-phone"]:focus-within,
.bottom-form .wpcf7-form-control-wrap[data-name="your-phone"].is-filled,
.bottom-form .wpcf7-form-control-wrap[data-name="your-phone"]:has(input:not(:placeholder-shown)),
.bottom-form .wpcf7-form-control-wrap[data-name="your-tel"]:focus-within,
.bottom-form .wpcf7-form-control-wrap[data-name="your-tel"].is-filled,
.bottom-form .wpcf7-form-control-wrap[data-name="your-tel"]:has(input:not(:placeholder-shown)) {
	--bottom-form-field-border: #E7E7E7;
}

.bottom-form .wpcf7-not-valid-tip {
	margin-top: 8px;
	color: #f2ceb5;
	font-size: 12px;
	line-height: 1.2;
}

.bottom-form__agree {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin-top: 30px;
	cursor: pointer;
}

.bottom-form__agree-input {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.bottom-form__agree .wpcf7-form-control-wrap,
.bottom-form__agree .wpcf7-form-control,
.bottom-form__agree .wpcf7-list-item,
.bottom-form__agree .wpcf7-list-item label {
	display: contents;
}

.bottom-form__agree .wpcf7-list-item {
	margin: 0;
}

.bottom-form__agree .wpcf7-list-item-label {
	display: none;
}

.bottom-form__agree-box {
	--bottom-form-agree-border: #e7e7e7;

	position: relative;
	flex: 0 0 14px;
	width: 14px;
	height: 14px;
	margin-top: 1px;
	background: transparent;
}

.bottom-form__agree-box:before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 333.333%;
	height: 333.333%;
	border: 1px solid var(--bottom-form-agree-border);
	border-radius: 6.67px;
	transform: scale(0.3);
	transform-origin: top left;
	pointer-events: none;
}

.bottom-form__agree-box:after {
	content: "";
	position: absolute;
	left: 5px;
	top: 1px;
	width: 4px;
	height: 7px;
	border-right: 1px solid #f2ceb5;
	border-bottom: 1px solid #f2ceb5;
	opacity: 0;
	transform: rotate(45deg);
	transition: opacity .2s ease;
}

.bottom-form__agree-input:checked+.bottom-form__agree-box:after {
	opacity: 1;
}

.bottom-form__agree:has(.bottom-form__agree-input:checked) .bottom-form__agree-box:after {
	opacity: 1;
}

.bottom-form__agree-input:focus-visible+.bottom-form__agree-box {
	--bottom-form-agree-border: #f2ceb5;
}

.bottom-form__agree:has(.bottom-form__agree-input:focus-visible) .bottom-form__agree-box {
	--bottom-form-agree-border: #f2ceb5;
}

.bottom-form__agree-text {
	max-width: 428px;
	font-weight: 300;
	font-size: 12px;
	line-height: normal;
	color: #e6e6e6;
}

.bottom-form__agree-text a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 0.16em;
}

.bottom-form__submit {
	margin-top: 40px;
	border: 0;
	color: #e6e6e6;
	font-family: inherit;
	cursor: pointer;
}

.bottom-form__submit.glass-button {
	font-size: 14px;
	padding: 0 20px;
}

.bottom-form .wpcf7-spinner {
	margin: 0;
}

.bottom-form .wpcf7-response-output {
	max-width: 460px;
	margin: 20px 0 0;
	border-color: rgba(242, 206, 181, 0.6);
	padding: 10px 12px;
	color: #e7e7e7;
	font-size: 12px;
	line-height: 1.3;
}

.bottom-form .reveal-item[data-reveal="slide-left"],
.bottom-form .reveal-item[data-reveal="slide-right"] {
	transform: translate3d(0, 0, 0);
	-webkit-transform: translate3d(0, 0, 0);
	-moz-transform: translate3d(0, 0, 0);
	-ms-transform: translate3d(0, 0, 0);
	-o-transform: translate3d(0, 0, 0);
}

@media (min-width: 1024px) and (max-width: 1439px) {
	.bottom-form {
		min-height: 613px;
	}

	.bottom-form__image {
		max-width: 756px;
	}

	.bottom-form__content .page-block__title {
		width: 376px;
		font-size: 32px;
		line-height: normal;
	}

	.bottom-form__desc {
		width: 294px;
		margin-top: 30px;
	}

	.bottom-form__form,
	.bottom-form .wpcf7 {
		max-width: 375px;
		margin-top: 30px;
	}

	.bottom-form .wpcf7 .bottom-form__form {
		margin-top: 0;
	}
}

@media (max-width: 1023px) {
	.bottom-form {
		display: flex;
		min-height: 0;
		flex-direction: column;
	}

	.bottom-form__image {
		flex-basis: auto;
		aspect-ratio: 335 / 240;
	}

	.bottom-form__image img,
	.bottom-form__image picture {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.bottom-form__content {
		padding: 30px 20px;
	}

	.bottom-form__content .page-block__title,
	.bottom-form__desc,
	.bottom-form__form,
	.bottom-form .wpcf7 {
		width: auto;
		max-width: none;
	}

	.bottom-form__form,
	.bottom-form .wpcf7 {
		margin-top: 30px;
	}

	.bottom-form__fields {
		gap: 14px;
	}

	.bottom-form__agree {
		align-items: flex-start;
	}

	.bottom-form__submit {
		width: 100%;
	}

	.bottom-form .wpcf7 .bottom-form__form {
		margin-top: 0;
	}
}

@media (max-width: 767px) {
	.bottom-form {
		height: 742px;
	}

	.bottom-form__content {
		order: 1;
		flex: 0 0 471px;
		padding: 30px 20px 0;
	}

	.bottom-form__image {
		order: 2;
		flex: 0 0 271px;
		height: 271px;
		aspect-ratio: auto;
		border-radius: 10px;
	}

	.bottom-form__image img,
	.bottom-form__image picture {
		width: 108.61%;
		max-width: none;
		height: 100%;
		object-fit: cover;
		object-position: left center;
	}

	.bottom-form__content .page-block__title {
		width: 282px;
		font-size: 24px;
		font-weight: 300;
		line-height: 1.25;
	}

	.bottom-form__desc {
		width: 292px;
		margin-top: 12px;
		font-size: 14px;
		line-height: 1.28;
		color: #e7e7e7;
	}

	.bottom-form__form,
	.bottom-form .wpcf7 {
		width: 295px;
		margin-top: 40px;
	}

	.bottom-form__field input,
	.bottom-form .wpcf7-form-control-wrap[data-name="your-name"] input,
	.bottom-form .wpcf7-form-control-wrap[data-name="your-email"] input,
	.bottom-form .wpcf7-form-control-wrap[data-name="your-phone"] input,
	.bottom-form .wpcf7-form-control-wrap[data-name="your-tel"] input {
		height: 34px;
		padding: 0 0 16px;
		font-size: 14px;
		line-height: 1;
	}

	.bottom-form__field + .bottom-form__field,
	.bottom-form .wpcf7-form-control-wrap[data-name="your-name"] + .wpcf7-form-control-wrap {
		margin-top: 16px;
	}

	.bottom-form__agree {
		width: 321px;
		gap: 15px;
		margin-top: 20px;
	}

	.bottom-form__agree-text {
		flex: 0 0 272px;
		max-width: none;
		font-size: 12px;
		line-height: 1.25;
		color: #e7e7e7;
	}

	.bottom-form__submit {
		width: 100%;
		min-height: 40px;
		margin-top: 40px;
		letter-spacing: 0;
	}

	.bottom-form .wpcf7 .bottom-form__form {
		margin-top: 0;
	}
}
