/* ===== Garden Tools — trade site styles ===== */
:root {
  --green-900: #1b4332;
  --green-700: #2d6a4f;
  --green-500: #40916c;
  --green-300: #74c69d;
  --green-100: #e7f0ea;
  --cream: #faf9f6;
  --ink: #1e293b;
  --muted: #5b6b7b;
  --line: #e3e8e2;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(27, 67, 50, 0.08);
  --shadow-hover: 0 14px 34px rgba(27, 67, 50, 0.16);
  --font-body: "Inter", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--green-700); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }

.container { max-width: 1150px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; color: var(--green-900); }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 10px; }
h3 { font-size: 1.15rem; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header.scrolled { box-shadow: var(--shadow); }

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

.logo { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--green-900); }
.logo:hover { text-decoration: none; }
.logo-mark { font-size: 1.3rem; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav-link { color: var(--ink); font-weight: 500; font-size: 0.95rem; }
.nav-link:hover { color: var(--green-700); text-decoration: none; }
.nav-link.active { color: var(--green-700); font-weight: 600; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
  padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: all 0.18s ease; text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary { background: var(--green-700); color: #fff; }
.btn-primary:hover { background: var(--green-900); box-shadow: var(--shadow-hover); }

.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }

.btn-outline { background: transparent; color: var(--green-700); border-color: var(--green-500); }
.btn-outline:hover { background: var(--green-700); color: #fff; }

.btn-light { background: #fff; color: var(--green-900); }
.btn-light:hover { background: var(--green-100); }

.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 55%, var(--green-500) 100%);
  color: #fff; padding: 96px 0 110px; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14) 0%, transparent 70%);
}
.hero-inner { position: relative; max-width: 780px; }
.hero h1 { color: #fff; margin: 14px 0 18px; }
.hero h1 .accent { color: var(--green-300); }
.hero-eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--green-300);
  border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 999px;
  padding: 6px 14px; background: rgba(255, 255, 255, 0.06);
}
.hero-sub { font-size: 1.12rem; color: rgba(255, 255, 255, 0.92); max-width: 620px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== Trust strip ===== */
.trust-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 26px 24px; }
.trust-item { display: flex; gap: 14px; align-items: flex-start; color: var(--green-900); }
.trust-item svg { flex-shrink: 0; margin-top: 3px; color: var(--green-500); }
.trust-item strong { display: block; font-size: 0.92rem; }
.trust-item span { font-size: 0.82rem; color: var(--muted); }

/* ===== Sections ===== */
.section { padding: 72px 0; }
.section-alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.text-link { font-weight: 600; font-size: 0.95rem; }
.text-link:hover { text-decoration: none; }

/* ===== Product grid ===== */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; }

.product-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

.card-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--green-100); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.product-card:hover .card-img img { transform: scale(1.04); }

.card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.card-sku { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green-500); margin-bottom: 6px; }
.card-title { margin-bottom: 8px; font-size: 1.15rem; }
.card-desc { font-size: 0.9rem; color: var(--muted); margin-bottom: 12px; }

.card-specs { margin-bottom: 16px; }
.card-specs li {
  font-size: 0.84rem; color: var(--ink); padding-left: 18px; position: relative; margin-bottom: 3px;
}
.card-specs li::before { content: "✓"; position: absolute; left: 0; color: var(--green-500); font-weight: 700; }

.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.card-price { font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; color: var(--green-700); }
.card-moq { font-size: 0.78rem; color: var(--muted); }

/* ===== Filters ===== */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.filter-btn {
  font-family: var(--font-body); font-size: 0.88rem; font-weight: 600;
  padding: 8px 18px; border-radius: 999px; border: 1.5px solid var(--green-500);
  background: transparent; color: var(--green-700); cursor: pointer; transition: all 0.15s ease;
}
.filter-btn:hover { background: var(--green-100); }
.filter-btn.active { background: var(--green-700); border-color: var(--green-700); color: #fff; }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.about-grid p { color: var(--muted); margin-bottom: 16px; }

.checklist li { padding-left: 26px; position: relative; margin-bottom: 10px; font-size: 0.95rem; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--green-100); color: var(--green-700);
  font-size: 0.72rem; font-weight: 800; text-align: center; line-height: 18px;
}

