/**
 * Global custom cursor for CTA sections (contact, about, services, career).
 */

.section-footer-cta,
.section-footer-cta-about,
.section-footer-cta-services,
.section-footer-cta-career {
	cursor: none;
}

.cc-section-cta-cursor__pointer {
	--cx: 50%;
	--cy: 50%;
	position: absolute;
	left: 0;
	top: 0;
	width: 120px;
	height: 120px;
	margin-left: -60px;
	margin-top: -60px;
	border-radius: 50%;
	pointer-events: none;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease, visibility 0.2s ease;
}

.cc-section-cta-cursor__pointer.is-visible {
	opacity: 1;
	visibility: visible;
}

.cc-section-cta-cursor__pointer svg {
	width: 38px;
	height: 38px;
	stroke: #ffffff;
	stroke-width: 2.5;
	fill: none;
}

.cc-section-cta-cursor__pointer--red {
	border: 1px solid rgba(255, 255, 255, 0.4);
	background:
		radial-gradient(circle at var(--cx) var(--cy),
			rgba(255, 255, 255, 0.18),
			rgba(255, 255, 255, 0.05) 20%,
			transparent 45%),
		linear-gradient(180deg, #ef6666, #d32323);
	box-shadow:
		inset 0 8px 15px rgba(255, 255, 255, 0.15),
		inset 0 -10px 15px rgba(0, 0, 0, 0.08),
		0 12px 25px rgba(0, 0, 0, 0.2);
}

.cc-section-cta-cursor__pointer--dark {
	border: 1px solid rgba(255, 255, 255, 0.22);
	background:
		radial-gradient(circle at var(--cx) var(--cy),
			rgba(255, 255, 255, 0.14),
			rgba(255, 255, 255, 0.04) 20%,
			transparent 45%),
		linear-gradient(180deg, #3a3a3a, #111111);
	box-shadow:
		inset 0 8px 15px rgba(255, 255, 255, 0.1),
		inset 0 -10px 15px rgba(0, 0, 0, 0.25),
		0 12px 25px rgba(0, 0, 0, 0.35);
}

@media (max-width: 768px) {
	.section-footer-cta,
	.section-footer-cta-about,
	.section-footer-cta-services,
	.section-footer-cta-career {
		cursor: auto;
	}

	.cc-section-cta-cursor__pointer {
		display: none;
	}
}
