/* Sketch Floating CTA — sticky bottom-right pill */

.sfcta {
	position: fixed;
	bottom: 24px;
	right: 24px;
	z-index: 9997;
	display: inline-flex;
	align-items: center;
	gap: 16px;
	padding: 10px 26px 10px 10px;
	background: #fff;
	border-radius: 20px;
	text-decoration: none;
	color: inherit;
	box-shadow:
		0 14px 40px rgba(0, 0, 0, 0.14),
		0 4px 10px rgba(0, 0, 0, 0.06);
	font-family: var(--sk-font, "Saans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
	max-width: min(360px, calc(100vw - 48px));
	transition:
		transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
		box-shadow 0.28s ease;
	animation: sfcta-rise 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s both;
}

@keyframes sfcta-rise {
	from { opacity: 0; transform: translateY(20px) scale(0.92); }
	to   { opacity: 1; transform: translateY(0) scale(1); }
}

.sfcta:hover {
	transform: translateY(-3px);
	box-shadow:
		0 22px 50px rgba(0, 0, 0, 0.18),
		0 6px 14px rgba(0, 0, 0, 0.08);
}

.sfcta:focus-visible {
	outline: 3px solid #6552ff;
	outline-offset: 3px;
}

.sfcta__avatar {
	position: relative;
	width: 72px;
	height: 72px;
	border-radius: 14px;
	overflow: hidden;
	flex-shrink: 0;
	background: #f3f3f3;
}
.sfcta__avatar img,
.sfcta__avatar .sfcta__img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	display: block;
	border-radius: 14px;
}

.sfcta__play {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
	transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.sfcta:hover .sfcta__play {
	transform: scale(1.08);
}
.sfcta__play svg {
	filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

.sfcta__text {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}
.sfcta__title {
	font-weight: 700;
	font-size: 18px;
	line-height: 1.2;
	color: #111;
	letter-spacing: -0.01em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.sfcta__subtitle {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	align-self: flex-start;
	padding: 3px 10px 3px 8px;
	background: rgba(37, 211, 102, 0.14);
	color: #117a3a;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.005em;
	border-radius: 999px;
	white-space: nowrap;
}
.sfcta__subtitle::before {
	content: "";
	display: inline-block;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #25d366;
	box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
	animation: sfcta-pulse 1.8s ease-in-out infinite;
}
@keyframes sfcta-pulse {
	0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
	50%      { box-shadow: 0 0 0 6px rgba(37, 211, 102, 0); }
}

@media (max-width: 600px) {
	.sfcta {
		bottom: 16px;
		right: 16px;
		padding: 8px 20px 8px 8px;
		gap: 12px;
		border-radius: 18px;
	}
	.sfcta__avatar {
		width: 60px;
		height: 60px;
		border-radius: 12px;
	}
	.sfcta__avatar img,
	.sfcta__avatar .sfcta__img { border-radius: 12px; }
	.sfcta__title { font-size: 15px; }
	.sfcta__subtitle { font-size: 12px; }
}

/* Inline variant — used inside the mobile menu drawer */
.sfcta--inline {
	position: static;
	display: flex;
	width: 100%;
	max-width: 100%;
	margin: 0;
	box-shadow: none;
	border: 1px solid rgba(0, 0, 0, 0.08);
	background: #fff;
	animation: none;
	padding: 10px 22px 10px 10px;
}
.sfcta--inline:hover {
	transform: none;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

@media (prefers-reduced-motion: reduce) {
	.sfcta,
	.sfcta * {
		animation: none !important;
		transition: none !important;
	}
}
