/* 屹立官网优化覆盖样式 20261126a */
:root {
  --brand: #1f5eb3;
  --brand-dark: #0e2f5a;
  --brand-light: #eef4ff;
  --accent: #f5a623;
  --ink: #1f2933;
  --muted: #667085;
  --line: #e5e7eb;
  --soft: #f7f9fc;
  --radius: 14px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

a,
a:hover {
  transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

.container {
  width: min(1200px, calc(100% - 32px));
}

/* 顶部条 */
.header_top {
  background: var(--brand-dark);
  color: #dbeafe;
  height: auto;
  line-height: 1.4;
}

.header_top .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
}

.header_top .container > .fl {
  float: none;
  color: #dbeafe;
  font-size: 13px;
}

.header_top .container .fr {
  float: none;
  display: flex;
  align-items: center;
  gap: 16px;
}

.header_top .fr p,
.header_top .fr a,
.header_top .fr a p {
  margin: 0;
  padding: 0;
  border: 0;
  line-height: 1.4;
  color: #dbeafe;
  font-size: 13px;
}

.header_top .fr a:hover p {
  color: #fff;
}

.header_top .fr a + a p {
  border-left: 1px solid rgba(255, 255, 255, .28);
  padding-left: 16px;
}

/* Logo 与导航 */
.logo_nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 16px rgba(14, 47, 90, .08);
}

.logo_nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 0;
}

.logo {
  float: none;
  flex: 0 0 auto;
}

.logo img {
  display: block;
  height: 52px;
  width: auto;
}

.nav {
  margin-top: 0;
  min-width: 0;
}

.nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 6px;
}

.nav ul li {
  float: none;
  margin: 0;
  line-height: 1;
}

.nav ul li:last-child {
  margin: 0;
}

.nav ul li a {
  display: block;
  padding: 11px 12px;
  border-radius: 8px;
  font-size: 15px;
  color: #344054;
}

.nav ul li.on,
.nav ul li:hover {
  border-bottom: 0;
}

.nav ul li.on a,
.nav ul li:hover a {
  color: var(--brand);
  background: var(--brand-light);
}

/* 首屏 Banner：无轮播图时显示轻量 Hero */
.banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 58%, #2f80ed 100%);
}

.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 22%, rgba(255, 255, 255, .18), transparent 34%),
    radial-gradient(circle at 18% 82%, rgba(245, 166, 35, .16), transparent 30%);
  pointer-events: none;
}

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

.banner-empty .swiper-container {
  display: none;
}

.hero-fallback {
  display: none;
  position: relative;
  z-index: 2;
  min-height: 340px;
  color: #fff;
}

.banner-empty .hero-fallback {
  display: flex;
  align-items: center;
}

.hero-inner {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0;
}

.hero-kicker {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: .08em;
  color: #e0ecff;
}

.hero-inner h1 {
  margin: 0 0 14px;
  font-size: 44px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: .02em;
}

.hero-inner p {
  max-width: 680px;
  margin: 0 0 26px;
  font-size: 16px;
  line-height: 1.9;
  color: #e6efff;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
}

.hero-actions .btn-primary {
  background: var(--accent);
  color: #201400;
}

.hero-actions .btn-primary:hover {
  background: #ffb43a;
  color: #201400;
}

.hero-actions .btn-ghost {
  border: 1px solid rgba(255, 255, 255, .55);
  color: #fff;
}

.hero-actions .btn-ghost:hover {
  background: rgba(255, 255, 255, .14);
  color: #fff;
}

.nav ul li.backup-nav a {
  border: 1px solid var(--accent);
  color: #8a5a00;
  background: #fff7e6;
  font-weight: 600;
}

.nav ul li.backup-nav a:hover {
  background: var(--accent);
  color: #201400;
}

/* 搜索 */
.seach {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.seach .container {
  display: flex;
  align-items: center;
  gap: 16px;
}

.seach .seach_left {
  float: none;
  display: flex;
  align-items: center;
  width: min(560px, 100%);
  padding: 5px 6px 5px 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
}

.seach_left input {
  flex: 1;
  width: auto;
  height: 36px;
  line-height: 36px;
  padding: 0 14px;
  border: 0;
  border-right: 0;
  background: transparent;
  font-size: 14px;
}

.seach_left input:focus {
  outline: 0;
}

.seach_left .fr {
  float: none;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background-color: var(--brand);
  background-image: url(../images/sousuo.png);
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
}

.seach_right {
  display: none;
}

/* 栏目标题 */
.invite_title {
  margin: 56px 0 28px;
}

.invite_title h3 {
  width: auto;
  margin: 0;
  color: var(--ink);
  font-size: 26px;
  font-weight: 600;
}

.invite_title h3::after {
  left: 50%;
  bottom: -16px;
  width: 56px;
  height: 3px;
  background: var(--accent);
  transform: translateX(-50%);
}

.invite_title span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* 产品卡片 */
.invite_kind {
  width: 100%;
  margin-bottom: 26px;
  text-align: center;
}

.invite_kind ul li {
  float: none;
  display: inline-block;
  margin: 0 6px 10px;
  padding: 0 20px;
}

.invite_list ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.invite_list ul li {
  float: none;
  width: auto;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 26px rgba(14, 47, 90, .08);
}

.invite_list ul li:hover {
  transform: translateY(-3px);
  transition: transform .2s ease;
}

.invite_list_img img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--soft);
}

.invite_list_text {
  height: auto;
  padding: 15px 18px;
  line-height: 1.5;
  text-indent: 0;
  background: #fff;
}

.invite_list_text h3 {
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
}

