.s-cfg {
    padding: 55px 0;
}

.s-cfg__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 48px;
}

.s-cfg__head-l {
    flex: 1 1 360px;
    max-width: 560px;
}

.s-cfg__head-r {
    flex: 1 1 320px;
    max-width: 560px;
    padding-top: 32px;
}

.s-cfg__sub-heading {
    margin-bottom: 15px;
}

.s-cfg__heading {
    margin-bottom: 0;
}

.s-cfg__intro {
    margin: 0;
    max-width: none;
}

.s-cfg__cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 56px;
}

.s-cfg__card {
    display: flex;
    align-items: center;
    gap: 28px;
    height: 350px;
    padding: 54px;
    background: #f8faff;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.5s ease;
}

.s-cfg__card:hover {
    background-color: var(--primary-color);
    text-decoration: none;
    color: #fff;
}

.s-cfg__card-visual {
    flex: 1;
    width: 180px;
    color: var(--primary-color);
    transition: color 0.5s ease-in-out;
}

.s-cfg__card:hover .s-cfg__card-visual {
    color: #fff;
}

.s-cfg__card-icon {
    display: block;
    width: 100%;
    height: auto;
}

.s-cfg__card-icon-ring {
    transition: color 0.5s ease, opacity 0.5s ease;
    opacity: 1;
}

.s-cfg__card:hover .s-cfg__card-icon-ring {
    color: #fff;
    opacity: 0;
}

.s-cfg__card-icon-shape {
    transition: fill 0.5s ease;
}

.s-cfg__card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding-top: 8px;
}

.s-cfg__card-title {
    margin-bottom: 14px;
    transition: color 0.5s ease;
}

.s-cfg__card:hover .s-cfg__card-title {
    color: #fff;
}

.s-cfg__card-desc {
    margin: 0 0 28px;
    flex: 1;
    transition: color 0.5s ease, opacity 0.5s ease;
}

.s-cfg__card:hover .s-cfg__card-desc {
    color: #fff;
    opacity: 1;
}

.s-cfg__card-link {
    color: var(--primary-color);
    font-size: 16px;
    line-height: 1.4;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.5s ease;
}

.s-cfg__card:hover .s-cfg__card-link {
    color: #fff;
}

.s-cfg__steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.s-cfg__step {
    display: flex;
    align-items: center;
}

.s-cfg__step:not(:first-child)::before {
    content: "";
    height: 1px;
    width: 150px;
    background: linear-gradient(to right, rgba(216, 222, 232, 0) 0%, rgba(216, 222, 232, 1) 100%);
}

.s-cfg__step-num {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    line-height: 120%;
}

.s-cfg__step-label {
    font-size: 18px;
    line-height: 120%;
    color: #111111;
    font-weight: 600;
}

@media (max-width: 991px) {
    .s-cfg__head-r {
        padding-top: 0;
    }

    .s-cfg__cards {
        grid-template-columns: 1fr;
    }

    .s-cfg__card {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        min-height: 350px;
        padding: 28px 24px;
    }

    .s-cfg__card-visual {
        width: 160px;
        margin: 0 auto;
    }

    .s-cfg__card-body {
        width: 100%;
        padding-top: 0;
    }

    .s-cfg__steps {
        flex-wrap: wrap;
    }

    .s-cfg__step {
        flex: 1 1 100%;
        margin-bottom: 16px;
    }

    .s-cfg__step-label {
        white-space: normal;
    }

    .s-cfg__step:not(:first-child)::before {
        display: none;
    }
}
