
:root {
  --green-dark: #1B3A2D;
  --green-mid: #2D6B47;
  --green-light: #4A8A62;
  --green-pale: #E4F0E9;
  --green-mist: #F5FAF7;
  --white: #FFFFFF;
  --off-white: #F8FAF8;
  --text-primary: #1A2E22;
  --text-secondary: #4A6355;
  --text-muted: #7A9A87;
  --border: rgba(27,58,45,0.12);
  --shadow: 0 2px 20px rgba(27,58,45,0.12);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Navigation */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--green-dark);
  padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  gap: 24px;
}
.nav-logo img { height: 34px; width: auto; display: block; }
.nav-links {
  display: flex; align-items: center; gap: 24px;
  list-style: none;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover { color: #fff; }

/* Search */
.nav-search {
  position: relative;
  display: flex; align-items: center;
}
.nav-search input {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  padding: 7px 12px 7px 34px;
  color: #fff;
  font-family: 'Barlow', sans-serif;
  font-size: 13px;
  width: 200px;
  outline: none;
  transition: all 0.2s;
}
.nav-search input::placeholder { color: rgba(255,255,255,0.45); }
.nav-search input:focus { background: rgba(255,255,255,0.13); border-color: rgba(255,255,255,0.3); width: 240px; }
.nav-search-icon {
  position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
  color: rgba(255,255,255,0.5);
  pointer-events: none;
}
.nav-lang { display: flex; gap: 4px; }
.lang-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.7);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  font-family: 'Barlow', sans-serif;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}
.lang-btn.active, .lang-btn:hover {
  background: var(--green-mid);
  border-color: var(--green-mid);
  color: #fff;
}

/* Search results dropdown */
.search-results {
  position: absolute;
  top: 100%; left: 0; right: 0;
  margin-top: 6px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.25);
  max-height: 380px;
  overflow-y: auto;
  display: none;
  z-index: 200;
}
.search-results.show { display: block; }
.search-result {
  display: block;
  padding: 10px 14px;
  text-decoration: none;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.search-result:hover { background: var(--green-pale); }
.search-result-name {
  font-size: 13px; font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.search-result-cat {
  font-size: 11px;
  color: var(--text-muted);
}
.search-empty {
  padding: 20px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

/* Hero */
.hero {
  position: relative;
  height: 100vh; min-height: 600px;
  display: flex; align-items: flex-end;
  overflow: hidden;
  margin-top: 68px;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 40%;
  transform: scale(1.04);
  transition: transform 8s ease-out;
}
.hero-bg.loaded { transform: scale(1); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(27,58,45,0.20) 0%, rgba(27,58,45,0.45) 50%, rgba(27,58,45,0.85) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 0 40px 64px; max-width: 720px; }
.hero-tag {
  display: inline-block;
  background: var(--green-mid);
  color: #D6EBE0;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 3px;
  margin-bottom: 20px;
}
.hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 600;
  color: #fff;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.hero p { font-size: 16px; color: rgba(255,255,255,0.78); line-height: 1.65; margin-bottom: 32px; max-width: 560px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-primary {
  background: #fff; color: var(--green-dark);
  border: none; padding: 13px 28px; border-radius: 6px;
  font-family: 'Barlow', sans-serif;
  font-size: 14px; font-weight: 600;
  cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.2s;
  letter-spacing: 0.02em;
}
.btn-primary:hover { background: var(--green-pale); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }
.btn-outline {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,0.45);
  padding: 13px 28px; border-radius: 6px;
  font-family: 'Barlow', sans-serif; font-size: 14px; font-weight: 500;
  cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px; transition: all 0.2s;
}
.btn-outline:hover { border-color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.1); }

/* Sections */
section { padding: 80px 40px; }
.section-label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 12px; display: block;
}
.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 600; color: var(--text-primary);
  line-height: 1.1; letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.section-sub { font-size: 15px; color: var(--text-secondary); max-width: 580px; line-height: 1.65; }

/* Categories */
#products { background: var(--off-white); }
.categories-header { max-width: 1200px; margin: 0 auto 48px; }
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}
.cat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  cursor: pointer;
  transition: all 0.22s;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
}
.cat-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--green-mid);
  opacity: 0; transition: opacity 0.22s;
}
.cat-card:hover { border-color: var(--green-mid); box-shadow: var(--shadow); transform: translateY(-2px); }
.cat-card:hover::before { opacity: 1; }
.cat-icon {
  width: 40px; height: 40px;
  background: var(--green-pale);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.cat-icon svg { width: 20px; height: 20px; }
.cat-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 17px; font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.cat-sub { font-size: 12px; color: var(--text-secondary); line-height: 1.5; }
.cat-count {
  position: absolute; top: 20px; right: 20px;
  font-size: 11px; font-weight: 600;
  color: var(--green-mid);
  background: var(--green-pale);
  padding: 3px 8px; border-radius: 10px;
}

/* Why */
#about { background: var(--green-dark); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  max-width: 1200px; margin: 48px auto 0;
}
.why-card { display: flex; gap: 20px; align-items: flex-start; }
.why-icon {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.why-icon svg { width: 22px; height: 22px; stroke: #A8D4B8; }
.why-card h3 { font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 6px; }
.why-card p { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.6; }

/* Strategic */
.strategic { background: var(--green-mist); border-top: 3px solid var(--green-mid); }
.strategic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1200px; margin: 48px auto 0;
}
.strategic-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px;
  position: relative; overflow: hidden;
}
.strategic-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--green-dark), var(--green-mid));
}
.strategic-tag {
  display: inline-block;
  background: var(--green-pale); color: var(--green-mid);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 3px;
  margin-bottom: 16px;
}
.strategic-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 24px; font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.strategic-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.65; margin-bottom: 20px; }

