/* ============================================================
   全站通用样式 - 科技蓝主题
   配套 Tailwind Play CDN 使用（见各页面 head 中的引入）
   替换品牌色只需修改 :root 中的变量
   ============================================================ */

:root {
  --brand: #2563eb;          /* 主色：科技蓝 */
  --brand-dark: #1d4ed8;     /* 主色悬停 */
  --brand-soft: #eff6ff;     /* 主色浅底 */
  --ink: #0f172a;            /* 正文深色 */
  --muted: #64748b;          /* 次要文字 */
  --line: #e8edf4;           /* 分割线 */
  --bg: #f7f9fc;             /* 页面底色 */
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 6px 22px rgba(15, 23, 42, 0.05);
  --maxw: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

/* ---------- 布局容器 ---------- */
.container-site {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section { padding: 78px 0; }
.section-sm { padding: 52px 0; }
.section-alt { background: var(--white); }

/* ---------- 标题 ---------- */
.eyebrow {
  display: inline-block;
  color: var(--brand);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.6px;
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.3;
  font-weight: 800;
  margin: 0 0 12px;
  letter-spacing: -0.5px;
}

.section-desc {
  color: var(--muted);
  font-size: 16px;
  max-width: 680px;
  margin: 0 auto 34px;
}

.text-center { text-align: center; }

/* ---------- 按钮（点击区域 >= 44px） ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 9px;
  font-weight: 600;
  font-size: 15px;
  transition: all .2s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary { background: var(--brand); color: var(--white); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); }

.btn-outline { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn-outline:hover { background: var(--brand-soft); }

.btn-light { background: var(--white); color: var(--brand); }
.btn-light:hover { background: var(--brand-soft); }

.btn-ghost { border-color: var(--line); color: var(--ink); background: rgba(255,255,255,.7); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); background: var(--white); }

/* 联系页：微信二维码与地图导航入口 */
.contact-grid { display:grid; grid-template-columns:1fr; gap:16px; }
.contact-left-stack { display:flex; flex-direction:column; gap:16px; }
.contact-left-stack .card { margin-bottom:0; }
@media (min-width:1024px) {
  .contact-grid { grid-template-columns:168px 1fr; column-gap:48px; align-items:stretch; }
  .contact-grid .contact-left-stack { grid-column:1; grid-row:1; height:100%; }
  .contact-grid .contact-form { grid-column:2; grid-row:1; }
  .contact-grid .contact-form > .card { height:100%; }
  /* 四张联系卡片尺寸一致：均为 168x168 正方形，与项目留言上下对齐 */
  .contact-left-stack > .card:not(.wechat-qr-card) { flex:none; width:168px; height:168px; aspect-ratio:1 / 1; padding:16px; align-self:flex-start; overflow:hidden; }
  .contact-left-stack > .card:not(.wechat-qr-card) .icon-box { width:44px; height:44px; margin-bottom:8px; }
  .contact-left-stack > .card:not(.wechat-qr-card) strong { font-size:15px; }
  .contact-left-stack > .card:not(.wechat-qr-card) p { font-size:13px; overflow-wrap:anywhere; line-height:1.5; }
  .contact-left-stack > .card:not(.wechat-qr-card) .copy-wechat { max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .contact-left-stack > .card:not(.wechat-qr-card) .map-nav-link { margin-top:6px; font-size:13px; }
  .contact-left-stack .wechat-qr-card { flex:none; }
}
.wechat-qr-card { margin-top:0; text-align:center; }
.wechat-qr-card img { display:block; width:160px; height:160px; margin:10px auto 0; padding:6px; background:#fff; border:1px solid var(--line); border-radius:12px; object-fit:contain; }
.wechat-qr-card p { margin:8px 0 0; font-size:13px; color:var(--muted); }
.map-nav-link { display:inline-flex; align-items:center; gap:4px; margin-top:8px; color:var(--brand); font-size:14px; font-weight:600; }
.map-nav-link:hover { text-decoration:underline; }
.cp-map { text-decoration:none; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 9px;
  background: linear-gradient(135deg, var(--brand), #60a5fa);
  display: grid; place-items: center; color: #fff; font-size: 18px;
}

.nav-menu { display: flex; align-items: center; gap: 24px; }
.nav-menu a {
  font-size: 15px; color: #334155; font-weight: 500;
  padding: 12px 0; position: relative;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--brand); }
/* 导航里的主按钮文字需保持白色，否则被 .nav-menu a 的颜色覆盖 */
.nav-menu a.btn-primary, .nav-menu a.btn-primary:hover { color: #fff; }
.nav-menu a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px;
  height: 2px; background: var(--brand); border-radius: 2px;
}
/* 顶部导航二级分类下拉（新闻中心等） */
.nav-has-sub { position: relative; display: inline-flex; align-items: center; }
.nav-sub {
  display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  min-width: 140px; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; box-shadow: var(--shadow); padding: 8px; z-index: 40;
}
.nav-has-sub:hover .nav-sub, .nav-has-sub:focus-within .nav-sub { display: block; }
.nav-sub a {
  display: block; padding: 9px 12px; white-space: nowrap; font-size: 14px;
  border-radius: 8px; color: #334155;
}
.nav-sub a:hover { background: var(--brand-soft); color: var(--brand); }
.nav-sub a::after { display: none; }

.nav-toggle {
  display: none; border: 0; background: transparent; cursor: pointer;
  width: 44px; height: 44px; align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(circle at 85% 20%, rgba(37, 99, 235, .16), transparent 45%),
    linear-gradient(180deg, #ffffff 0%, var(--brand-soft) 100%);
  padding: 78px 0 74px;
  overflow: hidden;
}
.hero h1 {
  font-size: clamp(34px, 5.4vw, 60px);
  line-height: 1.18;
  font-weight: 800;
  margin: 0 0 22px;
  letter-spacing: -1px;
}
.hero h1 .accent { color: var(--brand); }
.hero p { font-size: 18px; color: var(--muted); max-width: 620px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-art { border-radius: 18px; box-shadow: 0 18px 44px rgba(37, 99, 235, .14); }

/* 首页“关于我们”入口：明显的卡片式按钮，强调可点击 */
.btn-about-link {
  min-height: 64px;
  gap: 12px;
  padding: 10px 16px 10px 12px;
  border-color: #93c5fd;
  background: linear-gradient(135deg, #ffffff, #eff6ff);
  color: var(--ink);
  text-align: left;
  box-shadow: 0 6px 18px rgba(37, 99, 235, .12);
}
.btn-about-link:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(37, 99, 235, .14);
}
.btn-about-icon {
  width: 40px; height: 40px; flex: 0 0 40px;
  display: grid; place-items: center;
  border-radius: 11px; background: var(--brand); color: #fff;
  font-size: 21px; line-height: 1;
}
.btn-about-copy { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.3; }
.btn-about-copy small { color: var(--muted); font-size: 12px; font-weight: 500; }
.btn-about-copy strong { color: var(--brand); font-size: 17px; font-weight: 800; }
.btn-about-arrow { margin-left: 6px; color: var(--brand); font-size: 18px; transition: transform .2s; }
.btn-about-link:hover .btn-about-arrow { transform: translateX(4px); }

/* ---------- 卡片 ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(15, 23, 42, .08); }

.icon-box {
  width: 52px; height: 52px; border-radius: 13px;
  background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center; font-size: 24px; margin-bottom: 18px;
}

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

/* ---------- 数据条 ---------- */
.stat-num { font-size: 36px; font-weight: 800; color: var(--brand); line-height: 1.2; }
.stat-label { color: var(--muted); font-size: 14px; }

/* ---------- 案例卡片 ---------- */
.case-card { overflow: hidden; padding: 0; }
.case-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.case-body { padding: 22px 24px 26px; }
.case-tag {
  display: inline-block; font-size: 12px; font-weight: 600;
  color: var(--brand); background: var(--brand-soft);
  padding: 4px 10px; border-radius: 20px; margin-bottom: 10px;
}

/* ---------- 新闻中心 ---------- */
.news-card { overflow: hidden; padding: 0; }
.news-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.news-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.news-meta .case-tag { margin-bottom: 0; }
.news-meta time { font-size: 12px; color: var(--muted); }
.news-more { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--brand); }
.news-detail-cover { margin-bottom: 32px; }
.news-detail-cover img { width: 100%; max-height: 460px; object-fit: cover; border-radius: 16px; display: block; }
.news-detail-body { max-width: 840px; margin: 0 auto; }
.news-detail-body p { font-size: 17px; line-height: 2; color: #334155; margin: 0 0 22px; }
.news-detail-back { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 32px; }

/* 筛选按钮 */
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 36px; }
.filter-btn {
  min-height: 44px; padding: 0 20px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--white);
  color: var(--muted); font-weight: 600; cursor: pointer; transition: .2s;
}
.filter-btn:hover, .filter-btn.active { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ---------- 时间轴 ---------- */
.timeline { position: relative; padding-left: 28px; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px;
  width: 2px; background: var(--line);
}
.timeline-item { position: relative; padding-bottom: 28px; }
.timeline-item::before {
  content: ""; position: absolute; left: -27px; top: 8px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft);
}
.timeline-year { color: var(--brand); font-weight: 800; }

/* ---------- 表单 ---------- */
.form-label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 14px; }
.form-input {
  width: 100%; min-height: 48px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--white); color: var(--ink); font-size: 15px;
}
.form-input:focus { outline: 2px solid var(--brand); border-color: var(--brand); }
textarea.form-input { min-height: 130px; resize: vertical; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 10px; }

/* ---------- CTA 横幅 ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--brand), #1e40af);
  color: #fff; border-radius: 20px; padding: 48px 36px; text-align: center;
}
.cta-band h2 { font-size: clamp(26px, 3.5vw, 38px); margin: 0 0 12px; }
.cta-band p { opacity: .88; margin-bottom: 26px; }

/* ---------- 页脚 ---------- */
.site-footer { background: #0b1220; color: #cbd5e1; padding: 56px 0 24px; }
.site-footer h3 { color: #fff; font-size: 17px; margin-bottom: 18px; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 22px;
  font-size: 13px; color: #94a3b8; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}

/* ---------- 页面头部小 banner ---------- */
.page-hero {
  background: linear-gradient(180deg, #fff, var(--brand-soft));
  padding: 60px 0 48px; border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(30px, 4.5vw, 46px); margin: 0 0 12px; }
.page-hero p { color: var(--muted); font-size: 17px; margin: 0; }

/* ---------- 常见问题：分类分组 + 侧边入口 ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 28px; align-items: start; }
.faq-main .grid-2 { gap: 16px; }
.faq-item { min-width: 0; }
.faq-cat-title {
  font-size: 18px; font-weight: 800; margin: 30px 0 14px; padding-left: 12px;
  border-left: 4px solid var(--brand); scroll-margin-top: 96px;
}
.faq-main > .faq-cat-title:first-child { margin-top: 0; }
.faq-side { position: sticky; top: 96px; }
.faq-nav-title { font-weight: 800; font-size: 16px; margin-bottom: 12px; }
.faq-nav-link {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 12px; border-radius: 8px; font-size: 14px; color: var(--muted);
  min-height: 44px;
}
.faq-nav-link:hover { background: var(--brand-soft); color: var(--brand); }
.faq-nav-link span {
  background: var(--brand-soft); color: var(--brand); font-size: 12px;
  padding: 1px 8px; border-radius: 999px;
}

/* ---------- 常见问题：二级分类顶部标签 + 折叠问答 ---------- */
.faq-tabs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin: 0 auto 26px; padding: 6px; background: #fff; border: 1px solid var(--line);
  border-radius: 999px; box-shadow: var(--shadow); width: fit-content; max-width: 100%;
}
.faq-tab {
  border: 0; background: transparent; color: var(--muted); cursor: pointer;
  font-size: 14px; font-weight: 700; font-family: inherit; line-height: 1.4;
  padding: 10px 18px; border-radius: 999px; min-height: 44px; white-space: nowrap;
  transition: background .18s ease, color .18s ease;
}
.faq-tab:hover { background: var(--brand-soft); color: var(--brand); }
.faq-tab.active { background: var(--brand); color: #fff; box-shadow: 0 4px 14px rgba(37, 99, 235, .28); }
.faq-tab.active .faq-tab-count { background: rgba(255, 255, 255, .22); color: #fff; }
.faq-tab-count {
  display: inline-block; margin-left: 4px; background: var(--brand-soft); color: var(--brand);
  font-size: 11px; padding: 1px 7px; border-radius: 999px; font-weight: 700;
}
.faq-content { max-width: 900px; margin: 0 auto; display: grid; gap: 12px; }
.faq-acc {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); overflow: hidden;
}
.faq-acc[open] { border-color: #c7d7fb; }
.faq-acc-sum {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; cursor: pointer; list-style: none; font-weight: 700; font-size: 16px;
  color: var(--ink); min-height: 60px;
}
.faq-acc-sum::-webkit-details-marker { display: none; }
.faq-acc-sum:hover { color: var(--brand); }
.faq-acc-icon {
  flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--brand-soft);
  color: var(--brand); font-size: 18px; font-weight: 700; line-height: 26px; text-align: center;
  transition: transform .2s ease;
}
.faq-acc[open] .faq-acc-icon { transform: rotate(45deg); }
.faq-acc-body { padding: 0 22px 20px; color: var(--muted); font-size: 15px; }
.faq-acc-body p { margin: 0; }
.faq-cta {
  max-width: 900px; margin: 36px auto 0; padding: 26px 30px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: linear-gradient(120deg, #eff6ff, #f8fbff); border-color: #dbeafe;
}
.faq-cta h3 { font-size: 20px; font-weight: 800; margin: 0 0 6px; }
.faq-cta p { margin: 0; color: var(--muted); font-size: 14px; }
@media (max-width: 720px) {
  .faq-tabs { border-radius: 16px; width: 100%; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; }
  .faq-tab { padding: 10px 14px; }
  .faq-cta { flex-direction: column; align-items: flex-start; }
}

/* ---------- 首页轮播 ---------- */
.hero-carousel { position: relative; overflow: hidden; background: linear-gradient(135deg,#eef2ff 0%,#ffffff 55%,#e0f2fe 100%); border-bottom: 1px solid var(--line); }
.carousel-track { position: relative; }
.carousel-slide { display: none; }
.carousel-slide.is-active { display: block; animation: fadeSlide .45s ease-in-out; }
@keyframes fadeSlide { from { opacity:.35; transform:translateY(6px); } to { opacity:1; transform:none; } }
.carousel-inner { display:grid; grid-template-columns:1.05fr .95fr; gap:48px; align-items:center; min-height:420px; padding:56px 0; }
.carousel-copy h2 { font-size:clamp(30px,4vw,46px); line-height:1.2; font-weight:800; color:var(--ink); margin:14px 0 16px; }
.carousel-copy p { color:var(--muted); font-size:17px; line-height:1.8; margin:0 0 26px; max-width:520px; }
.carousel-inner img { width:100%; height:auto; max-height:330px; object-fit:cover; border-radius:18px; box-shadow:var(--shadow); background:#fff; }
/* 纯图片轮播：图片铺满整幅，不再叠加文字 */
.carousel-inner.is-image { display:block; min-height:0; padding:0; }
.carousel-inner.is-image img { display:block; width:100%; max-height:460px; height:auto; object-fit:cover; border-radius:0; box-shadow:none; }
.carousel-arrow { position:absolute; top:50%; transform:translateY(-50%); z-index:3; width:44px; height:44px; border-radius:50%; border:1px solid var(--line); background:rgba(255,255,255,.9); color:var(--ink); font-size:28px; line-height:1; cursor:pointer; box-shadow:var(--shadow); }
.carousel-arrow:hover { background:var(--brand); color:#fff; border-color:var(--brand); }
.carousel-prev { left:16px; } .carousel-next { right:16px; }
.carousel-dots { position:absolute; left:0; right:0; bottom:16px; z-index:3; display:flex; justify-content:center; gap:10px; }
.carousel-dots button { width:10px; height:10px; border-radius:50%; border:none; background:#cbd5e1; cursor:pointer; padding:0; min-height:10px; }
.carousel-dots button.is-active { width:28px; border-radius:8px; background:var(--brand); }
@media (max-width: 900px) {
  .carousel-inner { grid-template-columns:1fr; gap:20px; min-height:0; padding:40px 20px 56px; }
  .carousel-inner img { max-height:220px; }
  .carousel-inner.is-image { padding:0; }
  .carousel-inner.is-image img { max-height:300px; }
  .carousel-arrow { width:38px; height:38px; font-size:24px; }
}

/* ---------- 服务城市（地理本地化） ---------- */
.city-province { font-size:18px; font-weight:700; color:var(--ink); margin:26px 0 14px; padding-left:12px; border-left:4px solid var(--brand); }
.city-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.city-card { background:#fff; border:1px solid var(--line); border-radius:14px; padding:20px; box-shadow:var(--shadow); }
.city-card h3 { font-size:19px; font-weight:700; margin:0 0 8px; color:var(--ink); }
.city-card p { font-size:14px; color:var(--muted); line-height:1.7; margin:0 0 10px; }
.city-card span { font-size:12px; color:var(--brand); }
@media (max-width: 992px) { .city-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width: 640px) { .city-grid { grid-template-columns:1fr; } }

/* ---------- 响应式 ---------- */
@media (max-width: 992px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 64px 0; }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-side { position: static; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .nav-toggle { display: flex; }
  .nav-menu {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 10px 20px 18px; box-shadow: var(--shadow);
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav-menu a.active::after { display: none; }
  .nav-menu .btn { margin-top: 14px; width: 100%; }
  .nav-has-sub { display: block; }
  .nav-sub { position: static; display: none; transform: none; min-width: 0; box-shadow: none; border: 0; padding: 0 0 8px 14px; }
  .nav-has-sub:hover .nav-sub, .nav-has-sub:focus-within .nav-sub { display: block; }
  .nav-sub a { padding: 10px 8px; font-size: 14px; border-bottom: 0; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .hero { padding: 54px 0 48px; }
  .hero-actions .btn { width: 100%; }
  /* 关于我们：图标居左、箭头居右，文字落在按钮正中 */
  .btn-about-link { justify-content: space-between; padding-left: 14px; padding-right: 14px; }
  .btn-about-copy { flex: 1 1 auto; align-items: center; text-align: center; }
  .btn-about-arrow { width: 40px; height: 40px; margin-left: 0; display: grid; place-items: center; }
  .cta-band { padding: 42px 22px; }
}

/* 尊重用户的减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}

/* ---------- 案例详情：可配置图文 ---------- */
.case-link { display: block; color: inherit; }
.case-link:hover .case-card { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(15,23,42,.12); }
.breadcrumb { display:flex; align-items:center; gap:8px; flex-wrap:wrap; font-size:14px; color:var(--muted); margin-bottom:20px; }
.breadcrumb a:hover { color:var(--brand); }
.case-detail-hero { padding-bottom:64px; }
.case-detail-lead { max-width:820px; margin:0 auto 36px; text-align:center; }
.case-detail-lead h2 { font-size:26px; font-weight:800; margin:0 0 14px; }
.case-detail-lead p { font-size:17px; color:var(--muted); line-height:1.9; margin:0; }
.case-highlights { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; max-width:920px; margin:0 auto 52px; }
.case-highlights > div { background:#fff; border:1px solid var(--line); border-radius:14px; padding:22px 18px; text-align:center; box-shadow:var(--shadow); }
.case-highlights span { font-weight:700; color:var(--brand); font-size:16px; }
.text-image-block { display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center; max-width:1080px; margin:0 auto 56px; }
.text-image-block.reverse .text-image-copy { order:2; }
.text-image-block.reverse .text-image-figure { order:1; }
.text-image-block.no-image { grid-template-columns:1fr; max-width:820px; }
.text-image-copy h3 { font-size:24px; font-weight:800; margin:0 0 16px; }
.text-image-copy p { font-size:16px; color:var(--muted); line-height:1.9; margin:0 0 16px; }
.text-image-copy ul { margin:0; padding-left:22px; color:var(--muted); font-size:15px; line-height:2; }
.text-image-figure { margin:0; }
.text-image-figure img { width:100%; border-radius:16px; border:1px solid var(--line); box-shadow:var(--shadow); }
.text-image-figure figcaption { text-align:center; font-size:13px; color:var(--muted); margin-top:10px; }
.case-detail-back { display:flex; justify-content:center; gap:14px; flex-wrap:wrap; margin-top:20px; }

/* ---------- 表单反馈与蜜罐 ---------- */
.hp-field { position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.form-status { min-height:22px; margin:10px 0 0; font-size:14px; font-weight:600; }
.form-status.success { color:#15803d; }
.form-status.error { color:#b91c1c; }

/* ---------- 后台：案例详情与留言 ---------- */
.cd-block { border:1px dashed var(--line); border-radius:12px; padding:14px; margin-bottom:12px; background:#f8fafc; }
.cd-block-head { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:10px; font-size:14px; font-weight:700; color:var(--ink); }
.msg-meta { font-size:13px; color:var(--muted); margin:4px 0 12px; line-height:1.8; }
.msg-content { background:#f8fafc; border:1px solid var(--line); border-radius:10px; padding:14px; font-size:15px; line-height:1.8; white-space:pre-wrap; word-break:break-word; }
.msg-status-new { color:#b45309; font-weight:700; }
.msg-status-read { color:#15803d; font-weight:700; }
.msg-status-archived { color:var(--muted); font-weight:700; }
.badge-count { display:inline-flex; min-width:20px; height:20px; padding:0 6px; margin-left:8px; border-radius:10px; background:var(--brand); color:#fff; font-size:12px; align-items:center; justify-content:center; }

@media (max-width: 992px) {
  .case-highlights { grid-template-columns:1fr; }
  .text-image-block { grid-template-columns:1fr; gap:24px; }
  .text-image-block.reverse .text-image-copy,
  .text-image-block.reverse .text-image-figure { order:initial; }
}

/* ---------- 案例详情：项目概述 / 解决方案与实施 / 案例图示 ---------- */
.case-detail-section { max-width:920px; margin:0 auto 40px; }
.case-section-title { font-size:24px; font-weight:800; margin:0 0 16px; padding-left:14px; border-left:4px solid var(--brand); }
.case-section-text { font-size:16px; color:var(--muted); line-height:2; margin:0; white-space:pre-wrap; }
.case-gallery { display:grid; grid-template-columns:repeat(2,1fr); gap:18px; }
.case-gallery-item { margin:0; background:#fff; border:1px solid var(--line); border-radius:14px; padding:10px; box-shadow:var(--shadow); }
.case-gallery-item img { width:100%; border-radius:10px; display:block; }
.case-gallery-item figcaption { text-align:center; font-size:13px; color:var(--muted); padding:8px 0 2px; }
@media (max-width: 768px) { .case-gallery { grid-template-columns:1fr; } }

/* ---------- 全站悬浮咨询框 ---------- */
.contact-fab { position:fixed; right:22px; bottom:24px; z-index:900; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; width:62px; height:62px; border-radius:50%; background:var(--brand); color:#fff; box-shadow:0 12px 28px rgba(37,99,235,.4); cursor:pointer; font-size:12px; transition:transform .2s, box-shadow .2s; }
.contact-fab:hover { transform:translateY(-3px); box-shadow:0 16px 34px rgba(37,99,235,.5); }
.contact-fab.is-open { background:#1d4ed8; }
.contact-panel { position:fixed; right:22px; bottom:96px; z-index:901; width:340px; max-width:calc(100vw - 32px); background:#fff; border:1px solid var(--line); border-radius:16px; box-shadow:0 20px 50px rgba(15,23,42,.18); overflow:hidden; display:none; }
.contact-panel.is-open { display:block; animation:cpIn .18s ease-out; }
@keyframes cpIn { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:none; } }
.cp-head { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:16px 18px; background:linear-gradient(135deg,#2563eb,#1d4ed8); color:#fff; }
.cp-head strong { display:block; font-size:17px; }
.cp-head span { display:block; font-size:12px; opacity:.85; margin-top:3px; }
.cp-close { background:rgba(255,255,255,.18); border:0; color:#fff; width:28px; height:28px; border-radius:50%; font-size:20px; line-height:1; cursor:pointer; }
.cp-body { max-height:min(560px, calc(100vh - 130px)); overflow-y:auto; }
.cp-quick { padding:14px 18px 6px; }
.cp-row { display:flex; align-items:flex-start; gap:10px; width:100%; text-align:left; padding:10px 0; border:0; border-bottom:1px solid var(--line); background:transparent; color:var(--ink); text-decoration:none; cursor:pointer; font:inherit; }
.cp-row:last-child { border-bottom:0; }
.cp-ico { flex:0 0 30px; height:30px; border-radius:8px; background:#eff6ff; color:var(--brand); display:flex; align-items:center; justify-content:center; font-size:13px; font-weight:700; }
.cp-row small { display:block; font-size:12px; color:var(--muted); margin-bottom:3px; }
.cp-row b { display:block; font-size:14px; font-weight:700; word-break:break-all; }
.cp-form { padding:6px 18px 18px; }
.cp-form-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-bottom:10px; }
.cp-form .form-input { min-height:40px; font-size:14px; }
.cp-form textarea { min-height:78px; resize:vertical; margin-bottom:10px; }
.cp-form .btn { width:100%; }
.cp-status { min-height:20px; margin:8px 0 0; font-size:13px; font-weight:600; }
.cp-status.success, .form-status.success { color:#15803d; }
.cp-status.error, .form-status.error { color:#b91c1c; }
.copy-wechat { border:0; background:transparent; color:var(--muted); padding:0; cursor:pointer; font:inherit; text-align:left; }
.copy-wechat:hover { color:var(--brand); }
.cd-upload-btn { display:inline-flex; align-items:center; cursor:pointer; }
@media (max-width: 480px) {
  .cp-form-grid { grid-template-columns:1fr; }
  .contact-fab { right:14px; bottom:16px; }
  .contact-panel { right:14px; bottom:88px; }
}

/* ---------- 后台：案例详情上传区 ---------- */
.cd-section { margin-bottom:18px; }
.cd-thumbs { display:flex; flex-wrap:wrap; gap:10px; margin:10px 0; min-height:10px; }
.upload-thumb { position:relative; width:104px; height:80px; border:1px solid var(--line); border-radius:10px; overflow:hidden; background:#fff; }
.upload-thumb img { width:100%; height:100%; object-fit:cover; }
.thumb-del { position:absolute; top:2px; right:2px; width:22px; height:22px; border:0; border-radius:50%; background:rgba(15,23,42,.7); color:#fff; font-size:15px; line-height:1; cursor:pointer; }
.upload-empty { color:var(--muted); font-size:13px; margin:8px 0; }

/* ---------- 首页合作流程（后台可配置） ---------- */
.process-steps { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-top:32px; }
.process-step { text-align:center; position:relative; padding:28px 16px 22px; }
.process-num { display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; border-radius:50%; background:#eff6ff; color:var(--brand); font-size:18px; font-weight:800; margin-bottom:12px; }
.process-step h3 { font-weight:700; font-size:17px; margin:0 0 8px; }
.process-step p { color:var(--muted); font-size:14px; line-height:1.7; margin:0; }
@media (max-width: 992px) { .process-steps { grid-template-columns:repeat(2,1fr); } }
@media (max-width: 560px) { .process-steps { grid-template-columns:1fr; } }

/* ---------- 服务项目：清晰卡片结构 ---------- */
.service-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.service-card { padding:22px 20px; display:flex; flex-direction:column; gap:12px; }
.service-card-head { display:flex; align-items:center; gap:12px; }
.service-card-head .icon-box { flex:0 0 auto; width:44px; height:44px; }
.service-card-head h3 { font-size:18px; font-weight:700; margin:0; line-height:1.4; }
.service-card > p { color:var(--muted); font-size:14px; line-height:1.75; margin:0; flex:1; }
.service-tags { display:flex; flex-wrap:wrap; gap:8px; }
.service-tags span { display:inline-block; padding:5px 10px; border-radius:999px; background:#f1f5f9; color:#475569; font-size:12px; line-height:1.4; }
.why-card { text-align:center; padding:24px 20px; }
.why-card h3 { font-weight:700; font-size:17px; margin:0 0 6px; }
.why-card p { color:var(--muted); font-size:14px; line-height:1.7; margin:0; }
@media (max-width: 992px) { .service-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width: 640px) { .service-grid { grid-template-columns:1fr; } }

/* ---------- 后台图片直传控件 ---------- */
.img-field { margin-top:10px; }
.img-field-preview { width:180px; height:110px; border:1px dashed var(--line); border-radius:10px; display:grid; place-items:center; overflow:hidden; background:#f8fafc; color:var(--muted); font-size:13px; margin-bottom:8px; }
.img-field-preview img { width:100%; height:100%; object-fit:contain; }
.img-field-square .img-field-preview { width:140px; height:140px; }
.img-size-note { margin:0 0 8px; color:var(--muted); font-size:12px; }

/* ---------- 站点顶部 Logo ---------- */
.brand-logo { max-height:40px; max-width:170px; width:auto; object-fit:contain; }
.brand-name { line-height:1.2; }

/* ---------- 关于我们：合作客户（Logo + 名称） ---------- */
.client-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-top:28px; }
.client-card { background:#fff; border:1px solid var(--line); border-radius:14px; padding:22px 16px; text-align:center; display:flex; flex-direction:column; align-items:center; gap:12px; box-shadow:var(--shadow); }
.client-card img, .client-logo-placeholder { width:110px; height:110px; object-fit:contain; }
.client-logo-placeholder { display:grid; place-items:center; border-radius:12px; background:#eff6ff; color:var(--brand); font-size:32px; font-weight:800; }
.client-card span:last-child { font-weight:600; font-size:15px; color:var(--ink); }
@media (max-width: 992px) { .client-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width: 560px) { .client-grid { grid-template-columns:1fr; } }

/* ---------- Markdown 编辑器（后台新闻正文） ---------- */
.md-editor { border:1px solid var(--line); border-radius:12px; overflow:hidden; background:#fff; }
.md-toolbar { display:flex; flex-wrap:wrap; align-items:center; gap:6px; padding:8px 10px; background:#f8fafc; border-bottom:1px solid var(--line); }
.md-tool { min-width:34px; height:32px; padding:0 9px; border:1px solid var(--line); border-radius:7px; background:#fff; color:var(--ink); font-size:13px; cursor:pointer; line-height:1; }
.md-tool:hover { border-color:var(--brand); color:var(--brand); background:var(--brand-soft); }
.md-tool:disabled { opacity:.6; cursor:wait; }
.md-hint { margin-left:auto; font-size:12px; color:var(--muted); }
.md-main { display:grid; grid-template-columns:1fr 1fr; min-height:280px; }
.md-input { width:100%; min-height:280px; border:0; border-right:1px solid var(--line); padding:14px 16px; font-size:14px; line-height:1.8; font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; resize:vertical; outline:none; }
.md-preview { padding:14px 18px; overflow:auto; background:#fcfdff; font-size:15px; }

/* ---------- Markdown 正文渲染（前台 + 后台预览共用） ---------- */
.md-preview h1,.md-preview h2,.md-preview h3,.md-preview h4,
.news-detail-body h1,.news-detail-body h2,.news-detail-body h3,.news-detail-body h4 { color:var(--ink); line-height:1.4; margin:22px 0 12px; font-weight:700; }
.md-preview h1,.news-detail-body h1 { font-size:28px; }
.md-preview h2,.news-detail-body h2 { font-size:23px; }
.md-preview h3,.news-detail-body h3 { font-size:19px; }
.md-preview h4,.news-detail-body h4 { font-size:17px; }
.md-preview p,.news-detail-body p { line-height:1.9; margin:12px 0; }
.md-preview ul,.md-preview ol,.news-detail-body ul,.news-detail-body ol { padding-left:24px; margin:12px 0; }
.md-preview li,.news-detail-body li { margin:6px 0; line-height:1.8; }
.md-preview blockquote,.news-detail-body blockquote { border-left:4px solid var(--brand); background:var(--brand-soft); margin:16px 0; padding:12px 18px; border-radius:0 10px 10px 0; color:var(--muted); }
.md-preview blockquote p,.news-detail-body blockquote p { margin:0; }
.md-preview pre,.news-detail-body pre { background:#0f172a; color:#e2e8f0; padding:16px 18px; border-radius:10px; overflow:auto; margin:16px 0; font-size:13px; line-height:1.7; }
.md-preview code,.news-detail-body code { font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; background:#eef2f7; color:#b91c1c; padding:2px 6px; border-radius:5px; font-size:.92em; }
.md-preview pre code,.news-detail-body pre code { background:transparent; color:inherit; padding:0; }
.md-preview img,.news-detail-body img { max-width:100%; height:auto; border-radius:12px; display:block; margin:18px 0; }
.md-preview a,.news-detail-body a { color:var(--brand); text-decoration:underline; }
.md-preview hr,.news-detail-body hr { border:0; border-top:1px solid var(--line); margin:24px 0; }
.md-preview del,.news-detail-body del { color:var(--muted); }
@media (max-width: 860px) {
  .md-main { grid-template-columns:1fr; }
  .md-input { border-right:0; border-bottom:1px solid var(--line); min-height:220px; }
  .md-preview { min-height:200px; }
}

/* ---------- 案例详情 Markdown 正文（项目概述 / 解决方案与实施） ---------- */
.case-section-text.md-rendered { white-space:normal; color:#334155; font-size:16px; line-height:1.9; }
.case-section-text.md-rendered > :first-child { margin-top:0; }
.case-section-text.md-rendered > :last-child { margin-bottom:0; }
.case-section-text.md-rendered h1,.case-section-text.md-rendered h2,
.case-section-text.md-rendered h3,.case-section-text.md-rendered h4 { color:var(--ink); line-height:1.4; margin:22px 0 12px; font-weight:700; }
.case-section-text.md-rendered h1 { font-size:27px; }
.case-section-text.md-rendered h2 { font-size:22px; }
.case-section-text.md-rendered h3 { font-size:18px; }
.case-section-text.md-rendered h4 { font-size:16px; }
.case-section-text.md-rendered p { margin:12px 0; line-height:1.9; }
.case-section-text.md-rendered ul,.case-section-text.md-rendered ol { padding-left:24px; margin:12px 0; }
.case-section-text.md-rendered li { margin:6px 0; line-height:1.8; }
.case-section-text.md-rendered blockquote { border-left:4px solid var(--brand); background:var(--brand-soft); margin:16px 0; padding:12px 18px; border-radius:0 10px 10px 0; color:var(--muted); }
.case-section-text.md-rendered blockquote p { margin:0; }
.case-section-text.md-rendered pre { background:#0f172a; color:#e2e8f0; padding:16px 18px; border-radius:10px; overflow:auto; margin:16px 0; font-size:13px; line-height:1.7; }
.case-section-text.md-rendered code { font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; background:#eef2f7; color:#b91c1c; padding:2px 6px; border-radius:5px; font-size:.92em; }
.case-section-text.md-rendered pre code { background:transparent; color:inherit; padding:0; }
.case-section-text.md-rendered img { max-width:100%; height:auto; border-radius:12px; display:block; margin:18px 0; }
.case-section-text.md-rendered a { color:var(--brand); text-decoration:underline; }
.case-section-text.md-rendered hr { border:0; border-top:1px solid var(--line); margin:24px 0; }
.case-section-text.md-rendered del { color:var(--muted); }

/* ============================================================
   移动端适配增强（触屏 / 刘海屏 / 小屏阅读）
   ============================================================ */
html { -webkit-text-size-adjust: 100%; }
body { overflow-x: hidden; }
img, svg, video, canvas { max-width: 100%; }
/* 防止 iOS 聚焦输入框时自动放大页面 */
input, select, textarea, button { font-size: 16px; }

/* 菜单打开时锁定页面滚动；遮罩由 main.js 动态创建 */
body.nav-open { overflow: hidden; }
.nav-backdrop {
  display: none; position: fixed; inset: 72px 0 0; z-index: 99;
  background: rgba(15, 23, 42, .38); -webkit-tap-highlight-color: transparent;
}
.nav-backdrop.show { display: block; }

/* 汉堡按钮变为关闭图标 */
.nav-toggle { -webkit-tap-highlight-color: transparent; }
.nav-toggle span:nth-child(1), .nav-toggle span:nth-child(3) { transition: transform .25s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 移动端子菜单展开按钮（桌面隐藏） */
.nav-sub-toggle { display: none; }

/* 键盘可访问性：统一焦点样式 */
.nav-toggle:focus-visible, .nav-menu a:focus-visible, .nav-sub-toggle:focus-visible,
.carousel-arrow:focus-visible, .carousel-dots button:focus-visible,
.faq-tab:focus-visible, .filter-btn:focus-visible {
  outline: 2px solid var(--brand); outline-offset: 2px;
}

/* 长内容、表格、链接在窄屏不撑破布局 */
.md-preview table, .news-detail-body table, .case-section-text table,
.case-section-text.md-rendered table, .msg-content table {
  display: block; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.md-preview img, .news-detail-body img, .case-section-text img { height: auto; }
.md-preview a, .news-detail-body a, .case-section-text a,
.msg-content, .cp-row b, .cms-cell, .form-note { overflow-wrap: anywhere; }

@media (max-width: 768px) {
  .site-header { padding-top: env(safe-area-inset-top); }
  .nav-wrap { min-height: 64px; }
  .nav-backdrop { top: calc(64px + env(safe-area-inset-top)); }

  .nav-menu {
    top: calc(64px + env(safe-area-inset-top));
    max-height: calc(100vh - 64px - env(safe-area-inset-top));
    overflow-y: auto; -webkit-overflow-scrolling: touch;
    padding-bottom: calc(18px + env(safe-area-inset-bottom));
  }
  .nav-menu a { min-height: 48px; display: flex; align-items: center; font-size: 16px; }

  /* 有子菜单的导航项：链接占一列，箭头按钮占一列，子菜单整行展开 */
  .nav-has-sub { display: grid; grid-template-columns: 1fr 44px; align-items: center; }
  .nav-has-sub > a { flex: 1; min-width: 0; }
  .nav-has-sub > .nav-sub { grid-column: 1 / -1; }
  .nav-sub-toggle {
    display: inline-flex; grid-column: 2; grid-row: 1;
    align-items: center; justify-content: center;
    width: 44px; height: 44px; border: 0; background: transparent;
    color: var(--muted); font-size: 18px; line-height: 1;
    -webkit-tap-highlight-color: transparent; transition: transform .2s ease;
  }
  .nav-has-sub.sub-open > .nav-sub-toggle { transform: rotate(180deg); }
  /* 触屏上禁用 hover/focus 自动展开，统一由展开按钮控制 */
  .nav-has-sub:hover > .nav-sub, .nav-has-sub:focus-within > .nav-sub { display: none; }
  .nav-has-sub.sub-open > .nav-sub { display: block; }
  .nav-sub a { min-height: 44px; display: flex; align-items: center; }

  /* 轮播圆点扩大触控热区，但不改变视觉尺寸 */
  .carousel-dots button { position: relative; }
  .carousel-dots button::after { content: ""; position: absolute; inset: -12px -6px; }
  .carousel-arrow { width: 44px; height: 44px; }

  /* 表单与筛选按钮统一触控高度 */
  .btn, .form-input, select, textarea, .filter-btn, .faq-tab { min-height: 44px; }
  .faq-tab { display: inline-flex; align-items: center; }

  /* 首页四个数据指标两列展示，减少纵向滚动 */
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stat-num { font-size: 30px; }
  .section-desc { font-size: 15px; }
  .hero p { font-size: 16px; }
  .section-title { font-size: clamp(26px, 7vw, 34px); }
}

@media (max-width: 480px) {
  .container-site { padding-left: 16px; padding-right: 16px; }
  .section { padding: 48px 0; }
  .section-sm { padding: 36px 0; }
  .hero { padding: 44px 0 40px; }
  .hero h1 { font-size: clamp(30px, 9vw, 40px); letter-spacing: -.5px; }
  .hero-actions .btn { width: 100%; }
  .btn-about-link { min-height: 56px; }
  .carousel-inner { padding: 28px 16px 44px; }
  .carousel-inner.is-image img { max-height: 230px; }

  /* 悬浮咨询改为贴底安全区，避免遮挡刘海屏手势区 */
  .contact-fab { width: 56px; height: 56px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); }
  .contact-panel {
    right: 12px; left: 12px; width: auto; max-width: none;
    bottom: calc(78px + env(safe-area-inset-bottom));
  }
  .toast { left: 16px; right: 16px; max-width: none; bottom: calc(16px + env(safe-area-inset-bottom)); }

  .img-field-preview { width: 100%; max-width: 180px; }
  .case-detail-lead h2 { font-size: 22px; }
  .text-image-copy h3, .case-section-title { font-size: 20px; }
}

/* ---------- 语言切换：桌面并排链接 / 移动端下拉 ---------- */
.lang-switch { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.lang-switch .lang-sep { color: #cbd5e1; }
.lang-switch a { padding-left: 0; padding-right: 0; }
.lang-switch a.active { color: var(--brand); font-weight: 700; }
.lang-picker { display: none; }
/* 移动端顶栏常驻语言按钮：默认隐藏，≤768px 显示 */
.lang-mini { display: none; }

/* ---------- 页脚联系方式：标签与值同行 ---------- */
.footer-contact .contact-line {
  display: flex; align-items: baseline; gap: 4px;
  margin: 6px 0; font-size: 14px; line-height: 1.6;
}
.footer-contact .contact-label { flex: 0 0 auto; white-space: nowrap; color: #94a3b8; }
.footer-contact .contact-value { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }

@media (max-width: 768px) {
  /* 顶部常驻语言按钮：不展开抽屉也能切换 */
  .lang-mini {
    display: inline-flex; align-items: center; justify-content: center;
    margin-left: auto; margin-right: 8px;
    min-width: 44px; height: 40px; padding: 0 10px;
    border: 1px solid var(--line); border-radius: 10px; background: #fff;
    font-size: 13px; font-weight: 700; color: var(--ink);
    text-decoration: none; white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
  }
  .lang-mini:active { background: var(--brand-soft); color: var(--brand); }
  .nav-wrap .nav-toggle { margin-left: 0; }

  /* 抽屉里用下拉替代并排链接，避免占位与误触 */
  .lang-switch { display: none; }
  .lang-picker { display: block; margin: 8px 0 2px; }
  .nav-menu .lang-picker-label {
    display: block; font-size: 13px; color: var(--muted);
    padding: 0; margin-bottom: 6px; border: 0;
  }
  .lang-picker-field { position: relative; }
  .lang-select {
    width: 100%; height: 48px; padding: 0 44px 0 14px;
    font-size: 16px; color: var(--ink); background: #f8fafc;
    border: 1px solid var(--line); border-radius: 10px;
    appearance: none; -webkit-appearance: none; cursor: pointer;
  }
  .lang-select:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
  .lang-picker-arrow {
    position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
    color: #64748b; font-size: 15px; line-height: 1; pointer-events: none;
  }

  /* ---------- 页脚：公司介绍整行 → 快速导航 / 服务范围两列 → 联系方式整行 ---------- */
  .site-footer { padding: 34px 0 16px; }
  .site-footer .grid-4 {
    grid-template-columns: 1fr 1fr;
    gap: 18px 16px;
  }
  .site-footer .grid-4 > .footer-brand { grid-column: 1 / -1; }
  .site-footer .grid-4 > .footer-contact {
    grid-column: 1 / -1;
    margin-top: 2px; padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, .1);
  }
  .site-footer h3 { font-size: 14px; margin-bottom: 8px; letter-spacing: .01em; }
  .site-footer p { margin: 4px 0; font-size: 13.5px; line-height: 1.65; }
  .footer-contact .contact-line { gap: 6px; margin: 5px 0; }
  .footer-bottom {
    margin-top: 20px; padding-top: 14px; font-size: 12px;
    flex-direction: column; gap: 4px;
  }
}

@media (max-width: 360px) {
  .site-footer .grid-4 { gap: 14px 10px; }
  .site-footer p { font-size: 13px; }
}
