/* CSS RESET & BASELINE 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 { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body {
  background: #F6F1E7;
  color: #31623D;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a {
  color: #31623D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #8CB368;
  outline: none;
}
img {
  max-width: 100%;
  border-radius: 12px;
  display: block;
}
strong { font-weight: bold; }

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', Georgia, serif;
  color: #31623D;
  letter-spacing: 0.02em;
  line-height: 1.18;
  font-weight: 700;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.35rem; margin-bottom: 12px; }
h4 { font-size: 1.1rem; margin-bottom: 10px; }
.subheadline {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.15rem;
  color: #4c7753;
  margin-bottom: 22px;
}

/* CONTAINER & LAYOUT */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(140,179,104,0.07), 0 1.5px 7px rgba(50,98,61,0.06);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* SPECIAL SECTION WRAPPERS */
.text-section, .text-image-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 1.08rem;
  color: #3b5c37;
}
.text-image-section { align-items: center; gap: 30px; }

@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: stretch; }
}

/* FEATURES GRID & LAYOUT CONTAINERS */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.features-grid > div {
  background: #F6F1E7;
  border-radius: 14px;
  padding: 24px 20px 20px 20px;
  flex: 1 1 240px;
  min-width: 220px;
  box-shadow: 0 1.5px 9px rgba(140, 179, 104, 0.09);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.features-grid img {
  width: 36px;
  height: 36px;
  margin-bottom: 4px;
}

/* CARDS & CARD CONTAINERS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(140,179,104,0.09);
  margin-bottom: 20px;
  transition: box-shadow 0.25s, transform 0.25s;
  position: relative;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
}
.card:hover, .card:focus {
  box-shadow: 0 6px 28px rgba(50,98,61,0.10);
  transform: translateY(-2px) scale(1.015);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* SERVICE/ARTICLE LISTS */
.service-list, .topic-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-list li, .topic-list li {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1.5px 8px rgba(50,98,61,0.05);
  padding: 22px 18px;
  flex: 1 1 220px;
  min-width: 220px;
  color: #3b5c37;
  font-size: 1.07rem;
  margin-bottom: 0;
  transition: box-shadow 0.18s;
}
.service-list li a { color: #31623D; font-weight: 600; }
.service-list li a:hover { color: #8CB368; text-decoration: underline; }

/* ARTICLE PREVIEW GRID */
.article-preview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.article-preview-grid > div {
  background: #F6F1E7;
  border-radius: 12px;
  padding: 18px 16px;
  flex: 1 1 240px;
  min-width: 220px;
  box-shadow: 0 1.5px 8px rgba(50,98,61,0.06);
  transition: box-shadow 0.2s;
}
.article-preview-grid > div:hover {
  box-shadow: 0 2.5px 14px rgba(50,98,61,0.13);
  background: #fff;
}

/* LISTS - BULLETS */
.value-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.value-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1.05rem;
}
.value-list li img { width: 22px; height: 22px; }

/* HEADER & NAVIGATION */
header {
  background: #31623D;
  color: #fff;
  box-shadow: 0 2px 16px rgba(49,98,61,0.09);
  padding: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 18px;
  min-height: 74px;
}
.logo img { height: 44px; border-radius: 9px; }
nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
nav a {
  color: #fff;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 7px;
  transition: background 0.18s, color 0.18s;
}
nav a:hover, nav a:focus {
  background: #8CB368;
  color: #31623D;
}
.cta.primary {
  background: #8CB368;
  color: #fff;
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.08rem;
  font-weight: 700;
  padding: 11px 32px;
  border: none;
  border-radius: 25px;
  box-shadow: 0 1.5px 10px rgba(49,98,61,0.06);
  margin-left: 14px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, color 0.2s;
  display: inline-block;
  letter-spacing: 0.02em;
}
.cta.primary:hover, .cta.primary:focus {
  background: #31623D;
  color: #fff;
  transform: scale(1.03) translateY(-1px);
}

/* MOBILE MENU STYLES */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.1rem;
  padding: 6px 12px;
  margin-left: 16px;
  border-radius: 9px;
  cursor: pointer;
  transition: background 0.18s;
  z-index: 402;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #8CB368;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100vw;
  background: #F6F1E7;
  box-shadow: 0 4px 18px rgba(49,98,61,0.18);
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(0.55, 0.06, 0.57, 0.99);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  padding-top: 28px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #31623D;
  font-size: 1.75rem;
  position: absolute;
  top: 10px;
  right: 22px;
  padding: 7px 12px;
  border-radius: 9px;
  transition: background 0.16s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #8CB368;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 48px 24px 0 24px;
}
.mobile-nav a {
  color: #31623D;
  font-size: 1.18rem;
  font-weight: 600;
  background: #fff;
  padding: 17px 12px 13px 18px;
  border-radius: 12px;
  margin: 0 0 8px 0;
  transition: background 0.13s, color 0.17s;
  box-shadow: 0 1.5px 8px rgba(49,98,61,0.07);
  min-width: 90px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #8CB368;
  color: #fff;
}

@media (max-width: 1000px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}

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

/* FOOTER */
footer {
  background: #31623D;
  color: #fff;
  padding: 32px 0 0 0;
  margin-top: 80px;
  box-shadow: 0 -3px 26px rgba(140,179,104,0.10);
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.footer-logo img {
  height: 47px;
  background: #fff;
  border-radius: 11px;
  padding: 8px;
}
footer nav {
  display: flex;
  gap: 14px;
  margin: 14px 0 0 0;
}
footer nav a {
  color: #F6F1E7;
  font-weight: 600;
  font-size: 1.01rem;
  padding: 6px 11px;
  border-radius: 7px;
}
footer nav a:hover, footer nav a:focus {
  background: #8CB368;
  color: #31623D;
}
.footer-contact,
.footer-copy {
  color: #e8ecd9;
  font-size: 0.97rem;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  margin-top: 8px;
  margin-bottom: 7px;
}
.footer-contact span { display: flex; align-items: center; gap: 8px; }
.footer-contact img { height: 20px; width: 20px; }
.footer-copy {
  width: 100%;
  justify-content: center;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 0.98rem;
  color: #e8ecd9;
  padding-bottom: 14px;
}

/* TESTIMONIALS */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 11px rgba(140,179,104,0.10), 0 1.5px 7px rgba(49,98,61,0.08);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  min-width: 240px;
  color: #274A2D;
  font-size: 1.15rem;
  margin-bottom: 0;
  transition: box-shadow 0.13s, transform 0.23s;
}
.testimonial-card:hover {
  box-shadow: 0 5px 22px rgba(49,98,61,0.15);
  transform: scale(1.025);
}
.testimonial-meta {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  font-size: 1.02rem;
  color: #8CB368;
}
.testimonial-meta span img { width: 19px; height: 19px; vertical-align: middle; }

/* BUTTONS & INTERACTIVES */
button, .cta {
  font-family: inherit;
  border: none;
  cursor: pointer;
  outline: none;
}
button:active, .cta:active {
  transform: scale(0.99);
}

/* BANNER: COOKIE CONSENT */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  background: #F6F1E7;
  color: #31623D;
  box-shadow: 0 -2px 22px rgba(49,98,61,0.09);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 18px 18px 22px;
  z-index: 10000;
  font-size: 1.01rem;
  border-radius: 22px 22px 0 0;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.28s, transform 0.32s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(150%);
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
  align-items: center;
}
.cookie-btn {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  padding: 10px 20px;
  border-radius: 18px;
  margin-right: 0;
  cursor: pointer;
  transition: background 0.16s, color 0.14s, box-shadow 0.12s;
  background: #8CB368;
  color: #fff;
  box-shadow: 0 1.2px 6px rgba(49,98,61,0.06);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #31623D;
  color: #fff;
}
.cookie-btn.secondary {
  background: #F6F1E7;
  color: #31623D;
  border: 1.5px solid #8CB368;
}
.cookie-btn.secondary:hover {
  background: #8CB368;
  color: #fff;
}

