/* =====================================================================
   lxwm.css — 联系我们页(/lxwm) 信息卡 + 高德地图 + 服务交付流程
   ===================================================================== */

/* ---------- 联系方式 + 地图 两栏 ---------- */
.lxwm-grid {
    margin-top: 1.4rem;
    display: -webkit-flex;
    display: flex;
    gap: 1.4rem;
    -webkit-align-items: stretch;
    align-items: stretch;
}
.lxwm-info {
    -webkit-flex: 0 0 44%;
    flex: 0 0 44%;
    min-width: 0;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    gap: 0.9rem;
}
.ci-card {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-align-items: center;
    align-items: center;
    gap: 0.2rem 0.9rem;
    padding: 1.05rem 1.2rem;
    background: #fff;
    border: 1px solid #e8ecf2;
    border-radius: 0.7rem;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.ci-card:hover {
    transform: translateY(-3px);
    border-color: rgba(75, 117, 253, 0.4);
    box-shadow: 0 10px 22px rgba(11, 26, 51, 0.08);
}
.ci-ic {
    -webkit-flex: 0 0 auto;
    flex: 0 0 auto;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #3d63e8, #6f96ff);
    color: #fff;
    font-size: 1.1rem;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
}
/* 工作时间使用 SVG 时钟(图标字体无对应字形) */
.ci-ic .ci-svg {
    display: block;
    width: 1.35rem;
    height: 1.35rem;
    stroke: #fff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}
.ci-card .lab {
    font-size: 0.62rem;
    color: #98a3b0;
    letter-spacing: 1px;
}
.ci-card b {
    width: 100%;
    font-size: 0.92rem;
    font-weight: 700;
    color: #0b1a33;
    line-height: 1.5;
    word-break: break-all;
}
.ci-card em {
    width: 100%;
    font-style: normal;
    font-size: 0.66rem;
    color: #8a93a5;
}

/* 地图 */
.lxwm-map {
    -webkit-flex: 1;
    flex: 1;
    min-width: 0;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
}
.map-frame {
    position: relative;
    -webkit-flex: 1;
    flex: 1;
    min-height: 24rem;
    background: #f4f6f9;
    border: 1px solid #e8ecf2;
    border-radius: 0.7rem;
    overflow: hidden;
}
/* 图钉上方的公司信息卡(百度地图 Label 内容, 匹配参考样式) */
.map-card {
    width: 280px;
    padding: 0.7rem 0.9rem 0.75rem;
    background: #fff;
    border: 1px solid #e3e8ef;
    border-radius: 0.55rem;
    box-shadow: 0 6px 20px rgba(11, 26, 51, 0.16);
    font-size: 0.72rem;
    line-height: 1.45;
    color: #16203a;
    text-align: left;
    white-space: normal;
    word-break: break-all;
}
/* 卡片底部小三角, 指向图钉 */
.map-card::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -7px;
    width: 12px;
    height: 12px;
    margin-left: -6px;
    background: #fff;
    border-right: 1px solid #e3e8ef;
    border-bottom: 1px solid #e3e8ef;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
.map-card b {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #0b1a33;
    letter-spacing: 0.02em;
}
.map-card .addr {
    display: block;
    margin-top: 0.4rem;
    position: relative;
    padding-left: 1rem;
    color: #435062;
}
.map-card .addr i {
    position: absolute;
    left: 0;
    top: 0.18em;
    width: 0.62rem;
    height: 0.78rem;
    background: #4285f4;
    -webkit-mask: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center/contain no-repeat;
}
/* 百度 Label 默认带边框/内边距, 交由 .map-card 控制外观 */
.map-frame .BMapLabel {
    border: 0 !important;
    background: transparent !important;
    padding: 0 !important;
    overflow: visible !important;
}
@media screen and (max-width: 560px) {
    .map-card {
        width: 280px;
        padding: 0.6rem 0.8rem 0.65rem;
    }
}
#lxwmBMap {
    width: 100%;
    height: 100%;
    min-height: 24rem;
    display: block;
}
.map-fallback {
    width: 100%;
    height: 100%;
    min-height: 24rem;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.6rem;
    color: #8a93a5;
    font-size: 0.8rem;
}
.map-fallback a {
    color: #4b75fd;
}
.map-actions {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    gap: 0.9rem;
    flex-wrap: wrap;
    margin-top: 0.8rem;
}
.map-nav {
    display: -webkit-inline-flex;
    display: inline-flex;
    -webkit-align-items: center;
    align-items: center;
    padding: 0.58rem 1.3rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #3d63e8, #6f96ff);
    color: #fff !important;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.map-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(75, 117, 253, 0.3);
}
.map-tip {
    font-size: 0.64rem;
    color: #8a93a5;
}

/* ---------- 服务交付流程 ---------- */
.lxwm-sec {
    margin-top: 2.6rem;
}
.lxwm-sub {
    margin: 0.6rem 0 0;
    font-size: 0.72rem;
    color: #5a6a85;
}
.flow-steps {
    margin-top: 1.2rem;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.9rem;
}
.flow-step {
    position: relative;
    background: #fff;
    border: 1px solid #e8ecf2;
    border-radius: 0.7rem;
    padding: 1.2rem 1rem 1.1rem;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.flow-step:hover {
    transform: translateY(-4px);
    border-color: rgba(75, 117, 253, 0.4);
    box-shadow: 0 12px 26px rgba(11, 26, 51, 0.1);
}
.flow-step .no {
    position: absolute;
    top: 0.55rem;
    right: 0.85rem;
    font-size: 1.6rem;
    font-weight: 800;
    font-style: italic;
    color: #e8f0fc;
    line-height: 1;
    user-select: none;
}
.flow-step h3 {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 700;
    color: #0b1a33;
    letter-spacing: 0.5px;
}
.flow-step p {
    margin: 0.6rem 0 0;
    font-size: 0.66rem;
    line-height: 1.8;
    color: #435062;
    text-align: justify;
}
.flow-fig {
    margin-top: 1.4rem;
    background: #fff;
    border: 1px solid #e8ecf2;
    border-radius: 0.7rem;
    padding: 0.9rem;
}
.flow-fig img {
    width: 100%;
    display: block;
    border-radius: 0.5rem;
    cursor: zoom-in;
}
.flow-fig .tip {
    display: block;
    margin-top: 0.6rem;
    text-align: center;
    font-size: 0.6rem;
    color: #98a3b0;
}

/* ---------- 响应式 ---------- */
@media screen and (max-width: 992px) {
    .lxwm-grid {
        flex-direction: column;
    }
    .lxwm-info {
        -webkit-flex: 0 0 100%;
        flex: 0 0 100%;
    }
    .flow-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media screen and (max-width: 768px) {
    .map-frame {
        min-height: 18rem;
    }
    #lxwmBMap {
        min-height: 18rem;
    }
    .flow-step p {
        font-size: 0.66rem;
    }
}
@media screen and (max-width: 560px) {
    .flow-steps {
        grid-template-columns: 1fr;
    }
    .flow-step .no {
        font-size: 1.3rem;
    }
    .map-actions {
        flex-direction: column;
        -webkit-align-items: flex-start;
        align-items: flex-start;
    }
}