.n-header,
.n-header *,
.n-header *::before,
.n-header *::after {
	box-sizing: border-box;
}

.n-header {
	font-family: "Roboto", sans-serif;
	color: #2f2f2f;
	width: 100%;
}

.n-header a {
	color: inherit;
	text-decoration: none;
}



.n-header p {
	margin: 0;
}

.n-header__container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	max-width: 1170px;
	margin: 0 auto;
}

.n-header__top {
	position: relative;
	z-index: 2;
	height: 44px;
	background: rgba(47, 168, 243, 0.85);
}

.n-header__top .n-header__container {
	height: 100%;
}

.n-header__locations {
	display: flex;
	align-items: center;
	gap: 24px;
}

.n-header__locations-label {
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	color: rgba(47, 47, 47, 0.7);
	white-space: nowrap;
}

.n-header__location {
	position: relative;
    cursor: pointer;
}

.n-header__location-trigger {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	color: #2f2f2f; 
    padding: 0;
    background: none;
    border: none;
	white-space: nowrap;
	transition: color 0.2s;
}

.n-header__location:hover .n-header__location-trigger,
.n-header__location:focus-within .n-header__location-trigger {
	color: #fff;
	text-underline-offset: 3px;
}



.n-header__popover {
	position: absolute;
	top: 24px;
	left: -20px;
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	min-width: max-content;
	padding: 16px 20px;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 8px 12px rgba(26, 51, 77, 0.18);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.2s, visibility 0.2s;
}

.n-header__popover::before {
	content: "";
	position: absolute;
	top: -12px;
	left: 0;
	width: 100%;
	height: 12px;
}

