/* =============================================
   OPENNESS: НОВЫЙ ХЕДЕР (как Top100)
   ============================================= */
.new-header {
    background: #FFFFFF;
    width: 100%;
    position: relative;
    z-index: 1000;
}

.new-header__container {
    display: flex;
    flex-direction: column;
    padding: 24px 40px 16px;
    gap: 0;
    max-width: 1440px;
    margin: 0 auto;
}

.new-header__top {
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0;
    width: 100%;
    border-bottom: none;
}

.new-header__logo img {
    width: 118px;
    height: 44px;
    object-fit: contain;
}

.new-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.new-header__btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 20px 12px 16px;
    gap: 8px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Wix Madefor Display', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 18px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.new-header__btn--services {
    background: #F4F2F1;
    color: #282828;
}

    .new-header__btn--services:hover {
        background: #E8E5E3;
    }

    .new-header__btn--services.new-header__btn--active {
        background: #E6D4B6;
    }

        .new-header__btn--services.new-header__btn--active:hover {
            background: #D5C3A5;
        }

    .new-header__btn--services span {
        font-family: 'Wix Madefor Display', sans-serif;
        font-weight: 400;
        font-size: 16px;
        line-height: 18px;
        color: #282828;
    }

    .new-header__btn--services svg {
        flex-shrink: 0;
    }

/* Mobile burger/close buttons */
.new-header__mobile-actions {
    display: none;
    align-items: center;
    gap: 20px;
}

.new-header__btn--mobile-burger,
.new-header__btn--mobile-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

/* =============================================
   SLIDE_01: Убрать логотип, поднять заголовок
   ============================================= */
.slide_01-3 .link-block {
    display: none;
}

.slide_01-3 {
    grid-row-gap: 0px;
    padding-top: 40px;
}

.slide_01-3 .untitled-10 {
    margin-top: 40px;
}

.slide_01-3 .image-5 {
    top: -22%;
}

/* =============================================
   DESKTOP: SERVICES PANEL (sp)
   ============================================= */
.sp {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    background: #FFFFFF;
    border-radius: 0 0 40px 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    z-index: 1200;
    padding: 16px 48px 24px;
    box-sizing: border-box;
}

    .sp.sp--open {
        display: block;
    }

.sp__content {
    display: flex;
    gap: 12px;
}

.sp__column {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.sp__card {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 12px;
    gap: 8px;
    width: 100%;
    background: #FFFFFF;
    border-radius: 8px;
    border: none;
    text-decoration: none;
    transition: background 0.15s ease;
    box-shadow: none;
    margin: 0;
}

    .sp__card:hover {
        background: #F4F2F1;
        text-decoration: none;
    }

.sp__card-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    object-fit: contain;
}

.sp__card-title {
    font-family: 'Wix Madefor Display', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 18px;
    color: #282828;
    flex: 1;
    text-align: left;
}

.sp__card:hover .sp__card-title {
    color: #282828;
}

.sp__card-arrow {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.15s ease;
    object-fit: contain;
}

.sp__card:hover .sp__card-arrow {
    opacity: 1;
}

/* Socials row */
.sp__socials {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 0 0 12px;
    margin-top: 16px;
}

.sp__soc-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #F4F2F1;
    border-radius: 100px;
    text-decoration: none;
    transition: background 0.15s ease;
}

    .sp__soc-link:hover {
        background: #E8E5E3;
    }

    .sp__soc-link img {
        width: 24px;
        height: 24px;
    }

/* Overlay */
.sp-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
}

    .sp-overlay.sp-overlay--open {
        display: block;
    }

/* =============================================
   MOBILE MENU (mm)
   ============================================= */
.mm {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1300;
    overflow-y: auto;
    flex-direction: column;
    background: #FFFFFF;
}

    .mm.mm--open {
        display: flex;
    }

.mm__separator {
    width: 100%;
    height: 1px;
    background: #F4F2F1;
}

.mm__separator--transparent {
    opacity: 0;
}

.mm__services {
    display: flex;
    flex-direction: column;
    padding: 32px 24px;
    gap: 20px;
    background: #F4F2F1;
    flex: 1;
}

    .mm__services .mm__separator {
        background: #E5E2E0;
    }

.mm__services-title {
    font-family: 'Wix Madefor Display', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    color: #BDBDBD;
}

.mm__svc-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Wix Madefor Display', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    color: #282828;
    text-decoration: none;
    justify-content: space-between;
}

    .mm__svc-link:hover {
        color: #282828;
        text-decoration: none;
    }

    .mm__svc-link img {
        width: 24px;
        height: 24px;
        flex-shrink: 0;
        object-fit: contain;
    }

    .mm__svc-link img.mm__svc-arrow {
        width: 20px;
        height: 20px;
        opacity: 0;
        margin-left: auto;
        transition: opacity 0.15s ease;
    }

    .mm__svc-link:hover img.mm__svc-arrow {
        opacity: 0.5;
    }

.mm__svc-link-text {
    flex: 1;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media screen and (max-width: 768px) {
    .new-header__container {
        padding: 16px 24px 16px;
    }

    .new-header__btn--services {
        display: none;
    }

    .new-header__mobile-actions {
        display: flex;
    }

    .sp {
        display: none !important;
    }

    .slide_01-3 .untitled-10 {
        margin-top: 20px;
    }
}

@media screen and (min-width: 769px) {
    .new-header__mobile-actions {
        display: none !important;
    }

    .mm {
        display: none !important;
    }
}

@media screen and (max-width: 550px) {
    .new-header__container {
        padding: 12px 16px 12px;
    }

    .new-header__logo img {
        width: 90px;
        height: auto;
    }
}