/* ===== Новые блоки ИИ-СРМ (главная) и SEO-страницы ===== */

.srm-block {
  padding: 96px 0;
  position: relative;
}
.srm-block + .srm-block { border-top: 1px solid #eef0f5; }
.srm-block--accent { background: linear-gradient(180deg, #f8f9fc 0%, #ffffff 100%); }
.srm-block--dark {
  background: linear-gradient(135deg, #1a1f3a 0%, #2d3561 100%);
  color: #e8ebf5;
}
.srm-block--dark .section-title,
.srm-block--dark h3 { color: #fff; }
.srm-block--dark p,
.srm-block--dark .srm-pipe__text,
.srm-block--dark figcaption,
.srm-block--dark li,
.srm-block--dark .srm-card p,
.srm-block--dark .srm-card--dark p { color: #e8ebf5; }
.srm-block--dark .srm-card h3,
.srm-block--dark .srm-card--dark h3 { color: #ffffff; }
.srm-block--dark .section-desc,
.srm-block--dark .section-desc--light { color: #d6dbf0 !important; }
.srm-block--dark .srm-card--dark {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.18);
}

/* ----- Grid layouts ----- */
.srm-grid { display: grid; gap: 24px; margin: 48px 0 32px; }
.srm-grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.srm-grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* ----- Card (универсальная) ----- */
.srm-card {
  background: #fff;
  border: 1px solid #eef0f5;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 1px 2px rgba(20, 30, 60, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.srm-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(20, 30, 60, 0.08);
}
.srm-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 16px 0 8px;
  color: #1a1f3a;
}
.srm-card p {
  font-size: 14px;
  line-height: 1.55;
  color: #5a6478;
  margin: 0;
}
.srm-card--dark {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}
.srm-card--dark:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.srm-card__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.srm-card__icon--blue    { background: #e6ecff; color: #405189; }
.srm-card__icon--violet  { background: #efe9ff; color: #6b4cd6; }
.srm-card__icon--emerald { background: #def7ee; color: #1d8a5d; }
.srm-card__icon--amber   { background: #fff3da; color: #b87600; }
.srm-card--dark .srm-card__icon--blue    { background: rgba(64, 81, 137, 0.25); color: #a8b5e0; }
.srm-card--dark .srm-card__icon--violet  { background: rgba(107, 76, 214, 0.25); color: #c7b8ff; }
.srm-card--dark .srm-card__icon--emerald { background: rgba(29, 138, 93, 0.25); color: #8fe2bb; }
.srm-card--dark .srm-card__icon--amber   { background: rgba(184, 118, 0, 0.25); color: #f5cd7a; }

/* ----- Режимы ИИ (3 колонки) ----- */
.srm-modes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 48px 0 32px;
}
.srm-mode {
  background: #fff;
  border: 1px solid #eef0f5;
  border-radius: 18px;
  padding: 28px;
  position: relative;
  display: flex; flex-direction: column;
}
.srm-mode--featured {
  border-color: #405189;
  box-shadow: 0 12px 32px rgba(64, 81, 137, 0.15);
  transform: translateY(-4px);
}
.srm-mode__badge {
  position: absolute; top: -12px; left: 24px;
  background: linear-gradient(135deg, #405189, #6b4cd6);
  color: #fff;
  font-size: 12px; font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
}
.srm-mode__head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 8px;
}
.srm-mode__name { font-size: 22px; font-weight: 800; color: #1a1f3a; }
.srm-mode__price {
  font-size: 18px; font-weight: 700;
  color: #405189;
  font-family: 'JetBrains Mono', monospace;
}
.srm-mode__time {
  font-size: 13px; color: #878a99;
  margin-bottom: 16px;
}
.srm-mode__time i { margin-right: 6px; }
.srm-mode__desc {
  font-size: 14px; line-height: 1.55;
  color: #5a6478; margin: 0 0 16px;
}
.srm-mode__list {
  list-style: none; padding: 0; margin: auto 0 0;
  border-top: 1px solid #f0f2f5;
  padding-top: 16px;
}
.srm-mode__list li {
  font-size: 13px; color: #5a6478;
  padding: 6px 0;
  position: relative; padding-left: 20px;
}
.srm-mode__list li::before {
  content: ""; position: absolute; left: 0; top: 12px;
  width: 6px; height: 6px; border-radius: 50%;
  background: #6b4cd6;
}
.srm-mode__more {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  color: #6b4cd6;
  text-decoration: none;
  font-weight: 600;
}
.srm-mode__more:hover { text-decoration: underline; }

.srm-mode--expert {
  border: 1px solid #6b4cd6;
  background: linear-gradient(180deg, #ffffff 0%, #f5efff 100%);
}
.srm-mode__badge--expert {
  background: linear-gradient(135deg, #6b4cd6, #9c5fff);
}

/* Блок примера разбора Эксперт */
.srm-example {
  background: #ffffff;
  border: 1px solid #eef0f5;
  border-radius: 14px;
  padding: 32px;
  margin: 32px 0;
  box-shadow: 0 4px 16px rgba(20, 30, 60, 0.06);
}
.srm-example h3 {
  font-size: 17px;
  color: #6b4cd6;
  margin: 24px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f0eaff;
}
.srm-example h3:first-child { margin-top: 0; }
.srm-example p,
.srm-example li {
  font-size: 14px;
  line-height: 1.65;
  color: #3a4458;
  margin: 8px 0;
}
.srm-example ul, .srm-example ol {
  padding-left: 22px;
  margin: 8px 0;
}
.srm-example__note {
  margin-top: 24px;
  padding: 14px 18px;
  background: #f8f9fc;
  border-left: 3px solid #6b4cd6;
  border-radius: 6px;
  font-size: 13px;
  color: #5a6478;
}

/* ----- Pipeline (4 шага автоматизации иска) ----- */
.srm-pipeline {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 16px;
  align-items: stretch;
  margin: 48px 0;
}
.srm-pipe {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 24px 20px;
  text-align: center;
}
.srm-pipe__num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6b4cd6, #405189);
  color: #fff;
  font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.srm-pipe__title {
  font-size: 16px; font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.srm-pipe__text {
  font-size: 13px; line-height: 1.5;
  color: #c5cae0;
}
.srm-pipe__arrow {
  display: flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, 0.35);
  font-size: 18px;
}
@media (max-width: 900px) {
  .srm-pipeline { grid-template-columns: 1fr; }
  .srm-pipe__arrow { transform: rotate(90deg); padding: 8px 0; }
}

/* ----- Screens (скриншоты блоками) ----- */
.srm-screens {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 24px;
  margin: 48px 0;
  align-items: start;
}
.srm-screen {
  margin: 0;
  background: #fff;
  border: 1px solid #eef0f5;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(20, 30, 60, 0.08);
  align-self: start;
}
.srm-block--dark .srm-screen {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}
.srm-screen img {
  width: 100%; height: auto;
  display: block;
  border-bottom: 1px solid #eef0f5;
}
.srm-block--dark .srm-screen img { border-bottom-color: rgba(255, 255, 255, 0.08); }
.srm-screen figcaption {
  padding: 14px 18px;
  font-size: 13px; color: #5a6478;
  text-align: center;
}
.srm-screen figcaption a { color: #405189; text-decoration: none; font-weight: 600; }
.srm-screen figcaption a:hover { text-decoration: underline; }
.srm-screen--large { grid-column: span 1; }

/* ----- Stats (4 числа) ----- */
.srm-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 48px 0;
}
.srm-stat {
  text-align: center;
  padding: 24px 16px;
  background: linear-gradient(135deg, #f8f9fc 0%, #fff 100%);
  border: 1px solid #eef0f5;
  border-radius: 14px;
}
.srm-stat__value {
  display: block;
  font-size: 32px; font-weight: 800;
  color: #405189;
  line-height: 1.1;
  font-family: 'Inter', sans-serif;
  margin-bottom: 6px;
}
.srm-stat__label {
  display: block;
  font-size: 13px; color: #5a6478;
  line-height: 1.4;
}

/* ----- Honest (плашка «чего нет / честно») ----- */
.srm-honest {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff8e6;
  border-left: 4px solid #b87600;
  padding: 18px 22px;
  border-radius: 8px;
  margin: 32px 0;
  font-size: 14px; line-height: 1.6; color: #4a3e1a;
}
.srm-honest__icon {
  color: #b87600;
  font-size: 22px;
  flex-shrink: 0;
}
.srm-block--dark .srm-honest {
  background: rgba(245, 205, 122, 0.1);
  border-left-color: #f5cd7a;
  color: #f5e9c8;
}
.srm-block--dark .srm-honest__icon { color: #f5cd7a; }

/* Брендовая плашка под LexbridgePro — фирменные цвета, не "warning" */
.srm-honest--brand {
  background: linear-gradient(135deg, #eef2ff 0%, #f5efff 100%);
  border-left: 4px solid #6b4cd6;
  color: #2d3561;
}
.srm-honest--brand .srm-honest__icon { color: #6b4cd6; }
.srm-honest--brand strong { color: #1a1f3a; }

/* ----- CTA внутри блока ----- */
.srm-cta {
  display: flex; justify-content: center;
  margin-top: 32px;
}
.srm-cta--light .btn--outline-light {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  background: transparent;
}
.srm-cta--light .btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
}
.btn--outline {
  border: 1px solid #d4d8e3;
  color: #405189;
  background: #fff;
  padding: 14px 24px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.2s ease;
}
.btn--outline:hover {
  border-color: #405189;
  background: #f8f9fc;
}
.btn--outline i { font-size: 14px; }

/* ----- Public lawyer (grid: скрин + features) ----- */
.srm-public-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 40px;
  align-items: start;
  margin: 48px 0;
}
@media (max-width: 900px) {
  .srm-public-grid { grid-template-columns: 1fr; }
}
.srm-public-features { display: flex; flex-direction: column; gap: 20px; }
.srm-public-feature {
  display: flex; gap: 16px;
  background: #fff;
  border: 1px solid #eef0f5;
  border-radius: 14px;
  padding: 20px 22px;
}
.srm-public-feature__icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: #e6ecff;
  color: #405189;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.srm-public-feature h3 {
  font-size: 16px; font-weight: 700;
  margin: 0 0 6px;
  color: #1a1f3a;
}
.srm-public-feature p {
  font-size: 13px; line-height: 1.5;
  color: #5a6478;
  margin: 0;
}

/* ----- SEO page (отдельная страница функции) ----- */
.seo-page {
  padding: 64px 0 96px;
  background: #f8f9fc;
  min-height: 60vh;
}
.seo-page__hero {
  background: linear-gradient(135deg, #1a1f3a 0%, #2d3561 100%);
  color: #fff;
  padding: 80px 0 64px;
  text-align: center;
}
.seo-page__hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 16px;
  color: #fff;
}
.seo-page__hero p {
  font-size: 18px;
  line-height: 1.55;
  color: #c5cae0;
  max-width: 720px;
  margin: 0 auto;
}
.seo-page__breadcrumbs {
  font-size: 13px;
  color: #878a99;
  margin-bottom: 24px;
  display: flex; justify-content: center; gap: 8px;
}
.seo-page__breadcrumbs a { color: #c5cae0; text-decoration: none; }
.seo-page__breadcrumbs a:hover { color: #fff; }

.seo-section { padding: 56px 0; border-top: 1px solid #eef0f5; }
.seo-section:first-of-type { border-top: none; }
.seo-section h2 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: #1a1f3a;
  margin: 0 0 16px;
}
.seo-section > .container > p,
.seo-section__intro {
  font-size: 16px; line-height: 1.7;
  color: #3a4458;
  max-width: 800px;
}
.seo-section ul,
.seo-section ol {
  padding-left: 24px;
  font-size: 15px; line-height: 1.7;
  color: #3a4458;
  max-width: 800px;
}
.seo-section li { margin: 8px 0; }
.seo-section strong { color: #1a1f3a; }

.seo-faq {
  background: #fff;
  border: 1px solid #eef0f5;
  border-radius: 12px;
  padding: 20px 24px;
  margin: 16px 0;
}
.seo-faq h3 {
  font-size: 16px; font-weight: 700;
  color: #1a1f3a;
  margin: 0 0 8px;
}
.seo-faq p {
  font-size: 14px; line-height: 1.6;
  color: #5a6478;
  margin: 0;
}

.seo-cta {
  background: linear-gradient(135deg, #405189 0%, #6b4cd6 100%);
  color: #fff;
  padding: 56px 24px;
  border-radius: 16px;
  text-align: center;
  margin: 48px 0 0;
}
.seo-cta h2 { color: #fff; font-size: 26px; margin: 0 0 12px; }
.seo-cta p { color: #d6dbf0; font-size: 16px; margin: 0 0 24px; }
.seo-cta .btn { background: #fff; color: #405189; }

.seo-related {
  background: #fff;
  border-top: 1px solid #eef0f5;
  padding: 48px 0;
}
.seo-related h2 {
  font-size: 22px; font-weight: 800;
  color: #1a1f3a;
  margin: 0 0 24px;
  text-align: center;
}
.seo-related__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.seo-related__item {
  background: #f8f9fc;
  border: 1px solid #eef0f5;
  border-radius: 12px;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}
.seo-related__item:hover {
  border-color: #405189;
  transform: translateY(-2px);
}
.seo-related__item h3 {
  font-size: 15px; font-weight: 700;
  color: #1a1f3a;
  margin: 0 0 6px;
}
.seo-related__item p {
  font-size: 13px; line-height: 1.5;
  color: #5a6478;
  margin: 0;
}

@media (max-width: 768px) {
  .srm-block { padding: 64px 0; }
  .srm-modes { gap: 16px; }
  .srm-mode--featured { transform: none; }
}
