.header-menu{
    display: flex;
    flex-wrap: wrap;
    height: 0;
    overflow: hidden;
    transition: all 1s cubic-bezier(0.84, 0.02, 0, 1);
    opacity: 1;
    z-index: 3;
}

.header-menu-open{
    height: 100vh;
    transition: all 1.2s cubic-bezier(0.84, 0.02, 0, 1);
    position: fixed;
    top: 0;
    width: 100%;
    background: #fff;
    z-index: 4;
}

.header-menu__item{
    height: 100%;
}

.header-left{
    flex: 1 1 38%;
    transform: translateY(-300%);
    transition: all 1.7s cubic-bezier(0.84, 0.02, 0, 1) .1s;
    opacity: 0;
}

.header-menu-open .header-left{
    transition: all 1.7s cubic-bezier(0.84, 0.02, 0, 1) .1s;
    transform: translateY(0px);
    opacity: 1;
}

.header-right{
    flex: 1 1 47%;
    background: #000000;
    padding: 3rem 2rem 3rem 5vw;
    display: flex;
    flex-direction: column;
    height: auto;
    justify-content: space-between;
    transform: translateY(200%);
    transition: all 1.7s cubic-bezier(0.84, 0.02, 0, 1) .1s;
    opacity: 0;
}

.header-menu-open .header-right{
    transition: all 1.7s cubic-bezier(0.84, 0.02, 0, 1) .1s;
    transform: translateY(0px);
    opacity: 1;
}

.header-left-main-ul{
    display: grid;
    height: 100%;
}

.header-left-main-ul__li{
    display: flex;
    align-items: center;
    width: 100%;
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.84, 0.02, 0, 1);
}

.header-left-main-ul__li:nth-of-type(1){
    transform: translateX(-100%);
}
.header-left-main-ul__li:nth-of-type(2){
    transform: translateX(-200%);
}
.header-left-main-ul__li:nth-of-type(3){
    transform: translateX(-300%);
}
.header-left-main-ul__li:nth-of-type(4){
    transform: translateX(-400%);
}
.header-left-main-ul__li:nth-of-type(5){
    transform: translateX(-500%);
}
.header-left-main-ul__li:nth-of-type(6){
    transform: translateX(-600%);
}
.header-left-main-ul__li:nth-of-type(7){
    transform: translateX(-700%);
}


.header-menu-open .header-left-main-ul__li {
    transition: all 2.1s cubic-bezier(0.84, 0.02, 0, 1);
    opacity: 1;
}

.header-menu-open .header-left-main-ul__li:nth-of-type(1){
    transform: translateX(0px);
}
.header-menu-open .header-left-main-ul__li:nth-of-type(2){
    transform: translateX(0px);
}
.header-menu-open .header-left-main-ul__li:nth-of-type(3){
    transform: translateX(0px);
}
.header-menu-open .header-left-main-ul__li:nth-of-type(4){
    transform: translateX(0px);
}
.header-menu-open .header-left-main-ul__li:nth-of-type(5){
    transform: translateX(0px);
}
.header-menu-open .header-left-main-ul__li:nth-of-type(6){
    transform: translateX(0px);
}
.header-menu-open .header-left-main-ul__li:nth-of-type(7){
    transform: translateX(0px);
}


.header-left-main-ul__li a{
    display: flex;
    text-decoration: none;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #ededed;
    font-weight: 200;
    gap: 3rem;
    padding: 0 2rem;
    background-color: hsl(0deg 0% 95.29% / 0%);
    position: relative;
    overflow: hidden;
}

.header-left-main-ul__li a::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f0f0f0;
    transition: top 0.6s ease;
}

.header-left-main-ul__li a:hover::before {
    top: 0;
}


.header-left-main-ul__li:nth-of-type(7) a{
    border-bottom: none;
}

.header-left-main-ul__li-numm{
    color:#505050;
    font-size: 20px;
    margin-bottom: 1rem;
    z-index: 2;
}

