section.consult:before {
    content: "";
    position: absolute;
    display: block;
    top: 0;
    width: 100%;
    height: 69vh;
    max-height: 640px;
    background: -webkit-gradient(linear, right top, left top, from(#fff), color-stop(14.15%, rgba(255, 255, 255, 0))), -webkit-gradient(linear, left top, right top, from(#fff), color-stop(16.07%, rgba(255, 255, 255, 0))), -webkit-gradient(linear, left top, left bottom, color-stop(50%, #e3eef4), to(rgba(227, 238, 244, 0)));
    background: linear-gradient(270deg, #fff 0, rgba(255, 255, 255, 0) 14.15%), linear-gradient(90deg, #fff 0, rgba(255, 255, 255, 0) 16.07%), linear-gradient(180deg, #e3eef4 50%, rgba(227, 238, 244, 0) 100%);
    pointer-events: none;
    z-index: -1;
}

#page-services .consult__content {
    background-color: #fff;
    padding: 20px;
    border-radius: 16px;
}

#tab-1.consult__content {
    border-top-left-radius: 0;
}

#page-services .consult__content:last-child {
    border-top-right-radius: 0;
}

#tabs {
    display: flex;
}

.tab {
    padding: 10px 20px;
    border-top-right-radius: 32px;
    border-top-left-radius: 32px;
    cursor: pointer;
    color: var(--color-theme-main);
    text-align: center;
    min-width: 150px;
    display: flex;
}

.tab a.tab-inner {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    margin: auto;
}
.tab a.tab-inner:hover {
    color: var(--color-theme-main);
}

.tab.active a.tab-inner {
    color: #343D42;
}


.tab.active,
#tabs-mobile a.tab-inner,
#tabs-mobile div.tab-inner{
    background-color: #fff;
    color: #343D42;
    text-align: center;
    font-weight: 700;
}
#tabs-mobile .mobile-tab {
    display: flex;
    flex-direction: column;
}


#tabs-mobile .tab-inner {
    margin: 0;
}

.const-action-block {
    grid-column: span 2;
    background-color: var(--color-theme-main);
    border-radius: 16px;
    min-height: 300px;
    display: flex;
    padding: 40px;
    gap: 25px;
}

.const-action-block .btn {
    width: fit-content;
}

.const-action-block > div:first-child {
    display: flex;
    flex-direction: column;
    width: 60%;
}

.const-action-block > div:last-child {
    width: 40%;
}

.const-action-title {
    color: #fff;
    font-size: 32px;
    font-weight: 800;
    margin-top: 40px;
    margin-bottom: 50px;
}

.const-action-text {
    color: #fff;
    opacity: 70%;
    font-size: 20px;
    line-height: 26px;
}

#tabs-mobile {
    display: none;
}
#tabs-mobile .tab-inner {
    padding: 20px 10px 30px 10px;
    font-size: 16px;
}

@media (max-width: 670px) {
    #tabs, .desktop-tab.grid-10 {
        display: none;
    }
    #tabs-mobile {
        display: block;
        margin: 0 -15px;
    }

    .consult__content {
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }

    .const-action-title {
        font-size: 20px;
        line-height: 20px;
        text-align: left;
    }

    .const-action-text {
        font-size: 14px;
        line-height: 20px;
        text-align: left;
    }

    #page-services .consult__content {
        padding: 0;
    }
}