:root {
  --navy: #182e65;
  --navy-dark: #101c35;
  --red: #d7211f;
  --blue: #176aa6;
  --gold: #b8893c;
  --ink: #222936;
  --muted: #626b78;
  --line: #dde3ea;
  --soft: #f5f7fa;
  --white: #fff;
  --shadow: 0 18px 46px rgba(24, 46, 101, .1);
  --container: 1240px;
  --radius: 5px;
  --font: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.75;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 90%;
  max-width: var(--container);
  margin: 0 auto;
}

.navbar {
  height: 90px;
  background: rgba(255, 255, 255, .98);
  border-bottom: 1px solid rgba(24, 46, 101, .08);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow .2s ease, border-color .2s ease;
}

.nav-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  width: 210px;
  height: 58px;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.logo-text {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-width: 178px;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: 0;
}

.logo-text small {
  margin-top: 6px;
  color: #7b8596;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.8px;
}

.nav-links {
  display: flex;
  align-items: stretch;
  gap: 2px;
  margin-left: auto;
}

.nav-links>a,
.nav-item>a,
.nav-disabled {
  display: flex;
  align-items: center;
  height: 90px;
  padding: 0 18px;
  color: #30343e;
  font-size: 16px;
  position: relative;
  transition: color .2s ease;
}

.nav-links>a::after,
.nav-item>a::after,
.nav-disabled::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 22px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}

.nav-links a.active,
.nav-links>a:hover,
.nav-item:hover>a {
  color: var(--red);
}

.nav-links a.active::after,
.nav-links>a:hover::after,
.nav-item:hover>a::after {
  transform: scaleX(1);
}

.nav-disabled {
  color: #8a93a1;
  cursor: default;
}

.nav-disabled::after {
  display: none;
}

.nav-item {
  position: relative;
}

.sub-menu {
  position: absolute;
  left: 50%;
  top: 90px;
  width: 250px;
  padding: 12px;
  background: #fff;
  border: 1px solid rgba(24, 46, 101, .08);
  box-shadow: 0 16px 36px rgba(16, 28, 53, .12);
  transform: translate(-50%, 10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.nav-item:hover .sub-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.sub-menu a {
  display: block;
  padding: 10px 12px;
  color: #4f5968;
  border-radius: 3px;
  font-size: 14px;
}

.sub-menu a:hover {
  color: var(--navy);
  background: #f4f6fa;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 22px;
  border: 1px solid var(--navy);
  border-radius: 2px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: var(--navy);
}

.btn-primary:hover {
  background: var(--red);
  border-color: var(--red);
}

.btn-outline {
  background: #fff;
}

.btn-outline:hover {
  color: #fff;
  background: var(--navy);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  padding: 105px 0 80px;
  display: flex;
  align-items: center;
  background: #eef3f8;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .88) 42%, rgba(255, 255, 255, .18) 100%);
}

.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--navy), var(--red), var(--gold));
}

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

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 720px);
  gap: 0;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--red);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.4px;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--red);
}

.hero h1 {
  max-width: 800px;
  margin: 0 0 22px;
  color: var(--navy-dark);
  font-size: 50px;
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: 0;
}

.hero p {
  max-width: 660px;
  margin: 0;
  color: #4f5968;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 660px;
  margin-top: 46px;
  border-top: 1px solid rgba(24, 46, 101, .16);
  border-left: 1px solid rgba(24, 46, 101, .16);
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(8px);
}

.hero-metrics div {
  min-height: 92px;
  padding: 18px 20px;
  border-right: 1px solid rgba(24, 46, 101, .16);
  border-bottom: 1px solid rgba(24, 46, 101, .16);
}

.hero-metrics b {
  display: block;
  color: var(--navy);
  font-size: 26px;
  line-height: 1.1;
}

.hero-metrics span {
  display: block;
  margin-top: 8px;
  color: #5d6775;
  font-size: 13px;
}

.hero-image {
  display: none;
}

