 /* Стили для статьи */
        /* Секция статьи */
        .s-article {
            padding-block: 4rem 6rem;
            background-color: var(--white);
        }
        .s-article__container {
            max-width: 1280px;
            margin-inline: auto;
            padding-inline: 1rem;
        }
        @media (min-width: 37.5em) {
            .s-article {
                padding-block: 6rem 7rem;
            }
            .s-article__container {
                padding-inline: 1.5rem;
            }
        }

        /* Контентная область */
        .article-content {
            max-width: 78rem;
            margin-inline: auto;
        }

        /* Типографика */
        .article-content h1 {
            font-size: clamp(1.8rem, 5vw, 2.8rem);
            font-weight: 600;
            color: var(--c-1);
            margin-bottom: 1.5rem;
            line-height: 1.2;
        }
        .article-content h2 {
            font-size: clamp(1.5rem, 4vw, 2rem);
            font-weight: 500;
            color: var(--graphite);
            margin: 2rem 0 1rem;
            border-left: 4px solid var(--c-1);
            padding-left: 1rem;
        }
        .article-content h3 {
            font-size: 1.38rem;
            font-weight: 600;
            color: var(--graphite);
            margin: 1.5rem 0 0.75rem;
        }
        .article-content p {
            font-size: 1rem;
            line-height: 1.5;
            color: var(--gray-3);
            margin-bottom: 1.25rem;
        }
        @media (min-width: 37.5em) {
            .article-content p {
                font-size: 1.125rem;
                line-height: 1.55;
            }
        }
        .article-content strong {
            color: var(--c-1);
            font-weight: 600;
        }
        .article-content hr {
            margin: 2rem 0;
            border: none;
            height: 2px;
            background-color: var(--gray-2);
        }

        /* Блок примечания */
        .note-box {
            background-color: var(--gray);
            padding: 1.25rem 1.5rem;
            border-radius: 0 1.25rem 0 0;
            margin: 1.5rem 0;
            font-size: 0.9rem;
            border-left: 3px solid var(--c-1);
                    corner-shape: bevel;
        }
        .note-box strong {
            color: var(--c-1);
        }

        /* Таблица процессов */
        .process-table-wrapper {
            overflow-x: auto;
            margin: 2rem 0;
        }
        .process-table {
            width: 100%;
            border-collapse: collapse;
            background: var(--gray);
            font-size: 0.9rem;
        }
        .process-table thead tr {
            background-color: var(--c-1);
            color: white;
        }
        .process-table th {
            padding: 1rem;
            text-align: center;
            font-weight: 500;
        }
        .process-table td {
            padding: 1rem;
            vertical-align: top;
            border-bottom: 1px solid var(--gray-2);
        }
        .process-table td strong {
            display: block;
            margin-bottom: 0.5rem;
        }

        /* Выделенный блок (сбалансированная нагрузка) */
        .highlight-box {
            background-color: rgba(40, 110, 171, 0.08);
            padding: 1.25rem;
            border-radius: 0 0 0 1.25rem;
            margin: 1.5rem 0;
                    corner-shape: bevel;
        }
        .highlight-box h3 {
            margin-top: 0;
        }

        /* Сетка преимуществ */
        .tech-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 1.5rem;
            margin: 2rem 0;
        }
        .tech-card {
            flex: 1 1 250px;
            background-color: var(--gray);
            padding: 1.5rem;
            border-radius: 0 0 0 1.5rem;
            border-left: 3px solid var(--c-1);
                    corner-shape: bevel;
        }
        .tech-card__title {
            font-weight: 700;
            font-size: 1.25rem;
            color: var(--c-1);
            margin-bottom: 0.75rem;
            text-transform: uppercase;
        }
        .tech-card__text {
            font-size: 0.95rem;
            color: var(--graphite);
        }

        /* Двухколоночный блок */
        .two-columns {
            display: grid;
            grid-template-columns: 1fr;
            gap: 1.5rem;
            margin: 1.5rem 0;
        }
        @media (min-width: 48em) {
            .two-columns {
                grid-template-columns: 1fr 1fr;
                gap: 2rem;
            }
        }
        .feature-list {
            list-style: none;
            padding-left: 0;
            margin: 0;
        }
        .feature-list li {
            margin-bottom: 0.75rem;
            display: flex;
            gap: 0.75rem;
            align-items: baseline;
        }
        .feature-list li span {
            color: var(--c-1);
            font-weight: bold;
        }

        /* Кнопка в стиле проекта */
        .post-article__content .btn-article {
            display: inline-flex;
            align-items: center;
            gap: 0.75rem;
            background-color: var(--c-1);
            color: white;
            padding: 0.85rem 1.8rem;
            border-radius: 0 1rem 0 0;
            text-decoration: none;
            font-weight: 500;
            transition: 0.3s;
            border: none;
            cursor: pointer;
                    corner-shape: bevel;
        }
        .post-article__content .btn-article:hover {
            background-color: var(--c-2);
            color: white;
        }
        .post-article__content .btn-article svg {
            width: 20px;
            height: 20px;
            fill: currentColor;
        }

        /* Блок видео-ссылки */
        .video-link {
            margin: 2rem 0;
            text-align: center;
        }

        /* Финальный призыв */
        .cta-box {
            margin: 3rem 0 1rem;
            background-color: var(--gray);
            border-radius: 0 1.5rem 0 0;
            padding: 1.5rem;
            text-align: center;
                    corner-shape: bevel;
        }
        .cta-box h3 {
            margin: 0 0 0.5rem 0;
            color: var(--c-1);
        }
        .cta-box p {
            margin-bottom: 1rem;
        }

        /* Декоративная линия */
        .decor-line {
            height: 2px;
            background: linear-gradient(90deg, var(--c-1) 0%, rgba(40,110,171,0.2) 100%);
            margin-top: 2rem;
        }

        @media (max-width: 37.5em) {
            .article-content h2 {
                font-size: 1.5rem;
            }
            .article-content h3 {
                font-size: 1.25rem;
            }
            .tech-card {
                padding: 1rem;
            }
            .process-table th,
            .process-table td {
                padding: 0.75rem;
            }
        }
        /* Контейнер секции */
        .process-section {
            max-width: 1400px;
            margin: 0 auto;
        }

        .process-section__title {
            font-size: 1.8rem;
            font-weight: 600;
            color: var(--c-1);
            margin-bottom: 2rem;
            border-left: 4px solid var(--c-1);
            padding-left: 1rem;
        }

        /* Грид-таблица процессов — острые углы, без border-radius */
        .process-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            background-color: var(--gray);
            border: 1px solid var(--gray-2);
        }

        /* Заголовки */
        .process-grid__header {
            background-color: var(--c-1);
            color: white;
            padding: 1rem;
            text-align: center;
            font-weight: 600;
            font-size: 1.1rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            border-bottom: 1px solid rgba(255,255,255,0.2);
        }

        /* Ячейки содержимого */
        .process-grid__cell {
            padding: 1.25rem;
            background-color: var(--gray);
            border-bottom: 1px solid var(--gray-2);
            border-right: 1px solid var(--gray-2);
            vertical-align: top;
        }

        /* Убираем правую границу у последнего столбца в каждой строке */
        .process-grid__row .process-grid__cell:last-child {
            border-right: none;
        }

        /* Строки грида — обертка для трех ячеек */
        .process-grid__row {
            display: contents;
        }

        /* Стили для контента внутри ячеек */
        .process-grid__cell strong {
            display: block;
            font-size: 1.1rem;
            color: var(--c-1);
            margin-bottom: 1rem;
            font-weight: 700;
        }

        .process-grid__cell p {
            font-size: 0.95rem;
            line-height: 1.45;
            color: var(--gray-3);
            margin-top: 0.75rem;
        }

        .process-grid__cell img {
            max-width: 100%;
            height: auto;
            display: block;
            margin: 0.5rem 0;
            border: 1px solid var(--gray-2);
            background-color: #fff;
        }

        /* Пустые ячейки с отступом */
        .process-grid__cell--empty {
            background-color: var(--gray);
            min-height: 80px;
        }

        /* Адаптив: на планшетах и мобильных превращаем в вертикальный блок */
        @media (max-width: 768px) {
            body {
                padding: 1rem;
            }
            .process-grid {
                display: flex;
                flex-direction: column;
            }
            .process-grid__header {
                display: none;
            }
            .process-grid__row {
                display: flex;
                flex-direction: column;
                border-bottom: 2px solid var(--gray-2);
                margin-bottom: 1rem;
            }
            .process-grid__cell {
                border-right: none;
                border-bottom: 1px solid var(--gray-2);
                padding: 1rem;
            }
            .process-grid__cell:last-child {
                border-bottom: none;
            }
            /* Добавляем псевдо-заголовки для мобильной версии */
            .process-grid__cell::before {
                content: attr(data-label);
                display: block;
                font-weight: 700;
                color: var(--c-1);
                margin-bottom: 0.75rem;
                font-size: 1rem;
                text-transform: uppercase;
            }
        }

        /* Дополнительный стиль для ячеек с изображениями */
        .process-grid__cell img {
            max-width: 100%;
            height: auto;
        }

        /* Острые углы у всех элементов */
        .process-grid,
        .process-grid__header,
        .process-grid__cell,
        .process-grid__cell img {
            border-radius: 0 !important;
        }
        /* Секция highlight-box (острые углы) */
        .highlight-box {
            background-color: rgba(40, 110, 171, 0.06);
            padding: 1.5rem;
            margin: 1.5rem 0;
            border-left: 4px solid var(--c-1);
        }

        /* Заголовок h3 — сверху, на всю ширину */
        .highlight-box h3 {
            font-size: 1.6rem;
            font-weight: 600;
            color: var(--c-1);
            margin-bottom: 1.5rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid var(--gray-2);
        }

        /* Грид-контейнер: текст 80% / картинка 20% */
        .balance-grid {
            display: grid;
            grid-template-columns: 80% 20%;
            gap: 1.5rem;
            align-items: start;
        }

        /* Блок с текстом */
        .balance-text p {
            font-size: 1rem;
            line-height: 1.55;
            color: var(--gray-3);
            margin-bottom: 1rem;
        }

        @media (min-width: 48em) {
            .balance-text p {
                font-size: 1.125rem;
            }
        }

        /* Блок с картинкой */
        .balance-image {
            text-align: right;
        }

        .balance-image img {
            max-width: 100%;
            height: auto;
            display: block;
            border: 1px solid var(--gray-2);
            background-color: #fff;
        }

        /* Адаптив: на планшетах и мобильных картинка становится снизу, пропорции меняются */
        @media (max-width: 768px) {
            .balance-grid {
                grid-template-columns: 1fr;
                gap: 1rem;
            }
            .balance-image {
                text-align: center;
                order: 2;
            }
            .balance-text {
                order: 1;
            }
            .highlight-box h3 {
                font-size: 1.4rem;
            }
        }

        /* Все углы острые — дополнительные гарантии */
        .highlight-box,
        .highlight-box h3,
        .balance-image img {
            border-radius: 0 !important;
        }
        /* Контейнер секции */
        .load-section {
            max-width: 1280px;
            margin: 0 auto;
            background-color: rgba(40, 110, 171, 0.04);
            padding: 1.5rem;
            border-left: 4px solid var(--c-1);
        }

        /* Грид: текст 80% — картинка 20% */
        .load-grid {
            display: grid;
            grid-template-columns: 20% 80%;
            gap: 1.5rem;
            align-items: start;
        }

        /* Текстовый блок */
        .load-text p {
            font-size: 1rem;
            line-height: 1.55;
            color: var(--gray-3);
            margin-bottom: 1rem;
        }

        @media (min-width: 48em) {
            .load-text p {
                font-size: 1.125rem;
            }
        }

        /* Блок с картинкой */
        .load-image {
            text-align: right;
        }

        .load-image img {
            max-width: 100%;
            height: auto;
            display: block;
            border: 1px solid var(--gray-2);
            background-color: #fff;
        }

        /* Адаптив: на мобильных картинка уходит вниз */
        @media (max-width: 768px) {
            .load-grid {
                grid-template-columns: 1fr;
                gap: 1rem;
            }
            .load-image {
                text-align: center;
                order: 2;
            }
            .load-text {
                order: 1;
            }
        }

        /* Все углы острые */
        .load-section,
        .load-image img {
            border-radius: 0 !important;
        }
        @media (min-width: 37.5em) {
 .m-article__s-txt p {
        font-size: 1.25rem!important;
    }
    .m-article__s-txt p {
        font-size: 1.25rem!important;
    }
}
@media (min-width: 37.5em) {
    .article-s-specf__box-txt p {
        max-width: 66.07rem;
    }
}
@media (min-width: 37.5em) {
    .article-s-specf__box-txt p {
        font-size: 1.13em;
            line-height: 2rem;
    }
}
/* Базовый контейнер */
.p-wrap-table {
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--c-1) transparent;
    padding-bottom: 0.38rem;
    margin-bottom: -0.37rem;
}
@-moz-document url-prefix() {
    .p-wrap-table {
        padding-bottom: 0.63rem;
        margin-bottom: -0.62rem;
    }
}

