:root {
  --ink: #14231c;
  --ink-soft: #3d5247;
  --mist: #e8f0eb;
  --paper: #f5f8f6;
  --accent: #1f6b4f;
  --accent-deep: #15553e;
  --line: rgba(20, 35, 28, 0.12);
  --hero-overlay: linear-gradient(
    115deg,
    rgba(12, 28, 22, 0.78) 0%,
    rgba(12, 28, 22, 0.55) 48%,
    rgba(12, 28, 22, 0.28) 100%
  );
  --font-display: "ZCOOL XiaoWei", "Noto Sans SC", serif;
  --font-body: "Noto Sans SC", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, #d4e8dc 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 20%, #dce8e2 0%, transparent 50%),
    var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 6vw;
  background: rgba(245, 248, 246, 0.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}

.nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.nav a {
  color: var(--ink-soft);
  transition: color 0.25s ease;
}

.nav a:hover {
  color: var(--accent);
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    var(--hero-overlay),
    url("https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1920&q=80")
      center / cover no-repeat;
  transform: scale(1.04);
  animation: hero-zoom 12s ease-out forwards;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, 88vw);
  padding: 0 6vw 12vh;
  color: #f4faf6;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-content.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.brand {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.5vw, 2.75rem);
  letter-spacing: 0.06em;
  line-height: 1.25;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  font-weight: 500;
  line-height: 1.45;
  max-width: 18em;
}

.lead {
  margin: 0 0 2rem;
  font-size: 1.05rem;
  color: rgba(244, 250, 246, 0.88);
  max-width: 28em;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 1.35rem;
  border: 1px solid transparent;
  font-size: 0.95rem;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease,
    transform 0.25s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: #f4faf6;
  color: var(--ink);
}

.btn-primary:hover {
  background: #ffffff;
}

.btn-ghost {
  border-color: rgba(244, 250, 246, 0.45);
  color: #f4faf6;
}

.btn-ghost:hover {
  border-color: #f4faf6;
  background: rgba(244, 250, 246, 0.08);
}

.section {
  padding: 5.5rem 6vw;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section-inner {
  width: min(920px, 100%);
  margin: 0 auto;
}

.section h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 400;
  letter-spacing: 0.04em;
}

.section-desc {
  margin: 0 0 2.5rem;
  color: var(--ink-soft);
  max-width: 28em;
}

.services {
  background: linear-gradient(180deg, transparent 0%, rgba(212, 232, 220, 0.35) 100%);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem 3.5rem;
  border-top: 1px solid var(--line);
  padding-top: 2.25rem;
}

.service h3 {
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.service p {
  margin: 0;
  color: var(--ink-soft);
}

.about {
  background:
    linear-gradient(120deg, rgba(31, 107, 79, 0.08), transparent 55%),
    var(--mist);
}

.about p {
  margin: 0;
  font-size: 1.12rem;
  max-width: 36em;
  color: var(--ink-soft);
}

.contact .contact-place {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--accent-deep);
  letter-spacing: 0.08em;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 1.75rem 6vw 2.25rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.site-footer a {
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.site-footer a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

@keyframes hero-zoom {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 0.95rem 5vw;
  }

  .nav {
    gap: 1rem;
    font-size: 0.88rem;
  }

  .hero-content {
    padding-bottom: 10vh;
  }

  .service-list {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .section {
    padding: 4rem 5vw;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-media,
  .hero-content,
  .section,
  .btn {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
