/**
 * Site chrome: dark glass header (restyles Flatsome's header builder output)
 * and the [jit_footer] footer. Loaded site-wide.
 * Palette shared with the preloader / home / about pages.
 */

:root {
	--c-bg: #0c2550;
	--c-bg-deep: #0a1f45;
	--c-panel: #0b1729;
	--c-blue: #1660a8;
	--c-blue-2: #2f86d6;
	--c-sky: #5fb4ff;
	--c-ice: #dcefff;
	--c-text: rgba(220, 239, 255, 0.74);
	--c-muted: rgba(220, 239, 255, 0.5);
	--c-line: rgba(220, 239, 255, 0.1);
	--c-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* =========================================================
   HEADER — floating white bar on a dark band
   Logo keeps its original JIT blue. The active / hovered menu
   item gets brand-gradient bars on the bar's top and bottom edge.
   ========================================================= */
#header,
#header .header-bg-color,
#header .header-bg-image {
	background-color: var(--c-bg) !important;
	background-image: none !important;
}

#header .top-divider {
	display: none;
}

#header .header-main {
	box-sizing: border-box;
	height: 96px !important;
	padding-top: 14px; /* padding, not child margin: avoids margin collapse exposing the page bg */
	background: transparent;
	transition: height 0.4s var(--c-ease), padding 0.4s var(--c-ease);
}

/* The bar itself */
#header .header-main .header-inner {
	position: relative; /* anchor for the centred mega menu */
	height: 68px !important;
	max-width: 1290px;
	margin-top: 0;
	padding: 0 8px 0 26px !important;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.7), 0 24px 50px -28px rgba(0, 0, 0, 0.8);
	transition: height 0.4s var(--c-ease), margin 0.4s var(--c-ease), box-shadow 0.4s ease;
}

/* Sticky: band turns transparent, bar floats over content */
#header .header-wrapper.stuck .header-bg-color,
#header .header-wrapper.stuck .header-bg-image {
	background: transparent !important;
}

#header .header-wrapper.stuck {
	background: transparent;
	box-shadow: none;
}

#header .header-wrapper.stuck .header-main {
	height: 84px !important;
	padding-top: 12px;
}

#header .header-wrapper.stuck .header-inner {
	height: 60px !important;
	box-shadow: 0 0 0 1px rgba(11, 23, 41, 0.06), 0 20px 50px -18px rgba(12, 37, 80, 0.55);
}

/* Logo: original colours */
#header #logo {
	width: auto !important;
	margin-right: 24px;
}

#header #logo img {
	width: auto;
	max-height: 44px !important;
	filter: none;
	transition: opacity 0.3s ease, max-height 0.4s var(--c-ease);
}

#header .header-wrapper.stuck #logo img {
	max-height: 38px !important;
}

#header #logo a:hover img {
	opacity: 0.85;
}

#header .header-logo-dark {
	display: none !important;
}

/* Main navigation */
#header .header-nav-main.nav-left {
	justify-content: center;
}

#header .header-nav-main.nav > li {
	display: flex;
	align-items: stretch;
	height: 68px;
	margin: 0 2px;
	transition: height 0.4s var(--c-ease);
}

#header .header-wrapper.stuck .header-nav-main.nav > li {
	height: 60px;
}

#header .header-nav-main.nav-left > li > a,
#header .header-nav-main.nav-left > li > a.nav-top-link {
	position: relative;
	display: flex;
	align-items: center;
	height: 100%;
	padding: 0 16px;
	color: #0b1729 !important;
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
	transition: color 0.3s ease;
}

#header .header-nav-main.nav-left > li > a::before,
#header .header-nav-main.nav-left > li > a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, #1660a8, #2f86d6 55%, #5fb4ff);
	transform: scaleX(0);
	transition: transform 0.45s var(--c-ease);
}

#header .header-nav-main.nav-left > li > a::before {
	top: 0;
	transform-origin: left;
}

#header .header-nav-main.nav-left > li > a::after {
	bottom: 0;
	transform-origin: right;
}

#header .header-nav-main.nav-left > li:hover > a,
#header .header-nav-main.nav-left > li.current-menu-item > a,
#header .header-nav-main.nav-left > li.current-menu-ancestor > a {
	color: #1660a8 !important;
}

