:root {
  color-scheme: light;
  --ink: #17212b;
  --muted: #5d6875;
  --line: #dce3ea;
  --paper: #ffffff;
  --soft: #f4f7f9;
  --accent: #0f8b8d;
  --accent-strong: #0a6263;
  --sun: #f59e0b;
  --shadow: 0 18px 50px rgba(23, 33, 43, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 0 6vw;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(220, 227, 234, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background:
    linear-gradient(135deg, var(--accent), #4cc9c0 48%, var(--sun) 49%, #f97316);
  box-shadow: 0 7px 16px rgba(15, 139, 141, 0.28);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
}

.nav-links a:hover {
  color: var(--accent-strong);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.language-switcher a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.language-switcher a:hover,
.language-switcher a.active {
  color: #ffffff;
  background: var(--accent-strong);
}

.hero {
  position: relative;
  min-height: calc(100vh - 68px);
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 15, 23, 0.86) 0%, rgba(8, 15, 23, 0.66) 33%, rgba(8, 15, 23, 0.16) 66%, rgba(8, 15, 23, 0.04) 100%),
    linear-gradient(0deg, rgba(8, 15, 23, 0.35), rgba(8, 15, 23, 0.02));
}

.hero-content {
  position: relative;
  width: min(720px, 88vw);
  margin-left: 6vw;
  padding: 72px 0 96px;
  color: #ffffff;
}

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

.hero .eyebrow {
  color: #7fe1d8;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(40px, 8vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 560px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 19px;
  line-height: 1.75;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: #062021;
  background: #8cf0e6;
  box-shadow: 0 14px 30px rgba(5, 80, 82, 0.24);
}

.button.secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.metrics div {
  padding: 30px 6vw;
  background: var(--paper);
}

.metrics strong {
  display: block;
  color: var(--ink);
  font-size: 26px;
  line-height: 1.2;
}

.metrics span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.section {
  padding: 86px 6vw;
}

.section-heading {
  max-width: 740px;
  margin-bottom: 34px;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.1;
  letter-spacing: 0;
}

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

.product-card {
  min-height: 260px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 14px 34px rgba(23, 33, 43, 0.06);
}

.product-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  color: #063d3e;
  background: #d8fbf6;
  font-weight: 900;
}

.product-card h3 {
  margin: 26px 0 12px;
  font-size: 22px;
}

.product-card p,
.service-copy p,
.contact-lead {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.service-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 44px;
  align-items: center;
  padding: 86px 6vw;
  background: var(--soft);
  border-block: 1px solid var(--line);
}

.service-copy {
  max-width: 580px;
}

.service-copy p {
  margin-top: 20px;
  font-size: 17px;
}

.service-steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.service-steps li {
  position: relative;
  min-height: 64px;
  padding: 20px 22px 20px 72px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(23, 33, 43, 0.05);
}

.service-steps li::before {
  counter-increment: steps;
  content: counter(steps);
  position: absolute;
  left: 20px;
  top: 17px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 7px;
  color: #ffffff;
  background: var(--accent);
  font-weight: 900;
}

.contact-section {
  padding-bottom: 72px;
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 30px;
  border-radius: 8px;
  background: #11262a;
  color: #ffffff;
  box-shadow: var(--shadow);
}

.contact-lead {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
}

.contact-link {
  display: inline-block;
  margin-top: 16px;
  color: #8cf0e6;
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 6vw;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 860px) {
  .site-header {
    flex-wrap: wrap;
    align-items: flex-start;
    padding-inline: 20px;
    padding-block: 14px;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
    gap: 14px;
  }

  .nav-links,
  .language-switcher {
    gap: 16px;
  }

  .language-switcher {
    gap: 4px;
    flex: 0 0 auto;
  }

  .hero {
    min-height: 740px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(8, 15, 23, 0.84) 0%, rgba(8, 15, 23, 0.68) 48%, rgba(8, 15, 23, 0.34) 100%);
  }

  .hero-content {
    width: auto;
    margin: 0 20px;
    padding-top: 58px;
  }

  .metrics,
  .product-grid,
  .service-band {
    grid-template-columns: 1fr;
  }

  .metrics div,
  .section,
  .service-band {
    padding-inline: 20px;
  }

  .contact-panel,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .brand span:last-child {
    max-width: 140px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-links {
    width: 100%;
    font-size: 14px;
    justify-content: space-between;
  }

  .header-actions {
    flex-wrap: wrap;
  }

  .language-switcher {
    width: 100%;
    justify-content: space-between;
  }

  .language-switcher a {
    flex: 1;
  }

  h1 {
    font-size: 36px;
  }

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

  .button {
    width: 100%;
  }
}
