/* CSS Reset & Normalize */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #222;
  background: #FAFAF7;
  line-height: 1.7;
  min-height: 100vh;
  font-weight: 400;
}

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

ul, ol {
  padding-left: 1.4em;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Typography - Geometric, Structured Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #336633;
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.6rem;
  margin-bottom: 24px;
  line-height: 1.1;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  line-height: 1.15;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
}
.section h1,
.section h2 {
  border-left: 5px solid #FFD180;
  padding-left: 18px;
  border-radius: 0 8px 8px 0;
  background: linear-gradient(90deg,rgba(255,209,128,0.13) 0%,rgba(255,209,128,0) 90%);
}
p {
  font-size: 1.063rem;
  color: #333;
  margin-bottom: 16px;
}
a {
  color: #336633;
  text-decoration: underline;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #1b3c1b;
  text-decoration: none;
}

/* Layout Spacing and Geometric Structure */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 20px 0 rgba(51,102,51,0.03);
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  justify-content: flex-start;
}

/* Card & Grid Systems */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 4px 14px 0 rgba(51,102,51,0.04);
  padding: 24px 18px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.15s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(51,102,51,.12);
  transform: translateY(-3px) scale(1.015);
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F8FAF6;
  border: 1.5px solid #E3EDD3;
  border-radius: 16px;
  padding: 28px 20px 22px 20px;
  min-width: 220px;
  flex: 1 1 220px;
  box-shadow: 0 2px 8px 0 rgba(51,102,51,0.05);
  margin-bottom: 20px;
  transition: box-shadow 0.15s;
}
.feature-item:hover {
  box-shadow: 0 8px 24px 0 rgba(51,102,51,0.11);
  border-color: #FFD180;
}
.feature-item img {
  width: 48px;
  height: 48px;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}

/* Geometric & Structured Buttons */
.cta-primary {
  display: inline-block;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  background: #336633;
  color: #FFD180;
  border: none;
  border-radius: 10px;
  padding: 14px 36px;
  font-size: 1rem;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 12px 0 rgba(51,102,51,.09);
  transition: background 0.15s, color 0.16s, box-shadow 0.18s, transform .16s;
  text-decoration: none;
  text-align: center;
  margin-top: 10px;
}
.cta-primary:hover, .cta-primary:focus {
  background: #FFD180;
  color: #336633;
  box-shadow: 0 6px 24px 0 rgba(51,102,51,.17);
  transform: translateY(-2px) scale(1.03);
}

/* Navigation (Desktop & Mobile) */
header {
  background: #fff;
  box-shadow: 0 6px 24px 0 rgba(51,102,51,.04);
  border-bottom: 2.5px solid #F0F2EC;
  padding: 0;
  z-index: 100;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
footer img {
  width: 40px;
}
.brand-logo img {
  height: 43px;
  width: auto;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #336633;
  background: none;
  border-radius: 8px;
  text-decoration: none;
  padding: 8px 18px;
  transition: background .13s, color .13s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F1F9ED;
  color: #1b3c1b;
}
.main-nav .cta-primary {
  padding: 10px 26px;
  font-size: 1rem;
  background: #FFD180;
  color: #336633;
  margin-left: 8px;
}
.main-nav .cta-primary:hover {
  background: #336633;
  color: #FFD180;
}

.mobile-menu-toggle {
  display: none;
  background: #FFD180;
  color: #336633;
  border: none;
  border-radius: 8px;
  font-size: 2rem;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  margin-left: 14px;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(51,102,51,0.08);
  transition: background 0.13s;
  z-index: 102;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #ffecc2;
  color: #336633;
}
.mobile-menu {
  display: flex; /* for animation use later */
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #FAFAF5;
  box-shadow: 0 5px 30px rgba(51,102,51,0.16);
  transform: translateX(100%);
  transition: transform .37s cubic-bezier(.79,.26,0,.81);
  visibility: hidden;
  opacity: 0;
  z-index: 999;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 28px 24px 16px 0;
  background: none;
  border: none;
  color: #336633;
  font-size: 2.2rem;
  cursor: pointer;
  transition: color 0.18s;
  padding: 2px 11px;
  border-radius: 6px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #FFD180;
  color: #234423;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 0 32px;
  margin-top: 16px;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.12rem;
  color: #336633;
  background: none;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 7px;
  transition: background 0.13s, color 0.12s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F8FAF6;
  color: #FFD180;
}

/* Hide desktop nav on mobile */
@media (max-width: 991px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 991px) {
  .mobile-menu {
    display: flex;
  }
}

/* Hero Section Structure/Style */
.hero-section {
  background: linear-gradient(90deg, #F8FAF6 85%, #FFD180 100%);
  border-radius: 0 0 40px 40px;
  min-height: 350px;
  display: flex;
  align-items: center;
  margin-bottom: 0;
}
.hero-section .content-wrapper {
  max-width: 750px;
  margin: 0 auto;
  align-items: flex-start;
  gap: 16px;
}
.hero-section h1 {
  font-size: 2.8rem;
  text-shadow: 0 2px 10px rgba(51,102,51,0.05);
  color: #336633;
}
.hero-section p {
  font-size: 1.18rem;
  color: #234423;
}

/* Testimonials Section Styles */
.testimonials-section {
  background: #F8FAF6;
  border: 1.5px solid #E3EDD3;
  border-radius: 28px;
}
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border-radius: 20px;
  border: 1px solid #E3EDD3;
  box-shadow: 0 3px 16px 0 rgba(51,102,51,0.04);
  padding: 28px 32px 22px 32px;
  min-width: 280px;
  max-width: 410px;
  flex: 1 1 280px;
  margin-bottom: 20px;
  transition: box-shadow 0.16s, border-color 0.14s;
}
.testimonial-card p {
  font-size: 1.03rem;
  font-style: italic;
  color: #222;
}
.testimonial-card span,
.testimonial-card strong {
  font-size: 15px;
  color: #336633;
}
.testimonial-card:after {
  content: '';
  display: block;
  width: 34px;
  height: 4px;
  background: #FFD180;
  margin-top: 12px;
  border-radius: 99px;
}
.testimonial-card:hover {
  box-shadow: 0 10px 34px 0 rgba(51,102,51,0.10);
  border-color: #FFD180;
}

/* CTA & Highlight Sections */
.cta-section, .products-highlight {
  background: #FFEFCB;
  border-radius: 24px;
  box-shadow: 0 2px 18px 0 rgba(255,209,128,0.09);
  padding-bottom: 38px;
  margin-bottom: 60px;
}
.products-highlight ul {
  margin: 14px 0 14px 0;
}
.products-highlight a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  background: #336633;
  color: #FFD180;
  font-weight: 700;
  padding: 10px 28px;
  border-radius: 10px;
  text-decoration: none;
  display: inline-block;
  margin-top: 12px;
  transition: background 0.15s;
}
.products-highlight a:hover {
  background: #FFD180;
  color: #336633;
}

