:root {
	--ets-navy-950: #061727;
	--ets-navy-900: #071b2d;
	--ets-navy-800: #0b3560;
	--ets-blue: #1689e8;
	--ets-blue-light: #62c7ff;
	--ets-white: #ffffff;
	--ets-muted: #aebfd0;
	--ets-line: rgba(255, 255, 255, 0.14);
}

.ets-global-shell-active #masthead:not(#ets-site-header),
.ets-global-shell-active header.site-header:not(#ets-site-header),
.ets-global-shell-active #ast-desktop-header,
.ets-global-shell-active #ast-mobile-header,
.ets-global-shell-active .ast-mobile-popup-drawer,
.ets-global-shell-active .hfe-site-header,
.ets-global-shell-active .elementor-location-header,
.ets-global-shell-active #colophon:not(#ets-site-footer),
.ets-global-shell-active footer.site-footer:not(#ets-site-footer),
.ets-global-shell-active .hfe-site-footer,
.ets-global-shell-active .elementor-location-footer,
.ets-global-shell-active .gt_float_switcher,
.ets-global-shell-active .gtranslate_wrapper,
.ets-global-shell-active #gtranslate_wrapper,
.ets-global-shell-active .ast-site-header-cart,
.ets-global-shell-active .wc-block-mini-cart,
.ets-global-shell-active .elementor-widget-woocommerce-menu-cart,
.ets-global-shell-active .xoo-wsc-basket {
	display: none !important;
}

.ets-site-header *,
.ets-site-footer * {
	box-sizing: border-box;
}

.ets-shell {
	width: min(1180px, calc(100% - 48px));
	margin-inline: auto;
}

.ets-site-header {
	position: sticky;
	top: 0;
	z-index: 99990;
	width: 100%;
	background: linear-gradient(110deg, var(--ets-navy-950) 0%, var(--ets-navy-800) 100%);
	border-bottom: 1px solid var(--ets-line);
	box-shadow: 0 12px 32px rgba(2, 15, 27, 0.14);
}

body.admin-bar .ets-site-header {
	top: 32px;
}

.ets-header-inner {
	min-height: 88px;
	display: flex;
	align-items: center;
	gap: 34px;
}

.ets-brand {
	display: inline-flex;
	width: 220px;
	min-width: 220px;
	align-items: center;
	text-decoration: none;
}

.ets-brand img,
.ets-footer-brand img {
	display: block;
	width: 100%;
	height: auto;
}

.ets-site-navigation {
	margin-left: auto;
}

.ets-menu {
	display: flex;
	align-items: center;
	gap: 30px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ets-menu li {
	position: relative;
	margin: 0;
	padding: 0;
}

.ets-menu > li > a {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-height: 88px;
	color: rgba(255, 255, 255, 0.9);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	transition: color 180ms ease;
}

.ets-menu > li > a::before {
	content: "";
	position: absolute;
	left: 0;
	right: 100%;
	bottom: 20px;
	height: 2px;
	background: var(--ets-blue-light);
	transition: right 180ms ease;
}

.ets-menu > li:hover > a,
.ets-menu > li:focus-within > a,
.ets-menu > .current-menu-item > a,
.ets-menu > .current-menu-ancestor > a {
	color: var(--ets-blue-light);
}

.ets-menu > li:hover > a::before,
.ets-menu > li:focus-within > a::before,
.ets-menu > .current-menu-item > a::before,
.ets-menu > .current-menu-ancestor > a::before {
	right: 0;
}

.ets-menu .menu-item-has-children > a::after {
	content: "";
	width: 7px;
	height: 7px;
	margin-left: 8px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
}

.ets-menu .sub-menu {
	position: absolute;
	top: calc(100% - 10px);
	left: 50%;
	z-index: 20;
	min-width: 230px;
	margin: 0;
	padding: 10px;
	list-style: none;
	background: var(--ets-white);
	border: 1px solid #deebf4;
	border-radius: 10px;
	box-shadow: 0 18px 45px rgba(2, 20, 35, 0.18);
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, 10px);
	transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.ets-menu li:hover > .sub-menu,
.ets-menu li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, 0);
}

.ets-menu .sub-menu a {
	display: block;
	padding: 12px 14px;
	border-radius: 7px;
	color: var(--ets-navy-800);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	transition: color 160ms ease, background-color 160ms ease;
}

.ets-menu .sub-menu a:hover,
.ets-menu .sub-menu a:focus {
	color: #086fc4;
	background: #eef7ff;
}

.ets-header-quote,
.ets-mobile-quote,
.ets-footer-quote {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 12px 18px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 6px;
	color: var(--ets-white) !important;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.1;
	text-decoration: none !important;
	white-space: nowrap;
	transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.ets-header-quote:hover,
.ets-header-quote:focus-visible,
.ets-mobile-quote:hover,
.ets-mobile-quote:focus-visible,
.ets-footer-quote:hover,
.ets-footer-quote:focus-visible {
	color: var(--ets-white) !important;
	background: var(--ets-blue);
	border-color: var(--ets-blue);
	transform: translateY(-2px);
}

.ets-menu-toggle,
.ets-mobile-quote {
	display: none;
}

.ets-site-footer {
	position: relative;
	z-index: 2;
	width: 100%;
	padding: 76px 0 26px;
	color: var(--ets-muted);
	background:
		radial-gradient(circle at 82% 0%, rgba(22, 137, 232, 0.12), transparent 30%),
		var(--ets-navy-950);
	border-top: 1px solid var(--ets-line);
}

.ets-footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 0.8fr 0.9fr 1fr;
	gap: clamp(32px, 5vw, 70px);
}

.ets-footer-brand img {
	width: min(230px, 100%);
	margin-bottom: 22px;
}

.ets-footer-brand p {
	max-width: 350px;
	margin: 0;
	color: var(--ets-muted);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.8;
}

.ets-footer-column h2 {
	margin: 8px 0 22px;
	color: var(--ets-white);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 21px;
	font-weight: 700;
	line-height: 1.2;
}

.ets-footer-column ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ets-footer-column li + li {
	margin-top: 12px;
}

.ets-footer-column a {
	color: var(--ets-muted);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.5;
	text-decoration: none;
	transition: color 160ms ease;
}

.ets-footer-column a:hover,
.ets-footer-column a:focus {
	color: var(--ets-blue-light);
}

.ets-footer-contact {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.ets-footer-contact > a + a {
	margin-top: 10px;
}

.ets-footer-contact .ets-footer-quote {
	margin-top: 22px;
	color: var(--ets-white);
}

.ets-footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-top: 58px;
	padding-top: 24px;
	border-top: 1px solid var(--ets-line);
}

.ets-footer-bottom p {
	margin: 0;
	color: #8298aa;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.5;
}

@media (max-width: 1020px) {
	.ets-header-inner {
		min-height: 78px;
		flex-wrap: wrap;
	}

	.ets-brand {
		width: 190px;
		min-width: 190px;
	}

	.ets-menu-toggle {
		display: inline-flex;
		width: 46px;
		height: 46px;
		margin-left: auto;
		padding: 0;
		align-items: center;
		justify-content: center;
		flex-direction: column;
		gap: 5px;
		border: 1px solid rgba(255, 255, 255, 0.25);
		border-radius: 7px;
		background: transparent;
		cursor: pointer;
	}

	.ets-menu-toggle span {
		display: block;
		width: 20px;
		height: 2px;
		background: var(--ets-white);
		transition: transform 180ms ease, opacity 180ms ease;
	}

	.ets-site-header.ets-menu-open .ets-menu-toggle span:nth-child(1) {
		transform: translateY(7px) rotate(45deg);
	}

	.ets-site-header.ets-menu-open .ets-menu-toggle span:nth-child(2) {
		opacity: 0;
	}

	.ets-site-header.ets-menu-open .ets-menu-toggle span:nth-child(3) {
		transform: translateY(-7px) rotate(-45deg);
	}

	.ets-header-quote {
		display: none;
	}

	.ets-site-navigation {
		width: 100%;
		max-height: 0;
		margin: 0;
		overflow: hidden;
		border-top: 0 solid var(--ets-line);
		transition: max-height 260ms ease, padding 260ms ease, border-width 260ms ease;
	}

	.ets-site-header.ets-menu-open .ets-site-navigation {
		max-height: 720px;
		padding: 12px 0 22px;
		border-top-width: 1px;
	}

	.ets-menu {
		align-items: stretch;
		flex-direction: column;
		gap: 0;
	}

	.ets-menu > li > a {
		min-height: 48px;
		width: 100%;
		justify-content: space-between;
		padding: 0 4px;
	}

	.ets-menu > li > a::before {
		display: none;
	}

	.ets-menu .sub-menu {
		position: static;
		min-width: 0;
		margin: 0 0 8px 8px;
		padding: 3px 0 3px 15px;
		background: transparent;
		border: 0;
		border-left: 1px solid rgba(98, 199, 255, 0.32);
		border-radius: 0;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.ets-menu .sub-menu a {
		color: #c6d5e2;
		padding: 10px 12px;
	}

	.ets-menu .sub-menu a:hover,
	.ets-menu .sub-menu a:focus {
		color: var(--ets-blue-light);
		background: rgba(255, 255, 255, 0.06);
	}

	.ets-mobile-quote {
		display: inline-flex;
		width: 100%;
		margin-top: 10px;
		background: var(--ets-blue);
		border-color: var(--ets-blue);
	}

	.ets-footer-grid {
		grid-template-columns: 1.2fr 1fr;
	}
}

@media (max-width: 782px) {
	body.admin-bar .ets-site-header {
		top: 46px;
	}
}

@media (max-width: 680px) {
	.ets-shell {
		width: min(100% - 32px, 1180px);
	}

	.ets-header-inner {
		min-height: 72px;
		gap: 16px;
	}

	.ets-brand {
		width: 165px;
		min-width: 165px;
	}

	.ets-site-footer {
		padding-top: 58px;
	}

	.ets-footer-grid {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.ets-footer-column h2 {
		margin-bottom: 16px;
	}

	.ets-footer-bottom {
		align-items: flex-start;
		flex-direction: column;
		margin-top: 42px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ets-site-header *,
	.ets-site-footer * {
		scroll-behavior: auto !important;
		transition: none !important;
	}
}
