/**
 * Shared entry hero (single case / service_page)
 */

.entry-hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: min(56rem, 78vh);
	padding-block: clamp(8rem, 14vh, 12rem) clamp(4rem, 8vh, 6.4rem);
	text-align: center;
	background-color: hsla(0, 0%, 8%, 1);
	background-image: var(--entry-hero-bg);
	background-size: cover;
	background-position: center;
}

.entry-hero__overlay {
	position: absolute;
	inset: 0;
	background: hsla(0, 0%, 0%, 0.72);
}

.entry-hero__inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 72rem;
	margin-inline: auto;
}

.entry-hero__title {
	margin: 0 0 var(--space-m);
	font-weight: 800;
	line-height: 1.1;
	color: var(--text-title);
}

.entry-hero__breadcrumbs {
	margin: 0 0 var(--space-m);
	font-size: var(--text-m);
	font-weight: 600;
}

.entry-hero__breadcrumbs {
	color: var(--text-title);
}

.entry-hero__breadcrumbs a {
	color: var(--text-title);
	text-decoration: none;
	transition: color 0.2s ease;
}

.entry-hero__breadcrumbs a:hover {
	color: var(--primary);
}

.entry-hero__breadcrumbs-sep {
	margin-inline: 0.6rem;
	opacity: 0.65;
}

.entry-hero__lead {
	margin: 0 0 var(--space-inner);
	max-width: 62rem;
	font-size: clamp(1.5rem, 1.8vw, 1.8rem);
	line-height: 1.55;
	color: var(--text-body);
	opacity: 0.95;
}

.entry-hero__lead p {
	margin: 0 0 var(--space-s);
}

.entry-hero__lead p:last-child {
	margin-bottom: 0;
}

.entry-hero__cta {
	min-width: min(100%, 32rem);
	padding: 1.4rem 2.8rem;
	border-radius: var(--radius-xs);
	font-size: var(--text-m);
	font-weight: 700;
}

.entry-hero__contacts {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--space-m);
	margin: var(--space-m) 0 0;
	padding: 0;
	list-style: none;
}

.entry-hero__contact {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 4.4rem;
	height: 4.4rem;
	border-radius: var(--radius-full);
	color: var(--primary);
	font-size: 2rem;
	text-decoration: none;
	transition:
		color 0.2s ease,
		transform 0.2s ease;
}

.entry-hero__contact:hover {
	color: var(--primary);
	transform: scale(1.08);
}

/* Header over hero (like home) */
body.has-service-header.is-entry-hero .service-header:not(.is-scrolled) {
	background: transparent;
	border-bottom-color: transparent;
}

@media (max-width: 768px) {
	.entry-hero {
		min-height: min(48rem, 70vh);
		padding-block: clamp(7rem, 12vh, 9rem) var(--space-inner);
	}

	.entry-hero__lead {
		font-size: var(--text-m);
	}
}
