/* RESET & NORMALIZE */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #1D2440;
  background: #F4F4F7;
  min-height: 100vh;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  background-color: #fafaf8;
}
img {
  max-width: 100%;
  height: auto;
  border: 0;
}
a {
  color: #1D2440;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #375835;
  outline: none;
}
ul, ol {
  list-style: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #25472e;
  margin-bottom: 16px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 2px 12px 0 rgba(46,63,49,0.06);
  position: relative;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.text-section {
  background: rgba(232,239,226,0.23);
  border-radius: 28px;
  padding: 36px 22px;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 10px;
}
.feature-grid > div {
  background: #f7f4ed;
  border-radius: 24px;
  padding: 26px 22px;
  min-width: 250px;
  flex: 1 1 225px;
  box-shadow: 0 2px 8px 0 rgba(72,94,67,0.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.feature-grid > div:hover {
  box-shadow: 0 4px 16px 0 rgba(74,101,52,0.15);
  transform: translateY(-3px) scale(1.02);
}
.feature-grid img {
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #f6f3ee;
  border-radius: 24px;
  box-shadow: 0 2px 12px 0 rgba(35,40,30,0.05);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 6px 24px 0 rgba(72,94,67,0.10);
  transform: translateY(-2px) scale(1.01);
}

.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  background: #ede8da;
  color: #1D2440;
  border-radius: 20px;
  padding: 20px 32px 18px 32px;
  margin-bottom: 20px;
  box-shadow: 0 1px 8px 0 rgba(46,63,49,0.11);
  position: relative;
  transition: box-shadow 0.18s, transform 0.18s;
  min-width: 230px;
  max-width: 540px;
}
.testimonial-card:hover {
  box-shadow: 0 4px 20px 0 rgba(72,94,67,0.14);
  transform: scale(1.015);
}
.testimonial-card p {
  font-style: italic;
  font-size: 1rem;
  margin-bottom: 0;
  color: #25472e;
}
.testimonial-card span:nth-child(2) {
  color: #486145;
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 2px;
}
.testimonial-card span:last-child {
  color: #f7c948;
  font-size: 1.1rem;
}

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

/* BUTTONS CTA */
.cta, .section a.cta, .content-wrapper a.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #2DA457;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  padding: 13px 38px 13px 38px;
  border-radius: 32px;
  box-shadow: 0 3px 16px 0 rgba(45,164,87,0.13);
  margin-top: 12px;
  transition: background 0.2s, box-shadow 0.18s, transform 0.16s;
  border: none;
  cursor: pointer;
  letter-spacing: 0.02em;
}
.cta:hover, .cta:focus {
  background: #24713b;
  color: #F7C948;
  box-shadow: 0 7px 28px rgba(36,113,59,0.15);
  transform: translateY(-1px) scale(1.03);
  outline: none;
}

/* MAIN NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 2px 8px 0 rgba(46,63,49,0.06);
  border-radius: 0 0 40px 40px;
  margin-bottom: 24px;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  padding-bottom: 18px;
}
header img {
  height: 48px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.01rem;
  color: #25472e;
  font-weight: 500;
  border-radius: 20px;
  padding: 9px 18px;
  transition: background 0.16s, color 0.16s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #eaf5df;
  color: #2DA457;
  outline: none;
}
.main-nav a.cta {
  background: #2DA457;
  color: #fff;
  font-weight: 600;
  margin-left: 8px;
}
.main-nav a.cta:hover {
  background: #24713b;
  color: #F7C948;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #25472e;
  cursor: pointer;
  margin-left: 12px;
  z-index: 1010;
  padding: 7px 7px;
  border-radius: 8px;
  transition: background 0.16s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #e4eee2;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(241,248,235,0.98);
  z-index: 1200;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.4,1.45,.5,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 38px;
  width: 100vw;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 0 22px 10px 0;
  font-size: 2.2rem;
  background: none;
  border: none;
  color: #1D2440;
  cursor: pointer;
  padding: 10px;
  border-radius: 10px;
  transition: background 0.13s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #d4eed9;
}
.mobile-nav {
  width: 100%;
  padding: 0 30px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  color: #1D2440;
  font-weight: 600;
  border-radius: 17px;
  padding: 14px 14px 11px 14px;
  background: none;
  transition: background 0.17s, color 0.15s;
  min-width: 140px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #cfeec9;
  color: #2DA457;
  outline: none;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #eef4e7;
  color: #25472e;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 26px;
  box-shadow: 0 -2px 16px 0 rgba(15,34,25,0.09);
  padding: 26px 20px 18px 20px;
  z-index: 2500;
  font-size: 1rem;
  transition: transform 0.25s;
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner__text {
  flex: 2;
  max-width: 420px;
}
.cookie-banner__actions {
  flex: 1 0 200px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.cookie-banner__actions button,
.cookie-banner__actions .cookie-settings-btn {
  border: none;
  padding: 11px 24px 11px 24px;
  font-size: 1rem;
  border-radius: 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.16s, color 0.14s;
}
.cookie-banner__actions .accept {
  background: #2DA457;
  color: #fff;
}
.cookie-banner__actions .accept:hover {
  background: #24713b;
  color: #F7C948;
}
.cookie-banner__actions .reject {
  background: #f7e1d7;
  color: #25472e;
}
.cookie-banner__actions .reject:hover {
  background: #f4cbb1;
}
.cookie-banner__actions .cookie-settings-btn {
  background: #F7C948;
  color: #1D2440;
}
.cookie-banner__actions .cookie-settings-btn:hover {
  background: #ede8da;
  color: #2DA457;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  display: none;
  position: fixed;
  z-index: 2600;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(30,50,26,0.2);
  align-items: center;
  justify-content: center;
}
.cookie-modal.open {
  display: flex;
}
.cookie-modal-content {
  background: #eef4e7;
  border-radius: 30px;
  max-width: 420px;
  width: 90vw;
  padding: 36px 30px 26px 30px;
  box-shadow: 0 6px 32px 0 rgba(65,79,67,0.16);
  color: #25472e;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  animation: cookie-modal-in .38s cubic-bezier(.55,2,.3,1);
}
@keyframes cookie-modal-in {
  from { opacity: 0; transform: translateY(38px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal-content h2 {
  color: #1D2440;
  font-size: 1.35rem;
  margin-bottom: 3px;
}
.cookie-modal-content label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  font-weight: 500;
}
.cookie-modal-content .toggle {
  accent-color: #2DA457;
  width: 22px;
  height: 22px;
}
.cookie-modal-content .always-enabled {
  opacity: 0.7;
  font-style: italic;
}
.cookie-modal-content .modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}
.cookie-modal-content button {
  border: none;
  border-radius: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 10px 22px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.13s, color 0.13s;
}
.cookie-modal-content .save {
  background: #2DA457;
  color: #fff;
}
.cookie-modal-content .save:hover {
  background: #24713b;
  color: #F7C948;
}
.cookie-modal-content .cancel {
  background: #f4f4f4;
  color: #1D2440;
}
.cookie-modal-content .cancel:hover {
  background: #e4eee2;
}

/* FOOTER */
footer {
  background: #264124;
  color: #E9EDDE;
  border-radius: 32px 32px 0 0;
  box-shadow: 0 -2px 14px 0 rgba(46,63,49,0.10);
  padding: 32px 0 24px 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: center;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 32px;
  align-items: center;
  margin-bottom: 6px;
}
.footer-nav a {
  color: #dee2b3;
  font-weight: 500;
  font-family: 'Open Sans', Arial, sans-serif;
  margin: 0 7px;
  font-size: 1.05rem;
  border-radius: 13px;
  padding: 7px 15px;
  transition: background 0.13s, color 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #3b6030;
  color: #f4f4f7;
}
.footer-info {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.97rem;
  justify-content: center;
  color: #e9edde;
}
footer span {
  margin: 0 7px;
}

/* FORMS/MICRO ELEMENTS */
input, button, textarea, select {
  font: inherit;
}
textarea {
  border-radius: 12px;
  border: 1px solid #d1dbc5;
  resize: vertical;
  min-height: 80px;
  padding: 10px 13px;
}

/* ICON LISTS */
ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 7px;
  font-size: 1.04rem;
  color: #25472e;
}
ul li img {
  width: 21px;
  height: 21px;
}

