:root {
    --box-shadow-2: 88px 115px 40px 0 rgba(0, 0, 0, 0.00), 56px 73px 37px 0 rgba(0, 0, 0, 0.01), 32px 41px 31px 0 rgba(0, 0, 0, 0.05), 14px 18px 23px 0 rgba(0, 0, 0, 0.09), 4px 5px 13px 0 rgba(0, 0, 0, 0.10);
    --box-shadow-3: 12px 24px 8px 0 rgba(43, 178, 72, 0.00), 8px 15px 7px 0 rgba(43, 178, 72, 0.03), 4px 9px 6px 0 rgba(43, 178, 72, 0.12), 2px 4px 4px 0 rgba(43, 178, 72, 0.20), 0 1px 2px 0 rgba(43, 178, 72, 0.23);
    --job-glass: linear-gradient(90deg, rgba(250, 250, 250, 1) 0%, rgba(249, 249, 249,0) 100%);
    --job-glass-laptop: linear-gradient(0deg,  rgba(250, 250, 250, 1) 0%, rgba(250, 250, 250, 1) 60%, rgba(249, 249, 249,0) 100%);
    --job-glass-mobile: linear-gradient(0deg,  rgba(250, 250, 250, 1) 0%, rgba(250, 250, 250, 1) 64%, rgba(249, 249, 249,0) 100%);
}
.promo {
    max-width: 1280px;
    margin-bottom: 40px;
    position: relative;
    border-radius: 0 0 40px 40px;
    overflow: hidden;
    .info {
        display: flex;
        flex-direction: column;
        max-width: 500px;
        padding: 102px 40px 40px;
        border-radius: 0 0 40px 40px;
        border-bottom: 1px solid var(--second);
        background: var(--el-bg);
        box-shadow: var(--box-shadow-2);
        .breadcrumbs {
            margin-bottom: 73px;
        }
        h1 {
            margin-bottom: 10px;
            font-size: 40px;
            font-weight: 900;
            line-height: 100%;
        }
        & > p {
            margin-bottom: 10px;
            strong {
                display: flex;
                font-weight: 700;
                color: var(--second);
            }
        }
        ul {
            display: flex;
            flex-direction: column;
            gap: 4px;
            padding-left: 5px;
            margin-bottom: 20px;
            list-style-type: none;
            li {
                display: flex;
                gap: 9px;
                letter-spacing: -0.2px;
                &::before {
                    content: '';
                    display: flex;
                    width: 6px;
                    min-width: 6px;
                    height: 6px;
                    margin-top: 5px;
                    border-radius: 2px;
                    background: var(--second);
                }
            }
        }
        button {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
            max-width: 143px;
            padding: 12px;
            border: none;
            border-radius: 10px;
            background: var(--second);
            color: var(--main);
            font-weight: 700;
            line-height: 24px;
            letter-spacing: 0.4px;
        }
    }
    img {
        width: auto;
        height: calc(100% + 152px);
        position: absolute;
        right: 0;
        bottom: 0;
        object-fit: cover;
        z-index: -1;
    }
}
.advantages {
    padding-bottom: 100px;
    .items {
        display: grid;
        grid-template-columns: 44fr 44fr 57fr;
        gap: 20px;
        .item {
            display: flex;
            border-radius: 20px;
            background: var(--input-bg);
            padding: 8px 55px;
            & > span {
                display: flex;
                color: var(--second);
                font-size: 140px;
                font-weight: 900;
                line-height: 164px;
                letter-spacing: -25.2px;
            }
            p {
                margin-top: 32px;
                font-size: 24px;
                font-weight: 700;
                line-height: 100%;
                span {
                    font-size: 24px;
                    font-weight: 700;
                    line-height: 100%;
                    color: var(--second)
                }
            }
            &:nth-child(1) {
                padding: 8px 24px 8px 10px;
                gap: 10px;
                justify-content: space-between;
                p {
                    max-width: 170px;
                }
            }
            &:nth-child(2) {
                padding: 8px 34px 8px 30px;
                gap: 0px;
                justify-content: space-between;
                p {
                    max-width: 210px;
                }
            }
        }
    }
    h2 {
        display: flex;
        justify-content: center;
        padding: 55px 0 31px;
        margin-top: -36px;
        border-radius: 30px;
        background: var(--second);
        box-shadow: var(--box-shadow-3);
        font-size: 30px;
        line-height: 35px;
        color: var(--main);
    }
}
.job {
    padding: 52px 45px;
    margin-bottom: 100px;
    position: relative;
    border-radius: 30px;
    background: var(--input-bg);
    overflow: hidden;
    &::before {
        content: '';
        width: 79%;
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        z-index: 2;
        background: url(../images/about/job-bg.webp) center/ 100% 100% no-repeat;
    }
    h2,p, a {
        position: relative;
        z-index: 3;
    }
    h2 {
        color: var(--second);
        margin-bottom: 24px;
    }
    p {
        max-width: 437px;
        margin-bottom: 40px;
        font-size: 20px;
        line-height: 23px;
        letter-spacing: -0.2px;
        strong {
            display: flex;
            font-size: 20px;
            font-weight: 700;
            line-height: 23px;
            letter-spacing: -0.2px;
        }
    }
    a {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        width: 100%;
        max-width: 213px;
        padding: 10px;
        border-radius: 12px;
        border: 1px solid var(--second);
        background: var(--main);
        color: var(--text-2);
        line-height: 22px;
        letter-spacing: -0.2px;
        &::after {
            content: '\e014';
            font-family: 'icon';
            font-size: 12px;
            color: var(--second);
            display: flex;
            justify-content: center;
            align-items: center;
            width: 24px;
            height: 22px;
            transition: .3s linear;
        }
    }
    img {
        position: absolute;
        right: 0;
        max-width: 539px;
        top: 0px;
        z-index: 1;
    }
    &::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: calc(100% - 539px);
        right: 250px;
        z-index: 1;
        background: var(--job-glass);
    }
}
.reviews {
    margin-bottom: 100px;
    h2 {
        margin-bottom: 30px;
    }
    .slides {
        display: flex;
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 30px;
        .slide {
            min-width: calc((100% - 40px) / 3);
            border-radius: 20px;
            border: 1px solid var(--second);
            overflow: hidden;
        }
    }
    .controls {
        display: flex;
        justify-content: start;
        align-items: center;
        gap: 26px;
        button {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 40px;
            height: 40px;
            border: none;
            border-radius: 10px;
            background: var(--el-bg);
            &.arrow-r {
                transform: rotate(180deg);
            }
            &::before {
                content: '\e010';
                font-family: 'icon';
                color: var(--second);
                transition: .3s linear;
            }
            &.ws-arrow-disabled {
                cursor: auto;
                opacity: 0.4;
            }
        }
        .bubbles {
            display: flex;
            gap: 6px;
            div {
                display: flex;
                width: 8px;
                height: 8px;
                border-radius: 2px;
                background: var(--el-bg);
                transition: .3s linear;
                cursor: pointer;
                &.selected {
                    width: 40px;
                    background: var(--second);
                }
            }
        }
    }
}
.add-review {
    margin-bottom: 100px;
    h2 {
        margin-bottom: 20px;
        font-size: 24px;
        text-align: center;
        span {
            font-size: inherit;
            font-weight: inherit;
            line-height: inherit;
            color: var(--second);
        }
    }
    .items {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 21px;
        .item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 30px 40px;
            border-radius: 20px;
            background: var(--el-bg);
            box-shadow: var(--box-shadow-hide);
            transition: .3s linear;
            img {
                height: 100px;
                width: auto;
                object-fit: cover;
            }
            a {
                display: flex;
                justify-content: center;
                align-items: center;
                gap: 8px;
                width: 100%;
                max-width: 142px;
                padding: 10px;
                border-radius: 12px;
                border: 1px solid var(--second);
                background: var(--main);
                &::after {
                    content: '\e014';
                    font-family: 'icon';
                    font-size: 12px;
                    color: var(--second);
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    width: 24px;
                    height: 22px;
                    transition: .3s linear;
                }
            }
        }
    }
}
@media screen and (max-width: 1240px) {
    .promo {
        .info {
            max-width: 450px;
            padding: 102px 30px 30px;
            .breadcrumbs {
                margin-bottom: 53px;
            }
        }
        img {
            width: auto;
            height: 125%;
            right: -3%;
            bottom: 0;
            object-fit: cover;
            z-index: -1;
            border-radius: 0 0 40px 40px;
        }
    }
    .advantages {
        .items {
            grid-template-columns: 44fr 44fr 44fr;
            gap: 10px;
            .item {
                padding: 8px 35px;
                &:nth-child(1) {
                    padding: 8px 12px 8px 5px;
                }
                &:nth-child(2) {
                    padding: 8px 17px 8px 15px;
                }
            }
        }
    }
    .job {
        &::before {
            content: '';
            width: 70%;
        }
    }
    .add-review {
        .items {
            .item {
                padding: 20px;
                img {
                    height: 80px;
                    width: auto;
                    object-fit: cover;
                }
            }
        }
    }
}
@media screen and (max-width: 1040px) {
    .promo {
        width: 100%;
        padding-top: 72%;
        padding-bottom: 20px;
        margin-bottom: 0;
        border-radius: 0;
        .info {
            max-width: calc(100% - 40px);
            padding: 30px;
            margin: 0 auto;
            border-radius: 30px;
            box-shadow: var(--box-shadow-2);
            .breadcrumbs {
                position: absolute;
                left: 20px;
                top: 90px;
            }
        }
        img {
            width: 100%;
            height: auto;
            left: 0;
            right: 0;
            top: -10%;
        }
    }
    .advantages {
        .items {
            grid-template-columns: 1fr 1fr;
            .item {
                &:nth-child(1) {
                    padding: 8px 12px 8px 5px;
                    p {
                        max-width: calc(100% - 145px);
                    }
                }
                &:nth-child(2) {
                    justify-content: space-between;
                    p {
                        max-width: calc(100% - 90px);
                    }
                }
                &:nth-child(3) {
                    grid-area: 2/1/3/3;
                    max-width: 50%;
                    margin: 0 auto;
                    padding: 8px 30px 40px;
                }
            }
        }
        h2 {
            padding: 205px 0 31px;
            margin-top: -186px;
        }
    }
    .job {
        padding: 40px 30px;
        &::before {
            width: 72%;
        }
        h2 {
            margin-bottom: 20px;
        }
        p {
            max-width: 350px;
        }
        img {
            max-width: 48%;
            top: -109px;
        }
        &::after {
            left: 52%;
            right: 160px;
        }
    }
    .reviews {
        .slides {
            gap: 20px;
            .slide {
                min-width: calc((100% - 40px) / 2);
            }
        }
    }
    .add-review {
        .items {
            grid-template-columns: 1fr;
            gap: 10px;
            .item {
                width: 100%;
                max-width: 500px;
                margin: 0 auto;
                padding: 30px 40px;
                img {
                    height: 100px;
                }
            }
        }
    }
}
@media screen and (max-width: 767px) {
    .promo {
        .info {
            padding: 30px 20px 20px;
            h1 {
                font-size: 32px;
            }
            button {
                max-width: 315px;
            }
        }
        img {
            top: 0%;
            border-radius: 0 0 20px 20px;
        }
    }
    .advantages {
        padding-bottom: 80px;
        .items {
            display: flex;
            flex-direction: column;
            width: calc(100% - 20px);
            margin: 0 auto;
            .item {
                display: flex;
                border-radius: 20px;
                &:nth-child(1) {
                    padding: 8px 24px 8px 10px;
                    gap: 10px;
                    justify-content: space-between;
                    p {
                        max-width: calc(100% - 150px);
                    }
                }
                &:nth-child(2) {
                    padding: 8px 17px 8px 30px;
                    p {
                        margin-top: 56px;
                        max-width: calc(100% - 79px);
                    }
                }
                &:nth-child(3) {
                    max-width: 100%;
                    padding: 30px 20px;
                    p {
                        margin-top: 0;
                        text-align: center;
                    }
                }
            }
        }
        h2 {
            padding: 480px 33px 31px;
            margin-top: -450px;
            font-size: 24px;
            line-height: 28px;
            text-align: center;
        }
    }
    .job {
        padding: 65% 20px 20px;
        margin-bottom: 80px;
        &::before {
            left: auto;
            width: 128px;
            right: 0px;
            top: 144px;
            height: 117px;
            bottom: auto;
            background: url(../images/about/job-bg-mob.webp) center/ 100% 100% no-repeat;
            opacity: 0.7;
        }
        p {
            max-width: 100%;
        }
        img {
            right: 0;
            left: 0;
            max-width: 100%;
            top: -25%;
        }
        &::after {
            height: 400px;
            top: auto;
            bottom: 0;
            left: 0;
            right: 0;
            z-index: 1;
            background: var(--job-glass-laptop);
        }
    }
    .reviews {
        margin-bottom: 80px;
        overflow: hidden;
        h2 {
            margin-bottom: 20px;
        }
        .slides {
            gap: 0px;
            .slide {
                min-width: 100%;
            }
        }
        .controls  {
            justify-content: center;
        }   
    }
    .add-review {
        margin-bottom: 80px;
    }
}
@media screen and (max-width: 420px) {
    .promo {
        padding-top: 84%;
        .info {
            max-width: calc(100% - 20px);
            .breadcrumbs {
                top: 80px;
                left: 10px;
            }
        }
    }
    .job {
        padding: 353px 20px 20px;
        img {
            top: -58px;
        }
        &::after {
            height: 475px;
            background: var(--job-glass-mobile);
        }
    }
}
@media (hover:hover) {
    .promo .info button:hover {
        background: var(--btn-hover);
    }
    .job a:hover {
        background: var(--second);
        color: var(--main);
        &::after {
            color: var(--main);
        }
    }
    .reviews .controls {
        button:not(.ws-arrow-disabled):hover {
            background: var(--second);
            &::before {
                color: var(--main);
            }
        }
        .bubbles div:hover {
            background: var(--second);
        }
    }
    .add-review .items .item:hover {
        background: var(--main);
        box-shadow: var(--box-shadow); 
        a:hover {
            background: var(--second);
            color: var(--main);
            &::after {
                color: var(--main);
            }
        }
    }
}