Lovells in talks with Spanish firm