/* ===============================
    主题变量（便于二次编辑）
=============================== */
:root {
  /* 主色 */
  --color-primary: #064d81; /* 主蓝色（横幅背景） */
  --color-primary-dark: #053a61; /* 深蓝 */

  /* 强调色（标题） */
  --color-accent: #ba521c; /* 橙棕色（中文小标题） */
  --color-accent-dark: #883d1e; /* 深棕（英文小标题） */

  /* 文本色 */
  --color-text: #333333; /* 正文 */
  --color-text-light: #ffffff; /* 反白文字 */
  --color-text-muted: #999999; /* 弱化文字 */

  /* 背景色 */
  --color-bg-page: #ffffff; /* 页面背景 */
  --color-bg-soft: #f5f5f5; /* 浅灰背景 */
  --color-bg-dark: #1f2022; /* 深色背景（页脚） */
  --color-bg-dark-2: #363739; /* 页脚卡片背景 */

  /* 阴影 / 边框 */
  --color-shadow: rgba(0, 0, 0, 0.35);
  --color-border-dark: #999999;

  /* 尺寸 */
  --container-max: 1280px;
  --header-h: 90px;
  --banner-h: 340px;

  /* 圆角 */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 30px;
}

* {
  box-sizing: border-box;
}
html,
body {
  width: 100%;
  margin: 0;
  padding: 0;
}
body {
  font-size: 14px;
  background: var(--color-bg-page);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 16px;
}

/* ===============================
           顶部 Logo / 联系区
        =============================== */
.topbar {
  position: relative;
  z-index: 5;
  background: transparent;
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  height: var(--header-h);
  color: var(--color-text-light);
}
.topbar__logo {
  height: 76px;
  display: flex;
  align-items: center;
}
.topbar__logo img {
  height: 100%;
}
.topbar__contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  font-size: 16px;
}
.topbar__phone {
  display: none; /* 原始即为隐藏，保留以便启用 */
  height: 34px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  line-height: 32px;
  gap: 12px;
  color: var(--color-text-light);
}

/* ===============================
           横幅
        =============================== */
.banner {
  margin-top: calc(var(--header-h) * -1);
  background-color: var(--color-primary);
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.banner .swiper-wrapper {
  height: 100%;
}
.banner-slide {
  position: relative;
  height: var(--banner-h);
  color: var(--color-text-light);
  text-align: center;
}
.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.banner-text {
  position: absolute;
  z-index: 2;
  top: 45%;
  left: 50%;
  transform: translate(-50%, 0);
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  color: var(--color-text-light);
  font-family: "Source Han Sans CN", "Microsoft YaHei", sans-serif;
  font-weight: 700;
  line-height: 1;
  font-size: 60px;
  gap: 24px;
  padding: 0 16px;
}
.banner-text span {
  display: inline-block;
}

/* ===============================
           通用模块标题
        =============================== */
.section {
  padding: 50px 0;
}
.section-title {
  display: flex;
  justify-content: flex-start;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 32px;
  line-height: 1;
}
.section-title__zh {
  font-size: 20px;
  color: var(--color-accent);
  font-weight: 700;
}
.section-title__en {
  font-size: 16px;
  color: var(--color-accent-dark);
  font-variant-caps: all-small-caps;
}

/* ===============================
           公司简介
        =============================== */
.profile {
  display: flex;
  flex-wrap: wrap;
  gap: 100px;
  align-items: center;
}
.profile__media {
  flex: 1 1 320px;
  min-width: 260px;
  max-width: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 500px;
}
.profile__media img {
  width: 100%;
  height: 100%;
  max-height: 500px;
  object-fit: cover;
  object-position: center top;
}
.profile__content {
  flex: 1 1 480px;
  font-size: 16px;
  line-height: 2;
  color: var(--color-text);
  padding: 8px 0;
}
.profile__content p {
  margin: 0;
  text-indent: 2em;
  line-height: 2;
}

/* ===============================
           主营业务
        =============================== */
.business {
  background: var(--color-bg-page);
}
.business__list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.business__item {
  flex: 1 1 300px;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.business__cover {
  position: relative;
  flex: 1 1 auto;
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: 168px;
}
.business__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.business__caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--color-text-light);
  text-shadow: 0 0 5px var(--color-shadow);
  font-weight: 700;
  font-family: "Source Han Sans CN", "Microsoft YaHei", sans-serif;
  font-size: 36px;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}
