/* ===================
   CSS RESET & 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, 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 {
  min-height: 100%;
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  background: #F1F8F2;
  color: #2c2a1e;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input, button, textarea, select {
  font: inherit;
}

ul, ol {
  list-style: none;
}

a {
  color: #295336;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #406b44;
  outline: none;
}

/* ===============================
   BRAND COLORS, FONTS & VARIABLES
=============================== */
:root {
  --color-primary: #295336;
  --color-secondary: #73A16C;
  --color-accent: #F1F8F2;
  --color-brown: #8B7A59;
  --color-sand: #EDE7D0;
  --color-bg: #F1F8F2;
  --color-card-bg: #fff;
  --color-border: #e3e6de;
  --color-heading: #295336;
  --color-body: #2c2a1e;
  --color-btn-bg: #295336;
  --color-btn-bg-hover: #73A16C;
  --color-btn-text: #fff;
  --radius: 18px;
  --radius-lg: 36px;
  --shadow-lg: 0 10px 32px 0 rgba(41,83,54,.08), 0 2px 8px 0 rgba(41,83,54,.10);
  --shadow-md: 0 2px 10px 0 rgba(41,83,54,.07);
  --shadow-btn: 0 2px 10px 0 rgba(41,83,54,0.11);
}
/* Font faces (Google Fonts recommended) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Open+Sans:wght@400;600;700&display=swap');
/* ===================
   TYPOGRAPHY
==================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-heading);
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 12px;
}
h1 {
  font-size: 2.75rem;
  line-height: 1.13;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: var(--color-primary);
}
h4 {
  font-size: 1.15rem;
}

p, ul, ol, blockquote, address {
  color: var(--color-body);
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 18px;
  line-height: 1.6;
}
.subheadline {
  font-size: 1.1rem;
  color: var(--color-secondary);
  margin-bottom: 20px;
}
blockquote {
  color: #3e402e;
  border-left: 5px solid var(--color-secondary);
  padding-left: 18px;
  font-style: italic;
  background: var(--color-accent);
  margin-bottom: 10px;
  border-radius: 0 var(--radius) var(--radius) 0;
}
cite {
  color: var(--color-primary);
  font-style: normal;
  font-weight: 600;
  font-size: 0.97em;
}
strong, b {
  color: var(--color-primary);
  font-weight: bold;
}

/* ===================
   LAYOUT & SPACING
==================== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: var(--radius-lg);
  box-shadow: none;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  margin-bottom: 20px;
  position: relative;
  padding: 32px 24px 28px 24px;
  display: flex;
  flex-direction: column;
  min-width: 230px;
  flex: 1 1 240px;
  transition: box-shadow 0.2s;
}
.card:hover, .card:focus-within {
  box-shadow: var(--shadow-lg);
}
.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;
  border-radius: var(--radius);
  background: var(--color-accent);
  box-shadow: var(--shadow-md);
  margin-bottom: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.feature-grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.feature {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 28px 18px 22px 18px;
  flex: 1 1 220px;
  min-width: 190px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transition: box-shadow 0.18s, transform 0.18s;
  margin-bottom: 20px;
}
.feature:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px) scale(1.02);
}
.feature img {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
}
.feature h3 {
  margin-bottom: 7px;
  color: var(--color-secondary);
  font-weight: 700;
}
.feature p {
  font-size: 1rem;
  color: #49513a;
}

/* Blog posts and previews */
.post-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 30px;
}
.post-preview {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 24px 16px;
  flex: 1 1 250px;
  min-width: 190px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.post-preview:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px) scale(1.01);
}

