/* --- 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,
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, 
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.62;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F7F6F3;
  color: #21312B;
  min-height: 100vh;
  letter-spacing: 0.01em;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  border-style: none;
}
a {
  color: #457B9D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #264B34;
  text-decoration: underline;
}
ul, ol {
  padding-left: 22px;
}
strong, b {
  font-weight: bold;
}

/* --- SCROLLBAR --- */
body::-webkit-scrollbar {
  width: 10px;
  background: #F1FAEE;
}
body::-webkit-scrollbar-thumb {
  background: #B7C6AC;
  border-radius: 6px;
}

/* --- BRAND FONTS ON HEADINGS --- */
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1D3557;
  font-weight: 700;
}
h1 {
  font-size: 2.3rem;
  line-height: 1.19;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}
h2 {
  font-size: 1.7rem;
  margin-bottom: 15px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}
h4 {
  font-size: 1.08rem;
  margin-bottom: 6px;
}
p, li {
  font-size: 1rem;
  line-height: 1.62;
  color: #21312B;
}
.subheadline {
  color: #457B9D;
  font-weight: 500;
  font-size: 1.07rem;
  margin-bottom: 18px;
}

/* --- LAYOUT CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.content-wrapper {
  max-width: 920px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #F7F6F3;
  border-radius: 32px 64px 32px 18px;
  box-shadow: 0 4px 18px 0 rgba(76,116,85,.07);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
@media (max-width: 768px) {
  .section {
    padding: 24px 8px;
    margin-bottom: 36px;
    border-radius: 19px 35px 21px 14px;
  }
}

/* --- HEADER & NAVIGATION --- */
header {
  background: #F1FAEE;
  box-shadow: 0 2px 12px rgba(76,116,85,.09);
  border-bottom: 2px solid #E2E9DD;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 12px;
}
header img {
  height: 45px;
  padding: 6px 0;
}
nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #23432B;
  padding: 7px 11px;
  border-radius: 18px 26px 16px 18px;
  transition: background 0.2s, color 0.2s;
}
nav a.primary-cta {
  background: #348352;
  color: #fff;
  padding: 10px 20px;
  border-radius: 24px 32px 24px 20px;
  margin-left: 4px;
  font-size: 1.05rem;
  box-shadow: 0 2px 9px #63994b1b;
  transition: transform 0.16s, background 0.24s;
}
nav a:hover, nav a:focus {
  background: #B6CBBB;
  color: #21312B;
}
nav a.primary-cta:hover, nav a.primary-cta:focus {
  background: #295d36;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #295d36;
  padding: 6px 12px;
  margin-left: 10px;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #B6CBBB;
}

@media (max-width: 1020px) {
  nav {
    gap: 11px;
  }
  header .container {
    padding: 0 7px;
  }
}

