:root {
  color-scheme: light;
  --ink: #18211f;
  --muted: #5f6f6b;
  --line: #dfe8e3;
  --paper: #f8faf7;
  --leaf: #1f7a5b;
  --leaf-dark: #13523f;
  --gold: #f3b33d;
  --blue: #2e6f9e;
  --rose: #c75f62;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(248, 250, 247, 0.9);
  border-bottom: 1px solid rgba(223, 232, 227, 0.8);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--leaf), var(--blue));
  border-radius: 8px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  color: var(--muted);
  font-size: 15px;
}

.nav a:hover {
  color: var(--leaf-dark);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: clamp(34px, 6vw, 86px);
  min-height: calc(100vh - 75px);
  padding: clamp(54px, 7vw, 96px) clamp(20px, 5vw, 72px) clamp(44px, 6vw, 80px);
}

.hero-copy {
  max-width: 760px;
}

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

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.05;
  letter-spacing: 0;
}

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

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  letter-spacing: 0;
}

.lead {
  max-width: 660px;
  color: var(--muted);
  font-size: 19px;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 700;
}

.button.primary {
  color: var(--white);
  background: var(--leaf-dark);
  box-shadow: 0 16px 34px rgba(19, 82, 63, 0.22);
}

.button.secondary {
  color: var(--leaf-dark);
  border-color: rgba(31, 122, 91, 0.32);
  background: rgba(255, 255, 255, 0.68);
}

.hero-visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(223, 232, 227, 0.9);
  border-radius: 8px;
  background:
    linear-gradient(160deg, rgba(46, 111, 158, 0.18), transparent 46%),
    linear-gradient(20deg, rgba(31, 122, 91, 0.12), transparent 55%),
    #ffffff;
  box-shadow: 0 30px 80px rgba(24, 33, 31, 0.12);
}

.sun-disc {
  position: absolute;
  top: 42px;
  right: 48px;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffe09b 0 34%, var(--gold) 35% 70%, rgba(243, 179, 61, 0.18) 71%);
}

.panel-grid {
  position: absolute;
  right: 48px;
  bottom: 52px;
  display: grid;
  grid-template-columns: repeat(4, 72px);
  gap: 10px;
  transform: perspective(700px) rotateX(54deg) rotateZ(-12deg);
  transform-origin: center;
}

.panel-grid span {
  aspect-ratio: 1.35;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 6px;
  background: linear-gradient(135deg, #1f648e, #8fc1d1);
  box-shadow: inset 0 0 0 1px rgba(24, 33, 31, 0.08);
}

.bead-board {
  position: absolute;
  left: 42px;
  bottom: 70px;
  display: grid;
  grid-template-columns: repeat(8, 28px);
  gap: 10px;
  padding: 22px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 48px rgba(24, 33, 31, 0.16);
}

.bead-board i {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--leaf);
  box-shadow: inset -5px -6px 0 rgba(0, 0, 0, 0.12);
}

.bead-board i:nth-child(3n) {
  background: var(--gold);
}

.bead-board i:nth-child(4n) {
  background: var(--blue);
}

.bead-board i:nth-child(7n) {
  background: var(--rose);
}

.section {
  padding: clamp(58px, 8vw, 104px) clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  background: var(--white);
}

.split p:last-child {
  color: var(--muted);
  font-size: 20px;
}

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

.service-grid article {
  min-height: 245px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-grid span {
  display: block;
  margin-bottom: 38px;
  color: var(--leaf);
  font-size: 14px;
  font-weight: 800;
}

.service-grid p,
.contact-band p {
  color: var(--muted);
}

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: #e9f4ef;
}

.contact-band div {
  max-width: 860px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 26px clamp(20px, 5vw, 72px);
  color: var(--muted);
  background: var(--ink);
}

@media (max-width: 940px) {
  .hero,
  .split,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 430px;
  }

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

@media (max-width: 680px) {
  .site-header,
  .contact-band {
    align-items: flex-start;
    flex-direction: column;
  }

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

  h1 {
    font-size: 40px;
  }

  .lead,
  .split p:last-child {
    font-size: 17px;
  }

  .hero-visual {
    min-height: 360px;
  }

  .panel-grid {
    right: -2px;
    bottom: 44px;
    grid-template-columns: repeat(4, 58px);
  }

  .bead-board {
    left: 18px;
    bottom: 42px;
    grid-template-columns: repeat(6, 24px);
    gap: 8px;
    padding: 16px;
  }

  .bead-board i {
    width: 24px;
    height: 24px;
  }

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

