/* WondarCore — código propio, no generado. Se puede modificar libremente. */
/* Migrado de Gonzalo/faq.css (ver Gonzalo/PAUTAS.md, commit "2607mañana"). Mismo patrón de
   breadcrumb/hero que ranking-publico.css/pais-publico.css (duplicado a propósito, cada página
   tiene su propio CSS — ver esas hojas para el mismo comentario). */

.faq-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 1.5rem 3.5rem 4rem;
}

/* ── BREADCRUMB ── */
.destino-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.bc-link {
  font-size: 0.82rem;
  color: #666;
  text-decoration: none;
  transition: color 0.15s;
}
.bc-link:hover { color: #2563eb; }
.bc-sep { font-size: 0.82rem; color: #bbb; }
.bc-current { font-size: 0.82rem; color: #1a1a2e; font-weight: 600; }

/* ── BANNER (mismo patrón que .ranking-hero) ── */
.faq-hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #2d1b69 60%, #1a1a2e 100%);
  border-radius: 20px;
  padding: 2.4rem 2.5rem;
  text-align: center;
  color: #fff;
  margin-bottom: 2rem;
}
.faq-hero-title {
  font-size: 1.9rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.faq-hero-sub {
  font-size: 0.92rem;
  color: #bfdbfe;
  line-height: 1.65;
  max-width: 620px;
  margin: 0 auto;
}

/* ── CATEGORÍAS ── */
.faq-category { margin-bottom: 2.25rem; }
.faq-category-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 0.9rem;
  padding-left: 2px;
}

/* ── ACORDEÓN ── */
.faq-item {
  background: white;
  border: 1px solid #e4dff2;
  border-radius: 12px;
  margin-bottom: 0.6rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: none;
  border: none;
  text-align: left;
  padding: 0.95rem 1.1rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: #1a1a2e;
  cursor: pointer;
  min-height: 44px;
}

.faq-chevron {
  flex-shrink: 0;
  color: #7c3aed;
  transition: transform 0.2s ease;
}
.faq-item--open .faq-chevron { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  color: #444;
  font-size: 0.88rem;
  line-height: 1.6;
}
.faq-item--open .faq-answer { max-height: 600px; }

.faq-answer p {
  margin: 0;
  padding: 0 1.1rem 1.05rem;
}
.faq-answer p + p { margin-top: 0.6rem; }

/* ── ESCALA DE TAMAÑO DE DESTINO ── */
.faq-scale {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  height: 120px;
  margin: 0.9rem 1.1rem 1.2rem;
  padding-top: 0.5rem;
  border-top: 1px solid #f0edfa;
}

.faq-scale-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.faq-scale-bar {
  width: 100%;
  max-width: 34px;
  background: linear-gradient(180deg, #a78bfa 0%, #7c3aed 100%);
  border-radius: 4px 4px 0 0;
  margin-top: auto;
}

.faq-scale-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-top: 8px;
  text-align: center;
  line-height: 1.15;
}

.faq-scale-range {
  font-size: 0.6rem;
  color: #9a96a8;
  margin-top: 2px;
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .faq-wrapper { padding: 1rem 0.75rem 3rem; }
  .faq-hero { padding: 1.6rem 1.25rem; }
  .faq-hero-title { font-size: 1.5rem; }
  .faq-hero-sub { font-size: 0.85rem; }

  .faq-scale { gap: 6px; height: 130px; }
  .faq-scale-bar { max-width: 26px; }
  .faq-scale-label { font-size: 0.6rem; }
  .faq-scale-range { font-size: 0.52rem; white-space: normal; }
}
