/* --- CSS RESET & NORMALIZE (Mobile First) --- */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-tap-highlight-color: transparent;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, 'Liberation Sans', sans-serif;
  color: #215143;
  background: #fff;
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
}
a {
  color: #215143;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #669A73;
  outline: none;
}
ul, ol {
  list-style: none;
  padding-left: 0;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, 'Liberation Sans', sans-serif;
  font-weight: 700;
  color: #215143;
  line-height: 1.15;
}
h1 { font-size: 2rem; margin-bottom: 24px; }
h2 { font-size: 1.5rem; margin-bottom: 20px; }
h3 { font-size: 1.12rem; margin-bottom: 14px; }
h4, h5, h6 { font-size: 1rem; margin-bottom: 8px; }
p, li, span {
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #215143;
  margin-bottom: 12px;
}
strong { font-weight: 700; }

/* --- LAYOUT CONTAINERS & SPACING --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(33,81,67,0.04), 0 0.5px 2px 0 rgba(33,81,67,0.03);
}

/* --- HEADER & NAVIGATION --- */
header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
  z-index: 20;
}
header > a img {
  height: 40px;
  width: auto;
}
header nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 6px 0;
  transition: color .18s;
  color: #215143;
  border-bottom: 2px solid transparent;
}
header nav a:hover, header nav a:focus {
  color: #669A73;
  border-bottom: 2px solid #669A73;
}
.cta-primary {
  background: #215143;
  color: #fff;
  border-radius: 30px;
  padding: 10px 30px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.03em;
  font-size: 1rem;
  transition: background .18s, box-shadow .18s, color .18s;
  box-shadow: 0 2px 8px 0 rgba(33,81,67,0.05);
  outline: none;
  border: none;
  display: inline-block;
  margin-left: 24px;
}
.cta-primary:hover, .cta-primary:focus {
  background: #669A73;
  color: #fff;
  box-shadow: 0 2px 16px 0 rgba(102,154,115,0.06);
}
.cta-secondary {
  background: #F6F6ED;
  color: #215143;
  border-radius: 30px;
  padding: 10px 26px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  border: 1.5px solid #215143;
  transition: background .18s, color .18s, border .18s;
  outline: none;
  display: inline-block;
  margin-top: 12px;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #215143;
  color: #fff;
  border-color: #215143;
}

.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  margin-left: 18px;
  color: #215143;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  z-index: 30;
  transition: color .2s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #669A73;
}
/* Hide on desktop */
@media (min-width: 992px) {
  .mobile-menu-toggle {
    display: none;
  }
  .mobile-menu {
    display: none !important;
  }
}

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(246,246,237,0.98);
  z-index: 100;
  overflow-y: auto;
  transform: translateX(-100vw);
  transition: transform .36s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #215143;
  padding: 12px 28px 10px 0;
  margin-top: 6px;
  cursor: pointer;
  transition: color .2s;
}
.mobile-menu-close:focus {
  outline: 2px solid #215143;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 40px 32px 20px 32px;
  gap: 22px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  color: #215143;
  padding: 10px 0;
  width: 100%;
  border-left: 3px solid transparent;
  transition: color .18s, border .18s;
  border-radius: 0 18px 18px 0;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  color: #669A73;
  background: #e7f0ec;
  border-left: 3px solid #669A73;
}

/* --- HIDE main nav and button on mobile --- */
@media (max-width: 991px) {
  header nav,
  header .cta-primary {
    display: none !important;
  }
}
/* --- Main Page Spacing --- */
main {
  padding-top: 24px;
  padding-bottom: 36px;
  background: #fff;
}

/* --- Typography hierarchy --- */
h1 { font-size: 2rem; margin-bottom: 24px; }
h2 { font-size: 1.5rem; margin-bottom: 20px; }
h3 { font-size: 1.13rem; margin-bottom: 10px; font-weight: 600; }
.text-section h3 { font-size: 1.08rem; margin-bottom: 8px; font-weight: 600; }

