/* БАЗОВОЕ СОСТОЯНИЕ КНОПОК (tabbtn-*) */
[class*="tabbtn-"],
[class*="tabbtn-"] .tn-atom {
    transition: all .25s ease;
    border: 1px solid #FEFEFE;
    background: #FEFEFE;       /* неактивная – белая */
    color: #2E2A28;            /* тёмный текст */
    border-radius: 15px;
    cursor: pointer;
}

/* HOVER */
[class*="tabbtn-"]:hover,
[class*="tabbtn-"]:hover .tn-atom {
    background: #0D7FF3 !important;
    color: #FFFFFF !important;
    border-color: #0D7FF3 !important;
    border-radius: 15px !important;
}

/* АКТИВНАЯ КНОПКА (JS вешает .is-active на тот же элемент, где tabbtn-*) */
[class*="tabbtn-"].is-active,
[class*="tabbtn-"].is-active .tn-atom {
    background: #0D7FF3 !important;  /* фон синий */
    color: #FFFFFF !important;       /* текст белый */
    border-color: #0D7FF3 !important;
    border-radius: 15px !important;
}
.cb-faq {
  max-width: 1000px;
}

.cb-faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 16px 0;
}

.cb-faq-question {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.4;
  cursor: pointer;
  position: relative;
  padding-right: 32px;
}

.cb-faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-weight: 600;
  color: #239FBE; /* твой синий */
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.cb-faq-item.is-open .cb-faq-question::after {
  content: '–';
}

.cb-faq-answer {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  color: #555;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  margin-top: 8px;
}

.cb-faq-item.is-open .cb-faq-answer {
  max-height: 400px; /* с запасом */
  opacity: 1;
}
/* МОБИЛЬНАЯ ВЕРСИЯ — компактнее карточки */
@media (max-width: 639px) {
  .cb-faq-item {
    padding: 10px 14px;      /* меньше высоты */
    margin-bottom: 8px;      /* меньше расстояние между карточками */
  }

  .cb-faq-question {
    padding-right: 28px;     /* чуть меньше отступ под иконку */
  }

  .cb-faq-question::after {
    font-size: 22px;         /* уменьшить плюсик под мобилу */
  }
}
/* ==== ОСНОВА КНОПКИ ==== */

.cb-btn-roll {
  position: relative;
  display: block;
  width: 100%;     /* ширину/высоту задаёшь напрямую в ZeroBlock */
  height: 100%;
  border-radius: 10px;

  background: transparent;
  color: #FFFFFF !important;

  font-family: 'Montserrat', sans-serif;
  font-weight: var(--cb-btn-font-weight, 400) !important;
  font-size: var(--cb-btn-font-pc, 18px);

  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;

  /* убрали тени и свечение */
  box-shadow: none !important;
  transition: none;
}

/* ==== ФИРМЕННЫЙ ГРАДИЕНТ ==== */
.cb-btn-gradient {
  background: linear-gradient(90deg, #0D4DA6 0%, #176CE4 100%);
}

/* ==== ВНУТРЕННИЙ КОНТЕЙНЕР ==== */
.cb-btn-inner {
  position: absolute;
  inset: 0;
}

/* ОБА ТЕКСТА */
.cb-btn-inner span {
  position: absolute;
  left: 0;
  width: 100%;
  text-align: center;
  transform: translateY(-50%);
  transition: top 0.22s cubic-bezier(.45,.25,.55,1);
}

/* ВЕРХНИЙ ТЕКСТ — ПО ЦЕНТРУ */
.cb-btn-inner span:nth-child(1) {
  top: 50%;
}

/* НИЖНИЙ ТЕКСТ — СКРЫТ ВНИЗУ */
.cb-btn-inner span:nth-child(2) {
  top: 150%;
}

/* ==== АНИМАЦИЯ ==== */

/* верхний уходит вверх */
.cb-btn-roll:hover .cb-btn-inner span:nth-child(1) {
  top: -50%;
}

/* нижний поднимается в центр */
.cb-btn-roll:hover .cb-btn-inner span:nth-child(2) {
  top: 50%;
}

/* ==== АДАПТИВ КЕГЛЯ ==== */

@media (max-width: 959px) {
  .cb-btn-roll {
    font-size: var(--cb-btn-font-tab, 16px);
  }
}

@media (max-width: 639px) {
  .cb-btn-roll {
    font-size: var(--cb-btn-font-mob, 14px);
  }
}
#rec1674839441 .t396__artboard {
  overflow: hidden !important;
}
/* ===============================
   BUTTON FALLBACK (anti-bug)
   Спасает кнопки при недогрузе CSS
   =============================== */

