/* Стили для секции FAQ (smart-faq) */


.smart-faq {
  padding: 40px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 30px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: var(--dark);
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--gray);
  font-weight: 400;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.faq-container {
  max-width: 1000px;
  margin: 0 auto;
}

.faq-categories {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.faq-category {
  padding: 12px 25px;
  background: white;
  border: 2px solid var(--gold);
  color: var(--gold);
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
}

.faq-category:hover,
.faq-category.active {
  background: var(--gold);
  color: white;
  transform: translateY(-2px);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: 15px;
  margin-bottom: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.faq-question {
  padding: 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--dark);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.faq-question span {
  flex: 1;
  margin-right: 15px;
}

.faq-question span h2,
.faq-question span h3 {
  font-size: 16px;
  letter-spacing: 0px;
  margin: 0;
  font-weight: 600;
  color: var(--dark);
  font-family: 'Raleway', sans-serif;
}

.faq-question i {
  color: var(--gold);
  transition: transform 0.3s ease;
  font-size: 14px;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.faq-item.active .faq-answer {
  padding: 25px;
  max-height: 300px;
}

.faq-answer p {
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 10px;
}

.faq-answer ul {
  color: var(--gray);
  line-height: 1.6;
  margin-left: 20px;
  margin-bottom: 10px;
}

.faq-answer li {
  margin-bottom: 8px;
}

.faq-no-results {
  text-align: center;
  padding: 50px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.no-results-content i {
  font-size: 3rem;
  color: var(--gold);
  margin-bottom: 20px;
}

.no-results-content p {
  color: var(--dark);
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.no-results-content p:last-of-type {
  color: var(--gray);
  margin-bottom: 25px;
}

.no-results-content .btn {
  margin-top: 20px;
}

/* Стили для кнопок */
.btn {
  display: inline-block;
  padding: 14px 32px;
  background-color: var(--gold);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transition);
  border: 2px solid var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 15px;
  cursor: pointer;
  font-family: 'Raleway', sans-serif;
}

.btn:hover {
  background-color: transparent;
  color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Адаптивность */
@media (max-width: 768px) {
  .smart-faq {
    padding: 30px 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1.1rem;
  }

  .faq-categories {
    gap: 10px;
    margin-bottom: 30px;
  }

  .faq-category {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .faq-question {
    padding: 20px;
    font-size: 0.95rem;
  }

  .faq-item.active .faq-answer {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .smart-faq {
    padding: 25px 0;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .faq-categories {
    gap: 8px;
    margin-bottom: 25px;
  }

  .faq-category {
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  .faq-question {
    padding: 18px;
    font-size: 0.9rem;
  }

  .faq-question span h2,
  .faq-question span h3 {
    font-size: 15px;
  }

  .faq-item.active .faq-answer {
    padding: 18px;
    max-height: 500px;
  }

  .faq-answer p,
  .faq-answer ul {
    font-size: 0.9rem;
  }
}

