.shs-slider,
.shs-slider * {
    box-sizing: border-box;
}

.shs-slider {
    --shs-purple: #5c49b8;
    --shs-purple-dark: #473690;
    --shs-muted: #d2d0d7;
    --shs-height: 464px;
    --shs-speed: 700ms;
    --shs-bg-position: center right;
    --shs-mobile-bg-position: center top;
    position: relative;
    overflow: hidden;
    width: 100%;
    height: var(--shs-height);
    min-height: 464px;
    background: #fff;
    isolation: isolate;
}

.shs-viewport {
    position: relative;
    height: 100%;
    min-height: 464px;
    z-index: 1;
}

.shs-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 464px;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.006);
    transition:
        opacity var(--shs-speed) ease,
        visibility var(--shs-speed) ease,
        transform var(--shs-speed) ease;
    will-change: opacity, transform;
}

.shs-slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 2;
}

.shs-slide-bg {
    position: absolute;
    inset: -1px;
    z-index: 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: var(--shs-bg-position);
    transform: scale(1.018);
    opacity: 0;
    transition:
        opacity calc(var(--shs-speed) + 120ms) ease,
        transform 4200ms ease-out;
    will-change: opacity, transform;
}

.shs-slide-bg-mobile {
    display: none;
}

.shs-slide.is-active .shs-slide-bg {
    opacity: 1;
    transform: scale(1.055);
}

.shs-slide-shade {
    position: absolute;
    top: -20px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    display: block;
    pointer-events: none;
    opacity: 0;
    background-clip: padding-box;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    transform: translateZ(0);
    transition: opacity var(--shs-speed) ease;
}

.shs-slide.is-active .shs-slide-shade {
    opacity: 1;
}

.shs-shade-light .shs-slide-shade {
    background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 34%, rgba(255,255,255,0.86) 52%, rgba(255,255,255,0.42) 70%, rgba(255,255,255,0) 88%);
}

.shs-shade-dark .shs-slide-shade {
    background: linear-gradient(90deg, rgba(0,0,0,0.66) 0%, rgba(0,0,0,0.52) 34%, rgba(0,0,0,0.34) 52%, rgba(0,0,0,0.14) 70%, rgba(0,0,0,0) 88%);
}

.shs-shade-none .shs-slide-shade {
    display: none;
}

.shs-slide-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: 1360px;
    height: 100%;
    min-height: 464px;
    margin: 0 auto;
    padding: clamp(34px, 5vw, 72px) clamp(26px, 6vw, 92px) clamp(54px, 6vw, 84px);
}

.shs-content {
    position: relative;
    width: min(680px, 52vw);
    max-width: 680px;
    text-align: left;
    color: var(--shs-purple);
    opacity: 0;
    transform: translateY(-18px);
    transition:
        transform calc(var(--shs-speed) + 150ms) cubic-bezier(0.22, 1, 0.36, 1),
        opacity calc(var(--shs-speed) + 150ms) ease;
    will-change: opacity, transform;
}

.shs-slide.is-active .shs-content {
    opacity: 1;
    transform: translateY(0);
}

.shs-title {
    position: relative;
    z-index: 1;
    margin: 0 0 14px;
    color: var(--shs-purple);
    font-size: 35px;
    line-height: 1.22;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-shadow: 0 1px 22px rgba(255, 255, 255, 0.32);
}

.shs-subtitle {
    position: relative;
    z-index: 1;
    color: var(--shs-purple);
    font-size: 20px;
    line-height: 1.45;
    font-weight: 400;
    letter-spacing: 0.01em;
    text-shadow: 0 1px 22px rgba(255, 255, 255, 0.35);
}

.shs-subtitle p {
    margin: 0 0 16px;
}

.shs-shade-dark .shs-title,
.shs-shade-dark .shs-subtitle {
    color: #fff;
    text-shadow: 0 2px 22px rgba(0, 0, 0, 0.36);
}

.shs-button {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 284px;
    min-height: 52px;
    margin-top: 12px;
    padding: 0 26px;
    border: 1px solid var(--shs-purple);
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.74);
    color: var(--shs-purple);
    font-size: 18px;
    line-height: 1.2;
    text-decoration: none;
    backdrop-filter: blur(3px);
    box-shadow: 0 10px 24px rgba(92, 73, 184, 0);
    transition:
        background 240ms ease,
        color 240ms ease,
        transform 240ms ease,
        box-shadow 240ms ease,
        border-color 240ms ease;
}

.shs-button span {
    display: block;
    line-height: 1.2;
}

.shs-shade-dark .shs-button {
    border-color: rgba(255,255,255,0.76);
    background: rgba(255,255,255,0.14);
    color: #fff;
}

.shs-button:hover,
.shs-button:focus-visible {
    background: var(--shs-purple);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(92, 73, 184, 0.18);
    outline: none;
}

