.work-scheme {
    padding: 1.5rem 0 0;
}

.work-scheme__inner {
    max-width: var(--page-max-width);
    margin: 0 auto;
    padding-inline: var(--layout-gutter);
}

.work-scheme__layout {
    display: grid;
    grid-template-columns: minmax(0, 24rem) minmax(0, 1fr);
    align-items: stretch;
    min-height: 44rem;
}

.work-scheme__intro {
    padding: 9.6rem 0 4rem;
    border-right: 2px solid #0d2237;
}

.work-scheme__title {
    margin: 0 0 3rem;
    font-family: var(--font-display);
    font-size: 2.75rem;
    line-height: 1;
    color: var(--color-title);
}

.work-scheme__description {
    max-width: 20rem;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.2;
    color: var(--color-text);
}

.work-scheme__steps {
    align-self: start;
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 1.5rem;
    padding: 3rem 0 2rem 6rem;
}

.work-scheme__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.work-scheme__step h3 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-family: var(--font-body);
    color: black;
    text-transform: uppercase;
    font-weight: bold;
}


.work-scheme__steps::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: #0d2237;
}

/* Десктопная композиция внутри общего контейнера главной страницы. */
@media (min-width: 68.0625rem) {
    .work-scheme {
        padding: 1.5rem 0 0;
    }

    .work-scheme__inner {
        width: 100%;
        max-width: var(--page-max-width);
        margin-inline: auto;
        padding-inline: var(--layout-gutter);
    }

    .work-scheme__layout,
    .work-scheme__layout.content-offset {
        grid-template-columns: 42.5% 57.5%;
        width: 100%;
        min-height: 0;
        margin: 0;
        padding: 0;
        aspect-ratio: 1.6 / 1;
    }

    .work-scheme__intro {
        padding: clamp(135px, 11.5vw, 180px) 2rem 4rem 0;
        border-right: 2px solid #0d2237;
    }

    .work-scheme__title {
        margin: 0 0 3rem var(--page-content-offset);
        font-size: 2.75rem;
        line-height: 1;
    }

    .work-scheme__description {
        max-width: 15.5rem;
        margin-left: var(--page-content-offset);
        font-size: 1rem;
        line-height: 1.18;
    }

    .work-scheme__steps {
        align-self: start;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(2, minmax(0, 1fr));
        gap: 2rem 3rem;
        width: 100%;
        height: 85%;
        min-height: 28rem;
        padding: 3.9rem 3.25rem 3rem;
    }

    .work-scheme__step {
        justify-content: flex-start;
        min-width: 0;
    }

    .work-scheme__icon {
        width: 5.25rem;
        height: 5.25rem;
        flex: 0 0 5.25rem;
    }

    .work-scheme__image {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .work-scheme__heading {
        max-width: 11rem;
        margin-top: 0.8rem;
        font-family: var(--font-body);
        font-size: 0.8rem;
        font-weight: 700;
        line-height: 1.15;
        text-transform: uppercase;
    }

    .work-scheme__text {
        max-width: 11rem;
        margin: 0.35rem 0 0;
        font-size: 0.7rem;
        line-height: 1.18;
    }

    .work-scheme__steps::after {
        height: 2px;
    }
}

@media (max-width: 52rem) {
    .work-scheme__title {
        margin-left: 0;
    }
}