/* Таблица внутри контейнера */
.p-wrap-table table {
    border-collapse: collapse;
    width: 100%;
    min-width: 62.5rem; /* как в медиа-запросе */
}
@media (min-width: 37.5em) {
    .p-wrap-table table {
        min-width: 62.5rem;
        width: max(max-content, 100%);
    }
}

/* Заголовок таблицы */
.p-wrap-table thead tr {
    background-color: var(--c-1);
    font-size: 12px;
    color: var(--white);
    text-transform: uppercase;
}
.p-wrap-table th {
    font-weight: 500;
    padding: 1.25rem 1.5rem; /* базово, но перебивается медиа */
}
@media (min-width: 37.5em) {
    .p-wrap-table th,
    .p-wrap-table td {
        padding: 1.25rem 1.5rem;
    }
}
/* Первая ячейка заголовка (модель) — текст слева */
.p-wrap-table thead th:first-child {
}

/* Ячейки тела таблицы */
.p-wrap-table td {
    text-align: center;
    padding: 1.13rem 1.5rem;
}
.p-wrap-table tbody th {
    /* первая колонка (модель) */
    font-weight: 400;
    text-align: left;
    padding: 1.13rem 1.5rem;
}
.p-wrap-table tbody tr:nth-child(even) {
    background-color: var(--gray);
    font-size: 14px;
}

