.services {
    margin-top: 20vh;
}

.services__wrapper {
    width: auto;
}

.services__title {
    margin-top: 0;
}

.services__title p:last-child {
    font-weight: 600;
    font-size: 24px;
    margin-top: 0;
}

.services__descr {
    margin-top: 0;
}

.articles__item.active .services__arrow {
    margin-top: 0;
    transform: rotate(-90deg);
}


.services-detail {
    margin-top: 150px;
    padding-bottom: 50px;
}

.services-detail__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 56px;
    margin-bottom: 40px;
    gap: 30px;
}

.services-detail__title h1 {
    margin: 0;
    font-size: 2.5rem;
    color: #16224a;
    font-weight: 700;
}

.services-detail__order {
    background-color: #228aed;
    color: #f3f8fe;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    border: 1px solid #228aed;
    cursor: pointer;
    transition: all .2s ease-in;
    padding: 17px 50px;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
}

.services-detail__order:hover {
    background-color: #21488b;
    border-color: #21488b;
    transform: translateY(-2px);
}

.services-detail__image {
    margin: 40px 0;
    border-radius: 8px;
    overflow: hidden;
    max-height: 400px;
    display: flex;
}

.services-detail__image img {
    width: auto;
    height: 100%;
    object-fit: cover;
    display: block;
}

.services-detail__text {
    margin-top: 40px;
    line-height: 1.6;
    color: #333;
    font-size: 16px;
}

.services-detail__text h2 {
    color: #16224a;
    margin-top: 2em;
}

.services-detail__text h3 {
    color: #21488b;
    margin-top: 1.5em;
}

.services-detail__text p {
    margin-bottom: 1em;
}

.services-detail__text ul {
    margin: 1em 0;
    padding-left: 1.5em;
}

.services-detail__text li {
    margin-bottom: 0.5em;
}

.services-detail__order-mobile {
    display: none;
}

@media (max-width: 992px) {
    .services__wrapper {
        margin-left: 0;
    }
    
    .services-detail {
        margin-top: 160px;
    }
    
    .services__title p:last-child {
        font-size: 20px;
    }
    
    .services-detail__title h1 {
        font-size: 2rem;
    }
    
    .services-detail__image {
        /* max-height: 350px; */
        margin: 35px 0;
    }
}

@media (max-width: 768px) {
    .articles__item.active .services__descr {
        margin-left: 0;
    }
    
    .services-detail {
        margin-top: 140px;
    }
    
    .services-detail__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .services-detail__order--desktop {
        align-self: flex-start;
    }
    
    .services-detail__title h1 {
        font-size: 1.75rem;
    }
    
    .services-detail__image {
        /* max-height: 300px; */
        margin: 30px 0;
    }
}

@media (max-width: 576px) {
    .services__title p:last-child {
        font-size: 18px;
    }
    
    .services-detail {
        margin-top: 120px;
    }
    
    .services-detail__header {
        margin-top: 40px;
        margin-bottom: 30px;
    }
    
    .services-detail__title h1 {
        font-size: 1.5rem;
    }
    
    .services-detail__order--desktop {
        display: none;
    }
    
    .services-detail__order-mobile {
        display: block;
        position: sticky;
        bottom: 20px;
        text-align: center;
        margin-top: 40px;
        padding: 20px 0;
    }
    
    .services-detail__order--mobile {
        padding: 16px 45px;
        font-size: 16px;
        font-weight: 600;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        width: auto;
        margin: 0 auto;
    }
    
    .services-detail__image {
        /* max-height: 250px; */
        margin: 25px 0;
    }
    
    .services-detail__text {
        margin-top: 30px;
        font-size: 15px;
    }
}

@media (max-width: 438px) {
    .services-detail__order--desktop {
        margin: 10px 0;
    }
    
    .services-detail__title h1 {
        font-size: 1.3rem;
    }
    
    .services-detail__order--mobile {
        padding: 14px 35px;
        font-size: 15px;
        width: 90%;
    }
    
    .services-detail__image {
        /* max-height: 200px; */
        margin: 20px 0;
    }
}




.progressive-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.progressive-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.progressive-item.is-visible:nth-child(1) { transition-delay: 0.1s; }
.progressive-item.is-visible:nth-child(2) { transition-delay: 0.2s; }
.progressive-item.is-visible:nth-child(3) { transition-delay: 0.3s; }
.progressive-item.is-visible:nth-child(4) { transition-delay: 0.4s; }
.progressive-item.is-visible:nth-child(5) { transition-delay: 0.5s; }
.progressive-item.is-visible:nth-child(6) { transition-delay: 0.6s; }

.loadMoreBtn {
    background-color: #f3f8fe;
    color: #21488b;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    border: 1px solid #21488b;
    cursor: pointer;
    transition: all .2s ease-in;
    padding: 17px 42px;
    margin: 20px auto;
    font-size: 16px;
}

.loadMoreBtn:hover {
    background-color: #21488b;
    color: #f3f8fe;
}