/* ═══════════════════════════════════════════
 * AZRA Automotive — Floating CTA
 * Fixed bottom-right: Phone, WhatsApp, Instagram
 * Expands on hover to show label
 * ═══════════════════════════════════════════ */

.floating-cta {
	position: fixed;
	bottom: 2rem;
	right: 2rem;
	z-index: var(--z-sticky);
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: var(--space-sm);
}

/* ── Button Base ── */
.floating-cta__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	width: 48px;
	min-width: 48px;
	height: 48px;
	padding: 0;
	border-radius: var(--radius-full);
	color: #fff;
	text-decoration: none;
	font-family: var(--font-body);
	font-size: var(--text-xs);
	font-weight: 500;
	letter-spacing: 0.05em;
	white-space: nowrap;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
	transition:
		width var(--transition-base),
		gap var(--transition-base),
		padding var(--transition-base),
		box-shadow var(--transition-base);
	overflow: hidden;
}

.floating-cta__btn:hover {
	width: auto;
	gap: var(--space-sm);
	padding: 0 18px 0 14px;
	justify-content: flex-start;
	box-shadow: 0 6px 28px rgba(0, 0, 0, 0.5);
}

/* ── Icon ── */
.floating-cta__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 22px;
	height: 22px;
}

/* ── Label — hidden by default, shown on hover ── */
.floating-cta__label {
	max-width: 0;
	width: 0;
	min-width: 0;
	opacity: 0;
	overflow: hidden;
	padding: 0;
	transition:
		max-width var(--transition-base),
		width var(--transition-base),
		opacity var(--transition-base);
}

.floating-cta__btn:hover .floating-cta__label {
	max-width: 120px;
	width: auto;
	opacity: 1;
}

/* ── Phone — gold ── */
.floating-cta__btn--phone {
	background: var(--color-gold);
	color: var(--color-text-inverse);
}

.floating-cta__btn--phone:hover {
	box-shadow: var(--shadow-gold-hover);
}

/* ── WhatsApp — green ── */
.floating-cta__btn--whatsapp {
	background: #25D366;
	color: #fff;
}

.floating-cta__btn--whatsapp:hover {
	box-shadow: 0 6px 24px rgba(37, 211, 102, 0.35);
}

/* ── Instagram — gradient ── */
.floating-cta__btn--instagram {
	background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
	color: #fff;
}

.floating-cta__btn--instagram:hover {
	box-shadow: 0 6px 24px rgba(220, 39, 67, 0.35);
}

/* ── Form popup — gold (same as phone) ── */
.floating-cta__btn--form {
	background: var(--color-gold);
	color: var(--color-text-inverse);
}

.floating-cta__btn--form:hover {
	box-shadow: var(--shadow-gold-hover);
}

/* ═══════════════════════════════════════════
 * Responsive
 * ═══════════════════════════════════════════ */
@media (max-width: 575px) {
	.floating-cta {
		bottom: 1rem;
		right: 1rem;
		gap: 6px;
	}

	.floating-cta__btn {
		width: 44px;
		height: 44px;
		min-width: 44px;
	}
}
