/* Compact hero for the root services page only. */

.sr-services-hero {
	position: relative;
	isolation: isolate;
	min-height: clamp(380px, 31vw, 470px);
	overflow: hidden;
	color: var(--sr-white);
	background-color: #00131b;
	background-image:
		linear-gradient(90deg, rgba(0, 19, 27, 0.22) 0%, rgba(0, 19, 27, 0.06) 50%, transparent 68%),
		url("../images/services-hero-runner.webp");
	background-position: center, right center;
	background-repeat: no-repeat;
	background-size: cover, auto 100%;
}

.sr-services-hero::after {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent, rgba(227, 6, 19, 0.72), transparent);
	content: "";
}

.sr-services-hero__shell {
	display: flex;
	align-items: center;
	width: min(calc(100% - 48px), var(--sr-shell));
	min-height: inherit;
	margin-inline: auto;
	padding: 48px 0 52px;
}

.sr-services-hero__content {
	position: relative;
	z-index: 2;
	width: min(54%, 650px);
}

.sr-services-hero__eyebrow {
	margin: 0 0 20px;
	color: #ff2934;
	font-size: 14px;
	font-weight: 850;
	letter-spacing: 0.09em;
	line-height: 1.35;
	text-transform: uppercase;
}

.sr-services-hero h1 {
	margin: 0;
	color: var(--sr-white);
	font-size: clamp(45px, 4.35vw, 66px);
	font-weight: 800;
	letter-spacing: -0.042em;
	line-height: 1.04;
	text-wrap: balance;
}

.sr-services-hero__lead {
	max-width: 625px;
	margin: 24px 0 0;
	color: rgba(255, 255, 255, 0.86);
	font-size: clamp(17px, 1.35vw, 20px);
	line-height: 1.55;
}

.sr-services-hero__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	margin-top: 28px;
	padding: 13px 28px;
	color: var(--sr-white);
	font-size: 15px;
	font-weight: 800;
	line-height: 1;
	text-transform: uppercase;
	text-decoration: none;
	background: var(--sr-red);
	border: 2px solid var(--sr-red);
	border-radius: 4px;
	box-shadow: 0 12px 28px rgba(227, 6, 19, 0.2);
	transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.sr-services-hero__button:hover,
.sr-services-hero__button:focus-visible {
	color: var(--sr-white);
	background: var(--sr-red-dark);
	border-color: var(--sr-red-dark);
	transform: translateY(-2px);
}

.sr-services-root .site-content {
	padding-top: 0;
}

.sr-services-root .site-main > article.page {
	margin-bottom: 0;
}

@media (max-width: 980px) {
	.sr-services-hero {
		background-image:
			linear-gradient(90deg, rgba(0, 19, 27, 0.96) 0%, rgba(0, 19, 27, 0.78) 58%, rgba(0, 19, 27, 0.2) 100%),
			url("../images/services-hero-runner.webp");
		background-position: center, 72% center;
		background-size: cover, auto 100%;
	}

	.sr-services-hero__content {
		width: min(72%, 650px);
	}
}

@media (max-width: 620px) {
	.sr-services-hero {
		min-height: 390px;
		background-image:
			linear-gradient(90deg, rgba(0, 19, 27, 0.98) 0%, rgba(0, 19, 27, 0.88) 72%, rgba(0, 19, 27, 0.48) 100%),
			url("../images/services-hero-runner.webp");
		background-position: center, 69% center;
		background-size: cover, auto 100%;
	}

	.sr-services-hero__shell {
		width: min(calc(100% - 32px), var(--sr-shell));
		padding: 44px 0 48px;
	}

	.sr-services-hero__content {
		width: 100%;
	}

	.sr-services-hero__eyebrow {
		margin-bottom: 16px;
		font-size: 11px;
	}

	.sr-services-hero h1 {
		font-size: clamp(39px, 11.8vw, 51px);
	}

	.sr-services-hero__lead {
		max-width: 92%;
		margin-top: 20px;
		font-size: 16px;
		line-height: 1.48;
	}

	.sr-services-hero__button {
		min-height: 50px;
		margin-top: 24px;
		padding-inline: 23px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sr-services-hero__button {
		transition: none;
	}
}
