.avl-floating-contact,
.avl-floating-contact * {
	box-sizing: border-box;
}

.avl-floating-contact {
	--avl-black: #050708;
	--avl-white: #fdfdfd;
	--avl-red: #FF2800;
	--avl-red-hover: #c90818;
	--avl-grey: #747475;

	position: fixed;
	right: calc(18px + env(safe-area-inset-right, 0px));
	bottom: calc(18px + env(safe-area-inset-bottom, 0px));
	z-index: 999999;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 12px;
	font-family: inherit;
	isolation: isolate;
	pointer-events: none;
	--avl-contact-gap: 12px;
}

.avl-floating-contact__actions[hidden] {
	display: none !important;
}

.avl-floating-contact__actions {
	position: absolute;
	right: 0;
	bottom: calc(100% + var(--avl-contact-gap));
	width: 240px;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 9px;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(12px) scale(.97);
	transform-origin: right bottom;
	transition:
		opacity .25s ease,
		transform .25s ease,
		visibility 0s linear .25s;
}

.avl-floating-contact.is-open .avl-floating-contact__actions {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0) scale(1);
	transition:
		opacity .25s ease,
		transform .25s ease,
		visibility 0s linear 0s;
}

.avl-floating-contact__action {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 64px;
	padding: 9px 12px 9px 9px;
	color: var(--avl-white) !important;
	background: rgba(5, 7, 8, .97);
	border: 1px solid rgba(253, 253, 253, .13);
	border-radius: 17px;
	box-shadow:
		0 16px 38px rgba(0, 0, 0, .25),
		0 4px 12px rgba(0, 0, 0, .18);
	text-decoration: none !important;
	opacity: 0;
	transform: translateX(15px);
	transition:
		background-color .2s ease,
		border-color .2s ease,
		box-shadow .2s ease,
		transform .25s ease,
		opacity .25s ease;
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
}

.avl-floating-contact.is-open .avl-floating-contact__action {
	opacity: 1;
	transform: translateX(0);
}

.avl-floating-contact.is-open
.avl-floating-contact__action:nth-child(1) {
	transition-delay: .08s;
}

.avl-floating-contact.is-open
.avl-floating-contact__action:nth-child(2) {
	transition-delay: .04s;
}

.avl-floating-contact.is-open
.avl-floating-contact__action:nth-child(3) {
	transition-delay: 0s;
}

.avl-floating-contact__action-icon {
	width: 44px;
	height: 44px;
	flex: 0 0 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--avl-white);
	background: var(--avl-red);
	border-radius: 13px;
	box-shadow: 0 6px 18px rgba(229, 10, 28, .22);
	transition:
		background-color .2s ease,
		transform .2s ease;
}

