/* Quote forms only: keep WPForms steps, validation and newsletter styling intact. */
.pg-site .et_pb_section.pg-quote-form {
    background: #f3f8f7 !important;
}

.pg-site .pg-quote-form .pg-pilot-form__row,
.pg-site .pg-quote-form .pg-contact-lead__row {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    align-items: start;
    gap: 64px;
    max-width: 1200px;
    margin-inline: auto;
}

.pg-site .pg-quote-form .pg-pilot-form__row {
    padding: 88px 32px;
}

.pg-site .pg-quote-form .pg-pilot-form__copy h2 {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.pg-site .pg-quote-form .pg-pilot-form__copy p:not(.pg-eyebrow) {
    font-size: 17px;
    line-height: 1.65;
}

.pg-site .pg-quote-form .pg-pilot-form__alternative,
.pg-site .pg-quote-form .pg-contact-lead__alternative {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 12px;
    margin-top: 18px;
}

.pg-site .pg-quote-form .pg-pilot-form__alternative p:not(.pg-eyebrow),
.pg-site .pg-quote-form .pg-contact-lead__alternative p {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: #505a60;
}

.pg-site .pg-quote-form .pg-pilot-form__alternative .pg-button,
.pg-site .pg-quote-form .pg-contact-lead__alternative .pg-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto;
    min-height: 44px;
    padding: 6px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #27667b;
    font-size: 15px;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.pg-site .pg-quote-form .pg-pilot-form__alternative .pg-button:hover,
.pg-site .pg-quote-form .pg-contact-lead__alternative .pg-button:hover {
    color: #1c4f60;
    text-decoration-thickness: 2px;
}

.pg-site.pg-page-contact-us .et_pb_section.pg-contact-lead.pg-quote-form {
    background: #fff !important;
}

.pg-site .pg-quote-form .pg-contact-lead__form {
    border: 0;
    border-left: 1px solid #d7e5e3;
    border-radius: 0;
    background: transparent;
    padding: 0 0 0 40px !important;
}

.pg-site .pg-quote-form .pg-contact-lead__form-intro p {
    margin-bottom: 24px;
}

.pg-site .pg-quote-form div.wpforms-container-full {
    margin: 0;
    max-width: 100%;
}

.pg-site .pg-quote-form div.wpforms-container-full .wpforms-form .wpforms-page-indicator {
    margin: 0 0 28px;
    padding: 0;
    color: #505a60;
    font-size: 13px;
    line-height: 1.6;
}

.pg-site .pg-quote-form div.wpforms-container-full .wpforms-form .wpforms-page-indicator-page-title {
    color: #101316;
    font-size: 16px;
    font-weight: 650;
}

.pg-site .pg-quote-form div.wpforms-container-full .wpforms-form .wpforms-page-indicator-page-title-sep,
.pg-site .pg-quote-form div.wpforms-container-full .wpforms-form .wpforms-page-indicator-steps {
    color: #505a60;
    font-size: 13px;
    font-weight: 500;
}

.pg-site .pg-quote-form div.wpforms-container-full .wpforms-form .wpforms-page-indicator-page-progress-wrap {
    height: 4px;
    margin-top: 12px;
    border: 0;
    border-radius: 2px;
    background: #d7e5e3;
    overflow: hidden;
}

.pg-site .pg-quote-form div.wpforms-container-full .wpforms-form .wpforms-page-indicator-page-progress {
    height: 100%;
    border-radius: inherit;
    background: #27667b !important;
}

.pg-site .pg-quote-form div.wpforms-container-full .wpforms-form .wpforms-page {
    column-gap: 20px;
}

.pg-site .pg-quote-form div.wpforms-container-full .wpforms-form .wpforms-field {
    min-width: 0;
    padding: 0 0 20px;
}

.pg-site .pg-quote-form div.wpforms-container-full .wpforms-form .wpforms-field-label {
    color: #101316;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.4;
    margin-bottom: 8px;
}

/* The postal field uses WPForms' medium size; match its neighbours without changing its field definition. */
.pg-site .pg-quote-form div.wpforms-container-full .wpforms-form :where(input[type="text"], input[type="email"], input[type="tel"], select, textarea):not(.dropzone-input) {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding: 12px 14px;
    border: 1px solid #788b8d;
    border-radius: 4px;
    background: #fff;
    color: #101316;
    font: inherit;
    font-size: 16px;
    line-height: 1.5;
    box-shadow: none;
}

.pg-site .pg-quote-form div.wpforms-container-full .wpforms-form select {
    padding-right: 32px;
}

.pg-site .pg-quote-form div.wpforms-container-full .wpforms-form textarea {
    min-height: 160px;
    resize: vertical;
}

.pg-site .pg-quote-form div.wpforms-container-full .wpforms-form :is(input, textarea)::placeholder {
    color: #59676c;
    opacity: 1;
}

.pg-site .pg-quote-form div.wpforms-container-full .wpforms-form :is(.wpforms-field-description, .wpforms-field-sublabel) {
    color: #505a60;
    font-size: 14px;
    line-height: 1.5;
    margin-top: 7px;
}

.pg-site .pg-quote-form div.wpforms-container-full .wpforms-form .wpforms-required-label,
.pg-site .pg-quote-form div.wpforms-container-full .wpforms-form :is(label, em).wpforms-error,
.pg-site .pg-quote-form div.wpforms-container-full .wpforms-form .wpforms-error-container {
    color: #b42318;
}

.pg-site .pg-quote-form div.wpforms-container-full .wpforms-form :is(input, select, textarea):not(.dropzone-input):is(.wpforms-error, [aria-invalid="true"]) {
    border-color: #b42318;
}

.pg-site .pg-quote-form div.wpforms-container-full .wpforms-form :is(input, select, textarea, button):focus-visible,
.pg-site .pg-quote-form .pg-button:focus-visible {
    outline: 2px solid #27667b;
    outline-offset: 3px;
    box-shadow: none;
}

.pg-site .pg-quote-form div.wpforms-container-full .wpforms-form .wpforms-pagebreak-split {
    display: flex;
    align-items: stretch;
    gap: 12px;
    margin-top: 8px;
}

/* WPForms' clearfix is unnecessary here and would become two extra flex items. */
.pg-site .pg-quote-form div.wpforms-container-full .wpforms-form .wpforms-pagebreak-split::before,
.pg-site .pg-quote-form div.wpforms-container-full .wpforms-form .wpforms-pagebreak-split::after {
    content: none;
}

.pg-site .pg-quote-form div.wpforms-container-full .wpforms-form .wpforms-page-button,
.pg-site .pg-quote-form div.wpforms-container-full .wpforms-form button[type="submit"] {
    height: auto !important;
    min-height: 48px;
    min-width: 0;
    max-width: 100%;
    padding: 12px 20px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 650;
    line-height: 1.4;
    white-space: normal;
}

.pg-site .pg-quote-form div.wpforms-container-full .wpforms-form .wpforms-page-prev {
    flex: 0 0 auto;
    border-color: #788b8d;
    background: transparent;
    color: #101316;
}

.pg-site .pg-quote-form div.wpforms-container-full .wpforms-form .wpforms-page-next {
    flex: 0 1 auto;
    margin-left: auto;
    background: #e5a128;
    border-color: #e5a128;
    color: #101316;
}

@media (max-width: 980px) {
    .pg-site .pg-quote-form .pg-pilot-form__row,
    .pg-site .pg-quote-form .pg-contact-lead__row {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .pg-site .pg-quote-form .pg-pilot-form__copy,
    .pg-site .pg-quote-form .pg-pilot-form__copy .et_pb_text {
        text-align: left;
    }

    .pg-site .pg-quote-form .pg-contact-lead__form {
        padding: 28px 0 0 !important;
        border-left: 0;
        border-top: 1px solid #d7e5e3;
    }
}

@media (max-width: 767px) {
    .pg-site .pg-quote-form .pg-pilot-form__row {
        padding: 56px 24px;
    }

    .pg-site .pg-quote-form .pg-pilot-form__copy h2 {
        font-size: 28px;
        margin-bottom: 16px;
    }

    .pg-site .pg-quote-form div.wpforms-container-full .wpforms-form .wpforms-page-indicator {
        margin-bottom: 24px;
    }

    .pg-site .pg-quote-form div.wpforms-container-full .wpforms-form .wpforms-page-prev {
        flex: 0 0 80px;
    }

    .pg-site .pg-quote-form div.wpforms-container-full .wpforms-form .wpforms-page-next {
        flex: 1 1 0;
    }

    .pg-site .pg-quote-form div.wpforms-container-full .wpforms-form .wpforms-page-button {
        padding-inline: 12px;
    }

    .pg-site .pg-quote-form div.wpforms-container-full .wpforms-form button[type="submit"] {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pg-site .pg-quote-form div.wpforms-container-full .wpforms-form .wpforms-page-indicator-page-progress {
        transition: none;
    }
}
