.services-banner {
    position: relative;
    width: 100%;
    min-width: 0;
    margin-bottom: 1.5rem;
}

.services-banner-track {
    display: flex;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    border-radius: 18px;
    scroll-behavior: smooth;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
}

.services-banner-track::-webkit-scrollbar {
    display: none;
}

.services-banner-track:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.3);
    outline-offset: 3px;
}

.services-banner-slide {
    position: relative;
    width: 100%;
    min-width: 100%;
    aspect-ratio: 5 / 1;
    overflow: hidden;
    border-radius: 18px;
    background: #0f172a;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.services-banner-link,
.services-banner-link picture,
.services-banner-image,
.services-banner-shade {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.services-banner-link {
    color: #fff;
    text-decoration: none;
}

.services-banner-image {
    object-fit: cover;
}

.services-banner-shade {
    background: linear-gradient(270deg, rgba(15, 23, 42, 0.94) 0%, rgba(15, 23, 42, 0.68) 42%, rgba(15, 23, 42, 0.08) 82%);
}

.services-banner-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: min(58%, 620px);
    height: 100%;
    padding-block: clamp(1rem, 3vw, 2.5rem);
    padding-inline: clamp(4.5rem, 6vw, 5rem);
}

.services-banner-content strong {
    display: -webkit-box;
    overflow: hidden;
    font-size: clamp(1.1rem, 2.1vw, 1.9rem);
    font-weight: 800;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.services-banner-description {
    display: -webkit-box;
    margin-top: 0.35rem;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(0.82rem, 1.2vw, 1rem);
    line-height: 1.8;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.services-banner-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 40px;
    margin-top: 0.75rem;
    padding: 0.45rem 0.8rem;
    border-radius: 10px;
    background: #fff;
    color: #1d4ed8;
    font-size: 0.84rem;
    font-weight: 800;
}

.services-banner-arrow {
    position: absolute;
    z-index: 2;
    top: calc(50% - 20px);
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.68);
    color: #fff;
}

.services-banner-next {
    right: 0.75rem;
}

.services-banner-previous {
    left: 0.75rem;
}

.services-banner-arrow:focus-visible,
.services-banner-pagination button:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.4);
    outline-offset: 2px;
}

.services-banner-pagination {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    min-height: 22px;
    padding-top: 0.45rem;
}

.services-banner-pagination button {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #cbd5e1;
    transition: width 160ms ease, background-color 160ms ease;
}

.services-banner-pagination button[aria-current="true"] {
    width: 24px;
    background: var(--primary);
}

@media (max-width: 767.98px) {
    .services-banner {
        margin-bottom: 1rem;
    }

    .services-banner-track,
    .services-banner-slide {
        border-radius: 12px;
    }

    .services-banner-content {
        width: 72%;
        padding: 0.5rem 0.7rem;
    }

    .services-banner-content strong {
        font-size: clamp(0.78rem, 3.5vw, 1rem);
        line-height: 1.45;
        -webkit-line-clamp: 1;
    }

    .services-banner-description {
        display: none;
    }

    .services-banner-cta {
        min-height: 24px;
        margin-top: 0.2rem;
        padding: 0.2rem 0.5rem;
        border-radius: 7px;
        font-size: clamp(0.65rem, 2.7vw, 0.78rem);
    }

    .services-banner-arrow {
        display: none;
    }

    .services-banner-pagination {
        min-height: 17px;
        padding-top: 0.3rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .services-banner-track {
        scroll-behavior: auto;
    }

    .services-banner-pagination button {
        transition: none;
    }
}
