.service-detail-hero {
	position: relative;
	background: var(--site-color-surface);
	--service-detail-hero-content-width: 48rem;
	--service-detail-hero-title-size: clamp(2.5rem, 1.65rem + 2.66vw, 3.5rem);
	--service-detail-hero-description-size: clamp(1rem, 0.87rem + 0.5vw, 1.25rem);
	--service-detail-hero-stat-size: clamp(1.75rem, 1.5rem + 0.88vw, 2.1875rem);
}

.service-detail-hero__background {
	position: relative;
	overflow: hidden;
	min-height: clamp(42rem, 63.5vw, 76.2rem);
	padding: clamp(1rem, 6.25vw, 2rem) 0 clamp(6.75rem, 8.5vw, 7.55rem);
	background-color: #394531;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}

.service-detail-hero__gradient {
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		radial-gradient(circle at 20.8% 33%, rgba(13, 31, 13, 0.9) 0%, rgba(13, 31, 13, 0.75) 36%, rgba(13, 31, 13, 0.15) 64%),
		linear-gradient(90deg, rgba(13, 31, 13, 0.68) 0%, rgba(13, 31, 13, 0.24) 56%, rgba(13, 31, 13, 0) 100%);
	pointer-events: none;
}

.service-detail-hero__glow {
	position: absolute;
	z-index: 1;
	right: 2.5rem;
	border-radius: 999px;
	pointer-events: none;
}

.service-detail-hero__glow--primary {
	top: 25%;
	width: 18rem;
	height: 18rem;
	background: var(--site-color-accent-10);
	filter: blur(32px);
}

.service-detail-hero__glow--secondary {
	right: 5rem;
	bottom: 25%;
	width: 12rem;
	height: 12rem;
	background: var(--site-color-accent-15);
	filter: blur(20px);
}

.service-detail-hero__wave {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	z-index: 2;
	height: clamp(3.5rem, 5.6vw, 6.7rem);
	background: url("../img/home-hero/wave.svg") center bottom / 100% 100% no-repeat;
	pointer-events: none;
}

.service-detail-hero .container {
	position: relative;
	z-index: 3;
}

.service-detail-hero .row {
	--bs-gutter-x: 0;
}

.service-detail-hero__breadcrumbs {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	min-width: 0;
	font-size: var(--site-font-size-16);
	line-height: 1.48;
}

.service-detail-hero__breadcrumbs-link,
.service-detail-hero__breadcrumbs-separator {
	flex: 0 0 auto;
	color: var(--site-color-accent);
}

.service-detail-hero__breadcrumbs-link {
	transition: color 0.2s ease;
}

.service-detail-hero__breadcrumbs-link:hover {
	color: var(--site-color-accent-soft);
}

.service-detail-hero__breadcrumbs-current {
	min-width: 0;
	max-width: min(40rem, 55vw);
	overflow: hidden;
	color: var(--site-color-text-90);
	text-overflow: ellipsis;
	white-space: nowrap;
}

.service-detail-hero__content {
	width: min(100%, var(--service-detail-hero-content-width));
	padding-top: clamp(1.5rem, 2.1vw, 2.5rem);
}

.service-detail-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 1.5rem;
	padding: 0.5625rem 1rem;
	border: 1px solid var(--site-color-accent-40);
	border-radius: 18.75rem;
	background: var(--site-color-accent-20);
	font-size: var(--site-font-size-14);
	font-weight: 500;
	line-height: 1.4;
	color: var(--site-color-accent-soft);
}

.service-detail-hero__eyebrow::before {
	content: "";
	flex: 0 0 0.5rem;
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background: var(--site-color-accent);
}

.service-detail-hero__title {
	max-width: var(--service-detail-hero-content-width);
	margin: 0;
	font-family: var(--site-font-heading);
	font-size: var(--service-detail-hero-title-size);
	font-weight: 700;
	line-height: 1.22;
	letter-spacing: 0;
	color: var(--site-color-text);
}

.service-detail-hero__title-accent {
	color: var(--site-color-accent);
}

.service-detail-hero__description {
	max-width: 48rem;
	margin: 1rem 0 0;
	font-size: var(--service-detail-hero-description-size);
	line-height: 1.5;
	color: var(--site-color-text-80);
}