/* TYPOGRAPHY SIZES */
p, ul, ol, li {
  font-size: 1rem;
  color: #33471a;
  letter-spacing: -0.005em;
}

/* VISUALS: ORGANIC SHAPES & TEXTURE */
.section, .feature-grid > div, .card, .testimonial-card {
  border-radius: 24px;
}
.section {
  background: linear-gradient(150deg, #f4f4f7 80%, #e6eed6 120%);
}
.text-section {
  background: linear-gradient(110deg, #eafdde 95%, #f9f6ea 150%);
}
.card, .testimonial-card {
  /* Simulate thin textured mask with SVG */
  position: relative;
}
.card:before, .testimonial-card:before {
  content: '';
  display: block;
  position: absolute;
  left: 0; right: 0; top: 0; height: 14px;
  border-radius: 19px 19px 0 0;
  background: radial-gradient(ellipse at left top, #e7f5e5 80%, transparent 130%);
  opacity: 0.4;
  pointer-events: none;
  z-index: 1;
}

/* SPACING PATTERNS (from requirements) */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* LISTS & CONTENT */
ul {
  padding-left: 0;
  margin: 14px 0 14px 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
ol {
  padding-left: 22px;
  margin: 17px 0 20px 0;
  color: #33471a;
}

/* MICRO-INTERACTIONS */
button, .cta, .cookie-banner__actions button, .cookie-banner__actions .cookie-settings-btn {
  transition: background 0.15s, color 0.15s, box-shadow 0.13s, transform 0.12s;
}

/* RESPONSIVE: MOBILE FIRST */
@media (max-width: 1150px) {
  .container { max-width: 95vw; }
}
@media (max-width: 900px) {
  .main-nav { gap: 11px; }
  .feature-grid > div { min-width: 170px; padding: 20px 10px; }
  .testimonial-card { max-width: 98vw; }
}
@media (max-width: 768px) {
  .container { padding: 0 9px; }
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block !important;
  }
  header .container {
    flex-direction: row;
    gap: 8px;
  }
  .feature-grid { flex-direction: column; gap: 18px; }
  .content-grid { flex-direction: column; gap: 16px; }
  .section, .text-section, .card, .testimonial-card { border-radius: 13px; }
  .section {
    padding: 26px 5px;
    margin-bottom: 36px;
  }
  .feature-grid > div, .card, .testimonial-card {
    min-width: unset;
    padding: 18px 12px;
  }
  .content-wrapper { gap: 15px; }
  .text-image-section { flex-direction: column; gap: 18px; align-items: flex-start; }
  .footer-nav {
    gap: 14px;
    flex-direction: column;
  }
  footer .container {
    padding: 0 5px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    padding: 20px 8px 15px 8px;
    font-size: 0.97rem;
  }
  .cookie-banner__actions {
    width: 100%;
    justify-content: flex-start;
    gap: 8px;
    padding-bottom: 7px;
  }
  .cookie-modal-content {
    padding: 20px 10px 17px 10px;
    max-width: 98vw;
    gap: 12px;
  }
}
@media (max-width: 540px) {
  html { font-size: 15px; }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.1rem; }
  .footer-info { flex-direction: column; gap: 2px; }
}

/* UTILITIES & ACCESSIBLE FOCUS */
:focus-visible {
  outline: 2px solid #2DA457;
  outline-offset: 2px;
}

/* Hide mobile menu by default, shown only on <768px and with .open */
.mobile-menu {
  display: none;
}
@media (max-width: 768px) {
  .mobile-menu {
    display: flex;
  }
}

/* Utility class: Visually hidden (for accessibility, e.g., cookie banner descriptions) */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  white-space: nowrap;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  border: 0 !important;
  padding: 0 !important;
  margin: -1px !important;
}
