/* ============================================================
   常見問題頁(手風琴問答)
   ============================================================ */

.faq-section {
  padding-top: 56px;
}

.faq-container {
  max-width: 860px;
}

.faq-list {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.faq-list .state-note {
  border: 0;
}

.faq-item + .faq-item {
  border-top: 1px solid var(--line);
}

/* 問題列 */
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 28px;
  text-align: left;
  transition: background-color 0.2s var(--ease);
}

.faq-q:hover {
  background: var(--grit-tint);
}

.faq-index {
  flex-shrink: 0;
  font-family: var(--font-cond);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--grit);
  width: 40px;
  line-height: 1;
}

.faq-q h2 {
  flex: 1;
  min-width: 0;
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.6;
}

.faq-q .chev {
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--steel);
  border-bottom: 2px solid var(--steel);
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
  flex-shrink: 0;
}

.faq-item.is-open .faq-q .chev {
  transform: rotate(225deg);
  border-color: var(--grit);
}

/* 答案區 */
.faq-a {
  display: none;
  padding: 4px 28px 26px 88px;
  font-size: 15.5px;
  line-height: 2.05;
  color: var(--ink);
}

.faq-item.is-open .faq-a {
  display: block;
}

.faq-a-inner {
  border-left: 3px solid var(--grit);
  padding-left: 20px;
  overflow-wrap: break-word;
}

.faq-a p {
  margin-bottom: 0.9em;
}

.faq-a p:last-child {
  margin-bottom: 0;
}

.faq-a ul,
.faq-a ol {
  padding-left: 1.6em;
  margin-bottom: 0.9em;
}

.faq-a ul li {
  list-style: disc;
}

.faq-a ol li {
  list-style: decimal;
}

.faq-a img {
  max-width: 100%;
  border-radius: var(--radius);
  margin: 8px 0;
}

.faq-a a {
  color: var(--grit);
  text-decoration: underline;
}

.faq-a .faq-loading {
  color: var(--steel);
  font-size: 14px;
}

/* 底部聯絡引導 */
.faq-cta {
  margin-top: 56px;
  text-align: center;
  border-top: 1px solid var(--line);
  padding-top: 44px;
}

.faq-cta h2 {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.faq-cta p {
  font-size: 15px;
  color: var(--steel);
  margin-bottom: 24px;
}

.faq-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.faq-tel {
  font-family: var(--font-cond);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: color 0.2s var(--ease);
}

.faq-tel:hover {
  color: var(--grit);
}

/* ---------- 響應式 ---------- */
@media (max-width: 560px) {
  .faq-q {
    padding: 18px 18px;
    gap: 14px;
  }

  .faq-index {
    width: 32px;
    font-size: 20px;
  }

  .faq-a {
    padding: 2px 18px 22px 18px;
  }
}
