/* Призыв к сотрудничеству (views/pages/partials/cta.php) */

.cta {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 128px 0 134px;
    text-align: center;
}

.cta__decor {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.cta__decor > * {
    position: absolute;
}

.cta__leaf--left {
    top: 100px;
    left: -8px;
    width: 76px;
}

.cta__leaf--bottom {
    top: 308px;
    left: calc(50% + 30px);
    width: 53px;
}

.cta__leaf--right {
    top: 160px;
    right: -70px;
    width: 106px;
}

.cta__glass--left {
    top: 48px;
    left: 6px;
    width: calc(100% - 12px);
    height: 313px;
}

.cta__glass--right {
    top: 64px;
    right: 6px;
    width: 40%;
    height: 266px;
}

.cta__title {
    line-height: 1.08;
}

.cta__button {
    min-height: 40px;
    margin-top: 24px;
    padding: 8px 24px;
    font-size: var(--fs-caption);
}

@media (min-width: 980px) {
    .cta {
        padding: 355px 0 283px;
    }

    /* Декор привязан к сетке 1200px по центру */
    .cta__decor {
        left: 50%;
        right: auto;
        width: 1200px;
        margin-left: -600px;
    }

    .cta__leaf--left {
        top: 268px;
        left: 10px;
        width: 164px;
    }

    .cta__leaf--bottom {
        top: 617px;
        left: 399px;
        width: 114px;
    }

    .cta__leaf--right {
        top: 118px;
        right: auto;
        left: 847px;
        width: 281px;
    }

    .cta__glass--left {
        top: 168px;
        left: 32px;
        width: 571px;
        height: 540px;
    }

    .cta__glass--right {
        top: 128px;
        right: auto;
        left: 603px;
        width: 565px;
        height: 540px;
    }

    .cta__title {
        max-width: 742px;
        margin-inline: auto;
    }

    .cta__button {
        min-height: 48px;
        margin-top: 46px;
        padding: 12px 28px;
        font-size: var(--fs-body);
    }
}

/* Тёмная тема: стекло темнее, белый заголовок, звёздочки поверх стекла */

.cta--dark {
    color: var(--color-white);
    background-color: var(--color-ink);
}

.cta--dark .cta__title {
    color: inherit;
}

.cta--dark .cta__glass {
    background-color: rgb(79 83 107 / 24%);
}

.cta__note {
    margin-top: 11px;
    font-size: var(--fs-caption);
    font-weight: 500;
}

.cta__note a {
    color: #77d9fe;
}

.cta__sparkle--violet {
    top: 65px;
    left: 42px;
}

.cta__sparkle--red {
    top: 96px;
    left: 319px;
}

.cta__sparkle--blue {
    top: 195px;
    left: 37px;
}

.cta__sparkle--white {
    top: 296px;
    left: 329px;
}

.cta__sparkle--white-2 {
    top: 354px;
    left: 27px;
}

.cta__sparkle--sky {
    top: 374px;
    left: 324px;
}

@media (min-width: 980px) {
    .cta__note {
        margin-top: 20px;
        font-size: var(--fs-body);
    }

    .cta__sparkle--violet {
        top: 226px;
        left: 161px;
    }

    .cta__sparkle--red {
        top: 231px;
        left: 914px;
    }

    .cta__sparkle--blue {
        top: 479px;
        left: 325px;
    }

    .cta__sparkle--white {
        top: 582px;
        left: 126px;
    }

    .cta__sparkle--white-2 {
        top: 706px;
        left: 927px;
    }

    .cta__sparkle--sky {
        top: 628px;
        left: 1060px;
    }
}
