/* 七星·好享里 — 官网 */
:root {
  --primary: #2D5A27;
  --primary-dark: #1A3D16;
  --accent: #E8B84A;
  --text: #1E293B;
  --muted: #64748B;
  --bg: #F5F5F0;
  --surface: #fff;
  --line: #E2E8F0;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

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

a { color: var(--primary); text-decoration: none; }

.container { width: min(1080px, 92vw); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
}

.brand img { width: 40px; height: 40px; object-fit: cover; border-radius: 8px; }

.nav { display: flex; gap: 22px; list-style: none; }
.nav a { color: var(--text); font-size: 0.95rem; }
.nav a:hover { color: var(--primary); }

.hero {
  background:
    linear-gradient(120deg, rgba(26, 61, 22, 0.78), rgba(45, 90, 39, 0.45)),
    url("../assets/hero-pagoda.png") center / cover no-repeat;
  color: #fff;
  padding: 88px 0 72px;
}

.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: 0.04em; }
.hero .lead { margin-top: 12px; font-size: 1.15rem; opacity: 0.95; }
.hero p { max-width: 38rem; margin-top: 16px; color: rgba(255, 255, 255, 0.9); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
}
.btn-primary { background: var(--accent); color: #1A3D16; }
.btn-ghost { border: 1px solid rgba(255, 255, 255, 0.7); color: #fff; }

.section { padding: 64px 0; }
.section-alt { background: var(--surface); }
.section h2 { font-size: 1.7rem; margin-bottom: 8px; }
.section .sub { color: var(--muted); margin-bottom: 28px; max-width: 40rem; }

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
}
.section-alt .card { background: var(--bg); }
.card h3 { margin-bottom: 6px; font-size: 1.05rem; }
.card p { color: var(--muted); font-size: 0.95rem; }
.card .more { display: inline-block; margin-top: 12px; font-weight: 600; }

.site-footer {
  padding: 28px 0 36px;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

@media (max-width: 800px) {
  .nav { display: none; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 48px; }
}
