/* =============================================
   Кнопка воспроизведения видео в промо-блоке
   ============================================= */

.promo__video-btn {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	z-index: 10;
	transition: transform 0.2s ease, filter 0.2s ease;
}

.promo__video-btn:hover {
	transform: translate(-50%, -50%) scale(1.1);
	filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.25));
}

.promo__video-btn img {
	display: block;
	width: 100px;
	height: auto;
}

@media (max-width: 768px) {
	.promo__video-btn img {
		width: 70px;
	}
}

/* =============================================
   Модальное окно с видео
   ============================================= */

.video-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 9999;
	align-items: center;
	justify-content: center;
}

.video-modal.is-open {
	display: flex;
}

.video-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.75);
	backdrop-filter: blur(4px);
}

.video-modal__container {
	position: relative;
	z-index: 1;
	width: 90%;
	max-width: 900px;
	background: #000;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.video-modal__close {
	position: absolute;
	top: 10px;
	right: 14px;
	z-index: 2;
	background: rgba(0, 0, 0, 0.5);
	color: #fff;
	border: none;
	border-radius: 50%;
	width: 36px;
	height: 36px;
	font-size: 16px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s;
}

.video-modal__close:hover {
	background: rgba(255, 255, 255, 0.2);
}

.video-modal__iframe-wrap {
	width: 100%;
	aspect-ratio: 16 / 9;
}

.video-modal__iframe-wrap iframe {
	width: 100%;
	height: 100%;
	display: block;
}
