/* ==========================================================================
   Floating Call widget — ported from pestcontrolgroupusa_core_old
   (components.css .floating-call__*, responsive.css floating-call
   breakpoints). Classes are namespaced pcgu-floating-call(__*) to avoid
   collisions with other plugins/themes; rendered output otherwise matches
   the original exactly. Shares .icon-circle and .pulse-ring with other
   widgets — see shared.css, not duplicated here.

   Both link variants set box-shadow, so the Elementor/theme global <a>
   reset documented in Hero/Header/About/Services applies here too — both
   are prefixed with a scoping class to reach (0,2,0)+ specificity. ---- */

.pcgu-floating-call__desktop.pcgu-floating-call__desktop {
	display: none;
	position: fixed;
	bottom: 1.5rem;
	right: 1.5rem;
	z-index: 40;
	align-items: center;
	gap: 0.75rem;
	border-radius: 9999px;
	background-image: var(--gradient-call);
	padding: 0.875rem 1.25rem;
	color: var(--primary-foreground);
	box-shadow: var(--shadow-call);
	opacity: 0;
	transform: translateY(1rem);
	pointer-events: none;
	transition: transform 300ms, filter 300ms, opacity 300ms;
}
.pcgu-floating-call__desktop.pcgu-floating-call__desktop.is-visible {
	opacity: 1;
	transform: none;
	pointer-events: auto;
}
.pcgu-floating-call__desktop:hover {
	transform: scale(1.02);
	filter: brightness(1.1);
}

.pcgu-floating-call__mobile {
	position: fixed;
	inset-inline: 0;
	bottom: 0;
	z-index: 40;
	border-top: 1px solid var(--border);
	background-color: color-mix(in oklab, var(--background) 95%, transparent);
	backdrop-filter: blur(24px);
	padding: 0.625rem 0.75rem calc(env(safe-area-inset-bottom) + 0.5rem);
	transform: translateY(100%);
	transition: transform 300ms ease;
}
.pcgu-floating-call__mobile.is-visible {
	transform: translateY(0);
}
.pcgu-floating-call__mobile .pcgu-floating-call__mobile-link {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	border-radius: var(--radius-2xl);
	background-image: var(--gradient-call);
	padding: 0.875rem 1.25rem;
	color: var(--primary-foreground);
	box-shadow: var(--shadow-call);
}
.pcgu-floating-call__text {
	display: flex;
	flex-direction: column;
	text-align: left;
	line-height: 1.2;
}
.pcgu-floating-call__label {
	font-size: 0.625rem;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: rgba(255, 255, 255, 0.8);
}
.pcgu-floating-call__number {
	font-size: 0.875rem;
	font-weight: 700;
}
.pcgu-floating-call__number--lg {
	font-size: 1rem;
	font-weight: 800;
	letter-spacing: 0.02em;
}

/* ---- Responsive — exact original breakpoint (md:768) ---- */

@media (min-width: 768px) {
	.pcgu-floating-call__desktop.pcgu-floating-call__desktop { display: inline-flex; }
	.pcgu-floating-call__mobile { display: none; }
}
