/* 猿人科技企业官网 — 明亮企业站；主推猿人助教（橙色） */
:root {
  --orange: #e06b3f;
  --orange-deep: #c45a2e;
  --orange-soft: #fdf0ea;
  --blue: #1a56db;
  --ink: #0f172a;
  --text: #1e293b;
  --muted: #64748b;
  --line: #e8e4e0;
  --bg: #ffffff;
  --bg-soft: #faf7f5;
  --radius: 14px;
  --shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  --container: 1120px;
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --header-h: 72px;
  --topbar-h: 36px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--text);
  background: var(--bg); line-height: 1.7; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }
ul, ol, h1, h2, h3, p { margin: 0; }
.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }

.topbar { height: var(--topbar-h); background: #1c1917; color: rgba(255,255,255,.78); font-size: 12px; }
.topbar-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar a:hover { color: #fff; }
.topbar-right { display: flex; gap: 18px; align-items: center; }

.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { width: 40px; height: 40px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 17px; color: var(--ink); letter-spacing: .04em; }
.brand-text span { font-size: 11px; color: var(--muted); letter-spacing: .08em; }
.nav { display: flex; gap: 22px; align-items: center; }
.nav > a,
.nav-trigger {
  font-size: 14px; color: var(--text); font-weight: 500; padding: 6px 0;
  border-bottom: 2px solid transparent; display: inline-flex; align-items: center; gap: 6px;
}
.nav > a:hover, .nav > a.is-active,
.nav-item--dropdown.is-active > .nav-trigger,
.nav-item--dropdown:hover > .nav-trigger,
.nav-item--dropdown.is-open > .nav-trigger {
  color: var(--orange); border-bottom-color: var(--orange);
}
.nav-item--dropdown { position: relative; }
/* 悬停热区下延，覆盖菜单间隙，避免移入时消失 */
.nav-item--dropdown::after {
  content: "";
  position: absolute;
  left: -12px;
  right: -12px;
  top: 100%;
  height: 18px;
}
.nav-caret {
  width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid currentColor; opacity: 0.65; transition: transform .2s ease;
}
.nav-item--dropdown.is-open .nav-caret { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(4px);
  min-width: 240px; padding: 10px; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow); opacity: 0; visibility: hidden;
  pointer-events: none; transition: opacity .15s ease, transform .15s ease, visibility .15s;
  z-index: 60;
}
.nav-item--dropdown:hover .nav-dropdown,
.nav-item--dropdown.is-open .nav-dropdown {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 10px;
  border-bottom: 0; color: var(--text); font-weight: 500;
}
.nav-dropdown a:hover { background: var(--orange-soft, #f8ebe3); color: var(--orange); }
.nav-dropdown a strong { font-size: 14px; font-weight: 700; }
.nav-dropdown a span { font-size: 12px; color: var(--muted); font-weight: 400; }
.nav-dropdown a:hover span { color: inherit; opacity: 0.85; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.nav-toggle span { display: block; width: 18px; height: 2px; margin: 5px auto; background: var(--ink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 42px; padding: 0 18px; border-radius: 8px;
  font-size: 14px; font-weight: 600; transition: .18s ease;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-deep); }
.btn-ghost { border: 1px solid rgba(255,255,255,.5); color: #fff; background: rgba(255,255,255,.1); }
.btn-ghost:hover { background: rgba(255,255,255,.2); }
.btn-outline { border: 1px solid var(--line); color: var(--text); background: #fff; }
.btn-outline:hover { border-color: var(--orange); color: var(--orange); }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 13px; }

/* Banner */
.banner { position: relative; height: clamp(480px, 62vh, 620px); overflow: hidden; background: #c45a2e; }
.banner-track { position: absolute; inset: 0; }
.banner-slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity .7s ease, visibility .7s; display: grid; align-items: center;
}
.banner-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.banner-bg { position: absolute; inset: 0; }

/* 高级感装饰：每屏主题不同 */
.banner-fx {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden;
}
.banner-fx__svg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: .95;
}
.banner-fx__glow {
  position: absolute; border-radius: 50%;
  filter: blur(40px); opacity: .32;
  background: rgba(255,255,255,.55);
}
.banner-fx__glow--a {
  width: 280px; height: 280px; right: 12%; top: -60px;
  animation: bannerFloat 10s ease-in-out infinite;
}
.banner-fx__glow--b {
  width: 220px; height: 220px; left: 8%; bottom: -40px;
  opacity: .2; animation: bannerFloat 12s ease-in-out infinite reverse;
}
.bfx-anim-dash { stroke-dasharray: 8 14; animation: bannerDash 26s linear infinite; }
.bfx-anim-dash-rev { stroke-dasharray: 6 12; animation: bannerDash 32s linear infinite reverse; }
.bfx-anim-float { animation: bannerFloat 11s ease-in-out infinite; transform-box: fill-box; }
.bfx-anim-spin {
  transform-origin: 0 0;
  animation: bannerSpin 22s linear infinite;
}
.bfx-anim-spin-slow {
  transform-origin: 0 0;
  animation: bannerSpin 36s linear infinite;
}
.bfx-anim-spin-rev {
  transform-origin: 0 0;
  animation: bannerSpin 28s linear infinite reverse;
}
.banner-fx--orbit .bfx-anim-spin,
.banner-fx--orbit .bfx-anim-spin-slow,
.banner-fx--orbit .bfx-anim-spin-rev {
  transform-box: fill-box;
  transform-origin: center;
}
@keyframes bannerDash { to { stroke-dashoffset: -480; } }
@keyframes bannerFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(16px); }
}
@keyframes bannerSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .bfx-anim-dash, .bfx-anim-dash-rev, .bfx-anim-float,
  .bfx-anim-spin, .bfx-anim-spin-slow, .bfx-anim-spin-rev,
  .banner-fx__glow { animation: none; }
}

.banner-slide--edu .banner-bg {
  background:
    radial-gradient(ellipse 55% 60% at 78% 40%, rgba(244,162,97,.45), transparent 58%),
    linear-gradient(115deg, #c45a2e 0%, #e06b3f 42%, #f4a261 100%);
}
.banner-slide--print .banner-bg {
  background:
    radial-gradient(ellipse 50% 55% at 78% 40%, rgba(56,189,248,.35), transparent 58%),
    linear-gradient(120deg, #0854a0 0%, #0b6bcb 50%, #38bdf8 100%);
}
.banner-slide--hzb .banner-bg {
  background:
    radial-gradient(ellipse 50% 55% at 75% 35%, rgba(59,130,246,.3), transparent 58%),
    linear-gradient(125deg, #0f3d7a 0%, #1661c1 55%, #3b82f6 100%);
}
.banner-slide--piece .banner-bg {
  background:
    radial-gradient(ellipse 50% 55% at 78% 40%, rgba(232,196,154,.4), transparent 58%),
    linear-gradient(120deg, #8a6a3a 0%, #b08a4f 50%, #d4b07a 100%);
}
.banner-slide--geo .banner-bg {
  background:
    radial-gradient(ellipse 50% 55% at 78% 40%, rgba(96,165,250,.35), transparent 58%),
    linear-gradient(125deg, #1e3a8a 0%, #1d4ed8 55%, #3b82f6 100%);
}
.banner-slide--cms .banner-bg {
  background:
    radial-gradient(ellipse 50% 55% at 78% 40%, rgba(56,189,248,.28), transparent 58%),
    linear-gradient(120deg, #163a5f 0%, #1f4b7a 50%, #3b82c4 100%);
}
.banner-slide--custom .banner-bg {
  background:
    radial-gradient(ellipse 50% 50% at 70% 40%, rgba(99,102,241,.28), transparent 55%),
    linear-gradient(140deg, #0f172a 0%, #1e3a8a 55%, #334155 100%);
}

/* 与下方 .container 同宽：左右内容贴版心两侧，不贴视口边、也不挤中间 */
.banner-layout {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  justify-content: space-between;
  align-items: center;
  column-gap: clamp(32px, 4vw, 56px);
  padding: 32px 0 56px;
  box-sizing: border-box;
}
.container.banner-layout {
  /* 保留 .container 的 width / margin，避免被 width:100% 冲掉 */
  width: min(var(--container), calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}
.banner-content { color: #fff; max-width: 480px; padding: 8px 0; justify-self: start; }
.banner-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .04em;
  color: rgba(255,255,255,.95); margin-bottom: 14px;
  background: rgba(255,255,255,.16); backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 6px 12px 6px 6px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
}
.banner-kicker-logo {
  width: 28px; height: 28px; border-radius: 8px;
  display: block; object-fit: contain;
  background: rgba(255,255,255,.12);
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.banner-kicker span { line-height: 1; padding-right: 4px; }
.banner-content h1 {
  font-size: clamp(28px, 3.6vw, 42px); line-height: 1.28; font-weight: 750; margin-bottom: 12px;
  white-space: normal;
}
.banner-content p { font-size: 16px; color: rgba(255,255,255,.9); margin-bottom: 24px; max-width: 34em; }
.banner-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.banner-visual {
  width: 100%;
  max-width: 540px;
  justify-self: end;
  position: relative;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}
.banner-visual::before { display: none; }
.bv-stage {
  position: relative;
  width: 100%;
  height: clamp(280px, 36vw, 360px);
  perspective: 1200px;
}
.bv-card {
  margin: 0;
  position: absolute;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 40px rgba(0,0,0,.28), 0 2px 0 rgba(255,255,255,.35) inset;
  border: 1px solid rgba(255,255,255,.4);
  transition: transform .45s ease;
}
.bv-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
  display: block;
  background: #f8fafc;
}
.banner-visual--fan .bv-card img,
.banner-visual--stack .bv-card img,
.banner-visual--orbit .bv-card img {
  object-fit: contain;
  padding: 6px;
  background: #fff;
}

/* 助教：电脑主图斜放 + 手机浮层 */
.banner-visual--duo .bv-card--main {
  inset: 18px 8% 28px 0;
  transform: rotateY(-8deg) rotateZ(-3deg);
  z-index: 1;
}
.banner-visual--duo .bv-card--phone {
  width: 28%;
  aspect-ratio: 9 / 17;
  right: 2%;
  bottom: 6%;
  border-radius: 18px;
  z-index: 3;
  transform: rotate(6deg);
  box-shadow: 0 22px 36px rgba(0,0,0,.35);
}
.banner-visual--duo .bv-card--float {
  width: 34%;
  aspect-ratio: 9 / 16;
  left: -2%;
  top: 8%;
  border-radius: 16px;
  z-index: 2;
  transform: rotate(-10deg);
  opacity: .96;
}

/* 印管家：三张扇形叠放 */
.banner-visual--fan .bv-card--back {
  width: 68%; height: 72%;
  left: 0; top: 18%;
  transform: rotate(-12deg);
  z-index: 1;
}
.banner-visual--fan .bv-card--mid {
  width: 68%; height: 72%;
  left: 16%; top: 10%;
  transform: rotate(2deg);
  z-index: 2;
}
.banner-visual--fan .bv-card--front {
  width: 72%; height: 78%;
  right: 0; top: 4%;
  transform: rotate(8deg);
  z-index: 3;
}

/* 货帐宝：大图倾斜 + 小卡片浮起 */
.banner-visual--tilt .bv-card--hero {
  inset: 24px 6% 40px 0;
  transform: rotate(-4deg) rotateY(6deg);
  z-index: 1;
}
.banner-visual--tilt .bv-card--chip {
  width: 46%;
  aspect-ratio: 16 / 10;
  right: -2%;
  bottom: 4%;
  transform: rotate(7deg);
  z-index: 2;
}

/* 臻管家：错位叠层 */
.banner-visual--stack .bv-card--a {
  width: 78%; height: 78%;
  right: 4%; top: 4%;
  transform: rotate(5deg);
  z-index: 3;
}
.banner-visual--stack .bv-card--b {
  width: 48%; height: 42%;
  left: 0; top: 8%;
  transform: rotate(-9deg);
  z-index: 2;
}
.banner-visual--stack .bv-card--c {
  width: 52%; height: 40%;
  left: 4%; bottom: 2%;
  transform: rotate(4deg);
  z-index: 1;
}

/* GEO：主图 + 两侧卫星卡 */
.banner-visual--orbit .bv-card--core {
  width: 72%; height: 76%;
  left: 14%; top: 8%;
  transform: rotate(-2deg);
  z-index: 2;
}
.banner-visual--orbit .bv-card--sat1 {
  width: 42%; height: 36%;
  left: -4%; bottom: 8%;
  transform: rotate(-11deg);
  z-index: 3;
}
.banner-visual--orbit .bv-card--sat2 {
  width: 40%; height: 34%;
  right: -2%; top: 0;
  transform: rotate(10deg);
  z-index: 3;
}

/* 定制：三图拼贴斜摆 */
.banner-visual--collage .bv-card--c1 {
  width: 62%; height: 70%;
  left: 2%; top: 8%;
  transform: rotate(-7deg);
  z-index: 2;
}
.banner-visual--collage .bv-card--c2 {
  width: 48%; height: 52%;
  right: 0; top: 0;
  transform: rotate(8deg);
  z-index: 3;
}
.banner-visual--collage .bv-card--c3 {
  width: 50%; height: 44%;
  right: 6%; bottom: 0;
  transform: rotate(-3deg);
  z-index: 1;
}

.banner-slide.is-active .bv-card { animation: bvIn .65s ease both; }
.banner-slide.is-active .bv-card:nth-child(2) { animation-delay: .08s; }
.banner-slide.is-active .bv-card:nth-child(3) { animation-delay: .16s; }
@keyframes bvIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .banner-slide.is-active .bv-card { animation: none; }
}
.banner-controls {
  position: absolute; left: 0; right: 0; bottom: 20px; z-index: 3;
  display: flex; justify-content: space-between; align-items: center;
  /* 与 .container 同宽对齐 */
}
.banner-dots { display: flex; gap: 8px; }
.banner-dots button { width: 28px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.35); }
.banner-dots button.is-active { width: 42px; background: #fff; }
.banner-arrows { display: flex; gap: 8px; }
.banner-arrows button {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.4); color: #fff; font-size: 18px; background: rgba(0,0,0,.12);
}

.section { padding: 72px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; }
.section-head-center { text-align: center; flex-direction: column; align-items: center; }
.section-kicker { color: var(--orange); font-size: 13px; font-weight: 700; letter-spacing: .06em; margin-bottom: 8px; }
.section-head h2, .page-hero h1 { font-size: clamp(24px, 2.8vw, 32px); color: var(--ink); font-weight: 750; line-height: 1.3; }
.section-head p { color: var(--muted); font-size: 15px; max-width: 40em; }
.page-hero { padding: 48px 0 28px; background: linear-gradient(180deg, var(--orange-soft), #fff 90%); border-bottom: 1px solid var(--line); }
.breadcrumb { display: flex; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a:hover { color: var(--orange); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Products with images — equal cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.product-grid.product-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 4px 16px rgba(15,23,42,.04); transition: .2s ease;
  min-height: 100%;
}
.product-card:hover { border-color: #f0c4b0; box-shadow: var(--shadow); transform: translateY(-2px); }
.product-card-media {
  aspect-ratio: 16 / 10;
  background: #f7f5f2;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  display: grid;
  place-items: center;
}
.product-card-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: left top;
  background: #f8fafc;
}
.product-card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-card .tag {
  width: fit-content; font-size: 12px; color: var(--orange);
  background: var(--orange-soft); padding: 4px 10px; border-radius: 999px;
}
.product-card h3 { font-size: 19px; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.product-card h3 img { height: 28px; width: auto; }
.product-card p { color: var(--muted); font-size: 14px; flex: 1; }
.product-card .card-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }

/* Featured edu highlight on home */
.featured-edu {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: center;
  background: #fff; border: 1px solid #f0ddd4; border-radius: 20px;
  padding: 28px; margin-bottom: 28px; box-shadow: var(--shadow);
}
.featured-edu-media { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #fff4ee; }
.featured-edu-media img { width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: left top; }
.featured-edu .tag { background: var(--orange-soft); color: var(--orange); }
.featured-edu h3 { font-size: 26px; color: var(--ink); margin: 10px 0; }
.featured-edu p { color: var(--muted); margin-bottom: 18px; }

.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.value-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px 18px; }
.value-item strong { display: block; font-size: 28px; color: var(--orange); margin-bottom: 6px; }
.value-item h3 { font-size: 16px; margin-bottom: 6px; color: var(--ink); }
.value-item p { font-size: 13px; color: var(--muted); }

.solution-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.solution-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px 22px; min-height: 200px; }
.solution-item h3 { font-size: 18px; margin-bottom: 10px; color: var(--ink); }
.solution-item p { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.list-check { padding-left: 18px; color: var(--text); font-size: 14px; }
.list-check li { margin: 6px 0; }

/* 定制服务能力 + 流程 */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}
.trust-strip article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 16px;
  text-align: center;
}
.trust-strip strong {
  display: block;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 6px;
}
.trust-strip span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
.service-cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}
.service-cap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 20px;
  box-shadow: 0 8px 22px rgba(28, 25, 23, .04);
}
.service-cap h3 {
  margin: 0 0 8px;
  font-size: 17px;
  color: var(--ink);
}
.service-cap p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--text);
}
.process-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.process-grid li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 16px 18px;
  position: relative;
}
.process-num {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--orange);
  background: rgba(196, 90, 46, .08);
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 10px;
}
.process-grid h3 {
  margin: 0 0 10px;
  font-size: 16px;
  color: var(--ink);
}
.process-grid ul {
  margin: 0;
  padding-left: 16px;
  color: var(--text);
  font-size: 13px;
  line-height: 1.6;
}
.process-grid li ul li { margin: 4px 0; }
@media (max-width: 960px) {
  .trust-strip, .service-cap-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .trust-strip, .service-cap-grid, .process-grid { grid-template-columns: 1fr; }
}

.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.case-item {
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff;
  transition: .18s ease;
}
.case-item:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.case-item-media {
  aspect-ratio: 4 / 3;
  background: #f7f5f2;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 10px;
}
.case-item-media img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.case-item-body { padding: 14px 16px 16px; }
.case-item .tag { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.case-item h3 { font-size: 16px; color: var(--ink); }

.cta-band {
  margin-top: 40px; border-radius: 16px;
  background: linear-gradient(120deg, #c45a2e, #e06b3f 55%, #f4a261);
  color: #fff; padding: 32px 36px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.cta-band h2 { font-size: 24px; margin-bottom: 6px; }
.cta-band p { color: rgba(255,255,255,.9); font-size: 14px; }

.detail-layout { display: grid; grid-template-columns: 1.4fr .7fr; gap: 24px; }
.detail-block { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px; margin-bottom: 16px; }
.detail-block h2 { font-size: 18px; margin-bottom: 12px; color: var(--ink); }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.feature-item { background: var(--bg-soft); border-radius: 10px; padding: 14px; }
.feature-item h3 { font-size: 15px; margin-bottom: 4px; }
.feature-item p { font-size: 13px; color: var(--muted); }
.side-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 22px; position: sticky; top: 96px; display: flex; flex-direction: column; gap: 10px;
}
.side-card h3 { font-size: 17px; }
.side-card p { font-size: 13px; color: var(--muted); }
.side-meta { font-size: 12px; color: var(--muted); margin-top: 8px; line-height: 1.8; }
.contact-strip { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; align-items: center; }
.contact-qr { display: flex; gap: 14px; align-items: center; background: var(--bg-soft); border-radius: 12px; padding: 14px; }
.contact-qr img { width: 110px; height: 110px; object-fit: cover; border-radius: 8px; }

.site-footer { background: #1c1917; color: rgba(245,245,244,.78); padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; margin-bottom: 28px; }
.footer-brand img { height: 40px; width: auto; margin-bottom: 12px; }
.footer-brand p { font-size: 13px; max-width: 28em; }
.footer-col h4 { color: #fff; font-size: 14px; margin-bottom: 12px; }
.footer-col a { display: block; font-size: 13px; margin: 8px 0; color: rgba(245,245,244,.7); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 16px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 12px; color: rgba(245,245,244,.5);
}

@media (max-width: 980px) {
  .product-grid, .case-grid { grid-template-columns: 1fr 1fr; }
  .solution-grid, .value-grid, .featured-edu, .banner-layout, .detail-layout, .contact-strip { grid-template-columns: 1fr; }
  .banner-layout { justify-content: stretch; padding-inline: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .banner-content { max-width: none; justify-self: stretch; }
  .banner-visual { max-width: none; justify-self: stretch; }
  .bv-stage { height: 280px; margin: 8px 12px 20px; }
  .banner-visual--duo .bv-card--main { transform: rotate(-2deg); }
  .banner-visual--fan .bv-card--front { transform: rotate(5deg); }
  .banner-visual--fan .bv-card--back { transform: rotate(-8deg); }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .nav-toggle { display: block; }
  .header-actions {
    display: none; position: absolute; left: 0; right: 0; top: var(--header-h);
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 12px 20px 18px; gap: 8px;
  }
  .header-actions.is-open { display: flex; }
  .nav { flex-direction: column; align-items: stretch; gap: 0; }
  .nav > a,
  .nav-trigger { padding: 12px 0; border-bottom: 1px solid var(--line); width: 100%; justify-content: space-between; }
  .nav-item--dropdown { width: 100%; }
  .nav-item--dropdown::after { display: none; }
  .nav-dropdown {
    position: static; transform: none; left: auto; top: auto;
    opacity: 1; visibility: visible; pointer-events: auto;
    display: none; box-shadow: none; border: 0; border-radius: 0;
    padding: 0 0 8px; min-width: 0; background: transparent;
  }
  .nav-item--dropdown:hover .nav-dropdown { display: none; }
  .nav-item--dropdown.is-open .nav-dropdown { display: block; }
  .nav-dropdown a { padding: 10px 4px 10px 12px; border-bottom: 1px dashed var(--line); border-radius: 0; }
  .banner-arrows { display: none; }
}
@media (max-width: 640px) {
  .product-grid, .case-grid, .solution-grid, .value-grid, .footer-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .banner { height: auto; min-height: 520px; padding-bottom: 56px; }
}


/* Case tabs */
.case-tabs {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px;
}
.case-tabs button {
  min-height: 36px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--text);
  font-size: 13px; font-weight: 600;
}
.case-tabs button.is-active {
  background: var(--orange); border-color: var(--orange); color: #fff;
}
.case-panel { display: none; }
.case-panel.is-active { display: block; }
.case-grid--phone {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.case-phone {
  text-align: center;
}
.case-phone-frame {
  margin: 0 auto 12px;
  width: min(100%, 168px);
  aspect-ratio: 9 / 19;
  background:
    linear-gradient(165deg, #f8f7f5 0%, #ebe8e4 100%);
  border: 1.5px solid #d9d4ce;
  border-radius: 28px;
  box-shadow:
    0 14px 32px rgba(28, 25, 23, .08),
    inset 0 1px 0 rgba(255,255,255,.9);
  display: grid;
  place-items: center;
  padding: 10px 9px 14px;
  position: relative;
}
.case-phone-frame::before {
  content: "";
  position: absolute;
  top: 8px; left: 50%; transform: translateX(-50%);
  width: 36%; height: 5px; border-radius: 999px;
  background: #cfc9c2;
}
.case-phone-frame img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.6);
}
.case-phone h3 { font-size: 14px; color: var(--ink); }
.case-grid--pc {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.case-pc-frame {
  background: linear-gradient(180deg, #f7f5f2, #efebe6);
  aspect-ratio: 16 / 11;
  display: grid; place-items: center;
  padding: 18px 16px 22px;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(15,23,42,.05);
}
.case-pc-frame img {
  width: 100%; height: 100%; object-fit: contain;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e8e4e0;
}
.case-pc h3 { margin-top: 10px; font-size: 15px; color: var(--ink); }

/* Featured custom cases */
.featured-cases {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 48px;
}
.featured-case {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 28px 24px;
  box-shadow: 0 10px 28px rgba(28, 25, 23, .04);
}
.featured-case-head {
  max-width: 720px;
  margin-bottom: 20px;
}
.featured-case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.featured-case-tags span {
  font-size: 12px;
  font-weight: 600;
  color: var(--orange);
  background: rgba(196, 90, 46, .08);
  border: 1px solid rgba(196, 90, 46, .16);
  padding: 4px 10px;
  border-radius: 999px;
}
.featured-case h2 {
  font-size: clamp(20px, 2.4vw, 26px);
  margin: 0 0 10px;
  color: var(--ink);
}
.featured-case-head p {
  margin: 0;
  color: var(--text);
  line-height: 1.7;
  font-size: 15px;
}
.featured-case-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-end;
}
.featured-case-gallery .case-phone {
  flex: 0 0 auto;
  width: 148px;
}
.featured-case-gallery .case-phone-frame {
  width: 148px;
}
.featured-case-gallery .case-pc {
  flex: 1 1 280px;
  min-width: 240px;
  max-width: 420px;
}
.featured-case-gallery .case-pc-frame {
  aspect-ratio: 16 / 10;
  padding: 12px;
}
.featured-shot-wide {
  flex: 1 1 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #f7f5f2, #efebe6);
  padding: 14px;
  overflow: hidden;
}
.featured-shot-wide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  background: #fff;
}
.featured-section-label {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.featured-section-label h2 {
  margin: 0;
  font-size: clamp(22px, 2.6vw, 28px);
}
.featured-section-label p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.more-cases-label {
  margin: 40px 0 16px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.more-cases-label h2 {
  margin: 0 0 6px;
  font-size: 22px;
}
.more-cases-label p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.home-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
  align-items: stretch;
}
.home-featured-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(28, 25, 23, .04);
  display: grid;
  grid-template-rows: auto auto;
  height: 100%;
  text-decoration: none;
  color: inherit;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.home-featured-card:hover {
  border-color: rgba(196, 90, 46, .35);
  box-shadow: 0 12px 28px rgba(28, 25, 23, .08);
  transform: translateY(-2px);
}
/* 图区统一比例，手机/电脑截图都放进同一框 */
.home-featured-card .shot {
  aspect-ratio: 16 / 10;
  background: linear-gradient(165deg, #f6f4f1 0%, #ebe8e3 100%);
  display: grid;
  place-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.home-featured-card .shot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(28, 25, 23, .06);
}
.home-featured-card .shot--phone img {
  width: auto;
  max-width: 38%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #e4e0db;
}
/* 文案区固定高度，避免底部空一截或长短不齐 */
.home-featured-card .body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 96px;
  box-sizing: border-box;
}
.home-featured-card .body h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.home-featured-card .body p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  height: calc(1.55em * 2);
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 960px) {
  .home-featured-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .featured-case { padding: 20px 16px 18px; }
  .featured-case-gallery .case-phone { width: 120px; }
  .featured-case-gallery .case-phone-frame { width: 120px; }
  .home-featured-grid { grid-template-columns: 1fr; }
  .home-featured-card .shot--phone img { max-width: 34%; }
}

/* Certs — 横向滚动 */
.cert-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  margin-top: 8px;
}
.cert-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: certScroll 48s linear infinite;
}
.cert-marquee:hover .cert-track { animation-play-state: paused; }
.cert-track-set {
  display: flex;
  gap: 16px;
  padding-right: 16px;
}
.cert-item {
  width: 210px;
  flex: 0 0 auto;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 12px; text-align: center;
  box-shadow: 0 4px 14px rgba(15,23,42,.04);
}
.cert-item img {
  width: 100%; height: 168px; object-fit: contain; background: #fafafa; border-radius: 8px;
}
.cert-item strong {
  display: block; margin-top: 10px; font-size: 13px; color: var(--ink); font-weight: 650;
}
@keyframes certScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .cert-track { animation: none; flex-wrap: wrap; width: auto; max-width: 100%; }
  .cert-marquee { mask-image: none; -webkit-mask-image: none; overflow: visible; }
  .cert-track-set[aria-hidden="true"] { display: none; }
  .cert-track-set { flex-wrap: wrap; justify-content: center; padding-right: 0; }
}

/* Clients */
.client-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 24px;
}
.client-stat {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px 16px; text-align: center;
}
.client-stat strong { display: block; font-size: 32px; color: var(--orange); line-height: 1.1; }
.client-stat span { color: var(--muted); font-size: 13px; }
/* 服务客户：蜂巢 logo + 整体外框，内容居中 */
.client-wall {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 32px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}
.client-wall img {
  width: min(100%, 980px);
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

@media (max-width: 980px) {
  .case-grid--phone { grid-template-columns: repeat(2, 1fr); }
  .case-grid--pc, .client-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .case-grid--phone, .case-grid--pc, .client-stats { grid-template-columns: 1fr; }
}
