/* =======================================================
   CSS RESET & BASE
======================================================= */
html {
  box-sizing: border-box;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}
body {
  min-height: 100vh;
  line-height: 1.6;
  background: #F3E8DC;
  color: #3B6D37;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 20px;
}
li {
  margin-bottom: 8px;
}
a {
  color: #3B6D37;
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover, a:focus {
  color: #88a867;
  text-decoration: underline;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

/* FONT FAMILIES */
@import url('https://fonts.googleapis.com/css?family=Lora:700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Lora', serif;
  color: #3B6D37;
  margin-bottom: 16px;
  font-weight: 700;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 14px; }

p {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #495644;
}
strong, b {
  font-weight: bold;
  color: #3B6D37;
}

/* =======================================================
   LAYOUT & SPACING
======================================================= */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  padding: 0;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section, main > section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 26px;
  box-shadow: 0 4px 24px 0 rgba(200,160,120,0.09);
  background: #fff;
  position: relative;
}
@media (max-width: 1024px) {
  .section, main > section {
    padding: 28px 10px;
    margin-bottom: 44px;
  }
}
@media (max-width: 768px) {
  .section, main > section {
    padding: 18px 4px;
    margin-bottom: 30px;
  }
}

.feature-grid, .team-profiles, .plant-profiles, .guides, .howto-list, .articles-list, .testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid > div, .team-profiles > div, .plant-profiles > div, .guides > div, .howto-list > div, .articles-list > article, .faq-list > div {
  flex: 1 1 250px;
  max-width: 330px;
  background: #FDF6F0;
  border-radius: 18px;
  padding: 28px 22px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px 0 rgba(196,154,110,0.06);
  transition: box-shadow 0.25s cubic-bezier(.63,.05,.24,1), transform 0.15s cubic-bezier(.63,.05,.24,1);
}
@media (max-width: 1024px) {
  .feature-grid, .team-profiles, .plant-profiles, .guides, .howto-list, .articles-list, .testimonials {
    gap: 18px;
  }
  .feature-grid > div, .team-profiles > div, .plant-profiles > div, .guides > div, .howto-list > div, .articles-list > article, .faq-list > div {
    padding: 18px 8px;
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  .feature-grid, .team-profiles, .plant-profiles, .guides, .howto-list, .articles-list, .testimonials {
    flex-direction: column;
    gap: 10px;
  }
  .feature-grid > div, .team-profiles > div, .plant-profiles > div, .guides > div, .howto-list > div, .articles-list > article, .faq-list > div {
    width: 100%;
    min-width: 0;
  }
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(160, 128, 96, 0.06);
  background: #fff;
  transition: box-shadow 0.25s cubic-bezier(.63,.05,.24,1), transform 0.13s cubic-bezier(.63,.05,.24,1);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* CTA AND HERO */
.hero {
  background: linear-gradient( 120deg, #B7C99C 0%, #F3E8DC 100%);
  border-radius: 26px;
  box-shadow: 0 4px 24px 0 rgba(90, 127, 80, 0.08);
  margin-bottom: 40px;
  padding: 64px 0 56px 0;
}
.hero h1 {
  color: #30582C;
  font-size: 2.5rem;
  margin-bottom: 16px;
  line-height: 1.13;
}
.hero p {
  max-width: 600px;
  font-size: 1.1rem;
  margin-bottom: 32px;
}
.hero .cta-button {
  margin-top: 12px;
}
@media (max-width: 768px) {
  .hero { padding: 28px 0 22px 0; }
  .hero h1 { font-size: 1.7rem; }
}

.cta-section {
  background: #B7C99C;
  border-radius: 26px;
  padding: 42px 0 42px 0;
  box-shadow: 0 3px 20px 0 rgba(90,127,80,0.09);
}
.cta-section h2 {
  color: #285326;
}
.cta-section p {
  color: #31532A;
  font-size: 1.1rem;
}
.cta-section .cta-button {
  margin-top: 18px;
}

.cta-button {
  display: inline-block;
  padding: 12px 34px;
  background: #3B6D37;
  color: #fff;
  font-size: 1.125rem;
  font-family: 'Roboto', Arial, sans-serif;
  border: none;
  border-radius: 30px;
  font-weight: 500;
  box-shadow: 0 2px 8px 0 rgba(70,90,70,0.10);
  cursor: pointer;
  transition: background 0.18s ease, box-shadow 0.24s cubic-bezier(.63,.05,.24,1), transform 0.11s cubic-bezier(.63,.05,.24,1);
  margin-top: 10px;
}
.cta-button:hover, .cta-button:focus {
  background: #285326;
  color: #fff;
  box-shadow: 0 4px 17px 0 rgba(70,90,70,0.14);
  transform: translateY(-1px) scale(1.04);
}

/* FEATURED TOPICS + QUICK NAV */
.featured-topic {
  background: #fff9f3;
  border-left: 6px solid #B7C99C;
  padding: 18px 20px;
  margin: 28px 0 0 0;
  border-radius: 16px;
  color: #354333;
  box-shadow: 0 2px 7px 0 rgba(175,130,60,0.08);
}
.quick-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.quick-nav a {
  background: #B7C99C;
  color: #285326;
  font-weight: 500;
  border-radius: 22px;
  padding: 10px 24px;
  transition: background 0.18s, color 0.18s;
}
.quick-nav a:hover, .quick-nav a:focus {
  background: #3B6D37;
  color: #fff;
}

/* TESTIMONIAL CARD */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 32px 20px 22px;
  background: #FFF9F3;
  color: #2D360D;
  border-radius: 22px;
  box-shadow: 0 2px 12px 0 rgba(186,162,117,0.09);
  min-width: 0;
  transition: box-shadow 0.2s, transform 0.12s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 19px 0 rgba(135, 115, 60, 0.11);
  transform: scale(1.03);
}
.testimonial-card p {
  color: #2D360D;
  font-size: 1.0625rem;
  margin-bottom: 0;
}
.testimonial-card .user-info {
  font-size: 0.97rem;
  color: #456230;
  font-weight: 500;
  margin-left: 18px;
}
@media (max-width: 768px) {
  .testimonials {
    flex-direction: column;
    gap: 12px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding: 15px 8px 15px 8px;
    font-size: 1rem;
  }
}

/* ARTICLES PREVIEW/LIST */
.articles-preview, .articles-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.articles-preview article, .articles-list article {
  flex: 1 1 270px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 1.5px 8px 0 rgba(123,97,41,0.07);
  padding: 22px 14px 20px 20px;
  min-width: 0;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.18s, transform 0.12s;
}
.articles-preview article:hover, .articles-list article:hover {
  box-shadow: 0 4px 18px 0 rgba(123,97,41,0.15);
  transform: translateY(-2px) scale(1.02);
}
.articles-preview article h3, .articles-list article h3 {
  font-size: 1.1rem;
  color: #30582C;
  margin-bottom: 8px;
}
.articles-preview a, .articles-list a {
  color: #3B6D37;
  font-weight: 500;
  margin-top: auto;
  text-decoration: underline;
  transition: color 0.13s;
}
.articles-preview a:hover, .articles-list a:hover {
  color: #B7C99C;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.faq-list > div {
  flex: 1 1 200px;
  max-width: 360px;
  background: #FDF6F0;
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 rgba(196,154,110,0.06);
  padding: 18px 18px 14px 18px;
  margin-bottom: 20px;
  transition: box-shadow 0.13s, transform 0.12s;
}
.faq-list > div:hover {
  box-shadow: 0 4px 14px 0 rgba(135,115,60,0.13);
}

/* TEAM PROFILES / PLANT PROFILES / GUIDES */
.team-profiles, .plant-profiles, .guides, .howto-list {
  gap: 24px;
}
.team-profiles > div, .plant-profiles > div, .guides > div, .howto-list > div {
  padding: 20px 18px 20px 22px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 1.5px 8px 0 rgba(123,97,41,0.06);
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.12s;
}
.team-profiles > div:hover, .plant-profiles > div:hover, .guides > div:hover, .howto-list > div:hover  {
  box-shadow: 0 4px 18px 0 rgba(123,97,41,0.13);
  transform: scale(1.02);
}

/* FOOTER */
footer {
  background: #3B6D37;
  color: #fff;
  padding: 40px 0 26px 0;
  margin-top: 40px;
  border-radius: 26px 26px 0 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-links, .footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: center;
}
.footer-links a {
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  margin-right: 8px;
}
.footer-links a:hover, .footer-links a:focus {
  color: #B7C99C;
}
.footer-contact p {
  color: #fff9f0;
  font-size: 0.97rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
@media (max-width: 768px) {
  footer {
    border-radius: 14px 14px 0 0;
    padding: 22px 0 16px 0;
  }
  .footer-links, .footer-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

/* HEADER + NAVIGATION */
header {
  background: #F3E8DC;
  padding: 24px 0 12px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1003;
}
header img {
  height: 56px;
  margin-left: 18px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-size: 1.08rem;
  padding: 8px 18px;
  border-radius: 50px;
  background: none;
  transition: background 0.15s, color 0.13s;
  color: #30582C;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
}
.main-nav a:hover, .main-nav a:focus {
  background: #B7C99C;
  color: #285326;
}
.mobile-menu-toggle {
  display: none;
  background: #3B6D37;
  color: #fff;
  font-size: 2rem;
  padding: 10px 17px;
  border-radius: 50%;
  box-shadow: 0 2px 12px 0 rgba(100,120,60,0.14);
  margin-right: 24px;
  border: none;
  z-index: 1013;
  transition: background 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #285326;
}

@media (max-width: 950px) {
  .main-nav {
    gap: 12px;
  }
  header img { height: 44px; margin-left:8px; }
}
@media (max-width: 768px) {
  header {
    flex-direction: row;
    justify-content: space-between;
    padding: 10px 0 8px 0;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}

/* =======================================================
   MOBILE MENU OVERLAY
======================================================= */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(59, 109, 55, 0.94);
  z-index: 9995;
  transform: translateX(-100%);
  visibility: hidden;
  opacity: 0;
  transition: transform 0.32s cubic-bezier(.52,.07,.39,.98), opacity 0.3s, visibility 0.32s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 38px;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
}
.mobile-menu-close {
  background: #fff;
  color: #3B6D37;
  font-size: 2.1rem;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 1021;
  box-shadow: 0 2px 6px 0 rgba(180,140,60,0.11);
  transition: background 0.17s, color 0.12s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #B7C99C;
  color: #30582C;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 64px;
  width: 100%;
  align-items: flex-start;
  padding-left: 38px;
}
.mobile-nav a {
  color: #fff;
  background: none;
  font-size: 1.37rem;
  font-weight: 500;
  padding: 10px 10px 10px 0;
  border-radius: 2px;
  width: 100%;
  transition: background 0.13s, color 0.13s;
  margin-bottom: 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #B7C99C;
  color: #30582C;
}
@media (min-width: 769px) {
  .mobile-menu, .mobile-menu.open {
    display: none !important;
    visibility: hidden;
  }
}

/* =======================================================
   COOKIE CONSENT BANNER & MODAL
======================================================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  color: #30582C;
  border-top: 3px solid #B7C99C;
  box-shadow: 0 -2px 12px 0 rgba(112,98,44,0.14);
  z-index: 9998;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 34px;
  font-size: 1.05rem;
  transition: transform 0.35s cubic-bezier(.53,.02,.48,1.02), opacity 0.21s;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100px);
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.cookie-banner .cookie-btn {
  padding: 8px 22px;
  border-radius: 23px;
  background: #B7C99C;
  color: #285326;
  font-weight: 500;
  transition: background 0.15s, color 0.13s;
  font-size: 1rem;
  border: none;
  margin-left: 4px;
  box-shadow: 0 1.5px 7px 0 rgba(153,121,41,0.09);
}
.cookie-banner .cookie-btn.accept {
  background: #3B6D37;
  color: #FFF;
}
.cookie-banner .cookie-btn.accept:hover, .cookie-banner .cookie-btn.accept:focus {
  background: #30582C;
  color: #fff;
}
.cookie-banner .cookie-btn.reject:hover, .cookie-banner .cookie-btn.reject:focus {
  background: #F7DBB0;
  color: #B65B36;
}
.cookie-banner .cookie-btn.settings:hover, .cookie-banner .cookie-btn.settings:focus {
  background: #FDF6F0;
  color: #3B6D37;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 17px 8px;
    font-size: 0.99rem;
  }
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(180,200,179, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 8px 64px 0 rgba(80,92,60,0.22);
  max-width: 420px;
  width: 96vw;
  padding: 32px 20px;
  color: #285326;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: showCookieModal 0.27s ease;
}
@keyframes showCookieModal {
  from { transform: translateY(40px) scale(0.9); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h2 { font-size: 1.3rem; margin-bottom: 10px; }
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 10px 0 12px 0;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  background: #F3E8DC;
  padding: 12px 10px;
  border-radius: 14px;
}
.cookie-category.essential {
  opacity: 0.54;
  font-style: italic;
}
.cookie-toggle {
  display: flex;
  align-items: center;
}
.cookie-toggle input[type="checkbox"] {
  width: 36px;
  height: 21px;
  accent-color: #B7C99C;
  border-radius: 9px;
  border: 1.5px solid #B7C99C;
  margin-right: 7px;
}
.cookie-toggle label {
  font-size: 0.96rem;
}
.cookie-modal-actions {
  display: flex;
  gap: 18px;
  margin-top: 6px;
}
.cookie-modal .cookie-btn {
  background: #B7C99C;
  color: #30582C;
  border-radius: 21px;
  border: none;
  font-weight: 500;
  padding: 8px 18px;
  font-size: 1rem;
  transition: background 0.15s, color 0.13s;
}
.cookie-modal .cookie-btn.save {
  background: #3B6D37;
  color: #fff;
}
.cookie-modal .cookie-btn.save:hover, .cookie-modal .cookie-btn.save:focus {
  background: #30582C;
}
.cookie-modal .cookie-btn.cancel:hover, .cookie-modal .cookie-btn.cancel:focus {
  background: #F3E8DC;
  color: #3B6D37;
}

@media (max-width: 480px) {
  .cookie-modal {
    padding: 18px 6px;
  }
  .cookie-category { padding: 8px 4px; }
}

/* =======================================================
   GENERAL INTERACTIVE & UTILITY
======================================================= */
::-webkit-scrollbar {
  width: 10px;
  background: #F3E8DC;
}
::-webkit-scrollbar-thumb {
  background: #B7C99C;
  border-radius: 6px;
}

ul, ol {
  margin-bottom: 12px;
}
.text-section {
  margin-bottom: 18px;
  max-width: 900px;
}
/* -- spacing between all cards/sections -- */
main > section, .content-section > * {
  margin-bottom: 60px;
}

/* callouts & info */
[data-type="info"], .info-callout {
  background: #EAE7DC;
  border-radius: 11px;
  color: #5A6A58;
  padding: 18px 20px;
  margin: 20px 0;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(160,130,70,0.03);
}

/* micro-interactions for all cards */
.card-container > .card:focus-within, .card-container > .card:hover {
  box-shadow: 0 4px 23px 0 rgba(112,98,44,0.10);
  transform: scale(1.02);
}

/* Buttons & interactive elements */
button, [type="button"], [type="submit"] {
  outline: none;
  transition: box-shadow 0.16s, background 0.18s, color 0.13s;
}
button:active {
  box-shadow: 0 1px 4px rgba(88,94,54,0.16) inset;
}

/* =======================================================
   RESPONSIVENESS
======================================================= */
@media (max-width: 1024px) {
  .container { max-width: 96vw; }
  .feature-grid, .team-profiles, .plant-profiles, .guides, .howto-list, .articles-list, .testimonials, .faq-list {
    gap: 8vw;
  }
}
@media (max-width: 900px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  .cta-button { font-size: 1rem; }
}
@media (max-width: 768px) {
  .container { padding: 0 5px; }
  .content-wrapper { gap: 14px; }
  h1 { font-size: 1.16rem; margin-bottom: 14px; }
  h2 { font-size: 1.07rem; margin-bottom: 10px; }
}

/* =======================================================
   UTILITY
======================================================= */
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-2 { margin-bottom: 16px; }
.text-center { text-align: center; }

/* =======================================================
   PRINT STYLES
======================================================= */
@media print {
  header, nav, .mobile-menu, .cookie-banner, .cookie-modal-overlay, footer { display: none !important; }
  html, body { background: #fff !important; color: #000 !important; }
}
