.tiansheng_foot_main {
  position: relative;
  overflow: hidden;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  background: #252525;
  color: rgba(255, 255, 255, 0.9);
}

.tiansheng-foot-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.tiansheng_foot_main .tiansheng-foot-bg .tiansheng-foot-bg-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  opacity: 0.5;
  mix-blend-mode: color-burn;
}

.tiansheng_foot_main .container {
  position: relative;
  z-index: 1;
}

.tiansheng-foot-shell {
  position: relative;
  min-height: 590px;
  padding: 70px 0 30px;
}

.tiansheng-foot-main {
  display: grid;
  grid-template-columns: 395px minmax(0, 1fr);
  gap: 121px;
  align-items: start;
}

.tiansheng-foot-brand {
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.tiansheng-foot-logo-link {
  display: inline-flex;
  align-items: center;
  width: 262px;
  line-height: 0;
}

.tiansheng_foot_main .tiansheng-foot-logo-link .tiansheng-foot-logo {
  display: block;
  width: 262px;
  height: auto;
  object-fit: contain;
}

.tiansheng-foot-contact-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tiansheng-foot-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.tiansheng_foot_main .tiansheng-foot-contact-item .tiansheng-foot-contact-icon {
  width: 27px;
  height: 27px;
  flex-shrink: 0;
  object-fit: contain;
}

.tiansheng-foot-contact-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--tiansheng-font-ui);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
}

a.tiansheng-foot-contact-text:hover,
.tiansheng-foot-link:hover {
  color: var(--color-primary);
  
}

.tiansheng-foot-social-list {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 6px;
}

.tiansheng-foot-social-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  color: #ffffff;
  transition: background-color 0.24s ease, border-color 0.24s ease, transform 0.24s ease;
}

.tiansheng-foot-social-item:hover {
  background: #3980f4;
  border-color: #3980f4;
  color: #ffffff;
  transform: translateY(-1px);
}

.tiansheng-foot-social-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-family: var(--tiansheng-font-ui);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

.tiansheng_foot_main .tiansheng-foot-social-item .tiansheng-foot-social-icon {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.tiansheng-foot-links {
  display: grid;
  grid-template-columns: minmax(190px, 225px) minmax(260px, 300px) minmax(190px, 225px) minmax(190px, 225px);
  column-gap: 38px;
  align-items: start;
}

.tiansheng-foot-links-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.tiansheng-foot-links-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-width: 0;
}

.tiansheng-foot-links-title {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--title-font-family);
  font-size: 30px;
  font-weight: 600;
  line-height: normal;
}

.foot-col_title {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.foot-col_title .iconfont {
  display: none;
  font-size: 12px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.72);
  transition: transform 0.28s ease;
}

.tiansheng-foot-links-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tiansheng-foot-link {
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--tiansheng-font-ui);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  word-break: break-word;
}

.tiansheng-foot-bottom {
  margin-top: 58px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.tiansheng-foot-copyright {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--tiansheng-font-ui);
  font-size: 12px;
  font-weight: 400;
  line-height: normal;
}


@media screen and (max-width: 1600px) {
  .tiansheng-foot-main {
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 52px;
  }

  .tiansheng-foot-links {
    grid-template-columns: minmax(180px, 200px) repeat(2, minmax(180px, 1fr));
    column-gap: 28px;
  }
}

@media screen and (max-width: 1200px) {
  .tiansheng-foot-shell {
    min-height: auto;
    padding-top: 72px;
  }

  .tiansheng-foot-main {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .tiansheng-foot-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 22px;
  }

  .tiansheng-foot-links-stack {
    gap: 28px;
  }
}

@media screen and (max-width: 768px) {
  .tiansheng_foot_main {
    border-top-left-radius: 28px;
    border-top-right-radius: 28px;
  }

  .tiansheng-foot-shell {
    padding-top: 52px;
    padding-bottom: 22px;
  }

  .tiansheng-foot-logo-link,
  .tiansheng_foot_main .tiansheng-foot-logo-link .tiansheng-foot-logo {
    width: 220px;
  }

  .tiansheng-foot-links {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .tiansheng-foot-links-stack {
    gap: 26px;
  }

  .tiansheng-foot-links-title {
    font-size: 24px;
  }

  .tiansheng-foot-contact-text,
  .tiansheng-foot-link {
    font-size: 16px;
  }
}

@media screen and (max-width: 991px) {
  .foot-col_title {
    cursor: pointer;
  }

  .foot-col_title .iconfont {
    display: inline-flex;
  }

  .tiansheng-foot-links-list {
    display: none;
    margin-top: 14px;
  }

  .tiansheng-foot-links-col.active .foot-col_title .iconfont {
    transform: rotate(180deg);
  }

  .tiansheng-foot-links-col.active .tiansheng-foot-links-list {
    display: flex;
  }
}
