/* Базовые стили */
body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #f5f5f5;
    color: #222;
}

h1,
h2,
h3 {
    margin-top: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Шапка сайта */
.top-header {
    background: #f2ece1;
    font-size: 14px;
}

.header-top-row,
.header-menu-row {
    padding: 22px 0;
    /* вместо разных значений */
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-contacts span,
.header-contacts a {
    margin-right: 12px;
    color: #333;
    text-decoration: none;
}

.header-phone-number {
    font-weight: bold;
    color: #222;
    margin-right: 12px;
    text-decoration: none;
}

/* Меню */
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.main-nav a {
    text-decoration: none;
    color: #222;
    font-weight: 500;
}

.main-nav a:hover {
    color: #0073e6;
}

/* Кнопки */
.btn {
    border: 1px solid #444;
    padding: 8px 16px;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    border-radius: 4px;
    text-decoration: none;
    transition: 0.2s;
}

.btn-primary {
    background: #444;
    color: #fff;
    border-color: #444;
}

.btn-primary:hover {
    background: #000;
}

.btn-secondary,
.btn-outline {
    background: transparent;
    color: #444;
}

.btn-secondary:hover,
.btn-outline:hover {
    background: #e6e6e6;
}

/* Hero блок (верхний баннер) */
.hero {
    background: #ffffff;
    padding: 50px 0;
    border-bottom: 1px solid #ddd;
}

.hero-row {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.hero-text {
    flex: 1;
    min-width: 300px;
}

.hero-side {
    flex: 0.6;
    min-width: 250px;
}

.hero-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hero-benefits li {
    background: url("data:image/svg+xml,%3Csvg width='8' height='8' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='4' cy='4' r='4' fill='%23007aff'/%3E%3C/svg%3E") no-repeat left center;
    padding-left: 16px;
    margin-bottom: 10px;
}

/* Секции */
.section {
    padding: 50px 0;
    background: #ffffff;
}

.section-alt {
    background: #f2ece1;
}

/* Карточки */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.card {
    background: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    border-radius: 6px;
    transition: 0.2s;
}

.card:hover {
    border-color: #0073e6;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* Теги */
.tags-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.tag {
    padding: 8px 12px;
    border-radius: 4px;
    background: #fff;
    border: 1px solid #ccc;
    font-size: 14px;
}

/* Контакты */
.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

/* Подвал */
.footer {
    background: #222;
    color: #f2ece1;
    padding: 30px 0;
    margin-top: 20px;
}

.footer a {
    color: #f2ece1;
}

/* Две колонки для "Материалы" + "Онлайн-сервисы" */
.section-columns {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.6fr);
    gap: 40px;
    align-items: flex-start;
}

@media (max-width: 800px) {
    .section-columns {
        grid-template-columns: 1fr;
    }
}

.materials-list,
.services-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
}

.materials-list li,
.services-list li {
    margin-bottom: 8px;
    font-size: 14px;
}

.materials-list strong {
    font-weight: 600;
}

.services-list a {
    text-decoration: none;
    color: #222;
}

.services-list a:hover {
    color: #0073e6;
}

.services-note {
    margin-top: 12px;
    font-size: 13px;
    color: #555;
}

/* Страница продукта: техпластины и др. */
.breadcrumbs {
    font-size: 13px;
    margin-bottom: 16px;
}

.breadcrumbs a {
    color: #555;
    text-decoration: none;
}

.breadcrumbs span {
    margin: 0 4px;
    color: #777;
}

.product-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.6fr);
    gap: 32px;
    margin-bottom: 24px;
}

.product-text h1 {
    margin-bottom: 12px;
}

.product-text h2 {
    margin-top: 24px;
    margin-bottom: 8px;
}

.product-text ul {
    padding-left: 20px;
}

.product-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-image-placeholder {
    border: 1px dashed #bbb;
    border-radius: 6px;
    padding: 24px;
    text-align: center;
    font-size: 13px;
    color: #666;
    background: #fafafa;
}

/* Форма запроса */
.form-card {
    background: #fff;
    border-radius: 6px;
    border: 1px solid #ddd;
    padding: 20px;
    font-size: 14px;
}

.form-row {
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-row-inline {
    flex-direction: row;
    align-items: center;
}

.form-card label {
    font-size: 13px;
    color: #444;
}

.form-card input,
.form-card textarea {
    border-radius: 4px;
    border: 1px solid #ccc;
    padding: 6px 8px;
    font: inherit;
    width: 100%;
    box-sizing: border-box;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.form-note {
    font-size: 12px;
    color: #666;
    margin-top: 8px;
}

@media (max-width: 900px) {
    .product-layout {
        grid-template-columns: 1fr;
    }
}

/* Подбор материала по средам */
.selector-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr);
    gap: 32px;
    margin-top: 24px;
}

