:root {
  color-scheme: light;
  --text: #111827;
  --muted: #5f6b7a;
  --line: #e8edf3;
  --surface: #ffffff;
  --soft: #f5f7fa;
  --primary: #0b5cad;
  --primary-dark: #073e73;
  --accent: #18a0a6;
  --shadow: 0 18px 50px rgba(17, 24, 39, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--surface);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 5vw;
  border-bottom: 1px solid rgba(232, 237, 243, 0.9);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  font-weight: 700;
}

.brand-logo {
  width: min(270px, 48vw);
  height: 42px;
  object-fit: contain;
}

.brand-mark {
  font-size: 18px;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
  color: #293445;
  font-size: 15px;
}

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

.nav a:hover {
  border-color: var(--primary);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: 7vh 5vw 8vh;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.06;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.25;
}

.hero-text,
.section p,
.service-card p,
.timeline p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.hero-text {
  max-width: 610px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 14px;
}

.product-lockup {
  display: inline-flex;
  align-items: center;
}

.product-lockup img {
  width: min(160px, 38vw);
  max-height: 48px;
  object-fit: contain;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid var(--primary);
  border-radius: 4px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

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

.button.primary {
  color: #ffffff;
  background: var(--primary);
}

.button.primary:hover {
  background: var(--primary-dark);
}

.button.ghost {
  color: var(--primary);
  background: transparent;
}

.hero-media {
  margin-right: -8vw;
}

.hero-media img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.section {
  padding: 96px 5vw;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

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

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

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.service-card span {
  display: block;
  margin-bottom: 34px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
}

.value-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 48px;
  align-items: center;
  background: #f3f6f9;
}

.value-copy {
  max-width: 650px;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.metric-row div {
  min-height: 190px;
  padding: 30px 24px;
  background: #ffffff;
}

.metric-row strong {
  display: block;
  margin-bottom: 18px;
  color: var(--primary-dark);
  font-size: 28px;
  line-height: 1.2;
}

.metric-row span {
  color: var(--muted);
  line-height: 1.7;
}

.process {
  background: #ffffff;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.timeline li {
  min-height: 260px;
  padding: 34px 28px;
  border-right: 1px solid var(--line);
}

.timeline li:last-child {
  border-right: 0;
}

.timeline li::before {
  content: counter(list-item, decimal-leading-zero);
  display: block;
  margin-bottom: 48px;
  color: var(--accent);
  font-weight: 800;
}

.about {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  gap: 58px;
  background: var(--soft);
}

.about-heading {
  align-self: start;
}

.about-text {
  align-self: start;
}

.certificate-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(320px, 1.18fr);
  gap: 36px;
  align-items: center;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.certificate-card h3 {
  margin-bottom: 14px;
}

.certificate-card a {
  display: block;
  justify-self: end;
  width: min(100%, 520px);
  max-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8fafc;
}

.certificate-card img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: contain;
}

.contact {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(360px, 1.18fr);
  gap: 56px;
  align-items: start;
}

.contact-copy {
  max-width: 520px;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #263242;
  font-size: 15px;
  font-weight: 700;
}

.contact-form .form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d7dee8;
  border-radius: 4px;
  padding: 13px 14px;
  color: var(--text);
  font: inherit;
  font-weight: 400;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(11, 92, 173, 0.12);
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-note {
  min-height: 26px;
  margin: 0;
  color: var(--primary-dark);
  font-size: 14px;
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 5vw;
  color: #657184;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.footer-info {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  line-height: 1.7;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding-top: 18px;
    padding-bottom: 0;
  }

  .nav {
    width: 100%;
    gap: 22px;
    overflow-x: auto;
  }

  .nav a {
    padding: 14px 0 18px;
    white-space: nowrap;
  }

  .hero,
  .value-band,
  .about,
  .contact,
  .certificate-card {
    grid-template-columns: 1fr;
  }

  .certificate-card a {
    justify-self: stretch;
  }

  .hero {
    min-height: auto;
    padding-top: 64px;
  }

  .hero-media {
    margin: 18px 0 0;
  }

  .hero-media img {
    min-height: 320px;
  }

  .service-grid,
  .timeline,
  .metric-row {
    grid-template-columns: 1fr;
  }

  .timeline li {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .timeline li:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 620px) {
  .site-header,
  .hero,
  .section,
  .site-footer {
    padding-left: 22px;
    padding-right: 22px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-media img {
    min-height: 240px;
  }

  .service-card,
  .contact-form {
    padding: 24px;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .button {
    min-height: 44px;
    padding: 0 16px;
    font-size: 15px;
    white-space: nowrap;
  }

  .product-lockup img {
    width: min(112px, 30vw);
  }

  .site-footer {
    flex-direction: column;
  }
}