.about-side { display: flex; flex-direction: column; gap: 16px; }
.stat-card { background: var(--green-900); color: #fff; border-radius: var(--radius); padding: 24px; }
.stat-num { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--green-300); }
.stat-label { font-size: 0.9rem; color: rgba(255, 255, 255, 0.85); }

/* ===== CTA banner ===== */
.cta-banner {
  background: linear-gradient(120deg, var(--green-700), var(--green-500));
  border-radius: 20px; padding: 44px 48px; color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
}
.cta-banner h2 { color: #fff; margin-bottom: 6px; }
.cta-banner p { color: rgba(255, 255, 255, 0.9); }

/* ===== Page hero ===== */
.page-hero { background: linear-gradient(135deg, var(--green-900), var(--green-700)); color: #fff; padding: 72px 0 80px; }
.page-hero-sm { padding: 56px 0 60px; }
.page-hero h1 { color: #fff; margin: 14px 0 12px; }
.page-hero-sub { color: rgba(255, 255, 255, 0.9); max-width: 640px; }
.page-hero .hero-eyebrow { border-color: rgba(255, 255, 255, 0.35); }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; }

.form-wrap { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%; padding: 12px 14px; font-family: var(--font-body); font-size: 0.95rem;
  border: 1.5px solid var(--line); border-radius: 10px; background: var(--cream);
  color: var(--ink); transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none; border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(64, 145, 108, 0.18); background: #fff;
}
.form-field textarea { resize: vertical; }
.form-note { font-size: 0.8rem; color: var(--muted); margin-top: 12px; }

.notice { background: var(--green-100); border: 1px solid var(--green-300); color: var(--green-900); border-radius: 10px; padding: 12px 16px; margin-bottom: 20px; font-size: 0.92rem; }

.success-box { text-align: center; padding: 40px 20px; }
.success-box h2 { color: var(--green-700); margin-bottom: 12px; }
.success-box p { color: var(--muted); margin-bottom: 10px; }
.success-box .btn { margin-top: 16px; }

.contact-side h3 { margin-bottom: 10px; }
.contact-side a { font-weight: 600; }
.contact-side hr { border: none; border-top: 1px solid var(--line); margin: 26px 0; }
.steps { counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-left: 34px; margin-bottom: 12px; font-size: 0.92rem; color: var(--ink); }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 2px;
  width: 22px; height: 22px; border-radius: 50%; background: var(--green-700); color: #fff;
  font-size: 0.75rem; font-weight: 700; text-align: center; line-height: 22px;
}

/* ===== Footer ===== */
.site-footer { background: var(--green-900); color: rgba(255, 255, 255, 0.85); padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.site-footer h4 { color: #fff; margin-bottom: 14px; }
.site-footer p { font-size: 0.9rem; margin-bottom: 8px; }
.site-footer a { color: var(--green-300); }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255, 255, 255, 0.85); font-size: 0.92rem; }
.footer-links a:hover { color: var(--green-300); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.15); padding: 18px 24px; }
.footer-bottom p { font-size: 0.82rem; color: rgba(255, 255, 255, 0.6); margin: 0; }

