SA Element Registry
Catalog
Admin
+ Add
Edit element
sa-hero-form
Name (slug)
Version
Category
Heroes & Top-of-Page
Social Proof
Differentiators
Content Blocks
Sidebar
CTA / Footer
Office Anchoring
Status
Live
Beta
Deprecated
Description
Generic, fully-templated form-rail hero. Companion to sa-split-results-hero with the rotating-results panel swapped for the SAIL standard dark translucent intake-form card. All copy, image, and form endpoint are placeholders for reuse on any page.
When to use
Any page that needs a reusable form-capture hero. This is the base template for the city-specific form-rail variants.
Source skill
Rules (one per line, leading dash optional)
1. Full-bleed 100vw, CSS scoped to the element's BEM namespace so styles never leak. 2. Two-column split: copy left, translucent dark intake card right; collapses to single column under 900px. 3. H1 is a 3-line stack: ALL-CAPS question line + two title-support lines (last line orange). 4. Form-rail variants have NO hero subtext and NO hero CTA under the H1 — the form card is the only action. 5. Replace {{HERO_IMAGE_URL}} and {{FORM_ACTION_URL}} before publish. Hero image uses eager/no-lazy. 6. Button is orange #D97706; deepens to #B45309 on hover. No banned blues.
Live reference URL
Deployment notes
WordPress Custom HTML block. Replace {{HERO_IMAGE_URL}}, {{HERO_IMAGE_ALT}}, {{H1_QUESTION}}, {{H1_SUPPORT_LINE_1}}, {{H1_SUPPORT_LINE_2}}, {{FORM_TITLE}}, {{FORM_SUB}}, {{FORM_ACTION_URL}}. Created 2026-05-28.
HTML
<!-- sa-form-label-submit-guard-2026-06-15 --> <style id="sa-form-label-submit-guard-2026-06-15"> .sa-custom-contact-intake-form .sa-field-control{display:flex!important;flex-direction:column;gap:5px;width:100%;min-width:0;margin:0 0 14px;color:inherit;box-sizing:border-box;} .sa-custom-contact-intake-form .sa-field-control .sa-form-label{display:block!important;font-size:13px!important;font-weight:700!important;text-transform:uppercase;letter-spacing:.5px;color:inherit!important;margin:0!important;line-height:1.25!important;} .sa-custom-contact-intake-form .sa-field-control > input, .sa-custom-contact-intake-form .sa-field-control > select, .sa-custom-contact-intake-form .sa-field-control > textarea{width:100%!important;margin:0!important;box-sizing:border-box;} .sa-custom-contact-intake-form textarea.sa-form-field{height:auto!important;min-height:84px;resize:vertical;} .sa-custom-contact-intake-form button[type="submit"], .sa-custom-contact-intake-form .submit, .sa-custom-contact-intake-form input[type="submit"]{display:flex!important;align-items:center;justify-content:center;width:100%;min-height:46px;color:#fff!important;-webkit-text-fill-color:#fff!important;background:linear-gradient(0deg,#000 0%,#0B212D 100%)!important;border:2px solid #0B212D!important;border-radius:8px;opacity:1!important;visibility:visible!important;text-shadow:none!important;font-weight:700;text-transform:uppercase;cursor:pointer;} </style> <section aria-labelledby="sa-hero-form-title" class="sa-hero-form"> <img alt="Kentucky highway at dusk with oncoming headlight bokeh" class="sa-hero-form__bg skip-lazy no-lazy" data-no-lazy="1" decoding="async" height="672" loading="eager" src="https://aguiarinjurylawyers.com/wp-content/uploads/2026/05/about-us-bokeh-highway-hero-2026-05-26.jpg" width="1584"/> <div aria-hidden="true" class="sa-hero-form__overlay"></div> <div class="sa-hero-form__grid"> <div class="sa-hero-form__copy"> <h1 class="sa-hero-form__title" id="sa-hero-form-title"> <span class="sa-hero-form__title-question">KENTUCKY CAR ACCIDENT?</span> <span class="sa-hero-form__title-support">You Focus On Getting Better.</span> <span class="sa-hero-form__title-support">We Handle Everything Else.</span> </h1> </div> <form action="https://aguiarinjurylawyers.com/wp-json/sal/v1/contact-intake" class="sa-hero-form__card sa-custom-contact-intake-form" data-rest-endpoint="https://aguiarinjurylawyers.com/?rest_route=/sal/v1/contact-intake" method="POST"> <h3>Free Case Review</h3> <p>Tell us what happened. We respond the same day.</p> <label class="sa-field-control" for="sa-form-1-full-name"><span class="sa-form-label">Full Name</span><input class="sa-hero-form__field sa-form-field" id="sa-form-1-full-name" name="full_name" placeholder="Full name" required="" type="text"/></label> <label class="sa-field-control" for="sa-form-1-phone"><span class="sa-form-label">Phone Number</span><input class="sa-hero-form__field sa-form-field" id="sa-form-1-phone" name="phone" placeholder="Phone" required="" type="tel"/></label> <label class="sa-field-control" for="sa-form-1-email"><span class="sa-form-label">Email</span><input class="sa-hero-form__field sa-form-field" id="sa-form-1-email" name="email" placeholder="Email" type="email"/></label> <label class="sa-field-control" for="sa-form-1-message"><span class="sa-form-label">Tell Us What Happened</span><textarea class="sa-hero-form__field sa-form-field" id="sa-form-1-message" name="message" placeholder="Tell us what happened." rows="3"></textarea></label> <input name="case_type" type="hidden" value="Other"/> <input name="injured_status" type="hidden" value="Not sure yet"/> <input name="page_url" type="hidden" value=""/> <input name="page_title" type="hidden" value=""/> <input name="referrer" type="hidden" value=""/> <input name="gclid" type="hidden" value=""/> <input name="utm_source" type="hidden" value=""/> <input name="utm_medium" type="hidden" value=""/> <input name="utm_campaign" type="hidden" value=""/> <input name="success_redirect" type="hidden" value="https://aguiarinjurylawyers.com/?sa_intake=success"/> <input name="error_redirect" type="hidden" value="https://aguiarinjurylawyers.com/?sa_intake=error"/> <input name="sal_contact_intake_submit" type="hidden" value="1"/> <button class="sa-hero-form__submit submit" type="submit">Get My Free Review</button> <small>No fee unless we win. Your fee never increases at trial.</small> </form> </div> </section>
CSS
.sa-hero-form{ --sa-navy:#0B212D;--sa-black:#000;--sa-orange:#D97706;--sa-orange-deep:#B45309; --sa-white:#fff;--sa-soft:#E8EEF2; position:relative;width:100vw;max-width:100vw; margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw); min-height:620px;overflow:hidden;isolation:isolate; background:#0B212D;font-family:Poppins,sans-serif; } .sa-hero-form *,.sa-hero-form *::before,.sa-hero-form *::after{box-sizing:border-box;font-family:Poppins,sans-serif;} .sa-hero-form__bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;opacity:.55;} .sa-hero-form__overlay{position:absolute;inset:0;z-index:-1; background:linear-gradient(90deg,rgba(11,33,45,.92) 0%,rgba(11,33,45,.55) 60%,rgba(0,0,0,.78) 100%);} .sa-hero-form__grid{position:relative;z-index:1;max-width:1280px;margin:0 auto; padding:72px 32px;display:grid;grid-template-columns:1.05fr .95fr;gap:56px;align-items:center;min-height:540px;} .sa-hero-form__copy{color:#fff;text-align:center;} .sa-hero-form__title{font-size:clamp(28px,2.8vw,38px);font-weight:700;line-height:1.18;color:#fff; text-shadow:0 2px 12px rgba(0,0,0,.45);margin:0 auto;max-width:820px;letter-spacing:0;text-align:center;} .sa-hero-form__title-question{display:block;text-transform:uppercase;color:#fff;} .sa-hero-form__title-support{display:block;color:#fff;font-size:.80em;} .sa-hero-form__title-support:last-child{color:var(--sa-orange);} .sa-hero-form__card{background:rgba(11,33,45,.82);border:1px solid rgba(217,119,6,.45); border-radius:14px;padding:32px 28px;box-shadow:0 22px 60px rgba(0,0,0,.5);color:#fff;} .sa-hero-form__card h3{font-size:22px;margin:0 0 6px;color:#fff;text-align:center;font-weight:700;} .sa-hero-form__card p{font-size:14px;color:#E8EEF2;margin:0 0 18px;text-align:center;} .sa-hero-form__field{display:block;width:100%;background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.18);border-radius:6px;color:#fff;padding:14px 16px;font-size:15px; margin-bottom:12px;font-family:inherit;} .sa-hero-form__field::placeholder{color:#9aa1a8;} .sa-hero-form__field:focus{outline:none;border-color:var(--sa-orange);background:rgba(255,255,255,.10);} .sa-hero-form__submit{width:100%;background:linear-gradient(0deg,#000000 0%,#0B212D 100%);color:#fff;font-weight:700;border:none; border-radius:6px;padding:16px;font-size:16px;text-transform:uppercase;letter-spacing:.04em;cursor:pointer; transition:background .2s ease,transform .2s ease;} .sa-hero-form__submit:hover{background:linear-gradient(0deg,#000000 0%,#0B212D 100%);color:#D97706;transform:translateY(-1px);} .sa-hero-form__card small{display:block;text-align:center;color:#9aa1a8;font-size:12px;margin-top:10px;} @media (max-width:900px){ .sa-hero-form{min-height:0;} .sa-hero-form__grid{grid-template-columns:1fr;gap:36px;padding:48px 22px;min-height:0;} } @media (max-width:420px){.sa-hero-form__title{font-size:30px;line-height:1.16;}.sa-hero-form__title-support{font-size:.91em;}}
Save changes
Cancel