/*
|--------------------------------------------------------------------------
| Contact Form
|--------------------------------------------------------------------------
*/

.contact-form {
    margin-top: 30px;
}


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


.contact-field {
    min-width: 0;
}


.contact-field-full {
    grid-column: 1 / -1;
}


.contact-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 750;
    color: #242429;
}


.contact-field label span {
    color: #b42318;
}


.contact-field input,
.contact-field textarea {
    display: block;
    width: 100%;
    border: 1px solid #dcdce2;
    border-radius: 10px;
    background: #ffffff;
    color: #18181d;
    font: inherit;
    font-size: 15px;
    outline: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.contact-field input {
    height: 48px;
    padding: 0 14px;
}


.contact-field textarea {
    min-height: 190px;
    padding: 14px;
    line-height: 1.7;
    resize: vertical;
}


.contact-field input:focus,
.contact-field textarea:focus {
    border-color: #777780;
    box-shadow:
        0 0 0 3px
        rgba(
            0,
            0,
            0,
            0.06
        );
}


.contact-field small {
    display: block;
    margin-top: 7px;
    font-size: 12px;
    color: #777781;
}


/*
|--------------------------------------------------------------------------
| Submit
|--------------------------------------------------------------------------
*/

.contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin-top: 22px;
    padding: 12px 25px;
    border: 0;
    border-radius: 9px;
    background: #151519;
    color: #ffffff;
    font-size: 14px;
    line-height: 1;
    font-weight: 800;
    cursor: pointer;
    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}


.contact-submit:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}


/*
|--------------------------------------------------------------------------
| Messages
|--------------------------------------------------------------------------
*/

.contact-message {
    margin-top: 22px;
    padding: 16px 18px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.65;
}


.contact-message-success {
    border: 1px solid #b7dfc3;
    background: #f0faf3;
    color: #17632d;
}


.contact-message-error {
    border: 1px solid #efc4c0;
    background: #fff4f3;
    color: #8f231b;
}


.contact-message-error strong {
    display: block;
    margin-bottom: 8px;
}


.contact-message-error ul {
    margin: 0;
    padding-left: 20px;
}


/*
|--------------------------------------------------------------------------
| Honeypot
|--------------------------------------------------------------------------
*/

.contact-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}


/*
|--------------------------------------------------------------------------
| Sidebar
|--------------------------------------------------------------------------
*/

.contact-sidebar-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.75;
    color: #62626c;
}


/*
|--------------------------------------------------------------------------
| Mobile
|--------------------------------------------------------------------------
*/

@media (
    max-width: 600px
) {

    .contact-form-grid {
        grid-template-columns: 1fr;
    }


    .contact-field-full {
        grid-column: auto;
    }


    .contact-submit {
        width: 100%;
    }

}