/* --- FAQ Section Wrapper --- */
.faq-section {
  width: 100%;
  background-color: #FFFFFF;
  padding: 80px 0 100px;
  box-sizing: border-box;
}

.faq-container {
  max-width: 1374px; /* Matches alignment boundaries */
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

/* --- FAQ Typography --- */
.faq-title {
  font-family: var(--font-family-base);
  font-size: var(--h3-font-size); /* 26px regular */
  font-weight: 400;
  color: var(--h3-color);
  margin-bottom: 16px;
  text-align: center;
}

.faq-desc {
  font-family: var(--font-family-base);
  font-size: var(--body-large-font-size); /* Body/Large 16px regular */
  font-weight: var(--body-large-font-weight);
  color: var(--body-large-color);
  max-width: 800px;
  margin: 0 auto 30px;
  line-height: var(--body-large-line-height);
  text-align: center;
}

.faq-action-btn {
  margin-bottom: 60px;
}

/* --- Accordion Reusable Wrapper --- */
faq-accordion {
  display: block;
  width: 100%;
  max-width: 1100px; /* Center-aligned but content-wide */
  border-top: 1px solid #E2E8F0;
  box-sizing: border-box;
}

faq-item {
  display: block;
  width: 100%;
  border-bottom: 1px solid #E2E8F0;
  box-sizing: border-box;
}

/* --- Accordion Item Header --- */
.faq-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s ease;
}

.faq-question {
  font-family: var(--font-family-base);
  font-size: var(--body-regular-font-size); /* body regular 14px */
  font-weight: 400; /* Regular weight h6 #565D66 */
  color: #565D66;
  line-height: var(--body-regular-line-height);
  padding-right: 24px;
  transition: color 0.2s ease;
}

.faq-header:hover .faq-question {
  color: #0052ED;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  stroke: #64748B;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), stroke 0.2s ease;
  flex-shrink: 0;
}

.faq-header:hover .faq-chevron {
  stroke: #0052ED;
}

/* --- Open States --- */
faq-item.open .faq-chevron {
  transform: rotate(180deg);
  stroke: #0052ED;
}

faq-item.open .faq-question {
  color: #0052ED;
}

/* --- Collapsible Panel --- */
.faq-answer-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.faq-answer {
  padding-bottom: 24px;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #475569;
  line-height: 1.6;
  text-align: left;
}

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
  .faq-section {
    padding: 60px 0 80px;
  }
}

@media (max-width: 768px) {
  .faq-section {
    padding: 50px 0 60px;
  }
  
  .faq-title {
    margin-bottom: 12px;
  }
  
  .faq-desc {
    margin-bottom: 20px;
  }
  
  .faq-action-btn {
    margin-bottom: 40px;
  }
  
  .faq-header {
    padding: 20px 0;
  }
  
  .faq-chevron {
    width: 18px;
    height: 18px;
  }
  
  .faq-answer {
    font-size: 13.5px;
    padding-bottom: 20px;
  }
}
