/* Homepage navigation uses a text-only hover state. Keep the shared Webflow
   hover shadow from drawing a yellow box around each link. */
html[data-leifei-brand="true"] .navbar[data-leifei-native-navigation="true"] .leifei-native-nav-menu .top-nav-link:hover,
html[data-leifei-brand="true"] .navbar[data-leifei-native-navigation="true"] .leifei-native-nav-menu .top-nav-link:focus-visible,
html[data-leifei-brand="true"] .navbar[data-leifei-native-navigation="true"] .leifei-native-business-control:hover,
html[data-leifei-brand="true"] .navbar[data-leifei-native-navigation="true"] .leifei-native-business-control:focus-within,
html[data-leifei-brand="true"] .navbar[data-leifei-native-navigation="true"] .leifei-native-business-toggle:hover,
html[data-leifei-brand="true"] .navbar[data-leifei-native-navigation="true"] .leifei-native-business-toggle:focus-visible,
html[data-leifei-brand="true"] .navbar[data-leifei-native-navigation="true"] .leifei-native-business-item:hover .leifei-native-business-toggle {
  color: #efb300 !important;
  filter: none !important;
  box-shadow: none !important;
  border-color: transparent !important;
}

@media (max-width: 767px) {
  html[data-leifei-brand="true"] #services-section .begl-service-card:is(.two, .three) .play-button-wrapper {
    top: auto;
    right: 16px;
    bottom: 16px;
    left: auto;
    width: 64px;
    height: 64px;
    font-size: 12px;
  }
}

html[data-leifei-brand="true"] .navbar[data-leifei-native-navigation="true"] .leifei-native-nav-menu .top-nav-link:hover .top-nav-text,
html[data-leifei-brand="true"] .navbar[data-leifei-native-navigation="true"] .leifei-native-nav-menu .top-nav-link:focus-visible .top-nav-text,
html[data-leifei-brand="true"] .navbar[data-leifei-native-navigation="true"] .leifei-native-business-control:hover .top-nav-text,
html[data-leifei-brand="true"] .navbar[data-leifei-native-navigation="true"] .leifei-native-business-control:focus-within .top-nav-text,
html[data-leifei-brand="true"] .navbar[data-leifei-native-navigation="true"] .leifei-native-business-toggle:hover svg,
html[data-leifei-brand="true"] .navbar[data-leifei-native-navigation="true"] .leifei-native-business-toggle:focus-visible svg,
html[data-leifei-brand="true"] .navbar[data-leifei-native-navigation="true"] .leifei-native-business-item:hover .leifei-native-business-toggle svg {
  color: #efb300 !important;
  text-shadow: none !important;
}

html[data-leifei-brand="true"] .navbar[data-leifei-native-navigation="true"] .leifei-native-nav-menu .top-nav-link:hover::after,
html[data-leifei-brand="true"] .navbar[data-leifei-native-navigation="true"] .leifei-native-nav-menu .top-nav-link:focus-visible::after {
  background: #efb300 !important;
}

/* The homepage CTA is a cooperation journey: a split editorial layout keeps
   the full process visible while the shared route line follows the step dots. */
html[data-leifei-brand="true"] .cta-section.cooperation-journey {
  position: relative !important;
  display: block !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  isolation: isolate;
  color: #f5f5ed !important;
  background: linear-gradient(100deg, rgba(8,33,28,.95), rgba(16,46,37,.89)), url("/assets/hero-riverbank-generated.webp") center / cover !important;
}

html[data-leifei-brand="true"] .cooperation-content {
  width: min(1200px, calc(100% - 100px));
  margin-right: auto;
  margin-left: auto;
}

html[data-leifei-brand="true"] .cooperation-map {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
  opacity: .08;
  background: url("https://cdn.prod.website-files.com/67adb6c895a3b364b3912c39/67c51454cd96a68be6de3b53_cta-back-pattern.avif") center top / 100% auto;
}

