/* AI 科技蓝模板（aigeo）— 参考擎站 aiqingzhan.com 版式
   主色 #0055ff / 深蓝 #0b1f3a·#0b5394 / 正文灰 #888 / 微软雅黑 */
body.tpl-aigeo {
  --ag-primary: #0055ff;
  --ag-primary-dark: #0043c7;
  --ag-navy: #0b1f3a;
  --ag-navy-2: #0b5394;
  --ag-ink: #222;
  --ag-muted: #888;
  --ag-line: #e8ecf3;
  --ag-bg: #f5f7fb;
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  color: var(--ag-ink);
  background: #fff;
}

body.tpl-aigeo .auto-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- 顶部信息条 ---------- */
body.tpl-aigeo .ag-topbar {
  background: var(--ag-navy);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
}

body.tpl-aigeo .topbar-inner {
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

body.tpl-aigeo .topbar-phone a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

/* ---------- 头部导航 ---------- */
body.tpl-aigeo .ag-header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(11, 31, 58, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

body.tpl-aigeo .header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 74px;
}

body.tpl-aigeo .logo-box .site-logo {
  height: 54px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
}

body.tpl-aigeo .site-nav {
  flex: 1;
  display: flex;
  gap: 6px;
  justify-content: center;
}

body.tpl-aigeo .site-nav a {
  padding: 9px 18px;
  color: var(--ag-ink);
  text-decoration: none;
  font-size: 15px;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}

body.tpl-aigeo .site-nav a:hover,
body.tpl-aigeo .site-nav a.active {
  color: var(--ag-primary);
  background: rgba(0, 85, 255, 0.08);
}

body.tpl-aigeo .header-cta {
  background: var(--ag-primary);
  color: #fff !important;
  padding: 11px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
  transition: background 0.2s, box-shadow 0.2s;
}

/* 汉堡按钮：桌面端隐藏，≤992px 显示 */
body.tpl-aigeo .nav-toggle {
  display: none;
  -webkit-appearance: none;
  appearance: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  padding: 0 10px;
  background: transparent;
  border: 1px solid rgba(0, 85, 255, 0.35);
  border-radius: 8px;
  cursor: pointer;
}

/* 窄屏兜底：防止 logo + CTA + 汉堡超出容器把汉堡挤出屏幕 */
@media (max-width: 600px) {
  body.tpl-aigeo .header-inner { gap: 8px; }
  body.tpl-aigeo .logo-box { min-width: 0; }
  body.tpl-aigeo .logo-box .site-logo { height: 42px; max-width: 160px; }
  body.tpl-aigeo .header-cta { padding: 8px 10px; font-size: 12px; }
  body.tpl-aigeo .nav-toggle { width: 38px; height: 38px; padding: 0 9px; }
}

body.tpl-aigeo .nav-toggle span {
  display: block;
  /* ⚠️ 三条线必须内核免疫（2026-09-27 事故：真机 Chrome/UC 只画按钮边框不画 span 背景）：
     ① 显式 width 不依赖 flex stretch；② 3px 高避开发丝线渲染差异；
     ③ 字面量色打头、var() 兜后——老内核不认 var() 时整条声明会被丢弃，字面量保底 */
  width: 20px;
  height: 3px;
  border-radius: 2px;
  background: #0055ff;
  background: var(--ag-primary);
  transition: transform 0.2s, opacity 0.2s;
}

body.tpl-aigeo .ag-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.tpl-aigeo .ag-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.tpl-aigeo .ag-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

body.tpl-aigeo .header-cta:hover {
  background: var(--ag-primary-dark);
  box-shadow: 0 6px 16px rgba(0, 85, 255, 0.3);
}

/* ---------- Banner ---------- */
body.tpl-aigeo .banner-section {
  overflow: hidden;
  background: linear-gradient(120deg, var(--ag-navy) 0%, var(--ag-navy-2) 60%, var(--ag-primary) 100%);
}

body.tpl-aigeo .banner-arrow { display: none !important; }

body.tpl-aigeo .banner-slider {
  display: flex;
  transition: transform 0.5s ease;
}

body.tpl-aigeo .banner-slider .banner-item {
  flex: 0 0 100%;
  position: relative;
}

body.tpl-aigeo .banner-slider .banner-item img,
body.tpl-aigeo .banner-placeholder {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

body.tpl-aigeo .banner-section.is-empty::before {
  content: "企业全域数字化信源搭建技术服务商";
  display: flex;
  align-items: center;
  justify-content: center;
  height: 300px;
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 2px;
}

/* ---------- 内页页头 ---------- */
body.tpl-aigeo .page-hero {
  background: linear-gradient(120deg, var(--ag-navy), var(--ag-navy-2));
  color: #fff;
  padding: 48px 0;
  text-align: center;
}

body.tpl-aigeo .page-hero h1 { margin: 0 0 8px; font-size: 32px; }
body.tpl-aigeo .page-hero p { margin: 0; opacity: 0.85; }

/* ---------- 数据信条条 ---------- */
body.tpl-aigeo .ag-stats {
  background: var(--ag-bg);
  border-bottom: 1px solid var(--ag-line);
  padding: 34px 0;
}

body.tpl-aigeo .stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

body.tpl-aigeo .stat-item strong {
  display: block;
  color: var(--ag-primary);
  font-size: 20px;
  margin-bottom: 4px;
}

body.tpl-aigeo .stat-item span {
  color: var(--ag-ink);
  font-size: 15px;
  font-weight: 600;
}

body.tpl-aigeo .stat-item em {
  font-style: normal;
  color: var(--ag-primary);
  font-size: 18px;
}

/* ---------- 区块骨架 ---------- */
body.tpl-aigeo .ag-section { padding: 64px 0; }

body.tpl-aigeo .ag-sec-head {
  text-align: center;
  margin-bottom: 40px;
}

body.tpl-aigeo .ag-sec-en {
  margin: 0;
  color: #ccc;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  line-height: 1.1;
}

body.tpl-aigeo .ag-sec-cn {
  margin: 6px 0 0;
  color: #666;
  font-size: 20px;
  font-weight: 600;
}

body.tpl-aigeo .ag-sec-sub {
  margin: 10px auto 0;
  color: var(--ag-muted);
  font-size: 14px;
  line-height: 1.7;
  max-width: 760px;
}

body.tpl-aigeo .ag-sec-en.on-dark { color: rgba(255, 255, 255, 0.28); }
body.tpl-aigeo .ag-sec-cn.on-dark { color: rgba(255, 255, 255, 0.92); }
body.tpl-aigeo .ag-sec-sub.on-dark { color: rgba(255, 255, 255, 0.6); }

/* ---------- 服务能力（浅色卡片） ---------- */
body.tpl-aigeo .ag-cards-light {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

body.tpl-aigeo .ag-cards-light .service-card {
  background: #fff;
  border: 1px solid var(--ag-line);
  border-top: 3px solid var(--ag-primary);
  border-radius: 8px;
  padding: 30px 24px;
  text-align: left;
  display: block;
  color: inherit;
  text-decoration: none;
  transition: box-shadow 0.25s, transform 0.25s;
}

body.tpl-aigeo .ag-cards-light .service-card:hover {
  box-shadow: 0 10px 28px rgba(0, 85, 255, 0.14);
  transform: translateY(-4px);
}

body.tpl-aigeo .ag-cards-light .service-icon {
  width: 56px;
  height: 56px;
  margin: 0 0 16px;
  border-radius: 12px;
  background: rgba(0, 85, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--ag-primary);
  overflow: hidden;
}

body.tpl-aigeo .ag-cards-light .service-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.tpl-aigeo .ag-cards-light .service-card h3 {
  font-size: 18px;
  margin: 0 0 10px;
  color: var(--ag-ink);
}

body.tpl-aigeo .ag-cards-light .service-card p {
  font-size: 13px;
  color: var(--ag-muted);
  line-height: 1.7;
  margin: 0 0 12px;
}

body.tpl-aigeo .ag-cards-light .service-card .more {
  color: var(--ag-primary);
  font-size: 13px;
}

/* ---------- 深色区块公共 ---------- */
body.tpl-aigeo .ag-dark {
  background: linear-gradient(120deg, var(--ag-navy) 0%, var(--ag-navy-2) 100%);
  color: #fff;
}

/* ---------- 服务项目（深蓝色块卡片） ---------- */
body.tpl-aigeo .ag-cards-dark {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

body.tpl-aigeo .ag-cards-dark .advantage-item {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 28px 26px;
  transition: background 0.25s, transform 0.25s;
}

body.tpl-aigeo .ag-cards-dark .advantage-item:hover {
  background: rgba(255, 255, 255, 0.13);
  transform: translateY(-3px);
}

body.tpl-aigeo .ag-cards-dark .advantage-item h4 {
  margin: 0 0 8px;
  font-size: 18px;
  color: #fff;
}

body.tpl-aigeo .ag-cards-dark .advantage-item .sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 10px;
}

body.tpl-aigeo .ag-cards-dark .advantage-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
}

/* ---------- BRAND INFO 公司介绍 ---------- */
body.tpl-aigeo .brand-section { padding: 72px 0; }

body.tpl-aigeo .brand-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

body.tpl-aigeo .brand-text h2 {
  margin: 0 0 18px;
  font-size: 26px;
  color: #fff;
}

body.tpl-aigeo .brand-text p {
  margin: 0 0 22px;
  font-size: 14px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.78);
}

body.tpl-aigeo .brand-more {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  padding: 9px 24px;
  font-size: 14px;
  transition: background 0.2s;
}

body.tpl-aigeo .brand-more:hover { background: rgba(255, 255, 255, 0.14); }

body.tpl-aigeo .brand-type {
  text-align: right;
  line-height: 0.95;
  font-weight: 700;
  font-size: 88px;
  letter-spacing: 4px;
  user-select: none;
}

body.tpl-aigeo .brand-type .bt-gray { display: block; color: rgba(255, 255, 255, 0.25); }
body.tpl-aigeo .brand-type .bt-white { display: block; color: #fff; }

/* ---------- 伙伴 / 生态矩阵 ---------- */
body.tpl-aigeo .ag-cards-pill {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

body.tpl-aigeo .ag-cards-pill .partner-item {
  background: #fff;
  border: 1px solid var(--ag-line);
  border-radius: 999px;
  padding: 18px 14px;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #555;
  transition: border-color 0.2s, box-shadow 0.2s;
}

body.tpl-aigeo .ag-cards-pill .partner-item:hover {
  border-color: var(--ag-primary);
  box-shadow: 0 6px 18px rgba(0, 85, 255, 0.12);
}

body.tpl-aigeo .ag-cards-pill .partner-item img {
  max-width: 100%;
  max-height: 44px;
  object-fit: contain;
}

/* ---------- 新闻资讯 ---------- */
body.tpl-aigeo .ag-news-home .news-item,
body.tpl-aigeo .ag-news-page .news-item {
  display: flex;
  gap: 20px;
  background: #fff;
  padding: 20px 22px;
  margin-bottom: 12px;
  border: 1px solid var(--ag-line);
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

body.tpl-aigeo .ag-news-home .news-item:hover,
body.tpl-aigeo .ag-news-page .news-item:hover {
  border-color: var(--ag-primary);
  box-shadow: 0 6px 18px rgba(0, 85, 255, 0.08);
}

body.tpl-aigeo .news-item .news-date {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  background: rgba(0, 85, 255, 0.08);
  color: var(--ag-primary);
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

body.tpl-aigeo .news-item .news-date .d { font-size: 24px; line-height: 1; }
body.tpl-aigeo .news-item .news-date .ym { font-size: 11px; color: var(--ag-muted); font-weight: 400; }

body.tpl-aigeo .news-item .news-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ag-ink);
}

body.tpl-aigeo .news-item .news-summary {
  font-size: 13px;
  color: var(--ag-muted);
  line-height: 1.7;
}

body.tpl-aigeo .more-link { text-align: center; margin: 26px 0 0; }

body.tpl-aigeo .more-link a {
  color: var(--ag-primary);
  text-decoration: none;
  font-size: 14px;
}

body.tpl-aigeo .more-link a:hover { text-decoration: underline; }

/* ---------- 首页案例展示（复用 base.css 通用 card-item 卡片） ---------- */
body.tpl-aigeo .cases-home-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

body.tpl-aigeo .cases-home-grid .card-item {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e8ecf3;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
}

body.tpl-aigeo .cases-home-grid .card-title {
  color: var(--ag-ink);
}

body.tpl-aigeo .cases-home-grid .card-item:hover .card-title {
  color: var(--ag-primary);
}

/* ---------- 产品列表（默认 card-item 分支） ---------- */
body.tpl-aigeo .ag-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

body.tpl-aigeo .ag-product-grid .card-item {
  background: #fff;
  border: 1px solid var(--ag-line);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: box-shadow 0.25s, transform 0.25s;
}

body.tpl-aigeo .ag-product-grid .card-item:hover {
  box-shadow: 0 10px 26px rgba(11, 31, 58, 0.12);
  transform: translateY(-3px);
}

body.tpl-aigeo .ag-product-grid .card-cover {
  height: 180px;
  background: linear-gradient(135deg, #e6eeff, #cdddff);
  color: #9db4d8;
}

body.tpl-aigeo .ag-product-grid .card-title { color: var(--ag-ink); }
body.tpl-aigeo .ag-product-grid .card-more { color: var(--ag-primary); font-size: 13px; }

/* ---------- 列表分页 / 详情 ---------- */
body.tpl-aigeo .page-main { padding: 44px 0 64px; }
body.tpl-aigeo .page-main-list { padding-top: 52px; }

body.tpl-aigeo .detail-box {
  background: #fff;
  padding: 36px;
  border-radius: 8px;
  border: 1px solid var(--ag-line);
}

/* ---------- FAQ ---------- */
/* FAQ 区块与全站容器同宽（曾限 860px，与其他页面 1200px 不一致，2026-09-23 已踩） */
body.tpl-aigeo .faq-section { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

body.tpl-aigeo .faq-item {
  background: #fff;
  border: 1px solid var(--ag-line);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}

body.tpl-aigeo .faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: none;
  padding: 16px 18px;
  cursor: pointer;
  text-align: left;
  font-size: 15px;
  color: var(--ag-ink);
  font-family: inherit;
}

body.tpl-aigeo .faq-badge {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ag-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.tpl-aigeo .faq-q-text { flex: 1; font-weight: 600; }

body.tpl-aigeo .faq-arrow {
  flex: none;
  width: 8px;
  height: 8px;
  border-right: 2px solid #bbb;
  border-bottom: 2px solid #bbb;
  transform: rotate(45deg);
  transition: transform 0.2s;
}

body.tpl-aigeo .faq-item.is-open .faq-arrow { transform: rotate(225deg); }

/* 答案与问题标题文字左对齐（标题文字左 = 行内边距18 + 徽标26 + 间距12 = 56px；
 * 曾按 18px 与 Q 徽标对齐、也曾因列表默认缩进再右顶一截，2026-09-23 定稿 56px） */
body.tpl-aigeo .faq-a { display: none; padding: 0 18px 16px 56px; }
body.tpl-aigeo .faq-item.is-open .faq-a { display: block; }

body.tpl-aigeo .faq-a-inner {
  padding: 0;   /* base.css 的 .faq-a-inner 有 54px 左内边距，会叠在 .faq-a 的 56px 上（双层缩进，已踩）；aigeo 由 .faq-a 统一控制 */
  font-size: 14px;
  color: var(--ag-muted);
  line-height: 1.8;
}

/* 答案内的 ul/ol 清掉浏览器默认缩进，列表首行与标题文字对齐 */
body.tpl-aigeo .faq-a-inner ul,
body.tpl-aigeo .faq-a-inner ol {
  margin: 0 0 8px;
  padding-left: 0;
  list-style-position: inside;
}

body.tpl-aigeo .faq-more {
  text-align: center;
  color: var(--ag-muted);
  font-size: 14px;
  margin-top: 22px;
}

body.tpl-aigeo .faq-more a { color: var(--ag-primary); text-decoration: none; }

/* ---------- 联系我们 ---------- */
body.tpl-aigeo .contact-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--ag-line);
  border-radius: 10px;
  overflow: hidden;
}

body.tpl-aigeo .contact-info {
  padding: 40px;
  background: linear-gradient(150deg, var(--ag-navy), var(--ag-navy-2));
  color: #fff;
}

body.tpl-aigeo .contact-info h2 { margin: 0 0 24px; font-size: 24px; }
body.tpl-aigeo .contact-info p { margin: 0 0 14px; line-height: 1.8; }
body.tpl-aigeo .contact-info span { opacity: 0.8; }

body.tpl-aigeo .contact-form-wrap { padding: 40px; }
body.tpl-aigeo .contact-form-wrap h3 { margin: 0 0 8px; }

body.tpl-aigeo .contact-form-wrap > p {
  color: var(--ag-muted);
  font-size: 14px;
  margin: 0 0 20px;
}

body.tpl-aigeo .contact-form label {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  font-weight: 600;
}

body.tpl-aigeo .contact-form input,
body.tpl-aigeo .contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--ag-line);
  border-radius: 6px;
  padding: 10px 12px;
  margin-bottom: 14px;
  font-size: 14px;
  font-family: inherit;
}

body.tpl-aigeo .contact-form input:focus,
body.tpl-aigeo .contact-form textarea:focus {
  outline: none;
  border-color: var(--ag-primary);
}

body.tpl-aigeo .btn-primary {
  background: var(--ag-primary);
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

body.tpl-aigeo .btn-primary:hover { background: var(--ag-primary-dark); }
body.tpl-aigeo .btn-block { width: 100%; padding: 14px; font-size: 15px; }

body.tpl-aigeo .cf-tip { min-height: 20px; font-size: 13px; margin-bottom: 10px; }
body.tpl-aigeo .cf-tip.success { color: #67c23a; }
body.tpl-aigeo .cf-tip.error { color: #f56c6c; }

body.tpl-aigeo .contact-map-wrap {
  margin-top: 18px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.15);
}

body.tpl-aigeo .contact-map-wrap[hidden] { display: none !important; }
body.tpl-aigeo .contact-map-img { width: 100%; max-height: 240px; object-fit: cover; display: block; }

/* ---------- 页脚 ---------- */
body.tpl-aigeo .ag-footer {
  background: var(--ag-navy);
  color: rgba(255, 255, 255, 0.65);
  padding: 28px 0;
  font-size: 13px;
  text-align: center;
}

body.tpl-aigeo .footer-nav-row { margin-bottom: 14px; }

body.tpl-aigeo .footer-nav-row a {
  display: inline-block;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 12px;
  text-decoration: none;
}

body.tpl-aigeo .footer-nav-row a:hover { color: #fff; }

body.tpl-aigeo .footer-copy {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

body.tpl-aigeo .ag-footer a { color: rgba(255, 255, 255, 0.75); }

/* ---------- 列表分页（base.css .list-pagination 微调） ---------- */
body.tpl-aigeo .list-pagination { text-align: center; padding: 12px 0; }
body.tpl-aigeo .list-pagination .page-btn { font-family: inherit; }

/* ---------- 占位符未替换时的兜底（发布前预览/异常场景） ---------- */
body.tpl-aigeo .ag-section.is-placeholder-empty { display: none !important; }

/* ---------- 响应式 ---------- */
@media (max-width: 992px) {
  body.tpl-aigeo .nav-toggle { display: flex; }
  /* 移动端导航：改为头部下拉面板（保留 .site-nav 本体，专题注入/active 高亮不受影响） */
  body.tpl-aigeo .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex: 0 0 auto;
    flex-direction: column;
    gap: 2px;
    justify-content: flex-start;
    padding: 10px 16px 14px;
    background: #fff;
    box-shadow: 0 14px 26px rgba(11, 31, 58, 0.14);
    border-top: 1px solid rgba(11, 31, 58, 0.06);
  }
  body.tpl-aigeo .ag-header.nav-open .site-nav { display: flex; }
  body.tpl-aigeo .site-nav a { padding: 12px 14px; font-size: 16px; }
  /* 导航退出文档流后，把 CTA + 汉堡整组推到容器最右（汉堡贴右缘） */
  body.tpl-aigeo .header-inner { gap: 14px; }
  body.tpl-aigeo .header-cta { margin-left: auto; }
  body.tpl-aigeo .ag-cards-light { grid-template-columns: repeat(2, 1fr); }
  body.tpl-aigeo .ag-cards-dark { grid-template-columns: 1fr; }
  body.tpl-aigeo .brand-inner { grid-template-columns: 1fr; }
  body.tpl-aigeo .brand-type { text-align: left; font-size: 64px; }
  body.tpl-aigeo .ag-cards-pill { grid-template-columns: repeat(3, 1fr); }
  body.tpl-aigeo .ag-product-grid { grid-template-columns: repeat(2, 1fr); }
  body.tpl-aigeo .contact-page { grid-template-columns: 1fr; }
  body.tpl-aigeo .topbar-slogan { display: none; }
}

@media (max-width: 600px) {
  /* ⚠️ 窄屏头部兜底必须放在 ≤992 块之后（本文件末尾的同宽媒体块），
     否则同优先级被后者的 logo 38/150、CTA 13px、gap 14px 覆盖，
     360px 视口下 logo+CTA+汉堡合计 392px 溢出，汉堡被屏幕右缘裁掉（2026-09-27 事故）。 */
  body.tpl-aigeo .header-inner { gap: 8px; }
  body.tpl-aigeo .logo-box { min-width: 0; }
  body.tpl-aigeo .logo-box .site-logo { height: 42px; max-width: min(160px, 100%); }
  body.tpl-aigeo .header-cta { padding: 8px 10px; font-size: 12px; }
  body.tpl-aigeo .nav-toggle { width: 38px; height: 38px; padding: 0 9px; }
  body.tpl-aigeo .ag-cards-light,
  body.tpl-aigeo .ag-product-grid { grid-template-columns: 1fr; }
  body.tpl-aigeo .cases-home-grid { grid-template-columns: 1fr; }
  body.tpl-aigeo .ag-cards-pill { grid-template-columns: repeat(2, 1fr); }
  body.tpl-aigeo .stats-grid { grid-template-columns: repeat(2, 1fr); }
  body.tpl-aigeo .banner-slider .banner-item img,
  body.tpl-aigeo .banner-placeholder { height: 220px; }
  body.tpl-aigeo .ag-section { padding: 44px 0; }
  body.tpl-aigeo .brand-type { font-size: 48px; }
}
