/* ==========================================================================
   AntCMS web_1 主题 - 联系我们专属样式 (contact.css)
   以 H:\gemini\web_1\contact.html 为参照物，解耦自包含独立维护
   ========================================================================== */

/* 页面通用布局容器 */
.c {
    width: min(1220px, calc(100% - 32px));
    margin: 0 auto;
}

/* 面包屑导航 */
.bc {
    padding: 18px 0;
    font-size: 13px;
    color: #667085;
}
.bc a {
    color: #475467;
    text-decoration: none;
    transition: color .15s;
}
.bc a:hover {
    color: #0f62fe;
}
.bc .crumb-sep {
    margin: 0 8px;
    color: #98a2b3;
}
.bc .crumb-cur {
    color: #101828;
    font-weight: 600;
}

/* 顶部 Hero 区域 */
.hero {
    padding: 24px 0 52px;
    background: linear-gradient(180deg, #fff, #f8fbff);
    border-bottom: 1px solid #eef2f6;
}
.hero small,
.sh small {
    display: block;
    color: #0f62fe;
    font-weight: 900;
    letter-spacing: 1.15px;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.hero h1 {
    font-size: 44px;
    line-height: 1.1;
    margin: 8px 0 14px;
    color: #101828;
    font-weight: 800;
}
.hero p {
    max-width: 820px;
    color: #667085;
    margin: 0;
    font-size: 16px;
    line-height: 1.68;
}

/* 章节通用 */
.sec {
    padding: 68px 0;
}
.soft {
    background: #f7f9fc;
}

.sh {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 28px;
}
.sh h2 {
    font-size: 32px;
    line-height: 1.2;
    margin: 4px 0 0;
    color: #101828;
    font-weight: 800;
}
.sh p {
    max-width: 650px;
    color: #667085;
    margin: 0;
    font-size: 14.5px;
}

/* 4 格联系方式信息卡片 */
.info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}
.info .card {
    border: 1px solid #e4e7ec;
    border-radius: 18px;
    background: #fff;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(16, 24, 40, 0.03);
    transition: transform .2s, box-shadow .2s;
}
.info .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(16, 24, 40, 0.07);
}
.info .label {
    font-size: 12.5px;
    color: #667085;
    margin-bottom: 8px;
    font-weight: 600;
}
.info .value {
    font-size: 18px;
    font-weight: 800;
    color: #101828;
    word-break: break-all;
    line-height: 1.4;
}
.info .value a {
    color: #101828;
    text-decoration: none;
    transition: color .15s;
}
.info .value a:hover {
    color: #0f62fe;
}
.info .qrcode-thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e4e7ec;
    margin-top: 8px;
}

/* 分割布局：左地图/指引 + 右需求提交表单 */
.split {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 32px;
    align-items: stretch;
}

/* 地图与交通指南卡片 */
.map-box {
    min-height: 480px;
    border: 1px solid #e4e7ec;
    border-radius: 22px;
    background: linear-gradient(145deg, #f0f4f9, #dbe4ef);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 32px;
    box-shadow: 0 4px 18px rgba(16, 24, 40, 0.04);
}
.map-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.12;
    background-image: radial-gradient(#0f62fe 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    pointer-events: none;
}
.map-head h3 {
    font-size: 22px;
    color: #101828;
    margin: 0 0 8px;
    font-weight: 800;
}
.map-head p {
    color: #475467;
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
}
.map-center-pin {
    margin: auto 0;
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.95);
    padding: 16px 20px;
    border-radius: 16px;
    border: 1px solid #cbd5e1;
    box-shadow: 0 8px 24px rgba(16, 24, 40, 0.08);
}
.map-pin-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #0f62fe;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex: 0 0 44px;
}
.map-pin-text strong {
    display: block;
    font-size: 15px;
    color: #101828;
    margin-bottom: 2px;
}
.map-pin-text span {
    font-size: 13px;
    color: #64748b;
}
.map-foot {
    font-size: 13px;
    color: #475467;
    background: rgba(255, 255, 255, 0.85);
    padding: 12px 16px;
    border-radius: 12px;
}

