.weiyou-foot {
  position: relative;
  overflow: hidden;
  border-radius: 50px 50px 0 0;
  background: linear-gradient(114deg, #043B69 3.34%, #0874CF 141.07%);
  color: #fff;
  font-family: var(--font-family);
  z-index: 2;
}

.weiyou-foot-bg-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.weiyou-foot-bg {
  width: 100%;
  height: 100%;
}

.weiyou-foot-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.weiyou-foot-inner {
  position: relative;
  z-index: 1;
  padding: var(--gap-100) 0 var(--gap-60);
}

.weiyou-foot-main-wrap {
  position: relative;
}

.weiyou-foot-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 424px minmax(0, 1fr);
  gap: var(--gap-70);
  align-items: flex-start;
}

.weiyou-foot-logo {
  width: 230px;
  aspect-ratio: 115/37;
  display: flex;
}

.weiyou-foot-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.weiyou-foot-slogan {
  width: min(420px, 100%);
  margin-top: var(--gap-50);
  color: #fff;
  font-family: var(--font-family);
  font-size: var(--font-30);
  font-weight: 600;
  line-height: normal;
}

.weiyou-foot-contact {
  margin-top: 55px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.weiyou-foot-contact li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 15px;
  align-items: center;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.weiyou-foot-contact li:first-child {
  align-items: flex-start;
}

.weiyou-foot-contact-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.weiyou-foot-contact a {
  color: inherit;
  transition: color 0.3s ease;
}

.weiyou-foot-contact a:hover {
  color: var(--color-primary);
}

.weiyou-foot-links {
  display: grid;
  grid-template-columns: 130px 214px 200px 1fr;
  gap: var(--gap-70);
  align-items: flex-start;
}

.weiyou-foot-col-title {
  color: #fff;
  font-family: var(--font-family);
  font-size: var(--font-20);
  font-weight: 700;
  line-height: 1.6;
  white-space: nowrap;
}

.weiyou-foot-title-line {
  position: relative;
  width: 130px;
  height: 1px;
  margin-top: 22px;
  display: block;
  background: rgba(255, 255, 255, 0.2);
}

.weiyou-foot-title-line::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 2px;
  background: #fff;
}

.weiyou-foot-col ul {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.weiyou-foot-col a {
  display: inline-block;
  max-width: 260px;
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  transition: color 0.3s ease;
}

.weiyou-foot-col a:hover {
  color: var(--color-primary);
}

.weiyou-foot-col--wide a {
  max-width: 252px;
}

.weiyou-foot-col--solution a {
  max-width: none;
}

.weiyou-foot-subscribe {
  width: min(353px, 100%);
  margin-top: var(--gap-50);
}

.weiyou-foot-subscribe-copy {
  display: flex;
  flex-direction: column;
  gap: var(--gap-10);
}

.weiyou-foot-subscribe-title {
  margin: 0;
  color: #FFF;
  font-family: var(--font-family);
  font-size: var(--font-20);
  font-weight: 700;
  line-height: 1.6;
}

.weiyou-foot-subscribe-desc {
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-family);
  font-size: var(--font-16);
  font-weight: 400;
  line-height: 1.5;
}

.weiyou-foot-subscribe-form {
  width: 100%;
  margin-top: var(--gap-20);
}

.weiyou-foot-subscribe-input-wrap {
  position: relative;
  display: flex;
  width: 100%;
  height: 62px;
  padding: 10px 14px 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.1);
  box-sizing: border-box;
  align-items: center;
  gap: var(--gap-10);
  -webkit-backdrop-filter: blur(10.5px);
  backdrop-filter: blur(10.5px);
}

.weiyou-foot-subscribe-input {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #FFF;
  font-family: var(--font-family);
  font-size: var(--font-16);
  font-weight: 400;
  line-height: 28px;
}

.weiyou-foot-subscribe-input::placeholder {
  color: #FFF;
  opacity: 1;
}

.weiyou-foot-subscribe-input-wrap .crmFormVali-error {
  top: calc(100% + 4px);
  right: auto;
  left: 20px;
  color: #FFF;
}

