:root {
  --ink: #172126;
  --muted: #607076;
  --line: #dfe8e6;
  --paper: #f6faf8;
  --white: #ffffff;
  --green: #0f8f73;
  --green-dark: #075c52;
  --blue: #1f6fb2;
  --gold: #d99b33;
  --shadow: 0 18px 55px rgba(14, 45, 44, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  background: var(--white);
}

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

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

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

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  height: 76px;
  display: grid;
  grid-template-columns: minmax(220px, 360px) 1fr auto auto;
  align-items: center;
  gap: 28px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(223, 232, 230, 0.8);
  backdrop-filter: blur(14px);
  transition: box-shadow 0.2s ease, height 0.2s ease;
}

.site-header.is-scrolled {
  height: 68px;
  box-shadow: 0 10px 35px rgba(15, 55, 54, 0.1);
}

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

.desktop-nav {
  display: flex;
  justify-content: flex-end;
  gap: 28px;
  color: #25434a;
  font-size: 15px;
}

.desktop-nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.desktop-nav a:hover {
  color: var(--green-dark);
  border-color: var(--green);
}

.header-phone {
  white-space: nowrap;
  color: var(--green-dark);
  font-weight: 700;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 6px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-button span {
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 76px;
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 37, 40, 0.92) 0%, rgba(7, 73, 78, 0.72) 46%, rgba(7, 73, 78, 0.22) 100%),
    linear-gradient(0deg, rgba(4, 22, 23, 0.5), rgba(4, 22, 23, 0.06));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 40px));
  margin-left: max(20px, calc((100vw - 1180px) / 2));
  color: var(--white);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 1.05;
  font-weight: 800;
}

.hero-copy {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
  line-height: 1.8;
}

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

.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  height: 46px;
  padding: 0 22px;
  border-radius: 6px;
  font-weight: 700;
}

.primary-link {
  background: var(--gold);
  color: #1f2a25;
}

.secondary-link {
  border: 1px solid rgba(255, 255, 255, 0.62);
  color: var(--white);
}

.hero-metrics {
  position: absolute;
  z-index: 3;
  right: max(20px, calc((100vw - 1180px) / 2));
  bottom: 42px;
  width: min(560px, calc(100% - 40px));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(255, 255, 255, 0.94);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-metrics div {
  padding: 24px 22px;
  border-right: 1px solid var(--line);
}

.hero-metrics div:last-child {
  border-right: 0;
}

.hero-metrics strong {
  display: block;
  color: var(--green-dark);
  font-size: 30px;
}

.hero-metrics span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.intro-band {
  background: var(--green-dark);
  color: var(--white);
  padding: 54px 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
  align-items: start;
}

.intro-grid h2,
.section-heading h2,
.platform-copy h2,
.about-copy h2,
.contact-grid h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.22;
}

.intro-grid p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.9;
  font-size: 17px;
}

.section {
  padding: 96px 0;
}

.section.compact {
  padding: 82px 0;
}

.section.muted {
  background: var(--paper);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading.align-left {
  margin: 0;
  text-align: left;
}

.section-heading p:last-child,
.about-copy p,
.contact-grid p {
  color: var(--muted);
  line-height: 1.85;
  font-size: 17px;
}

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

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

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 143, 115, 0.35);
  box-shadow: var(--shadow);
}

.card-index {
  color: var(--gold);
  font-weight: 800;
}

.service-card h3,
.case-item h3 {
  margin: 22px 0 12px;
  font-size: 22px;
}

.service-card p,
.case-item p,
.process-grid p {
  color: var(--muted);
  line-height: 1.75;
}

.platform-section {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  display: flex;
  align-items: center;
  color: var(--white);
}

.platform-bg,
.platform-overlay {
  position: absolute;
  inset: 0;
}

.platform-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.platform-overlay {
  background: linear-gradient(90deg, rgba(5, 38, 43, 0.9), rgba(5, 72, 76, 0.72), rgba(7, 36, 42, 0.46));
}

.platform-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
}

.platform-copy p:last-child {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.9;
  font-size: 18px;
}

.platform-panel {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 8px;
  color: var(--ink);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel-row {
  display: flex;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}

.panel-row:last-child {
  border-bottom: 0;
}

.panel-row span {
  color: var(--muted);
}

.panel-row strong {
  color: var(--green-dark);
}

.cases-grid,
.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 52px;
  align-items: center;
}

.case-list {
  display: grid;
  gap: 18px;
}

.case-item {
  padding: 26px 28px;
  border-left: 4px solid var(--green);
  background: var(--paper);
  border-radius: 8px;
}

.case-item span {
  color: var(--gold);
  font-weight: 800;
}

.about-media img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.value-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.value-list div {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.value-list strong,
.value-list span {
  display: block;
}

.value-list strong {
  color: var(--green-dark);
  margin-bottom: 8px;
}

.value-list span {
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

.process-section {
  padding-top: 72px;
}

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

.process-grid div {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.process-grid span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--green);
  border-radius: 50%;
  font-weight: 800;
}

.process-grid strong {
  display: block;
  margin-top: 18px;
  font-size: 19px;
}

.contact-section {
  padding: 86px 0;
  background: var(--green-dark);
  color: var(--white);
}

.contact-grid p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-card {
  padding: 30px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
}

.contact-card a {
  display: block;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.35;
}

.contact-card p {
  margin: 22px 0 0;
}

.site-footer {
  padding: 28px 0;
  background: #101819;
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
}

.footer-grid img {
  width: 260px;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.footer-grid p {
  margin: 0 0 6px;
}

.footer-grid a {
  color: rgba(255, 255, 255, 0.86);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
    gap: 16px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: inline-flex;
  }

  .mobile-nav {
    position: fixed;
    z-index: 45;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    grid-template-columns: repeat(5, 1fr);
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }

  .mobile-nav.is-open {
    display: grid;
  }

  .mobile-nav a {
    padding: 14px 8px;
    text-align: center;
    color: #25434a;
    font-size: 14px;
  }

  .hero {
    min-height: 760px;
    align-items: flex-start;
    padding-top: 148px;
  }

  .hero-metrics {
    left: 20px;
    right: 20px;
    grid-template-columns: repeat(3, 1fr);
  }

  .intro-grid,
  .platform-content,
  .cases-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

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

  .site-header {
    height: 66px;
    padding: 0 14px;
  }

  .brand img {
    width: 210px;
  }

  .header-phone {
    display: none;
  }

  .mobile-nav {
    top: 66px;
    grid-template-columns: 1fr;
  }

  .mobile-nav a {
    text-align: left;
    padding-left: 20px;
  }

  .hero {
    min-height: 820px;
    padding-top: 116px;
  }

  .hero-content {
    width: calc(100% - 28px);
    margin-left: 14px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-actions {
    flex-direction: column;
    width: min(100%, 260px);
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    bottom: 20px;
  }

  .hero-metrics div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 16px 18px;
  }

  .hero-metrics div:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 68px 0;
  }

  .service-grid,
  .process-grid,
  .value-list {
    grid-template-columns: 1fr;
  }

  .platform-section {
    min-height: 720px;
  }

  .contact-card a {
    font-size: 25px;
  }

  .footer-grid {
    display: grid;
  }
}
