:root {
  color-scheme: light;
  --bg: #f7f8f6;
  --surface: #ffffff;
  --surface-soft: #eef2eb;
  --text: #1f2623;
  --muted: #69736d;
  --line: #dfe5df;
  --accent: #2f6f5e;
  --accent-dark: #1f4d42;
  --gold: #b99054;
  --shadow: 0 24px 70px rgba(26, 38, 33, 0.1);
  font-family:
    "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui,
    -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

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: 28px;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0;
  background: rgba(247, 248, 246, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
}

.brand span {
  white-space: nowrap;
}

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

.nav a {
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.nav a:hover {
  color: var(--accent);
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: 72px;
  width: min(1160px, calc(100% - 40px));
  min-height: calc(100vh - 74px);
  margin: 0 auto;
  padding: 72px 0 96px;
}

.company-label,
.section-label {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-text {
  max-width: 610px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.9;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

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

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  box-shadow: 0 14px 30px rgba(47, 111, 94, 0.2);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.72);
  color: var(--accent-dark);
}

.hero-visual {
  position: relative;
  min-height: 420px;
}

.hero-visual::before {
  position: absolute;
  inset: 42px 18px 20px 76px;
  content: "";
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 34%, rgba(185, 144, 84, 0.28), transparent 28%),
    radial-gradient(circle at 66% 66%, rgba(47, 111, 94, 0.22), transparent 32%);
  filter: blur(8px);
}

.visual-card {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.visual-main {
  top: 22px;
  right: 18px;
  width: min(420px, 92%);
  height: 300px;
  padding: 34px;
}

.visual-main::before {
  position: absolute;
  right: -64px;
  bottom: -74px;
  width: 210px;
  height: 210px;
  content: "";
  border-radius: 50%;
  background: rgba(47, 111, 94, 0.12);
}

.visual-title {
  display: block;
  max-width: 180px;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.28;
}

.visual-line {
  display: block;
  width: 82%;
  height: 10px;
  margin-top: 42px;
  border-radius: 99px;
  background: var(--surface-soft);
}

.visual-line.short {
  width: 56%;
  margin-top: 16px;
}

.visual-tag {
  position: absolute;
  right: 28px;
  bottom: 28px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.visual-side {
  left: 0;
  bottom: 18px;
  width: 245px;
  padding: 24px;
  display: grid;
  gap: 14px;
}

.visual-side span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-dark);
  font-size: 15px;
  font-weight: 700;
}

.visual-side span::before {
  display: inline-block;
  width: 8px;
  height: 8px;
  content: "";
  border-radius: 50%;
  background: var(--gold);
}

.section {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 86px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section h2,
.contact-section h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.2;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
  color: var(--muted);
  font-size: 17px;
}

.about-grid p {
  margin: 0;
}

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

.service-item {
  min-height: 196px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.service-item:hover {
  transform: translateY(-4px);
  border-color: rgba(47, 111, 94, 0.28);
  box-shadow: 0 18px 44px rgba(31, 38, 35, 0.08);
}

.service-item h3 {
  margin: 0 0 14px;
  font-size: 21px;
}

.service-item p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

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

.process-list li {
  padding: 30px 26px;
}

.process-list li + li {
  border-left: 1px solid var(--line);
}

.process-list span {
  display: block;
  margin-bottom: 24px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

.process-list strong {
  display: block;
  margin-bottom: 10px;
  font-size: 20px;
}

.process-list p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1fr);
  gap: 54px;
  align-items: start;
}

.contact-text {
  max-width: 520px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.contact-card {
  display: grid;
  gap: 18px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 44px rgba(31, 38, 35, 0.06);
}

.contact-card div {
  display: grid;
  gap: 4px;
}

.contact-card span {
  color: var(--muted);
  font-size: 13px;
}

.contact-card strong {
  font-size: 16px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.icp {
  color: var(--accent-dark);
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 34px;
    min-height: auto;
    padding: 56px 0 78px;
  }

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

  .about-grid,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

  .process-list li:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .process-list li:nth-child(4) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  .site-header,
  .hero,
  .section,
  .site-footer {
    width: min(100% - 28px, 1160px);
  }

  .brand span {
    white-space: normal;
    line-height: 1.35;
  }

  .nav {
    gap: 18px;
    font-size: 13px;
  }

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

  .hero-text {
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

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

  .visual-main {
    right: 0;
    width: 100%;
    height: 250px;
    padding: 26px;
  }

  .visual-side {
    width: 218px;
    padding: 20px;
  }

  .section {
    padding: 62px 0;
  }

  .section-heading {
    display: block;
  }

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

  .process-list li + li {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .contact-card {
    padding: 24px;
  }
}
