.stm-reviews-page {
    --reviews-blue: #001b72;
    --reviews-green: #1baa1d;
    --reviews-text: #252b38;
    --reviews-muted: #737d91;
    --reviews-border: #e2e7f0;
    --reviews-light: #f2f5fd;

    width: 100%;
    max-width: 2000px;
    margin: 0 auto;
    padding: 0;
    color: var(--reviews-text);
    font-family: inherit;
    font-size: 16px;
    line-height: 1.7;
}

.stm-reviews-page *,
.stm-reviews-page *::before,
.stm-reviews-page *::after {
    box-sizing: border-box;
}

/* Вступительный текст */
.stm-reviews-page .stm-reviews-intro {
    width: 100%;
    margin: 0 0 28px;
    padding: 0;
}

.stm-reviews-page .stm-reviews-intro p {
    max-width: 2000px;
    margin: 0;
    padding: 0;
    color: #444 !important;
    font-size: 16px;
    line-height: 1.8;
}

/* =========================================================
   СЕТКА ОТЗЫВОВ — ДВЕ КОЛОНКИ
   ========================================================= */

.stm-reviews-page .stm-reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 24px;
    width: 100%;
    margin: 0 0 40px;
    padding: 0;
}

/* Карточка */
.stm-reviews-page .stm-reviews-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin: 0;
    padding: 25px 26px 22px;
    overflow: hidden;
    border: 1px solid var(--reviews-border);
    border-radius: 0;
    background: #fff;
    box-shadow: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.stm-reviews-page .stm-reviews-card:hover {
    border-color: #cbd5e8;
    box-shadow: 0 5px 18px rgba(0, 27, 114, .05);
}

/* Верх карточки: автор и рейтинг */
.stm-reviews-page .stm-reviews-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    margin: 0 0 22px;
    padding: 0;
}

/* Автор */
.stm-reviews-page .stm-reviews-card__author {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
    margin: 0;
    padding: 0;
}

/* Круглые фотографии авторов */
.stm-reviews-page img.stm-reviews-card__avatar {
    display: block !important;
    flex: 0 0 52px !important;
    width: 52px !important;
    min-width: 52px !important;
    max-width: 52px !important;
    height: 52px !important;
    min-height: 52px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    object-position: center !important;
    background: #f2f5fd;
}

.stm-reviews-page .stm-reviews-card__author-info {
    display: block;
    min-width: 0;
    margin: 0;
    padding: 0;
}

.stm-reviews-page .stm-reviews-card__author-info strong {
    display: block;
    margin: 0 0 3px;
    padding: 0;
    color: #111 !important;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
}

.stm-reviews-page .stm-reviews-card__author-info small {
    display: block;
    margin: 0;
    padding: 0;
    color: var(--reviews-muted) !important;
    font-size: 12px;
    line-height: 1.5;
}

/* Звёздный рейтинг */
.stm-reviews-page .stm-reviews-card__rating {
    flex: 0 0 auto;
    color: #e4a11b;
    font-size: 18px;
    line-height: 1;
    letter-spacing: 1px;
    white-space: nowrap;
}

/* Небольшая подпись */
.stm-reviews-page .stm-reviews-card__label {
    margin: 0 0 8px;
    padding: 0;
    color: var(--reviews-blue);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: .2px;
}

/* Заголовок отзыва */
.stm-reviews-page .stm-reviews-card h2 {
    margin: 0 0 12px;
    padding: 0;
    color: #111 !important;
    font-family: inherit;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.45;
    text-transform: none;
}

/* Текст отзыва */
.stm-reviews-page .stm-reviews-card__text {
    flex: 1 1 auto;
    margin: 0;
    padding: 0;
    color: #4c5260 !important;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.85;
}

/* Нижняя строка карточки */
.stm-reviews-page .stm-reviews-card__footer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 22px 0 0;
    padding: 14px 0 0;
    border-top: 1px solid #edf0f5;
    color: #737d91;
    font-size: 12px;
    line-height: 1.5;
}

.stm-reviews-page .stm-reviews-card__check {
    display: inline-flex;
    flex: 0 0 20px;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #edf8ee;
    color: var(--reviews-green);
    font-size: 12px;
    font-weight: 700;
}

/* =========================================================
   БЛОК ОБРАТНОЙ СВЯЗИ
   ========================================================= */

.stm-reviews-page .stm-reviews-contact {
    width: 100%;
    margin: 0 0 30px;
    padding: 28px 30px 30px;
    border: 1px solid #d8e2fa;
    border-radius: 0;
    background: var(--reviews-light);
    box-shadow: none;
}

.stm-reviews-page .stm-reviews-contact > h2 {
    margin: 0 0 12px;
    padding: 0;
    color: #111 !important;
    font-family: inherit;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.4;
    text-transform: none;
}

.stm-reviews-page .stm-reviews-contact__description {
    width: 100%;
    max-width: none;
    margin: 0 0 24px;
    padding: 0;
    color: #333 !important;
    font-size: 15px;
    line-height: 1.8;
}

/* Контактные карточки */
.stm-reviews-page .stm-reviews-contact__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 18px;
    width: 100%;
    margin: 0;
    padding: 0;
}