#header .header-nav-main.nav-left > li:hover > a::before,
#header .header-nav-main.nav-left > li:hover > a::after,
#header .header-nav-main.nav-left > li.current-menu-item > a::before,
#header .header-nav-main.nav-left > li.current-menu-item > a::after,
#header .header-nav-main.nav-left > li.current-menu-ancestor > a::before,
#header .header-nav-main.nav-left > li.current-menu-ancestor > a::after {
	transform: scaleX(1);
}

#header .header-nav-main .icon-angle-down {
	margin-left: 4px;
	font-size: 12px;
	opacity: 0.55;
	transition: transform 0.3s ease;
}

#header .header-nav-main li.has-dropdown:hover .icon-angle-down {
	transform: rotate(180deg);
}

/* Contact lives in the CTA button on desktop */
#header .header-nav-main #menu-item-4208 {
	display: none;
}

/* Right side: search tile, language, CTA */
#header .header-nav-main.nav-right {
	gap: 8px;
}

#header .header-nav-main.nav-right > li {
	height: auto;
	margin: 0;
	align-items: center;
}

#header .header-search > a {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	padding: 0 !important;
	border-radius: 14px;
	background: #f1f5f9;
	color: #0b1729 !important;
	transition: background-color 0.3s ease, transform 0.4s var(--c-ease);
}

#header .header-search > a:hover {
	background: #e3edf8;
}

#header .header-search .icon-search {
	color: #0b1729;
	font-size: 18px;
}

#header .header-wrapper.stuck .header-search > a,
#header .header-wrapper.stuck .gtranslate_wrapper select,
#header .header-wrapper.stuck .header-button-2 .button {
	height: 46px;
}

#header .header-wrapper.stuck .header-search > a {
	width: 46px;
}

#header .gtranslate_wrapper select {
	height: 52px;
	min-width: 132px;
	margin: 0;
	padding: 0 34px 0 16px;
	border: 0;
	border-radius: 14px;
	color: #0b1729;
	font-size: 14px;
	font-weight: 500;
	background-color: #f1f5f9;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 8 4 4 4-4' fill='none' stroke='%230b1729' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 14px;
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
	transition: background-color 0.3s ease, height 0.4s var(--c-ease);
}

#header .gtranslate_wrapper select:hover {
	background-color: #e3edf8;
}

#header .header-button-2 .header-button {
	display: flex;
}

#header .header-button-2 .button {
	position: relative;
	display: inline-flex;
	align-items: center;
	height: 52px;
	min-height: 0;
	margin: 0;
	padding: 0 32px;
	overflow: hidden;
	border: 0;
	border-radius: 14px !important;
	background: linear-gradient(120deg, #1660a8 0%, #2f86d6 60%, #4fa3ff 100%);
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	line-height: 1;
	box-shadow: 0 10px 24px -12px rgba(22, 96, 168, 0.9);
	transition: transform 0.35s var(--c-ease), box-shadow 0.35s var(--c-ease), height 0.4s var(--c-ease);
}

#header .header-button-2 .button::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: -60%;
	width: 45%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.4), transparent);
	transform: skewX(-20deg);
	transition: left 0.7s var(--c-ease);
}

#header .header-button-2 .button:hover {
	transform: translateY(-1px);
	box-shadow: 0 14px 30px -12px rgba(22, 96, 168, 1);
}

#header .header-button-2 .button:hover::after {
	left: 120%;
}

/* Dropdowns (incl. Products mega menu): white cards to match the bar */
.nav-dropdown-has-arrow #header li.has-dropdown::before,
.nav-dropdown-has-arrow #header li.has-dropdown::after {
	display: none !important;
}

/* Mega menu (Products): centre it under the bar instead of hanging off its item */
#header .header-nav-main.nav-left > li.has-dropdown:has(.nav-dropdown-col) {
	position: static;
}

#header .header-nav-main.nav-left > li.has-dropdown:has(.nav-dropdown-col) > .nav-dropdown {
	top: 100% !important;
	left: 50% !important;
	right: auto !important;
	translate: -50% 0;
}

#header .nav-dropdown {
	margin-top: 10px;
	padding: 18px 10px;
	border: 1px solid #e6edf4 !important;
	border-radius: 18px;
	background: #fff !important;
	box-shadow: 0 30px 70px -24px rgba(12, 37, 80, 0.55);
}

