/* ===== FAQ Section ===== */
.faq-section {
  padding: 80px var(--section-padding-x);
  background: var(--bg-light);
}

@media (max-width: 1200px) {
  .faq-section {
    padding: 80px 80px;
  }
}

@media (max-width: 992px) {
  .faq-section {
    padding: 60px 20px;
  }
}

.faq-container {
  max-width: 1140px;
  margin: 0 auto;
}

/* ===== Header ===== */
.faq-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2.5rem auto;
  padding-top: 1rem;
}

.faq-header h1 {
  font-family: var(--font-heading);
  font-size: var(--font-size-h2);
  font-weight: 600;
  color: var(--charcoal-black);
  margin: 0 0 0.5rem 0;
  line-height: 1.2;
}

.faq-header p {
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  color: var(--gray-muted);
  line-height: 1.6;
  margin: 0 auto;
  max-width: 500px;
}

.faq-header a {
  color: var(--gray-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq-header a:hover {
  color: var(--charcoal-black);
}

/* ===== FAQ List ===== */
.faq-list {
  display: flex;
  flex-direction: column;
}

/* ===== FAQ Item ===== */
.faq-item {
  border-bottom: 1px solid rgba(22, 22, 22, 0.08);
}

.faq-item:first-child {
  border-top: 1px solid rgba(22, 22, 22, 0.08);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--charcoal-black);
  font-family: var(--font-heading);
  font-size: var(--font-size-body);
  font-weight: 500;
  line-height: 1.5;
}

.faq-question:hover {
  color: #000;
}

.faq-question > span:first-child {
  flex: 1;
}

.faq-chevron {
  flex-shrink: 0;
  color: var(--gray-muted);
  display: flex;
  align-items: center;
  transition: transform 0.2s ease;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

/* ===== Answer ===== */
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition:
    max-height 0.3s ease,
    padding 0.3s ease;
  padding-left: 30px;
}

.faq-item.open .faq-answer {
  max-height: 200px;
  padding-bottom: 20px;
}

.faq-answer p {
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  color: var(--gray-muted);
  line-height: 1.7;
  margin: 0;
}

.faq-answer a {
  color: var(--gray-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq-answer a:hover {
  color: var(--charcoal-black);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .faq-header h1 {
    font-size: 2rem;
  }

  .faq-header {
    margin-bottom: 24px;
  }
}

@media (max-width: 480px) {
  .faq-section {
    padding: 60px 20px;
  }

  .faq-header h1 {
    font-size: 1.75rem;
  }
}
