* {
    box-sizing: border-box;
    outline: none;
    border: none;
    padding: 0;
    margin: 0;
    background: transparent;
    text-decoration: none;
    font-family: 'Golos Text', sans-serif;
}

html {
    background: #1D1918;
    scroll-behavior: smooth;
}

.block {
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.header-block {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(29, 25, 24, 0.8);
    padding: 20px 30px;
}

.block-content {
    width: 100%;
    max-width: 1380px;
    display: flex;
    flex-direction: column;
}

.header-block-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.header-logo {
    width: 203px;
    height: 39px;
    background-image: url("image/header-logo.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.header-right-container {
    display: flex;
    align-items: center;
    gap: 53px;
}

.header-telegram-link {
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-telegram-link i {
    width: 26px;
    height: 26px;
    aspect-ratio: 25/26;
    background-image: url("icon/telegram-link-icon.svg");
}

.header-telegram-link span {
    color: #FFF;
    text-align: right;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%; /* 18px */
}

.header-telegram-link:hover span {
    color: #16BED8;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #FFF;
    text-align: right;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%; /* 18px */
    text-transform: uppercase;
}

i {
    background-position: center;
    background-repeat: repeat;
    background-size: cover;
}

.header-phone-icon {
    width: 18px;
    height: 18px;
    background-image: url("icon/header-phone-icon.svg");
}

.header-phone:hover {
    color: #20C8E2;
}

.header-phone:hover .header-phone-icon {
    background-image: url("icon/header-phone-icon-hover.svg");
}

.header-menu {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 30px;
}

.header-menu-item {
    color: #FFF;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%; /* 18px */
}

.header-menu-item:hover {
    color: #20C8E2;
}

.header-menu-item-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
    color: #FFF;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%; /* 18px */
    cursor: default;
}

.header-menu-item-icon {
    width: 10px;
    height: 9px;
    background-image: url("icon/header-menu-item-icon.svg");
}

.header-menu-item-popup-container {
    display: none;
    flex-direction: column;
    position: absolute;
    left: 0;
    top: 100%;
    z-index: 20;
    padding-top: 13px;
}

.header-menu-item-container:hover .header-menu-item-popup-container {
    display: flex;
}

.header-menu-item-popup {
    display: flex;
    flex-direction: column;
    padding: 8px 0;
    gap: 4px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.10);
    background: #130F0E;
    align-items: stretch;
}

.header-menu-item-popup-item {
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    flex-direction: column;
}

.header-menu-item-popup-item-link {
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #DADADA;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px; /* 125% */
    white-space: nowrap;
    gap: 10px;
}

.header-menu-item-popup-item-link i {
    width: 10px;
    height: 9px;
    background-image: url("icon/header-menu-item-popup-item-link-icon.svg");
}

.header-menu-item-popup-item-link span {
    width: 10px;
    height: 9px;
}

span.header-menu-item-popup-item-link {
    cursor: default;
}

.header-menu-item-popup-item:hover .header-menu-item-popup-item-link {
    background: rgba(12, 180, 206, 0.21);
    color: #0CB4CE;
}

.header-menu-item-popup-item-popup {
    position: absolute;
    left: 100%;
    top: -8px;
    padding: 8px 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.10);
    background: #130F0E;
}

.header-menu-item-popup-item:hover .header-menu-item-popup-item-popup {
    display: flex;
}

.header-menu-item-popup-item-sublink {
    padding: 8px 16px;
    color: #DADADA;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px; /* 125% */
    white-space: nowrap;
    gap: 10px;
}

.header-menu-item-popup-item-sublink:hover {
    color: #0CB4CE;
}



.header-menu-item-container:hover {
    color: #20C8E2;
}

.header-menu-item-container:hover .header-menu-item-icon {
    background-image: url("icon/header-menu-item-icon-hover.svg");
}

@media (max-width: 1390px) {
    .header-menu-item-popup-item-link {
        flex-direction: row-reverse;
        justify-content: flex-end;
    }

    .header-menu-item-popup-item-link i {
        transform: rotate(180deg);
    }

    .header-menu-item-popup-item-popup {
        left: unset;
        right: 100%;
    }
}

@media (min-width: 990px) and (max-width: 1439px) {
    .header-phone {
        font-size: 16px;
    }

    .header-phone-icon {
        width: 16px;
        height: 16px;
    }

    .header-menu {
        gap: 20px;
    }

    .header-menu-item {
        font-size: 16px;
    }

    .header-menu-item-container {
        font-size: 16px;
    }

    .header-block {
        padding: 20px 40px;
    }

    .header-right-container {
        gap: 40px;
    }

    .header-telegram-link i {
        width: 24px;
        height: 24px;
    }

    .header-telegram-link span {
        font-size: 16px;
    }
}

.mobile-menu-btn {
    display: none;
}

@media (max-width: 1100px) {
    .header-telegram-link span {
        display: none;
    }

    .header-telegram-link i {
        width: 32px;
        height: 32px;
    }

    .header-right-container {
        gap: 30px;
    }
}

@media (max-width: 989px) {

    .header-block {
        padding: 14px 15px;
    }

    .header-menu {
        display: none;
    }

    .header-phone {
        display: none;
    }

    .header-logo {
        width: 154px;
        height: 39px;
        background-size: contain;
    }

    .mobile-menu-btn {
        display: block;
        color: #B5B5B5;
        font-size: 16px;
        font-style: normal;
        font-weight: 500;
        line-height: 100%; /* 16px */
        text-transform: uppercase;
    }

    .mobile-menu-btn:hover {
        color: #fff;
    }
}

.overflow-hidden {
    overflow: hidden;
}

.mobile-menu {
    position: fixed;
    z-index: 30;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: #1D1918;
    padding: 14px 15px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-menu-close-btn {
    color: #FFF;
    text-align: right;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%; /* 16px */
    text-transform: uppercase;
}

a.mobile-menu-close-btn:hover {
    color: #20C8E2;
}

.mobile-menu-list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.mobile-menu-list-item {
    padding: 12px 0;
    color: #FFF;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%; /* 16px */
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.mobile-menu-list-item:hover {
    color: #16BED8;
}

.mobile-menu-list-subitem {
    padding: 12px 0 10px;
    margin-left: 15px;
    color: #FFF;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%; /* 16px */
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

a.mobile-menu-list-subitem:hover {
    color: #16BED8;
}

.mobile-menu-list-last-item {
    padding: 12px 0 10px;
    margin-left: 45px;
    color: #B5B5B5;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
    display: flex;
    align-items: center;
    gap: 7px;
}

.mobile-menu-list-last-item i {
    width: 8px;
    height: 8px;
    border-radius: 100%;
    background: #0CB4CE;;
}

.mobile-menu-list-last-item:hover {
    color: #FFF;
}