@media (max-width: 900px) {
  header .container {
    padding: 0 2vw;
  }
}
@media (max-width: 860px) {
  header .container nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #F1FAEE;
  z-index: 1100;
  transform: translateX(-100%);
  box-shadow: 4px 0 28px 0 rgba(33,49,43,0.13);
  transition: transform 0.32s cubic-bezier(.90,.1,.25,1.1);
  display: flex;
  flex-direction: column;
  padding: 0 0 0 0;
  width: 96vw;
  max-width: 380px;
  min-width: 212px;
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2.3rem;
  color: #276C48;
  padding: 12px 14px 2px 14px;
  margin: 7px 5px 0px 0px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #B6CBBB;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 26px 18px 20px 18px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.09rem;
  padding: 15px 0 15px 5px;
  border-radius: 16px;
  color: #23432B;
  background: none;
  border-bottom: 1px solid #E2E9DD;
  transition: background 0.16s, color 0.18s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:active, .mobile-nav a:hover, .mobile-nav a:focus {
  background: #B6CBBB;
  color: #184822;
}

@media (min-width: 861px) {
  .mobile-menu {
    display: none;
  }
}

/* --- HERO --- */
.hero {
  margin-bottom: 60px;
  padding: 50px 0 40px 0;
  background: linear-gradient(100deg,#E2E9DD 0% 90%, #F7F6F3 100%);
  border-radius: 0 0 56px 80px;
  box-shadow: 0 6px 32px 0 rgba(72,98,64,0.08);
  display: flex;
}
.hero .container {
  align-items: stretch;
  gap: 0;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 12px;
}
.hero h1 {
  font-size: 2.7rem;
  color: #23432B;
}
.hero .subheadline {
  font-size: 1.15rem;
}

@media (max-width: 700px) {
  .hero {
    padding: 30px 0 18px 0;
    border-radius: 0 0 29px 32px;
  }
  .hero h1 {
    font-size: 1.46rem;
  }
}

/* --- FLEXBOX PATTERNS & COMMON CARDS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 20px 30px 18px 14px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(76,116,85,.09);
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 30px 24px;
  gap: 16px;
  transition: transform 0.19s, box-shadow 0.16s;
}
.card:hover, .card:focus-within {
  transform: translateY(-2px) scale(1.012);
  box-shadow: 0 5px 22px rgba(74,113,70,0.16);
}

.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;
  background: #F1FAEE;
  border-radius: 28px 18px 32px 13px;
  box-shadow: 0 2px 12px rgba(33,49,43,0.06);
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 500px;
  flex: 1 1 250px;
  transition: box-shadow 0.15s;
  color: #163624;
}
.testimonial-card p {
  color: #163624;
  font-size: 1.06rem;
}
.testimonial-card span {
  color: #295d36;
  font-size: 0.98rem;
  font-style: italic;
  margin-left: 14px;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 6px 30px 0 rgba(74,113,70,0.14);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F7F6F3;
  border-radius: 16px 20px 13px 16px;
  padding: 18px 12px;
  margin-bottom: 22px;
}

@media (max-width: 900px) {
  .card-container, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card {
    max-width: 100%;
  }
  .text-image-section {
    flex-direction: column;
    gap: 15px;
  }
}

/* --- FEATURE-GRID & BLOG-LISTS --- */
.feature-grid {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div {
  background: #fff;
  border-radius: 21px 32px 14px 18px;
  box-shadow: 0 2px 10px rgba(185,194,181,0.08);
  padding: 29px 18px 21px 18px;
  flex: 1 1 240px;
  min-width: 172px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  transition: box-shadow 0.18s, transform 0.17s;
  margin-bottom: 20px;
}
.feature-grid > div:hover, .feature-grid > div:focus-within {
  box-shadow: 0 6px 20px #5e9e5e24;
  transform: translateY(-3px) scale(1.02);
}
.feature-grid img {
  width: 40px;
  height: 40px;
  filter: none;
  margin-bottom: 7px;
}
@media (max-width: 700px) {
  .feature-grid {
    flex-direction: column;
    gap: 12px;
  }
}

.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.blog-teaser {
  flex: 1 1 260px;
  background: #fff;
  border-radius: 19px 32px 15px 18px;
  box-shadow: 0 2px 10px rgba(76,116,85,.07);
  padding: 22px 16px 17px 16px;
  margin-bottom: 20px;
  transition: box-shadow 0.15s, transform 0.13s;
}
.blog-teaser:hover, .blog-teaser:focus-within {
  box-shadow: 0 7px 22px #00330921;
  transform: translateY(-2px) scale(1.018);
}
@media (max-width: 670px) {
  .blog-list {
    flex-direction: column;
    gap: 10px;
  }
}

/****** BUTTONS/CTA STYLE ******/
.primary-cta, button.primary-cta {
  display: inline-block;
  background: #308242;
  color: #fff;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  border: none;
  border-radius: 22px 36px 24px 16px;
  padding: 13px 28px;
  box-shadow: 0 2px 8px 0 #9cbc951c;
  cursor: pointer;
  margin-top: 15px;
  margin-bottom: 7px;
  transition: transform 0.1s, box-shadow 0.15s, background 0.2s;
  outline: none;
  text-align: center;
}
.primary-cta:hover, .primary-cta:focus, button.primary-cta:hover, button.primary-cta:focus {
  background: #295d36;
  color: #fff;
  box-shadow: 0 7px 28px #295d3620;
  transform: translateY(-2px) scale(1.03);
}
.secondary-cta {
  display: inline-block;
  background: #F1FAEE;
  color: #23432B;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 15px 23px 20px 13px;
  padding: 9px 19px;
  box-shadow: 0 2px 10px 0 #c3e1df17;
  border: 2px solid #B6CBBB;
  transition: border 0.18s, background 0.17s, color 0.11s;
  margin-top: 12px;
  margin-bottom: 5px;
}
.secondary-cta:hover, .secondary-cta:focus {
  border: 2px solid #184822;
  background: #D7EBD3;
  color: #184822;
}

/***** LIST, UL/OL STYLE *****/
ul, ol {
  margin-bottom: 20px;
}
li {
  margin-bottom: 11px;
}
ul li::marker {
  color: #308242;
  font-size: 1.25em;
}

/***** TESTIMONIAL SLIDER (HORIZONTAL SCROLL) *****/
.testimonial-slider {
  display: flex;
  flex-direction: row;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 10px 0 4px 0;
}
.testimonial-card {
  scroll-snap-align: start;
}
@media (max-width: 700px) {
  .testimonial-slider {
    gap: 11px;
    padding: 6px 0 0 0;
  }
}

/***** FORMS & INPUTS (if any in future) *****/
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  padding: 10px 14px;
  border: 1.5px solid #B6CBBB;
  border-radius: 12px 18px 11px 13px;
  background: #fff;
  color: #21312B;
  margin-bottom: 17px;
  transition: border 0.2s;
}
input:focus, textarea:focus, select:focus {
  border-color: #348352;
  outline: none;
}
button:active {
  transform: scale(0.99);
}

/***** FOOTER *****/
footer {
  background: #E2E9DD;
  border-top: 2px solid #B6CBBB;
  color: #295d36;
  padding: 28px 0 0 0;
}
footer .container {
  gap: 0;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px 25px;
  padding-bottom: 20px;
  font-size: 0.97rem;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
footer nav a {
  color: #295d36;
  font-weight: 500;
  font-size: 1.01rem;
  background: none;
  border-radius: 10px;
  padding: 0 0 0 0;
}
footer nav a:hover {
  color: #1D3557;
  background: #D7EBD3;
}
footer img {
  height: 39px;
  margin-bottom: 7px;
}
footer .tagline {
  margin-top: 9px;
  color: #457B9D;
  font-size: 0.98rem;
  font-style: italic;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}
/* Address in footer */
footer div > p {
  margin-bottom: 7px;
  color: #163624;
}
@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 17px;
    align-items: flex-start;
  }
}

/* --- TEXT-SECTION STYLES --- */
.text-section {
  background: #fff;
  border-radius: 20px 29px 19px 14px;
  box-shadow: 0 1px 8px #b7c6ac14;
  padding: 27px 21px 21px 19px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}
.text-section h3 {
  margin-bottom: 7px;
  color: #23432b;
}
.text-section a {
  color: #308242;
  font-weight: 700;
}
.text-section a:hover, .text-section a:focus {
  color: #163624;
  text-decoration: underline;
}

/* --- ORGANIC/DECORATIVE TOUCHES --- */
section, .section, .card, .feature-grid > div, .text-section {
  border-width: 0 0 0 8px;
  border-left: 8px solid #B6CBBB;
  border-image: linear-gradient(120deg, #B6CBBB 50%, #B7C6AC 100%) 1;
  border-style: solid;
}
@media (max-width: 600px) {
  section, .section, .card, .feature-grid > div, .text-section {
    border-left-width: 5px;
  }
}

/* --- COOKIE BANNER & MODAL --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #F1FAEE;
  color: #23432b;
  z-index: 1400;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
  padding: 15px 16px 18px 18px;
  box-shadow: 0 -3px 16px #295d360b;
  border-radius: 22px 22px 0 0;
  font-size: 1rem;
  transition: transform 0.38s cubic-bezier(.68,0,0,1.16), opacity 0.29s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(120%);
}
.cookie-banner p {
  margin-right: 10px;
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
}
.cookie-banner button,
.cookie-banner .cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 17px 21px 16px 16px;
  padding: 9px 19px;
  margin-left: 3px;
  cursor: pointer;
  background: #B6CBBB;
  color: #295d36;
  font-size: 1rem;
  transition: background 0.16s, color 0.15s;
}
.cookie-banner .cookie-btn.accept-all {
  background: #308242;
  color: #fff;
}
.cookie-banner .cookie-btn.reject-all {
  background: #B85038;
  color: #fff;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #295d36;
  color: #fff;
}
.cookie-banner .cookie-btn.reject-all:hover,
.cookie-banner .cookie-btn.reject-all:focus {
  background: #730800;
}

.cookie-modal-backdrop {
  display: none;
}
.cookie-modal-backdrop.active {
  display: flex;
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 1500;
  background: rgba(32,49,43,0.42);
  align-items: center;
  justify-content: center;
}
.cookie-modal {
  background: #F1FAEE;
  border-radius: 36px 18px 23px 30px;
  box-shadow: 0 6px 38px #1d2d1727;
  max-width: 450px;
  width: 90vw;
  padding: 30px 27px 19px 27px;
  color: #21312B;
  display: flex;
  flex-direction: column;
  gap: 19px;
  animation: fadeInModal .36s cubic-bezier(.62,-0.18,.5,1.45);
  position: relative;
}
@keyframes fadeInModal {
  0% {transform: scale(0.85) translateY(18px); opacity: 0;}
  100% {transform: scale(1) translateY(0); opacity: 1;}
}
.cookie-modal h2 {
  margin-bottom: 7px;
  color: #23432B;
}
.cookie-modal .cookie-category {
  margin-bottom: 13px;
  display: flex;
  align-items: center;
  gap: 13px;
}
.cookie-modal label {
  font-size: 1.05rem;
  margin-left: 2px;
}
.cookie-modal .toggle-switch {
  width: 38px;
  height: 22px;
  background: #B6CBBB;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  transition: background 0.16s;
  display: flex;
  align-items: center;
}
.cookie-modal .toggle-switch input {
  display: none;
}
.cookie-modal .toggle-slider {
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  left: 2px; top: 2px;
  transition: left 0.21s;
}
.cookie-modal .toggle-switch input:checked + .toggle-slider {
  left: 18px;
  background: #308242;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 11px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  font-size: 1rem;
}
.cookie-modal .cookie-btn.close-modal {
  background: #B6CBBB;
  color: #295d36;
}
.cookie-modal .cookie-btn.close-modal:hover, .cookie-modal .cookie-btn.close-modal:focus {
  background: #308242;
  color: #fff;
}

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 17px 10px 14px 12px;
    font-size: .97rem;
    gap: 14px;
  }
}

/***** RESPONSIVE TYPOGRAPHY *****/
@media (max-width: 900px) {
  h1 {font-size: 2.1rem;}
  h2 {font-size: 1.29rem;}
  .primary-cta, button.primary-cta {
    font-size: 1rem; padding: 11px 17px;
  }
  .secondary-cta {
    font-size: 0.99rem; padding: 7px 13px;
  }
}
@media (max-width: 660px) {
  h1 {font-size: 1.23rem;}
  h2 {font-size: 1.02rem;}
}

/***** ANIMATIONS FOR CTA BUTTONS, SLIDER, ETC. *****/
.primary-cta, .secondary-cta, button {
  transition: box-shadow .17s, background .15s, color .13s, transform .12s;
}

/********* UTILITY CLASSES *********/
.mt-2 {margin-top: 12px !important;}
.mb-2 {margin-bottom: 12px !important;}
.mb-3 {margin-bottom: 18px !important;}
.pt-2 {padding-top: 12px !important;}
.pt-3 {padding-top: 18px !important;}
.center {text-align: center !important;}

/******* Z INDEXING - PREVENT OVERLAP *******/
header, footer { z-index: 100; position: relative; }
.mobile-menu, .cookie-modal-backdrop { z-index: 1100; }
.cookie-banner { z-index: 1400; }

/******* ACCESSIBILITY: FOCUS RINGS *******/
*:focus {
  outline: 2px solid #308242;
  outline-offset: 2px;
}

/* --- Organic shapes for brand personality --- */
.card, .feature-grid > div, .testimonial-card, .blog-teaser, .text-section {
  border-radius: 22px 38px 18px 16px/17px 33px 14px 14px;
}

/********* NATURE/ORGANIC COLOR ACCENTS *********/
/* Examples -- use on backgrounds/hovers */
.bg-earth { background: #F4EADA !important; }
.bg-green { background: #B7C6AC !important; }
.bg-accent { background: #F1FAEE !important; }
.color-primary { color: #1D3557 !important; }
.color-secondary { color: #295d36 !important; }

/*********** END OF FILE ***********/
