html {
  font-size: 14px;
}

.content {
  width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.content h2 {
  font-size: 16px;
  color: var(--T5);
  font-weight: 400;
  text-align: center;
  margin-bottom: 12px;
}

.content section {
  font-size: 31px;
  font-weight: 600;
  text-align: center;
  line-height: 38px;
  width: 400px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 36px;
}

/* 顶部导航栏目 */
header {
  width: 100%;
  background: linear-gradient(90deg, var(--gray-1), var(--gray-2));
}

header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  height: 64px;
  padding: 0 16px;
}

header .logo {
  width: 160px;
  overflow: hidden;
}

header .logo img {
  width: 100%;
}

header ul {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header li {
  padding: 0 16px;
}

header li a {
  color: var(--T2);
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
}

header li a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Banner */
.banner {
  width: 100%;
  height: 680px;
  background: linear-gradient(90deg, var(--gray-1), var(--gray-2));
}

.banner article {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
}

.banner-word {
  width: 40%;
}

.banner-img {
  width: 454px;
  height: 365px;
  background-position: center;
  background-size: cover;
}

.banner h2 {
  font-size: 40px;
  font-weight: 500;
  line-height: 48px;
  color: var(--T1);
  text-align: left;
  margin-top: 0;
}

.banner p {
  font-size: 16px;
  color: var(--T2);
  line-height: 24px;
  margin-top: 32px;
}


/* 关于我们 */
.about {
  padding-top: 40px;
}

.about p {
  font-size: 16px;
  color: var(--T2);
  line-height: 26px;
}

.about ul {
  display: flex;
  justify-content: space-between;
}

.about ul li {
  border-radius: var(--border-radius);
  display: flex;
  flex-direction: column;
  height: 440px;
  justify-content: space-between;
  padding: 24px 20px;
  width: 32%;
  cursor: pointer;
  background-color: #F6F6F6;
}

.about ul li:hover {
  box-shadow: var(--box-shadow);
}

.about ul li .img{
  background-position: 50%;
  background-size: cover;
  border-radius: 8px;
  height: 180px;
  width: 100%;
}

.about ul li p {
  font-size: 14px;
  line-height: 20px;
  color: var(--T2);
  margin-bottom: 0;
}

.about ul li p strong {
  color: var(--T1);
  font-size: 16px;
}


/* 我们的优势 */
.advantages .content {
  height: 440px;
  border-radius: var(--border-radius);
  margin-top: 140px;
  color: #fff;
  background-color: var(--B5);
}

.advantages h2, .advantages section {
  text-align: left;
}

.advantages ul {
  counter-reset: sectioncounter;
}
.advantages li {
  position: relative;
  color: var(--T6);
  font-size: 16px;
  line-height: 32px;
  margin-bottom: 4px;
  padding-left: 24px;
}
.advantages li:before {
  color: var(--T6);
  content: counter(sectioncounter) ". ";
  counter-increment: sectioncounter;
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  padding-right: 12px;
  position: absolute;
  top: 6px;
  left: 0;
}

.advantages-layout {
  display: flex;
  justify-content: space-between;
  padding: 52px;
}

.advantages-layout-left {
  background-color: var(--B3);
  padding: 60px 40px;
  border-radius: var(--border-radius);
}
.advantages-layout-left img {
  width: 192px;
}

/* 成功案例 */
.success {
  margin-top: 100px;
  padding-top: 40px;
}
.success ul {
  display: flex;
  flex-wrap: wrap;
}

.success ul li {
  display: flex;
  align-items: center;
  width: 25%;
  text-align: center;
  padding: 28px 48px;
}

.success ul li img {
  width: 100%
}


/* 联系我们 */
.contact {
  margin-top: 140px;
}

.contact-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 340px;
  border-radius: var(--border-radius);
  padding: 24px 140px 24px 120px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--gray-2), var(--gray-3));
}

.contact-types {
  width: 57%;
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  color: var(--T2);
}

.contact-types h3 {
  display: block;
  width: 70%;
  margin: 0;
  font-size: 18px;
}

.contact-tool {
  display: block;
  width: 100%;
}

.contact-tool h3:nth-child(2) {
  margin-top: 12px;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 64px;
  text-align: center;
  background-color: var(--B5);
  color: var(--T6);
  font-size: 13px;
  margin-top: 80px;
}

footer .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
footer ul {
  display: flex;
  align-items: center;
}
footer ul li {
  padding: 0 12px;
}

footer p {
  margin: 0;
}