/* =============================================================
   FAQ Section — Preguntas frecuentes de páginas de categoría
   ============================================================= */

.faq-section {
    background-color: #f8f9fa;
    padding: 3rem 1rem 3.5rem;
    border-top: 2px solid #e0e0e0;
}

.faq-container {
    max-width: 860px;
    margin: 0 auto;
}

.faq-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a2a3a;
    text-align: center;
    margin-bottom: 2rem;
}

.faq-list {
    margin: 0;
    padding: 0;
}

.faq-item {
    border-bottom: 1px solid #dde3ea;
}

.faq-item:first-child {
    border-top: 1px solid #dde3ea;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #1a2a3a;
    cursor: pointer;
    gap: 1rem;
    user-select: none;
    transition: color 0.2s;
}

.faq-question:hover {
    color: #58ace4;
}

.faq-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #58ace4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, background-color 0.2s;
}

.faq-icon::before {
    content: '';
    display: block;
    width: 10px;
    height: 2px;
    background: #fff;
    position: relative;
}

.faq-icon::after {
    content: '';
    display: block;
    width: 2px;
    height: 10px;
    background: #fff;
    position: absolute;
    transition: opacity 0.3s, transform 0.3s;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
    background-color: #3a8cbf;
}

.faq-answer {
    padding: 0 0.5rem 1.2rem;
    font-size: 0.96rem;
    color: #444;
    line-height: 1.7;
    margin: 0;
}

.faq-answer strong {
    color: #1a2a3a;
}

@media (max-width: 600px) {
    .faq-title {
        font-size: 1.3rem;
    }

    .faq-question {
        font-size: 0.95rem;
    }
}