/* Общий подвал наших сайтов-проектов — разметку строит sj-footer.js. Свои цвета (графит Softjet),
   не зависит от темы сайта: подходит и лендингам на наборе, и приложениям на Bootstrap. */
.sj-foot { --sjf-bg: #262626; --sjf-panel: #323232; --sjf-text: #f2f2f2; --sjf-text-2: #c9c9c9; --sjf-muted: #9a9a9a;
  --sjf-line: rgba(255, 255, 255, .12); --sjf-accent: #97daff; --sjf-cta: #5b8dff;
  background: var(--sjf-bg); color: var(--sjf-text-2); font-size: 14px; line-height: 1.5; text-align: left;
  padding: 48px 16px 32px; margin-top: 0; }
body:has(.kit-sticky-cta) .sj-foot { padding-bottom: calc(32px + 76px); }
@media (min-width: 641px) { body:has(.kit-sticky-cta) .sj-foot { padding-bottom: 32px; } }
.sj-foot__in { max-width: 1200px; margin: 0 auto; }
.sj-foot a { color: var(--sjf-text-2); text-decoration: none; }
.sj-foot a:hover { color: var(--sjf-accent); }
.sj-foot h4 { font-family: inherit; font-size: 12px; font-weight: 600; line-height: 1.3; letter-spacing: .08em; text-transform: uppercase;
  color: var(--sjf-muted); margin: 0 0 14px; }
.sj-foot p { margin: 0 0 8px; }

/* до 1024 — название и основатель во всю ширину сверху, колонки ссылок по две в ряд */
.sj-foot__top { display: grid; gap: 32px 20px; grid-template-columns: repeat(2, 1fr); padding-bottom: 32px;
  border-bottom: 1px solid var(--sjf-line); }
.sj-foot__brand, .sj-foot__founder { grid-column: 1 / -1; }
.sj-foot__brand { order: -2; }
.sj-foot__founder { order: -1; }
@media (min-width: 641px) { .sj-foot__founder { grid-column: auto / span 1; } .sj-foot__brand { grid-column: auto / span 1; } }
@media (min-width: 1024px) {
  .sj-foot__top { gap: 32px 28px; grid-template-columns: 1.4fr repeat(var(--sjf-cols, 2), 1fr) 1.3fr; }
  .sj-foot__brand, .sj-foot__founder { order: 0; }
}

.sj-foot__name { font-size: 20px; font-weight: 700; color: var(--sjf-text); margin-bottom: 10px; }
.sj-foot__by { color: var(--sjf-muted); font-size: 13px; }
.sj-foot__by a { color: var(--sjf-text-2); border-bottom: 1px solid var(--sjf-line); }

.sj-foot__col a { display: block; padding: 4px 0; }

.sj-foot__founder { background: var(--sjf-panel); border-radius: 12px; padding: 18px; align-self: start; }
.sj-foot__person { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.sj-foot__person img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none;
  border: 2px solid rgba(255, 255, 255, .18); }
.sj-foot__person b { display: block; color: var(--sjf-text); font-size: 16px; }
.sj-foot__person span { color: var(--sjf-muted); font-size: 13px; }
.sj-foot__contact { display: flex; gap: 10px; align-items: center; padding: 5px 0; overflow-wrap: anywhere; }
.sj-foot__contact svg { width: 18px; height: 18px; flex: none; fill: currentColor; color: var(--sjf-accent); }

.sj-foot__bottom { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between;
  padding-top: 24px; }
.sj-foot__legal { flex: 1 1 420px; font-size: 12px; color: var(--sjf-muted); }
.sj-foot__legal a { color: var(--sjf-muted); text-decoration: underline; }
.sj-foot__made { display: inline-flex; flex-direction: column; gap: 2px; padding: 10px 16px; border-radius: 10px;
  border: 1px solid var(--sjf-line); font-size: 12px; }
.sj-foot__made span { color: var(--sjf-muted); }
.sj-foot__made b { color: var(--sjf-text); font-size: 14px; font-weight: 600; }
.sj-foot__made:hover { border-color: var(--sjf-cta); }
.sj-foot__made:hover b { color: var(--sjf-accent); }
