header {
    transform: none;
    .bottom::before {
        border-bottom: none;
    }
}
main {
    --info-height: 60px;
    position: relative;
    padding-bottom: var(--info-height);
    .partner-info-box {
        pointer-events: none;
        position: absolute;
        inset: 0;
        z-index: 5;
        .partner-info {
            pointer-events: all;
            position: sticky;
            top: calc(100dvh - var(--info-height));
            background: var(--2);
            overflow: hidden;
            transform: translateY(100%);
            transition: transform .2s;
            .wrapper {
                position: relative;
                display: flex;
                align-items: center;
                gap: 10px;
                padding-block: 5px;
                transform: translateY(-120%);
                transition: transform .2s linear .4s;
                height: var(--info-height);
                > div {
                    display: flex;
                    align-items: center;
                    gap: inherit;
                }
            }
            .name {
                color: var(--white);
                font-size: 30px;
                font-weight: 500;
                letter-spacing: 0.2px;
                margin-right: auto;
            }
            .red-btn {
                display: flex;
                align-items: center;
                padding-inline: 25px;
                .text-h b {
                    display: flex;
                    gap: 6px;
                    &::before {
                        font: 100 20px/1 icon;
                    }
                }
                &.tel .text-h b::before {
                    content: '\e912';
                }
                &.email .text-h b::before {
                    content: '\e913';
                }
            }
            .square-r {
                &::before {
                    font: 100 20px/1 icon;
                    color: var(--white);
                }
                &.telegram::before {
                    content: '\e907';
                }
                &.whatsapp::before {
                    content: '\e90f';
                }
                &.viber::before {
                    content: '\e911';
                }
            }
            &.show {
                transform: translateY(0);
                .wrapper {
                    transform: translateY(0);
                }
            }
        }
    }
}
.breadcrumbs {
    a,
    p {
        color: var(--text5);
    }
}
.promo-box {
    padding-top: 144px;
    background: url(../images/partner/bg.webp) center center / cover no-repeat;
    position: relative;
    .img {
        position: absolute;
        inset: 0;
        overflow: hidden;
        pointer-events: none;
        img {
            position: absolute;
            left: max(500px, 46.6vw);
            bottom: -224px;
            width: 784px;
            height: auto;
        }
    }
}
.promo {
    position: relative;
    z-index: 1;
    padding: 89px 500px 40px 0;
    min-height: 757px;
    overflow: hidden;
    h1 {
        color: var(--text);
        max-width: 455px;
        margin-bottom: 10px;
        font-size: 80px;
        font-weight: 600;
        line-height: 100%;
        letter-spacing: 0.2px;
        text-transform: none;
    }
    .ratings:has(img) {
        display: flex;
        align-items: center;
        gap: 24px;
        flex-wrap: wrap;
        min-height: 40px;
        margin-block: 30px;
        img {
            width: auto;
            height: 40px;
        }
    }
    .ratings:has(img) + .languages {
        margin-top: 0px;
    }
    .languages {
        letter-spacing: 0.2px;
        margin-bottom: 60px;
        display: flex;
        align-items: center;
        gap: 6px;
        margin-top: 30px;
        &::before {
            content: '';
            width: 20px;
            aspect-ratio: 1;
            flex-shrink: 0;
            background: url(../images/partner/lang.svg) 0 0 / cover;
        }
    }
    .contacts {
        display: flex;
        flex-direction: column;
        gap: 10px;
        > a {
            font-size: 18px;
            font-weight: 500;
            letter-spacing: 0.2px;
            width: fit-content;
            transition: color var(--tz);
        }
        div {
            display: flex;
            gap: 10px;
            margin-top: 6px;
            a {
                display: flex;
                align-items: center;
                justify-content: center;
                width: 50px;
                aspect-ratio: 1;
                flex-shrink: 0;
                background-color: var(--white);
                transition: color var(--tz), background-color var(--tz);
                &::before {
                    font: 100 20px/1 icon;
                }
                &.telegram::before {
                    content: '\e907';
                }
                &.whatsapp::before {
                    content: '\e90f';
                }
                &.viber::before {
                    content: '\e911';
                }
            }
        }
    }
}
.bg-box:has(.competencies) .bg {
    background: url(../images/team/competencies.webp) top center / cover;
    height: 200%;
}
.competencies {
    padding-block: 60px;
    .wrapper {
        position: relative;
        z-index: 1;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    h2 {
        color: var(--white);
        margin-bottom: 30px;
        font-size: 24px;
    }
    nav {
        display: flex;
        flex-direction: column;
        gap: 10px;
        a {
            width: fit-content;
            overflow: hidden;
            span {
                color: var(--white);
                font-size: 20px;
                font-weight: 300;
                line-height: 1.4;
                letter-spacing: 0.2px;
                display: flex;
                align-items: center;
                transform: translateX(-24px);
                opacity: .8;
                transition: transform .2s, opacity .2s;
                gap: 6px;
                &::before {
                    content: '\e90c';
                    margin-top: 2px;
                    font: 100 0.65lh / 1 icon;
                }
            }
        }
    }
}
.page-content {
    position: relative;
    .bg {
        width: max(100%, 2640px);
        height: max(3346px, 120%);
        background: url(../images/partner/page-bg.webp) top center / cover;
        bottom: initial;
        top: 0;
    }
    .slider .white-btn {
        &:is(.arrow-l, .arrow-r) {
            --btn-color: var(--text);
        }
        background: hsl(0, 0%, 100%);
        .text-h b:last-child {
            background: none;
        }
    }
    section {
        position: relative;
        padding: 60px 0;
        .wrapper {
            display: flex;
            flex-direction: column;
        }
        .slider {
            margin-top: 10px;
            .slides {
                margin-bottom: 40px;
                .slide .box {
                    padding: 20px;
                }
            }
        }
        .controls {
            max-width: 610px;
        }
    }
    .info {
        background: rgba(140, 140, 140, 0.1);
        .wrapper {
            gap: 20px;
        }
        .content {
            display: flex;
            flex-direction: column;
            gap: 6px;
            max-width: 900px;
            margin-top: -10px;
            /* >*:first-child {
                font-size: 20px;
                font-weight: 500;
                letter-spacing: 0.04px;
                * {
                    font-size: inherit;
                }
            } */
            strong {
                color: var(--2);
            }
            * {
                line-height: 1.2;
                font-weight: 300;
                letter-spacing: 0.032px;
            }
            strong {
                color: var(--2);
                font-weight: 700;
            }
            ul {
                display: flex;
                flex-direction: column;
                gap: 10px;
                list-style: none;
                li {
                    padding-left: 24px;
                    background: linear-gradient(var(--2)) left 7px top 8px / 6px 6px no-repeat;
                }
            }
            strong {
                font-weight: 700;
            }
        }
        .item {
            background: var(--white);
            padding: 20px;
            .title {
                font-weight: 500;
                line-height: 1.2;
                letter-spacing: 0.032px;
                margin-bottom: 10px;
            }
            ul {
                list-style: none;
                display: flex;
                flex-direction: column;
                gap: 7px;
                li {
                    display: flex;
                    gap: 4px;
                    font-weight: 300;
                    line-height: 1.2;
                    letter-spacing: 0.032px;
                    &::before {
                        content: '\e910';
                        color: var(--22);
                        font: 100 20px/1 icon;
                    }
                }
            }
        }
    }
    .projects {
        background: rgba(0, 0, 0, 0.16);
        .slide {
            .img {
                transform: none !important;
                opacity: 1 !important;
                background: none;
                z-index: -1;
                &::after {
                    content: '';
                    position: absolute;
                    inset: 0;
                    background: rgba(255, 255, 255, 0.8);
                    backdrop-filter: blur(4px);
                    opacity: 0;
                    transition: opacity var(--tz);
                }
            }
            .box {
                position: relative;
                z-index: 1;
                min-height: 280px;
                display: flex;
                flex-direction: column;
                > *:not(.img) {
                    opacity: 0;
                    transition: opacity var(--tz);
                    z-index: 1;
                }
                .name {
                    letter-spacing: 0.04px;
                }
                .arrow {
                    margin-top: auto;
                }
            }
        }
    }
    .news {
        background: rgba(255, 255, 255, 0.7);
        .slide {
            background: #fff;
            .content * {
                font-weight: 300;
                letter-spacing: 0.2px;
            }
        }
    }
}
@media screen and (max-width: 1279px) {
    main {
        --info-height: 120px;
        .partner-info-box .partner-info .wrapper {
            flex-wrap: wrap;
            justify-content: center;
            > div {
                flex: 1 0 100%;
                order: 1;
            }
        }
    }
    .promo-box {
        padding-top: 90px;
        .img img {
            left: auto;
            right: 0;
            bottom: -115px;
            width: 400px;
        }
    }
    .promo {
        padding: 60px 400px 40px 0;
        min-height: auto;
        h1 {
            font-size: 60px;
        }
        .ratings:has(img) img {
            height: 30px;
        }
        .languages {
            margin-bottom: 40px;
        }
    }
}
@media screen and (max-width: 767px) {
    main {
        --info-height: 100px;
        .partner-info-box .partner-info {
            .wrapper {
                padding-block: 10px;
            }
            .red-btn {
                --height: 40px;
                max-width: 300px;
                width: 100%;
                padding: 0;
            }
            .square-r {
                --size: 30px;
            }
            .name {
                font-size: 20px;
            }
        }
    }
    .promo-box {
        padding-top: 70px;
        .img {
            position: relative;
            min-height: 430px;
            border-bottom: 1px solid var(--2);
            margin-inline: 10px;
            img {
                left: -10%;
                right: -10%;
                bottom: -115px;
                width: 120%;
                max-width: 420px;
                margin: 0 auto;
            }
        }
    }
    .promo {
        padding: 20px 0 10px;
        min-height: auto;
        h1 {
            font-size: 40px;
        }
        .ratings:has(img) {
            gap: 12px;
            img {
                height: 30px;
            }
        }
    }
    .competencies {
        .wrapper {
            grid-template-columns: 1fr;
            gap: 30px;
        }
        h2 {
            font-size: 20px;
        }
        nav a {
            width: fit-content;
            overflow: hidden;
            span {
                font-size: 16px;
                transform: translateX(-20px);
            }
        }
    }
}
@media (hover: hover) {
    .breadcrumbs a:hover {
        color: var(--22);
    }
    .promo .contacts {
        > a:hover {
            color: var(--2);
        }
        div a:hover {
            color: var(--white);
            background-color: var(--2);
        }
    }
    .competencies nav a:hover span {
        transform: translateX(0);
        opacity: 1;
    }
    .page-content .projects .slide:hover {
        .box > *:not(.img) {
            opacity: 1;
        }
    }
}