/*______________________Service page (page_services.php)______________________*/

.service_page {
    width: 100%;
}

/* Breadcrumb
=========================== */
.service_breadcrumb {
    margin-bottom: 40px;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.4px;
    color: #7b7b7b;
    text-transform: capitalize;
}
.service_breadcrumb a {
    color: #7b7b7b;
    transition: color .2s;
}
.service_breadcrumb a:hover {
    color: #FAA91B;
}
.service_breadcrumb .sep {
    font-size: 18px;
    margin: 0 4px;
    color: #FAA91B;
}
.service_breadcrumb .current {
    color: #222;
}

/* Hero
=========================== */
.service_hero {
    padding: 120px 0 20px;
}
.service_hero h1 {
    font-size: 32px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 25px;
}
.service_hero_grid {
    display: flex;
    align-items: center;
    gap: 50px;
}
.service_hero_content {
    flex: 1 1 50%;
}
.service_hero_content h1 {
    font-size: 34px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 15px;
}
.service_hero_subtitle {
    font-style: italic;
    font-size: 17px;
    color: #525252;
    margin-bottom: 18px;
}
.service_hero_text {
    font-size: 15px;
    line-height: 1.8;
    color: #525252;
}
.service_hero_text p {
    margin-bottom: 12px;
}
.service_hero_image {
    flex: 1 1 50%;
    position: relative;
    margin-bottom: 50px;
}
.service_hero_image img {
    width: 100%;
    max-height: 450px;
    object-fit: contain;
    border-radius: 16px;
    position: sticky;
    top: 110px;
}

/* Quote
=========================== */
.service_quote {
    padding: 70px 0;
    background-color: #f7f7f8;
}
.service_quote blockquote {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}
.service_quote p {
    font-style: italic;
    font-size: 20px;
    line-height: 1.6;
    color: #1d1d1f;
    margin-bottom: 14px;
}
.service_quote cite {
    display: block;
    font-style: normal;
    font-size: 14px;
    color: #7b7b7b;
}

/* Content blocks (numbered sections)
=========================== */
.service_block {
    padding: 70px 0;
}
.service_block_grid {
    display: flex;
    align-items: center;
    gap: 50px;
}
.service_block--none .service_block_grid {
    display: block;
}
.service_block_content {
    flex: 1 1 50%;
}
.service_block_content h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 14px;
}
.service_block_number {
    color: #FAA91B;
}
.service_block_text {
    font-size: 15px;
    line-height: 1.8;
    color: #525252;
}
.service_block_text p {
    margin-bottom: 10px;
}
.service_block_list {
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}
.service_block_list li {
    position: relative;
    padding-left: 18px;
    font-size: 15px;
    line-height: 1.7;
    color: #525252;
    margin-bottom: 6px;
}
.service_block_list li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #FAA91B;
}
.service_block_image {
    flex: 1 1 50%;
}
.service_block_image img {
    width: 100%;
    max-height: 440px;
    object-fit: cover;
    border-radius: 12px;
}

/* CTA banner
=========================== */
.service_cta {
    background: #FAA91B;
    padding: 75px 0;
    text-align: center;
    width: 100%;
}
.service_cta h2 {
    font-size: 2.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}
.service_cta p {
    font-size: 17px;
    color: rgba(255, 255, 255, .85);
    line-height: 1.65;
    max-width: 560px;
    margin: 0 auto 45px !important;
}
.service_cta_buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}
.service_cta_btn {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: #fff !important;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    border: 2px solid #fff;
    transition: all .3s;
}
.service_cta_btn--primary {

}
.service_cta_btn--primary:hover {
    background-color: #1d1d1f;
    color: #fff;
}
.service_cta_btn--secondary {
    display: inline-flex;
    align-items: center;
    color: #222 !important;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    transition: all .3s;
    border: 1px solid #1d1d1f;
}
.service_cta_btn--secondary:hover {
    background-color: #fff;
    color: #1d1d1f;
}

/* Bridge (closing note)
=========================== */
.service_bridge {
    padding: 70px 0;
}
.service_bridge h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 12px;
}
.service_bridge p {
    font-size: 15px;
    line-height: 1.8;
    color: #525252;
    max-width: 900px;
}
.service_bridge p a {
    color: #FAA91B;
    font-weight: 600;
    text-decoration: underline;
}

/*______________________Case Studies (page_case_studies.php / single-case_study.php)______________________*/

/* Archive header
=========================== */
.case_archive_intro {
    font-size: 18px;
    line-height: 1.6;
    color: #1d1d1f;
    margin-bottom: 10px;
}
.case_archive_description {
    max-width: 900px;
    font-size: 14px;
    line-height: 1.7;
    color: #7b7b7b;
}

