.ess-wrapper {
	position: relative;
	width: 100%;
}

.ess-sticky {
	position: sticky;
	top: 0;
	height: 100vh;
	width: 100%;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #57a09a;
}

.ess-gradient {
	--ess-c1: #ffffff;
	--ess-c2: #57a09a;
	--ess-size: 80%;
	position: absolute;
	inset: 0;
	z-index: 0;
	background: radial-gradient(circle at center, var(--ess-c1) 0%, var(--ess-c2) var(--ess-size));
	pointer-events: none;
}

.ess-stack {
	position: relative;
	z-index: 1;
	width: 320px;
	height: 420px;
}

.ess-item {
	position: absolute;
	inset: 0;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
	background-color: #000;
	will-change: transform, opacity;
	/* Estado inicial: fuera de pantalla por debajo, sin girar todavía */
	transform: translate3d(0, 60vh, 0) scale(0.85) rotate(0deg);
	opacity: 0;
}

.ess-item img,
.ess-item video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	pointer-events: none;
}

@media (max-width: 767px) {
	.ess-stack {
		width: 240px;
		height: 320px;
	}
}
