@media screen and (min-width: 768px) and (max-width: 1259px) {

    /* === Mainpage variant (default) === */
    .sh-hero--mainpage {
        display: grid;
        grid-template-columns: minmax(280px, 1fr) minmax(360px, 528px);
        gap: 24px;
        padding: 32px 0 28px;
        align-items: start;
        min-height: 290px;
        overflow: hidden;
    }

    .sh-hero--mainpage .sh-hero-mainpage__content {
        position: relative;
        z-index: 2;
        max-width: 420px;
        padding-top: 26px;
    }

    .sh-hero--mainpage .sh-hero-h1 {
        width: auto;
        max-width: 100%;
        font-size: 28px;
        line-height: 36px;
        font-family: InterMedium;
        padding: 0 0 10px;
        margin: 0;
    }

    .sh-hero--mainpage .gr-main-block1-text {
        width: auto;
        max-width: 100%;
        font-family: "InterLight";
        padding-bottom: 25px;
    }

    .sh-hero--mainpage .sh-main-text {
        font-size: 14px;
        line-height: 20px;
        font-family: "Inter", sans-serif;
        font-weight: 400;
    }

    .sh-hero--mainpage .sh-main-text--mobile {
        display: none;
    }

    .sh-hero--mainpage .sh-main-blackbutton {
        width: 228px !important;
        font-size: 12px;
        line-height: 16px;
        font-family: "Inter", sans-serif;
        font-weight: 700;
    }

    .sh-hero--mainpage .sh-hero-mainpage__visual {
        position: relative;
        width: 100%;
        max-width: 528px;
        aspect-ratio: 686 / 403;
        justify-self: end;
        align-self: end;
        pointer-events: none;
    }

    .sh-hero--mainpage .sh-hero-mainpage__visual-desktop {
        display: block;
        width: 100%;
        height: 100%;
        position: relative;
        overflow: visible;
    }

    .sh-hero--mainpage .sh-hero-mainpage__visual-mobile {
        display: none;
    }

    .sh-hero--mainpage .sh-hero-mainpage__door {
        position: absolute;
        overflow: hidden;
    }

    .sh-hero--mainpage .sh-hero-mainpage__door img {
        position: absolute;
        display: block;
        max-width: none;
    }

    .sh-hero--mainpage .sh-hero-mainpage__door--side img {
        width: 221.97%;
        height: 112.07%;
        left: -13.29%;
        top: -6.35%;
    }

    .sh-hero--mainpage .sh-hero-mainpage__door--center {
        mix-blend-mode: darken;
    }

    .sh-hero--mainpage .sh-hero-mainpage__door--center img {
        width: 200.27%;
        height: 107.34%;
        left: -6.9%;
        top: -1.87%;
    }

    .sh-hero--mainpage .sh-hero-mainpage__door--desktop-left {
        left: 0;
        top: 4.22%;
        width: 28.41%;
        height: 95.78%;
    }

    .sh-hero--mainpage .sh-hero-mainpage__door--desktop-center {
        left: 34.26%;
        top: 0;
        width: 31.49%;
        height: 100%;
    }

    .sh-hero--mainpage .sh-hero-mainpage__door--desktop-right {
        left: 71.59%;
        top: 4.22%;
        width: 28.41%;
        height: 95.78%;
    }

    .sh-hero--mainpage .sh-hero-mainpage__door--mobile-left,
    .sh-hero--mainpage .sh-hero-mainpage__door--mobile-center,
    .sh-hero--mainpage .sh-hero-mainpage__door--mobile-right {
        display: none;
    }

    @media screen and (max-width: 900px) {
        .sh-hero--mainpage {
            gap: 16px;
        }

        .sh-hero--mainpage .sh-hero-mainpage__content {
            max-width: 100%;
        }

        .sh-hero--mainpage .sh-hero-h1 {
            font-size: 24px;
            line-height: 30px;
        }

        .sh-hero--mainpage .sh-main-text {
            line-height: 18px;
        }
    }

    /* === Smarts variant === */
    .sh-hero--smarts {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
        padding: 40px 0 20px 0;
        align-items: center;
        position: relative;
        overflow: visible;
    }

    .sh-hero--smarts .gr-main-block1 {
        position: relative;
        max-width: 100%;
        z-index: 2;
    }

    .sh-hero--smarts .gr-main-block1 H1 {
        width: auto;
    }

    .sh-hero--smarts .gr-main-block1-text {
        width: auto;
        max-width: 100%;
    }

    .sh-hero--smarts .gr-main-block2 {
        position: relative;
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: flex-end;
    }

    .sh-hero--smarts .gr-main-block2 img {
        max-width: 100%;
        height: auto;
        object-fit: contain;
    }

    .sh-hero--smarts .sh-hero-h1 {
        font-size: 28px;
        line-height: 36px;
        font-family: InterMedium;
        padding-bottom: 10px;
    }

    .sh-hero--smarts .sh-main-text {
        font-size: 14px;
        line-height: 20px;
    }

    .sh-hero--smarts .gr-main-block1-text {
        font-family: "Inter", sans-serif;
        padding-bottom: 25px;
    }

    .sh-hero--smarts .sh-main-blackbutton {
        width: 228px !important;
        font-size: 12px;
    }

    .sh-hero--smarts .sh-hero-doors-mobile {
        display: none;
    }

    /* === Cooperation variant === */
    .sh-hero--cooperation {
        padding: 32px 0 40px 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
        align-items: center;
        position: relative;
    }

    .sh-hero--cooperation .sh-hero-block1 {
        position: relative;
        max-width: 100%;
        padding-top: 0;
        z-index: 1;
    }

    .sh-hero--cooperation .sh-hero-block2 {
        padding: 0;
        text-align: right;
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }

    .sh-hero--cooperation .cooperation-btn {
        padding-top: 24px;
    }

    .sh-hero--cooperation .cooperation-btn .sh-dark-button {
        width: 228px;
    }

    .sh-hero--cooperation .sh-hero-doorspic {
        max-width: 100%;
        width: auto;
        height: auto;
    }

    .sh-hero--cooperation H1 {
        padding-bottom: 16px !important;
        font-size: 24px !important;
        line-height: 30px;
        font-family: 'InterMedium', sans-serif;
        color: #0E0F11;
    }

    .sh-hero--cooperation .sh-text {
        font-family: 'Inter', sans-serif;
        font-size: 14px;
        line-height: 18px;
        color: #383B47;
    }
}
