.steps-block {
    padding: 40px 0px;
}
.steps-block .block-title {
    width: 45%;
}
.steps-block .wrapper {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}
.steps-block .left-side {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 20px;
    width: 50%;
}
.steps-block .gallery-img {
    display: flex;
    height: 480px;
    cursor: pointer;
    position: relative;
}
.steps-block .gallery-img:before {
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    background: rgba(0, 0, 0, 0.3);
    pointer-events: none;
    transition: 0.3s;
    opacity: 0;
}
.steps-block .gallery-img:hover:before {
    opacity: 1;
}
.steps-block .gallery-img img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}
.steps-block .steps {
    display: flex;
    flex-direction: column;
    width: 40%;
}
.steps-block .step-item {
    display: flex;
    flex-direction: column;
    padding: 20px 0px;
    border-bottom: 1px solid #86878a;
}
.steps-block .step-item:first-child {
    border-top: 1px solid #86878a;
}
.steps-block .step-top {
    display: flex;
    gap: 10px;
    cursor: pointer;
    align-items: center;
}
.steps-block .num {
    font-size: 32px;
    font-weight: 700;
    line-height: 120%;
}
.steps-block .step-top p {
    font-size: 32px;
    font-weight: 700;
    line-height: 120%;
}
.steps-block .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--main);
    transition: 0.3s;
    width: 54px;
    height: 54px;
    min-width: 54px;
    margin-left: auto;
}
.steps-block .step-desc {
    color: var(--lText);
    font-size: 18px;
    font-weight: 400;
    line-height: 150%;
    margin-top: 10px;
}
.steps-block .step-item:hover .icon {
    background: var(--sec);
}
.steps-block .step-item.is-opened .icon {
    background: var(--sec);
    transform: rotate(45deg);
}

@media (max-width: 1400px) {
    .steps-block .gallery-img {
        max-height: 400px;
    }
    .steps-block .steps {
        width: 50%;
    }
    .steps-block .block-title {
        width: 100%;
    }
    .steps-block .step-top p {
        font-size: 20px;
    }
    .steps-block .step-top .num {
        font-size: 16px;
    }
    .steps-block .step-desc {
        font-size: 14px;
    }
    .steps-block .icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }
}

@media (max-width: 1200px) {
    .steps-block .gallery-img {
        max-height: 300px;
    }
}

@media (max-width: 768px) {
    .steps-block .wrapper {
        flex-direction: column;
    }
    .steps-block .steps {
        width: 100%;
        order: 1;
    }
    .steps-block .left-side {
        width: 100%;
        order: 2;
    }
}

@media (max-width: 600px) {
    .steps-block .step-top p {
        font-size: 16px;
    }
}

@media (max-width: 498px) {
    .steps-block .left-side {
        display: flex;
        flex-direction: column;
    }
}