.audik-consultant {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 98;
	width: 320px;
	height: 164px;
	pointer-events: none;
}

.audik-consultant__link {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	width: 100%;
	height: 100%;
	color: #151922;
	text-decoration: none;
	letter-spacing: 0;
	pointer-events: auto;
}

.audik-consultant__message {
	position: relative;
	z-index: 2;
	display: grid;
	gap: 3px;
	width: 176px;
	margin-right: -10px;
	padding: 13px 18px;
	border: 1px solid #d7dbe3;
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 10px 28px rgba(21, 25, 34, 0.14);
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.audik-consultant__message::after {
	position: absolute;
	top: 50%;
	right: -7px;
	width: 12px;
	height: 12px;
	border-top: 1px solid #d7dbe3;
	border-right: 1px solid #d7dbe3;
	background: #ffffff;
	content: "";
	transform: translateY(-50%) rotate(45deg);
}

.audik-consultant__message strong {
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0;
}

.audik-consultant__message span {
	color: #5f6673;
	font-size: 13px;
	line-height: 1.3;
	letter-spacing: 0;
}

.audik-consultant__figure {
	position: relative;
	z-index: 1;
	flex: 0 0 154px;
	width: 154px;
	height: 164px;
	transform-origin: 58% 92%;
	animation: audik-consultant-greeting 6s ease-in-out infinite;
}

.audik-consultant__figure img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	filter: drop-shadow(0 8px 10px rgba(13, 28, 54, 0.22));
}

.audik-consultant__status {
	position: absolute;
	right: 20px;
	top: 22px;
	width: 12px;
	height: 12px;
	border: 2px solid #ffffff;
	border-radius: 50%;
	background: #22a559;
	box-shadow: 0 0 0 3px rgba(34, 165, 89, 0.18);
}

.audik-consultant__link:focus-visible {
	outline: 3px solid #2448bd;
	outline-offset: 4px;
	border-radius: 8px;
}

@media (hover: hover) and (pointer: fine) {
	.audik-consultant__link:hover .audik-consultant__message {
		border-color: #2448bd;
		box-shadow: 0 12px 32px rgba(36, 72, 189, 0.2);
		transform: translateX(-5px) translateY(-2px);
	}

	.audik-consultant__link:hover .audik-consultant__figure {
		animation: audik-consultant-hover 760ms cubic-bezier(0.22, 0.8, 0.35, 1) both;
	}

	.audik-consultant__link:hover .audik-consultant__figure img {
		animation: audik-consultant-shine 760ms ease both;
	}

	.audik-consultant__link:hover .audik-consultant__status {
		animation: audik-consultant-status 650ms ease-in-out infinite alternate;
	}
}

@keyframes audik-consultant-greeting {
	0%, 58%, 100% {
		transform: translateY(0) rotate(0deg);
	}
	66% {
		transform: translateY(-7px) rotate(-2.5deg);
	}
	73% {
		transform: translateY(-3px) rotate(2deg);
	}
	80% {
		transform: translateY(-6px) rotate(-1.5deg);
	}
	88% {
		transform: translateY(0) rotate(0deg);
	}
}

@keyframes audik-consultant-hover {
	0% {
		transform: translateY(0) rotate(0deg) scale(1);
	}
	28% {
		transform: translateY(-12px) rotate(-4deg) scale(1.055);
	}
	52% {
		transform: translateY(-5px) rotate(3deg) scale(1.035);
	}
	76% {
		transform: translateY(-9px) rotate(-2deg) scale(1.045);
	}
	100% {
		transform: translateY(-6px) rotate(0deg) scale(1.04);
	}
}

@keyframes audik-consultant-shine {
	0%, 100% {
		filter: drop-shadow(0 8px 10px rgba(13, 28, 54, 0.22));
	}
	45% {
		filter: drop-shadow(0 12px 14px rgba(36, 72, 189, 0.28)) drop-shadow(0 0 7px rgba(0, 204, 255, 0.28));
	}
}

@keyframes audik-consultant-status {
	from {
		box-shadow: 0 0 0 3px rgba(34, 165, 89, 0.18);
	}
	to {
		box-shadow: 0 0 0 7px rgba(34, 165, 89, 0.06);
	}
}

@media (max-width: 992px) {
	.audik-consultant {
		right: 10px;
		bottom: 86px;
		width: 230px;
		height: 112px;
	}

	.audik-consultant__message {
		width: 132px;
		margin-right: -7px;
		padding: 10px 12px;
	}

	.audik-consultant__message strong {
		font-size: 14px;
	}

	.audik-consultant__message span {
		font-size: 11px;
	}

	.audik-consultant__figure {
		flex-basis: 105px;
		width: 105px;
		height: 112px;
	}

	.audik-consultant__status {
		right: 13px;
		top: 14px;
		width: 10px;
		height: 10px;
	}
}

@media (max-width: 480px) {
	.audik-consultant {
		right: 8px;
		bottom: 82px;
		width: 196px;
		height: 96px;
	}

	.audik-consultant__message {
		width: 112px;
		padding: 9px 10px;
	}

	.audik-consultant__message span {
		display: none;
	}

	.audik-consultant__figure {
		flex-basis: 90px;
		width: 90px;
		height: 96px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.audik-consultant__figure {
		animation: none;
	}

	.audik-consultant__link:hover .audik-consultant__figure,
	.audik-consultant__link:hover .audik-consultant__figure img,
	.audik-consultant__link:hover .audik-consultant__status {
		animation: none;
		transform: none;
	}

	.audik-consultant__link,
	.audik-consultant__message,
	.audik-consultant__figure {
		transition: none;
	}
}
@media (min-width: 993px) {
	.audik-consultant {
		width: 360px;
		height: 205px;
	}

	.audik-consultant__figure {
		flex-basis: 192px;
		width: 192px;
		height: 205px;
	}
}