/* Single case study title & intro
=========================== */
.case_study_title {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.4px;
    color: #1d1d1f;
    margin-bottom: 15px;
}
.case_study_main_image {
    margin: 40px 0;
}
.case_study_main_image img {
    width: 100%;
    max-width: 820px;
    display: block;
    margin: 0 auto;
    height: auto;
}
.case_study_body {
    font-size: 15px;
    line-height: 1.8;
    color: #525252;
}
.case_study_body > *:last-child {
    margin-bottom: 0;
}
.case_study_body p {
    margin-bottom: 12px;
}
.case_study_body h2,
.case_study_body h3,
.case_study_body h4 {
    font-weight: 700;
    color: #1d1d1f;
    margin: 30px 0 14px;
}
.case_study_body h2 {
    font-size: 24px;
}
.case_study_body h3 {
    font-size: 20px;
}
.case_study_body h4 {
    font-size: 17px;
}
.case_study_body strong,
.case_study_body b {
    font-weight: 700;
    color: #1d1d1f;
}
.case_study_body a {
    color: #FAA91B;
    font-weight: 600;
    text-decoration: underline;
}
.case_study_body ul,
.case_study_body ol {
    margin: 0 0 16px;
    padding-left: 20px;
}
.case_study_body ul {
    list-style: disc;
}
.case_study_body ol {
    list-style: decimal;
}
.case_study_body li {
    margin-bottom: 8px;
}
.case_study_body blockquote {
    margin: 20px 0;
    padding: 14px 22px;
    border-left: 3px solid #FAA91B;
    background-color: #f7f7f8;
    font-style: italic;
    color: #1d1d1f;
}
.case_study_body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 20px 0;
}

/* Filters bar
=========================== */
.case_filters {
    padding: 25px 0;
    border-bottom: 1px solid #ececec;
}
.case_filters_form {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.case_filter_pill {
    display: inline-block;
    padding: 12px 45px;
    min-width: 150px;
    text-align: center;
    border-radius: 999px;
    background-color: #f2f2f2;
    color: #525252;
    font-size: 14px;
    font-weight: 600;
    transition: background-color .3s, color .3s;
}
.case_filter_pill:hover {
    background-color: #1d1d1f;
    color: #fff;
}
.case_filters_form select {
    padding: 12px 20px;
    border-radius: 999px;
    appearance: none;
    max-width: 180px;
    background-color: #f2f2f2;
    border: none;
    color: #525252;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

/* Case studies grid
=========================== */
.case_grid_section {
    padding: 50px 0 70px;
}
.case_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.case_card {
    display: flex;
    flex-direction: column;
}
.case_card_image {
    display: block;
    margin-bottom: 16px;
}
.case_card_image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 4px;
}
.case_card_content h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}
.case_card_content h3 a {
    color: #1d1d1f;
}
.case_card_content p {
    font-size: 14px;
    line-height: 1.6;
    color: #7b7b7b;
    margin-bottom: 10px;
}
.case_card_readmore {
    font-size: 14px;
    font-weight: 600;
    color: #FAA91B;
}
.case_grid_empty {
    text-align: center;
    color: #7b7b7b;
    padding: 40px 0;
}

/* Pagination
=========================== */
.case_pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 50px;
}
.case_pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: #525252;
    background-color: #f2f2f2;
    transition: background-color .3s, color .3s;
}
.case_pagination .page-numbers.current {
    background-color: #1d1d1f;
    color: #fff;
}
.case_pagination .page-numbers.dots {
    background-color: transparent;
}
.case_pagination a.page-numbers:hover {
    background-color: #FAA91B;
    color: #fff;
}
.case_pagination a.next {
    border-radius: 999px;
    background-color: #fff;
    border: 1px solid #1d1d1f;
}
.case_pagination a.next:hover {
    background-color: #1d1d1f;
    color: #fff;
}

/* Case CTA banner (with image)
=========================== */
.case_cta {
    padding: 50px 0 80px 0;
}
.case_cta_grid {
    display: flex;
    align-items: center;
    gap: 40px;
    background-color: #FAA91B;
    border-radius: 8px;
    padding: 35px;
    overflow: hidden;
}
.case_cta_image {
    flex: 0 0 45%;
}
.case_cta_image img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}
.case_cta_content {
    flex: 1 1 auto;
}
.case_cta_content h2 {
    font-size: 2.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}