.shs-shade-dark .shs-button:hover,
.shs-shade-dark .shs-button:focus-visible {
    border-color: var(--shs-purple);
    background: var(--shs-purple);
}

.shs-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.34);
    color: rgba(92, 73, 184, 0.34);
    cursor: pointer;
    transform: translateY(-50%);
    backdrop-filter: blur(2px);
    transition:
        background 220ms ease,
        color 220ms ease,
        transform 220ms ease,
        opacity 220ms ease;
}

.shs-arrow span {
    display: block;
    width: 14px;
    height: 14px;
    font-size: 0;
    line-height: 0;
    border-top: 3px solid currentColor;
    border-right: 3px solid currentColor;
}

.shs-arrow:hover,
.shs-arrow:focus-visible {
    background: rgba(255, 255, 255, 0.86);
    color: rgba(92, 73, 184, 0.62);
    transform: translateY(-50%) scale(1.06);
    outline: none;
}

.shs-arrow-prev {
    left: 12px;
}

.shs-arrow-prev span {
    transform: rotate(-135deg) translate(-1px, -1px);
}

.shs-arrow-next {
    right: 12px;
}

.shs-arrow-next span {
    transform: rotate(45deg) translate(-1px, 1px);
}

.shs-dots {
    position: absolute;
    left: 50%;
    bottom: 18px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transform: translateX(-50%);
}

.shs-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: var(--shs-muted);
    cursor: pointer;
    opacity: 0.96;
    transition:
        width 260ms ease,
        height 260ms ease,
        background 260ms ease,
        transform 260ms ease,
        box-shadow 260ms ease;
}

.shs-dot.is-active {
    width: 9px;
    height: 9px;
    background: var(--shs-purple-dark);
    box-shadow: 0 0 0 5px rgba(92, 73, 184, 0.08);
}

.shs-dot:hover,
.shs-dot:focus-visible {
    transform: scale(1.25);
    outline: none;
}

.shs-empty {
    padding: 14px 16px;
    border-left: 4px solid #5c49b8;
    background: #f8f7ff;
    color: #473690;
}

@media (max-width: 1024px) {
    .shs-slide-inner {
        padding-left: 44px;
        padding-right: 44px;
    }

    .shs-content {
        width: min(660px, 62vw);
    }

    .shs-button {
        min-width: 230px;
    }
}

@media (max-width: 760px) {
    .shs-slider {
        height: var(--shs-height);
        min-height: 464px;
    }

    .shs-viewport,
    .shs-slide,
    .shs-slide-inner {
        height: 100%;
        min-height: 464px;
    }

    .shs-slide-bg {
        background-position: var(--shs-mobile-bg-position);
    }

    .shs-slide.has-mobile-image .shs-slide-bg-desktop {
        display: none;
    }

    .shs-slide.has-mobile-image .shs-slide-bg-mobile {
        display: block;
    }

    .shs-slide-inner {
        align-items: flex-start;
        justify-content: center;
        padding: 54px 22px 82px;
    }

    .shs-shade-light .shs-slide-shade {
        background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.98) 34%, rgba(255,255,255,0.72) 58%, rgba(255,255,255,0.30) 82%, rgba(255,255,255,0) 100%);
    }

    .shs-shade-dark .shs-slide-shade {
        background: linear-gradient(180deg, rgba(0,0,0,0.70) 0%, rgba(0,0,0,0.56) 34%, rgba(0,0,0,0.36) 58%, rgba(0,0,0,0.12) 82%, rgba(0,0,0,0) 100%);
    }

    .shs-content {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        text-align: center;
    }


    .shs-title {
        font-size: 25px;
    }

    .shs-subtitle {
        font-size: 14px;
    }

    .shs-button {
        min-width: 0;
        width: min(100%, 320px);
        font-size: 16px;
    }

    .shs-arrow {
        top: auto;
        bottom: 16px;
        width: 42px;
        height: 42px;
        background: rgba(255, 255, 255, 0.70);
    }

    .shs-arrow span {
        width: 11px;
        height: 11px;
        border-width: 3px;
    }

    .shs-arrow:hover,
    .shs-arrow:focus-visible {
        transform: scale(1.06);
    }

    .shs-arrow-prev {
        left: 14px;
    }

    .shs-arrow-next {
        right: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .shs-slide,
    .shs-slide-bg,
    .shs-slide-shade,
    .shs-content,
    .shs-arrow,
    .shs-dot,
    .shs-button {
        transition: none !important;
        animation: none !important;
    }

    .shs-slide-bg,
    .shs-slide.is-active .shs-slide-bg {
        transform: none !important;
    }
}

.shs-slide-no-shade .shs-slide-shade {
    display: none !important;
}
