
.top-block-wrapper {
	display: none !important;
}

.header-wrapper {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
}


.hero-section {
	position: relative;
	width: 100%;
	height: 100dvh;

	overflow: hidden;
	display: inline-flex;
	align-items: flex-end;
}

.hero-background {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.hero_background-img,
.hero_background-video {
	position: relative;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.hero-gallery-item {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 1s ease-in-out;
}

.hero-gallery-item:first-child {
	opacity: 1;
}

.hero-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.62) 100%);
	z-index: 2;
}

.hero-content.maxwidth-theme {
	position: relative;
	z-index: 3;
	width: 100%;
	/* max-width: 1348px; */
	/* margin: 0 auto; */
	/* padding: 0 0 80px; */
	display: inline-flex;
	/*gap: 90px;*/
	gap: 30px;
	flex-direction: column;
	justify-content: space-between;
	align-items: stretch;
	background: unset;
	padding-bottom: 30px;
	padding-top: 20px;
}
.hero-content.maxwidth-theme:before, .hero-content.maxwidth-theme:after {
	display: none !important;
}
.hero-main {
	max-width: 860px;
	display: inline-flex;
	gap: 16px;
	flex-direction: column;
	justify-content: flex-start;
	align-items: stretch;
}
.hero-title {
	color: var(--text-main-contrast, white);
	font-size: 80px;
	font-weight: 700;
	text-transform: uppercase;
	line-height: 1;
}
.hero-description {
	color: white;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	max-width: 509px;
}


.hero-bottom {
	display: inline-flex;
	gap: 16px;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: flex-end;
}
.hero-buttons {
	display: inline-flex;
	gap: 24px;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: stretch;
}
.hero-btn {
	width: 320px;
	padding: 16px 24px;
	border-radius: 3px;
	font-size: 16px;
	font-weight: 700;
	text-transform: uppercase;
	line-height: 1.5;
	letter-spacing: 1.28px;
	border: none;
	cursor: pointer;
	transition: all 0.3s ease;
	min-width: 200px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
}
.hero-btn.btn-white {
	background: #FFFFFF;
	color: #000000;
	transition: all 0.2s ease-in-out;
}
.hero-btn.btn-white:hover {
	background: #000000;
	color: #FFFFFF;
}
.hero-btn.btn-outline {
	background: transparent;
	color: var(--text-main-contrast, white);
	outline: 1px solid rgba(255, 255, 255, 0.2);
	outline-offset: -1px;
	transition: all 0.2s ease-in-out;
}
.hero-btn.btn-outline:hover {
	background: #FFFFFF;
	color: #000000;
}

.hero-aside {
	width: 320px;
	display: inline-flex;
	gap: 24px;
	flex-direction: column;
	justify-content: flex-end;
	align-items: stretch;
}
.hero-divider {
	width: 100%;
	height: 1px;
	background: rgba(255, 255, 255, 0.32);
}
.hero-note {
	color: white;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	margin: 0;
}


/* Адаптивная верстка */
@media (max-width: 1200px) {
	.hero-section {
		height: 100dvh;
	}

	.hero-content {
		grid-template-columns: 1fr;
		gap: 60px;
	}

	.hero-title {
		font-size: 64px;
	}

	.hero-buttons {
		flex-wrap: wrap;
	}

	.hero-aside {
		max-width: 400px;
	}
}

@media (max-width: 768px) {
	.hero-section {
		height: 600px;
		min-height: fit-content;
	}

	.hero-content {
		padding: 0 16px 16px;
		gap: 40px;
	}

	.hero-title {
		font-size: 48px;
		margin-bottom: 30px;
	}

	.hero-description {
		margin-bottom: 40px;
	}

	.hero-buttons {
		width: 100%;
		gap: 16px;
	}

	.btn {
		min-width: 100%;
	}

	.hero-aside {
		display: none;
	}
}

@media (max-width: 480px) {
	.hero-section {
		height: 500px;
	}

	.hero-title {
		font-size: 36px;
		margin-bottom: 20px;
	}

	.hero-description {
		font-size: 14px;
		margin-bottom: 30px;
	}

	.hero-content {
		gap: 30px;
	}

	.btn {
		padding: 14px 20px;
		font-size: 14px;
	}

	.hero-note {
		font-size: 14px;
	}
}

/* Поддержка темной темы */
@media (prefers-color-scheme: dark) {
	.hero-section {
		background: var(--bg-main-dark, #1a1a1a);
	}
}

/* Доступность */
.btn:focus {
	outline: 2px solid var(--brand-main-dark, #E2051A);
	outline-offset: 2px;
}

.hero-title:focus,
.hero-description:focus,
.hero-note:focus {
	outline: 2px solid rgba(255, 255, 255, 0.5);
	outline-offset: 4px;
}

/* Улучшения для производительности */
.hero-image {
	will-change: transform;
}

.hero-gallery-item {
	will-change: opacity;
}




@media (max-height: 700px) {

	.hero-description,
	.hero-aside {
		display: none;
	}
}