/* Standalone contact form for [hmc_contact_message] */

.hmc-contact-message,
.hmc-contact-message * {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.hmc-contact-message {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(320px, 1.1fr);
    gap: clamp(24px, 5vw, 72px);
    align-items: center;
    padding: clamp(24px, 3vw, 48px);
    background: #f0ebda;
}

.hmc-contact-message__intro {
    text-align: center;
}

.hmc-contact-message__title {
    margin: 0 0 10px;
    font-family: Georgia, serif;
    font-size: clamp(32px, 3vw, 46px);
    font-weight: 400;
    font-style: normal;
    color: #1a1919;
}

.hmc-contact-message__subtitle {
    margin: 0;
    color: #4f504e;
    font-size: 16px;
}

.hmc-contact-message__panel {
    background: rgba(255, 255, 255, 0.22);
    padding: clamp(20px, 3vw, 36px);
}

.hmc-contact-message__status {
    display: none;
    margin-bottom: 1rem;
    padding: 10px 12px;
    font-size: 13px;
    border-left: 3px solid #1a1919;
    background: rgba(255, 255, 255, 0.5);
    color: #1a1919;
}

.hmc-contact-message__status.is-visible {
    display: block;
}

.hmc-contact-message__status.is-error {
    border-left-color: #b42318;
    color: #b42318;
}

.hmc-contact-message__field {
    margin-bottom: 18px;
}

.hmc-contact-message__field label {
    display: block;
    margin-bottom: 4px;
    color: #8b887f;
    font-size: 13px;
}

.hmc-contact-message__field input,
.hmc-contact-message__field textarea {
    width: 100%;
    border: 0;
    border-bottom: 1px solid #b9b6ad;
    border-radius: 0;
    padding: 8px 0;
    background: transparent;
    color: #1a1919;
    font-size: 16px;
    box-shadow: none;
}

.hmc-contact-message__field textarea {
    min-height: 74px;
    resize: vertical;
}

.hmc-contact-message__field input:focus,
.hmc-contact-message__field textarea:focus {
    outline: none;
    border-bottom-color: #1a1919;
}

.hmc-contact-message__field.is-error input,
.hmc-contact-message__field.is-error textarea {
    border-bottom-color: #b42318;
}

.hmc-contact-message__note {
    margin: 0 0 12px;
    font-size: 11px;
    color: #8b887f;
    line-height: 1.5;
}

.hmc-contact-message__note a {
    color: #232323;
    text-decoration: underline;
}

.hmc-contact-message__actions {
    margin-top: 10px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

.hmc-contact-message__iconWrap {
    min-height: 52px;
    display: flex;
    align-items: center;
}

.hmc-contact-message__icon {
    width: 72px;
    height: auto;
    display: block;
}

.hmc-contact-message__submit {
    border: 0;
    background: transparent;
    color: #4f504e;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-size: 15px;
    cursor: pointer;
    padding: 0;
}

.hmc-contact-message__submit:hover,
.hmc-contact-message__submit:focus {
    color: #5E2C04;
    outline: none;
}

.hmc-contact-message__submit:disabled {
    opacity: 0.6;
    cursor: wait;
}

@media (max-width: 900px) {
    .hmc-contact-message {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hmc-contact-message__intro {
        text-align: left;
    }
}
