.serv-hero .hero-info{
    display: grid;
    place-items: center;
}
.serv-adv > div{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    gap: 10px;
    min-height: 607px;
}

.serv-adv .card{
    position: relative;
    display: flex;
    align-items: end;
    background-size: cover;
    background-repeat: no-repeat;
}

.serv-adv .card p{
    color: var(--white)
}

.serv-adv .card:first-child { grid-area: 1 / 1 / 3 / 2; }
.serv-adv .card:nth-child(2){ grid-area: 1 / 2 / 2 / 3; }
.serv-adv .card:nth-child(3) { grid-area: 2 / 2 / 3 / 3; }
.serv-adv .card:nth-child(4) { grid-area: 1 / 3 / 3 / 4; }


.enter .card{
    height: min-content;
}

.cost{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.cost .card.green-back{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cost .cards{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cost .cards .card{
    background-color: var(--white);
    padding: 30px;
    flex: 1 1 48%;
    transition: all ease-in-out .5s;
    p{
        transition: all ease-in-out .5s;
    }
}

.cost .cards .font-20{
    font-weight: 700;
    color: var(--black);
}

.cost .cards .font-32{
     font-weight: 700;
    color: var(--green);
    text-align: right;
}

.cost .cards .card:hover{
    background-color: var(--green);
    transition: all ease-in-out .5s;
    p{
        color: var(--white);
        transition: all ease-in-out .5s;
    }
}

.cost .italic{
    font-style: italic;
}
.serv-number-cards{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.serv-number-cards .number{
    top:0;
    right: 0;
}
.serv-number-cards .card{
    position: relative;
    height: auto;
}

.work .serv-number-cards .card,
.need .card{
    flex: 1 1 23%;
}

.need .card{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.enter .card{
    flex: 1 1 31%;
}

.extra {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.extra > div:first-child{
    border-radius: 32px;
    overflow: hidden;
}
.extra .card{
    flex: 1 1 49%;
}
@media (min-width: 1024px) and (max-width: 1200px) {
    .serv-adv .card{
        padding: 30px
    }
}
@media (max-width: 1024px) {
    .work .serv-number-cards .card,
    .need .card,
    .enter .card,
    .cost .cards .card
    {
        flex: 1 1 100%;
        height: auto;
    }
    .serv-adv .card{
        min-height: 260px;
        height: 100%;
        padding: 30px;
        width: 100%;
    }
    .serv-adv > div{
        display: flex;
        flex-wrap: wrap;
        min-height: auto;
    }

    .cost,
    .extra{
        grid-template-columns: 1fr;
    }
    .cost > div:first-child{
        order: 2;
    }
    .cost > div:nth-child(2){
        order: 1;
    }
    .cost .card.green-back{
        flex-wrap: wrap;
    }

    .cost .font-48{
        margin-top: 30px;
    }
    .cost .italic{
        font-size: var(--font-14);
    }

    .serv-number-cards .card .font-32,
    .serv-number-cards .card .font-24{
        margin-right: 43px;
    }

    .extra .card{
        flex: 1 1 100%;
    }
}