.tacb-contact {
	--tacb-bottom: 24px;
	--tacb-phone: #0159d3;
	--tacb-whatsapp: #25d366;
	position: fixed;
	bottom: calc(var(--tacb-bottom) + env(safe-area-inset-bottom, 0px));
	z-index: 99990;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	isolation: isolate;
}

.tacb-contact--right {
	right: calc(var(--tacb-right, 24px) + env(safe-area-inset-right, 0px));
}

.tacb-contact--left {
	left: calc(var(--tacb-left, 24px) + env(safe-area-inset-left, 0px));
}

.tacb-button,
.tacb-button:visited {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 56px;
	height: 56px;
	min-width: 56px;
	min-height: 56px;
	margin: 0;
	padding: 0;
	color: #fff !important;
	border: 0;
	border-radius: 999px;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.24), 0 2px 6px rgba(15, 23, 42, 0.2);
	text-decoration: none !important;
	-webkit-tap-highlight-color: transparent;
	transition: transform 160ms ease, box-shadow 160ms ease;
}

.tacb-button--phone,
.tacb-button--phone:visited {
	background: var(--tacb-phone);
}

.tacb-button--whatsapp,
.tacb-button--whatsapp:visited {
	background: var(--tacb-whatsapp);
}

.tacb-button:hover {
	color: #fff !important;
	text-decoration: none !important;
}

.tacb-button:focus {
	outline: none;
}

.tacb-button:focus-visible {
	outline: 3px solid #fff;
	box-shadow: 0 0 0 6px rgba(15, 23, 42, 0.78), 0 8px 24px rgba(15, 23, 42, 0.24);
}

.tacb-icon {
	display: block;
	width: 29px;
	height: 29px;
	fill: currentColor;
	pointer-events: none;
}

.tacb-button--phone .tacb-icon {
	width: 27px;
	height: 27px;
}

.tacb-tooltip {
	position: absolute;
	top: 50%;
	box-sizing: border-box;
	max-width: min(280px, calc(100vw - 92px));
	padding: 8px 11px;
	color: #fff;
	background: #172033;
	border-radius: 7px;
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: 0;
	white-space: nowrap;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 150ms ease, transform 150ms ease, visibility 150ms ease;
}

.tacb-contact--right .tacb-tooltip {
	right: calc(100% + 12px);
	transform: translate(8px, -50%);
}

.tacb-contact--left .tacb-tooltip {
	left: calc(100% + 12px);
	transform: translate(-8px, -50%);
}

.tacb-button:focus-visible .tacb-tooltip {
	opacity: 1;
	visibility: visible;
	transform: translate(0, -50%);
}

@media (hover: hover) and (pointer: fine) {
	.tacb-button:hover {
		transform: translateY(-2px) scale(1.035);
		box-shadow: 0 11px 28px rgba(15, 23, 42, 0.28), 0 3px 8px rgba(15, 23, 42, 0.2);
	}

	.tacb-button:hover .tacb-tooltip {
		opacity: 1;
		visibility: visible;
		transform: translate(0, -50%);
	}
}

@media (max-width: 480px) {
	.tacb-button,
	.tacb-button:visited {
		width: 52px;
		height: 52px;
		min-width: 52px;
		min-height: 52px;
	}

	.tacb-icon {
		width: 27px;
		height: 27px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tacb-button,
	.tacb-tooltip {
		transition: none;
	}
}

@media print {
	.tacb-contact {
		display: none !important;
	}
}
