/* Header
--------------------------------------------- */

.custom-site-header,
.custom-site-header *,
.custom-mobile-menu,
.custom-mobile-menu * {
	box-sizing: border-box;
}

.custom-site-header {
	position: fixed;
	z-index: 100;
	width: 100%;
	border-bottom: 1px solid #eaf1fa;
	transition:
		background-color 0.4s ease,
		border-color 0.4s ease,
		backdrop-filter 0.4s ease;
}

.custom-site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 1440px;
	max-width: 100%;
	min-height: 64px;
	margin: 0 auto;
	padding: 12px 30px;
}

.custom-site-header__left {
	display: flex;
	align-items: center;
	gap: 40px;
	min-width: 0;
}

.custom-site-header__branding,
.custom-mobile-menu__branding {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	width: 125px;
	height: 40px;
}

.custom-site-header__branding .custom-logo-link,
.custom-mobile-menu__branding .custom-logo-link {
	display: flex;
	align-items: center;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	line-height: 0;
	text-decoration: none;
	opacity: 1;
	filter: none;
}

.custom-site-header__branding .custom-logo,
.custom-mobile-menu__branding .custom-logo {
	display: block;
	width: 125px;
	max-width: 100%;
	height: 40px;
	object-fit: contain;
	object-position: left center;
	opacity: 1;
	filter: none;
}

.custom-site-header__site-title,
.custom-site-header__site-title:visited,
.custom-site-header__site-title:hover,
.custom-site-header__site-title:focus,
.custom-site-header__site-title:active {
	background: transparent !important;
	color: #333 !important;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.1;
	text-decoration: none !important;
	opacity: 1 !important;
	filter: none !important;
}

.custom-site-header__desktop-navigation {
	display: flex;
	align-items: center;
}

.custom-site-header__menu {
	display: flex;
	align-items: center;
	gap: 40px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.custom-site-header__menu > li {
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0;
	opacity: 1;
}

.custom-site-header__menu > li > a,
.custom-site-header__menu > li > a:visited,
.custom-site-header__menu > li > a:hover,
.custom-site-header__menu > li > a:focus,
.custom-site-header__menu > li > a:focus-visible,
.custom-site-header__menu > li > a:active {
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0;
	background: transparent !important;
	color: #333 !important;
	font-size: 16px;
	font-style: normal;
	font-weight: 500;
	line-height: 1.1;
	text-decoration: none !important;
	white-space: nowrap;
	opacity: 1 !important;
	filter: none !important;
}

.custom-site-header__menu > li.current-menu-item > a,
.custom-site-header__menu > li.current_page_item > a,
.custom-site-header__menu > li.current-menu-parent > a,
.custom-site-header__menu > li.current_page_parent > a,
.custom-site-header__menu > li.current-menu-ancestor > a,
.custom-site-header__menu > li.current_page_ancestor > a {
	background: transparent !important;
	color: #333 !important;
	text-decoration: none !important;
	opacity: 1 !important;
	filter: none !important;
}

.custom-site-header__menu > li > a:focus-visible {
	outline: 2px solid #1169ec;
	outline-offset: 4px;
}

.custom-site-header__contact-button {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	min-height: 33px;
	padding: 6px 16px;
	border-radius: 4px;
	background-color: #1169ec;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.5;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.2s ease;
}

.custom-site-header__contact-button:visited {
	color: #fff;
}

.custom-site-header__contact-button:hover,
.custom-site-header__contact-button:focus-visible,
.custom-site-header__contact-button:active {
	background-color: #0d5fd8;
	color: #fff;
	opacity: 1;
}

.custom-site-header__contact-button:focus-visible {
	outline: 2px solid #333;
	outline-offset: 2px;
}

.custom-site-header__hamburger {
	display: none;
}

header#custom-site-header.fixed {
	border-bottom: 1px solid #eaf1fa;
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
}


/* Mobile menu
--------------------------------------------- */

.custom-mobile-menu {
	position: fixed;
	z-index: 9999;
	inset: 0;
	display: none;
	width: 100%;
	height: 100dvh;
	overflow-x: hidden;
	overflow-y: auto;
	background:
		radial-gradient(
			circle at 48% 85%,
			rgba(255, 255, 255, 0.85) 0%,
			rgba(255, 255, 255, 0) 38%
		),
		linear-gradient(
			145deg,
			#fff 0%,
			#fff7f7 50%,
			#eef4ff 100%
		);
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	transform: translateX(100%);
	transition:
		transform 0.35s ease,
		opacity 0.25s ease,
		visibility 0.35s ease;
}

.custom-mobile-menu.is-open {
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
	transform: translateX(0);
}

.custom-mobile-menu__inner {
	display: flex;
	flex-direction: column;
	width: 100%;
	min-height: 100%;
	padding: 0 16px 24px;
}

.custom-mobile-menu__header {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: 64px;
}

.custom-mobile-menu__close {
	position: relative;
	display: block;
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent !important;
	color: #000 !important;
	cursor: pointer;
}

.custom-mobile-menu__close span {
	position: absolute;
	top: 10px;
	left: 0;
	display: block;
	width: 22px;
	height: 2px;
	background-color: currentColor;
}

.custom-mobile-menu__close span:first-child {
	transform: rotate(45deg);
}

.custom-mobile-menu__close span:last-child {
	transform: rotate(-45deg);
}

.custom-mobile-menu__navigation {
	margin-top: 36px;
}