.stm-reviews-page .stm-reviews-contact__card,
.stm-reviews-page .stm-reviews-contact__card:link,
.stm-reviews-page .stm-reviews-contact__card:visited {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    min-width: 0;
    min-height: 105px;
    margin: 0;
    padding: 19px 20px;
    border: 1px solid #d8e2fa;
    border-radius: 0;
    background: #fff;
    color: var(--reviews-text);
    font-family: inherit;
    text-align: left;
    text-decoration: none !important;
    box-shadow: none;
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.stm-reviews-page .stm-reviews-contact__card:hover,
.stm-reviews-page .stm-reviews-contact__card:focus {
    border-color: #b9c9ef;
    background: #fff;
    color: var(--reviews-text);
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(0, 27, 114, .05);
}

/* Иконки контактов */
.stm-reviews-page .stm-reviews-contact__icon {
    display: flex;
    flex: 0 0 46px;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin: 0;
    padding: 0;
    background: var(--reviews-light);
    color: var(--reviews-blue);
}

.stm-reviews-page .stm-reviews-contact__icon svg {
    display: block;
    width: 24px;
    height: 24px;
    margin: 0;
    padding: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Текст контактов */
.stm-reviews-page .stm-reviews-contact__info {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    padding: 0;
}

.stm-reviews-page .stm-reviews-contact__info small {
    display: block;
    margin: 0 0 4px;
    padding: 0;
    color: #65718b;
    font-size: 13px;
    line-height: 1.5;
}

.stm-reviews-page .stm-reviews-contact__info strong {
    display: block;
    margin: 0;
    padding: 0;
    color: var(--reviews-blue);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

/* Кнопка Popup Maker */
.stm-reviews-page button.stm-reviews-contact__card {
    appearance: none;
    -webkit-appearance: none;
    font-size: inherit;
    line-height: inherit;
    outline-offset: 3px;
}

.stm-reviews-page button.stm-reviews-contact__card,
.stm-reviews-page button.stm-reviews-contact__card:hover,
.stm-reviews-page button.stm-reviews-contact__card:focus,
.stm-reviews-page button.stm-reviews-contact__card:active,
.stm-reviews-page button.stm-reviews-contact__card strong {
    text-decoration: none !important;
}

/* =========================================================
   НИЖНЕЕ ИЗОБРАЖЕНИЕ
   ========================================================= */

.stm-reviews-page .stm-reviews-bottom-image {
    display: block;
    width: 100%;
    max-width: none;
    height: 200px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #f2f5fd;
}

.stm-reviews-page .stm-reviews-bottom-image img {
    display: block;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    object-fit: cover;
    object-position: center;
}

/* =========================================================
   ПЛАНШЕТЫ
   ========================================================= */

@media (max-width: 1000px) {
    .stm-reviews-page .stm-reviews-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .stm-reviews-page .stm-reviews-card {
        padding: 21px;
    }

    .stm-reviews-page .stm-reviews-card__top {
        align-items: flex-start;
        gap: 8px;
    }

    .stm-reviews-page .stm-reviews-card__rating {
        font-size: 15px;
    }

    .stm-reviews-page .stm-reviews-card h2 {
        font-size: 19px;
    }

    .stm-reviews-page .stm-reviews-contact__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stm-reviews-page .stm-reviews-contact__card--button {
        grid-column: 1 / -1;
    }
}

/* =========================================================
   МОБИЛЬНЫЕ УСТРОЙСТВА
   ========================================================= */

@media (max-width: 600px) {
    .stm-reviews-page .stm-reviews-intro {
        margin-bottom: 22px;
    }

    .stm-reviews-page .stm-reviews-intro p {
        font-size: 14px;
        line-height: 1.8;
    }

    .stm-reviews-page .stm-reviews-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
        margin-bottom: 28px;
    }

    .stm-reviews-page .stm-reviews-card {
        padding: 20px 18px;
    }

    .stm-reviews-page .stm-reviews-card__top {
        align-items: center;
        margin-bottom: 18px;
    }

    .stm-reviews-page img.stm-reviews-card__avatar {
        flex-basis: 44px !important;
        width: 44px !important;
        min-width: 44px !important;
        max-width: 44px !important;
        height: 44px !important;
        min-height: 44px !important;
    }

    .stm-reviews-page .stm-reviews-card__author {
        gap: 10px;
    }

    .stm-reviews-page .stm-reviews-card__author-info strong {
        font-size: 14px;
    }

    .stm-reviews-page .stm-reviews-card__author-info small {
        font-size: 11px;
    }

    .stm-reviews-page .stm-reviews-card__rating {
        font-size: 14px;
        letter-spacing: 0;
    }

    .stm-reviews-page .stm-reviews-card h2 {
        font-size: 19px;
    }

    .stm-reviews-page .stm-reviews-card__text {
        font-size: 13px;
        line-height: 1.8;
    }

    .stm-reviews-page .stm-reviews-contact {
        margin-bottom: 22px;
        padding: 22px 17px;
    }

    .stm-reviews-page .stm-reviews-contact > h2 {
        font-size: 22px;
    }

    .stm-reviews-page .stm-reviews-contact__description {
        margin-bottom: 19px;
        font-size: 14px;
    }

    .stm-reviews-page .stm-reviews-contact__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .stm-reviews-page .stm-reviews-contact__card--button {
        grid-column: auto;
    }

    .stm-reviews-page .stm-reviews-contact__card {
        min-height: 88px;
        padding: 16px;
        gap: 13px;
    }

    .stm-reviews-page .stm-reviews-contact__icon {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
    }

    .stm-reviews-page .stm-reviews-contact__info small {
        font-size: 12px;
    }

    .stm-reviews-page .stm-reviews-contact__info strong {
        font-size: 14px;
    }

    .stm-reviews-page .stm-reviews-bottom-image {
        height: 150px;
    }
}

/* Уважение системной настройки уменьшения анимации */
@media (prefers-reduced-motion: reduce) {
    .stm-reviews-page *,
    .stm-reviews-page *::before,
    .stm-reviews-page *::after {
        transition: none !important;
        animation: none !important;
    }
}