.categories-filter {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.categories-filter a {
  background: var(--color-secondary);
  color: #fff;
  border-radius: 16px;
  padding: 6px 16px;
  font-size: 0.97rem;
  transition: background 0.18s, color 0.18s;
  font-weight: 600;
  margin-bottom: 8px;
}
.categories-filter a:hover, .categories-filter a:focus {
  background: #4c7551;
  color: #fff;
}

.subscribe-cta {
  background: var(--color-accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 18px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  flex-wrap: wrap;
  gap: 16px;
}

/* ===================
   BUTTONS & CTAs
==================== */
.cta-button,
button, .mobile-menu-toggle, .mobile-menu-close {
  display: inline-block;
  background: var(--color-btn-bg);
  color: var(--color-btn-text);
  border: none;
  border-radius: 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 1.1rem;
  padding: 12px 32px;
  margin-top: 14px;
  box-shadow: var(--shadow-btn);
  cursor: pointer;
  transition: background 0.22s, color 0.22s, box-shadow 0.18s, transform 0.15s;
  outline: none;
}
.cta-button:hover, .cta-button:focus, 
button:hover, button:focus {
  background: var(--color-btn-bg-hover);
  color: var(--color-btn-text);
  box-shadow: 0 4px 16px rgba(115,161,108,0.17);
  transform: translateY(-2px) scale(1.01);
}
button:active {
  background: #4c7551;
}

.cta-button {
  background: var(--color-secondary);
  color: #fff;
  border-radius: 26px;
  padding: 10px 28px;
  font-size: 1.1rem;
}
.cta-button:hover, .cta-button:focus {
  background: var(--color-primary);
  color: #fff;
}

/* ===================
   HEADER & NAVIGATION
==================== */
header {
  background: #fff;
  padding: 0;
  box-shadow: 0 4px 28px rgba(41,83,54,0.06);
  position: sticky;
  top: 0;
  z-index: 90;
}
header nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: flex-start;
  padding: 18px 20px 10px 20px;
}
header nav a {
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 7px 10px;
  font-size: 1rem;
  border-radius: 10px;
  transition: background 0.19s, color 0.19s;
}
header nav a:hover, header nav a:focus {
  background: var(--color-accent);
  color: var(--color-secondary);
}
header nav a.cta-button {
  margin-left: auto;
  margin-top: 0;
  padding: 12px 28px;
  font-size: 1.07rem;
}
header nav img {
  width: 42px;
  height: 42px;
  margin-right: 8px;
}

/* ===================
   MOBILE MENU
==================== */
.mobile-menu-toggle {
  display: none;
  background: var(--color-primary);
  color: #fff;
  font-size: 1.6em;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-btn);
  position: absolute;
  right: 18px;
  top: 14px;
  z-index: 102;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--color-secondary);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  transform: translateX(-105vw);
  transition: transform 0.35s cubic-bezier(.77,0,.175,1);
  z-index: 200;
  box-shadow: 0 6px 30px rgba(41,83,54,0.10);
  pointer-events: none;
  opacity: 0.96;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  background: #fff;
  color: var(--color-primary);
  border-radius: 50%;
  font-size: 2rem;
  border: 2px solid var(--color-secondary);
  width: 48px;
  height: 48px;
  align-self: flex-end;
  margin: 20px 26px 0 0;
  box-shadow: none;
  z-index: 101;
  transition: border-color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  border-color: var(--color-primary);
  background: var(--color-accent);
  color: #406b44;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 30px 28px 0 32px;
}
.mobile-nav a {
  color: var(--color-primary);
  font-size: 1.09rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  background: none;
  border-radius: 10px;
  padding: 10px 0;
  transition: color 0.17s, background 0.17s;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-secondary);
  background: var(--color-accent);
}
@media (max-width: 1100px) {
  .container {
    max-width: 96vw;
  }
}
@media (max-width: 900px) {
  header nav {
    gap: 16px;
    padding: 12px 10px 8px 10px;
  }
}
@media (max-width: 820px) {
  header nav {
    gap: 11px;
    font-size: 0.95em;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.37rem; }
  h3 { font-size: 1.08rem; }
  .section { padding: 25px 11px; }
  .container { padding: 0 6px; }

  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .mobile-menu {
    display: flex;
  }
}

