/* Bloque FAQ – AutoContentGenerator */

.acg-faq {
    margin: 60px 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Cabecera */
.acg-faq__header {
    background: #F5F7FB;
    border-left: 4px solid #1E73BE;
    border-radius: 14px;
    padding: 22px 28px;
    margin-bottom: 20px;
}

.acg-faq__title {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 600;
    color: #111827;
}

/* Lista de preguntas */
.acg-faq__items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.acg-faq__item {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 0 1px #E5E7EB;
    overflow: hidden;
}

/* Pregunta (botón) */
.acg-faq__question {
    width: 100%;
    border: none;
    background: transparent;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    text-align: left;
    font-size: 0.95rem;
    font-weight: 500;
    color: #111827;
    transition: background 0.2s ease, color 0.2s ease;
}

.acg-faq__question:hover {
    background: #F3F4F6;
}

.acg-faq__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    border: 1px solid #D1D5DB;
    font-size: 14px;
}

/* Estado abierto */
.acg-faq__question[aria-expanded="true"] {
    background: #0058C8;
    color: #ffffff;
}

.acg-faq__question[aria-expanded="true"] .acg-faq__icon {
    background: #ffffff;
    border-color: transparent;
    color: #0058C8;
}

/* Respuesta */
.acg-faq__answer {
    padding: 14px 20px 18px;
    border-top: 1px solid #E5E7EB;
    background: #F9FAFB;
}

.acg-faq__answer p {
    margin: 0;
    font-size: 0.9rem;
    color: #374151;
}

/* Responsive suave */
@media (max-width: 600px) {
    .acg-faq__title {
        font-size: 1.3rem;
    }

    .acg-faq__question {
        padding: 14px 16px;
    }

    .acg-faq__answer {
        padding: 12px 16px 16px;
    }
}
