/* =====================================================
   СТРАНИЦА «ПАРТНЁРЫ» (подключается после site.css и blog.css)
   Только переменные цвета — страница работает и в тёмной теме.
===================================================== */

/* ---------- первый экран ---------- */
.phero { padding-bottom: 80px; }
.phero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.phero__title { margin: 0 0 32px; font-size: 64px; line-height: 68px; letter-spacing: -0.045em; }
.phero .hero__actions { justify-content: flex-start; }
.phero .copymail { margin: 16px 0 0; }

.phero__lead { max-width: 46ch; margin: 0 0 36px; }

/* ---------- «Почему CYBERDEF»: анимированный список ---------- */
.pwhy { position: relative; padding: 32px; border-radius: var(--r-panel); box-shadow: inset 0 0 0 1px rgba(108,196,255,0.22), var(--shadow-lg); }
.pwhy::before { left: 55%; top: -55%; width: 75%; }
.pwhy__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.pwhy__title { margin: 0; font-size: 20px; line-height: 26px; font-weight: 700; letter-spacing: -0.01em; }
.pwhy__live { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; line-height: 16px; font-weight: 600; color: var(--ink-on-brand-muted); }
.pwhy__live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-blue); animation: blink 1.4s ease-in-out infinite; }
.pwhy__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pwhy__list li {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: center;
  padding: 14px 16px; border-radius: 14px;
  background: rgba(255,255,255,0.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
  opacity: 0; transform: translateX(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), background 0.4s ease, box-shadow 0.4s ease;
  transition-delay: calc(var(--i, 0) * 140ms), calc(var(--i, 0) * 140ms), 0s, 0s;
}
.pwhy.is-visible .pwhy__list li { opacity: 1; transform: none; }
.pwhy__icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgba(108,196,255,0.12); color: var(--accent-text-on-brand); transition: background 0.4s ease, color 0.4s ease, box-shadow 0.4s ease; }
.pwhy__icon svg { width: 22px; height: 22px; }
.pwhy__text { font-size: 15px; line-height: 21px; font-weight: 600; color: #FFFFFF; }
/* подсвеченный пункт (переключается по кругу) */
.pwhy__list li.is-active { background: rgba(23,162,248,0.16); box-shadow: inset 0 0 0 1px rgba(108,196,255,0.5); }
.pwhy__list li.is-active .pwhy__icon { background: var(--brand-blue); color: var(--brand-navy); box-shadow: 0 0 0 6px rgba(23,162,248,0.18); }

/* ---------- поддержка партнёров ---------- */
.psup__more { margin-top: 24px; }
.psup { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.psup__card { display: flex; flex-direction: column; gap: 16px; padding: 36px; border-radius: var(--r-card); background: var(--surface); box-shadow: inset 0 0 0 1px var(--border), var(--shadow-sm); transition: transform 0.45s var(--ease), box-shadow 0.35s ease; }
.psup__card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--accent-line-strong), var(--shadow-md); }
.psup__card h3 { margin: 4px 0 0; font-size: 24px; line-height: 30px; letter-spacing: -0.02em; }
.psup__card p { margin: 0; font-size: 16px; line-height: 25px; color: var(--ink-muted); }
.psup__chips { list-style: none; margin: auto 0 0; padding: 8px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.psup__chips li { padding: 7px 14px; border-radius: var(--r-pill); background: var(--accent-soft); color: var(--accent-text); font-size: 14px; line-height: 18px; font-weight: 600; }
.psup__steps { list-style: none; margin: auto 0 0; padding: 8px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; }
.psup__steps::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 30px; height: 2px; background: linear-gradient(90deg, var(--accent-line), var(--brand-blue)); }
.psup__steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 14px; line-height: 18px; font-weight: 700; color: var(--ink); text-align: center; }
.psup__steps span { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--brand-blue); color: var(--accent-text); font-size: 14px; }
.psup__steps li:last-child span { background: var(--brand-blue); color: var(--brand-navy); box-shadow: 0 0 0 6px rgba(23,162,248,0.15); }

/* иконка в карточках поддержки */
.why__icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--accent-soft), var(--surface)); box-shadow: inset 0 0 0 1px var(--accent-line); color: var(--accent-text); }
.why__icon svg { width: 26px; height: 26px; }

/* адрес почты в тексте финального блока — на тёмной панели */
.cta .lead a { color: var(--accent-text-on-brand); text-underline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .pwhy__list li { opacity: 1; transform: none; transition: none; }
}
@media (max-width: 1100px) {
  .phero__grid { grid-template-columns: 1fr; gap: 44px; }
  .phero__title { font-size: 52px; line-height: 56px; }
  .psup { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .phero__title { font-size: 40px; line-height: 44px; }
  .phero .hero__actions .btn { width: 100%; }
  .pwhy { padding: 22px 18px; }
  .pwhy__head { flex-direction: column; align-items: flex-start; }
  .psup__card { padding: 24px; }
  .psup__steps li { font-size: 12px; }
  .psup__steps span { width: 38px; height: 38px; }
  .psup__steps::before { top: 27px; }
}
/* заголовок раздела выровнен по верху текста справа, а не по низу кнопки */
.head-split--top { align-items: start; }
