:root {
  --green-dark: #1a3d2e;
  --green-mid: #2d6a4f;
  --green-accent: #40916c;
  --green-light: #52b788;
  --text-dark: #1b1b1b;
  --text-muted: #5a5a5a;
  --bg-light: #f7f9f8;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(26, 61, 46, 0.12);
  --radius: 8px;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  line-height: 1.6;
  background: var(--white);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(26, 61, 46, 0.08);
  transition: box-shadow 0.3s;
}

.site-header.scrolled {
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--green-dark);
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--green-mid);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  flex-shrink: 0;
}

.logo-text {
  line-height: 1.2;
}

.logo-text span {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-dark);
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.2s;
}

.nav-link:hover,
.nav-item.active > .nav-link {
  color: var(--green-mid);
}

.nav-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
}

.nav-item:hover .nav-link svg {
  transform: rotate(180deg);
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 280px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(26, 61, 46, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  padding: 0.5rem 0;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-categories {
  display: flex;
  border-bottom: 1px solid rgba(26, 61, 46, 0.08);
  padding: 0.75rem 1rem;
  gap: 1.25rem;
}

.dropdown-cat {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.dropdown-cat:hover,
.dropdown-cat.active {
  color: var(--green-mid);
  border-bottom-color: var(--green-accent);
}

.dropdown-products {
  padding: 0.75rem 1rem;
  display: none;
}

.dropdown-products.active {
  display: block;
}

.dropdown-products li {
  padding: 0.45rem 0;
  font-size: 0.9rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dropdown-products li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--green-accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--green-dark);
  margin: 5px 0;
  transition: 0.3s;
}

/* Hero */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  margin-top: 72px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(26, 61, 46, 0.92) 0%, rgba(45, 106, 79, 0.82) 100%),
    radial-gradient(ellipse at 70% 50%, rgba(64, 145, 108, 0.35) 0%, transparent 60%),
    linear-gradient(180deg, #0d2818 0%, #1a3d2e 40%, #2d6a4f 100%);
  background-color: var(--green-dark);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.03) 0px,
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px,
      transparent 80px
    );
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  max-width: 720px;
  padding: 4rem 0;
}

.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.92;
  margin-bottom: 2rem;
  max-width: 580px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--green-light);
  color: var(--green-dark);
}

.btn-primary:hover {
  background: #74c69d;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.6);
  margin-left: 1rem;
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

/* Sections */
section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--green-dark);
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* About */
.about {
  background: var(--bg-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.about-card h3 {
  font-size: 1.25rem;
  color: var(--green-mid);
  margin-bottom: 1rem;
}

.about-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.about-intro {
  grid-column: 1 / -1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.about-intro p {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* Products */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--white);
  border: 1px solid rgba(26, 61, 46, 0.1);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

.product-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.product-category {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green-accent);
  margin-bottom: 0.5rem;
}

.product-card h3 {
  font-size: 1.15rem;
  color: var(--green-dark);
  margin-bottom: 0.5rem;
}

.product-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Why us */
.why-us {
  background: var(--green-dark);
  color: var(--white);
}

.why-us .section-header h2 {
  color: var(--white);
}

.why-us .section-header p {
  color: rgba(255, 255, 255, 0.75);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
}

.feature {
  text-align: center;
  padding: 1.5rem;
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: rgba(82, 183, 136, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
}

.feature h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.feature p {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Contact */
.contact {
  background: var(--bg-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.5rem;
  color: var(--green-dark);
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: var(--green-mid);
  color: var(--white);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.contact-detail strong {
  display: block;
  color: var(--green-dark);
  margin-bottom: 0.15rem;
}

.contact-detail span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(26, 61, 46, 0.15);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--green-accent);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  background: var(--green-mid);
  color: var(--white);
}

.form-submit:hover {
  background: var(--green-accent);
}

/* Footer */
.site-footer {
  background: var(--green-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--green-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 900px) {
  .about-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .btn-outline {
    margin-left: 0;
    margin-top: 0.75rem;
  }

  .hero-content .btn-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0;
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-item {
    border-bottom: 1px solid rgba(26, 61, 46, 0.08);
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    display: none;
  }

  .nav-item.open .dropdown {
    display: block;
  }

  .dropdown-categories {
    flex-direction: column;
    gap: 0.5rem;
  }
}
