.faq-section {
  padding: 60px 0;
  background: #ffffff;
}

.container+ {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.faq-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #333;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.faq-question {
  width: 100%;
  padding: 20px;
  background: #fff;
  border: none;
  text-align: left;
  font-size: 20px;
  font-weight: 400;
  color: #333;
  cursor: pointer;
  transition: background 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: '+';
  font-size: 2.0rem;
  font-weight: 400;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-question.active {
  background: #f8f9fa;
  color: #1555ca;
  font-weight: 400;
}

.faq-question.active::after {
  transform: rotate(45deg);
}

.faq-question:hover,
.faq-question.active:hover {
  background: #f0f0f0;
  color: #1555ca !important;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background: #fafafa;
  font-weight: 300 !important;
  font-size: 20px;
  padding: 0 20px; /* ← 0 сверху/снизу в закрытом */
}

.faq-answer.active {
  max-height: 1000px;
  padding: 20px; /* ← Полные паддинги только в открытом */
  line-height: 1.5;
  font-weight: 300 !important;
}

@media (max-width: 768px) {
  .faq-section {
    padding: 40px 0;
  }

  .faq-section h2 {
    font-size: 20px;
    font-weight: 400;
  }
  
  .faq-question {
    padding: 15px;
    font-size: 20px;
    font-weight: 400;
  }
  
  .faq-answer {
    padding: 0 15px;
  }
  
  .faq-answer.active {
    padding: 15px;
  }
}