:root {
  --primary: #1a5f3c;
  --primary-dark: #134a2e;
  --accent: #c9a227;
  --bg: #f8f9f6;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #e5e7eb;
}

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

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  background: var(--primary);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 700;
}

.logo:hover { text-decoration: none; }

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

nav.main-nav { display: flex; gap: 4px; flex-wrap: wrap; }

nav.main-nav a {
  color: rgba(255,255,255,.85);
  padding: 8px 14px;
  border-radius: 6px;
  font-size: .9rem;
  text-decoration: none;
  transition: background .2s;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  background: rgba(255,255,255,.15);
  color: #fff;
  text-decoration: none;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 72px 0;
}

.hero h1 { font-size: 2rem; margin-bottom: 16px; font-weight: 700; }
.hero p { font-size: 1.05rem; opacity: .9; max-width: 600px; margin-bottom: 28px; }

.btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 6px;
  font-size: .95rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: opacity .2s;
}

.btn:hover { opacity: .9; text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-outline { background: transparent; border: 1px solid rgba(255,255,255,.6); color: #fff; margin-left: 12px; }

/* Sections */
section { padding: 56px 0; }
section.alt { background: var(--card); }

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 { font-size: 1.6rem; color: var(--primary); margin-bottom: 8px; }
.section-title p { color: var(--muted); font-size: .95rem; }

/* Cards grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
  transition: box-shadow .2s;
}

.card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); }

.card-icon {
  width: 48px;
  height: 48px;
  background: rgba(26,95,60,.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.card h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--primary); }
.card p { font-size: .9rem; color: var(--muted); }

/* Product cards */
.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.product-img {
  height: 160px;
  background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.product-body { padding: 20px; }
.product-body h3 { font-size: 1rem; margin-bottom: 6px; }
.product-body .tag {
  display: inline-block;
  background: rgba(26,95,60,.1);
  color: var(--primary);
  font-size: .75rem;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.product-body p { font-size: .85rem; color: var(--muted); }
.product-body .price { color: #c0392b; font-weight: 600; margin-top: 8px; }

/* Info table */
.info-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.info-table th,
.info-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: .9rem;
}

.info-table th {
  background: rgba(26,95,60,.06);
  color: var(--primary);
  width: 180px;
  font-weight: 600;
}

.info-table tr:last-child td,
.info-table tr:last-child th { border-bottom: none; }

/* Qualification */
.qual-box {
  background: var(--card);
  border: 1px dashed var(--border);
  border-radius: 10px;
  padding: 40px;
  text-align: center;
  color: var(--muted);
}

.qual-box .placeholder {
  width: 100%;
  max-width: 400px;
  height: 280px;
  margin: 0 auto 16px;
  background: #f3f4f6;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  color: #9ca3af;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.contact-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
}

.contact-item h3 { font-size: .95rem; color: var(--primary); margin-bottom: 8px; }
.contact-item p { font-size: .9rem; color: var(--muted); }

/* Legal content */
.legal-content {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 36px;
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 { font-size: 1.3rem; color: var(--primary); margin-bottom: 20px; }
.legal-content h3 { font-size: 1rem; margin: 20px 0 10px; }
.legal-content p, .legal-content li { font-size: .9rem; color: var(--muted); margin-bottom: 10px; }
.legal-content ul { padding-left: 20px; }

/* Notice bar */
.notice-bar {
  background: #fff8e1;
  border-bottom: 1px solid #ffe082;
  padding: 10px 0;
  font-size: .85rem;
  color: #795548;
  text-align: center;
}

/* Footer */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,.8);
  padding: 48px 0 24px;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}

.footer-grid h3 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.footer-grid a, .footer-grid p { color: rgba(255,255,255,.65); font-size: .85rem; display: block; margin-bottom: 6px; text-decoration: none; }
.footer-grid a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px;
  text-align: center;
  font-size: .8rem;
  color: rgba(255,255,255,.5);
}

.page-banner {
  background: var(--primary);
  color: #fff;
  padding: 40px 0;
  text-align: center;
}

.page-banner h1 { font-size: 1.6rem; }
.page-banner p { opacity: .8; font-size: .9rem; margin-top: 6px; }

@media (max-width: 640px) {
  .header-inner { flex-direction: column; height: auto; padding: 12px 0; gap: 10px; }
  nav.main-nav { justify-content: center; }
  .hero h1 { font-size: 1.5rem; }
  .btn-outline { margin-left: 0; margin-top: 10px; }
}
