/* Reviews page — matches Partners / Contacts responsive system */

.reviews-page {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

.reviews-hero-section,
.reviews-stats-section,
.reviews-list-section {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Hero */
.reviews-hero-section {
    padding: 56px 0;
    background: #fff;
    border-bottom: 1px solid #e2e2ec;
}

.reviews-hero-container,
.reviews-stats-container,
.reviews-list-container {
    width: 100%;
    max-width: var(--content-max-width);
    box-sizing: border-box;
}

.reviews-hero-label {
    margin: 0;
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #252691;
}

.reviews-hero-container h1 {
    margin: 12px 0 0;
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 48px;
    line-height: 60px;
    color: #151525;
}

.reviews-hero-lead {
    margin: 16px 0 0;
    max-width: 768px;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 29.25px;
    color: #717188;
}

/* Stats bar */
.reviews-stats-section {
    padding: 40px 0;
    background: #fff;
    border-bottom: 1px solid #e2e2ec;
}

.reviews-stats-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.reviews-stat {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 0 8px;
}

.reviews-stat__value {
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 48px;
    line-height: 1;
    color: #252691;
}

.reviews-stat__label {
    max-width: 100%;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 13px;
    line-height: 18px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #717188;
    text-align: center;
    hyphens: auto;
}

.reviews-stats-divider {
    flex-shrink: 0;
    width: 1px;
    height: 64px;
    background: #e2e2ec;
}

/* Reviews grid */
.reviews-list-section {
    padding: 80px 0;
    background: #f6f6fa;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.reviews-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 32px;
    background: #fff;
    border: 1px solid #e2e2ec;
}

.reviews-card__header {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.reviews-card__avatar {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #252691;
}

.reviews-card__avatar span {
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 18px;
    line-height: 1;
    color: #fff;
}

.reviews-card__author {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.reviews-card__name {
    margin: 0;
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 15px;
    line-height: 20px;
    color: #151525;
}

.reviews-card__company {
    margin: 0;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 13px;
    line-height: 18px;
    color: #717188;
}

.reviews-card__stars {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.reviews-star {
    display: block;
    flex-shrink: 0;
    color: #252691;
}

.reviews-star--empty {
    color: #dbdbdb;
}

.reviews-card__text {
    margin: 0;
    width: 100%;
}

.reviews-card__text p {
    margin: 0;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 15px;
    line-height: 22.5px;
    color: #151525;
}

.reviews-card__date {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.reviews-card__date time {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    color: #717188;
}

.reviews-hero-container h1,
.reviews-hero-lead,
.reviews-stat__value,
.reviews-stat__label,
.reviews-card__name,
.reviews-card__company,
.reviews-card__text p {
    overflow-wrap: anywhere;
}

@media (max-width: 1200px) {
    .reviews-hero-section,
    .reviews-stats-section,
    .reviews-list-section {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .reviews-stats-section {
        padding-top: 32px;
        padding-bottom: 32px;
    }
}

@media (max-width: 1000px) {
    .reviews-hero-container,
    .reviews-stats-container,
    .reviews-list-container {
        padding-left: 24px;
        padding-right: 24px;
    }

    .reviews-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .reviews-hero-container h1 {
        font-size: 42px;
        line-height: 1.12;
    }

    .reviews-hero-lead {
        font-size: 16px;
        line-height: 1.55;
    }

    .reviews-stat__value {
        font-size: 40px;
    }
}

@media (max-width: 700px) {
    .reviews-hero-container,
    .reviews-stats-container,
    .reviews-list-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .reviews-stats-divider {
        height: 48px;
    }

    .reviews-stat {
        padding: 0 4px;
    }

    .reviews-stat__value {
        font-size: 34px;
    }

    .reviews-stat__label {
        font-size: 11px;
        line-height: 16px;
        letter-spacing: 0.6px;
    }
}

@media (max-width: 600px) {
    .reviews-hero-container h1 {
        font-size: 34px;
        line-height: 1.2;
    }

    .reviews-stat__value {
        font-size: 30px;
    }

    .reviews-card {
        padding: 24px;
        gap: 16px;
    }

    .reviews-list-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}

@media (max-width: 520px) {
    .reviews-stats-container {
        flex-direction: column;
        align-items: stretch;
    }

    .reviews-stats-divider {
        width: 100%;
        height: 1px;
        margin: 20px 0;
    }

    .reviews-stat {
        padding: 0;
    }

    .reviews-stat__value {
        font-size: 36px;
    }

    .reviews-stat__label {
        font-size: 12px;
        letter-spacing: 0.8px;
    }
}

@media (max-width: 480px) {
    .reviews-hero-container,
    .reviews-stats-container,
    .reviews-list-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .reviews-hero-container h1 {
        font-size: 30px;
    }

    .reviews-hero-lead,
    .reviews-card__text p {
        font-size: 15px;
        line-height: 1.5;
    }

    .reviews-stats-section {
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .reviews-list-section {
        padding-top: 32px;
        padding-bottom: 32px;
    }

    .reviews-grid {
        gap: 10px;
    }

    .reviews-card {
        padding: 20px;
    }

    .reviews-card__avatar {
        width: 40px;
        height: 40px;
    }

    .reviews-card__avatar span {
        font-size: 16px;
    }

    .reviews-card__header {
        gap: 12px;
    }
}