.hero {
	position: relative;
	isolation: isolate;
	min-height: clamp(680px, 76vh, 820px);
	display: grid;
	align-items: center;
	overflow: hidden;
	color: var(--color-white);
	background: var(--color-navy-hero);
}

.hero__image,
.hero__shade {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.hero__image {
	z-index: -2;
	object-fit: cover;
	object-position: center;
}

.hero__shade {
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(10, 19, 43, .98) 0%, rgba(12, 22, 49, .9) 42%, rgba(12, 22, 49, .28) 74%, rgba(12, 22, 49, .1) 100%),
		linear-gradient(0deg, rgba(8, 16, 39, .3), transparent 45%);
}

html[dir="rtl"] .hero__shade {
	background:
		linear-gradient(270deg, rgba(10, 19, 43, .98) 0%, rgba(12, 22, 49, .9) 42%, rgba(12, 22, 49, .28) 74%, rgba(12, 22, 49, .1) 100%),
		linear-gradient(0deg, rgba(8, 16, 39, .3), transparent 45%);
}

.hero__content {
	padding-block: clamp(72px, 9vw, 108px);
}

.hero__content > * {
	max-width: 720px;
}

.hero__eyebrow {
	width: fit-content;
	display: inline-flex;
	align-items: center;
	margin-bottom: 20px;
	padding: 8px 14px;
	border: 1px solid rgba(255, 255, 255, .26);
	border-radius: 999px;
	color: var(--color-white);
	background: rgba(255, 255, 255, .09);
	font-size: .82rem;
	font-weight: 700;
}

.hero h1 {
	max-width: 760px;
	margin-bottom: 22px;
	font-size: clamp(2.75rem, 6vw, 5.7rem);
	text-wrap: balance;
}

.hero__lead {
	max-width: 620px;
	margin-bottom: 32px;
	color: rgba(255, 255, 255, .82);
	font-size: clamp(1.05rem, 1.8vw, 1.25rem);
}

.hero__actions {
	margin-bottom: 0;
}

.vehicle-finder {
	width: min(100%, 1080px);
	max-width: 1080px;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
	align-items: end;
	gap: 12px;
	margin-top: 32px;
	padding: 16px;
	border: 1px solid rgba(255, 255, 255, .32);
	border-radius: var(--radius-lg, 16px);
	background: rgba(255, 255, 255, .96);
	box-shadow: var(--shadow-lg);
}

.vehicle-finder__field {
	min-width: 0;
}

.vehicle-finder__field label {
	display: block;
	margin-bottom: 7px;
	color: var(--color-text);
	font-size: .78rem;
	font-weight: 700;
	line-height: 1.3;
}

.vehicle-finder select {
	width: 100%;
	min-width: 0;
	min-height: 48px;
	padding: 10px 38px 10px 12px;
	border: 1px solid var(--color-border, #d7dce5);
	border-radius: var(--radius-md, 10px);
	color: var(--color-text);
	background-color: var(--color-white);
	font: inherit;
	cursor: pointer;
	transition: border-color .2s ease, box-shadow .2s ease;
}

.vehicle-finder select:focus-visible {
	border-color: var(--color-primary);
	outline: 3px solid color-mix(in srgb, var(--color-primary) 24%, transparent);
	outline-offset: 1px;
}

.vehicle-finder select:disabled {
	color: var(--color-muted, #687184);
	background-color: var(--color-surface, #f2f4f7);
	cursor: not-allowed;
	opacity: .72;
}

.vehicle-finder__submit {
	min-height: 48px;
	padding: 12px 20px;
	border: 0;
	border-radius: var(--radius-md, 10px);
	color: var(--color-white);
	background: var(--color-primary);
	font-weight: 700;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color .2s ease, transform .2s ease;
}

.vehicle-finder__submit:hover:not(:disabled),
.vehicle-finder__submit:focus-visible {
	background: var(--color-secondary);
	transform: translateY(-1px);
}

.vehicle-finder__submit:focus-visible {
	outline: 3px solid var(--color-white);
	outline-offset: 3px;
}

.vehicle-finder__submit:disabled {
	cursor: not-allowed;
	opacity: .55;
}

html[dir="rtl"] .vehicle-finder select {
	padding-right: 12px;
	padding-left: 38px;
}

.hero__trust {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 24px;
	margin: 26px 0 0;
	padding: 0;
	color: rgba(255, 255, 255, .84);
	font-size: .9rem;
	list-style: none;
}

.hero__trust li {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.hero__trust span {
	width: 20px;
	height: 20px;
	display: inline-grid;
	place-items: center;
	flex: 0 0 auto;
	border-radius: 50%;
	color: var(--color-primary);
	background: var(--color-white);
	font-size: .72rem;
	font-weight: 700;
}

@media (prefers-reduced-motion: no-preference) {
	.hero__content > * {
		animation: alkhubara-hero-reveal .55s ease-out both;
	}

	.hero__content > :nth-child(2) {
		animation-delay: .05s;
	}

	.hero__content > :nth-child(3) {
		animation-delay: .1s;
	}

	.hero__content > :nth-child(4) {
		animation-delay: .15s;
	}

	.hero__content > :nth-child(5),
	.hero__content > :nth-child(6) {
		animation-delay: .2s;
	}
}

@keyframes alkhubara-hero-reveal {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 780px) {
	.hero {
		min-height: 690px;
	}

	.hero__image {
		object-position: 62% center;
	}

	.hero__shade,
	html[dir="rtl"] .hero__shade {
		background: linear-gradient(90deg, rgba(10, 19, 43, .96), rgba(10, 19, 43, .7));
	}

	.hero__content {
		padding-block: 68px;
	}

	.hero h1 {
		font-size: clamp(2.55rem, 11vw, 4.4rem);
	}

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

	.vehicle-finder__submit {
		grid-column: 1 / -1;
	}
}

@media (max-width: 520px) {
	.hero {
		min-height: 720px;
	}

	.hero__actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	.hero__actions .button {
		width: 100%;
	}

	.vehicle-finder {
		grid-template-columns: minmax(0, 1fr);
		padding: 14px;
	}

	.vehicle-finder__submit {
		grid-column: auto;
		width: 100%;
	}

	.hero__trust {
		display: grid;
		gap: 10px;
	}
}

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

	.hero__content {
		padding-block: 56px;
	}

	.hero h1 {
		font-size: 2.4rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hero *,
	.hero *::before,
	.hero *::after {
		animation: none !important;
		transition-duration: .01ms !important;
	}
}
