/* Страница «Модернизация устаревших систем». Подключать после landing-base.css */
.lm-page .da-hero__media { flex: 0 1 470px; margin-right: 0; }
.lm-nowrap { white-space: nowrap; }

.lm-lead { margin: 0 0 24px; max-width: 820px; font-weight: 400; font-size: 16px; line-height: 24px; color: #3E3E43; }
.lm-note { margin: 24px 0 0; max-width: 820px; font-weight: 400; font-size: 16px; line-height: 24px; color: #3E3E43; }

/* Сценарии: карточка da-result + строка «Когда подходит» */
.lm-scenario { display: flex; flex-direction: column; }
.lm-scenario .da-result__text { margin-bottom: 16px; }
.lm-scenario__when { margin: auto 0 0; padding-top: 12px; border-top: 1px solid #ECEEF1; font-weight: 400; font-size: 14px; line-height: 20px; color: #3E3E43; }
.lm-scenario__when b { display: block; margin-bottom: 4px; font-weight: 700; font-size: 12px; line-height: 16px; text-transform: uppercase; color: #FA6D21; }

/* Технологии: было → стало */
.lm-stack__head, .lm-stack__row { display: grid; grid-template-columns: 1fr 72px 1fr; align-items: center; }
.lm-stack__head { margin-bottom: 8px; padding: 0 24px; font-weight: 700; font-size: 12px; line-height: 16px; text-transform: uppercase; color: #74748B; }
.lm-stack__row { margin-bottom: 8px; padding: 16px 24px; background: #F9F9F9; border-radius: 8px; }
.lm-stack__row:last-child { margin-bottom: 0; }
.lm-stack__from { font-weight: 400; font-size: 16px; line-height: 24px; color: #74748B; }
.lm-stack__to { font-weight: 700; font-size: 16px; line-height: 24px; color: #1D1D1F; }
.lm-stack__arrow { position: relative; justify-self: center; width: 32px; height: 2px; background: #FA6D21; }
.lm-stack__arrow::after { content: ''; position: absolute; right: 0; top: -3px; box-sizing: border-box; width: 8px; height: 8px; border-top: 2px solid #FA6D21; border-right: 2px solid #FA6D21; transform: rotate(45deg); }

/* Этапы: пять шагов вместо четырёх, номера без картинок */
.lm-page .da-steps__item { padding-left: 0; }
.lm-steps__num { display: flex; align-items: center; justify-content: center; border-radius: 50%; background: linear-gradient(45deg, #F3521F 2.56%, #F78720 100%); font-weight: 700; font-size: 15px; line-height: 1; color: #FFFFFF; }

/* Кейсы */
.lm-page .da-case { height: auto; }
.lm-page .da-case--wide { flex: 0 0 100%; max-width: 100%; }
.lm-page a.da-case__toggle { text-decoration: none; }

/* Почему StecPoint */
.lm-why .da-problems__item b { display: block; margin-bottom: 4px; font-weight: 700; color: #1D1D1F; }

/* Стоимость: тот же вид, что у блока .ai-price на /services/ai-agents/ */
.lm-price__card { display: flex; gap: 24px; padding: 40px; border: 1px solid #EAEAEA; border-radius: 12px; background: #FFFFFF; }
.lm-price__main { flex: 1 1 auto; min-width: 0; }
.lm-price__title { margin: 0 0 16px; font-weight: 700; font-size: 38px; line-height: 50px; color: #1D1D1F; }
.lm-price__lead { margin: 0 0 24px; font-weight: 400; font-size: 16px; line-height: 24px; color: #3E3E43; }
.lm-price__cols { display: flex; gap: 40px; }
.lm-price__cols .da-list { flex: 1 1 0; }
.lm-price__after { margin: 24px 0 0; font-weight: 400; font-size: 16px; line-height: 24px; color: #3E3E43; }
.lm-price__side { flex: 0 0 358px; max-width: 358px; align-self: flex-start; padding: 12px; border-radius: 8px; background: linear-gradient(160deg, #FFFBF9 0%, #FFF6F1 100%); border: 1px solid #ECEEF1; }
.lm-price__side-label { margin-bottom: 14px; font-weight: 700; font-size: 14px; line-height: 20px; text-transform: uppercase; color: #FA6D21; }
.lm-price__side-title { margin: 0 0 14px; font-weight: 700; font-size: 18px; line-height: 26px; color: #1D1D1F; }
.lm-price__side-text { margin: 0 0 14px; font-weight: 400; font-size: 16px; line-height: 24px; color: #3E3E43; }
.lm-price__btn { display: block; width: 100%; padding: 14px; }

@media (max-width: 1199px) {
  .lm-page .da-hero__media { flex-basis: 360px; }
}
@media (max-width: 1023px) {
  .lm-price__card { flex-direction: column; gap: 32px; padding: 32px; }
  .lm-price__side { flex-basis: auto; max-width: none; align-self: stretch; }
  .lm-price__title { font-size: 30px; line-height: 40px; }
}
@media (max-width: 767px) {
  .lm-lead, .lm-note, .lm-price__after { font-size: 14px; line-height: 20px; }
  .lm-stack__head { display: none; }
  .lm-stack__row { grid-template-columns: 1fr; padding: 16px; }
  .lm-stack__arrow { justify-self: start; width: 20px; margin: 12px 0 12px 4px; transform: rotate(90deg); }
  .lm-stack__from, .lm-stack__to { font-size: 14px; line-height: 20px; }
  .lm-price__card { padding: 20px; }
  .lm-price__cols { flex-direction: column; gap: 12px; }
  .lm-price__title { font-size: 28px; line-height: 38px; }
}