#header .nav-dropdown li,
#header .nav-column li,
#header .nav-dropdown-has-border .nav-dropdown {
	border-color: transparent !important;
}

#header .nav-dropdown li > a {
	border: 0 !important;
	border-radius: 8px;
	color: #3d4b5e !important;
	font-size: 14px;
	text-transform: none;
	transition: color 0.25s ease, background-color 0.25s ease;
}

#header .nav-dropdown li > a:hover {
	color: #1660a8 !important;
	background: #f1f6fc;
}

#header .nav-dropdown .nav-dropdown-col > a {
	margin-bottom: 6px;
	border-bottom: 1px solid #edf1f6 !important;
	border-radius: 0;
	color: #1660a8 !important;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

#header .nav-dropdown .nav-dropdown-col > a:hover {
	background: none;
}

/* Search dropdown field */
#header .header-search-form input[type="search"] {
	height: 44px;
	border: 1px solid #e3e9f0;
	border-radius: 12px 0 0 12px;
	background: #f7f9fb;
	color: #0b1729;
	box-shadow: none;
}

#header .header-search-form .ux-search-submit {
	height: 44px;
	border-radius: 0 12px 12px 0;
	background: linear-gradient(120deg, var(--c-blue), var(--c-blue-2));
}

/* Mobile / tablet */
#top-bar,
#top-bar.nav-dark {
	background: var(--c-bg) !important;
}

#top-bar .gtranslate_wrapper select {
	height: 32px;
	min-width: 140px;
	margin: 4px 0;
	padding: 0 30px 0 14px;
	border: 1px solid rgba(220, 239, 255, 0.18);
	border-radius: 999px;
	color: #fff;
	font-size: 13px;
	background: rgba(255, 255, 255, 0.05) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 8 4 4 4-4' fill='none' stroke='%23dcefff' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 10px center / 14px;
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
}

#top-bar .gtranslate_wrapper select option,
#header .gtranslate_wrapper select option {
	color: #0b1729;
}

@media (max-width: 849px) {
	#header .header-main {
		height: 80px !important;
		padding: 10px 12px 0;
	}

	#header .header-main .header-inner {
		width: auto;
		height: 60px !important;
		margin: 0;
		padding: 0 8px !important;
		border-radius: 16px;
	}

	#header #logo {
		margin-right: 0;
	}

	#header #logo img {
		max-height: 38px !important;
	}

	#header .mobile-nav .icon-menu,
	#header .mobile-nav > li > a {
		color: #0b1729 !important;
	}

	#header .mobile-nav .nav-icon > a {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		border-radius: 12px;
		background: #f1f5f9;
	}

	#header .cart-icon strong {
		border-color: #0b1729 !important;
		color: #0b1729 !important;
	}

	#header .cart-icon strong::after {
		border-color: #0b1729 !important;
	}
}

/* Off-canvas mobile menu */
.off-canvas .mfp-content,
.off-canvas .sidebar-menu,
.mobile-sidebar {
	background: var(--c-bg) !important;
}

.off-canvas .nav-sidebar > li {
	border-color: var(--c-line) !important;
}

.off-canvas .nav-sidebar li a,
.off-canvas .nav-vertical li li > a {
	color: var(--c-text) !important;
}

.off-canvas .nav-sidebar li a:hover,
.off-canvas .nav-sidebar li.active > a {
	color: #fff !important;
}

.off-canvas .toggle,
.off-canvas .toggle i {
	color: var(--c-text);
}

.off-canvas .searchform input[type="search"] {
	border: 1px solid var(--c-line);
	background: rgba(255, 255, 255, 0.05);
	color: #fff;
}

/* Dark page backdrop under the header on the dark pages (no white flash/strip) */
body.home #main,
body.page-id-21 #main {
	background: var(--c-bg);
}

/* =========================================================
   FOOTER — [jit_footer]
   ========================================================= */
#footer .absolute-footer {
	display: none; /* copyright lives in .jit-ft__bottom */
}

#footer > section,
#footer .section {
	padding: 0 !important;
	background: none !important;
}

#footer .section > .section-bg {
	display: none;
}

#footer .section-content > .row,
#footer .section-content > .row > .col,
#footer .section-content > .row > .col > .col-inner {
	max-width: none;
	width: 100%;
	padding: 0;
	margin: 0;
	flex-basis: 100%;
}

