.about-us {
    --radius: 60px;
    position: relative;
    display: grid;
    align-items: center;
    grid-template-columns: 660px 1fr;
    border-radius: var(--radius) 0 var(--radius) var(--radius);
    overflow: hidden;
    margin: 0;
}

.about-us::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: -5;
    background-color: #5c88d2;
}

.about-us::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/common/title-grid.svg');
    z-index: -2;
    opacity: 0.15;
    background-size: 1574px 1061px;
    background-position: center;
}

.about-us .about-us__left {
    padding: 75px;
    padding-right: 0;
}

.about-us .page-text,
.about-us .page-title {
    color: #fff;
}

.about-us .about-us__small-text {
    font-weight: 500;
    font-size: 13px;
    line-height: 150%;
    letter-spacing: 0%;
    color: #fff;
}

.about-us .about-us__socials {
    display: flex;
    gap: 8px;
    margin-top: 40px;
    margin-bottom: 16px;
}

.about-us .about-us__social-link {
    display: flex;
    gap: 5px;
    align-items: center;
    font-weight: 600;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0%;
    text-align: center;
    color: #232323;
    background-color: #fff;
    padding: 9px 16px;
    border-radius: 12px;
    text-decoration: none;
}

.about-us .about-us__picture {
    width: 100%;
    display: flex;
    position: relative;
    z-index: 2;
    margin-top: -9px;
    pointer-events: none;
}

.about-us .about-us__picture.mobile {
    display: none;
}

.about-us .about-us__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: 570px;
    object-position: top;
}

.about-us .about-us__cutout {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    height: 83px;
    pointer-events: none;
}

.about-us .about-us__cutout::before {
    content: "";
    display: block;
    width: 270px;
    height: 100%;
    background-color: #fff;
}

.about-us .about-us__cutout-left {
    position: absolute;
    right: 100%;
    top: -1px;
    height: calc(100% + 1px);
    width: 130px;
}

.about-us .about-us__cutout-bottom {
    position: absolute;
    top: 100%;
    right: -1px;
    width: 61px;
    height: 60px;
}

@media screen and (max-width: 1450px) {
    .about-us {
        grid-template-columns: 518px 1fr;
    }

    .about-us .about-us__left {
        padding: 40px 36px;
        padding-right: 0;
    }
}

@media screen and (max-width: 900px) {
    .about-us .about-us__cutout {
        height: 54px;
    }

    .about-us .about-us__cutout::before {
        width: 160px;
    }

    .about-us {
        --radius: 30px;
    }

    .about-us .about-us__picture {
        --offset: 50px;
        margin-left: calc(-1 * var(--offset));
        margin-top: 30px;
        width: calc(100% + var(--offset));
    }

    .about-us .about-us__small-text {
        max-width: 426px;
    }

    .about-us .page-text {
        font-size: 18px;
    }
}

@media screen and (max-width: 740px) {
    .about-us__outer {
        padding: 0;
    }

    .about-us .about-us__cutout {
        display: none;
    }
    
    .about-us {
        border-radius: 20px;
        padding: 32px 20px;
        display: flex;
        flex-direction: column;
    }

    .about-us .about-us__left {
        padding: 0;
    }

    .about-us .about-us__picture.desktop {
        display: none;
    }

    .about-us .about-us__picture.mobile {
        display: block;
        margin: 0;
        width: 100%;
        margin-bottom: -58px;
        transform: rotate(14.61deg);
        margin-left: 22px;
        max-width: 300px;
        position: relative;
        z-index: -1;
    }

    .about-us .about-us__socials {
        flex-direction: column;
        gap: 8px;
        align-items: center;
        margin-top: -5px;
    }

    .about-us .about-us__social-link {
        width: 100%;
        justify-content: center;
    }
}
