.home-image-text {
    position: relative;
    padding: 48px 0 130px 0;
    border-bottom: 2px solid var(--color-dark-blue);
    z-index: 3;
}

.home-image-text__bg {
    position: absolute;
    width: 364px;
    left: 0;
    bottom: -11px;
    height: auto;
   
}
.home-image-text__text h2,
.home-image-text__text .h2 {
    letter-spacing: 0;
}

@media (min-width: 768px) {
    .home-image-text {
        padding: 64px 0 209px 0;
        border-bottom: 4px solid var(--color-dark-blue);
    }
    
    .home-image-text__bg {
        width: 612px;
        bottom: -18.5px;
    }
}

@media (min-width: 1200px) {
    .home-image-text {
        padding: 96px 0 110px 0;
        border-bottom: 5px solid var(--color-dark-blue);
        z-index: 3;
    }
    
    .home-image-text__bg {
        width: 599px;
        bottom: -19px;
        left: 75px;
    }

    .home-image-text__wrap {
        display: flex;
        flex-wrap: wrap;
        padding-left: 0;
    }
    .home-image-text__wrap.flex-opposite {
        flex-direction: row-reverse;
    }

    .home-image-text__wrap.flex-opposite .home-image-text__text {
        padding-left: 0;
        padding-right: 53px;
    }
    .home-image-text__image {
        width: 550px;
        margin-top: 9px;
    }

    .home-image-text__text {
        width: calc(100% - 550px);
        padding-left: 53px;
        position: relative;
        z-index: 1;
    }

    .home-image-text__text h2 {
        margin-bottom: 8px;
    }

    .home-image-text__image span {
        display: block;
        text-align: right;
        font-size: 14px;
        line-height: 1em;
        font-weight: 700;
        color: #E8EDF1;
        text-transform: uppercase;
        padding-top: 7px;
    }
}

@media (min-width: 1500px) {
    .home-image-text__bg {
        width: 799px;
        bottom: -25px;
      
    }
}
.home-image-text{
    background: var(--color-white);
}