/* All-Out Hardscapes LLC -- branded lead form
   Brand: green #09b504 / #078a03, slate #48546a, dark #1a1f2b, light #f5f3f0.
   Icons are SVG, never emoji. No unicode dashes anywhere in this file. */

.lead-form-wrap {
    background: #fff;
    border: 1px solid #e0ddd8;
    border-radius: 14px;
    padding: 32px;
    box-shadow: 0 2px 16px rgba(26, 31, 43, .06);
}

@media (max-width: 640px) {
    .lead-form-wrap { padding: 22px 18px; }
}

/* -- Honeypots: hidden from humans AND assistive tech, visible to bots ----- */
.lead-hp {
    position: absolute !important;
    left: -9999px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* -- Fields --------------------------------------------------------------- */
.lead-field { margin-bottom: 20px; }

.lead-field label {
    display: block;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #48546a;
    margin-bottom: 7px;
}

.lead-field .req { color: #09b504; margin-left: 2px; }

.lead-field input {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    font-family: inherit;
    color: #2d3239;
    background: #fff;
    border: 2px solid #e0ddd8;
    border-radius: 9px;
    transition: border-color .16s ease, box-shadow .16s ease;
    -webkit-appearance: none;
    appearance: none;
}

.lead-field input::placeholder { color: #b4b8bd; }

.lead-field input:hover { border-color: #cdc9c2; }

.lead-field input:focus {
    outline: none;
    border-color: #09b504;
    box-shadow: 0 0 0 4px rgba(9, 181, 4, .14);
}

/* Visible focus for keyboard users, on every interactive element. */
.lead-form-wrap :focus-visible {
    outline: 3px solid rgba(9, 181, 4, .55);
    outline-offset: 2px;
}

.lead-field.has-error input { border-color: #d64545; }
.lead-field.has-error input:focus { box-shadow: 0 0 0 4px rgba(214, 69, 69, .14); }

.lead-err {
    margin: 7px 0 0;
    font-size: .84rem;
    font-weight: 600;
    color: #d64545;
    display: flex;
    align-items: center;
    gap: 5px;
}
.lead-err[hidden] { display: none; }

/* -- Submit --------------------------------------------------------------- */
.lead-submit {
    position: relative;
    width: 100%;
    padding: 16px 24px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .02em;
    color: #fff;
    background: #09b504;
    border: none;
    border-radius: 9px;
    cursor: pointer;
    transition: background .16s ease, transform .12s ease, box-shadow .16s ease;
    box-shadow: 0 3px 10px rgba(9, 181, 4, .26);
}

.lead-submit:hover:not(:disabled) {
    background: #078a03;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(9, 181, 4, .32);
}

.lead-submit:active:not(:disabled) { transform: translateY(0); }

.lead-submit:disabled { opacity: .72; cursor: not-allowed; box-shadow: none; }

.lead-submit__spinner {
    display: none;
    width: 17px;
    height: 17px;
    margin-left: 10px;
    vertical-align: -3px;
    border: 2.5px solid rgba(255, 255, 255, .4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: lead-spin .7s linear infinite;
}

.lead-form.is-sending .lead-submit__spinner { display: inline-block; }

@keyframes lead-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
    .lead-submit,
    .lead-submit:hover:not(:disabled) { transition: none; transform: none; }
    .lead-submit__spinner { animation-duration: 2s; }
}

/* -- Reassurance line ----------------------------------------------------- */
.lead-reassure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 16px 0 0;
    font-size: .82rem;
    color: #8a8f96;
    text-align: center;
}
.lead-reassure svg { flex-shrink: 0; }

/* -- Alerts --------------------------------------------------------------- */
.lead-alert {
    padding: 14px 16px;
    border-radius: 9px;
    font-size: .92rem;
    margin-bottom: 22px;
    line-height: 1.6;
}
.lead-alert--error {
    background: #fdf0f0;
    border: 1px solid #f3caca;
    color: #a33;
}
.lead-alert--error a { color: #a33; font-weight: 700; }

/* -- Success state -------------------------------------------------------- */
.lead-success {
    text-align: center;
    padding: 14px 8px 8px;
    animation: lead-fade .32s ease;
}
.lead-success:focus { outline: none; }

.lead-success__icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(9, 181, 4, .11);
    color: #09b504;
    border-radius: 50%;
}

.lead-success h3 {
    margin: 0 0 10px;
    font-size: 1.5rem;
    color: #1a1f2b;
}

.lead-success p {
    margin: 0 auto 8px;
    max-width: 380px;
    color: #48546a;
    line-height: 1.65;
}

.lead-success strong { color: #1a1f2b; }

.lead-success__alt {
    font-size: .88rem;
    color: #8a8f96 !important;
    margin-top: 14px !important;
}
.lead-success__alt a { color: #078a03; font-weight: 700; text-decoration: none; }
.lead-success__alt a:hover { text-decoration: underline; }

@keyframes lead-fade {
    from { opacity: 0; transform: translateY(7px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .lead-success { animation: none; }
}

/* Screen-reader-only live region. */
.lead-live {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* The "use our full request form" escape hatch in the intro copy. Without
   this it inherits body colour and is invisible as a link -- caught in the
   2026-08-24 desktop proof. It is the ONLY remaining route to Jobber's own
   booking form from this page, so it has to look clickable. */
.contact-form-col .section-subtitle a {
    color: #078a03;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.contact-form-col .section-subtitle a:hover,
.contact-form-col .section-subtitle a:focus-visible {
    color: var(--dark, #14261c);
}