.weiyou-foot-subscribe-btn {
  display: flex;
  width: 42px;
  min-width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid #FFF;
  border-radius: 50%;
  background: #FFF;
  color: var(--color-primary, #1DADEC);
  cursor: pointer;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
}

.weiyou-foot-subscribe-btn svg {
  display: block;
  width: 20px;
  height: 20px;
}

.weiyou-foot-divider {
  margin-top: var(--gap-60);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 30px;
  align-items: center;
}

.weiyou-foot-divider > span {
  height: 1px;
  background: rgba(217, 217, 217, 0.2);
}

.weiyou-foot-social {
  display: flex;
  align-items: center;
  justify-content: center;
}

.weiyou-foot-social .social-medias {
  margin: 0 !important;
  gap: 24px;
  align-items: center;
  justify-content: center;
}

.weiyou-foot-social .social-media {
  width: 30px;
  height: 30px;
  margin: 0 !important;
}

.weiyou-foot-social .social-media a {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.weiyou-foot-social .social-media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
  transition: none;
}

.weiyou-foot-social .social-media a:hover{
  background: #3D3D3D;
}
.weiyou-foot-social .social-media a:hover img {
  
  filter: brightness(0) saturate(100%) invert(45%) sepia(79%) saturate(7713%) hue-rotate(-161deg) brightness(190%) contrast(71%);
}

.weiyou-foot-bottom {
  margin-top: var(--gap-30);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.weiyou-foot-copyright,
.weiyou-foot-policy {
  color: #fff;
  font-family: var(--font-family);
  font-size: var(--font-16);
  font-weight: 400;
  line-height: 24px;
  transition: color 0.3s ease;
}

.weiyou-foot-policy:hover {
  color: var(--color-primary);
}

.weiyou-foot-sidebar {
  position: fixed;
  right: 0;
  bottom: 100px;
  z-index: 999;
  display: flex;
  width: max-content;
  max-width: calc(100vw - 8px);
  box-sizing: border-box;
  align-items: stretch;
}

.weiyou-foot-sidebar-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 23px 22px;
  border-radius: 30px 0 0 30px;
  background: #1DADEC;
  box-sizing: border-box;
}

.weiyou-foot-sidebar.is-collapsed .weiyou-foot-sidebar-panel {
  display: none;
}

.weiyou-foot-sidebar .weiyou-foot-sidebar-item {
  position: relative;
  display: flex;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #FFF;
  color: #1DADEC;
  line-height: 1;
  text-decoration: none;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  appearance: none;
}

.weiyou-foot-sidebar-toggle {
  display: none;
  width: 30px;
  height: 80px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: #fff;
  color: #121212;
  box-shadow: 0 12px 28px rgba(10, 76, 127, 0.16);
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.weiyou-foot-sidebar.is-collapsed .weiyou-foot-sidebar-toggle {
  display: flex;
}

.weiyou-foot-sidebar-toggle svg {
  display: block;
  width: 18px;
  height: 18px;
  transition: transform 0.35s ease;
}

.weiyou-foot-sidebar.is-collapsed .weiyou-foot-sidebar-toggle svg {
  transform: rotate(180deg);
}

.weiyou-foot-sidebar-item svg {
  display: block;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.weiyou-foot-back-to-top svg {
  width: 22px;
  height: 22px;
}

@media screen and (max-width: 1500px) {
  .weiyou-foot-main {
    grid-template-columns: 360px minmax(0, 1fr);
  }

  .weiyou-foot-links {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px;
  }
}

@media screen and (max-width: 1200px) {
  .weiyou-foot-main {
    grid-template-columns: 1fr;
  }

  .weiyou-foot-brand,
  .weiyou-foot-slogan {
    width: 100%;
  }

  .weiyou-foot-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 768px) {

  .weiyou-foot-logo {
    width: 178px;
  }

  .weiyou-foot-contact {
    margin-top: 34px;
  }

  .weiyou-foot-links {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .weiyou-foot-divider {
    grid-template-columns: 1fr;
  }

  .weiyou-foot-divider > span {
    display: none;
  }

  .weiyou-foot-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .weiyou-foot-sidebar {
    bottom: 80px;
  }
}
