/* /m12/bbs/contact — consultation request form */
.leadForm {
    max-width: 760px;
    margin: 40px auto 20px;
    padding: 0 15px;
    text-align: left;
    scroll-margin-top: 20px;
}
.leadForm__title {
    margin: 0 0 8px;
    font-size: 26px;
    font-weight: 700;
    color: #222;
    text-align: center;
}
.leadForm__desc {
    margin: 0 0 28px;
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    text-align: center;
}
.leadForm__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 24px;
}
.leadField--full { grid-column: 1 / -1; }
.leadField label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 700;
    color: #333;
}
.leadField__req { color: #f53f25; }
.leadField input,
.leadField select,
.leadField textarea {
    display: block;
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    background: #fff;
    font-size: 15px;
    color: #222;
    box-shadow: none;
    transition: border-color .15s, box-shadow .15s;
}
.leadField select {
    padding-right: 36px;
    -webkit-appearance: none;
    appearance: none;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23666' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center;
}
.leadField textarea {
    height: auto;
    min-height: 120px;
    padding: 12px 14px;
    line-height: 1.5;
    resize: vertical;
}
.leadField input::placeholder,
.leadField textarea::placeholder { color: #9a9a9a; }
.leadField input:focus,
.leadField select:focus,
.leadField textarea:focus {
    border-color: #ff4721;
    box-shadow: 0 0 0 3px rgba(255, 71, 33, .15);
    outline: none;
}
.leadField .is-invalid { border-color: #e02424; }
.leadField__err {
    margin: 5px 0 0;
    font-size: 13px;
    line-height: 1.4;
    color: #e02424;
}
.leadField__err:empty { display: none; }
.leadForm__note {
    margin: 14px 0 0;
    font-size: 13px;
    color: #777;
}
.leadForm__submit {
    display: block;
    min-width: 260px;
    height: 50px;
    margin: 22px auto 0;
    padding: 0 32px;
    border: 0;
    border-radius: 8px;
    background: #f53f25;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color .15s;
}
.leadForm__submit:hover,
.leadForm__submit:focus { background: #d93115; }

@media (max-width: 767px) {
    .leadForm { margin-top: 28px; }
    .leadForm__title { font-size: 22px; }
    .leadForm__grid { grid-template-columns: 1fr; gap: 16px; }
    .leadForm__submit { width: 100%; min-width: 0; }
}
