/* Блоки SEO/внедрения на страницах продуктов: /college/, /school/, /teachers/ */

.p-section { scroll-margin-top: 84px; }

/* --- Коротко о продукте (таблица фактов) --- */
.p-facts {
  display: grid;
  gap: 12px;
  margin: 0;
}
@media (min-width: 720px) {
  .p-facts { grid-template-columns: repeat(2, 1fr); }
}
.p-fact {
  padding: 16px 20px;
  border-radius: 14px;
  border: 1px solid var(--z_line, #dde2e8);
  background: var(--z_panel, #f8f9fb);
}
.p-fact dt {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--z_acc2, #357a58);
}
.p-fact dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--z_ink, #2f3439);
}

/* --- Шаги внедрения --- */
.p-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .p-steps { grid-template-columns: repeat(2, 1fr); }
  .p-step:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .p-steps { grid-template-columns: repeat(3, 1fr); }
  .p-step:last-child:nth-child(odd) { grid-column: auto; }
}
@media (min-width: 1100px) {
  .p-steps { grid-template-columns: repeat(5, 1fr); gap: 14px; }
}
.p-step {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  border-radius: var(--z_rad, 16px);
  border: 1px solid var(--z_line, #dde2e8);
  background: var(--z_panel, #f8f9fb);
  box-shadow: var(--z_sh, 0 6px 22px rgba(20, 24, 32, 0.06));
}
.p-step h3 { margin: 0; font-size: 1.05rem; line-height: 1.3; }
.p-step p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--z_mute, #5c6570); }
.p-step__n {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--z_acc, #3d9468);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
}
.p-note {
  margin: 18px 0 0;
  font-size: 14px;
  color: var(--z_mute, #5c6570);
}

/* --- Регионы --- */
.p-regions {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.p-region {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 20px;
  border-radius: var(--z_rad, 16px);
  border: 1px solid var(--z_line, #dde2e8);
  background: var(--z_panel, #f8f9fb);
}
.p-region img { width: 48px; height: 48px; object-fit: contain; margin-bottom: 4px; }
.p-region strong { font-size: 1.02rem; line-height: 1.3; }
.p-region span { font-size: 13px; color: var(--z_mute, #5c6570); line-height: 1.45; }
.p-region--more {
  background: var(--z_acc2, #357a58);
  border-color: transparent;
}
.p-region--more strong { color: #fff; }
.p-region--more span { color: rgba(255, 255, 255, 0.85); }
.p-region__dots {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 4px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 800;
}

/* --- Другие продукты --- */
.p-related-grid { display: grid; gap: 18px; }
@media (min-width: 720px) {
  .p-related-grid { grid-template-columns: repeat(3, 1fr); }
}
.p-related {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  color: inherit;
}
.p-related:hover { border-color: rgba(61, 148, 104, 0.45); }
.p-related__more {
  margin-top: auto;
  padding-top: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--z_acc2, #357a58);
}

@media (max-width: 560px) {
  .p-regions { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .p-region { padding: 16px; }
  .p-step { padding: 18px; }
}
