.about-stats {
    display: flex;
    flex-direction: column;
    position: relative;
    background: linear-gradient(180deg, #fff 0%, #f4fbff 100%);
}

.about-stats__text,
.about-stats__image {
    position: relative;
    width: 100%;
}

.about-stats__text__wrapper {
    padding: var(--section-margins) 1.375rem;
}

.stats {
    margin-top: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.stat {
    flex: 1 1 calc(50% - 2rem);
}

.stat h3 {
    font-size: 2.8125rem;
    line-height: 1.2em;
    color: var(--color-primary);
    margin-bottom: 0;
}

.about-stats__image {
    background: linear-gradient(
        0deg,
        var(--color-lightest-blue) 0%,
        rgba(255, 255, 255, 0) 100%
    );
}

@media (min-width: 768px) {
    .about-stats__text__wrapper {
        padding-left: 3.25rem;
        padding-right: 3.25rem;
        padding-bottom: 3.125rem;
    }

    .stats {
        margin-top: 2rem;
        gap: 2rem;
    }

    .stat h3 {
        font-size: 4.6875rem;
    }
}

@media (min-width: 1200px) {
    .about-stats {
        flex-direction: row-reverse;
    }

    .about-stats__info {
        position: absolute;
        right: 0;
        top: 0;
    }

    .about-stats__text {
        padding: var(--section-margins) 2rem;
        padding-right: 3.9375rem;
        width: calc(50% + 14.5rem);
    }

    .about-stats__image {
        width: 100%;
        width: calc(50% - 14.5rem);
    }

    .about-stats__text__wrapper {
        padding: 0;
        max-width: 52rem;
    }

    .stats {
        margin-top: 3.25rem;
    }

    .stat h3 {
        font-size: 6.25rem;
    }

    .about-stats__image {
        background: linear-gradient(
            90deg,
            var(--color-lightest-blue) 0%,
            rgba(255, 255, 255, 0) 100%
        );
    }

    .about-stats__image img {
        position: absolute;
        top: 0;
        left: 0;
        object-position: right;
    }
}