.header-left-main-ul__li-link-name{
    color:#000000;
    font-size: 45px;
    flex-grow: 1;
    transition: all .5s;
    transform: translateX(0px);

}

.header-left-main-ul__li a:hover .header-left-main-ul__li-link-name{
    transform: translateX(30px);
    transition: all .5s;
}


.header-left-main-ul__li-link-icon svg{
    transition: all .5s;
}


.header-left-main-ul__li a:hover svg{
    transform: rotate(-45deg);
    transition: all .5s;

}

.header-left-main-ul__li a:hover svg path{
    fill: #000000;
    transition: all .5s;
}

.header-right-contacts__adress p{
    color: #ffffff;
    font-size: 18px;
    line-height: 28px;
    font-weight: 200;
    padding: 1rem 0;
    margin: 0;
}


.header-right-logo{
    transform: translateX(40px);
    transition: all 2s cubic-bezier(0.84, 0.02, 0, 1) .8s;
    opacity: 0;
    display: flex;
    justify-content: space-between;
}

.header-menu-open .header-right-logo{
    transform: translateX(0px);
    opacity: 1;
    transition: all 2s cubic-bezier(0.84, 0.02, 0, 1) .8s;
}

.header-right-logo svg{

}

.btn-close-header{
    cursor: pointer;
}

.btn-close-header rect {
    transition: all .5s;
}

.btn-close-header:hover rect:nth-of-type(2){
    x: 10;
    width: 20px;
}

.btn-close-header:hover rect:nth-of-type(3){
    width: 10px;
    transform: translateX(20px);
}

.header-right-contacts{
    flex-grow: 1;
    padding: 1vw 0 1vw 0;
    transition: all 2s cubic-bezier(0.84, 0.02, 0, 1) .8s;
    opacity: 0;
    transform: translateX(40px);
}

.header-menu-open .header-right-contacts{
    transform: translateX(0px);
    opacity: 1;
    transition: all 2s cubic-bezier(0.84, 0.02, 0, 1) .8s;
}


.header-right-box-menu{
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-grow: 2;
}

.header-right-box-menu-projecten{
    flex: 1 1 50%;
    transition: all 2s cubic-bezier(0.84, 0.02, 0, 1) .9s;
    transform: translateX(40px);
    opacity: 0;
}

.header-menu-open .header-right-box-menu-projecten{
    transform: translateX(0px);
    opacity: 1;
    transition: all 2s cubic-bezier(0.84, 0.02, 0, 1) .9s;
}

.header-right-box-menu-projecten__item{
    color: #ffffff;
    text-decoration: none;
    font-weight: 200;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 1.5vh 0;
    font-size: 22px;
    border-bottom: 1px solid #2e2e2e;
    transition: all .5s;
}


.header-right-box-menu-projecten__item:hover{
    border-bottom: 1px solid #ffffff;
}

.header-right-box-menu-projecten__item-name{
    transition: all .5s;
    color: #ccc;
}

.header-right-box-menu-projecten__item:hover .header-right-box-menu-projecten__item-name{
    transition: all .5s;
    transform: translateX(20px);
    color: #ffffff;
}

.header-right-box-menu-projecten__item svg{
    transform: rotate(0deg);
    transition: all .5s;
}

.header-right-box-menu-projecten__item:hover svg{
    transform: rotate(-45deg);
    transition: all .5s;
}


.header-right-box-menu-projecten__item:hover svg path{
    fill: #ffffff;
}

.header-right-box-menu-soclinks{
    flex: 1 1 30%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
    padding-top: 1rem;
    transform: translateX(40px);
    opacity: 0;
    transition: all 2s cubic-bezier(0.84, 0.02, 0, 1) 1s;
}

.header-menu-open .header-right-box-menu-soclinks{
    transform: translateX(0px);
    opacity: 1;
    transition: all 2s cubic-bezier(0.84, 0.02, 0, 1) 1s;
}

