/* =========================================================
   广东鑫鑫官网 — 设计变量
   ========================================================= */
:root {
  --color-primary: #0D6FFF;
  --color-hero-start: #0a1638;
  --color-hero-end: #1a3a6e;
  --color-page-soft: #F6F8F9;
  --color-footer: #0C1A46;
  --color-text: #333333;
  --color-muted: #666666;
  --color-copyright: #999999;

  --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --wrap: 1120px;
  --page-gutter: 16px;
}

/* =========================================================
   基础
   ========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #d8d8d8 #f1f1f1;
}

body {
  margin: 0;
  color: var(--color-text);
  font-family: var(--font);
  background: var(--color-page-soft);
}

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

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

h1,
h2,
p {
  margin: 0;
}

.wrap {
  width: min(var(--wrap), calc(100% - var(--page-gutter) * 2));
  margin-inline: auto;
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: #d8d8d8;
  border-radius: 10px;
}

/* =========================================================
   头图
   ========================================================= */
.hero {
  position: relative;
  min-height: 700px;
  /* display: flex;
  align-items: center;
  justify-content: center; */
  background: url("./hero.png") no-repeat center center;
  background-size: cover;
}

.hero-banner {
  padding-top: 114px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.hero-title {
  font-weight: 800;
  font-size: 72px;
  /* line-height: 1.15; */
  color: #fff;
}

.hero-subtitle {
  margin-top: 28px;
  font-weight: 500;
  font-size: 28px;
  color: #fff;
}

/* =========================================================
   介绍区间距 + 白卡
   ========================================================= */
.box-card {
  position: absolute;
  top: 644px;
  right: 400px;
  width: 1064px;
  height: 306px;
  background: #FFFFFF;
  box-shadow: 0px 4px 4px 0px #F0F3F8;
  border-radius: 12px 12px 12px 12px;
  padding-top: 60px;
  display: flex;
  align-items: center;
  flex-direction: column;

  .box-card-title {
    font-weight: normal;
    font-size: 26px;
    color: #333333;
  }

  .box-card-line {
    margin-top: 16px;
    width: 24px;
    height: 2px;
    background: #0D6FFF;
    border-radius: 0px 0px 0px 0px;
  }

  .box-card-text {
    width: 824px;
    margin-top: 24px;
    font-weight: normal;
    font-size: 16px;
    color: #666666;
  }
}

.intro-spacer {
  height: 420px;
  background: #F6F8F9;
}

.intro-card {
  position: relative;
  margin-top: -306px;
  padding-bottom: 80px;
}

.intro-card-inner {
  margin-left: auto;
  max-width: 1064px;
  min-height: 306px;
  padding: 60px 40px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 4px 0 #F0F3F8;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.intro-card-title {
  font-weight: normal;
  font-size: 26px;
  color: var(--color-text);
}

.intro-card-line {
  margin-top: 16px;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 0;
}

.intro-card-text {
  max-width: 824px;
  margin-top: 24px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-muted);
}

/* =========================================================
   页脚
   ========================================================= */
.footer-contact {
  background: var(--color-footer);
  padding: 40px 0 32px;
}

.footer-contact-title {
  font-weight: normal;
  font-size: 26px;
  color: #fff;
}

.footer-contact-note {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.7;
  color: #fff;
}

.footer-contact-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #fff;
}

.footer-contact-list .icon {
  width: 18px;
  height: 18px;
  flex: none;
}

.footer-copyright {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.footer-copyright a {
  font-size: 13px;
  color: var(--color-copyright);
}

.footer-copyright a:hover {
  color: var(--color-text);
}

/* =========================================================
   响应式
   ========================================================= */
@media (max-width: 1200px) {
  .intro-card-inner {
    max-width: none;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: 520px;
  }

  .hero-title {
    font-size: 48px;
  }

  .hero-subtitle {
    font-size: 20px;
    margin-top: 20px;
  }

  .intro-spacer {
    height: 120px;
  }

  .intro-card {
    margin-top: -80px;
    padding-bottom: 48px;
  }

  .intro-card-inner {
    padding: 40px 24px;
  }

  .intro-card-title {
    font-size: 22px;
  }

  .intro-card-text {
    font-size: 15px;
    text-align: left;
  }

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

@media (max-width: 600px) {
  .wrap {
    width: min(calc(100% - 24px), var(--wrap));
  }

  .hero {
    min-height: 420px;
  }

  .hero-title {
    font-size: 32px;
  }

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

  .intro-spacer {
    height: 60px;
  }

  .intro-card {
    margin-top: -40px;
  }

  .intro-card-inner {
    padding: 32px 18px;
    min-height: 0;
  }

  .footer-contact {
    padding: 32px 0 24px;
  }

  .footer-contact-title {
    font-size: 22px;
  }

  .footer-copyright {
    height: auto;
    min-height: 60px;
    padding: 16px;
    text-align: center;
  }

  .footer-copyright a {
    font-size: 12px;
    line-height: 1.7;
  }
}