.selector-column h2 {
    margin-top: 0;
}

.selector-search-row {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

.selector-search-row input[type="text"] {
    flex: 1;
}

.selector-hint {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}

.selector-mediums-list {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px;
    margin: 8px 0 16px 0;
    background: #fff;
}

.selector-medium-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    padding: 4px 2px;
}

.selector-selected-list {
    list-style: none;
    padding: 0;
    margin: 8px 0 0 0;
}

.selector-selected-list li {
    font-size: 14px;
    margin-bottom: 4px;
}

.selector-note {
    font-size: 12px;
    color: #666;
    margin-top: 8px;
}

.selector-divider {
    margin: 32px 0 16px 0;
}

.selector-results-wrapper {
    overflow-x: auto;
}

.selector-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background: #fff;
}

.selector-table th,
.selector-table td {
    border: 1px solid #ddd;
    padding: 8px 10px;
    text-align: left;
}

.selector-table th {
    background: #f0f0f0;
    font-weight: 600;
}

@media (max-width: 900px) {
    .selector-layout {
        grid-template-columns: 1fr;
    }
}

/* Легенда оценок */
.legend-wrapper {
    overflow-x: auto;
    margin-bottom: 24px;
}

.legend-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background: #fff;
}

.legend-table th,
.legend-table td {
    border: 1px solid #ddd;
    padding: 8px 10px;
    text-align: left;
}

.legend-table th {
    background: #f5f5f5;
    font-weight: 600;
}

.rating-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 24px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 13px;
}

/* Матрица стойкости */
.rating-matrix-wrapper {
    overflow-x: auto;
}

.rating-matrix {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    background: #fff;
}

.rating-matrix th,
.rating-matrix td {
    border: 1px solid #ddd;
    padding: 4px 6px;
    text-align: center;
}

.rating-matrix th.matrix-medium-col {
    text-align: left;
    min-width: 200px;
    position: sticky;
    left: 0;
    background: #f9f9f9;
    z-index: 2;
}

.rating-matrix td.matrix-medium-name {
    text-align: left;
    position: sticky;
    left: 0;
    background: #fff;
    z-index: 1;
}

.matrix-material-col {
    min-width: 40px;
    white-space: nowrap;
}

.rating-square {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 13px;
}

/* Цвета оценок */
.rating-0 {
    background: #f2f2f2;
    color: #666;
}

.rating-1 {
    background: #00b894;
    color: #fff;
}

.rating-2 {
    background: #a5e6c4;
    color: #054731;
}

.rating-3 {
    background: #ffe58a;
    color: #7a5b00;
}

.rating-4 {
    background: #ff7675;
    color: #fff;
}

@media (max-width: 900px) {

    .legend-table,
    .rating-matrix {
        font-size: 12px;
    }
}

/* ========== МАТРИЦА ========= */

.matrix-wrapper {
    margin-top: 30px;
    margin-bottom: 40px;
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 8px;
    padding: 20px;
}

/* горизонтальный скролл */
.matrix-scroll-container {
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 10px;
}

/* сама таблица */
.matrix-table {
    border-collapse: separate;
    border-spacing: 0;
    min-width: 900px;
    width: max-content;
    background: #fff;
}

/* заголовки */
.matrix-table th {
    background: #f7f7f7;
    font-weight: 600;
    padding: 10px 8px;
    border-bottom: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
    white-space: nowrap;
    font-size: 14px;
    text-align: center;
}

.matrix-table th.matrix-corner {
    text-align: left;
    min-width: 180px;
}

.matrix-table th.matrix-medium {
    position: sticky;
    left: 0;
    background: #fafafa;
    text-align: left !important;
    min-width: 200px;
    border-right: 1px solid #e0e0e0;
}

/* строки матрицы */
.matrix-table td {
    padding: 6px;
    border-right: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    text-align: center;
    width: 45px;
}

/* Бейджи оценок — маленькие, квадратные */
.rating-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

/* цвета vzrti */
.rating-1 {
    background: #009D3D;
}

.rating-2 {
    background: #8BC34A;
    color: #000;
}

.rating-3 {
    background: #FFC107;
    color: #000;
}

.rating-4 {
    background: #E53935;
}

.rating-0,
.rating-empty {
    background: #E0E0E0;
    color: #666;
}

/* ховер — как у vzrti */
.matrix-table td:hover {
    outline: 2px solid #4A90E2;
    outline-offset: -2px;
    z-index: 2;
    position: relative;
}

