/* ===== Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #333; line-height: 1.6; background: #fafafa;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== Top Bar ===== */
.top-bar {
  background: #8B4513; color: #fff; font-size: 14px; padding: 8px 0;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.top-bar a { color: #ffd700; }
.top-bar a:hover { text-decoration: underline; }

/* ===== Header / Nav ===== */
header {
  background: #fff; border-bottom: 1px solid #eee; position: sticky; top: 0; z-index: 100;
}
header .container { display: flex; align-items: center; justify-content: space-between; padding: 15px 20px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon {
  width: 48px; height: 48px; background: #8B4513; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; color: #fff;
  font-size: 22px; font-weight: 700;
}
.logo-text { font-size: 20px; font-weight: 700; color: #8B4513; }
.logo-text small { display: block; font-size: 12px; font-weight: 400; color: #888; }
nav ul { display: flex; list-style: none; gap: 30px; }
nav a {
  font-size: 15px; color: #555; font-weight: 500; transition: color .2s; position: relative;
}
nav a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: #8B4513; transition: width .2s;
}
nav a:hover, nav a.active { color: #8B4513; }
nav a:hover::after { width: 100%; }
.menu-toggle { display: none; background: none; border: none; font-size: 28px; color: #333; cursor: pointer; }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, #2c1810 0%, #5c3a28 50%, #8B4513 100%);
  color: #fff; padding: 100px 0; text-align: center; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.06"><path d="M20 30 L40 10 L60 30 L40 50 Z" fill="white"/><rect x="50" y="60" width="40" height="30" rx="2" fill="white"/><circle cx="30" cy="75" r="8" fill="white"/></svg>') repeat;
  background-size: 120px;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { font-size: 42px; font-weight: 700; margin-bottom: 20px; }
.hero h1 span { color: #ffd700; }
.hero p { font-size: 18px; max-width: 600px; margin: 0 auto 35px; color: rgba(255,255,255,.85); }
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; border-radius: 6px;
  font-size: 16px; font-weight: 600; cursor: pointer; transition: all .2s; border: none;
}
.btn-primary { background: #ffd700; color: #2c1810; }
.btn-primary:hover { background: #ffed4a; transform: translateY(-2px); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.5); }
.btn-outline:hover { border-color: #fff; transform: translateY(-2px); }

/* ===== Sections ===== */
section { padding: 80px 0; }
.section-title {
  text-align: center; font-size: 30px; font-weight: 700; color: #2c1810; margin-bottom: 12px;
}
.section-subtitle { text-align: center; color: #888; font-size: 16px; margin-bottom: 50px; }

/* ===== About ===== */
.about { background: #fff; }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.about-image {
  width: 100%; aspect-ratio: 4/3; border-radius: 12px; overflow: hidden;
  background: linear-gradient(135deg, #d4a574, #8B4513);
  display: flex; align-items: center; justify-content: center; color: #fff;
  font-size: 80px; opacity: .3; position: relative;
}
.about-image::after {
  content: '🏭'; font-size: 120px; opacity: .6; position: absolute;
}
.about-text h3 { font-size: 24px; color: #8B4513; margin-bottom: 16px; }
.about-text p { color: #666; margin-bottom: 16px; font-size: 15px; line-height: 1.8; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.stat { text-align: center; }
.stat-num { font-size: 32px; font-weight: 700; color: #8B4513; }
.stat-label { font-size: 13px; color: #888; margin-top: 4px; }

/* ===== Products ===== */
.products { background: #f5f0eb; }
.prod-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
}
.prod-card {
  background: #fff; border-radius: 10px; overflow: hidden; transition: all .3s;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.prod-card:hover { transform: translateY(-6px); box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.prod-img {
  width: 100%; aspect-ratio: 4/3; background: linear-gradient(135deg, #e8ddd4, #c4a88a);
  display: flex; align-items: center; justify-content: center; font-size: 40px;
}
.prod-info { padding: 20px; }
.prod-info h3 { font-size: 17px; color: #2c1810; margin-bottom: 8px; }
.prod-info p { font-size: 14px; color: #888; line-height: 1.6; }

/* ===== Advantages ===== */
.advantages { background: #fff; }
.adv-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px;
}
.adv-card {
  text-align: center; padding: 40px 20px; border-radius: 12px;
  background: #faf8f6; transition: all .3s;
}
.adv-card:hover { background: #f5f0eb; transform: translateY(-4px); }
.adv-icon { font-size: 48px; margin-bottom: 16px; }
.adv-card h3 { font-size: 17px; color: #2c1810; margin-bottom: 10px; }
.adv-card p { font-size: 14px; color: #888; line-height: 1.6; }

/* ===== Contact ===== */
.contact { background: #f5f0eb; }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 50px;
}
.contact-info h3 { font-size: 20px; color: #2c1810; margin-bottom: 20px; }
.contact-item {
  display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px;
}
.contact-item .icon { font-size: 22px; width: 40px; text-align: center; color: #8B4513; }
.contact-item .text { font-size: 15px; color: #666; }
.contact-item .label { font-size: 12px; color: #999; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form input, .contact-form textarea {
  padding: 14px 16px; border: 1px solid #ddd; border-radius: 6px; font-size: 15px;
  font-family: inherit; transition: border .2s; outline: none;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: #8B4513; }
.contact-form textarea { height: 120px; resize: vertical; }
.contact-form button { align-self: flex-start; }

/* ===== Footer ===== */
footer {
  background: #2c1810; color: rgba(255,255,255,.7); padding: 40px 0 20px;
}
footer .container { display: flex; flex-direction: column; align-items: center; gap: 12px; }
footer .footer-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
footer a { color: rgba(255,255,255,.7); font-size: 14px; }
footer a:hover { color: #ffd700; }
footer .copyright { font-size: 13px; text-align: center; }
footer .icp { color: rgba(255,255,255,.5); font-size: 12px; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 15px; }
  nav ul { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 20px; border-bottom: 1px solid #eee; gap: 16px; }
  nav ul.show { display: flex; }
  .menu-toggle { display: block; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .prod-grid { grid-template-columns: 1fr 1fr; }
  .adv-grid { grid-template-columns: 1fr 1fr; }
  .about-stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
}
@media (max-width: 480px) {
  .prod-grid { grid-template-columns: 1fr; }
  .adv-grid { grid-template-columns: 1fr; }
  .top-bar .container { flex-direction: column; text-align: center; }
}
