nav{
    width: 100%;
    z-index: 99;
    /* box-shadow: var(--shadow-16-16--20);*/
} 
.cont{
    width:100%;
}
.logo{
    display: flex;
    align-items: center;
}
.nav-desktop{
    width: 100%;
    padding: 12px 140px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
}

.header-btns{
    width: auto;
    display: flex;
    gap: 12px;
}
.h-b-btn{
    display: flex;
    justify-content: center;
    gap: 4px;
    align-items: center;
    padding: 8px 12px 8px 8px;
    background: none;
    border-radius: 16px;
}
.h-b-btn:hover {
    background: var(--light-gray);
    cursor: pointer;
}
.h-b-btn-active{
    background: var(--light-gray);
}

.h-b-btn img{
    height:20px;
}
.h-b-btn span{
    font-size: 16px;
    line-height: 20px
}
.h-b-b-menu-popup{
    background: var(--white);
    padding: 32px 72px 32px 32px;
    width:auto;
    border-radius: 0 0 24px 24px;
    position: absolute;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    top: 64px;
    box-shadow: var(--shadow-16-16--20);
}
.h-b-b-mp-link{
    font-size: 16px;
    line-height: 20px;
    color:var(--black);
    font-weight: 500;
}
.h-b-b-mp-link:hover{
    opacity: 75%;
}
.h-b-b-contact-popup{
    display: flex;
    background: var(--white);
    padding: 48px 16px;
    width:auto;
    border-radius: 0 0 24px 24px;
    position: absolute;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    top: 64px;
    right: 140px;
    box-shadow: var(--shadow-16-16--20);
    z-index: 4;
}
.h-b-b-cp-block{
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.h-b-b-cp-b-title{
    font-size: 16px;
    line-height: 20px;
    color:var(--black);
    font-weight: 600;
}
.h-b-b-cp-b-links-wrap{
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.h-b-b-cp-b-lw-link{
    font-size: 24px;
    line-height: 125%;
    /* color: var(--black); */
    color:  #777777;
    /* background: #777777; */
    /* -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text; */
    font-weight: 500;
}
/* .h-b-b-cp-b-lw-l-span{
    color: var(--gray);
} */
.h-b-b-cp-b-lw-link:hover{
    color: #27A7E7;
    /* -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text; */
    font-weight: 500;
}
.h-b-b-cp-b-write-wrap, .h-b-b-cp-b-ss-wrap{
    display: flex;
    gap: 16px;
}
.h-b-b-cp-b-ww-link, .h-b-b-cp-b-ssw-link{
    height: fit-content;
}
.h-b-b-cp-b-f-input-wrap{
    display: flex;
    gap: 8px;
}
.h-b-b-cp-b-form{
    display: flex;
    flex-direction: column;
    gap: 8px;
        width: min-content;
}
.h-b-b-cp-b-f-iw-phone-inp, .h-b-b-cp-b-f-iw-time-inp{
    
    padding: 10px 8px;
    margin: 0;
    border-radius: 12px;
    border:2px solid var(--light-gray);
    font-family: var(--int);
    font-size: 16px;
    line-height: 100%;
    color:var(--gray);
    background: var(--light-gray);
    appearance: base-select;
    outline: 0px;
    display: flex;
    align-items: center;
}
.h-b-b-cp-b-f-iw-time-inp{
    width: 128px;
}
.h-b-b-cp-b-f-iw-phone-inp:hover, .h-b-b-cp-b-f-iw-phone-inp:focus, .h-b-b-cp-b-f-iw-phone-inp:active, .h-b-b-cp-b-f-iw-time-inp:hover, .h-b-b-cp-b-f-iw-time-inp:focus, .h-b-b-cp-b-f-iw-time-inp:active{
    background: var(--white);
    border: 2px solid var(--tel-color);
    outline: 0px;
}
.h-b-b-cp-b-f-iw-primary-btn{
    width: 44px;
    min-width: 40px;
    height: 44px;
    font-size: 24px;
    text-align: center;
    vertical-align: middle;
    font-weight: 900;
    line-height: 20px;
    color: var(--white);
    background: var(--tel-color);
    border: 0 solid var(--tel-color);
    border-radius: 12px;
    padding-bottom: 8px;
    cursor: pointer;
}
.h-b-b-cp-b-f-checkbox-block{
    font-family: var(--int);
    font-weight: 400;
    font-size: 12px;
    line-height: 130%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
}
.h-b-b-cp-b-f-cb-c-link, .h-b-b-cp-b-f-cb-checkbox{
    appearance: base-select;
    color: var(--tel-color) !important;
}
.nav-mob{
    display: none;
}
.header-tabs{
    background-color: var(--white);
}
.h-t-block{
    display: flex;
    gap: 4px;
    justify-content: center;
    align-items: center;
    transition: 0.2s;
}
.h-t-b-link{
    padding: 12px 16px;
    font-size: 1.25vw;
    border-radius: 12px 12px 0 0;
}
.h-t-b-link:hover{
    background: var(--light-gray);
}
.h-t-b-link-active{
    background: var(--light-gray);
}
@media (min-width: 180px) and (max-width: 768px){
    .nav-desktop{
        display: none;
    }
    .nav-mob{
        display: flex;
        padding: 6px 12px;
        background: var(--white);
        justify-content: space-between;
        width: 100%;
        position: relative;
    }
    .h-t-block{
        justify-content: start;
        overflow-x: auto;
        -ms-overflow-style: none;
        scrollbar-width: none;
        white-space: nowrap;
        gap: 0px;
    }
    .h-t-b-link{
        padding: 4px 12px;
        font-size: 12px;
    }
    .nm-logo{
        display: flex;
        align-content: center;
        justify-content: center;
        flex-direction: row;
    }
    .nm-logo img{
        width: 100%;
    } 
    .nm-burger{
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
    }
    .nm-burger img{
        margin: 0;
        padding: 0;
    }
    .h-b-b-contact-popup{
        margin: 0;
        left:0;
        right: 0;
        top: 0;
        bottom: 0;
        height: 100vh;
    }
    .nm-pop-close{
        width: 100%;
        position: absolute;
        top: 14px;
        right: 16px;
        display: flex;
        margin: auto;
        justify-content: flex-end;
    }
    .h-b-b-cp-b-f-iw-phone-inp{
        width: calc(100% - (128px + 8px + 8px + 44px))
    }
    .h-b-b-cp-b-form {
        width: auto;
    }

}
@media (min-width: 769px) and (max-width: 960px){
    .nav-desktop{
        padding: 12px 48px;
    }
    .h-b-b-contact-popup{
        right: 48px;
    }
        .h-b-b-cp-b-form {
        width: auto;
    }
}