/*
 * Motion: calm, classic. Reveal styles only apply under html.lr-motion (set in
 * <head> when the visitor allows motion, ?nomotion=1 is absent, and we're not in
 * the Elementor editor). Without the class nothing is ever hidden.
 */

/* Ken Burns on the home hero image. */
.lr-motion .lr-hero__bg {
	animation: lr-kenburns 14s var(--lr-ease) both;
}

@keyframes lr-kenburns {
	from { scale: 1.1; }
	to { scale: 1; }
}

/* Reveal on scroll. */
.lr-motion [data-lr-reveal] {
	opacity: 0;
	translate: 0 24px;
	transition: opacity 0.6s var(--lr-ease) var(--lr-delay, 0ms), translate 0.7s var(--lr-ease) var(--lr-delay, 0ms);
}

.lr-motion [data-lr-reveal].is-in {
	opacity: 1;
	translate: 0 0;
}

/* Gold divider lines draw in. */
.lr-motion .lr-crest-divider i {
	transform: scaleX(0);
	transition: transform 0.7s var(--lr-ease) 0.2s;
}

.lr-motion .lr-crest-divider i:first-child { transform-origin: right center; }
.lr-motion .lr-crest-divider i:last-child { transform-origin: left center; }

.lr-motion .is-in .lr-crest-divider i,
.lr-motion .lr-crest-divider.is-in i {
	transform: scaleX(1);
}

.lr-motion .lr-heading:not([data-lr-reveal]) .lr-crest-divider i,
.lr-motion .lr-heading > .lr-crest-divider.is-in i {
	transform: scaleX(1);
}

/* Floating WhatsApp pulse. */
.lr-fab::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45);
	animation: lr-pulse 3s ease-out infinite;
}

@keyframes lr-pulse {
	70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
	100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Mobile menu items cascade in. */
.lr-mobile-menu nav li {
	opacity: 0;
	translate: 0 12px;
	transition: opacity 0.4s var(--lr-ease), translate 0.4s var(--lr-ease);
}

.lr-mobile-menu.is-open nav li {
	opacity: 1;
	translate: 0 0;
}

.lr-mobile-menu.is-open nav li:nth-child(2) { transition-delay: 0.06s; }
.lr-mobile-menu.is-open nav li:nth-child(3) { transition-delay: 0.12s; }
.lr-mobile-menu.is-open nav li:nth-child(4) { transition-delay: 0.18s; }

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation: none !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}

	[data-lr-reveal] {
		opacity: 1 !important;
		translate: none !important;
	}

	.lr-crest-divider i {
		transform: none !important;
	}
}
