Quick question about ATP formation from ADP
There are a lot of diagrams on the formation of ATP from ADP through substrate level phosphorylation, but I haven't found anything to explain the chemistry behind the change. From what I understand, there is a high-energy intermediate with a phosphate that transfers its phosphate to ADP (with the help of an enzyme) to form ATP.
My question is, even if the high-energy intermediate is unstable, it will take energy to break the bond (as it takes energy to break any bond) between the phosphate and this intermediate. I'm also aware that it's very unfavorable to attach the phosphate to ADP (negative charges repulse the two, loss of resonance, etc), so where exactly is the energy coming from to make ATP? If the "high energy intermediate" needs energy to break the bond, how and from where is it supplying energy to form ATP?