/* FMM Contact — brand: red #c61818 | ink #1a1a1a | white */

.fmm-contact-wrap {
    max-width: 620px;
    margin: 0 auto;
    padding: 8px 0;
    font-family: inherit;
}

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

.fmm-contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.fmm-contact-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media (max-width: 480px) {
    .fmm-contact-row { grid-template-columns: 1fr; }
}

.fmm-contact-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.fmm-contact-field label {
    font-size: .85rem;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: .02em;
}
.fmm-contact-field input,
.fmm-contact-field textarea {
    padding: 11px 14px;
    border: 1.5px solid #d7dbe0;
    border-radius: 8px;
    font-size: .95rem;
    color: #1a1a1a;
    background: #fff;
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
    transition: border-color .2s, box-shadow .2s;
}
.fmm-contact-field textarea { resize: vertical; min-height: 130px; }
.fmm-contact-field input:focus,
.fmm-contact-field textarea:focus {
    outline: none;
    border-color: #c61818;
    box-shadow: 0 0 0 3px rgba(198,24,24,.12);
}

.fmm-contact-btn {
    align-self: flex-start;
    background: #c61818;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 30px;
    font-size: .95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .18s, box-shadow .18s;
}
.fmm-contact-btn:hover {
    background: #a30f0f;
    box-shadow: 0 4px 14px rgba(198,24,24,.28);
}

.fmm-contact-msg {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 18px;
    font-size: .92rem;
    line-height: 1.5;
}
.fmm-contact-msg ul { margin: 0; padding-left: 18px; }
.fmm-contact-success { background: #eaf7ee; color: #1a5c30; border-left: 4px solid #34a853; }
.fmm-contact-error   { background: #fdecea; color: #8b1a1a; border-left: 4px solid #c61818; }

/* RTL */
[dir="rtl"] .fmm-contact-wrap { text-align: right; }
[dir="rtl"] .fmm-contact-success { border-left: none; border-right: 4px solid #34a853; }
[dir="rtl"] .fmm-contact-error   { border-left: none; border-right: 4px solid #c61818; }
[dir="rtl"] .fmm-contact-msg ul  { padding-left: 0; padding-right: 18px; }
[dir="rtl"] .fmm-contact-btn     { align-self: flex-end; }
