/* ==========================================================================
   industry-2026.css — блок «CRM для вашей отрасли» (/service/razrabotka-baz-dannyh/crm)
   04.10.2026. Разметка — new_pages/crm-sistemy.php, корень .w2ind.

   Было: три колонки сплошного текста, подчёркнутые ссылки, абзац и россыпь
   чипов разной формы. Стало: белые карточки с иконкой в акцентном кружке,
   кнопка «Подробнее» и строка кейса в подвале карточки, плашка «другие
   отрасли» с ровной сеткой ссылок.

   ⚠️ Специфичность. Секция — .working, и brand.css красит в ней
   `#__nuxt .working p/span/a` с !important (1,1,1). Поэтому все правила
   здесь начинаются с :is(#__nuxt, body) .w2ind — это (1,1,0) и больше, —
   а цвета, которые спорят с brand.css, идут с !important.
   Кегли НЕ задаём: их ставит typo-2026.css (#w2main#w2main, шкала
   h3 20/18, текст 16/15) — шкалу не ломаем.
   ⚠️ Имена классов без «__lead», «__text», «__desc», «__tag» — по ним
   typo-2026.css ловит свои уровни и переопределил бы кегль и цвет.

   Анимация появления — только прогрессивное улучшение: скрытое состояние
   включается классом .w2ind--js, который ставит скрипт; без JS и при
   prefers-reduced-motion всё видно сразу.
   ========================================================================== */

:is(#__nuxt, body) .w2ind .w2ind-grid{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 44px;
}

