/* Service pages — sections reuse the homepage "services" list tokens (style.css .services_block /
   .service_item): Basis Grotesque, #e7e4e0 text, #373737 dividers. Layout width follows works.css. */

.service_page .svc_section {
    margin: 0 0 140px 0;
}

.service_page .svc_section > h2 {
    font-family: "Basis Grotesque Arabic Pro";
    font-style: normal;
    font-weight: 500;
    font-size: 28px;
    line-height: 28px;
    color: #e7e4e0;
    max-width: 820px;
    margin: 0 0 40px 0;
}

.service_page .svc_item {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    gap: 60px;
    padding: 34px 0;
    border-bottom: 1px solid #373737;
    position: relative;
}

.service_page .svc_section > h2 + .svc_item {
    border-top: 1px solid #373737;
}

.service_page .svc_item > h3 {
    font-family: "Basis Grotesque Arabic Pro";
    font-style: normal;
    font-weight: 400;
    font-size: 59px;
    line-height: 1.05;
    color: #e7e4e0;
    margin: 0;
    flex: 0 0 46%;
}

.service_page .svc_item > h3 a {
    color: inherit;
    text-decoration: none;
    position: relative;
}

.service_page .svc_item > h3 a:before {
    content: "";
    position: absolute;
    width: 0;
    height: 1px;
    background-color: #e7e4e0;
    bottom: -2px;
    transition: 0.3s linear;
}

.service_page .svc_item > h3 a:hover:before {
    width: 100%;
}

.service_page .svc_item > p {
    font-family: "Basis Grotesque Arabic Pro";
    font-style: normal;
    font-weight: 500;
    font-size: 21px;
    line-height: 1.4;
    color: #9c958a;
    margin: 0;
    flex: 1 1 auto;
    max-width: 820px;
}

.service_page .svc_num {
    font-size: 21px;
    line-height: 1;
    color: #9c958a;
    margin-right: 24px;
    vertical-align: top;
}

.service_page .svc_faq .svc_item > h3 {
    font-size: 36px;
    line-height: 1.15;
}

.service_page .svc_projects .works_slide {
    margin-top: 10px;
}

.service_page .svc_cta {
    align-items: center;
}

.service_page .svc_cta .modal_button {
    cursor: pointer;
    display: block;
}

.service_page .svc_cta .modal_button img {
    display: block;
    transition: transform 0.3s linear;
}

.service_page .svc_cta:hover .modal_button img {
    transform: translateX(10px);
}

@media only screen and (min-width: 50px) and (max-width: 500px) {
    .service_page .svc_section {
        margin: 0 0 84px 0;
    }

    .service_page .svc_section > h2 {
        font-weight: 700;
        font-size: 20px;
        line-height: 1;
        margin-bottom: 20px;
    }

    .service_page .svc_item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 16px 0;
    }

    .service_page .svc_item > h3 {
        font-size: 32px;
        line-height: 1.05;
        flex: none;
    }

    .service_page .svc_faq .svc_item > h3 {
        font-size: 22px;
        line-height: 1.15;
    }

    .service_page .svc_item > p {
        font-size: 16px;
        line-height: 1.35;
    }

    .service_page .svc_num {
        font-size: 14px;
        margin-right: 12px;
    }

    .service_page .svc_cta {
        flex-direction: row;
        align-items: center;
    }

    .service_page .svc_cta .modal_button img {
        width: 37px;
    }
}
