/* -------------------------- CSS RESET & BASE -------------------------- */
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 {
  line-height: 1.5;
  background: #F5F5F0;
  color: #232C36;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  scroll-behavior: smooth;
}
a {
  color: #285C3A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #E8B84E;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Typography Hierarchy */
h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
  color: #285C3A;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: #285C3A;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #4F6648;
}
p, li, dl, dd {
  font-size: 1rem;
  line-height: 1.7;
  color: #232C36;
}
blockquote {
  font-size: 1.125rem;
  color: #285C3A;
  padding-left: 16px;
  border-left: 4px solid #A6B755;
  margin-bottom: 10px;
  font-style: italic;
  background-color: #F9F9F6;
  border-radius: 0 8px 8px 0;
}
cite {
  display: block;
  font-size: 0.97em;
  color: #5E4D36;
  margin-top: 4px;
  letter-spacing: 0.1em;
}
strong {
  color: #285C3A;
  font-weight: 600;
}
em {
  color: #407738;
  font-style: italic;
}

/* ---------------------- LAYOUT CONTAINERS & SECTIONS ------------------------ */
.container {
  width: 100%;
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
/* Section Spacing & Alternate Backgrounds */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: 24px;
}
section.hero {
  background: #E7F3E8;
  border-radius: 0 0 48px 48px;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 60px;
}

/* Natural look for content areas */
section:not(.hero):nth-of-type(even) {
  background: #F9F9F6;
}
section:not(.hero):nth-of-type(odd) {
  background: #F6F2EA;
}

/* Cards, Lists, Grids */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 28px rgba(46,49,46,0.10);
  padding: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.22s, transform 0.22s;
  border: 1.5px solid #E7E3DD;
}
.card:hover {
  box-shadow: 0 8px 36px rgba(90,110,60,0.13);
  transform: translateY(-2px);
}
.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;
}

/* ------ TESTIMONIALS ---- */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 16px;
  background: #F6FAF7;
  border: 1.5px solid #B2BEAC;
  box-shadow: 0 2px 14px rgba(90,125,60,0.07);
  flex-direction: column;
  min-width: 220px;
}
.testimonial-card blockquote {
  color: #31582c;
  background: none;
  border-left: 4px solid #B6DEAB;
  font-size: 1.1rem;
}
.testimonial-card cite {
  color: #5D4B20;
  margin-top: 1px;
  font-size: 0.98rem;
}

/* Features / Values Lists */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1.01em;
  margin-bottom: 16px;
  line-height: 1.6;
  padding-left: 0px;
}

ul li img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  margin-right: 3px;
  border-radius: 50%;
  background: #EAF3DE;
  box-shadow: 0 2px 8px rgba(90,120,60,0.09);
}

/* ------------------------- BUTTONS & INTERACTION --------------------------- */
.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  padding: 14px 36px;
  background: #285C3A;
  color: #fff;
  border: none;
  border-radius: 28px;
  box-shadow: 0 2px 10px rgba(52, 70, 38, 0.07);
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.22s, transform 0.16s, box-shadow 0.18s, color 0.22s;
  position: relative;
  margin-top: 8px;
}
.button-primary:hover, .button-primary:focus {
  background: #407738;
  color: #FFFBE6;
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 4px 16px rgba(70,110,65,0.13);
}
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 12px 28px;
  background: #E8B84E;
  color: #232C36;
  border: none;
  border-radius: 28px;
  cursor: pointer;
  margin: 8px 8px 0 0;
  transition: background 0.19s, color 0.15s, box-shadow 0.19s;
  box-shadow: 0 1px 6px rgba(200,170,90,0.08);
}
.button-secondary:hover, .button-secondary:focus {
  background: #cda83f;
  color: #1a3018;
}
.button-tertiary {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  background: #fff;
  color: #285C3A;
  border: 1.3px solid #B6DEAB;
  border-radius: 28px;
  cursor: pointer;
  margin: 8px 8px 0 0;
  font-size: 1rem;
  font-weight: 500;
  transition: background .15s, color .14s, border .14s;
}
.button-tertiary:hover, .button-tertiary:focus {
  background: #E7F3E8;
  color: #285C3A;
  border-color: #7AAB6B;
}
.button-primary, .button-secondary, .button-tertiary:active {
  outline: none;
}

