* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  color: #1f2933;
  background: #fff;
  line-height: 1.7;
}

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

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

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: #eaf1ff;
  color: #2563eb;
  flex: 0 0 auto;
}

.icon::before {
  width: 36px;
  height: 36px;
  background: currentColor;
  content: "";
  display: block;
}

.icon-calendar::before {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 2a1 1 0 0 1 1 1v1h8V3a1 1 0 1 1 2 0v1h1a3 3 0 0 1 3 3v12a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3V7a3 3 0 0 1 3-3h1V3a1 1 0 0 1 1-1Zm12 8H5v9a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-9ZM6 6a1 1 0 0 0-1 1v1h14V7a1 1 0 0 0-1-1H6Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.icon-location::before {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7Zm0 9.5A2.5 2.5 0 1 1 12 6a2.5 2.5 0 0 1 0 5.5Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.icon-check::before {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9.2 16.6 4.9 12.3a1 1 0 0 0-1.4 1.4l5 5a1 1 0 0 0 1.4 0l10.6-10.6a1 1 0 0 0-1.4-1.4L9.2 16.6Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.icon-mail::before {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 5h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2Zm8 8 8-5.2V7l-8 5.2L4 7v.8L12 13Zm-8-3.1V17h16V9.9l-7.5 4.9a1 1 0 0 1-1.1 0L4 9.9Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.logo img {
  height: 52px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 15px;
  color: #263238;
}

.nav a:hover,
.footer a:hover {
  color: #2563eb;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
}

.hero {
  min-height: 560px;
  display: flex;
  align-items: center;
  text-align: center;

  background:
    linear-gradient(rgb(183, 235, 241, 0.75), rgba(231, 243, 198, 0.75)),
    url("images/header.webp") center center / cover no-repeat;
}

.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.15;
  font-weight: 700;
}

.hero p {
  margin: 0 auto;
  max-width: 760px;
  font-size: 22px;
  color: #52616b;
}

.hero-buttons {
  margin-top: 36px;
  display: flex;
  justify-content: center;
  gap: 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 4px;
  font-weight: 600;
}

.button.primary {
  background: #fff;
  color: #2563eb;
  border: 1px solid #2563eb;
}

.button.secondary {
  border: 1px solid #2563eb;
  color: #2563eb;
  background: #fff;
}

.section {
  padding: 88px 0;
}

.light {
  background: #e5ebf5;
}

h2 {
  margin: 0 0 28px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.2;
}

h3,
h4,
p {
  margin-top: 0;
}

.center {
  text-align: center;
}

.two-col {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.about-layout {
  display: grid;
  gap: 24px;
}

.about-layout h2,
.contact-layout h2 {
  margin-bottom: 0;
}

.about-layout .about-text {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.about-layout .facts {
  display: grid;
  grid-template-columns: repeat(2, 400px);
  gap: 0;
  margin: 24px auto 0;
  max-width: 900px;
}

.contact-layout {
  display: grid;
  gap: 34px;
}

.contact-box {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
}

.contact-info {
  display: grid;
  align-content: center;
}

.about-text p {
  font-size: 20px;
  color: #52616b;
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 34px;
}

.facts div,
.expertise-item,
.process-grid div,
.contact-box,
.service-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.facts div {
  padding: 18px 24px;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  column-gap: 18px;
  align-items: center;
  text-align: left;
}

.facts span:not(.icon),
.contact-row span:not(.icon) {
  display: block;
  color: #6b7280;
  font-size: 14px;
  margin-bottom: 8px;
}

.facts strong,
.contact-row strong {
  font-size: 18px;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.expertise-item {
  padding: 28px 30px;
  min-height: 150px;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  column-gap: 18px;
  align-content: center;
  align-items: center;
  text-align: left;
}

.expertise-item .icon {
  grid-row: 1 / span 2;
  align-self: center;
}

.expertise-item p {
  grid-column: 2;
}

.expertise-item h4 {
  margin-bottom: 10px;
  font-size: 19px;
}

.expertise-item p {
  color: #52616b;
  margin-bottom: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 42px;
}

.service-card {
  overflow: hidden;
}

.service-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.card-body {
  padding: 24px;
}

.card-body h3 {
  font-size: 21px;
  margin-bottom: 14px;
}

.card-body ul {
  margin: 0;
  padding-left: 20px;
  color: #52616b;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  margin-top: 42px;
}

.process-grid div {
  padding: 22px 18px;
  min-height: 130px;

  display: flex;
  flex-direction: column;
 
  align-items: center;       /* 左右居中 */
  text-align: center;        /* 文字居中 */
}

.process-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  
  margin-bottom: 18px;
  border-radius: 50%;
  background: #2563eb;
  color: #fff;
  font-weight: 700;
}

.process-grid p {
  font-weight: 600;
  margin: 0;
}

.cta {
  padding: 78px 0;
  text-align: center;
  color: #fff;
  background: #2d65ff;
}

.cta h2 {
  margin-bottom: 12px;
}

.cta p {
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.82);
}

.contact-box {
  overflow: hidden;
}

.map {
  width: 100%;
  height: 330px;
  object-fit: cover;
}

.contact-row {
  min-height: 165px;
  padding: 26px 32px;
  border-left: 1px solid #e5e7eb;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  column-gap: 18px;
  align-content: center;
  align-items: center;
  text-align: left;
}

.contact-row + .contact-row {
  border-top: 1px solid #e5e7eb;
}

.contact-row a {
  color:  #1f2933;
}

.footer a {
  color: #d1d5db;
}

.footer {
  padding: 62px 0 28px;
  color: #d1d5db;
  background: #111827;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
}

.footer h3 {
  color: #fff;
  margin-bottom: 14px;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.copyright {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #9ca3af;
  font-size: 14px;
}

@media (max-width: 960px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 14px 24px;
  }

  .two-col,
  .footer-grid,
  .contact-box {
    grid-template-columns: 1fr;
  }

  .contact-row {
    border-left: 0;
    border-top: 1px solid #e5e7eb;
  }

  .expertise-grid,
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .logo img {
    height: 42px;
  }

  .hero {
    min-height: 470px;
  }

  .hero p {
    font-size: 18px;
  }

  .hero-buttons,
  .facts,
  .expertise-grid,
  .services-grid,
  .process-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }
}

.facts .icon,
.contact-row .icon {
  grid-row: 1 / span 2;
  grid-column: 1;
  margin: 0;
}

.facts span:not(.icon),
.facts strong,
.contact-row span:not(.icon),
.contact-row strong {
  grid-column: 2;
}

.facts span:not(.icon),
.contact-row span:not(.icon) {
  margin-bottom: 2px;
}

.facts strong,
.contact-row strong {
  line-height: 1.45;
}

@media (max-width: 960px) {
  .contact-row {
    min-height: auto;
    align-items: center;
  }
}

@media (max-width: 640px) {
  .expertise-item {
    grid-template-columns: 50px minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .about-layout .facts {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
    gap: 16px;
    margin: 24px 0 0;
  }

  .facts div {
    grid-template-columns: 50px minmax(0, 1fr);
    column-gap: 16px;
    padding: 18px;
    width: 100%;
  }
}
