/* ==========================================================================
   «О нас» (/<lang>/about/) — SSR, 06.10.2026.
   Блоки: герой с кнопками → цифры → история → карточки возможностей →
   безопасность (выделенный блок, две колонки) → принципы → команда.
   Язык оформления — как у /safety/ (safety.css): те же радиусы, тени и
   бренд-подложка. Цвета — только токены tokens.css (docs/design.md).
   Ширина 360 px — без горизонтального скролла, сетки схлопываются.
   ========================================================================== */

.about {
  max-width: 1040px;
  margin: 0 auto;
  padding-bottom: 48px;
  color: var(--c-text);
}

/* --- Герой --- */
.about-hero {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin: 8px 0 20px;
  padding: 24px;
  border: 1px solid var(--c-brand-border);
  border-radius: 24px;
  background: var(--c-brand-tint);
}
.about-hero__icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: var(--c-brand);
  color: var(--c-on-brand);
}
.about-hero__body { min-width: 0; }
.about-hero__title { margin: 0 0 8px; font-size: 28px; line-height: 1.2; }
.about-hero__lead {
  margin: 0 0 16px;
  max-width: 680px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--c-text-muted);
}
.about-hero__actions,
.about-safety__actions,
.about-team__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.about .btn { display: inline-flex; align-items: center; gap: 8px; }

/* --- Цифры --- */
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}
.about-stat {
  padding: 16px 12px;
  text-align: center;
  border: 1px solid var(--c-border);
  border-radius: 20px;
  background: var(--c-surface);
  box-shadow: var(--shadow-card);
}
.about-stat__num {
  display: block;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--c-brand);
}
.about-stat__label {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.3;
  color: var(--c-text-muted);
}

/* --- Разделы --- */
.about-section { margin: 0 0 32px; }
.about-section__title { margin: 0 0 14px; font-size: 22px; line-height: 1.25; }
.about-story {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
}
.about-story p,
.about-team p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--c-text-muted);
}
.about-team p { margin-bottom: 16px; max-width: 760px; }

/* --- Карточки возможностей и принципов --- */
.about-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.about-cards--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.about-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid var(--c-border);
  border-radius: 20px;
  background: var(--c-surface);
  box-shadow: var(--shadow-card);
}
.about-card__icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--c-brand-tint);
  color: var(--c-brand);
}
.about-card__body { min-width: 0; }
.about-card__title { margin: 2px 0 4px; font-size: 16px; line-height: 1.35; }
.about-card__title a { color: inherit; text-decoration: none; }
.about-card__title a:hover { color: var(--c-brand); text-decoration: underline; }
.about-card__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--c-text-muted);
}

/* --- Безопасность --- */
.about-safety {
  padding: 24px;
  border: 1px solid var(--c-brand-border);
  border-radius: 24px;
  background: var(--c-brand-tint);
}
.about-safety__head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 16px; }
.about-safety__head .about-section__title { margin-bottom: 4px; }
.about-safety__icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--c-brand);
  color: var(--c-on-brand);
}
.about-safety__lead { margin: 0; font-size: 15px; line-height: 1.5; color: var(--c-text-muted); }
.about-safety__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.about-safety__col {
  padding: 16px;
  border-radius: 20px;
  background: var(--c-surface);
  box-shadow: var(--shadow-card);
}
.about-safety__subtitle { margin: 0 0 10px; font-size: 16px; }
.about-checks { margin: 0; padding: 0; list-style: none; }
.about-checks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 7px 0;
  font-size: 14px;
  line-height: 1.45;
}
.about-checks li + li { border-top: 1px solid var(--c-border); }
.about-checks svg { flex: 0 0 auto; margin-top: 1px; color: var(--c-brand); }

.about-updated { margin: 0; font-size: 12px; color: var(--c-text-muted); }

/* --- Адаптив --- */
@media (max-width: 839.98px) {
  .about-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-story,
  .about-safety__cols,
  .about-cards--three { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 599.98px) {
  .about-hero { flex-direction: column; gap: 14px; padding: 18px; border-radius: 20px; }
  .about-hero__icon { width: 56px; height: 56px; border-radius: 16px; }
  .about-hero__title { font-size: 23px; }
  .about-hero__lead { font-size: 15px; }
  .about-hero__actions .btn,
  .about-safety__actions .btn { flex: 1 1 100%; justify-content: center; }
  .about-safety { padding: 16px; border-radius: 20px; }
  .about-stat__num { font-size: 26px; }
}
