.contact-page {
	position: relative;
	width: 100%;
	margin-left: 0;
	transform: none;
	overflow: hidden;
	background:
		radial-gradient(circle at top left, rgba(141, 188, 255, 0.18), transparent 28%),
		radial-gradient(circle at bottom right, rgba(122, 164, 255, 0.14), transparent 26%),
		linear-gradient(180deg, #f6faff 0%, #edf4ff 48%, #f9fbff 100%);
	padding-bottom: 96px;
}

.contact-page-inner {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 20px;
}

.contact-hero {
	padding: 0 0 44px;
}

.contact-hero-shell {
	position: relative;
	display: block;
	min-height: 720px;
	background:
		radial-gradient(circle at top left, rgba(112, 170, 255, 0.22), transparent 28%),
		linear-gradient(180deg, #dbe9ff 0%, #edf4ff 100%);
	box-shadow: 0 28px 70px rgba(58, 98, 165, 0.12);
	overflow: hidden;
}

.contact-hero-shell::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(13, 27, 50, 0.78) 0%, rgba(13, 27, 50, 0.56) 27%, rgba(13, 27, 50, 0.2) 48%, rgba(13, 27, 50, 0.06) 66%, rgba(13, 27, 50, 0.18) 100%);
	pointer-events: none;
	z-index: 1;
}

.contact-hero-shell > .contact-page-inner {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(0, 560px) minmax(0, 1fr);
	align-items: end;
	min-height: 720px;
	padding-top: 88px;
	padding-bottom: 66px;
}

.contact-hero-media {
	position: absolute;
	inset: 0;
	display: block;
}

.contact-hero-media-panel {
	position: absolute;
	inset: 0;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	opacity: 0;
	transform: scale(1.04);
	animation: contactHeroImageCycle 18s linear infinite;
	will-change: opacity, transform;
}

.contact-hero-media-panel::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(5, 15, 32, 0.1) 100%);
}

.contact-hero-media-panel.is-first {
	background-position: center 34%;
	animation-delay: 0s;
}

.contact-hero-media-panel.is-second {
	background-position: center 42%;
	animation-delay: 6s;
}

.contact-hero-media-panel.is-third {
	background-position: center 44%;
	animation-delay: 12s;
}

.contact-hero-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background:
		radial-gradient(circle at 74% 22%, rgba(255, 255, 255, 0.22), transparent 20%),
		radial-gradient(circle at 86% 74%, rgba(255, 198, 134, 0.18), transparent 18%);
}

.contact-hero-overlay::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
	background-size: 34px 34px;
	opacity: 0.72;
	mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.55) 62%, transparent 100%);
}

.contact-hero-kicker {
	margin: 0 0 14px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.26em;
	color: rgba(217, 234, 255, 0.88);
}

.contact-hero-title {
	margin: 0;
	font-size: clamp(2.25rem, 4.8vw, 4.3rem);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: 0.02em;
	color: #ffffff;
	text-shadow: 0 18px 40px rgba(7, 14, 27, 0.2);
}

.contact-hero-title span {
	display: block;
	margin-top: 8px;
}

.contact-hero-lead {
	max-width: 640px;
	margin: 22px 0 0;
	font-size: 15px;
	line-height: 2;
	color: rgba(232, 241, 255, 0.92);
}

.contact-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 30px;
}

.contact-hero-action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 54px;
	padding: 0 24px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	letter-spacing: 0.04em;
	transition: all 0.3s;
	position: relative;
	overflow: hidden;
}

.contact-hero-action.is-primary {
	background: linear-gradient(135deg, #4c84dc 0%, #295cb2 100%);
	color: #fff;
	box-shadow: 0 18px 30px rgba(57, 95, 166, 0.2);
}

.contact-hero-action.is-secondary {
	border: 1px solid rgba(211, 228, 255, 0.22);
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
	backdrop-filter: blur(10px);
}

.contact-hero-action.is-disabled {
	cursor: default;
	opacity: 0.72;
	pointer-events: none;
}

.contact-hero-action:hover {
	background-position: 100% 0;
	box-shadow: 0 20px 34px rgba(57, 95, 166, 0.16);
}

.contact-hero-action.is-primary:hover {
	color: #fff;
	filter: brightness(1.04);
}

.contact-hero-action.is-secondary:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.22);
	border-color: rgba(223, 236, 255, 0.34);
}

.contact-hero-action::after {
	content: "";
	position: absolute;
	top: 0;
	left: -120%;
	width: 60%;
	height: 100%;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0));
	transform: skewX(-22deg);
	transition: left 0.45s ease;
	pointer-events: none;
}

.contact-hero-action:hover::after {
	left: 135%;
}

.contact-hero-spacer {
	min-height: 1px;
}

@keyframes contactHeroImageCycle {
	0% {
		opacity: 1;
		transform: scale(1.04);
	}
	28% {
		opacity: 1;
		transform: scale(1.015);
	}
	36% {
		opacity: 0.72;
		transform: scale(1);
	}
	44% {
		opacity: 0;
		transform: scale(0.995);
	}
	100% {
		opacity: 0;
		transform: scale(0.995);
	}
}

.contact-portal {
	margin-top: 0;
}

.contact-portal .vform-header {
	margin-bottom: 40px;
}

.contact-portal > .contact-page-inner > .vform-card {
	margin-bottom: 0;
}

@media (max-width: 1024px) {
	.contact-hero-shell {
		min-height: 640px;
	}

	.contact-hero-shell > .contact-page-inner {
		grid-template-columns: 1fr;
		min-height: 640px;
		align-items: end;
	}

	.contact-hero-shell::before {
		background:
			linear-gradient(180deg, rgba(13, 27, 50, 0.66) 0%, rgba(13, 27, 50, 0.38) 32%, rgba(13, 27, 50, 0.54) 100%);
	}
}

@media (max-width: 768px) {
	.contact-page {
		padding-bottom: 72px;
	}

	.contact-hero {
		padding: 0 0 18px;
	}

	.contact-hero-shell {
		min-height: 560px;
	}

	.contact-hero-shell > .contact-page-inner {
		padding-top: 72px;
		padding-bottom: 42px;
	}

	.contact-hero-title {
		font-size: 2.25rem;
	}

	.contact-hero-title span {
		margin-top: 10px;
	}

	.contact-hero-lead {
		font-size: 14px;
		line-height: 1.9;
	}

	.contact-hero-actions {
		display: grid;
	}

	.contact-hero-action {
		width: 100%;
	}

}