/* названия материалов */
.matrix-material .material-code {
    font-size: 13px;
    font-weight: 600;
}

.matrix-material .material-name {
    font-size: 11px;
    color: #777;
    max-width: 90px;
    white-space: normal;
    line-height: 1.25;
}

/* строка среды */
.matrix-medium {
    font-weight: 600;
    background: #fafafa;
}

/* отделяем матрицу от легенды */
.legend-table {
    margin-top: 30px;
}

/* ===============================
   СТРАНИЦА РЕЗУЛЬТАТОВ ПОДБОРА
   =============================== */

.material-result-page {
    max-width: 1160px;
    margin: 0 auto 40px;
}

/* Блок с матрицей – белая карточка, как на vzrti */
.material-result-page .matrix-wrapper {
    margin-top: 20px;
    margin-bottom: 32px;
    padding: 16px 20px;
    background: #ffffff;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
}

/* Горизонтальный скролл для широкой таблицы */
.material-result-page .matrix-scroll-container {
    overflow-x: auto;
    overflow-y: hidden;
}

/* Таблица матрицы */
.material-result-page .matrix-table {
    border-collapse: collapse;
    border-spacing: 0;
    min-width: 900px;
    width: max-content;
    font-size: 12px;
}

/* Заголовки и ячейки */
.material-result-page .matrix-table th,
.material-result-page .matrix-table td {
    border: 1px solid #e4e4e4;
    padding: 6px 6px;
    text-align: center;
}

/* Общий фон заголовков */
.material-result-page .matrix-table thead th {
    background: #f7f7f7;
    font-weight: 600;
}

/* Левый верхний угол */
.material-result-page .matrix-table .matrix-corner {
    text-align: left;
    min-width: 180px;
}

/* Заголовок строки – среда (фиксирован слева) */
.material-result-page .matrix-table .matrix-medium {
    text-align: left;
    background: #fafafa;
    min-width: 200px;
    position: sticky;
    left: 0;
    z-index: 1;
}

/* Заголовки материалов: код + имя в две строки, всё помещается внутри ячейки */

.material-result-page .matrix-table .matrix-material {
    white-space: normal;
    /* разрешаем перенос */
    padding: 6px 4px 10px;
    /* добавили отступ снизу, чтобы текст не упирался в границу */
    vertical-align: bottom;
    /* текст “прижат” вниз, как на vzrti */
}

.material-result-page .matrix-table .matrix-material .material-code {
    display: block;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 2px;
}

.material-result-page .matrix-table .matrix-material .material-name {
    display: block;
    font-size: 10px;
    color: #666;
    line-height: 1.2;
    overflow-wrap: anywhere;
    /* переносим длинные слова */
    word-break: break-word;
    /* на всякий случай для старых браузеров */
}

/* Ячейки матрицы */
.material-result-page .matrix-table .matrix-cell {
    width: 38px;
    height: 32px;
    padding: 0;
}

/* Бейджи оценок – маленькие квадратные */
.material-result-page .rating-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
}

/* Цвета, близкие к vzrti */
.material-result-page .rating-1 {
    background: #009d3d;
}

/* лучший выбор */
.material-result-page .rating-2 {
    background: #8bc34a;
    color: #000;
}

.material-result-page .rating-3 {
    background: #ffc107;
    color: #000;
}

.material-result-page .rating-4 {
    background: #e53935;
}

.material-result-page .rating-0,
.material-result-page .rating-empty {
    background: #e0e0e0;
    color: #666666;
}

/* Ховер по ячейке */
.material-result-page .matrix-table .matrix-cell:hover {
    outline: 2px solid #4a90e2;
    outline-offset: -2px;
    position: relative;
    z-index: 2;
}

/* Легенда под матрицей */
.material-result-page .legend-table {
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 13px;
}

/* === убираем рамку «карточки» === */

