/* FAQ Аккордеон - CSS стили */

.faq-section {
  margin: 30px 0;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 8px;
}

.faq-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 25px;
  color: #333;
  text-align: center;
}

.faq-accordion {
  max-width: 100%;
}

.faq-item {
  margin-bottom: 15px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.faq-question {
  padding: 18px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  transition: background 0.3s ease;
  user-select: none;
}

.faq-question:hover {
  background: #f5f5f5;
}

.faq-question h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  flex: 1;
  padding-right: 15px;
  line-height: 1.5;
}

.faq-icon {
  font-size: 24px;
  font-weight: bold;
  color: #007bff;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: #fff;
}

.faq-item.active .faq-answer {
  max-height: 1000px;
}

.faq-answer p {
  margin: 0;
  padding: 15px 20px 20px 20px;
  color: #555;
  line-height: 1.7;
  font-size: 15px;
}

/* Адаптивность */
@media (max-width: 768px) {
  .faq-section {
    padding: 15px;
  }
  
  .faq-title {
    font-size: 20px;
  }
  
  .faq-question {
    padding: 15px;
  }
  
  .faq-question h3 {
    font-size: 15px;
  }
  
  .faq-answer p {
    padding: 15px;
  }
}

