.sana__popup-form .sana__btn-primary {
    width: 470px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
}


/* ========================================== */
/* ТАК БУДЕТ НА ТЕЛЕФОНАХ И ПЛАНШЕТАХ (MOBILE) */
/* ========================================== */
@media screen and (max-width: 960px) {
    
    /* 1. ЛОГОТИП ПО ЦЕНТРУ НА МОБИЛЬНЫХ */
    .t228__mobile, .t454__mobile, [class*="mobile__container"], .t-menu__header {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        position: relative !important;
        width: 100% !important;
    }
    .t-menu__logo-img, .t-logo, [class*="logo"] {
        margin: 0 auto !important;
        display: block !important;
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        z-index: 10 !important;
    }
    .t-menuburger, [class*="menuburger"] {
        position: absolute !important;
        right: 20px !important;
        left: auto !important;
        margin: 0 !important;
        z-index: 11 !important;
    }

    /* 2. ПОРЯДОК ЭЛЕМЕНТОВ СВЕРХУ ВНИЗ НА МОБИЛЬНЫХ */
    /* Включаем flex ТОЛЬКО внутри медиа-запроса, чтобы не ломать компьютерную версию */
    .sana_hero-inner,
    div.sana_hero-inner {
        display: flex !important;
        flex-direction: column !important;
    }

    /* Выставляем строгий пошаговый порядок */
    .sana_hero-eyebrow { order: 1 !important; margin-bottom: 12px !important; }
    .sana_hero-title { order: 2 !important; margin-bottom: 24px !important; }
    
    /* Фото встает третьим */
    div.sana_hero-photo-wrap { 
        order: 3 !important; 
        display: flex !important;
        flex-direction: column !important;
        margin-bottom: 80px !important; /* Большой честный отступ под фото, куда встанет плашка */
        height: auto !important;
    }
    
    /* Плашка Жанболата внутри контейнера с фото */
    .sana_hero-photo-badge,
    .sana_hero-photo-hadge,
    div.sana_hero-photo-wrap > div {
        position: absolute !important;
        bottom: -55px !important; /* Выносим плашку под картинку */
        left: 15px !important;
    }

    /* Тексты и действия идут следом */
    p.sana_hero-text:nth-of-type(1) { order: 4 !important; margin-bottom: 24px !important; }
    div[style*="margin-bottom:32px"], div[style*="margin-bottom: 32px"] { order: 5 !important; }
    .sana_hero-actions { order: 6 !important; }
}

/* ========================================== */
/* ТАК БУДЕТ НА КОМПЬЮТЕРАХ (DESKTOP)       */
/* ========================================== */
@media screen and (min-width: 961px) {
    /* Полностью отменяем flex-колонку, возвращая стандартную сетку Тильды */
    .sana_hero-inner,
    div.sana_hero-inner {
        display: grid !important; /* или block, в зависимости от исходной верстки */
        display: -webkit-box !important;
        display: -ms-flexbox !important;
        flex-direction: row !important;
    }
    
    /* Сбрасываем все мобильные order-изменения */
    .sana_hero-eyebrow,
    .sana_hero-title,
    div.sana_hero-photo-wrap,
    p.sana_hero-text,
    .sana_hero-actions {
        order: unset !important;
    }
}
</style>