.service-detail-hero__list {
	display: grid;
	gap: 0.75rem;
	margin: 1.25rem 0 0;
	padding: 0.5rem 0 0;
	list-style: none;
}

.service-detail-hero__list-item {
	position: relative;
	padding-left: 1.9rem;
	font-size: var(--site-font-size-16);
	line-height: 1.48;
	color: var(--site-color-text-90);
}

.service-detail-hero__list-item::before {
	content: "";
	position: absolute;
	top: 0.08rem;
	left: 0;
	width: 1.125rem;
	height: 1.125rem;
	background: url("../img/home-hero/check.svg") center / contain no-repeat;
}

.service-detail-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 2rem;
	padding-bottom: 1.55rem;
}

.service-detail-hero__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.625rem;
	min-height: 3.625rem;
	padding: 1rem 2rem;
	border-radius: var(--site-radius-button);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.48;
	letter-spacing: var(--site-letter-spacing-button);
	transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.service-detail-hero__button:hover {
	transform: translateY(-1px);
}

.service-detail-hero__button--primary {
	background: var(--site-color-accent);
	color: var(--site-color-text);
}

.service-detail-hero__button--primary:hover {
	background: #d49224;
}

.service-detail-hero__button--secondary {
	border: 1px solid var(--site-color-line-strong);
	background: rgba(255, 255, 255, 0.06);
	backdrop-filter: blur(4px);
	color: var(--site-color-text);
}

.service-detail-hero__button--secondary:hover {
	border-color: rgba(255, 255, 255, 0.44);
	background: rgba(255, 255, 255, 0.1);
}

.service-detail-hero__button-icon {
	display: block;
	width: 1.5rem;
	height: 1.5rem;
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
}

.service-detail-hero__button-icon--phone {
	width: 1.125rem;
	height: 1.125rem;
}

.service-detail-hero__stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, max-content));
	gap: 2rem;
	padding-top: 3.1rem;
	border-top: 1px solid var(--site-color-line-soft);
}

.service-detail-hero__stat {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.service-detail-hero__stat-value {
	font-family: var(--site-font-heading);
	font-size: var(--service-detail-hero-stat-size);
	font-weight: 800;
	line-height: 1.26;
	color: var(--site-color-accent);
}

.service-detail-hero__stat-label {
	font-size: var(--site-font-size-14);
	line-height: 1.4;
	color: var(--site-color-text-80);
}

@media (max-width: 991.98px) {
	.service-detail-hero__background {
		min-height: auto;
		padding: 4.5rem 0 6.5rem;
		background-position: 62% center;
	}

	.service-detail-hero__gradient {
		background:
			linear-gradient(180deg, rgba(13, 31, 13, 0.72) 0%, rgba(13, 31, 13, 0.38) 38%, rgba(13, 31, 13, 0.72) 100%),
			radial-gradient(circle at 24% 22%, rgba(13, 31, 13, 0.88) 0%, rgba(13, 31, 13, 0.66) 34%, rgba(13, 31, 13, 0.12) 66%);
	}

	.service-detail-hero__content {
		width: min(100%, 39rem);
	}

	.service-detail-hero__stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: 1.5rem;
	}
}

@media (max-width: 767.98px) {
	.service-detail-hero__background {
		padding: 2.25rem 0 5.5rem;
		background-position: 68% center;
	}

	.service-detail-hero__glow {
		display: none;
	}

	.service-detail-hero__breadcrumbs {
		flex-wrap: wrap;
		gap: 0.45rem;
	}

	.service-detail-hero__breadcrumbs-current {
		max-width: 100%;
		white-space: normal;
	}

	.service-detail-hero__content {
		width: 100%;
		padding-top: 2rem;
	}

	.service-detail-hero__eyebrow {
		margin-bottom: 1.2rem;
		padding-right: 0.875rem;
		padding-left: 0.875rem;
	}

	.service-detail-hero__description {
		max-width: 100%;
	}

	.service-detail-hero__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.service-detail-hero__button {
		width: 100%;
	}

	.service-detail-hero__stats {
		grid-template-columns: 1fr;
		gap: 1rem;
		padding-top: 2rem;
		text-align: center;
	}
}
