@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&family=Source+Sans+3:wght@400;600;700&display=swap');

:root {
  --bg: #F8FDF5;
  --bg-strong: #e8f5e9;
  --text: #2C3E50;
  --muted: #546e7a;
  --primary: #27AE60;
  --primary-strong: #229954;
  --accent: #2E8B57;
  --card: #ffffff;
  --border: #c8e6c9;
  --shadow: 0 14px 40px rgba(39, 174, 96, 0.08);
  --header-bg: #0b6a18;
  --footer-bg: #0F3B2D;
  --heading-color: #0b6a18;
  --tooltip-bck: #F5F7F6;
  --tooltip-color: #0F1F17;

  --overlay-dark: rgba(15, 59, 45, 0.30);
  --overlay-light: rgba(248, 253, 245, 0.88);
  --overlay-light-strong: rgba(248, 253, 245, 0.92);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Source Sans 3', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--primary-strong);
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--header-bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav {
  max-width: 1080px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.lang-switcher {
  display: flex;
  gap: 12px;
  align-items: center;
}

.lang-icon {
  width: 32px;
  height: auto;
  cursor: pointer;
  transition: transform 0.2s ease;
  display: block;
}

.lang-icon:hover {
  transform: scale(1.1);
}

.nav-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 16px;
  flex-wrap: wrap;
}

.brand-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.brand {
  display: flex;
  align-items: center;
}

.glk-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.catalog-link {
  font-weight: 700;
  font-size: 14px;
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.2s ease, color 0.2s ease;
}

.catalog-link:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.brand-logo {
  height: 120px;
  width: auto;
  object-fit: contain;
}

.brand span {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 6px;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.nav a {
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease;
  color: #ffffff;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
  padding: 12px 16px;
  font-weight: 700;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
}

.cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 48px rgba(27, 31, 23, 0.12);
  background: var(--primary-strong);
}

.cta.secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  box-shadow: none;
}

.cta.secondary:hover {
  background: #ffffff;
  border-color: var(--border);
  color: var(--text);
}

.hero {
  background:
    linear-gradient(to bottom,
      rgba(15, 59, 45, 0.18) 0%,
      var(--overlay-light-strong) 85%),
    url('fields.jpg') center/cover no-repeat;
  border-bottom: 1px solid var(--border);
}

.bg-farming {
  background:
    linear-gradient(to bottom,
      rgba(248, 253, 245, 0.55) 0%,
      rgba(248, 253, 245, 0.75) 85%),
    url('farming.jpg') center/cover no-repeat;
  background-attachment: scroll;
}

.bg-crops {
  background:
    linear-gradient(to bottom,
      rgba(248, 253, 245, 0.55) 0%,
      rgba(248, 253, 245, 0.75) 85%),
    url('crops.jpg') center/cover no-repeat;
  background-attachment: scroll;
}

.bg-farming,
.bg-crops,
.bg-production,
.bg-ecology {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  color: #000000 !important;
}

.bg-production {
  background:
    linear-gradient(to bottom,
      rgba(248, 253, 245, 0.55) 0%,
      rgba(248, 253, 245, 0.75) 75%),
    url('production.jpg') center/cover no-repeat;
  background-attachment: scroll;
}

.bg-ecology {
  background:
    linear-gradient(to bottom,
      rgba(248, 253, 245, 0.65) 0%,
      rgba(248, 253, 245, 0.75) 75%),
    url('ecological-farming.jpg') center/cover no-repeat;
  background-attachment: scroll;
}

.hero-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 64px 20px 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  align-items: center;
  color: #000000;
}

.hero h1 {
  font-family: 'Merriweather', serif;
  font-size: clamp(28px, 4vw, 38px);
  margin: 0 0 12px;
}

.hero-cert {
  width: 100%;
  text-align: center;
  padding: 24px 20px;
  margin: 0;
  color: #F8FDF5;
  background: #0d6d1a;
  font-size: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero p.lead {
  margin: 0 0 16px;
  font-size: 18px;
  color: #000000;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--border);
  font-weight: 600;
  color: var(--primary-strong);
}

.badge-tooltip {
  position: relative;
  cursor: help;
  transition: background 0.2s ease;
}

.badge-tooltip:hover {
  background: #f0f9f4;
}

.tooltip-content {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) scale(0.95);
  background: var(--tooltip-bck);
  color: var(--tooltip-color);
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  white-space: normal;
  width: max-content;
  max-width: 400px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1000;
}

.tooltip-content::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-top-color: var(--tooltip-bck);
}

.badge-tooltip:hover .tooltip-content {
  opacity: 1;
  transform: translateX(-50%) scale(1);
  pointer-events: auto;
}

