/* Services & support public pages */
.services-overview,
.services-related {
    overflow: hidden;
    background: #f4f5f6;
}

.services-overview__heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 36px;
    margin-bottom: 30px;
}

.services-overview__heading h2 {
    margin: 9px 0 0;
    color: var(--ink);
    font-size: clamp(34px, 3.5vw, 48px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.05em;
}

.services-overview__heading > p {
    max-width: 540px;
    margin: 0 0 3px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
    text-align: justify;
}

.services-overview__rule {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 15px 0;
    margin-bottom: 22px;
    color: #7a838d;
    border-top: 1px solid #dfe3e7;
    border-bottom: 1px solid #dfe3e7;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.services-overview__rule span:first-child {
    color: var(--brand-red);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.service-card {
    min-width: 0;
    opacity: 1;
    transition: transform .35s cubic-bezier(.2, .7, .2, 1);
}

.service-card__link {
    display: flex;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    color: inherit;
    background: #fff;
    border: 1px solid #e2e6ea;
    border-radius: 13px;
    box-shadow: 0 8px 26px rgba(20, 29, 38, .045);
    transition: transform .35s cubic-bezier(.2, .7, .2, 1), border-color .35s ease, box-shadow .35s ease;
}

.service-card:hover .service-card__link,
.service-card:focus-within .service-card__link {
    transform: translateY(-7px);
    border-color: rgba(230, 32, 40, .34);
    box-shadow: 0 20px 42px rgba(20, 29, 38, .12);
}

.service-card__visual {
    position: relative;
    height: 220px;
    width: 100%;
    overflow: hidden;
    background: #f1f4f8;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #edf0f3;
}

.service-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}

.service-card:hover .service-card__image,
.service-card:focus-within .service-card__image {
    transform: scale(1.06);
}

.service-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(16, 24, 32, .18) 0%, transparent 45%, rgba(16, 24, 32, .45) 100%);
    pointer-events: none;
    transition: opacity .35s ease;
}

.service-card:hover .service-card__overlay {
    background: linear-gradient(180deg, rgba(16, 24, 32, .10) 0%, transparent 45%, rgba(16, 24, 32, .35) 100%);
}

.service-card__placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: rgba(255, 255, 255, 0.4);
    font-size: 52px;
}

.service-card__number {
    position: absolute;
    top: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 9px;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    border-radius: 6px;
    z-index: 2;
}

.service-card__corner {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    color: #fff;
    background: var(--brand-red);
    border-radius: 50%;
    z-index: 2;
    opacity: 0;
    transform: translate(-4px, 4px) scale(.88);
    transition: opacity .3s ease, transform .35s cubic-bezier(.2, .7, .2, 1);
}

.service-card:hover .service-card__corner,
.service-card:focus-within .service-card__corner {
    opacity: 1;
    transform: translate(0) scale(1);
}

.service-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 25px 25px 26px;
}

.service-card__eyebrow {
    margin-bottom: 10px;
    color: var(--brand-red);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.service-card h3 {
    margin: 0;
    color: #1d252d;
    font-size: clamp(19px, 1.6vw, 22px);
    font-weight: 780;
    line-height: 1.32;
    letter-spacing: -.025em;
    transition: color .25s ease;
}

.service-card:hover h3,
.service-card:focus-within h3 {
    color: var(--brand-red);
}

.service-card p {
    display: -webkit-box;
    overflow: hidden;
    margin: 13px 0 22px;
    color: #68727c;
    font-size: 13px;
    line-height: 1.75;
    text-align: justify;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.service-card__more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    color: #222b34;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: gap .25s ease, color .25s ease;
}

.service-card__more i {
    color: var(--brand-red);
    font-size: 14px;
}

.service-card:hover .service-card__more,
.service-card:focus-within .service-card__more {
    gap: 15px;
    color: var(--brand-red);
}

.services-pagination {
    display: flex;
    justify-content: center;
    margin-top: 38px;
}

.services-empty {
    max-width: 620px;
    padding: 58px 28px;
    margin: 18px auto 0;
    text-align: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
}

.services-empty__icon {
    display: inline-grid;
    width: 68px;
    height: 68px;
    place-items: center;
    color: var(--brand-red);
    background: #fff1f2;
    border-radius: 18px;
    font-size: 30px;
}

.services-empty h3 {
    margin: 18px 0 8px;
    font-size: 23px;
    font-weight: 800;
}

.services-empty p {
    max-width: 440px;
    margin: 0 auto 22px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.service-detail {
    background: #f4f5f6;
}

.service-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 0 0 24px;
    color: #8a929b;
    font-size: 12px;
}

.service-breadcrumb a {
    color: #4c5661;
    transition: color .2s ease;
}

.service-breadcrumb a:hover {
    color: var(--brand-red);
}

.service-breadcrumb i {
    color: var(--brand-red);
    font-size: 10px;
}

.service-detail__card {
    display: grid;
    grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr);
    overflow: hidden;
    background: #fff;
    border: 1px solid #e2e6ea;
    border-radius: 16px;
    box-shadow: 0 14px 38px rgba(20, 29, 38, .07);
}

