.section-reviews__title {
    margin: 0 0 40px;
    font-family: "Manrope", Arial, sans-serif;
    font-size: clamp(28px, 2.75vw, 44px);
    font-weight: 700;
    line-height: 1.2;
    color: #1e1e1e;
}

.section-reviews__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.section-reviews__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
}

.section-reviews__tabs {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.section-reviews__tab {
    padding: 16px;
    border: 1px solid #787878;
    border-radius: 16px;
    background: transparent;
    color: #787878;
    font-family: "Manrope", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.section-reviews__tab.is-active {
    border-color: #1e1e1e;
    background: #1e1e1e;
    color: #fff;
    font-weight: 700;
}

.section-reviews__platforms {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    gap: clamp(24px, 5.4vw, 87px);
    flex: 1;
    min-width: 0;
}

.section-reviews__platform-link {
    display: block;
    flex-shrink: 0;
    text-decoration: none;
    transition: opacity .2s ease;
}

.section-reviews__platform-link:hover {
    opacity: .8;
}

.section-reviews__platform-link--google {
    width: 219px;
    height: 42px;
}

.section-reviews__platform-link--2gis {
    width: 151px;
    height: 42px;
}

.section-reviews__platform-link--yandex {
    position: relative;
    width: 245px;
    height: 42px;
    overflow: hidden;
}

.section-reviews__platform {
    display: block;
    width: auto;
    max-width: 100%;
    height: 42px;
    object-fit: contain;
}

.section-reviews__platform-link--google .section-reviews__platform,
.section-reviews__platform-link--2gis .section-reviews__platform {
    width: 100%;
    height: 100%;
}

.section-reviews__platform-link--yandex .section-reviews__platform {
    position: absolute;
    width: 119.78%;
    height: 189.19%;
    max-width: none;
    left: -9.91%;
    top: -44.14%;
}

.section-reviews__platform--google {
    max-width: 219px;
}

.section-reviews__platform--2gis {
    max-width: 151px;
}

.section-reviews__platform--yandex {
    max-width: 245px;
}

.section-reviews__panel {
    width: 100%;
}

.section-reviews__panel.is-active {
    display: block;
}

.section-reviews__cards-wrap {
    width: 100%;
}

.section-reviews__cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
}

.section-reviews__card {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
    padding: 24px;
    border: 1px solid #d2d2d2;
    border-radius: 24px;
    background: #fff;
}

.section-reviews__card > meta,
.section-reviews__card > .section-reviews__schema {
    display: none;
}

.section-reviews__card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    flex-shrink: 0;
    margin: 0 0 40px;
}

.section-reviews__card-platform {
    display: block;
    flex-shrink: 0;
    width: auto;
    height: 22px;
    object-fit: contain;
}

.section-reviews__card-platform--google {
    width: 109px;
}

.section-reviews__card-platform--2gis {
    width: 78px;
}

.section-reviews__card-platform--yandex {
    width: 114px;
}

.section-reviews__stars {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    min-height: 24px;
}

.section-reviews__stars > meta {
    display: none;
}

.section-reviews__star {
    width: 24px;
    height: 24px;
    background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 2.5L14.9 9.1L22 10.1L16.8 15.1L18.2 22.2L12 18.7L5.8 22.2L7.2 15.1L2 10.1L9.1 9.1L12 2.5Z' fill='%23D2D2D2'/%3E%3C/svg%3E");
}

.section-reviews__star.is-filled {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 2.5L14.9 9.1L22 10.1L16.8 15.1L18.2 22.2L12 18.7L5.8 22.2L7.2 15.1L2 10.1L9.1 9.1L12 2.5Z' fill='%23FFB800'/%3E%3C/svg%3E");
}

.section-reviews__card-body {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    flex: 1;
    margin: 0 0 40px;
}

.section-reviews__card-text {
    margin: 0;
    font-family: "Manrope", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    color: #1e1e1e;
}

