/* ==========================================
   PREFAB: FAQ Accordion
   Lenyithato kerdes-valasz lista
   ========================================== */

.pf-faq {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.pf-faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.pf-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  background: none;
  border: none;
  color: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  letter-spacing: -0.01em;
  transition: opacity 0.2s ease;
}

.pf-faq-question:hover {
  opacity: 0.8;
}

.pf-faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  flex-shrink: 0;
  display: grid;
  place-content: center;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.2s ease;
}

.pf-faq-icon::before {
  content: '+';
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1;
}

.pf-faq-item.open .pf-faq-icon {
  transform: rotate(45deg);
  background: rgba(255,255,255,0.15);
}

.pf-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.3s ease;
  opacity: 0;
}

.pf-faq-item.open .pf-faq-answer {
  opacity: 1;
}

.pf-faq-answer-inner {
  padding: 0 0 24px;
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0.7;
}

/* Vilagos valtozat */
.pf-faq--light .pf-faq-item {
  border-color: rgba(0,0,0,0.08);
}

.pf-faq--light .pf-faq-icon {
  background: rgba(0,0,0,0.06);
}

.pf-faq--light .pf-faq-item.open .pf-faq-icon {
  background: rgba(0,0,0,0.1);
}

/* Szamozott valtozat */
.pf-faq--numbered .pf-faq-item {
  counter-increment: faq-counter;
}

.pf-faq--numbered .pf-faq-question::before {
  content: counter(faq-counter, decimal-leading-zero);
  font-size: 0.8rem;
  font-weight: 700;
  opacity: 0.3;
  margin-right: 16px;
  font-variant-numeric: tabular-nums;
}

.pf-faq--numbered {
  counter-reset: faq-counter;
}
