:root {
  color-scheme: dark;
  --bg: #0e1414;
  --cyan: #00b1cc;
  --card-bg: rgba(0, 177, 204, 0.03);
  --card-line: rgba(0, 177, 204, 0.1);
  --text-muted: rgba(255, 255, 255, 0.6);
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  background: var(--bg);
  color: #fff;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}
button {
  font: inherit;
}
main {
  overflow: hidden;
}
.contact-inner {
  width: 1280px;
  max-width: calc(100% - 48px);
  margin: 0 auto;
}

/* ---------- 卡片标题：左侧青蓝色竖条 + 标题 ---------- */
.card-title {
  display: flex;
  align-items: center;
  height: 36px;
}
.card-title__bar {
  flex: none;
  width: 4px;
  height: 28px;
  margin-right: 12px;
  background: var(--cyan);
  border-radius: 2px;
}
.card-title h2 {
  margin: 0;
  font-size: 28px;
  line-height: 36px;
  font-weight: 500;
  color: #ffffff;
}
.card-body {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 28px;
  color: var(--text-muted);
}

/* ---------- 第一部分：品牌定位 ---------- */
.contact-brand {
  position: relative;
  min-height: 424px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 72px 24px 56px;
  background-color: var(--bg);
  background-image: url("/site-media/image/pricing/pricing-bg.png");
  background-position: center 178px;
  background-size: 1440px 495px;
  background-repeat: no-repeat;
}
.contact-brand__inner {
  width: 1280px;
  max-width: 100%;
  margin-top: 12px;
  text-align: center;
}
.contact-brand h1 {
  margin: 0;
  font-size: 40px;
  line-height: 56px;
  font-weight: 700;
  color: #ffffff;
}
.contact-brand__desc {
  margin: 16px 0 0;
  font-size: 20px;
  line-height: 32px;
  color: rgba(255, 255, 255, 0.4);
}

/* ---------- 第二部分：公司信息 / 核心能力 ---------- */
.contact-about {
  padding: 120px 24px 0;
  border-top: 1px solid rgba(0, 177, 204, 0.1);
}
.about-grid {
  display: grid;
  grid-template-columns: 498px 758px;
  gap: 24px;
}
.about-grid__right {
  display: grid;
  grid-template-rows: 238px 266px;
  gap: 24px;
}
.about-card {
  background: var(--card-bg);
  border: 1px solid var(--card-line);
  border-radius: 16px;
  padding: 32px;
}
.about-card--intro {
  height: 528px;
  display: flex;
  flex-direction: column;
}
.about-card__media {
  margin-top: auto;
  width: 434px;
  max-width: 100%;
  height: 244px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0, 177, 204, 0.06);
}
.about-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- 第三部分：服务能力 ---------- */
.contact-service {
  display: flow-root;
  padding: 0 24px 120px;
}
.service-card {
  margin-top: 24px;
  background: var(--card-bg);
  border: 1px solid var(--card-line);
  border-radius: 16px;
  padding: 32px;
  min-height: 280px;
}
.service-card__lead {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 24px;
  color: rgba(255, 255, 255, 0.4);
}
.service-tags {
  margin-top: 40px;
}
.service-tags__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.service-tags__row + .service-tags__row {
  margin-top: 32px;
}
.service-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.service-tag img {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  display: block;
}
.service-tag span {
  font-size: 20px;
  line-height: 28px;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ---------- 第四部分：联系我们 ---------- */
.contact-info {
  position: relative;
  min-height: 608px;
  padding: 96px 24px 120px;
  overflow: hidden;
}
.contact-about,
.contact-service,
.contact-info {
  background: #0E1616;
}
.contact-info__glow {
  position: absolute;
  z-index: 0;
  width: 1280px;
  height: 128px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, calc(-50% - 40px));
  background: radial-gradient(50% 50% at 50% 50%, rgba(0, 177, 204, 0.32) 0%, rgba(0, 177, 204, 0) 90%);
  filter: blur(52px);
  pointer-events: none;
}
.contact-info > .contact-inner {
  position: relative;
  z-index: 1;
}
.contact-info__title {
  margin: 0;
  text-align: center;
  font-size: 40px;
  line-height: 56px;
  font-weight: 600;
  color: #ffffff;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 302px);
  gap: 24px;
  justify-content: center;
  margin-top: 64px;
}
.contact-card {
  display: flex;
  flex-direction: column;
  width: 302px;
  height: 216px;
  padding: 16px;
  background: rgba(0, 177, 204, 0.01);
  border: 1px solid var(--card-line);
  border-radius: 8px;
}
.contact-card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
  color: #ffffff;
}
.contact-card__desc {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.4);
}
.contact-card__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}
.contact-card__contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.contact-card__contact strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
}
.contact-card__icon {
  flex: none;
  width: 16px;
  height: 16px;
  object-fit: contain;
}
.contact-card__contact span {
  font-size: 12px;
  line-height: 18px;
  color: rgba(255, 255, 255, 0.4);
}
.contact-card__qrcode {
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: 4px;
  object-fit: cover;
}
.contact-card__email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: #ffffff;
  text-decoration: none;
}
.contact-card__email:hover {
  color: #12c5df;
}
.contact-card__feedback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 104px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 20px;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.contact-card__feedback:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
}
.contact-card__feedback:focus-visible {
  outline: 2px solid #65dff0;
  outline-offset: 3px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1280px) {
  .about-grid {
    grid-template-columns: 1fr;
    max-width: 758px;
    margin: 0 auto;
  }
  .about-grid__right {
    grid-template-rows: none;
  }
  .about-card--intro {
    height: auto;
  }
  .about-card__media {
    width: 100%;
  }
  .contact-grid {
    grid-template-columns: repeat(2, 302px);
  }
}
@media (max-width: 720px) {
  .contact-brand {
    min-height: 360px;
    padding: 72px 20px 48px;
  }
  .contact-brand h1 {
    font-size: 28px;
    line-height: 40px;
  }
  .contact-brand__desc {
    font-size: 16px;
    line-height: 26px;
  }
  .contact-about {
    padding: 64px 20px 0;
  }
  .service-card {
    padding: 24px;
  }
  .service-tags__row {
    flex-wrap: wrap;
    gap: 20px 28px;
    justify-content: flex-start;
  }
  .contact-info {
    padding: 72px 20px 96px;
  }
  .contact-info__title {
    font-size: 32px;
    line-height: 44px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 44px auto 0;
  }
  .contact-card {
    width: 100%;
  }
}
