/* FAQ visible — pareja del bloque que renderiza src/schema.mjs.
   Usa los tokens del sistema (tokens.css). Estilo minimal: <details>
   nativo + tipografía consistente con el resto del sitio. */

.faq {
  padding: clamp(48px, 8vw, 96px) 0;
}

.faq .wrap {
  max-width: 760px;
}

.faq-title {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  border: 1px solid var(--border, rgba(14, 26, 27, 0.12));
  border-radius: 14px;
  background: var(--surface, #fff);
  overflow: hidden;
  transition: border-color 160ms ease, background 160ms ease;
}

.faq-item[open] {
  border-color: var(--border-strong, rgba(14, 26, 27, 0.22));
  background: var(--surface-elev, #fafaf8);
}

.faq-q {
  list-style: none;
  cursor: pointer;
  padding: 18px 56px 18px 22px;
  position: relative;
  font-weight: 600;
  font-size: 16.5px;
  line-height: 1.35;
  color: var(--ink, #0E1A1B);
}

.faq-q::-webkit-details-marker { display: none; }

.faq-q::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
  transition: transform 180ms ease;
  opacity: 0.55;
}

.faq-item[open] .faq-q::after {
  transform: translateY(-30%) rotate(-135deg);
  opacity: 0.9;
}

.faq-q:focus-visible {
  outline: 2px solid var(--accent, #0E1A1B);
  outline-offset: 2px;
}

.faq-a {
  padding: 0 22px 20px;
  color: var(--ink-muted, rgba(14, 26, 27, 0.78));
  font-size: 15.5px;
  line-height: 1.55;
}

.faq-a p { margin: 0; }