.hero.split {
  min-height: 335px;
  padding: 78px 0 72px;
}

.hero.split::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .82)),
    url("../images/云机房智能体系.png") right center / cover no-repeat;
}

.hero.split h1 {
  max-width: 760px;
  font-size: 42px;
}

.hero.split p {
  max-width: 760px;
}

.section {
  padding: 86px 0;
}

.section.soft {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f4f8 100%);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
  padding-left: 20px;
  border-left: 4px solid var(--red);
}

.section-heading.center {
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  border-left: 0;
  text-align: center;
}

.section-heading h2,
.content-text h2,
.profile-side h2,
.visit-heading h2,
.advantage-heading h2,
.support-intro h2 {
  margin: 0 0 12px;
  color: var(--navy-dark);
  font-size: 34px;
  line-height: 1.35;
  font-weight: 700;
}

.section-heading p,
.content-text p,
.profile-side p,
.profile-content p,
.visit-heading p,
.advantage-heading p,
.support-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.home-categories {
  position: relative;
  z-index: 3;
  margin-top: -50px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.category-card {
  min-height: 190px;
  padding: 28px 26px;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, #fff 0%, #fafbfc 100%);
  transition: transform .22s ease, box-shadow .22s ease, color .22s ease;
}

.category-card:last-child {
  border-right: 0;
}

.category-card:hover {
  position: relative;
  z-index: 1;
  color: var(--navy);
  transform: translateY(-6px);
  box-shadow: 0 18px 42px rgba(16, 28, 53, .12);
}

.category-card b {
  color: var(--red);
  font-size: 13px;
  letter-spacing: 1px;
}

.category-card h3 {
  margin: 18px 0 10px;
  color: var(--navy-dark);
  font-size: 21px;
}

.category-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.category-card span {
  display: inline-block;
  margin-top: 22px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  position: relative;
  min-height: 244px;
  padding: 32px 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: background .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.service-card:hover {
  background: #f9fafc;
  border-color: rgba(24, 46, 101, .28);
  box-shadow: var(--shadow);
}

.service-no {
  display: inline-block;
  color: #7a8594;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
}

.service-card h3 {
  margin: 24px 0 10px;
  color: var(--navy-dark);
  font-size: 21px;
}

.service-card p,
.process-item p,
.feature-list li {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.product-preview {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 28px;
  align-items: stretch;
}

.product-feature {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy-dark);
}

.product-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .58;
}

.product-feature .feature-copy {
  position: absolute;
  left: 38px;
  right: 38px;
  bottom: 34px;
  color: #fff;
}

.feature-copy b {
  color: #ffce74;
  font-size: 13px;
  letter-spacing: 1px;
}

.feature-copy h3 {
  margin: 10px 0 12px;
  font-size: 31px;
  line-height: 1.25;
}

.feature-copy p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, .82);
}

.product-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.product-mini {
  min-height: 206px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform .22s ease, box-shadow .22s ease;
}

.product-mini:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(16, 28, 53, .08);
}

.product-mini img {
  width: 100%;
  height: 92px;
  object-fit: contain;
  margin-bottom: 16px;
}

.product-mini h3 {
  margin: 0 0 6px;
  color: var(--navy-dark);
  font-size: 18px;
}

.product-mini p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.honor-marquee {
  position: relative;
  overflow: hidden;
  padding: 8px 0 22px;
}

.honor-marquee::before,
.honor-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 90px;
  pointer-events: none;
}