.n-header__location:hover .n-header__popover,
.n-header__location:focus-within .n-header__popover {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.n-header__popover-title {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.7;
	color: #2f2f2f;
	font-feature-settings: "lnum" 1, "pnum" 1;
	white-space: nowrap;
}

.n-header__popover-address {
	font-size: 14px;
	font-weight: 400;
	line-height: 1.7;
	color: rgba(47, 47, 47, 0.7);
	font-feature-settings: "lnum" 1, "pnum" 1;
	white-space: nowrap;
}

.n-header__popover-link {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	color: #52bbfc;
	white-space: nowrap;
}

.n-header__contacts {
	display: flex;
	align-items: center;
	gap: 32px;
}

.n-header__phone {
	display: flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
}

.n-header__phone-number {
	font-family: "DIN Pro", "Arial Narrow", sans-serif;
	font-size: 20px;
	font-weight: 900;
	line-height: 1.2;
	color: #2f2f2f;
	white-space: nowrap;
}

.n-header__phone-caption {
	font-family: "DIN Pro", "Arial Narrow", sans-serif;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	color: rgba(47, 47, 47, 0.7);
	text-transform: uppercase;
	white-space: nowrap;
}

.n-header__messengers {
	display: flex;
	align-items: center;
	gap: 8px;
}

.n-header__chip {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 16px;
	background: #fff;
	flex-shrink: 0;
}

.n-header__main {
	position: relative;
	z-index: 1;
	height: 96px;
	background: rgba(82, 187, 252, 0.8);
}

.n-header__main .n-header__container {
	height: 100%;
}

.n-header__brand {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-shrink: 0;
}

.n-header__logo {
	display: block;
	width: 164px;
	height: 71px;
	object-fit: contain;
}

.n-header__tagline {
	width: 156px;
	padding-left: 16px;
	border-left: 1px solid rgba(47, 47, 47, 0.3);
	font-family: "DIN Pro", "Arial Narrow", sans-serif;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.4;
	text-transform: uppercase;
	color: rgba(47, 47, 47, 0.7);
}

.n-header__nav {
	display: flex;
	align-items: center;
}

.n-header__nav-item {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	padding: 10px;
	border-radius: 12px;
}
.n-header__nav-item:hover {
	background: rgba(255, 255, 255, 0.15);
}
.n-header__nav-title {
	display: flex;
	align-items: center;
	gap: 2px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.32px;
	text-transform: uppercase;
	color: #2f2f2f;
	white-space: nowrap;
}

.n-header__nav-sub {
	font-size: 12px;
	font-weight: 400;
	line-height: 1.2;
	color: rgba(47, 47, 47, 0.7);
	white-space: nowrap;
}

.n-header__callback {
    border: none;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	height: 56px;
	padding: 0 24px;
	border-radius: 100px;
	background: #f3611d;
	box-shadow: 0 0 15px rgba(255, 255, 255, 0.15);
	font-family: "Bebas Neue", sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1;
	letter-spacing: 0.96px;
	text-transform: uppercase;
	text-align: center;
	color: #fff;
	font-feature-settings: "lnum" 1, "pnum" 1;
	white-space: nowrap;
    cursor: pointer;
}

.n-header__callback:hover {
	background: #f77532;
}

.n-header__icon {
	display: block;
	flex-shrink: 0;
	object-fit: contain;
}

.n-header__icon--pin {
	width: 16px;
	height: 16px;
}

.n-header__icon--messenger {
	width: 22px;
	height: 22px;
}

.n-header__icon--external {
	width: 18px;
	height: 18px;
	opacity: 0.5;
}

.n-header__icon--pin-lg {
	width: 20px;
	height: 20px;
}

.n-header__icon--map {
	width: 16px;
	height: 16px;
}

.n-header__bar,
.n-header__menu {
	display: none;
}

.n-header__burger {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 100px;
	background: #fff;
	cursor: pointer;
}

.n-header__burger-icon {
	display: block;
	width: 16px;
	height: 16px;
	object-fit: contain;
}

.n-header__burger-icon--close {
	display: none;
}

.n-header--open .n-header__burger-icon--menu {
	display: none;
}

.n-header--open .n-header__burger-icon--close {
	display: block;
}

.n-header__phone--bar {
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
}

.n-header__phone--bar .n-header__phone-number {
	font-size: 17px;
}

.n-header__phone--bar .n-header__phone-caption {
	font-size: 10.2px;
}

.n-header__logo--bar {
	width: 120px;
	height: 52px;
}

.n-header__menu-label {
	font-size: 12px;
	font-weight: 400;
	line-height: 1.2;
	color: #9a9a9a;
	text-transform: uppercase;
	white-space: nowrap;
}

.n-header__menu-item {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	width: 100%;
	padding: 8px 0;
	border-radius: 12px;
}

.n-header__menu-divider {
	display: block;
	width: 100%;
	height: 1px;
	background: #d8e3ea;
}

.n-header__place {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	width: 100%;
	padding: 8px 0;
}

.n-header__place-text {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.n-header__place-city {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.7;
	color: #2f2f2f;
	font-feature-settings: "lnum" 1, "pnum" 1;
}

.n-header__place-address {
	font-size: 14px;
	font-weight: 400;
	line-height: 1.7;
	color: rgba(47, 47, 47, 0.7);
	font-feature-settings: "lnum" 1, "pnum" 1;
}

.n-header__place-map {
	display: flex;
	align-items: center;
	gap: 4px;
	flex-shrink: 0;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	color: #52bbfc;
	white-space: nowrap;
}

.n-header__menu-contacts {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
}

.n-header__callback--menu {
	width: 100%;
	height: 60px;
	padding: 0 28px;
	font-family: "Oswald", sans-serif;
	font-size: 18px;
	letter-spacing: 1.08px;
}

.n-header__menu-tagline {
	max-width: 302px;
	font-family: "DIN Pro", "Arial Narrow", sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
	text-transform: uppercase;
	color: rgba(47, 47, 47, 0.7);
}

body.n-header-lock {
	overflow: hidden;
}

@media (max-width: 1199px) {
	.n-header__top,
	.n-header__main {
		display: none;
	}

	.n-header__bar {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		height: 64px;
		padding: 0 16px;
		background: rgba(82, 187, 252, 0.8);
	}

	.n-header--open {
		position: fixed;
		inset: 0;
		z-index: 200;
		display: flex;
		flex-direction: column;
		background: #fff;
		overflow: hidden;
	}

	.n-header--open .n-header__bar {
		flex-shrink: 0;
	}

	.n-header--open .n-header__menu {
		display: flex;
		flex: 1;
		flex-direction: column;
		gap: 20px;
		min-height: 0;
		padding: 16px;
		overflow: auto;
		background: #fff;
	}
}
