/* CSS Reset and Normalize */
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,
b, 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,
main, 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;
}
html {
  line-height: 1.15;
  scroll-behavior: smooth;
}
body {
  background-color: #F7F6F2;
  font-family: 'Roboto', Arial, sans-serif;
  color: #224E36;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  letter-spacing: 0.01em;
  --primary: #224E36;
  --secondary: #FFD600;
  --accent: #FFFFFF;
  --earth-brown: #A48365;
  --forest-green: #2D6C4C;
  --organic-ivory: #FAFAF6;
  --nature-grey: #D9D6CE;
  --nature-shadow: 0 4px 18px rgba(45, 108, 76, 0.08);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: var(--secondary);
  outline: none;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
li:not(:last-child) {
  margin-bottom: 8px;
}
strong {
  font-weight: 600;
}
hr {
  border: 0;
  border-bottom: 1px solid var(--nature-grey);
  margin: 24px 0;
}

/* Responsive Container */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
}

/* Nature Organic Section & Spacing Patterns */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--organic-ivory);
  border-radius: 32px 64px 48px 24px/40px 40px 64px 32px;
  box-shadow: var(--nature-shadow);
}
@media (max-width: 768px) {
  .section {
    padding: 28px 10px;
    border-radius: 18px 32px 32px 14px/20px 20px 32px 12px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: #fff;
  border-radius: 24px 24px 40px 12px/30px 26px 36px 14px;
  box-shadow: var(--nature-shadow);
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 6px 28px rgba(34,78,54,0.13);
  transform: translateY(-4px) scale(1.015);
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff9ec;
  box-shadow: var(--nature-shadow);
  border-radius: 24px 48px 16px 36px/28px 36px 40px 12px;
  margin-bottom: 20px;
  min-width: 0;
}
.testimonial-card p {
  flex: 1 1 60%;
  font-size: 18px;
  font-family: 'Roboto', Arial, sans-serif;
  color: #224E36;
}
.testimonial-meta {
  flex: 1 1 40%;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #2D6C4C;
  font-size: 15px;
  font-weight: 500;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* Typography Hierarchy */
h1,h2,h3,h4 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: var(--primary);
  margin-bottom: 20px;
}
h1 {font-size: 2.5rem;font-weight: 700;letter-spacing: -1px;}
h2 {font-size: 2rem;font-weight: 600;}
h3 {font-size: 1.35rem;font-weight: 500;margin-top: 12px;}
h4 {font-size: 1.1rem;font-weight: 700;}
.subhead {
  font-size: 1.2rem;
  color: var(--forest-green);
  margin-bottom: 18px;
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
}

p, li, ul, ol {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
}
p {
  margin-bottom: 16px;
}

/* Call to Action Buttons */
.cta {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 17px;
  border: none;
  padding: 14px 32px;
  margin-top: 20px;
  border-radius: 40px 24px 40px 26px/26px 40px 24px 38px;
  box-shadow: 0 2px 12px rgba(34,78,54,0.07);
  cursor: pointer;
  text-align: center;
  letter-spacing: 0.02em;
  transition: background 0.15s, color 0.15s, transform 0.16s;
}
.cta.primary {
  background: var(--secondary);
  color: var(--primary);
}
.cta:hover, .cta:focus {
  background: var(--forest-green);
  color: #fff;
  transform: scale(1.035);
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--primary);
  color: #fff;
}

/* Header and Navigation */
header {
  background: var(--organic-ivory);
  box-shadow: 0 2px 12px #224E3622;
  padding-top: 10px;
  position: relative;
  z-index: 100;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.logo img {
  height: 42px;
  width: auto;
  border-radius: 14px 24px 12px 18px/20px 30px 24px 16px;
}
nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 500;
}
nav a {
  padding: 8px 12px;
  border-radius: 13px 25px 9px 15px/13px 15px 15px 13px;
  transition: background 0.13s, color 0.13s;
}
nav a:hover, nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}
@media (max-width: 1024px) {
  nav {
    gap: 12px;
  }
}
@media (max-width: 830px) {
  nav {
    display: none;
  }
}

