:root {
  --green: #18503a;
  --green-light: #246b4f;
  --gold: #b8893b;
  --cream: #faf7f1;
  --ink: #2b2b2b;
  --muted: #777;
  --line: #e7e0d4;
  --white: #fff;
  --shadow: 0 8rpx 24rpx rgba(0, 0, 0, 0.08);
  --max: 1100px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 16px;
}

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

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

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== 导航 ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  font-size: 20px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 1px;
}
.nav-links {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}
.nav-links a {
  color: var(--ink);
  font-size: 15px;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--green); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  background: url('../images/store-front.jpg') center / cover no-repeat;
  color: var(--white);
  text-align: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 30, 22, 0.62), rgba(10, 30, 22, 0.72));
}
.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
}
.hero-tag {
  letter-spacing: 4px;
  font-size: 15px;
  opacity: 0.9;
  margin-bottom: 14px;
}
.hero h1 {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: 2px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}
.hero-sub {
  margin: 16px auto 28px;
  font-size: 17px;
  max-width: 620px;
  opacity: 0.95;
}
.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== 按钮 ===== */
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.15s, opacity 0.15s, background 0.2s;
}
.btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(24, 80, 58, 0.35);
}
.btn-primary:hover { opacity: 0.92; transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.8);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.15); }

/* ===== 区块通用 ===== */
.section { padding: 72px 0; }
.section-alt { background: #fff; }
.section-title {
  font-size: 30px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 18px;
}
.section-title.center,
.section-desc.center { text-align: center; }
.section-desc { color: var(--muted); margin-bottom: 36px; }

/* ===== 关于 ===== */
.about {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.about-text p { margin-bottom: 14px; color: #444; }
.about-points {
  list-style: none;
  margin-top: 18px;
}
.about-points li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  color: #444;
}
.about-points li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 14px;
}
.about-img img {
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  width: 100%;
}

/* ===== 服务 ===== */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}
.service-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 30px 24px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}
.service-icon {
  font-size: 38px;
  margin-bottom: 12px;
}
.service-card h3 {
  font-size: 19px;
  color: var(--green);
  margin-bottom: 10px;
}
.service-card p { color: var(--muted); font-size: 14.5px; }

/* ===== 作品 ===== */
.works {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.work {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
  background: #fff;
}
.work img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}
.work figcaption {
  padding: 14px;
  text-align: center;
  font-weight: 600;
  color: var(--green);
}

/* ===== 联系 ===== */
.contact {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: start;
}
.contact-info p {
  margin-bottom: 14px;
  font-size: 16px;
  color: #444;
}
.contact-info span { color: var(--green); font-weight: 600; }
.contact-tip {
  margin-top: 18px;
  padding: 14px 16px;
  background: #f3f7f3;
  border-left: 3px solid var(--green);
  border-radius: 8px;
  font-size: 14.5px;
  color: #555 !important;
}
.contact-card {
  background: var(--green);
  color: var(--white);
  border-radius: 14px;
  padding: 30px 26px;
  text-align: center;
}
.contact-card-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}
.contact-card p { margin-bottom: 22px; opacity: 0.95; }
.contact-card .btn-primary {
  background: var(--white);
  color: var(--green);
  box-shadow: none;
}

/* ===== 页脚 ===== */
.footer {
  background: #14271d;
  color: #cfd8d2;
  padding: 28px 0;
  text-align: center;
  font-size: 14px;
}
.footer a { color: #cfd8d2; border-bottom: 1px dashed #5b7064; }
.footer a:hover { color: #fff; }
.footer p { margin: 6px 0; }

/* ===== 响应式 ===== */
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; gap: 28px; }
  .contact { grid-template-columns: 1fr; }
  .works { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 34px; }
}
@media (max-width: 560px) {
  .nav-inner { height: auto; padding: 10px 0; flex-direction: column; gap: 8px; }
  .nav-links { gap: 16px; justify-content: center; }
  .section { padding: 52px 0; }
  .works { grid-template-columns: 1fr; }
  .work img { height: 260px; }
  .hero h1 { font-size: 28px; }
  .hero-sub { font-size: 15px; }
}
