/* =====================================================
   鼎测电子 - 现代蓝色科技感响应式主题
   ===================================================== */
:root {
  --blue: #1668dc;
  --blue-deep: #0b47a8;
  --navy: #0a1633;
  --navy-2: #0e1f4d;
  --cyan: #22d3ee;
  --bg: #f4f7fd;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #64748b;
  --line: #e5eaf3;
  --radius: 12px;
  --shadow: 0 8px 30px rgba(13, 47, 115, .10);
  --shadow-hover: 0 14px 40px rgba(13, 47, 115, .18);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 15px;
}
img { max-width: 100%; border: 0; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-deep); }
ul, ol { list-style: none; }
.clear { clear: both; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ============ 顶部导航 ============ */
.site-header {
  position: sticky; top: 0; z-index: 999;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(10, 22, 51, .06);
}
.header-inner { display: flex; align-items: center; height: 66px; gap: 18px; flex-wrap: nowrap; }
.logo { flex: 0 0 auto; min-width: 0; }
.logo img { height: 42px; width: auto; max-width: 230px; object-fit: contain; display: block; }
.main-nav { margin-left: auto; min-width: 0; display: flex; align-items: center; }
.main-nav > ul { display: flex; align-items: center; flex-wrap: nowrap; gap: 0; }
.main-nav > ul > li { flex: 0 0 auto; }
.main-nav > ul > li > a {
  display: block; padding: 9px 12px; border-radius: 8px; white-space: nowrap;
  color: #1e2b4d; font-size: 15px; font-weight: 500; position: relative;
  transition: color .2s, background .2s;
}
.main-nav > ul > li > a::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 0; height: 2px;
  border-radius: 2px; background: linear-gradient(90deg, var(--blue), var(--blue-deep));
  transform: translateX(-50%); transition: width .25s ease;
}
.main-nav > ul > li > a:hover { color: var(--blue); background: #eef4ff; }
.main-nav > ul > li > a:hover::after { width: 55%; }
.main-nav > ul > li > a.now {
  color: #fff; background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  box-shadow: 0 4px 12px rgba(22,104,220,.32);
}
.main-nav > ul > li > a.now::after { display: none; }
.header-search { flex: 1 1 auto; min-width: 0; max-width: 200px; display: flex; align-items: center; justify-content: space-between; background: #eef2fa; border: 1px solid var(--line); border-radius: 999px; padding: 4px 5px 4px 12px; transition: border-color .2s, box-shadow .2s; }
.header-search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(22,104,220,.12); }
.header-search input[type=text] { border: 0; outline: 0; background: transparent; width: 100%; min-width: 0; font-size: 13px; color: var(--text); }
.header-search button { flex: 0 0 auto; border: 0; cursor: pointer; background: linear-gradient(135deg, var(--blue), var(--blue-deep)); color: #fff; border-radius: 999px; padding: 6px 13px; font-size: 13px; margin-left: 6px; }
@media (max-width: 1240px) and (min-width: 901px) {
  .header-inner { gap: 10px; }
  .logo img { height: 38px; max-width: 200px; }
  .main-nav > ul > li > a { padding: 9px 8px; font-size: 14px; }
}
@media (max-width: 1060px) and (min-width: 901px) {
  .header-search { display: none; }
}
.nav-toggle { display: none; margin-left: auto; width: 42px; height: 42px; border: 0; background: transparent; cursor: pointer; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 8px; width: 26px; height: 2px; background: var(--navy); border-radius: 2px; transition: .25s;
}
.nav-toggle span { top: 20px; }
.nav-toggle span::before { top: -8px; left: 0; }
.nav-toggle span::after { top: 8px; left: 0; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ============ Hero（首页横幅） ============ */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(120deg, #0a1633 0%, #0e2a6e 45%, #1256c4 100%);
}
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; }
.hero::before { width: 480px; height: 480px; background: #1668dc; top: -180px; right: -120px; }
.hero::after { width: 380px; height: 380px; background: #22d3ee; bottom: -200px; left: -100px; opacity: .25; }
.hero-grid { position: relative; z-index: 1; }
.hero-inner { padding: 88px 20px 96px; max-width: 1200px; margin: 0 auto; position: relative; z-index: 2; }
.hero-tag {
  display: inline-block; padding: 6px 16px; border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px; font-size: 13px; letter-spacing: 2px; color: #bcd7ff; margin-bottom: 22px;
  background: rgba(255,255,255,.06);
}
.hero h1 { font-size: 44px; line-height: 1.25; font-weight: 700; letter-spacing: 1px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #5ec2ff, #22d3ee); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { margin: 20px 0 34px; font-size: 17px; color: #c9d9f5; max-width: 620px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 12px 32px; border-radius: 8px; font-size: 15px;
  transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, #22d3ee, #1668dc); color: #fff; box-shadow: 0 8px 24px rgba(34, 130, 238, .45); }
.btn-primary:hover { color: #fff; box-shadow: 0 12px 30px rgba(34,130,238,.6); }
.btn-ghost { border: 1px solid rgba(255,255,255,.45); color: #fff; }
.btn-ghost:hover { color: #fff; background: rgba(255,255,255,.1); }
.hero-stats { display: flex; gap: 56px; margin-top: 60px; flex-wrap: wrap; }
.hero-stats b { display: block; font-size: 30px; color: #fff; }
.hero-stats i { font-style: normal; color: #9db9e8; font-size: 13px; }
.hero-lines { position: absolute; inset: 0; z-index: 1; opacity: .35; }

/* ============ 通用版块 ============ */
.section { padding: 72px 0 26px; }
.section-head { text-align: center; margin-bottom: 42px; }
.section-head h2 { font-size: 30px; color: var(--navy); letter-spacing: 1px; position: relative; display: inline-block; padding-bottom: 16px; }
.section-head h2::after { content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 46px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.section-head p { color: var(--muted); margin-top: 10px; }
.more-link { text-align: center; margin: 34px 0 0; }
.more-link a {
  display: inline-block; padding: 10px 34px; border: 1px solid var(--blue); color: var(--blue);
  border-radius: 999px; transition: .2s;
}
.more-link a:hover { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(22,104,220,.35); }

/* ============ 关于我们 ============ */
.about-wrap { display: flex; gap: 44px; align-items: center; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 40px; }
.about-wrap .pic { flex: 0 0 42%; }
.about-wrap .pic img { border-radius: var(--radius); width: 100%; display: block; }
.about-wrap .txt h3 { font-size: 24px; color: var(--navy); margin-bottom: 14px; }
.about-wrap .txt p { color: var(--muted); text-align: justify; }
.about-points { display: flex; gap: 26px; margin-top: 22px; flex-wrap: wrap; }
.about-points span { color: var(--blue); font-weight: 600; font-size: 14px; }

/* ============ 产品卡片 ============ */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.p-card {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; display: block;
}
.p-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.p-card .thumb { height: 190px; overflow: hidden; background: #eef2fa; position: relative; }
.p-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; display: block; }
.p-card:hover .thumb img { transform: scale(1.06); }
.p-card .cap { padding: 14px 16px 16px; }
.p-card .cap h3 { font-size: 15px; color: var(--text); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-card .cap span { display: inline-block; margin-top: 8px; font-size: 12px; color: var(--blue); background: #e8f1ff; border-radius: 4px; padding: 2px 10px; }

/* ============ 新闻卡片 ============ */
.n-card { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column; }
.n-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.n-card .body { padding: 20px 22px 22px; flex: 1; }
.n-card .date { font-size: 12px; color: var(--blue); background: #e8f1ff; display: inline-block; padding: 3px 12px; border-radius: 999px; }
.n-card h3 { margin: 12px 0 8px; font-size: 16px; line-height: 1.5; }
.n-card h3 a { color: var(--text); }
.n-card h3 a:hover { color: var(--blue); }
.n-card p { color: var(--muted); font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ============ 案例横条 ============ */
.case-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.c-card { position: relative; border-radius: var(--radius); overflow: hidden; height: 200px; box-shadow: var(--shadow); display: block; }
.c-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.c-card:hover img { transform: scale(1.06); }
.c-card .mask { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,22,51,.85) 0%, rgba(10,22,51,0) 60%); display: flex; align-items: flex-end; padding: 18px; }
.c-card .mask h3 { color: #fff; font-size: 15px; font-weight: 500; }

/* ============ CTA 条 ============ */
.cta-band { margin: 70px 0 0; background: linear-gradient(120deg, var(--navy) 0%, var(--blue-deep) 60%, var(--blue) 100%); color: #fff; padding: 54px 0; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h3 { font-size: 24px; }
.cta-band p { color: #bcd2f0; margin-top: 6px; }

/* ============ 页脚 ============ */
.site-footer { background: var(--navy); color: #8fa3c8; margin-top: 0; padding: 58px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 40px; }
.site-footer h4 { color: #fff; font-size: 16px; margin-bottom: 18px; font-weight: 500; }
.site-footer li, .site-footer p { margin-bottom: 9px; }
.site-footer a { color: #8fa3c8; }
.site-footer a:hover { color: #fff; }
.footer-bar { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; text-align: center; font-size: 13px; color: #64789e; }
.footer-links { margin-top: 10px; }
.footer-links a { margin-right: 6px; }

/* ============ 内页 ============ */
.page-banner {
  background: linear-gradient(120deg, #0a1633 0%, #0e2a6e 55%, #1256c4 100%);
  color: #fff; padding: 52px 0; position: relative; overflow: hidden;
}
.page-banner::after { content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%; background: #22d3ee; filter: blur(80px); opacity: .2; right: -80px; top: -120px; }
.page-banner h1 { font-size: 28px; font-weight: 600; position: relative; z-index: 1; }
.page-banner .crumb { margin-top: 10px; color: #9db9e8; font-size: 13px; position: relative; z-index: 1; }
.page-banner .crumb a { color: #c6d8f5; }

.page-wrap { display: flex; gap: 28px; padding: 44px 20px 70px; max-width: 1200px; margin: 0 auto; }
.side { flex: 0 0 250px; }
.side-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; margin-bottom: 22px; }
.side-card .hd { background: linear-gradient(135deg, var(--blue), var(--blue-deep)); color: #fff; padding: 14px 20px; font-size: 16px; }
.side-card ul li a { display: block; padding: 12px 20px; color: var(--text); border-bottom: 1px solid var(--line); font-size: 14px; transition: .2s; position: relative; padding-left: 30px; }
.side-card ul li a::before { content: ""; position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 6px; height: 6px; border-radius: 50%; background: #c4d4f2; transition: .2s; }
.side-card ul li a:hover, .side-card ul li a.on { color: var(--blue); background: #f2f7ff; padding-left: 36px; }
.side-card ul li a.on::before, .side-card ul li a:hover::before { background: var(--blue); }
.side-contact { padding: 20px; }
.side-contact li { font-size: 13px; color: var(--muted); margin-bottom: 10px; word-break: break-all; }

.main { flex: 1; min-width: 0; }
.content-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 34px 38px; }

/* 产品/案例列表 */
.list-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* 新闻列表 */
.news-rows li { display: flex; align-items: center; gap: 18px; padding: 16px 6px; border-bottom: 1px dashed var(--line); }
.news-rows li:last-child { border-bottom: 0; }
.news-rows .time { flex: 0 0 auto; color: var(--blue); background: #e8f1ff; font-size: 12px; padding: 4px 12px; border-radius: 999px; }
.news-rows a { flex: 1; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.news-rows a:hover { color: var(--blue); }

/* 内容页 */
.entry-title { font-size: 24px; color: var(--navy); line-height: 1.4; margin-bottom: 12px; }
.entry-meta { color: var(--muted); font-size: 13px; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.entry-body { color: var(--text); overflow-wrap: break-word; }
.entry-body img { border-radius: 8px; }
.entry-body p { margin: 10px 0; }
.entry-body table { border-collapse: collapse; width: 100%; }
.entry-body table td, .entry-body table th { border: 1px solid var(--line); padding: 6px 10px; }

/* 产品详情 */
.prod-show { display: flex; gap: 34px; flex-wrap: wrap; margin-bottom: 26px; }
.prod-show .pic { flex: 0 0 320px; max-width: 100%; }
.prod-show .pic img { border-radius: var(--radius); border: 1px solid var(--line); width: 100%; }
.prod-show .att { flex: 1; min-width: 260px; }
.prod-show .att h1 { font-size: 22px; color: var(--navy); margin-bottom: 16px; line-height: 1.5; }
.prod-show .att ul li { margin-bottom: 10px; color: var(--muted); font-size: 14px; }
.prod-show .att .btn { margin-top: 12px; }

/* 分页 */
.pager { margin-top: 30px; text-align: center; font-size: 14px; color: var(--muted); }
.pager a { display: inline-block; padding: 7px 14px; margin: 0 3px; background: var(--card); border: 1px solid var(--line); border-radius: 6px; color: var(--text); }
.pager a:hover { border-color: var(--blue); color: var(--blue); }
.pager a.cur, .pager a.page-num-current { background: var(--blue); border-color: var(--blue); color: #fff; }
.pager .pager-info { margin-left: 8px; color: var(--muted); }
.pager a.cur { background: var(--blue); border-color: var(--blue); color: #fff; }

/* 留言表单 */
.msg-form { max-width: 720px; }
.msg-form .row { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
.msg-form .field { flex: 1; min-width: 240px; }
.msg-form label { display: block; font-size: 14px; color: var(--navy); margin-bottom: 8px; }
.msg-form label i { color: #e5484d; font-style: normal; margin-right: 4px; }
.msg-form input[type=text], .msg-form textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 11px 14px;
  font-size: 14px; outline: 0; transition: border-color .2s, box-shadow .2s; background: #fbfcff; font-family: inherit;
}
.msg-form input:focus, .msg-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(22,104,220,.12); }
.msg-form .vcode { display: flex; gap: 10px; align-items: center; }
.msg-form .vcode img { height: 40px; border-radius: 6px; cursor: pointer; }
.msg-form button[type=submit] {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep)); color: #fff; border: 0;
  padding: 12px 44px; border-radius: 8px; font-size: 15px; cursor: pointer; box-shadow: 0 8px 20px rgba(22,104,220,.35); transition: .2s;
}
.msg-form button[type=submit]:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(22,104,220,.45); }

/* 搜索结果 */
.search-hl { color: var(--blue); font-weight: 600; }

/* ============ 浮动客服 / 回到顶部 ============ */
.float-qq {
  position: fixed; right: 16px; bottom: 90px; z-index: 998;
  background: var(--card); border-radius: 10px; box-shadow: var(--shadow-hover); overflow: hidden; width: 56px;
}
.float-qq a { display: block; padding: 10px 6px; text-align: center; font-size: 11px; color: var(--navy); border-bottom: 1px solid var(--line); }
.float-qq a:last-child { border-bottom: 0; }
.float-qq a:hover { background: #f0f6ff; color: var(--blue); }
.float-qq b { display: block; font-size: 17px; }
#backtop {
  position: fixed; right: 16px; bottom: 30px; z-index: 998; width: 44px; height: 44px; border-radius: 10px;
  border: 0; background: linear-gradient(135deg, var(--blue), var(--blue-deep)); color: #fff; font-size: 18px;
  cursor: pointer; box-shadow: var(--shadow-hover); display: none;
}

/* ============ 响应式 ============ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .header-search { display: none; }
  .main-nav {
    position: fixed; top: 68px; left: 0; right: 0; margin: 0; background: #fff;
    box-shadow: 0 14px 30px rgba(10,22,51,.15); max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav-open .main-nav { max-height: 480px; border-top: 1px solid var(--line); }
  .main-nav > ul { flex-direction: column; padding: 10px 14px; gap: 0; }
  .main-nav > ul > li > a { padding: 13px 12px; border-radius: 8px; }
  .hero h1 { font-size: 32px; }
  .hero-inner { padding: 60px 20px 66px; }
  .hero-stats { gap: 34px; }
  .about-wrap { flex-direction: column; padding: 26px; }
  .grid-4, .grid-3, .case-strip, .list-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 52px 0 20px; }
}
@media (max-width: 640px) {
  body { font-size: 14px; }
  .grid-4, .grid-3, .case-strip, .list-grid { grid-template-columns: 1fr 1fr; }
  .p-card .thumb { height: 130px; }
  .c-card { height: 150px; }
  .page-wrap { flex-direction: column; padding: 26px 14px 50px; }
  .side { flex: none; order: 2; }
  .main { order: 1; }
  .content-card { padding: 24px 18px; }
  .entry-title { font-size: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .cta-band .container { flex-direction: column; text-align: center; }
  .prod-show .pic { flex: none; width: 100%; }
  .float-qq { display: none; }
  .hero-stats { gap: 22px; }
  .hero-stats b { font-size: 24px; }
  .section-head h2 { font-size: 24px; }
}
@media (max-width: 420px) {
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 26px; }
}

/* ============ 联系我们页 ============ */
.contact-page .entry-body { margin-bottom: 6px; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0 28px; }
.c-item {
  background: linear-gradient(180deg, #f8faff, #eef4ff);
  border: 1px solid var(--line); border-radius: 12px;
  padding: 20px 18px; transition: transform .25s, box-shadow .25s;
}
.c-item:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(22,104,220,.12); }
.c-ico { font-size: 26px; line-height: 1; margin-bottom: 10px; }
.c-label { font-size: 13px; color: #7a8ab0; margin-bottom: 4px; }
.c-val { font-size: 15px; color: var(--navy); font-weight: 600; line-height: 1.5; word-break: break-all; }
.c-val a { color: var(--blue); }
.contact-map {
  display: flex; flex-direction: column; gap: 0;
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  background: #f8faff;
}
.map-pic { position: relative; display: block; line-height: 0; background: #e8eef8; overflow: hidden; }
.map-pic img { width: 100%; height: auto; min-height: 240px; object-fit: cover; object-position: center; display: block; transition: transform .5s ease; }
.map-pic:hover img { transform: scale(1.03); }
.map-tip {
  position: absolute; right: 14px; bottom: 14px; line-height: 1.6;
  background: rgba(10, 22, 51, .74); color: #fff; font-size: 13px;
  padding: 7px 14px; border-radius: 999px; backdrop-filter: blur(4px);
  transition: background .2s;
}
.map-pic:hover .map-tip { background: var(--blue); }
.contact-map .map-info { flex: 1 1 auto; padding: 22px 28px 26px; background: #fff; }
.contact-map h3 { font-size: 18px; color: var(--navy); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.contact-map h3 .dot { width: 10px; height: 10px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--blue-deep)); display: inline-block; }
.contact-map .map-info p { color: #5a6b90; font-size: 14px; line-height: 1.8; margin-bottom: 14px; }
.contact-map .map-addr { color: var(--navy) !important; font-size: 16px !important; font-weight: 700; margin-bottom: 8px !important; }
.map-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.map-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff; padding: 11px 22px; border-radius: 999px; font-size: 14px; font-weight: 500;
  box-shadow: 0 6px 16px rgba(22,104,220,.3); transition: transform .2s, box-shadow .2s;
}
.map-btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(22,104,220,.4); }
.map-btn.ghost {
  background: #eef4ff; color: var(--blue); border: 1px solid #cfe0ff; box-shadow: none;
}
.map-btn.ghost:hover { color: var(--blue-deep); background: #e2ecff; box-shadow: 0 8px 18px rgba(22,104,220,.16); }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .contact-grid { grid-template-columns: 1fr; gap: 12px; }
  .contact-map .map-info { padding: 18px 18px 22px; }
  .map-pic img { min-height: 210px; }
  .contact-map .map-addr { font-size: 15px !important; }
  .map-actions { gap: 10px; }
  .map-btn { flex: 1 1 auto; justify-content: center; padding: 11px 16px; }
}
/* 单页栏目（如联系我们）侧栏导航为空时由 header.html 脚本移除该卡片 */
