/* =====================================================
   FAQ PAGE
   Accordion with + / - toggle, themed
   ===================================================== */

.faq-section {
  padding: 70px 0 110px;
  background: var(--bg);
}

.faq-section .section-head { margin-bottom: 44px; }

/* ======= ACCORDION WRAPPER ======= */
.faq-accordion {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.faq-item:hover {
  border-color: rgba(200, 164, 93, 0.45);
  box-shadow: var(--shadow-hover);
}

.faq-item.is-open {
  border-color: var(--primary);
  box-shadow: 0 12px 28px rgba(200, 164, 93, 0.18);
}

/* ======= QUESTION (button) ======= */
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--secondary);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.faq-question:hover { color: var(--primary-dark); }

.faq-item.is-open .faq-question {
  color: var(--primary-dark);
  background: var(--accent-soft, #fdfaf2);
}

.faq-q-text { flex: 1; line-height: 1.5; }

/* ======= +/- ICON ======= */
.faq-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-soft, #fdfaf2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  position: relative;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}

.faq-item:hover .faq-icon {
  background: rgba(200, 164, 93, 0.18);
}

.faq-item.is-open .faq-icon {
  background: var(--primary);
  color: #fff;
  transform: rotate(180deg);
}

/* default: show plus, hide minus */
.faq-icon .icon-plus,
.faq-icon .icon-minus {
  position: absolute;
  font-size: 0.85rem;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}
.faq-icon .icon-plus  { opacity: 1; }
.faq-icon .icon-minus { opacity: 0; transform: scale(.4); }

.faq-item.is-open .faq-icon .icon-plus  { opacity: 0; transform: scale(.4); }
.faq-item.is-open .faq-icon .icon-minus { opacity: 1; transform: scale(1); }

/* ======= ANSWER (collapsible) ======= */
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}

.faq-answer-inner {
  overflow: hidden;
  min-height: 0;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  padding: 0 26px;
  color: var(--text-light);
  font-size: 0.96rem;
  line-height: 1.78;
}

.faq-item.is-open .faq-answer-inner {
  padding: 4px 26px 24px;
}

/* ======= EMPTY STATE ======= */
.faq-empty {
  max-width: 520px;
  margin: 30px auto;
  padding: 50px 30px;
  text-align: center;
  background: var(--bg-white);
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
}
.faq-empty i {
  font-size: 2.4rem;
  color: var(--primary);
  margin-bottom: 14px;
  display: block;
}
.faq-empty h3 {
  font-family: var(--font-display);
  margin-bottom: 8px;
}
.faq-empty p { color: var(--text-light); margin: 0; }
.faq-empty a { color: var(--primary); font-weight: 600; }

/* ======= BOTTOM CTA ======= */
.faq-cta {
  max-width: 720px;
  margin: 60px auto 0;
  padding: 38px 30px;
  text-align: center;
  background: var(--secondary);
  color: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}
.faq-cta h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: #fff;
}
.faq-cta p {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.78);
}

/* ======= RESPONSIVE ======= */
@media (max-width: 640px) {
  .faq-section { padding: 50px 0 80px; }
  .faq-question {
    padding: 18px 18px;
    font-size: 0.98rem;
    gap: 14px;
  }
  .faq-icon { width: 32px; height: 32px; }
  .faq-answer-inner { padding: 0 18px; font-size: 0.92rem; }
  .faq-item.is-open .faq-answer-inner { padding: 4px 18px 20px; }
  .faq-cta { padding: 28px 22px; margin-top: 44px; }
  .faq-cta h3 { font-size: 1.25rem; }
}
