/* Брендовый акцент в тексте */
.sc-text-brand {
    color: #c02222;
}

/* Подпись в цитате — вправо (родитель центрирован) */
.prt-testimonial-box-view-style4 .sc-quote-attribution {
    display: block;
    width: 100%;
    text-align: right;
}

/* Карточки структуры группы компаний */
.sc-group-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.5rem 1.5rem 1.5rem 1.35rem;
    background: #f7f7f7;
    border: 1px solid #e6e6e6;
    border-left: 4px solid #c02222;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.sc-group-card:hover {
    border-color: #d9d9d9;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.sc-group-card__title {
    margin: 0 0 0.65rem;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
    color: #333333;
}

.sc-group-card__text {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.55;
    color: #666666;
}

.sc-group-card__site {
    margin: auto 0 0;
    padding-top: 0.85rem;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.4;
    color: #666666;
}

.sc-group-card__site a {
    font-weight: 700;
    text-decoration: underline;
}

.sc-group-card--sat .sc-group-card__site a {
    color: #1a9bb8;
}

.sc-group-card--nicsu .sc-group-card__site a {
    color: #1e4f9c;
}

.sc-group-card--optimus .sc-group-card__site a {
    color: #2e8b57;
}

.relgab a {
    font-weight: 700;
    text-decoration: underline;
    color: #13b479;
}

.sc-group-card__site a:hover,
.sc-group-card__site a:focus {
    text-decoration: none;
}

/* Локальные цвета компаний */
.sc-group-card--stroicenter {
    border-left-color: #c02222; /* красный Строй-Центр */
    background: #fdf5f5;
}

.sc-group-card--sat {
    border-left-color: #1a9bb8; /* голубой САТ */
    background: #f3fafc;
}

.sc-group-card--nicsu {
    border-left-color: #1e4f9c; /* синий НИЦ СУ */
    background: #f3f6fb;
}

.sc-group-card--optimus {
    border-left-color: #2e8b57; /* зелёный Оптимус */
    background: #f4faf6;
}

@media (max-width: 767px) {
    .sc-group-card {
        padding: 1.25rem;
    }
}

/* Карточки отзывов и благодарственных писем */
.sc-review-card {
    display: flex;
    flex-direction: column;
    height: calc(100% - 1.5rem);
    margin: 0 0.6rem 1.5rem;
    background: #ffffff;
    border: 1px solid #e6e6e6;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.sc-review-card .featured-content {
    padding-bottom: 0.75rem;
}

.sc-review-card .featured-title h3 {
    margin-bottom: 0.35rem;
}

.sc-review-card__site {
    margin: 0 0 0.85rem;
    min-height: 1.26rem;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.4;
    color: #666666;
}

.sc-review-card__site a {
    font-weight: 700;
    text-decoration: underline;
    color: #c02222;
}

.sc-review-card__site a:hover,
.sc-review-card__site a:focus {
    text-decoration: none;
}

.sc-review-card .featured-thumbnail {
    margin-top: auto;
}

.sc-review-card .featured-thumbnail a {
    display: block;
}

.sc-review-card .featured-thumbnail img {
    width: 100%;
    height: 22rem;
    object-fit: cover;
    object-position: top;
}

/* Каталог групп оборудования на странице поставок */
.sc-equipment-catalog {
    margin: 0 0 2rem;
}

.sc-equipment-catalog__list {
    margin: 0;
    padding-left: 1.25rem;
}

.sc-equipment-catalog__list li {
    margin: 0 0 0.45rem;
    list-style-type: disc;
}

.sc-equipment-catalog__list a {
    color: #c02222;
    font-weight: 400;
    text-decoration: underline;
}

.sc-equipment-catalog__list a:hover,
.sc-equipment-catalog__list a:focus {
    text-decoration: none;
}

.sc-equipment-section {
    scroll-margin-top: 7rem;
}