.matrix-wrapper,
.material-result-page .matrix-wrapper {
    padding: 0 !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* отдельный низ, чтобы матрица не липла к легенде */
.matrix-bottom {
    margin-top: 20px;
}

/* чтобы таблица выглядела ровно */
.matrix-table {
    border: 1px solid #ddd;
}

.matrix-table th,
.matrix-table td {
    border: 1px solid #ddd !important;
}

/* Легенда и матрица занимают всю ширину контейнера */

.material-result-page .legend-table {
    width: 100%;
    margin-bottom: 24px;
}

/* Обёртка для матрицы – тоже на всю ширину */
.material-result-page .matrix-scroll-container {
    width: 100%;
}

/* Таблица матрицы растягивается, колонки распределяются равномерно */
.material-result-page .matrix-table {
    width: 100%;
    table-layout: fixed;
    /* чтобы колонки вели себя ровнее */
}

/* Первый столбец (название среды) делаем пошире, но без жёстких пикселей */
.material-result-page .matrix-table th.matrix-corner,
.material-result-page .matrix-table th.matrix-medium {
    width: 28%;
}

/* Остальные столбцы делят оставшееся место */
.material-result-page .matrix-table th.matrix-material {
    width: auto;
}

/* ЛОГОТИП В ШАПКЕ */
.logo-img {
    max-height: 80px;
    /* ← Фикс. Выбери размер, который тебе подходит */
    width: auto;
    height: auto;
    display: block;
}

/* На телефонах можно сделать поменьше, чтобы шапка не была огромной */
@media (max-width: 768px) {
    .logo-img {
        height: 80px;
    }
}

/* ----------- ЛОГОТИП + ТЕКСТ ----------- */

.logo-container {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
    /* расстояние между логотипом и текстом */
}

.logo-img {
    height: 80px;
    /* ← оптимальный, не слишком большой */
    width: auto;
    flex-shrink: 0;
    /* не сжимать */
}

/* Текстовая часть */
.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-title {
    font-size: 28px;
    /* выразительный заголовок */
    font-weight: 700;
    color: #A04632;
    /* цвет логотипа (можем изменить при желании) */
    text-transform: uppercase;
}

.logo-subtitle {
    font-size: 13px;
    font-weight: 600;
    color: #A04632;
    text-transform: uppercase;
    opacity: 0.8;
}

/* ----------- АДАПТИВ ----------- */
@media (max-width: 768px) {
    .logo-img {
        height: 48px;
        /* уменьшенный вариант на телефонах */
    }

    .logo-title {
        font-size: 22px;
    }

    .logo-subtitle {
        font-size: 11px;
    }
}

.section-columns {
    background-color: #f2ece1;
    /* фирменный цвет фона лого */
    padding: 40px 0;
    /* чтобы контент не прилипал к краям */
}

.section-columns {
    width: 100%;
}

.footer {
    background-color: #f2ece1;
}

/* Общий фон страницы */
body {
    background-color: #ffffff;
}

/* Обычные секции – белые, без вываливающихся маргинов */
.section {
    background-color: #ffffff;
    padding: 60px 0;
    margin: 0;
    overflow: auto;
    /* убираем коллапс margin снизу */
}

/* Альтернативные секции и блок с материалами – «фирменный» бежевый */
.section-alt,
.section-columns {
    background-color: #f2ece1;
}

/* Шапка и подвал – тот же цвет, что фон логотипа */
.top-header,
.footer {
    background-color: #f2ece1;
}

.footer {
    background-color: #f2ece1;
    /* твой бежевый */
    padding: 24px 0;
}

/* Цвет текста в футере */
.footer,
.footer p,
.footer a {
    color: #333333;
}

/* Ссылки можно немного подчеркнуть */
.footer a {
    text-decoration: underline;
}

html,
body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    background-color: #f2ece1 !important;
}

main {
    flex: 1 0 auto;
}

footer {
    flex-shrink: 0;
}

html,
body {
    height: 100%;
}

/* Общий фон вокруг контента */
body {
    display: flex;
    flex-direction: column;
    background-color: #f2ece1;
    /* бежевый, как у шапки и футера */
}

/* Основная часть сайта – белая */
main {
    flex: 1 0 auto;
    background-color: #ffffff;
}

/* Футер внизу */
footer,
.footer {
    flex-shrink: 0;
}

/* Белые секции по умолчанию */
.section {
    background-color: #ffffff;
    padding: 60px 0;
    margin: 0;
}

/* Бежевые спец-блоки */
.section-alt,
.section-columns {
    background-color: #f2ece1;
}

/* === ФОНЫ СТРАНИЦЫ: ФИКС === */

/* Общий фон */
html,
body {
    height: auto;
}

/* Делаем фон страницы белым */
body {
    display: block;
    background-color: #ffffff;
}

/* Основной контент тоже белый (на всякий случай) */
main {
    background-color: #ffffff;
}

/* Обычные секции – белые */
.section {
    background-color: #ffffff;
    padding: 60px 0;
    margin: 0;
    overflow: auto;
    /* чтобы нижние margin не вываливались и не делали полоски */
}

/* Бежевые только спец-блоки и шапка/футер */
.top-header,
.footer,
.section-alt,
.section-columns {
    background-color: #f2ece1;
}

