/* ============================================
   贵州云擎官网 - 手机版专属样式（≤768px 完全重设计）
   独立于 PC 样式，不影响桌面端任何表现
   ============================================ */
@media (max-width: 768px) {

:root{
  --navy-900:#06142b;
  --navy-800:#0a1e3d;
  --navy-700:#0d2a52;
  --navy-600:#123b6e;
  --blue-500:#1e6fe0;
  --cyan-400:#22d3ee;
  --cyan-300:#67e8f9;
  --ink-900:#0f1c2e;
  --ink-700:#334155;
  --ink-500:#64748b;
  --line:#e2e8f0;
  --bg-soft:#f5f8fc;
}

/* ---------- 基础 ---------- */
html{font-size:15px}
body{
  line-height:1.7;
  padding-bottom:64px; /* 给底部联系栏留位 */
  -webkit-tap-highlight-color:transparent;
}
.container{width:100%;padding:0 16px}

/* ---------- 顶栏：更紧凑、更精致 ---------- */
.site-header{background:rgba(6,20,43,.98)}
.header-inner{height:56px}
.brand{gap:9px}
.brand-mark{
  width:34px;height:34px;border-radius:9px;font-size:16px;
  box-shadow:0 4px 12px rgba(34,211,238,.3);
}
.brand-name{font-size:16px !important;letter-spacing:.3px}
.brand-sub{font-size:9px !important;letter-spacing:1.2px}
.menu-toggle{
  display:grid;place-items:center;width:40px;height:40px;margin-right:-8px;
  font-size:22px;border-radius:10px;background:rgba(255,255,255,.08);
}

/* ---------- 导航：全屏抽屉式 ----------
   注意：顶栏 backdrop-filter 会使 position:fixed 失效，
   故用 absolute 锚定在 sticky 顶栏内展开；瞬时显隐最可靠 */
.nav{
  display:none;flex-direction:column;gap:0;
  position:absolute;top:56px;left:0;right:0;
  height:calc(100vh - 56px);
  background:linear-gradient(180deg,var(--navy-800),var(--navy-900));
  padding:10px 20px 90px;overflow-y:auto;
  z-index:999;
}
.nav.open{display:flex}
.nav a{
  width:100%;font-size:16.5px;color:#dceaff;
  padding:16px 14px;margin:0;border-radius:12px;
  border-bottom:1px solid rgba(255,255,255,.06);
  display:flex;align-items:center;justify-content:space-between;
  min-height:52px;
}
.nav a::after{content:"›";font-size:20px;color:rgba(255,255,255,.25);font-weight:400}
.nav a.active{color:var(--cyan-300);background:rgba(34,211,238,.08)}
.nav .nav-cta{
  margin:18px 0 0;justify-content:center;
  background:linear-gradient(135deg,var(--cyan-400),var(--blue-500));
  color:#06142b !important;font-size:17px;font-weight:800;
  border-radius:14px;border-bottom:none;box-shadow:0 8px 22px rgba(34,211,238,.3);
}
.nav .nav-cta::after{content:none}

/* ---------- Hero：移动专属排版 ---------- */
.hero-inner{display:block;padding:44px 0 46px !important}
.hero-tag{
  font-size:11.5px;padding:6px 13px;margin-bottom:16px;letter-spacing:.3px;
}
.hero h1{font-size:29px !important;line-height:1.32;margin-bottom:14px;letter-spacing:-.3px}
.hero p.lead{font-size:14.5px;color:#b9cee6;margin-bottom:22px;line-height:1.8}
.hero-btns{display:grid !important;grid-template-columns:1fr 1fr;gap:10px}
.hero-btns .btn{
  justify-content:center;padding:14px 10px;font-size:14.5px;border-radius:12px;
}
.hero-card{
  margin-top:30px;padding:20px 18px;border-radius:16px;
}
.hero-card h3{font-size:13px;margin-bottom:14px}
.platform-row{gap:8px}
.platform-chip{padding:8px 12px;font-size:12.5px;border-radius:8px}
.hero-stat{gap:0;margin-top:20px;padding-top:18px;justify-content:space-between}
.hero-stat div{flex:1;text-align:center}
.hero-stat div b{font-size:22px}
.hero-stat div span{font-size:11px}

/* ---------- 内页 hero ---------- */
.page-hero{padding:40px 0 36px;text-align:left}
.page-hero h1{font-size:26px !important;line-height:1.35;margin-bottom:12px}
.page-hero p{font-size:14px;line-height:1.8}
.page-hero .crumb{font-size:12px;margin-bottom:12px}

/* ---------- 区块节奏 ---------- */
section{padding:48px 0 !important}
.section-head{margin-bottom:30px;text-align:left}
.section-head h2{font-size:23px !important;line-height:1.4;margin-bottom:10px}
.section-head p{font-size:14px}
.eyebrow{font-size:11.5px;letter-spacing:1.5px;margin-bottom:8px}

/* ---------- 卡片：移动端流式卡 ---------- */
.grid{gap:14px !important}
.card{padding:22px 18px;border-radius:14px}
.card:hover{transform:none}
.card-ico{width:44px;height:44px;border-radius:11px;font-size:20px;margin-bottom:14px}
.card h3{font-size:17px;margin-bottom:8px}
.card p{font-size:13.5px;margin-bottom:12px}
.card ul{font-size:13px}
.card ul li{padding:4px 0 4px 18px}
.card ul li::before{top:11px;width:6px;height:6px}
.card .more{margin-top:12px;font-size:13.5px}
.card-num{font-size:40px;right:12px;top:6px}

/* ---------- Split ---------- */
.split{gap:26px !important}
.split h2{font-size:22px !important;line-height:1.4;margin-bottom:14px}
.split p{font-size:14px}
.split .check-list li{font-size:14px;padding:7px 0 7px 30px}
.visual-box{padding:22px 18px;border-radius:14px}
.visual-box .line{font-size:13.5px;padding:9px 0}

/* ---------- Steps ---------- */
.step{padding:20px 18px;border-radius:14px}
.step::before{font-size:24px;margin-bottom:8px}
.step h3{font-size:15.5px}
.step p{font-size:13.5px}

/* ---------- FAQ：大热区 ---------- */
.faq-item summary{
  padding:16px 16px;font-size:15px;line-height:1.5;
  min-height:52px;align-items:center;
}
.faq-item .faq-a{padding:0 16px 18px;font-size:14px}

/* ---------- 关键词chips：覆盖内联样式，双列网格 ---------- */
.container > div[style*="flex-wrap"]{
  display:grid !important;
  grid-template-columns:1fr 1fr;
  gap:9px !important;
  max-width:100% !important;
}
.container > div[style*="flex-wrap"] > a{
  display:flex !important;align-items:center;justify-content:center;
  text-align:center;padding:11px 8px !important;
  font-size:12.5px !important;line-height:1.4;border-radius:10px !important;
  min-height:44px;
}
.container > p[style*="max-width:860px"]{font-size:13px !important;padding:0 2px}

/* ---------- 文章页：移动阅读优化 ---------- */
.breadcrumb:not(:has(a)){display:none} /* 首页面包屑隐藏 */
body:has(.page-hero) .breadcrumb{display:none} /* 内页与hero面包屑重复，隐藏顶部那条 */
.article-body{font-size:15.5px;line-height:1.9;max-width:100%}
.article-body h2{font-size:19.5px;margin:28px 0 12px;padding-left:11px;border-left-width:3px}
.article-body h3{font-size:17px;margin:22px 0 10px}
.article-body p{margin-bottom:14px}
.article-body table{
  display:block;overflow-x:auto;-webkit-overflow-scrolling:touch;
  white-space:nowrap;font-size:13px;border:1px solid var(--line);border-radius:8px;
}
.article-meta{font-size:12px;margin-bottom:24px}
.breadcrumb{font-size:12px;padding:12px 0 0}

/* 相关阅读内链块 */
.related-inline{
  margin:26px -16px 0 !important;padding:18px 16px !important;border-radius:0 !important;
}
.related-inline a{
  display:block;padding:10px 0;font-size:14px;
  border-bottom:1px dashed var(--line);
}
.related-inline a:last-child{border-bottom:none}

/* 文章页CTA */
.article-body + .cta-banner, .cta-banner{
  padding:30px 18px !important;border-radius:16px;
}
.cta-banner h2{font-size:20px !important;margin-bottom:10px}
.cta-banner p{font-size:13.5px;margin-bottom:18px}
.cta-banner .btn{width:100%;justify-content:center}

/* ---------- 页脚：紧凑单列 ---------- */
.site-footer{padding:40px 0 20px}
.footer-grid{grid-template-columns:1fr !important;gap:26px !important;margin-bottom:24px}
.footer-brand p{font-size:13px}
.footer-col h4{font-size:14.5px;margin-bottom:10px;
  padding-bottom:8px;border-bottom:1px solid rgba(255,255,255,.1)}
.footer-col a{font-size:14px;padding:8px 0;display:flex;justify-content:space-between}
.footer-col a::after{content:"›";color:rgba(255,255,255,.2)}
.contact-line{font-size:14px;padding:7px 0}
.contact-line b{color:var(--cyan-300)}
.footer-bottom{flex-direction:column;text-align:center;font-size:12px;gap:8px;padding-top:16px}

/* ---------- 返回顶部：避开底栏 ---------- */
#backTop{right:14px;bottom:76px;width:42px;height:42px;font-size:18px}

/* ---------- 底部悬浮联系栏（由 main.js 注入） ---------- */
.m-contact-bar{
  position:fixed;left:0;right:0;bottom:0;z-index:1001;
  display:flex;gap:8px;padding:8px 12px calc(8px + env(safe-area-inset-bottom));
  background:rgba(6,20,43,.96);backdrop-filter:blur(12px);
  border-top:1px solid rgba(255,255,255,.08);
  box-shadow:0 -6px 24px rgba(0,0,0,.25);
}
.m-contact-bar a{
  flex:1;display:flex;align-items:center;justify-content:center;gap:7px;
  height:44px;border-radius:12px;font-size:15px;font-weight:700;
  text-decoration:none;
}
.m-bar-call{
  background:linear-gradient(135deg,var(--cyan-400),var(--blue-500));
  color:#06142b;box-shadow:0 6px 18px rgba(34,211,238,.3);
}
.m-bar-wechat{
  border:1px solid rgba(255,255,255,.25);color:#fff;background:rgba(255,255,255,.07);
}
.m-contact-bar a span.m-ico{font-size:17px;line-height:1}

/* ---------- 通用微调 ---------- */
.btn{padding:13px 20px;font-size:14.5px}
a,button{-webkit-touch-callout:none}
img{border-radius:8px}

/* 防止横向溢出 */
body,html{overflow-x:hidden;max-width:100vw}
section > .container{max-width:100%}
}