.service-detail__visual {
    position: relative;
    display: grid;
    min-height: 430px;
    place-items: center;
    overflow: hidden;
    color: #fff;
    background: radial-gradient(circle at 70% 34%, rgba(230, 32, 40, .25), transparent 27%), linear-gradient(140deg, #26323e, #111820 74%);
    isolation: isolate;
}

.service-detail__visual-grid {
    position: absolute;
    inset: -30%;
    z-index: -1;
    background: repeating-linear-gradient(128deg, transparent 0 38px, rgba(255, 255, 255, .055) 39px 40px, transparent 41px 78px);
    transform: rotate(-8deg);
}

.service-detail__visual-orbit {
    position: absolute;
    width: 290px;
    height: 290px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 50%;
    box-shadow: 0 0 0 38px rgba(255, 255, 255, .025), 0 0 0 84px rgba(255, 255, 255, .018);
}

.service-detail__visual-orbit--two {
    width: 390px;
    height: 390px;
    border-color: rgba(230, 32, 40, .34);
}

.service-detail__visual img {
    position: relative;
    z-index: 1;
    max-width: 88%;
    max-height: 380px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 32px rgba(0, 0, 0, .3));
    transition: transform .65s cubic-bezier(.2, .7, .2, 1);
}

.service-detail__visual > i {
    position: relative;
    z-index: 1;
    width: 128px;
    height: 128px;
    object-fit: contain;
    color: #fff;
    filter: drop-shadow(0 20px 28px rgba(0, 0, 0, .25));
    font-size: 92px;
    transition: transform .65s cubic-bezier(.2, .7, .2, 1);
}

.service-detail__visual:hover img,
.service-detail__visual:hover > i {
    transform: scale(1.1) rotate(-4deg);
}

.service-detail__content {
    align-self: center;
    padding: clamp(34px, 5vw, 66px);
}

.service-detail__content h1 {
    margin: 10px 0 17px;
    color: #1d252d;
    font-size: clamp(30px, 3vw, 44px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.045em;
}

.service-detail__summary {
    margin: 0 0 18px;
    color: #47515c;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.75;
    text-align: justify;
}

.service-detail__body {
    margin-bottom: 27px;
    color: #68727c;
    font-size: 14px;
    line-height: 1.9;
    text-align: justify;
    white-space: normal;
}

.service-detail__body br + br {
    display: block;
    margin-bottom: 8px;
    content: "";
}

.services-related {
    padding-top: 82px;
}

.services-related .services-overview__heading {
    margin-bottom: 28px;
}

.services-grid--related {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 980px) {
    .services-grid,
    .services-grid--related {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-detail__card {
        grid-template-columns: minmax(230px, .75fr) minmax(0, 1.25fr);
    }

    .service-detail__visual {
        min-height: 390px;
    }
}

@media (max-width: 680px) {
    .services-overview,
    .service-detail {
        padding-block: 66px;
    }

    .services-overview__heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
        margin-bottom: 24px;
    }

    .services-overview__heading h2 {
        font-size: 34px;
    }

    .services-overview__heading > p {
        font-size: 13px;
        line-height: 1.75;
    }

    .services-overview__rule {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
        padding-block: 12px;
        font-size: 10px;
    }

    .services-grid,
    .services-grid--related {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .service-card__visual {
        min-height: 190px;
    }

    .service-card__body {
        padding: 21px 20px 22px;
    }

    .service-card h3 {
        font-size: 20px;
    }

    .service-card p {
        font-size: 13px;
        -webkit-line-clamp: 5;
    }

    .service-card__corner {
        opacity: 1;
        transform: none;
    }

    .service-breadcrumb {
        gap: 7px;
        margin-bottom: 18px;
        font-size: 10px;
    }

    .service-detail__card {
        grid-template-columns: minmax(0, 1fr);
    }

    .service-detail__visual {
        min-height: 245px;
    }

    .service-detail__visual-orbit {
        width: 205px;
        height: 205px;
    }

    .service-detail__visual-orbit--two {
        width: 285px;
        height: 285px;
    }

    .service-detail__visual img,
    .service-detail__visual > i {
        width: 96px;
        height: 96px;
        font-size: 70px;
    }

    .service-detail__content {
        padding: 28px 22px 32px;
    }

    .service-detail__content h1 {
        font-size: 32px;
    }

    .service-detail__summary {
        font-size: 14px;
    }

    .service-detail__body {
        font-size: 13px;
        line-height: 1.8;
    }

    .services-related {
        padding-block: 64px;
    }

    .services-related .services-overview__heading {
        gap: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .service-card,
    .service-card__link,
    .service-card__visual::before,
    .service-card__orbit,
    .service-card__icon,
    .service-card__icon img,
    .service-card__corner,
    .service-card h3,
    .service-card__more,
    .service-detail__visual img,
    .service-detail__visual > i {
        animation: none !important;
        transition: none !important;
    }
}
