/*
 * preguntas.css — la página de preguntas frecuentes (RF-21, 31-oct-2026). La
 * carga solo esa página. Temas con su título; cada pregunta abre y cierra con
 * details, sin JavaScript. Mismo ancho y letra que las páginas legales.
 */
.faq { max-width: 720px; margin: 0 auto; padding: 32px 16px 56px; display: flex; flex-direction: column; gap: 28px; }
.faq h1 { margin: 0; font-family: 'Chakra Petch', sans-serif; font-size: 30px; font-weight: 700; }
.faq section { display: flex; flex-direction: column; gap: 8px; }
.faq h2 { margin: 0 0 4px; font-family: 'Chakra Petch', sans-serif; font-size: 20px; font-weight: 600; }

.faq details { border-radius: 12px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  min-height: 48px; padding: 10px 16px; border-radius: 12px;
  font-size: 15px; font-weight: 600; line-height: 1.35; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
/* La flecha, dibujada con dos bordes: gira al abrir. */
.faq summary::after {
  content: ""; flex: none; width: 8px; height: 8px; margin-right: 3px;
  border-right: 2px solid var(--text-muted); border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg); transition: transform .15s ease;
}
.faq details[open] > summary::after { transform: rotate(-135deg); }
.faq summary:hover::after { border-color: var(--text); }

.faq details > div { display: flex; flex-direction: column; gap: 10px; padding: 0 16px 16px; font-size: 15px; line-height: 1.6; color: var(--text-muted); }
.faq details p, .faq details ol, .faq details ul { margin: 0; }
.faq details ol, .faq details ul { display: flex; flex-direction: column; gap: 6px; padding-left: 20px; }
.faq details strong { color: var(--text); font-weight: 600; }