.honor-marquee::before {
  left: 0;
  background: linear-gradient(90deg, #f8fafc, rgba(248, 250, 252, 0));
}

.honor-marquee::after {
  right: 0;
  background: linear-gradient(270deg, #f8fafc, rgba(248, 250, 252, 0));
}

.honor-track {
  display: flex;
  gap: 22px;
  width: max-content;
  animation: honorScroll 58s linear infinite;
}

.honor-marquee:hover .honor-track {
  animation-play-state: paused;
}

.honor-track button {
  flex: 0 0 238px;
  height: 330px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  cursor: zoom-in;
  text-align: left;
  box-shadow: 0 12px 28px rgba(16, 28, 53, .05);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.honor-track button:hover {
  transform: translateY(-4px);
  border-color: rgba(24, 46, 101, .24);
  box-shadow: 0 18px 42px rgba(16, 28, 53, .1);
}

.honor-track button:focus {
  outline: none;
  border-color: rgba(215, 33, 31, .34);
}

.honor-track img {
  width: 100%;
  height: 260px;
  object-fit: contain;
  background: #f7f9fb;
}

.honor-track span {
  display: block;
  min-height: 42px;
  margin-top: 10px;
  color: var(--navy-dark);
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
}

@keyframes honorScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.band {
  padding: 60px 0;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(16, 28, 53, .96), rgba(24, 46, 101, .93)),
    url("../images/龙虾群控智能系统.png") center / cover no-repeat;
}

.band-grid {
  display: grid;
  grid-template-columns: .9fr 1.5fr;
  gap: 72px;
  align-items: center;
}

.band h2 {
  margin: 0;
  font-size: 31px;
  line-height: 1.4;
}

.band p {
  margin: 0;
  color: rgba(255, 255, 255, .76);
  font-size: 16px;
}

.intro-grid,
.product-row {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 68px;
  align-items: center;
}

.image-wrap {
  min-height: 360px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(24, 46, 101, .08);
  box-shadow: var(--shadow);
  background: #eef3f8;
}

.image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-text p+p {
  margin-top: 14px;
}

.content-text .btn {
  margin-top: 28px;
}

.feature-list {
  margin-top: 24px;
}

.feature-list li {
  position: relative;
  padding-left: 20px;
  margin-top: 10px;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 7px;
  height: 7px;
  background: var(--red);
}

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.process-item {
  min-height: 210px;
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.process-item b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  background: var(--navy);
  font-size: 15px;
}

.process-item h3 {
  margin: 22px 0 8px;
  color: var(--navy-dark);
  font-size: 20px;
}

.empty-state {
  min-height: 260px;
  padding: 58px 48px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(16, 28, 53, .05);
}

.empty-state h2 {
  margin: 0 0 12px;
  color: var(--navy-dark);
  font-size: 30px;
}

.empty-state p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
}

.advantages-section {
  padding: 88px 0;
  background: #f5f7fa;
}

.advantage-heading {
  max-width: 760px;
  margin-bottom: 36px;
  padding-left: 20px;
  border-left: 4px solid var(--red);
}

.advantage-heading span,
.advantage-compliance span,
.support-intro span,
.profile-side span,
.visit-heading span {
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
}

.advantage-flow {
  padding: 34px;
  margin-bottom: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(16, 28, 53, .05);
}

.flow-title {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.flow-title>b {
  flex: 0 0 auto;
  padding: 6px 12px;
  color: #fff;
  background: var(--navy);
  border-radius: 2px;
}

.flow-title h3,
.advantage-compliance h3 {
  margin: 0 0 6px;
  color: var(--navy-dark);
  font-size: 25px;
}

.flow-title p {
  margin: 0;
  color: var(--muted);
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 30px;
}

.flow-steps article {
  padding: 18px;
  background: #fafbfc;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: background .2s ease, border-color .2s ease;
}

.flow-steps article:hover {
  background: #fff;
  border-color: rgba(24, 46, 101, .26);
}

.flow-steps i {
  display: block;
  color: var(--red);
  font-style: normal;
  font-weight: 700;
}

.flow-steps strong {
  display: block;
  margin: 6px 0;
  color: var(--navy-dark);
}

.flow-steps span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.advantage-compliance {
  display: grid;
  grid-template-columns: .9fr 1.35fr;
  gap: 38px;
  margin-bottom: 72px;
  padding: 38px;
  color: #fff;
  border-radius: var(--radius);
  background:
    linear-gradient(120deg, rgba(16, 28, 53, .98), rgba(24, 46, 101, .93)),
    url("../images/云机房智能体系.png") center / cover no-repeat;
  box-shadow: var(--shadow);
}

.advantage-compliance h3 {
  color: #fff;
}

.advantage-compliance p {
  margin: 0;
  color: rgba(255, 255, 255, .75);
}

.compliance-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  align-content: center;
}

.compliance-list b {
  padding: 9px 10px;
  text-align: center;
  color: rgba(255, 255, 255, .9);
  font-size: 14px;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .07);
  border-radius: 2px;
}

