/* H5 留言页样式 —— 新中式极简：米白底 + 墨线 + 金 */
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
    background: #faf7f0;
    color: #333;
    line-height: 1.6;
}
.ks-wrap { max-width: 480px; margin: 0 auto; padding: 16px; }
.ks-empty { text-align: center; color: #999; padding: 60px 0; }

.ks-banner { margin: -16px -16px 0; }
.ks-banner img { width: 100%; height: 180px; object-fit: cover; display: block; }

.ks-card {
    background: #fff;
    border: 1px solid #f0e9dc;
    border-radius: 14px;
    padding: 22px 18px 26px;
    margin-top: 16px;
    box-shadow: 0 4px 18px rgba(120, 100, 60, 0.06);
}
.ks-title {
    margin: 0 0 6px;
    font-size: 21px;
    font-weight: 600;
    color: #2b2620;
    letter-spacing: 1px;
}
.ks-title::after {
    content: "";
    display: block;
    width: 36px;
    height: 3px;
    background: #c9a86a;
    margin-top: 10px;
    border-radius: 2px;
}
.ks-desc { margin: 0 0 18px; color: #999; font-size: 13px; }

.ks-field { margin-bottom: 16px; }
.ks-label { display: block; font-size: 14px; color: #555; margin-bottom: 7px; }
.ks-label .req { color: #c0392b; }

.ks-control input[type=text],
.ks-control input[type=tel],
.ks-control input[type=email],
.ks-control input[type=number],
.ks-control input[type=datetime-local],
.ks-control select,
.ks-control textarea {
    width: 100%;
    padding: 11px 12px;
    font-size: 15px;
    color: #333;
    background: #faf7f0;
    border: 1px solid #e6ddca;
    border-radius: 8px;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
    font-family: inherit;
}
.ks-control input:focus,
.ks-control select:focus,
.ks-control textarea:focus {
    border-color: #c9a86a;
    box-shadow: 0 0 0 3px rgba(201,168,106,0.18);
}
.ks-control textarea { resize: vertical; }

.ks-submit {
    width: 100%;
    padding: 13px;
    margin-top: 6px;
    font-size: 16px;
    color: #fff;
    background: #c9a86a;
    border: none;
    border-radius: 9px;
    cursor: pointer;
    letter-spacing: 2px;
    transition: background .15s, opacity .15s;
}
.ks-submit:hover { background: #b8965a; }
.ks-submit:disabled { opacity: .6; cursor: default; }

.ks-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.ks-msg {
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
}
.ks-msg.ok { background: #eef7ee; color: #2e7d32; border: 1px solid #cfe8cf; }
.ks-msg.err { background: #fdecea; color: #c0392b; border: 1px solid #f5c6c0; }
