/* Contact Form Split — dark page bg + shared header, text left + form card right */

.contact-form-split {
	position: relative;
	overflow: hidden;
	padding-top: calc(var(--hero-header-offset, 5.5rem) + clamp(2rem, 1.5rem + 2vw, 3.5rem));
	padding-bottom: clamp(3rem, 2rem + 4vw, 5rem);
	color: #fff;
}

.contact-form-split--overlay {
	margin-top: calc(-1 * var(--hero-header-offset, 5.5rem));
	padding-top: calc(var(--hero-header-offset, 5.5rem) + clamp(2rem, 1.5rem + 2vw, 3.5rem));
}

.contact-form-split__bg {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	width: 100vw;
	top: 0;
	bottom: 0;
	z-index: 0;
	background-color: #050505;
	background-image: var(--hero-header-bg-image);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.contact-form-split--overlay .contact-form-split__bg {
	top: calc(-1 * var(--hero-header-offset, 5.5rem));
	bottom: 0;
	height: auto;
	min-height: calc(100% + var(--hero-header-offset, 5.5rem));
}

.contact-form-split__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(180deg, rgba(5, 5, 5, 0.9) 0%, rgba(13, 25, 48, 0.85) 100%);
}

/* User-uploaded background image — show as-is, only a light readability tint */
.contact-form-split--has-bg .contact-form-split__bg {
	background-color: transparent;
}

.contact-form-split--has-bg .contact-form-split__bg::after {
	background: rgba(0, 0, 0, 0.2);
}

.contact-form-split__container {
	position: relative;
	z-index: 1;
	max-width: 90rem;
	margin: 0 auto;
	padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.contact-form-split__breadcrumbs {
	margin-bottom: clamp(1rem, 1.5vw, 1.75rem);
	font-size: 0.875rem;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.7);
}

.contact-form-split__breadcrumbs a {
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
}

.contact-form-split__breadcrumbs a:hover {
	color: #fff;
}

.contact-form-split__panel {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(1.5rem, 3vw, 3rem);
	align-items: start;
}

.contact-form-split__info {
	display: flex;
	flex-direction: column;
	min-height: 100%;
	padding: 0;
	background: transparent;
}

.contact-form-split__title {
	margin: 0 0 1rem;
	font-weight: 700;
	font-size: clamp(2.25rem, 4vw, 4rem);
	line-height: 1.08;
	letter-spacing: -0.02em;
	color: #fcfcfc;
}

.contact-form-split__description,
.contact-form-split__description p {
	margin: 0;
	font-size: clamp(1rem, 1.05vw, 1.125rem);
	line-height: 1.5;
	color: rgba(252, 252, 252, 0.9);
}

.contact-form-split__description p:not(:last-child) {
	margin-bottom: 0.75rem;
}

.contact-form-split__email {
	margin-top: auto;
	padding-top: clamp(2rem, 3vw, 3rem);
}

.contact-form-split__email-title {
	margin: 0 0 0.5rem;
	font-weight: 700;
	font-size: clamp(1.125rem, 1.2vw, 1.5rem);
	line-height: 1.3;
	color: #fff;
}

.contact-form-split__email-text {
	margin: 0 0 0.75rem;
	font-size: clamp(0.9375rem, 1vw, 1rem);
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.75);
}

.contact-form-split__email-link {
	display: inline-flex;
	align-items: center;
	gap: 0.625rem;
	color: #fff;
	font-weight: 700;
	font-size: clamp(1rem, 1.05vw, 1.125rem);
	text-decoration: underline;
	text-underline-offset: 0.15em;
	transition: opacity 0.2s;
}

.contact-form-split__email-link:hover {
	opacity: 0.85;
	color: #fff;
}

.contact-form-split__email-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.contact-form-split__email-icon--class {
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 0.25rem;
	background: #fff;
}

.contact-form-split__email-icon--class i {
	font-size: 1.125rem;
	color: var(--primary-4, #0068f2);
}

.contact-form-split__email-icon--image {
	width: auto;
	height: auto;
	min-width: 2rem;
	min-height: 2rem;
	background: transparent;
}

.contact-form-split__email-icon-img {
	display: block;
	width: auto;
	height: auto;
	max-width: 2.5rem;
	max-height: 2.5rem;
	object-fit: contain;
	filter: none;
}

.contact-form-split__form.contact-form__right {
	padding: clamp(1.75rem, 2.5vw, 2.25rem);
	background: rgba(17, 33, 64, 0.92);
	border: 1px solid rgba(78, 123, 188, 0.35);
	border-radius: 0.5rem;
	box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.25);
}

.contact-form-split__form .contact-form__intro,
.contact-form-split__form .contact-form__intro p {
	color: rgba(255, 255, 255, 0.85);
}

.contact-form-split__form .contact-form__label {
	color: rgba(255, 255, 255, 0.9);
}

.contact-form-split__form .contact-form__input,
.contact-form-split__form .contact-form__textarea,
.contact-form-split__form .custom-select__trigger {
	background: #fff;
	border-color: var(--primary-7, #a5b7cf);
}

.contact-form-split__form .contact-form__checkbox-text p,
.contact-form-split__form .contact-form__checkbox-text a {
	color: rgba(255, 255, 255, 0.85);
}

.contact-form-split__form .contact-form__checkbox-mark {
	background: var(--primary-0, #f7f9fd);
}

/* Shared header overlay */
body.hero-overlay--contact-form-split .wrapper--hero-header {
	position: relative;
}

body.hero-overlay--contact-form-split .wrapper--hero-header > .header:not(.scrolled) .menu__link,
body.hero-overlay--contact-form-split .wrapper--hero-header > .header.header--hero-header:not(.scrolled) .menu__link {
	color: #fff;
}

body.hero-overlay--contact-form-split .wrapper--hero-header > .header:not(.scrolled) .menu__arrow,
body.hero-overlay--contact-form-split .wrapper--hero-header > .header.header--hero-header:not(.scrolled) .menu__arrow {
	color: rgba(255, 255, 255, 0.85);
}

body.hero-overlay--contact-form-split .wrapper--hero-header > .header:not(.scrolled) .logo img,
body.hero-overlay--contact-form-split .wrapper--hero-header > .header.header--hero-header:not(.scrolled) .logo img {
	filter: brightness(0) invert(1);
}

.wrapper--hero-header .page-main.page--layout > .breadcrumbs__container:first-child {
	display: none;
}

@media (max-width: 61.99875em) {
	.contact-form-split--overlay {
		margin-top: calc(-1 * var(--hero-header-offset, 4.5rem));
	}

	.contact-form-split__panel {
		grid-template-columns: 1fr;
	}

	.contact-form-split__email {
		margin-top: 2rem;
		padding-top: 0;
	}
}

@media (max-width: 47.99875em) {
	.contact-form-split {
		padding-top: calc(var(--hero-header-offset, 4.5rem) + 1.5rem);
	}

	.contact-form-split__form.contact-form__right {
		padding: 1.25rem;
	}
}