/* --- UL Features and Lists --- */
section ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 18px;
}
section ul li {
  background: #fff;
  border-radius: 14px;
  padding: 24px 22px;
  box-shadow: 0 2px 12px 0 rgba(33,81,67,0.03);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  flex: 1 1 270px;
  gap: 15px;
  margin-bottom: 20px;
  transition: box-shadow .18s;
}
section ul li:hover, section ul li:focus-within {
  box-shadow: 0 4px 20px 0 rgba(102,154,115,0.10);
}
section ul li img {
  width: 42px;
  height: 42px;
  margin-bottom: 8px;
  filter: grayscale(0.1) brightness(0.95);
}
section ul li h3 {
  margin-top: 0px;
  margin-bottom: 7px;
  color: #215143;
  font-size: 1.08rem;
  font-weight: 600;
}
section ul li p {
  margin-bottom: 0px;
}
section ul li span {
  font-size: 0.98rem;
  font-weight: 600;
  color: #669A73;
  margin-top: 5px;
}

/* --- Cards & Card Container --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  margin-bottom: 20px;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(33,81,67,0.05);
  border: 1px solid #ededec;
  padding: 24px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow .19s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 28px 0 rgba(102,154,115,0.13);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

/* --- Content Grid --- */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/* --- Text-Image Section --- */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}

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

/* --- Testimonial Cards --- */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #F6F6ED;
  margin-bottom: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 10px 0 rgba(33,81,67,0.07);
  border-left: 4px solid #669A73;
  min-width: 0;
  transition: box-shadow .18s;
}
.testimonial-card p {
  font-size: 1rem;
  color: #215143;
  margin-bottom: 0;
}
.testimonial-card span {
  font-size: 0.97rem;
  color: #215143;
  font-weight: 500;
  opacity: 0.89;
}
.testimonial-card:hover {
  box-shadow: 0 4px 16px 0 rgba(102,154,115,0.12);
}

/* --- Section & Card Spacing --- */
section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
}
@media (max-width: 600px) {
  section {
    padding: 30px 0 0 0;
    margin-bottom: 40px;
  }
}


/* --- Footer --- */
footer {
  background: #F6F6ED;
  border-top: 1px solid #e5edec;
  padding: 30px 20px 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
footer > a img {
  height: 36px;
}
footer nav {
  display: flex;
  gap: 24px;
  margin-bottom: 6px;
}
footer nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98rem;
  color: #215143;
  opacity: 0.8;
  transition: color .18s;
}
footer nav a:hover, footer nav a:focus {
  color: #669A73;
  opacity: 1;
}
footer .text-section {
  margin-bottom: 0;
  text-align: center;
}
footer span {
  color: #215143;
  font-size: 0.98rem;
  opacity: 0.75;
}

