/* =========================================================
SHARED SERVICE PAGE FRAMEWORK
========================================================= */

.service-page {
    text-align: left;
}

.service-page .container h2 {
    display: block;
    justify-content: initial;
}

.service-intro {
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.85fr);
}

.service-intro-copy .section-kicker,
.service-intro-copy .section-title {
    text-align: center;
}

.service-intro-copy p,
.service-highlight p,
.service-faq-cta p {
    color: rgba(32, 40, 50, 0.76);
    font-size: 16px;
    line-height: 1.75;
    text-align: center;
}

.service-intro-actions {
    justify-content: space-evenly;
    margin-top: 24px;
}

.service-slideshow {
    overflow: visible;
    min-height: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.service-slideshow-stage {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 13;
    border-radius: 22px;
    background: var(--colour-dark, #202832);
    box-shadow: 0 22px 55px rgba(32, 40, 50, 0.14);
}

.service-slideshow-stage .service-slide {
    position: absolute;
    inset: 0;
    display: none;
}

.service-slideshow-stage .service-slide.active {
    display: block;
}

.service-slideshow-stage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-slideshow-thumbs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin: -16px 18px 0;
    padding: 28px 12px 12px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 12px 32px rgba(32, 40, 50, 0.08);
}

.service-slideshow-thumbs button {
    display: block;
    width: 100%;
    aspect-ratio: 13 / 9;
    overflow: hidden;
    padding: 0;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    background: var(--colour-white, #ffffff);
    cursor: pointer;
    transition:
        border-color 0.18s ease,
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.service-slideshow-thumbs button.active,
.service-slideshow-thumbs button:hover,
.service-slideshow-thumbs button:focus-visible {
    border-color: var(--colour-primary, #00aeef);
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(0, 174, 239, 0.16);
}

.service-slideshow-thumbs img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 13 / 9;
    object-fit: cover;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(10px, 1.6vw, 18px);
    position: relative;
    padding: clamp(10px, 1.8vw, 16px);
    border-radius: 24px;
    background:
        linear-gradient(90deg, transparent 16%, rgba(0, 174, 239, 0.22) 16%, rgba(0, 174, 239, 0.22) 84%, transparent 84%) 50% 45px / 100% 3px no-repeat,
        rgba(255, 255, 255, 0.64);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.72),
        0 18px 42px rgba(32, 40, 50, 0.08);
}

.process-step {
    position: relative;
    z-index: 1;
    padding: clamp(18px, 2.2vw, 26px) clamp(14px, 2vw, 22px);
    border: 0;
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.78));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 12px 28px rgba(32, 40, 50, 0.07);
    text-align: center;
}

.process-step:not(:last-child)::after {
    content: none;
}

