/* ==========================================================================
   Общий универсальный класс для кнопок действий (CPA / Call-To-Action)
   ========================================================================== */
.cpa-btn {
    font-family: var(--uk-font-family, "Roboto", sans-serif);
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 3px;
    height: 50px;
    padding: 0 40px;
    min-width: 180px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Светлая версия кнопки (на темном фоне: баннеры) */
.cpa-btn--light,
.page-main-hero__cpa {
    color: #1e1e1e;
    background-color: #ffffff;
    border: 1px solid #ffffff;
}

.cpa-btn--light:hover,
.page-main-hero__cpa:hover {
    color: #ffffff;
    background-color: transparent;
    border-color: #ffffff;
    text-decoration: none;
}

@media (max-width: 768px) {
    .cpa-btn,
    .page-main-hero__cpa {
        height: 44px;
        font-size: 12px;
        letter-spacing: 2px;
        padding: 0 24px;
        min-width: 140px;
    }
}

/* ==========================================================================
   ГЛАВНЫЙ БАННЕР / СЛАЙДЕР (HERO SECTION / MOD_BANNERS: MAINPAGEHERO)
   ========================================================================== */
.page-main-hero {
    margin-top: 0;
    margin-bottom: 140px;
}

.page-main-hero__slider {
    position: relative;
    width: 100%;
}

.page-main-hero__slides {
    height: 601px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.page-main-hero__slide {
    height: 100%;
    width: 100%;
}

.page-main-hero__frame {
    position: relative;
    width: 100%;
    background-color: #1e1e1e;
    overflow: hidden;
}

.page-main-hero__visual {
    position: relative;
    overflow: hidden;
}

.page-main-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-main-hero__card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #ffffff;
    box-sizing: border-box;
    overflow: hidden;
}

/* ==========================================================================
   Десктопная раскладка (экраны более 960px):
   - page-main-hero__visual и page-main-hero__card занимают 100% ширины
   - page-main-hero__visual под page-main-hero__card выполняет функцию бекграунда
   - page-main-hero__card над page-main-hero__visual с прозрачным фоном
   ========================================================================== */
@media (min-width: 961px) {
    .page-main-hero__frame {
        height: 601px;
    }

    .page-main-hero__visual {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        background-color: #1e1e1e;
    }

    .page-main-hero__card {
        position: relative;
        z-index: 2;
        width: 100%;
        height: 100%;
		background: rgba(0,0,0,0.6);
        padding: 65px 70px;
    }
}

.page-main-hero__text-wrap {
    position: relative;
    z-index: 2;
    text-align: left;
}

.page-main-hero__title {
    font-family: var(--uk-font-family, "Roboto", sans-serif);
    font-weight: 200;
    font-size: 44px;
    line-height: 1.2;
    letter-spacing: 7px;
    color: #ffffff;
    text-transform: uppercase;
    margin: 0 0 16px 0;
}

.page-main-hero__desc {
    font-family: var(--uk-font-family, "Roboto", sans-serif);
    font-weight: 200;
    font-size: 17px;
    line-height: 1.6;
    letter-spacing: 0;
    color: rgba(255, 255, 255, 0.9);
    max-width: 835px;
    margin: 0;
}

.page-main-hero__cpa-wrap {
    margin-top: 28px;
}

/* Навигация слайдера: стрелки (34x34px) */
.page-main-hero__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    cursor: pointer;
    border: none;
    z-index: 5;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-main-hero__arrow svg {
    width: 14px;
    height: 14px;
}

.page-main-hero__arrow--prev {
    left: 24px;
}

.page-main-hero__arrow--next {
    right: 24px;
}

.page-main-hero__arrow:hover {
    background-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
}

/* Навигация слайдера: точки */
.page-main-hero__dots {
    position: absolute;
    right: 36px;
    bottom: 25px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 35px;
    width: 115px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    z-index: 5;
}

.page-main-hero__dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.35);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-main-hero__dot.uk-active,
.page-main-hero__dot:hover {
    background-color: #ffffff;
    transform: scale(1.3);
}

/* Адаптивность: мобильные устройства (до 960px) */
@media (max-width: 960px) {
    .page-main-hero {
        margin-top: 15px;
        margin-bottom: 40px;
    }

    .page-main-hero__slides {
        height: 680px;
    }

    .page-main-hero__frame {
        display: flex;
        flex-direction: column;
        height: 680px;
    }

    .page-main-hero__visual {
        flex: 0 0 320px;
        width: 100%;
        height: 320px;
    }

    .page-main-hero__card {
        flex: 0 0 360px;
        width: 100%;
        height: 360px;
        padding: 24px 16px 20px 16px;
        align-items: center;
        text-align: center;
    }

    .page-main-hero__text-wrap {
        text-align: center;
    }

    .page-main-hero__title {
        font-size: 24px;
        font-weight: 400;
        line-height: 1.25;
        letter-spacing: 4px;
        margin: 0 0 8px 0;
    }

    .page-main-hero__desc {
        font-size: 13px;
        line-height: 1.5;
    }

    .page-main-hero__cpa-wrap {
        margin-top: 18px;
    }

    .page-main-hero__cpa {
        height: 44px;
        font-size: 12px;
        letter-spacing: 2px;
        padding: 0 24px;
        min-width: 200px;
    }

    .page-main-hero__arrow {
        display: none !important;
    }

    .page-main-hero__dots {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        bottom: 12px;
        width: 90px;
        height: 20px;
        border-radius: 25px;
        background: rgba(255, 255, 255, 0.16);
        gap: 8px;
    }

    .page-main-hero__dot {
        width: 6px;
        height: 6px;
        background-color: rgba(0, 0, 0, 0.3);
    }

    .page-main-hero__dot.uk-active {
        background-color: #ffffff;
    }
}