.hero-grid {
  display: grid;
  gap: 12px;
}

.card-grid {
  max-width: 1080px;
  margin: 0 auto;
  padding: 36px 20px 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  color: #F8FDF5;
}

.card {
  background: #F8FDF5;
  padding: 20px;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  color: #253f2d;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-family: 'Merriweather', serif;
  font-size: 20px;
  color: var(--heading-color);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 8px;
  background: var(--bg-strong);
  color: var(--primary-strong);
  font-weight: 600;
  font-size: 13px;
}

.tag svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.card-img {
  width: 100%;
  height: auto;
  max-height: 160px;
  object-fit: contain;
  margin-bottom: 16px;
  border-radius: 8px;
}

main {
  max-width: 900px;
  margin: 0 auto;
  padding: 36px 20px 64px;
}

main h1 {
  font-family: 'Merriweather', serif;
  font-size: 30px;
  margin-bottom: 8px;
  color: var(--heading-color);
}

main h2 {
  font-family: 'Merriweather', serif;
  margin-top: 28px;
  color: var(--heading-color);
}

main h3 {
  font-family: 'Merriweather', serif;
  margin-top: 22px;
  color: var(--heading-color);
}

main ul {
  padding-left: 20px;
  margin: 10px 0 16px;
}

main li+li {
  margin-top: 6px;
}

.muted {
  color: var(--muted);
}

.inline-cta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 12px 0 0;
}

.inline-cta a {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  font-weight: 700;
}

.inline-cta .cta {
  background: var(--primary);
  color: #fff;
  border: 1px solid var(--primary);
  box-shadow: var(--shadow);
}

.inline-cta .cta:hover {
  background: var(--primary-strong);
  color: #fff;
}

footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--footer-bg);
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.8);
}

.footer-nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.9);
}

.footer-nav a:hover {
  color: #ffffff;
}

@media (max-width: 640px) {
  .nav {
    flex-wrap: wrap;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
  }

  .glk-logo {
    height: 52px;
  }

  .brand-logo {
    height: 96px;
  }
}


.patent-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.btn-patent {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.btn-patent:hover {
  background: #fdfdfd;
  border-color: var(--primary);
  color: var(--primary-strong);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(39, 174, 96, 0.12);
}

.btn-patent img {
  width: 20px;
  height: 20px;
  opacity: 0.8;
}

.flag-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.btn-flag {
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 0.9rem;
  color: #444;
  text-decoration: none;
  transition: all 0.15s ease;
}

.btn-flag:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #f9fdfa;
}

.btn-flag .flag {
  font-size: 1.2rem;
}

.patents-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
  margin-top: 24px;
}

.patents-map {
  flex: 1 1 400px;
}

.patents-map img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.patents-list {
  flex: 1 1 300px;
}

.patents-list ul {
  column-count: 2;
  column-gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.patents-list li {
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  break-inside: avoid;
}

.patents-list li::before {
  content: "•";
  color: var(--primary);
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

@media (max-width: 768px) {
  .patents-list ul {
    column-count: 1;
  }
}


.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  padding: 20px;
}

.modal.open {
  display: flex !important;
  animation: fadeIn 0.2s ease-out;
}

.modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  overflow: hidden;
  background: white;
}

.modal-content img {
  display: block;
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 15px;
  color: #333;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10001;
  background: rgba(255, 255, 255, 0.7);
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: 50%;
  transition: all 0.2s;
}

.close-modal:hover {
  background: white;
  color: #000;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.bg-biostimulators {
  background-color: #DFE3DC;
}


/* ===============================
   Page layout refinement
   =============================== */

.page {
  max-width: 1080px;
  margin: 0 auto;
  padding: 48px 20px 64px;
}

.page h1 {
  margin-bottom: 24px;
  line-height: 1.25;
}

.page h2 {
  margin-top: 40px;
  margin-bottom: 14px;
  line-height: 1.3;
}

.page h3 {
  margin-top: 28px;
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.page p {
  margin-bottom: 14px;
  max-width: 860px;
}

.page ul {
  margin: 10px 0 18px 20px;
  padding: 0;
  max-width: 860px;
}

.page ul li {
  margin-bottom: 6px;
  line-height: 1.5;
}

/* ===============================
   Technology-specific refinement
   =============================== */

.tech-section {
  margin-top: 8px;
}

.tech-section h2 {
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.tech-section ul {
  padding-left: 18px;
}

.tech-section ul li strong {
  font-weight: 600;
}

/* ===============================
   Muted helper text
   =============================== */

.muted {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: -6px;
  margin-bottom: 18px;
}