/* ============================================================
   联系我们 · 需求登记表样式
   与站点深色玻璃卡片 + primary 蓝保持一致；不引入新主题色。
   ============================================================ */

.contact-page .contact-lead {
    color: #9ca3af;
    font-size: 15px;
    line-height: 1.9;
}

/* 左栏联系方式图标沿用首页三色 */
.contact-page .ci-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-page .ci-icon--blue   { background: rgba(0, 102, 255, .18); }
.contact-page .ci-icon--amber  { background: rgba(249, 115, 22, .16); }
.contact-page .ci-icon--green  { background: rgba(16, 185, 129, .16); }

.contact-page .ci-name { color: #fff; font-weight: 600; margin-bottom: 4px; }
.contact-page .ci-value { color: #9ca3af; font-size: 14px; line-height: 1.7; }
.contact-page .ci-value a:hover { color: #66a3ff; }

/* 企业微信名片 */
.contact-page .wechat-card img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    background: #fff;
}
.contact-page .wechat-card .wechat-zoom {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    cursor: zoom-in;
    transition: transform .4s cubic-bezier(.4, 0, .2, 1);
}
.contact-page .wechat-card .wechat-zoom:hover { transform: scale(1.015); }

/* ---------- 右栏登记表 ---------- */
.cf-panel {
    background: linear-gradient(150deg, rgba(19, 28, 45, .96) 0%, rgba(13, 20, 34, .92) 100%);
    border: 1px solid rgba(0, 102, 255, .22);
    border-radius: 22px;
    padding: 32px;
    box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .8);
}
.cf-title {
    color: #fff;
    font-size: 27px;
    line-height: 1.45;
    font-weight: 700;
    margin: 0 0 16px;
}
.cf-leads { margin-bottom: 26px; }
.cf-leads p {
    color: #a8b3c5;
    font-size: 14px;
    line-height: 1.95;
    margin: 0 0 10px;
}
.cf-leads p:last-child { margin-bottom: 0; }

/* 表单 */
.cf-form { display: block; }
.cf-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.cf-row { margin-bottom: 16px; }
.cf-row label {
    display: flex;
    align-items: baseline;
    gap: 6px;
    color: #c9d4e5;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 8px;
}
.cf-row label .cf-req { color: #66a3ff; font-style: normal; }
.cf-row label .cf-opt { color: #64748b; font-size: 11px; font-weight: 400; }

.cf-input,
.cf-select,
.cf-textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 13px;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 10px;
    background: rgba(8, 14, 26, .62);
    color: #f1f5fb;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.6;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.cf-input::placeholder,
.cf-textarea::placeholder { color: #5c6a80; }
.cf-input:hover, .cf-select:hover, .cf-textarea:hover { border-color: rgba(102, 163, 255, .35); }
.cf-input:focus, .cf-select:focus, .cf-textarea:focus {
    border-color: rgba(51, 133, 255, .85);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, .15);
    background: rgba(10, 18, 32, .85);
}
.cf-textarea { resize: vertical; min-height: 96px; }
.cf-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238492a8' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 13px center;
    padding-right: 36px;
    cursor: pointer;
}
.cf-select option { background: #101a2c; color: #f1f5fb; }
.cf-input.is-invalid, .cf-textarea.is-invalid { border-color: rgba(251, 146, 60, .8); }

/* 蜜罐字段：移出视口但不 display:none */
.cf-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px; height: 1px;
    overflow: hidden;
}

.cf-submit {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 6px;
    padding: 14px 20px;
    border: 0;
    border-radius: 11px;
    background: linear-gradient(120deg, #0066ff 0%, #2f7bff 55%, #0052cc 100%);
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 12px 30px -12px rgba(0, 102, 255, .75);
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.cf-submit:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 18px 36px -12px rgba(0, 102, 255, .9); }
.cf-submit:focus-visible { outline: 2px solid #99c2ff; outline-offset: 3px; }
.cf-submit:disabled { opacity: .6; cursor: wait; }
.cf-submit svg { width: 16px; height: 16px; }

.cf-privacy {
    color: #76859b;
    font-size: 12px;
    line-height: 1.8;
    margin: 14px 0 0;
}
.cf-privacy a { color: #66a3ff; }

/* 提交状态 */
.cf-status {
    margin-top: 18px;
    padding: 16px 18px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.8;
}
.cf-status[hidden] { display: none !important; }
.cf-status.is-ok {
    border: 1px solid rgba(16, 185, 129, .35);
    background: rgba(16, 185, 129, .09);
    color: #c8eee0;
}
.cf-status.is-error {
    border: 1px solid rgba(251, 146, 60, .35);
    background: rgba(251, 146, 60, .08);
    color: #f4d5b8;
}
.cf-status > strong { display: block; font-size: 15px; margin-bottom: 4px; color: #fff; }
.cf-status p { margin: 6px 0 0; }
.cf-status a { color: #99c2ff; }
.cf-status p strong { color: #fff; font-weight: 600; }
.cf-status-tag {
    display: inline-block;
    margin-bottom: 8px;
    color: #86efc4;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .14em;
}
.cf-fallback { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.cf-fallback a, .cf-fallback button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    background: rgba(255, 255, 255, .05);
    color: #dce6f5;
    font-family: inherit;
    font-size: 12.5px;
    text-decoration: none;
    cursor: pointer;
}
.cf-fallback a:hover, .cf-fallback button:hover { border-color: rgba(102, 163, 255, .6); }

.cf-devnote {
    margin-bottom: 18px;
    padding: 9px 13px;
    border: 1px dashed rgba(251, 191, 36, .4);
    border-radius: 9px;
    color: #d8bd7a;
    background: rgba(251, 191, 36, .06);
    font-size: 12px;
}
.cf-devnote[hidden] { display: none !important; }

@media (max-width: 1024px) {
    .cf-panel { padding: 26px; }
}
@media (max-width: 640px) {
    .cf-panel { padding: 22px 18px; border-radius: 16px; }
    .cf-title { font-size: 22px; }
    .cf-grid2 { grid-template-columns: 1fr; gap: 0; }
}
