/* ==========================================================================
 * 首页一比一版式（康晋色调）
 * 结构对齐 sieyuan 首页：c-home1 hero / c-home2 推荐内容 / c-home3 走进康晋
 * / c-home-animation 钉屏动效区（c-home4 大字横滚、c-home5 媒体区、c-home6
 * 字标缩放、c-home7 数字统计）/ c-home8 加入我们。
 *
 * 尺寸基准：通过 JS 把 1rem 设为 视口宽/19.2（1920 宽时 1rem=100px），
 * 这里等价用 --u: calc(100vw/19.2)，所有 rem 间距写为 calc(var(--u)*N)，
 * 避免动 html font-size 波及头尾公共组件。
 * 颜色沿用康晋令牌：绿 #2dae4a、深绿 #249640、深蓝 #13487a。
 * ========================================================================== */

main {
  --color: #2dae4a;            /* 康晋绿（原为 #004fa3） */
  --navy: #13487a;             /* 康晋深蓝（深卡块 #021b35） */
  --u: calc(100vw / 19.2);     /*  rem 基准等效（1920 宽 = 100px） */
  --page-bg: #f2f6fa;
}

/* ---- 通用版式 ---------------------------------------------------------- */
main .container {
  margin: 0 auto;
  width: 85%;
  max-width: 1600px;
}

main .font14 { font-size: 14px; line-height: calc(24/14); }
main .font18 { font-size: 18px; line-height: calc(28/18); }
main .font24 { font-size: 24px; line-height: calc(34/24); }
main .font48 { font-size: 48px; line-height: calc(58/48); }
main .font50 { font-size: 50px; line-height: calc(60/50); }
main .font60 { font-size: 60px; line-height: calc(70/60); }

main .c-title {
  font-weight: 400;
  font-family: "Roboto-Regular", 'PingFang SC', 'Microsoft YaHei', 'Microsoft YaHei UI', 'SimSun', 'SimHei', 'Arial';
}

/* ---- public-btn / public-btn2（下划线按钮，hover 色条拉满） ------------- */
main .public-btn {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: flex-end;
  padding: 0 0 calc(0.2*var(--u));
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  line-height: 1;
  color: inherit;
}
main .public-btn img,
main .public-btn svg { margin-left: calc(0.2*var(--u)); width: 20px; transform: translateY(-4px); }
main .public-btn::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 30px;
  border-top: 2px solid #fff;
  transition: all 0.4s;
}
main .public-btn:hover::before { width: 100%; }

main .public-btn2 {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: flex-end;
  padding: 0 0 calc(0.2*var(--u));
  border-bottom: 1px solid #ccdced;
  line-height: 1;
  color: inherit;
}
main .public-btn2 img,
main .public-btn2 svg { margin-left: calc(0.2*var(--u)); width: 20px; transform: translateY(-4px); }
main .public-btn2::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 30px;
  border-top: 2px solid var(--color);
  transition: all 0.4s;
}
main .public-btn2:hover::before { width: 100%; }

/* ---- public-img（占位留白 + 图片覆盖，hover 放大） ---------------------- */
main .public-img {
  display: block;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
main .public-img::before {
  content: "";
  display: block;
  position: relative;
  z-index: 0;
  padding-top: 100%;
}
main .public-img > img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.8s;
}