.jit-ft {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(ellipse 60% 50% at 50% 0%, rgba(22, 96, 168, 0.18), transparent 70%),
		var(--c-bg-deep);
	color: var(--c-text);
	font-family: var(--jit-font-sans, "Inter", system-ui, sans-serif);
	font-size: 14px;
	line-height: 1.6;
}

.jit-ft *,
.jit-ft *::before,
.jit-ft *::after {
	box-sizing: border-box;
}

.jit-ft ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.jit-ft li {
	margin: 0;
}

.jit-ft p {
	margin: 0;
}

.jit-ft a {
	color: inherit;
	text-decoration: none;
	transition: color 0.25s ease;
}

.jit-ft a:hover {
	color: #fff;
}

/* Top edge: hairline + travelling pulse */
.jit-ft__line {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(220, 239, 255, 0.14) 20%, rgba(220, 239, 255, 0.14) 80%, transparent);
	overflow: hidden;
}

.jit-ft__line i {
	position: absolute;
	top: 0;
	left: -30%;
	width: 30%;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--c-sky), transparent);
	box-shadow: 0 0 12px var(--c-sky);
	animation: jit-c-pulse 6s linear infinite;
}

@keyframes jit-c-pulse {
	to { left: 130%; }
}

/* Faint world map behind everything */
.jit-ft__map {
	position: absolute;
	inset: 0;
	background: url("../img/hero/world-dots.svg") 50% 38% / min(1400px, 120%) auto no-repeat;
	opacity: 0.09;
	-webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 30%, transparent 80%);
	mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 30%, transparent 80%);
	pointer-events: none;
}

.jit-ft__wrap {
	position: relative;
	z-index: 1;
	max-width: 1230px;
	margin: 0 auto;
	padding: 0 30px;
}

/* Brand + newsletter */
.jit-ft__top {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 40px 96px;
	align-items: end;
	padding: clamp(64px, 8vw, 96px) 0 clamp(40px, 5vw, 56px);
	border-bottom: 1px solid var(--c-line);
}

.jit-ft__logo {
	display: inline-block;
	margin-bottom: 22px;
}

.jit-ft__logo img {
	display: block;
	width: 150px;
	height: auto;
}

.jit-ft__brand > p {
	max-width: 420px;
	font-size: 15px;
	line-height: 1.75;
}

.jit-ft__social {
	margin-top: 26px;
}

.jit-ft__social .social-icons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.jit-ft__social .social-icons a.button,
.jit-ft__social .social-icons a.icon {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	min-height: 0;
	margin: 0 !important;
	padding: 0 !important;
	border: 1px solid rgba(220, 239, 255, 0.18) !important;
	border-radius: 50% !important;
	background: rgba(255, 255, 255, 0.03) !important;
	color: var(--c-ice) !important;
	box-shadow: none !important;
	transition: transform 0.4s var(--c-ease), background-color 0.3s ease, border-color 0.3s ease;
}

.jit-ft__social .social-icons a:hover {
	transform: translateY(-3px);
	border-color: var(--c-blue) !important;
	background: var(--c-blue) !important;
	color: #fff !important;
}

.jit-ft__social .social-icons i {
	font-size: 15px;
}

.jit-ft__news h3 {
	margin: 0 0 10px;
	font-family: inherit;
	font-size: clamp(24px, 2.4vw, 32px);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.15;
	color: #fff;
}

.jit-ft__news > p {
	margin-bottom: 22px;
	color: var(--c-muted);
}

/* Newsletter form (Contact Form 7) */
.jit-ft__form .wpcf7 form {
	margin: 0;
}

.jit-ft__form .custom-newsletter-form {
	display: flex;
	flex-direction: row !important;
	align-items: stretch !important;
	gap: 8px;
	padding: 6px;
	border: 1px solid rgba(220, 239, 255, 0.16);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.04);
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.jit-ft__form .custom-newsletter-form:focus-within {
	border-color: rgba(95, 180, 255, 0.6);
	box-shadow: 0 0 0 4px rgba(95, 180, 255, 0.12);
}

.jit-ft__form .custom-newsletter-form .flex-col {
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	flex: 0 0 auto !important;
}

/* CF7 auto-wraps each field in <p>; let it fill its column */
.jit-ft__form .custom-newsletter-form .flex-col > p {
	flex: 1 1 auto;
	width: 100%;
	margin: 0;
}

