@media (min-width: 720px) {

    .white,
    .green {
        padding-bottom: 150px;
    }

    .faq {
        padding-bottom: 80px;
    }

    /* 
    .green::after {
        content: "";
        position: absolute;
        bottom: -40px;
        left: 0;
        width: 100%;
        height: 80px;
        background-image: url('https://static.sz.kz/landings/420-may/assets/blue.png');
        background-size: 100% auto;
        background-repeat: no-repeat;
        z-index: 10;
    }

    .beige {
        position: relative;
        z-index: 1;
    } */

    .beige {
        margin-top: -36px;
    }

    .pink-branch {
        translate: 7% 20px;
    }

    .section:not(.hero) {
        padding-top: 80px;
        padding-bottom: 120px;
    }

    .section-title {
        font-size: 60px;
    }

    .desk-only {
        display: block;
    }

    .out-of-header {
        font-size: 18px;
    }

    .hero {
        padding: 50px 0 0;
    }

    .hero .tyb-logo {
        width: 149px;
        margin-bottom: 60px;
    }

    .hero-container {
        --rows: 4;
        justify-content: center;
        gap: 18px 0;
        grid-template-rows: auto auto auto 1fr;
        min-height: 700px;
        overflow: hidden;

    }

    .hero-grid-container {
        --content: min(calc(100% - 32px), 720px);
        grid-template-columns:
            [full-start] minmax(16px, 1fr) [content-start] var(--content) [content-end] minmax(16px, 1fr) [full-end];
    }

    .hero-grid-container .full {
        grid-column: full;
    }

    .hero-grid-container .content-middle {
        grid-column: content;
    }

    .hero-title-group {
        display: flex;
        align-items: center;
        gap: 205px;
        flex-direction: row-reverse;
        justify-content: center;
    }

    /* .hero-container {
    position: relative;
    min-height: 500px;
} */

    /* .hero-container .visual {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.hero-container .visual picture,
.hero-container .visual img.main-visual {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
} */

    /* Весь текстовый контент поверх картинки */
    .hero-container .hero-title-group,
    .hero-container .hero-lead,
    .hero-container .hero-sum,
    .hero-container .more {
        position: relative;
        z-index: 1;
    }

    /* Кнопка внизу секции */
    .hero-container .more {
        align-self: end;
        margin-bottom: 24px;
    }

    .reg ul li {
        font-size: 18px;
    }

    .hero .tyb-logo {
        grid-row: 1 / 2;
    }

    .hero-lead {
        grid-row: 3 / 4;
    }

    .hero .visual {
        grid-row: auto;
        grid-column: full;
    }

    .hero .more {
        grid-row: 4;
        grid-column: content;
        align-self: end;
        position: relative;
        z-index: 3;
        max-width: 261px;
        bottom: 60px;
        margin: 0 auto;
        left: 50%;
        transform: translateX(-50%);
    }

    .hero .tyb-logo {
        grid-row: 1;
    }

    .hero-lead {
        grid-row: 2;
    }

    .hero-sum {
        grid-row: 3;
    }

    .hero .visual {
        grid-row: 4;
        grid-column: full;
        position: relative;
        margin: 0 auto;
    }

    .hero-title {
        font-size: 60px;
        grid-row: 2 / 3;
        margin-bottom: 0;
        white-space: normal;
        width: min-content;
    }

    .instruction-item {
        font-size: 1.25rem;
    }

    .instruction-item:not(:last-child) {
        margin-bottom: 1.25em;
    }

    .instruction-title {
        font-size: 2.25rem;
    }

    .instruction-title svg.wide {
        width: 51px;
    }

    .instruction-title svg.narrow {
        width: 36px;
    }

    .section.participation {
        padding-bottom: 0;
    }

    .participation .info {
        padding: 1.5em;
    }

    .participation .info p {
        font-size: 18px;
    }

    .participation #online .top {
        grid-template-columns: repeat(2, minmax(330px, 1fr));
        align-items: stretch;
    }

    .participation .bottom .lead {
        font-size: 1em;
    }

    .bottom {
        padding: 20px 20px 0 0;
        margin-bottom: 0;
    }

    .faq-list>div .panel p,
    .faq-list>div .panel :where(ul, ol, ul>li, ol>li) {
        font-size: 20px;
    }

    .faq-list {
        margin-bottom: 100px;
    }

    .hero .visual {
        justify-items: center;
        margin-bottom: 0px;
    }

    .hero .visual picture.full {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .hero .visual img.main-visual {
        width: min(1132px, calc(100vw - 32px));
        height: auto;
        max-width: none;
        max-block-size: 900px;
        margin-top: 50px !important;
        /* margin-left: 80px !important; */
    }

    .hero .visual picture.full {
        z-index: 2;
    }

    .hero .visual .paddles {
        justify-self: stretch;
    }

    .hero .visual .paddles .left {
        justify-self: start;
    }

    .hero-links {
        position: absolute;
        bottom: 5px;
        z-index: 2;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }

    .hero-links a {
        color: #FFF;
        font-family: "Montserrat Alternates";
        font-size: 18px;
        font-weight: 500;
        text-decoration-line: underline;
    }

    .hero-container .link-one {
        margin-top: 0;
    }

    .instruction-item1 {
        width: 666px;
        align-items: flex-start;
    }

    .text {
        font-family: "Montserrat Alternates", sans-serif;
        font-size: 36px;
        font-weight: 700;
        line-height: 110%;
    }

    .instruction-text {
        font-family: "Montserrat Alternates";
        font-size: 20px;
        font-style: normal;
        line-height: 130%;
    }

    .instruction-text2 {
        font-family: "Montserrat Alternates";
        font-size: 20px;
        font-style: normal;
        line-height: 130%;
    }


    .form-container {
        margin: 0 40px 100px;
    }

    .tb-button--secondary {
        color: #FFFFFF;
        background-color: #136DD2;
        font-family: "Montserrat Alternates";
        border: 1px solid #136DD2;
    }

    .participation .section-title {
        font-size: 60px;
    }

    .top-container {
        width: 586px;
        padding: 36px 28px;
        gap: 30px;
        border-radius: 14px;
        border: 3px solid #FFF;
        margin-top: 60px;
    }

    .top-block h3 {
        font-size: 24px;
        font-weight: 700;
    }

    .top-block p {
        font-size: 18px;
        font-weight: 500;
        margin: 15px 0 40px;
        line-height: normal;
    }

    .title {
        margin: 34px 20px 10px 0;
        text-align: center;
        font-size: 24px;
        font-weight: 700;
        line-height: 110%;
    }

    .lead {
        text-align: center;
        font-size: 18px;
        font-weight: 500;
        line-height: 120%;
        margin: 10px 33px 30px 0;
    }

    .buttons {
        display: flex;
        flex-direction: row;
        gap: 8px;
    }

    .tabs-content {
        margin-bottom: 0;
    }

    .form {
        display: flex;
        gap: 16px;
        align-items: center;
    }

    .input-wrapper {
        display: flex;
        align-items: center;
        height: 64px;
        background: #fff;
        border-radius: 14px;
        padding: 0 18px;
        box-shadow: 0 6px 20px rgba(0, 0, 0, .12);
        min-width: 260px;
    }

    .blue-img {
        display: block;
        width: 100%;
        margin-top: -6.2vw;
        position: relative;
        z-index: 10;
    }

    .prefix {
        font-size: 28px;
        font-weight: 500;
        color: #111;
        margin-right: 8px;
    }

    .input {
        border: none;
        outline: none;
        font-size: 28px;
        font-weight: 500;
        color: #111;
        width: 180px;
    }

    .input::placeholder {
        color: #999;
        font-weight: 500;
    }

    .btn {
        height: 64px;
        padding: 0 36px;
        font-size: 28px;
    }

    .buttons:has(.js-buy-pack[style*="none"]) {
        margin: 0 140px;
    }

    .hero-sum {
        grid-area: 3 / 1 / 4 / -1;
        z-index: 2;
        font-size: 28px;
        font-style: italic;
        font-weight: 400;
        line-height: 130%;
        margin-bottom: 15px;
    }

    .section.beige {
        position: relative;
        padding-top: 140px;
    }

    .beige-flower {
        position: absolute;
        top: 10em;
        left: 0px;
    }

    .beige-flower img {
        width: 230px;
    }

    .beige-flower2 {
        position: absolute;
        top: 28em;
        right: 0px;
    }

    .beige-flower2 img {
        width: 230px;
    }

    .beige-flower-faq {
        position: absolute;
        top: 15em;
        left: 0px;
    }

    .beige-flower-faq img {
        width: 330px;
    }

    .no-mobile {
        display: none;
    }

    .mobile {
        display: none;
    }

    .mobile-hide {
        display: block;
    }

    .mobile-700 {
        display: block;
        margin-top: -10vw;
    }

    @keyframes flyLeft {
        from {
            transform: translateX(0);
        }

        to {
            transform: translateX(-130vw);
        }
    }

    .cloud-l1 {
        top: 14%;
        width: 220px;
    }

    .cloud-l2 {
        display: block;
        left: -390px;
        top: 48%;
        width: 450px;
        animation: flyRight 40s linear 1s infinite;
    }

    .cloud-l3 {
        left: 0;
        bottom: 160px;
        width: 220px;
        animation: none;
        display: block;
    }

    .cloud-r1 {
        right: -500px;
        top: -2%;
        width: 500px;
        animation: flyLeft 44s linear infinite;
    }

    .cloud-r2 {
        right: 0;
        top: 420px;
        width: 230px;
        animation: none;
    }

}

