/* ==========================================================
   PREMIUM FLOATING CONTACT ACTIONS
   Desktop: right-side hover expandable actions
   Mobile: sticky bottom action bar
   ========================================================== */

.ph-floating-actions {
	position: fixed;
	right: 22px;
	bottom: 28px;
	z-index: 9999;
	pointer-events: none;
}

.ph-floating-actions * {
	box-sizing: border-box;
}

.ph-floating-actions__desktop {
	display: flex;
	flex-direction: column;
	gap: 14px;
	align-items: flex-end;
	pointer-events: none;
}

.ph-floating-action {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	min-height: 64px;
	padding: 10px 18px 10px 12px;
	border-radius: 999px;
	text-decoration: none;
	color: #ffffff;
	overflow: hidden;
	pointer-events: auto;
	width: 64px;
	box-shadow:
		0 18px 40px rgba(9, 30, 66, 0.18),
		0 6px 16px rgba(9, 30, 66, 0.12);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	transition:
		width 0.35s ease,
		transform 0.28s ease,
		box-shadow 0.28s ease,
		background 0.28s ease;
}

.ph-floating-action::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: linear-gradient(135deg, rgba(255,255,255,0.18), rgba(255,255,255,0.03));
	pointer-events: none;
}

.ph-floating-action:hover,
.ph-floating-action:focus-visible {
	width: 230px;
	transform: translateY(-2px);
	box-shadow:
		0 22px 50px rgba(9, 30, 66, 0.22),
		0 8px 20px rgba(9, 30, 66, 0.16);
	outline: none;
}

.ph-floating-action--whatsapp {
	background: linear-gradient(135deg, #13c166 0%, #25d366 55%, #48e08c 100%);
}

.ph-floating-action--phone {
	background: linear-gradient(135deg, #19b5ff 0%, #24c7df 48%, #5fd8ef 100%);
}

.ph-floating-action__icon {
	position: relative;
	z-index: 2;
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.16);
	box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14);
}

.ph-floating-action__icon svg {
	width: 22px;
	height: 22px;
	display: block;
}

.ph-floating-action__content {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin-left: 14px;
	white-space: nowrap;
	opacity: 0;
	transform: translateX(8px);
	transition:
		opacity 0.22s ease,
		transform 0.22s ease;
}

.ph-floating-action:hover .ph-floating-action__content,
.ph-floating-action:focus-visible .ph-floating-action__content {
	opacity: 1;
	transform: translateX(0);
	transition-delay: 0.1s;
}

.ph-floating-action__label {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.01em;
	color: #ffffff;
}

.ph-floating-action__text {
	font-size: 12px;
	line-height: 1.3;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.9);
}

/* ==========================================================
   MOBILE STICKY BAR
   ========================================================== */

.ph-mobile-contact-bar {
	display: none;
	position: fixed;
	left: 12px;
	right: 12px;
	bottom: 12px;
	z-index: 9999;
	border-radius: 18px;
	padding: 8px;
	background: rgba(9, 23, 57, 0.82);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	box-shadow:
		0 16px 40px rgba(9, 30, 66, 0.20),
		0 6px 16px rgba(9, 30, 66, 0.12);
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

.ph-mobile-contact-bar__item {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 56px;
	padding: 12px 14px;
	border-radius: 14px;
	text-decoration: none;
	color: #ffffff;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.01em;
	overflow: hidden;
	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease;
}

.ph-mobile-contact-bar__item::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(255,255,255,0.18), rgba(255,255,255,0.03));
	pointer-events: none;
}

.ph-mobile-contact-bar__item:hover,
.ph-mobile-contact-bar__item:focus-visible {
	transform: translateY(-1px);
	outline: none;
}

.ph-mobile-contact-bar__item--whatsapp {
	background: linear-gradient(135deg, #16b85f 0%, #25d366 60%, #43df86 100%);
}

.ph-mobile-contact-bar__item--phone {
	background: linear-gradient(135deg, #0f8df7 0%, #25c9e6 60%, #55d6f2 100%);
}

.ph-mobile-contact-bar__icon {
	position: relative;
	z-index: 2;
	width: 22px;
	height: 22px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.ph-mobile-contact-bar__icon svg {
	width: 22px;
	height: 22px;
	display: block;
}

.ph-mobile-contact-bar__text {
	position: relative;
	z-index: 2;
	display: inline-block;
}

/* ==========================================================
   DESKTOP / TABLET
   ========================================================== */

@media (min-width: 992px) {
	.ph-floating-actions {
		right: 26px;
		bottom: 26px;
	}

	.ph-floating-actions__desktop {
		display: flex;
	}

	.ph-mobile-contact-bar {
		display: none !important;
	}
}

/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 991px) {
	.ph-floating-actions {
		left: 0;
		right: 0;
		bottom: 0;
		pointer-events: none;
	}

	.ph-floating-actions__desktop {
		display: none !important;
	}

	.ph-mobile-contact-bar {
		display: grid;
		pointer-events: auto;
	}

	body {
		padding-bottom: 92px;
	}
}

/* Small phones */
@media (max-width: 575px) {
	.ph-mobile-contact-bar {
		left: 10px;
		right: 10px;
		bottom: 10px;
		padding: 7px;
		border-radius: 16px;
		gap: 7px;
	}

	.ph-mobile-contact-bar__item {
		min-height: 52px;
		padding: 11px 10px;
		font-size: 13px;
		border-radius: 12px;
	}

	body {
		padding-bottom: 86px;
	}
}