/* ════════════════════════════════════════════════════════
   FAQ PAGE — cargado solo en page-faq.php
   ════════════════════════════════════════════════════════ */

/* ── Cluster nav ── */
.faq-cluster-nav {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: calc(var(--header-h) + 54px);
  z-index: 198;
}
.faq-cluster-pills {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding: 12px 0;
  scrollbar-width: none;
}
.faq-cluster-pills::-webkit-scrollbar { display: none; }
.faq-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  min-height: 44px;
  border-radius: 100px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #888885;
  background: transparent;
  border: 1px solid var(--border);
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  text-decoration: none;
  flex-shrink: 0;
}
.faq-pill:hover,
.faq-pill.active {
  background: #302F2F;
  color: #12F9B2;
  border-color: #302F2F;
}

/* ── Main wrapper ── */
.faq-main {
  background: var(--bone);
  padding: 64px 0;
}

/* ── Cluster ── */
.faq-cluster {
  margin-bottom: 64px;
  scroll-margin-top: 200px;
}
.faq-cluster:last-child { margin-bottom: 0; }

.faq-cluster-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--border);
}
.faq-cluster-icon {
  width: 56px;
  height: 56px;
  background: rgba(18, 249, 178, 0.10);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}
.faq-cluster-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(20px, 2.5vw, 26px);
  color: var(--charcoal);
  letter-spacing: -0.4px;
  margin: 0 0 4px;
}
.faq-cluster-desc {
  font-size: 14px;
  color: #888885;
  margin: 0;
  line-height: 1.5;
}

/* ── Accordion ── */
.faq-accordion { display: flex; flex-direction: column; }

.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  min-height: 44px;
  text-align: left;
}
.faq-question h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--charcoal);
  margin: 0;
  line-height: 1.4;
}
.faq-question:hover h3 { color: var(--forest); }

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(18, 249, 178, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
  color: var(--forest);
  font-weight: 700;
  transition: transform 0.3s, background 0.2s;
  user-select: none;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: rgba(18, 249, 178, 0.20);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer-inner {
  padding: 0 0 20px;
  font-size: 14.5px;
  color: #888885;
  line-height: 1.75;
  max-width: 720px;
}
.faq-answer-inner p { margin: 0; }
.faq-item.open .faq-answer { max-height: 400px; }

/* ── Responsive ── */
@media (max-width: 640px) {
  .faq-cluster-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .faq-question h3 { font-size: 14px; }
  .faq-cluster-nav { top: calc(var(--header-h) + 48px); }
}
