.faq-wrapper {
    max-width: 100%;
    width: 100%;
    display: block;
    padding: 0 20px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.faq-question {
    background: #121212;
    padding: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;

    /* texto en dark */
    color: rgba(255, 255, 255, 0.92);
}

.faq-question:hover {
    background: #1b1b1b;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;

    /* fondo/colores en dark */
    background: #161616;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.75);

    display: block; /* Asegura que se expanda correctamente */
    padding: 0 20px; /* Solo padding horizontal por defecto */
}

.faq-item.active .faq-answer {
    padding: 10px 20px; /* Padding completo cuando está activo */
}

.faq-question .arrow {
    font-size: 14px;
    transition: transform 0.3s ease;

    /* flecha visible en dark */
    color: rgba(255, 255, 255, 0.75);
}

.faq-item.active .faq-question {
    color: rgb(255, 98, 16);
    font-weight: 800;
}

/* Links dentro de la respuesta */
.faq-answer a {
    color: rgb(255, 98, 16);
    text-decoration: underline;
}

.faq-answer a:hover {
    opacity: 0.85;
}

/* Responsive: mejor alineación en móvil */
@media (max-width: 600px) {
    .faq-question {
        font-size: 14px;
        flex-direction: column;
        align-items: flex-start;
    }

    .faq-question .arrow {
        align-self: flex-end;
    }
}