.advantage-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 72px;
}

.advantage-card {
  padding: 0 20px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .22s ease, box-shadow .22s ease;
}

.advantage-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.advantage-card img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  margin-top: -24px;
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(16, 28, 53, .12);
}

.advantage-card h3 {
  margin: 18px 0 8px;
  color: var(--navy-dark);
  font-size: 18px;
}

.advantage-card p,
.support-cards p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.support-panel {
  padding: 38px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(16, 28, 53, .05);
}

.support-intro {
  max-width: 680px;
}

.support-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.support-cards article {
  padding: 22px;
  background: #f7f9fb;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.support-cards img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 50%;
}

.support-cards h3 {
  margin: 14px 0 6px;
  color: var(--navy-dark);
  font-size: 18px;
}

.company-profile {
  padding: 82px 0;
  background: linear-gradient(180deg, #f7f9fb 0%, #fff 100%);
}

.profile-layout {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 72px;
  align-items: start;
}

.profile-content {
  padding: 38px 42px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.profile-content p+p {
  margin-top: 16px;
}

.profile-address {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: #4f5968;
}

.profile-address b {
  color: var(--navy-dark);
}

.visit-section {
  padding: 82px 0;
  background: #fff;
}

.visit-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.visit-gallery {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 18px;
  height: 510px;
}

.visit-gallery button {
  position: relative;
  padding: 0;
  overflow: hidden;
  cursor: zoom-in;
  border: 0;
  background: #eef3f8;
  border-radius: var(--radius);
}

.visit-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.visit-gallery button:hover img {
  transform: scale(1.05);
}

.visit-main img {
  object-fit: contain;
  background: #eef3f8;
}

.visit-main em {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 7px 12px;
  color: #fff;
  background: rgba(16, 28, 53, .78);
  font-style: normal;
  font-size: 13px;
}

.visit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr 1fr;
  gap: 18px;
}

.visit-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1001;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(6, 14, 28, .9);
}

.visit-lightbox.open {
  display: flex;
}

.visit-lightbox img {
  max-width: 95vw;
  max-height: 88vh;
  object-fit: contain;
}

.visit-close {
  position: absolute;
  right: 24px;
  top: 15px;
  border: 0;
  background: none;
  color: #fff;
  font-size: 38px;
  cursor: pointer;
}

.footer {
  padding-top: 58px;
  color: #b1bac6;
  background: #292c33;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .7fr 1.1fr;
  gap: 60px;
  padding-bottom: 54px;
}

.footer .logo-text,
.footer h4 {
  color: #fff;
}

.footer .logo-text {
  margin-bottom: 16px;
}

.footer p,
.footer a,
.footer li {
  color: #b1bac6;
  font-size: 14px;
}

.footer h4 {
  margin: 0 0 18px;
  font-size: 18px;
}

.footer li+li {
  margin-top: 9px;
}

.footer a:hover {
  color: #fff;
}

.footer-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 118px;
  gap: 18px;
  align-items: start;
}

.contact-lines li {
  line-height: 1.65;
}

.qr-card {
  padding: 8px;
  background: #fff;
  border-radius: 4px;
  text-align: center;
}

.qr-card img {
  width: 102px;
  height: 102px;
  object-fit: contain;
}