/* -------------- NAVIGATION & HEADER ------------------- */
header {
  background: #F5F5F0;
  box-shadow: 0 1px 12px rgba(45,64,32,0.05);
  position: sticky;
  top: 0;
  z-index: 40;
}
header nav {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px 10px 20px;
}
header nav a img {
  width: 132px;
  height: auto;
  margin-right: 10px;
}
header nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
header nav ul li {
  margin: 0;
  padding: 0;
}
header nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.01rem;
  padding: 6px 16px;
  border-radius: 24px;
  color: #2F3E29;
  font-weight: 500;
  transition: background 0.16s, color 0.17s;
  position: relative;
}
header nav ul li a:hover, header nav ul li a:focus {
  background: #E7F3E8;
  color: #285C3A;
}
header nav .button-primary {
  margin-left: 12px;
}

/* ------------- MOBILE MENU & HAMBURGER ----------------- */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #285C3A;
  color: #fff;
  border: none;
  padding: 10px 16px;
  font-size: 1.8rem;
  border-radius: 26px;
  cursor: pointer;
  margin-left: auto;
  z-index: 41;
  box-shadow: 0 2px 10px rgba(60,74,50,0.08);
  transition: background .17s, color .13s, transform .14s;
}
.mobile-menu-toggle:hover {
  background: #366441;
  color: #E8B84E;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(34, 50, 29, 0.96);
  z-index: 99;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(0.5,0,0.2,1);
  display: flex;
  flex-direction: column;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 22px 32px 0 0;
  font-size: 2.2rem;
  color: #E8B84E;
  background: none;
  border: none;
  cursor: pointer;
  transition: color .16s;
  z-index: 100;
}
.mobile-menu-close:hover {
  color: #fff6cf;
}
.mobile-nav {
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding-left: 44px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.23rem;
  color: #fff;
  padding: 10px 0;
  width: 100%;
  border-radius: 18px;
  transition: background 0.18s, color 0.16s;
  font-weight: 500;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E8B84E;
  color: #285C3A;
}

