/**
 * Non-invasive reveal animations.
 *
 * The page stays fully visible until JavaScript adds pg-animate-ready.
 */

.pg-animate-ready:not(.pg-reduce-motion) [data-animate] {
	opacity: 0;
	transform: translate3d(0, 14px, 0);
	transition: opacity 520ms ease, transform 520ms ease;
}

.pg-animate-ready:not(.pg-reduce-motion) [data-animate="fade-in"] {
	transform: none;
}

.pg-animate-ready:not(.pg-reduce-motion) [data-animate].is-animated {
	opacity: 1;
	transform: translate3d(0, 0, 0);
}

.pg-animate-ready:not(.pg-reduce-motion) [data-animate-delay="1"] {
	transition-delay: 70ms;
}

.pg-animate-ready:not(.pg-reduce-motion) [data-animate-delay="2"] {
	transition-delay: 140ms;
}

.pg-animate-ready:not(.pg-reduce-motion) [data-animate-delay="3"] {
	transition-delay: 210ms;
}

.pg-animate-ready:not(.pg-reduce-motion) [data-animate-delay="4"] {
	transition-delay: 280ms;
}

.pg-animate-ready:not(.pg-reduce-motion) [data-animate-delay="5"] {
	transition-delay: 350ms;
}

.pg-animate-ready:not(.pg-reduce-motion) .button,
.pg-animate-ready:not(.pg-reduce-motion) .guide-card,
.pg-animate-ready:not(.pg-reduce-motion) .home-card,
.pg-animate-ready:not(.pg-reduce-motion) .home-guide,
.pg-animate-ready:not(.pg-reduce-motion) .home-service-card,
.pg-animate-ready:not(.pg-reduce-motion) .package-card,
.pg-animate-ready:not(.pg-reduce-motion) .service-overview-card,
.pg-animate-ready:not(.pg-reduce-motion) .single-service-related__card {
	transition: opacity 220ms ease, transform 220ms ease;
}

.pg-animate-ready:not(.pg-reduce-motion) .button:hover,
.pg-animate-ready:not(.pg-reduce-motion) .guide-card:hover,
.pg-animate-ready:not(.pg-reduce-motion) .home-card:hover,
.pg-animate-ready:not(.pg-reduce-motion) .home-guide:hover,
.pg-animate-ready:not(.pg-reduce-motion) .home-service-card:hover,
.pg-animate-ready:not(.pg-reduce-motion) .package-card:hover,
.pg-animate-ready:not(.pg-reduce-motion) .service-overview-card:hover,
.pg-animate-ready:not(.pg-reduce-motion) .single-service-related__card:hover {
	transform: translate3d(0, -2px, 0);
}

@media (prefers-reduced-motion: reduce) {
	[data-animate],
	.button,
	.guide-card,
	.home-card,
	.home-guide,
	.home-service-card,
	.package-card,
	.service-overview-card,
	.single-service-related__card {
		transition: none !important;
	}
}
