/* ==========================================================================
   akdata.cn 首页原型样式
   --------------------------------------------------------------------------
   换风格只改 :root 里的变量即可（配色/圆角/间距/字号全在这里控制）。
   移植回 HkCms 时：把 HTML 里的静态内容换成 CMS 标签即可，样式可直接复用。
   ========================================================================== */

:root {
  /* 品牌色：沿用现站主色 琥珀金 #ffb600 */
  --brand:        #ffb600;
  --brand-600:    #e6a400;
  --brand-100:    #fff6e0;

  /* 文字 */
  --ink:          #303030;
  --ink-2:        #5c6470;
  --ink-3:        #667085; /* 原 #8a93a0 对比度仅 3.11:1，未达 WCAG AA；改深后为 4.93:1 */

  /* 背景与线条 */
  --bg:           #ffffff;
  --soft:         #f6f7f9;
  --line:         #e8eaee;

  /* 深色（首屏 / 页脚） */
  --deep:         #131b29;
  --deep-2:       #1f2c44;

  /* 尺寸 */
  --wrap:         1200px;
  --radius:       12px;
  --radius-lg:    18px;
  --nav-h:        68px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.35; }
p  { margin: 0; }
img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===================== 顶部信息条 ===================== */
.topbar {
  background: var(--deep);
  color: rgba(255,255,255,.72);
  font-size: 13px;
}
.topbar-inner {
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar-tag { letter-spacing: .3px; }
.topbar-phone b {
  color: var(--brand);
  font-size: 14px;
  letter-spacing: .5px;
}

/* ===================== 导航 ===================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.nav.is-stuck { box-shadow: 0 4px 20px rgba(20,30,50,.09); }

.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo img {
  height: 42px;
  width: auto;
  object-fit: contain;
  display: block;
}

.menu { display: flex; align-items: center; gap: 4px; margin-right: auto; }
.menu-item {
  position: relative;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  border-radius: 8px;
  transition: color .18s ease, background .18s ease;
}
.menu-item:hover, .menu-item.is-active { color: var(--brand-600); background: var(--brand-100); }

/* 二级下拉 */
.has-sub .sub {
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 150px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(20,30,50,.12);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.has-sub:hover .sub {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.sub a {
  display: block;
  padding: 8px 12px;
  font-size: 14px;
  color: var(--ink-2);
  border-radius: 6px;
  white-space: nowrap;
}
.sub a:hover { background: var(--brand-100); color: var(--brand-600); }
.sub-wide { min-width: 320px; display: grid; grid-template-columns: 1fr 1fr; }

.nav-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px;
  background: var(--ink); margin: 3px auto; border-radius: 2px;
}

/* ===================== 按钮 ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.btn-lg { padding: 15px 34px; font-size: 16px; border-radius: 10px; }

.btn-primary {
  background: var(--brand);
  color: #241a00;
}
.btn-primary:hover {
  background: var(--brand-600);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255,182,0,.4);
}

.btn-ghost {
  border-color: rgba(255,255,255,.45);
  color: #fff;
}
.btn-ghost:hover {
  background: rgba(255,255,255,.14);
  transform: translateY(-2px);
}

.link-more {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--brand-600); font-weight: 600; font-size: 14px;
}
.link-more i { font-style: normal; transition: transform .16s ease; }
.link-more:hover i { transform: translateX(4px); }

/* ===================== 首屏（大气版） ===================== */
.hero {
  position: relative;
  background: linear-gradient(160deg, #0f1623 0%, var(--deep) 42%, var(--deep-2) 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

/* 背景层：光晕 + 网格 + 底部渐隐 */
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
}
.hero-glow-a {
  width: 760px; height: 760px;
  top: -300px; right: -160px;
  background: radial-gradient(circle, rgba(255,182,0,.30), rgba(255,182,0,.05) 46%, transparent 68%);
}
.hero-glow-b {
  width: 620px; height: 620px;
  bottom: -340px; left: -180px;
  background: radial-gradient(circle, rgba(70,120,255,.24), transparent 66%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(ellipse 78% 72% at 50% 34%, #000 34%, transparent 82%);
  -webkit-mask-image: radial-gradient(ellipse 78% 72% at 50% 34%, #000 34%, transparent 82%);
}
.hero-fade {
  position: absolute;
  left: 0; right: 0; bottom: 0; height: 130px;
  background: linear-gradient(to bottom, transparent, rgba(15,22,35,.55));
}

.hero-inner {
  position: relative;
  padding: 108px 24px 84px;
  max-width: 940px;
  margin: 0 auto;
  text-align: center;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 1.8px;
  color: var(--brand);
  border: 1px solid rgba(255,182,0,.42);
  background: rgba(255,182,0,.08);
  border-radius: 999px;
  padding: 6px 18px;
  margin-bottom: 30px;
}
.hero-title {
  font-size: 62px;
  line-height: 1.16;
  letter-spacing: 2px;
  margin-bottom: 22px;
  text-shadow: 0 8px 40px rgba(0,0,0,.35);
}
.hero-title-accent {
  background: linear-gradient(100deg, #ffd877, var(--brand) 55%, #ffca4d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,.8);
  max-width: 720px;
  margin: 0 auto 34px;
  line-height: 1.8;
}

/* 信任徽章行 */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 38px;
}
.hero-badges li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 148px;
  padding: 12px 18px;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(4px);
}
.hero-badges b {
  font-size: 16px;
  color: #fff;
  letter-spacing: .5px;
}
.hero-badges span {
  font-size: 12px;
  color: var(--brand);
  letter-spacing: .5px;
}

.hero-actions {
  display: flex; justify-content: center; gap: 16px; flex-wrap: wrap;
  margin-bottom: 58px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  border-top: 1px solid rgba(255,255,255,.14);
  padding-top: 34px;
}
.hero-stats li { position: relative; }
.hero-stats li + li::before {
  content: "";
  position: absolute;
  left: -9px; top: 6px; bottom: 6px;
  width: 1px;
  background: rgba(255,255,255,.12);
}
.hero-stats b {
  display: block;
  font-size: 38px;
  font-weight: 800;
  color: var(--brand);
  line-height: 1.15;
  letter-spacing: 1px;
}
.hero-stats b em { font-style: normal; font-size: 22px; }
.hero-stats span {
  font-size: 13px;
  color: rgba(255,255,255,.66);
  letter-spacing: .5px;
}

/* ===================== 区块通用 ===================== */
.section { padding: 82px 0; }
.section-soft { background: var(--soft); }

.sec-head { text-align: center; margin-bottom: 50px; }
.sec-head h2 {
  display: inline-block;
  font-size: 32px;
  position: relative;
  padding-bottom: 14px;
  letter-spacing: 1px;
}
.sec-head h2::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 46px; height: 3px;
  background: var(--brand);
  border-radius: 2px;
}
.sec-head p {
  margin-top: 14px;
  color: var(--ink-3);
  font-size: 14px;
}

/* ===================== 核心优势 ===================== */
.section-adv { background: linear-gradient(180deg, #fff, #fbfcfe); }
.adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.adv-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 26px 30px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.adv-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(20,30,50,.11);
  border-color: rgba(255,182,0,.5);
}
.adv-card-hl {
  background: linear-gradient(165deg, #fffdf6, #fff);
  border-color: #f0e2c0;
  box-shadow: 0 12px 30px rgba(255,182,0,.12);
}
.adv-badge {
  position: absolute;
  top: 16px; right: 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #241a00;
  background: var(--brand);
  border-radius: 999px;
  padding: 3px 11px;
}
.adv-icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  background: var(--brand-100);
  color: var(--brand-600);
  border-radius: 14px;
  margin-bottom: 20px;
}
.adv-card-hl .adv-icon { background: var(--brand); color: #241a00; }
.adv-card h3 { font-size: 18px; margin-bottom: 12px; letter-spacing: .3px; }
.adv-card p { font-size: 14px; color: var(--ink-2); }
.adv-card strong { color: var(--brand-600); }

/* ===================== 关于我们 ===================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 44px;
  align-items: start;
}
.about-text p { margin-bottom: 14px; color: var(--ink-2); font-size: 15px; }
.about-text strong { color: var(--ink); }
.about-lead {
  font-size: 16px;
  color: var(--ink);
  line-height: 1.85;
}

.check-list { margin: 22px 0 26px; }
.check-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: var(--ink-2);
}
.check-list li::before {
  content: "";
  position: absolute; left: 4px; top: 9px;
  width: 6px; height: 10px;
  border-right: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(45deg);
}

/* 右列：2×2 精简优势卡 */
.adv-grid-mini {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.adv-grid-mini .adv-card {
  padding: 20px 18px;
  border-radius: var(--radius);
}
.adv-grid-mini .adv-icon {
  width: 42px; height: 42px;
  border-radius: 11px;
  margin-bottom: 12px;
}
.adv-grid-mini .adv-card h3 { font-size: 15px; margin-bottom: 8px; }
.adv-grid-mini .adv-card p { font-size: 13px; line-height: 1.65; }
.adv-grid-mini .adv-badge { font-size: 10px; padding: 2px 8px; }

/* ===================== 产品中心（缩略图卡片） ===================== */
.prod-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}
.prod-tab {
  padding: 7px 18px;
  font-size: 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  transition: all .18s ease;
}
.prod-tab:hover {
  border-color: rgba(255,182,0,.6);
  color: var(--brand-600);
}
.prod-tab.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #241a00;
  font-weight: 600;
}

.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.prod-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.prod-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(20,30,50,.12);
  border-color: rgba(255,182,0,.55);
}
.prod-pic {
  height: 168px;
  background: linear-gradient(150deg, #f7f9fc, #eef1f6);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.prod-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.prod-card:hover .prod-pic img { transform: scale(1.06); }
.prod-pic-ph {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-3);
  letter-spacing: 1px;
}
.prod-body {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.prod-tag {
  align-self: flex-start;
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 4px;
  background: var(--brand-100);
  color: var(--brand-600);
  margin-bottom: 10px;
}
.prod-body h3 { font-size: 16px; margin-bottom: 10px; }
.prod-body p {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.7;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.prod-feat {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.prod-feat li {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--soft);
  color: var(--ink-2);
  border: 1px solid var(--line);
}
.prod-card:hover .prod-feat li {
  border-color: rgba(255,182,0,.45);
  color: var(--brand-600);
}
.prod-body .card-link { margin-top: auto; }

.card-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-600);
}
.sec-more { text-align: center; margin-top: 34px; }

/* ===================== 解决方案（缩略图卡片） ===================== */
.case-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.case-card {
  position: relative;
  display: block;
  height: 180px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--soft);
}
.case-pic { position: absolute; inset: 0; }
.case-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.case-card:hover .case-pic img { transform: scale(1.08); }
.case-pic-ph {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: 18px; font-weight: 600; color: var(--ink-3);
  background: linear-gradient(150deg, #fbfcfd, #eef1f6);
}
.case-mask {
  position: absolute;
  inset: auto 0 0 0;
  padding: 42px 18px 16px;
  background: linear-gradient(to top, rgba(12,18,30,.82), rgba(12,18,30,.15) 60%, transparent);
  color: #fff;
}
.case-mask h3 {
  font-size: 16px;
  letter-spacing: .5px;
  margin-bottom: 4px;
}
.case-mask span {
  font-size: 12px;
  opacity: .85;
}
.case-card:hover .case-mask span { opacity: 1; }

/* ===================== 新闻中心（首条图文 + 排序列表） ===================== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.news-col {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 16px;
}
.news-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--line);
  margin-bottom: 16px;
}
.news-head h3 {
  font-size: 17px;
  padding-left: 10px;
  border-left: 3px solid var(--brand);
  line-height: 1.2;
}
.news-head a { font-size: 12px; color: var(--ink-3); }
.news-head a:hover { color: var(--brand-600); }
.news-head a i { font-style: normal; }

.news-list li { padding: 0; }

/* 首条：图文 */
.news-lead {
  display: flex;
  gap: 14px;
  padding-bottom: 16px;
  margin-bottom: 10px;
  border-bottom: 1px dashed #eef0f3;
}
.news-lead-pic {
  flex: 0 0 128px;
  height: 88px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--soft);
}
.news-lead-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.news-lead:hover .news-lead-pic img { transform: scale(1.06); }
.news-lead-txt { flex: 1; min-width: 0; }
.news-lead-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
  transition: color .16s ease;
}
.news-lead:hover .news-lead-title { color: var(--brand-600); }
.news-lead-txt p {
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.6;
  margin-top: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 列表：带排序序号 */
.news-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px dashed #f1f3f6;
}
.news-row:last-child { border-bottom: none; }
.news-num {
  flex: 0 0 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  background: #f0f2f5;
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 600;
}
.news-row.top .news-num {
  background: var(--brand);
  color: #241a00;
}
.news-title {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color .16s ease;
}
.news-row:hover .news-title { color: var(--brand-600); }
.news-date {
  flex: 0 0 auto;
  font-size: 12px;
  color: var(--ink-3);
}

/* ===================== 合作伙伴（真实 LOGO） ===================== */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 14px;
}
.partner-tile {
  height: 78px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.partner-tile:hover {
  border-color: rgba(255,182,0,.6);
  box-shadow: 0 8px 20px rgba(20,30,50,.08);
  transform: translateY(-3px);
}
.partner-tile a,
.partner-tile span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}
.partner-tile img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: .72;
  transition: filter .25s ease, opacity .25s ease;
}
.partner-tile:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* ===================== 页脚 ===================== */
.footer {
  background: var(--deep);
  color: rgba(255,255,255,.68);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr;
  gap: 40px;
  padding: 56px 24px 40px;
}
.footer-col h2 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 16px;
}
.footer-col li { margin-bottom: 9px; }
.footer-col a { font-size: 14px; }
.footer-col a:hover { color: var(--brand); }

