.y_direct .section_title{
    margin-bottom: 80px;
}

.y_direct .first_line{
    /*padding-top: 43px;*/
    position: relative;
}
.y_direct .first_line.head_fixed{
    padding-top: calc(76px / 0);
}
.y_direct .first_line p{
    margin-bottom: 0;
}
.y_direct .first_line .container{
    position: relative;
}
.y_direct .first_line .content{
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.y_direct .first_line .content .btn_one,
.y_direct .first_line .content  .btn_one:focus,
.y_direct .first_line .content  .btn_one:active{
    min-width: 60%;
}
.y_direct .first_line .content .offer{
    position: relative;
    top: -19px;
    text-align: start;
}
.y_direct .first_line .content .offer .badges{
    margin-bottom: 20px;
}

.y_direct .first_line .content .offer .title{
    margin-bottom: 50px;
}
.y_direct .first_line .content .offer .title h1{
    font-family: Oswald, serif;
    font-size: 62px;
    font-weight: 300;
    text-transform: uppercase;
    margin-bottom: 19px;
    position: relative;
    z-index: 1;
}

.y_direct .first_line .content .offer .title p{
    font-weight: 200;
    font-size: var(--text-middle);
}
.y_direct .first_line .content .offer .cta a{
    margin-bottom: 36px;
}
.y_direct .first_line .content .offer .cta .info{
    position: relative;
    display: flex;
    align-items: center;
    left: 120px;
}
.y_direct .first_line .content .offer .cta .info img{
    position: relative;
    top: -22px;
    margin-right: 20px;
}
.y_direct .first_line .content .offer .cta .info p{
    font-size: 18px;
    font-weight: 200;
    font-style: italic;
    max-width: 350px;
}
.y_direct .first_line .content .photo{
    position: relative;
    text-align: end;
}
.y_direct .first_line .content .photo .badge_name{
    text-align: start;
    position: absolute;
    padding: 9px 11px 9px 17px;
    background: var(--color-content-block);
    bottom: 8vw;
    right: 1vw;
    z-index: 4;
    border-radius: var(--radius-very-small);
}


.y_direct .first_line .content .photo .badge_name::before{
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    background: var(--color-main);
    left: -7.5px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
}
.y_direct .first_line .content .photo .badge_name p{
    font-size: 17px;
    font-weight: 300;
}
.y_direct .first_line .content .photo .badge_name p b{
    font-weight: 500;
}
.y_direct .first_line .content .photo img{
    position: relative;
    top: -1px;
    z-index: 3;
}
.y_direct .first_line .content .photo .ellipse-blur{
    position: absolute!important;
    top: -71px;
    left: -87px;
    z-index: 0;
}
.y_direct .first_line .content .photo .ellipse-1{
    position: absolute!important;
    top: 19px;
    left: 27px;
    z-index: 1;
}
.y_direct .first_line .content .photo .ellipse-2{
    position: absolute!important;
    top: 57px;
    left: 94px;
    z-index: 1;

}
.y_direct .first_line .object-bottom{
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 10;
}

.y_direct .line_roll {
    transform: rotate(0.14deg);
    width: 110%;
    left: -20px;
    z-index: 10;

}
.y_direct .line_roll .object-grand{
    top: -164px;
    left: 0;
}


/* 1. Основной контейнер: делим экран на Текст (слева) и Картинку (справа) */
.y_direct .pains .content {
    display: grid;
    /* Левая часть занимает чуть больше места (1.2 доли), правая - 1 долю */
    grid-template-columns: 1.8fr 1fr;
    gap: 30px; /* Отступ между текстом и картинкой Диего */
    align-items: center; /* Центрируем всё по вертикали */
    margin-bottom: 90px;
}

/* 2. Левая часть: сетка 2x2 для карточек с болями */
.y_direct .pains .left {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Две равные колонки */
    column-gap: 60px; /* Отступы между карточками */
    row-gap: 60px;
    position: relative;
}

.y_direct .pains .left .graph{
    left: 18px;
    bottom: -64px;
    z-index: 0;
}

/* 3. Стилизация самих карточек (чтобы было как на дизайне) */
.y_direct .pains .block {
    background: var(--color-content-block); /* Белый фон */
    border: 1px solid var(--color-border-light);
    padding: 50px 40px;    /* Внутренние отступы */
    border-radius: 20px; /* Закругление углов */
    transition: transform 0.3s ease; /* Анимация при наведении */
    position: relative;
    z-index: 1;
}

/* Эффект наведения (опционально) */
.y_direct .pains .block:hover {
    transform: translateY(-5px);
}

.y_direct .pains .block h3 {
    font-size: var(--text-middle);
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: normal;
}

.y_direct .pains .block p {
    font-size: 24px;
    margin: 0;
    font-weight: 200;
}

.y_direct .pains .right{
    position: relative;
}
/* 4. Настройка картинки */
.y_direct .pains .right img {
    width: 100%;       /* Картинка не вылезает за границы */
    height: auto;
    object-fit: contain;
    max-width: 450px; /* Ограничиваем максимальный размер, чтобы не была гигантской */
    display: block;
    margin: 0 auto;
    z-index: 1;
}
.y_direct .pains .right .obj_shadow{
    bottom: -110px;
    left: 0;
    z-index: 0;
}
/* --- АДАПТИВНОСТЬ (МОБИЛЬНАЯ ВЕРСИЯ) --- */
@media (max-width: 991px) {
    /* На планшетах и телефонах всё выстраиваем в одну колонку */
    .y_direct .pains .content {
        grid-template-columns: 1fr; /* Одна колонка */
        gap: 30px;
    }

    /* Картинку ставим первой (или последней, по желанию) */
    .y_direct .pains .right {
        order: -1; /* -1 поднимет картинку вверх, уберите, если нужна внизу */
        text-align: center;
    }

    .y_direct .pains .left {
        grid-template-columns: 1fr; /* Карточки тоже в одну колонку на телефоне */
    }
}

.y_direct .pains .second_content{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.y_direct .pains .second_content .section_title{
    font-size: var(--text-large);
    margin-bottom: 30px;
}

.y_direct .pains .xerror{
    display: flex;
    align-items: center;
    gap: 10px;
}

.y_direct .pains .xerror p{
    font-size: var(--text-middle);
    margin: 0;
    font-weight: 200;
}

.y_direct .pains .row_xerror{
    display: flex;
    gap: 20px;
}

.y_direct .solution{
    padding-top: 220px;
}
.y_direct .solution .section_title{
    margin-bottom: 0;
    line-height: 1.2;
}
.y_direct .solution .section_title p{
    font-size: var(--title-size);
    font-family: Oswald, serif;
    text-transform: uppercase;
    margin: 0;
}

.y_direct .solution .container{
    max-width: 1170px;
    background: var(--color-main-light);
    border-radius: var(--radius-big);
    padding: 40px 0;
    position: relative;
}

.y_direct .solution .triangle{
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
}

.y_direct .service_info .section_title, .y_direct .information .section_title{
    margin-bottom: 30px;
}
.y_direct .service_info .section_title p{
    font-family: Oswald, serif;
    text-transform: uppercase;
}



.y_direct .ads_result .container{
    background: var(--color-content-block);
    border-radius: var(--radius-big);
    padding: 90px ;
    position: relative;
    border:1px solid var(--color-border-light);
}
.y_direct .ads_result .content{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.y_direct .ads_result .block h4{
    color: var(--color-main);
    font-size: var(--text-very-large);
}



/* 1. Контейнер: Включаем Flexbox */
.y_direct .ads_result .content {
    display: flex;           /* Включаем флекс */
    justify-content: space-between; /* Распределяем пространство */
    gap: 30px;              /* Отступы между колонками */
    /*flex-wrap: wrap;        !* Разрешаем перенос на новую строку (для мобильных) *!*/
}

/* 2. Сами колонки (Элементы внутри) */
/* Предположим, что каждый блок с цифрой обернут в div */
/*.y_direct .ads_result .content > div {*/
/*    flex: 1;                !* Самое важное: все блоки растягиваются одинаково *!*/
/*    min-width: 200px;       !* Минимальная ширина, чтобы не сплющивались совсем *!*/
/*}*/

/* 3. Стилизация цифр (Зеленые, крупные) */
.y_direct .ads_result .num {
    display: block;
    font-size: var(--text-very-large);
    font-weight: bold;
    color: var(--color-main);
    margin-bottom: 15px;    /* Отступ до текста */
}

/* 4. Стилизация текста описания */
.y_direct .ads_result p {
    font-size: var(--text-small);
    font-weight: 200;
}

/* --- АДАПТИВНОСТЬ (МОБИЛЬНАЯ ВЕРСИЯ) --- */

/* Планшеты (2 колонки в ряд) */
@media (max-width: 991px) {
    .y_direct .ads_result .content > div {
        /* calc(50% - 15px) означает: половина экрана минус половина отступа */
        flex: 0 0 calc(50% - 15px);
    }
}

/* Телефоны (1 колонка) */
@media (max-width: 576px) {
    .y_direct .ads_result .content > div {
        flex: 0 0 100%; /* Полная ширина */
    }
}

.y_direct .ads_result .container{
    position: relative;
}

.y_direct .ads_result .rocket{
    top: -230px;
    right: -190px;
}


.y_direct .direct_worked .content{
    display: flex;
    gap: 60px;
    max-width: 1124px;
    margin: 0 auto;
}

.y_direct .direct_worked .content .num{
    font-size: var(--text-very-large);
    font-weight: 500;
    text-transform: uppercase;
    position: relative;
    width: fit-content;
    z-index: 1;
}

.y_direct .direct_worked .content .num .before{
    position: absolute;
    top: -65px;
    left: -75px;
    z-index: -1;
}

.y_direct .direct_worked .content h3{
    font-size: var(--text-large);
    font-weight: 300;
    text-transform: uppercase;
}

.y_direct .direct_worked .content p{
    font-size: var(--text-small);
    font-weight: 200;
}



.y_direct .capture_point .container{
    background:  var(--color-content-block);
    border-radius: var(--radius-big);
    padding: 40px ;
    position: relative;
    z-index: 1;
    border: 1px solid var(--color-border-light);
}
.y_direct .capture_point .section_title{
    margin-bottom: 40px;
}
.y_direct .capture_point .section_title p{
    font-size: var(--text-large);
}


.y_direct .capture_point .order_form{
    padding: unset;
    border: unset;
}
.y_direct .capture_point .input{
    display: flex;
    gap: 20px;
    margin-bottom: 0;
}

.y_direct .capture_point .input > div, .y_direct .capture_point .input > button{
    flex: 1;
}

.y_direct .capture_point .chase{
    top: -63px;
    left: -145px;
    z-index: 2;
}

.y_direct .capture_point .chase-bg{
    top: 0;
    left: -200px;
    z-index: 0;
}

/* 1. ГЛАВНЫЙ КОНТЕЙНЕР */
.work_plus {
    position: relative;
    overflow-x: clip; /* Обрезаем ноут, если он слишком вылезет */
}

/* 2. РОДИТЕЛЬ (СЕТКА 70% на 30%) */
.work_plus .wrapper {
    display: grid;
    /* Левая часть занимает 70%, правая - остаток */
    grid-template-columns: 70% 1fr;
    margin-top: 40px;
    position: relative;
}

/* 3. ЛЕВАЯ ЧАСТЬ (ТЕКСТ) - ТЕПЕРЬ РОВНАЯ */
.work_plus .left-side {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Две равные колонки */
    column-gap: 50px; /* Отступы между блоками */
    row-gap: 70px;
    position: relative;
    z-index: 2;
}

/* --- ЗИГЗАГ УДАЛЕН --- */
/* Раньше тут был код для nth-child(even), теперь его нет, и блоки стоят ровно */


/* 4. СТИЛИ БЛОКОВ (Твои настройки) */
.work_plus .block {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.work_plus .block img {
    width: 40px; height: 40px; flex-shrink: 0; object-fit: contain;
}

.work_plus .block p {
    margin: 0;
    font-size: var(--text-small);
    font-weight: 200;
}

/* Бейджик */
.work_plus .block.has-badge {
    padding-top: 25px;
}
.work_plus .badge-custom {
    position: absolute;
    top: -5px;
    left: 55px;
}


.work_plus .laptop{
    top: 20px;
    right: -240px;
}



/* --- АДАПТИВНОСТЬ --- */
@media (max-width: 991px) {
    .work_plus .wrapper {
        grid-template-columns: 1fr; /* Одна колонка на планшете */
    }

}

@media (max-width: 576px) {
    .work_plus .left-side {
        grid-template-columns: 1fr; /* Одна колонка блоков на телефоне */
        gap: 20px;
    }
}



.y_direct .price .container{
    position: relative;
}
.y_direct .price .content{
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.y_direct .price .content{
    background: #fff;
    border-radius: var(--radius-big);
    overflow: clip;
    background: var(--color-content-block);
    border-radius: var(--radius-big);
    overflow: clip;
    border: 1px solid var(--color-border-light);
}

.y_direct .price .side{
    padding: 50px;
}
.y_direct .price .side .top{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 35px;
}

.y_direct .price  .price-grid {
    display: grid;
    /* Две колонки: первая по ширине иконки, вторая берет все остальное */
    grid-template-columns: min-content auto;
    /* Расстояние между иконкой и цифрой */
    column-gap: 10px;
    /* Вертикальное выравнивание (чтобы иконка была по центру цифр) */
    align-items: center;
}

/* ЗАГОЛОВОК: "Разовый платеж" */
.y_direct .price  .price-grid .price-label {
    grid-column: 2; /* Встает во вторую колонку (над ценой) */
    grid-row: 1;    /* Первая строка */

    font-size: 14px;
    color: #666;
    margin-bottom: 5px; /* Чуть оттолкнуть от цены */
    line-height: 1;
    text-align: left; /* Строго влево, по началу цифр */
}

/* ИКОНКА */
.y_direct .price  .price-grid .price-icon {
    grid-column: 1; /* Первая колонка */
    grid-row: 2;    /* Вторая строка (напротив цены) */

    object-fit: contain;
}

/* ЦЕНА: "35 000₽" */
.y_direct .price  .price-grid .price-value {
    grid-column: 2; /* Вторая колонка (под заголовком) */
    grid-row: 2;    /* Вторая строка */

    font-size: 30px;
    font-weight: bold;
    color: #559E7B;
    line-height: 1;
}

/* АДАПТИВНОСТЬ */
@media (max-width: 576px) {
    .y_direct .price  .price-grid .price-label { font-size: 18px; }
    .y_direct .price  .price-grid .price-value { font-size: 40px; }
    .y_direct .price  .price-grid .price-icon { width: 40px; height: 40px; }
}

.y_direct .price h3{
    font-size: 55px;
    font-weight: 400;
    margin-bottom: 15px;
}
.y_direct .price .triggers{
    margin-bottom: 45px;
}
.y_direct .price .trigger{
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.y_direct .price .trigger p{
    margin: 0;
    font-size: 24px;
    font-weight: 200;
}

.y_direct .price .desc{
    margin-bottom: 55px;
}

.y_direct .price .desc p{
    margin: 0;
    font-size: 28px;
    font-weight: 200;
    margin-bottom: 5px;
}

.y_direct .price .desc a{
    color: var(--text-muted);
    text-decoration: underline;
}

.y_direct .price  .btn{
    width: 100%;
}


.y_direct .price .right-side{
    box-shadow: inset 17px 0px 30px -29px rgba(0, 0, 0, 0.5);
}

.y_direct .price{
    position: relative;
}
.y_direct .price .bg{
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
}

.y_direct .cases .content{
    display: flex;
    gap: 20px;
}
.y_direct .cases .block{
    padding: 40px;
    border-radius: var(--radius-big);
    border:1px solid var(--color-border-light);
    flex: 1;
}
.y_direct .cases h3{
    margin-bottom: 40px;
    font-weight: 400;
    font-size: 32px;
}
.y_direct .cases .info{
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.y_direct .cases .info p{
    margin: 0;
}

.y_direct .cases .info p.num{
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 2px;
    color: var(--color-main);
}

.y_direct .cases .info p.txt{
   font-size: 24px;
    font-weight: 200;
}



.y_direct .capture_point_main{
    padding-top: 340px;
    padding-bottom: 150px;
    position: relative;
    z-index: 0;
    overflow: clip;
}
.y_direct .capture_point_main .container{
    position: relative;
    z-index: 1;
}
.y_direct .capture_point_main .section_title{
    margin-bottom: 24px;
}
.y_direct .capture_point_main .section_title h3{
    margin-bottom: 10px;
}
.y_direct .capture_point_main .section_title p{
    text-align: start;
    font-size: 34px;
    color: var(--color-main);
    font-weight: 300;
    margin-bottom: 0;
}
.y_direct .capture_point_main .object-title{
    top: 210px;
    left: 220px;
    max-width: 323px;
}
.y_direct .capture_point_main .object-elipse{
    left: 0;
    top: 180px;
    z-index: 0;
}
.y_direct .capture_point_main .object-ring {
    top: 120px;
    left: 590px;
}
.y_direct .capture_point_main .presentation .c-t-a{
    display: flex;
    justify-content: center;
    margin-bottom: -24px;
}
.y_direct .capture_point_main .presentation .c-t-a h6{

    text-transform: uppercase;
    font-weight: 400;
    font-size: 19px;
    margin-bottom: 0;
    background: var(--color-content-block);
    padding: 12px 15px;
    border-radius: 10px;
}
.y_direct .capture_point_main .presentation .content {
    display: flex;
    gap: 10px;
    background-color: transparent;
    padding: 44px 20px 20px 20px;
    border-radius: var(--radius-small);
    text-align: center;
    margin-bottom: 20px;
    border: 1px solid var(--color-gray-easy);
}
.y_direct .capture_point_main .presentation .content img{
    max-width: 100%;
    margin-bottom: 10px;
    border-radius: var(--radius-small);
    border: 1px solid var(--color-gray-easy);
}
.y_direct .capture_point_main .presentation .content .block{
    background: unset;
    border-radius: unset;
    border: unset;
    padding:  unset;
}
.y_direct .capture_point_main .presentation .content img{
    margin-bottom: 10px;
    cursor: pointer !important;
}
.y_direct .capture_point_main .presentation .content h6{
    font-size: 14px;
    font-weight: 300;
    text-transform: uppercase;
}
.y_direct .capture_point_main .presentation .content p{
    font-size: 12px;
    font-weight: 200;
}
.y_direct .object-mini-ellipse{
    bottom: -27px;
    left: 140px;
}

.y_direct  .information{
    position: relative;
    z-index: 1;
    box-shadow: 0 45px 30px -31px rgba(0, 0, 0, 0.13) inset;
}

.y_direct .text-container{
    max-width: 1124px;
}
.y_direct .text_row {
    column-count: 2;
}
.y_direct .text_row p{
    font-size: var(--text-very-small);
}

