/* ============================================================
   PAVI'S LAB — pages/faq.css
   ============================================================ */

/* ── Section ── */
.faq-section {
  position: relative;
  padding: 72px 0 80px;
  min-height: 70vh;
  overflow: hidden;
}

.faq-bg {
  position: absolute;
  inset: 0;
  background: url('https://res.cloudinary.com/dhpxr9ubq/image/upload/v1779472936/bg_xzjklr.png') center / cover no-repeat;
  filter: brightness(0.18);
  z-index: 0;
}

.faq-section .container {
  position: relative;
  z-index: 1;
}

/* ── Header ── */
.faq-subtitle {
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  margin-top: -12px;
  margin-bottom: 48px;
}

/* ── Accordion List ── */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 0, 127, 0.2);
}

.faq-item:first-child {
  border-top: 1px solid rgba(255, 0, 127, 0.2);
}

/* ── Question button ── */
.faq-q {
  width: 100%;
  background: transparent;
  border: none;
  padding: 20px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  transition: color 0.2s;
}

.faq-q:hover {
  color: var(--pink);
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(255, 0, 127, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 400;
  color: var(--pink);
  transition: transform 0.3s, background 0.2s;
  line-height: 1;
}

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

/* ── Answer panel ── */
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s ease;
  padding: 0 8px;
}

.faq-item.open .faq-a {
  max-height: 300px;
  padding: 0 8px 20px;
}

.faq-a p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.85;
  margin: 0;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .faq-section { padding: 52px 0 60px; }
  .faq-q       { font-size: 14px; padding: 18px 4px; }
  .faq-subtitle { margin-bottom: 36px; font-size: 16px; }
}
