/* ===========================================================
   FAQ page — category tabs + accordion
   Matches existing site design tokens (colors, radius, shadow)
=========================================================== */

.faq-category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.faq-category-tab {
  border: 1.5px solid #dcdfe4;
  background: #fff;
  color: #444;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.faq-category-tab:hover { border-color: #76b413; color: #1c1f26; }
.faq-category-tab.is-active {
  background: #1c1f26;
  border-color: #1c1f26;
  color: #fff;
}

.faq-category-group {
  margin-bottom: 40px;
}
.faq-category-group:last-child { margin-bottom: 0; }

.faq-category-heading {
  font-size: 20px;
  font-weight: 700;
  color: #1c1f26;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid #eef0f2;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border: 1px solid #ecedf0;
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-item.is-open {
  border-color: #b1d269;
  box-shadow: 0 4px 16px rgba(16, 34, 0, 0.06);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  text-align: left;
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 600;
  color: #1c1f26;
  cursor: pointer;
}

.faq-question i {
  flex-shrink: 0;
  color: #76b413;
  font-size: 14px;
  transition: transform 0.25s ease;
}
.faq-item.is-open .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-inner {
  padding: 0 22px 20px;
  color: #666;
  font-size: 14px;
  line-height: 1.7;
}
.faq-answer-inner p:last-child { margin-bottom: 0; }

@media (max-width: 575px) {
  .faq-question { font-size: 14px; padding: 15px 18px; }
  .faq-answer-inner { padding: 0 18px 16px; font-size: 13.5px; }
  .faq-category-tabs { gap: 8px; margin-bottom: 28px; }
  .faq-category-tab { padding: 7px 14px; font-size: 12px; }
}
