/* О проекте (redesign-kit: screens/10-about, Page-About). */

.sp-about { padding-top: 88px; padding-bottom: 120px; }
.sp-about > * { max-width: var(--content-max); }

/* Вступление: утверждение слева, пояснение справа */
.sp-about__intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: start; }
.sp-about__claim { margin: 0; font-family: var(--font-display); font-size: clamp(24px, 2.2vw, 30px); line-height: 1.35; font-weight: 500; color: var(--ink); }
.sp-about__claim em { font-style: normal; color: var(--accent); }
.sp-about__text p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--ink-2); }
.sp-about__text p + p { margin-top: 14px; }

/* Счётчики */
.sp-about__stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 80px 0 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sp-about__stats > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 10px; padding: 28px 24px 26px; }
.sp-about__stats > div:first-child { padding-left: 0; }
.sp-about__stats > div + div { border-left: 1px solid var(--line); }
.sp-about__stats dd { margin: 0; font-family: var(--font-display); font-size: clamp(32px, 3vw, 44px); line-height: 1.05; font-weight: 500; }
.sp-about__stats dt { font-size: 11px; line-height: 15px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); }

.sp-about__block { margin-top: 96px; }
.sp-about__h2 { margin: 0; font-family: var(--font-display); font-size: clamp(26px, 2.4vw, 32px); line-height: 1.25; font-weight: 500; }

/* Навигация: 4 шага */
.sp-about__nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 32px 0 0; padding: 0; list-style: none; }
.sp-about__nav li { display: flex; flex-direction: column; gap: 10px; box-sizing: border-box; min-height: 200px; padding: 26px 24px; border: 1px solid var(--line-strong); border-radius: var(--radius-2xl); }
.sp-about__nav li.is-accent { border-color: rgba(240, 86, 106, 0.45); background: rgba(240, 86, 106, 0.06); }
.sp-about__nav b { margin-top: 18px; font-family: var(--font-display); font-size: 20px; line-height: 1.3; font-weight: 500; }
.sp-about__nav span:last-child { font-size: 14px; line-height: 1.55; color: var(--ink-muted); }
.sp-about__note { margin: 28px 0 0; max-width: 820px; font-size: 15px; line-height: 1.7; color: var(--ink-2); }

/* Примеры контекстов */
.sp-about__contexts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.sp-about__context { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; box-sizing: border-box; min-height: 200px; padding: 26px 24px; border: 1px solid transparent; border-radius: var(--radius-2xl); background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color 0.15s, background 0.15s; }
.sp-about__context:hover { border-color: rgba(240, 86, 106, 0.6); background: var(--surface-hover); color: var(--ink); }
.sp-about__context b { font-size: 18px; line-height: 1.4; font-weight: 500; }
.sp-about__context span { font-size: 13px; color: var(--ink-muted); }
.sp-about__context em, .sp-about__context strong { font-family: var(--font-display); font-style: normal; font-size: 24px; font-weight: 500; }
.sp-about__context em { color: var(--accent); }
.sp-about__context strong { color: var(--ink); }

/* Важно: доля кейсов с результатами */
.sp-about__important { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px 64px; align-items: center; margin-top: 96px; box-sizing: border-box; padding: 40px 56px; border: 1px solid var(--line-strong); border-radius: var(--radius-3xl); }
.sp-about__important .sp-label { margin: 0; }
.sp-about__pct { margin: 6px 0 0; font-family: var(--font-display); font-size: clamp(64px, 7vw, 104px); line-height: 1; font-weight: 500; color: var(--accent); }
.sp-about__important > p { margin: 0; max-width: 640px; font-size: 18px; line-height: 1.6; color: var(--ink); }

/* Итого */
.sp-about__total { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 48px; margin-top: 112px; }
.sp-about__total .sp-label { margin: 0; }
.sp-about__totalh { margin: 14px 0 0; max-width: 760px; font-family: var(--font-display); font-size: clamp(34px, 3.6vw, 52px); line-height: 1.12; font-weight: 500; }
.sp-about__total p:last-child { margin: 18px 0 0; max-width: 620px; font-size: 18px; line-height: 1.55; color: var(--ink-2); }
.sp-about__totalbtns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Руководитель проекта */
.sp-about__person { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px 56px; align-items: start; margin-top: 120px; box-sizing: border-box; padding: 56px; border-radius: var(--radius-3xl); background: var(--surface); }
.sp-about__photo { display: block; width: 240px; height: 240px; border-radius: 50%; object-fit: cover; filter: grayscale(1); }
.sp-about__role { margin: 0; font-size: 11px; line-height: 15px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.sp-about__name { margin: 12px 0 0; font-family: var(--font-display); font-size: clamp(30px, 2.8vw, 40px); line-height: 1.15; font-weight: 500; }
.sp-about__post { margin: 10px 0 0; padding-bottom: 28px; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.sp-about__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 40px; margin: 28px 0 0; }
.sp-about__facts dt { font-family: var(--font-display); font-size: 36px; line-height: 1.1; font-weight: 500; }
.sp-about__facts dd { margin: 10px 0 0; font-size: 13px; line-height: 1.55; color: var(--ink-muted); }
.sp-about__list { margin: 28px 0 0; padding-left: 20px; font-size: 14px; line-height: 1.7; color: var(--ink-2); }
.sp-about__brandsh { margin: 24px 0 0; font-size: 12px; color: var(--ink-muted); }
.sp-about__brands { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.sp-about__brands li { padding: 6px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-pill); font-size: 13px; color: var(--ink); }
.sp-about__brands li.is-more { border-color: transparent; padding-left: 4px; color: var(--ink-muted); }

@media (max-width: 1100px) {
  .sp-about__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sp-about__stats > div:nth-child(4) { padding-left: 0; border-left: 0; }
  .sp-about__stats > div:nth-child(n+4) { border-top: 1px solid var(--line); }
  .sp-about__nav, .sp-about__contexts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .sp-about { padding-top: 48px; padding-bottom: 72px; }
  .sp-about__intro { grid-template-columns: minmax(0, 1fr); }
  .sp-about__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 48px; }
  .sp-about__stats > div, .sp-about__stats > div + div { padding: 20px 0 18px; border-left: 0; }
  .sp-about__stats > div:first-child { grid-column: 1 / -1; }
  .sp-about__stats > div:nth-child(n+2) { border-top: 1px solid var(--line); }
  .sp-about__stats > div:nth-child(odd):not(:first-child) { padding-left: 16px; border-left: 1px solid var(--line); }
  .sp-about__block { margin-top: 64px; }
  .sp-about__nav, .sp-about__contexts { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .sp-about__nav li, .sp-about__context { min-height: 0; }
  .sp-about__important { grid-template-columns: minmax(0, 1fr); margin-top: 64px; padding: 28px 22px; border-radius: var(--radius-2xl); }
  .sp-about__important > p { font-size: 16px; }
  .sp-about__total { margin-top: 72px; }
  .sp-about__totalbtns { width: 100%; }
  .sp-about__totalbtns .sp-btn { flex: 1 1 auto; justify-content: center; }
  .sp-about__person { grid-template-columns: minmax(0, 1fr); margin-top: 72px; padding: 28px 22px; border-radius: var(--radius-2xl); }
  .sp-about__photo { width: 140px; height: 140px; }
  .sp-about__facts { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}
