/* ============================================================
   FAQ ACCORDION — shared component
   Used by: faq.html, index.html
   ============================================================ */

.faq-list {
  border: 1px solid #DDD6CC;
  border-radius: 18px;
  overflow: hidden;
  background: transparent;
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid #DDD6CC;
}
.faq-item:last-child {
  border-bottom: none;
}

.faq-item__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  min-height: 64px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #2C2520;
  text-align: left;
  box-sizing: border-box;
  transition: background-color 180ms ease, color 180ms ease;
}

.faq-item__toggle {
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  border-radius: 50%;
  border: 1px solid #DDD6CC;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0;
  flex-shrink: 0;
  font-size: 0;
  transition: background-color 180ms ease, border-color 180ms ease;
}
.faq-item__toggle::before,
.faq-item__toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 1.5px;
  background: #8C8476;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  transition: background 180ms ease, transform 180ms ease;
}
.faq-item__toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-answer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 260ms ease, opacity 200ms ease;
}
.faq-answer__inner {
  padding: 10px 24px 20px 24px;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  color: #6F675F;
  box-sizing: border-box;
}

/* Open state */
.faq-item.is-open .faq-item__btn {
  background: #FBF6F1;
  color: #D4522A;
}
.faq-item.is-open .faq-item__toggle {
  background: #D4522A;
  border-color: #D4522A;
}
.faq-item.is-open .faq-item__toggle::before,
.faq-item.is-open .faq-item__toggle::after {
  background: #FFFFFF;
}
.faq-item.is-open .faq-item__toggle::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.faq-item.is-open .faq-item__toggle::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.faq-item.is-open .faq-answer {
  opacity: 1;
}

/* Mobile */
@media (max-width: 640px) {
  .faq-item__btn {
    padding: 16px 18px;
    min-height: 56px;
  }
  .faq-answer__inner {
    padding: 10px 18px 20px 18px;
  }
}