.process-step-number {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    margin: 0 auto 16px;
    border-radius: 999px;
    background: var(--colour-primary, #00aeef);
    color: var(--colour-white, #ffffff);
    font-size: 30px;
    font-weight: 850;
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.32),
        0 12px 24px rgba(0, 174, 239, 0.24);
}

.process-step h3,
.service-card h3 {
    margin: 0 0 10px;
    color: var(--colour-dark, #202832);
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.2;
}

.process-step p,
.service-card p {
    margin: 0;
    color: rgba(32, 40, 50, 0.72);
    font-size: 14.5px;
    line-height: 1.65;
}

.service-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(12px, 1.6vw, 18px);
}

.service-card {
    border: 0;
    border-radius: 14px;
    overflow: hidden;
    background:
        linear-gradient(180deg, #26313d, #1c242e);
    color: var(--colour-white, #ffffff);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 14px 28px rgba(32, 40, 50, 0.13);
}

.service-card img {
    width: 100%;
    aspect-ratio: 16 / 8.5;
    object-fit: cover;
    opacity: 0.86;
}

.service-card > div {
    padding: clamp(20px, 1.5vw, 26px);
    text-align: center;
}

.service-card h3 {
    color: var(--colour-white, #ffffff);
    font-size: clamp(16px, 1.7vw, 20px);
}

.service-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13.5px;
    line-height: 1.5;
}

.service-highlight {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: clamp(26px, 4vw, 40px);
    background: linear-gradient(135deg, rgba(32, 40, 50, 0.96), rgba(32, 40, 50, 0.86));
}

.service-highlight-copy {
    max-width: 760px;
}

.service-highlight .section-kicker,
.service-highlight .section-title {
    text-align: left;
}

.service-highlight .section-kicker {
    color: var(--colour-primary, #00aeef);
}

.service-highlight p {
    color: rgba(255, 255, 255, 0.82);
}

.service-highlight-actions,
.service-contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.related-posts-section .posts-grid {
    margin-inline: auto;
}

.related-posts-actions {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.related-posts-empty {
    margin: 0;
    text-align: center;
    color: rgba(32, 40, 50, 0.72);
}

.service-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.service-gallery-grid img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(32, 40, 50, 0.1);
}

.service-review-section {
    padding-block: 0;
    background: none;
    box-shadow: none !important;
}

.service-faq-section {
    padding-block: 0;
}

.service-faq-section .accordion {
    max-width: 980px;
    margin-inline: auto;
}

.service-faq-cta {
    max-width: 980px;
    margin: 24px auto 0;
    padding: 0 clamp(12px, 2vw, 20px);
    border: 0;
    border-radius: 0;
    background: transparent;
    color: rgba(32, 40, 50, 0.72);
    box-shadow: none;
    text-align: center;
}

.service-faq-cta p {
    margin: 0;
}

.service-faq-cta a {
    color: var(--colour-dark, #202832);
    font-weight: 800;
    text-decoration: underline;
    text-decoration-color: var(--colour-primary, #00aeef);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.service-faq-cta a:hover,
.service-faq-cta a:focus-visible {
    color: var(--colour-primary, #00aeef);
    text-decoration-color: currentColor;
}

.service-contact {
    border-radius: 0;
    background: linear-gradient(135deg, rgba(32, 40, 50, 0.96), rgba(32, 40, 50, 0.86));
}

.service-contact-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-block: clamp(34px, 5vw, 54px);
}

.service-contact .section-kicker,
.service-contact .section-title {
    text-align: left;
}

.service-contact .section-kicker {
    color: var(--colour-primary, #00aeef);
}

.service-contact .section-title {
    max-width: 760px;
    margin: 0;
}

@media (max-width: 1050px) {
    .service-card-grid,
    .service-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .service-intro,
    .process-steps {
        grid-template-columns: 1fr;
    }

    .process-step:not(:last-child)::after {
        content: none;
    }

    .service-highlight,
    .service-contact-inner {
        align-items: stretch;
        flex-direction: column;
        text-align: center;
    }

    .service-highlight .section-kicker,
    .service-highlight .section-title,
    .service-contact .section-kicker,
    .service-contact .section-title {
        text-align: center;
    }

    .service-highlight-actions,
    .service-contact-actions {
        justify-content: center;
    }
}

@media (max-width: 620px) {
    .process-steps {
        grid-template-columns: 1fr;
        gap: 14px;
        overflow: visible;
        padding: 14px;
        border-radius: 22px;
        background:
            linear-gradient(180deg, transparent 30px, rgba(0, 174, 239, 0.24) 30px, rgba(0, 174, 239, 0.24) calc(100% - 30px), transparent calc(100% - 30px)) 39px 0 / 3px 100% no-repeat,
            rgba(255, 255, 255, 0.64);
    }

    .process-step {
        display: grid;
        grid-template-columns: 58px minmax(0, 1fr);
        column-gap: 14px;
        align-items: center;
        padding: 16px 18px 16px 12px;
        border-radius: 20px;
        text-align: left;
    }

    .process-step:nth-child(odd) {
        transform: translateX(-3px);
    }

    .process-step:nth-child(even) {
        transform: translateX(3px);
    }

    .process-step-number {
        grid-row: 1 / span 2;
        width: 54px;
        height: 54px;
        margin: 0;
        font-size: 25px;
    }

    .process-step h3 {
        margin-bottom: 5px;
        font-size: 16px;
        line-height: 1.2;
    }

    .process-step p {
        font-size: 13.5px;
        line-height: 1.5;
    }

    .service-card-grid,
    .service-gallery-grid {
        grid-template-columns: 1fr;
    }

    .service-slideshow-stage {
        aspect-ratio: 16 / 11;
        border-radius: 18px;
    }

    .service-slideshow-thumbs {
        grid-template-columns: repeat(5, 78px);
        justify-content: flex-start;
        overflow-x: auto;
        margin-inline: 8px;
        -webkit-overflow-scrolling: touch;
    }

    .service-intro-actions .btn,
    .service-highlight-actions .btn,
    .service-contact-actions .btn {
        width: 100%;
    }
}

