/**
 * Scroll-to-top button (DS Button_NEW, Secondary, icon only).
 */
button.ralabs-scroll-top {
	position: fixed;
	right: 64px;
	bottom: 32px;
	z-index: 99;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid #027496;
	border-radius: 32px;
	background-color: #ffffff;
	color: #027496;
	box-shadow: none;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background-color 0.3s, border-color 0.3s, color 0.3s;

	@media (max-width: 767px) {
		right: 16px;
		bottom: 16px;
	}

	@media (prefers-reduced-motion: reduce) {
		transform: none;
		transition: none;
	}
}

button.ralabs-scroll-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: none;
}

button.ralabs-scroll-top:focus {
	border-color: #027496;
	background-color: #ffffff;
	color: #027496;
	outline: none;
}

/* Double ring: white + Cyan 100 stays visible on white sections and on both footer blues. */
button.ralabs-scroll-top:focus-visible {
	outline: none;
	box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #011c24;
}

button.ralabs-scroll-top:hover {
	border-color: #015a74;
	background-color: #c5ebf1;
	color: #015a74;
}

button.ralabs-scroll-top:active {
	border-color: #015a74;
	background-color: #9adbe7;
	color: #015a74;
}

.ralabs-scroll-top__icon {
	display: block;
	width: 16px;
	height: 16px;
}

/*
 * Keep the footer copyright row clear of the fixed button at the page end:
 * bottom padding = button offset + 48px button + 16px gap (desktop/tablet 32, mobile 16).
 */
.elementor-location-footer .elementor-element.ralabs-footer-bottom.ralabs-footer-bottom {
	padding-bottom: 96px;

	@media (max-width: 767px) {
		padding-bottom: 80px;
	}
}