/* ===================
   MAIN CONTENT & SECTIONS
==================== */
main section {
  background: none;
  margin-bottom: 32px;
  border-radius: var(--radius-lg);
  box-shadow: none;
}

ul, ol {
  padding-left: 18px;
  margin-bottom: 14px;
}
ul li, ol li {
  position: relative;
  margin-bottom: 10px;
  font-size: 1rem;
  padding-left: 0;
}
ul li b, ol li b {
  color: var(--color-primary);
}
ul li:before {
  content: '\2022';
  color: var(--color-secondary);
  font-weight: bold;
  display: inline-block;
  width: 1.2em;
  margin-left: -1.2em;
}
ul.feature-list, .feature-grid ul, .feature-grid ol {
  list-style: none;
  padding-left: 0;
}

/* Themes, cards, features */
.card, .feature, .post-preview {
  border: 1px solid var(--color-border);
}

/* ===================
   TESTIMONIALS
==================== */
.testimonial-card {
  background: var(--color-accent);
  color: #253021;
  border: 1px solid #e1eadf;
  box-shadow: var(--shadow-md);
  border-radius: var(--radius);
  font-size: 1.05em;
  min-height: 70px;
  margin-bottom: 26px;
  gap: 22px;
}
.testimonial-card blockquote {
  margin: 0;
  font-size: 1.1em;
  border: none;
  padding: 0 10px 0 0;
  background: none;
  color: #294021;
}
.testimonial-card cite {
  font-style: normal;
  color: var(--color-secondary);
  font-size: 0.98em;
  font-weight: 700;
}

/* ===================
   FOOTER
==================== */
footer {
  background: #295336;
  color: #fff;
  padding: 38px 0 25px 0;
  margin-top: 52px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
footer nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  justify-content: center;
}
footer nav a {
  color: #f1f8f2;
  font-size: 1.05em;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  transition: color 0.12s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--color-secondary);
  text-decoration: underline;
}
footer address {
  color: #d7e6db;
  font-style: normal;
  font-size: 1em;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 8px;
  flex-wrap: wrap;
  gap: 12px;
}

/* ===================
   COOKIE CONSENT BANNER
==================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4000;
  background: #fffef9;
  color: #294021;
  box-shadow: 0 -3px 18px rgba(41,83,54,0.13);
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  padding: 28px 18px 18px 18px;
  border-radius: var(--radius) var(--radius) 0 0;
  font-size: 1rem;
  animation: slideUpCookie .3s cubic-bezier(0.45,0,0.52,1);
}
@keyframes slideUpCookie {
  from { transform: translateY(200px); opacity: 0.2; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 5px;
  justify-content: center;
}
.cookie-banner button {
  background: var(--color-secondary);
  color: #fff;
  font-size: 1rem;
  padding: 8px 24px;
  border-radius: 22px;
  margin-top: 0;
  border: none;
  cursor: pointer;
  font-weight: 700;
  box-shadow: var(--shadow-btn);
  transition: background 0.18s, color 0.18s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--color-primary);
  color: #fff;
}
.cookie-banner__settings-btn {
  background: #EDE7D0;
  color: #295336;
  border: 1px solid #cfd5bc;
}
.cookie-banner__settings-btn:hover {
  background: #ebe6db;
  color: var(--color-secondary);
  border-color: var(--color-secondary);
}

/* ===================
   COOKIE MODAL
==================== */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%) scale(1);
  background: #fff;
  color: #294021;
  z-index: 4100;
  min-width: 340px;
  max-width: 96vw;
  min-height: 220px;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(41,83,54,0.22);
  padding: 34px 26px 26px 26px;
  font-size: 1.08rem;
  animation: fadeInModal 0.22s;
}
@keyframes fadeInModal { from { opacity: 0; transform: translate(-50%,-58%) scale(.97);} to { opacity:1; transform: translate(-50%,-50%) scale(1);} }
.cookie-modal h2 {
  margin-bottom: 13px;
  font-size: 1.20em;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.cookie-category {
  display: flex;
  gap: 14px;
  align-items: center;
}
.cookie-category label {
  font-weight: 600;
  color: var(--color-primary);
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--color-secondary);
  width: 19px; height: 19px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 26px;
  justify-content: flex-end;
}
.cookie-modal .cookie-modal-actions button {
  font-size: 1.05rem;
  padding: 8px 22px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  right: 22px;
  top: 18px;
  background: none;
  color: #294021;
  font-size: 2.1em;
  border: none;
  cursor: pointer;
  line-height: 1;
}
.cookie-modal .cookie-modal-close:hover {
  color: var(--color-secondary);
}

