/* ============ 通用版块 ============ */
.sec {
  padding: 84px 0;
}
.sec-head {
  margin-bottom: 40px;
}

/* ============ About ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 64px;
  align-items: center;
}
.about-media {
  position: relative;
}
.about-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.about-badge {
  position: absolute;
  left: 0;
  bottom: 26px;
  background: rgba(17, 32, 58, 0.92);
  color: #fff;
  padding: 22px 30px 22px 26px;
  max-width: 62%;
  display: flex;
  flex-direction: column;
}
.about-badge span {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.85);
}
.about-badge strong {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.05;
  margin: 2px 0;
}
.about-text .body-copy {
  margin: 6px 0 34px;
}
.about-text .sec-h2 {
  margin-bottom: 18px;
}

/* ============ 统计条 ============ */
.stats {
  background: #f6f8fb;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-top: 44px;
  padding-bottom: 44px;
}
.stat-cell {
  text-align: center;
  border-right: 1px solid #e3e8f0;
  padding: 6px 12px;
}
.stat-cell:last-child {
  border-right: 0;
}
.stat-line {
  color: var(--primary);
  font-weight: 800;
  font-size: 42px;
  line-height: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.stat-line .plus {
  font-size: 26px;
  margin-left: 2px;
  margin-top: 4px;
}
.stat-label {
  display: block;
  margin-top: 12px;
  font-size: 14.5px;
  color: #666;
}

/* ============ What We Do ============ */
.head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 46px;
}
.head-row .sec-head {
  margin-bottom: 0;
}
.card-grid.c4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.pcard-img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #f2f4f7;
  transition: transform 0.35s ease;
}
.pcard-img {
  overflow: hidden;
}
.pcard {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pcard:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(18, 18, 18, 0.08);
}
.pcard:hover .pcard-img img {
  transform: scale(1.045);
}
.pcard-title {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.7;
  color: #333;
}

/* ============ 使命大句 ============ */
.mission-sec {
  position: relative;
  background: #f3f5f8;
  overflow: hidden;
  text-align: center;
  padding: 96px 0;
}
.mission-outline {
  position: absolute;
  inset: auto 0;
  font-size: 190px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(59, 122, 219, 0.14);
  white-space: nowrap;
  line-height: 1;
  user-select: none;
  transform: translateY(14%);
  bottom: -20px;
  opacity: 0.85;
}
.mission-inner {
  position: relative;
  max-width: 980px;
}
.bars {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 26px;
}
.bars span {
  width: 44px;
  height: 4px;
  background: var(--primary);
}
.mission-text {
  color: var(--heading);
  font-size: 27px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.01em;
}

/* ============ One Stop ============ */
.onestop-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 70px;
  align-items: center;
}
.onestop-text .sec-h2 {
  max-width: 520px;
}
.steps {
  margin: 34px 0 40px;
}
.step {
  display: flex;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
}
.step-no {
  flex: none;
  width: 46px;
  height: 46px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.step-name {
  font-size: 16.5px;
  font-weight: 600;
  color: #333;
}
.onestop-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: stretch;
}
.onestop-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============ Application ============ */
.app-intro {
  margin-bottom: 42px;
  max-width: 760px;
}
.app-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 34px;
  align-items: start;
}
.app-tabs {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.app-tabs button {
  text-align: left;
  background: none;
  border: 0;
  border-left: 3px solid transparent;
  padding: 15px 18px;
  font-size: 16px;
  font-weight: 600;
  color: #444;
  transition: all 0.2s;
}
.app-tabs button:hover {
  color: var(--primary);
  background: #f6f9fe;
}
.app-tabs button.active {
  color: var(--primary);
  border-left-color: var(--primary);
  background: #f0f5fd;
}
.app-stage {
  position: relative;
  min-height: 430px;
  background: #eef1f5;
}
.app-stage img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}
.app-cap {
  position: absolute;
  left: 0;
  bottom: 0;
  max-width: 560px;
  background: rgba(59, 122, 219, 0.92);
  color: #fff;
  font-size: 14.5px;
  line-height: 1.8;
  padding: 22px 26px;
  margin: 0;
}

