.services-2 {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 128px;
}


.services-2 .block-1 {
    padding-top: 80px;
}
.services-2 .block-1 .container {
    width: 1368px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    gap: 24px;
}
.services-2 .block-1 h1 {
    font-weight: 600;
    font-size: 64px;
    line-height: 87px;
    text-align: center;
    width: 100%;
}
.services-2 .block-1 .subtitle {
    font-weight: 400;
    font-size: 24px;
    line-height: 33px;
    text-align: center;
    margin: 0 auto 104px;
}
.services-2 .block-1 .row {
    display: flex;
    width: 100%;
    gap: 56px;
    justify-content: center;
    position: relative;
    height: 350px;
}
.services-2 .block-1 .row-1 {
    margin-bottom: calc(56px - 24px);
}
.services-2 .block-1 .item {
    width: 300px;
    height: 350px;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0px 4px 24px 0px #FFFFFF1A;
    border: 1px solid #FFFFFF;
    cursor: pointer;
    /*transition: all 1s ease;*/
    position: absolute;
    z-index: 5;
    background-color: #1A191D;
}
.services-2 .block-1 .item.position-0 { left: 0}
.services-2 .block-1 .item.position-1 { left: calc(300px + 56px) }
.services-2 .block-1 .item.position-2 { left: calc(300px * 2 + 56px * 2)}
.services-2 .block-1 .item.position-3 { left: calc(300px * 3 + 56px * 3)}
.services-2 .block-1 .item.position-4 { left: 178px}
.services-2 .block-1 .item.position-5 { left: calc(178px + 300px + 56px)}
.services-2 .block-1 .item.position-6 { left: calc(178px + 300px * 2 + 56px * 2)}

.services-2 .block-contact {
    background-color: #fff;
    color: #1A191D;
}
.services-2 .block-contact .container {
    width: 90%;
    max-width: 1114px;
    margin: 0 auto;
    padding: 128px 0 109px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 64px;
}
.services-2 .block-contact .container h2 {
    font-weight: 500;
    font-size: 48px;
    line-height: 66px;
    text-align: center;
}
.services-2 .block-contact .container p {
    font-weight: 400;
    font-size: 24px;
    line-height: 33px;
    text-align: center;
}
.services-2 .block-contact .container .buttons {
    display: flex;
    gap: 32px;
    justify-content: center;
}
.services-2 .block-contact .container .buttons .btn {
    width: 320px;
    height: 72px;
    border-radius: 47px;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
    border: none;
    text-decoration: none;
    transition: all 0.5s ease;
    font-weight: 600;
    font-size: 20px;
}
.services-2 .block-contact .container .buttons .btn-1 {
    background-color: #1A191D;
    border: 1px solid #1A191D;
    color: #fff;
}
.services-2 .block-contact .container .buttons .btn-1:hover {
    background-color: #fff;
    color: #1A191D;
}
.services-2 .block-contact .container .buttons .btn-2 {
    background-color: #fff;
    color: #1A191D;
    border: 1px solid #1A191D;
}
.services-2 .block-contact .container .buttons .btn-2:hover {
    background-color: #1A191D;
    color: #fff;
}

.services-2 .block-1 .item-content {
    width: 100%;
    height: 100%;
    position: relative;
    /*transition: all 1s ease;*/
}
/*.services-2 .block-1 .item .icon { display: none }*/
.services-2 .block-1 .item .image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    filter: brightness(0.2);
    z-index: -1;
    /*transition: all 1s ease;*/
}
.services-2 .block-1 .item .icon {
    width: 144px;
    height: 144px;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    /*transition: all 1s ease;*/
}
.services-2 .block-1 .item .title {
    font-weight: 600;
    font-size: 24px;
    line-height: 33px;
    text-align: center;
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translate(-50%, 50%);
    width: 90%;
    /*transition: all 1s ease;*/
}
.services-2 .block-1 .item .description {
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    opacity: 0;
    pointer-events: none;
    /*transition: all 1s ease;*/
    
    max-width: 595px;
    position: absolute;
    left: 40px;
    top: 385px;
}
.services-2 .block-1 .item .arrow { display: none}


.services-2 .block-2 {
    
}
.services-2 .block-2 .container {
    width: 90%;
    max-width: 1664px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}
.services-2 .block-2 h2 {
    font-weight: 600;
    font-size: 48px;
    line-height: 66px;
    text-align: center;
}
.services-2 .block-2 .tech-list {
    display: flex;
    gap: 56px;
    flex-wrap: wrap;
    justify-content: center;
    transition: all 1s ease;
}
.services-2 .block-2 .tech-list .tech-item {
    padding: 32px 34px;
    border: 1px solid #FFFFFF40;
    border-radius: 40px;
    cursor: pointer;
}
.services-2 .block-2 .tech-list .tech-item img {
    height:80px
}
.services-2 .block-2 .tech-list .tech-item:hover {
    background-color: #FFFFFF;
}
.services-2 .block-2 .tech-list .tech-item:hover img {
    filter: invert(1);
}

.services-2 .block-3 {
    padding-top: 128px;
}
.services-2 .block-3 .container {
    width: 50%;
    position: relative;
    margin: 0 auto;
}
.services-2 .block-3 .container img {
    width: 100%;
}
.services-2 .block-3 .left {
    position: absolute;
    left: -100%;
    opacity: 0.1;
}
.services-2 .block-3 .right {
    position: absolute;
    left: 100%;
    opacity: 0.1;
}