.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary);
}
@media (max-width: 830px) {
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 1200;
  }
  header .cta.primary {
    display: none;
  }
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(34,78,54, 0.88);
  z-index: 1500;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.86,0,.07,1);
  align-items: flex-start;
  padding: 0;
  width: 100vw;
  height: 100vh;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
  transition: transform 0.35s cubic-bezier(.7,0,.29,1);
}
.mobile-menu-close {
  border: none;
  background: none;
  color: #fff;
  font-size: 2.2rem;
  padding: 18px;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.12s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  padding: 36px 26px 0 30px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
.mobile-nav a {
  color: #fff;
  background: transparent;
  padding: 18px 10px;
  border-radius: 12px 24px 14px 24px/16px 22px 20px 18px;
  font-size: 1.1rem;
  transition: background 0.14s, color 0.14s;
  box-shadow: 0 1px 8px #0000000a;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}

@media (min-width: 831px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fffef9;
  color: var(--primary);
  border-top: 3px solid var(--earth-brown);
  box-shadow: 0 -2px 22px #224E3622;
  padding: 28px 16px 24px 16px;
  z-index: 9000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  transition: bottom 0.29s;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.01em;
  font-size: 16px;
  border: none;
  margin-right: 10px;
  margin-top: 8px;
  padding: 12px 24px;
  border-radius: 24px 16px 16px 20px/16px 20px 18px 12px;
  cursor: pointer;
  box-shadow: 0 1px 8px #00000013;
  transition: background 0.15s, color 0.15s;
}
.cookie-banner .accept {
  background: var(--primary);
  color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: var(--forest-green);
}
.cookie-banner .reject {
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--nature-grey);
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #f0eee6;
  color: #AD2526;
}
.cookie-banner .settings {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: var(--primary);
  color: #fff;
}

/* Cookie Modal Overlay */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(34,78,54, 0.38);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.28s;
}
@keyframes fadeIn {from {opacity:0;} to {opacity:1;}}
.cookie-modal {
  background: #fffdf7;
  border-radius: 32px 48px 24px 22px;
  box-shadow: 0 4px 42px #224e361d;
  max-width: 480px;
  width: 94vw;
  padding: 36px 26px 28px 26px;
  color: var(--primary);
  font-family: 'Roboto', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: slideUpModal 0.33s;
}
@keyframes slideUpModal {
  from { transform:translateY(80px); opacity: 0; }
  to { transform:translateY(0); opacity:1; }
}
.cookie-modal-close {
  font-size: 2rem;
  color: var(--primary);
  background: none;
  border: none;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 4px;
}
.cookie-modal-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
}
.cookie-preference-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-category label {
  font-size: 17px;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-category input[type="checkbox"],
.cookie-category input[type="radio"] {
  appearance: none;
  border: 2px solid var(--primary);
  border-radius: 50%;
  width: 20px;height: 20px;
  outline: none;
  cursor: pointer;
  background: #fff;
  margin: 0 8px 0 0;
  position: relative;
}
.cookie-category input[type="checkbox"]:checked {
  background-color: var(--secondary);
  border-color: var(--secondary);
}
.cookie-category input[type="checkbox"]:checked::after {
  content:"";
  display: block;
  width: 12px;
  height: 12px;
  margin: 2px auto;
  background: var(--primary);
  border-radius: 50%;
}
.cookie-modal-actions {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
  margin-top: 18px;
}
.cookie-modal-actions button {
  min-width: 120px;
}

/* Footer Styles */
footer {
  background: var(--organic-ivory);
  border-top: 2px solid var(--nature-grey);
  margin-top: 64px;
  padding: 0;
}
footer .content-wrapper.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding: 36px 0 20px 0;
}
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  color: var(--forest-green);
  margin-bottom: 8px;
}
.footer-social {
  display: flex;
  gap: 16px;
}
.footer-social a img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 8px #224E360B;
  padding: 4px;
  transition: background 0.15s;
}
.footer-social a:hover img { background: var(--secondary); }