.case_cta_content p {
    font-size: 17px;
    color: rgba(255, 255, 255, .85);
    line-height: 1.65;
    max-width: 560px;
    margin-bottom: 40px;
}
.case_cta_buttons {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.case_cta_btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.45s ease;
}
.case_cta_btn--white {
    border: 2px solid #1d1d1f;
    background-color: #fff;
    color: #1d1d1f;
}
.case_cta_btn--white:hover {
    border: 2px solid #fff;
    opacity: 0.85;
    color: #1d1d1f;
}
.case_cta_btn--outline {
    background-color: transparent;
    color: #1d1d1f;
    border: 2px solid #1d1d1f;
}
.case_cta_btn--outline:hover {
    background-color: #1d1d1f;
    color: #fff;
}

/* Related products
=========================== */
.case_related {

}
.case_related_title {
    text-align: center;
    font-size: 26px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 40px;
    padding-top: 10px
}
.case_related_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.case_related_card {
    background-color: #fff;
    border-radius: 6px;
    overflow: hidden;
    padding-bottom: 20px;
}
.case_related_card_image {
    display: block;
}
.case_related_card_image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}
.case_related_card h3 {
    font-size: 17px;
    font-weight: 700;
    margin: 20px 4px;
}
.case_related_card h3 a {
    color: #1d1d1f;
}
.case_related_card p {
    font-size: 14px;
    line-height: 1.6;
    color: #7b7b7b;
    margin: 0 4px 15px 4px;
}
.case_related_card .case_card_readmore {
    margin: 0 4px;
}

/* FAQ accordion
=========================== */
.case_faq {
    padding: 70px 0;
}
.case_faq_title {
    text-align: center;
    font-size: 26px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 30px;
}
.case_faq_wrapper {
    max-width: 100%;
    margin: 35px auto 0 auto;
}
.case_faq_item {
    border-bottom: 1px solid #e2e2e5;
    margin-bottom: 10px;
}
.case_faq_trigger {
    /*     width: 100%;
        display: flex;
        align-items: center;
        font-family: unset;
        gap: 14px;
        padding: 22px 0;
        background: none;
        border: none;
        text-align: left;
        font-size: 16px;
        font-weight: 600;
        color: #1d1d1f;
        cursor: pointer; */

    background: none;
    font-family: unset;
    border: none;
    width: 100%;
    text-align: left;
    padding: 20px;
    font-size: 18px;
    font-weight: 600;
    color: #1d1d1f;
    cursor: pointer;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-direction: row-reverse;
    gap: 20px;
    transition: all 0.4s;
}
.case_faq_icon {
    background: #f6f6f6;
    border: 1px solid #777;
    font-size: 34px;
    font-weight: 300;
    padding: 9px;
    line-height: 0;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all .35s ease;
}
.case_faq_panel {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-out;
    padding: 0 20px;
    background: #fff;
}
.case_faq_panel p {
    padding: 0 0 20px 32px;
    font-size: 14px;
    line-height: 1.7;
    color: #7b7b7b;
}

/* ===========================
   Mobile
=========================== */
@media (max-width: 900px) {

    .service_hero_grid,
    .service_block_grid {
        flex-direction: column;
        gap: 25px;
    }

    .service_hero_content h1 {
        font-size: 26px;
    }

    .service_hero_image img,
    .service_block_image img {
        height: 220px;
    }

    .service_quote p {
        font-size: 17px;
    }

    .service_cta h2 {
        font-size: 22px;
    }

    .service_cta_buttons {
        flex-direction: column;
        width: 100%;
    }

    .service_cta_btn {
        width: 100%;
        text-align: center;
    }

    .case_grid,
    .case_related_grid {
        grid-template-columns: 1fr;
    }

    .case_cta_grid {
        flex-direction: column;
        padding: 20px;
    }

    .case_cta_image {
        flex: none;
        width: 100%;
    }

    .case_cta_content p {
        max-width: none;
    }

    .case_cta_buttons {
        width: 100%;
    }

    .case_cta_btn {
        flex: 1 1 auto;
        text-align: center;
    }

    .case_filters_form {
        gap: 10px;
    }

    .case_study_body {
        font-size: 14px;
    }

    .case_study_body h2 {
        font-size: 20px;
        margin: 24px 0 12px;
    }

    .case_study_body h3 {
        font-size: 18px;
        margin: 20px 0 10px;
    }

    .case_study_body h4 {
        font-size: 16px;
        margin: 18px 0 10px;
    }

    .case_study_body ul,
    .case_study_body ol {
        padding-left: 18px;
    }

    .case_study_body blockquote {
        padding: 12px 16px;
        margin: 16px 0;
    }
}
