/* 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 { scroll-behavior: smooth; }
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #F4F8F7;
  color: #222;
  font-size: 16px;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  letter-spacing: .01em;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img, picture, svg {
  display: block;
  max-width: 100%;
  height: auto;
  border: none;
}
a {
  color: #0C3940;
  text-decoration: none;
  transition: color .25s;
}
a:hover, a:focus {
  color: #5d896b;
  outline: none;
}
ul, ol {
  margin-left: 24px;
}
li + li {
  margin-top: 8px;
}
strong {
  font-weight: 600;
}
hr {
  border: none;
  border-bottom: 1px solid #cfd8d2;
  margin: 2em 0;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #0C3940;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.25rem;
  font-weight: 600;
}
h4 {
  font-size: 1.1rem;
  font-weight: 500;
}
p, blockquote {
  font-size: 1rem;
  margin-bottom: 18px;
}
blockquote {
  font-style: italic;
  color: #35744a;
  background: #e7efe9;
  padding: 24px 32px;
  border-left: 4px solid #8FCFA6;
  border-radius: 22px 2.2rem 26px 1.2rem;
  margin: 32px 0 32px 0;
}

/* CONTAINER & LAYOUTS */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.content-wrapper {
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #F4F8F7;
  border-radius: 18px;
  box-shadow: 0 1px 18px 2px rgba(44,63,52,0.07);
}

.feature-grid, .card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}

.card, .feature {
  background: #fff;
  border-radius: 22px 14px 32px 18px;
  margin-bottom: 20px;
  box-shadow: 0 2px 14px 0 rgba(34, 67, 51, 0.08);
  padding: 28px 24px 20px 24px;
  flex: 1 1 260px;
  position: relative;
  transition: box-shadow .24s, transform .24s;
}
.card:hover, .feature:hover {
  box-shadow: 0 12px 32px 0 rgba(44,95,52,0.13);
  transform: translateY(-2px) scale(1.015);
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #e5f5ea;
  border-radius: 22px 2rem 30px 1rem;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(44,95,52,0.08);
}
.testimonial-card .text-section {
  color: #183d2b;
}
.testimonial-card span {
  font-size: 0.97em;
  display: block;
  margin-top: 6px;
}

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

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* BUTTONS */
.cta-btn, .cookie-btn, .modal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: #fff;
  background: #0C3940;
  border: none;
  border-radius: 22px 2rem 30px 1rem;
  padding: 14px 38px;
  margin-top: 16px;
  margin-bottom: 6px;
  transition: background .18s, box-shadow .18s, color .18s, transform .14s;
  box-shadow: 0 0 0 rgba(44,95,52,0);
  cursor: pointer;
  outline: none;
  position: relative;
  text-align: center;
}
.cta-btn:hover, .cookie-btn:hover, .modal-btn:hover, .cta-btn:focus {
  background: #35744a;
  color: #fff;
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 6px 20px 0 rgba(44,95,52,0.10);
}
.button-secondary,
.cookie-btn-secondary, .modal-btn-secondary {
  background: #8FCFA6;
  color: #0C3940;
}
.button-secondary:hover,
.cookie-btn-secondary:hover, .modal-btn-secondary:hover {
  background: #5d896b;
  color: #fff;
}

/* HEADER & NAVBAR */
header {
  width: 100%;
  background: #fff;
  display: flex;
  align-items: center;
  padding: 14px 0;
  box-shadow: 0 2px 18px 0 rgba(44,95,52,0.07);
  position: sticky;
  top: 0;
  z-index: 1002;
}
header > a > img {
  height: 46px;
  margin-left: 18px;
  margin-right: 12px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-left: 12px;
  flex: 1 1 auto;
}
header nav a {
  color: #0C3940;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: .01em;
  font-size: 1rem;
  padding: 6px 8px;
  border-radius: 9px;
  transition: background .17s, color .18s;
}
header nav a:hover, header nav a:focus {
  background: #8FCFA6;
  color: #1b2c22;
}
.cta-btn {
  margin-left: 22px;
}