a.t-btn,
.t-btn,
.t-submit,
button.t-submit {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 14px;
  text-decoration: none !important;
  line-height: 1.1;
  white-space: nowrap;
}

/* предотвращаем визуальное дублирование текста */
a.t-btn span,
.t-btn span {
  display: inline-block;
}

/* если внезапно слетает фон — кнопка всё равно остаётся кнопкой */
a.t-btn {
  cursor: pointer;
}

/* мобила */
@media (max-width: 480px) {
  a.t-btn,
  .t-btn,
  .t-submit {
    padding: 12px 18px;
    border-radius: 12px;
  }
}
/* Активная таб-кнопка — белый текст */
.tabbtn-1.t-active,
.tabbtn-2.t-active,
.tabbtn-3.t-active,
.tabbtn-4.t-active {
    color: #ffffff !important;
}

/* Если текст внутри span / div */
.tabbtn-1.t-active *,
.tabbtn-2.t-active *,
.tabbtn-3.t-active *,
.tabbtn-4.t-active * {
    color: #ffffff !important;
}
/* 1) Ловим активность через aria-selected (часто так в табах) */
.tabbtn-1[aria-selected="true"],
.tabbtn-2[aria-selected="true"],
.tabbtn-3[aria-selected="true"],
.tabbtn-4[aria-selected="true"] { color:#fff !important; }

.tabbtn-1[aria-selected="true"] *,
.tabbtn-2[aria-selected="true"] *,
.tabbtn-3[aria-selected="true"] *,
.tabbtn-4[aria-selected="true"] * { color:#fff !important; }

/* 2) Ловим активность через типичные классы табов Tilda */
.tabbtn-1.t-active, .tabbtn-2.t-active, .tabbtn-3.t-active, .tabbtn-4.t-active,
.tabbtn-1.t-tabsitem_active, .tabbtn-2.t-tabsitem_active, .tabbtn-3.t-tabsitem_active, .tabbtn-4.t-tabsitem_active,
.tabbtn-1.tn-tab-active, .tabbtn-2.tn-tab-active, .tabbtn-3.tn-tab-active, .tabbtn-4.tn-tab-active,
.tabbtn-1.active, .tabbtn-2.active, .tabbtn-3.active, .tabbtn-4.active {
  color:#fff !important;
}

.tabbtn-1.t-active *, .tabbtn-2.t-active *, .tabbtn-3.t-active *, .tabbtn-4.t-active *,
.tabbtn-1.t-tabsitem_active *, .tabbtn-2.t-tabsitem_active *, .tabbtn-3.t-tabsitem_active *, .tabbtn-4.t-tabsitem_active *,
.tabbtn-1.tn-tab-active *, .tabbtn-2.tn-tab-active *, .tabbtn-3.tn-tab-active *, .tabbtn-4.tn-tab-active *,
.tabbtn-1.active *, .tabbtn-2.active *, .tabbtn-3.active *, .tabbtn-4.active * {
  color:#fff !important;
}

/* 3) На случай если внутри не текст, а SVG-иконки */
.tabbtn-1[aria-selected="true"] svg, .tabbtn-2[aria-selected="true"] svg,
.tabbtn-3[aria-selected="true"] svg, .tabbtn-4[aria-selected="true"] svg,
.tabbtn-1.t-active svg, .tabbtn-2.t-active svg, .tabbtn-3.t-active svg, .tabbtn-4.t-active svg,
.tabbtn-1.active svg, .tabbtn-2.active svg, .tabbtn-3.active svg, .tabbtn-4.active svg {
  fill:#fff !important;
  stroke:#fff !important;
}