body { background: #fff; }
.site-header a[aria-current="page"] { color: var(--accent); }
.customer-hero {
  min-height: 366px;
  padding: 72px 24px 128px;
  text-align: center;
  background: #eef5ff url("imgs/customers/covers/hero.webp") center 57% / cover no-repeat;
}
.customer-hero h1 {
  font-size: clamp(52px, 5.45vw, 82px);
  line-height: 1.18;
  letter-spacing: -.046em;
  font-weight: 750;
}
.customer-hero p {
  margin-top: 20px;
  color: #526780;
  font-size: 20px;
  line-height: 1.7;
}
.customer-gallery {
  position: relative;
  width: 89%;
  margin-top: -76px;
  margin-bottom: 72px;
}
.customer-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.customer-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid #edf1f6;
  border-radius: 16px;
  box-shadow: 0 10px 32px #1c355212;
}
.customer-cover {
  position: relative;
  flex: none;
  overflow: hidden;
  aspect-ratio: 2 / 1;
  background: #eaf1fa;
}
.customer-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center var(--image-y, 50%);
}
.customer-card-jd { --image-y: 57%; --mark: 124px; }
.customer-card-haier { --image-y: 4%; --mark: 85px; }
.customer-card-sangfor { --image-y: 25%; --mark: 100px; }
.customer-card-sanlian { --image-y: 52%; --mark: 65px; }
.customer-card-longmingniu { --image-y: 52%; --mark: 36px; }
.customer-card-shangqingbei { --image-y: 57%; --mark: 104px; }
.customer-card-mecent { --mark: 111px; }
.customer-card-mecent .customer-cover img {
  position: absolute;
  right: 0;
  top: 50%;
  width: 190%;
  height: auto;
  max-width: none;
  transform: translateY(-54%);
}
.customer-card-finesky { --image-y: 4%; --mark: 103px; }
.customer-card-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 21px 22px 23px;
}
.customer-logo { display: flex; align-items: center; height: 37px; margin-bottom: 13px; }
.customer-logo img { width: var(--mark, 104px); height: auto; max-height: 37px; object-fit: contain; object-position: left center; }
.customer-card-finesky .customer-logo img { padding: 3px 6px; border-radius: 3px; background: #172a46; }
.customer-card h2 { color: #18222f; font-size: 18px; font-weight: 700; line-height: 1.4; }
.customer-summary { margin-top: 8px; color: #46586f; font-size: 14px; line-height: 1.7; }
.customer-services {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin-top: auto;
  padding-top: 16px;
}
.customer-services a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 3px 8px;
  border-radius: 5px;
  background: #edf4ff;
  color: #205494;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.customer-services a:hover,
.customer-services a:focus-visible {
  background: #dceaff;
  text-decoration: underline;
  text-underline-offset: .16em;
}
.contact { background: #f8fbff; border-top: 1px solid #edf2f8; }
.contact h2 { font-size: clamp(29px, 3.05vw, 42px); }
.contact .contact-description { max-width: 485px; }
.contact .contact-qr-code { background: transparent; }
.contact .contact-qr-code img { mix-blend-mode: multiply; }
@media (max-width: 900px) {
  .customer-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}
#contact-dialog .consult-topic {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
#contact-dialog .consult-topic button {
  padding: 8px 13px;
  border: 1px solid #d7e1ee;
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
}
#contact-dialog .consult-topic button[aria-pressed="true"] {
  border-color: #99bfff;
  color: var(--accent);
  background: #f0f6ff;
}

@media (max-width: 560px) {
  .customer-hero { min-height: 280px; padding-top: 54px; }
  .customer-hero p { font-size: 16px; }
  .customer-gallery { width: calc(100% - 32px); margin-bottom: 44px; }
  .customer-card-copy { padding: 14px 12px; }
  .customer-card h2 { font-size: 15px; }
  .customer-summary { font-size: 13px; }
  .customer-services { padding-top: 12px; }
  .customer-services a { padding-inline: 6px; }
}
