/* ============================================================
   PICASSOS 线索表单
   两套主题：--dark（品牌馆/深色页） --light（首页/浅色页）
   ============================================================ */

.pcs-form {
    --pcs-gold: #B49A6A;
    --pcs-gold-soft: #D9C78F;
    --pcs-err: #D9534F;
    max-width: 660px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
    box-sizing: border-box;
}

.pcs-form *,
.pcs-form *::before,
.pcs-form *::after { box-sizing: border-box; }

.pcs-form__head { margin-bottom: 22px; text-align: center; }

.pcs-form__title {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0 0 8px;
    line-height: 1.4;
}

.pcs-form__sub {
    font-size: 13px;
    letter-spacing: 1px;
    margin: 0;
    opacity: .65;
    line-height: 1.8;
}

.pcs-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.pcs-field { display: flex; flex-direction: column; gap: 7px; }
.pcs-field--full { grid-column: 1 / -1; }

.pcs-field > label {
    font-size: 12.5px;
    letter-spacing: 1px;
    font-weight: 600;
}

.pcs-field .req { color: var(--pcs-err); margin-left: 2px; }

.pcs-field input,
.pcs-field select,
.pcs-field textarea {
    width: 100%;
    padding: 12px 14px;
    font-size: 14px;
    font-family: inherit;
    border-radius: 8px;
    outline: none;
    transition: border-color .18s, box-shadow .18s, background .18s;
    -webkit-appearance: none;
    appearance: none;
}

.pcs-field textarea { min-height: 92px; resize: vertical; line-height: 1.7; }

.pcs-field select {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23888' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    text-align: left;
    text-align-last: left;
}

/* 蜜罐：视觉上彻底消失，但保留在 DOM 里让机器人去填 */
.pcs-hp {
    position: absolute !important;
    left: -9999px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.pcs-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 20px;
    padding: 15px 24px;
    border: 0;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 3px;
    font-family: inherit;
    cursor: pointer;
    color: #1B1A17;
    background: linear-gradient(135deg, #D9C78F 0%, #B49A6A 100%);
    transition: opacity .2s, transform .12s;
}

.pcs-submit:hover { opacity: .92; }
.pcs-submit:active { transform: translateY(1px); }
.pcs-submit[disabled] { opacity: .6; cursor: not-allowed; transform: none; }

.pcs-msg {
    margin-top: 14px;
    padding: 11px 15px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.7;
    display: none;
}

.pcs-msg.is-show { display: block; }
.pcs-msg.is-err { background: rgba(217, 83, 79, .12); color: #D9534F; border: 1px solid rgba(217, 83, 79, .3); }

.pcs-note {
    margin-top: 14px;
    font-size: 11.5px;
    letter-spacing: .5px;
    text-align: center;
    opacity: .45;
    line-height: 1.7;
}

/* 成功态 */
.pcs-done {
    text-align: center;
    padding: 46px 24px;
    display: none;
}

.pcs-done.is-show { display: block; }

.pcs-done__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #D9C78F 0%, #B49A6A 100%);
    color: #1B1A17;
    font-size: 26px;
    line-height: 1;
}

.pcs-done__t { font-size: 19px; font-weight: 700; letter-spacing: 2px; margin-bottom: 10px; }
.pcs-done__d { font-size: 13.5px; line-height: 1.9; opacity: .7; }

/* ---------- 深色主题 ---------- */
.pcs-form--dark { color: #EAE0CB; }
.pcs-form--dark .pcs-form__title { color: #F2E8D5; }
.pcs-form--dark .pcs-field > label { color: rgba(234, 224, 203, .78); }
.pcs-form--dark .pcs-field input,
.pcs-form--dark .pcs-field textarea {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(217, 199, 143, .28);
    color: #F2E8D5;
}
.pcs-form--dark .pcs-field select {
    background-color: rgba(255, 255, 255, .04);
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23D9C78F' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    border: 1px solid rgba(217, 199, 143, .28);
    color: #F2E8D5;
}
.pcs-form--dark .pcs-field input::placeholder,
.pcs-form--dark .pcs-field textarea::placeholder { color: rgba(234, 224, 203, .32); }
.pcs-form--dark .pcs-field input:focus,
.pcs-form--dark .pcs-field select:focus,
.pcs-form--dark .pcs-field textarea:focus {
    border-color: rgba(217, 199, 143, .75);
    background-color: rgba(255, 255, 255, .07);
    box-shadow: 0 0 0 3px rgba(180, 154, 106, .14);
}
.pcs-form--dark .pcs-field select option { background: #1B1A17; color: #F2E8D5; }

/* ---------- 浅色主题 ---------- */
.pcs-form--light { color: #1B1A17; }
.pcs-form--light .pcs-form__title { color: #1B1A17; }
.pcs-form--light .pcs-field > label { color: #5A554A; }
.pcs-form--light .pcs-field input,
.pcs-form--light .pcs-field textarea {
    background: #FFFFFF;
    border: 1px solid #DDD7CA;
    color: #1B1A17;
}
.pcs-form--light .pcs-field select {
    background-color: #FFFFFF;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23B49A6A' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    border: 1px solid #DDD7CA;
    color: #1B1A17;
}
.pcs-form--light .pcs-field input::placeholder,
.pcs-form--light .pcs-field textarea::placeholder { color: #B5AFA2; }
.pcs-form--light .pcs-field input:focus,
.pcs-form--light .pcs-field select:focus,
.pcs-form--light .pcs-field textarea:focus {
    border-color: #B49A6A;
    box-shadow: 0 0 0 3px rgba(180, 154, 106, .15);
}

@media (max-width: 560px) {
    .pcs-form__grid { grid-template-columns: 1fr; gap: 12px; }
    .pcs-form__title { font-size: 19px; }
    .pcs-submit { letter-spacing: 2px; font-size: 14px; }
}
