:root {
  --page-width: 1440px;
  --text: #1f2329;
  --muted: #5d6672;
  --line: rgba(42, 73, 110, 0.12);
  --red: #f04438;
  --navy: #1d2a38;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  overflow-x: hidden;
  scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: #fff;
  font-family: "Source Han Sans CN" -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  text-rendering: geometricPrecision;
}

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

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  height: clamp(50px, 4.861111vw, 70px);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 4px rgba(30, 110, 223, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 0 48px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  height: 100%;
}

.brand-logo {
  display: block;
  flex: 0 0 auto;
  width: 100px;
  height: 28px;
  object-fit: contain;
}

.brand-slogan {
  display: block;
  flex: 0 0 auto;
  width: 174px;
  height: 50px;
  margin-left: 48px;
  object-fit: contain;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  aspect-ratio: 1440 / 820;
  height: 56.944vw;
  overflow: hidden;
  background: #f3efe9 url("./assets/header-bg.png") center top / cover no-repeat;
}

.hero::before,
.hero::after {
  display: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-left: 0;
  padding: 0 clamp(18px, 4.167vw, 60px);
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  color: #1c1f24;
  font-size: clamp(24px, 4.167vw, 60px);
  font-family: "Source Han Sans CN";
  font-weight: 800;
  line-height: 1.16;
}

.hero p {
  max-width: 720px;
  margin: clamp(8px, 1.944vw, 28px) 0 0;
  color: #262a30;
  font-size: clamp(13px, 1.667vw, 24px);
  font-family: "Source Han Sans CN";
  line-height: 1.45;
}

.advantages {
  position: relative;
  height: 600px;
  overflow: hidden;
  padding: 75px 48px;
  background: url("./assets/section-1-bg.png") center top / cover no-repeat;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 300px);
  justify-content: space-between;
  width: 100%;
}

.advantage-card {
  position: relative;
  width: 300px;
  height: 450px;
  overflow: hidden;
  padding: 23px 24px 0px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.00);
  text-align: center;
  background-color: #fff;
}
.advantage-card.card-1 {
  background: #FFF url("./assets/section-1-1-bg.png") center top / cover no-repeat;
}
.advantage-card.card-2 {
  background: #FFF url("./assets/section-1-2-bg.png") center top / cover no-repeat;
}
.advantage-card.card-3 {
  background: #FFF url("./assets/section-1-3-bg.png") center top / cover no-repeat;
}
.advantage-card.card-4 {
  background: #FFF url("./assets/section-1-4-bg.png") center top / cover no-repeat;
}


