/* =============================================================================
   Get in Touch (Contact Form) section
   BEM namespace: .contact-section
   ============================================================================= */

.contact-section {
	padding: 88px 0;
	background: #f5f5f5;
}

@media (max-width: 800px) {
	.contact-section {
		padding: 56px 0;
	}
}

/* Optional background image with a readability overlay */
.contact-section--has-bg {
	position: relative;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	color: #ffffff;
}

.contact-section--has-bg::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(8, 23, 46, 0.55);
	pointer-events: none;
}

.contact-section__inner {
	position: relative; /* sit above the overlay */
	z-index: 1;
}

.contact-section__heading {
	text-align: center;
	color: #e74111;
	font-family: 'HelveticaNowDisplay', Helvetica, Arial, sans-serif;
	font-size: 34px;
	font-weight: bold;
	line-height: 1.2;
	margin: 0 0 12px;
}

@media (min-width: 960px) {
	.contact-section__heading {
		font-size: 40px;
	}
}

.contact-section--has-bg .contact-section__heading {
	color: #ffffff;
}

.contact-section__intro {
	max-width: 640px;
	margin: 0 auto 28px;
	text-align: center;
	font-size: 16px;
	line-height: 1.5;
}

.contact-section__form {
	max-width: 720px;
	margin: 0 auto;
}

.contact-section__notice {
	text-align: center;
	color: #888888;
}

/* ── Gravity Form layout (scoped so it only affects this section) ──────────────
   The theme's global input styling collapses Gravity Forms' grid, leaving the
   fields tiny. Override the grid with a simple full-width stacked layout and
   force inputs/selects/textareas to fill their row. */

.contact-section .gform_wrapper .gform_fields {
	display: block;
	margin: 0;
	padding: 0;
	list-style: none;
}

.contact-section .gform_wrapper .gfield {
	width: 100%;
	max-width: 100%;
	margin: 0 0 18px;
	padding: 0;
	float: none;
	clear: both;
}

.contact-section .gform_wrapper .gfield input,
.contact-section .gform_wrapper .gfield select,
.contact-section .gform_wrapper .gfield textarea {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding: 12px 14px;
	border: 1px solid #d5d5d5;
	background: #ffffff;
	font-size: 15px;
	line-height: 1.4;
}

.contact-section .gform_wrapper .gfield textarea {
	min-height: 140px;
	resize: vertical;
}

.contact-section .gform_wrapper .gfield_label {
	display: block;
	margin-bottom: 6px;
	font-weight: 600;
	color: inherit;
}

.contact-section--has-bg .gform_wrapper .gfield_label {
	color: #ffffff;
}

/* Two-up for the short fields on wider screens; textarea spans full width */
@media (min-width: 640px) {
	.contact-section .gform_wrapper .gform_fields {
		display: flex;
		flex-wrap: wrap;
		gap: 0 18px;
	}
	.contact-section .gform_wrapper .gfield {
		flex: 1 1 calc(50% - 9px);
		max-width: calc(50% - 9px);
	}
	.contact-section .gform_wrapper .gfield--type-textarea,
	.contact-section .gform_wrapper .gfield--width-full {
		flex-basis: 100%;
		max-width: 100%;
	}
}

/* Submit button — match the site's orange button */
.contact-section .gform_wrapper .gform_footer {
	width: 100%;
	margin-top: 8px;
	padding: 0;
	clear: both;
}

.contact-section .gform_wrapper .gform_footer .gform_button {
	width: auto;
	background: #e74111;
	color: #ffffff;
	border: none;
	padding: 14px 44px;
	font-size: 15px;
	font-weight: bold;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.contact-section .gform_wrapper .gform_footer .gform_button:hover {
	background: #c73610;
}

/* reCAPTCHA v3 injects an invisible field wrapper — keep it out of the layout */
.contact-section .gform_wrapper .gfield--type-captcha,
.contact-section .gform_wrapper .gfield_recaptcha {
	margin: 0;
}
