/* ========================================
   Hero Swiper (Баннер)
   ======================================== */
.hero-swiper {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

.swip.swiper {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 26px;
    overflow: hidden;
    box-sizing: border-box;
    box-shadow: 0 24px 70px rgba(15,23,42,0.14);
    background: #eef5fb;
    border: 1px solid rgba(148,163,184,0.16);
    height: min-content !important;
}

.swiper-wrapper {
    height: 100%;
    display: flex;
    align-items: stretch;
    transition: transform 0.6s ease;
}

.swiper-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: stretch;
    justify-content: center;
    overflow: hidden;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    display: block;
    background: transparent;
}

.hero-slide-linkable {
    cursor: pointer;
}

.hero-nav-prev,
.hero-nav-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    z-index: 100;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(15,23,42,0.26);
    color: #fff;
    border-radius: 50%;
    border: 0;
    outline: 0;
    opacity: 0;
    pointer-events: none;
    transition: background-color 0.12s ease, opacity 0.12s ease, transform 0.12s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.hero-swiper:hover .hero-nav-prev,
.hero-swiper:hover .hero-nav-next,
.hero-swiper:focus-within .hero-nav-prev,
.hero-swiper:focus-within .hero-nav-next {
    opacity: 0.72;
    pointer-events: auto;
}

.hero-nav-prev:hover,
.hero-nav-next:hover {
    opacity: 0.9;
    background-color: rgba(15,23,42,0.42);
}

.hero-nav-prev { left: -18px; }
.hero-nav-next { right: -18px; }

.hero-nav-prev::before,
.hero-nav-next::before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
}

.hero-nav-prev::before {
    border-width: 8px 12px 8px 0;
    border-color: transparent #fff transparent transparent;
    margin-left: -3px;
}

.hero-nav-next::before {
    border-width: 8px 0 8px 12px;
    border-color: transparent transparent transparent #fff;
    margin-right: -3px;
}

.hero-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.hero-pagination__dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(148,163,184,0.65);
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease, width 0.2s ease;
}

.hero-pagination__dot:hover,
.hero-pagination__dot:focus-visible {
    background: rgba(43,143,235,0.7);
    transform: scale(1.08);
}

.hero-pagination__dot.is-active {
    width: 28px;
    background: #2b8feb;
}

@media (max-width: 1279px) {
    .swip.swiper {
        border-radius: 22px;
    }
}

@media (max-width: 1023px) {
    .hero-swiper {
        max-width: 100%;
    }

    .swip.swiper {
        border-radius: 18px;
    }

    .hero-nav-prev,
    .hero-nav-next {
        display: none !important;
    }

    .hero-pagination {
        margin-top: 12px;
    }
}

@media (max-width: 767px) {
    :root {
        --hero-top-gap: 16px;
        --hero-bottom-gap: 20px;
        --hero-side-gap: 16px;
    }

    .landing-shell--hero {
        padding: 16px;
    }

    .swip.swiper {
        border-radius: 14px;
    }
}
