/* Локальные стили раздела «ИИ для промышленности» — поверх общей дизайн-системы vector.uz */

.ind-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
@media (max-width: 980px) { .ind-hero-grid { grid-template-columns: 1fr; } }

.ind-demo { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); max-width: 540px; width: 100%; backdrop-filter: blur(10px); }
.ind-demo-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.ind-demo-head span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #777c95; font-weight: 650; }
.ind-demo-head b { font-size: 11px; color: #7ee0a3; background: rgba(52, 199, 123, .12); border: 1px solid rgba(52, 199, 123, .35); border-radius: 999px; padding: 4px 10px; font-weight: 600; white-space: nowrap; }
.ind-msg { border-radius: var(--radius-sm); padding: 14px 16px; font-size: 14.5px; line-height: 1.55; }
.ind-msg + .ind-msg { margin-top: 12px; }
.ind-msg-user { background: linear-gradient(135deg, rgba(110, 53, 255, .28), rgba(45, 123, 255, .22)); border: 1px solid rgba(128, 106, 255, .4); margin-left: 34px; }
.ind-msg-bot { background: rgba(5, 7, 22, .74); border: 1px solid var(--line); margin-right: 12px; }
.ind-msg-bot .ind-src-mark { color: var(--cyan); font-weight: 650; }
.ind-sources { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); display: grid; gap: 7px; }
.ind-source { display: flex; gap: 9px; align-items: baseline; font-size: 12.5px; color: var(--muted); }
.ind-source i { font-style: normal; color: var(--cyan); font-weight: 650; flex: 0 0 auto; }
.ind-demo-meta { display: flex; gap: 14px; margin-top: 16px; flex-wrap: wrap; }
.ind-demo-meta span { font-size: 11.5px; color: #81859a; border: 1px solid var(--line); border-radius: 999px; padding: 4px 11px; }
.ind-demo-meta span b { color: #c9cce0; font-weight: 650; }

/* Конвейер шагов */
.ind-pipeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ind-pipeline.cols-5 { grid-template-columns: repeat(5, 1fr); }
.ind-step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px 18px 20px; transition: border-color .25s ease, transform .25s ease; }
.ind-step:hover { border-color: var(--line-bright); transform: translateY(-3px); }
.ind-step small { display: block; color: var(--violet); font-weight: 700; letter-spacing: .12em; font-size: 12px; margin-bottom: 12px; }
.ind-step strong { display: block; font-size: 16.5px; letter-spacing: -.02em; margin-bottom: 8px; }
.ind-step p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.ind-step::after { content: "→"; position: absolute; right: -14px; top: 50%; transform: translateY(-50%); color: #5a5f7c; font-size: 16px; z-index: 2; }
.ind-step:last-child::after { content: none; }
@media (max-width: 1080px) { .ind-pipeline, .ind-pipeline.cols-5 { grid-template-columns: repeat(2, 1fr); } .ind-step::after { content: none; } }
@media (max-width: 560px) { .ind-pipeline, .ind-pipeline.cols-5 { grid-template-columns: 1fr; } }

/* Карточки продуктов раздела */
.ind-products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 860px) { .ind-products { grid-template-columns: 1fr; } }
.ind-product { display: flex; flex-direction: column; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: border-color .25s ease, transform .25s ease; }
.ind-product:hover { border-color: var(--line-bright); transform: translateY(-3px); }
.ind-product .tag { align-self: flex-start; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 650; border-radius: 999px; padding: 4px 11px; border: 1px solid var(--line); color: #9da1b6; }
.ind-product .tag.is-live { color: #7ee0a3; border-color: rgba(52, 199, 123, .35); background: rgba(52, 199, 123, .12); }
.ind-product .tag.is-new { color: #c9b8ff; border-color: rgba(140, 106, 255, .45); background: rgba(110, 53, 255, .16); }
.ind-product.is-wide { grid-column: 1 / -1; border-color: rgba(128, 106, 255, .45); background: linear-gradient(160deg, rgba(110, 53, 255, .12), rgba(45, 123, 255, .06)); }
.ind-product .tag.is-pilot { color: #ffd479; border-color: rgba(255, 190, 80, .35); background: rgba(255, 190, 80, .1); }
.ind-product h3 { margin: 0; font-size: 21px; letter-spacing: -.02em; }
.ind-product p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.ind-product .more { margin-top: auto; padding-top: 8px; color: var(--cyan); font-weight: 600; font-size: 14px; }

/* Две колонки «делаем / нужно от вас» */
.ind-split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 860px) { .ind-split { grid-template-columns: 1fr; } }
.ind-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; }
.ind-box h3 { margin: 0 0 14px; font-size: 18px; letter-spacing: -.02em; }
.ind-box ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 14.5px; line-height: 1.6; display: grid; gap: 8px; }
.ind-box.is-accent { border-color: rgba(128, 106, 255, .4); background: linear-gradient(160deg, rgba(110, 53, 255, .12), rgba(12, 13, 33, .82)); }

/* Таблица сравнения */
.ind-compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.ind-compare { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.ind-compare th, .ind-compare td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.ind-compare tr:last-child td { border-bottom: 0; }
.ind-compare th { font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em; color: #777c95; font-weight: 650; white-space: nowrap; }
.ind-compare td.good { color: #9fe7bb; }
.ind-compare td.bad { color: #f0a0a0; }

/* Пилот: этапы */
.ind-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1080px) { .ind-timeline { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ind-timeline { grid-template-columns: 1fr; } }
.ind-week { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px 18px; }
.ind-week small { display: block; color: var(--cyan); font-weight: 700; letter-spacing: .1em; font-size: 12px; margin-bottom: 8px; }
.ind-week strong { display: block; font-size: 15.5px; margin-bottom: 6px; }
.ind-week p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.55; }

.ind-note { margin: 18px 0 0; font-size: 13px; color: #81859a; line-height: 1.55; }
.ind-breadcrumb { display: flex; gap: 8px; flex-wrap: wrap; font-size: 13px; color: #81859a; margin-bottom: 18px; }
.ind-breadcrumb a { color: var(--cyan); }

/* Узкие экраны: длинные слова («диспетчеризация», «гидрометаллургического») не должны выходить за край */

/* Страницы с очень длинным словом в заголовке: кегль чуть меньше, чтобы слово помещалось целиком */
.ind-hero-grid h1.h1-long { font-size: clamp(30px, 3.9vw, 54px); }
@media (max-width: 560px) {
  .ind-hero-grid .hero-copy h1 { font-size: clamp(28px, 10.2vw, 42px); letter-spacing: -.03em; line-height: 1.08; }
  .ind-hero-grid .hero-copy h1.h1-long { font-size: clamp(24px, 8vw, 34px); hyphens: auto; }
  .ind-hero-grid .hero-lead { padding: 0 6px; }
}