/* Стиль для строки с иконкой сортировки внутри th */
.it-row {
    --_c-svg-ico-2: currentcolor;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.67em;
}
.it-row > * {
    flex: 0 0 auto;
    min-width: 0;
}
.it-row__i {
    width: 1.67em;
    height: 1.67em;
}
.check-l-filter.active {
        color: var(--c-1);
    }
    .status-header:hover {
                cursor: pointer;
    }
    .article-s-specf__box-txt h2 {
                font-size: 2em;
                font-weight: 500;
    }
    .article-s-specf__box-txt h3 {
                font-size: 1.8em;
                font-weight: 500;
    }
    .article-s-specf__box-txt h4 {
                font-size: 1.4em;
                font-weight: 500;
    }
    @media (min-width: 37.5em) {
    .article-s-specf__box-txt ul {
        gap: 1.12em;
                font-size: 1.13em;
                flex-direction: column;
    display: flex;
            padding-block: 1rem;
    }
}
@media (max-width: 37.5em) {
    .article-s-specf__box-txt ul {
        gap: 1.13em;
    }
}
.article-s-specf__box-txt li {
    display: flex;
    gap: 0.56em;
}
.article-s-specf__box-txt li::before {
    content: "";
    display: block;
    flex: 0 0 auto;
    width: 0.45em;
    height: 0.45em;
    background-color: var(--c-1);
    margin-top: 0.39em;
}


