.contact-section,
.contact-section * {
	box-sizing: border-box;
}

.contact-section {
	position: relative;
	width: 100%;
	padding: 112px 30px 96px;
	overflow: hidden;
	background:
		linear-gradient(
			180deg,
			rgba(255, 255, 255, 0) 74%,
			rgba(255, 255, 255, 0.65) 100%
		),
		var(--contact-section-background-image, none),
		var(--contact-section-background, #eaf1fa);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	color: #333;
}

.contact-section__inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 48px;
	width: 100%;
	max-width: 1380px;
	margin: 0 auto;
}

.contact-section__heading {
	width: 100%;
	max-width: 1146px;
	margin: 0 auto;
	color: #020202;
	font-size: 60px;
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -1.8px;
	text-align: center;
}

.contact-section__layout {
	display: grid;
	grid-template-columns: minmax(0, 555px) minmax(260px, 323px);
	align-items: start;
	justify-content: center;
	gap: 22px;
	width: 100%;
}

.contact-section__form-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 32px;
	width: 100%;
	padding: 32px;
	border-radius: 8px;
	background: #fff;
}

.contact-section__form-header {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	width: 100%;
	text-align: center;
}

.contact-section__form-icon {
	width: 39px;
	height: 39px;
	overflow: hidden;
}

.contact-section__form-icon img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.contact-section__form-copy {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 100%;
}

.contact-section__form-heading {
	width: 100%;
	margin: 0;
	color: #333;
	font-size: 24px;
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -0.72px;
	text-align: center;
}

.contact-section__form-description {
	width: 100%;
	color: #333;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	text-align: center;
}

.contact-section__form-description p {
	margin: 0;
}

.contact-section__form {
	width: 100%;
}

.contact-section__form-placeholder {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 100%;
	padding: 24px;
	border: 1px dashed #1169ec;
	border-radius: 4px;
	background: #eaf1fa;
	text-align: center;
}

/* WPForms reset */
.contact-section .wpforms-container {
	width: 100%;
	margin: 0;
}

.contact-section .wpforms-container .wpforms-form .wpforms-field-container {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	width: 100%;
}

.contact-section .wpforms-container .wpforms-field {
	width: 100%;
	margin: 0;
	padding: 0;
}

.contact-section .wpforms-container .wpforms-field.half {
	flex: 0 0 calc(50% - 4px);
	width: calc(50% - 4px);
}

.contact-section .wpforms-container .wpforms-field-label {
	display: block;
	margin: 0 0 8px;
	color: #333;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: 0.14px;
}

.contact-section .wpforms-container input[type='text'],
.contact-section .wpforms-container input[type='email'],
.contact-section .wpforms-container input[type='tel'],
.contact-section .wpforms-container input[type='number'],
.contact-section .wpforms-container input[type='url'],
.contact-section .wpforms-container select,
.contact-section .wpforms-container textarea {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 10px 8px;
	border: 0;
	border-radius: 4px;
	background: #eaf1fa;
	box-shadow: none;
	color: #333;
	font-size: 14px;
	font-weight: 400;
	line-height: normal;
}

.contact-section .wpforms-container input[type='text'],
.contact-section .wpforms-container input[type='email'],
.contact-section .wpforms-container input[type='tel'],
.contact-section .wpforms-container input[type='number'],
.contact-section .wpforms-container input[type='url'],
.contact-section .wpforms-container select {
	min-height: 38px;
}

.contact-section .wpforms-container textarea {
	min-height: 80px;
	resize: vertical;
}

/* Keep all WPForms placeholders consistent */
.contact-section .wpforms-container input::-webkit-input-placeholder,
.contact-section .wpforms-container textarea::-webkit-input-placeholder {
	color: #9ca6b3 !important;
	opacity: 1 !important;
}

.contact-section .wpforms-container input::-moz-placeholder,
.contact-section .wpforms-container textarea::-moz-placeholder {
	color: #9ca6b3 !important;
	opacity: 1 !important;
}

