/* ============================================================
   HIMPULSA — faq.css
   ============================================================ */

.faq {
  padding: var(--section-pad);
  background: var(--bg);
}

.faq-titulo {
  font-family: var(--font-titulo);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
  line-height: 1.2;
}
.faq-titulo span { color: var(--morado); }

.faq-sub {
  text-align: center;
  font-size: 15px;
  font-weight: 400;
  color: var(--gris);
  margin-bottom: 56px;
}

.faq-lista {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg2);
  border: 0.5px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.faq-item:hover { border-color: rgba(127,119,221,0.3); }
.faq-item.open  { border-color: rgba(127,119,221,0.4); }

.faq-pregunta {
  width: 100%;
  background: transparent;
  border: none;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: left;
}

.faq-pregunta-texto {
  font-family: var(--font-titulo);
  font-size: 16px;
  font-weight: 700;
  color: var(--blanco);
  line-height: 1.4;
}

.faq-icono {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  border: 1px solid rgba(127,119,221,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--morado);
  font-size: 18px;
  font-weight: 400;
  transition: transform 0.35s ease, background 0.3s ease;
}
.faq-item.open .faq-icono {
  transform: rotate(45deg);
  background: var(--morado);
  color: #fff;
  border-color: var(--morado);
}

.faq-respuesta {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(.77,0,.18,1);
}
.faq-respuesta-inner {
  padding: 0 24px 20px;
  font-size: 14px;
  font-weight: 400;
  color: var(--gris);
  line-height: 1.8;
}
.faq-respuesta-inner strong { color: var(--blanco); }
.faq-respuesta-inner a {
  color: var(--morado-light);
  text-decoration: underline;
}