header {
    position: sticky;
    top: 0;
    z-index: 10;
}

header::before {
    content: "";
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, .1);
}

.template--vcs header::before {
    box-shadow: none;
}

.header-menu {
    height: 76px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    padding: 22px 0;
}

.template--vcs .header-menu {
    height: fit-content;
    padding: 40px 0;
}

.header-navigation {
    display: flex;
    align-items: center;
    gap: 40px;
}

@media screen and (max-width: 770px) {
    header::before {
        z-index: 1;
    }
    .header-navigation {
        width: 100%;
        display: none;
        flex-direction: column;
        align-items: start;
        gap: 0;
        background: var(--white-color);
        position: absolute;
        top: 76px;
        left: 0;
        box-shadow: 0px 4px 10px rgba(80, 80, 80, .1);
    }
    .template--vcs .header-navigation {
        width: calc(100% - 36px);
        top: 133px;
        margin-left: 18px;
        border-radius: 12px;
    }
}

.header-navigation.header-navigation--active {
    display: flex;
}

.header-navigation__item {
    font-size: var(--small-font-size);
    line-height: 1;
    font-weight: 600;
    color: var(--primary-text-color);
    text-align: center;
}

.template--vcs .header-navigation__item {
    color: var(--white-color);
}

.template--vcs .header-navigation--active .header-navigation__item{
    color: var(--fourth-text-color);
}

.header-navigation__item a {
    color: inherit;
}

@media screen and (max-width: 770px) {
    .header-navigation__item {
        width: 100%;
        text-align: left;
        border-bottom: 1px solid #ececec;
    }
    .header-navigation__item:last-child {
        border-bottom: none;
    }
    .header-navigation__item a {
        width: 100%;
        display: block;
        padding: 24px;
    }
}

.header-navigation__item a:hover {
    color: var(--primary-cyan-color);
}

.template--vcs .header-navigation__item a:hover {
    color: var(--blue-color);
}

.header-burger {
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 2;
}

@media screen and (min-width: 771px) {
    .header-burger {
        display: none;
    }
}

.header-line {
    display: flex;
    width: 18px;
    height: 2px;
    background: var(--third-text-color);
    border-radius: 20px;
    position: relative;
    transition: background .1s linear;
}

.header-line.header-line--active {
    background: transparent!important;
}

.header-line::after,
.header-line::before {
    content: "";
    display: flex;
    width: 18px;
    height: 2px;
    background: var(--third-text-color);
    border-radius: 20px;
    position: absolute;
    transition: all .1s linear;
}

.template--vcs .header-line,
.template--vcs .header-line::after,
.template--vcs .header-line::before {
    background: var(--white-color);
}

.header-line::after {
    top: 6px;
}

.header-line::before {
    top: -6px;
}

.header-line.header-line--active::after {
    transform: rotate(45deg);
    top: 0;
}

.header-line.header-line--active::before {
    transform: rotate(-45deg);
    top: 0;
}
@media screen and (max-width: 576px) {
    .template--vcs .header-logo {
        max-width: 170px;
    }
}