/**
 * Hero V2 — ported from mockup `.hero` (+ `.service-page .hero` variant, which
 * activates when the breadcrumb is shown via `.hero-v2.has-breadcrumb`).
 * Block: .hero-v2
 */

.hero-v2 {
	padding-top: 58px;
	padding-bottom: 65px;
}

.hero-v2.has-breadcrumb {
	padding-top: 28px;
}

/* breadcrumb */
.hero-v2__breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	font-size: 11px;
	color: var(--m114-muted);
	margin-bottom: 22px;
}

.hero-v2__breadcrumb a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.hero-v2__breadcrumb a:hover {
	color: var(--m114-red);
}

.hero-v2__sep {
	opacity: 0.55;
}

/* grid */
.hero-v2__grid {
	display: grid;
	grid-template-columns: 1.02fr 1fr;
	gap: 65px;
	align-items: center;
}

.hero-v2.has-breadcrumb .hero-v2__grid {
	grid-template-columns: 1.12fr 1fr;
	gap: 48px;
}

.hero-v2__title {
	margin: 0;
}

.hero-v2.has-breadcrumb .hero-v2__title {
	font-size: clamp(39px, 4.1vw, 55px);
	letter-spacing: -2.5px;
}

.hero-v2__intro {
	font-size: 16px;
	color: var(--m114-muted);
	max-width: 480px;
	line-height: 1.8;
	margin: 25px 0;
}

.hero-v2__intro p {
	margin: 0 0 1em;
}

.hero-v2__intro p:last-child {
	margin-bottom: 0;
}

.hero-v2__actions {
	display: flex;
	gap: 25px;
	align-items: center;
	margin: 30px 0;
}

.hero-v2__checks {
	font-size: 11px;
	color: var(--m114-muted);
	display: flex;
	gap: 20px;
	margin-top: 29px;
	list-style: none;
	padding: 0;
	flex-wrap: wrap;
}

.hero-v2__checks li::first-letter {
	color: var(--m114-green);
}

/* visual */
.hero-v2__visual {
	position: relative;
	height: 470px;
	border-radius: 110px 12px 12px 12px;
	overflow: hidden;
}

.hero-v2.has-breadcrumb .hero-v2__visual {
	height: 490px;
}

.hero-v2__visual--empty {
	background: linear-gradient(135deg, #dfe4e2, #cdd6d3);
}

.hero-v2__visual > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 60% center;
	display: block;
}

.hero-v2__visual::after {
	content: '';
	position: absolute;
	inset: 50% 0 0;
	background: linear-gradient(transparent, rgba(16, 43, 58, 0.6));
	pointer-events: none;
}

.hero-v2__photo-label {
	position: absolute;
	bottom: 48px;
	left: 29px;
	right: 25px;
	color: #fff;
	font-family: 'Poppins', sans-serif;
	font-size: 24px;
	line-height: 1.4;
	font-weight: 600;
	z-index: 1;
	max-width: 290px;
}

@media (min-width: 1500px) {
	.hero-v2 {
		padding-top: 75px;
		padding-bottom: 80px;
	}
	.hero-v2__visual {
		height: 520px;
	}
}

@media (max-width: 1000px) {
	.hero-v2__grid,
	.hero-v2.has-breadcrumb .hero-v2__grid {
		gap: 30px;
	}
	.hero-v2__visual,
	.hero-v2.has-breadcrumb .hero-v2__visual {
		height: 440px;
	}
	.hero-v2__actions {
		align-items: flex-start;
		flex-direction: column;
		gap: 17px;
	}
	.hero-v2__checks {
		flex-direction: column;
		gap: 3px;
	}
	.hero-v2.has-breadcrumb .hero-v2__checks {
		gap: 6px;
	}
}

@media (max-width: 700px) {
	.hero-v2 {
		padding-top: 35px;
		padding-bottom: 32px;
	}
	.hero-v2.has-breadcrumb {
		padding-top: 25px;
	}
	.hero-v2__grid,
	.hero-v2.has-breadcrumb .hero-v2__grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}
	.hero-v2.has-breadcrumb .hero-v2__title {
		font-size: 43px;
		letter-spacing: -2px;
	}
	.hero-v2__intro {
		font-size: 14px;
		margin: 20px 0;
	}
	.hero-v2__actions {
		flex-direction: row;
		align-items: center;
		gap: 18px;
		margin: 23px 0;
	}
	.hero-v2.has-breadcrumb .hero-v2__actions {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}
	.hero-v2__actions .button {
		font-size: 12px;
		padding: 14px 17px;
		gap: 20px;
	}
	.hero-v2__actions .text-link {
		font-size: 11px;
	}
	.hero-v2__checks {
		flex-direction: row;
		gap: 13px;
		font-size: 9px;
		margin-top: 20px;
	}
	.hero-v2.has-breadcrumb .hero-v2__checks {
		flex-direction: column;
		gap: 5px;
		font-size: 11px;
	}
	.hero-v2__visual,
	.hero-v2.has-breadcrumb .hero-v2__visual {
		height: 340px;
		border-radius: 65px 8px 8px 8px;
	}
	.hero-v2__photo-label {
		font-size: 23px;
		bottom: 45px;
	}
}
