.hb-hero {
    position: relative;
    width: 100%;
    padding: 0;
    overflow: hidden;
    z-index: 1;
}

.hb-hero__slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 0;
    background:
            radial-gradient(circle at top right, rgba(112, 124, 255, 0.14), transparent 28%),
            linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
    z-index: -1;
}

.hb-hero__slider .swiper-wrapper {
    align-items: stretch;
}

.hb-hero__slider .swiper-slide {
    height: auto;
}

.hb-hero__slide {
    width: 100%;
    min-height: 520px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.hb-hero__inner {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    min-height: 520px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 24px;
    padding: 56px 24px 72px;
    box-sizing: border-box;
}

.hb-hero__content {
    max-width: 560px;
    z-index: 2;
}

.hb-hero__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(108, 124, 255, 0.12);
    color: #5b67f1;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 18px;
}

.hb-hero__title {
    margin: 0;
    color: #111827;
    font-size: 54px;
    line-height: 1.25;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.hb-hero__title span {
    color: #6c7cff;
}

.hb-hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 28px;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 14px;
    background: #6c7cff;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    transition: all .25s ease;
    box-shadow: 0 12px 24px rgba(108, 124, 255, 0.25);
}

.hb-hero__btn:hover {
    background: #5968f0;
    transform: translateY(-2px);
    color: #fff;
}

.hb-hero__media {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hb-hero__media img {
    display: block;
    width: min(100%, 520px);
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.hb-hero__pagination {
    position: absolute;
    left: 50% !important;
    right: auto !important;
    bottom: 24px !important;
    width: auto !important;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 5;
    transform: translateX(-50%);
}

.hb-hero__pagination .swiper-pagination-bullet {
    width: 30px;
    height: 10px;
    border-radius: 999px;
    margin: 0 !important;
    background: #2f3a44;
    opacity: .22;
    transition: all .25s ease;
}

.hb-hero__pagination .swiper-pagination-bullet-active {
    width: 46px;
    opacity: 1;
    background: #6c7cff;
}

/* Large desktop */
@media (min-width: 1600px) {
    .hb-hero__inner {
        max-width: 1440px;
    }

    .hb-hero__slide,
    .hb-hero__inner {
        min-height: 560px;
    }

    .hb-hero__media img {
        width: min(100%, 580px);
    }
}

/* Tablet */
@media (max-width: 1024px) {
    .hb-hero__slide,
    .hb-hero__inner {
        min-height: 460px;
    }

    .hb-hero__inner {
        grid-template-columns: 1fr 1fr;
        padding: 44px 32px 72px;
    }

    .hb-hero__title {
        font-size: 42px;
    }

    .hb-hero__media img {
        width: min(100%, 420px);
    }
}

/* Mobile */
@media (max-width: 767px) {
    .hb-hero__slider {
        border-radius: 0;
    }

    .hb-hero__slide {
        min-height: auto;
    }

    .hb-hero__inner {
        min-height: auto;
        grid-template-columns: 1fr;
        padding: 28px 20px 72px;
        text-align: center;
    }

    .hb-hero__content {
        max-width: 100%;
        order: 2;
    }

    .hb-hero__media {
        order: 1;
    }

    .hb-hero__media img {
        width: min(100%, 280px);
        margin: 0 auto;
    }

    .hb-hero__badge {
        font-size: 12px;
        margin-bottom: 14px;
    }

    .hb-hero__title {
        font-size: 30px;
        line-height: 1.5;
    }

    .hb-hero__btn {
        margin-top: 20px;
        width: 100%;
        max-width: 240px;
    }

    .hb-hero__pagination {
        bottom: 18px !important;
    }

    .hb-hero__pagination .swiper-pagination-bullet {
        width: 22px;
        height: 8px;
    }

    .hb-hero__pagination .swiper-pagination-bullet-active {
        width: 34px;
    }
}
