/* =========================================================
   MLA Hero Slider — slider.css
   Slider de fondo (imagen/video) con transición fade, flechas y dots.
   ========================================================= */

.mla-hs {
	position: relative;
	overflow: hidden;
	min-height: var(--mla-hs-min-height, 82vh);
	display: flex;
}
.mla-hs__track {
	position: relative;
	width: 100%;
}
.mla-hs__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 1s ease;
	display: flex;
	align-items: center;
}
.mla-hs__slide.is-active {
	position: relative;
	opacity: 1;
	visibility: visible;
	z-index: 1;
}
.mla-hs__slide:not(.is-active) {
	z-index: 0;
}

.mla-hs__bg {
	position: absolute;
	left: 0; top: 0; right: 0; bottom: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
.mla-hs__overlay {
	position: absolute;
	left: 0; top: 0; right: 0; bottom: 0;
	background: linear-gradient(100deg, rgba(11,15,55,0.95) 0%, rgba(14,19,72,0.82) 32%, rgba(18,24,90,0.55) 55%, rgba(20,26,100,0.2) 78%, rgba(20,26,100,0.05) 100%);
	opacity: var(--mla-hs-overlay-opacity, 0.45);
}

.mla-hs__content {
	position: relative;
	z-index: 2;
	width: 100%;
}
.mla-hs__inner {
	max-width: 1180px;
	margin: 0 auto;
	padding: 120px 32px;
	max-width: 720px;
}
.mla-hs__eyebrow {
	color: var(--mla-accent, #D9A94E);
	font-weight: 800;
	font-size: 16px;
	letter-spacing: 2.6px;
	text-transform: uppercase;
	margin-bottom: 16px;
	animation: mlaHsFadeUp .7s ease both;
}
.mla-hs__title {
	font-weight: 700;
	font-size: clamp(34px, 4.4vw, 54px);
	line-height: 1.1;
	margin: 0;
	letter-spacing: -.4px;
	color: #fff;
	text-shadow: 0 2px 30px rgba(0,0,0,.4);
	animation: mlaHsFadeUp .8s ease .05s both;
}
.mla-hs__subtitle {
	font-size: 18px;
	color: #DADDF3;
	max-width: 600px;
	margin: 18px 0 0;
	text-shadow: 0 1px 16px rgba(0,0,0,.4);
	animation: mlaHsFadeUp .8s ease .1s both;
}
.mla-hs__actions {
	display: flex;
	gap: 16px;
	margin-top: 30px;
	flex-wrap: wrap;
	animation: mlaHsFadeUp .8s ease .16s both;
}

@keyframes mlaHsFadeUp {
	from { opacity: 0; transform: translateY(16px); }
	to { opacity: 1; transform: translateY(0); }
}

/* ---- Controles ---- */
.mla-hs__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: 1px solid rgba(255,255,255,0.28);
	background: rgba(8,10,38,0.35);
	backdrop-filter: blur(4px);
	color: #fff;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background .2s ease, border-color .2s ease;
}
.mla-hs__arrow:hover {
	background: rgba(8,10,38,0.6);
	border-color: rgba(255,255,255,0.5);
}
.mla-hs__arrow--prev { left: 24px; }
.mla-hs__arrow--next { right: 24px; }

.mla-hs__dots {
	position: absolute;
	bottom: 24px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 3;
	display: flex;
	gap: 10px;
}
.mla-hs__dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	border: 1.5px solid rgba(255,255,255,0.6);
	background: transparent;
	cursor: pointer;
	padding: 0;
	transition: background .2s ease, transform .2s ease;
}
.mla-hs__dot.is-active {
	background: var(--mla-accent, #D9A94E);
	border-color: var(--mla-accent, #D9A94E);
	transform: scale(1.15);
}

@media (max-width: 900px) {
	.mla-hs__inner { padding-top: 96px; padding-bottom: 72px; }
	.mla-hs__title { font-size: 32px; }
	.mla-hs__arrow { width: 38px; height: 38px; font-size: 20px; }
	.mla-hs__arrow--prev { left: 12px; }
	.mla-hs__arrow--next { right: 12px; }
}

@media (max-width: 640px) {
	.mla-hs__inner { padding-left: 20px; padding-right: 20px; }
}

@media (prefers-reduced-motion: reduce) {
	.mla-hs__slide { transition: none; }
	.mla-hs__eyebrow, .mla-hs__title, .mla-hs__subtitle, .mla-hs__actions { animation: none; }
}
