/* ===== CFS Preloader ===== */
.cfs_preloader {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	opacity: 1;
	visibility: visible;
	transition: opacity 2.5s ease, visibility 2.5s ease, transform 2.5s ease;
	transition-delay: 1s;
}

.cfs_preloader.is-done {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: scale(1.02);
}

.cfs_preloader_bg {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 60% 50% at 50% 42%, rgba(255, 182, 6, 0.14), transparent 60%),
		radial-gradient(ellipse 80% 70% at 50% 100%, rgba(26, 118, 209, 0.08), transparent 55%),
		linear-gradient(160deg, #fff8f2 0%, #f4f7fb 45%, #eef3f9 100%);
}

.cfs_preloader_orbs {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.cfs_pre_orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(2px);
	opacity: 0.55;
	animation: cfsPreOrb 8s ease-in-out infinite;
}

.cfs_pre_orb_1 {
	width: 180px;
	height: 180px;
	top: 12%;
	left: 10%;
	background: radial-gradient(circle, rgba(255, 182, 6, 0.35), transparent 70%);
}

.cfs_pre_orb_2 {
	width: 220px;
	height: 220px;
	right: 8%;
	bottom: 16%;
	background: radial-gradient(circle, rgba(26, 118, 209, 0.28), transparent 70%);
	animation-delay: -2.5s;
}

.cfs_pre_orb_3 {
	width: 140px;
	height: 140px;
	left: 45%;
	bottom: 8%;
	background: radial-gradient(circle, rgba(20, 189, 238, 0.22), transparent 70%);
	animation-delay: -4s;
}

@keyframes cfsPreOrb {
	0%, 100% { transform: translateY(0) scale(1); }
	50% { transform: translateY(-18px) scale(1.06); }
}

.cfs_preloader_inner {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 24px;
	animation: cfsPreIn 0.8s ease both;
}

@keyframes cfsPreIn {
	from {
		opacity: 0;
		transform: translateY(16px) scale(0.96);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.cfs_preloader_rings {
	position: absolute;
	top: 18px;
	left: 50%;
	width: 160px;
	height: 160px;
	transform: translateX(-50%);
	pointer-events: none;
}

.cfs_pre_ring {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 1px solid rgba(255, 182, 6, 0.28);
	animation: cfsPreRing 2.8s ease-out infinite;
}

.cfs_pre_ring_2 {
	inset: -14px;
	border-color: rgba(26, 118, 209, 0.18);
	animation-delay: 0.45s;
}

.cfs_pre_ring_3 {
	inset: -28px;
	border-color: rgba(255, 182, 6, 0.12);
	animation-delay: 0.9s;
}

@keyframes cfsPreRing {
	0% {
		transform: scale(0.85);
		opacity: 0.85;
	}
	100% {
		transform: scale(1.25);
		opacity: 0;
	}
}

.cfs_preloader_logo_wrap {
	position: relative;
	z-index: 2;
	width: 108px;
	height: 108px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	box-shadow:
		0 0 0 8px rgba(255, 255, 255, 0.55),
		0 0 0 16px rgba(255, 182, 6, 0.12),
		0 18px 40px rgba(16, 42, 67, 0.14);
	animation: cfsPreLogoFloat 2.6s ease-in-out infinite;
}

.cfs_preloader_logo_wrap::before {
	content: "";
	position: absolute;
	inset: -2px;
	border-radius: 50%;
	background: conic-gradient(from 0deg, #ffb606, #14bdee, #1a76d1, #ffb606);
	z-index: -1;
	animation: cfsPreSpin 3.2s linear infinite;
	mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
	-webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
}

@keyframes cfsPreSpin {
	to { transform: rotate(360deg); }
}

@keyframes cfsPreLogoFloat {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-8px); }
}

.cfs_preloader_logo_wrap img {
	width: 88px;
	height: 88px;
	object-fit: cover;
	border-radius: 50%;
	display: block;
}

.cfs_preloader_title {
	margin-top: 34px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.35em;
	font-family: 'Open Sans', sans-serif;
	font-size: clamp(22px, 4.2vw, 34px);
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	line-height: 1.2;
}

.cfs_pre_word {
	display: inline-block;
	background-size: 220% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	animation: cfsPreShimmer 2.2s ease-in-out infinite;
}

.cfs_pre_word_light {
	background-image: linear-gradient(
		90deg,
		rgba(90, 98, 112, 0.35) 0%,
		rgba(90, 98, 112, 0.45) 35%,
		rgba(255, 255, 255, 0.95) 48%,
		rgba(16, 42, 67, 0.95) 58%,
		rgba(16, 42, 67, 0.88) 100%
	);
}

.cfs_pre_word_dark {
	background-image: linear-gradient(
		90deg,
		rgba(16, 42, 67, 0.55) 0%,
		rgba(16, 42, 67, 0.7) 35%,
		rgba(255, 255, 255, 0.98) 48%,
		rgba(11, 28, 46, 1) 58%,
		rgba(11, 28, 46, 0.95) 100%
	);
	animation-delay: 0.12s;
}

@keyframes cfsPreShimmer {
	0% { background-position: 120% 0; }
	100% { background-position: -120% 0; }
}

.cfs_preloader_tagline {
	margin: 14px 0 0;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.08em;
	color: rgba(16, 42, 67, 0.55);
	animation: cfsPrePulse 2s ease-in-out infinite;
}

@keyframes cfsPrePulse {
	0%, 100% { opacity: 0.55; }
	50% { opacity: 1; }
}

.cfs_preloader_bar {
	margin-top: 28px;
	width: min(220px, 62vw);
	height: 3px;
	border-radius: 999px;
	background: rgba(16, 42, 67, 0.1);
	overflow: hidden;
}

.cfs_preloader_bar_fill {
	display: block;
	height: 100%;
	width: 35%;
	border-radius: inherit;
	background: linear-gradient(90deg, #ffb606, #14bdee, #1a76d1);
	animation: cfsPreBar 1.4s ease-in-out infinite;
}

@keyframes cfsPreBar {
	0% {
		transform: translateX(-120%);
		width: 30%;
	}
	50% {
		width: 55%;
	}
	100% {
		transform: translateX(320%);
		width: 30%;
	}
}

body.cfs_loading {
	overflow: hidden;
}

@media only screen and (max-width: 575px) {
	.cfs_preloader_logo_wrap {
		width: 92px;
		height: 92px;
	}

	.cfs_preloader_logo_wrap img {
		width: 74px;
		height: 74px;
	}

	.cfs_preloader_rings {
		width: 130px;
		height: 130px;
		top: 14px;
	}

	.cfs_preloader_title {
		margin-top: 28px;
		letter-spacing: 0.1em;
	}

	.cfs_preloader_tagline {
		font-size: 11px;
		padding: 0 16px;
	}
}