/* MOBILE NAV */
.mobile-menu-toggle {
  display: none;
  background: #8FCFA6;
  border: none;
  border-radius: 16px;
  color: #0C3940;
  padding: 12px 18px;
  font-size: 2rem;
  margin-left: auto;
  margin-right: 18px;
  cursor: pointer;
  transition: background .2s, color .2s;
  z-index: 1102;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #35744a;
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(14,37,28,0.93);
  transform: translateX(-100%);
  transition: transform .36s cubic-bezier(.82,.02,.22,1);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: #fff;
  color: #0C3940;
  border: none;
  border-radius: 20px;
  font-size: 2rem;
  padding: 12px 20px;
  align-self: flex-end;
  margin: 26px 26px 10px 0;
  cursor: pointer;
  transition: background .18s, color .18s;
  z-index: 1102;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #8FCFA6;
  color: #fff;
}
.mobile-nav {
  margin: 38px auto 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.37rem;
  padding: 12px 0 12px 8px;
  border-radius: 12px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  transition: background .17s, color .18s;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #8FCFA6;
  color: #0C3940;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(120deg, #e8f3e2 80%, #c1e3bb 100%);
  color: #0C3940;
  padding: 60px 0 40px 0;
  border-radius: 0 0 60px 60px/0 0 30px 30px;
  box-shadow: 0 1px 24px 0 rgba(44,95,52,0.09);
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 16px;
}
.hero h1 {
  color: #35744a;
  font-size: 2.7rem;
  margin-top: 12px;
  margin-bottom: 12px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
}
.hero p {
  color: #145a32;
  font-size: 1.12rem;
}

/* ICONS IN FEATURES & CONTACT */
.feature img, .contact-list img {
  height: 40px;
  width: 40px;
  margin-bottom: 10px;
}

/* CONTACT INFO PAGE STYLES */
ul li img {
  vertical-align: middle;
  margin-right: 10px;
  max-height: 28px;
}
ul li strong {
  margin-right: 2px;
}

/* FOOTER */
footer {
  background: #0C3940;
  color: #F4F8F7;
  padding: 32px 0 16px 0;
  border-radius: 32px 32px 0 0;
  margin-top: 46px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
footer nav {
  display: flex;
  gap: 20px;
  flex-direction: row;
}
footer nav a {
  color: #F4F8F7;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  opacity: .90;
  padding: 8px 2px;
  border-radius: 8px;
  transition: color .2s, background .2s;
}
footer nav a:hover, footer nav a:focus {
  background: #8FCFA6;
  color: #0C3940;
}
footer .text-section {
  font-size: .96rem;
  opacity: .95;
}

/* COOKIE CONSENT BANNER */
#cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  background: rgba(240, 251, 241, 0.97);
  border-top: 1px solid #8FCFA6;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -2px 18px 0 rgba(44,95,52,0.08);
  padding: 24px 18px 18px 18px;
  gap: 18px;
  font-size: 1rem;
}
#cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 4px;
}
.cookie-btn {
  background: #35744a;
  color: #fff;
  border: none;
  border-radius: 16px 16px 22px 8px;
  padding: 9px 24px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background .18s, color .15s, box-shadow .12s;
}
.cookie-btn:focus, .cookie-btn:hover {
  background: #0C3940;
  color: #fff;
}
.cookie-btn-secondary {
  background: #e0e3ac;
  color: #0C3940;
}
.cookie-btn-secondary:hover, .cookie-btn-secondary:focus {
  background: #8FCFA6;
  color: #fff;
}

