/* --------------------------------------
   RESET & BASE STYLES (mobile-first)
   -------------------------------------- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption,
tbody, tfoot, thead, tr, th, td, article, aside,
canvas, details, embed, figure, figcaption, footer,
header, hgroup, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  min-height: 100vh;
  color: #23283A;
  background-color: #F3F6F4;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.7;
  font-size: 16px;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}
input, button, textarea, select {
  font: inherit;
}
a {
  color: #5D8146;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.4,0,.2,1);
}
a:hover, a:focus {
  color: #23283A;
}

/* --------------
   BRAND FONTS
 -------------- */
h1, h2, h3, .cta-button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
}
h1 { font-size: 2.25rem; line-height: 1.14; margin-bottom: 24px; }
h2 { font-size: 1.5rem; line-height: 1.2; margin-bottom: 20px; }
h3 { font-size: 1.125rem; line-height: 1.22; margin-bottom: 14px; }

p, ul, ol, li {
  color: #2C3720;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.01em;
}
strong {
  font-weight: 700;
}

/* --------------------------------------
   LAYOUT CONTAINERS & ORGANIC EFFECTS
   -------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #F3F6F4;
  border-radius: 32px 48px 28px 36px/36px 48px 32px 20px;
  /* organic blobs with elliptical radii */
  box-shadow: 0 4px 20px 0 rgba(120,128,100,0.09);
}

.feature-grid,
.certification-list,
.card-container,
.content-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex-wrap: wrap;
}

.card-container { gap: 24px; }
.card {
  background: #FCFBF7;
  border-radius: 28px 18px 36px 30px;
  box-shadow: 0 2px 12px 0 rgba(133, 153, 94, 0.14);
  padding: 28px 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s cubic-bezier(.4,0,.2,1), transform .18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 36px 0 rgba(133, 153, 94, 0.22);
  transform: translateY(-2px) scale(1.01);
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.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;
  margin-bottom: 20px;
}

/* ORGANIC SHAPES for IMAGERY */
.img-organic {
  border-radius: 40% 60% 63% 37%/48% 40% 60% 52%;
  box-shadow: 0 2px 12px 0 rgba(165, 176, 133, 0.16);
}

/* HERO SECTION */
.hero {
  background: #e7eddf;
  border-radius: 0 0 64px 56px/0 0 40px 33px;
  padding-top: 42px;
  padding-bottom: 46px;
  position: relative;
  overflow: hidden;
  margin-bottom: 48px;
}
.hero h1 {
  color: #23283A;
  text-shadow: 0 2px 12px rgba(120, 120, 90, 0.04);
}
.hero p {
  font-size: 1.13rem;
  color: #3A4222;
  margin-bottom: 24px;
}

/* MAIN NAVIGATION */
header {
  background: #F3F6F4;
  border-bottom: 1.5px solid #e0e5d5;
  position: sticky;
  top: 0; left: 0;
  width: 100%;
  z-index: 50;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #23283A;
  padding: 8px 12px;
  border-radius: 18px 32px 22px 18px;
  transition: background .18s, color .18s;
  font-weight: 500;
}
header nav a:hover, header nav a:focus {
  background: #A7C957;
  color: #2C3720;
}

/* MOBILE MENU BUTTON */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #A7C957;
  color: #23283A;
  font-size: 2rem;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(123,160,85,0.13);
  margin-left: auto;
  z-index: 105;
  transition: background .17s, transform .18s;
}
.mobile-menu-toggle:active {
  background: #7BA03A;
  transform: scale(.97);
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(231, 237, 223, 0.99);
  z-index: 120;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.57,.21,.69,1.25);
  will-change: transform;
  height: 100vh;
  overscroll-behavior: contain;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  right: 18px; top: 18px;
  background: #A7C957;
  color: #23283A;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(123,160,85,0.13);
  z-index: 150;
  transition: background .17s;
}
.mobile-menu-close:active {
  background: #7BA03A;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 80px 30px 30px 34px;
  gap: 24px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #23283A;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 15px 0;
  border-radius: 18px 32px 22px 18px;
  width: 100%;
  transition: background .18s, color .18s;
}
.mobile-nav a:hover {
  background: #A7C957;
  color: #2C3720;
}
.m-scroll {
  overflow-y: auto;
  flex: 1 1 auto;
}

/* Hide main nav links on mobile */
@media (max-width: 992px) {
  header nav { display: none; }
  .mobile-menu-toggle { display: flex; }
}
@media (min-width: 993px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/* -------------------
   CTA BUTTONS
 ------------------- */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #f3f6f4;
  background: #23283A;
  border-radius: 32px 48px 28px 20px;
  border: none;
  box-shadow: 0 3px 16px 0 rgba(54,69,42,0.13);
  letter-spacing: 0.03em;
  cursor: pointer;
  outline: none;
  margin-top: 8px;
  margin-bottom: 14px;
  transition: background .18s, color .18s, box-shadow .18s, transform .18s;
}
.cta-button:hover, .cta-button:focus {
  background: #A7C957;
  color: #23283A;
  box-shadow: 0 7px 24px 0 rgba(123,160,85,0.16);
  transform: translateY(-2px) scale(1.02);
}

