.reviews-section {
    background-color: #f3f2f2;
    border-radius: 40px;
    padding: 64px 64px 0;
    margin-bottom: 40px
}

.reviews-container {
    max-width: 1200px;
    margin: 0 auto
}

.reviews-header-and-controls {
    display: flex;
    justify-content: space-between;
    margin-bottom: 32px
}

.reviews-header {
    text-align: left;
    max-width: 420px
}

.reviews-header h2 {
    font-size: 60px;
    font-weight: 500;
    margin-bottom: 16px;
    line-height: 1
}

.reviews-header p {
    font-size: 18px;
    color: #3f3f46
}

.swiper-container.reviews-carousel {
    width: calc(100% + 80px)
}

.review-card {
    background-color: #eceae9;
    border-radius: 24px;
    padding: 28px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between
}

.review-content p {
    font-size: 15px;
    line-height: 1.6;
    color: #111827;
    margin-bottom: 18px
}

.review-author .author-name {
    font-weight: 600;
    margin-bottom: 6px
}

.review-author .author-location {
    color: #52525b
}

.swiper-button-arrow {
    width: 36px;
    height: 36px;
    background-color: #eceaea;
    border-radius: var(--radius-pill);
    color: #000;
    margin: 0;
    position: static;
    transition: background-color .2s ease
}

.swiper-button-arrow:hover {
    background-color: #e6e6e6
}

.swiper-button-arrow:after {
    font-size: 16px;
    font-weight: 900
}

@media (max-width:1024px) {
    .reviews-section {
        padding: 48px 48px 5px
    }

    .reviews-header-and-controls {
        flex-direction: column;
        align-items: flex-start;
        text-align: left
    }

    .reviews-header {
        text-align: center;
        width: 100%;
        margin: 10px auto 24px
    }

    .swiper-container.reviews-carousel {
        width: 100%;
        margin-left: 0;
        padding-left: 0
    }
}

@media (max-width:768px) {
    .reviews-section {
        padding: 24px 24px 5px;
        border-radius: 28px
    }

    .reviews-header h2 {
        font-size: 40px
    }
}

.reviews-header-and-controls {
    display: grid;
    grid-template-columns: 420px 1fr;
    column-gap: 48px;
    align-items: start
}

.reviews-right {
    display: flex;
    flex-direction: column;
    overflow: visible
}

.reviews-container {
    position: relative
}

.swiper-container.reviews-carousel {
    width: 100%;
    overflow: visible;
    margin-left: 0;
    padding-left: 0
}

@media (min-width:1024px) {
    .reviews-header-and-controls {
        grid-template-columns: 460px 1fr
    }

    .reviews-header {
        max-width: 460px
    }

    .reviews-section {
        overflow: hidden;
        padding-right: 64px
    }
}

@media (max-width:1024px) {
    .reviews-header-and-controls {
        display: block
    }

    .reviews-right {
        margin-top: 24px
    }

    .swiper-container.reviews-carousel {
        width: 100%;
        overflow: hidden
    }
}

.carousel-arrows-reviews {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 16px
}

.reviews-header-and-controls {
    position: relative;
    isolation: isolate
}

.reviews-header-and-controls::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    background: #f3f2f2;
    z-index: 1;
    pointer-events: none
}

.reviews-right,.swiper-container.reviews-carousel {
    min-width: 0
}

@media (min-width:1024px) {
    .reviews-header-and-controls::before {
        width: 508px
    }
}

@media (max-width:1024px) {
    .reviews-header-and-controls::before {
        display: none
    }
}

.reviews-header-and-controls::before {
    width: 640px
}

@media (min-width:1280px) {
    .reviews-header-and-controls::before {
        width: 700px
    }
}

.reviews-header,.reviews-right {
    position: relative;
    z-index: 3
}

.reviews-right {
    z-index: 1
}

@media (min-width:1024px) {
    .reviews-header-and-controls::before {
        width: 520px
    }
}

@media (min-width:1280px) {
    .reviews-section .reviews-header-and-controls::before {
        display: none!important
    }

    .reviews-section .reviews-right {
        overflow: visible;
        clip-path: inset(0-200vw 0 0);
        -webkit-clip-path: inset(0-200vw 0 0)
    }
}

@media (min-width:1024px) {
    .reviews-section .reviews-header-and-controls {
        display: grid;
        grid-template-columns: 330px 1fr;
        column-gap: 25px;
        align-items: start;
        position: relative;
        isolation: isolate
    }

    .reviews-section .reviews-header-and-controls::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 640px;
        background: #f3f2f2;
        z-index: 2;
        pointer-events: none
    }

    .reviews-section .reviews-header {
        position: relative;
        z-index: 3;
        max-width: 460px
    }

    .reviews-section .reviews-right {
        position: relative;
        z-index: 1;
        min-width: 0
    }
}

@media (min-width:1280px) {
    .reviews-section .reviews-header-and-controls::before {
        width: 700px
    }
}

@media (max-width:1024px) {
    .reviews-section .reviews-header-and-controls {
        display: block
    }

    .reviews-section .reviews-header-and-controls::before {
        display: none
    }
}