.article-s-specf__box-txt ol {
    counter-reset: ol-num;
}
@media (min-width: 37.5em) {
    .article-s-specf__box-txt ol {
        gap: 2.23em;
        display: grid;
        justify-content: start;
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 37.5em) {
    .article-s-specf__box-txt ol {
        font-size: 1.13em;
    }
}
@media (min-width: 37.5em) {
    .article-s-specf__box-txt ol > * {
        min-width: 0;
        max-width: 32.23em;
    }
}
@media (max-width: 37.5em) {
    .article-s-specf__box-txt ol {
        gap: 1.13em;
    }
}
@media (max-width: 45em) {
    .article-s-specf__box-txt ol {
        flex-direction: column;
        display: flex;
    }
}
@media (max-width: 45em) {
    .article-s-specf__box-txt ol > * {
        min-width: 0px;
    }
}
.article-s-specf__box-txt ol li {
    counter-increment: ol-num;
    display: flex;
    gap: 1.12em;
}
.article-s-specf__box-txt ol li {
    list-style: none;
}
.article-s-specf__box-txt ol li::before {
    content: counter(ol-num, decimal-leading-zero);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 2.23em;
    height: 2.23em;
    background-color: var(--c-1);
    font-size: 0.95em;
    font-weight: 500;
    color: var(--white);
    margin-top: 0.25em;
    align-self: start;
}


.s-serv-specif__sect h2 {
    font-weight: 500;
}
@media (min-width: 37.5em) {
    .s-serv-specif__sect h2 {
        font-size: 2em;
    }
}
@media (max-width: 37.5em) {
    .s-serv-specif__sect h2 {
        font-size: 1.38em;
    }
}
@media (min-width: 37.5em) {
    .s-serv-specif__sect ul {
        gap: 1.12em;
    }
}
@media (min-width: 37.5em) {
    .s-serv-specif__sect ul {
        font-size: 1.13em;
    }
}
@media (max-width: 37.5em) {
    .s-serv-specif__sect ul {
        gap: 1.13em;
    }
}
.s-serv-specif__sect ul {
    flex-direction: column;
    display: flex;
}

.s-serv-specif__sect ul li {
    display: flex;
    gap: 0.56em;
}
.s-serv-specif__sect ul li {
    list-style: none;
}
.s-serv-specif__sect ul li::before {
    content: "";
    display: block;
    flex: 0 0 auto;
    width: 0.45em;
    height: 0.45em;
    background-color: var(--c-1);
    margin-top: 0.39em;
}

.s-serv-specif__sect ol {
    counter-reset: ol-num;
}
@media (min-width: 37.5em) {
    .s-serv-specif__sect ol {
        gap: 2.23em;
        display: grid;
        justify-content: start;
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 37.5em) {
    .s-serv-specif__sect ol {
        font-size: 1.13em;
    }
}
@media (max-width: 37.5em) {
    .s-serv-specif__sect ol {
        gap: 1.13em;
    }
}
@media (max-width: 45em) {
    .s-serv-specif__sect ol {
        flex-direction: column;
        display: flex;
    }
}
@media (max-width: 45em) {
    .s-serv-specif__sect ol > * {
        min-width: 0px;
    }
}
.s-serv-specif__sect ol li {
    counter-increment: ol-num 1;
    display: flex;
    gap: 1.12em;
}
.s-serv-specif__sect ol > li::before {
    content: counter(ol-num, decimal-leading-zero);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.23em;
    height: 2.23em;
    background-color: var(--c-1);
    font-size: 0.95em;
    font-weight: 500;
    color: var(--white);
    margin-top: 0.25em;
    align-self: start;
    flex: 0 0 auto;
}
@media (min-width: 37.5em) {
    .s-serv-specif__sect p {
        font-size: 1.13em;
    }
}
.s-blog {
    position: relative;
    z-index: 24;
    isolation: isolate;
    background-color: var(--white);
}
@media (min-width: 37.5em) {
    .s-blog {
        padding-block: 4.5em 10em;
    }
}
@media (max-width: 93.75em) and (min-width: 37.5em) {
    .s-blog {
        padding-block: 3.75em 7.5em;
    }
}
@media (max-width: 68.75em) and (min-width: 37.5em) {
    .s-blog {
        padding-block: 6.25em 5.63em;
    }
}
@media (max-width: 37.5em) {
    .s-blog {
        padding-block: 5em 3.75em;
    }
}

.s-portfolio {
    position: relative;
    z-index: 24;
    isolation: isolate;
}
@media (min-width: 37.5em) {
    .s-portfolio {
        padding-block: 4.5em 10em;
    }
}
@media (max-width: 93.75em) and (min-width: 37.5em) {
    .s-portfolio {
        padding-block: 3.75em 7.5em;
    }
}
@media (max-width: 68.75em) and (min-width: 37.5em) {
    .s-portfolio {
        padding-block: 6.25em 5.63em;
    }
}
@media (max-width: 37.5em) {
    .s-portfolio {
        padding-block: 5em 3.75em;
    }
}
.s-portfolio__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.25em;
    flex-wrap: wrap;
}
@media (min-width: 37.5em) {
    .s-portfolio__top:not(:last-child) {
        margin-bottom: 5em;
    }
}
@media (max-width: 37.5em) {
    .s-portfolio__top:not(:last-child) {
        margin-bottom: 2.5em;
    }
}

@media (min-width: 37.5em) {
    .s-contacts {
        padding-block: 4.5em 10em;
    }
}
@media (max-width: 93.75em) and (min-width: 37.5em) {
    .s-contacts {
        padding-block: 3.75em 7.5em;
    }
}
@media (max-width: 68.75em) and (min-width: 37.5em) {
    .s-contacts {
        padding-block: 6.25em 5.63em;
    }
}
@media (max-width: 37.5em) {
    .s-contacts {
        padding-block: 5em 3.75em;
    }
}
.c-white {
    color: var(--white);
}
@media (min-width: 37.5em) {
    .s-services {
                padding-block: 4.5em 10em;
    }
}
@media (max-width: 93.75em) and (min-width: 37.5em) {
    .s-services {
        padding-block: 3.75em 7.5em;
    }
}
@media (max-width: 68.75em) and (min-width: 37.5em) {
    .s-services {
        padding-block: 6.25em 5.63em;
    }
}
@media (max-width: 37.5em) {
    .s-services {
        padding-block: 5em 3.75em;
    }
}
@media (min-width: 68.75em) {
    .s-services .figure-s-anim {
        margin-top: 1rem;
    }
}
.s-about-us {
                padding-block: 4.5em 10em;
                background-color: var(--gray);
    }
@media (min-width: 37.5em) {
    .s-about-us {
                padding-block: 4.5em 10em;
    }
}
@media (max-width: 93.75em) and (min-width: 37.5em) {
    .s-about-us {
        padding-block: 3.75em 7.5em;
    }
}
@media (max-width: 68.75em) and (min-width: 37.5em) {
    .s-about-us {
        padding-block: 6.25em 5.63em;
    }
}
@media (max-width: 37.5em) {
    .s-about-us {
        padding-block: 5em 3.75em;
    }
}
.nav__list .active {
    color: var(--c-1);
}
/* ===== Отзывы (аналог s-cases, сетка) ===== */

/* Блок отзывов – фон, отступы, позиционирование */
.s-reviews {
    background-color: var(--c-1);
    position: relative;
    z-index: 28;
    isolation: isolate;
    padding-block: 12.5em 10em;
}
@media (max-width: 93.75em) and (min-width: 37.5em) {
    .s-reviews {
        padding-block: 8.75em 7.5em;
    }
}
@media (max-width: 62.5em) and (min-width: 37.5em) {
    .s-reviews {
        padding-block: 6.25em 5em;
    }
}
@media (max-width: 37.5em) {
    .s-reviews {
        padding-block: 5em 3.75em;
    }
}

/* Верхняя часть – заголовок */
.reviews__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.25em;
    flex-wrap: wrap;
}
.reviews__top:not(:last-child) {
    margin-bottom: 5em;
}
@media (max-width: 93.75em) and (min-width: 37.5em) {
    .reviews__top:not(:last-child) {
        margin-bottom: 2.5em;
    }
}
@media (max-width: 37.5em) {
    .reviews__top:not(:last-child) {
        margin-bottom: 2.5em;
    }
}

