/* ============================================
   FAQ - AMAYALAB
   Acordeón animado, 5 preguntas
   ============================================ */

.faq {
    padding: 5rem 2.5rem;
    background: #FFFFFF;
}

.faq-contenedor {
    max-width: 750px;
    margin: 0 auto;
}

/* ===== ENCABEZADO ===== */
.faq-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.faq-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 129, 242, 0.06);
    border: 1px solid rgba(15, 129, 242, 0.12);
    color: #0F81F2;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.faq-titulo {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0A5DB0;
}

.texto-gradiente {
    background: linear-gradient(135deg, #0F81F2, #0A5DB0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== ACORDEÓN ===== */
.faq-acordeon {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

/* ===== ITEM ===== */
.faq-item {
    background: #F8F9FA;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(15, 129, 242, 0.05);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(15, 129, 242, 0.12);
}

/* ===== PREGUNTA (BOTÓN) ===== */
.faq-pregunta {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: #2C3E50;
    text-align: left;
    gap: 1rem;
    transition: all 0.3s ease;
}

.faq-pregunta:hover {
    color: #0F81F2;
}

.faq-pregunta i {
    font-size: 0.9rem;
    color: #0F81F2;
    transition: transform 0.35s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    flex-shrink: 0;
}

.faq-item.active .faq-pregunta {
    color: #0F81F2;
}

.faq-item.active .faq-pregunta i {
    transform: rotate(45deg);
}

/* ===== RESPUESTA ===== */
.faq-respuesta {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-respuesta {
    max-height: 200px;
}

.faq-respuesta p {
    padding: 0 1.5rem 1.2rem;
    font-size: 0.9rem;
    color: #5A6B7D;
    line-height: 1.6;
}

/* ===== AOS ===== */
[data-aos] {
    opacity: 0;
    transition: all 0.7s cubic-bezier(0.25, 0.8, 0.25, 1.2);
}

[data-aos="fade-up"] {
    transform: translateY(40px);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .faq {
        padding: 4rem 1.5rem;
    }
    
    .faq-titulo {
        font-size: 1.8rem;
    }
    
    .faq-pregunta {
        padding: 1rem 1.2rem;
        font-size: 0.95rem;
    }
    
    .faq-respuesta p {
        padding: 0 1.2rem 1rem;
        font-size: 0.85rem;
    }
}