/* ============================================
   FAQ SECTION – FULL (only FAQ-related classes)
   ============================================ */

/* === FAQ PAGE === */
.faq-page {
  background-color: var(--color-cream, #FAF7F4);
  min-height: 1px;
  padding-top: 4rem;
  padding-bottom: 5rem;
}

/* === FAQ HEADER === */
.faq-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.faq-subtitle {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.125rem;
  color: #7A3451;
  display: block;
  margin-bottom: 0.5rem;
}

.faq-title {
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  font-size: 3rem;
  color: #391B26;
  margin-bottom: 2rem;
}

/* === SEARCH BAR === */
.search-wrapper {
  position: relative;
  max-width: 28rem;
  margin: 0 auto;
}

.search-input {
  width: 100%;
  background-color: #fff;
  border: 1px solid #D6C8D0;
  padding: 1rem 1rem 1rem 3rem;
  border-radius: 9999px;
  font-size: 1rem;
}

.search-input:focus {
  outline: none;
  border-color: #391B26;
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

/* === CONTENT === */
.faq-content {
  max-width: 64rem;
  margin: 0 auto;
}

/* === CATEGORY TABS === */
.category-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #D6C8D0;
}

.category-tab {
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background-color: transparent;
  color: #391B26;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.category-tab:hover {
  background-color: rgba(214, 200, 208, 0.3);
}

.category-tab.active {
  background-color: #391B26;
  color: #fff;
}

/* === FAQ LIST === */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* === FAQ ITEM === */
.faq-item {
  background-color: #fff;
  border: 1px solid #D6C8D0;
  border-radius: 0.5rem;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.faq-item.hidden {
  display: none;
}

/* === QUESTION === */
.faq-question {
  width: 100%;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: rgba(250, 247, 244, 0.5);
}

.faq-question span {
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: #391B26;
  padding-right: 2rem;
}

/* === ICON === */
.faq-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: #7A3451;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* === ANSWER === */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 2rem;
  opacity: 0;
  transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 24rem;
  padding: 0 2rem 2rem;
  opacity: 1;
}

.faq-answer p {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  color: #555;
}

/* === NO RESULTS === */
.no-results {
  text-align: center;
  padding: 3rem 0;
  color: #555;
}

.clear-search-btn {
  background: none;
  border: none;
  color: #7A3451;
  text-decoration: underline;
  font-size: 0.875rem;
  cursor: pointer;
}

/* === HELP SECTION === */
.help-section {
  margin-top: 5rem;
  text-align: center;
  background-color: rgba(214, 200, 208, 0.2);
  padding: 3rem;
  border-radius: 0.5rem;
  border: 1px solid #D6C8D0;
}

.help-icon {
  width: 2rem;
  height: 2rem;
  color: #7A3451;
  margin: 0 auto 1rem;
}

.help-title {
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #391B26;
  margin-bottom: 0.5rem;
}

.help-description {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  color: #555;
  margin-bottom: 2rem;
}

.help-button {
  display: inline-block;
  background-color: #391B26;
  color: #fff;
  padding: 0.75rem 2rem;
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
}

.help-button:hover {
  background-color: #7A3451;
}