/* Hide menu button on desktop, show on mobile */
@media (min-width: 1020px) {
  .mobile-menu-toggle { display: none; }
  .mobile-menu { display: none !important; }
}
@media (max-width: 1020px) {
  header nav ul,
  header nav .button-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

@media (max-width: 650px) {
  .mobile-nav {
    padding-left: 24px;
  }
  .mobile-menu-close {
    margin: 16px 18px 0 0;
  }
}

/* ------------------------- MAIN & RESPONSIVE SPACING --------------------- */
main {
  width: 100%;
  margin: 0 auto;
  padding-top: 0;
  padding-bottom: 42px;
  /* allow hero to touch top under header */
}

/* Section spacing & responsiveness as required */
@media (max-width: 768px) {
  section, .section {
    margin-bottom: 38px;
    padding: 24px 8px;
    border-radius: 18px;
  }
  .container {
    padding: 0 6px;
    max-width: 100vw;
  }
  .content-wrapper {
    gap: 18px;
  }
  .hero {
    min-height: 180px;
    border-radius: 0 0 28px 28px;
    padding-top: 16px;
    margin-bottom: 40px;
  }
}

/* Responsive FLEX switches */
@media (max-width: 900px) {
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
}


/* --------------------------- FORMS, LISTS, DL --------------------------- */
dt {
  font-weight: 600;
  color: #234022;
  margin-top: 12px;
  margin-bottom: 4px;
}
dd {
  margin-bottom: 10px;
  margin-left: 0px;
}

/* ----------------------------- FOOTER ------------------------------- */
footer {
  width: 100%;
  background: #E9E6DB;
  text-align: center;
  padding: 38px 6px 20px 6px;
  border-radius: 20px 20px 0 0;
  margin-top: 22px;
  box-shadow: 0 -3px 32px -8px rgba(140,130,70,0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  justify-content: center;
  margin-bottom: 10px;
}
footer nav a {
  font-size: 0.97rem;
  color: #1E3621;
  padding: 4px 9px;
  border-radius: 20px;
  transition: background .12s, color .16s;
}
footer nav a:hover, footer nav a:focus {
  color: #1F4733;
  background: #CDE5B3;
}
footer address {
  font-size: 0.95rem;
  color: #57432B;
  font-style: normal;
  margin-top: 8px;
  line-height: 1.6;
}
footer address a {
  color: #285C3A;
  border-bottom: 1px dashed #B0B89F;
  transition: color 0.15s, border 0.12s;
}
footer address a:hover {
  color: #E8B84E;
  border-bottom: 1px solid #E8B84E;
}

/* -------------------- COOKIE CONSENT BANNER & MODAL ---------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 200;
  background: #405E34;
  color: #fff;
  box-shadow: 0 -8px 36px rgba(54, 68, 40, .14);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  padding: 22px 8px 22px 16px;
  font-size: 1.05rem;
  border-radius: 22px 22px 0 0;
  transition: transform .3s, opacity .34s;
}
.cookie-banner.closed {
  transform: translateY(100%);
  opacity: 0;
}
.cookie-banner .button-primary, 
.cookie-banner .button-secondary, 
.cookie-banner .button-tertiary {
  margin-top: 0;
  margin-right: 7px;
  min-width: 120px;
  font-size: 1rem !important;
  box-shadow: none;
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(34,44,29,0.67);
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .3s;
}
.cookie-modal {
  background: #F5F5F0;
  color: #285C3A;
  padding: 36px 28px 22px 28px;
  border-radius: 24px;
  width: 98vw;
  max-width: 420px;
  box-shadow: 0 6px 36px rgba(34,44,29,0.16);
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: fadeInPop .45s cubic-bezier(.61,-0.01,.47,1.01);
}
@keyframes fadeInPop {
  0% {opacity: 0;transform: scale(.96) translateY(36px);}
  100% {opacity: 1;transform: scale(1) translateY(0);}
}
.cookie-modal h2 {
  font-size: 1.27rem;
  color: #232C36;
  margin-bottom: 6px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}
.cookie-modal .cookie-switch {
  width: 42px;
  height: 24px;
  background: #E7F3E8;
  border-radius: 14px;
  position: relative;
  margin-left: auto;
  cursor: pointer;
}
.cookie-modal .cookie-switch input[type="checkbox"] {
  opacity: 0;
  width: 42px;
  height: 24px;
  position: absolute;
  left: 0; top: 0;
  margin: 0;
}
.cookie-modal .cookie-switch span {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 20px;
  height: 20px;
  background: #B6DEAB;
  border-radius: 50%;
  transition: left .19s;
}
.cookie-modal .cookie-switch input:checked + span {
  left: 20px;
  background: #285C3A;
}
.cookie-modal .cookie-category[aria-disabled="true"] {
  opacity: 0.67;
}
.cookie-modal .cookie-category[aria-disabled="true"] .cookie-switch {
  filter: grayscale(1);
  pointer-events: none;
}
.cookie-modal .button-primary,
.cookie-modal .button-secondary {
  width: 100%;
  margin: 9px 0 0 0;
}
.cookie-modal .close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #999d90;
  align-self: flex-end;
  cursor: pointer;
  margin-top: -22px;
  margin-bottom: 9px;
}
.cookie-modal .close:hover {
  color: #B6DEAB;
}

/* Hide modal by default */
.cookie-modal-overlay[hidden] {
  display: none !important;
}

/* ----------- SCROLLBAR ----------- */
::-webkit-scrollbar {
  width: 9px;
  background: #F7F4EB;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb {
  background: #B6DEAB;
  border-radius: 8px;
}
body {
  scrollbar-width: thin;
  scrollbar-color: #B6DEAB #F6F2EA;
}

/* ------------------- ORGANIC SHAPES/EDGES ------------------ */
section, .card, .testimonial-card, .cookie-modal, .cookie-banner {
  border-radius: 20px 36px 32px 24px/30px 14px 34px 26px;
}

/* Organic Decorations Example */
.hero:before {
  content: '';
  position: absolute;
  left: 8%;
  bottom: 0;
  width: 110px;
  height: 40px;
  background: #B6DEAB;
  opacity: 0.15;
  border-radius: 90% 65% 48% 80%;
  z-index: 1;
  pointer-events: none;
}
.hero:after {
  content: '';
  position: absolute;
  right: 8%;
  top: 0;
  width: 90px;
  height: 40px;
  background: #E8B84E;
  opacity: .12;
  border-radius: 70% 85% 60% 100%;
  z-index: 1;
  pointer-events: none;
}

/* ----------- RESPONSIVE TYPOGRAPHY --------- */
@media (max-width: 600px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.23rem; }
  .hero { min-height: 120px; }
}

/* ----------------- MICROS & ANIMATION ------------------- */
.button-primary, .button-secondary, .card, .testimonial-card {
  transition: box-shadow 0.21s, background 0.25s, color 0.22s, transform 0.19s;
}
.card:active, .testimonial-card:active {
  transform: scale(.98);
}
a:focus-visible, .button-primary:focus-visible {
  outline: 2.5px solid #B6DEAB;
  outline-offset: 2px;
}

/* ----------- MISC ELEMENTS ------------ */
hr {
  height: 0;
  border: none;
  border-top: 1px solid #E7E3DD;
  margin: 40px 0;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Hide focus outlines for mouse, but keep for keyboard */
:focus:not(:focus-visible) {
  outline: none;
}

/* --------------- ACCESSIBILITY --------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}


/* ------------------------ END ------------------------ */
