/* 联系页 contact.html 专属样式（v20260914-contact-v5：移除已废弃的 OSM 兜底样式） */

.contact-page-inner { max-width: 1120px; }

/* ---------- 销售联系人卡片 ---------- */
.contact-people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; margin-bottom: 15px; }

.contact-person { display: flex; gap: 16px; align-items: flex-start; padding: 24px 24px 22px; border: 1px solid var(--line); border-radius: 15px; background: linear-gradient(145deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012)); transition: border-color .22s ease, transform .22s ease, box-shadow .22s ease; }
.contact-person:hover { border-color: rgba(59, 151, 255, .42); box-shadow: 0 14px 34px rgba(3, 10, 20, .38); transform: translateY(-2px); }
.contact-person.is-primary { border-color: rgba(59, 151, 255, .42); background: radial-gradient(circle at 100% 0, rgba(8, 124, 255, .18), transparent 55%), #0b1626; }

.contact-avatar { flex: 0 0 auto; width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid rgba(93, 174, 255, .35); border-radius: 12px; color: #9ed0ff; background: rgba(8, 124, 255, .14); font-size: 19px; font-weight: 700; letter-spacing: .02em; }
.contact-person-body { min-width: 0; flex: 1 1 auto; }

.contact-person-name { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; color: #edf4fb; font-size: 19px; }
.contact-tag { padding: 2px 7px; border: 1px solid rgba(93, 174, 255, .3); border-radius: 5px; color: #8ec8ff; background: rgba(8, 124, 255, .12); font-size: 10px; font-weight: 600; line-height: 1.5; }
.contact-tag-muted { border-color: rgba(255, 255, 255, .12); color: #8e9caa; background: rgba(255, 255, 255, .04); }

.contact-role { margin: 5px 0 0; color: #7f8fa1; font-size: 12px; }
.contact-phone { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; color: #f2f7fc; font-size: 21px; font-weight: 700; letter-spacing: .01em; text-decoration: none; transition: color .2s ease; }
.contact-phone:hover { color: #7cc4ff; }
.contact-phone::before { content: ""; width: 15px; height: 15px; flex: 0 0 auto; background: currentColor; opacity: .75; -webkit-mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.5 2.1L8.1 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E") no-repeat center / contain; mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.5 2.1L8.1 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E") no-repeat center / contain; }
.contact-wechat { margin: 8px 0 0; color: #8b9aab; font-size: 12px; line-height: 1.7; }

.contact-copy { margin-top: 12px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 8px; color: #93a4b6; background: rgba(255, 255, 255, .03); font: inherit; font-size: 11px; cursor: pointer; transition: color .2s ease, border-color .2s ease, background .2s ease; }
.contact-copy:hover { border-color: rgba(93, 174, 255, .45); color: #cfe8ff; background: rgba(8, 124, 255, .12); }

/* ---------- 通用两栏 ---------- */
.contact-support { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin-bottom: 15px; }
.contact-card { padding: 25px 26px; border: 1px solid var(--line); border-radius: 15px; background: linear-gradient(145deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012)); }
.contact-card h2 { margin: 0; color: #edf4fb; font-size: 19px; }
.contact-card p { margin: 12px 0 0; color: #9aa9ba; font-size: 13px; line-height: 1.85; }
.contact-card a { color: #82c4ff; }
.contact-card .contact-icon { width: 36px; height: 36px; display: grid; place-items: center; margin-bottom: 18px; border: 1px solid rgba(93, 174, 255, .35); border-radius: 10px; color: #72bcff; background: rgba(8, 124, 255, .12); font-size: 18px; }
.contact-muted { color: #6f7f91 !important; font-size: 12px !important; }

/* ---------- 公司地址 + 地图 ---------- */
.contact-company { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 15px; }

.contact-address-card .contact-address-line { margin: 14px 0 0; padding: 12px 16px; border: 1px solid rgba(93, 174, 255, .22); border-radius: 12px; color: #eaf2fa; background: rgba(8, 124, 255, .08); font-size: 15px; font-weight: 600; line-height: 1.7; }
.contact-address-card .contact-muted { margin-top: 14px; }

.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.contact-actions .button { margin: 0; padding: 10px 16px; font-size: 12px; }

.contact-map-card { position: relative; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: #0d1523; }
.contact-map { width: 100%; height: 100%; min-height: 340px; visibility: hidden; }
.contact-map-static { position: absolute; inset: 0; z-index: 1; min-height: 340px; overflow: hidden; background: #e8eef4; }
/* 真实地图底图：图片正中心即公司坐标，故标记只需居中定位 */
.contact-map-basemap { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.contact-map-sketch { display: block; width: 100%; height: 100%; }
.contact-map-basemap[hidden], .contact-map-sketch[hidden], .contact-map-pin[hidden], .contact-map-credit[hidden] { display: none; }
.contact-map-pin { position: absolute; z-index: 2; top: 50%; left: 50%; transform: translate(-50%, -100%); filter: drop-shadow(0 5px 8px rgba(9, 15, 25, .35)); pointer-events: none; }
.contact-map-pin svg { display: block; }
.contact-map-credit { position: absolute; z-index: 2; right: 8px; bottom: 6px; color: #55636f; font-size: 10px; line-height: 1; text-shadow: 0 0 3px rgba(255, 255, 255, .9), 0 0 7px rgba(255, 255, 255, .7); pointer-events: none; }
.contact-map-overlay { position: absolute; z-index: 2; left: 16px; bottom: 16px; max-width: calc(100% - 32px); padding: 11px 14px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 10px; background: rgba(9, 15, 25, .9); backdrop-filter: blur(6px); }
.contact-map-overlay strong { display: block; color: #eaf2fa; font-size: 12px; }
.contact-map-overlay span { display: block; margin-top: 4px; color: #93a4b6; font-size: 11px; line-height: 1.6; }
.contact-map-fallback { position: absolute; z-index: 3; inset: 0; display: grid; place-items: center; padding: 28px; color: #93a4b6; background: #0d1523; font-size: 13px; line-height: 1.8; text-align: center; }
.contact-map-fallback[hidden] { display: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .contact-people { grid-template-columns: 1fr; }
  .contact-support, .contact-company { grid-template-columns: 1fr; }
  .contact-map, .contact-map-static { min-height: 280px; }
}
@media (max-width: 560px) {
  .contact-phone { font-size: 19px; }
  .contact-address-card .contact-address-line { font-size: 14px; }
  .contact-actions .button { padding: 9px 13px; font-size: 11px; }
}