/* Пауза под кнопкой — только на странице результата */
.material-result-page {
    padding-bottom: 20px;
    /* можно 80 */
}

.material-result-page {
    padding-bottom: 20px;
    background-color: #ffffff;
}

/* ===== ШАПКА / МЕНЮ (чистая версия) ===== */

/* ряд с логотипом и меню */
.header-menu-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 0;
}

/* основное меню */
.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 28px;
}

.main-nav a,
.main-nav .nav-link {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
}

/* пункты с дропдауном (Каталог, Материалы) */
.nav-item-materials {
    position: relative;
}

/* пилюля только для "Каталог" (первый пункт) */
.main-nav>ul>li:first-child>.nav-link {
    padding: 6px 20px 6px 14px;
    border-radius: 16px;
    background-color: rgba(0, 0, 0, 0.08);
}

/* стрелка рядом с текстом */
.nav-item-materials>.nav-link {
    position: relative;
    padding-right: 18px;
}

.nav-item-materials>.nav-link::after {
    content: "";
    position: absolute;
    right: 4px;
    top: 50%;
    margin-top: -2px;
    border-width: 4px 4px 0 4px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
    transition: transform 0.15s ease;
}

.nav-item-materials.nav-open>.nav-link::after {
    transform: rotate(180deg);
    margin-top: -1px;
}

/* ===== ВЫПАДАЮЩИЕ СПИСКИ (Каталог + Материалы) ===== */

.nav-dropdown-materials {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;

    width: 320px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);

    padding: 14px 18px 16px;
    box-sizing: border-box;

    display: none;
    opacity: 0;
    transform: translateY(6px);
    transition:
        opacity 0.15s ease,
        transform 0.15s ease;
    z-index: 1000;
}

.nav-item-materials.nav-open>.nav-dropdown-materials {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* список внутри дропдауна — ОДНА КОЛОНКА, без flex-рядов от .main-nav ul */
.nav-dropdown-materials .dropdown-list {
    list-style: none;
    margin: 0;
    padding: 0;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    /* нормальный отступ между пунктами */
}

/* ссылка целиком */
.nav-dropdown-materials .dropdown-list a {
    display: block;
    font-size: 14px;
    line-height: 1.3;
    color: #333;
    text-decoration: none;
}

/* жирное начало до тире */
.nav-dropdown-materials .dropdown-list a strong {
    font-weight: 700;
    /* ЯВНО жирный */
    color: #333;
}

/* ховер — вся строка синяя, без подчёркивания */
.nav-dropdown-materials .dropdown-list a:hover,
.nav-dropdown-materials .dropdown-list a:hover strong {
    color: #0056b3;
    text-decoration: none;
}

/* чуть больше воздуха в выпадающих списках */

.nav-dropdown-materials .dropdown-list {
    gap: 10px;
    /* было 6px — расстояние между пунктами */
}

.nav-dropdown-materials .dropdown-list a {
    line-height: 1.4;
    /* было 1.3 — строки внутри пункта */
    padding: 1px 0;
    /* чуть-чуть внутреннего отступа */
}

/* Онлайн-сервисы — стиль как у vzrti */
.services-list.big {
    list-style: none;
    padding: 0;
    margin-top: 24px;
}

.services-list.big li {
    margin-bottom: 14px;
    font-size: 18px;
}

.services-list.big a {
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 500;
}

.services-list.big a:hover {
    color: #0b57d0;
    text-decoration: underline;
}

.online-services-list {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Карточка сервиса */
.online-card {
    display: flex;
    align-items: center;
    padding: 24px 32px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.online-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

/* Иконка слева */
.online-card-icon {
    margin-right: 24px;
    flex-shrink: 0;
}

.online-card-icon-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #f7f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.online-card-icon-symbol {
    font-size: 32px;
}

/* Текст справа */
.online-card-text h2 {
    margin: 0 0 8px;
    font-size: 22px;
}

.online-card-text p {
    margin: 0;
    color: #555555;
}

/* Адаптив */
@media (max-width: 768px) {
    .online-card {
        padding: 16px 20px;
    }

    .online-card-icon-circle {
        width: 56px;
        height: 56px;
    }

    .online-card-text h2 {
        font-size: 18px;
    }
}

.os-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 32px;
}

.os-card {
    display: flex;
    align-items: center;
    padding: 24px 28px;
    background: #fff;
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: 0.25s ease;
}

.os-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

.os-icon {
    margin-right: 26px;
    flex-shrink: 0;
}

.os-icon img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.os-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 6px;
}

.os-desc {
    color: #555;
    font-size: 15px;
}