

/* Start:/services/ai-agents/style.css?17887884902604*/
/* ==========================================================================
   AI-Agents Landing Page Styles
   ========================================================================== */

/* Development Stages Block (.ai-dev) */
.ai-dev__items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  row-gap: 24px;
}

.ai-dev__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ai-dev__icon {
  width: 60px;
  height: 60px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-dev__icon img,
.ai-dev__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

@media (max-width: 1024px) {
  .ai-dev__items {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .ai-dev__items {
    grid-template-columns: 1fr;
  }

  .ai-dev__icon {
    margin-bottom: 8px;
  }
}

/* Benefits Block (.ai-benefits) */
.ai-benefits {
  display: flex;
  flex-direction: column;
}

.ai-benefits__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.ai-benefits__card {
  background: #ebeef4;
  border-radius: 16px;
  padding: 20px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  min-height: 130px;
}

.ai-benefits__card:before {
  content: attr(data-count);
  font-weight: 800;
  font-size: 6.25rem;
  line-height: 1;
  color: rgba(0, 0, 0, 0.03);
  position: absolute;
  bottom: -3px;
  right: 16px;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.ai-benefits__card-title {
  position: relative;
  z-index: 1;
  color: #212529;
}

.ai-benefits__card-text {
  position: relative;
  z-index: 1;
  color: #212529;
}

.ai-benefits__note {
  color: #212529;
}

@media (max-width: 860px) {
  .ai-benefits__cards {
    grid-template-columns: 1fr;
  }

  .ai-benefits__card {
    min-height: 100px;
  }
}

@media (max-width: 375px) {
  .ai-benefits__card {
    padding: 16px 16px;
  }
}

/* FAQ Block adjustments */
.faq-item.open .faq-answer-inner {
  padding-top: 24px;
}

.faq-answer-inner > *:first-child {
  margin-top: 0;
}

.faq-answer-inner ul,
.faq-answer-inner ol {
  margin: 8px 0 24px;
  padding: 0;
}

.faq-answer-inner > ul:first-child,
.faq-answer-inner > ol:first-child {
  margin-top: 0;
}

.faq-answer-inner ul:last-child,
.faq-answer-inner ol:last-child {
  margin-bottom: 0;
}

.faq-answer-inner ul li,
.faq-answer-inner ol li {
  margin: 0;
}

.faq-answer-inner ul li + li,
.faq-answer-inner ol li + li {
  margin-top: 4px;
}

.faq-answer-inner ul li:before {
  top: 9px;
}

/* End */


/* Start:/local/components/artbyte/services.faq/templates/.default/style.css?17887884902511*/
/* Стили обертки каждого вопроса */
.faq-item {
  padding: 24px 0; /* Отступы сверху и снизу 24px */
  border-bottom: 1px solid #ebeef4; /* Нижний бордер из ТЗ */
}

/* Кнопка с вопросом */
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
  color: inherit;
  gap: 8px;
}

/* Иконка крестика/плюсика */
.faq-question svg {
  flex-shrink: 0;
  transition:
    transform 0.3s ease,
    color 0.2s ease;
  /* Чтобы иконка стояла ровно по центру строки текста: */
}

/* Ховер эффект для иконки (как на скрине с курсором) */
.faq-question:hover svg path {
  stroke: #f7683f; /* Оранжевый цвет при наведении */
}

/* Состояние "Открыто" - поворачиваем плюсик в крестик */
.faq-item.open svg {
  transform: rotate(45deg);
}

/* 
   Стили для описания (Анимация через Grid) 
   Это самый современный и плавный способ анимировать высоту
*/
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.faq-answer-inner {
  overflow: hidden;
  padding-top: 0;
  transition: padding-top 0.3s ease;
}

/* Когда элемент открыт: раскрываем grid и задаем расстояние до контента 24px */
.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.open .faq-answer-inner {
  padding-top: 24px; /* Расстояние между описанием и заголовком 24px */
}

.faq-answer-inner > *:first-child {
  margin-top: 0;
}

/* Списки внутри ответов FAQ */
.faq-answer-inner ul,
.faq-answer-inner ol {
  margin: 8px 0 24px;
  padding: 0;
}

.faq-answer-inner > ul:first-child,
.faq-answer-inner > ol:first-child {
  margin-top: 0;
}

.faq-answer-inner ul:last-child,
.faq-answer-inner ol:last-child {
  margin-bottom: 0;
}

.faq-answer-inner ul li,
.faq-answer-inner ol li {
  margin: 0;
}

.faq-answer-inner ul li + li,
.faq-answer-inner ol li + li {
  margin-top: 4px;
}

.faq-answer-inner ul li:before {
  top: 9px;
}

@media (max-width: 768px) {
    .faq-question {
        align-items: flex-start;
    }
}

/* End */


/* Start:/local/components/artbyte/services.cards-grid/templates/.default/style.css?17885272741373*/
.cards-grid-block {
  display: flex;
  flex-direction: column;
}

.cards-grid-block__container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 16px;
}

.cards-grid-block__left {
  font-size: 16px;
  line-height: 30px;
}

.cards-grid-block__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.cards-grid-block__card {
  background: #fff;
  box-shadow: 0px 24px 36px -12px #42516133;
  border-radius: 16px;
  padding: 20px 30px;
  display: flex;
  gap: 4px;
  flex-direction: column;
}

.cards-grid-block__card-title {
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
}

.cards-grid-block__card-desc {
  color: #212529;
}

/* Tablet */
@media (max-width: 1024px) {
  .cards-grid-block__container {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .cards-grid-block__cards {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .cards-grid-block__container {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .cards-grid-block__left {
    font-size: 14px;
    line-height: 24px;
  }
  .cards-grid-block__cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .cards-grid-block__card {
    padding: 20px 24px;
  }
  .cards-grid-block__card-desc {
    font-size: 12px;
    line-height: 20px;
  }
}

@media (max-width: 375px) {
  .cards-grid-block__card {
    padding: 16px 16px;
  }
}

/* End */
/* /services/ai-agents/style.css?17887884902604 */
/* /local/components/artbyte/services.faq/templates/.default/style.css?17887884902511 */
/* /local/components/artbyte/services.cards-grid/templates/.default/style.css?17885272741373 */
