.service-list-block {
    display: flex;
    flex-direction: column;
    gap: 2em;
    justify-content: center;
}
.service-list-block > ul {
    list-style-type: none;
    padding: 0;
    margin: 0 auto;
}
.service-list-block > ul > li::before {
    content: "";
    display: inline-block;
    height: 1em;
    width: 1em;
    margin-right: 0.2em;
    baseline-shift: -0.2em;
    background-image: url('../img/services-list-checkmark.webp');
    background-size: contain;
    background-repeat: no-repeat;
}
.service-list-block .illustration {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin: 0 auto;
    aspect-ratio: 3 / 4;
    background-size: cover;
}

.price-list {
    display: grid;
    gap: 16px;
}
.price-list .service {
    position: relative;
    --border-radius: 24px;
    outline: 2px solid rgb(63, 71, 38);
    border-radius: var(--border-radius);
    padding: 16px;
    padding-bottom: 2.5em;
}
.price-list .service .title {
    color: rgb(63, 71, 38);
    font-weight: 400;
    text-align: center;
    margin-bottom: 0.5em;
}
.price-list .service ul {
    margin: 0;
}
.price-list .service p {
    margin: 0 1em;
}
.price-list .service .price {
    position: absolute;
    right: 0;
    bottom: 0;
    min-width: 33%;
    color: white;
    text-align: center;
    font-weight: 400;
    background-color: rgb(136, 143, 112);
    padding: 8px;
    border-radius: var(--border-radius) 0 var(--border-radius) 0;
}

.theway {
    display: grid;
    gap: 2em;
    justify-content: center;
    margin-top: 1em;
}
.theway .step {
    display: flex;
    flex-direction: column;
}
.theway .step .number {
    display: inline-block;
    width: 1.5em;
    margin-right: 0.2em;
    padding: 0.2em;
    aspect-ratio: 1;
    text-align: center;
    border-radius: 50%;
    background-color: rgb(136, 143, 112);
    color: white;
    font-weight: 500;
    box-shadow: 2px 2px 8px rgba(136, 143, 112, 0.5);
}
.theway .step .title {
    color: rgb(63, 71, 38);
    font-weight: 400;
    margin-bottom: 0.5em;
}
.theway .step .illustration {
    width: 80%;
    margin: auto auto;
}
.theway .step .illustration[src="img/theway-step3.webp"] {
    margin-bottom: 0; /* Align with item 4 */
}

@media all and (width > 750px) {
    .service-list-block {
        flex-direction: row;
        margin: 0 auto;
    }
    .service-list-block > ul {
        margin: 0;
    }
    .service-list-block .illustration {
        min-width: 200px;
        width: auto;
        height: 100%;
        margin: 0;
    }

    .price-list {
        grid-template-columns: 1fr 1fr;
    }

    .theway {
        grid-template-columns: 1fr 1fr;
    }
}
