:root {
  --green: #2f7d32;
  --green-dark: #1f5c22;
  --dark: #1f252b;
  --muted-dark: #4d5965;
  --light: #f3f7f4;
  --white: #ffffff;
  --border: #d8e1da;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1rem;
}

.logo {
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.main-nav a {
  padding: 0.48rem 0.78rem;
  border-radius: 999px;
  color: var(--muted-dark);
  font-weight: 700;
  border: 1px solid transparent;
}

.main-nav a:hover {
  background: #eaf5eb;
  color: var(--green-dark);
  border-color: #d0e1d3;
}

.logo-img {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  object-fit: contain;
  border: 1px solid #d5e3d7;
  background: #fff;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
}

.footer-logo {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: contain;
  border: 1px solid #54616e;
  background: #fff;
}

.site-nav {
  display: flex;
  gap: 1rem;
}

.site-nav a {
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
  color: var(--muted-dark);
  font-weight: 600;
}

.site-nav a.active,
.site-nav a:hover {
  background: #e8f2e9;
  color: var(--green-dark);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--white);
  padding: 0.4rem 0.7rem;
  border-radius: 8px;
  font-weight: 600;
}

.hero,
.page-hero {
  background:
    linear-gradient(130deg, rgba(47, 125, 50, 0.1), rgba(31, 37, 43, 0.04)),
    var(--light);
}

.hero {
  padding: 4rem 0 3rem;
}

.page-hero {
  padding: 2.4rem 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.4rem;
  align-items: center;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.2;
}

h1 {
  font-size: clamp(1.9rem, 3vw, 2.9rem);
  margin-bottom: 0.8rem;
}

.lead {
  max-width: 68ch;
  color: #3d4650;
}

.eyebrow {
  color: var(--green-dark);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.hero-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 16px 35px rgba(20, 30, 40, 0.12);
}

.trust-row {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.trust-row span {
  font-weight: 600;
  font-size: 0.9rem;
  background: #eaf5eb;
  border: 1px solid #d7e8d9;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  color: #244d28;
}

.check-list {
  margin: 0;
  padding-left: 1.1rem;
}

.check-list li {
  margin: 0.5rem 0;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.btn {
  display: inline-block;
  border-radius: 10px;
  padding: 0.68rem 1.05rem;
  font-weight: 700;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--green-dark);
}

.btn-secondary {
  border-color: var(--green);
  color: var(--green-dark);
}

.btn-outline {
  border-color: #b9c8bb;
  color: #29492c;
  background: #fff;
}

.btn-outline:hover {
  border-color: var(--green);
  color: var(--green-dark);
}

.section {
  padding: 2.8rem 0;
}

.muted {
  background: #f6faf7;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.text-link {
  color: var(--green-dark);
  font-weight: 700;
}

.card-grid {
  display: grid;
  gap: 1rem;
}

.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.1rem;
  box-shadow: 0 8px 20px rgba(18, 34, 21, 0.06);
}

.icon-card h3 {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.product-card h3 {
  margin-bottom: 0.4rem;
}

.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.9rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(20, 30, 40, 0.12);
}

.product-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border);
  margin-bottom: 0.75rem;
  background: #eef5ef;
}

.product-image-lg {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #f5faf6;
  padding: 0.6rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.filter-form {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 220px 160px;
  margin-bottom: 16px;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 1.2rem;
  align-items: start;
}

.product-summary {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
}

.meta-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  margin: 0.8rem 0 0.6rem;
}

.meta-list p {
  margin: 0;
  font-size: 0.94rem;
  background: #f7fbf7;
  border: 1px solid #e1ebe2;
  border-radius: 10px;
  padding: 0.45rem 0.55rem;
}

.pill {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  background: #eaf5eb;
  color: var(--green-dark);
}

.details-card {
  margin-top: 1rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem;
  background: var(--white);
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.product-gallery-image {
  width: 100%;
  height: 210px;
  border-radius: 12px;
  border: 1px solid var(--border);
  object-fit: cover;
  background: #eff5ef;
}

.details-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 1rem;
}

.details-meta p {
  margin: 0;
  padding: 0.5rem;
  border-radius: 10px;
  background: #f7fbf7;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1rem;
}

.spec-grid p {
  margin: 0;
  padding: 0.5rem;
  border-radius: 10px;
  background: #f8fbf8;
}

.filters {
  margin-bottom: 1rem;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0.8rem;
}

.category-strip {
  margin-bottom: 1rem;
}

.category-title {
  margin: 0 0 0.45rem;
  font-weight: 700;
  color: var(--green-dark);
}

.category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.category-chip {
  border: 1px solid var(--border);
  background: #f7fbf7;
  color: #2a3530;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}

.category-chip.active,
.category-chip:hover {
  background: #e2f2e4;
  border-color: #b9d4bd;
  color: var(--green-dark);
}

label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #c9d5cc;
  border-radius: 9px;
  padding: 0.62rem 0.7rem;
  font: inherit;
}

.contact-form {
  display: grid;
  gap: 0.75rem;
}

.status-text {
  margin: 0;
  color: var(--green-dark);
  font-weight: 700;
}

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 1.1rem 0;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--dark);
  color: #c8d0d9;
  padding: 1.4rem 0;
}

.site-footer a {
  color: #e0eee2;
}

.footer-grid {
  display: grid;
  gap: 0.6rem 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .hero-grid,
  .card-grid.three,
  .card-grid.two,
  .card-grid.four,
  .spec-grid,
  .product-gallery,
  .details-meta,
  .footer-grid,
  .filters {
    grid-template-columns: 1fr;
  }

  .products-grid,
  .product-detail-grid,
  .meta-list,
  .filter-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 72px;
    right: 4%;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.6rem;
    flex-direction: column;
    min-width: 170px;
  }

  .site-nav.open {
    display: flex;
  }
}
