.hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 100vh;
	background-color: var(--color-bg-dark);
	background-image: url('../images/hero-background.webp');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	color: var(--color-bg-light);
}

.hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		rgba(17, 17, 17, 0.88) 0%,
		rgba(17, 17, 17, 0.55) 45%,
		rgba(17, 17, 17, 0.35) 100%
	);
	pointer-events: none;
}

.hero__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: var(--container-max);
	margin-inline: auto;
	padding: var(--space-8) var(--space-4) var(--space-6);
}

.hero__eyebrow {
	margin-bottom: var(--space-4);
	color: var(--color-bg-light);
	opacity: 0.75;
}

.hero__heading {
	max-width: 18ch;
	margin-bottom: var(--space-4);
	color: var(--color-bg-light);
	font-size: clamp(2.75rem, 6vw, 5rem);
	font-weight: 400;
	line-height: 1.05;
}

.hero__subtext {
	max-width: 36rem;
	margin: 0 0 var(--space-5);
	color: var(--color-bg-light);
	font-size: 1.125rem;
	line-height: 1.6;
	opacity: 0.8;
}

.hero__cta-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-4);
	margin-bottom: var(--space-6);
}

.hero__cta {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	padding: var(--space-3) var(--space-5);
	background-color: var(--color-bg-light);
	color: var(--color-heading);
	font-size: 0.9375rem;
	font-weight: 500;
	letter-spacing: 0.02em;
	line-height: 1.2;
	text-decoration: none;
}

.hero__cta:hover,
.hero__cta:focus-visible {
	text-decoration: none;
	opacity: 0.8;
}

.hero__cta-arrow {
	display: block;
	flex-shrink: 0;
}

.hero__phone {
	font-size: 1rem;
	color: var(--color-bg-light);
	text-decoration: none;
	opacity: 0.85;
}

.hero__phone:hover,
.hero__phone:focus-visible {
	text-decoration: underline;
	text-underline-offset: 0.2em;
	opacity: 1;
}

.hero__trust {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-4);
}

.hero__avatars {
	display: flex;
	align-items: center;
}

.hero__avatar {
	display: block;
	width: 2.5rem;
	height: 2.5rem;
	margin-left: -0.5rem;
	background-color: #3a3a3a;
	background-size: cover;
	background-position: center;
	border: 1px solid var(--color-bg-dark);
	box-shadow: none;
}

.hero__avatar:first-child {
	margin-left: 0;
}

.hero__avatar:nth-child(1) {
	background-color: #4a4540;
	background-image: url('https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?auto=format&fit=crop&w=120&h=120&q=70');
}

.hero__avatar:nth-child(2) {
	background-color: #5c5650;
	background-image: url('https://images.unsplash.com/photo-1573496359142-b8d87734a5a2?auto=format&fit=crop&w=120&h=120&q=70');
}

.hero__avatar:nth-child(3) {
	background-color: #6e6860;
	background-image: url('https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?auto=format&fit=crop&w=120&h=120&q=70');
}

.hero__avatar:nth-child(4) {
	background-color: #3d3a36;
	background-image: url('https://images.unsplash.com/photo-1580489944761-15a19d654956?auto=format&fit=crop&w=120&h=120&q=70');
}

.hero__rating {
	display: flex;
	flex-direction: column;
	gap: var(--space-1);
}

.hero__stars {
	display: flex;
	gap: 0.15rem;
	color: var(--color-bg-light);
}

.hero__caption {
	margin: 0;
	font-size: 0.8125rem;
	line-height: 1.4;
	color: var(--color-bg-light);
	opacity: 0.75;
}

@media (max-width: 768px) {
	.hero__inner {
		padding-top: var(--space-8);
		padding-bottom: var(--space-5);
	}

	.hero__heading {
		max-width: none;
	}
}
