.service-team { padding-block: clamp(2.5rem, 5vw, 4.5rem) 0; }
.service-team-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
    border-radius: 18px;
    background: #1428be;
    background: linear-gradient(135deg, #0e1e96 0%, #162bc5 52%, #1b37e0 100%);
    box-shadow: 0 16px 42px -12px rgba(20, 40, 190, 0.28);
    color: #fff;
    min-height: clamp(21rem, 30vw, 26rem);
}
.service-team-media {
    position: absolute;
    inset: 0 auto 0 0;
    width: 62%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}
.service-team-inner > img,
.service-team-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
    -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.92) 28%, rgba(0, 0, 0, 0.35) 68%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.92) 28%, rgba(0, 0, 0, 0.35) 68%, rgba(0, 0, 0, 0) 100%);
}
.service-team-copy {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 1.6rem;
    padding: clamp(2rem, 4vw, 3.5rem);
    max-width: 34rem;
    margin-left: auto;
}
.service-team-copy p {
    margin: 0;
    max-width: 18ch;
    font-size: clamp(1.7rem, 2.7vw, 2.55rem);
    line-height: 1.14;
    letter-spacing: -.03em;
    font-weight: 650;
    color: #ffffff;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.18);
}
.service-team-copy a {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    color: #ffffff;
    font-weight: 650;
    font-size: 1.05rem;
    text-decoration: underline;
    text-underline-offset: .25em;
    transition: opacity .2s ease, transform .2s ease;
}
.service-team-copy a:hover {
    opacity: 0.9;
    transform: translateX(3px);
}
.service-team-copy a .arrow {
    width: 1.2rem;
}
.service-content .capability-card { border-radius: 0; box-shadow: none; background: transparent; border: 0; border-top: 2px solid #2947d8; padding: 1.5rem 0; }
.service-content .capability-card:hover { transform: none; box-shadow: none; background: transparent; }
.service-content .capability-card h3 { margin-top: 0; }
.process-flow { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1.5rem; margin: 0; padding: 0; }
.process-flow li { border-top: 2px solid #2947d8; padding-top: 1.3rem; }
.process-flow h3 { font-size: clamp(1.2rem, 1.45vw, 1.45rem); letter-spacing: -.025em; margin: 0 0 .6rem; }
.process-flow p { color: var(--ink-soft); line-height: 1.6; margin: 0; max-width: 32ch; }
@media(max-width: 960px) {
    .process-flow { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 2rem 1.5rem; }
}
@media(max-width: 860px) {
    .service-team-inner {
        min-height: 19rem;
    }
    .service-team-media {
        width: 100%;
        opacity: 0.35;
    }
    .service-team-inner > img,
    .service-team-media img {
        -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.45) 50%, rgba(0, 0, 0, 0) 100%);
        mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.45) 50%, rgba(0, 0, 0, 0) 100%);
    }
    .service-team-copy {
        max-width: 100%;
        margin-left: 0;
        padding: 2.25rem 1.75rem;
    }
    .service-team-copy p {
        font-size: clamp(1.45rem, 5.5vw, 1.95rem);
        max-width: 22ch;
    }
}
@media(max-width: 650px) {
    .process-flow { grid-template-columns: 1fr; gap: 1.5rem; }
    .process-flow p { max-width: none; }
}


/* Homepage Team Slider */
.home-slider-section {
    padding-block: clamp(2.5rem, 5vw, 4rem);
}
.home-slider-inner {
    position: relative;
    overflow: hidden;
    min-height: clamp(22rem, 32vw, 27rem);
}
.home-slider-track {
    position: relative;
    width: 100%;
    min-height: inherit;
}
.home-slider-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    transform: scale(1.02);
    pointer-events: none;
    z-index: 1;
}
.home-slider-slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    pointer-events: auto;
    z-index: 2;
}
.home-slider-dots {
    position: absolute;
    bottom: 1.35rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    z-index: 10;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(4, 12, 54, 0.32);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.home-slider-dot {
    display: block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.42);
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    outline: none;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.home-slider-dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}
.home-slider-dot.is-active {
    background: #ffffff;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.9);
}
@media (max-width: 860px) {
    .home-slider-inner {
        min-height: 22rem;
    }
    .home-slider-slide .service-team-copy {
        padding: 2.25rem 1.75rem 3.8rem;
    }
    .home-slider-dots {
        bottom: 1.1rem;
    }
}
