/* Главная, первый экран: две локации рядом (index.php, блок «Хироу 1») */

.bv-hero {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2px;
	background: var(--_swatch---dark--main, #252525);
}

.bv-hero_col {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 2rem;
	min-height: 100vh;
	min-height: 100svh;
	box-sizing: border-box;
	padding: calc(var(--nav--height, 3.5rem) + clamp(1.5rem, 3vw, 2.5rem)) clamp(1rem, 3vw, 3rem) clamp(1.5rem, 3vw, 3rem);
	color: #fff;
}

.bv-hero_media { position: absolute; inset: 0; z-index: -1; }
.bv-hero_img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.2s cubic-bezier(.2, .7, .2, 1);
}
/* затемнение сверху (под меню и заголовок) и снизу (под текст и кнопки) */
.bv-hero_media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, 0) 52%, rgba(0, 0, 0, .75) 100%);
}
.bv-hero_col:hover .bv-hero_img { transform: scale(1.04); }

/* вся колонка ведёт на страницу локации; кнопки — поверх */
.bv-hero_cover { position: absolute; inset: 0; z-index: 1; }
.bv-hero_title, .bv-hero_bottom { position: relative; z-index: 2; pointer-events: none; }
.bv-hero_buttons { pointer-events: auto; }

.bv-hero .bv-hero_title { margin: 0; color: #fff; line-height: .95; }
.bv-hero_bottom { display: grid; gap: 1.25rem; justify-items: start; max-width: 34rem; }
.bv-hero_text p { margin: 0; }
.bv-hero_text p + p { margin-top: .5em; }

@media (prefers-reduced-motion: reduce) {
	.bv-hero_img { transition: none; }
	.bv-hero_col:hover .bv-hero_img { transform: none; }
}

/* Мобилка: колонки друг под другом, обе локации помещаются на первый экран */
@media (max-width: 767px) {
	.bv-hero { grid-template-columns: 1fr; }
	.bv-hero_col {
		--bv-half: calc((100svh - var(--nav--height, 3.5rem)) / 2);
		min-height: max(var(--bv-half), 18rem);
		gap: 1rem;
		padding: 1.25rem var(--site--margin, 1rem);
	}
	.bv-hero_col:first-of-type {
		min-height: calc(var(--nav--height, 3.5rem) + max(var(--bv-half), 18rem));
		padding-top: calc(var(--nav--height, 3.5rem) + 1rem);
	}
	.bv-hero .bv-hero_title { font-size: clamp(1.9rem, 9vw, 2.6rem); }
	.bv-hero_media::after { background: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .1) 50%, rgba(0, 0, 0, .8) 100%); }
	.bv-hero_bottom { gap: .9rem; max-width: none; justify-items: stretch; }
	.bv-hero_text { font-size: .8rem; line-height: 1.4; }
	.bv-hero_buttons .u-display-contents { display: flex; gap: .5rem; }
	.bv-hero_buttons .button_main_wrap { flex: 1 1 0; min-width: 0; }
}
