.ds-hero-section {
    margin-top: var(--space-24);
}

.ds-hero-section .ds-container {
    max-width: 1366px;
}

.ds-hero-carousel {
    --ds-hero-visible: 3;
    --ds-hero-gap: 32px;
    position: relative;
}

.ds-hero-carousel__viewport {
    overflow: hidden;
}

.ds-hero-carousel__track {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: var(--ds-hero-gap);
    will-change: transform;
    transform: translateX(0);
    transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.ds-hero-carousel__item {
    min-width: 0;
    flex: 0 0 calc((100% - (var(--ds-hero-gap) * (var(--ds-hero-visible) - 1))) / var(--ds-hero-visible));
}

.ds-hero-tile {
    position: relative;
    height: 622px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--ds-hero-bg, #17395d);
}

.ds-hero-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.06) 18%, rgba(15, 23, 42, 0.6) 76%, rgba(2, 6, 23, 0.84) 100%);
}

.ds-hero-tile__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ds-hero-tile__overlay {
    position: absolute;
    left: var(--space-24);
    right: var(--space-24);
    bottom: var(--space-24);
    z-index: 1;
    display: grid;
    gap: var(--space-12);
}

.ds-hero-tile__brand {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.ds-hero-tile__title {
    margin: 0;
    color: #ffffff;
    font-size: clamp(24px, 2vw, 34px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.ds-hero-tile__subtitle {
    margin: 0;
    color: rgba(255, 255, 255, 0.95);
    font-size: 15px;
    line-height: 1.4;
    max-width: 32ch;
}

.ds-hero-tile__cta {
    width: fit-content;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 var(--space-16);
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    backdrop-filter: blur(8px);
}

.ds-hero-tile__cta:hover {
    background: rgba(255, 255, 255, 0.28);
}

.ds-hero-carousel__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid var(--ui-border-color);
    background: #ffffff;
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
}

.ds-hero-carousel__arrow[disabled] {
    opacity: 0.45;
    cursor: not-allowed;
}

.ds-hero-carousel__arrow--prev {
    left: -22px;
}

.ds-hero-carousel__arrow--next {
    right: -22px;
}

.ds-hero-carousel__dots {
    margin-top: var(--space-16);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-8);
}

.ds-hero-carousel__dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    border: 0;
    background: var(--ui-border-color);
    padding: 0;
    cursor: pointer;
}

.ds-hero-carousel__dot.is-active {
    background: #0057bf;
}

.ds-hero-carousel button:focus-visible,
.ds-hero-tile__cta:focus-visible {
    outline: 3px solid var(--ui-focus-ring);
    outline-offset: 2px;
}

.ds-hero-carousel:focus-visible {
    outline: 3px solid var(--ui-focus-ring);
    outline-offset: 4px;
}

@media (max-width: 1023.98px) {
    .ds-hero-carousel {
        --ds-hero-visible: 2;
        --ds-hero-gap: 24px;
    }

    .ds-hero-tile {
        height: 352px;
    }

    .ds-hero-carousel__arrow {
        width: 40px;
        height: 40px;
    }

    .ds-hero-carousel__arrow--prev {
        left: -12px;
    }

    .ds-hero-carousel__arrow--next {
        right: -12px;
    }
}

@media (max-width: 767.98px) {
    .ds-hero-carousel {
        --ds-hero-visible: 1;
        --ds-hero-gap: 16px;
    }

    .ds-hero-section {
        margin-top: var(--space-16);
    }

    .ds-hero-tile {
        height: 300px;
    }

    .ds-hero-tile__overlay {
        left: var(--space-16);
        right: var(--space-16);
        bottom: var(--space-16);
        gap: var(--space-8);
    }

    .ds-hero-tile__title {
        font-size: 24px;
    }

    .ds-hero-tile__subtitle {
        font-size: 14px;
    }

    .ds-hero-carousel__arrow {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ds-hero-carousel__track {
        transition: none;
    }
}
