@media (max-width: 1560px) {
    :root {
        --content-width: calc(100vw - 40px);
        --scale: calc((var(--content-width) - 1280px) / (1560 - 1280));
    }
    .wrapper {
        width: var(--content-width);
        justify-self: center;
        margin: 0 auto;
    }
    .section {
        width: var(--content-width);
        justify-self: center;
        margin: 0 auto;
    }
    .section_footer{
        width: 100%;
        justify-self: center;
        margin: 0 auto;
    }
    .footer-wrapper  {
        width: var(--content-width);
        justify-self: center;
        margin: 0 auto;
    }
    .topbar-wrapper  {
        width: var(--content-width);
        justify-self: center;
        margin: 0 auto;
    }
    .section_horizontal{
        width: var(--content-width);
        justify-self: center;
        margin: 0 auto;
    }

    .block_column{
        width: var(--content-width);
        justify-self: center;
        margin: 0 auto;
    }

    .central-picture img {

        max-width:var(--content-width); /* опционально — ограничение сверху */
    }

    .content_text{
        font-size: calc(22px + 6 * var(--scale));
    }

    .content {

        gap: calc(40px + 40 * var(--scale));
    }

    .caption_big_text{

        font-size: calc(62px + 8 * var(--scale));
    }
    .text_form{
        font-size: calc(62px + 8 * var(--scale));
    }
    .smalltext_form{
        font-size: calc(16px + 2 * var(--scale));
    }
    .button {
        height: calc(40px + 5 * var(--scale));
        border-radius: calc(90px + 10 * var(--scale));
        font-size: calc(12px + 2 * var(--scale));
    }
    .button_black {
        height: calc(40px + 5 * var(--scale));
        border-radius: calc(90px + 10 * var(--scale));
        font-size: calc(12px + 2 * var(--scale));
    }
    .button_black_with_treug  {
        height: calc(40px + 5 * var(--scale));
        border-radius: calc(90px + 10 * var(--scale));
        font-size: calc(12px + 2 * var(--scale));
    }
    .button_black_with_treug::after {

        width: calc(15px + 2 * var(--scale));
        height: calc(14px + 1 * var(--scale));
    }

    .text_input {
        height: calc(45px + 6 * var(--scale));
        font-size: calc(12px + 2 * var(--scale))!important;
        padding-left: calc(18px + 7 * var(--scale));
    }

    .text_label {
        top: calc(23px + 2 * var(--scale));
        left: 20px;
        font-size: calc(12px + 2 * var(--scale))!important;
    }
    .textarea_input {
        font-size: calc(12px + 2 * var(--scale))!important;
    }

    .content_card{
         max-width: 440px;
    }

    .smalltext_caption{

        font-size: calc(36px + 8 * var(--scale))!important;
    }

    .text_caption{

        font-size: calc(48px + 12 * var(--scale))!important;
        line-height: 1.3;
    }

    .block-text {
        font-size: calc(22px + 4 * var(--scale))!important;
    }

    .krug-picture{
        width: calc(910px + 190 * var(--scale))!important;

    }

    .ramka-text{
        font-size: calc(20px + 4 * var(--scale))!important;
    }

    .raw {
        font-size: 30px;
        font-size: calc(20px + 4 * var(--scale))!important;
    }

    .block_raw_foto{
        margin-top: calc(40px - 20 * var(--scale))!important;
    }
    .caption_clock{
        font-size: calc(15px + 4 * var(--scale))!important;
    }
    .block_footer_stroka {
        font-size: calc(24px + 4 * var(--scale))!important;
    }
    .block_video{
        align-self: center;
    }

    .half-section_line{
        font-size: calc(24px + 6 * var(--scale))!important;
    }

    .half-section_line::before {
        top: calc(2px + 4 * var(--scale))!important;
        width: calc(29px + 5 * var(--scale))!important;
        height: calc(29px + 5 * var(--scale))!important;
    }

    .middletext_caption {
        font-size: calc(34px + 9 * var(--scale))!important;
    }

    .image_center {

        top: calc(-55px - 10 * var(--scale))!important;
        width: calc(150px + 22 * var(--scale))!important;
        height: calc(113px + 17 * var(--scale))!important;
    }

    .image_center img {
        width: calc(150px + 22 * var(--scale))!important;
        height: calc(113px + 17 * var(--scale))!important;
    }

    .caption2 {
        font-size: calc(48px + 12 * var(--scale))!important;
    }

    .caption1 {
        font-size: calc(30px + 10 * var(--scale)) !important;
    }

    .section_back_left{
        background: none;
        position: relative;
    }
    .text_vert_block_caption{
        font-size: calc(46px + 4 * var(--scale)) !important;
    }
    .big_caption{
        font-size: calc(34px + 4 * var(--scale))!important;
    }
    .big_font{
        font-size: calc(80px + 10 * var(--scale)) !important;
    }

    .text_vert_block_text{
        font-size: calc(24px + 2 * var(--scale))!important;
    }
    .text_vert_block_grey{
        font-size: calc(20px + 2 * var(--scale))!important;
    }
    .section_back_left::before {
        position: absolute;
        background: none;
    }

    .profit_card_caption {
        font-size: calc(24px + 2 * var(--scale))!important;
    }

    .profit_card_line {
        font-size: calc(22px + 2 * var(--scale))!important;
    }

    .profit_card_line_bold{
        font-size: calc(22px + 2 * var(--scale))!important;
    }

    .profit_card_line_extrabold {
        font-size: calc(26px + 4 * var(--scale))!important;
    }

    .profit_card_ramka{
        font-size: calc(22px + 2 * var(--scale))!important;
    }
    .block_cost_column_caption{
        font-size: calc(46px + 8 * var(--scale))!important;
    }
    .block_cost_middle_column_bold{
        font-size: calc(26px + 2 * var(--scale))!important;
    }
}

