Hearts moved to the top of the Ladbrokes Premiership table as they came from behind to defeat Dundee in an eagerly-contested match at Dens Park.
Robbie Neilson's side were trailing to Kane Hemmings' early opener for the Dark Blues but rallied after the break to run out winners thanks to Juanma's clinical double.
The Spanish striker equalised from the penalty spot in the 56th minute before a solo effort seven minutes later helped the resurgent Tynecastle club seal back-to-back wins since being promoted from the Championship.
Dundee made two changes from the side which won 4-0 away to Kilmarnock the previous week as James McPake returned from suspension to replace Thomas Konrad, while Paul McGowan came in for the injured Rory Loy.
It did not take Dundee long to assert themselves with Hemmings having their first attempt at goal when he raced into the visiting penalty area, turning Juwon Oshaniwa inside out, only to see Neil Alexander, the visiting keeper, save his shot at the expense of a corner.
But it was no surprise when they surged into the lead as Hemmings notched his first goal for the club following his summer move from Barnsley.
McGowan's short corner allowed Greg Stewart to become the provider as he dinked a ball into the six-yard box, where Hemmings was waiting to force a header into the corner of the net, despite a desperate attempt by Alexander to keep it out.
At the other end, Hearts had a chance when Jamie Walker worked a neat one-two with Osman Sow inside the Dundee penalty box.
Dundee goalkeeper Scott Bain made an instinctive save from Walker, who then contrived to head the rebound over the bar.
The hosts almost doubled their lead in the 14th minute when Hemmings crossed for McGowan, whose close-range shot looked netbound - but somehow Alexander defied him with a point-blank save.
The hosts were almost celebrating a second goal in 18 minutes as Gary Harkins latched onto Stewart's set-up - but with the goal gaping he could only hit the side-netting.
Juanma missed a good chance to equalise in the 36th minute when his free header from Igor Rossi's cross went wide with only Bain to beat.
Then, on the stroke of half-time, Harkins' flighted cross was met by Stewart at the far post - but Alexander saved low down at his near post.
The second half started with Walker's cross flashing across the face of the goal, but there were no takers as another chance went begging.
However, 11 minutes into the second half Juanma made it 1-1 with a spot-kick after James McPake was penalised for handball. Up stepped the Spanish striker, who retained his composure, to send Bain the wrong way from the spot.
And soon after Juanma put Hearts ahead with a brilliant solo run which ended with an unstoppable shot into Bain's far corner.
Dundee were beginning to lose their way and soon after captain Kevin Thomson was booked for a late lunge on Sam Nicholson.
Why are you making commenting on The Herald only available to subscribers?
It should have been a safe space for informed debate, somewhere for readers to discuss issues around the biggest stories of the day, but all too often the below the line comments on most websites have become bogged down by off-topic discussions and abuse.
heraldscotland.com is tackling this problem by allowing only subscribers to comment.
We are doing this to improve the experience for our loyal readers and we believe it will reduce the ability of trolls and troublemakers, who occasionally find their way onto our site, to abuse our journalists and readers. We also hope it will help the comments section fulfil its promise as a part of Scotland's conversation with itself.
We are lucky at The Herald. We are read by an informed, educated readership who can add their knowledge and insights to our stories.
That is invaluable.
We are making the subscriber-only change to support our valued readers, who tell us they don't want the site cluttered up with irrelevant comments, untruths and abuse.
In the past, the journalist’s job was to collect and distribute information to the audience. Technology means that readers can shape a discussion. We look forward to hearing from you on heraldscotland.com
Comments & Moderation
Readers’ comments: You are personally liable for the content of any comments you upload to this website, so please act responsibly. We do not pre-moderate or monitor readers’ comments appearing on our websites, but we do post-moderate in response to complaints we receive or otherwise when a potential problem comes to our attention. You can make a complaint by using the ‘report this post’ link . We may then apply our discretion under the user terms to amend or delete comments.
Post moderation is undertaken full-time 9am-6pm on weekdays, and on a part-time basis outwith those hours.
Read the rules hereComments are closed on this article