.reviews-section .review-card {
    border-radius: var(--inner-radius, 30px);
    padding: 24px
}

.reviews-section .review-content p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 14px
}

.reviews-section .review-author {
    font-size: 14px;
    color: #111827
}

.reviews-section .review-author .author-name {
    display: inline;
    font-weight: 600;
    margin: 0
}

.reviews-section .review-author .author-name::after {
    content: ", ";
    font-weight: 400;
    opacity: .85
}

.reviews-section .review-author .author-location {
    display: inline;
    color: #111827
}

.reviews-section .review-card {
    background-color: #efedec;
    border: 1px solid rgba(0,0,0,.04);
    box-shadow: 0 1px 0 rgba(0,0,0,.02)
}

.reviews-section .swiper-button-arrow {
    background-color: #eceaea;
    border: 1px solid rgba(0,0,0,.05)
}

.reviews-section .swiper-button-arrow:hover {
    background-color: #e6e4e3
}

@media (min-width:768px) and (max-width:1023.98px) {
    .reviews-section .reviews-header {
        text-align: center;
        margin: 0 auto 24px;
        max-width: 640px
    }

    .reviews-section .reviews-header h2,.reviews-section .reviews-header p {
        margin-left: auto;
        margin-right: auto
    }

    .reviews-section .reviews-header-and-controls {
        display: block
    }

    .reviews-section .reviews-right {
        margin-top: 16px;
        overflow: hidden;
        clip-path: none;
        -webkit-clip-path: none
    }

    .reviews-section .swiper-container.reviews-carousel {
        overflow: hidden
    }
}

@media (max-width:1279.98px) {
    .reviews-section .swiper-container.reviews-carousel,.reviews-section .swiper.reviews-carousel {
        width: 100%!important;
        margin-left: 0!important;
        padding-left: 0!important;
        overflow: hidden!important
    }

    .reviews-section .reviews-header-and-controls::before {
        display: none!important
    }

    .reviews-section .reviews-right {
        overflow: hidden!important;
        clip-path: none!important;
        -webkit-clip-path: none!important
    }
}

@media (max-width:767.98px) {
    .reviews-section .reviews-carousel .swiper-wrapper {
        width: 100%
    }

    .reviews-section .reviews-carousel .swiper-slide {
        width: 100%!important;
        max-width: 100%!important;
        min-width: 100%!important;
        flex: 0 0 100%!important;
        box-sizing: border-box
    }
}

@media (min-width:768px) and (max-width:1279.98px) {
    .reviews-section .reviews-carousel {
        overflow: hidden;
        width: 100%
    }

    .reviews-section .reviews-carousel .swiper-wrapper {
        display: flex;
        transform: translate3d(0,0,0);
        width: 100%
    }

    .reviews-section .reviews-carousel .swiper-slide {
        width: calc(50% - 12px)!important;
        max-width: calc(50% - 12px)!important;
        min-width: calc(50% - 12px)!important;
        flex: 0 0 calc(50% - 12px)!important;
        box-sizing: border-box
    }
}

@media (min-width:1280px) {
    .reviews-section .swiper-container.reviews-carousel {
        width: calc(100% + 80px)!important;
        overflow: visible!important;
        margin-left: -80px!important;
        padding-left: 80px!important
    }

    .reviews-section .reviews-carousel .swiper-slide {
        width: 337px!important;
        max-width: 337px!important;
        min-width: 337px!important;
        flex: 0 0 337px!important;
        box-sizing: border-box
    }
}

.reviews-section .reviews-carousel .swiper-wrapper {
    will-change: transform
}

.carousel-arrows-reviews {
    gap: var(--space-10)
}

.carousel-arrows-reviews .swiper-button-next.swiper-button-arrow,.carousel-arrows-reviews .swiper-button-prev.swiper-button-arrow {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0;
    cursor: pointer;
    border-radius: 50%;
    background-color: #f0f2f5;
    border: 1px solid transparent;
    color: #0ea5e9;
    transition: background-color .2s ease,border-color .2s ease,color .2s ease;
    transform: rotate(0deg)
}

.carousel-arrows-reviews .swiper-button-next.swiper-button-arrow:hover,.carousel-arrows-reviews .swiper-button-prev.swiper-button-arrow:hover {
    background-color: var(--soft-sand);
    border-color: #38bdf8;
    color: #38bdf8
}

.carousel-arrows-reviews .swiper-button-next.swiper-button-arrow:active,.carousel-arrows-reviews .swiper-button-prev.swiper-button-arrow:active {
    background-color: var(--intraservis-blue);
    border-color: #0284c7;
    color: #fff
}

.carousel-arrows-reviews .swiper-button-next.swiper-button-arrow.swiper-button-disabled,.carousel-arrows-reviews .swiper-button-prev.swiper-button-arrow.swiper-button-disabled {
    background-color: #f0f2f5;
    cursor: not-allowed;
    opacity: .6;
    color: #adb5bd
}

.carousel-arrows-reviews .swiper-button-arrow:after {
    font-size: 20px
}