/* Reviews */
.reviews {
    overflow: hidden;
    background: var(--blue1);
}

.reviews-inner {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding-top: 80px;
    padding-bottom: 80px;
}

.reviews-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.reviews-summary,
.reviews-rating,
.reviews-stars {
    display: flex;
    align-items: center;
}

.reviews-summary {
    flex-wrap: wrap;
    gap: 12px;
    font-size: 18px;
}

.reviews-rating {
    gap: 8px;
    font-weight: 600;
}

.reviews-stars {
    gap: 4px;
}

.reviews-star {
    width: 16px;
    height: 16px;
    background: var(--gray9);
    -webkit-mask: url('../../icons/star.svg') center / contain no-repeat;
    mask: url('../../icons/star.svg') center / contain no-repeat;
}

.reviews-star.is-active {
    background: var(--yellow1);
}

.reviews-families {
    font-weight: 400;
}

.reviews-slider {
    width: 100%;
    min-width: 0;
}

.reviews-slider .swiper-wrapper {
    align-items: flex-start;
}

.reviews-slider .review-card {
    display: flex;
    flex-direction: column;
    gap: 32px;
    height: auto;
    padding: 32px 24px;
    border-radius: 32px;
    background: var(--white1);
}

.review-photo {
    width: 100%;
    height: auto;
    max-height: 364px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 16px;
    user-select: none;
}

.review-copy {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: center;
    overflow-wrap: anywhere;
}

.review-copy blockquote {
    font-size: 22px;
    font-weight: 600;
}

.review-copy blockquote p + p {
    margin-top: 12px;
}

.review-copy cite {
    color: var(--gray6);
    font-size: 16px;
    font-style: normal;
}

.reviews-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.reviews-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    padding: 0;
    border: 1px solid var(--gray3);
    border-radius: 50%;
    background: var(--white1);
    color: var(--black1);
    cursor: pointer;
}

.reviews-arrow span {
    width: 22px;
    height: 22px;
    background: currentColor;
    -webkit-mask: url('../../icons/arrow-right.svg') center / contain no-repeat;
    mask: url('../../icons/arrow-right.svg') center / contain no-repeat;
}

.reviews-prev span {
    transform: rotate(180deg);
}

.reviews-arrow:hover {
    color: var(--green1);
}

.reviews .reviews-pagination {
    position: static;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    width: auto;
}

.reviews .reviews-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--white1);
    opacity: 1;
}

.reviews .reviews-pagination .swiper-pagination-bullet-active {
    background: var(--black1);
}

.reviews :focus-visible {
    outline: 2px solid var(--green1);
    outline-offset: 4px;
}

/* Mobile */
@media (max-width: 768px) {
    .reviews-inner {
        gap: 24px;
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .reviews-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .reviews-summary {
        gap: 6px;
        font-size: 14px;
    }

    .reviews-rating {
        gap: 4px;
    }

    .reviews-stars {
        gap: 3.5px;
    }

    .reviews-star {
        width: 14px;
        height: 14px;
    }

    .reviews-slider {
        overflow: visible;
    }

    .reviews-slider .review-card {
        width: 200px;
        gap: 16px;
        padding: 8px 8px 16px;
        border-radius: 16px;
    }

    .review-photo {
        border-radius: 12px;
    }

    .review-copy {
        gap: 8px;
    }

    .review-copy blockquote {
        font-size: 16px;
    }

    .review-copy cite {
        font-size: 14px;
    }

    .reviews-controls {
        display: none;
    }
}
