.mainbanner {
    padding: 40px 0;
}
.mainbanner .mainbanner-holder {
    position: relative;
    border-radius: 40px;
    padding: 16px;
    height: 480px;
    overflow: hidden;
}
.mainbanner-holder .banner-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: .2s ease-in-out;
}
.mainbanner-holder .banner-background .swiper-thumb {
    height: 100%;
}
.mainbanner-holder .banner-background img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.mainbanner .swiper-holder {
    position: relative;
    z-index: 2;
    background: url("img/swiper-bg.svg") center top / contain no-repeat;
    width: 100%;
    max-width: 600px;
    height: 100%;
    padding: 36px;
}
.mainbanner .swiper-slide .banner-title {
    font-weight: 700;
    font-size: var(--h1-size);
    line-height: 100%;
    color: var(--white-color);
    max-width: 505px;
    width: 100%;
    margin-bottom: 16px;
}
.mainbanner .swiper-slide .banner-descr {
    font-size: var(--p2-size);
    line-height: 125%;
    color: var(--white-color);
    font-weight: 600;
    margin-bottom: 24px;
    max-width: 405px;
    width: 100%;
}
.mainbanner .swiper-slide .btn {
    display: block;
    width: fit-content;
    padding: 16px 20px;
    border-radius: 26px;
    color: var(--main-color);
    background-color: var(--white-color);
    font-size: var(--p2-size);
    line-height: 125%;
    font-weight: 600;
    text-align: center;
}
.mainbanner .swiper-navigation {
    display: flex;
    gap: 16px;
    margin-top: 50px;
}
.mainbanner .swiper-navigation button {
    position: relative;
}
.mainbanner .swiper-navigation .arr-img {
    display: flex;
    background-color: var(--main-color);
    border-radius: 50%;
    transition: .15s ease-out;
}
.mainbanner .swiper-navigation button .arr-img svg path {
    transition: .15s ease-out;
}
.mainbanner .swiper-navigation .progress-ring {
    position: absolute;
    top: 0;
    left: 0;
}
.mainbanner .swiper-navigation .progress-ring svg {
    transform: rotate(270deg);
}
.mainbanner .swiper-navigation button circle {
    fill: none;
    transform-origin: center;
    transition: stroke-dashoffset 0.3s ease, stroke 0.15s ease-out;
}
.mainbanner .swiper-navigation button circle.colored {
    stroke-dasharray: 156;
    stroke-dashoffset: 156;
}
@media screen and (min-width: 768px) {
    .mainbanner .swiper-slide .btn:hover {
        transition: .15s ease-out;
        background-color: rgba(255, 255, 255, .6);
    }
    .mainbanner .swiper-navigation button:hover .arr-img {
        background-color: rgba(255, 255, 255, .6);
    }
}
@media screen and (max-width: 767px) {
    .mainbanner {
        padding: 16px 0;
    }
    .mainbanner .mainbanner-holder {
        height: 360px;
        padding: 8px;
        border-radius: 16px;
    }
    .mainbanner .swiper-holder {
        max-width: 420px;
        padding: 24px 16px;
    }
    .mainbanner .swiper-slide .banner-title {
        max-width: 320px;
        margin-bottom: 12px;
    }
    .mainbanner .swiper-slide .banner-descr {
        max-width: 320px;
        margin-bottom: 16px;
    }
    .mainbanner .swiper-holder .swiper-slide .btn {
        padding: 14px 18px;
    }
    .mainbanner .swiper-navigation {
        margin-top: 16px;
    }
    .mainbanner .swiper-navigation button {
        width: 42px;
        height: 42px;
    }
}
@media screen and (min-width: 578px) {
    .mainbanner .swiper-bg-mask {
        height: 100%;
    }
}
@media screen and (max-width: 578px) {
    .mainbanner .mainbanner-holder {
        height: auto;
        padding: 0;
    }
    .mainbanner-holder .banner-background {
        position: relative;
        margin-bottom: 12px;
    }
    .mainbanner-holder .banner-background .swiper-slide {
        height: 360px;
    }
    .mainbanner-holder .banner-background img {
        object-position: right;
    }
    .mainbanner .swiper-bg-mask {
        position: relative;
        width: 100%;
        height: 100%;
        mask-image: url('img/swiper-bg.svg');
        mask-size: contain;
        mask-repeat: no-repeat;
        mask-composite: exclude;
        -webkit-mask-composite: exclude;
        -webkit-mask-image: url('img/swiper-bg.svg');
        -webkit-mask-size: contain;
        -webkit-mask-repeat: no-repeat;
        overflow: hidden;
        aspect-ratio: 594/432;
        z-index: 10;
    }
    .mainbanner .swiper-holder {
        width: 100%;
        background: none;
        padding: 0;
    }
    .mainbanner .swiper-slide .banner-title {
        max-width: none;
        color: var(--gray-black);
    }
    .mainbanner .swiper-slide .banner-descr {
        max-width: none;
        color: var(--gray-black);
    }
    .mainbanner .swiper-navigation {
        position: absolute;
        bottom: 0;
        right: 0;
        z-index: 5;
    }
    .mainbanner .swiper-holder .swiper-wrapper {
        align-items: stretch;
    }
    .mainbanner .swiper-holder .swiper-slide .btn {
        margin-top: auto;
        background-color: var(--main-color);
        color: var(--white-color);
    }
    .mainbanner .swiper-holder .swiper-slide {
        display: flex;
        flex-direction: column;
        height: auto;
    }
    .mainbanner .swiper-navigation button .arr-img {
        background-color: transparent;
    }
    .mainbanner .swiper-navigation button .arr-img svg path {
        stroke: var(--gray-black);
    }
    .mainbanner .swiper-navigation button circle {
        opacity: 1;
        stroke: var(--gray-2)
    }
    .mainbanner .swiper-navigation button circle.colored {
        stroke: var(--gray-black);
    }
}