/* ── Карточка отрасли ─────────────────────────────────────────────────── */
:is(#__nuxt, body) .w2ind .w2ind-card{
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff !important;
    border: 1px solid #e6e6ef !important;
    border-radius: 20px;
    padding: 32px 28px 28px;
    box-shadow: 0 1px 2px rgba(19, 23, 39, .04);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
@media (hover: hover){
    :is(#__nuxt, body) .w2ind .w2ind-card:hover,
    :is(#__nuxt, body) .w2ind.w2ind--js .w2ind-card.is-in:hover{
        transform: translateY(-4px);
        border-color: #8f42ec !important;
        box-shadow: 0 18px 40px rgba(143, 66, 236, .12);
    }
    :is(#__nuxt, body) .w2ind .w2ind-card:hover .w2ind-card__ic{
        transform: scale(1.06);
    }
}

/* Иконка в акцентном кружке: кружок сплошной, глиф белый (§8.27) */
:is(#__nuxt, body) .w2ind .w2ind-card__ic{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #8f42ec;
    color: #fff;
    margin-bottom: 22px;
    box-shadow: 0 8px 20px rgba(143, 66, 236, .25);
    transition: transform .25s ease;
}
:is(#__nuxt, body) .w2ind .w2ind-card__ic svg{ display: block; width: 28px !important; height: 28px !important; max-width: none; color: #fff; }

:is(#__nuxt, body) .w2ind .w2ind-card__title{
    margin: 0 0 14px !important;
    color: #131727 !important;
}
/* Первая фраза — суть отрасли, темнее; продолжение — приглушённое */
:is(#__nuxt, body) .w2ind .w2ind-card__intro{
    margin: 0 0 12px !important;
    color: #131727 !important;
}
:is(#__nuxt, body) .w2ind .w2ind-card__more{
    margin: 0 !important;
    color: #56566a !important;
}

/* Подвал карточки прижат к низу — кнопки на одной линии во всех трёх */
:is(#__nuxt, body) .w2ind .w2ind-card__foot{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-top: auto;
    padding-top: 24px;
}
:is(#__nuxt, body) .w2ind .w2ind-card__foot .w2ind-card__btn{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding: 12px 18px;
    border-radius: 12px;
    background: #f3ecfd;
    color: #8f42ec !important;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none !important;
    transition: background-color .2s ease, color .2s ease;
}
:is(#__nuxt, body) .w2ind .w2ind-card__btn svg{ flex: 0 0 auto; transition: transform .2s ease; }
:is(#__nuxt, body) .w2ind .w2ind-card__foot .w2ind-card__btn:hover{
    background: #8f42ec;
    color: #fff !important;
}
:is(#__nuxt, body) .w2ind .w2ind-card__btn:hover svg{ transform: translateX(3px); }

:is(#__nuxt, body) .w2ind .w2ind-card__foot .w2ind-card__case{
    display: inline-flex;
    align-items: flex-start;
    gap: 10px;
    color: #56566a !important;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none !important;
    transition: color .2s ease;
}
:is(#__nuxt, body) .w2ind .w2ind-card__case svg{ flex: 0 0 auto; margin-top: 1px; color: #8f42ec; }
:is(#__nuxt, body) .w2ind .w2ind-card__case span{ color: inherit !important; }
:is(#__nuxt, body) .w2ind .w2ind-card__foot .w2ind-card__case:hover{ color: #8f42ec !important; }

/* Фокус с клавиатуры виден на всех ссылках блока */
:is(#__nuxt, body) .w2ind a:focus-visible{
    outline: 2px solid #8f42ec;
    outline-offset: 3px;
}

/* ── Плашка «другие отрасли» ──────────────────────────────────────────── */
:is(#__nuxt, body) .w2ind .w2ind-more{
    margin-top: 32px;
    padding: 28px;
    border: 1px solid #e6e6ef;
    border-radius: 20px;
    background: #faf8fe;
}
:is(#__nuxt, body) .w2ind .w2ind-more__head{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px 40px;
}
:is(#__nuxt, body) .w2ind .w2ind-more__note{
    flex: 1 1 auto;
    max-width: 680px;
    margin: 0 !important;
    text-align: left !important;
    color: #131727 !important;
}
:is(#__nuxt, body) .w2ind .w2ind-more__cta{
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}
/* Кнопка-контур */
:is(#__nuxt, body) .w2ind .w2ind-more__cta .w2ind-more__btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border: 1.5px solid #8f42ec;
    border-radius: 12px;
    background: transparent;
    color: #8f42ec !important;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background-color .2s ease, color .2s ease;
}
:is(#__nuxt, body) .w2ind .w2ind-more__cta .w2ind-more__btn:hover{
    background: #8f42ec;
    color: #fff !important;
}
:is(#__nuxt, body) .w2ind .w2ind-more__hint{ color: #56566a !important; }

/* Сетка ссылок на отраслевые страницы: один стиль, одна высота в ряду */
:is(#__nuxt, body) .w2ind .w2ind-list{
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 24px 0 0 !important;
    padding: 24px 0 0 !important;
    border-top: 1px solid #e6e6ef;
}
:is(#__nuxt, body) .w2ind .w2ind-list li{
    display: flex;
    margin: 0 !important;
    padding: 0 !important;
}
:is(#__nuxt, body) .w2ind .w2ind-list li::before{ content: none !important; display: none !important; }
:is(#__nuxt, body) .w2ind .w2ind-list li a{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 14px 16px 14px 18px;
    border: 1px solid #e6e6ef;
    border-radius: 12px;
    background: #fff;
    color: #131727 !important;
    line-height: 1.35;
    text-decoration: none !important;
    transition: border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
:is(#__nuxt, body) .w2ind .w2ind-list a span{ color: inherit !important; }
:is(#__nuxt, body) .w2ind .w2ind-list a svg{ flex: 0 0 auto; color: #8f42ec; transition: transform .2s ease; }
:is(#__nuxt, body) .w2ind .w2ind-list li a:hover{
    border-color: #8f42ec;
    color: #8f42ec !important;
    box-shadow: 0 6px 18px rgba(143, 66, 236, .10);
}
:is(#__nuxt, body) .w2ind .w2ind-list a:hover svg{ transform: translateX(3px); }

/* ── Появление по прокрутке ───────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference){
    :is(#__nuxt, body) .w2ind.w2ind--js .w2ind-card{
        opacity: 0;
        transform: translateY(24px);
        transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1),
                    border-color .25s ease, box-shadow .25s ease;
    }
    :is(#__nuxt, body) .w2ind.w2ind--js .w2ind-card.is-in{
        opacity: 1;
        transform: none;
    }
}

/* ── Адаптив ──────────────────────────────────────────────────────────── */
@media (max-width: 1023px){
    :is(#__nuxt, body) .w2ind .w2ind-grid{ grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
    :is(#__nuxt, body) .w2ind .w2ind-list{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
    :is(#__nuxt, body) .w2ind .w2ind-more__head{ flex-direction: column; align-items: flex-start; }
}
@media (max-width: 599px){
    :is(#__nuxt, body) .w2ind .w2ind-card{ padding: 24px 20px 22px; }
    :is(#__nuxt, body) .w2ind .w2ind-card__ic{ width: 52px; height: 52px; margin-bottom: 18px; }
    :is(#__nuxt, body) .w2ind .w2ind-card__ic svg{ width: 24px !important; height: 24px !important; }
    :is(#__nuxt, body) .w2ind .w2ind-card__foot .w2ind-card__btn{ width: 100%; justify-content: space-between; }
    :is(#__nuxt, body) .w2ind .w2ind-more{ padding: 22px 20px; }
    :is(#__nuxt, body) .w2ind .w2ind-more__cta{ width: 100%; }
    :is(#__nuxt, body) .w2ind .w2ind-more__cta .w2ind-more__btn{ width: 100%; }
    :is(#__nuxt, body) .w2ind .w2ind-list{ grid-template-columns: 1fr; gap: 10px; margin-top: 20px !important; padding-top: 20px !important; }
}