.reviews__ttl {
    color: var(--white);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 1.5em;
}
@media (max-width: 37.5em) {
    .reviews__ttl {
        font-size: 1.5em;
    }
}

/* ===== Сетка отзывов ===== */
.reviews__wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Карточка отзыва – стиль как у cr-cases */
.cr-reviews {
    background-color: var(--white);
    padding: 2.5em;
    border-radius: 0 0 5em 0;
    corner-shape: bevel;
    flex-direction: column;
    display: flex;
    height: 100%;
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}
@media (max-width: 100em) and (min-width: 37.5em) {
    .cr-reviews {
        padding: 1.88em;
    }
}
@media (max-width: 93.75em) and (min-width: 37.5em) {
    .cr-reviews {
        padding: 1.25em;
    }
}
@media (max-width: 78.13em) and (min-width: 37.5em) {
    .cr-reviews {
        font-size: 0.88rem;
    }
}
@media (max-width: 37.5em) {
    .cr-reviews {
        padding: 1.25em;
        border-radius: 0 0 1.88em 0;
    }
}

/* Изображение */
.cr-reviews__img {
    display: block;
    overflow: hidden;
    aspect-ratio: 50/35;
    margin-bottom: 1.5em;
}
.cr-reviews__img img {
    transition: transform 0.5s ease;
}
.cr-reviews__img:hover img {
    transform: scale(1.02);
}
@media (max-width: 37.5em) {
    .cr-reviews__img {
        aspect-ratio: 16/9;
        margin-bottom: 1.13em;
    }
}