/* ============ Advantages ============ */
.adv-intro {
  margin-bottom: 44px;
}
.adv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
.adv-card {
  border: 1px solid var(--line);
  padding: 40px 38px 46px;
  background: #fff;
  transition: box-shadow 0.25s, transform 0.25s;
}
.adv-card:hover {
  box-shadow: 0 16px 40px rgba(18, 18, 18, 0.08);
  transform: translateY(-3px);
}
.adv-card svg {
  color: var(--primary);
  margin-bottom: 18px;
}
.adv-card h3 {
  color: var(--heading);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}
.adv-card p {
  font-size: 14.5px;
  line-height: 1.85;
}
.adv-link-row {
  text-align: center;
  margin-top: 44px;
}

/* ============ Success Cases ============ */
.case-sec {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
}
.case-left {
  background: var(--primary-deep);
  color: #fff;
  padding: 84px 7vw;
  display: flex;
  align-items: center;
}
.case-rule {
  display: block;
  width: 64px;
  height: 2px;
  background: rgba(255, 255, 255, 0.7);
  margin: 10px 0 26px;
}
.case-line {
  font-size: 14.5px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.86);
  margin-top: 6px;
  max-width: 520px;
}
.case-right img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}
.case-links {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}
.case-links li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}
.case-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  color: #fff;
  font-size: 14.5px;
  line-height: 1.5;
  transition: color var(--dur), padding-left var(--dur);
}
.case-links a:hover {
  color: #fff;
  padding-left: 6px;
  text-decoration: none;
}
.case-links a span {
  flex: 0 0 auto;
  opacity: 0.75;
}

/* ============ Partners ============ */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.partner-cell {
  height: 150px;
  background: #fff; /* 旧站：彩色 logo 直接置于白底，无卡片边框 */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c3cbd8;
  padding: 8px 16px;
}
.partner-cell img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ============ Inquiry ============ */
.inquiry-sec {
  background: #f6f8fb;
}
.inquiry-head {
  text-align: center;
  margin-bottom: 50px;
}
.inquiry-sub {
  font-size: 16px;
  margin-top: -8px;
}
.inquiry-form {
  max-width: 760px;
  margin: 0 auto;
}
.field {
  margin-bottom: 22px;
}
.field-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}
.field-top label {
  font-size: 14.5px;
  font-weight: 600;
  color: #333;
}
.field-top label em {
  color: #e03a2e;
  font-style: normal;
  margin-left: 3px;
}
.counter {
  font-size: 12px;
  color: #9aa3af;
}
.field input,
.field textarea,
.code-phone select,
.code-phone input {
  width: 100%;
  border: 1px solid #d8dee8;
  background: #fff;
  border-radius: 0;
  outline: none;
  padding: 0 16px;
  height: 50px;
  transition: border-color 0.2s;
}
.field textarea {
  height: auto;
  padding: 14px 16px;
  resize: vertical;
}
.field input:focus,
.field textarea:focus,
.code-phone select:focus,
.code-phone input:focus {
  border-color: var(--primary);
}
.field.has-error input,
.field.has-error textarea {
  border-color: #e03a2e;
}
.field-row.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.code-phone {
  display: flex;
  gap: 10px;
}
.code-phone select {
  width: 120px;
  flex: none;
}
.form-error {
  color: #e03a2e;
  font-size: 13.5px;
  margin: -6px 0 16px;
}
.submit-row {
  text-align: center;
  margin-top: 8px;
}
.btn-submit {
  padding: 0 74px;
}
.inquiry-ok {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  padding: 60px 40px;
}
.inquiry-ok svg {
  color: #27a35b;
  margin: 0 auto 18px;
}
.inquiry-ok h3 {
  color: var(--heading);
  font-size: 24px;
  margin-bottom: 10px;
}
.inquiry-ok p {
  margin-bottom: 26px;
}