.jit-ft__form .custom-newsletter-form .flex-grow {
	flex: 1 1 auto !important;
	margin-bottom: 0 !important;
}

/* High specificity: beats Flatsome .form-flat and the Customizer newsletter CSS */
.jit-ft .jit-ft__form .custom-newsletter-form input[type="email"] {
	width: 100% !important;
	min-width: 0 !important;
	height: 48px;
	margin: 0;
	padding: 0 20px;
	border: 0 !important;
	border-radius: 999px !important;
	background: transparent !important;
	box-shadow: none !important;
	color: #fff !important;
	font-size: 15px;
}

.jit-ft .jit-ft__form .custom-newsletter-form input[type="email"]::placeholder {
	color: var(--c-muted) !important;
	opacity: 1;
}

.jit-ft .jit-ft__form .custom-newsletter-form input[type="submit"] {
	width: auto !important;
	min-width: 0 !important;
	height: 48px;
	margin: 0 !important;
	padding: 0 28px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: linear-gradient(120deg, var(--c-blue), var(--c-blue-2)) !important;
	color: #fff !important;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 48px;
	text-shadow: none;
	opacity: 1 !important;
	box-shadow: 0 10px 24px -10px rgba(47, 134, 214, 0.8) !important;
	transition: transform 0.35s var(--c-ease), box-shadow 0.35s var(--c-ease);
}

.jit-ft .jit-ft__form .custom-newsletter-form input[type="submit"]:hover {
	transform: translateY(-1px);
	box-shadow: 0 14px 30px -10px rgba(47, 134, 214, 0.95) !important;
}

.jit-ft__form .wpcf7-spinner {
	position: absolute;
	right: 8px;
	top: -30px;
}

.jit-ft__form .wpcf7-response-output,
.jit-ft__form .wpcf7-not-valid-tip {
	margin: 10px 0 0 !important;
	padding: 0 !important;
	border: 0 !important;
	font-size: 13px;
	color: var(--c-sky);
}

.jit-ft__form .wpcf7-form-control-wrap {
	position: static;
}

.jit-ft__form .wpcf7-not-valid-tip {
	position: absolute;
	transform: translateY(54px);
}

/* Link columns */
.jit-ft__cols {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.5fr) minmax(0, 0.85fr) minmax(0, 0.75fr);
	gap: 48px;
	padding: clamp(48px, 6vw, 72px) 0;
}

.jit-ft__title {
	position: relative;
	margin: 0 0 22px;
	padding-left: 14px;
	font-family: inherit;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #fff;
}

.jit-ft__title::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 6px;
	height: 6px;
	margin-top: -3px;
	border-radius: 50%;
	background: var(--c-sky);
	box-shadow: 0 0 10px var(--c-sky);
}

.jit-ft__contact li {
	display: flex;
	gap: 12px;
	margin-bottom: 14px;
	font-size: 14px;
	line-height: 1.55;
}

.jit-ft__ico {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	margin-top: -4px;
	border-radius: 8px;
	color: var(--c-sky);
	background: rgba(95, 180, 255, 0.08);
}

.jit-ft__network {
	display: grid;
	gap: 11px;
}

.jit-ft__network li {
	display: flex;
	align-items: center;
	gap: 11px;
	font-size: 13.5px;
	line-height: 1.35;
}

.jit-ft__flag {
	flex: 0 0 auto;
	width: 20px;
	height: 15px;
	border-radius: 3px;
	object-fit: cover;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.jit-ft__links li {
	margin-bottom: 12px;
}

.jit-ft__links a,
.jit-ft__links span {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
}

.jit-ft__links a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -2px;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.4s var(--c-ease);
}

.jit-ft__links a:hover::after {
	transform: scaleX(1);
}

.jit-ft__links a svg {
	opacity: 0.5;
	transition: transform 0.3s var(--c-ease), opacity 0.3s ease;
}

.jit-ft__links a:hover svg {
	opacity: 1;
	transform: translate(2px, -2px);
}

.jit-ft__links .is-soon {
	color: var(--c-muted);
}

.jit-ft__links .is-soon em {
	padding: 2px 8px;
	border-radius: 999px;
	font-style: normal;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	background: rgba(255, 255, 255, 0.06);
}