/* 在线需求提交表单 Form */
.form {
    border: 1px solid #e4e7ec;
    border-radius: 22px;
    background: #fff;
    padding: 30px;
    box-shadow: 0 8px 28px rgba(16, 24, 40, 0.05);
}
.form h3 {
    margin: 0 0 6px;
    font-size: 22px;
    color: #101828;
    font-weight: 800;
}
.form-sub {
    font-size: 13px;
    color: #667085;
    margin: 0 0 20px;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.field {
    display: grid;
    gap: 6px;
}
.field.full {
    grid-column: 1 / -1;
}
.field label {
    font-size: 12.5px;
    color: #344054;
    font-weight: 700;
}
.field label .req {
    color: #f04438;
    margin-left: 2px;
}
.field input,
.field textarea,
.field select {
    width: 100%;
    border: 1px solid #d0d5dd;
    border-radius: 10px;
    padding: 11px 14px;
    background: #fff;
    font-size: 14px;
    color: #101828;
    box-sizing: border-box;
    font-family: inherit;
    transition: border-color .15s, box-shadow .15s;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
    outline: none;
    border-color: #0f62fe;
    box-shadow: 0 0 0 3px rgba(15, 98, 254, 0.14);
}
.field textarea {
    min-height: 120px;
    resize: vertical;
}
.submit-btn {
    border: 0;
    background: #0f62fe;
    color: #fff;
    border-radius: 11px;
    padding: 13px 20px;
    font-weight: 800;
    cursor: pointer;
    width: 100%;
    font-size: 15px;
    transition: background .15s, transform .1s;
}
.submit-btn:hover {
    background: #0d53d6;
}
.submit-btn:disabled {
    opacity: .6;
    cursor: not-allowed;
}
.hint {
    font-size: 12px;
    color: #98a2b3;
    margin-top: 10px;
    text-align: center;
}

/* 表单即时状态提示 Alert */
.form-feedback {
    display: none;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 13.5px;
    margin-bottom: 16px;
    text-align: center;
    font-weight: 600;
}
.form-feedback.success {
    display: block;
    background: #edfcf2;
    color: #099250;
    border: 1px solid #a6f4c5;
}
.form-feedback.error {
    display: block;
    background: #fef3f2;
    color: #d92d20;
    border: 1px solid #fecdca;
}

/* 4 格咨询须知卡片 */
.grid4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.grid3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.card {
    border: 1px solid #e4e7ec;
    border-radius: 18px;
    background: #fff;
    padding: 22px;
    box-shadow: 0 2px 10px rgba(16, 24, 40, 0.02);
}
.card b {
    display: block;
    color: #0f62fe;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 8px;
}
.card strong {
    display: block;
    margin-bottom: 6px;
    font-size: 16px;
    color: #101828;
}
.card span,
.card p {
    font-size: 13px;
    color: #667085;
    margin: 0;
    line-height: 1.5;
    display: block;
}

/* 底部咨询横幅 CTA Band */
.band {
    margin: 0 auto 68px;
    background: linear-gradient(135deg, #0f62fe, #1649a7);
    color: #fff;
    border-radius: 24px;
    padding: 40px 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-shadow: 0 16px 36px rgba(15, 98, 254, 0.22);
}
.band h2 {
    font-size: 28px;
    margin: 0 0 8px;
    font-weight: 800;
}
.band p {
    margin: 0;
    color: #dbe7ff;
    font-size: 15px;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: all .2s;
    white-space: nowrap;
}
.btn-light {
    background: #fff;
    color: #101828;
}
.btn-light:hover {
    background: #f8fbff;
    color: #0f62fe;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* 响应式断点适配 */
@media(max-width: 1000px) {
    .split {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .grid4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .grid3 {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

@media(max-width: 720px) {
    .c {
        width: calc(100% - 28px);
    }
    .hero h1 {
        font-size: 32px;
    }
    .sec {
        padding: 48px 0;
    }
    .sh {
        align-items: flex-start;
        flex-direction: column;
    }
    .sh h2 {
        font-size: 26px;
    }
    .info,
    .grid4 {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .field.full {
        grid-column: auto;
    }
    .band {
        margin-bottom: 48px;
        padding: 26px 20px;
        align-items: flex-start;
        flex-direction: column;
    }
    .band h2 {
        font-size: 22px;
    }
}