.header-right-box-menu-soclinks a{
    font-size: 18px;
    color: #cccccc;
    font-weight: 200;
    text-decoration: none;
    transition: all .3s;
}

.header-right-box-menu-soclinks a:hover{
    color: #ffffff;
    transform: translateX(-5px);
}


.header-right-contacts__phone a,
.header-right-contacts__email a{
    font-size: 26px;
    color: #fff;
    font-weight: 200;
    margin: 1.1vh 0;
    display: flex;
    text-decoration: none;
    border-bottom: 1px solid #000000;
    width: fit-content;
    transition: all .5s;
}


.header-right-contacts__phone a::before,
.header-right-contacts__email a::before
{
    content: '';
    border-bottom: 1px solid #ffffff;
    position: absolute;
    /* left: 0; */
    height: 46px;
    width: 0;
    float: left;
    transition: all .5s;
}


.header-right-contacts__phone a:hover::before{
    width: 250px;
    transition: all .5s;
}

.header-right-contacts__email a:hover::before{
    width: 420px;
}

.header-right-contacts__phone a:hover,
.header-right-contacts__email a:hover{
    color:#ccc;
}

.header-right-footer *{
    color: #ffffff;
    font-size: 12px;
    font-weight: 200;
}

.header-right-footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    transform: translateX(4px);
    opacity: 0;
    transition: all 2s cubic-bezier(0.84, 0.02, 0, 1) 1.1s;
}

.header-menu-open .header-right-footer{
    transform: translateX(0px);
    opacity: 1;
    transition: all 2s cubic-bezier(0.84, 0.02, 0, 1) 1.1s;
}

.header-right-footer a{
    color: #cccccc;
    transition: all .3s;
    text-decoration: none;
    border-bottom: 1px solid #656565;
}

.header-right-footer a:hover{
    color: #ffffff;
    border-bottom: 1px solid #FFFFFF;
}

.open-menu-btn{
    cursor: pointer;
    transition: all .2s;
}

.open-menu-btn path{
    fill: #ffffff;
    transition: all .5s;
}

.open-menu-btn:hover{
    opacity: 0.7;
}

.header-main{
    --bgcolor: hsl(0deg 0% 0% / 0%);
}

.header{
    position: absolute;
    z-index: 2;
    width: 100%;
    padding: 0 1.8rem;
}

.hfg_header.site-header {
    box-shadow: 0 0 0 rgba(0,0,0,.1);
}

#header-grid .menu-item a{
    color: #ffffff;
    font-size: 15px;
    font-style: normal;
    font-weight: 200;
    line-height: normal;
    text-transform: uppercase;
}

#header-grid .menu-item {
    margin: 0 calc(var(--spacing) / 1);
}

.has-center .row--wrapper {
    grid-template-columns: 2.5fr auto 1fr;
}

#header-grid .nav-ul li.nv-active>.wrap .caret, .nav-ul li.nv-active>.wrap>a {
    border-bottom: 1px solid #ffffff;
}


#header-grid .menu-item a:hover::before{
    content:'';
    width: 0;
    border-bottom: 1px solid #fff;
    position: absolute;
    top: 26px;
    transition: all .5s;
    right: 0;
}

#header-grid .menu-item a::after{
    content: '';
    width: 0;
    border-bottom: 1px solid #fff;
    position: absolute;
    top: 26px;
    transition: all .5s;
}

#header-grid .menu-item a:hover::after{
    content: '';
    width: inherit;
    right: 0;
}

.logo{
    margin-left: -10px;
}

.header-left-main-ul__li-link-name--icon{
    transform: rotate(0deg) !important;
}

.header-left-main-ul__li-link-name--icon path{
    fill: revert-layer !important;
}


.right-box-header{
    display: flex;
    gap: 2vw;
    align-items: center;
}

.right-box-header p:empty{
    display: none;
}