@media (min-width: 1441px) {
    .services-2 .block-1 .item:hover {
        width: 918px;
        min-width: 918px;
        z-index: 10;
    }
    .services-2 .block-1 .item:hover .icon {
        width: 64px;
        height: 64px;
        top: calc(40px + 32px);
        left: calc(40px + 32px);
    }
    .services-2 .block-1 .item:hover .title {
        top: 136px;
        left: 40px;
        transform: translate(0, 0);
        text-align: left;
        max-width: 490px;
    }
    .services-2 .block-1 .item:hover .description {
        opacity: 1;
        pointer-events: auto;
        top: 185px;
        max-width: 490px;
    }
    .services-2 .block-1 .item:hover .image {
        filter: brightness(1);
        left: 570px;
        width: 348px;
    }
}

@media (max-width: 1440px) {
    .services-2 {
        gap: 48px;
    }
    
    
    .services-2 .block-1 .container {
        width: 90%;
        max-width: 776px;
        gap: 16px;
    }
    .services-2 .block-1 h1 {
        font-size: 28px;
        line-height: 38px;
    }
    .services-2 .block-1 .subtitle {
        font-size: 14px;
        line-height: 19px;
        margin: 0 auto 32px;
    }
    .services-2 .block-1 .row {
        gap: 32px;
        flex-wrap: wrap;
        position: static;
        height: unset;
    }
    .services-2 .block-1 .row-1 {
        margin-bottom: 16px;
    }
    .services-2 .block-1 .item {
        width: calc((100% - 32px) / 2);
        height: 170px;
        position: static;
    }
    .services-2 .block-1 .item .icon {
        width: 48px;
        height: 48px;
        top: 24px;
        left: 24px;
        transform: translate(0, 0);
    }
    .services-2 .block-1 .item .title {
        position: static;
        font-size: 20px;
        line-height: 27px;
        padding: 106px 24px 0;
        text-align: left;
        transform: translate(0, 0);
    }
    .services-2 .block-1 .item .arrow {
        display: flex;
        position: absolute;
        top: 32px;
        right: 24px;
        width: 32px;
    }
    .services-2 .block-1 .item.opened {
        height: auto;
    }
    .services-2 .block-1 .item.opened .arrow {
        transform: rotate(180deg);
        opacity: 0.5;
    }
    .services-2 .block-1 .item.opened .description {
        position: static;
        opacity: 1;
        pointer-events: auto;
        padding: 16px 24px 24px;
    }


    .services-2 .block-2 .container {
        max-width: 890px;
        gap: 22px;
    }
    .services-2 .block-2 h2 {
        font-size: 24px;
        line-height: 33px;
    }
    .services-2 .block-2 .tech-list {
        gap: 30px;
    }
    .services-2 .block-2 .tech-list .tech-item {
        border-radius: 32px;
        padding: 17px 18px;
    }
    .services-2 .block-2 .tech-list .tech-item img {
        height: 43px
    }

    .services-2 .block-contact .container {
        padding: 68px 0 54px;
        max-width: 640px;
        gap: 32px;
    }
    .services-2 .block-contact .container h2 {
        font-size: 26px;
        line-height: 35px;
    }
    .services-2 .block-contact .container p {
        font-size: 13px;
        line-height: 17px;
    }
    .services-2 .block-contact .container .buttons {
        gap: 17px;
    }
    .services-2 .block-contact .container .buttons .btn {
        width: 311px;
        height: 48px;
        border-radius: 100px;
        font-size: 16px;
    }    

    .services-2 .block-3{
        padding-top: 68px;
    }
}

@media (max-width: 767px) {
    .services-2 .block-1 {
        padding-top: 48px;
    }
    .services-2 .block-1 .container {
        gap: 8px;
    }
    .services-2 .block-1 h1 {
        font-size: 24px;
        line-height: 33px;
        text-align: left;
    }
    .services-2 .block-1 .subtitle {
        font-size: 14px;
        font-weight: 500;
        line-height: 19px;
        margin-bottom: 40px;
        text-align: left;
    }
    .services-2 .block-1 .row {
        flex-direction: column;
    }
    .services-2 .block-1 .item {
        width: 100%;
        border-radius: 32px;
    }


    .services-2 .block-2 h2 {
        width: 100%;
        text-align: left;
    }
    .services-2 .block-2 .tech-list {
        gap: 14px;
    }
    .services-2 .block-2 .tech-list .tech-item {
        padding: 8px;
        border-radius: 10px;
    }
    .services-2 .block-2 .tech-list .tech-item img {
        height: 20px;
    }

    .services-2 .block-contact .container {
        padding: 48px 0;
        max-width: 311px;
    }
    .services-2 .block-contact .container h2 {
        font-size: 24px;
        line-height: 33px;
    }
    .services-2 .block-contact .container p {
        font-size: 14px;
        line-height: 19px;
    }
    .services-2 .block-contact .container .buttons {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }
    .services-2 .block-contact .container .buttons .btn {
        width: 311px;
        height: 64px;
        border-radius: 43px;
        font-size: 18px;
    }

    .services-2 .block-3 {
        padding-top: 32px;
    }
}