document.addEventListener('DOMContentLoaded', function(){ document.documentElement.classList.add('as-thankyou'); var styleEl = document.createElement('style'); styleEl.textContent = ` .as-thankyou .as-hero { background: linear-gradient(135deg,#0b2d4d,#1b5f8c); color: #fff; padding: clamp(56px,8vh,120px) 16px; text-align:center; } .as-thankyou .as-hero h1 { margin: 0 auto; font-size: clamp(42px,5vw,68px); max-width: 960px; font-weight: 800; letter-spacing: .2px; } .as-thankyou .as-hero p { font-size: clamp(16px,2vw,22px); margin: 12px auto 26px; max-width: 720px; opacity: .98; } .as-thankyou .as-cta { display:flex; flex-wrap:wrap; justify-content:center; gap:14px; margin-top:16px; } .as-thankyou .as-cta a { display:inline-block; padding: 14px 18px; border-radius: 12px; font-weight:700; text-decoration:none; } .as-thankyou .as-cta a.primary { background:#ffc107; color:#0b2d4d; } .as-thankyou .as-cta a.secondary { background: transparent; border: 2px solid rgba(255,255,255,.85); color:#fff; } `; document.head.appendChild(styleEl); var h1 = document.querySelector('body > h1') || document.querySelector('h1'); if (h1) { var sub = h1.nextElementSibling; if (sub && sub.tagName && sub.tagName.toLowerCase() === 'p') sub.style.display = 'none'; h1.style.display = 'none'; var hero = document.createElement('section'); hero.className = 'as-hero'; hero.innerHTML = "

Thanks—your quote request is confirmed.

" + "

We'll be in touch shortly. Want to keep things moving?

" + "
" + "Start price calculator" + "Back to home" + "
"; h1.parentNode.insertBefore(hero, h1); } });

Thanks — your quote request is confirmed.

Thank you for your submission. We will get back to you shortly. You can also call us on (204) 202 3434.