:root {
  --green: #1a7a3a;
  --green-dark: #0f5527;
  --green-light: #eaf4ee;
  --ink: #1f2937;
  --ink-soft: #4b5563;
  --bg: #ffffff;
  --bg-alt: #f6f9f7;
  --border: #e5e7eb;
  --radius: 14px;
  --shadow: 0 4px 20px rgba(0,0,0,.06);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  background: var(--bg);
}

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

a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-dark); }

/* ===== Topbar ===== */
.topbar { background: var(--green-dark); color: #fff; font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding: 6px 20px; }
.lang-switch { display: flex; gap: 4px; }
.lang-btn {
  background: transparent; border: 1px solid rgba(255,255,255,.35); color: #fff;
  padding: 3px 10px; border-radius: 6px; cursor: pointer; font-size: 12px;
}
.lang-btn.active { background: #fff; color: var(--green-dark); font-weight: 600; }

/* ===== Header ===== */
.header { position: sticky; top: 0; background: #fff; border-bottom: 1px solid var(--border); z-index: 50; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: var(--ink); }
.logo-img { height: 42px; width: auto; border-radius: 6px; }
.logo-text { letter-spacing: 1px; }
.about-logo { height: 64px; width: auto; margin-bottom: 14px; }
.about-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.about-brand .about-logo { margin-bottom: 0; }
.about-brand-text { display: flex; align-items: center; gap: 6px; line-height: 1.25; }
.about-brand-text .brand-cn { font-size: 1rem; font-weight: 700; color: var(--orange); }
.about-brand-text .brand-sep { font-size: 0.9rem; color: var(--text-light); }
.about-brand-text .brand-en { font-size: 1rem; font-weight: 600; color: var(--blue); }
.menu { display: flex; gap: 24px; }
.menu a { color: var(--ink-soft); font-weight: 500; }
.menu a:hover { color: var(--green); }
.nav-cta { white-space: nowrap; }
.menu-toggle { display: none; background: none; border: none; font-size: 26px; cursor: pointer; color: var(--ink); }

/* ===== Buttons ===== */
.btn { display: inline-block; padding: 11px 22px; border-radius: 10px; font-weight: 600; cursor: pointer; border: none; transition: .15s; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-ghost:hover { background: #fff; color: var(--green-dark); }
.btn-lg { padding: 14px 30px; font-size: 17px; }

/* ===== Hero ===== */
.hero { position: relative; background: linear-gradient(135deg, var(--green-dark), var(--green)); color: #fff; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; opacity: .18;
  background-image: url('images/hero-tiller.jpg'), radial-gradient(circle at 20% 30%, #fff 0, transparent 30%), radial-gradient(circle at 80% 70%, #fff 0, transparent 30%);
  background-size: cover, auto, auto;
  background-position: center, center, center;
  background-repeat: no-repeat, no-repeat, no-repeat;
}
.hero-inner { position: relative; padding: 90px 20px; text-align: center; }
.hero-title { font-size: 44px; line-height: 1.2; margin-bottom: 18px; }
.hero-sub { font-size: 19px; max-width: 720px; margin: 0 auto 32px; opacity: .95; }
.hero-actions { display: flex; gap: 16px; justify-content: center; margin-bottom: 48px; flex-wrap: wrap; }
.hero-stats { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat strong { font-size: 34px; font-weight: 800; }
.stat span { font-size: 14px; opacity: .9; }

/* ===== Sections ===== */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-title { font-size: 34px; text-align: center; margin-bottom: 12px; }
.section-lead { text-align: center; color: var(--ink-soft); max-width: 680px; margin: 0 auto 40px; }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.about-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.about-card h3 { color: var(--green-dark); margin-bottom: 10px; }
.about-card p { color: var(--ink-soft); font-size: 15px; }

/* ===== Filter ===== */
.filter-bar { display: flex; justify-content: center; gap: 10px; margin-bottom: 36px; flex-wrap: wrap; }
.filter-btn { padding: 9px 20px; border-radius: 30px; border: 1px solid var(--border); background: #fff; cursor: pointer; font-weight: 500; }
.filter-btn.active { background: var(--green); color: #fff; border-color: var(--green); }

/* ===== Products ===== */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,.1); }
.product-img { width: 100%; height: 240px; background: #f5f5f5; display: flex; align-items: center; justify-content: center; color: #9ca3af; font-size: 14px; overflow: hidden; }
.product-img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.product-body { padding: 20px; }
.product-cat { display: inline-block; font-size: 12px; color: var(--green); background: var(--green-light); padding: 3px 10px; border-radius: 20px; margin-bottom: 10px; }
.product-name { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.product-model { font-size: 14px; color: var(--ink-soft); margin-bottom: 12px; font-family: monospace; }
.product-specs { list-style: none; font-size: 14px; color: var(--ink-soft); margin-bottom: 16px; }
.product-specs li { padding: 3px 0; }
.product-cta { font-weight: 600; }

/* ===== Why ===== */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-item { text-align: center; padding: 24px; }
.why-icon { font-size: 38px; display: block; margin-bottom: 10px; }
.why-item h3 { font-size: 18px; margin-bottom: 8px; }
.why-item p { color: var(--ink-soft); font-size: 14px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }

/* ===== News ===== */
.news-card { max-width: 860px; margin: 0 auto; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); }
.news-source { font-size: 13px; color: #9ca3af; margin-bottom: 10px; }
.news-headline { font-size: 24px; color: var(--green-dark); margin-bottom: 20px; }
.news-body p { color: var(--ink-soft); margin-bottom: 16px; font-size: 15px; line-height: 1.75; }
.news-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 24px; }
.news-photo { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; }
.news-highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border); }
.highlight { text-align: center; padding: 16px; background: var(--green-light); border-radius: 10px; }
.highlight strong { display: block; font-size: 28px; color: var(--green-dark); }
.highlight span { font-size: 13px; color: var(--ink-soft); }
.news-credit { font-size: 12px; color: #9ca3af; margin-top: 16px; text-align: right; }
@media (max-width: 640px) { .news-highlights { grid-template-columns: 1fr; } .news-photos { grid-template-columns: 1fr; } }

.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }.contact-info h3 { margin-bottom: 16px; }
.contact-list { list-style: none; }
.contact-list li { padding: 8px 0; border-bottom: 1px solid var(--border); }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 12px 14px; margin-bottom: 14px; border: 1px solid var(--border);
  border-radius: 10px; font-size: 15px; font-family: inherit;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--green); border-color: var(--green); }
.form-note { font-size: 12px; color: #9ca3af; margin-top: 10px; }

/* ===== Footer ===== */
.footer { background: var(--ink); color: #d1d5db; padding: 32px 0; font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .about-grid, .product-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 32px; }
}
@media (max-width: 640px) {
  .about-grid, .product-grid, .why-grid { grid-template-columns: 1fr; }
  .menu { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: #fff; padding: 16px 20px; border-bottom: 1px solid var(--border); }
  .menu.open { display: flex; }
  .menu-toggle { display: block; }
  .nav-cta { display: none; }
  .hero-inner { padding: 60px 20px; }
  .topbar-hint { display: none; }
}

/* ===== 询盘弹窗 ===== */
.inquiry-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}
.inquiry-overlay.open {
  display: flex;
}
.inquiry-modal {
  background: #fff;
  border-radius: 16px;
  max-width: 480px;
  width: 100%;
  padding: 30px 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}
.inquiry-modal h3 {
  margin: 0 0 14px 0;
  color: #0f5527;
  font-size: 22px;
}
.inquiry-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: #888;
  cursor: pointer;
  padding: 4px 10px;
}
.inquiry-close:hover { color: #333; }
.inquiry-preview {
  background: #f5f5f5;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 13px;
  white-space: pre-wrap;
  font-family: ui-monospace, Consolas, monospace;
  color: #555;
  margin-bottom: 20px;
  max-height: 140px;
  overflow-y: auto;
}
.inquiry-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.inquiry-action {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  text-decoration: none;
  color: #333;
  transition: all 0.2s;
  font-family: inherit;
  font-size: 15px;
}
.inquiry-action:hover {
  border-color: #1a7a3a;
  background: #f9fdf7;
  transform: translateY(-1px);
}
.inquiry-icon {
  font-size: 26px;
  flex-shrink: 0;
}
.inquiry-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.inquiry-label strong {
  font-size: 16px;
  font-weight: 600;
  color: #222;
}
.inquiry-label small {
  font-size: 12px;
  color: #888;
}
.inquiry-action.wa:hover {
  border-color: #25D366;
  background: #f0fff4;
}
.inquiry-action.mail:hover {
  border-color: #0078D4;
  background: #f0f8ff;
}
.inquiry-action.copy:hover {
  border-color: #666;
}
