.faq {
  background: var(--bg-light);
  padding: clamp(40px, 8vw, 80px) 0;
}

.faq-header {
  text-align: center;
  margin-bottom: clamp(40px, 8vw, 60px);
}

.faq h2 {
  color: var(--bg-dark);
  font-size: clamp(32px, 4vw, 42px);
}

.faq-subtitle {
  color: #374151;
  font-size: clamp(17px, 2.5vw, 19px);
  line-height: 1.7;
}

.faq-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2em;
}

.faq-category {
  margin-bottom: 2.5em;
}

.faq-category h3 {
  color: var(--bg-dark);
  font-weight: 600;
  margin-bottom: 1em;
  font-size: clamp(21px, 2.5vw, 24px);
}

.faq-item {
  background: var(--bg-invoice);
  border-radius: 12px;
  margin-bottom: 1.25em;
  overflow: hidden;
  border: 2px solid var(--border-medium);
  transition: border-color 0.3s ease;
}

.faq-item.open {
  border-color: var(--primary-yellow);
}

.faq-question {
  padding: 1.5em;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--bg-dark);
  font-size: clamp(17px, 2.5vw, 19px);
  line-height: 1.5;
}

.faq-item:hover {
  border: 2px solid;
  border-color: var(--primary-yellow)
}

.faq-item.open .faq-question {
  background: transparent;
  border-bottom: none !important;
}

.faq-item.open .faq-question:hover {
  background: transparent;
}

.faq-question span {
  display: none;
}

.faq-answer {
  padding: 0 1.5em 1.5em 1.5em;
  color: var(--bg-dark);
  line-height: 1.75;
  display: none;
  font-size: clamp(16px, 2vw, 18px);
  border-top: none;
}

.faq-item.open .faq-answer {
  display: block;
}

/* MOBILE - Extra Small (up to 480px) */
@media (max-width: 480px) {
  
  .faq-question {
      padding: 1.25em;
      font-size: clamp(16px, 4vw, 18px);
  }

  .faq-answer {
      padding: 0 1.25em 1.25em 1.25em;
      font-size: clamp(15px, 3.5vw, 17px);
  }

  .faq-category h3 {
      font-size: clamp(19px, 4vw, 21px);
  }

  .faq-question {
      padding: 1.25em;
      font-size: 15px;
  }

  .faq-answer {
      padding: 0 1.25em 1.25em 1.25em;
      font-size: 14px;
  }

  .faq-category h3 {
      font-size: 18px;
  }
}

/* TABLET - Small to Medium (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
  
  .faq-categories {
      grid-template-columns: 1fr;
  }


}

/* TABLET to DESKTOP - Medium (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {


  .faq-categories {
      grid-template-columns: 1fr;
      gap: 2em;
  }

}