/* ===== Utility ===== */
.visually-hidden { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
[hidden] { display: none !important; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .nav { gap: 14px; }
  .nav-link { font-size: 0.88rem; }
}

@media (max-width: 560px) {
  .hero { padding: 64px 0 76px; }
  .section { padding: 52px 0; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .trust-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 32px 24px; }
  .header-inner { height: 60px; }
  .nav-cta { display: none; }
}

/* ===== 板块导航 ===== */
.brand { font-size: 1.15rem; font-weight: 700; color: var(--green, #2e7d32); display: flex; align-items: center; gap: 8px; }
.brand span { color: var(--text, #263238); }
.main-nav { display: flex; align-items: center; gap: 18px; }
.main-nav a { color: var(--text, #263238); font-size: 0.92rem; font-weight: 500; }
.main-nav a:hover { color: var(--green, #2e7d32); text-decoration: none; }
.main-nav .nav-cta { background: var(--green, #2e7d32); color: #fff; padding: 8px 16px; border-radius: 8px; }
.main-nav .nav-cta:hover { background: var(--green-dark, #1b5e20); color: #fff; }

/* ===== 板块页 hero ===== */
.page-hero { background: linear-gradient(135deg, #2e7d32, #1b5e20); color: #fff; padding: 56px 0; }
.page-hero h1 { font-size: 2rem; margin-bottom: 8px; }
.page-hero .hero-sub { opacity: 0.9; font-size: 1rem; max-width: 640px; }
.page-intro { font-size: 1.02rem; color: var(--muted, #607d8b); margin-bottom: 28px; max-width: 720px; }

/* ===== 产品网格 ===== */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.product-card { background: #fff; border: 1px solid var(--border, #e0e6e0); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow, 0 2px 12px rgba(0,0,0,.07)); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.product-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.card-img { background: #fff; padding: 12px; aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--border, #e0e6e0); }
.card-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.card-sku { font-size: 0.78rem; color: var(--green, #2e7d32); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.card-title { font-size: 1.05rem; margin: 4px 0 6px; }
.card-desc { font-size: 0.9rem; color: var(--muted, #607d8b); margin-bottom: 10px; }
.card-specs { list-style: none; margin: 0 0 14px; padding: 0; }
.card-specs li { font-size: 0.83rem; color: var(--muted, #607d8b); padding: 3px 0; border-bottom: 1px dashed var(--border, #e0e6e0); }
.card-specs li:last-child { border-bottom: none; }
.card-foot { margin-top: auto; }

/* ===== 首页板块卡片 ===== */
.section-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.section-card { display: block; background: #fff; border: 1px solid var(--border, #e0e6e0); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow, 0 2px 12px rgba(0,0,0,.07)); transition: transform .2s, box-shadow .2s; color: var(--text, #263238); }
.section-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,.12); text-decoration: none; }
.section-card-img { aspect-ratio: 4/3; background: #fff; padding: 10px; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--border, #e0e6e0); }
.section-card-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.section-card-body { padding: 14px 16px 16px; }
.section-card-body h3 { font-size: 1.05rem; margin-bottom: 4px; }
.section-card-body p { font-size: 0.86rem; color: var(--muted, #607d8b); margin-bottom: 8px; }
.section-card-count { font-size: 0.78rem; color: var(--green, #2e7d32); font-weight: 700; }

/* ===== Greenhouse 分区 ===== */
.sub-section { margin-bottom: 44px; }
.sub-title { font-size: 1.35rem; padding-bottom: 10px; border-bottom: 2px solid var(--green, #2e7d32); margin-bottom: 20px; }
.sub-count { font-size: 0.85rem; color: var(--muted, #607d8b); font-weight: 500; }

/* ===== 关于页 ===== */
.about-img-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 28px; }
.about-img-row img { width: 100%; border-radius: 10px; border: 1px solid var(--border, #e0e6e0); }
.about-text p { margin-bottom: 16px; font-size: 1.02rem; }
.about-text h3 { margin: 20px 0 10px; }
.about-contact { list-style: none; padding: 0; margin: 0 0 20px; }
.about-contact li { padding: 8px 0; border-bottom: 1px dashed var(--border, #e0e6e0); font-size: 0.98rem; }

/* ===== Footer ===== */
.footer-contact { font-size: 0.85rem; opacity: 0.8; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .main-nav { gap: 12px; }
  .main-nav a { font-size: 0.85rem; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
}
@media (max-width: 620px) {
  .main-nav { gap: 10px; }
  .main-nav a { font-size: 0.78rem; }
  .main-nav .nav-cta { display: none; }
  .about-img-row { grid-template-columns: 1fr; }
}
