
/* Шапка */
.header {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999999;
    background: #fff;
}

.headerTop {
    display: flex;
    justify-content: center;
    padding: 15px 20px;
    z-index: 999999;
    background: #fff;
    width: 100%;
}

.headerTopContainer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 100%;
}

.headerTopLeft{
    display: flex;
    align-items: center;
}

.logoContent{
    display: flex;
    align-items: center;
}

.logoImg img, .logoImg svg{
    height: 50px;
}

.logoText{
    width: 268px;
    margin-left: 15px;
}

.logoText span{
    font-weight: bold;
    font-size: 14px;
    color: #333;
}

.logoText p{
    font-size: 12px;
    color: #666;
}


.cityContent{
    /* margin-left: 40px; */
}

.cityContent p{
    color: #666;
    font-size: 14px;    
}

.cityContent a{
    text-decoration: underline;
    font-size: 14px;
}

.cityContent a:hover{
    text-decoration: none;
}


.questionContent{
    display: flex;
    align-items: center;
    margin-left: 40px;
}

.questionIcon{
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #11AA11;
}

.questionContent p{
    font-size: 14px;
    width: 120px;
    color: #333;
    margin-left: 6px;
}

.socialIcons{
    display: flex;
    margin-left: 10px;
}

.socialIcons a {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #555;
    margin: 0 5px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    transition: .4s;
}

.socialIcons a img{
    width: 18px;
}

.phoneContent{
    display: grid;
    justify-items: flex-end;
}

.phone{
    font-weight: bold;
    font-size: 20px;
    transition: .4s;
}

.callBack{
    color: #666;
    text-decoration: underline !important;
    font-size: 14px;
}

.callBack:hover{
    text-decoration: none !important;
}

/* bottom */

.headerBottom{
    display: flex;
    justify-content: center;
    padding: 13px 0;
    width: 100%;
}

.menu{
    list-style: none;
    display: flex;
    /* justify-content: space-between; */
    align-items: center;
}

.menu li a{
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    /* padding: 13px 15px; */
    margin-right: 35px;
    font-size: 12px;
    transition: .4s;
}

.menu li a:hover{
    color: #f2f2f2;
}
/* Бургер */

.burger {
    display: none;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 30px;
    height: 20px;
    cursor: pointer;
}

.burger span {
    display: block;
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #283A30;
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

.burger span:nth-child(1) {
    top: 0;
}

.burger span:nth-child(2) {
    top: 8px;
}

.burger span:nth-child(3) {
    top: 16px;
}

/* Анимация бургера */
.burger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 8px;
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 8px;
}

.mobileBottomContent{
    display: none;
}

/* Адаптивность */
@media (max-width: 1328px) {
    .headerTop{
        padding: 25px 0;
    }
    
    .headerBottom{
        background: none;
        height: 0;
        padding: 0;
    }

    .logoText {
        /* width: 50%; */
        display: none;
    }



    .cityContent {
        display: none;
    }

    .questionContent {
        display: none;
    }

    .socialIcons {
        display: none;
    }

    .phoneContent {
        display: none;
    }

    .burger {
        display: block;
    }

    .menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-100%);
        transition: transform 0.5s ease, opacity 0.5s ease;
        overflow-y: auto; 
    
        z-index: 99999;
        padding-top: 90px;
        height: calc(100vh - 90px);
    }

    .menu.active {
        display: flex;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .menu li {
        margin: 15px 0;
    }

    .menu li a {
        font-size: 16px;
        color: #333;
        margin-right: 0;
    }

    .mobileBottomContent{
        display: block;
    }

    .mobileBottomContent .phoneContent{
        display: flex;
        flex-wrap: wrap;
        margin: 45px 0;
    }

    .mobileBottomContent .phoneContent .phone, .mobileBottomContent .phoneContent .callBack{
        width: 100%;
        text-align: center;
    }

    .mobileBottomContent .socialPhoneContent {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 20px;
    }

    .socialPhoneContent .phone {
        font-size: 18px;
        font-weight: bold;
        color: #333;
        margin: 10px 0;
    }

    .socialIcons {
        display: flex;
        justify-content: center;
        margin-top: 10px;
    }

    .socialIcons a {
        margin: 0 10px;
        width: 40px;
        height: 40px;
    }

    .socialIcons a img {
        width: 20px;
        height: 20px;
    }
}

.cityHeaderContent {
    position: relative;
}

.cityListWrapper {
    display: none; 
    position: absolute;
    top: 30px;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 10px;
    z-index: 10;
    width: 320px;
    border-radius: 0 0 10px 10px;
}

.searchInput {
    width: calc(100% - 16px);
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.cityList {
    max-height: 320px;
    overflow-y: auto;
}

.cityHeaderItem {
    display: block;
    padding: 8px;
    text-decoration: none !important;
    color: #333;
    transition: background-color 0.3s ease;
    border-radius: 3px;
}

.cityHeaderItem:hover {
    background-color: #f0f0f0;
}

.no-results {
    padding: 20px 10px;
    color: #999;
    font-size: 14px;
    text-align: center;
    display: none;
}
