.lmb-contact-form {
    display: grid;
    gap: 18px;
    max-width: 760px;
    width: 100%;
}

.lmb-contact-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lmb-contact-field {
    display: grid;
    gap: 7px;
    font-weight: 600;
}

.lmb-contact-field input,
.lmb-contact-field select,
.lmb-contact-field textarea {
    border: 1px solid #c9c9c9;
    border-radius: 6px;
    box-sizing: border-box;
    font: inherit;
    min-height: 44px;
    padding: 10px 12px;
    width: 100%;
}

.lmb-contact-field textarea {
    min-height: 160px;
    resize: vertical;
}

.lmb-contact-hp {
    left: -9999px;
    position: absolute;
}

.lmb-contact-consent {
    align-items: flex-start;
    display: flex;
    gap: 10px;
    line-height: 1.45;
}

.lmb-contact-consent input {
    margin-top: 4px;
}

.lmb-contact-submit {
    align-self: start;
    background: #111;
    border: 0;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    min-height: 46px;
    padding: 12px 20px;
}

.lmb-contact-submit:hover,
.lmb-contact-submit:focus {
    background: #333;
}

.lmb-contact-notice {
    border-radius: 6px;
    padding: 12px 14px;
}

.lmb-contact-notice p {
    margin: 0;
}

.lmb-contact-notice p + p {
    margin-top: 6px;
}

.lmb-contact-notice-success {
    background: #e9f7ef;
    border: 1px solid #9bd6b0;
    color: #185c2d;
}

.lmb-contact-notice-error {
    background: #fff1f1;
    border: 1px solid #e4a0a0;
    color: #7d1d1d;
}

@media (max-width: 700px) {
    .lmb-contact-grid {
        grid-template-columns: 1fr;
    }
}