.header__btn-afspraak {
    position: relative;
    color: #ffffff;
    font-size: 14px;
    font-weight: 300 !important;
    text-transform: uppercase;
    width: 180px !important;
    text-align: center;
    display: flex;
    align-items: center;
    padding: 0.6rem 1.3rem;
    border-radius: 40px;
    cursor: pointer;
    transition: all .4s;
    border: none;
    overflow: hidden;
    backdrop-filter: blur(5px); /* додає розмиття фону */
}

.header__btn-afspraak::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 40px;
    padding: 1px;
    background: linear-gradient(45deg, #f6f6f6, rgba(49, 49, 49, 0), #6b6b6b, #e7e7e7);
    background-size: 300% 300%;
    animation: gradientBorder 5s infinite;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
}

@keyframes gradientBorder {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.header__btn-afspraak:hover{
    backdrop-filter: blur(20px);
    background-color: hsl(0deg 0% 100% / 25%);
}

.cart-btn-header{
    fill: #ffffff;
    width: 21px;
    height: 21px;
}

@media only screen and (max-width: 1199px) {
    .header-left-main-ul__li-link-name {
        font-size: 42px;
    }

    .header-left-main-ul__li a{
        gap: 2rem;
    }

    .header-right-logo .logo {
        width: 65px;
        height: 40px;
    }

    .header-right-contacts__phone a, .header-right-contacts__email a {
        font-size: 24px;
    }

    .header-right-contacts__adress p {
        font-size: 16px;
        line-height: 26px;
    }

    .header-right-box-menu-projecten__item {
        padding: 1vh 0;
        font-size: 18px;
    }

    .header-right-box-menu-soclinks{
        gap: 0.6rem;
    }

    .header-right-box-menu-soclinks a {
        font-size: 16px;
    }

    .header-right-contacts {
        padding: 2vw 0 2vw 0;
    }

    .header-left-main-ul__li-link-icon svg {
        width: 16px;
        height: 16px;
    }

    .header-left {
        flex: 1 1 35%;
    }

    .header-right {
        flex: 1 1 50%;
    }
}

@media only screen and (max-width: 767px) {
    .site-logo img{
        max-width: 85px;
        margin-left: -10px;
    }

    .header-menu-open{
        height: 100vh;
    }

    .header {
        padding: 0 1.2rem;
    }

    .box-img-hover img {
        max-width: 90vw;
    }

    .header-menu__item {
        height: 56%;
    }

    .header-left-main-ul__li-link-name--icon{
        width: 23px;
        height: 23px;
        padding-left: 5px;
    }

    .header-left-main-ul__li-link-name {
        font-size: 21px;
        display: flex;
        align-items: center;
    }

    .header-left-main-ul__li-numm {
        font-size: 16px;
        margin-bottom: 0.4rem;
    }

    .header-left-main-ul__li a {
        gap: 1.7rem;
    }

    .header-left-main-ul__li-link-icon svg {
        width: 13px;
        height: 13px;
    }

    .header-left {
        height: 44% !important;
    }

    .header-right{
        order:1;
        padding: 1.5rem 1.5rem 1rem 1rem;
        z-index: 3;
        position: relative;
    }

    .header-right-contacts__adress,
    .header-right-footer {
        display: none;
    }

    .header-right-box-menu-projecten__item{
        padding: 0.8vh 0;
        font-size: 15px;
    }

    .header-right-contacts__phone a,
    .header-right-contacts__email a {
        font-size: 20px;
    }

    .header-right-logo .logo {
        width: 110px;
        height: auto;
        margin-left: 0;
    }

    .header-menu-open .header-right-logo {
        margin-bottom: 0;
    }

    .header-right-box-menu-projecten__item-icon svg{
        width: 10px;
        height: 10px;
    }

    .header-right-box-menu{
        gap: 3rem;
        margin-bottom: 0;
    }

    .header-right-contacts {
        padding: 2vw 0 2vw 0;
        flex-grow: 0;
    }

}