/* Заголовок карточки */
.cr-reviews__ttl {
    font-size: 1.63em;
    font-weight: 600;
    margin-bottom: 0.75rem;
}
.cr-reviews__ttl a {
    color: var(--graphite);
    text-decoration: none;
    transition: color 0.3s ease;
}
.cr-reviews__ttl a:hover {
    color: var(--c-1);
}
@media (max-width: 37.5em) {
    .cr-reviews__ttl {
        font-size: 1.13em;
    }
}

/* Описание */
.cr-reviews__desc {
    color: var(--gray-3);
    flex: 1 0 auto;
    margin-bottom: 2.5em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}
@media (max-width: 37.5em) {
    .cr-reviews__desc {
        font-size: 0.88rem;
        margin-bottom: 1.88rem;
        -webkit-line-clamp: 3;
    }
}

/* Кнопка "Подробнее" */
.cr-reviews__btn {
    align-self: flex-start;
    background-color: var(--c-1);
    color: var(--white);
    padding: 0.75em 2em;
    border-radius: 0.32em;
    transition: background-color 0.3s ease;
    border: none;
}
.cr-reviews__btn:hover {
    background-color: var(--c-2);
}

/* ===== Адаптивность сетки ===== */
@media (max-width: 1024px) {
    .reviews__wrap {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}
@media (max-width: 768px) {
    .reviews__wrap {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ===== Декоративные элементы (если есть) ===== */
.reviews__bg-figure,
.reviews__decor-b {
    display: none;
}
.s-rev {
    position: relative;
    z-index: 24;
    isolation: isolate;
}
@media (min-width: 37.5em) {
    .s-rev {
        padding-block: 4.5em 10em;
    }
}
@media (max-width: 93.75em) and (min-width: 37.5em) {
    .s-rev {
        padding-block: 3.75em 7.5em;
    }
}
@media (max-width: 68.75em) and (min-width: 37.5em) {
    .s-rev {
        padding-block: 6.25em 5.63em;
    }
}
@media (max-width: 37.5em) {
    .s-rev {
        padding-block: 5em 3.75em;
    }
}
/* ============================================================
   Стили для текстовой секции с классом .article-content
   (аналогично стилям страниц услуг, политики конфиденциальности)
   ============================================================ */

.article-content {
    /* базовые отступы (если нужны) */
    max-width: 100%;
}

/* ---------- Заголовки ---------- */
.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    font-weight: 500;
    color: var(--graphite, #333);
    line-height: 1.2;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    text-wrap: balance;
}

.article-content h1 { font-size: 2.5em; }
.article-content h2 { font-size: 2em; }
.article-content h3 { font-size: 1.75em; }
.article-content h4 { font-size: 1.5em; }
.article-content h5 { font-size: 1.25em; }
.article-content h6 { font-size: 1em; }

.article-content h1:first-child,
.article-content h2:first-child,
.article-content h3:first-child,
.article-content h4:first-child,
.article-content h5:first-child,
.article-content h6:first-child {
    margin-top: 0;
}

/* ---------- Абзацы ---------- */
.article-content p {
    font-size: 1.13em;
    line-height: 1.5;
    color: var(--graphite, #333);
    margin-bottom: 1.25em;
}

/* ---------- Списки ---------- */
.article-content ul,
.article-content ol {
    margin-bottom: 1.25em;
    padding-left: 1.5em;
}

.article-content ul {
    list-style: disc;
}

.article-content ol {
    list-style: decimal;
}

.article-content li {
    font-size: 1.13em;
    line-height: 1.5;
    margin-bottom: 0.5em;
}

.article-content ul ul,
.article-content ol ol,
.article-content ul ol,
.article-content ol ul {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

/* ---------- Таблицы ---------- */
.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5em;
    font-size: 0.95em;
}

.article-content th,
.article-content td {
    padding: 0.75em 1em;
    border: 1px solid var(--gray-2, #cdcfd0);
    text-align: left;
    vertical-align: top;
}

.article-content th {
    background-color: var(--c-1, #286eab);
    color: #fff;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.85em;
}

.article-content tr:nth-child(even) {
    background-color: var(--gray, #efefef);
}

.article-content table ul,
.article-content table ol {
    margin: 0;
    padding-left: 1.2em;
}

.article-content table li {
    font-size: 1em;
    margin-bottom: 0.25em;
}

/* ---------- Остальные элементы ---------- */
.article-content strong {
    font-weight: 700;
    color: var(--graphite, #333);
}

.article-content em {
    font-style: italic;
}

.article-content a {
    color: var(--c-1, #286eab);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.article-content a:hover,
.article-content a:focus-visible {
    color: var(--c-2, #f97f40);
    text-decoration: none;
}

.article-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1.25em 0;
}

.article-content hr {
    border: none;
    border-top: 2px solid var(--gray-2, #cdcfd0);
    margin: 2em 0;
}

/* ---------- Адаптивность для мобильных устройств ---------- */
@media (max-width: 37.5em) { /* 600px */
    .article-content h1 { font-size: 1.8em; }
    .article-content h2 { font-size: 1.5em; }
    .article-content h3 { font-size: 1.3em; }
    .article-content h4 { font-size: 1.2em; }
    .article-content h5 { font-size: 1.1em; }
    .article-content h6 { font-size: 1em; }

    .article-content p,
    .article-content li {
        font-size: 1em;
    }

    .article-content table {
        font-size: 0.85em;
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .article-content th,
    .article-content td {
        padding: 0.5em 0.75em;
    }

    .article-content ul,
    .article-content ol {
        padding-left: 1.2em;
    }
}

/* Очень маленькие экраны */
@media (max-width: 28.13em) { /* 450px */
    .article-content h1 { font-size: 1.5em; }
    .article-content h2 { font-size: 1.3em; }
    .article-content h3 { font-size: 1.2em; }
    .article-content h4 { font-size: 1.1em; }
    .article-content h5 { font-size: 1em; }
    .article-content h6 { font-size: 0.9em; }

    .article-content p,
    .article-content li {
        font-size: 0.95em;
    }

    .article-content table {
        font-size: 0.8em;
    }
}
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 1.5em 0;
}
.video-wrapper #youtube-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.s-serv__ttl {
    margin-bottom: 1rem;
}
.s-serv-specif__sect h3 {
    font-size: 1.75em;
    font-weight: 500;
    color: var(--graphite, #333);
    line-height: 1.2;
    text-wrap: balance;
}
/* ============================================================
   Стили для контента внутри .post-article__content
   Полностью соответствуют стилям .s-serv-specif__sect и отступам из примера
   ============================================================ */

.post-article__content {
    max-width: 100%;
}

/* ---------- Заголовки ---------- */
.post-article__content h2 {
    font-weight: 500;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}
@media (min-width: 37.5em) {
    .post-article__content h2 {
        font-size: 2em;
    }
}
@media (max-width: 37.5em) {
    .post-article__content h2 {
        font-size: 1.38em;
    }
}

.post-article__content h3 {
    font-size: 1.75em;
    font-weight: 500;
    color: var(--graphite, #333);
    line-height: 1.2;
    text-wrap: balance;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.post-article__content h4 {
    font-size: 1.4em;
    font-weight: 500;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

/* ---------- Абзацы ---------- */
.post-article__content p {
    font-size: 1.13em;
    line-height: 1.5;
    color: var(--graphite, #333);
    margin-bottom: 1.25em;
}
@media (min-width: 37.5em) {
    .post-article__content p {
        font-size: 1.13em;
    }
}

/* ---------- Списки (ul) ---------- */
.post-article__content ul {
    flex-direction: column;
    display: flex;
    margin-bottom: 1.25em;
    padding-left: 0;
}
@media (min-width: 37.5em) {
    .post-article__content ul {
        gap: 1.12em;
        font-size: 1.13em;
    }
}
@media (max-width: 37.5em) {
    .post-article__content ul {
        gap: 1.13em;
    }
}

.post-article__content ul li {
    display: flex;
    gap: 0.56em;
    list-style: none;
}
.post-article__content ul li::before {
    content: "";
    display: block;
    flex: 0 0 auto;
    width: 0.45em;
    height: 0.45em;
    background-color: var(--c-1);
    margin-top: 0.39em;
}

/* ---------- Списки (ol) ---------- */
.post-article__content ol {
    counter-reset: ol-num;
    margin-bottom: 1.25em;
    padding-left: 0;
}
@media (min-width: 37.5em) {
    .post-article__content ol {
        gap: 2.23em;
        display: grid;
        justify-content: start;
        grid-template-columns: repeat(2, 1fr);
        font-size: 1.13em;
    }
}
@media (max-width: 37.5em) {
    .post-article__content ol {
        gap: 1.13em;
    }
}
@media (max-width: 45em) {
    .post-article__content ol {
        flex-direction: column;
        display: flex;
    }
}
@media (max-width: 45em) {
    .post-article__content ol > * {
        min-width: 0px;
    }
}

.post-article__content ol li {
    counter-increment: ol-num 1;
    display: flex;
    gap: 1.12em;
    list-style: none;
}
.post-article__content ol > li::before {
    content: counter(ol-num, decimal-leading-zero);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.23em;
    height: 2.23em;
    background-color: var(--c-1);
    font-size: 0.95em;
    font-weight: 500;
    color: var(--white);
    margin-top: 0.25em;
    align-self: start;
    flex: 0 0 auto;
}

/* ---------- Таблицы ---------- */
.post-article__content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5em;
    font-size: 0.95em;
}
.post-article__content th,
.post-article__content td {
    padding: 0.75em 1em;
    border: 1px solid var(--gray-2, #cdcfd0);
    text-align: left;
    vertical-align: top;
}
.post-article__content th {
    background-color: var(--c-1, #286eab);
    color: #fff;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.85em;
}
.post-article__content tr:nth-child(even) {
    background-color: var(--gray, #efefef);
}

.post-article__content table ul,
.post-article__content table ol {
    margin: 0;
    padding-left: 1.2em;
}
.post-article__content table li {
    font-size: 1em;
    margin-bottom: 0.25em;
}

/* ---------- Остальные элементы ---------- */
.post-article__content strong {
    font-weight: 700;
    color: var(--graphite, #333);
}
.post-article__content em {
    font-style: italic;
}
.post-article__content a {
    color: var(--c-1, #286eab);
    text-decoration: underline;
    transition: color 0.2s ease;
}
.post-article__content a:hover,
.post-article__content a:focus-visible {
    color: var(--c-2, #f97f40);
    text-decoration: none;
}
.post-article__content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1.25em 0;
}
.post-article__content hr {
    border: none;
    border-top: 2px solid var(--gray-2, #cdcfd0);
    margin: 2em 0;
}

/* ---------- Адаптивность для мобильных ---------- */
@media (max-width: 37.5em) {
    .post-article__content h2 {
        font-size: 1.38em;
    }
    .post-article__content h3 {
        font-size: 1.3em;
    }
    .post-article__content h4 {
        font-size: 1.2em;
    }
    .post-article__content p,
    .post-article__content li {
        font-size: 1em;
    }
    .post-article__content table {
        font-size: 0.85em;
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    .post-article__content th,
    .post-article__content td {
        padding: 0.5em 0.75em;
    }
}

@media (max-width: 28.13em) {
    .post-article__content h2 { font-size: 1.2em; }
    .post-article__content h3 { font-size: 1.1em; }
    .post-article__content h4 { font-size: 1em; }
    .post-article__content p,
    .post-article__content li {
        font-size: 0.95em;
    }
    .post-article__content table {
        font-size: 0.8em;
    }
}
.post-article__content > p:first-child {
    margin-top: 1rem;
}
.w-pp--video {
    max-width: 800px;
    padding: 0;
    background: #000;
}
.w-pp--video .video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}
.w-pp--video .video-container iframe,
.w-pp--video .video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.w-pp--video .w-pp__close {
    position: absolute;
    top: -40px;
    right: 0;
    z-index: 10;
    color: #fff;
}
    .cr-partner {
        text-align: center;
    }