/* COOKIE MODAL (Popup) */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(49,98,61,0.23);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 11000;
  transition: background 0.27s;
}
.cookie-modal {
  background: #fff;
  color: #31623D;
  border-radius: 18px;
  box-shadow: 0 6px 40px rgba(49,98,61,0.20);
  max-width: 420px;
  width: 98%;
  padding: 38px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: cookieModalIn 0.38s cubic-bezier(0.25,0.56,0.32,1.04);
  position: relative;
  z-index: 11001;
}
@keyframes cookieModalIn {
  0% { opacity: 0; transform: translateY(120px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal h3 { font-size: 1.35rem; margin-bottom: 6px; }
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1.06rem;
  font-weight: 500;
  margin: 8px 0 0 0;
}
.cookie-modal-toggle {
  accent-color: #8CB368;
  width: 22px;
  height: 22px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  justify-content: flex-end;
}
.cookie-modal .cookie-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #31623D;
  border-radius: 7px;
  padding: 4px 10px;
  transition: background 0.12s;
}
.cookie-modal .cookie-close:hover, .cookie-modal .cookie-close:focus { background: #8CB368; color: #fff; }


/* RESPONSIVE DESIGN */
@media (max-width: 900px) {
  .features-grid, .article-preview-grid, .service-list, .topic-list, .testimonial-slider {
    flex-direction: column;
    gap: 20px;
  }
  .features-grid > div, .service-list li, .article-preview-grid > div {
    min-width: 0;
    flex: 1 1 100%;
  }
  nav { gap: 10px; }
}
@media (max-width: 700px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.38rem; }
  .container { padding: 0 7px; }
  .section { padding: 24px 6px; }
}
@media (max-width: 520px) {
  header .container { min-height: 64px; padding: 0 5px; }
  .logo img { height: 34px; }
  .footer-logo img { height: 33px; padding: 2px; }
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 10px; padding: 15px 7px 9px 11px; }
}

/* ACCESSIBILITY & FOCUS */
a:focus, button:focus, .cta:focus, .cookie-btn:focus {
  outline: 2px solid #8CB368;
  outline-offset: 2px;
  z-index: 2;
}

/* UTILITY */
.hide { display: none !important; }

/* --- END OF STYLE.CSS --- */
