.reviews-hero {
    --reviews-hero-image: none;
    position: relative;
    margin-top: 71px;
    min-height: 610px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #5f8e94;
    background-image: var(--reviews-hero-image);
    background-position: center;
    background-size: cover;
}

.reviews-hero__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(34, 48, 48, .82) 0%, rgba(34, 48, 48, .60) 46%, rgba(34, 48, 48, .20) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, .05), rgba(0, 0, 0, .22));
}

.reviews-hero__content {
    position: relative;
    z-index: 1;
    max-width: 1180px;
    width: 100%;
    padding-top: 92px;
    padding-bottom: 92px;
    color: #fff;
}

.reviews-eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #dff7fa;
}

.reviews-eyebrow--dark {
    color: #58959d;
}

.reviews-hero h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(44px, 5vw, 68px);
    line-height: 1.04;
    color: #fff;
}

.reviews-hero__content > p {
    max-width: 650px;
    margin: 26px 0 34px;
    font-size: 18px;
    line-height: 1.65;
    color: rgba(255, 255, 255, .9);
}

.yandex-review-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 58px;
    padding: 10px 20px 10px 12px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 18px;
    background: #fff;
    color: #2f3333;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 14px 36px rgba(20, 38, 40, .20);
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.yandex-review-button:hover {
    color: #1e2222;
    background: #f9ffff;
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(20, 38, 40, .28);
}

.yandex-review-button__mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 50%;
    background: #fc3f1d;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 20px;
    font-weight: 700;
}

.yandex-review-button__arrow {
    margin-left: 4px;
    font-size: 21px;
    line-height: 1;
}

.reviews-hero__note {
    display: block;
    margin-top: 13px;
    font-size: 12px;
    color: rgba(255, 255, 255, .72);
}

.reviews-list-section {
    padding: 90px 0 100px;
    background: #f7f9f8;
}

.reviews-list-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 42px;
}

.reviews-list-header h2 {
    margin: 0;
    color: #363938;
    font-size: 42px;
    line-height: 1.12;
}

.reviews-list-header .reviews-eyebrow {
    margin-bottom: 10px;
}

.reviews-all-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 5px;
    border-bottom: 1px solid #94d5dd;
    color: #363938;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: color .2s ease, border-color .2s ease;
}

.reviews-all-link:hover {
    color: #58959d;
    border-color: #58959d;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.review-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 270px;
    padding: 34px;
    overflow: hidden;
    border: 1px solid rgba(54, 57, 56, .07);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(54, 57, 56, .07);
}

.review-card__quote {
    position: absolute;
    top: 10px;
    right: 24px;
    color: #e4f1f3;
    font-family: 'Playfair Display', serif;
    font-size: 100px;
    line-height: 1;
}

.review-card__text {
    position: relative;
    z-index: 1;
    flex-grow: 1;
    margin: 0 0 30px;
    color: #4b4f4e;
    font-size: 16px;
    line-height: 1.65;
}

.review-card__footer {
    display: flex;
    align-items: center;
    gap: 14px;
}

.review-card__avatar {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 50%;
    background: #e4f1f3;
    color: #477f86;
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
}

.review-card h3 {
    margin: 0 0 3px;
    color: #363938;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    text-align: left;
}

.review-card time {
    color: #8a8f8e;
    font-size: 12px;
}

.reviews-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 46px;
}

.reviews-pagination a,
.reviews-pagination__current {
    display: grid;
    place-items: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border-radius: 14px;
    background: #fff;
    color: #363938;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(54, 57, 56, .07);
}

.reviews-pagination a:hover {
    background: #94d5dd;
}

.reviews-pagination__current {
    min-width: 72px;
    background: #e4f1f3;
    font-size: 13px;
    font-weight: 700;
}

.reviews-empty {
    padding: 54px 28px;
    border-radius: 24px;
    background: #fff;
    text-align: center;
    box-shadow: 0 14px 38px rgba(54, 57, 56, .07);
}

.reviews-empty h3 {
    margin: 0 0 12px;
}

.reviews-empty p {
    margin-bottom: 26px;
    color: #6f7473;
}

.yandex-review-button--dark {
    background: #363938;
    color: #fff;
}

.yandex-review-button--dark:hover {
    background: #252827;
    color: #fff;
}