/* ---- c-home1 hero ------------------------------------------------------ */
.c-home1 { position: relative; }
.c-home1 .swiper-slide { overflow: hidden; }
.c-home1 .swiper-slide .c-img { width: 100%; height: 100vh; }
.c-home1 .swiper-slide .c-img img { width: 100%; height: 100%; object-fit: cover; }
.c-home1 .swiper-slide .c-text-box {
  position: absolute;
  z-index: 10;
  left: 0;
  bottom: calc(1*var(--u));
  width: 100%;
  color: #fff;
  pointer-events: none;
}
.c-home1 .swiper-slide .c-text-box .c-title {
  max-width: 800px;
  font-weight: 700;
  line-height: calc(75/60);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.c-home1 .swiper-slide .c-text-box .public-btn { margin-top: calc(0.3*var(--u)); pointer-events: auto; }

/* 首张 3D 园区也叠加大标题和按钮，与第二、第三张轮播图保持一致 */
.c-home1 .swiper-slide--top1 .c-text-box { display: block; }

/* 首屏文案进场（对齐 swiperAnimate：激活 slide 才播 fadeInUp） */
.c-home1 .c-title[data-i18n],
.c-home1 .c-text-box .public-btn {
  opacity: 0;
  transform: translateY(40px);
}
.c-home1 .swiper-slide-active .c-text-box .c-title[data-i18n] { animation: syFadeInUp 0.8s 0.15s both; }
.c-home1 .swiper-slide-active .c-text-box .public-btn { animation: syFadeInUp 0.8s 0.45s both; }
@media (prefers-reduced-motion: reduce) {
  .c-home1 .c-title[data-i18n],
  .c-home1 .c-text-box .public-btn {
    opacity: 1;
    transform: none;
    animation: none !important;
  }
}
@keyframes syFadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* 线式分页：右下数字 01 ── 03，白线按 4.8s 周期滑动 */
.c-home1 .c-pagination {
  position: absolute;
  left: 0;
  bottom: calc(0.5*var(--u));
  z-index: 10;
  width: 100%;
  pointer-events: none;
}
.c-home1 .c-pagination .container { display: flex; justify-content: flex-end; }
.c-home1 .c-pagination .container .c-box { text-align: center; color: #fff; }
.c-home1 .c-pagination .container .c-box .c-num1,
.c-home1 .c-pagination .container .c-box .c-num2 {
  display: inline-block;
  vertical-align: middle;
  font-size: 14px;
  line-height: 70px;
}
.c-home1 .c-pagination .container .c-box .c-line-box {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  height: 70px;
  width: 2px;
  margin: 0 calc(0.15*var(--u));
  background: rgba(255, 255, 255, 0.2);
  overflow: hidden;
}
.c-home1 .c-pagination .container .c-box .c-line-box .c-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 25%;
  background: #fff;
  animation: syPageLine 4.8s linear infinite;
}
.c-home1 .c-pagination .container .c-box .c-num2 { color: rgba(255, 255, 255, 0.4); }
@keyframes syPageLine {
  0%   { top: 100%; }
  90%  { top: -25%; }
  100% { top: -25%; }
}

/* ---- c-home2 推荐内容 --------------------------------------------------- */
.c-home2 {
  position: relative;
  padding: calc(1.4*var(--u)) 0 calc(2.2*var(--u));
  background: var(--page-bg);
}
.c-home2 .c-line-box {
  position: absolute;
  top: 0;
  width: 1px;
  height: 100%;
  left: calc(80/1920*100vw);
  background: #dbe6ef;
  overflow: hidden;
}
.c-home2 .c-line-box .c-line { width: 100%; height: 0; background: var(--color); }
.c-home2 .c-title-box { margin-bottom: calc(0.5*var(--u)); }
.c-home2 .c-list { overflow: hidden; }
.c-home2 .c-list li { float: left; width: 50%; }
.c-home2 .c-list li .c-wrap {
  position: relative;
  display: flex;
  height: 340px;
}
.c-home2 .c-list li .c-wrap .c-text-box {
  position: relative;
  display: flex;
  align-items: flex-end;
  width: 50%;
  background: #fff;
  overflow: hidden;
}
.c-home2 .c-list li .c-wrap .c-text-box > div:not(.c-more) { width: 100%; padding: calc(0.3*var(--u)); transition: all 0.4s; }
.c-home2 .c-list li .c-wrap .c-text-box .c-ico {
  margin-bottom: calc(0.4*var(--u));
  width: 46px;
  height: 46px;
  object-fit: cover;
  transition: all 0.4s;
}
.c-home2 .c-list li .c-wrap .c-text-box .c-text { color: #666; }
.c-home2 .c-list li .c-wrap .c-text-box .c-title { margin-top: calc(0.05*var(--u)); line-height: calc(26/24); font-weight: 500; }
.c-home2 .c-list li .c-wrap .c-text-box .c-more {
  display: flex;
  align-items: center;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: calc(0.3*var(--u));
  background: var(--color);
  color: #fff;
  transform: translateY(100%);
  transition: all 0.4s;
}
.c-home2 .c-list li .c-wrap .c-text-box .c-more img,
.c-home2 .c-list li .c-wrap .c-text-box .c-more svg { margin-left: calc(0.1*var(--u)); width: 22px; height: 22px; object-fit: contain; transform: translateY(2px); }
.c-home2 .c-list li .c-wrap .public-img { width: 50%; overflow: hidden; }
.c-home2 .c-list li .c-wrap .public-img::before { padding-top: calc(335/410*100%); }
.c-home2 .c-list li .c-wrap .public-img::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 10;
  border: 10px solid transparent;
  border-left: 10px solid #fff;
  transform: translateY(-50%);
}
.c-home2 .c-list li .c-wrap:hover .c-text-box .c-ico { opacity: 0; }
.c-home2 .c-list li .c-wrap:hover .c-text-box .c-more { transform: translateY(0); }
.c-home2 .c-list li .c-wrap:hover .public-img img { transform: scale(1.1); }
/* hover 文字块整体上移（：标准行 -0.8rem，深蓝卡行 -0.4rem）。
   必须排除 .c-more：里 c-more 是 <p> 不命中 > div，这里是 <div>，
   不排除的话深蓝行 hover 时 c-more 会被误加 -0.4rem，条底与卡片底之间露缝 */
.c-home2 .c-list li .c-wrap:hover .c-text-box > div:not(.c-more) { transform: translateY(calc(-0.8*var(--u))); }
.c-home2 .c-list li:nth-child(5n-2) .c-wrap:hover .c-text-box > div:not(.c-more) { transform: translateY(calc(-0.4*var(--u))); }

/* 第 1 行：整幅大图（470px），文字直接压在图上 */
.c-home2 .c-list li:nth-child(5n-4) .c-wrap { height: 470px; }
.c-home2 .c-list li:nth-child(5n-4) .c-wrap .c-text-box {
  position: absolute;
  bottom: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  background: transparent;
  color: #fff;
}
.c-home2 .c-list li:nth-child(5n-4) .c-wrap .c-text-box .c-text { color: #fff; }
.c-home2 .c-list li:nth-child(5n-4) .c-wrap .public-img { width: 100%; }
.c-home2 .c-list li:nth-child(5n-4) .c-wrap .public-img::after { display: none; }
.c-home2 .c-list li:nth-child(5n-4) .c-wrap .public-img::before { padding-top: calc(470/960*100%); }

/* 第 2 行：图右文左（row-reverse，270px），箭头指向左侧文字 */
.c-home2 .c-list li:nth-child(5n-3) .c-wrap { flex-direction: row-reverse; height: 270px; }
.c-home2 .c-list li:nth-child(5n-3) .c-wrap .public-img::after {
  left: auto;
  right: 0;
  border: 10px solid transparent;
  border-right: 10px solid #fff;
}

/* 第 3 行：深蓝文字卡（200px），三角指向右侧图片 */
.c-home2 .c-list li:nth-child(5n-2) .c-wrap { height: 200px; }
.c-home2 .c-list li:nth-child(5n-2) .c-wrap .c-text-box {
  width: 100%;
  align-items: center;
  color: #fff;
  background: var(--navy);
}
.c-home2 .c-list li:nth-child(5n-2) .c-wrap .c-text-box .c-text { color: rgba(255, 255, 255, 0.75); }
.c-home2 .c-list li:nth-child(5n-2) .c-wrap .public-img::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 10;
  border: 10px solid transparent;
  border-left: 10px solid var(--navy);
  transform: translateY(-50%);
}

/* 行高响应式（同款：≤1580px 整体降档；必须排在上面基础规则之后才不被覆盖） */
@media (max-width: 1580px) {
  .c-home2 .c-list li .c-wrap { height: 250px; }
  .c-home2 .c-list li:nth-child(5n-4) .c-wrap { height: 400px; }
  .c-home2 .c-list li:nth-child(5n-3) .c-wrap { height: 250px; }
  .c-home2 .c-list li:nth-child(5n-2) .c-wrap { height: 150px; }
}

/* ---- c-home3 走进康晋 --------------------------------------------------- */
.c-home3 { position: relative; overflow: hidden; background-color: #00b894; }
.c-home3 .c-line-box {
  position: absolute;
  top: 0;
  z-index: 10;
  width: 1px;
  height: 100%;
  left: calc(80/1920*100vw);
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.c-home3 .c-line-box .c-line { width: 100%; height: 0; background: #fff; }
.c-home3 .c-img-list {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
}
.c-home3 .c-img-list img {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.8s;
}
.c-home3 .c-img-list img.on { opacity: 1; }
.c-home3 .container .c-box {
  position: relative;
  z-index: 5;
  width: 50%;
  padding: calc(1.4*var(--u)) calc(1*var(--u)) calc(1*var(--u)) 0;
  color: #fff;
}
.c-home3 .container .c-box .c-title-box { margin-bottom: calc(1.9*var(--u)); }
.c-home3 .container .c-box .c-list li {
  display: flex;
  align-items: center;
  margin-bottom: calc(0.2*var(--u));
  cursor: pointer;
}
.c-home3 .container .c-box .c-list li:last-child { margin-bottom: 0; }
/* 图标方块（ 0.8rem 白色线框图标底座） */
.c-home3 .container .c-box .c-list li .c-ico {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(0.8*var(--u));
  height: calc(0.8*var(--u));
  background: rgba(255, 255, 255, 0.05);
}
.c-home3 .container .c-box .c-list li .c-ico svg { width: 50%; height: 50%; }
.c-home3 .container .c-box .c-list li .c-title {
  display: inline-flex;
  align-items: center;
  font-weight: 400;
}
.c-home3 .container .c-box .c-list li .c-title span {
  position: relative;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 calc(0.3*var(--u));
  transition: all 0.4s;
}
.c-home3 .container .c-box .c-list li .c-title span::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
  transition: all 0.3s;
}
.c-home3 .container .c-box .c-list li .c-title svg { opacity: 0; width: 22px; height: 22px; transition: all 0.4s; }
.c-home3 .container .c-box .c-list li.on .c-title span,
.c-home3 .container .c-box .c-list li:hover .c-title span {
  font-weight: 500;
  color: #fff;
  margin-right: calc(0.8*var(--u));
}
.c-home3 .container .c-box .c-list li.on .c-title span::before,
.c-home3 .container .c-box .c-list li:hover .c-title span::before { width: 100%; background-color: #fff; }
.c-home3 .container .c-box .c-list li.on .c-title svg,
.c-home3 .container .c-box .c-list li:hover .c-title svg { opacity: 1; }

/* ---- c-home-animation 钉屏动效区 ---------------------------------------- */
.c-home-animation { height: 800vh; }
.c-home-animation .c-sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #fff; /* 钉屏区为白底 */
}
.c-home-animation .c-sticky .c-line-box {
  position: absolute;
  top: 0;
  z-index: 1;
  width: 1px;
  height: 50%;
  left: calc(80/1920*100vw);
  background: #c4d6ea;
  overflow: hidden;
}
.c-home-animation .c-sticky .c-line-box .c-line { width: 100%; height: 0; background: var(--color); }
.c-home-animation .c-sticky .c-line-box2 {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 100%;
  height: 1px;
  left: calc(80/1920*100vw);
  background: #c4d6ea;
}
.c-home-animation .c-sticky .c-line-box2 .c-line { width: 0; height: 100%; background: var(--color); }

/* c-home4：大字横滚（描边字在前、填充字叠顶做擦除揭示） */
.c-home4 {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 100%;
  z-index: 3;
  width: 100%;
  height: 100%;
}
.c-home4 .container {
  position: relative;
  font-size: calc(1.5*var(--u));
  font-weight: 500;
  width: 95vw;
  max-width: 100%;
  background: #fff;
}
/* 英文标题在部分 Windows 浏览器会回退到更宽的字体：实测 1224 宽下
   1.42u 时文本宽 1244px、95vw 容器仅 1163px，仍会超出 81px，末尾字母
   永远停在描边态并被 c-home5 图片压住。按真实回退字体比例降到 1.30u，
   1224 下文本约 1139px，容器 1163px，留 24px 余量。只作用于桌面英文态。 */
@media (min-width: 768px) {
  html[lang="en"] .c-home4 .container { font-size: calc(1.30*var(--u)); }
}
.c-home4 .container p { white-space: nowrap; }
.c-home4 .container p:nth-child(1) {
  color: #fff;
  text-shadow:
    -1px -1px 0 var(--color), 1px -1px 0 var(--color),
    -1px 1px 0 var(--color), 1px 1px 0 var(--color);
}
.c-home4 .container p:nth-child(2) {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  color: var(--color);
  white-space: nowrap;
  overflow: hidden;
}
.c-home4 .container p:nth-child(2) span { display: block; width: 95vw; }

/* c-home5：全幅 top1 园区热点场景（战略愿景文案已隐藏） */
.c-home5 {
  display: block;
  position: absolute;
  top: 0;
  left: 100%;
  z-index: 4;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #eaf4fb;
}
.c-home5-frame {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  display: block;
  width: max(100%, calc(100vh * 16 / 9));
  height: max(100%, calc(100vw * 9 / 16));
  max-width: none;
  max-height: none;
  border: 0;
  background: #eaf4fb;
  transform: translate(-50%, -50%);
}

/* c-home6：同款镂空字标图，由超大缩至常规 + 浅色蒙版盖住底层画面；
 * 白色为实底、COMKING 字形为透明窗，缩放时透出 c-home5 园区场景。 */
.c-home6 {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.c-home6 .c-mask {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: #eff4f9;
  opacity: 0;
}
.c-home6 .c-img {
  position: relative;
  z-index: 5;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(7);
  transform-origin: center center;
}

/* c-home7：数字统计（初始 top:72% 预露标题头，对应原版 top:610px 的比例）
 *  c-home7 是透明底，预露时只露出标题；康晋这里是带白底的整屏板块，
 * 因此位置保持 72%，但显影推迟到 c-home6 接近终态，避免白底从钉屏一开始就盖住 c-home5。 */
.c-home7 {
  position: absolute;
  top: 72%;
  left: 0;
  z-index: 5;
  padding: calc(1.4*var(--u)) 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  /* 白底：盖住 c-home6 字标（字标是全屏底图可留作背景，康晋是文字行需遮住），
     同时作为 home7-earth.png 透明点阵地球的白色承载底 */
  background: #fff;
}
.c-home7.on { pointer-events: auto; }
.c-home7 .c-video {
  position: absolute;
  /* 直接使用首页同款 home7-earth.png（1413×1427 近方形透明点阵地球），
     定位也回到原值 top:50% / width:950/1600：方形图居中后下半球按原版
     收在 c-home7 底边，再由图片底部 mask 渐隐，避免裁切线露出蓝点。 */
  top: 50%;
  bottom: auto;
  left: 50%;
  z-index: 1;
  width: calc(950/1600*100%);
  transform: translateX(-50%);
}
.c-home7 .c-video img {
  width: 100%;
  /* 顶部渐隐融入白底，底部也渐隐到透明：
     地球图按 top:50% 会被 c-home7 的 overflow 裁掉下半球，裁切线本身不能露蓝点，
     否则衔接帧看起来仍像被 c-home8 硬切；用上下双向 mask 让地球在板块底边自然淡出。 */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 8%, #000 36%, transparent 60%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 8%, #000 36%, transparent 60%);
}
.c-home7 .container {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.c-home7 .c-left { width: calc(630/1600*100%); }
.c-home7 .c-left .c-title { font-weight: 700; }
/* 仅首行强调色（：span 首行绿色，第二行常规深色） */
.c-home7 .c-left .c-title span { color: var(--color); }
.c-home7 .c-left .c-title em { font-style: normal; }
.c-home7 .c-left .c-text { margin: calc(0.5*var(--u)) 0 calc(0.6*var(--u)); color: #666; }
.c-home7 .c-right { width: calc(540/1600*100%); }
.c-home7 .c-right .c-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(0.6*var(--u)) 0;
  border-bottom: 2px solid #e7eef6;
}
.c-home7 .c-right .c-list li .c-text1 {
  font-weight: 700;
  color: var(--color);
  line-height: 1;
}
.c-home7 .c-right .c-list li .c-text1 i { font-style: normal; font-size: 0.4em; }
.c-home7 .c-right .c-list li .c-text2 { color: #666; }

/* ---- c-home8 加入我们 --------------------------------------------------- */
.c-home8 {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  position: relative;
  min-height: calc(820/1920*100vw);
  overflow: hidden;
}
.c-home8 .c-img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.c-home8 .c-text-box {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: calc(1.2*var(--u)) 0 0;
}
.c-home8 .c-text-box .container { display: flex; justify-content: flex-end; }
.c-home8 .c-text-box .container .c-box {
  position: relative;
  padding: calc(1*var(--u)) calc(0.8*var(--u)) calc(0.5*var(--u));
  width: 50%;
  color: #fff;
  background: linear-gradient(135deg, rgba(35, 102, 61, 0.92), rgba(19, 72, 122, 0.92));
}
.c-home8 .c-text-box .container .c-box .c-title { font-weight: 700; }
.c-home8 .c-text-box .container .c-box .c-text { margin: calc(0.2*var(--u)) 0 calc(0.7*var(--u)); }

/* ---- 响应式（1580 / 991 / 767，与断点对齐） ------------------------- */
@media (max-width: 1580px) {
  main .font48 { font-size: 38px; }
  main .font50, main .font60 { font-size: 40px; }
}
@media (max-width: 991px) {
  main .font18 { font-size: 16px; }
  main .font24 { font-size: 20px; }
}
@media (max-width: 767px) {
  /* 移动容器为左右各 20px（390 下 351px），首页不再用桌面的 85% */
  main .container { width: 90%; }
  main .font48 { font-size: 24px; }
  main .font50 { font-size: 26px; }
  main .font60 { font-size: 30px; }

  /* 首屏：390 下 16:9 铺满高度会算成 1500px 宽，iframe 左右被裁。
     移动端隐藏 iframe，改用同一园区的静帧；标题按 24/30 下沉 2.5u。 */
  .c-home1 .swiper-slide--top1 iframe { display: none; }
  .c-home1 .swiper-slide--top1 .c-frame-fallback {
    display: block !important;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    transform: none;
  }
  .c-home1 .swiper-slide--top1 .c-frame-fallback img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  .c-home1 .swiper-slide--top1 .c-text-box { display: block; }
  /* 竖版素材底部偏亮，压一层轻渐变保证分页与标题可读 */
  .c-home1 .hero-swiper::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 4;
    height: calc(12 * var(--u));
    background: linear-gradient(0deg, rgba(5, 22, 38, 0.34), rgba(5, 22, 38, 0));
    pointer-events: none;
  }
  .c-home1 .swiper-slide .c-text-box { bottom: calc(2.5 * var(--u)); }
  .c-home1 .swiper-slide .c-text-box .c-title {
    font-size: 24px;
    line-height: 30px;
    max-width: 100%;
  }
  .c-home1 .swiper-slide .c-text-box .public-btn {
    margin-top: 12px;
    font-size: 14px;
  }
  .c-home1 .c-pagination { bottom: calc(1 * var(--u)); }
  .c-home1 .c-pagination .c-box .c-num1,
  .c-home1 .c-pagination .c-box .c-num2 { font-size: 12px; line-height: 52px; }
  .c-home1 .c-pagination .c-box .c-line-box { height: 52px; }

  /* 推荐内容：所有行都改单列；图片统一按 351×287 比例。
     第一张图仍是文字压图，其余为文字块在上、图片在下。
     移动端不再继承桌面的固定行高/最小高度，文字盒由内容撑开，避免卡内多出 49px 空气。 */
  .c-home2 { padding: 36px 0 44px; }
  .c-home2 .c-title-box { margin-bottom: 22px; }
  .c-home2 .c-list li { float: none; width: 100%; margin-bottom: 20px; }
  .c-home2 .c-list li:last-child { margin-bottom: 0; }
  .c-home2 .c-list li .c-wrap,
  .c-home2 .c-list li:nth-child(5n-4) .c-wrap,
  .c-home2 .c-list li:nth-child(5n-3) .c-wrap,
  .c-home2 .c-list li:nth-child(5n-2) .c-wrap {
    /* 桌面交错的定高/横排规则会在这几行留下裁切和重叠，移动端统一改纵向自适应 */
    height: auto !important;
    flex-direction: column !important;
    overflow: visible;
  }
  .c-home2 .c-list li .c-wrap .c-text-box,
  .c-home2 .c-list li .c-wrap .public-img {
    width: 100%;
    flex: none;
  }
  .c-home2 .c-list li .c-wrap .c-text-box > div:not(.c-more) {
    padding: 18px 20px;
  }
  .c-home2 .c-list li .c-wrap .c-text-box .c-title {
    margin-top: 2px;
    font-size: 18px;
    line-height: 24px;
  }
  /* 移动端没有 hover，c-more 在卡底被图片盖住又占点击层，直接收起 */
  .c-home2 .c-list li .c-wrap .c-text-box .c-more { display: none !important; }
  .c-home2 .c-list li .c-wrap .public-img::before {
    padding-top: calc(287 / 351 * 100%);
  }
  .c-home2 .c-list li .c-wrap .public-img::after { display: none; }
  /* 文字卡高度跟随文案；首卡压图仍占满整张图 */
  .c-home2 .c-list li:not(:nth-child(5n-4)) .c-wrap .c-text-box {
    min-height: 0;
    align-items: flex-start;
  }
  .c-home2 .c-list li:nth-child(5n-2) .c-wrap .c-text-box {
    min-height: 0;
  }
  .c-home2 .c-list li:nth-child(5n-4) .c-wrap .c-text-box {
    align-items: flex-end;
  }
  .c-home2 .c-list li:nth-child(5n-4) .c-wrap .public-img::before {
    padding-top: calc(287 / 351 * 100%);
  }
  /* 第一张图底部压暗，保证白色标题可读 */
  .c-home2 .c-list li:nth-child(5n-4) .c-wrap::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 4;
    height: 55%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
    pointer-events: none;
  }

  /* 走进康晋：小屏图作底、文字铺满，压深底色保证白字可读 */
  .c-home3 .c-img-list { width: 100%; }
  .c-home3 .c-img-list::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(10, 30, 52, 0.58);
  }
  .c-home3 .container .c-box {
    width: 100%;
    padding: 52px 0 44px;
    padding-right: 0;
  }
  .c-home3 .container .c-box .c-title-box { margin-bottom: 24px; }
  /* 五个入口改为 44px 高的可点行，标题与列表之间留出呼吸空间 */
  .c-home3 .container .c-box .c-list li {
    min-height: 44px;
    margin-bottom: 0;
    padding: 0 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
  .c-home3 .container .c-box .c-list li:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .c-home3 .container .c-box .c-list li .c-ico {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.1);
  }
  .c-home3 .container .c-box .c-list li .c-title {
    flex: 1;
    min-height: 44px;
    font-size: 16px;
  }
  /* 触屏没有 hover，未选中项也保持可读的白度，仅比当前项略弱 */
  .c-home3 .container .c-box .c-list li .c-title span { color: rgba(255, 255, 255, 0.82); }
  .c-home3 .container .c-box .c-list li.on .c-title span { color: #fff; }

  /* 小屏取消钉屏，动效区各层平铺展示 */
  .c-home-animation { height: auto; }
  .c-home-animation .c-sticky {
    position: static;
    height: auto;
    overflow: visible;
    background: transparent;
  }
  .c-home-animation .c-sticky .c-line-box,
  .c-home-animation .c-sticky .c-line-box2 { display: none; }
  .c-home4 { position: relative; left: auto; height: auto; padding: 34px 0 38px; }
  .c-home4 .container {
    width: 100%;
    background: transparent;
    font-size: clamp(24px, 7.8vw, 34px);
    line-height: 1.3;
    text-align: center;
  }
  .c-home4 .container p { letter-spacing: 0.01em; }
  .c-home4 .container p:nth-child(1) { color: var(--color); text-shadow: none; }
  .c-home4 .container p:nth-child(2) { position: static; width: 100%; display: none; }
  /* 移动端 top1 场景保持 16:9，上方区块与下方白底之间补 8px 间隔 */
  .c-home5 { position: relative; left: auto; height: auto; padding: 0; margin-bottom: 8px; }
  .c-home5-frame {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: 56.25vw;
    max-height: none;
    transform: none;
  }
  .c-home6, .c-home6 .c-mask { display: none; }
  .c-home7 {
    position: relative;
    top: auto;
    height: auto;
    padding: 36px 0 24px;
    background: #fff;
    display: flex;
    flex-direction: column;
  }
  .c-home7 .container { order: 1; display: block; }
  /* 小屏没有钉屏层可垫图，改为容器下方正常流式展示：
     否则绝对定位的鸟瞰图会压在 20年/4大/4大 数字列表上。
     地球缩到 88% 宽并收紧上间距，减少数字列表与地球之间的空白。 */
  .c-home7 .c-video {
    position: relative;
    order: 2;
    top: auto;
    bottom: auto;
    left: auto;
    width: 88%;
    max-width: 340px;
    transform: none;
    margin: 4px auto 0;
  }
  .c-home7 .c-video img { -webkit-mask-image: none; mask-image: none; }
  .c-home7 .c-left, .c-home7 .c-right { width: 100%; }
  .c-home7 .c-left .c-text { margin: 12px 0 18px; line-height: 1.75; }
  .c-home7 .c-right { margin-top: 8px; }

  /* 加入我们：桌面右侧 50% 白盒在 390 下只剩 175px，改为整行卡片 */
  .c-home8 {
    min-height: 120vw;
  }
  .c-home8 .c-text-box .container { justify-content: flex-start; }
  .c-home8 .c-text-box .container .c-box {
    width: 100%;
    padding: 24px 20px;
  }
  /* 卡片内“了解更多”和“加入我们”固定到可读的字号 */
  main .public-btn2,
  main .public-btn2 span {
    font-size: 12px;
  }

  .c-home8 .public-btn span {
    font-size: 12px;
  }

  .c-home8 .c-text-box .container .c-box .c-text {
    font-size: 14px;
    line-height: 1.7;
  }

  /* 移动端进场：淡入 + 上移。只有 JS 成功建立观察器后才挂 ready，
     JS 失败或 reduced-motion 时内容保持可见。
     组件自身常带更高优先级的 opacity/transform（如 c-home5 .c-box），
     这里用 !important 固定起始/结束两态，避免动画被基础样式覆盖。 */
  html.home-reveal-ready .home-reveal {
    opacity: 0 !important;
    transform: translate3d(0, 24px, 0) !important;
    transition:
      opacity 0.62s cubic-bezier(0.22, 0.61, 0.36, 1),
      transform 0.62s cubic-bezier(0.22, 0.61, 0.36, 1);
    transition-delay: var(--home-reveal-delay, 0ms);
    will-change: opacity, transform;
  }
  html.home-reveal-ready .home-reveal.is-in {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) !important;
    will-change: auto;
  }
}

/* ---- 返回顶部按钮（对齐 #c-right-pop 回顶项：60px 白底方块 + 绿底白箭头） ----
 * 注意：--u/--color 声明在 main 作用域内，按钮位于 main 之后，需写死像素与色值 */
.go-top {
  position: fixed;
  right: 10px;
  bottom: 40px;
  z-index: 800;
  width: 60px;
  height: 60px;
  border: 1px solid #dbe0e5;
  background: #2dae4a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.go-top.is-show { opacity: 1; visibility: visible; }
.go-top:hover { opacity: 0.85; }
.go-top svg { display: block; }
@media (max-width: 991px) {
  .go-top { display: none !important; }
}

