A hybrid finite-element numerical approach to electromagnetic scattering by complex structures