.newsletter-signup {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.newsletter-signup input[type="email"] {
  padding: 10px 18px;
  border: 1px solid var(--nature-grey);
  border-radius: 16px 24px 18px 13px/22px 18px 12px 14px;
  background: #fff;
  color: var(--primary);
  font-size: 15px;
  outline: none;
  margin-top: 4px;
}
.newsletter-signup input[type="email"]:disabled {
  background: #F7F6F2;
  color: #bbb;
}

@media (max-width: 900px) {
  footer .content-wrapper.footer {
    flex-direction: column;
    gap: 28px;
    align-items: flex-start;
  }
}

/* Text Sections (e.g. for legal pages) */
.text-section {
  margin-bottom: 24px;
  font-size: 1rem;
  color: #224E36;
  background: #fff;
  border-radius: 28px 20px 32px 24px;
  padding: 24px 18px;
  box-shadow: 0 2px 12px #224E3607;
}
.text-section ul {
  margin-top: 12px;
  margin-bottom: 12px;
}
.text-section li:not(:last-child) {
  margin-bottom: 5px;
}

/* Special Components and Patterns */
.category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 1rem;
  margin-bottom: 24px;
  align-items: center;
}
.category-filter span {
  background: var(--nature-grey);
  color: var(--primary);
  border-radius: 15px 21px 13px 19px;
  padding: 5px 14px;
  font-size: 0.98rem;
  margin-right: 4px;
}
.category-filter strong {
  color: var(--primary);
  font-weight: 600;
}

.map {
  width: 100%;
  min-height: 180px;
  background: linear-gradient(106deg, #f2efdc 40%, #e2d7b5 100%);
  color: #999;
  border-radius: 22px 31px 19px 20px;
  font-size: 1.08rem;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.04em;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  margin-top: 10px;
  margin-bottom: 20px;
  box-shadow: 0 4px 14px #bca06e24;
}

/* Organic Card Style (e.g. for recommended products, legal info) */
.card {
  padding: 26px 20px 18px 20px;
  background: #fff;
  min-width: 220px;
  max-width: 360px;
  box-shadow: var(--nature-shadow);
  border-radius: 28px 40px 18px 21px/21px 32px 22px 20px;
  margin-bottom: 20px;
}

@media (max-width: 750px) {
  .container {
    padding: 0 6px;
  }
  .section {
    padding: 18px 2px;
    margin-bottom: 36px;
  }
  footer .content-wrapper.footer {
    padding: 21px 0 10px 0;
  }
}

/* Responsive Adjustments */
@media (max-width: 600px) {
  h1 { font-size: 1.43rem; }
  h2 { font-size: 1.18rem; }
  .testimonial-card p, .testimonial-meta { font-size: 1rem; }
  .section { padding: 10px 2px; }
}

/* Custom Scrollbar for Nature Organic Feel */
body {
  scrollbar-width: thin;
  scrollbar-color: var(--nature-grey) var(--organic-ivory);
}
body::-webkit-scrollbar {
  width: 8px;
  background: var(--organic-ivory);
}
body::-webkit-scrollbar-thumb {
  background: var(--nature-grey);
  border-radius: 12px;
}

/* Micro-interactions */
.card, .testimonial-card, .cta, nav a, .mobile-nav a, .footer-social img {
  transition: box-shadow 0.16s, transform 0.16s, background 0.16s, color 0.18s;
}
.card:active, .testimonial-card:active, .cta:active {
  transform: scale(0.97);
}

/* Miscellaneous Utility */
::-webkit-input-placeholder { color: #b1bbb4; }
::-moz-placeholder { color: #b1bbb4; }
:-ms-input-placeholder { color: #b1bbb4; }
::placeholder { color: #b1bbb4; }

/* Accessibility/Contrast for Testimonials & Review */
.testimonial-card, .testimonial-card p, .testimonial-meta {
  color: #224E36;
  background: #fff9ec;
}

/* Ensure all elements have space between them and do not overlap */
main > section, .content-wrapper > *:not(:last-child) {
  margin-bottom: 20px;
}

/* Remove list styling for footer nav links */
footer nav a { color: var(--forest-green); }
footer nav a:hover, footer nav a:focus { color: var(--secondary); }