/* Общие настройки сайта */

body {
  background-color: #f6f4f1;
  color: #333333;
  line-height: 1.6;
}

/* Hero */

#hero {
  padding-top: 80px;
  padding-bottom: 80px;
}

/* Заголовки */

h1,
h2,
h3,
h4,
h5 {
  color: #2f3a3d;
}

/* Карточки */

.card {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Подвал */

footer {
  padding: 40px 0;
  text-align: center;
}
/* Единый ритм секций */

section {
  padding-top: 70px;
  padding-bottom: 70px;
}
/* Улучшение читаемости текста */

p {
  font-size: 16.5px;
}

/* Улучшение визуального ритма services страницы */

#services .container {
  max-width: 900px;
}

/* Более мягкие разделители */
hr {
  opacity: 0.15;
}

/* Чуть больше воздуха между блоками */
section {
  padding-top: 90px;
  padding-bottom: 90px;
}

/* ==========================
   Оформление статей
========================== */

.article-content {
  max-width: 800px;
  margin: 0 auto;
}

.article-content h2 {
  margin-top: 50px;
  margin-bottom: 20px;
  font-weight: 700;
}

.article-content p {
  margin-bottom: 20px;
  line-height: 1.9;
}

.article-content ul {
  margin-bottom: 25px;
}

.article-content li {
  margin-bottom: 10px;
}

.article-meta {
  color: #6c757d;
  font-size: 14px;
}

html {
  scroll-behavior: smooth;
}

.nav-link.active {
  font-weight: 600;
  color: #0d6efd !important;
}
