/* ============ FAQ PAGE - ULTRA CLEAN & SMOOTH ============ */
#faqList {
  margin-top: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}

#faqList:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.faq-item {
  border-bottom: 1px solid var(--line);
  transition: background 0.2s ease;
  position: relative;
}

.faq-item:last-child {
  border-bottom: none;
}

/* ===== نوار عمودی طلایی برای آیتم باز (جایگزین پس‌زمینه سنگین) ===== */
.faq-item.open {
  background: rgba(245, 165, 36, 0.02); /* بسیار کم‌رنگ، تقریباً محو */
}

.faq-item.open::before {
  content: '';
  position: absolute;
  right: 0;
  top: 12%;
  height: 76%;
  width: 3.5px;
  background: var(--amber);
  border-radius: 0 4px 4px 0;
  transition: height 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  font-size: 15.5px;
  font-weight: 600;
  background: transparent;
  color: var(--text);
  text-align: right;
  gap: 16px;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, padding 0.2s ease;
  position: relative;
  z-index: 1;
}

/* ===== هاور بسیار ملایم (فقط ۴٪ از رنگ طلایی) ===== */
.faq-q:hover {
  background: rgba(245, 165, 36, 0.04);
}

.faq-q .chev {
  font-size: 20px;
  font-weight: 300;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
              color 0.25s ease;
  color: var(--muted);
  flex-shrink: 0;
  display: inline-block;
  line-height: 1;
  margin-right: 4px;
}

.faq-q.open .chev {
  transform: rotate(180deg);
  color: var(--amber);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 24px;
  transition: max-height 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.2s ease,
              padding 0.25s ease;
}

.faq-a.open {
  max-height: 400px;
  opacity: 1;
  padding: 0 24px 22px 24px;
}

.faq-a p {
  margin: 0;
  line-height: 2;
  color: var(--muted);
  font-size: 14.5px;
  padding-right: 14px;
  border-right: 2px solid rgba(245, 165, 36, 0.15);
  transition: border-color 0.3s ease;
}

.faq-item.open .faq-a p {
  border-right-color: rgba(245, 165, 36, 0.3);
}