.qr-card span {
  display: block;
  margin-top: 6px;
  color: #4f5968;
  font-size: 12px;
  line-height: 1.3;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  color: rgba(177, 186, 198, .78);
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 13px;
}

.contact-section {
  padding: 82px 0;
  background: #fff;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 54px;
  align-items: center;
  padding: 44px 48px;
  color: #fff;
  border-radius: var(--radius);
  background:
    linear-gradient(120deg, rgba(16, 28, 53, .98), rgba(24, 46, 101, .94)),
    url("../images/云机房智能体系.png") center / cover no-repeat;
  box-shadow: var(--shadow);
}

.panel-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: #ffce74;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
}

.contact-panel h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 32px;
  line-height: 1.35;
}

.contact-panel p {
  max-width: 660px;
  margin: 0;
  color: rgba(255, 255, 255, .78);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.contact-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 2px;
  background: rgba(255, 255, 255, .07);
}

.contact-actions a:hover {
  background: var(--red);
  border-color: var(--red);
}

.contact-qr-large {
  padding: 14px;
  background: #fff;
  border-radius: 4px;
  text-align: center;
}

.contact-qr-large img {
  width: 182px;
  height: 182px;
  object-fit: contain;
}

.contact-qr-large strong {
  display: block;
  margin-top: 10px;
  color: var(--navy-dark);
  font-size: 14px;
}