/* FAQ and Timeline Sections */
.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.faq-list > div {
  background: #F8FAF6;
  border: 1px solid #E3EDD3;
  border-radius: 13px;
  padding: 18px 20px;
  flex: 1 1 220px;
  min-width: 220px;
}
.timeline {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 16px 0 0 0;
  position: relative;
}
.timeline > div {
  padding-left: 32px;
  position: relative;
}
.timeline > div:before {
  content: '';
  position: absolute;
  left: 5px;
  top: 7px;
  width: 15px;
  height: 15px;
  background: #FFD180;
  border: 2.5px solid #336633;
  border-radius: 50%;
  z-index: 1;
}
.timeline > div:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 12px;
  top: 22px;
  width: 3px;
  height: 38px;
  background: #E3EDD3;
}

/* Blog Listing & Newsletter Section */
.featured-posts ul, .blog-listing ul, .newsletter-signup ul {
  margin-left: 8px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.newsletter-signup a {
  margin-top: 9px;
}

/* Legal Section Style Consistency */
.legal-section {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(51,102,51,0.06);
}
.legal-section h2 {
  margin-top: 24px;
  font-size: 1.19rem;
}
.legal-section ul {
  margin-top: 7px;
  margin-bottom: 15px;
}

/* Contact & Info Styles */
.contact-info ul,
.contact-form ul {
  margin: 17px 0 17px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-info li, .contact-form li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1rem;
  color: #234423;
}
.contact-info img, .contact-form img {
  width: 24px;
  height: 24px;
}

/* Footer Styles */
footer {
  background: #336633;
  color: #fff;
  border-radius: 32px 32px 0 0;
  box-shadow: 0 -3px 16px 0 rgba(51,102,51,0.09);
  padding: 34px 0 12px 0;
  margin-top: 40px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 28px;
}
.footer-logo img {
  height: 40px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-nav a {
  color: #FFD180;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  text-decoration: none;
  padding: 7px 12px;
  border-radius: 7px;
  transition: background .13s;
}
.footer-nav a:hover {
  background: #FFD180;
  color: #336633;
  text-decoration: none;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
  border-top: 1.5px solid #E3EDD3;
  padding-top: 28px;
  margin-bottom: 14px;
}
.social-media {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1rem;
}
.social-media img {
  width: 22px;
  height: 22px;
  transition: transform .17s;
  border-radius: 50%;
  background: #FFEFCB;
  padding: 3px;
}
.social-media a:hover img {
  transform: scale(1.18) rotate(-7deg);
  background: #FFD180;
}
.footer-contact {
  font-size: 1rem;
  color: #FFD180;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-contact a {
  color: #FFD180;
  text-decoration: underline;
}
.footer-contact a:hover {
  color: #fff;
}
.footer-legal {
  font-size: 0.95rem;
  color: #FFD180;
  margin-top: 9px;
  text-align: center;
  width: 100%;
}
.footer-legal a {
  color: #FFD180;
  text-decoration: underline;
  padding: 2px 3px;
}
.footer-legal a:hover {
  color: #fff;
  text-decoration: none;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 2000;
  background: #fff;
  color: #234423;
  padding: 30px 16px 24px 16px;
  box-shadow: 0 -2px 16px 0 rgba(51,102,51,0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 17px;
  transition: transform .36s cubic-bezier(.67,.24,0,.75), opacity .21s;
  transform: translateY(140%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 18px;
  margin-top: 9px;
}
.cookie-banner button {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 9px;
  padding: 10px 17px;
  font-size: 1rem;
  margin-bottom: 0;
  cursor: pointer;
  transition: background .17s, color .14s, box-shadow .17s;
  outline: none;
}
.cookie-banner .accept-all {
  background: #336633;
  color: #FFD180;
}
.cookie-banner .accept-all:hover {
  background: #FFD180;
  color: #336633;
}
.cookie-banner .reject-all {
  background: #FFD180;
  color: #336633;
}
.cookie-banner .reject-all:hover {
  background: #336633;
  color: #FFD180;
}
.cookie-banner .cookie-settings {
  background: #fff;
  border: 2px solid #336633;
  color: #336633;
}
.cookie-banner .cookie-settings:hover {
  background: #F1F9ED;
  color: #1b3c1b;
}

/* Cookie Modal */
.cookie-modal-overlay {
  display: none; /* Show by JS with display:flex */
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(51,102,51,0.17);
  z-index: 3000;
  align-items: center;
  justify-content: center;
  transition: opacity .27s;
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  background: #fff;
  color: #222;
  border-radius: 18px;
  box-shadow: 0 8px 34px 0 rgba(51,102,51,.21);
  padding: 36px 28px 28px 28px;
  min-width: 340px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modal-in .44s cubic-bezier(.56,.09,.41,.81);
}
@keyframes modal-in {
  from { transform: scale(0.97) translateY(90px); opacity:0; }
  to { transform: scale(1) translateY(0); opacity:1; }
}
.cookie-modal h2 {
  margin-bottom: 8px;
  font-size: 1.29rem;
  color: #336633;
}
.cookies-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 8px;
}
.cookies-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
}
.cookies-category label {
  font-weight: 500;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}
.cookies-category input[type=checkbox]:disabled + label {
  opacity: 0.62;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 18px;
  margin-top: 11px;
}
.cookie-modal .cookie-actions button {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  padding: 9px 21px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: background .16s, color .16s;
}
.cookie-modal .accept-btn {
  background: #336633;
  color: #FFD180;
}
.cookie-modal .accept-btn:hover {
  background: #FFD180;
  color: #336633;
}
.cookie-modal .cancel-btn {
  background: #FFD180;
  color: #336633;
}
.cookie-modal .cancel-btn:hover {
  background: #336633;
  color: #FFD180;
}

/* Responsive Design - Mobile-first to Desktop */
@media (min-width: 700px) {
  .hero-section h1 { font-size: 3.2rem; }
  .section, .cta-section, .products-highlight {
    padding: 60px 40px;
  }
  .card-container, .content-grid, .testimonial-list, .footer-top, .footer-bottom, .feature-grid {
    gap: 32px;
  }
  .testimonial-card, .feature-item {
    min-width: 320px;
    max-width: 420px;
    font-size: 1.08rem;
  }
}
@media (max-width: 991px) {
  .container { max-width: 100vw; }
  .section, .cta-section, .products-highlight { padding: 28px 5vw; }
  .footer-top, .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .footer-nav {
    gap: 11px;
  }
}
@media (max-width: 768px) {
  .hero-section, .section, .cta-section, .products-highlight {
    border-radius: 0;
    padding-left: 13px;
    padding-right: 13px;
  }
  .testimonial-list, .feature-grid, .card-container, .content-grid  {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
  .about-short h2, .products-highlight h2, .testimonials-section h2, .cta-section h2 {
    font-size: 1.29rem;
    padding-left: 13px;
  }
  .timeline > div {
    padding-left: 24px;
  }
  .testimonial-card, .feature-item {
    min-width: unset;
    max-width: unset;
    font-size: 0.98rem;
  }
  .text-image-section, .content-grid {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 2.0rem; }
  h2 { font-size: 1.2rem; }
  .hero-section h1 { font-size: 1.7rem; }
  .section, .cta-section, .products-highlight { padding: 21px 5vw; }
}

/* Accessibility: focus styles */
a:focus, button:focus, .cta-primary:focus, input:focus, .mobile-menu-toggle:focus {
  outline: 2.5px solid #FFD180;
  outline-offset: 2.5px;
  z-index: 5000;
}
::selection {
  background: #FFD180;
  color: #234423;
}

/* Micro-interactions: subtle fade, scale on button/card hover */
.card, .testimonial-card, .feature-item, .cta-primary, .cookie-banner button, .footer-nav a {
  transition: box-shadow 0.15s, transform 0.13s, background 0.15s, color 0.13s;
}

/* Hide cookie banner if JS is not enabled (fallback): */
.no-js .cookie-banner { display: none !important; }

/* CLASSES FROM FLEXBOX MANDATORY PATTERNS */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.content-grid { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; }
.text-image-section { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.testimonial-card { display: flex; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }
