/* ==========================================================================
   Block: Hero
   Высота секции включает хедер (хедер лежит поверх): 1080 / 785 / 720 / 706.
   ========================================================================== */

.hero {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	height: 1080px;
	margin-top: calc(-1 * var(--header-h, 0px));
	padding: 60px;
	overflow: hidden;
	color: var(--c-white);
	background-color: #0e0f11;
}

.hero__media {
	position: absolute;
	inset: 0;
}

/* затемнение видео слева направо — восстановлено по рендеру макета */
.hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image: linear-gradient(90deg, rgba(31, 33, 38, 0.53) 0%, rgba(31, 33, 38, 0.08) 100%);
	pointer-events: none;
}

.hero__video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero__content {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 60px;
	width: 719px;
	max-width: 100%;
}

.hero__text {
	display: flex;
	flex-direction: column;
	gap: 36px;
}

.hero__title {
	font-size: 64px;
	font-weight: 500;
	line-height: 1;
}

.hero__lead {
	font-size: 32px;
	line-height: 1.2;
}

.hero__bottom {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.hero__buttons {
	display: flex;
	align-items: center;
	gap: 16px;
}

.hero__note {
	font-size: 20px;
	line-height: 1.2;
	opacity: 0.7;
}

@media (max-width: 1919.98px) {
	.hero {
		height: 785px;
		padding: 40px;
	}

	.hero__content {
		gap: 32px;
		width: 694px;
	}

	.hero__text {
		gap: 20px;
	}

	.hero__title {
		font-size: 48px;
		line-height: 1.1;
	}

	.hero__lead {
		font-size: 20px;
	}

	.hero__bottom {
		gap: 20px;
	}

	.hero__buttons {
		gap: 12px;
	}

	.hero__note {
		font-size: 16px;
	}
}

@media (max-width: 1439.98px) {
	.hero {
		height: 720px;
		padding: 28px;
	}

	.hero__content {
		gap: 24px;
		width: 523px;
	}

	.hero__text {
		gap: 12px;
	}

	.hero__title {
		font-size: 36px;
	}

	.hero__lead {
		font-size: 16px;
	}

	.hero__bottom {
		gap: 12px;
	}

	.hero__note {
		font-size: 14px;
	}
}

@media (max-width: 1023.98px) {
	.hero {
		height: 706px;
		padding: 14px;
	}

	.hero__content {
		width: 100%;
	}

	.hero__media::after {
		background-image: none;
		background-color: rgba(20, 22, 27, 0.28);
	}

	.hero__title {
		font-size: 24px;
	}

	.hero__lead {
		font-size: 14px;
	}

	.hero__buttons {
		gap: 8px;
	}

	.hero__btn {
		flex: 1 1 0;
		min-width: 0;
	}

	.hero__note {
		font-size: 12px;
	}
}
