.hero {
	position: relative;
	display: grid;
	min-height: 480px;
	overflow: hidden;
	background: var(--color-bg-soft);
	isolation: isolate;
}

.hero__image {
	position: absolute;
	inset: 0;
	z-index: -1;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.hero__content {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: var(--space-5);
	padding-block: var(--space-8);
	text-align: center;
	color: var(--color-white);
}

.hero__title,
.hero__subtitle {
	max-width: 920px;
	color: var(--color-white);
	text-shadow: 0 2px 10px rgba(0, 0, 0, .6);
}

.hero__title {
	font-size: clamp(2rem, 3vw, 3rem);
	font-weight: 800;
	line-height: 1.15;
}

.hero__subtitle {
	margin: 0;
	font-size: clamp(1.35rem, 2vw, 2rem);
	font-weight: 700;
	line-height: 1.25;
}

.hero__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 8px 22px;
	border-radius: var(--radius-pill);
	background: var(--color-active);
	color: var(--color-white);
	font-size: .875rem;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.hero__button:hover,
.hero__button:focus-visible {
	background: var(--color-active-dark);
	color: var(--color-white);
}

.hero__button:active {
	transform: translateY(1px);
}

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

	.hero__content {
		gap: var(--space-4);
		padding-block: var(--space-7);
	}
}