/* -------------------
   FEATURE/ICON CARDS
 ------------------- */
.feature-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.feature-grid > div {
  padding: 24px;
  background: #FFFFFF;
  border-radius: 24px 40px 24px 32px;
  border: 1.5px solid #DDE9D7;
  box-shadow: 0 2px 10px 0 rgba(170,195,87,0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  transition: box-shadow .18s, transform .16s;
}
.feature-grid > div:hover, .feature-grid > div:focus-within {
  box-shadow: 0 7px 28px 0 rgba(123,160,85,0.19);
  transform: translateY(-2px) scale(1.015);
}
.feature-grid img {
  width: 40px;
  height: 40px;
  margin-bottom: 6px;
}

/* CERTIFICATION */
.certification-list {
  gap: 16px;
}
.certification-list ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* TESTIMONIALS */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #FCFBF7;
  color: #23283A;
  border-radius: 32px 24px 38px 28px;
  box-shadow: 0 2px 8px 0 rgba(170,195,87,0.10);
  font-size: 1.09rem;
  font-style: italic;
  border-left: 7px solid #A7C957;
  position: relative;
  transition: box-shadow .20s;
}
.testimonial-card p {
  color: #23283A;
  margin-bottom: 6px;
  font-style: italic;
}
.testimonial-card strong {
  display: block;
  font-size: 0.99rem;
  color: #4E5C32;
  font-style: normal;
  margin-top: 6px;
}

/* ---------------------
   FOOTER & LEGAL
 --------------------- */
footer {
  background: #23283A;
  color: #F3F6F4;
  padding: 32px 0 0 0;
  margin-top: 64px;
  border-radius: 52px 48px 0 0/44px 44px 0 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
}
footer nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 19px;
}
footer nav a {
  color: #A7C957;
  font-size: 0.98rem;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color .15s;
}
footer nav a:hover {
  color: #F3F6F4;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #F3F6F4;
  font-size: 1rem;
  margin-top: 6px;
}
.footer-contact p {
  color: #F3F6F4;
}
.footer-contact img {
  width: 17px; height: 17px;
  margin-right: 7px;
  vertical-align: middle;
}
.social-links {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: #A7C957;
  border-radius: 50%;
  transition: background .19s;
}
.social-links a:hover {
  background: #B7D97A;
}
.social-links img {
  width: 23px;
  height: 23px;
  filter: grayscale(20%);
}
.legal {
  color: #b7c69e;
  font-size: 0.89rem;
  margin: 18px 0 0 0;
}

/* -----------
   MAP / PLACEHOLDER
 ----------- */
.map-placeholder {
  background: #e7f1e4;
  border-radius: 24px 41px 22px 36px;
  padding: 18px 22px;
  color: #304218;
  font-size: 1.01rem;
  margin-top: 10px;
}

/* -------- SITEWIDE SPACING AND GAPS -------- */
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
  position: relative;
  z-index: 1;
}
.content-grid, .feature-grid, .card-container {
  gap: 24px;
}
.text-image-section {
  gap: 30px;
}
.testimonial-card,
.feature-item,
.card {
  margin-bottom: 20px;
}
.feature-item {
  gap: 15px;
}

/* ------- COOKIE CONSENT BANNER -------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2000;
  background: #f3f6f4;
  color: #2C3720;
  box-shadow: 0 -2px 20px 0 rgba(89,106,69,0.17);
  border-top: 4px solid #A7C957;
  padding: 24px 10px 18px 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  font-size: 1rem;
  animation: slideUp 0.4s cubic-bezier(.5,1.26,.22,1.27);
}
@keyframes slideUp { from { transform: translateY(120%); opacity: 0;} to { transform: translateY(0); opacity: 1;} }
.cookie-banner strong {
  color: #23283A;
  font-weight: bold;
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 8px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 22px;
  font-weight: 600;
  border-radius: 20px 32px 24px 14px;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  background: #A7C957;
  color: #23283A;
  transition: background .19s, color .18s, box-shadow .17s;
  margin-right: 2px;
  margin-bottom: 2px;
}
.cookie-btn.accept {
  background: #23283a;
  color: #f3f6f4;
  font-weight: 700;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #7BA03A;
  color: #f3f6f4;
  box-shadow: 0 5px 22px 0 rgba(123,160,85,.09);
}
.cookie-btn.settings {
  background: #e7eddf;
  color: #3A4222;
}

/* COOKIE MODAL POPUP */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(60, 80, 60, 0.16);
  animation: fadein .3s cubic-bezier(.45,1.2,.22,1.11);
}
@keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal-content {
  background: #FCFBF7;
  border-radius: 38px 44px 42px 36px;
  box-shadow: 0 12px 70px 0 rgba(95,100,68,0.12);
  max-width: 420px;
  width: 95%;
  padding: 36px 22px 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modalpop .28s cubic-bezier(.29,1.37,.22,1.07);
  position: relative;
}
@keyframes modalpop { from {transform: scale(0.9);} to {transform: scale(1);} }
.cookie-modal-close {
  position: absolute;
  right: 18px; top: 18px;
  background: #A7C957;
  color: #23283A;
  border: none;
  border-radius: 50%;
  width: 32px; height: 32px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background .13s;
}
.cookie-modal-close:hover {
  background: #7BA03A;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  margin-bottom: 12px;
}
.cookie-category label {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #2C3720;
}
.cookie-category input[type="checkbox"] {
  accent-color: #A7C957;
  width: 22px;
  height: 22px;
  margin-right: 4px;
  border-radius: 7px;
  border: 2px solid #A7C957;
  vertical-align: middle;
}
.cookie-category input[disabled] {
  opacity: 0.65;
}

