:root {
  --container: 1200px;
  --text: #333333;
  --muted: #666666;
  --soft: #f7f9fc;
  --accent: #246db8;
  --line: #eef1f5;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
  background: #ffffff;
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #f0f2f5;
}

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

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: 200px;
  height: auto;
}

.header-copy {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  color: #555555;
  font-size: 16px;
  white-space: nowrap;
}

.header-slogan {
  color: var(--accent);
}

.hero {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  background: #1f2937;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transition: opacity 700ms ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-control {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 48px;
  height: 72px;
  border: 0;
  border-radius: 0;
  background: rgba(0, 0, 0, 0.35);
  color: #ffffff;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 180ms ease;
}

.hero-control:hover,
.hero-control:focus-visible {
  background: rgba(0, 0, 0, 0.58);
}

.hero-control span {
  display: block;
  font-size: 56px;
  line-height: 1;
  margin-top: -4px;
}

.hero-prev {
  left: max(24px, calc((100% - var(--container)) / 2 - 88px));
}

.hero-next {
  right: max(24px, calc((100% - var(--container)) / 2 - 88px));
}

.hero-dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 24px;
  display: flex;
  gap: 12px;
  transform: translateX(-50%);
}

.hero-dot {
  width: 14px;
  height: 14px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.48);
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.hero-dot.is-active {
  background: #ffffff;
  transform: scale(1.05);
}

.section {
  padding: 70px 0;
}

.section-title {
  margin: 0 0 56px;
  color: #111111;
  font-size: clamp(28px, 3vw, 34px);
  font-weight: 400;
  line-height: 1.35;
  text-align: center;
  letter-spacing: 0;
}

.service-summary {
  background: #ffffff;
  padding-top: 68px;
  padding-bottom: 74px;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 72px;
}

.summary-item {
  text-align: center;
}

.summary-item img {
  width: 108px;
  height: 125px;
  margin: 0 auto 24px;
  object-fit: contain;
}

.summary-item h3,
.business-card h3,
.advantage-card h3 {
  margin: 0;
  color: #434343;
  font-size: 25px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0;
}

.summary-item p {
  max-width: 230px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.business-section {
  background-color: #f6f8fb;
  background-image: url("assets/images/business-bg.jpg");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  padding-top: 58px;
  padding-bottom: 78px;
}

.business-section .section-title {
  color: #ffffff;
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.business-card {
  min-height: 379px;
  padding: 48px 28px 34px;
  text-align: center;
  background-color: #ffffff;
  background-image: url("assets/images/business-card-bg.jpg");
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(232, 236, 243, 0.82);
}

.business-card img {
  width: 82px;
  height: 94px;
  margin: 0 auto 24px;
  object-fit: contain;
}

.business-card p {
  margin: 18px 0 0;
  color: #555555;
  font-size: 15px;
  line-height: 1.9;
  text-align: left;
}

.advantages-section {
  padding-top: 64px;
  padding-bottom: 74px;
  background: #f3f6fa;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.advantage-card {
  min-height: 337px;
  padding: 26px 32px 32px;
  text-align: center;
  background: #ffffff;
  border: 1px solid var(--line);
}

.advantage-card img {
  width: 103px;
  height: 103px;
  margin: 0 auto 22px;
  object-fit: contain;
}

.advantage-card h3 {
  font-size: 24px;
}

.advantage-card p {
  margin: 22px 0 0;
  color: #555555;
  font-size: 15px;
  line-height: 2;
  text-align: left;
}

.partners-section {
  padding-top: 34px;
  padding-bottom: 36px;
  background: #ffffff;
}

.partners-section .section-title {
  margin-bottom: 36px;
}

.partners-image {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partners-image img {
  width: 100%;
  height: auto;
}

.partners-grid {
  display: none;
}

.site-footer {
  background: #f3f3f3;
  border-top: 1px solid #f0f2f5;
}

.footer-inner {
  min-height: 82px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 18px 0;
  color: #666666;
  font-size: 16px;
  text-align: center;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 22px;
}

.footer-row span {
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .container {
    width: min(100% - 40px, var(--container));
  }

  .summary-grid,
  .business-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

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

  .business-card {
    min-height: 360px;
  }
}

@media (max-width: 760px) {
  .header-inner {
    min-height: auto;
    padding: 12px 0;
    flex-direction: row;
    justify-content: space-between;
    gap: 12px;
  }

  .brand img {
    width: 132px;
  }

  .header-copy {
    flex: 1;
    min-width: 0;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 2px;
    font-size: 12px;
    line-height: 1.35;
    white-space: nowrap;
    text-align: right;
  }

  .hero {
    height: clamp(164px, 46vw, 190px);
    min-height: 0;
    aspect-ratio: auto;
  }

  .hero-slide {
    background-position: 26% center;
    background-repeat: no-repeat;
    background-size: cover;
  }

  .hero-control {
    width: 30px;
    height: 44px;
  }

  .hero-control span {
    font-size: 34px;
  }

  .hero-prev {
    left: 0;
  }

  .hero-next {
    right: 0;
  }

  .section {
    padding: 52px 0;
  }

  .section-title {
    margin-bottom: 32px;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.35;
  }

  .service-summary .section-title {
    white-space: nowrap;
  }

  .summary-grid,
  .business-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .summary-item,
  .business-card {
    min-height: auto;
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    padding: 18px;
    text-align: left;
    background: #ffffff;
    border: 1px solid var(--line);
  }

  .advantages-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 14px;
  }

  .summary-item img,
  .business-card img {
    width: 68px;
    height: 78px;
    margin: 0;
    grid-row: 1 / span 2;
    align-self: start;
  }

  .summary-item h3,
  .business-card h3,
  .advantage-card h3 {
    font-size: 20px;
  }

  .summary-item h3,
  .business-card h3,
  .summary-item p,
  .business-card p {
    text-align: left;
  }

  .summary-item p,
  .business-card p {
    grid-column: 2;
  }

  .summary-item p,
  .business-card p {
    max-width: none;
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.75;
  }

  .advantage-card {
    min-height: auto;
  }

  .advantage-card p {
    text-align: center;
  }

  .advantage-card {
    padding: 22px 14px 24px;
  }

  .advantage-card img {
    width: 82px;
    height: 82px;
    margin-bottom: 16px;
  }

  .advantage-card p {
    margin-top: 14px;
    font-size: 13px;
    line-height: 1.8;
  }

  .partners-section {
    padding-top: 20px;
  }

  .partners-image {
    display: none;
  }

  .partners-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .partners-grid div {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 8px;
    background: #ffffff;
    border: 1px solid var(--line);
  }

  .partners-grid img {
    width: auto;
    max-width: 100%;
    max-height: 32px;
  }

  .footer-inner {
    gap: 7px;
    font-size: 12px;
    line-height: 1.6;
  }

  .footer-row {
    width: 100%;
    gap: 0 10px;
  }

  .footer-row:first-child {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    transform: scale(0.9);
    transform-origin: center;
  }

  .footer-row:last-child {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0 8px;
    transform: scale(0.82);
    transform-origin: center;
  }
}

@media (max-width: 420px) {
  .container {
    width: calc(100% - 28px);
  }

  .hero {
    min-height: 0;
  }
}
