:root {
  --bg: #0b1f1c;
  --bg-soft: #12302b;
  --surface: #f4f7f5;
  --ink: #14201d;
  --muted: #5b6b66;
  --accent: #2f8f6b;
  --accent-deep: #1f6a4f;
  --cream: #e8f2ec;
  --line: rgba(20, 32, 29, 0.12);
  --radius: 18px;
  --font-display: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --max: 1100px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.7;
}

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

.wrap {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(244, 247, 245, 0.86);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(244, 247, 245, 0.94);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

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

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, #3db887 0%, #1f6a4f 55%, #0b1f1c 100%);
  box-shadow: 0 8px 18px rgba(31, 106, 79, 0.28);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.08em;
}

.nav {
  display: flex;
  gap: 28px;
  font-size: 0.95rem;
}

.nav a {
  color: var(--muted);
  transition: color 0.2s ease;
}

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

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #f7fbf8;
  background: var(--bg);
}

.hero-visual {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 30%, rgba(61, 184, 135, 0.35), transparent 60%),
    radial-gradient(ellipse 50% 40% at 15% 80%, rgba(232, 242, 236, 0.12), transparent 55%),
    linear-gradient(160deg, #0b1f1c 0%, #12302b 45%, #1a433a 100%);
  transform: scale(1.02);
  animation: heroDrift 14s ease-in-out infinite alternate;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(11, 31, 28, 0.72), transparent 45%),
    repeating-linear-gradient(
      -18deg,
      transparent 0 18px,
      rgba(255, 255, 255, 0.02) 18px 19px
    );
}

@keyframes heroDrift {
  from {
    transform: scale(1.02) translateY(0);
  }
  to {
    transform: scale(1.06) translateY(-12px);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 0 88px;
  animation: riseIn 0.9s ease both;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.brand-hero {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  letter-spacing: 0.12em;
  line-height: 1.1;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(1.2rem, 2.6vw, 1.65rem);
  font-weight: 500;
  letter-spacing: 0.18em;
  color: rgba(247, 251, 248, 0.88);
}

.hero-lead {
  max-width: 34rem;
  margin: 0 0 32px;
  color: rgba(247, 251, 248, 0.72);
  font-size: 1.05rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 0.95rem;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
  background: #3db887;
  color: #062019;
  font-weight: 500;
}

.btn-primary:hover {
  background: #4ec997;
}

.btn-ghost {
  border: 1px solid rgba(247, 251, 248, 0.35);
  color: #f7fbf8;
}

.btn-ghost:hover {
  border-color: rgba(247, 251, 248, 0.7);
  background: rgba(255, 255, 255, 0.06);
}

.section {
  padding: 96px 0;
}

.section h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: 0.08em;
}

.section-lead {
  margin: 0 0 40px;
  max-width: 40rem;
  color: var(--muted);
}

.about {
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.about-grid article {
  padding: 28px 24px;
  border-top: 2px solid var(--accent);
  background: linear-gradient(180deg, var(--cream), #fff 55%);
  animation: fadeUp 0.7s ease both;
}

.about-grid article:nth-child(2) {
  animation-delay: 0.1s;
}

.about-grid article:nth-child(3) {
  animation-delay: 0.2s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-grid h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.about-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.services {
  background:
    linear-gradient(180deg, rgba(18, 48, 43, 0.04), transparent),
    var(--surface);
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.service-list li {
  display: grid;
  gap: 6px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.service-list strong {
  font-size: 1.08rem;
}

.service-list span {
  color: var(--muted);
}

.contact {
  background: var(--bg-soft);
  color: #f4f7f5;
}

.contact .section-lead {
  color: rgba(244, 247, 245, 0.7);
}

.contact-dl {
  margin: 0;
  display: grid;
  gap: 22px;
}

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

.contact-dl dt {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: rgba(244, 247, 245, 0.55);
}

.contact-dl dd {
  margin: 0;
  font-size: 1.1rem;
}

.contact-dl a:hover {
  color: #3db887;
}

.site-footer {
  background: var(--bg);
  color: rgba(244, 247, 245, 0.72);
  padding: 40px 0 48px;
  font-size: 0.92rem;
}

.footer-inner {
  display: grid;
  gap: 8px;
}

.footer-brand {
  margin: 0 0 4px;
  color: #f4f7f5;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
}

.site-footer p {
  margin: 0;
}

.beian a {
  color: rgba(244, 247, 245, 0.55);
}

.beian a:hover {
  color: #3db887;
}

@media (max-width: 860px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    gap: 16px;
    font-size: 0.88rem;
  }

  .hero-content {
    padding-bottom: 64px;
  }
}

@media (max-width: 560px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 0;
  }

  .brand-hero {
    letter-spacing: 0.08em;
  }

  .hero h1 {
    letter-spacing: 0.08em;
  }
}