@media (min-width: 1200px) {


    .hero .branches .left {
        translate: -1% -51%;
    }

    .no-mobile {
        display: block;
    }

    .mobile {
        display: none;
    }

    .mobile-700 {
        display: none;
    }

    .hero .branch-shadows .left {
        translate: -30% -45%;
    }

    .hero .branch-shadows .right {
        translate: 30% -130%;
    }

    .hero .branches .left2 {
        translate: 22% 81%;
    }

    .right3 {
        width: 117px !important;
        position: absolute;
        right: 0;
        top: -322px;
    }

    .left3 {
        position: absolute;
        bottom: -528px;
        left: -93px;
        transform: rotate(-27deg);
    }

    .left3 img {
        width: 550px;
    }

    .hide-web {
        display: none;
    }

    .hero .branches .right {
        translate: 1% -23%;
        width: clamp(150px, 52vw, 500px) !important;
    }

    .hero .branches .right2 {
        translate: 36% 110%;
    }

    .white,
    .green {
        padding-bottom: 250px;
    }

    .hero .more {
        /* bottom: 70px; */
          bottom: 55px;
    }

    .hero-links {
        position: absolute;
        bottom: -5px;
        z-index: 2;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .hero-links a {
        color: #FFF;
        font-family: "Montserrat Alternates";
        font-size: 20px;
        font-weight: 500;
        text-decoration-line: underline;
    }

}