/* BR CONTACT FORM V1 — secure public contact form */

html body.siteBody .contactPage {
    min-height: 570px;
}

html body.siteBody .contactHeader {
    max-width: 700px;
    margin-bottom: 27px;
}

html body.siteBody .contactHeader .eyebrow {
    display: inline-block;
    margin-bottom: 10px;
}

html body.siteBody .contactHeader h1 {
    margin: 0 0 13px !important;
    color: var(--br-navy) !important;
    font-size: clamp(30px,4.2vw,48px) !important;
    line-height: 1.04 !important;
    letter-spacing: -1.25px !important;
    font-weight: 820 !important;
}

html body.siteBody .contactHeader h1::after {
    content: "";
    display: block;
    width: 58px;
    height: 4px;
    margin-top: 16px;
    border-radius: 999px;
    background: linear-gradient(90deg,var(--br-green),#60ce80);
}

html body.siteBody .contactHeader p {
    max-width: 660px;
    margin: 18px 0 0;
    color: var(--br-muted);
    font-size: 14px;
    line-height: 1.65;
}

html body.siteBody .contactNotice {
    margin: 0 0 18px;
    padding: 13px 15px;
    border: 1px solid #d9e4e9;
    border-left: 4px solid #7891a3;
    border-radius: 10px;
    background: #f6f9fa;
    color: #425769;
    font-size: 13px;
    line-height: 1.45;
}

html body.siteBody .contactNoticeSuccess {
    border-color: #cae7d2;
    border-left-color: var(--br-green);
    background: #eef8f1;
    color: #285d3b;
}

html body.siteBody .contactNoticeSuccess strong,
html body.siteBody .contactNoticeSuccess span {
    display: block;
}

html body.siteBody .contactNoticeError {
    border-color: #efc8cc;
    border-left-color: #bd4653;
    background: #fff4f5;
    color: #7b2933;
}

html body.siteBody .contactForm {
    max-width: 740px;
}

html body.siteBody .contactGrid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 15px;
}

html body.siteBody .contactField {
    margin-bottom: 16px;
}

html body.siteBody .contactField label {
    display: block;
    margin: 0 0 6px;
    color: var(--br-navy);
    font-size: 12px;
    font-weight: 760;
}

html body.siteBody .contactField label span {
    color: var(--br-green);
}

html body.siteBody .contactField input,
html body.siteBody .contactField textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #cfdde4;
    border-radius: 10px;
    background: linear-gradient(180deg,#fff,#fcfdfe);
    color: var(--br-ink);
    font: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

html body.siteBody .contactField input {
    min-height: 44px;
    padding: 0 13px;
}

html body.siteBody .contactField textarea {
    min-height: 180px;
    padding: 12px 13px;
    resize: vertical;
    line-height: 1.55;
}

html body.siteBody .contactField input:focus,
html body.siteBody .contactField textarea:focus {
    border-color: rgba(22,148,71,.55);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(22,148,71,.09);
}

html body.siteBody .contactHelp,
html body.siteBody .contactFieldError {
    display: block;
    margin-top: 5px;
    font-size: 10px;
    line-height: 1.4;
}

html body.siteBody .contactHelp {
    color: #7a8996;
}

html body.siteBody .contactFieldError {
    color: #a63845;
    font-weight: 650;
}

html body.siteBody .contactActions {
    display: flex;
    align-items: center;
    gap: 17px;
    margin-top: 5px;
}

html body.siteBody .contactSubmit {
    min-height: 44px;
    padding: 0 19px;
    border: 0;
    border-radius: 9px;
    background: linear-gradient(135deg,#169447,#117b3d);
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 780;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(22,148,71,.18);
    transition: transform .15s ease,box-shadow .15s ease,opacity .15s ease;
}

html body.siteBody .contactSubmit:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 11px 24px rgba(22,148,71,.23);
}

html body.siteBody .contactSubmit:disabled {
    opacity: .48;
    cursor: not-allowed;
    box-shadow: none;
}

html body.siteBody .contactActions p {
    max-width: 390px;
    margin: 0;
    color: #758493;
    font-size: 10px;
    line-height: 1.45;
}

/* Real field for bots, inaccessible visually and by keyboard. */
html body.siteBody .contactTrap {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 650px) {
    html body.siteBody .contactGrid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    html body.siteBody .contactActions {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    html body.siteBody .contactField input,
    html body.siteBody .contactField textarea,
    html body.siteBody .contactSubmit {
        transition: none !important;
    }
}
