.contact-tools {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 10000;
	font-family: Arial, sans-serif;
}

.contact-tools-actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}

.contact-tool {
	display: inline-flex;
	width: 54px;
	height: 54px;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 50%;
	color: #fff;
	font-size: 22px;
	text-decoration: none;
	cursor: pointer;
	box-shadow: 0 5px 18px rgb(16 45 79 / 22%);
	transition: transform 160ms ease, box-shadow 160ms ease;
}

.contact-tool:hover,
.contact-tool:focus-visible {
	color: #fff;
	transform: translateY(-3px);
	box-shadow: 0 8px 22px rgb(16 45 79 / 30%);
}

.contact-tool:focus-visible,
.chat-close:focus-visible {
	outline: 3px solid #f6a83b;
	outline-offset: 3px;
}

.contact-tool-call {
	background: #163d68;
}

.contact-tool-whatsapp {
	background: #20a863;
}

.side-contact {
	position: fixed;
	left: 18px;
	bottom: 24px;
	z-index: 10003;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	font-family: Arial, sans-serif;
}

.sc-item {
	position: relative;
	display: flex;
	height: 58px;
	align-items: center;
	overflow: hidden;
	border: 2px solid rgba(255,255,255,.9);
	border-radius: 29px;
	color: #fff;
	text-decoration: none;
	box-shadow: 0 10px 24px rgba(15,32,72,.24);
	transition: transform .28s ease, box-shadow .28s ease;
	animation: side-contact-in .55s cubic-bezier(.22,.61,.36,1) both;
}

.sc-item:nth-child(2) {
	animation-delay: .12s;
}

.sc-call {
	background: linear-gradient(135deg, #2464a4, #163d68);
}

.sc-wa {
	background: linear-gradient(135deg, #35c97a, #128c50);
}

.sc-icon {
	width: 54px;
	height: 54px;
	display: inline-flex;
	flex: 0 0 54px;
	align-items: center;
	justify-content: center;
	font-size: 21px;
}

.sc-text {
	width: 0;
	overflow: hidden;
	white-space: nowrap;
	font-size: 14px;
	font-weight: 700;
	opacity: 0;
	transition: width .35s ease, opacity .25s ease, padding .35s ease;
}

.sc-text small {
	display: block;
	margin-bottom: 2px;
	font-size: 10px;
	font-weight: 600;
	line-height: 1;
	opacity: .78;
}

.sc-item:hover,
.sc-item:focus-visible {
	transform: translateX(5px);
	color: #fff;
	box-shadow: 0 14px 30px rgba(15,32,72,.32);
}

.sc-item:hover .sc-text,
.sc-item:focus-visible .sc-text {
	width: 166px;
	padding-right: 14px;
	opacity: 1;
}

.sc-item:hover .sc-icon,
.sc-item:focus-visible .sc-icon {
	animation: side-contact-icon .55s ease;
}

.sc-item::after {
	content: "";
	position: absolute;
	inset: -8px;
	z-index: -1;
	border: 2px solid currentColor;
	border-radius: 36px;
	opacity: 0;
	animation: side-contact-pulse 2.4s ease-out infinite;
}

.sc-wa::after {
	animation-delay: 1.2s;
}

@keyframes side-contact-in {
	from { opacity: 0; transform: translateX(-28px); }
	to { opacity: 1; transform: translateX(0); }
}

@keyframes side-contact-pulse {
	0% { opacity: .5; transform: scale(.9); }
	70%, 100% { opacity: 0; transform: scale(1.12); }
}

@keyframes side-contact-icon {
	50% { transform: rotate(-12deg) scale(1.12); }
}

.contact-tool-top {
	background: #3935a1;
	opacity: 0;
	pointer-events: none;
	transform: translateY(12px);
	transition: opacity .22s ease, transform .22s ease, box-shadow .16s ease;
}

.contact-tool-top.is-visible {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.contact-tool-call,
.contact-tool-whatsapp {
	position: relative;
}

.contact-tool-call::after,
.contact-tool-whatsapp::after {
	content: attr(title);
	position: absolute;
	left: 64px;
	top: 50%;
	width: max-content;
	max-width: 160px;
	padding: 7px 10px;
	border-radius: 7px;
	background: #17203b;
	color: #fff;
	font-size: 12px;
	line-height: 1;
	opacity: 0;
	pointer-events: none;
	transform: translate(8px, -50%);
	transition: opacity .2s ease, transform .2s ease;
}

.contact-tool:hover::after,
.contact-tool:focus-visible::after {
	opacity: 1;
	transform: translate(0, -50%);
}

.contact-tools .sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media (max-width: 480px) {
	.side-contact {
		left: 12px;
		bottom: 16px;
	}

	.sc-item {
		height: 50px;
	}

	.sc-icon {
		width: 46px;
		height: 46px;
		flex-basis: 46px;
		font-size: 18px;
	}

	.contact-tools {
		right: 16px;
		bottom: 16px;
	}

	.contact-tool {
		width: 50px;
		height: 50px;
	}

}

@media (prefers-reduced-motion: reduce) {
	.contact-tool,
	.sc-item {
		transition: none;
	}

	.sc-item,
	.sc-item::after {
		animation: none;
	}
}
