a{
	text-decoration: none;
	color: #000;
}
.site-header {
	height: 98px;
	padding: 0 var(--pad);
	background: #626262;
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: sticky;
	top: 0;
	z-index: 10;
}

.brand-button {
	border: 0;
	background: transparent;
	padding: 0;
}

.brand-logo {
	width: 103px;
	height: auto;
	object-fit: contain;
}

.nav-list {
	display: flex;
	align-items: center;
	gap: 62px;
}

.nav-item--products,
.nav-item--services {
	position: static;
}

.nav-item--services {
	position: relative;
}

.nav-trigger {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.nav-trigger svg {
	width: 14px;
	height: 14px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	transition: transform .18s ease;
}

.nav-item--products.is-open .nav-trigger svg {
	transform: rotate(180deg);
}

.nav-item--services.is-open .nav-trigger svg {
	transform: rotate(180deg);
}

.mega-menu {
	position: fixed;
	top: 98px;
	left: 0;
	right: 0;
	display: none;
	grid-template-columns: 1.08fr 1fr 1.28fr;
	gap: clamp(36px, 7vw, 140px);
	padding: 30px max(24px, calc((100vw - 1500px) / 2)) 36px;
	background: #fff;
	color: #202020;
	box-shadow: 0 12px 18px rgba(0, 0, 0, .1);
	border-top: 1px solid #ededed;
	z-index: 20;
}

.nav-item--products:hover .mega-menu,
.nav-item--products:focus-within .mega-menu,
.nav-item--products.is-open .mega-menu {
	display: grid;
}

.nav-item--services:hover .services-mega-menu,
.nav-item--services:focus-within .services-mega-menu,
.nav-item--services.is-open .services-mega-menu {
	display: grid;
}

.menu-column {
	min-width: 0;
}

.menu-group + .menu-group {
	margin-top: 27px;
}

.menu-group-title,
.menu-heading {
	border: 0;
	background: transparent;
	color: #111;
	font-size: 20px;
	font-weight: 500;
	padding: 0 0 14px;
	text-align: left;
}

a.menu-group-title,
a.menu-link {
	text-decoration: none;
}

.menu-group-title::after {
	content: "→";
	margin-left: 10px;
	font-weight: 300;
}

.menu-links {
	display: grid;
	gap: 8px;
}

.menu-link {
	width: fit-content;
	max-width: 100%;
	border: 0;
	background: transparent;
	color: #404040;
	font-size: 15px;
	line-height: 1.45;
	padding: 3px 0;
	text-align: left;
	transition: color .18s ease, transform .18s ease;
}

.menu-link:hover,
.menu-link:focus-visible,
.menu-group-title:hover,
.menu-group-title:focus-visible,
.menu-heading:hover,
.menu-heading:focus-visible {
	color: #000;
	outline: none;
}

.menu-link:hover,
.menu-link:focus-visible {
	transform: translateX(4px);
}

.nav-button {
	color: #fff;
	border: 0;
	background: transparent;
	font-size: 21px;
	padding: 10px 0;
	transition: opacity .18s ease;
}

.nav-button a{
	color: #fff;
	border: 0;
	background: transparent;
	font-size: 21px;
	padding: 10px 0;
	transition: opacity .18s ease;
}

.nav-button:hover,
.nav-button:focus-visible {
	opacity: .65;
	outline: none;
}

.nav-button:hover,
.nav-button:focus-visible a{
	opacity: .65;
	outline: none;
}

.contact-button {
	width: 61px;
	height: 32px;
	border: 1px solid rgba(255, 255, 255, .8);
	border-radius: 8px;
	background: transparent;
	display: grid;
	place-items: center;
}

.contact-button svg {
	width: 21px;
	height: 21px;
	stroke: #fff;
	fill: none;
	stroke-width: 1.6;
}

.menu-button {
	display: none;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, .6);
	border-radius: 5px;
	color: #fff;
	background: transparent;
}

.menu-button span {
	display: block;
	width: 20px;
	height: 1px;
	background: currentColor;
	margin: 5px auto;
}

@media (max-width:850px) {
	.site-header {
		height: 70px;
		padding: 0 20px;
	}

	.brand-logo {
		width: 77px;
	}

	.nav-list {
		display: none;
	}

	.nav-list.is-open {
		position: absolute;
		top: 70px;
		left: 0;
		right: 0;
		display: flex;
		flex-direction: column;
		gap: 0;
		padding: 12px 20px 18px;
		background: #626262;
		box-shadow: 0 8px 15px rgba(0, 0, 0, .15);
	}

	.nav-item--products,
	.nav-item--services {
		width: 100%;
	}

	.nav-trigger {
		justify-content: space-between;
	}

	.mega-menu {
		position: static;
		grid-template-columns: 1fr;
		gap: 18px;
		padding: 14px 0 12px 16px;
		background: rgba(0, 0, 0, .08);
		box-shadow: none;
		border-top: 1px solid rgba(255, 255, 255, .18);
	}

	.nav-item--products .mega-menu {
		display: none;
	}

	.nav-item--products:hover .mega-menu {
		display: none;
	}

	.nav-item--products.is-open .mega-menu {
		display: grid;
        overflow: scroll;
        max-height: 600px;
	}

	.nav-item--services .services-mega-menu,
	.nav-item--services:hover .services-mega-menu {
		display: none;
	}

	.nav-item--services.is-open .services-mega-menu {
		display: grid;
	}

	.menu-group + .menu-group {
		margin-top: 0;
	}

	.menu-group-title,
	.menu-heading,
	.menu-link {
		color: #fff;
	}

	.menu-group-title,
	.menu-heading {
		font-size: 16px;
		padding-bottom: 6px;
	}

	.menu-links {
		gap: 3px;
	}

	.menu-link {
		font-size: 14px;
	}

	.nav-button {
		font-size: 17px;
		width: 100%;
		text-align: left;
		padding: 12px 0;
	}
	
	.nav-button a{
		font-size: 17px;
		width: auto;
		text-align: left;
		padding: 12px 0;
	}

	.contact-button {
		display: none;
	}

	.menu-button {
		display: block;
	}
}
