.compare__container {
    display: flex;
    column-gap: 55px;
}

.compare-column__heading {
    font-size: clamp(20px, 1.1436rem + 0.396vw, 24px);
    font-weight: 500;
    margin-bottom: 36px;
}

.compare-column {
    flex: 1 1 50%;
}

.compare-column__variant {
    display: flex;
    flex-direction: column;
    padding: 24px 16px;
    border-radius: 16px;
    background-color: #fafafa;
}

.compare-column__current {
    align-items: flex-end;
    row-gap: 12px;

    p {
        position: relative;
        padding: 4px 8px;
        border-radius: 8px;
        background-color: #E2FFD3;
    }

    p::after {
        content: '';
        position: absolute;
        right: -15px;
        bottom: 0;
        width: 21px;
        height: 21px;
        background: #E2FFD3;
        border-bottom-left-radius: 10px;

        -webkit-mask: radial-gradient(circle at top right, transparent 70%, black 71%);
        -webkit-mask-repeat: no-repeat;
        -webkit-mask-size: 100% 100%;

        mask: radial-gradient(circle at top right, transparent 70%, black 71%);
        mask-repeat: no-repeat;
        mask-size: 100% 100%;
    }
}

.compare-column__desire {
    position: relative;
    row-gap: 16px;
    padding-top: 40px;
    padding-bottom: 22px;

    strong {
        font-weight: 500;
        margin-right: 8px;
    }

    span {
        margin-right: 16px;
    }

    .badge {
        display: inline-block;
        font-size: 14px;
        padding: 2px 12px 5px;
        border: 1px solid var(--brand-color--accent);
        border-radius: 40px;
    }

    &::before {
        content: '● ● ●';
        position: absolute;
        top: 0;
        left: 0;

        font-size: 16px;
        line-height: 16px;
        text-indent: 16px;
        letter-spacing: -0.1em;
        color: #fafafa;

        display: block;
        width: 100%;
        height: 16px;
        border-radius: 16px 16px 0 0;
        background-color: #bababa;
    }
}

.compare-column__desire .stat {
    position: relative;

    &::before {
        content: '\2713';
        font-family: inherit;
        font-size: 14px;
        color: var(--text-color-white);
        text-align: center;

        display: inline-block;
        width: 18px;
        height: 18px;
        margin-right: 4px;
        border-radius: 100%;
        background-color: #51c280;
    }

    &::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;

        display: block;
        width: 20px;
        height: 100%;
        background-color: #c0abe1;
        mask: url('../images/arrow-right.svg') no-repeat center;
    }
}

.split-section {
    background-image: image-set(
        url('../images/vlasnyku-laptop.png') 1x,
        url('../images/vlasnyku-laptop@2x.png') 2x
    );
    background-repeat: no-repeat;
    background-position: calc(50% + 417px) center;
    background-size: auto calc(100% - 160px);

    p {
        font-size: clamp(0.875rem, 0.8218rem + 0.198vw, 1rem);
        margin-bottom: 24px;
        line-height: 1.67;
    }

    p:last-of-type {
        margin-bottom: 48px;
    }
}


/* --- @MEDIA 1024px --- */

@media screen and (max-width: 1024px) {
    .compare__container {
        flex-direction: column;
        row-gap: 36px;
    }
}


/* --- @MEDIA 768px --- */

@media screen and (min-width: 768px) {
    .split-section {
        .section-title {
            text-align: left;
            margin-bottom: 32px;
        }

        .page-button__contained {
            display: inline-flex;
        }
    }

    .split-section__content {
        max-width: 480px;
        padding-top: 60px;
        padding-bottom: 60px;
    }
}

@media screen and (max-width: 768px) {
    .compare__container span {
        margin-right: 8px;
    }

    .compare__container .badge {
        font-size: 12px;
    }

    .split-section {
        padding-bottom: 290px;
        background-size: 382px 222px;
        background-position: center bottom 32px;

        .section-title {
            margin-bottom: 24px;
        }

        p:last-of-type {
            margin-bottom: 36px;
        }

        .page-button__contained {
            justify-self: center;
        }
    }
}