html[data-leifei-brand="true"] .cooperation-route {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

html[data-leifei-brand="true"] .cooperation-route path {
  fill: none;
  stroke: #dfa900;
  stroke-width: 3;
  stroke-dasharray: 8 11;
  stroke-linecap: round;
}

html[data-leifei-brand="true"] .cooperation-content {
  position: relative;
  z-index: 2;
  padding-top: 68px;
}

html[data-leifei-brand="true"] .cooperation-intro {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  align-items: end;
  gap: 80px;
  padding: 0 0 58px;
}

html[data-leifei-brand="true"] .cooperation-eyebrow {
  margin: 0 0 18px;
  color: #e5d1a1;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
}

html[data-leifei-brand="true"] .cooperation-eyebrow span {
  display: inline-block;
  width: 21px;
  height: 2px;
  margin-right: 10px;
  vertical-align: middle;
  background: #dfa900;
}

html[data-leifei-brand="true"] .cooperation-title {
  max-width: 730px;
  margin: 0;
  color: #f9f7ef !important;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif !important;
  font-size: clamp(34px, 3.75vw, 54px) !important;
  font-weight: 650 !important;
  line-height: 1.28 !important;
  letter-spacing: -.04em !important;
}

html[data-leifei-brand="true"] .cooperation-copy {
  padding: 0 0 5px 24px;
  border-left: 1px solid #c4cbbb;
}

html[data-leifei-brand="true"] .cooperation-copy p,
html[data-leifei-brand="true"] .cooperation-copy small {
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
}

html[data-leifei-brand="true"] .cooperation-copy p {
  margin: 0;
  color: #e2e9e0 !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
  text-indent: 2em;
}

html[data-leifei-brand="true"] .cooperation-copy small {
  display: block;
  margin-top: 17px;
  color: #e2e9e0;
  font-size: 12px;
  letter-spacing: .07em;
}

html[data-leifei-brand="true"] .cooperation-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 0 100px;
  align-items: start;
}

html[data-leifei-brand="true"] .cooperation-portrait {
  position: relative;
  width: 100%;
  height: 560px;
  margin: 0;
  overflow: hidden;
  border-radius: 220px 220px 18px 18px;
  background: #315748;
  border: 1px solid #b2c6b23a;
}

html[data-leifei-brand="true"] .cooperation-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

html[data-leifei-brand="true"] .cooperation-steps {
  display: grid;
  gap: 30px;
  margin: 0;
  padding: 0 0 30px;
  list-style: none;
}

html[data-leifei-brand="true"] .cooperation-step {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 22px;
  width: 100%;
}

html[data-leifei-brand="true"] .cooperation-number {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #dbeae2;
  border: 1px solid #9aaf9f;
  border-radius: 50%;
  background: #1f4439;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 15px;
  font-weight: 500;
  transition: background .25s, border-color .25s;
}

html[data-leifei-brand="true"] .cooperation-step:is(:hover, :focus-within) .cooperation-number,
html[data-leifei-brand="true"] .cooperation-step.is-current .cooperation-number {
  color: #17382e;
  border-color: #dfa900;
  background: #e7bc45;
}

html[data-leifei-brand="true"] .cooperation-step h3 {
  margin: 0 0 9px;
  color: #f9f7ef !important;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif !important;
  font-size: 25px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  letter-spacing: -.025em !important;
}

html[data-leifei-brand="true"] .cooperation-step p {
  margin: 0;
  color: #e2e9e0 !important;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 15px !important;
  line-height: 1.5 !important;
  text-indent: 2em;
}

html[data-leifei-brand="true"] .cooperation-next {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 38px;
  padding: 32px 0 44px;
  border-top: 1px solid #c9d1c0;
}

html[data-leifei-brand="true"] .cooperation-next h3 {
  margin: 0 0 9px;
  color: #f9f7ef !important;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif !important;
  font-size: 26px !important;
  font-weight: 550 !important;
  line-height: 1.35 !important;
}

html[data-leifei-brand="true"] .cooperation-next p {
  margin: 0;
  color: #e2e9e0 !important;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 14px !important;
  line-height: 1.5 !important;
  text-indent: 2em;
}

html[data-leifei-brand="true"] .cooperation-actions {
  display: flex;
  flex-shrink: 0;
  gap: 12px;
}

html[data-leifei-brand="true"] .cooperation-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  min-height: 52px;
  padding: 14px 22px;
  border: 1px solid #aac1b5;
  border-radius: 9px 22px 9px 22px;
  color: #f4f5e9 !important;
  background: transparent;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background .2s, transform .2s;
}

html[data-leifei-brand="true"] .cooperation-actions a:first-child {
  color: #17372c !important;
  border-color: #e5c265;
  background: #e5c265;
}