.business__caption small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  margin-top: 4px;
}
.business__name {
  text-align: center;
  font-size: 16px;
  line-height: 1;
  color: var(--color-text);
}

/* ===============================
           友情链接
        =============================== */
.friendly {
  background: var(--color-bg-soft);
}
.friendly .swiper {
  width: 100%;
  overflow: hidden;
}
.friendly .swiper-wrapper {
  display: flex;
  height: 115px;
}
.friendly .swiper-slide {
  width: 250px;
  height: 115px;
  margin-right: 16px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.friendly .swiper-slide img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  margin: 5px;
}
.friendly .swiper-slide.cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  margin: 0;
}

/* ===============================
           联系信息
        =============================== */
.contact {
  background: var(--color-bg-dark);
  color: var(--color-text-light);
  font-size: 12px;
  border-bottom: 1px solid var(--color-border-dark);
}
.contact__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 24px;
  padding: 30px 0;
}
.contact__platform {
  flex: 0 0 260px;
  display: flex;
  align-items: center;
}
.contact__platform a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
  height: 32px;
  border-radius: 16px;
  background: var(--color-bg-dark-2);
  color: var(--color-text-light);
  line-height: 1;
}
.contact__info {
  flex: 1 1 320px;
  font-size: 14px;
  line-height: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact__info-title {
  height: 34px;
  line-height: 34px;
}
.contact__info-detail {
  white-space: pre-line;
}
.contact__links {
  flex: 0 0 280px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact__links-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  height: 34px;
  background: var(--color-bg-dark-2);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-light);
}
.contact__links-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--color-bg-dark-2);
  font-size: 12px;
}
.contact__links-list a {
  color: var(--color-text-light);
  line-height: 1.6;
}

/* ===============================
           版权信息
        =============================== */
.copyright {
  background: var(--color-bg-dark);
  color: var(--color-text-light);
  font-size: 12px;
}
.copyright__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
  min-height: 40px;
  padding: 8px 16px;
  text-align: center;
}
.copyright a {
  color: var(--color-text-light);
}

/* ===============================
           响应式：平板
        =============================== */
@media (max-width: 1024px) {
  :root {
    --banner-h: 300px;
  }
  .banner-text {
    font-size: 44px;
    gap: 16px;
  }
  .business__item {
    flex: 1 1 45%;
  }
  .friendly .swiper-slide {
    width: 200px;
  }
}

/* ===============================
           响应式：移动端
        =============================== */
@media (max-width: 768px) {
  :root {
    --header-h: 64px;
    --banner-h: 240px;
  }
  .container {
    padding: 0 14px;
  }

  .topbar__logo {
    height: 48px;
  }
  .topbar__contact {
    font-size: 14px;
  }

  .banner {
    margin-top: calc(var(--header-h) * -1);
  }
  .banner-text {
    font-size: 28px;
    gap: 10px;
    line-height: 1.2;
  }
  .banner-text span {
    margin: 0 !important;
  }

  .section {
    padding: 32px 0;
  }
  .section-title {
    margin-bottom: 20px;
  }
  .section-title__zh {
    font-size: 18px;
  }

  .profile {
    gap: 20px;
  }
  .profile__media {
    max-width: 100%;
    flex: 1 1 100%;
  }
  .profile__media img {
    /* max-height: 280px; */
  }
  .profile__content {
    font-size: 15px;
    flex: 1 1 100%;
  }

  .business__list {
    gap: 16px;
  }
  .business__item {
    flex: 1 1 100%;
    min-width: 0;
  }
  .business__cover {
    min-height: 180px;
  }
  .business__caption {
    font-size: 28px;
  }

  .friendly .swiper-slide {
    width: 160px;
    height: 90px;
  }

  .contact__inner {
    gap: 20px;
    padding: 24px 0;
  }
  .contact__platform,
  .contact__links {
    flex: 1 1 100%;
  }
  .contact__info {
    flex: 1 1 100%;
    order: 3;
  }

  .copyright__inner {
    font-size: 11px;
    gap: 8px;
  }
}

/* ===============================
           响应式：超大屏
        =============================== */
@media (min-width: 1440px) {
  :root {
    --banner-h: 380px;
  }
  .banner-text {
    font-size: 68px;
  }
}
