/* Главная `/`: блоки, перенесённые из теста /test-home/ (2026-11-05):
   1) «Читайте у нас» — вкладки «Полезные статьи / Новости центра», по 3 карточки;
   2) «Что говорят родители» — 3 карточки вместо слайдера;
   3) карточка «Все специалисты» (после удаления Анны Семкиной из сетки — основатель в своём блоке).
   Остальной v2-стиль остаётся только в test-home (home-v2.css). */

/* ---------- Вкладки: статьи / новости ---------- */
.ps2-tabs { padding: 56px 0 40px; background: #fff; }
.ps2-tabs__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 24px;
}
.ps2-tabs__head h2 {
  margin: 0 0 8px;
  text-align: left;
  color: #2e2560;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.15;
  font-weight: 500;
}
.ps2-tabs__head h2::after {
  content: '';
  display: block;
  width: 56px;
  height: 4px;
  margin-top: 12px;
  border-radius: 4px;
  background: linear-gradient(90deg, #922c88, #c938bb);
}
.ps2-tabs__nav { display: inline-flex; gap: 8px; padding: 4px; background: #f3effa; border-radius: 999px; }
.ps2-tabs__nav button {
  border: 0;
  background: transparent;
  color: #2e2560;
  font: 600 15px/1 inherit;
  padding: 10px 20px;
  border-radius: 999px;
  cursor: pointer;
}
.ps2-tabs__nav button.is-on { background: #922c88; color: #fff; }
.ps2-tabs__panel { display: none; }
.ps2-tabs__panel.is-on { display: block; }
.ps2-tabs__panel > section.articles { padding: 8px 0 0; margin: 0; background: transparent !important; }
.ps2-tabs__panel > section.articles > .uk-container > h2 { display: none; }
.ps2-tabs__panel .section-head-group { justify-content: flex-start !important; margin-bottom: 18px; }
.ps2-tabs__panel .articles__list > .news-item__container:nth-child(n + 4) { display: none; }

/* ---------- Отзывы: 3 карточки ---------- */
.ps2-reviews {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ps2-reviews > li { display: flex; margin: 0; padding: 0; }
.ps2-reviews .slider-2__item-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: #fff;
  border: 0 !important;
  border-radius: 22px;
  padding: 32px 28px 28px !important;
  box-shadow: 0 18px 36px -24px rgba(46, 37, 96, 0.5) !important;
}
.ps2-reviews .slider-2__item-container::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 5px;
  background: linear-gradient(90deg, #922c88, #c938bb);
}
.ps2-reviews .slider-2__item-container::after {
  content: '\201C';
  position: absolute;
  right: 22px;
  top: 8px;
  font: 700 84px/1 Georgia, serif;
  color: #f1dcee;
}
.ps2-reviews .slider-2__item > .uk-h4 { position: relative; z-index: 1; font-size: 18px !important; }
.ps2-reviews .review-slider__text > p { font-size: 16px; }
@media (max-width: 959px) {
  .ps2-reviews { grid-template-columns: 1fr; }
}

/* ---------- Сетка специалистов: карточка «Все специалисты» ---------- */
.nd-spec-card--all img { background: #f3effa; border-color: #e8c9e4; object-fit: contain; }
.nd-spec-card--all h4 { color: #922c88; }
.nd-spec-card--all span { color: #922c88; font-weight: 600; }

/* ---------- Основатель: воздух вокруг портрета, рамка и скругление в стиле карточек ---------- */
body.page-home .hb-founder {
  grid-template-columns: 320px 1fr;
  gap: 56px;
  padding: 56px;
  align-items: center;
}
body.page-home .hb-founder__photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 18%;
  border: 8px solid #fff;
  border-radius: 28px;
  box-shadow: 0 24px 44px -24px rgba(46, 37, 96, 0.45);
}
@media (max-width: 900px) {
  body.page-home .hb-founder { grid-template-columns: 1fr; gap: 24px; padding: 28px 22px; }
  body.page-home .hb-founder__photo { max-width: 280px; margin: 0 auto; }
}

/* ---------- SEO-текст над футером: красивая раскрывашка ---------- */
.ps2-seo { padding: 8px 0 56px; }
.ps2-seo__card {
  background: linear-gradient(160deg, #fbf3fb, #f1e9fb);
  border: 1px solid #e8e0f0;
  border-radius: 22px;
  box-shadow: 0 14px 34px -26px rgba(46, 37, 96, 0.4);
  transition: box-shadow 0.25s ease;
}
.ps2-seo__card[open] { box-shadow: 0 20px 40px -26px rgba(46, 37, 96, 0.5); }
.ps2-seo__card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  cursor: pointer;
  list-style: none;
  border-radius: 22px;
}
.ps2-seo__card summary::-webkit-details-marker { display: none; }
.ps2-seo__card summary:focus-visible { outline: 2px solid #922c88; outline-offset: 3px; }
.ps2-seo__title { font-size: 20px; font-weight: 600; line-height: 1.3; color: #2e2560; }
.ps2-seo__toggle {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #922c88 url('/assets/images/plus1.svg') center / 14px no-repeat;
  transition: transform 0.3s ease, background-color 0.2s ease;
}
.ps2-seo__card summary:hover .ps2-seo__toggle { background-color: #7a2272; }
.ps2-seo__card[open] .ps2-seo__toggle { transform: rotate(45deg); }
.ps2-seo__body { overflow: hidden; }
.ps2-seo__inner { padding: 0 28px 26px; max-width: 920px; }
.ps2-seo__inner p { margin: 0 0 12px; font-size: 16px; line-height: 1.65; color: #3f3b52; }
.ps2-seo__inner p:last-child { margin-bottom: 0; }
@media (max-width: 640px) {
  .ps2-seo__card summary { padding: 18px 18px; }
  .ps2-seo__title { font-size: 17px; }
  .ps2-seo__inner { padding: 0 18px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .ps2-seo__toggle { transition: none; }
}

/* =====================================================================
   «О центре» (.ps2-ab): карточка на ровном фоне (заголовок + лид + кнопки | 3 одинаковые плитки цифр),
   три шага с контурными номерами, раскрывашка с подробным текстом. Прод + /test-home/.
   ===================================================================== */
body.page-home .ps2-ab { margin-top: 28px; padding: 24px 0 8px; }
body.page-home .ps2-ab__card {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding: 56px;
  border-radius: 32px;
  background: #f3effa;
}
body.page-home .ps2-ab__eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff;
  color: #922c88;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
body.page-home .ps2-ab h2 {
  margin: 0 0 18px;
  padding: 0;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.1;
  text-align: left;
  color: #2e2560;
}
body.page-home .ps2-ab h2::before,
body.page-home .ps2-ab h2::after { display: none; }
body.page-home .ps2-ab__lead { max-width: 600px; margin: 0 0 28px; font-size: 19px; line-height: 1.6; color: #2f2a45; }
body.page-home .ps2-ab__cta { display: flex; flex-wrap: wrap; gap: 12px; }
body.page-home .ps2-ab__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  background: #922c88;
  color: #fff !important;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}
body.page-home .ps2-ab__btn:hover,
body.page-home .ps2-ab__btn:focus-visible { background: #7a2272; }
body.page-home .ps2-ab__btn--ghost { background: transparent; color: #922c88 !important; box-shadow: inset 0 0 0 1.5px #922c88; }
body.page-home .ps2-ab__btn--ghost:hover,
body.page-home .ps2-ab__btn--ghost:focus-visible { background: #fff; color: #7a2272 !important; box-shadow: inset 0 0 0 1.5px #7a2272; }

body.page-home .ps2-ab__stats { display: grid; grid-auto-rows: 1fr; gap: 14px; margin: 0; padding: 0; list-style: none; }
body.page-home .ps2-ab__stats li {
  display: grid;
  grid-template-columns: 56px 64px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 92px;
  margin: 0;
  padding: 14px 24px;
  border-radius: 20px;
  background: #fff;
  box-shadow: none;
}
body.page-home .ps2-ab__stats li::before { display: none; }
body.page-home .ps2-ab__stats img { display: block; width: 56px; height: 56px; }
body.page-home .ps2-ab__stats b { font-size: 44px; line-height: 1; font-weight: 800; color: #922c88; }
body.page-home .ps2-ab__stats span { font-size: 16px; line-height: 1.3; font-weight: 600; color: #2e2560; }

body.page-home .ps2-ab__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 40px 0 8px;
  padding: 0;
  list-style: none;
}
body.page-home .ps2-ab__step { position: relative; margin: 0; padding: 8px 36px 8px 0; }
body.page-home .ps2-ab__step::before { display: none; }
body.page-home .ps2-ab__step + .ps2-ab__step { padding-left: 36px; border-left: 1px solid #e8e0f0; }
body.page-home .ps2-ab__num {
  position: absolute;
  top: -6px;
  right: 28px;
  font-size: 84px;
  line-height: 1;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1.5px #e0d3f1;
  pointer-events: none;
}
body.page-home .ps2-ab__step:last-child .ps2-ab__num { right: 0; }
body.page-home .ps2-ab__step img { display: block; width: 64px; height: 64px; margin-bottom: 16px; }
body.page-home .ps2-ab__step h3 { margin: 0 0 8px; font-size: 21px; line-height: 1.25; color: #2e2560; }
body.page-home .ps2-ab__step p { margin: 0; font-size: 16px; line-height: 1.55; color: #2f2a45; }
body.page-home .ps2-ab .ps2-seo__card--about { margin-top: 28px; background: #f3effa; border-color: transparent; box-shadow: none; }

@media (max-width: 959px) {
  body.page-home .ps2-ab__card { grid-template-columns: 1fr; gap: 28px; padding: 32px 22px; border-radius: 24px; }
  body.page-home .ps2-ab__stats li { grid-template-columns: 48px 56px 1fr; gap: 14px; min-height: 80px; padding: 12px 18px; }
  body.page-home .ps2-ab__stats img { width: 48px; height: 48px; }
  body.page-home .ps2-ab__stats b { font-size: 36px; }
  body.page-home .ps2-ab__steps { grid-template-columns: 1fr; margin-top: 28px; }
  body.page-home .ps2-ab__step,
  body.page-home .ps2-ab__step + .ps2-ab__step { padding: 20px 0; border-left: 0; }
  body.page-home .ps2-ab__step + .ps2-ab__step { border-top: 1px solid #e8e0f0; }
  body.page-home .ps2-ab__num,
  body.page-home .ps2-ab__step:last-child .ps2-ab__num { right: 0; top: 14px; font-size: 64px; }
}
