main {
    isolation: isolate;
    background: url(../images/about/promo.webp) top center / 100% auto no-repeat;
    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        aspect-ratio: 192 / 95;
        pointer-events: none;
        background: linear-gradient(0deg, #1C1D31 0%, rgba(28, 29, 49, 0.906249) 19.91%, rgba(28, 29, 49, 0.761946) 36.54%, rgba(28, 29, 49, 0) 100%) left bottom / 100% 100px no-repeat;
        z-index: -1;
    }
}
.promo {
    padding-top: 302px;
    .box {
        display: flex;
        flex-direction: column;
        .tag {
            margin-bottom: 20px;
        }
        h1 {
            margin-block: -10px 10px;
        }
        p {
            max-width: 590px;
            margin-bottom: 48px;
            font-size: 24px;
            line-height: 133%;
        }
        .btn {
            max-width: 354px;
        }
    }
}
.boost {
    .top {
        display: grid;
        grid-template-columns: 967px 1fr;
        margin-bottom: 40px;
        h2 {
            margin-block: -5px 5px;
        }
        .tag {
            margin-left: auto;
        }
        p {
            font-size: 24px;
            line-height: 120%;
        }
    }
    .items {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 1fr;
        border-block: 1px solid transparent;
        border-image-source: linear-gradient(90deg, #35343D 0%, #8D8BA3 49.79%, #35343D 100%);
        border-image-slice: 1;
        > * {
            padding: 40px;
        }
        div {
            display: flex;
            flex-direction: column;
            background: rgba(141, 139, 163, 0.2);
            span {
                display: flex;
                align-items: center;
                gap: 6px;
                margin-bottom: auto;
                text-transform: uppercase;
                line-height: 120%;
                color: #8D8BA3;
                &::before {
                    content: '\e900';
                    font: 50px icon;
                }
            }
            h3 {
                margin-top: 58px;
                font: 700 32px 'Mazzard';
            }
            p {
                line-height: 120%;
            }
        }
        > p {
            align-content: end;
            text-align: center;
            font-size: 20px;
            line-height: 135%;
            color: #8D8BA3;

            &:nth-child(1 of p) {
                background: url(../images/about/i1.webp) top center / 100% auto no-repeat, url(../images/about/glass.webp) center center / cover;
            }
            &:nth-child(2 of p) {
                background: url(../images/about/i2.webp) top center / 100% auto no-repeat, url(../images/about/glass.webp) center center / cover;
            }
            &:nth-child(3 of p) {
                background: url(../images/about/i3.webp) top center / 100% auto no-repeat, url(../images/about/glass.webp) center center / cover;
            }
        }
    }
}
.capabilities {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin-top: -3px;
    &::before,
    &::after {
        content: '';
        position: absolute;
        pointer-events: none;
    }
    &::before {
        top: 0;
        left: 0;
        height: 100%;
        width: calc(100% - ((100% - 1755px) / 2));
        background: url(../images/about/bg.webp) top center / cover;
    }
    &::after {
        top: 28px;
        left: 50%;
        transform: translateX(-62.5%);
        aspect-ratio: 25 / 10;
        width: 2500px;
        background: url(../images/about/q.webp) top center/ 100% 100%;
    }
    .wrapper {
        position: relative;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        &::before {
            content: '';
            position: absolute;
            right: 0;
            bottom: 0;
            width: 100vw;
            height: 1px;
            z-index: 1;
            pointer-events: none;
            background: rgba(230, 233, 248, 0.5);
        }
        .box {
            .tag {
                display: block;
                margin-bottom: 238px;
            }
            h2,
            p {
                max-width: 668px;
            }
            h2 {
                margin-block: -10px 13px;
            }
            p {
                font-size: 24px;
                line-height: 120%;
            }
        }
        .items {
            position: relative;
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            grid-auto-rows: 440px;
            &::before {
                content: '';
                position: absolute;
                inset: 0;
                pointer-events: none;
                background: url(../images/about/s.svg) center center / auto no-repeat, linear-gradient(#8D8BA3) center center / 100% 1px no-repeat, linear-gradient(#8D8BA3) center center / 1px 100% no-repeat;
            }
            div {
                display: flex;
                flex-direction: column;
                padding: 40px;
                background-color: rgba(141, 139, 163, 0.1);
                transition: background-color .3s linear;
                span {
                    margin-bottom: 70px;
                    font-size: 14px;
                    line-height: 19px;
                    text-transform: uppercase;
                }
                h3 {
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    gap: 16px;
                    margin-bottom: 20px;
                    font: 700 32px 'Mazzard';
                    text-align: center;
                    color: #FEFEFF;
                    &::before {
                        content: '\e903';
                        font: 21px icon;
                    }
                }
                p {
                    line-height: 120%;
                    text-align: center;
                    color: #C6C8DD;
                }
            }
        }
    }
}
.last {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 120px;
    padding: 59px 60px;
    border-block: 1px solid transparent;
    border-image-source: linear-gradient(90deg, #35343D 0%, #8D8BA3 49.79%, #35343D 100%);
    border-image-slice: 1;
    background: url(../images/about/l1.webp) center center / cover;
    &::before {
        content: '';
        position: absolute;
        pointer-events: none;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 135px;
        height: 100%;
        background: url(../images/index/line.svg) center center / 100% auto no-repeat;
    }
    h2 {
        font-size: 80px;
        margin-block: -6px 6px;
    }
    .tag {
        margin-left: auto;
    }
    p {
        grid-column: 1/2;
        max-width: 470px;
        font-size: 24px;
        line-height: 120%;
        color: #C6C8DD;
    }
    .btn {
        grid-column: 1/2;
        max-width: initial;
        margin-top: 63px;
    }
}
@media screen and (max-width: 1920px) {
    .capabilities::before {
        left: initial;
        right: 80px;
        width: calc(100% - 80px);
    }
}
@media screen and (max-width: 1840px) {
    .promo {
        padding-top: 200px;
        .box {
            .tag {
                margin-bottom: 12px;
            }
            h1 {
                margin-block: -6px 6px;
            }
            p {
                margin-bottom: 30px;
                font-size: 16px;
            }
        }
    }
    .boost {
        margin-top: 5px;
        .top {
            grid-template-columns: 650px 1fr;
            margin-bottom: 28px;
            h2 {
                margin-block: -4px 4px;
            }
            p {
                font-size: 16px;
            }
        }
        .items {
            > * {
                padding: 29px;
            }
            div {
                span {
                    font-size: 14px;
                    &::before {
                        font-size: 34px;
                    }
                }
                h3 {
                    margin-top: 19px;
                    font-size: 22px;
                }
            }
            > p {
                font-size: 16px;
                &:nth-child(1 of p),
                &:nth-child(2 of p),
                &:nth-child(3 of p) {
                    background-size: 394px auto, cover;
                }
            }
        }
    }
    .capabilities {
        margin-top: 0;
        &::before {
            right: 50px;
            width: calc(100% - 50px);
        }
        &::after {
            top: 13px;
            width: 1682px;
        }
        .wrapper {
            .box {
                .tag {
                    margin-bottom: 150px;
                }
                h2,
                p {
                    max-width: 446px;
                }
                h2 {
                    margin-block: -3px 11px;
                }
                p {
                    font-size: 16px;
                }
            }
            .items {
                grid-auto-rows: 295px;
                &::before {
                    background: url(../images/about/s.svg) center center /56px auto no-repeat, linear-gradient(#8D8BA3) center center / 100% 1px no-repeat, linear-gradient(#8D8BA3) center center / 1px 100% no-repeat;
                }
                div {
                    padding: 28px 20px;
                    span {
                        padding-left: 10px;
                        margin-bottom: 34px;
                        font-size: 12px;
                        line-height: 16px;
                    }
                    h3 {
                        gap: 10px;
                        margin-bottom: 10px;
                        font-size: 22px;
                        &::before {
                            font-size: 15px;
                        }
                    }
                }
            }
        }
    }
    .last {
        column-gap: 100px;
        padding: 39px 40px;
        background-image: url(../images/about/l2.webp);
        &::before {
            width: 90px;
        }
        h2 {
            font-size: 52px;
            margin-bottom: 27px;
        }
        p {
            max-width: 314px;
            font-size: 16px;
        }
        .btn {
            margin-top: 26px;
        }
    }
}
@media screen and (max-width: 1279px) {
    .promo {
        padding-top: 122px;
        .box {
            h1 {
                margin-block: -4px 4px;
            }
            p {
                max-width: 410px;
            }
        }
    }
    .boost {
        margin-top: 3px;
        .top {
            grid-template-columns: 390px 1fr;
            margin-bottom: 18px;
        }
        .items {
            grid-template-columns: repeat(2, 1fr);
            > * {
                padding: 19px;
            }
            div h3 {
                margin-top: 38px;
            }
            > p {
                padding-bottom: 29px;
                &:nth-child(2 of p) {
                    grid-area: 2/1/3/2;
                }
            }
        }
    }
    .capabilities {
        &::before {
            right: 20px;
            width: calc(100% - 20px);
        }
        &::after {
            top: 127px;
            transform: translateX(-72.5%);
            width: 1046px;
        }
        .wrapper {
            grid-template-columns: repeat(3, 1fr);
            .box {
                padding-right: 20px;
                .tag {
                    margin-bottom: 96px;
                }
            }
            .items {
                grid-column: span 2;
                grid-auto-rows: 242px;
                div {
                    padding-block: 21px;
                    span {
                        padding-left: 0;
                        margin-bottom: 24px;
                    }
                    h3 {
                        gap: 6px;
                        font-size: 18px;
                    }
                    p {
                        font-size: 14px;
                    }
                }
            }
        }
    }
    .last {
        column-gap: 33px;
        padding: 29px 30px 44px 20px;
        background-image: url(../images/about/l3.webp);
        &::before {
            width: 70px;
        }
        h2 {
            font-size: 32px;
            margin-block: 10px 25px;
        }
        p {
            max-width: initial;
        }
        .btn {
            margin-top: 37px;
        }
    }
}
@media screen and (max-width: 767px) {
    main {
        background: url(../images/about/promo2.webp) top left / max(500px, 100%) auto no-repeat;
        &::before {
            min-height: 500px;
            aspect-ratio: 1;
        }
    }
    .promo {
        padding-top: 194px;
        .box {
            h1 {
                margin-block: -4px 4px;
            }
            p {
                max-width: 410px;
            }
        }
    }
    .boost {
        margin-top: 3px;
        .top {
            grid-template-columns: 1fr;
            margin-bottom: 18px;
            h2 {
                margin-block: -9px 2px;
            }
            .tag {
                order: -1;
                margin-left: auto;
                margin-bottom: 16px;
            }
        }
        .items {
            grid-template-columns: 1fr;
            div h3 {
                margin-top: 19px;
            }
            > p {
                padding-bottom: 29px;
                &:nth-child(2 of p) {
                    grid-area: initial;
                }
            }
        }
    }
    .capabilities {
        padding-bottom: 66px;
        &::before {
            right: 10px;
            width: calc(100% - 10px);
        }
        &::after {
            inset: 0 10px 0 0;
            transform: none;
            aspect-ratio: initial;
            width: initial;
            z-index: 2;
            background: url(../images/about/z.webp) bottom left / auto no-repeat;
        }
        .wrapper {
            grid-template-columns: 1fr;
            .box {
                padding-right: 0;
                .tag {
                    margin-bottom: 10px;
                }
                h2 {
                    margin-bottom: 9px;
                }
            }
            .items {
                grid-column: initial;
                grid-template-columns: 1fr;
                grid-auto-rows: 199px;
                margin-top: 20px;
                &::before {
                    background: url(../images/about/s.svg) top 50% right -31px / 62px auto no-repeat, linear-gradient(#8D8BA3) center center / 100% 1px no-repeat, linear-gradient(#8D8BA3) right center / 1px 100% no-repeat;
                }
                div {
                    h3 {
                        margin-bottom: 13px;
                    }
                    p {
                        font-size: 14px;
                    }
                }
            }
        }
    }
    .last {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 19px 20px 34px 20px;
        background-image: url(../images/about/l4.webp);
        &::before {
            position: static;
            margin-inline: -20px;
            transform: none;
            width: initial;
            height: 84px;
            background: url(../images/index/line2.svg) center center / auto no-repeat;
        }
        .tag {
            order: -2;
            margin-right: auto;
        }
        h2 {
            order: -1;
            text-align: center;
            margin-block: 28px 0;
        }
        p {
            text-align: center;
        }
        .btn {
            margin-top: 22px;
        }
    }
}
@media (hover: hover) {
    .capabilities .wrapper .items div:hover {
        background-color: rgba(141, 139, 163, 0.2);
    }
}