/* --- Text Sections --- */
.text-section {
  margin-bottom: 20px;
}
.text-section ul, .text-section ol {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding-left: 14px;
  margin-bottom: 0;
}
.text-section li {
  margin: 0 0 0 0.5em;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  font-size: 1rem;
  color: #215143;
}
.text-section a {
  color: #215143;
  text-decoration: underline dotted;
}
.text-section a:hover { color: #669A73; }

/* --- Responsive Design --- */
@media (max-width: 1080px) {
  .container {
    max-width: 990px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 780px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 100vw;
    padding-left: 10px;
    padding-right: 10px;
  }
  .content-wrapper {
    gap: 16px;
  }
  footer nav {
    gap: 10px;
    flex-wrap: wrap;
  }
}
@media (max-width: 600px) {
  header {
    padding: 7px 10px;
  }
  .section {
    padding: 25px 8px;
    margin-bottom: 34px;
  }
  .card, section ul li {
    padding: 16px 10px;
  }
  .testimonial-card {
    padding: 14px 7px;
  }
  h1 {
    font-size: 1.33rem;
  }
  h2 {
    font-size: 1.07rem;
  }
  .cta-primary, .cta-secondary {
    padding: 8px 14px;
    font-size: 0.93rem;
  }
}

/* --- Button/Link Interactions --- */
button, a.button, .cta-primary, .cta-secondary, .mobile-menu-toggle, .mobile-menu-close {
  cursor: pointer;
  outline: none;
  transition: background .13s, color .13s, box-shadow .14s;
}
button:active,
.cta-primary:active,
.cta-secondary:active,
.mobile-menu-toggle:active,
.mobile-menu-close:active {
  opacity: 0.82;
}

/* --- Focus styles for tabs/users --- */
a:focus, button:focus, .cta-primary:focus, .cta-secondary:focus {
  outline: 2px solid #669A73;
  outline-offset: 2px;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 150;
  background: #fff;
  border-top: 1.5px solid #E9ECE2;
  box-shadow: 0 -1.5px 8px 0 rgba(33,81,67,0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 22px 14px 18px 14px;
  width: 100%;
  min-height: 0;
  animation: cookieBannerShow .44s cubic-bezier(.4,0,.2,1);
}
@keyframes cookieBannerShow {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: #215143;
  font-size: 0.98rem;
  margin-bottom: 12px;
  text-align: center;
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.cookie-banner button {
  border-radius: 24px;
  min-width: 120px;
  padding: 8px 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  border: none;
  outline: none;
  background: #F6F6ED;
  color: #215143;
  transition: background .17s, color .17s;
}
.cookie-banner button.accept {
  background: #215143;
  color: #fff;
}
.cookie-banner button.accept:hover, .cookie-banner button.accept:focus {
  background: #669A73;
}
.cookie-banner button.reject {
  background: #fff;
  color: #215143;
  border: 1.5px solid #215143;
}
.cookie-banner button.reject:hover, .cookie-banner button.reject:focus {
  background: #e7f0ec;
  color: #215143;
}
.cookie-banner button.settings {
  background: #F6F6ED;
  color: #215143;
}
.cookie-banner button.settings:hover, .cookie-banner button.settings:focus {
  background: #E9ECE2;
}

/* --- COOKIE SETTINGS MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 200;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(33,81,67,0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalFadeIn .36s cubic-bezier(.4,0,.2,1);
}
@keyframes cookieModalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 24px 0 rgba(33,81,67,0.11);
  padding: 36px 30px 24px 30px;
  min-width: 310px;
  max-width: 94vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.23rem;
  color: #215143;
  margin-bottom: 10px;
}
.cookie-modal .close-btn {
  position: absolute;
  right: 18px;
  top: 14px;
  background: none;
  border: none;
  font-size: 1.66rem;
  color: #215143;
  cursor: pointer;
  transition: color .16s;
  padding: 4px 10px;
}
.cookie-modal .close-btn:hover, .cookie-modal .close-btn:focus {
  color: #669A73;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F6F6ED;
  border-radius: 10px;
  padding: 10px 14px;
}
.cookie-category label {
  font-size: 1rem;
  color: #215143;
  font-weight: 500;
}
.cookie-category input[type="checkbox"] {
  width: 19px; height: 19px;
  accent-color: #669A73;
  border-radius: 3px;
}
.cookie-category.essential {
  opacity: 0.7;
}
.cookie-modal .modal-actions {
  margin-top: 16px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.cookie-modal .modal-actions button {
  min-width: 115px;
}
@media (max-width: 540px) {
  .cookie-modal {
    padding: 16px 6vw 18px 6vw;
    min-width: 0;
  }
  .cookie-modal h2 {
    font-size: 1rem;
  }
}

/* --- Misc. Accessibility & State --- */
[aria-current], .active {
  color: #669A73 !important;
  border-bottom: 2px solid #669A73 !important;
}
@media (max-width: 650px) {
  header nav {
    gap: 12px;
  }
  .content-wrapper {
    gap: 10px;
  }
}

/* Hide visually but accessible */
.visually-hidden {
  position: absolute !important;
  left: -10000px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* --- Animations & Micro-interactions --- */
.card, section ul li, .testimonial-card, .cta-primary, .cta-secondary, .cookie-modal, .cookie-banner {
  transition: box-shadow 0.16s, background 0.16s, color 0.16s, transform 0.18s;
}
.card:active, section ul li:active, .testimonial-card:active {
  transform: translateY(3px) scale(0.98);
  box-shadow: 0 2px 4px 0 rgba(102,154,115,0.06);
}

/* --- Utility Classes & Helpers --- */
.mt-20 { margin-top: 20px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mt-40 { margin-top: 40px !important; }

/* --- END CSS --- */

