/* ===== TARIFFS PAGE (/tariffs) =====
   Базовая ДС — site-ds.css (button, card, subtitle, section, faq, glow).
   Здесь — только специфика страницы тарифов. */

/* ===== HERO ===== */
.tariffs-hero {
  padding-top: 30px;
  text-align: center;
}
@media (min-width: 768px) { .tariffs-hero { padding-top: 60px; } }

.tariffs-hero__cta { margin-top: 10px; }

/* ===== COMPARISON TABLE ===== */
.tariffs-table__wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tariffs-table__grid {
  width: 100%;
  min-width: 800px; /* на <768px включается горизонтальный скролл; 5 тарифных колонок */
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.4;
}
@media (min-width: 768px) { .tariffs-table__grid { font-size: 16px; } }
@media (max-width: 767px) {
  .tariffs-table__grid th:first-child,
  .tariffs-table__grid td:first-child { min-width: 110px; max-width: 110px; white-space: normal; font-size: 13px; }
}

.tariffs-table__grid th,
.tariffs-table__grid td {
  padding: 14px 16px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  vertical-align: top;
}

.tariffs-table__grid thead th {
  vertical-align: bottom;
  padding-bottom: 18px;
}

/* Первая колонка (названия фич) — липкая при горизонтальном скролле */
.tariffs-table__grid th:first-child,
.tariffs-table__grid td:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  background: #11132A;
  text-align: left;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  min-width: 170px;
  max-width: 170px;
}

.tariffs-table__name {
  display: block;
  font-size: 17px;
  font-weight: 600;
}
@media (min-width: 768px) { .tariffs-table__name { font-size: 20px; } }

/* Колонка «Бесплатно» — мягкая подсветка фона */
.tariffs-table__col--free { background: rgba(116, 66, 200, 0.18); }
/* Стартер — та же «частная» группа тарифов, тоном слабее */
.tariffs-table__col--private { background: rgba(116, 66, 200, 0.09); }

/* Бейдж «Хит продаж» на колонке «Премиум» */
.tariffs-table__badge {
  display: inline-block;
  margin-bottom: 8px;
  padding: 5px 12px;
  border-radius: 50px;
  background: linear-gradient(94.97deg, #4E00A9 1.93%, #F1008E 96.93%);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

/* Подпись «начните здесь» под названием колонки */
.tariffs-table__hint {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 400;
  color: #fea036;
  white-space: nowrap;
}

.tariffs-table__yes { color: #fea036; font-weight: 700; }
.tariffs-table__no { color: rgba(255, 255, 255, 0.35); }

/* ===== BIZ BLOCK ===== */
.tariffs-biz {
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
}

.tariffs-biz__title {
  margin: 0 0 15px;
  font-size: 24px;
  font-weight: 600;
}
@media (min-width: 768px) { .tariffs-biz__title { font-size: 30px; } }

.tariffs-biz__text {
  margin: 0 0 25px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}
@media (min-width: 768px) { .tariffs-biz__text { font-size: 18px; } }

.tariffs-biz__more { margin: 20px 0 0; }
.tariffs-biz__more .link { font-size: 16px; }