.section-reviews__read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #1e1e1e;
    font-family: "Manrope", Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
}

.section-reviews__read-more-icon {
    flex-shrink: 0;
}

.section-reviews__card-author {
    display: flex;
    align-items: center;
    gap: 20px;
    align-self: flex-start;
    margin-top: auto;
}

.section-reviews__avatar {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: block;
}

.section-reviews__avatar--default {
    flex-shrink: 0;
    line-height: 0;
}

.section-reviews__avatar--default svg {
    display: block;
    width: 52px;
    height: 52px;
}

.section-reviews__avatar--photo {
    border-radius: 50%;
    object-fit: cover;
    background: #f3f1f3;
}

.section-reviews__author-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-width: 0;
}

.section-reviews__author-name {
    font-family: "Manrope", Arial, sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: #1e1e1e;
    white-space: nowrap;
}

.section-reviews__author-date {
    font-family: "Manrope", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    color: #787878;
}

.section-reviews__all-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 1px solid #e20613;
    border-radius: 16px;
    background: #fff;
    color: #e20613;
    font-family: "Manrope", Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
}

.section-reviews__all-btn:hover {
    background: #e20613;
    color: #fff;
}

.section-reviews__empty {
    padding: 40px 24px;
    border: 1px dashed #d2d2d2;
    border-radius: 24px;
    text-align: center;
    color: #787878;
    font-size: 16px;
}

@media (max-width: 1279px) {
    .section-reviews__cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .section-reviews__toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .section-reviews__platforms {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 20px;
    }

    .section-reviews__platform-link--google,
    .section-reviews__platform-link--2gis,
    .section-reviews__platform-link--yandex {
        width: auto;
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .section-reviews__container {
        gap: 20px;
    }

    .section-reviews__title {
        margin-bottom: 20px;
        font-size: 24px;
        line-height: 1.2;
    }

    .section-reviews__toolbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .section-reviews__platforms {
        order: 1;
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 20px;
        width: 100%;
    }

    .section-reviews__tabs {
        order: 2;
        width: auto;
        gap: 12px;
    }

    .section-reviews__tab {
        flex: 0 0 auto;
        padding: 12px 16px;
    }

    .section-reviews__platform-link--google,
    .section-reviews__platform-link--2gis,
    .section-reviews__platform-link--yandex {
        width: auto;
        height: 22px;
    }

    .section-reviews__platform-link--yandex {
        overflow: visible;
    }

    .section-reviews__platform {
        height: 22px;
        width: auto;
    }

    .section-reviews__platform-link--google .section-reviews__platform {
        width: 109px;
    }

    .section-reviews__platform-link--2gis .section-reviews__platform {
        width: 78px;
    }

    .section-reviews__platform-link--yandex .section-reviews__platform {
        position: static;
        width: 114px;
        height: 22px;
        max-width: none;
        left: auto;
        top: auto;
    }

    .scroll-carousel--active .section-reviews__card,
    [data-scroll-carousel] [data-scroll-carousel-slide].section-reviews__card {
        padding: 20px;
        border-radius: 20px;
    }

    .section-reviews__card-top {
        margin: 0;
    }

    .section-reviews__stars {
        gap: 8px;
        min-height: 20px;
    }

    .section-reviews__star {
        width: 20px;
        height: 20px;
    }

    [data-scroll-carousel] .section-reviews__card-body {
        flex: 1;
        margin: 0;
        gap: 16px;
    }

    [data-scroll-carousel] .section-reviews__card-author {
        gap: 16px;
        margin-top: auto;
    }

    .section-reviews__avatar,
    .section-reviews__avatar--default svg {
        width: 44px;
        height: 44px;
    }

    .section-reviews__author-name {
        font-size: 16px;
        white-space: normal;
    }

    .section-reviews__all-btn {
        width: 100%;
        padding: 16px;
        box-sizing: border-box;
    }
}