/* ============ 响应式 ============ */
@media (max-width: 1199.98px) {
  .card-grid.c4 {
    gap: 18px;
  }
  .about-grid,
  .onestop-grid {
    gap: 44px;
  }
  .case-left {
    padding: 64px 48px;
  }
}
@media (max-width: 991.98px) {
  .sec {
    padding: 60px 0;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-badge {
    max-width: 68%;
  }
  .stats-row {
    grid-template-columns: 1fr;
    padding: 26px 0;
  }
  .stat-cell {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 14px;
    border-right: 0;
    border-bottom: 1px solid #e3e8f0;
    padding: 22px 12px;
  }
  .stat-cell:last-child {
    border-bottom: 0;
  }
  .stat-line {
    font-size: 38px;
    justify-content: flex-start;
  }
  .stat-label {
    margin-top: 0;
    text-align: left;
  }
  .card-grid.c4 {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .head-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .head-row .btn-solid {
    display: none;
  }
  .mission-sec {
    padding: 70px 0;
  }
  .mission-outline {
    font-size: 110px;
    bottom: -6px;
  }
  .mission-text {
    font-size: 21px;
  }
  .onestop-grid {
    grid-template-columns: 1fr;
  }
  .steps {
    margin-bottom: 32px;
  }
  .app-layout {
    grid-template-columns: 1fr;
  }
  .app-tabs {
    flex-direction: row;
    overflow-x: auto;
    gap: 0;
  }
  .app-tabs button {
    border-left: 0;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    padding: 12px 16px;
  }
  .app-tabs button.active {
    border-bottom-color: var(--primary);
  }
  .app-stage,
  .app-stage img {
    min-height: 300px;
  }
  .app-cap {
    max-width: none;
    right: 0;
    font-size: 13.5px;
    padding: 16px 18px;
  }
  .adv-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .adv-card {
    background: var(--primary);
    border-color: var(--primary);
    padding: 34px 30px;
    text-align: center;
  }
  .adv-card svg {
    color: #fff;
  }
  .adv-card h3 {
    color: #fff;
  }
  .adv-card p {
    color: rgba(255, 255, 255, 0.92);
  }
  .case-sec {
    grid-template-columns: 1fr;
  }
  .case-left {
    padding: 54px 30px;
  }
  .case-right img {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
  .partner-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .partner-cell {
    height: 96px;
  }
  .field-row.two {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .container {
    padding: 0 18px;
  }
}

/* -------------------------------------------------------------------------
 * About Us（对应旧站 9 段）
 * ---------------------------------------------------------------------- */
.kjn-about-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 520px;
  gap: 56px;
  align-items: center;
}
.kjn-about-copy p { font-size: 15.5px; line-height: 1.9; color: var(--body); }
.kjn-about-note {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14px !important;
  color: #6b7480 !important;
}
.kjn-video-card {
  position: relative;
  display: block;
  overflow: hidden;
  background: #0f172a;
  /* 与 YouTube 16:9 一致，避免封面被裁掉一截（角标/字幕不会被切半） */
  aspect-ratio: 16 / 9;
  align-self: center;
}
.kjn-video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.94;
  transition: transform 0.5s ease, opacity 0.3s ease;
}
.kjn-video-card:hover img { transform: scale(1.03); opacity: 0.72; }
.kjn-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}
.kjn-play::after {
  content: "";
  position: absolute;
  left: 26px;
  top: 20px;
  border-left: 16px solid var(--primary);
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
}
.kjn-video-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  text-align: center;
  color: #fff;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* 视频弹窗：iframe 在点击时才创建，关闭即销毁 */
body.kjn-vmodal-open { overflow: hidden; }
.kjn-vmodal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(8, 12, 20, 0.92);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.kjn-vmodal.is-open { opacity: 1; }
.kjn-vmodal-frame {
  position: relative;
  width: min(1120px, 100%);
  aspect-ratio: 16 / 9;
  background: #000;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}
.kjn-vmodal-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.kjn-vmodal-close {
  position: fixed;
  top: 18px;
  right: 22px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}
.kjn-vmodal-close:hover { background: rgba(255, 255, 255, 0.26); }
.kjn-vmodal-close:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

@media (max-width: 640px) {
  .kjn-vmodal { padding: 12px; }
  .kjn-vmodal-close { top: 10px; right: 12px; width: 40px; height: 40px; font-size: 23px; }
}

.kjn-about-stats { background: var(--primary); color: #fff; padding: 38px 0; }
.kjn-about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  text-align: center;
}
.kjn-about-stats-grid strong { display: block; font-size: 34px; line-height: 1.1; }
.kjn-about-stats-grid span { display: block; margin-top: 6px; font-size: 13.5px; opacity: 0.88; }

.kjn-about-dark { background: #101826; color: #fff; padding: 64px 0; }
.kjn-about-dark-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.kjn-about-big { font-size: 64px; font-weight: 800; margin: 0; color: #4d8bf5; line-height: 1; }
.kjn-about-dark-label { margin: 10px 0 0; font-size: 16px; opacity: 0.85; }
.kjn-about-dark h3 { font-size: 22px; margin: 0 0 14px; color: #fff; }
.kjn-about-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 24px;
}
.kjn-about-links a {
  color: #cfe0ff;
  font-size: 14.5px;
  padding: 9px 0;
  display: block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.kjn-about-links a:hover { color: #fff; }

.kjn-about-vision { padding: 70px 0; text-align: center; background: #f6f8fb; }
.kjn-about-vision p {
  max-width: 900px;
  margin: 0 auto;
  font-size: 26px;
  line-height: 1.6;
  font-weight: 600;
  color: var(--heading);
}

.kjn-about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding-top: 56px;
}
.kjn-about-split.reverse { direction: rtl; }
.kjn-about-split.reverse > * { direction: ltr; }
.kjn-about-split figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: #f2f4f8; }
.kjn-about-split img { width: 100%; height: 100%; object-fit: cover; display: block; }

.kjn-about-split p { font-size: 15.5px; line-height: 1.9; color: var(--body); }

.kjn-about-lead { max-width: 820px; font-size: 15px; line-height: 1.85; color: var(--body); }
.card-grid.c3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}
.kjn-qc-card { border: 1px solid var(--line); background: #fff; }
.kjn-qc-card figure { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; }
.kjn-qc-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kjn-qc-card h3 { font-size: 16.5px; margin: 18px 20px 8px; color: var(--heading); }
.kjn-qc-card p { font-size: 13.8px; line-height: 1.8; color: var(--body); margin: 0 20px 22px; }

.kjn-cert-grid figure {
  margin: 0;
  border: 1px solid var(--line);
  background: #fff;
  padding: 12px;
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
}
.kjn-cert-grid img { max-width: 100%; max-height: 100%; object-fit: contain; }
.kjn-cert-cta { text-align: center; margin: 36px 0 0; }

@media (max-width: 991.98px) {
  .kjn-about-intro { grid-template-columns: 1fr; gap: 28px; }
  .kjn-about-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 16px; }
  .kjn-about-dark-grid { grid-template-columns: 1fr; gap: 24px; }
  .kjn-about-big { font-size: 48px; }
  .kjn-about-vision p { font-size: 20px; }
  .kjn-about-split { grid-template-columns: 1fr; gap: 24px; padding-top: 36px; }
  .kjn-about-split.reverse { direction: ltr; }
  .card-grid.c3 { grid-template-columns: 1fr; }
}

/* 登录管理员时避开 WP 顶部工具条（桌面 32px / 手机 46px） */
body.admin-bar .kjn-vmodal-close { top: 52px; }
@media (max-width: 782px) {
  body.admin-bar .kjn-vmodal-close { top: 58px; }
}
