/* Дополнения для краткой версии (визитки). Основной дизайн — styles.css. */

/* Ссылка на полную версию в шапке — тише остальных пунктов */
.site-nav a.lite-full-link { color: var(--muted); }
.site-nav a.lite-full-link:hover { color: var(--red); }

/* Компактные карточки направлений */
.page-lite .direction { min-height: 260px; }

/* Три шага «Задача → Решение → Результат» */
.lite-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.lite-step {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 32px 28px 36px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.lite-step:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; right: -26px; width: 12px; height: 12px;
  border-top: 2px solid var(--red); border-right: 2px solid var(--red); transform: translateY(-50%) rotate(45deg);
}
.lite-step-num { align-self: flex-start; font-size: 15px; font-weight: 800; color: #c3c8ce; }
.lite-step .icon-circle { margin: 6px 0 22px; }
.lite-step h3 { font-size: 20px; font-weight: 800; text-transform: uppercase; color: var(--ink); }
.lite-step p { max-width: 30ch; margin-top: 10px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.lite-step-dark { background: var(--graphite); border-color: var(--graphite); }
.lite-step-dark .lite-step-num, .lite-step-dark h3 { color: var(--white); }
.lite-step-dark p { color: #c4c9d0; }

/* Короткий подвал */
.lite-footer { padding-top: 48px; }
.lite-footer .footer-top { padding-bottom: 32px; }
.lite-footer .footer-bottom { border-top: 0; padding-top: 0; }
.lite-footer .footer-bottom a { color: #c9ced5; }
.lite-footer .footer-bottom a:hover { color: var(--white); }
.footer-credit {
  margin: 18px 0 0; padding-top: 18px; border-top: 1px solid #3a3f46;
  font-size: 13px; color: #8a919a; text-align: right;
}
.footer-credit a { color: #c9ced5; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.footer-credit a:hover { color: var(--white); }

@media (max-width: 1023px) {
  .site-nav a.lite-full-link { color: var(--muted); }
}

@media (max-width: 720px) {
  .page-lite .direction { min-height: 0; }
  .lite-steps { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .lite-step { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 16px; align-items: center; text-align: left; padding: 18px; }
  .lite-step::after { display: none; }
  .lite-step-num { display: none; }
  .lite-step .icon-circle { grid-row: 1 / 3; width: 56px; height: 56px; margin: 0; }
  .lite-step .icon-circle svg { width: 26px; height: 26px; }
  .lite-step h3 { font-size: 16px; }
  .lite-step p { margin-top: 2px; font-size: 14px; }
  .footer-credit { text-align: left; }
}

/* Логотип РИМ в шапке и подвале */
:root { --header-h: 84px; }
.brand-logo-link { display: inline-flex; align-items: center; flex: none; }
.brand-logo { display: block; width: auto; height: 64px; transition: height 0.25s var(--ease); }
.site-header.is-compact .brand-logo { height: 56px; }
.brand-logo-footer { height: 96px; }
@media (max-width: 1023px) {
  :root { --header-h: 72px; }
  .brand-logo, .site-header.is-compact .brand-logo { height: 52px; }
}
@media (max-width: 720px) {
  :root { --header-h: 68px; }
  .brand-logo, .site-header.is-compact .brand-logo { height: 48px; }
  .brand-logo-footer { height: 76px; }
}
