Write a function that takes a list of words (strings) and returns the longest word. If there are multiple words with the same maximum length, return the one that appears first in the list. If the list is empty, return an empty string.
(["apple", "banana", "pear", "kiwi"],)'banana'