/* ===== SMILEY FAQ AGENTE ===== */
.sfaq-wrap {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 36px;
    background: #f8fafc;
    border-radius: 24px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07), 0 1px 4px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.05);
}

/* HEADER */
.sfaq-header { text-align: center; margin-bottom: 36px; }
.sfaq-titulo { font-size: clamp(22px, 3.5vw, 32px); font-weight: 900; color: #1a1a2e; margin: 0 0 10px; }
.sfaq-subtitulo { font-size: 16px; color: #6b7280; margin: 0; }

/* LISTA */
.sfaq-lista { display: flex; flex-direction: column; gap: 10px; margin-bottom: 36px; }

/* ITEM */
.sfaq-item {
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: box-shadow 0.2s;
}
.sfaq-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.07); }
.sfaq-item.abierto { border-color: #33cc33; box-shadow: 0 4px 16px rgba(51,204,51,0.1); }

/* PREGUNTA */
.sfaq-pregunta {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    background: #ffffff;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s;
}
.sfaq-pregunta:hover { background: #f9fafb; }
.sfaq-item.abierto .sfaq-pregunta { background: #f0fdf4; }

.sfaq-pregunta-texto {
    font-size: 15px;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.4;
    flex: 1;
}
.sfaq-item.abierto .sfaq-pregunta-texto { color: #166534; }

.sfaq-icono {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    transition: all 0.3s;
}
.sfaq-item.abierto .sfaq-icono {
    background: #33cc33;
    color: white;
    transform: rotate(180deg);
}

/* RESPUESTA */
.sfaq-respuesta {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.2s;
    padding: 0 20px;
}
.sfaq-respuesta.visible {
    max-height: 300px;
    padding: 0 20px 18px;
}
.sfaq-respuesta p {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.7;
    margin: 0;
    border-top: 1px solid #e5e7eb;
    padding-top: 14px;
}

/* CTA WHATSAPP */
.sfaq-cta-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    background: #f0fdf4;
    border-radius: 16px;
    padding: 28px 24px;
    border: 1px solid #bbf7d0;
    text-align: center;
}

.sfaq-cta-icon { font-size: 36px; }

.sfaq-cta-mensaje {
    font-size: 15px;
    color: #374151;
    font-weight: 500;
    margin: 0;
    max-width: 480px;
    line-height: 1.5;
}

.sfaq-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #33cc33;
    color: white;
    text-decoration: none;
    font-weight: 800;
    font-size: 15px;
    padding: 16px 28px;
    border-radius: 12px;
    transition: all 0.2s;
    box-shadow: 0 4px 16px rgba(51,204,51,0.35);
}
.sfaq-cta-btn:hover {
    background: #28a428;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(51,204,51,0.45);
    color: white;
    text-decoration: none;
}

@media (max-width: 600px) {
    .sfaq-wrap { padding: 28px 18px; }
    .sfaq-pregunta { padding: 14px 16px; }
    .sfaq-respuesta.visible { padding: 0 16px 14px; }
}