.custom-mobile-menu__links {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 36px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.custom-mobile-menu__links > li {
	margin: 0;
	padding: 0;
	opacity: 1;
}

.custom-mobile-menu__links > li > a,
.custom-mobile-menu__links > li > a:visited,
.custom-mobile-menu__links > li > a:hover,
.custom-mobile-menu__links > li > a:focus,
.custom-mobile-menu__links > li > a:focus-visible,
.custom-mobile-menu__links > li > a:active {
	display: block;
	margin: 0;
	padding: 0;
	background: transparent !important;
	color: #333 !important;
	font-size: 22px;
	font-style: normal;
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: -0.66px;
	text-decoration: none !important;
	opacity: 1 !important;
	filter: none !important;
}

.custom-mobile-menu__links > li.current-menu-item > a,
.custom-mobile-menu__links > li.current_page_item > a,
.custom-mobile-menu__links > li.current-menu-parent > a,
.custom-mobile-menu__links > li.current_page_parent > a,
.custom-mobile-menu__links > li.current-menu-ancestor > a,
.custom-mobile-menu__links > li.current_page_ancestor > a {
	background: transparent !important;
	color: #333 !important;
	text-decoration: none !important;
	opacity: 1 !important;
	filter: none !important;
}

.custom-mobile-menu__links > li > a:focus-visible {
	outline: 2px solid #1169ec;
	outline-offset: 4px;
}

.custom-mobile-menu__socials {
	display: flex;
	align-items: center;
	gap: 32px;
	margin-top: 75px;
}

.custom-mobile-menu__social-link,
.custom-mobile-menu__social-link:visited,
.custom-mobile-menu__social-link:hover,
.custom-mobile-menu__social-link:focus,
.custom-mobile-menu__social-link:focus-visible,
.custom-mobile-menu__social-link:active {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	background: transparent !important;
	color: #333 !important;
	text-decoration: none !important;
	opacity: 1 !important;
	filter: none !important;
}

.custom-mobile-menu__social-link svg {
	display: block;
	width: 32px;
	height: 32px;
	opacity: 1;
	filter: none;
}

.custom-mobile-menu__social-link:focus-visible {
	outline: 2px solid #1169ec;
	outline-offset: 4px;
}


/* Mobile contact card
--------------------------------------------- */

.custom-mobile-menu__contact-card {
	position: relative;
	display: none;
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-end;
	width: 100%;
	aspect-ratio: 358 / 230;
	min-height: 230px;
	margin-top: 60px;
	padding: 24px;
	overflow: hidden;
	border-radius: 8px;
	background-color: #fff;
	isolation: isolate;
}

.custom-mobile-menu__contact-image {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	border-radius: inherit;
	transform: none;
	pointer-events: none;
}

.custom-mobile-menu__contact-image img,
.custom-mobile-menu__contact-image-element {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center 30%;
}

.custom-mobile-menu__contact-card::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
	height: 45%;
	background: linear-gradient(
		to bottom,
		rgba(255, 255, 255, 0) 0%,
		rgba(255, 255, 255, 0.15) 55%,
		rgba(255, 255, 255, 0.3) 100%
	);
	pointer-events: none;
}

.custom-mobile-menu__contact-button {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 33px;
	margin: 0;
	padding: 6px 16px;
	border-radius: 4px;
	background-color: #1169ec;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.5;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.2s ease;
}

.custom-mobile-menu__contact-button:visited {
	color: #fff;
}

.custom-mobile-menu__contact-button:hover,
.custom-mobile-menu__contact-button:focus-visible,
.custom-mobile-menu__contact-button:active {
	background-color: #0d5fd8;
	color: #fff;
	opacity: 1;
}

.custom-mobile-menu__contact-button:focus-visible {
	outline: 2px solid #333;
	outline-offset: 2px;
}

body.custom-mobile-menu-open {
	overflow: hidden;
}


/* Tablet
--------------------------------------------- */

@media (max-width: 1024px) {
	.custom-site-header__inner {
		padding-right: 24px;
		padding-left: 24px;
	}

	.custom-site-header__left {
		gap: 28px;
	}

	.custom-site-header__menu {
		gap: 28px;
	}
}


/* Mobile
--------------------------------------------- */

@media (max-width: 768px) {
	.custom-site-header {
		border-bottom-color: #fff;
	}

	.custom-site-header__inner {
		min-height: 64px;
		padding: 12px 16px;
	}
	
	.custom-mobile-menu__links {
		gap: 20px;
	}
	
	.custom-mobile-menu__links > li {
		width: 100%;
	}
	
	.custom-mobile-menu__links > li a {
		display: block;
		padding: 10px 0 !important;
	}

	.custom-site-header__desktop-navigation,
	.custom-site-header__contact-button {
		display: none;
	}

	.custom-site-header__hamburger {
		display: flex;
		flex: 0 0 auto;
		flex-direction: column;
		justify-content: space-between;
		width: 22px;
		height: 17px;
		margin: 0;
		padding: 0;
		border: 0;
		background: transparent !important;
		color: #000 !important;
		cursor: pointer;
	}

	.custom-site-header__hamburger span {
		display: block;
		width: 22px;
		height: 2px;
		background-color: currentColor;
	}

	.custom-mobile-menu {
		display: block;
	}

	.custom-mobile-menu__contact-card {
		display: flex;
	}
}

@media (max-width: 390px) {
	.custom-mobile-menu__navigation {
		margin-top: 36px;
	}

	.custom-mobile-menu__socials {
		margin-top: 75px;
	}

	.custom-mobile-menu__contact-card {
		margin-top: 60px;
	}
}