/* --------------
   RESPONSIVE DESIGN
 -------------- */
@media (min-width: 580px) {
  .content-wrapper {
    padding-left: 16px;
    padding-right: 16px;
  }
}
@media (min-width: 640px) {
  .hero { padding-top: 64px; padding-bottom: 78px; }
  .section { padding: 58px 24px; }
  .feature-grid,
  .content-grid,
  .card-container {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .feature-grid > div, .card {
    flex: 1 1 44%;
    min-width: 250px;
    max-width: 360px;
  }
  .testimonial-card, .feature-item {
    flex-direction: row;
    align-items: center;
  }
}
@media (min-width: 900px) {
  .container {
    padding-left: 32px;
    padding-right: 32px;
  }
  .hero {
    padding-top: 90px; padding-bottom: 105px;
    margin-bottom: 0;
    border-radius: 0 0 120px 80px/0 0 68px 43px;
  }
  .feature-grid > div, .card {
    flex: 1 1 30%;
    min-width: 280px;
    max-width: 400px;
  }
  .section {
    padding: 70px 60px;
    margin-bottom: 70px;
  }
  .content-wrapper {
    flex-direction: row;
    gap: 48px;
    align-items: flex-start;
  }
  .text-image-section {
    flex-direction: row;
  }
}

@media (max-width: 768px) {
  .container { padding-left: 6px; padding-right: 6px; }
  .section { padding: 27px 6px; }
  .feature-grid, .content-grid, .card-container { flex-direction: column; }
  .text-image-section { flex-direction: column; gap: 18px; }
  .testimonial-card, .feature-item { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  h1 { font-size: 1.44rem; }
  h2 { font-size: 1.14rem; }
  .section {
    padding: 22px 3vw;
    margin-bottom: 32px;
    border-radius: 18px 14px 28px 16px;
  }
}

/* Util: Remove list style & set gap */
ul, ol {
  list-style: none;
  margin-bottom: 6px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 0;
}
ol > li::before {
  content: "\2022";
  color: #A7C957;
  font-size: 1.1em;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
  margin-right: 5px;
}
ul > li::before {
  content: "";
  margin-right: 0;
}

/* Tables (privacy) */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}
th, td {
  border: 1px solid #e7eddf;
  padding: 9px 12px;
  text-align: left;
}
th {
  background: #e7eddf;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* Miscellaneous utility classes */
.text-center {
  text-align: center !important;
}
.d-none { display: none !important; }

/* -------------
   NOSCRIPT WARNING, ERRORS
 ------------- */
.noscript-warning, .error-wrap {
  color: #9c1128;
  background: #FFF7F4;
  border: 2px solid #A7C957;
  border-radius: 23px 14px 18px 30px;
  padding: 18px;
  margin: 26px 0;
  text-align: center;
  font-size: 1rem;
}

/* -------------
   MICRO-INTERACTIONS
 ------------- */
a, .cta-button, .feature-grid > div, .card, .testimonial-card, .cookie-btn, .social-links a, .mobile-menu-toggle, .mobile-menu-close {
  transition-property: color, background, box-shadow, border-color, transform;
  transition-duration: .17s, .18s, .22s, .19s;
}
footer nav a:focus, header nav a:focus, .mobile-nav a:focus, .cta-button:focus { outline: 2px solid #A7C957; outline-offset: 3px; }

/* Overlay for focusable area with higher z-index in mobile menu */
.mobile-menu.open:before {
  content: '';
  position: fixed;
  left:0; right:0; top:0; bottom:0;
  z-index: 100;
  background: rgba(51,53,35,0.05);
}

/* Hide scroll on body when mobile menu/cookie modal open (applied by JS/class helper, not CSS only)*/
body.menu-open, body.cookie-modal-open {
  overflow: hidden;
}
