/* ============================================================
   FAQ — 공용 아코디언 FAQ 섹션 (clean variant)
   적용 페이지: index, skin/{complex,firming,index,whitening}, vitality
   다이어트 3개 페이지(diet, diet/source, diet/system)는 카드형 변형으로
   인라인 유지.
   ============================================================ */

.faq {
  padding: clamp(72px, 9vw, 120px) 0;
}
.faq-inner {
  max-width: 880px;
  margin: 0 auto;
}
.faq-head {
  text-align: center;
  margin-bottom: 56px;
}
.faq-list {
  border-top: 2px solid var(--charcoal);
}
.faq-item {
  border-bottom: 1px solid var(--gray-100);
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 28px 8px;
  font-size: 19px;
  font-weight: 700;
  color: var(--charcoal);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--magenta); }
.faq-q-num {
  color: var(--magenta);
  font-family: var(--font-en);
  font-style: italic;
  font-size: 16px;
  font-weight: 500;
  margin-right: 16px;
}
.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: 1.5px solid var(--charcoal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: all 0.3s;
}
.faq-item.open .faq-icon {
  background: var(--magenta);
  border-color: var(--magenta);
  color: var(--white);
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 8px;
}
.faq-item.open .faq-a {
  max-height: 500px;
  padding: 0 8px 32px;
}
.faq-a-text {
  font-size: 17px;
  color: var(--gray-700);
  line-height: 1.85;
  padding-left: 56px;
}