/* COOKIE MODAL POPUP */
#cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 1300;
  min-width: 290px;
  width: 95%;
  max-width: 370px;
  background: #F4F8F7;
  border-radius: 22px 18px 36px 12px;
  box-shadow: 0 8px 42px 0 #062e22ba;
  transform: translate(-50%, 100%);
  opacity: 0;
  pointer-events: none;
  transition: transform .35s, opacity .2s;
  padding: 28px 26px 22px 26px;
  display: flex;
  flex-direction: column;
}
#cookie-modal.open {
  transform: translate(-50%, -50%);
  opacity: 1;
  pointer-events: all;
}
#cookie-modal .modal-header {
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #0C3940;
  margin-bottom: 14px;
  font-weight: 700;
}
#cookie-modal ul {
  margin-left: 20px;
  margin-bottom: 18px;
}
#cookie-modal li {
  margin-bottom: 7px;
  list-style: disc inside;
}
.cookie-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 11px;
}
.cookie-toggle input[type="checkbox"] {
  accent-color: #8FCFA6;
  width: 22px;
  height: 22px;
}
#cookie-modal .modal-btn-row {
  display: flex;
  gap: 12px;
  margin-top: 9px;
  flex-wrap: wrap;
}
.modal-btn {
  font-size: 1.09rem;
  border-radius: 16px 14px 20px 10px;
  padding: 10px 20px;
  font-weight: 600;
  background: #35744a;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background .17s, color .13s;
}
.modal-btn-secondary { background: #e0e3ac; color: #0C3940; }
.modal-btn-secondary:hover { background: #8FCFA6; color: #fff; }
.modal-btn:hover, .modal-btn:focus { background: #0C3940; color: #fff; }
#cookie-modal .close-modal {
  background: transparent;
  color: #0C3940;
  font-size: 1.8rem;
  border: none;
  align-self: flex-end;
  margin-bottom: 6px;
  cursor: pointer;
}


/* MISC - ORGANIC TOUCHES + NATURAL FORMS */
.section, .card, .feature, .testimonial-card, .hero, #cookie-modal {
  border-radius: 22px 2rem 30px 1rem;
}
.card, .feature, .testimonial-card {
  border: 1px solid #e2efde;
}
.card {
  background: linear-gradient(106deg, #fff 90%, #e8f3e2 100%);
}
.feature {
  background: #f9fefb;
}

/* ORGANIC DECORATIVE KEYLINES */
.feature h3, .card h3 {
  position: relative;
  padding-bottom: 6px;
  margin-bottom: 9px;
}
.feature h3:after, .card h3:after {
  content: '';
  display: block;
  width: 44px;
  height: 4px;
  background: #8FCFA6;
  border-radius: 8px;
  margin-top: 6px;
}

/* LISTS AND ULs */
ul, ol {
  margin-bottom: 20px;
  padding-left: 18px;
}

/* FORM ELEMENTS (for modal checkboxes etc) */
input[type="checkbox"] {
  accent-color: #8FCFA6;
}
label {
  font-size: 1rem;
  color: #0C3940;
}

/* Spacings for critical flex containers: already declared above as per requirements */

/* Touch & Hover Micro-interactions */
a, .cta-btn, .cookie-btn, .modal-btn, .mobile-menu-toggle, .mobile-menu-close {
  transition: background .14s, color .14s, box-shadow .14s, border .14s, transform .14s;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1100px) {
  .container { max-width: 98vw; }
  .feature-grid, .card-container, .content-grid {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .card, .feature {
    min-width: unset;
    max-width: unset;
    flex: 1 1 100%;
  }
}
@media (max-width: 768px) {
  header {
    flex-direction: row;
    align-items: center;
    padding: 11px 0;
  }
  header nav, header .cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
  .hero .content-wrapper, .content-wrapper {
    gap: 18px;
    padding: 0;
  }
  .container {
    max-width: 98vw;
    padding-left: 8px;
    padding-right: 8px;
  }
  .section {
    padding: 22px 4px;
  }
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card { flex-direction: column; align-items: flex-start; }
  .text-image-section { flex-direction: column; gap: 16px; align-items: flex-start; }
  .cta-btn { width: 100%; min-width: 0; }
  footer .container {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
}
@media (max-width: 540px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.28rem; }
  .hero { padding: 34px 0 22px 0; }
  .section { padding: 12px 2px; }
  .cta-btn { padding: 12px 12px; font-size: 1rem; }
  .cookie-btn, .modal-btn { font-size: .97rem; padding: 8px 11px; }
  #cookie-banner { padding: 16px 5px 12px 5px; font-size: .97rem; }
  #cookie-modal { padding: 17px 9px 12px 9px; min-width: 0; max-width: 95vw; }
}

/* Hide elements visually but keep for screen readers */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}

/* Utility Classes */
.mb-1 { margin-bottom: 8px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 24px !important; }
.mb-4 { margin-bottom: 32px !important; }
.mt-1 { margin-top: 8px !important; }
.mt-2 { margin-top: 16px !important; }
.mt-3 { margin-top: 24px !important; }
.mt-4 { margin-top: 32px !important; }

/********************************************
 ORGANIC SHAPES & TEXTURES: subtle visual cues
*********************************************/
.section, .card, .feature, .testimonial-card, .hero, #cookie-modal {
  box-shadow: 0 2px 24px 0 rgba(44,95,52,0.07), 0 1px 2px 0 rgba(44,95,52,0.03);
}

/********************************************
 FOCUS STATES
*********************************************/
a:focus, button:focus, .cta-btn:focus, .cookie-btn:focus, .modal-btn:focus {
  outline: 2px solid #8FCFA6;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px #e5f5ea;
}

/********************************************
 NO GRID! Only flexbox usage is present.
********************************************/
