/* Static header + hero before React/Swiper hydrate (Hostinger / no-JS safe) */
.ct-fallback-header {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 50;
	color: #fff;
}
.ct-fallback-header-inner {
	width: min(1320px, calc(100% - 32px));
	margin: 0 auto;
}
.ct-fallback-topbar {
	background: #1f2b21;
	font-size: 14px;
	line-height: 1.4;
}
.ct-fallback-topbar .ct-fallback-header-inner {
	min-height: 44px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.ct-fallback-topbar a,
.ct-fallback-topbar span {
	color: #fff;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.ct-fallback-navbar {
	background: rgba(18, 31, 20, 0.78);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.ct-fallback-nav-row {
	min-height: 86px;
	display: flex;
	align-items: center;
	gap: 26px;
}
.ct-fallback-brand img {
	width: 168px;
	max-height: 56px;
	object-fit: contain;
}
.ct-fallback-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 26px;
	margin-left: auto;
}
.ct-fallback-nav a {
	color: #fff;
	font-weight: 700;
	font-size: 16px;
	line-height: 1;
}
.ct-fallback-nav a:hover,
.ct-fallback-topbar a:hover {
	color: #f7c35f;
}
.ct-fallback-cta {
	color: #1f2b21;
	background: #f7c35f;
	padding: 14px 24px;
	border-radius: 999px;
	font-weight: 800;
	white-space: nowrap;
}
.ct-fallback-cta:hover {
	color: #1f2b21;
	background: #fff;
}

#header-portal:has(.ct-fallback-header) ~ #home.banner-area {
	padding-top: clamp(118px, 15vh, 150px);
}

#home .banner-fade:not(.swiper-initialized) {
	overflow: hidden;
}
#home .banner-fade:not(.swiper-initialized) .swiper-wrapper {
	transform: none !important;
	display: block !important;
}
#home .banner-fade:not(.swiper-initialized) .swiper-slide {
	display: none !important;
	width: 100% !important;
	margin: 0 !important;
}
#home .banner-fade:not(.swiper-initialized) .swiper-slide:first-child,
#home .banner-fade:not(.swiper-initialized) .swiper-slide.is-active,
#home .banner-fade:not(.swiper-initialized) .swiper-slide.swiper-slide-active {
	display: block !important;
}

/* Gallery cards before React/Swiper hydrate */
#gallery .gallery-style-one-carousel:not(.swiper-initialized) {
	overflow: visible;
}
#gallery .gallery-style-one-carousel:not(.swiper-initialized) .swiper-wrapper {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 24px;
	transform: none !important;
	padding-bottom: 40px;
}
#gallery .gallery-style-one-carousel:not(.swiper-initialized) .swiper-slide {
	display: block !important;
	width: auto !important;
	height: auto !important;
	margin: 0 !important;
}
#gallery .gallery-style-one-carousel:not(.swiper-initialized) .gallery-style-one img {
	width: 100%;
	height: auto;
	display: block;
}
#gallery .gallery-style-one-carousel:not(.swiper-initialized) .swiper-pagination {
	display: none;
}

@media (max-width: 991px) {
	.ct-fallback-topbar .ct-fallback-header-inner {
		justify-content: center;
		flex-wrap: wrap;
		padding: 9px 0;
	}
	.ct-fallback-nav-row {
		min-height: auto;
		padding: 16px 0;
		flex-wrap: wrap;
		justify-content: center;
	}
	.ct-fallback-brand img {
		width: 142px;
	}
	.ct-fallback-nav {
		order: 3;
		width: 100%;
		margin-left: 0;
		flex-wrap: wrap;
		gap: 14px 20px;
	}
	#header-portal:has(.ct-fallback-header) ~ #home.banner-area {
		padding-top: clamp(150px, 22vh, 190px);
	}
}

@media (max-width: 575px) {
	.ct-fallback-topbar {
		display: none;
	}
	.ct-fallback-nav a {
		font-size: 14px;
	}
}

#home,
#about,
#services,
#benefits,
#products,
#gallery,
#quality,
#contact {
	scroll-margin-top: clamp(96px, 14vh, 140px);
}

input.hp-field,
input[name="website"] {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

/* Scroll / load reveal */
@media (prefers-reduced-motion: no-preference) {
	.ct-reveal {
		opacity: 0;
		transform: translate3d(0, 36px, 0);
		transition:
			opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
			transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
		will-change: opacity, transform;
	}

	.ct-reveal.ct-reveal-up {
		transform: translate3d(0, 36px, 0);
	}

	.ct-reveal.ct-reveal-left {
		transform: translate3d(-40px, 0, 0);
	}

	.ct-reveal.ct-reveal-right {
		transform: translate3d(40px, 0, 0);
	}

	.ct-reveal.ct-reveal-scale {
		transform: scale(0.94);
	}

	.ct-reveal.is-revealed {
		opacity: 1;
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ct-reveal {
		opacity: 1;
		transform: none;
	}
}
