/* ModulHaus — hero: slideshow zdjęć (crossfade + delikatny Ken Burns zoom).
   Lekka alternatywa dla wideo: ostre zdjęcia HD, płynne przenikanie, subtelny zoom.
   Warstwa leży POD gradientem (.mh-test-hero::after) i tekstem (z-index 1). */

.mh-test-hero > .mh-hero-slides {
	position: absolute !important;
	inset: 0;
	z-index: 0 !important;          /* bije .mh-test-hero > * { z-index:1 } */
	overflow: hidden;
	pointer-events: none;
	margin: 0 !important;
}

.mh-hero-slide {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	opacity: 0;
	transform: scale(1.04);           /* stan startowy zoomu (reset robi JS gdy opacity 0) */
	transition: opacity 1.2s ease;
	will-change: opacity, transform;
}
.mh-hero-slide.is-active { opacity: 1; }

/* Zoom przez transition (nie @keyframes): slajd schodzący TRZYMA powiększenie,
   więc nie ma „cofnięcia". Reset do scale(1.04) JS robi przy opacity 0 (niewidoczny). */
.mh-hero-slide.zooming {
	transform: scale(1.12);
	transition: opacity 1.2s ease, transform 7.5s ease-out;
}

/* Zredukowany ruch: bez zoomu. */
@media (prefers-reduced-motion: reduce) {
	.mh-hero-slide,
	.mh-hero-slide.zooming { transform: none; transition: opacity 1.2s ease; }
}
