/* Страница «О компании» (/o-kompanii/, часть 7 #365). Общие компоненты — components.css.
   Скопировано с главной (для части 8 — в общий набор): .niches/.niche, .sec-grid/.sec-item.
   Своё: цикл работы (.ok-cycle), штат ролей (.ok-staff), режимы (.ok-modes). */

/* ---------- 1. Цикл ---------- */
.ok-cycle { border: 0; border-radius: var(--radius-md); background: var(--surface-2); }
.ok-cycle .flow-step + .flow-step::before { background: var(--surface-2); }
.ok-loop { display: flex; align-items: center; gap: 14px; padding: 0 6px; font-family: var(--font-mono); font-size: 11.5px; color: var(--violet-ink); }
.ok-loop b { font-weight: 500; white-space: nowrap; }
.ok-loop span { flex: 1; height: 1px; border-top: 1px dashed color-mix(in srgb, var(--violet) 45%, transparent); }
@media (max-width: 1100px) and (min-width: 961px) { .ok-cycle { --steps: 3 !important; } .ok-cycle .flow-step:nth-child(4) { border-left: 0; } .ok-cycle .flow-step:nth-child(n + 4) { border-top: 1px solid var(--line); } .ok-cycle .flow-step:nth-child(4)::before { display: none; } }

/* ---------- 2. Штат ---------- */
.ok-staff {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.ok-role { display: grid; gap: 6px; align-content: start; padding: 22px 22px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-width: 0; }
.ok-role:nth-child(4n) { border-right: 0; }
.ok-role:nth-last-child(-n + 4) { border-bottom: 0; }
.ok-role-num { font-family: var(--font-mono); font-size: 11.5px; color: var(--violet-ink); }
.ok-role b { margin-top: 6px; font-family: var(--font-display); font-size: 17px; font-weight: 600; letter-spacing: -0.015em; color: var(--ink-900); line-height: 1.25; }
.ok-role span:last-child { font-size: 14px; color: var(--ink-500); line-height: 1.5; }
@media (max-width: 1024px) {
  .ok-staff { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ok-role:nth-child(4n) { border-right: 1px solid var(--line); }
  .ok-role:nth-child(2n) { border-right: 0; }
  .ok-role:nth-last-child(-n + 4) { border-bottom: 1px solid var(--line); }
  .ok-role:nth-last-child(-n + 2) { border-bottom: 0; }
}
@media (max-width: 560px) {
  .ok-role { padding: 16px; }
  .ok-role b { font-size: 15px; }
  .ok-role span:last-child { font-size: 13px; }
}

.ok-people {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 20px clamp(32px, 5vw, 72px);
  align-items: start;
  margin-top: clamp(32px, 4vw, 48px);
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid color-mix(in srgb, var(--violet) 18%, transparent);
  border-radius: var(--radius-lg);
  background: radial-gradient(90% 120% at 0% 0%, color-mix(in srgb, var(--violet) 7%, transparent), transparent 70%), var(--surface);
}
.ok-people-quote { grid-row: span 2; font-family: var(--font-display); font-size: clamp(24px, 2.4vw, 34px); font-weight: 560; letter-spacing: -0.03em; line-height: 1.15; color: var(--ink-900); }
.ok-people-quote .h-mute { display: block; }
.ok-people-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ok-people-col { display: grid; gap: 10px; justify-items: start; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--bg); }
.ok-people-col p { font-size: 15px; color: var(--ink-700); line-height: 1.55; }
.ok-people-note { font-size: 16px; color: var(--ink-900); line-height: 1.55; font-weight: 500; }
@media (max-width: 860px) { .ok-people { grid-template-columns: 1fr; } .ok-people-quote { grid-row: auto; } }
@media (max-width: 560px) { .ok-people-cols { grid-template-columns: 1fr; } }

/* ---------- 3. Принципы ---------- */
.ok-modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ok-modes .panel { display: grid; gap: 12px; align-content: start; justify-items: start; }
.ok-modes p { font-size: 15px; color: var(--ink-900); font-weight: 500; line-height: 1.4; }
.ok-modes .btn-row { gap: 8px; }
.ok-mode-note { font-size: 13px; color: var(--ink-500); }
@media (max-width: 560px) { .ok-modes { grid-template-columns: 1fr; } }
.ok-honest { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.ok-honest-kv { padding: 8px 20px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface-2); }
@media (max-width: 860px) {
  .ok-honest { grid-template-columns: 1fr; }
  .ok-honest-kv .kv-row { flex-wrap: wrap; gap: 6px 16px; }
}

/* ---------- 4. Под капотом ---------- */
.ok-tech { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 4vw, 56px); align-items: start; }
.section--night .card-icon { background: rgba(255, 255, 255, 0.05); border-color: var(--line-strong); }
@media (max-width: 1024px) { .ok-tech { grid-template-columns: 1fr; } }

/* ---------- 6. Контакты ---------- */
.ok-contacts { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.ok-contacts .lead { margin-top: 20px; }
.ok-contacts-kv { padding: 8px 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg); font-size: 15px; }
.ok-contacts-kv .kv-row { padding: 14px 0; }
.ok-contacts-kv a { color: var(--violet-ink); }
.ok-contacts-kv a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) {
  .ok-contacts { grid-template-columns: 1fr; }
  .ok-contacts-kv .kv-row { flex-direction: column; gap: 4px; }
  .ok-contacts-kv .kv-val { text-align: left; }
}

.ok-tech .sec-grid { gap: 30px 28px; }
@media (max-width: 560px) { .ok-tech .sec-grid { gap: 22px; } }