.invite_list ul li:hover .invite_list_text,
.invite_list ul li:hover .invite_list_text h3 {
  background: var(--brand-light);
  color: var(--brand);
}

/* 关于我们 */
.about {
  margin-top: 56px;
  padding: 0 0 56px;
  background: #fff;
}

.about .container {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
  gap: 28px;
  align-items: center;
}

.about_left,
.about_right {
  float: none;
  width: auto;
  margin: 0;
}

.about_left {
  padding: 34px 36px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  box-shadow: 0 12px 34px rgba(14, 47, 90, .16);
}

.about_left span {
  margin: 0 12px 12px 0;
  font-size: 22px;
  font-weight: 600;
}

.about_left a {
  color: #cfe0ff;
  font-size: 14px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.about_left p {
  display: block;
  margin-top: 12px;
  color: #edf4ff;
  font-size: 15px;
  line-height: 1.95;
  overflow: visible;
  -webkit-line-clamp: unset;
}

.about_left button {
  height: 42px;
  margin-top: 22px;
  padding: 0 24px;
  border-radius: 999px;
  background: #fff;
  color: var(--brand);
  font-size: 15px;
  font-weight: 600;
}

.about_left button:hover {
  background: var(--accent);
  color: #201400;
}

.about_right,
.about_right::after {
  display: none;
}

/* 荣誉与新闻：无内容时隐藏空壳 */
@supports selector(:has(*)) {
  .index_case:has(.case_scoll .swiper-wrapper:empty) {
    display: none;
  }

  .index_news:has(.news_list ul:empty) {
    display: none;
  }
}

.index_case,
.index_news {
  background: var(--soft);
  padding: 56px 0;
}

.next_list {
  width: min(1330px, calc(100% - 32px));
}

/* 联系条 */
.motainen {
  display: none;
}

.contact {
  background: linear-gradient(120deg, var(--brand-dark), var(--brand));
  padding: 48px 0;
}

.contact .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.contact_left,
.contact_right {
  float: none;
  width: auto;
  margin: 0;
}

.contact_left h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 30px;
  font-weight: 700;
}

.contact_left a {
  color: #cfe0ff;
  font-size: 20px;
}

.contact_right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.contact_right h3 {
  margin: 0;
  color: #dbeafe;
  font-size: 16px;
}

.contact_right h4 {
  margin: 0;
  color: #fff;
  font-size: 30px;
  font-weight: 700;
}

.contact_right a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 42px;
  margin: 0;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--accent);
  color: #201400;
  font-size: 15px;
  font-weight: 600;
}

.contact_right a:hover {
  background: #ffb43a;
  color: #201400;
}

/* 页脚 */
.footer {
  padding: 42px 0 28px;
  background: #0b1f3a;
}

.footer .container {
  display: grid;
  grid-template-columns: 180px 140px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.di_logo,
.di_erweima,
.di_adress {
  float: none;
  width: auto;
  margin: 0;
}

.di_logo img {
  width: 160px;
}

.di_erweima {
  text-align: center;
}

.di_erweima img {
  width: 104px;
  border-radius: 8px;
  background: #fff;
}

.di_erweima h3 {
  margin-top: 10px;
  color: #b8c6d9;
  font-size: 13px;
  line-height: 1.5;
}

.di_adress {
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.95;
}

.di_adress p {
  margin: 0;
  color: #cbd5e1;
}

.last {
  padding: 14px 16px;
  background: #08182c;
  color: #94a3b8;
  font-size: 13px;
  text-align: center;
}

.last a {
  color: #94a3b8;
  text-decoration: underline;
}

/* 平板 */
@media (max-width: 1024px) {
  .hero-inner h1 {
    font-size: 36px;
  }

  .invite_list ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about .container {
    grid-template-columns: 1fr;
  }

  .footer .container {
    grid-template-columns: 150px 120px minmax(0, 1fr);
  }
}

/* 手机 */
@media (max-width: 720px) {
  .container,
  .hero-inner,
  .next_list {
    width: calc(100% - 24px);
  }

  .header_top .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 8px 0;
  }

  .header_top .container .fr {
    flex-wrap: wrap;
    gap: 8px 12px;
  }

  .header_top .fr a + a p {
    border-left: 0;
    padding-left: 0;
  }

  .logo_nav {
    position: static;
  }

  .logo_nav .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
  }

  .logo img {
    height: 44px;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav ul {
    flex-wrap: nowrap;
    gap: 4px;
    padding-bottom: 2px;
  }

  .nav ul li {
    flex: 0 0 auto;
  }

  .nav ul li a {
    padding: 9px 10px;
    font-size: 14px;
    white-space: nowrap;
  }

  .banner,
  .banner-empty .hero-fallback {
    min-height: 270px;
  }

  .hero-inner {
    padding: 38px 0;
  }

  .hero-inner h1 {
    font-size: 28px;
  }

  .hero-inner p {
    font-size: 14px;
    line-height: 1.8;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .seach .container {
    display: block;
  }

  .seach .seach_left {
    width: 100%;
  }

  .invite_title {
    margin: 40px 0 24px;
  }

  .invite_title h3 {
    font-size: 22px;
  }

  .invite_list ul {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .about {
    margin-top: 40px;
    padding-bottom: 40px;
  }

  .about_left {
    padding: 26px 22px;
  }

  .about_left span {
    display: block;
    font-size: 20px;
  }

  .about_left p {
    font-size: 14px;
    line-height: 1.85;
  }

  .contact .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .contact_right {
    flex-wrap: wrap;
    gap: 8px 14px;
  }

  .contact_right h4 {
    font-size: 26px;
  }

  .footer .container {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .di_erweima {
    margin: 0 auto;
  }

  .di_adress {
    text-align: left;
  }
}
