/* template-parts/section/cta.php */
/* ----------------------------------------------------------
   CTA / CONTACT FORM SECTION
   Background: CTA.png (light wave abstract, 1440×689)
---------------------------------------------------------- */
.cta-section {
	position: relative;
	min-height: 689px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: var(--section-py) var(--section-px);
	overflow: hidden;
}

.cta-section__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.cta-section__bg-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.cta-section__container {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 949px;
	display: flex;
	flex-direction: column;
	gap: 70px;
	align-items: center;
}

.cta-section__heading-block {
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-items: center;
	text-align: center;
}

.cta-section__heading {
	font-size: var(--fs-3xl);
	font-weight: 700;
	line-height: var(--lh-2xl);
	letter-spacing: -0.2px;
	color: var(--color-text-dark);
	text-align: center;
}

.cta-section__heading span {
	color: var(--color-primary);
}

.cta-section__subtext {
	font-size: var(--fs-md);
	font-weight: 400;
	line-height: var(--lh-md);
	color: var(--color-text-dark);
	text-align: center;
}

/* Contact Form */
.contact-form {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 35px;
	align-items: center;
}

.contact-form__fields {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 65px;
	order:-1;
}

.contact-form__row {
	display: flex;
	gap: 0;
	align-items: flex-end;
	width: 100%;
	justify-content: space-between;
}

.contact-form__field {
	display: flex;
	flex-direction: column;
	gap: 11px;
	width: 364px;
}

.contact-form__field--full {
	width: 100%;
}

.contact-form__label {
	font-size: var(--fs-md);
	font-weight: 400;
	line-height: var(--lh-md);
	color: var(--color-text-dark);
	cursor: pointer;
}

.contact-form__label span {
	color: var(--color-required);
}

.contact-form__label .wpcf7-form-control-wrap {
	color: var(--color-text-dark);
}

.contact-form__input {
	font-family: var(--font-family);
	font-size: var(--fs-md);
	font-weight: 400;
	background: transparent;
	border: none;
	border-bottom: 1px solid var(--color-text-dark);
	outline: none;
	padding: 0 0 8px;
	color: var(--color-text-dark);
	width: 100%;
	letter-spacing: 0;
}
.contact-form__input:focus {
	border-bottom-color: var(--color-primary);
}

.contact-form__submit-wrap {
	display: flex;
	justify-content: center;
}
.contact-form__submit {
	padding: 8px 39px;
	border: unset;
}
.wpcf7 {width:100%;}
@media (max-width: 1024px) {
	.cta-section {
		min-height: auto;
		padding: var(--section-py) var(--section-px);
	}
	.cta-section__container {
		gap: 64px;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		align-self: stretch;
	}
	.contact-form {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 64px;
		align-self: stretch;
	}
	.contact-form__row {
		flex-direction: row;
		gap: 48px;
	}
	.contact-form__field {
		width: 100%;
	}
	.contact-form__submit {
		padding: 8px 28px;
	}
}

@media (max-width: 767.9px) {
	.cta-section {
		padding: var(--section-py) var(--section-px);
	}
	.cta-section__heading {
		font-size: var(--fs-2xl);
		line-height: var(--lh-xl);
	}
	.cta-section__container {
		gap: 30px;
	}
	.contact-form {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 30px;
		align-self: stretch;
	}
	.contact-form__row {
		flex-direction: column;
		gap: 30px;
		width: 100%;
	}
	.contact-form__field {
		width: 100%;
	}
	.contact-form__fields {
		gap: 30px;
	}
	.contact-form__submit-wrap {
		width: 100%;
	}
	.contact-form__submit {
		display: flex;
		width: 100%;
		padding: 8px 28px;
		justify-content: center;
		align-items: center;
		gap: 10px;
		align-self: stretch;
	}
}
