/* ============================================================
   آتلیه کودک نینو — صفحه سوالات متداول (faq.css)
   تم: بژ روشن + سفید + مشکی (هماهنگ با tokens-v3)
   الگو: آکاردئون برای ۸ سوال
   ============================================================ */

/* ===== هیرو ===== */
.faq-hero {
  position: relative;
  padding: 140px 24px 56px;
  background: linear-gradient(180deg, var(--beige-light) 0%, var(--white) 100%);
  text-align: center;
}
.faq-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 400;
  line-height: 1.3;
  color: var(--black);
  margin-bottom: 10px;
}
.faq-hero p {
  font-family: var(--font-body);
  font-size: 15px;
  color: rgba(0,0,0,.55);
  max-width: 560px;
  margin: 0 auto;
}

/* ===== بخش آکاردئون ===== */
.faq-section {
  padding: 20px 24px 100px;
  background: var(--white);
}
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--white);
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-item:hover {
  border-color: rgba(0,0,0,.22);
}
.faq-item.open {
  border-color: rgba(0,0,0,.28);
  box-shadow: 0 12px 30px rgba(0,0,0,.06);
}

/* دکمه سوال */
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: right;
  font-family: var(--font-sans);
  font-size: 15.5px;
  font-weight: 500;
  color: var(--black);
  line-height: 1.7;
}
.faq-num {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--beige-light);
  color: var(--black);
  font-family: var(--font-display);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, color .2s ease;
}
.faq-item.open .faq-num {
  background: var(--black);
  color: var(--white);
}
.faq-text { flex: 1; }

/* آیکون باز/بسته */
.faq-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,.25);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 300;
  transition: transform .3s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.faq-item.open .faq-icon {
  transform: rotate(135deg);
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

/* پاسخ */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-answer-inner {
  padding: 0 22px 22px 22px;
  padding-top: 0;
  border-top: 1px solid rgba(0,0,0,.06);
  margin: 0 22px 0 22px;
  padding-left: 0;
  padding-right: 0;
  padding-top: 16px;
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 2.05;
  color: rgba(0,0,0,.72);
}
.faq-answer-inner p + p {
  margin-top: 12px;
}
.faq-answer-inner .note {
  background: var(--beige-light);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 13.5px;
  color: rgba(0,0,0,.7);
}

/* ===== تماس پایانی ===== */
.faq-foot {
  max-width: 780px;
  margin: 56px auto 0;
  background: var(--beige-light);
  border-radius: 20px;
  padding: 36px 32px;
  text-align: center;
}
.faq-foot h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 8px;
}
.faq-foot p {
  font-family: var(--font-body);
  font-size: 14.5px;
  color: rgba(0,0,0,.68);
  margin-bottom: 20px;
}
.faq-foot-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.faq-foot-actions .btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  padding: 13px 30px;
  border-radius: 999px;
  transition: opacity .2s ease, transform .15s ease, background .2s ease, color .2s ease;
}
.faq-foot-actions .btn-primary {
  background: var(--black);
  color: var(--white);
}
.faq-foot-actions .btn-secondary {
  background: transparent;
  color: var(--black);
  border: 1px solid rgba(0,0,0,.3);
}
.faq-foot-actions .btn:hover { opacity: .85; transform: translateY(-1px); }

/* ===== موبایل ===== */
@media (max-width: 768px) {
  .faq-hero { padding: 115px 16px 44px; }
  .faq-hero h1 { font-size: 30px; }
  .faq-section { padding: 12px 14px 70px; }
  .faq-question { padding: 16px 16px; font-size: 14.5px; gap: 12px; }
  .faq-num { width: 30px; height: 30px; font-size: 14px; }
  .faq-icon { width: 26px; height: 26px; font-size: 16px; }
  .faq-answer-inner { margin: 0 14px; font-size: 14px; }
  .faq-foot { padding: 28px 20px; }
}