/* Bottom bar */
.jit-ft__bottom {
	display: flex;
	align-items: center;
	gap: 24px;
	padding: 24px 0 32px;
	border-top: 1px solid var(--c-line);
	font-size: 13px;
	color: var(--c-muted);
}

.jit-ft__copy {
	margin-right: auto !important;
}

.jit-ft__policies {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 22px;
}

.jit-ft__top-btn {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid rgba(220, 239, 255, 0.18);
	color: var(--c-ice) !important;
	transition: transform 0.4s var(--c-ease), background-color 0.3s ease, border-color 0.3s ease;
}

.jit-ft__top-btn:hover {
	transform: translateY(-3px);
	border-color: var(--c-blue);
	background: var(--c-blue);
}

/* Flatsome floating back-to-top → match */
#top-link {
	border-color: rgba(220, 239, 255, 0.25) !important;
	background: rgba(12, 37, 80, 0.8) !important;
	color: var(--c-ice) !important;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

/* Reveal */
html.js .jit-ft [data-ft-reveal] {
	opacity: 0;
	translate: 0 24px;
	transition: opacity 0.9s ease var(--d, 0s), translate 1.1s var(--c-ease) var(--d, 0s);
}

html.js .jit-ft [data-ft-reveal].is-visible {
	opacity: 1;
	translate: none;
}

/* Responsive */
@media (max-width: 1023px) {
	.jit-ft__top {
		grid-template-columns: 1fr;
		align-items: start;
	}

	.jit-ft__cols {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 849px) {
	.jit-ft__wrap {
		padding: 0 20px;
	}

	.jit-ft__bottom {
		flex-wrap: wrap;
	}

	.jit-ft__copy {
		width: 100%;
		order: 2;
	}

	.jit-ft__policies {
		order: 1;
		flex: 1;
	}
}

@media (max-width: 549px) {
	.jit-ft__cols {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.jit-ft .jit-ft__form .custom-newsletter-form {
		border-radius: 18px;
		flex-direction: column !important;
	}

	.jit-ft .jit-ft__form .custom-newsletter-form .flex-col,
	.jit-ft .jit-ft__form .custom-newsletter-form input[type="submit"] {
		width: 100% !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	#header .header-main::after,
	.jit-ft__line i {
		animation: none;
	}

	html.js .jit-ft [data-ft-reveal] {
		opacity: 1;
		translate: none;
	}
}

/* =========================================================
   Smooth scroll (Lenis)
   ========================================================= */
html.lenis,
html.lenis body {
	height: auto;
}

.lenis.lenis-smooth {
	scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
	overscroll-behavior: contain;
}

.lenis.lenis-stopped {
	overflow: hidden;
}

/* =========================================================
   Products mega menu — brand logo tiles + hover panel
   .jit-mm is added by chrome.js to the dropdown that holds
   the brand items (.jit-mm-brand, from inc/megamenu.php).
   ========================================================= */
#header .nav-dropdown.jit-mm {
	--mm-ink: #0b1729;
	display: block;
	width: min(960px, calc(100vw - 48px));
	min-height: 404px;
	padding: 18px !important;
	white-space: normal;
	background:
		radial-gradient(ellipse 60% 80% at 0% 0%, rgba(22, 96, 168, 0.06), transparent 70%),
		#fff !important;
}

/* Brand tiles (left column) */
#header .jit-mm > .jit-mm-brand {
	display: block !important;
	position: static;
	width: 330px;
	min-width: 0;
	margin: 0 0 6px;
	padding: 0;
}

#header .jit-mm > .jit-mm-brand > a {
	position: relative;
	display: grid !important;
	grid-template-columns: 1fr 22px;
	grid-template-rows: auto auto;
	align-items: center;
	gap: 6px 12px;
	height: auto;
	min-height: 86px;
	margin: 0 !important;
	padding: 14px 18px 12px 22px !important;
	border: 1px solid transparent !important;
	border-radius: 14px !important;
	background: transparent;
	color: var(--mm-ink) !important;
	font-size: 12.5px;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
	overflow: hidden;
	transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

/* Accent bar that grows on the active tile */
#header .jit-mm > .jit-mm-brand > a::before {
	content: "";
	position: absolute;
	left: 0;
	top: 18%;
	bottom: 18%;
	width: 4px;
	border-radius: 0 4px 4px 0;
	background: var(--accent);
	transform: scaleY(0);
	transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

#header .jit-mm .jit-mm__logo {
	display: block;
	grid-column: 1;
	width: auto;
	max-width: 230px;
	height: 40px;
	object-fit: contain;
	object-position: left center;
	filter: grayscale(0.85) opacity(0.7);
	transition: filter 0.4s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

#header .jit-mm .jit-mm__name {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

#header .jit-mm .jit-mm__tag {
	grid-column: 1;
	color: #6b7a8c;
	font-size: 12px;
	line-height: 1.35;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Round arrow button on each tile */
#header .jit-mm .jit-mm__go {
	grid-column: 2;
	grid-row: 1 / span 2;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--accent);
	opacity: 0;
	transform: translateX(-8px);
	transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-1.2 6.6 5.4 5.4-5.4 5.4-1.4-1.4 3-3H6.6v-2h5.8l-3-3z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-1.2 6.6 5.4 5.4-5.4 5.4-1.4-1.4 3-3H6.6v-2h5.8l-3-3z'/%3E%3C/svg%3E") center / contain no-repeat;
}

