/*
   Talkiva — css\components\faq.css
   FAQ accordion (shared component)
   Extracted verbatim from the original css\pages\contact.css (rules unchanged)
   so any page can use the .faq accordion without the Contact page styles.
*/

.faq { background: linear-gradient(180deg, var(--bg-dark), #1f040a); }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: border-color 0.3s, background 0.3s;
}
.faq-item:hover { border-color: rgba(255, 255, 255, 0.22); }
.faq-item.open { border-color: rgba(239, 27, 67, 0.45); background: rgba(239, 27, 67, 0.05); }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px;
  text-align: left;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  color: #fff;
}
.faq-q .faq-icon {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
  transition: transform 0.45s var(--ease-out), background 0.3s, border-color 0.3s;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-out);
}
.faq-item.open .faq-a { max-height: 600px; }
.faq-a p { padding: 0 24px 24px; color: rgba(255, 255, 255, 0.65); font-size: 0.95rem; }
.faq-a a { color: var(--primary-soft); text-decoration: underline; text-underline-offset: 3px; }
