.eeg-hero {
	position: relative;
	display: flex;
	width: 100%;
	min-height: 520px;
	overflow: hidden;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.eeg-hero__overlay {
	position: absolute;
	inset: 0;
	background: #15455c;
	opacity: .4 !important;
}

.eeg-hero__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 55fr) minmax(330px, 45fr);
	align-items: center;
	width: min(calc(100% - 40px), 1400px);
	margin-inline: auto;
	padding-block: 48px;
}

.eeg-hero__content {
	min-width: 0;
}

.eeg-hero .eeg-hero__title {
	max-width: 680px;
	margin: 0;
	color: #fff;
	font-family: "Roboto Slab", serif;
	font-size: 70px;
	font-weight: 400;
	line-height: 1.08;
}

.eeg-hero__divider {
	width: 172px;
	height: 2px;
	margin-top: 20px;
	background: #aa3d42;
}

.eeg-hero__description {
	max-width: 500px;
	margin: 30px 0 0;
	color: #fff;
	font-family: Roboto, sans-serif;
	font-size: 20px;
	font-weight: 400;
	line-height: 1.5;
}

.eeg-hero__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 26px;
	padding: 15px 50px;
	border: 0;
	border-radius: 3px;
	background: #aa3d42;
	color: #fff;
	font-family: Roboto, sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	transition: filter 200ms ease, opacity 200ms ease;
}

.eeg-hero__cta:hover,
.eeg-hero__cta:focus-visible {
	color: #fff;
	filter: brightness(.9);
}

.eeg-hero__lead {
	display: flex;
	justify-content: flex-end;
	min-width: 0;
}

.eeg-hero__card {
	width: 100%;
	max-width: 414px;
	overflow: hidden;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(21, 69, 92, .12);
}

.eeg-hero__card-heading {
	position: relative;
	z-index: 0;
	min-height: 158px;
	padding: 24px 32px 42px;
	background: #aa3d42;
	color: #fff;
	font-family: "Roboto Slab", serif;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.35;
	text-align: center;
}

.eeg-hero__card-heading::after {
	position: absolute;
	z-index: -1;
	right: -5%;
	bottom: -23px;
	left: -5%;
	height: 48px;
	border-radius: 0 0 50% 50% / 0 0 100% 100%;
	background: inherit;
	content: "";
}

.eeg-hero__form {
	position: relative;
	z-index: 1;
	padding: 34px 32px 32px;
}

.eeg-hero__preview-form,
.eeg-hero__form form,
.eeg-hero__form .wpcf7-form {
	display: grid;
	gap: 9px;
}

.eeg-hero__form p {
	margin: 0;
}

.eeg-hero__form input[type="text"],
.eeg-hero__form input[type="email"],
.eeg-hero__form input[type="tel"],
.eeg-hero__form input[type="number"],
.eeg-hero__form input[type="url"],
.eeg-hero__form select,
.eeg-hero__form textarea {
	width: 100%;
	min-height: 45px;
	padding: 15px;
	border: 1px solid rgba(21, 69, 92, .18);
	border-radius: 4px;
	background: #fff;
	color: #15455c;
	font-family: Roboto, sans-serif;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.15;
}

.eeg-hero__form textarea {
	min-height: 96px;
	resize: vertical;
}

.eeg-hero__form input:focus,
.eeg-hero__form select:focus,
.eeg-hero__form textarea:focus {
	border-color: #aa3d42;
	outline: 2px solid rgba(170, 61, 66, .24);
	outline-offset: 1px;
}

.eeg-hero__form input[type="submit"],
.eeg-hero__form button,
.eeg-hero__submit {
	width: 100%;
	min-height: 45px;
	padding: 15px;
	border: 0;
	border-radius: 4px;
	background: #15455c;
	color: #fff;
	font-family: Roboto, sans-serif;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.15;
	cursor: pointer;
	transition: filter 200ms ease, opacity 200ms ease;
}

.eeg-hero__form input[type="submit"]:hover,
.eeg-hero__form input[type="submit"]:focus-visible,
.eeg-hero__form button:hover,
.eeg-hero__form button:focus-visible {
	filter: brightness(.9);
}

.eeg-hero__form .wpcf7-spinner {
	margin: 8px auto 0;
}

.eeg-hero__form .wpcf7-not-valid-tip,
.eeg-hero__form .wpcf7-response-output {
	font-family: Roboto, sans-serif;
	font-size: 13px;
}

@media (max-width: 1024px) {
	.eeg-hero__inner {
		grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
		gap: 36px;
	}

	.eeg-hero .eeg-hero__title {
		font-size: clamp(46px, calc(15px + 4vw), 56px);
	}

	.eeg-hero .eeg-hero__description {
		font-size: clamp(18px, calc(12px + .8vw), 20px);
	}
}

@media (max-width: 767px) {
	.eeg-hero {
		background-position: left center !important;
	}

	.eeg-hero__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
		width: min(calc(100% - 32px), 1400px);
		padding-block: 48px;
	}

	.eeg-hero .eeg-hero__title {
		font-size: clamp(34px, calc(8px + 8vw), 46px);
	}

	.eeg-hero .eeg-hero__description {
		font-size: clamp(16px, calc(13px + .8vw), 18px);
	}

	.eeg-hero__lead {
		justify-content: center;
		width: 100%;
	}

	.eeg-hero__card {
		width: 100%;
		max-width: 500px !important;
	}

	.eeg-hero__card-heading {
		padding-inline: 24px;
	}

	.eeg-hero__form {
		padding-right: 24px;
		padding-left: 24px;
	}
}

@media (max-width: 420px) {
	.eeg-hero__cta {
		width: 100%;
		padding-inline: 24px;
	}
}