#header .jit-mm > .jit-mm-brand.is-active > a {
	border-color: color-mix(in srgb, var(--accent) 22%, #fff) !important;
	background: linear-gradient(100deg, color-mix(in srgb, var(--accent) 9%, #fff), #fff 80%);
	box-shadow: 0 14px 30px -18px color-mix(in srgb, var(--accent) 70%, transparent);
}

#header .jit-mm > .jit-mm-brand.is-active > a::before {
	transform: scaleY(1);
}

#header .jit-mm > .jit-mm-brand.is-active .jit-mm__logo,
#header .jit-mm > .jit-mm-brand > a:hover .jit-mm__logo {
	filter: none;
	transform: translateX(4px);
}

#header .jit-mm > .jit-mm-brand.is-active .jit-mm__go {
	opacity: 1;
	transform: none;
}

/* Side panel with the active brand's sub-categories */
#header .jit-mm > .jit-mm-brand > ul.sub-menu {
	position: absolute !important;
	top: 18px;
	right: 18px;
	bottom: 18px;
	left: 366px;
	display: grid !important;
	grid-template-columns: 1fr 1fr;
	align-content: start;
	gap: 4px 18px;
	width: auto !important;
	min-width: 0;
	margin: 0 !important;
	padding: 26px 28px !important;
	border-radius: 16px;
	background:
		radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 55%),
		radial-gradient(circle at 0% 100%, rgba(22, 96, 168, 0.1), transparent 60%),
		linear-gradient(160deg, color-mix(in srgb, var(--accent) 7%, #f7f9fc), #f5f8fc);
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 14%, #e6edf4);
	overflow: hidden;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(8px);
	transition: opacity 0.35s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.35s;
	counter-reset: mm;
}

/* Faint circuit lines in the panel corner */
#header .jit-mm > .jit-mm-brand > ul.sub-menu::after {
	content: "";
	position: absolute;
	right: -10px;
	bottom: -10px;
	width: 220px;
	height: 160px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 160' fill='none' stroke='%23000' stroke-width='1.5'%3E%3Cpath d='M0 120h60l20-20h60l20 20h60M40 160v-30l20-20M120 160v-40h40l20-20V40M200 160v-60'/%3E%3Ccircle cx='180' cy='36' r='4'/%3E%3Ccircle cx='60' cy='108' r='3'/%3E%3Ccircle cx='200' cy='96' r='3'/%3E%3C/svg%3E") no-repeat right bottom / contain;
	opacity: 0.07;
	pointer-events: none;
}

#header .jit-mm > .jit-mm-brand.is-active > ul.sub-menu {
	opacity: 1;
	visibility: inherit; /* follow the dropdown: hidden menu must not catch the pointer */
	pointer-events: auto;
	transform: none;
	transition: opacity 0.35s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s;
}

/* Panel header (injected by JS): brand label + "View all" */
#header .jit-mm .jit-mm__head {
	grid-column: 1 / -1;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin: 0 0 14px;
	padding: 0 0 16px;
	border-bottom: 1px solid color-mix(in srgb, var(--accent) 18%, #e3e9f0) !important;
}

