/* Hero Split — two columns, shared header background */

.hero-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, 5.5rem);
}

.hero-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;
}

.hero-split__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 45%, rgba(88, 28, 135, 0.5) 100%),
		radial-gradient(ellipse 90% 55% at 50% 100%, rgba(124, 58, 237, 0.4) 0%, transparent 72%),
		linear-gradient(90deg, rgba(5, 5, 5, 0.85) 0%, rgba(5, 5, 5, 0.35) 55%, rgba(5, 5, 5, 0.5) 100%);
	pointer-events: none;
}

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

.hero-split__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: clamp(2rem, 4vw, 4rem);
	align-items: center;
}

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

.hero-split__breadcrumbs a {
	color: rgba(255, 255, 255, 0.75);
	text-decoration: none;
}

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

.hero-split__title {
	margin: 0 0 clamp(1rem, 1.5vw, 1.5rem);
	font-weight: 700;
	font-size: clamp(2.25rem, 4.5vw, 4.5rem);
	line-height: 1.05;
	letter-spacing: -0.02em;
	color: #fcfcfc;
}

.hero-split__description {
	margin: 0 0 clamp(1.5rem, 2vw, 2rem);
	font-size: clamp(1rem, 1.05vw, 1.125rem);
	line-height: 1.5;
	color: rgba(252, 252, 252, 0.92);
	max-width: 36rem;
}

.hero-split__description p {
	margin: 0;
	color: inherit;
}

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

.hero-split__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1rem;
	margin-bottom: clamp(1.5rem, 2vw, 2.25rem);
}

.hero-split__btn {
	min-width: 11.5rem;
}

.hero-split__btn--light {
	background: #fff !important;
	color: var(--primary-4, #4f56ff) !important;
	border: 1px solid #fff !important;
}

.hero-split__btn--light:hover {
	background: var(--primary-1, #e0e3ff) !important;
	color: var(--primary-6, #21256e) !important;
}

.hero-split__trust {
	display: flex;
	align-items: center;
	gap: 0.875rem;
	flex-wrap: wrap;
}

.hero-split__trust-avatars {
	display: flex;
	align-items: center;
}

.hero-split__trust-avatar {
	display: inline-flex;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	overflow: hidden;
	border: 2px solid rgba(255, 255, 255, 0.9);
	margin-left: -0.5rem;
	background: var(--primary-14, #152b56);
}

.hero-split__trust-avatar:first-child {
	margin-left: 0;
}

.hero-split__trust-avatar-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hero-split__trust-text {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.9);
	max-width: 16rem;
}

.hero-split__media {
	min-width: 0;
}

.hero-split__media-card {
	display: flex;
	flex-direction: column;
	width: 100%;
	border: 1px solid rgba(139, 92, 246, 0.55);
	border-radius: 1rem;
	overflow: hidden;
	background: rgba(13, 25, 48, 0.35);
	box-shadow:
		0 0 0 1px rgba(255, 255, 255, 0.06) inset,
		0 1.5rem 3rem rgba(0, 0, 0, 0.35);
}

button.hero-split__media-card {
	padding: 0;
	border: 1px solid rgba(139, 92, 246, 0.55);
	cursor: pointer;
	text-align: left;
	font: inherit;
	color: inherit;
	width: 100%;
}

.hero-split__media-thumb {
	position: relative;
	display: block;
	aspect-ratio: 16 / 11;
	overflow: hidden;
	line-height: 0;
}

.hero-split__media-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hero-split__media-play {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	line-height: 0;
	pointer-events: none;
}

.hero-split__media-caption {
	display: block;
	margin: 0;
	padding: 1rem 1.25rem 1.25rem;
	font-size: clamp(0.875rem, 0.95vw, 1rem);
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.92);
	background: linear-gradient(180deg, rgba(13, 25, 48, 0.2) 0%, rgba(13, 25, 48, 0.65) 100%);
}

/* Shared header overlay (hero-split as first block) */
.wrapper--hero-header {
	position: relative;
}

.wrapper--hero-header .page-main {
	padding-top: 0 !important;
}

.wrapper--hero-header > .header,
.wrapper--hero-header > .header.header--hero-header {
	position: absolute !important;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	z-index: 100;
	background: transparent !important;
	border-bottom-color: transparent !important;
	box-shadow: none !important;
}

.wrapper--hero-header > .header.scrolled,
.wrapper--hero-header > .header.header--hero-header.scrolled {
	background: var(--gray-1) !important;
	border-bottom-color: var(--primary-1) !important;
	box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.07) !important;
}

.wrapper--hero-header > .header:not(.scrolled) .menu__link,
.wrapper--hero-header > .header.header--hero-header:not(.scrolled) .menu__link {
	color: #fff;
}

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

.wrapper--hero-header > .header.scrolled .menu__link,
.wrapper--hero-header > .header.header--hero-header.scrolled .menu__link {
	color: var(--primary-16);
}

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

@media (min-width: 62em) {
	.wrapper--hero-header > .header.header--hero-header .menu__mega {
		top: 5.5rem;
	}
}

@media (max-width: 61.99875em) {
	.wrapper--hero-header {
		--hero-header-offset: 4.5rem;
	}

	.hero-split {
		padding-top: calc(var(--hero-header-offset, 4.5rem) + 2rem);
	}

	.hero-split__grid {
		grid-template-columns: 1fr;
	}

	.hero-split__media {
		order: -1;
	}
}

@media (max-width: 29.99875em) {
	.hero-split__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.hero-split__btn {
		width: 100%;
	}
}