.advantage-card h2 {
  margin: 0;
  color: #222;
  font-family: "Source Han Sans CN";
  text-align: left;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.advantage-card p {
  margin: 15px 0 0;
  color: #666;
  font-family: "Source Han Sans CN";
  text-align: left;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 30px; /* 187.5% */
  letter-spacing: 2px;
}
.advantage-card img {
  margin: 48px auto 0px;
  width: 160px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 300px;
  background: #223247;
}

.stat-item {
  flex: 1;
  display: flex;
  align-items: center;
  text-align: center;
}
.stat-item .content-inner {
  width: 100%;
}

.stat-item-enterprise {
  background: url("./assets/section-2-1.png") center top / cover no-repeat;

}

.stat-item-family {
  background: url("./assets/section-2-2.png") center top / cover no-repeat;
}

.stat-item-service {
  background: url("./assets/section-2-3.png") center top / cover no-repeat;
}

.stat-item-system {
  background: url("./assets/section-2-4.png") center top / cover no-repeat;
}

.stat-item h2 {
  margin: 0;
  color: #FFF;
  font-family: "Source Han Sans CN";
  font-size: clamp(26px, 4.167vw, 60px);
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  display: block;
}
.stat-item p {
  margin: 8px 0px 0px;
  color: #FFF;
  font-family: "Source Han Sans CN";
  font-size: clamp(12px, 1.25vw, 18px);
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  display: block;
}
.stat-item small {
  color: #FFF;
  font-family: "Source Han Sans CN";
  font-size: clamp(16px, 2.222vw, 32px);
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.about {
  position: relative;
  min-height: 439px;
  overflow: hidden;
  padding: 60px 48px;
  background: #f7f9fb url("./assets/about-me-bg.png") center top / cover no-repeat;
}

.about::after {
  display: none;
}

.about-inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.about h2 {
  margin: 0;
  color: #222;
  font-family: "Source Han Sans CN";
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 5px;
  text-align: center;
}

.about-panel {
  margin-top: 23px;
  width: 100%;
  padding: 48px;
  border-radius: 16px;
  border: 2px solid #E3E3E3;
  background: rgba(255, 255, 255, 0.60);
  box-shadow: 0 4px 8px 4px rgba(153, 153, 153, 0.10);
  background: #f7f9fb url("./assets/about-me-content-bg.png") center top / cover no-repeat;
}

.about-panel p {
  margin: 0;
  color: #222;
  font-family: "Source Han Sans CN";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 30px; /* 187.5% */
}

.about-panel p + p {
  margin-top: 16px;
}

.site-footer {
  background: #1F2937;
  color: rgba(255, 255, 255, 0.68);
}

.footer-inner {
  width: 100%;
  padding: 24px 48px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 24px;
  height: 28px;
  line-height: 28px;
}

.footer-logo {
  flex: 0 0 auto;
  color: #999999;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.footer-slogan {
  color: #999;
  font-family: "Source Han Sans CN";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.contact {
  display: flex;
  align-items: center;
  margin: 0;
  color: #999;
  text-align: right;
  font-family: "Source Han Sans CN";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px; /* 142.857% */
}
.contact-line,
.contact-line-2 {
  margin: 0 8px;
  width: 1px;
  height: 12px;
  background: #A1A1A1;
}

.copyright {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);;
  display: flex;
  flex-wrap: wrap;
  color: #A1A1A1;
  font-family: "Source Han Sans CN";
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px; /* 133.333% */
  align-items: center;
}
.copyright-addr {
  margin-right: 24px;
}
.copyright a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 1180px) {
  .advantages {
    height: auto;
  }

  .advantages-grid {
    grid-template-columns: repeat(2, 300px);
    justify-content: center;
    gap: 32px;
  }

  .footer-top {
    align-items: flex-start;
  }

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

@media (max-width: 900px) {
  .hero {
    background-position: center top;
  }

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

  .stats {
    grid-template-columns: repeat(2, 1fr);
    height: auto;
  }

  .stat-item {
    height: 300px;
  }

  .stat-item h2 {
    font-size: clamp(40px, 7vw, 60px);
  }

  .stat-item p {
    font-size: clamp(14px, 2vw, 18px);
  }

  .stat-item small {
    font-size: clamp(22px, 4vw, 32px);
  }
}

@media (max-width: 750px) {
  .site-header {
    height: clamp(50px, 4.861111vw, 70px);
  }

  .header-inner {
    padding: 0 18px;
  }

  .brand-logo {
    width: 100px;
    height: 28px;
  }

  .brand-slogan {
    width: 122px;
    height: 35px;
    margin-left: 18px;
  }

  .hero {
    background-position: center top;
  }

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

  .hero h1 {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .hero p {
    max-width: min(330px, 100%);
  }

  .advantages {
    padding: 38px 18px 44px;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
    background-size: 100% 100%;
    gap: 18px;
  }

  .advantage-card {
    background-color: #fff;
    width: 100%;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item {
    height: 176px;
    background-size: cover;
  }

  .footer-inner {
    padding: 24px 24px;
  }

  .footer-slogan {
    white-space: normal;
  }

  .contact-line {
    display: none;
  }
  .contact-addr,
  .contact-phone {
    text-align: left;
  }
  .contact-phone {
    margin-left: 16px;
  }
  /* .contact {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  } */
  .copyright {
    font-size: 12px;
    line-height: 20px;
  }
  .copyright-addr {
    margin-right: 16px;
  }
}

@media (max-width: 560px) {

  .hero h1 {
    font-size: 22px;
    line-height: 1.16;
  }

  .hero p {
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.4;
  }

  .contact {
    flex-direction: column;
    align-items: flex-start;
  }
  .contact-phone {
    margin-left: 0;
  }
}
