/* Main navigation refresh */
#header .global-menu__wrap {
	display: grid;
	gap: 14px;
	justify-items: center;
}

#header .global-menu__item {
	min-width: min(320px, 80vw);
	padding: 12px 24px;
	border-radius: 999px;
	text-align: center;
	font-size: clamp(1rem, 1.2vw, 1.125rem);
	font-weight: 600;
	letter-spacing: 0.02em;
	color: #f8fbff;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(146, 179, 255, 0.2));
	border: 1px solid rgba(255, 255, 255, 0.34);
	box-shadow: 0 10px 22px rgba(7, 18, 52, 0.24);
	backdrop-filter: blur(5px);
	transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease, color 0.28s ease, border-color 0.28s ease;
}

#header .global-menu__item:hover,
#header .global-menu__item:focus-visible {
	color: #ffffff;
	border-color: rgba(255, 255, 255, 0.56);
	background: linear-gradient(135deg, rgba(104, 139, 233, 0.45), rgba(41, 84, 179, 0.68));
	box-shadow: 0 14px 30px rgba(8, 20, 58, 0.35);
	transform: translateY(-2px);
	outline: none;
}

#header .global-menu__item.is-active {
	color: #122a55;
	background: linear-gradient(135deg, #ffffff, #d7e6ff);
	border-color: rgba(255, 255, 255, 0.92);
	box-shadow: 0 16px 32px rgba(12, 29, 74, 0.35);
}

@media (max-width: 767.98px) {
	#header .global-menu__item {
		min-width: min(270px, 86vw);
		padding: 11px 20px;
	}
}

/* Back to top refresh */
#gotoTop {
	--cnvs-gotoTop-size: 3rem;
	--cnvs-gotoTop-icon-size: 1.15rem;
	--cnvs-gotoTop-icon-color: #f8fbff;
	--cnvs-gotoTop-position-boxed-right: 20px;
	--cnvs-gotoTop-position-boxed-bottom: 26px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0;
	background: linear-gradient(145deg, #315ebc 0%, #203f85 45%, #122a5e 100%);
	border: 1px solid rgba(255, 255, 255, 0.55);
	box-shadow: 0 14px 30px rgba(10, 30, 74, 0.32), 0 2px 8px rgba(6, 18, 50, 0.25);
	border-radius: 999px;
	transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, opacity 0.4s ease;
}

#gotoTop::after {
	content: "\2303";
	color: #f8fbff;
	font-size: 1.35rem;
	font-weight: 400;
	line-height: 1;
	transform: translateY(-2px);
}

#gotoTop:hover,
#gotoTop:focus-visible {
	background: linear-gradient(145deg, #3f6fd4 0%, #294fa7 46%, #163775 100%);
	box-shadow: 0 18px 34px rgba(8, 23, 58, 0.38), 0 3px 10px rgba(4, 12, 32, 0.28);
	transform: translateY(-2px) scale(1.04);
	outline: none;
}

#gotoTop::before {
	content: '';
	position: absolute;
	inset: -4px;
	border-radius: inherit;
	border: 1px solid rgba(84, 134, 240, 0.45);
	opacity: 0.8;
	animation: gotoTopPulse 1.8s ease-in-out infinite;
	pointer-events: none;
}

@keyframes gotoTopPulse {
	0%,
	100% {
		transform: scale(1);
		opacity: 0.75;
	}
	50% {
		transform: scale(1.08);
		opacity: 0.25;
	}
}

@media (max-width: 767.98px) {
	#gotoTop {
		--cnvs-gotoTop-size: 2.75rem;
		--cnvs-gotoTop-position-boxed-right: 14px;
		--cnvs-gotoTop-position-boxed-bottom: 20px;
	}
}