/* ===================
   ORGANIC DESIGN TOUCHES
==================== */
.section, .card, .feature, .testimonial-card, .post-preview {
  /* mild organic curves */
  border-radius: var(--radius-lg) var(--radius) var(--radius) var(--radius-lg);
}
.card, .feature, .post-preview, .testimonial-card {
  /* subtle organic shadow */
  box-shadow: 0 4px 19px 0 rgba(168,190,146,.09);
}
section {
  background: linear-gradient(134deg, #F1F8F2 80%, #e0ebdb 100%);
}

hr {
  border: none;
  border-top: 1.5px dashed #D7D6B6;
  margin: 32px 0;
  width: 100%;
}

/* For nature/organic flair on titles */
h1, h2 {
  position: relative;
  padding-left: 0.3em;
}
h1:before, h2:before {
  content: "";
  position: absolute;
  left: -0.32em;
  top: 11px;
  width: 8px;
  height: 30px;
  border-radius: 8px;
  background: var(--color-secondary);
  opacity: 0.16;
  z-index: 1;
}
h2:before {
  height: 24px;
}

/* Subtle leaf accent for section backgrounds (for authentic organic touch) */
@media (min-width: 900px) {
  .section::after {
    content: "";
    display: block;
    position: absolute;
    right: 12vw;
    bottom: 6vh;
    width: 84px;
    height: 84px;
    background: url('../assets/decor/leaf-accent.svg') no-repeat center/contain;
    opacity: 0.05;
    pointer-events: none;
    z-index: 0;
  }
}

/* ===================
   ACCESSIBILITY & FOCUS STYLES
==================== */
:focus {
  outline: 2.5px solid var(--color-secondary);
  outline-offset: 2px;
}
::-webkit-input-placeholder { color: #adbca8; }
::-moz-placeholder { color: #adbca8; }
:-ms-input-placeholder { color: #adbca8; }
::placeholder { color: #adbca8; }

/* ===================
   RESPONSIVE ADJUSTMENTS
==================== */
@media (max-width: 1020px) {
  .feature-grid, .post-list, .card-container {
    gap: 13px;
  }
}
@media (max-width: 820px) {
  .feature-grid {
    flex-direction: column;
  }
  .post-list, .card-container {
    flex-direction: column;
  }
  .feature, .card, .post-preview {
    min-width: 0;
    width: 100%;
  }
}
@media (max-width: 668px) {
  .testimonial-card {
    flex-direction: column;
    gap: 8px;
  }
  .subscribe-cta {
    flex-direction: column;
    gap: 8px;
    padding: 13px 11px;
  }
}
@media (max-width: 576px) {
  h1 { font-size: 1.42rem; }
  h2 { font-size: 1.05rem; }
  .section { padding: 17px 2px; }
  .card, .feature, .testimonial-card, .post-preview {
    padding: 13px 7px;
  }
}

/* Flexbox rules for .text-image-section */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
  }
}

/* ===================
   UTILITIES
==================== */
.d-block { display: block !important; }
.mt-8 { margin-top: 8px !important; }
.mt-16 { margin-top: 16px !important; }
.mb-24 { margin-bottom: 24px !important; }
.pt-32 { padding-top: 32px !important; }
.pb-32 { padding-bottom: 32px !important; }

.hide-mobile { display: block; }
@media (max-width: 768px) {
  .hide-mobile { display: none !important; }
}

/* END OF STYLE.CSS */