/* =============================================================================
   FAQ Layout – split accordion
   BEM: .faq, .faq__list, .faq__item, .faq__item--active,
        .faq__content, .faq__question, .faq__answer
   ============================================================================= */

/* ── Wrapper ─────────────────────────────────────────────────────────────── */
.faq {
  display: flex;
  gap: 0;
  width: 100%;
  min-height: 320px;
  font-family: inherit;
  border-radius: 20px;
  overflow: hidden;
  align-items: center;
}

/* ── LEFT: question list ─────────────────────────────────────────────────── */
.faq__list {
  flex: 0 0 60%;
  max-width: 60%;
  background: #fff;
  display: flex;
  flex-direction: column;
  padding: 12px 0;
  height: max-content;
  border: 1px solid #00000026;
  border-radius: 8px;
  position: relative;
  z-index: 2;
}

/* item (button reset) */
.faq__item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 24px 16px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  margin: 0;
  transition: background 0.2s ease;
  border-left: 3px solid transparent;
}

/* Dot indicator */
.faq__item-dot {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #969696;
}

.faq__item--active .faq__item-dot {
  background: #FFFF00;
}

/* Question text */
.faq__item-question {
  flex: 1;
  font-size: 16px;
  font-weight: 500;
  color: #000000;
  line-height: 1.45;
}

/* Arrow icon */
.faq__item-arrow {
  flex-shrink: 0;
  color: #969696;
  width: 24px;
  height: 24px;
}

.faq__item--active .faq__item-arrow {
  color: #434343;
}

/* ── RIGHT: answer panel ─────────────────────────────────────────────────── */
.faq__content {
  flex: 1;
  background: #969696;
  box-shadow: 0px 0px 4px 1px #00000026;
  padding: 40px 25px 40px 25px;
  border-radius: 0 20px 20px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 449px;
  position: relative;
}
.faq__content::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100px;
  width: 100px;
  height: 100%;
  background: inherit;
  border-radius: 20px 0 0 20px;
}

.faq__question {
  margin: 0 0 40px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
}

.faq__answer {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  color: #fff;
}

.faq__answer p {
  margin: 0 0 12px;
}

.faq__answer p:last-child {
  margin-bottom: 0;
}

/* ── Fallback empty ──────────────────────────────────────────────────────── */
.faq__empty {
  color: #888;
  font-size: 14px;
  padding: 16px 0;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .faq {
    flex-direction: column;
    border-radius: 16px;
    min-height: unset;
  }

  .faq__list {
    flex: 0 0 auto;
    max-width: 100%;
    border-bottom: 1px solid #e5e5e5;
    padding: 8px 0;
    border-radius: 16px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }

  .faq__content {
    border-radius: 0 0 16px 16px;
    padding: 24px 20px;
  }
}

@media (max-width: 480px) {
  .faq__item {
    padding: 14px 16px;
    gap: 10px;
  }

  .faq__item-question {
    font-size: 13px;
  }
}
