/* FAQ Section Styles (shared) */

.fiscal-faq-section {
  width: 100%;
  background: transparent;
  padding: 3rem 0;
}

.fiscal-faq-section .fiscal-section-content {
  max-width: 960px;
  margin: 0 auto;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(74, 222, 128, 0.35);
  box-shadow: 0 8px 24px rgba(74, 222, 128, 0.08);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  font-family: inherit;
  text-align: left;
  padding: 1rem 1.25rem;
  cursor: pointer;
}

.faq-question:focus-visible {
  outline: 2px solid rgba(74, 222, 128, 0.6);
  outline-offset: 2px;
  border-radius: 10px;
}

.faq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.faq-question:hover .faq-icon {
  background: rgba(74, 222, 128, 0.08);
  border-color: rgba(74, 222, 128, 0.35);
  color: #4ade80;
}

.faq-question.active .faq-icon {
  transform: rotate(45deg); /* plus → X-ish when open */
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.2s ease;
  padding: 0 1.25rem;
}

.faq-answer p {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  margin: 0.5rem 0 0.9rem 0;
  font-weight: 300;
  letter-spacing: 0.01em;
  font-family: inherit;
}

.faq-answer.active {
  padding: 0 1.25rem 1rem 1.25rem;
}

/* Section heading alignment */
#faq-title.fiscal-section-label {
  text-align: center;
}

@media (max-width: 768px) {
  .faq-question {
    padding: 0.9rem 1rem;
    font-size: 0.95rem;
  }
  .faq-answer {
    padding: 0 1rem;
  }
  .faq-answer.active {
    padding: 0 1rem 0.9rem 1rem;
  }
}


