/* Светлая тема, контент на белом фоне. Все классы с префиксом .seo- */
.seo-category { 
  border-radius: 16px; 
  background: #fff; 
  box-sizing: border-box;
}

.seo-hero {
  background: #f7f9fc;
  border: 1px solid #e6eaf2;
  border-radius: 14px;
  padding: 18px;
}

.seo-category h2 {
  font-size: 1.6rem;
  margin: 0 0 10px;
  color: #0f172a; /* сланцевый тёмный */
}

.seo-compare {
    margin-bottom: 50px;
}

.seo-compare h2{
    margin-top: 50px;
}

.seo-category .lead {
  color: #475569;
  line-height: 1.7;
  margin: 0;
}

.seo-grid { /* оставлено на будущее, сейчас карточки — full width */
  display: block;
  margin-top: 16px;
}

/* КАРТОЧКА — ВО ВСЮ ШИРИНУ */
.seo-card {
  width: 100%;
  border: 1px solid #e6eaf2;
  border-radius: 16px;
  padding: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(250,252,255,0.9));
  box-shadow: 0 8px 22px rgba(29,78,216,0.06);
  margin: 16px 0;
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
  box-sizing: border-box;
}

.seo-card:hover {
  box-shadow: 0 14px 32px rgba(29,78,216,0.10);
  transform: translateY(-1px);
  border-color: #dbe4f3;
}

.seo-card h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  color: #111827;
}

.seo-sections h4 {
  margin: 16px 0 8px;
  font-size: 1.05rem;
  color: #0f172a;
}

.seo-card p { color: #334155; line-height: 1.75; margin: 8px 0; }

.seo-bullets, .seo-specs, .seo-howto {
  margin: 0 0 10px 22px;
  color: #334155;
}

.seo-bullets li, .seo-specs li, .seo-howto li { margin: 6px 0; }

.seo-link { margin-top: 10px; }
.seo-link .btn-link {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 999px;
  background: #1d4ed8;  /* синий */
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 8px 18px rgba(29,78,216,0.18);
}
.seo-link .btn-link:hover {
  background: #1e40af; /* более тёмный */
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(29,78,216,0.22);
}

/* FAQ */
.seo-faq {
  border: 1px dashed #e6eaf2;
  border-radius: 14px;
  padding: 12px 14px;
  background: #fafcff;
  margin: 12px 0;
}
.seo-faq h3 { color: #0f172a; margin: 0 0 6px; }
.seo-faq p { color: #334155; margin: 0; }

/* АНИМАЦИЯ (без скрытия текста по умолчанию) */
.reveal { will-change: transform, opacity; }
.pre-reveal { opacity: 0; transform: translateY(12px); }
.in-view { opacity: 1; transform: none; transition: opacity .5s ease, transform .5s ease; }

/* Адаптив — карточка и так full width */
@media (min-width: 1024px) {
  .seo-card { padding: 22px; }
}

@media (max-width: 1199.98px) {
    .seo-link .btn-link {
        width: 100%;
        text-align: center;
    }
    
    .swiper-slide {
        margin-bottom: 20px;
    }
}
