header {
  	box-sizing: border-box;
  	background-color: #FFFFFF;
    position: sticky;
    top: 0;
    z-index: 10000;
}

.header-wrapper {
	display: flex;
  	justify-content: space-between;
  	align-items: center;
  	width: 100%;
}

.header-left img {
	padding-top: 1vh;
	padding-left: 1vw;
	width: 9vw;
}

.header-right {
  	gap: 20px;
  	align-items: center;
}

.header-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
  	box-sizing: border-box;
}

.header-line {
  	border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #E1E1E1;
}

.header-phone-email {
	padding-bottom: 2vh;
	text-align: right;
}

.header-phone-email span {
	padding-left: 1%;
	padding-right: 1%;
}

.header-phone-email a {
	text-decoration: none;
	color: #424146;
}

.header-phone-email a:hover {
	text-decoration: none;
	color: #2E75BA;
}

.header-mobile-contacts {
	display: none;
	padding-top: 50px;
}

.header-mobile-contacts h3 {
	font-weight: bold;
}

.header-mobile-contacts a {
	text-decoration: none;
	color: #424146;
}

.header-mobile-contacts a:hover {
	text-decoration: none;
	color: #2E75BA;
}

.logo {
	text-decoration: none;
}

/* MENU */
.header-menu nav ul {
	display: flex;
	list-style: none;
}

.header-menu nav ul li {
	margin-left: 2vh;
}

.header-menu nav ul li a {
	text-decoration: none;
	color: #424146;
	font-weight: 500;
	white-space: nowrap;
	font-size: 1vw;
	padding: 1vh 1.5vw;
	position: relative;
	transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
	background-color: transparent;
	border-radius: 0;
	box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

.header-menu nav ul li a:hover {
	background-color: #2E75BA;
	color: #FFFFFF;
	box-shadow: 0 14px 28px rgba(46, 117, 186, 0.25), 0 10px 10px rgba(46, 117, 186, 0.22);
	transform: translateY(-3px);
}

.mobile-menu-btn {
	display: none;
	background: none;
	border: none;
	font-size: 24px;
	cursor: pointer;
}

.header-phone-email form {
	display: inline;
}

.header-mobile-search {
	display: none;
}

@media screen and (min-width: 1025px) {
    .menu-close-btn {
        display: none !important;
    }
}

@media screen and (max-width: 1024px) {
    header {
        position: sticky;
        top: 0;
        background: #FFFFFF;
        padding: 10px 0;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        z-index: 10000;
    }
    
    .header-wrapper {
        flex-direction: row;
        align-items: center;
        position: relative;
    }
    
    .header-left {
        width: auto;
        flex: 1;
    }
    
    .header-left img {
        width: 120px;
        padding: 0;
    }
    
    .header-right {
        width: auto;
        flex: 1;
        display: flex;
        justify-content: flex-end;
    }
    
    .header-phone-email {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        font-size: 30px;
        cursor: pointer;
        color: #2E75BA;
        width: 40px;
        height: 40px;
        line-height: 40px;
        text-align: center;
        padding: 0;
        margin: 0;
    }
    
    .header-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: #FFFFFF;
        z-index: 10001;
        transition: right 0.3s ease;
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
        overflow-y: auto;
        padding: 80px 20px 30px;
    }
    
    .header-menu.active {
        right: 0;
    }
    
    .menu-close-btn {
        position: absolute;
        top: 15px;
        right: 25px;
        font-size: 48px;
        background: none;
        border: none;
        line-height: 1;
        color: #2E75BA;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        z-index: 10002;
        border-radius: 50%;
        transition: background-color 0.3s ease;
    }
    
    .menu-close-btn:hover {
        background-color: rgba(46, 117, 186, 0.1);
    }
    
    .header-menu nav ul {
        flex-direction: column;
    }
    
    .header-menu nav ul li {
        margin: 0 0 15px 0;
    }
    
    .header-menu nav ul li a {
        font-size: 16px;
        padding: 12px 15px;
        display: block;
        text-align: left;
        background: #f5f5f5;
        border-radius: 5px;
    }
    
    .header-mobile-contacts {
        display: block;
        margin-top: 30px;
        padding-top: 20px;
        border-top: 1px solid #eee;
    }
    
    .header-mobile-contacts p {
        margin: 10px 0;
        font-size: 14px;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .header-mobile-contacts svg {
        width: 18px;
        height: 18px;
        fill: #2E75BA;
    }

    .header-mobile-contacts h3 {
        font-size: 16px;
    }
}

@media screen and (max-width: 768px) {
    .header-left img {
        width: 100px;
    }
    
    .mobile-menu-btn {
        font-size: 26px;
        width: 35px;
        height: 35px;
        line-height: 35px;
    }
    
    .header-menu {
        width: 85%;
        padding: 70px 15px 20px;
    }
    
    .menu-close-btn {
        font-size: 48px;
        top: 10px;
        right: 25px;
    }
}

@media screen and (max-width: 480px) {
    .header-left img {
        width: 90px;
    }
    
    .mobile-menu-btn {
        font-size: 24px;
        width: 32px;
        height: 32px;
        line-height: 32px;
    }
    
    .header-menu {
        width: 90%;
        padding: 60px 12px 15px;
    }
    
    .menu-close-btn {
        font-size: 48px;
        top: 8px;
        right: 15px;
    }
}