/* Contact */
#contact { background: var(--green-dark); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  max-width: 1200px; margin: 48px auto 0;
}
.contact-info h3 {
  font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 24px;
}
.contact-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.contact-icon {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-icon svg { width: 16px; height: 16px; stroke: #A8D4B8; }
.contact-item a, .contact-item span {
  color: #fff; text-decoration: none; font-size: 15px; font-weight: 500;
  display: block; margin-bottom: 2px;
}
.contact-item small { font-size: 12px; color: rgba(255,255,255,0.45); }
.contact-form form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form input, .contact-form select, .contact-form textarea {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  padding: 12px 16px;
  color: #fff;
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,0.35); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--green-light); }
.contact-form select { cursor: pointer; color: rgba(255,255,255,0.7); }
.contact-form select option { background: var(--green-dark); color: #fff; }
.contact-form textarea { resize: vertical; min-height: 100px; }
.btn-submit {
  background: var(--green-mid); color: #fff; border: none;
  padding: 13px 28px; border-radius: 6px;
  font-family: 'Barlow', sans-serif; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all 0.2s; align-self: flex-start;
}
.btn-submit:hover { background: var(--green-light); transform: translateY(-1px); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.form-status {
  padding: 12px 16px; border-radius: 6px; margin-top: 8px;
  font-size: 13px; display: none;
}
.form-status.success { background: rgba(74,138,98,0.2); border: 1px solid var(--green-light); color: #C8E0D0; display: block; }
.form-status.error { background: rgba(220,53,69,0.15); border: 1px solid rgba(220,53,69,0.4); color: #F5C8CC; display: block; }

/* Footer */
footer {
  background: #0F2419;
  padding: 28px 40px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-logo img { height: 24px; opacity: 0.7; }
footer p { font-size: 12px; color: rgba(255,255,255,0.35); }
.footer-links { display: flex; gap: 20px; list-style: none; }
.footer-links a { font-size: 12px; color: rgba(255,255,255,0.35); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: rgba(255,255,255,0.7); }

/* Product page */
.product-page { padding-top: 100px; max-width: 900px; margin: 0 auto; padding-left: 40px; padding-right: 40px; padding-bottom: 80px; }
.breadcrumb { font-size: 13px; color: var(--text-muted); margin-bottom: 24px; }
.breadcrumb a { color: var(--green-mid); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.product-page h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 38px; font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.product-meta {
  display: flex; gap: 24px; flex-wrap: wrap;
  padding: 16px 20px;
  background: var(--green-mist);
  border-radius: 8px;
  margin-bottom: 32px;
  border: 1px solid var(--border);
}
.product-meta-item { font-size: 13px; }
.product-meta-label { color: var(--text-muted); display: block; margin-bottom: 2px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.product-meta-value { color: var(--text-primary); font-weight: 500; font-family: 'Barlow Condensed', sans-serif; font-size: 16px; }
.product-section { margin-bottom: 32px; }
.product-section h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px; font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--green-pale);
}
.product-section p, .product-section pre {
  font-size: 15px; line-height: 1.7;
  color: var(--text-secondary);
  white-space: pre-wrap;
  font-family: 'Barlow', sans-serif;
}
.product-cta {
  background: var(--green-dark);
  color: #fff;
  padding: 28px 32px;
  border-radius: 12px;
  margin-top: 40px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.product-cta-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px; font-weight: 500;
}
.product-cta-btn {
  background: #fff; color: var(--green-dark);
  padding: 12px 24px; border-radius: 6px;
  text-decoration: none;
  font-weight: 600; font-size: 14px;
  transition: all 0.2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.product-cta-btn:hover { background: var(--green-pale); }

/* Category page */
.cat-page { padding-top: 100px; max-width: 1200px; margin: 0 auto; padding-left: 40px; padding-right: 40px; padding-bottom: 80px; }
.cat-page h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 42px; font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}
.product-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}
.product-tile {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px 20px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
}
.product-tile:hover {
  border-color: var(--green-mid);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}
.product-tile-name {
  font-size: 14px; font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.product-tile-formula { font-family: 'Barlow Condensed', sans-serif; font-size: 13px; color: var(--green-mid); font-weight: 500; }
.product-tile-cas { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-search input { width: 160px; }
}
@media (max-width: 768px) {
  nav { padding: 0 16px; gap: 12px; }
  .nav-search input { width: 130px; padding-left: 30px; font-size: 12px; }
  .nav-search input:focus { width: 160px; }
  section { padding: 60px 20px; }
  .hero-content { padding: 0 20px 48px; }
  .strategic-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  footer { flex-direction: column; align-items: flex-start; }
  .product-page, .cat-page { padding-left: 20px; padding-right: 20px; }
  .product-page h1 { font-size: 28px; }
}
