.bb-floating-call {
	position: fixed;
	right: max(1rem, env(safe-area-inset-right));
	bottom: clamp(5.5rem, 12vh, 8rem);
	z-index: 9990;
	pointer-events: none;
}

.bb-floating-call__link {
	position: relative;
	isolation: isolate;
	display: grid;
	grid-template-columns: 2.75rem auto;
	align-items: center;
	gap: .7rem;
	min-height: 3.75rem;
	padding: .45rem 1.05rem .45rem .45rem;
	overflow: hidden;
	color: #fff;
	background:
		linear-gradient(135deg, rgba(255, 255, 255, .1), transparent 42%),
		linear-gradient(145deg, #0b6d6a, #07514f 78%);
	border: 1px solid rgba(255, 255, 255, .3);
	border-radius: 999px;
	box-shadow:
		0 1rem 2.5rem rgba(7, 55, 53, .24),
		0 .2rem .7rem rgba(7, 55, 53, .16),
		inset 0 1px rgba(255, 255, 255, .16);
	text-decoration: none;
	pointer-events: auto;
	-webkit-tap-highlight-color: transparent;
	transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease;
}

.bb-floating-call__link::after {
	position: absolute;
	inset: 1px;
	z-index: -1;
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: inherit;
	content: "";
}

.bb-floating-call__icon {
	display: grid;
	width: 2.75rem;
	height: 2.75rem;
	place-items: center;
	color: #075b58;
	background: #f7f1e7;
	border-radius: 50%;
	box-shadow: 0 .25rem .75rem rgba(3, 38, 37, .18);
}

.bb-floating-call__icon svg {
	display: block;
	width: 1.25rem;
	height: 1.25rem;
	fill: currentColor;
}

.bb-floating-call__copy {
	display: grid;
	gap: .08rem;
	min-width: 0;
}

.bb-floating-call__label {
	font-size: .68rem;
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: .095em;
	text-transform: uppercase;
}

.bb-floating-call__number {
	font-size: .91rem;
	font-weight: 650;
	line-height: 1.2;
	letter-spacing: .018em;
	white-space: nowrap;
}

.bb-floating-call__link:hover {
	color: #fff;
	box-shadow:
		0 1.15rem 3rem rgba(7, 55, 53, .29),
		0 .25rem .8rem rgba(7, 55, 53, .18),
		inset 0 1px rgba(255, 255, 255, .2);
	transform: translateY(-2px);
}

.bb-floating-call__link:focus-visible {
	color: #fff;
	outline: 3px solid #e3b55f;
	outline-offset: 4px;
}

@media (max-width: 781px) {
	.bb-floating-call {
		right: max(.8rem, env(safe-area-inset-right));
		bottom: max(1rem, env(safe-area-inset-bottom));
	}

	.bb-floating-call__link {
		display: grid;
		width: 3.75rem;
		height: 3.75rem;
		min-height: 3.75rem;
		padding: .45rem;
		place-items: center;
	}

	.bb-floating-call__icon {
		width: 2.8rem;
		height: 2.8rem;
	}

	.bb-floating-call__copy {
		position: absolute;
		width: 1px;
		height: 1px;
		padding: 0;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
		border: 0;
	}
}

@media (min-width: 782px) {
	.bb-floating-call {
		right: 0;
		top: 60%;
		bottom: auto;
		transform: translateY(-50%);
	}

	.bb-floating-call__link {
		grid-template-columns: 2.75rem 8rem;
		gap: .7rem;
		padding-right: 1.05rem;
		border-right: 0;
		border-radius: 1.25rem 0 0 1.25rem;
		transition: box-shadow .22s ease, background-color .22s ease;
	}

	.bb-floating-call__copy {
		max-width: 8rem;
		overflow: hidden;
		opacity: 1;
		transform: none;
	}

	.bb-floating-call__link:hover,
	.bb-floating-call__link:focus-visible {
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bb-floating-call__link {
		transition: none;
	}

	.bb-floating-call__copy {
		transition: none;
	}

	.bb-floating-call__link:hover {
		transform: none;
	}
}

@media print {
	.bb-floating-call {
		display: none !important;
	}
}