html[data-leifei-brand="true"] .cooperation-actions a:hover,
html[data-leifei-brand="true"] .cooperation-actions a:focus-visible {
  transform: translateY(-2px);
  color: #17372c !important;
  background: #eef1e6;
}

html[data-leifei-brand="true"] .cooperation-actions a:first-child:hover,
html[data-leifei-brand="true"] .cooperation-actions a:first-child:focus-visible {
  background: #f4dc98;
}

html[data-leifei-brand="true"] .cooperation-actions b { font-size: 21px; font-weight: 400; }

@media (max-width: 1100px) and (min-width: 901px) {
  html[data-leifei-brand="true"] .cooperation-intro { gap: 40px; }
  html[data-leifei-brand="true"] .cooperation-layout { gap: 0 56px; }
  html[data-leifei-brand="true"] .cooperation-portrait { height: 530px; }
}

@media (max-width: 900px) {
  html[data-leifei-brand="true"] .cooperation-content { width: calc(100% - 64px); }
  html[data-leifei-brand="true"] .cooperation-map { background-size: auto 950px; opacity: .08; }
  html[data-leifei-brand="true"] .cooperation-content { padding-top: 45px; }
  html[data-leifei-brand="true"] .cooperation-intro { display: block; padding-bottom: 36px; }
  html[data-leifei-brand="true"] .cooperation-copy { margin-top: 24px; padding: 0; border: 0; max-width: 520px; }
  html[data-leifei-brand="true"] .cooperation-copy p { font-size: 15px !important; }
  html[data-leifei-brand="true"] .cooperation-layout { gap: 0 32px; grid-template-columns: .9fr 1.1fr; }
  html[data-leifei-brand="true"] .cooperation-portrait { height: 440px; border-radius: 170px 170px 16px 16px; }
  html[data-leifei-brand="true"] .cooperation-steps { gap: 24px; padding: 0; }
  html[data-leifei-brand="true"] .cooperation-step { grid-template-columns: 36px 1fr; gap: 13px; }
  html[data-leifei-brand="true"] .cooperation-number { width: 36px; height: 36px; font-size: 12px; }
  html[data-leifei-brand="true"] .cooperation-step h3 { font-size: 20px !important; }
  html[data-leifei-brand="true"] .cooperation-step p { font-size: 14px !important; }
  html[data-leifei-brand="true"] .cooperation-next { margin-top: 32px; }
}

@media (max-width: 600px) {
  html[data-leifei-brand="true"] .cooperation-content { width: calc(100% - 48px); }
  html[data-leifei-brand="true"] .cooperation-layout { display: flex; flex-direction: column; }
  html[data-leifei-brand="true"] .cooperation-portrait { width: 100%; height: 280px; margin: 0 0 34px; border-radius: 140px 140px 12px 12px; }
  html[data-leifei-brand="true"] .cooperation-portrait img { object-position: 50% 28%; }
  html[data-leifei-brand="true"] .cooperation-steps { width: 100%; gap: 28px; }
  html[data-leifei-brand="true"] .cooperation-step { grid-template-columns: 42px 1fr; gap: 18px; }
  html[data-leifei-brand="true"] .cooperation-number { width: 42px; height: 42px; font-size: 13px; }
  html[data-leifei-brand="true"] .cooperation-step h3 { font-size: 23px !important; }
  html[data-leifei-brand="true"] .cooperation-step p { font-size: 15px !important; }
  html[data-leifei-brand="true"] .cooperation-next { display: block; width: 100%; }
  html[data-leifei-brand="true"] .cooperation-next h3 { font-size: 24px !important; }
  html[data-leifei-brand="true"] .cooperation-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 23px; }
  html[data-leifei-brand="true"] .cooperation-actions a { min-height: 50px; padding: 12px 13px; gap: 11px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html[data-leifei-brand="true"] .cooperation-step .cooperation-number,
  html[data-leifei-brand="true"] .cooperation-actions a { transition: none; }
}

/* Extend the process route through the outer gutter without covering controls. */
html[data-leifei-brand="true"] .page-main.home { position: relative; }
html[data-leifei-brand="true"] .home-route-extension {
  position: absolute; inset: 0; z-index: 10; width: 100%; height: 100%;
  overflow: hidden; pointer-events: none;
}
html[data-leifei-brand="true"] .home-route-extension path {
  fill: none; stroke: #dfa900; stroke-width: 3;
  stroke-dasharray: 8 11; stroke-linecap: round;
}
