/* Banner principal — intro a pantalla completa */

.eyv-banner {
	position: relative;
	width: 100%;
	height: 100vh;
	height: 100dvh;
	min-height: 480px;
	overflow: hidden;
	background: #111;
	color: #fff;
}

.eyv-banner__viewport {
	position: absolute;
	inset: 0;
	overflow: hidden;
}

.eyv-banner__track {
	display: flex;
	height: 100%;
	width: 100%;
	transition: transform 0.7s ease;
	will-change: transform;
}

.eyv-banner__slide {
	position: relative;
	flex: 0 0 100%;
	width: 100%;
	min-width: 100%;
	max-width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	overflow: hidden;
	box-sizing: border-box;
}

.eyv-banner__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	z-index: 0;
}

.eyv-banner__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to bottom,
		rgba(0, 0, 0, 0.35) 0%,
		rgba(0, 0, 0, 0.45) 45%,
		rgba(0, 0, 0, 0.65) 100%
	);
}

.eyv-banner__content {
	position: relative;
	z-index: 1;
	max-width: 900px;
	padding: 6rem 1.5rem 4rem;
	box-sizing: border-box;
}

.eyv-banner__title {
	margin: 0 0 0.75rem;
	font-size: clamp(2rem, 5vw, 3.75rem);
	line-height: 1.1;
	font-weight: 700;
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.eyv-banner__subtitle {
	margin: 0;
	font-size: clamp(1rem, 2.2vw, 1.35rem);
	line-height: 1.45;
	opacity: 0.95;
	text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.eyv-banner__nav {
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 0.75rem;
}

.eyv-banner__btn {
	pointer-events: auto;
	width: 2.75rem;
	height: 2.75rem;
	border: 1px solid rgba(255, 255, 255, 0.55);
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.25);
	color: #fff;
	cursor: pointer;
	font-size: 1.35rem;
	line-height: 1;
	backdrop-filter: blur(4px);
}

.eyv-banner__btn:hover {
	background: rgba(0, 0, 0, 0.45);
	border-color: #fff;
}

.eyv-banner__dots {
	position: absolute;
	left: 50%;
	bottom: 1.5rem;
	transform: translateX(-50%);
	z-index: 2;
	display: flex;
	gap: 0.5rem;
}

.eyv-banner__dot {
	width: 0.65rem;
	height: 0.65rem;
	border-radius: 999px;
	border: 0;
	padding: 0;
	background: rgba(255, 255, 255, 0.45);
	cursor: pointer;
}

.eyv-banner__dot.is-active {
	background: #fff;
}

.eyv-banner__empty {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	padding: 2rem;
	text-align: center;
	color: rgba(255, 255, 255, 0.85);
	background: #222;
}

@media (prefers-reduced-motion: reduce) {
	.eyv-banner__track {
		transition: none;
	}
}

@media (max-width: 768px) {
	.eyv-banner {
		min-height: 360px;
		height: min(100dvh, 720px);
	}

	.eyv-banner__content {
		padding: 5.5rem 1.1rem 3.25rem;
	}

	.eyv-banner__btn {
		width: 2.35rem;
		height: 2.35rem;
		font-size: 1.15rem;
	}

	.eyv-banner__dots {
		bottom: 1rem;
	}
}

@media (max-width: 480px) {
	.eyv-banner {
		min-height: 320px;
	}

	.eyv-banner__content {
		padding: 4.75rem 0.9rem 2.75rem;
	}

	.eyv-banner__nav {
		padding: 0 0.35rem;
	}
}

@media (max-height: 520px) and (orientation: landscape) {
	.eyv-banner {
		min-height: 280px;
		height: 100dvh;
	}

	.eyv-banner__content {
		padding: 3.5rem 1rem 2rem;
	}

	.eyv-banner__title {
		font-size: clamp(1.35rem, 4vw, 2rem);
	}
}
