.vs-services,
.vs-services * {
    box-sizing: border-box;
}

.vs-services {
    --vs-blue: #0071bc;
    --vs-pink: #ec008c;
    --vs-pink-soft: #ffedf5;
    --vs-ink: #11203a;
    --vs-text: #425064;
    --vs-line: #dfe4ea;
    --vs-white: #ffffff;
    padding: 72px 0;
    overflow: hidden;
    color: var(--vs-ink);

    font-family: "Gotham Pro", "Montserrat", Arial, sans-serif;
}

.vs-services__container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 15px;
}

.vs-services__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 34px;
}

.vs-services__eyebrow {
    margin: 0 0 10px;
    color: var(--vs-pink);
    font-size: 10px;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.vs-services__title {
    max-width: 760px;
    margin: 0 0 .5rem;
    color: #1b2733;
    font-family: "Gotham Pro", -apple-system, sans-serif;
    font-size: 32px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: normal;
}

.vs-services__all {
    position: relative;
    display: inline-block;
    flex: 0 0 auto;
    padding: 12.4px 48px 12.4px 24.8px;
    border: 1px solid #0071bc;
    border-radius: 100px;
    color: var(--vs-blue);
    background: #fff;
    font-family: "Gotham Pro", -apple-system, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.vs-services__all svg {
    position: absolute;
    top: 50%;
    right: 25px;
    width: 14px;
    height: 14px;
    transform: translateY(-50%);
    transition: transform .15s ease-in-out;
}

.vs-services__all:hover,
.vs-services__all:focus-visible {
    color: var(--vs-white);
    background: var(--vs-blue);
    border-color: var(--vs-blue);
    text-decoration: none;
}

.vs-services__all:hover svg,
.vs-services__all:focus-visible svg {
    transform: translate(3px, -50%);
}

.vs-services__slider {
    position: relative;
    background: transparent;
}

.vs-services__viewport {
    width: auto;
    margin: -10px -24px -44px;
    padding: 10px 24px 44px;
    overflow: hidden;
    background: transparent;
    touch-action: pan-y;
}

.vs-services__track {
    display: flex;
    align-items: stretch;
    height: auto !important;
    margin: 0;
    padding: 0;
    list-style: none;
    background: transparent;
}

.vs-services__slide {
    min-width: 0;
    height: auto;
}
.vs-services__slide .swiper-slide .swiper-slide-active {
    width: 320.5px;
}

.vs-service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 180px;
    height: 100%;
    padding: 28px;
    overflow: hidden;
    border: 1px solid rgba(17, 32, 58, .09);
    border-radius: 24px;
    color: var(--vs-ink);
    background: var(--vs-white);
    box-shadow: 0 14px 34px rgba(25, 45, 73, .06);
    text-decoration: none;
    isolation: isolate;
    transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
}

.vs-service-card::before,
.vs-service-card::after {
    content: "";
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
}

.vs-service-card::before {
    top: -78px;
    right: -62px;
    width: 176px;
    height: 176px;
    background: #eef7fd;
    transition: transform .28s ease;
}

.vs-service-card::after {
    right: -30px;
    bottom: -38px;
    width: 112px;
    height: 112px;
    background: var(--vs-pink-soft);
}

.vs-service-card:hover,
.vs-service-card:focus-visible {
    color: var(--vs-ink);
    border-color: rgba(0, 113, 188, .28);
    box-shadow: 0 22px 42px rgba(25, 45, 73, .12);
    text-decoration: none;
    transform: translateY(-3px);
}

.vs-service-card:hover::before,
.vs-service-card:focus-visible::before {
    transform: scale(1.1);
}

.vs-service-card:focus-visible,
.vs-services__all:focus-visible,
.vs-services__arrow:focus-visible,
.vs-services__dot:focus-visible {
    outline: 3px solid rgba(0, 113, 188, .32);
    outline-offset: 3px;
}

.vs-service-card__title {
    max-width: calc(100% - 44px);
    color: #212121;
    font-family: "Gotham Pro", -apple-system, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 27px;
    letter-spacing: normal;
}

.vs-service-card__arrow {
    position: absolute;
    right: 24px;
    bottom: 24px;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: var(--vs-white);
    background: var(--vs-pink);
}

.vs-service-card__arrow svg {
    width: 18px;
    height: 18px;
}

.vs-services__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 24px;
}

.vs-services__pagination.swiper-pagination {
    position: static;
    display: flex;
    align-items: center;
    gap: 8px;
    width: auto;
    min-height: 44px;
}

.vs-services__dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #b9c2cf;
    cursor: pointer;
    transition: width .2s ease, background-color .2s ease;
}

.vs-services__dot.is-active {
    width: 28px;
    background: var(--vs-blue);
}

.vs-services__controls {
    display: flex;
    gap: 10px;
    z-index:2;
}

.vs-services__arrow {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(0, 113, 188, .24);
    border-radius: 50%;
    color: var(--vs-blue);
    background: var(--vs-white);
    cursor: pointer;
    transition: color .2s ease, background-color .2s ease, opacity .2s ease;
}

.vs-services__arrow svg {
    width: 20px;
    height: 20px;
}

.vs-services__arrow:hover:not(.swiper-button-disabled):not(.swiper-button-lock) {
    color: var(--vs-white);
    background: var(--vs-blue);
}

.vs-services__arrow.swiper-button-disabled,
.vs-services__arrow.swiper-button-lock {
    cursor: default;
    opacity: .38;
}

@media (max-width: 991px) {
    .vs-services {
        padding: 58px 0;
    }

    .vs-services__title {
        font-size: 24px;
    }
}

@media (max-width: 639px) {
    .vs-services {
        padding: 44px 0;
    }

    .vs-services__container {
        padding: 0 15px;
    }

    .vs-services__header {
        margin-bottom: 26px;
    }

    .vs-services__all {
        margin-top: 20px;
    }

    .vs-service-card {
        /* min-height: 216px; */
        padding: 24px;
    }

    .vs-service-card__arrow {
        right: 22px;
        bottom: 22px;
    }
}

@media (hover: none) {
    .vs-service-card:hover {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vs-service-card,
    .vs-service-card::before,
    .vs-services__all,
    .vs-services__all svg,
    .vs-services__dot,
    .vs-services__arrow {
        scroll-behavior: auto;
        transition: none;
    }
}
