.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(10, 19, 31, 0.82) 0%, rgba(10, 19, 31, 0.62) 48%, rgba(10, 19, 31, 0.4) 100%),
    linear-gradient(180deg, rgba(10, 19, 31, 0.18) 0%, rgba(10, 19, 31, 0.72) 100%),
    url("../images/shanghai-hero.jpg") center / cover no-repeat;
}

.hero::after {
  position: absolute;
  right: -120px;
  bottom: -180px;
  width: 420px;
  height: 420px;
  border: 80px solid rgba(215, 53, 36, 0.16);
  border-radius: 50%;
  content: "";
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 610px;
  padding: 72px 0;
}

.hero-copy h1 {
  max-width: 720px;
  margin-top: 18px;
  color: #ffffff;
  font-size: clamp(38px, 5vw, 64px);
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.34);
}

.hero-text {
  max-width: 650px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  min-height: 46px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.primary-btn {
  background: var(--brand);
  color: #ffffff;
  box-shadow: 0 14px 26px rgba(215, 53, 36, 0.22);
}

.secondary-btn {
  border: 1px solid rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  backdrop-filter: blur(8px);
}

.primary-btn:hover,
.secondary-btn:hover {
  transform: translateY(-2px);
}

.secondary-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.section-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 54px;
}

.section-heading h2,
.split-layout h2 {
  margin-top: 12px;
  font-size: 36px;
}

.section-heading p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 210px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  border-color: rgba(215, 53, 36, 0.26);
  box-shadow: 0 18px 42px rgba(31, 35, 40, 0.08);
  transform: translateY(-3px);
}

.service-card span {
  color: var(--accent);
  font-weight: 700;
}

.service-card h3 {
  margin-top: 18px;
  font-size: 22px;
}

.service-card p {
  margin-top: 14px;
  color: var(--muted);
}

.split-layout {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  gap: 70px;
}

.solution-list {
  display: grid;
  gap: 22px;
}

.solution-list div {
  padding-bottom: 22px;
  border-bottom: 1px solid #dde1e6;
}

.solution-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.solution-list h3 {
  font-size: 22px;
}

.solution-list p {
  margin-top: 10px;
  color: var(--muted);
}

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

.advantage-item {
  padding: 34px;
  border-left: 3px solid var(--brand);
  background: #ffffff;
  box-shadow: inset 0 0 0 1px var(--line);
}

.advantage-item strong {
  display: block;
  font-size: 28px;
}

.advantage-item p {
  margin-top: 12px;
  color: var(--muted);
}

@media (max-width: 980px) {
  .section-layout,
  .split-layout {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
  }

  .service-grid,
  .advantage-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .hero-inner {
    padding: 54px 0;
  }

  .hero-copy h1 {
    font-size: 32px;
  }

  .hero-text {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .primary-btn,
  .secondary-btn {
    width: 100%;
  }

  .service-card,
  .advantage-item {
    padding: 24px;
  }
}