@media (max-width: 1420px) {
    .wrapper-page{
        width: 100%;
    }
    .wrapper-page2{
        width: 100%;
        flex-direction: column;
    }

    .info-area {
        display: flex;
        width: auto;
    }
    .sidebar-user {
        width: 300px;
    }
}
@media (max-width: 1430px) {
    .reklama_text {

        flex: 1;
    }
    .reklama_caption,.reklama_caption2 {

        width: auto;
        flex: 1;
        max-width: 500px;
    }

}
/* планшет: 2 колонки */
@media (max-width: 1279px) {

    .raw_info{
        flex-direction: column;
    }
    .desktop{

        display: none;
    }
    .tablet{
        display: flex;
    }
    .caption_line {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 100%;
    }
    .caption_small_text2{
        width: 100%;
        margin-top: 20px;
    }
    .content_smalltext{
        line-height: 1.3;
    }
    .content {
        grid-template-columns: repeat(2, 1fr);

    }
    :root {
        --content-width: calc(100vw - 40px);
        --scale: calc((var(--content-width) - 1024px) / (1280 - 1024));
    }

    .text_form{
        font-size: calc(46px + 8 * var(--scale));
    }
    .caption_big_text {
        font-size: calc(46px + 8 * var(--scale));
    }

    .content_text {
        font-size: calc(25px + 6 * var(--scale));
    }

    .reklama_caption {
        font-size: calc(20px + 4 * var(--scale));
    }
   .reklama_caption2 {
       font-size: calc(18px + 2 * var(--scale));
    }
    .form_text {

        width: 100%;

    }
    .form_area {
        width: 568px;
        display: flex;
        flex-direction: column;
    }

    /* fallback для Safari, где градиент не отрисовывается */
    @media not all and (min-resolution: 0.001dpcm) {
        @supports (-webkit-appearance: none) {
            .text_caption {
                color: #ffffff;
                -webkit-background-clip: unset;
                -webkit-text-fill-color: #ffffff;
                background: none;
            }

            .caption1 {
                color: #ffffff;
                -webkit-background-clip: unset;
                -webkit-text-fill-color: #ffffff;
                background: none;
            }
        }
    }

}
/* мобильный: 1 колонка */
@media (max-width: 1124px) {
    :root {
        --content-width: calc(100vw - 40px);
        --scale: calc((var(--content-width) - 768px) / (1024 - 768));
    }
    .footer_links{
        display: none;
    }
    .topbar_links{
        display: none;
    }
    .content_text {
        text-align: center;
    }

    .button{
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 15px 30px;
        width: fit-content;
        height: 45px;
        background: #FFFFFF;
        border-radius: 100px;

        font-family: 'Inter';
        font-style: normal;
        font-weight: 500;
        font-size: 14px;
        cursor: pointer;
        color: var(--black);
    }

    .button_black{

        box-sizing: border-box;
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 15px 30px;
        width: fit-content;
        height: 45px;
        border: 1px solid #FFFFFF;
        border-radius: 100px;

        font-family: 'Inter';
        font-style: normal;
        font-weight: 500;
        font-size: 14px;

        color: #FFFFFF;
    }
    .button_black_with_treug {
        box-sizing: border-box;
        cursor: pointer;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        padding: 15px 30px;
        width: fit-content;
        height: 45px;
        border: 1px solid #FFFFFF;
        border-radius: 100px;

        font-family: 'Inter';
        font-style: normal;
        font-weight: 500;
        font-size: 14px;
        white-space: nowrap;
        color: #FFFFFF;

        position: relative;
    }

    .button_black_with_treug::after {
        content: "";
        display: inline-block;
        width: 17px;
        height: 15px;
        margin-left: 10px; /* расстояние между текстом и иконкой */

        background: url("/image/treugolnik.svg") no-repeat center;
        background-size: contain;
    }

    .content_text{
        display: block ;
        width: 100%;
        font-family: 'Benzin';
        font-style: normal;
        font-weight: 400;
        font-size: 28px;
        justify-content: center ;
        text-transform: uppercase;
        /* Linnear text */
        background: linear-gradient(90deg, #FFFFFF 0%, #999999 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        text-fill-color: transparent;
        line-height: 1.2;
    }


    .content_smalltext{
        display: flex;
        width: 100%;
        font-family: 'Inter';
        font-style: normal;
        font-weight: 400;
        font-size: 16px;

        text-align: justify;
        color: #747E86;
    }

    .text_label {
        position: absolute;
        top: 25px;
        left: 20px;
        font-family: 'Inter'!important;
        font-style: normal;
        font-weight: 400;

        font-size: 14px;
        color: rgba(255, 255, 255, 0.4);
        pointer-events: none;
        padding: 0 8px;
        transform: translateY(-50%);
        transition: top 0.1s ease-in-out, transform 0.1s ease-in-out, font-size 0.1s ease-in-out;
    }

    .text_input:focus ~ .text_label,
    .text_input:not(:placeholder-shown) ~ .text_label {
        top: -9px;
        left: 5px;
        transform: translateY(-50%) scale(0.75);
    }
    /*стилизованный инпут*/

    /*стилизованный textarea*/
    .textarea_input {
        width: 100%;
        min-height: 120px; /* начальная высота, можно менять */
        font-family: 'Inter' !important;
        font-style: normal;
        font-weight: 500 !important;
        font-size: 14px !important;
        color: white;
        background-color: transparent;
        border: 1px solid rgba(255, 255, 255, 0.8);
        border-radius: 20px; /* можно сделать более мягкий скругленный стиль */
        cursor: text !important;
        padding: 15px 25px;
        transition: border 0.2s, box-shadow 0.2s;
        resize: vertical; /* разрешаем менять высоту */
    }
    .text_input {
        height: 51px;
        width: 100%;
        font-family: 'Inter'!important;
        font-style: normal;
        font-weight: 500!important;
        font-size: 14px!important;
        color: white;
        background-color: transparent;
        border: 1px solid rgba(255, 255, 255, 0.8);
        border-radius: 100px;
        cursor: text !important;
        padding: 0 8px;
        transition: border 0.2s, box-shadow 0.2s;
        padding-left: 25px;
    }
    .index-wrapper{
        display: none;
    }

    .index-wrapper.for-tablet {
        display: flex;
    }

    .index-wrapper-tablet {
        display: flex;
        flex-direction: column;
        justify-self: center;
        margin: 0 auto;
        width: 90%;
        justify-content: center;  /* по центру горизонтали */
        align-items: center;      /* по центру вертикали */
        background: var(--main-background);    /* цвет плашки */
        height: 100vh;
    }
    .central-text{
        display: flex;
        width: 100%;
        gap: 40px;
    }
    .central-text1{
        display: flex;
        font-weight: 400;
        width: 50%;
        flex-direction: column;
        font-family: 'Inter';
        font-size: 18px;
        line-height: 1.2;
        color: #747E86;
    }
    .central-text2{
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        width: 50%;
        font-family: 'Benzin';
        font-size: 18px;
        font-weight: 500;
        line-height: 1.2;
        color: #ffffff;
    }
    .yellow_bold{
        display: block;
        font-family: 'Benzin';
        font-size: 18px;
        line-height: 1.2;
        color: var(--yellow);
        text-transform: uppercase;

    }

    .menu-btn{
        display: flex;
    }
    .topbar_buttons{
        display: none;
    }
    .central-picture img {
        max-width: 100%;
    }

    .block-text{
        width: var(--content-width);
    }
    .krug-picture{
        width: var(--content-width);
    }

    .smalltext_caption{
        font-size: 36px!important;
    }

    .text_caption{
        font-size: 46px;
        line-height: 1.3;
    }
    .raw {

        font-size: 22px;
    }
    .raw_stroka {
        font-size: 20px;
    }
    .block_footer_stroka {
        font-size: 24px!important;
    }
    .raw::after {
        top: 9px;
    }
    .block_raw_foto {
        margin-top: 46px!important;
    }
    .text_vert_block_caption {
        font-size: 42px!important;
    }
    .text_vert_block_grey {
        font-size: 20px;
    }

    .big_caption {
        font-size: 26px!important;
        margin-top: 26px!important;
    }

    .big_font {
        font-size: 76px!important;
    }

    .big_text{
        margin-top: 18px!important;
    }

    .half-section_line {
        font-size: 20px!important;
        padding-left: 35px;
    }

    .half-section_line::before {
        left: 0!important;
        top: 3px!important;
        width: 24px!important;
        height: 24px!important;
    }

    .middletext_caption {
        font-size: 24px!important;
    }

    .section {
        margin-top: 140px!important;
    }
    .krug-picture {
        width: calc(100% - 40px)!important;
    }

    .raw {
        font-size: 20px!important;
    }
    .raw_stroka::before, .raw_stroka::after {
        top: 12px;
    }
    .text_caption {
        display: flex;
        font-size: 48px !important;
        justify-content: center;
        text-align: center;
    }
    .image_center {
        top: -46px!important;
        width: 128px!important;
        height: 97px!important;
    }
    .image_center img {
        width: 128px!important;
        height: 97px!important;
    }
    .caption1 {
        font-size: 25px!important;
    }
    .caption2 {
        font-size: 48px!important;
    }
    .spisok_line {
        font-size: 22px;
    }
    .spisok{
        margin-top: 18px!important;
    }
    .profit_card_line {
        font-size: 20px !important;
    }
    .profit_card_caption {
        font-size: 24px !important;
        line-height: 1.3;
    }
    .profit_card_ramka {
        font-size: 16px !important;
    }
    .blocks_cost{
        flex-wrap: wrap;
        justify-content: center;
    }
    .block_cost{
        min-width: 360px; /* <- ключевой момент */
        margin: 20px;
    }
    .block_cost_column_caption {
        font-size: 35px !important;
    }

    /* fallback для Safari < 14.1 */
    @media not all and (min-resolution: 0.001dpcm) {
        @supports (-webkit-appearance: none) {
            .block_raw_foto {
                margin: -16px;
            }

            .block_raw_foto > * {
                margin: 16px;
            }
        }
    }

    .text_vert_block {
        display: flex;
        width: 100%;
        margin-top: 60px!important;
    }
}

/* мобильный: 1 колонка */
@media (max-width: 1023px) {
    .content {
        justify-items: center;   /* центровка содержимого */
        grid-template-columns: 1fr;
    }

    .caption_small_text{
        width: 100%;
        margin-top: 15px;
    }
    .content_card {
        width: 100%;             /* по умолчанию */
        max-width: 400px;        /* ограничиваем ширину карточки */
    }

    .form_text {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .text_area{
        width: auto;
        align-items: center;
    }
    .form_area {
    margin-top: 30px;

    }
    .smalltext_form{
        width: auto;
    }
    .reklama_caption {
        font-size: 24px;
    }
    .reklama_caption2 {
        font-size: 16px;
    }

    .reklama_text {
        flex-direction: column;
        width: 100%;
    }
    .reklama_descr{
        width: 100%;
        margin-left: 0px;
        margin-top: 6px;
    }
    .reklama_buttons {
        flex-direction: row;

    }
    .width100px{
        margin-top: 0!important;
    }
    .ml10-mobile{
        margin-left: 10px;
    }
    .reklama_raw{
        margin-top: 10px;
    }
}

/* TrueExit cabinet/tablet: on narrow landscape/tablet widths move cabinet nav above content. */
@media (max-width: 1100px) {
    .wrapper-page,
    .wrapper-page2 {
        width:100%;
        max-width:100%;
        box-sizing:border-box;
    }

    .wrapper-page2 {
        flex-direction:column;
        padding:0 14px;
        margin-top:96px !important;
    }

    .info-area {
        width:100%;
        min-width:0;
        flex-direction:column;
    }

    .user-area,
    .user-area[style] {
        width:100% !important;
        max-width:none;
        min-width:0;
        box-sizing:border-box;
    }

    .sidebar-user {
        position:static;
        width:100%;
        max-width:100%;
        margin:0 0 24px;
        padding:12px;
        box-sizing:border-box;
        flex-direction:row;
        flex-wrap:wrap;
        align-items:center;
        gap:10px;
        overflow-x:visible;
        overflow-y:visible;
    }

    .sidebar-user::before {
        flex:1 0 100%;
        margin:0 4px 0 2px;
        white-space:nowrap;
    }

    .sidebar-user-line {
        flex:1 1 188px;
        min-width:0;
        min-height:44px;
        padding:0 16px 0 46px;
        white-space:normal;
        font-size:15px;
    }

    .sidebar-user-line:not(:first-child) {
        margin-top:0;
        margin-left:0;
    }

    .trueexit-profile-shell,
    .te-game-events-shell {
        width:100% !important;
        max-width:none !important;
        min-width:0;
    }

    .trueexit-profile-hero,
    .trueexit-profile-card {
        width:100%;
        box-sizing:border-box;
    }

    .trueexit-profile-title {
        overflow-wrap:anywhere;
    }

    .table {
        max-width:100%;
        overflow-x:auto;
        -webkit-overflow-scrolling:touch;
    }

    .table-header,
    .table-raw {
        min-width:max-content;
    }
}

/* мобильный: 1 колонка */
@media (max-width: 900px) {
    .wrapper-page {
        flex-direction: column;
        margin-top: 90px !important;
    }

    .wrapper-page2 {
        flex-direction: column;
        margin-top: 90px !important;
    }
    .sidebar-user {
        position:static;
        flex-direction:column;
        flex-wrap:nowrap;
        width:100%;
        margin:0 0 25px;
        padding:14px;
        gap:6px;
        box-sizing:border-box;
        border:1px solid rgba(215,166,79,.26);
        border-radius:28px;
        background:linear-gradient(180deg, rgba(15,14,16,.94), rgba(6,6,8,.90));
        box-shadow:0 18px 46px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.035);
        backdrop-filter:blur(8px);
        overflow:visible;
    }
    .sidebar-user::before{
        display:block;
        width:100%;
        margin:0 0 2px;
        color:rgba(245,217,146,.88);
        font-size:12px;
        line-height:1.2;
        letter-spacing:.16em;
    }
    .sidebar-user-line{
        box-sizing:border-box;
        display:flex;
        flex-direction:row;
        justify-content:flex-start;
        align-items:center;
        width:100%;
        min-height:44px;
        height:auto;
        padding:13px 16px 13px 44px;
        border:1px solid rgba(255,255,255,.055);
        border-radius:14px;
        background:linear-gradient(90deg, rgba(255,255,255,.045), rgba(255,255,255,.018));
        color:rgba(255,255,255,.80);
        font-size:15px;
        line-height:1.25;
        opacity:1;
        flex:none;
        order:1;
        flex-grow:0;
        white-space:normal;
    }
    .sidebar-user-line:not(:first-child) {
        margin-top:0;
        margin-left:0;
    }
    .sidebar-label-full{
        display:none;
    }
    .sidebar-label-short{
        display:inline;
    }

    /* Псевдоэлемент с иконкой */
    .sidebar-user-line::before {
        content:'';
        position:absolute;
        left:16px;
        top:50%;
        transform:translateY(-50%);
        width:18px;
        height:18px;
        background-size:contain;
        background-repeat:no-repeat;
        background-position:center;
    }
    .mobile-select{
        color:#17120a;
        border-color:rgba(245,217,146,.86);
        background:linear-gradient(135deg, #f8dc8d, #d5a549 58%, #f7d986);
        box-shadow:none;
    }

}

/* планшет */
@media (max-width: 768px) {
    .form_area {
        width: 100%;
    }
    .text_vert_block_text {
        width: 100%;
    }
    .text_vert_block_grey{
        width: 100%;
    }
    .reklama_raw {
       flex-direction: column;
    }
    .width100px {
        margin-top: 12px !important;
    }
    .reklama_price{
    justify-content: flex-start;
    }
    .reklama_line{
        margin-top: 25px!important;
    }
    .subcaption_podcast{
        width: auto;
    }
}
/* планшет */
@media (max-width: 600px) {
    .central-text1{
        font-size: 16px;
        width:100%;
    }
    .central-text2{
        width:100%;
    }
    .central-text{
        flex-direction: column;
    }

    .menu-btn .bar {

        height: 4px;
        background-color: #ffffff;
        margin: 3px 0;

    }
    .reklama_buttons {
        flex-direction: column;
    }
    .ml10-mobile {
        margin-left: 0px;
    }
    .raw_info_line{
        flex-direction: column;
    }
    .raw_info_column{
        margin-left: 0;
    }
}
@media (max-width: 480px) {

    :root {
        --content-width: calc(100vw - 40px);
        --scale: calc((100vw - 360px) / (480 - 360));
    }

    .wrapper-page {
        padding: 0 20px;

    }
    .wrapper-page2 {
        padding: 0 20px;

    }
    .mobile-column{
        flex-direction: column!important;
    }
    .button_width100{
        width: 100%;
    }
    .level_1:not(:first-child)  {
        margin-top: 10px;
    }

    .item1 {
        display: none;
    }
    .item3 {
        display: none;
    }
    .item2 {
        width: 220px;
    }
    .item4 {
        width: 57px;
    }
    .item12 {
        display: none;
    }
    .item42 {
        display: none;
    }
    .item52 {
        display: none;
    }


    .table-raw{
        justify-content: space-between;
    }

    .ref-item-plus {
        padding-left: 0;
    }
    .ref {
        flex-direction: column;
        align-items: flex-start;
    }
    .ref-line {
        justify-content: left;
    }
    .ref-line:not(:first-child) {
        margin-top: 10px;
    }
    .color1 {

        margin-left: 0;

    }
    .sidebar-user{
        flex-direction: column;
        flex-wrap: wrap;
    }
    .sidebar-user-line:not(:first-child) {
        margin-top: 0;
        margin-left: 0;
    }

    .menu-btn {
        right: 30px;
    }
    .menu-btn .bar {

        height: 3px;
        background-color: #ffffff;
        margin: 3px 0;
    }

    .wrapper {
        width: 100%;
    }
    .level_referals {
        flex-direction: column;
    }
    .level_1{
        width: 100%;
    }
    .index-wrapper-mobile{
        display: flex;
        flex-direction: column;
        justify-self: center;
        margin: 0 auto;
        width: 100%;
        justify-content: center;
        align-items: center;
        background: var(--main-background);
        height: 100vh;
    }
    .index-wrapper-tablet{
        display: none;
    }
    .index-wrapper.for-tablet {
        display: none;
    }
    .central-picture  {
        width: 100%;
    }
    .central-picture img {
        max-width: 100%;
    }


    /* fallback для Safari < 14.1 */
    @media not all and (min-resolution: 0.001dpcm) {
        @supports (-webkit-appearance: none) {
            .central-picture {
                display: block; /* отключаем flex для старых Safari */
                width: 100%;
                max-width: 100%;
                margin: 0 auto;
                position: relative;
                overflow: hidden;
            }

            /* Пропорции мобильной картинки: 351 / 372 */
            .central-picture::before {
                content: "";
                display: block;
                padding-top: calc(372 / 351 * 100%); /* высота относительно ширины */
            }

            .central-picture img {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                object-fit: contain; /* вписать без обрезания */
                object-position: center;
            }
        }
    }


    /* fallback для Safari, где градиент не отрисовывается */
    @media not all and (min-resolution: 0.001dpcm) {
        @supports (-webkit-appearance: none) {
            .big-caption {
                color: #ffffff;
                -webkit-background-clip: unset;
                -webkit-text-fill-color: #ffffff;
                background: none;
            }
        }
    }

    .central-text {
        gap: 0px;
        padding: 20px;
    }
    .central-text1{
        margin-top: 20px;
        font-size: calc(16px + 2 * ((100vw - 360px) / (480 - 360)));
    }
    .central-text2{
        margin-top: 20px;
        font-size: calc(18px + 2 * ((100vw - 360px) / (480 - 360)));
    }
    .content_card {
        width: 100%;
        max-width: 100%;

    }
    .content_buttons{
        padding-right: 0;
    }
    .content {
        gap: 48px;
    }

    .content_smalltext{
        font-size: calc(16px + 3 * var(--scale));
    }
    .text_form {
        font-size: calc(36px + 3 * var(--scale));
    }
    .caption_big_text {
        font-size: calc(42px + 4 * var(--scale));
    }
    .button_black_with_treug {
        padding: 15px 20px;
    }
    .button {
        padding: 15px 22px;
    }
    .caption_small_text, .caption_small_text2{
        font-size: calc(14px + 3 * var(--scale));
    }
    .content_text {
        font-size: calc(28px + 2 * var(--scale));
    }
    .button,.button_black_with_treug{
        font-size: calc(14px + 2 * var(--scale));
        height: calc(45px + 5 * var(--scale));
    }
    .menu-line{
        font-size: calc(14px + 3 * var(--scale));
    }
    .footer-wrapper {
        width: 100%;
        padding: 0 20px;
    }
    .section_footer {
        width: 100%;
    }

    .content_image {
        background-position: -112px -110px, 0px 0px, 0px 0px, 0px 0px, 85px 0px;
        background-image: radial-gradient(50% 50% at 50% 53%, rgba(221, 16, 36, 0.43) 0%, #09090BCC 57%);

    }

    .big-caption {
        font-size: calc(48px + 2 * var(--scale)) !important;
        justify-content: center;
        display: flex;
        width: 100%;
        align-items: center;
        text-align: center;
    }
    .block-text {
        font-size: calc(16px + 2 * var(--scale)) !important;
    }

    .ramka-text {
        padding: 16px;
        border-radius: 25px;
        font-size: calc(16px + 2 * var(--scale)) !important;
    }

    .mobile{
        display: flex;
    }

    .computer{
        display: none;
    }

    .krug-picture2{
        display: flex;
        width: 100%;
    }

    .krug-picture2 img{
        width: 100%;
        aspect-ratio: 320 / 449;
    }

    /* fallback для Safari < 14.1 */
    @media not all and (min-resolution: 0.001dpcm) {
        @supports (-webkit-appearance: none) {

            .krug-picture2 {
                display: block; /* отключаем flex для старых Safari */
                width: 100%;
                max-width: 100%;
                margin: 0 auto;
                position: relative;
                overflow: hidden;
            }

            /* Пропорции мобильной картинки: 351 / 372 */
            .krug-picture2::before {
                content: "";
                display: block;
                padding-top: calc(449 / 320 * 100%); /* высота относительно ширины */
            }

            .krug-picture2 img {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                object-fit: contain; /* вписать без обрезания */
                object-position: center;
            }
        }
    }

    .text_caption {
        display: flex;
        font-size: calc(27px + 2 * var(--scale)) !important;
    }

    .smalltext_caption {
        display: flex;
        width: 100%;
        text-align: center;
        justify-content: center;
        font-size: calc(14px + 2 * var(--scale)) !important;
    }

    .block_raw {
        flex-direction: column;
    }
    .raw {
        display: flex;
        width: 100%;
        font-size: 16px !important;
    }
    .raw:not(:first-child) {
        margin-top: 20px; /* пример — любое значение */
    }
    .block_raw_foto{
        flex-direction: column;
    }

    /* fallback для Safari < 14.1 */
    @media not all and (min-resolution: 0.001dpcm) {
        @supports (-webkit-appearance: none) {
            .block_raw_foto {
                margin: 0;
            }

            .block_raw_foto > * {
                margin: 0;
            }
        }
    }


    .raw_foto:not(:last-child) {
        width: 100%;
        margin-top: 30px; /* пример — любое значение */
    }
    .raw_foto:last-child {
        margin-top: 0px; /* пример — любое значение */
        width: 100%;
    }
    .raw_foto:nth-child(2)::before {
        display: none;
    }
    .raw_foto:nth-child(3)::before {
        display: none;
    }
    .raw_foto:nth-child(3)::after {
        display: none;
    }

    @media not all and (min-resolution: 0.001dpcm) {
        @supports (-webkit-appearance: none) {
            .raw_foto {
                width: 100%;
                overflow: visible!important;
            }
            .raw_foto:nth-child(2) {

                margin-top: 75px;
            }
            .raw_foto:nth-child(3){
                margin-top: 40px; /* пример — любое значение */

            }
        }
    }


    .block_footer_stroka {
        font-size: calc(20px + 2 * var(--scale)) !important;
        line-height: 1.3;
    }

    .icon_mobile_block{
        display: flex;
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
    }
    .icon_center{
        position: relative;
        top: 0;
        left: 0;
        width: 60px;
        height: 60px;
        transform: none;
        margin: 16px;
    }
    .ramka_icon {
        margin-top: 10px;
    }
    .section {
        margin-top: 80px !important;
    }
    .text_vert_block_caption {
        font-size: calc(38px + 2 * var(--scale)) !important;
    }
    .text_vert_block_text {
        width: 100%;
    }
    .text_vert_block_text {
        font-size: calc(18px + 2 * var(--scale)) !important;
        line-height: 1.3;
    }
    .text_vert_block_grey {
        font-size: calc(15px + 2 * var(--scale)) !important;
    }

    .big_raw {
        width: 100%;
        flex:1;
    }

    .block_big_raw{
        margin-top: 30px !important;
        width: 100%;
    }

    /* fallback для Safari < 14.1 */
    @media not all and (min-resolution: 0.001dpcm) {
        @supports (-webkit-appearance: none) {

            .big_raw {
                margin: 0;
                margin-top: 40px;
            }

        }
    }

    .half-sections{
        flex-direction: column;
    }
    .half-section{
        width: 100%;
    }
    .half-sections {
       margin-top: 45px!important;
    }

    .half-section img {
        width: 100%;

    }

    .big_text {
        font-size: calc(18px + 2 * var(--scale)) !important;
    }
    .mobile-mt0{
        margin-top: 0px!important;
    }
    .mobile-mt10{
        margin-top: 10px!important;
    }
    .mobile-mt15{
        margin-top: 15px!important;
    }
    .mobile-mt20{
        margin-top: 20px!important;
    }
    .mobile-mt30{
        margin-top: 30px!important;
    }
    .mobile-mt40{
        margin-top: 40px!important;
    }
    .mobile-mt60{
        margin-top: 60px!important;
    }

    .middletext_caption {
        width: 100%;
        font-size: calc(18px + 2 * var(--scale)) !important;
    }

    .block_cards {
        margin-top: 80px!important;
        gap: 30px;
    }

    .block_card{
        width: 45%;
        border-radius: 15px;
    }

    .block_card:not(:first-child)::before {
        display: none;
    }
    .block_card:not(:first-child)::after {
        display: none;
    }

    /* fallback для Safari < 14.1 */
    @media not all and (min-resolution: 0.001dpcm) {
        @supports (-webkit-appearance: none) {
            .block_cards {
                display: flex;
                flex-wrap: wrap;
                justify-content: center;
                margin: -15px;
            }

            .block_card {
                width: calc(45% - 30px);
                margin: 15px;
                border-radius: 15px;
                aspect-ratio: 1 / 1;
                height: 140px;
                min-width: 135px;
            }



            .raw_foto {
                position: relative !important;

            }


            .raw_foto img {
                position: static !important;     /* отменяем абсолютное позиционирование */
                display: block !important;
                width: 90% !important;
                height: auto !important;
                margin: 0 auto !important;       /* центрируем */
                object-fit: contain !important;
                transform: none !important;      /* сбрасываем translate */
            }

            /* сброс фиктивного padding из ::before */
            .raw_foto::before {
                display: none !important;
                content: none !important;
            }
        }
    }

    .image_center img {
        width: 100px !important;
        height: 74px !important;
    }

    .image_center {
        top: -46px !important;
        width: 100px !important;
        height: 74px !important;
    }

    .section {
        padding: 20px 0;
    }

    .inner_text{
        font-size: calc(16px + 2 * var(--scale)) !important;
    }
    .caption1 {
        font-size: calc(16px + 2 * var(--scale)) !important;
        display: flex;
        width: 100%;
        justify-content: center;
    }
    .caption2 {
        font-size: calc(38px + 2 * var(--scale)) !important;
        display: flex;
        width: 100%;
        justify-content: center;
    }

    .spisok_line {
        font-size: calc(18px + 2 * var(--scale)) !important;
    }
    .section_back_left .section {
        padding: 0;
    }
    .block_video {
        display: flex;
        position: relative;
        width: calc(320px + 120 * var(--scale)); /* масштаб от 360 до 480px */
        height: calc(180px + 66 * var(--scale));
        border-radius: 30px;
        overflow: hidden;
        border: 2px solid white;
        z-index: 3;
    }
    .video_bottom{
        font-size: calc(15px + 2 * var(--scale)) !important;
        margin-top: 5px;
    }
    .button_bottom {
        padding: 14px 25px;
        height: 34px;
        right: 17px;
        bottom: 10px;
        font-size: calc(14px + 1 * var(--scale)) !important;
    }

    .profit_cards {
        gap: 0px;
        flex-direction: column;
    }
    .profit_card {
        width: 100%;
        border-radius: 0;
        padding: 0px;

    }
    .profit_card_line {
        font-size: 16px !important;
    }

    .profit_card_ramka {
        border-radius: 16px;
    }

    .profit_card_caption {
        font-size: calc(22px + 2 * var(--scale)) !important;
    }

    .blocks_cost {
        flex-direction: column;
        align-items: center;
    }
    .block_cost {
        min-width: 300px;
        width: 100%;
        margin: 0;
    }
    .block_cost:not(:first-child) {
        margin-top: 50px;
    }
    .block_cost_img {
        margin-left: -18px;
    }
    .block_cost_column {
        margin-left: -12px;
        margin-top: -19px;
    }
    .block_cost_column_line {
        font-size: calc(20px + 2 * var(--scale)) !important;
    }

    .raw_stroka::before, .raw_stroka::after {
        top: 14px;
    }
    .profit_card::before {
        content: "";
        position: absolute;
        inset: 0;
        background:
            radial-gradient(circle at 50% 50%, rgba(255,0,0,0.6), transparent 30%),
            linear-gradient(to right, rgba(255,0,0,0.3), transparent 80%);
        filter: blur(80px);
        z-index: 0;
        pointer-events: none;
        transform: translateX(50px); /* смещаем всё свечение вправо */
    }
    .padding-10{
        display: flex;
        width: 100%;
        flex-direction: column;
        padding-left: 10px;
        padding-right: 10px;
    }
    .contact-component-line{
        flex-direction: column;
    }
    .width33{
        width: 100%;
    }
    .width50{
        width: 100%;
    }

    .mt-35rr {
        margin-top: 25px !important;
    }
    .mt-10mobile{
        margin-top: 10px !important;
    }
    .input_field{
        margin-right: 0!important;
    }
    .reklama_line{
        flex-direction: column;
    }
    .reklama_image {
        width: 180px;
        height: 180px;
    }
    .reklama_image img {
        width: 180px;
        height: 180px;
    }
    .width100px{
        width: 100% !important;
    }
    .reklama_descr {

        margin-top: 15px;
        margin-bottom: 10px;
    }
    .reklama_caption {
        margin-top: 15px;
    }
    .reklama_price {

        font-size: 25px;
    }
    .caption_line{
        margin-top: 0px!important;
    }
    .width100px {
        width: 100% !important;

        align-self: center;
    }
    .reklama_buttons {
        margin-top: 10px;
    }
    .reklama_caption2 {

        margin-top: 20px;
    }
    .reklama_caption {

        margin-top: 20px;
    }
    .raw_img {
        display: flex;
        width: 100%;

        justify-content: center;
    }
    .caption_podcast{
        font-size: calc(34px + 10 * var(--scale)) !important;
        margin-top: 20px;
    }
    .raw_info_block {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .price_podcast{
        margin-bottom: 20px;
    }
    .caption_podcast2 {
        margin-top: 40px!important;
        font-size: 27px;

    }
    .block_video_column:not(:first-child) {
        margin-top: 20px;
    }

    .auth_window{
        width: calc(100% - 24px);
        padding: 32px 20px;
        border-radius: 18px;
    }

    .auth_window .text_error.mt-30{
        margin-top: 42px!important;
    }
}
