.site-header {
    position: relative;
    width: 100%;
    height: 334px;
    background: linear-gradient(to bottom, #348DBF, #A7EAFF);
    overflow: hidden;
}

/* clouds */
.clouds {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.cloud-layer {
    position: absolute;
    width: 300%;
    height: 100%;
    background-size: auto 100%;
    background-repeat: repeat-x;
    animation: moveClouds linear infinite;
}

.cloud-layer:nth-child(1) {
    animation-duration: 270s;
    top: 100px;
    background-image: url('../../assets/images/cloud1.webp');
    z-index: 1;
}

.cloud-layer:nth-child(2) {
    animation-duration: 190s;
    top: 129px;
    z-index: 2;
    background-image: url('../../assets/images/cloud2.webp');
}

.cloud-layer:nth-child(3) {
    animation-duration: 160s;
    top: 168px;
    background-image: url('../../assets/images/cloud3.webp');
    z-index: 3;
}

.cloud-layer:nth-child(4) {
    animation-duration: 140s;
    top: 190px;
    background-image: url('../../assets/images/cloud3.webp');
    z-index: 3;
}


.header-inner {
    width: 95%;
    max-width: 690px;
    margin: 32px auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 83px;
}

.logo-link {
    opacity: 1;
}

.site-logo {
    min-width: 62px;
    height: 83px;
}

.menu-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-grid:first-child {
    justify-content: end;
}

.menu-item a {
    color: #FFFFFF;
    font-size: 17px;
    font-weight: 500;
    font-family: Inter, sans-serif;
    line-height: 23px;
    opacity: 1;
}

.menu-item a:hover {
    color: #FFFFFF;
    opacity: 0.7;
}

.menu-item:nth-child(3), .menu-item:nth-child(4), .menu-item:nth-child(5) {
    opacity: 0.6;
}


.burger-menu {
    display: none;
    background-color: transparent;
}

.mobile-menu {
    display: none;
    position: absolute;
    background-color: #FFFFFF;
    width: 361px;
    top: 70px;
    right: 16px;
    z-index: 100;
    border-radius: 16px;
    padding-top: 16px;
    padding-bottom: 24px;
}

/* Показываем меню при добавлении класса active */
.mobile-menu.active {
    display: block;
    transition: transform 0.3s ease;
}

/* Запрещаем прокрутку body при открытом меню */
body.menu-open {
    overflow: hidden;
}

.mobile-menu-header-block {
    display: flex;
    justify-content: space-between;
    padding: 0 16px 0 24px;
}

.mobile-menu-logo {

}

.mobile-menu-content {
    display: flex;
    justify-content: space-around;
}

.mobile-menu-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;

    .menu-item a {
        color: #000000;
    }
}

.mobile-menu-close-icon {
    background-color: #F1F2F3;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    width: 41px;
    height: 41px;
    justify-content: center;
}

.mobile-menu-close {

}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #06101566;
    backdrop-filter: blur(8px);
    z-index: 50;
    display: none;
}

.mobile-menu-overlay.active {
    display: block;
}

@media screen and (max-width: 768px) {
    .header-inner {
        margin: 32px;
        max-width: 100%;
        width: auto;
    }

    .menu-grid:nth-child(1),
    .menu-grid:nth-child(3) {
        display: none;
    }

    .burger-menu {
        display: block;
    }

    .clouds {
        top: -52px;
    }

    .cloud-layer:nth-child(1) {
        top: 120px;
        animation-duration: 170s;
    }
    .cloud-layer:nth-child(1) {
        top: 153px;
        animation-duration: 90s;
    }
    .cloud-layer:nth-child(1) {
        top: 172px;
        animation-duration: 60s;
    }

    .site-header {
        height: 230px;
    }
}