.ap-hero {
	--ap-ink: #f7fbff;
	--ap-muted: rgba(247, 251, 255, 0.76);
	--ap-cyan: #22d3ee;
	--ap-cyan-dark: #0891b2;
	--ap-amber: #f6b73c;
	--ap-red: #ef4444;
	--ap-panel: rgba(9, 16, 26, 0.78);
	position: relative;
	isolation: isolate;
	min-height: 720px;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	background: #080d14;
	color: var(--ap-ink);
}

.ap-el-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
}

.ap-el-hero > .elementor-container {
	width: min(1180px, calc(100% - 48px));
	margin-right: auto;
	margin-left: auto;
}

.ap-el-hero .ap-el-eyebrow,
.ap-el-hero .ap-el-title,
.ap-el-hero .ap-el-copy,
.ap-el-hero .ap-el-actions {
	max-width: 640px;
}

.ap-el-hero .elementor-button {
	min-height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.ap-hero__media,
.ap-hero__shade {
	position: absolute;
	inset: 0;
	z-index: -2;
}

.ap-hero__media {
	background-image: var(--ap-hero-image);
	background-position: center right;
	background-size: cover;
	transform: scale(1.01);
}

.ap-hero__shade {
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(6, 10, 16, 0.94) 0%, rgba(6, 10, 16, 0.78) 34%, rgba(6, 10, 16, 0.26) 69%, rgba(6, 10, 16, 0.42) 100%),
		linear-gradient(180deg, rgba(6, 10, 16, 0.12) 0%, rgba(6, 10, 16, 0.86) 100%);
}

.ap-hero__inner {
	width: min(1180px, calc(100% - 48px));
	margin: 0 auto;
	padding: 128px 0 44px;
}

.ap-hero__content {
	max-width: 640px;
}

.ap-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 18px;
	font-size: 13px;
	font-weight: 750;
	letter-spacing: 0;
	text-transform: uppercase;
	color: var(--ap-amber);
}

.ap-hero__eyebrow::before {
	content: "";
	width: 34px;
	height: 2px;
	border-radius: 999px;
	background: var(--ap-amber);
}

.ap-hero__title {
	max-width: 620px;
	margin: 0;
	font-size: 64px;
	line-height: 0.98;
	letter-spacing: 0;
	font-weight: 820;
	color: #fff;
}

.ap-hero__text {
	max-width: 560px;
	margin: 24px 0 0;
	font-size: 18px;
	line-height: 1.62;
	color: var(--ap-muted);
}

.ap-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 30px;
}

.ap-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 22px;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 760;
	text-decoration: none;
	transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.ap-button:hover {
	transform: translateY(-1px);
	text-decoration: none;
}

.ap-button--primary {
	background: var(--ap-cyan);
	color: #041016;
	box-shadow: 0 16px 34px rgba(34, 211, 238, 0.24);
}

.ap-button--ghost {
	border: 1px solid rgba(255, 255, 255, 0.24);
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
}

.ap-search {
	display: grid;
	grid-template-columns: 1.05fr 1.05fr 1fr 0.82fr auto;
	gap: 10px;
	align-items: end;
	margin-top: 70px;
	padding: 14px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 30px 70px rgba(0, 0, 0, 0.34);
	backdrop-filter: blur(18px);
}

.ap-search__field {
	display: grid;
	gap: 7px;
	min-width: 0;
}

.ap-search__field span {
	font-size: 12px;
	font-weight: 780;
	color: #425064;
}

.ap-search__field select,
.ap-search__field input {
	width: 100%;
	height: 48px;
	border: 1px solid #d8e0e9;
	border-radius: 8px;
	background: #fff;
	color: #101827;
	font-size: 15px;
	font-weight: 650;
	padding: 0 14px;
	outline: none;
}

.ap-search__field select:focus,
.ap-search__field input:focus {
	border-color: var(--ap-cyan-dark);
	box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.2);
}

.ap-search__submit {
	height: 48px;
	border: 0;
	border-radius: 8px;
	padding: 0 24px;
	background: #111827;
	color: #fff;
	font-size: 15px;
	font-weight: 800;
	cursor: pointer;
}

.ap-hero__stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	max-width: 620px;
	margin-top: 26px;
	overflow: hidden;
	border-radius: 8px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: rgba(255, 255, 255, 0.12);
}

.ap-hero__stats div {
	padding: 18px 20px;
	background: var(--ap-panel);
}

.ap-hero__stats strong,
.ap-hero__stats span {
	display: block;
}

.ap-hero__stats strong {
	font-size: 24px;
	line-height: 1;
	color: #fff;
}

.ap-hero__stats span {
	margin-top: 7px;
	font-size: 13px;
	color: rgba(247, 251, 255, 0.68);
}

@media (max-width: 1024px) {
	.ap-hero {
		min-height: 760px;
	}

	.ap-hero__title {
		font-size: 52px;
	}

	.ap-search {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ap-search__submit {
		grid-column: span 2;
	}
}

@media (max-width: 680px) {
	.ap-hero {
		min-height: 820px;
	}

	.ap-hero__media {
		background-position: 62% center;
	}

	.ap-hero__shade {
		background:
			linear-gradient(90deg, rgba(6, 10, 16, 0.95) 0%, rgba(6, 10, 16, 0.8) 55%, rgba(6, 10, 16, 0.38) 100%),
			linear-gradient(180deg, rgba(6, 10, 16, 0.2) 0%, rgba(6, 10, 16, 0.9) 100%);
	}

	.ap-hero__inner {
		width: min(100% - 28px, 1180px);
		padding-bottom: 28px;
	}

	.ap-hero__title {
		font-size: 42px;
		line-height: 1.04;
	}

	.ap-hero__text {
		font-size: 16px;
	}

	.ap-search,
	.ap-hero__stats {
		grid-template-columns: 1fr;
	}

	.ap-search__submit {
		grid-column: auto;
	}
}
