/* ===================================
   БЛОК: ПРОЦЕСС ПОДБОРА РЕАГЕНТОВ
   =================================== */

/* Основной контейнер */
.grey-bg {
    width: 100%;
}

.grey-bg .container {
    max-width: 100%;
    width: 100%;
}

.w1140 {
    max-width: 1140px;
    margin: 0 auto;
    width: 100%;
}

.reg-pad2 {
    padding: 60px 20px;
}

.center {
    text-align: center;
}

/* Заголовки */
h1 {
    font-size: 48px;
    font-weight: 300;
    margin: 0 0 20px;
    color: #000;
    text-align: center !important;
    font-family: 'Montserrat', sans-serif !important;
}

h2 {
    font-size: 36px;
    font-weight: 400;
    margin: 0 0 10px;
    color: #000;
    text-align: center !important;
    font-family: 'Montserrat', sans-serif !important;
}

.fz24 {
    font-size: 24px;
}

.text-light {
    font-weight: 300;
}

/* Блок со шагами */
.steps {
    position: relative;
}

/* Картинки в блоке шагов */
.steps__big-pic {
    max-width: 290px !important;
    width: 100% !important;
    height: auto !important;
}

/* Строки шагов - 100% ширина */
@media (max-width: 767px) {
    .steps__row {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
    
    .steps__cell {
        width: 100% !important;
        max-width: 100% !important;
        text-align: center !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
    
    .steps__big-pic {
        max-width: 100% !important;
        width: auto !important;
        height: auto !important;
    }
}

/* Вертикальная линия */
.steps__Vline {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, #0094da 0%, #0094da 100%);
    z-index: 1;
}

/* Точки на линии */
.steps__dots {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background-color: #fff;
    border: 4px solid #0094da;
    border-radius: 50%;
    z-index: 2;
}

.steps__dots:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background-color: #0094da;
    border-radius: 50%;
}

.steps__dots_one {
    top: 81px;
}

.steps__dots_two {
    top: 455px;
}

.steps__dots_three {
    top: 843px;
}

.steps__dots_four {
    top: 1217px;
}

/* Строки с контентом */
.steps__row {
    margin-bottom: 100px;
    position: relative;
    z-index: 3;
}

.steps__row:last-of-type {
    margin-bottom: 0;
}

.flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.backflex {
    flex-direction: row-reverse !important;
}

/* Ячейки */
.steps__cell {
    width: 48%;
}

.text-right {
    text-align: right;
}

/* Изображения */
.steps__big-pic {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Метка "Бесплатно" */
.steps__free {
    position: absolute;
    top: -20px;
    right: 20px;
    background-color: #ff6b00;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 5px;
    transform: rotate(-10deg);
    z-index: 10;
}

/* Заголовки шагов */
.steps__title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #000;
    font-family: 'Montserrat', sans-serif !important;
    text-align: center !important;
}

/* Описания шагов */
.steps__descrypt {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 31px;
    color: #333;
    font-family: 'Montserrat', sans-serif !important;
    text-align: center !important;
}

/* Кнопки - БАЗОВЫЕ СТИЛИ */
.button {
    display: inline-block !important;
    background-color: #2E4A93 !important;
    color: #fff !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    border: 2px solid #2E4A93 !important;
    cursor: pointer !important;
    font-family: 'Montserrat', sans-serif !important;
}

.button:hover {
    background-color: #1e3a73 !important;
    border-color: #1e3a73 !important;
}

.button_alt {
    background-color: #2E4A93 !important;
    color: #fff !important;
    border: 2px solid #2E4A93 !important;
    font-family: 'Montserrat', sans-serif !important;
}

.button_alt:hover {
    background-color: #1e3a73 !important;
    border-color: #1e3a73 !important;
    color: #fff !important;
}

.steps .modal_link {
    cursor: pointer !important;
}

/* Кнопки - ДЕСКТОП */
@media (min-width: 768px) {
    .button {
        padding-left: 41px !important;
        padding-right: 41px !important;
        height: 68px !important;
        border-radius: 34px !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        line-height: 70px !important;
        text-transform: uppercase !important;
        letter-spacing: 1.1px !important;
        margin-top: 20px !important;
        margin-bottom: 10px !important;
    }
    
    .button_alt {
        border-radius: 34px !important;
        line-height: 66px !important;
        margin-top: 20px !important;
        margin-bottom: 10px !important;
    }
    
    .steps .button.w244 {
        width: 244px !important;
    }
}

/* Стили для кнопок в steps__row - ДЕСКТОП */
@media (min-width: 768px) {
    .steps__row .button.button_alt.modal_link,
    .steps__row.flex .button.button_alt.modal_link {
        margin: 0 auto !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        max-width: 230px !important;
        width: 100% !important;
        height: auto !important;
        line-height: 120% !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        font-family: 'Montserrat', sans-serif !important;
        letter-spacing: 0 !important;
    }
}

/* Flex для кнопок */
.fx-betw {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .steps__dots_one {
        top: 70px;
    }
    
    .steps__dots_two {
        top: 400px;
    }
    
    .steps__dots_three {
        top: 750px;
    }
    
    .steps__dots_four {
        top: 1100px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 36px;
    }
    
    h2 {
        font-size: 28px;
    }
    
    .fz24 {
        font-size: 20px;
    }
    
    .steps__Vline {
        display: none;
    }
    
    .steps__dots {
        display: none;
    }
    
    .flex,
    .backflex {
        flex-direction: column;
        gap: 30px;
    }
    
    .steps__cell {
        width: 100%;
        text-align: center !important;
    }
    
    .steps__row,
    .steps__row.flex {
        margin-bottom: 70px !important;
    }
    
    .fx-betw {
        flex-direction: column;
    }
    
    .button.w244 {
        width: 100%;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 28px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    .fz24 {
        font-size: 18px;
    }
    
    .reg-pad2 {
        padding: 40px 15px;
    }
    
    .steps__title {
        font-size: 20px;
    }
    
    .steps__descrypt {
        font-size: 14px;
    }
}

