/* =========================================================
   HERO
   ========================================================= */

.content-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 32px;
    background:
            linear-gradient(
                    105.6deg,
                    #23716d 6.7%,
                    #1b5349 91.1%
            );
}


.content-hero__content {
    position: relative;
    z-index: 2;
    padding: 60px;
    min-height: 560px;
    display: flex;
    flex-direction: column;
}


.content-hero__title {
    margin: 0;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 48px;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
}


.content-hero__text {
    margin-top: 20px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    line-height: 1.5;
}


.content-hero__text p {
    margin: 0;
}


.content-hero__text p + p {
    margin-top: 18px;
}


.content-hero__image {
    position: absolute;
    top: 215px;
    right: -213px;
    width: 1200px;
    height: 650px;
    background:
            url("../../images/content-hero-bg-s.png")
            center / cover no-repeat;
    opacity: .15;
    transform: rotate(-36deg);
    mix-blend-mode: overlay;
}

.content-hero__buttons {
    margin-top: auto;
    padding-top: 40px;
    display: flex;
    gap: 24px;
}

.content-button {
    width: 250px;
    height: 64px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 10px 18px;

    border-radius: 12px;

    font-family: 'Inter', sans-serif;
    font-size: 18px;
    line-height: normal;
    font-weight: 500;

    text-decoration: none;

    box-sizing: border-box;
}

.content-button--white {
    color: #111122;
    background: #fff;
}

.content-button--outline {
    color: #fff;

    border: 1px solid #fff;

    background: transparent;
}

.content-hero__image {
    position: absolute;

    z-index: 1;

    top: 180px;
    right: -200px;
}

.content-hero__image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* =========================================================
   TABLET (до 1199px)
   ========================================================= */

@media (max-width: 1199px) {

    .content-hero {
        border-radius: 24px;
    }


    .content-hero__content {
        padding: 40px;
    }


    .content-hero__title {
        font-size: 52px;
    }


    .content-hero__text {
        width: 65%;

        font-size: 20px;
    }

    .content-hero__image {
        top: 196px;
        width: 1025px;
        right: -195px;
    }

}


/* =========================================================
   MOBILE (до 767px)
   ========================================================= */

@media (max-width: 767px) {

    .content-hero {
        height: auto;
        min-height: 500px;
        border-radius: 0;
        top: -16px;
        margin-bottom: -16px;
        width: calc(100% + 32px);
        left: -16px;
    }


    .content-hero__content {
        display: flex;
        flex-direction: column;
        padding: 28px 20px;
        min-height: 600px;
    }

    .content-hero__button {
        margin-top: auto;
        align-self: flex-start;
    }


    .content-hero__title {
        font-size: 26px;
    }


    .content-hero__text {
        width: 100%;

        margin-top: 24px;

        font-size: 16px;
        line-height: 1.5;
    }


    .content-hero__text p + p {
        margin-top: 12px;
    }


    .content-hero__image {
        right: -300px;
        width: 700px;
        top: 300px;
        transform: rotate(-36deg);
    }

    .content-hero__buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .content-button {
        width: 100%;
        height: 48px;
    }

}