:root {
  --accent: #1677ff;
  --accent-dark: #0b5cd6;
  --accent-soft: #e7f1ff;
  --text-main: #111827;
  --text-muted: #6b7280;
  --border-soft: #e5e7eb;
  --bg-grey: #f5f7fb;
}

/* БАЗА */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-main);
  background: #ffffff;
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
}

.logo {
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.03em;
  color: #111827;
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.logo-plus {
  color: var(--accent);
}

.header-phones {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  color: var(--text-muted);
  gap: 2px;
}

.header-phones a {
  color: inherit;
  text-decoration: none;
}

.header-phones a:hover {
  color: var(--accent);
}

.header-cta {
  white-space: nowrap;
}

/* БУРГЕР */

.burger {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #ffffff;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 0;
  cursor: pointer;
}

.burger span {
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: #111827;
}

/* КНОПКИ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.18s ease-out;
}

.btn-lg {
  padding: 12px 26px;
  font-size: 15px;
}

.btn-primary {
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(22, 119, 255, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 14px 34px rgba(22, 119, 255, 0.45);
  transform: translateY(-1px);
}

.btn-outline {
  background: #ffffff;
  color: var(--accent-dark);
  border-color: rgba(22, 119, 255, 0.3);
}

.btn-outline:hover {
  background: var(--accent-soft);
}

/* HERO */

.hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../img/main-bg.jpg"); /* поменяй на свой фон */
  background-size: cover;
  background-position: center;
  filter: blur(8px);
  transform: scale(1.08);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left,
      rgba(22, 119, 255, 0.55),
      rgba(15, 23, 42, 0.9));
}

.hero-content {
  position: relative;
  padding: 56px 16px 64px;
  color: #ffffff;
  max-width: 760px;
}

.hero-content h1 {
  margin: 0 0 6px;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.2;
}

.hero-content h2 {
  margin: 0 0 16px;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 500;
  color: #e5edff;
}

.hero-content p {
  margin: 0 0 24px;
  font-size: 15px;
  color: rgba(249, 250, 251, 0.88);
}

/* СЕКЦИИ */

.section {
  padding: 56px 0;
}

.article {
  max-width: 840px;
}

/* ТЕКСТ СТАТЬИ */

.article-body h2 {
  font-size: 24px;
  margin: 32px 0 12px;
  position: relative;
  padding-bottom: 10px;
}

.article-body h2:first-of-type {
  margin-top: 0;
}

.article-body h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 72px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
}

.article-body h3 {
  font-size: 18px;
  margin: 20px 0 8px;
}

.article-body p {
  font-size: 15px;
  color: var(--text-main);
  margin: 0 0 14px;
}

/* СПИСКИ */

.bullet-list {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}

.bullet-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 6px;
  font-size: 14px;
}

.bullet-list li::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
}

/* ВЫДЕЛЕННЫЕ БЛОКИ */

.note {
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--accent-soft);
  font-size: 14px;
  color: #0f172a;
  border: 1px solid rgba(22, 119, 255, 0.25);
  margin-bottom: 16px;
}

.example {
  border-radius: 16px;
  border: 1px solid var(--border-soft);
  padding: 16px 18px;
  background: #f9fafb;
  margin: 16px 0 18px;
}

.example h3 {
  margin-top: 0;
}

.final {
  font-weight: 500;
  font-size: 15px;
  margin-top: 10px;
}

/* CTA */

.cta {
  background: var(--bg-grey);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-text h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.cta-text p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* АДАПТИВ */

@media (max-width: 768px) {
  .header-inner {
    gap: 16px;
  }

  .header-phones {
    display: none;
  }

  .hero-content {
    padding-top: 40px;
    padding-bottom: 48px;
  }

  .section {
    padding: 40px 0;
  }

  .cta-inner {
    align-items: flex-start;
  }
}

/* Обёртка, чтобы таблица не «убегала» по ширине */
.table-wrapper {
  margin: 24px 0 32px;
  overflow-x: auto;
}

/* Базовый вид таблицы */
.compare-table {
  width: 100%;
  max-width: 860px;
  border-collapse: collapse;
  border-spacing: 0;
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.5;
  color: #111827;
}

/* Заголовок */
.compare-table thead th {
  padding: 12px 16px;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
  border-bottom: 1px solid #e5e7eb;
}

/* Первая колонка (параметр) */
.compare-table tbody td:first-child {
  font-weight: 500;
  white-space: nowrap;
}

/* Ячейки тела */
.compare-table tbody td {
  padding: 12px 16px;
  vertical-align: top;
  border-bottom: 1px solid #f0f2f5;
}

/* Небольшое подсерое фоновое выделение при наведении строки */
.compare-table tbody tr:hover {
  background-color: #f9fafb;
}

/* Адаптив: уменьшаем шрифт на узких экранах */
@media (max-width: 640px) {
  .compare-table {
    font-size: 13px;
  }

  .compare-table thead th,
  .compare-table tbody td {
    padding: 10px 10px;
  }
}

