/* ---------- Preguntas frecuentes ---------- */
.ayuda { position: relative; }
.ayuda__cabecera { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; margin-bottom: 36px; }
.ayuda__cabeza { margin-bottom: 0; }
.ayuda__desc { max-width: 560px; color: var(--texto-tenue); font-size: 19px; line-height: 1.5; }
.ayuda .ayuda__rino { position: relative; inset: auto; width: clamp(150px, 20vw, 250px); margin-right: 4%; rotate: -6deg; animation-delay: -1s; }
.ayuda .ayuda__rino:hover { rotate: 6deg; scale: 1.08; }

/* Preguntas en cápsula */
.ayuda__lista { max-width: none; }
.ayuda .pregunta { border-radius: 34px; transition: border-radius 0.5s var(--resorte), box-shadow 0.3s ease, border-color 0.3s ease, background-color 0.3s ease; }
.ayuda .pregunta.abierta { border-radius: 28px; }
.ayuda .pregunta h3 button { padding: 18px 18px 18px 26px; transition: scale 0.35s var(--rebote); }
.ayuda .pregunta h3 button:active { scale: 0.99; }
.ayuda .pregunta__respuesta > p { padding: 0 26px 22px; max-width: 760px; }
.ayuda .pregunta__respuesta p a { color: var(--p-800); font-weight: 600; }

/* Listones a los lados */
.liston--ayuda-1 { left: max(-60px, calc(50% - 760px)); top: 560px; width: 180px; }
.liston--ayuda-2 { right: max(-50px, calc(50% - 740px)); top: 72%; width: 160px; }
/* Entrada: aparecen deslizándose desde su lado y se dibujan de punta a punta, luego ondulan suave */
.liston--ayuda.revela { translate: 0 0; opacity: 1; }
.liston--ayuda path { stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; }
.liston--ayuda-1 path { translate: -30px 20px; }
.liston--ayuda-2 path { translate: 30px 20px; }
.liston--ayuda.visible path { animation: liston-entra 2.2s cubic-bezier(0.65, 0, 0.35, 1) calc(0.2s + var(--i, 0) * 0.18s) forwards, liston-ondula 7s ease-in-out calc(2.6s + var(--i, 0) * 0.18s) infinite; }
@keyframes liston-entra { 0% { stroke-dashoffset: 1; opacity: 0; } 12% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 1; translate: 0 0; } }
@keyframes liston-ondula { 0%, 100% { stroke-dashoffset: 0; opacity: 1; translate: 0 0; } 50% { stroke-dashoffset: 0; opacity: 1; translate: 0 -10px; } }
@media (prefers-reduced-motion: reduce) { .liston--ayuda path { stroke-dashoffset: 0; opacity: 1; translate: 0 0; } .liston--ayuda.visible path { animation: none; } }

/* Contacto al final: solo la línea con el correo */
.ayuda__mas { max-width: var(--ancho); margin: 0 auto; padding: 56px 24px 120px; }

@media (max-width: 960px) { .liston--ayuda-1, .liston--ayuda-2 { opacity: 0.6; width: 120px; } }
@media (max-width: 900px) { .ayuda__cabecera { grid-template-columns: 1fr; } .ayuda .ayuda__rino { position: absolute; right: 0; top: -10px; width: 110px; margin: 0; } .ayuda__cabeza { padding-right: 100px; } }
@media (max-width: 640px) {
  .liston--ayuda-1, .liston--ayuda-2 { display: none; }
  .ayuda .pregunta { border-radius: 26px; }
  .ayuda .pregunta h3 button { padding: 14px 12px 14px 18px; }
  .ayuda .pregunta__respuesta > p { padding: 0 18px 16px; }
  .ayuda__desc { font-size: 16px; }
  .ayuda .ayuda__rino { width: 88px; top: 0; }
  .ayuda__mas { padding: 40px 24px 90px; }
}