#header .jit-mm .jit-mm__eyebrow {
	display: block;
	margin-bottom: 4px;
	color: var(--accent);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

#header .jit-mm .jit-mm__head > div {
	min-width: 0;
}

#header .jit-mm .jit-mm__title {
	display: block;
	color: var(--mm-ink);
	font-size: 19px;
	white-space: normal;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

#header .jit-mm .jit-mm__all {
	display: inline-flex !important;
	align-items: center;
	gap: 8px;
	padding: 8px 14px !important;
	border-radius: 999px !important;
	background: var(--accent) !important;
	color: #fff !important;
	font-size: 12.5px !important;
	font-weight: 600;
	white-space: nowrap;
	flex-shrink: 0;
	box-shadow: 0 10px 20px -10px var(--accent);
	transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

#header .jit-mm .jit-mm__all:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 24px -10px var(--accent);
}

/* Sub-category links: staggered entrance + colour sweep */
#header .jit-mm > .jit-mm-brand > ul.sub-menu > li:not(.jit-mm__head) {
	counter-increment: mm;
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

#header .jit-mm > .jit-mm-brand.is-active > ul.sub-menu > li:not(.jit-mm__head) {
	opacity: 1;
	transform: none;
	transition-delay: calc(var(--i, 0) * 45ms + 80ms);
}

#header .jit-mm > .jit-mm-brand > ul.sub-menu > li:not(.jit-mm__head) > a {
	position: relative;
	display: flex !important;
	align-items: center;
	gap: 12px;
	padding: 11px 12px !important;
	border-radius: 10px !important;
	background: transparent !important;
	color: #26364a !important;
	font-size: 15px !important;
	font-weight: 500;
	white-space: normal;
}

#header .jit-mm > .jit-mm-brand > ul.sub-menu > li:not(.jit-mm__head) > a::before {
	content: counter(mm, decimal-leading-zero);
	flex: 0 0 auto;
	color: color-mix(in srgb, var(--accent) 70%, #8a97a8);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	font-variant-numeric: tabular-nums;
}

#header .jit-mm > .jit-mm-brand > ul.sub-menu > li:not(.jit-mm__head) > a::after {
	content: "";
	width: 14px;
	height: 14px;
	margin-left: auto;
	background: var(--accent);
	opacity: 0;
	transform: translateX(-8px);
	transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}

#header .jit-mm .jit-mm__txt {
	background: linear-gradient(90deg, var(--accent) 0 50%, #26364a 50% 100%);
	background-size: 200% 100%;
	background-position: 100% 0;
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	transition: background-position 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

#header .jit-mm > .jit-mm-brand > ul.sub-menu > li:not(.jit-mm__head) > a:hover {
	background: rgba(255, 255, 255, 0.85) !important;
	box-shadow: 0 8px 22px -14px rgba(12, 37, 80, 0.45);
}

#header .jit-mm > .jit-mm-brand > ul.sub-menu > li > a:hover .jit-mm__txt {
	background-position: 0 0;
}

#header .jit-mm > .jit-mm-brand > ul.sub-menu > li:not(.jit-mm__head) > a:hover::after {
	opacity: 1;
	transform: none;
}

/* Brand items outside the desktop header (mobile off-canvas): plain names */
.off-canvas .jit-mm__logo,
.off-canvas .jit-mm__tag,
.off-canvas .jit-mm__go,
.mobile-nav .jit-mm__logo,
.mobile-nav .jit-mm__tag,
.mobile-nav .jit-mm__go,
.mobile-sidebar .jit-mm__logo,
.mobile-sidebar .jit-mm__tag,
.mobile-sidebar .jit-mm__go,
.nav-sidebar .jit-mm__logo,
.nav-sidebar .jit-mm__tag,
.nav-sidebar .jit-mm__go {
	display: none !important;
}

@media (prefers-reduced-motion: reduce) {
	#header .jit-mm *,
	#header .jit-mm *::before,
	#header .jit-mm *::after {
		transition: none !important;
	}
}

/* A closed dropdown (and everything inside it) never catches the pointer */
#header .nav-dropdown {
	pointer-events: none;
}

#header li.has-dropdown:hover > .nav-dropdown,
#header li.current-dropdown > .nav-dropdown,
#header li.has-dropdown:focus-within > .nav-dropdown {
	pointer-events: auto;
}