.contact-section .wpforms-container input:-ms-input-placeholder,
.contact-section .wpforms-container textarea:-ms-input-placeholder {
	color: #9ca6b3 !important;
	opacity: 1 !important;
}

.contact-section .wpforms-container input::placeholder,
.contact-section .wpforms-container textarea::placeholder {
	color: #9ca6b3 !important;
	opacity: 1 !important;
}

.contact-section .wpforms-container input:focus,
.contact-section .wpforms-container select:focus,
.contact-section .wpforms-container textarea:focus {
	outline: 2px solid #1169ec;
	outline-offset: 1px;
	border: 0;
	box-shadow: none;
}

.contact-section .wpforms-container .wpforms-field-checkbox {
	margin-top: 8px;
}

.contact-section .wpforms-container .wpforms-field-checkbox ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.contact-section .wpforms-container .wpforms-field-checkbox li {
	margin: 0;
}

.contact-section .wpforms-container .wpforms-field-checkbox label {
	color: #757575;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.5;
}

.contact-section .wpforms-container .wpforms-field-checkbox input {
	width: 16px;
	height: 16px;
	margin: 0 !important;
	vertical-align: middle;
	accent-color: #1169ec;
}

.contact-section .wpforms-container .wpforms-submit-container {
	width: 100%;
	margin: 0;
	padding: 0;
}

.contact-section .wpforms-container button[type='submit'],
.contact-section .wpforms-container .wpforms-submit {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 33px;
	margin: 0;
	padding: 6px 16px;
	border: 0;
	border-radius: 4px;
	background: #1169ec;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.5;
	cursor: pointer;
}

.contact-section .wpforms-container button[type='submit']:hover,
.contact-section .wpforms-container button[type='submit']:focus,
.contact-section .wpforms-container .wpforms-submit:hover,
.contact-section .wpforms-container .wpforms-submit:focus {
	border: 0;
	background: #0e5dcc;
	color: #fff;
}

.contact-section .wpforms-container .wpforms-error {
	color: #d63638;
	font-size: 12px;
}

.contact-section .wpforms-container label.wpforms-error {
	margin-top: 4px;
}

.contact-section__details {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
	padding: 24px;
	border-radius: 8px;
	background: #fff;
}

.contact-section__detail {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	width: 100%;
}

.contact-section__detail-icon {
	width: 24px;
	height: 24px;
	overflow: hidden;
}

.contact-section__detail-icon img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.contact-section__detail-text {
	width: 100%;
	margin: 0;
	color: #333;
	font-size: 14px;
	font-weight: 700;
	line-height: normal;
	text-decoration: none;
	overflow-wrap: anywhere;
}

a.contact-section__detail-text:hover,
a.contact-section__detail-text:focus-visible {
	color: #1169ec;
	text-decoration: underline;
}

@media (max-width: 900px) {
	.contact-section__layout {
		grid-template-columns: minmax(0, 555px) minmax(240px, 300px);
	}

	.contact-section__heading {
		font-size: 48px;
	}
}

@media (max-width: 767px) {
	.contact-section {
		padding: 112px 16px 96px;
	}

	.contact-section__inner {
		gap: 48px;
	}

	.contact-section__heading {
		max-width: 358px;
		font-size: 40px;
		line-height: 1.1;
		letter-spacing: -1.2px;
	}

	.contact-section__layout {
		display: flex;
		flex-direction: column;
		gap: 24px;
		width: 100%;
	}

	.contact-section__form-card {
		gap: 32px;
		padding: 24px;
	}

	.contact-section__form-heading {
		font-size: 24px;
	}

	.contact-section .wpforms-container .wpforms-form .wpforms-field-container {
		display: flex;
		flex-direction: column;
		flex-wrap: nowrap;
		gap: 8px;
	}

	.contact-section .wpforms-container .wpforms-field,
	.contact-section .wpforms-container .wpforms-field.half {
		flex: 0 0 100%;
		width: 100%;
	}

	.contact-section__details {
		padding: 24px;
	}
}