/* Intro de Video — overlay */

.vintro{
	position: fixed;
	inset: 0;
	z-index: 2147483000;      /* por encima de menús fijos y barras de cookies */
	display: flex;
	align-items: center;
	justify-content: center;
	background: #000;          /* lo sobrescribe el color de los ajustes */
	opacity: 1;
	transition: opacity var(--vintro-fundido, 600ms) ease;
}

.vintro.is-cerrando{
	opacity: 0;
	pointer-events: none;
}

.vintro__video{
	width: 100%;
	height: 100%;
	object-fit: cover;         /* lo sobrescribe el encuadre elegido */
	display: block;
}

.vintro__btn{
	position: absolute;
	z-index: 2;
	padding: .7rem 1.4rem;
	font: inherit;
	font-size: .9rem;
	line-height: 1;
	letter-spacing: .04em;
	color: #fff;
	background: rgba(0,0,0,.35);
	border: 1px solid #fff;
	border-radius: 999px;
	cursor: pointer;
	opacity: 0;
	animation: vintro-aparece .4s ease forwards;
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	transition: background-color .2s ease, transform .2s ease;
}

.vintro__btn:hover{ background: rgba(0,0,0,.6); }
.vintro__btn:active{ transform: scale(.97); }
.vintro__btn:focus-visible{ outline: 2px solid currentColor; outline-offset: 3px; }
.vintro__btn[hidden]{ display: none; }

.vintro__btn--saltar{ right: 1.5rem; bottom: 1.5rem; }
.vintro__btn--audio{ left: 1.5rem; bottom: 1.5rem; }

@keyframes vintro-aparece{ to{ opacity: 1; } }

@media (max-width: 600px){
	.vintro__btn{ padding: .6rem 1.1rem; font-size: .82rem; }
	.vintro__btn--saltar{ right: 1rem; bottom: 1rem; }
	.vintro__btn--audio{ left: 1rem; bottom: 1rem; }
}

/* Respeta a quien pidió menos movimiento: sin fundido */
@media (prefers-reduced-motion: reduce){
	.vintro{ transition: none; }
	.vintro__btn{ animation: none; opacity: 1; }
}