.footer-contact p { font-size: 13px; margin-bottom: 8px; }
.footer-phone {
  font-size: 26px !important;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: .5px;
  margin-bottom: 10px !important;
}
.footer-contact .btn { margin-top: 14px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 18px 0;
  font-size: 13px;
}
.footer-bottom .wrap { text-align: center; }

/* ===================== 无障碍（键盘焦点 / 跳转链接） ===================== */
/* WCAG 2.4.7：键盘用户必须能看到当前焦点位置 */
:focus-visible {
  outline: 3px solid var(--brand-600);
  outline-offset: 2px;
  border-radius: 4px;
}
/* 旧浏览器回退（不支持 :focus-visible 时） */
@supports not selector(:focus-visible) {
  a:focus, button:focus, input:focus, select:focus, textarea:focus {
    outline: 3px solid var(--brand-600);
    outline-offset: 2px;
  }
}

/* 跳至主要内容：默认移出视口，键盘聚焦时可见 */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 10px 18px;
  background: var(--brand);
  color: #241a00;
  font-weight: 700;
  font-size: 14px;
  border-radius: 0 0 8px 0;
  text-decoration: none;
}
.skip-link:focus,
.skip-link:focus-visible { left: 0; }

/* WCAG 2.3.3：尊重系统「减少动效」偏好 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===================== 响应式 ===================== */
@media (max-width: 1080px) {
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .adv-grid    { grid-template-columns: repeat(2, 1fr); }
  .prod-grid   { grid-template-columns: repeat(2, 1fr); }
  .case-grid   { grid-template-columns: repeat(3, 1fr); }
  .news-grid   { grid-template-columns: repeat(2, 1fr); }
  .partner-grid{ grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 960px) {
  .about-grid  { grid-template-columns: 1fr; gap: 30px; }
  .case-grid   { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav-inner { gap: 14px; }
  .menu {
    position: absolute;
    top: var(--nav-h); left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 10px 20px 18px;
    gap: 0;
    display: none;
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }
  .menu.is-open { display: flex; }
  .menu-item { padding: 12px 4px; border-radius: 0; border-bottom: 1px solid #f2f4f7; }
  .has-sub .sub {
    position: static;
    transform: none;
    opacity: 1; visibility: visible;
    box-shadow: none;
    border: none;
    padding: 4px 0 8px 12px;
    min-width: 0;
  }
  .sub-wide { grid-template-columns: 1fr; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav-cta { display: none; }

  .about-grid,
  .footer-inner { grid-template-columns: 1fr; }

  .hero-inner { padding: 72px 24px 58px; }
  .hero-title { font-size: 40px; letter-spacing: 1px; }
  .hero-badges li { min-width: 130px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 22px 18px; }
  .hero-stats li + li::before { display: none; }
  .hero-stats b { font-size: 30px; }

  .section { padding: 56px 0; }
  .sec-head h2 { font-size: 25px; }
}

@media (max-width: 560px) {
  .card-grid-4,
  .adv-grid,
  .adv-grid-mini,
  .prod-grid,
  .case-grid,
  .news-grid { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .case-card { height: 150px; }
  .news-lead-pic { flex: 0 0 96px; height: 68px; }
  .topbar-inner { font-size: 12px; }
  .topbar-tag { display: none; }
  .hero-title { font-size: 31px; }
  .hero-badges li { min-width: 44%; flex: 1; }
}