.avl-floating-contact__action-icon svg {
	width: 21px;
	height: 21px;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.avl-floating-contact__action-content {
	min-width: 0;
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	justify-content: center;
	padding: 0 10px;
	line-height: 1.2;
}

.avl-floating-contact__action-content strong {
	display: block;
	margin: 0 0 4px;
	color: var(--avl-white);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .01em;
}

.avl-floating-contact__action-content small {
	display: block;
	overflow: hidden;
	color: #b9b9ba;
	font-size: 11.5px;
	font-weight: 400;
	line-height: 1.25;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.avl-floating-contact__arrow {
	width: 25px;
	height: 25px;
	flex: 0 0 25px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--avl-white);
	background: rgba(253, 253, 253, .08);
	border-radius: 50%;
	transition:
		background-color .2s ease,
		transform .2s ease;
}

.avl-floating-contact__arrow svg {
	width: 14px;
	height: 14px;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.avl-floating-contact__toggle {
	pointer-events: auto;
	min-width: 142px;
	height: 58px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 0;
	padding: 0 19px;
	color: var(--avl-white);
	background: var(--avl-red);
	border: 1px solid rgba(253, 253, 253, .18);
	border-radius: 999px;
	box-shadow:
		0 16px 36px rgba(229, 10, 28, .32),
		0 5px 14px rgba(0, 0, 0, .2);
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: .01em;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	transition:
		background-color .2s ease,
		box-shadow .2s ease,
		transform .2s ease;
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
}

.avl-floating-contact__toggle-icons {
	position: relative;
	width: 23px;
	height: 23px;
	flex: 0 0 23px;
}

.avl-floating-contact__toggle-icons svg {
	position: absolute;
	inset: 0;
	width: 23px;
	height: 23px;
	stroke: currentColor;
	stroke-width: 1.9;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition:
		opacity .22s ease,
		transform .22s ease;
}

.avl-floating-contact__toggle-contact-icon {
	opacity: 1;
	transform: rotate(0deg) scale(1);
}

.avl-floating-contact__toggle-close-icon {
	opacity: 0;
	transform: rotate(-90deg) scale(.7);
}

.avl-floating-contact.is-open
.avl-floating-contact__toggle-contact-icon {
	opacity: 0;
	transform: rotate(90deg) scale(.7);
}

.avl-floating-contact.is-open
.avl-floating-contact__toggle-close-icon {
	opacity: 1;
	transform: rotate(0deg) scale(1);
}

/* Prevent Elementor global button styles from overriding this button */
.avl-floating-contact .avl-floating-contact__toggle,
.avl-floating-contact .avl-floating-contact__toggle:focus,
.avl-floating-contact .avl-floating-contact__toggle:active,
.avl-floating-contact.is-open .avl-floating-contact__toggle {
	color: var(--avl-white) !important;
	background-color: var(--avl-red) !important;
	background-image: none !important;
	border-color: rgba(253, 253, 253, .18) !important;
	box-shadow:
		0 16px 36px rgba(229, 10, 28, .32),
		0 5px 14px rgba(0, 0, 0, .2) !important;
	text-decoration: none !important;
	filter: none !important;
}

.avl-floating-contact__toggle:focus-visible,
.avl-floating-contact__action:focus-visible {
	outline: 3px solid rgba(229, 10, 28, .28);
	outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {

	.avl-floating-contact .avl-floating-contact__toggle:hover {
		color: var(--avl-white) !important;
		background-color: var(--avl-red-hover) !important;
		background-image: none !important;
		border-color: rgba(253, 253, 253, .18) !important;
		box-shadow:
			0 18px 40px rgba(229, 10, 28, .4),
			0 6px 16px rgba(0, 0, 0, .24) !important;
		filter: none !important;
		transform: translateY(-2px);
	}

	.avl-floating-contact__action:hover {
		color: var(--avl-white) !important;
		background: #111415;
		border-color: rgba(229, 10, 28, .72);
		box-shadow:
			0 18px 42px rgba(0, 0, 0, .3),
			0 5px 14px rgba(0, 0, 0, .2);
		transform: translateX(-4px);
	}

	.avl-floating-contact__action:hover
	.avl-floating-contact__action-icon {
		background: var(--avl-red-hover);
		transform: scale(1.04);
	}

	.avl-floating-contact__action:hover
	.avl-floating-contact__arrow {
		background: var(--avl-red);
		transform: translateX(2px);
	}
}

@media (max-width: 767.98px) {

	.avl-floating-contact {
		right: calc(13px + env(safe-area-inset-right, 0px));
		bottom: calc(13px + env(safe-area-inset-bottom, 0px));
		gap: 10px;
		--avl-contact-gap: 10px;
	}

	.avl-floating-contact__actions {
		width: min(235px, calc(100vw - 84px));
		gap: 8px;
	}

	.avl-floating-contact__action {
		min-height: 60px;
		padding: 8px 10px 8px 8px;
		border-radius: 15px;
	}

	.avl-floating-contact__action-icon {
		width: 42px;
		height: 42px;
		flex-basis: 42px;
		border-radius: 12px;
	}

	.avl-floating-contact__toggle {
		width: 56px;
		min-width: 56px;
		height: 56px;
		padding: 0;
	}

	.avl-floating-contact__toggle-text {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
		clip-path: inset(50%);
	}
}

@media (max-width: 359.98px) {

	.avl-floating-contact__actions {
		width: min(220px, calc(100vw - 76px));
	}

	.avl-floating-contact__action-content small {
		font-size: 10.5px;
	}
}

@media (prefers-reduced-motion: reduce) {

	.avl-floating-contact__actions,
	.avl-floating-contact__action,
	.avl-floating-contact__action-icon,
	.avl-floating-contact__arrow,
	.avl-floating-contact__toggle,
	.avl-floating-contact__toggle-icons svg {
		transition-duration: .01ms !important;
		transition-delay: 0s !important;
	}
}

/* Keep all contact links reachable on short landscape screens. */
@media (max-height: 480px) {
	.avl-floating-contact__actions {
		max-height: calc(100vh - 110px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
		max-height: calc(100dvh - 110px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
		overflow-y: auto;
		overscroll-behavior: contain;
	}
	.avl-floating-contact__action {
		flex-shrink: 0;
	}
}