.reveal,
.advantage-reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.reveal.visible,
.advantage-reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1080px) {
  .container {
    width: 92%;
  }

  .navbar {
    height: auto;
    min-height: 68px;
  }

  .nav-container {
    flex-wrap: wrap;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    overflow-x: auto;
  }

  .nav-links>a,
  .nav-item>a,
  .nav-disabled {
    height: 46px;
    padding: 0 12px;
    white-space: nowrap;
  }

  .nav-links>a::after,
  .nav-item>a::after,
  .nav-disabled::after {
    left: 12px;
    right: 12px;
    bottom: 4px;
  }

  .sub-menu {
    display: none;
  }

  .nav-container>.btn {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 72px 0 64px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .88));
  }

  .category-grid,
  .service-grid,
  .product-mini-grid,
  .process,
  .flow-steps,
  .advantage-cards,
  .support-cards,
  .partner-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-preview,
  .intro-grid,
  .product-row,
  .band-grid,
  .profile-layout,
  .advantage-compliance,
  .contact-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .brand-logo {
    width: 168px;
    height: 46px;
  }

  .logo-text {
    min-width: auto;
    font-size: 19px;
  }

  .hero h1,
  .hero.split h1 {
    font-size: 31px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-metrics,
  .category-grid,
  .service-grid,
  .product-mini-grid,
  .process,
  .flow-steps,
  .advantage-cards,
  .support-cards,
  .compliance-list,
  .partner-grid {
    grid-template-columns: 1fr;
  }

  .home-categories {
    margin-top: 0;
  }

  .category-card {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .category-card:last-child {
    border-bottom: 0;
  }

  .section,
  .advantages-section,
  .company-profile,
  .visit-section {
    padding: 58px 0;
  }

  .section-heading h2,
  .content-text h2,
  .profile-side h2,
  .visit-heading h2,
  .advantage-heading h2,
  .support-intro h2 {
    font-size: 26px;
  }

  .product-feature {
    min-height: 360px;
  }

  .product-feature .feature-copy {
    left: 24px;
    right: 24px;
    bottom: 24px;
  }

  .feature-copy h3 {
    font-size: 25px;
  }

  .visit-gallery {
    height: auto;
    grid-template-columns: 1fr;
  }

  .honor-marquee::before,
  .honor-marquee::after {
    width: 34px;
  }

  .honor-track {
    gap: 14px;
    animation-duration: 42s;
  }

  .honor-track button {
    flex-basis: 198px;
    height: 292px;
    padding: 10px;
  }

  .honor-track img {
    height: 226px;
  }

  .visit-main,
  .visit-grid {
    height: 330px;
  }

  .visit-grid {
    gap: 8px;
  }

  .footer-contact {
    grid-template-columns: 1fr;
  }

  .qr-card {
    width: 124px;
  }

  .contact-section {
    padding: 58px 0;
  }

  .contact-panel {
    padding: 30px 22px;
  }

  .contact-panel h2 {
    font-size: 25px;
  }

  .contact-actions a {
    width: 100%;
    justify-content: center;
  }

  .contact-qr-large {
    width: 190px;
  }

  .contact-qr-large img {
    width: 162px;
    height: 162px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

/* -------------------------------------
   固定联系侧边栏 (右侧悬浮，移动端底栏)
   ------------------------------------- */
.fixed-contact-bar {
  position: fixed;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(16, 28, 53, 0.08);
  display: flex;
  flex-direction: column;
  padding: 8px 0;
}

.contact-item {
  position: relative;
  padding: 16px 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #626b78; /* var(--muted) */
  transition: all 0.2s ease;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.contact-item:hover,
.contact-item:active,
.contact-item:focus {
  color: #d7211f; /* var(--red) */
  background: #f8fafc;
  outline: none;
}

.contact-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.contact-icon i {
  font-size: 24px;
}

.contact-icon span {
  font-size: 12px;
  line-height: 1;
}

.contact-popup {
  position: absolute;
  right: 120%;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(16, 28, 53, 0.12);
  border-radius: 6px;
  padding: 16px 20px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.contact-popup::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 6px solid #fff;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.contact-popup::before {
  content: '';
  position: absolute;
  right: -7px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 7px solid var(--line);
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
}

.contact-item:hover .contact-popup,
.contact-item:active .contact-popup,
.contact-item:focus .contact-popup {
  opacity: 1;
  visibility: visible;
  right: calc(100% + 12px);
  pointer-events: auto;
}

.popup-title {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}

.popup-desc {
  font-size: 18px;
  color: var(--navy-dark);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.qr-popup {
  text-align: center;
  padding: 12px;
}

.qr-popup img {
  width: 130px;
  height: 130px;
  margin-bottom: 8px;
  display: block;
}

.qr-popup span {
  display: block;
  font-size: 13px;
  color: var(--muted);
}

/* 移动端适配：改为底部固定悬浮栏，完美兼容小屏幕 */
@media (max-width: 768px) {
  .fixed-contact-bar {
    right: 0;
    bottom: 0;
    top: auto;
    transform: none;
    flex-direction: row;
    width: 100%;
    border-radius: 0;
    border: none;
    border-top: 1px solid var(--line);
    padding: 0;
    justify-content: space-around;
    padding-bottom: env(safe-area-inset-bottom); /* 适配刘海屏 */
    box-shadow: 0 -4px 16px rgba(16, 28, 53, 0.05);
  }

  .contact-item {
    flex: 1;
    padding: 12px 0;
  }
  
  .contact-item:hover {
    background: transparent;
  }
  .contact-item:active,
  .contact-item:focus {
    background: #f8fafc;
  }

  /* 弹出框出现在上方 */
  .contact-popup {
    top: auto;
    bottom: 120%;
    right: 50%;
    transform: translateX(50%) scale(0.95);
    transform-origin: bottom center;
  }
  
  .contact-item:hover .contact-popup,
  .contact-item:active .contact-popup,
  .contact-item:focus .contact-popup {
    bottom: calc(100% + 12px);
    right: 50%;
    transform: translateX(50%) scale(1);
  }

  /* 移动端小箭头指向下方 */
  .contact-popup::after {
    right: 50%;
    top: auto;
    bottom: -6px;
    transform: translateX(50%);
    border-top: 6px solid #fff;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: none;
  }
  
  .contact-popup::before {
    right: 50%;
    top: auto;
    bottom: -7px;
    transform: translateX(50%);
    border-top: 7px solid var(--line);
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: none;
  }
}