:root {
  --ink: #081522;
  --text: #1e2a32;
  --muted: #5d6b72;
  --paper: #f6f8f6;
  --white: #ffffff;
  --line: #dce5e1;
  --teal: #0f8f86;
  --green: #2f7d55;
  --amber: #b96f20;
  --rust: #a94e3f;
  --shadow: 0 18px 45px rgba(8, 21, 34, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family:
    "Inter", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui,
    sans-serif;
  line-height: 1.65;
}

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

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

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

.site-header.is-scrolled {
  box-shadow: 0 12px 28px rgba(8, 21, 34, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand strong {
  font-size: 16px;
  letter-spacing: 0;
}

.brand small {
  margin-top: -4px;
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #2d3b43;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  padding: 24px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  height: 2px;
  background: var(--teal);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 160ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: min(760px, 82svh);
  overflow: hidden;
  background: var(--ink);
}

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

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

.hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 21, 34, 0.9) 0%, rgba(8, 21, 34, 0.68) 40%, rgba(8, 21, 34, 0.16) 72%),
    linear-gradient(0deg, rgba(8, 21, 34, 0.34), rgba(8, 21, 34, 0.08));
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  width: min(1120px, 90vw);
  min-height: min(760px, 82svh);
  margin: 0 auto;
  padding: 70px 0 74px;
  color: var(--white);
}

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

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

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1.06;
  letter-spacing: 0;
}

.keep-together {
  white-space: nowrap;
}

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

h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions,
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

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

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

.button.primary {
  background: var(--teal);
  color: var(--white);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: #0b7770;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--white);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.hero-points {
  margin-top: 34px;
}

.hero-points span {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  font-weight: 700;
}

.section {
  width: min(1120px, 90vw);
  margin: 0 auto;
  padding: 88px 0;
}

.service-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 48px;
  align-items: end;
  padding-top: 72px;
}

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

.lead {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 19px;
}

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

.service-card {
  min-height: 238px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(8, 21, 34, 0.05);
}

.card-index {
  display: inline-block;
  margin-bottom: 32px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 900;
}

.service-card p,
.process-line p,
.about-copy p,
.solution-inner p,
.contact-section p {
  margin-bottom: 0;
  color: var(--muted);
}

.solution-band {
  background: #eaf1ed;
  border-block: 1px solid var(--line);
}

.solution-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 56px;
  align-items: center;
  width: min(1120px, 90vw);
  margin: 0 auto;
  padding: 78px 0;
}

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

.solution-list span {
  min-height: 54px;
  padding: 14px 16px;
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  background: var(--white);
  color: #20303a;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(8, 21, 34, 0.05);
}

.process-section {
  padding-bottom: 98px;
}

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

.process-line article {
  min-height: 240px;
  padding: 26px;
  background: var(--white);
}

.process-line span {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 34px;
  border-radius: 8px;
  background: #f6efe6;
  color: var(--amber);
  font-weight: 900;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 48px;
  align-items: center;
  width: min(1120px, 90vw);
  margin: 0 auto;
  padding: 86px 0;
  border-top: 1px solid var(--line);
}

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

.stats-grid div {
  min-height: 154px;
  padding: 22px;
  border-radius: 8px;
  color: var(--white);
}

.stats-grid div:nth-child(1) {
  background: var(--ink);
}

.stats-grid div:nth-child(2) {
  background: var(--green);
}

.stats-grid div:nth-child(3) {
  background: var(--rust);
}

.stats-grid strong,
.stats-grid span {
  display: block;
}

.stats-grid strong {
  margin-bottom: 28px;
  font-size: 24px;
  line-height: 1.2;
}

.stats-grid span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 48px;
  align-items: center;
  width: min(1120px, 90vw);
  margin: 0 auto 76px;
  padding: 48px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
}

.contact-section h2 {
  color: var(--white);
}

.contact-section .eyebrow {
  color: #7dd8cb;
}

.contact-section p {
  color: rgba(255, 255, 255, 0.76);
}

.contact-panel {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-link {
  color: #7dd8cb;
  font-size: 22px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.contact-panel span {
  color: rgba(255, 255, 255, 0.74);
}

.contact-panel .button {
  width: fit-content;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(1120px, 90vw);
  margin: 0 auto;
  padding: 26px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer a {
  color: var(--teal);
  font-weight: 800;
}

@media (max-width: 900px) {
  .site-header {
    min-height: 64px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 64px;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 10px 5vw 18px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 32px rgba(8, 21, 34, 0.1);
    transform: translateY(-130%);
    transition: transform 180ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
  }

  .site-nav a {
    padding: 12px 0;
  }

  .site-nav a::after {
    bottom: 8px;
    right: auto;
    width: 36px;
  }

  .hero,
  .hero-inner {
    min-height: 74svh;
  }

  .hero-image {
    object-position: 60% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(8, 21, 34, 0.92), rgba(8, 21, 34, 0.44)),
      linear-gradient(0deg, rgba(8, 21, 34, 0.34), rgba(8, 21, 34, 0.1));
  }

  .service-intro,
  .solution-inner,
  .about-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

  .contact-section {
    padding: 34px;
  }
}

@media (max-width: 620px) {
  .brand small {
    display: none;
  }

  .brand strong {
    max-width: 9em;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero,
  .hero-inner {
    min-height: 72svh;
  }

  .hero-inner {
    padding: 48px 0 56px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 28px;
  }

  .button {
    width: 100%;
  }

  .hero-actions {
    align-items: stretch;
  }

  .section,
  .service-intro,
  .solution-inner,
  .about-section {
    padding: 58px 0;
  }

  .service-grid,
  .process-line,
  .stats-grid,
  .solution-list {
    grid-template-columns: 1fr;
  }

  .service-card,
  .process-line article {
    min-height: auto;
  }

  .contact-section {
    width: 100%;
    margin-bottom: 44px;
    padding: 30px 5vw;
    border-radius: 0;
  }

  .contact-panel .button {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
    padding-bottom: 28px;
  }
}
