/* ============ FAQ BLOCK (титановые страницы) ============ */
.faq-section-titan {
  padding: 40px 0;
}

.faq-section-titan .block-title-titan {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-section-titan .block-title-titan::before {
  content: '';
  width: 4px;
  height: 24px;
  background: #f59e0b;
  border-radius: 2px;
}

.faq-list-titan {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item-titan {
  background: #151a22;
  border: 1px solid #252c37;
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item-titan:hover {
  border-color: #2a323d;
}

.faq-item-titan.open {
  border-color: #f59e0b;
}

.faq-question-titan {
  width: 100%;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: transparent;
  border: 0;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: #e6e9ef;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s ease;
}

.faq-question-titan:hover {
  color: #f59e0b;
}

.faq-question-titan:focus-visible {
  outline: 2px solid #f59e0b;
  outline-offset: -2px;
}

/* SVG-стрелка через data-URI (не текстовый символ) */
.faq-question-titan::after {
  content: '';
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23f59e0b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.3s ease;
}

.faq-item-titan.open .faq-question-titan::after {
  transform: rotate(180deg);
}

/* Плавное открытие/закрытие: max-height + opacity */
.faq-answer-titan {
  max-height: 0;
  overflow: hidden;
  padding: 0 22px;
  opacity: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #8b95a5;
  transition: max-height 0.35s ease, padding 0.35s ease, opacity 0.25s ease;
}

.faq-item-titan.open .faq-answer-titan {
  max-height: 800px; /* запас, чтобы длинный ответ не обрезался */
  padding: 0 22px 20px;
  opacity: 1;
}

/* Мобильная адаптация */
@media (max-width: 640px) {
  .faq-section-titan {
    padding: 40px 0;
  }

  .faq-question-titan {
    padding: 16px 18px;
    font-size: 14px;
  }

  .faq-item-titan.open .faq-answer-titan {
    padding: 0 18px 16px;
  }
}