.cgb-botcmp {
  padding: 40px 0;
  box-sizing: border-box;
}
.cgb-botcmp *,
.cgb-botcmp *:before,
.cgb-botcmp *:after {
  box-sizing: border-box;
}
.cgb-botcmp__container {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 0 50px;
}
.cgb-botcmp__title {
  max-width: 1042px;
  margin: 0 auto 30px;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 48px;
  line-height: 1;
  letter-spacing: -0.08em;
  text-align: center;
  color: #252b36;
}

/* Таблица */
.cgb-botcmp__scroll {
  border: 1px solid rgba(19, 19, 19, 0.1);
  border-radius: 10px;
  overflow: hidden;
}
.cgb-botcmp__table {
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  table-layout: fixed;
  font-family: "Inter", sans-serif;
}
.cgb-botcmp__c0 { width: 24.48%; }
.cgb-botcmp__c1,
.cgb-botcmp__c2 { width: 37.76%; }
.cgb-botcmp__th,
.cgb-botcmp__td {
  height: 52px;
  padding: 16px;
  border: 0;
  border-bottom: 1px solid rgba(19, 19, 19, 0.1);
  text-align: left;
  vertical-align: middle;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: -0.04em;
  color: #131313;
  background: #fff;
}
.cgb-botcmp__th {
  font-weight: 500;
  background: #f3f3f3;
}
.cgb-botcmp__th--empty {
  border-right: 1px solid rgba(19, 19, 19, 0.1);
}
.cgb-botcmp__th--accent {
  background: #0389cb;
  color: #fff;
  border-bottom-color: transparent;
}
.cgb-botcmp__td { font-weight: 400; }
.cgb-botcmp__td--label {
  font-weight: 400;
  border-right: 1px solid rgba(19, 19, 19, 0.1);
}
.cgb-botcmp__td--accent {
  background: #ebf6fb;
  color: #0389cb;
  border-right: 1px solid rgba(19, 19, 19, 0.1);
}
.cgb-botcmp__tr--together .cgb-botcmp__td,
.cgb-botcmp__tr--together .cgb-botcmp__td--label {
  border-bottom: 0;
}
.cgb-botcmp__tr--together .cgb-botcmp__td--together { border-right: 0; }

/* Слайдер (мобильный) скрыт на десктопе */
.cgb-botcmp__slider { display: none; }

/* Планшет: таблица держит ширину и прокручивается по горизонтали */
@media (max-width: 991px) {
  .cgb-botcmp { padding: 50px 0; }
  .cgb-botcmp__container { padding: 0 20px; }
  .cgb-botcmp__title { max-width: 728px; margin-bottom: 50px; color: #131313; }
  .cgb-botcmp__scroll {
    border: 0;
    border-radius: 0;
    overflow-x: auto;
    padding-bottom: 20px;
    scrollbar-width: thin;
    scrollbar-color: #7a7a7a #e8e8e8;
  }
  .cgb-botcmp__scroll::-webkit-scrollbar { height: 8px; }
  .cgb-botcmp__scroll::-webkit-scrollbar-track { background: #e8e8e8; border-radius: 100px; }
  .cgb-botcmp__scroll::-webkit-scrollbar-thumb { background: #7a7a7a; border-radius: 100px; }
  .cgb-botcmp__table {
    width: 1340px;
    border: 1px solid rgba(19, 19, 19, 0.1);
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 10px;
    overflow: hidden;
  }
}

/* Мобильный: строки таблицы — слайды */
@media (max-width: 620px) {
  .cgb-botcmp { padding: 40px 0; }
  .cgb-botcmp__title { margin-bottom: 30px; font-size: 32px; }
  .cgb-botcmp__scroll { display: none; }
  .cgb-botcmp__slider { display: flex; flex-direction: column; gap: 20px; }
  .cgb-botcmp__track {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .cgb-botcmp__track::-webkit-scrollbar { display: none; }
  .cgb-botcmp__slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
  }
  .cgb-botcmp__panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 15px;
    background: #fff;
    border-radius: 10px;
  }
  .cgb-botcmp__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .cgb-botcmp__num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 100px;
    background: #0389cb;
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: 22px;
    line-height: 24px;
    letter-spacing: -0.08em;
    color: #fff;
  }
  .cgb-botcmp__name,
  .cgb-botcmp__chat-title {
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: 22px;
    line-height: 24px;
    letter-spacing: -0.08em;
    text-align: center;
    color: #131313;
  }
  .cgb-botcmp__chat {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    padding: 15px;
    border-radius: 15px;
    background: #f3f3f3;
  }
  .cgb-botcmp__chat + .cgb-botcmp__chat { margin-top: -10px; }
  .cgb-botcmp__chat--accent { background: linear-gradient(90deg, #0389cb 0%, #6cabfc 100%); }
  .cgb-botcmp__chat--accent .cgb-botcmp__chat-title { color: #fff; }
  .cgb-botcmp__chat-text {
    padding: 0 0 0;
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: -0.04em;
    text-align: center;
    color: rgba(19, 19, 19, 0.7);
  }
  .cgb-botcmp__chat--accent .cgb-botcmp__chat-text { color: #fff; }
  .cgb-botcmp__nav { display: flex; align-items: center; justify-content: center; gap: 20px; }
  .cgb-botcmp__nav[hidden] { display: none; }
  .cgb-botcmp__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 100px;
    background: rgba(19, 19, 19, 0.1);
    color: #131313;
    cursor: pointer;
  }
  .cgb-botcmp__arrow:disabled { opacity: 0.5; cursor: default; }
  .cgb-botcmp__dots { display: flex; align-items: center; gap: 4px; }
  .cgb-botcmp__dot {
    width: 12px;
    height: 12px;
    padding: 0;
    border: 0;
    border-radius: 100px;
    background: rgba(19, 19, 19, 0.7);
    opacity: 0.35;
    cursor: pointer;
    transition: width 0.2s, background-color 0.2s, opacity 0.2s;
  }
  .cgb-botcmp__dot.is-active { width: 20px; background: #0389cb; opacity: 1; }
}
