.home-hero {
    position: relative;
    width: 100%;
    margin: 0 0 30px;
}

.home-hero__slider {
    position: relative;
    overflow: hidden;
}

.home-hero__item {
    position: relative;
    width: 100%;
}

.home-hero__image {
    display: block;
    width: 100%;
    height: auto;
}

/* ===================== CONTENT ===================== */

.home-hero__content {
    position: absolute;
    left: 50%;
    bottom: 50px;
    transform: translateX(-50%);
    z-index: 2;

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.home-hero__title {
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.home-hero__btn {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;

    padding: 10px 20px;
    border-bottom: 2px solid #fff;

    background: transparent;
    transition: .3s;
}

.home-hero__btn:hover {
    opacity: 0.8;
    color: #fff;
}

/* ===================== ARROWS ===================== */

.home-hero__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    cursor: pointer;

    width: 40px;   /* ПК — зменшено в 2 рази */
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: transparent;
}

.home-hero__arrow--prev {
    left: 20px;
}

.home-hero__arrow--next {
    right: 20px;
}

.home-hero__arrow svg {
    width: 100%;
    height: 100%;
    display: block;
    transition: 0.3s;
}

.home-hero__arrow:hover svg {
    transform: scale(1.1);
    opacity: 0.8;
}

/* ===================== TABS ===================== */

.home-hero__tabs {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 0;

    margin-top: 5px;
}

/* Лінія */
.home-hero__tabs::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;

    width: 100%;
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
}

.home-hero__tab {
    width: 338px;

    text-align: center;
    padding: 16px 10px;

    font-size: 14px;
    font-weight: 500;
    color: #939393;

    background: transparent;
    border: none;
    cursor: pointer;

    position: relative;
    z-index: 2;

    transition: 0.3s;
}

.home-hero__tab:hover {
    color: #392819;
}

.home-hero__tab.is-active {
    color: #392819;
}

.home-hero__tab.is-active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;

    width: 100%;
    height: 1.5px;
    background: #392819;
}

/* ===================== DESKTOP ===================== */

@media (min-width: 768px) {
    .home-hero__item picture,
    .home-hero__item img {
        aspect-ratio: 1920 / 768;
    }

    .home-hero__image {
        width: 100%;
        object-fit: cover;
    }
}

/* ===================== MOBILE ===================== */

@media (max-width: 767px) {

    .home-hero__content {
        left: 50%;
        transform: translateX(-50%);
        bottom: 35px;
        text-align: center;
        align-items: center;
    }

    .home-hero__title {
        font-size: 16px;
        margin-bottom: 5px;
    }

    .home-hero__btn {
        font-size: 14px;
        padding: 8px 16px;
    }

    /* Моб стрілки — ще менші */
    .home-hero__arrow {
        width: 34px;
        height: 34px;
    }

    .home-hero__arrow--prev {
        left: 15px;
    }

    .home-hero__arrow--next {
        right: 15px;
    }

    .home-hero__arrow svg {
        width: 100%;
        height: 100%;
        display: block;
    }

    /* Банер моб */
    .home-hero {
        background: #fff;
    }

    .home-hero__slider {
        width: calc(100% - 30px);
        margin-left: auto;
        margin-right: auto;
        border-radius: 4px;
        overflow: hidden;
    }

    .home-hero__item,
    .home-hero__item picture {
        height: 527px !important;
    }

    .home-hero__image {
        width: 100% !important;
        height: 515px !important;
        object-fit: cover !important;
        display: block;
        border-radius: 2px;
    }

}

/* ===== MOBILE TABS ===== */

.home-hero__mobile-tabs {
    display: none;
}

@media (max-width: 767px) {

    /* Ховаємо десктоп таби */
    .home-hero__tabs {
        display: none;
    }

    .home-hero__mobile-tabs {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 40px;

        position: relative;
        margin-top: 20px;
        padding-bottom: 12px;
    }

    /* ЛІНІЯ */
    .home-hero__mobile-tabs::before {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 1px;
        background: rgba(0,0,0,0.1);
    }

    /* ТЕКСТ */
    .home-hero__mobile-title {
        font-size: 13px;
        font-weight: 500;
        color: #392819;
        position: relative;
    }

    /* АКТИВНИЙ БОРДЕР */
    .home-hero__mobile-title::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -12px;
        width: 100%;
        height: 1.5px;
        background: #392819;
    }

    /* СТРІЛКИ */
    .home-hero__mobile-arrow {
        background: none;
        border: none;
        padding: 0;
        cursor: pointer;
    }

    .home-hero__mobile-arrow svg {
        width: 5px;
        height: 10px;
        display: block;
    }

}