/* Floating side toolbar: quick contact + back to top */
.side-toolbar {
	position: fixed;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 1200;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.side-toolbar__list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.side-toolbar__item {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: #ffffff;
	color: #1a1a2e;
	border: 1px solid #e3e6ec;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
	font-size: 18px;
	text-decoration: none;
	transition: color 0.3s ease, background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
	cursor: pointer;
	padding: 0;
}

.side-toolbar__item:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.side-toolbar__item--wa {
	color: #25d366;
}

.side-toolbar__item--wa:hover {
	background: #25d366;
	color: #ffffff;
	border-color: #25d366;
}

.side-toolbar__item--top {
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	background: #4caf50;
	color: #ffffff;
	border-color: #4caf50;
}

.side-toolbar__item--top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.side-toolbar__item--top:hover {
	background: #43a047;
	border-color: #43a047;
}

/* Tooltip label */
.side-toolbar__label {
	position: absolute;
	right: calc(100% + 12px);
	top: 50%;
	transform: translateY(-50%) translateX(8px);
	white-space: nowrap;
	padding: 6px 12px;
	font-size: 12px;
	font-weight: 600;
	font-family: "Archivo", sans-serif;
	color: #ffffff;
	background: #1a1a2e;
	border-radius: 6px;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
	pointer-events: none;
}

.side-toolbar__label::after {
	content: "";
	position: absolute;
	left: 100%;
	top: 50%;
	transform: translateY(-50%);
	border: 5px solid transparent;
	border-left-color: #1a1a2e;
}

.side-toolbar__item:hover .side-toolbar__label {
	opacity: 1;
	visibility: visible;
	transform: translateY(-50%) translateX(0);
}

/* Mobile: shrink and move inward so it never covers content edges */
@media (max-width: 767px) {
	.side-toolbar {
		right: 10px;
		gap: 8px;
	}

	.side-toolbar__item {
		width: 40px;
		height: 40px;
		font-size: 16px;
	}

	.side-toolbar__list {
		gap: 8px;
	}

	/* Hide text labels on small screens */
	.side-toolbar__label {
		display: none;
	}
}
