/* --- 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,main,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;
  -webkit-font-smoothing: antialiased;
}
body {
  min-height: 100vh;
  background: #F5F2EA;
  color: #232E34;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  position: relative;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #4F9572;
  text-decoration: none;
  transition: color 0.20s;
}
a:hover,
a:focus {
  color: #232E34;
  text-decoration: underline;
}
ul, ol {
  list-style: none;
}

/* --- TYPOGRAPHY & HEADINGS (Scandinavian clean) --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #232E34;
  margin-bottom: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; line-height: 1.18; margin-bottom: 16px; }
h2 { font-size: 2rem; line-height: 1.22; margin-bottom: 14px; }
h3 { font-size: 1.375rem; line-height: 1.22; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1rem; margin-bottom: 10px; }
.subheadline {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #4F9572;
  font-size: 1.18rem;
  font-weight: 400;
  margin-bottom: 20px;
}
strong { font-weight: 700; }

/* --- CONTAINER & SECTIONS --- */
.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
main > section:last-child {
  margin-bottom: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.text-section, .text-image-section {
  font-size: 1.06rem;
  color: #232E34;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* --- HEADER + NAVIGATION --- */
header {
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(60, 60, 60, 0.045);
  border-bottom: 1.5px solid #ece9df;
  position: sticky;
  top: 0;
  z-index: 41;
}
header .container {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo img {
  height: 38px;
}
nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #232E34;
  font-weight: 500;
  transition: color 0.20s;
  padding: 6px 3px;
  border-radius: 4px;
}
nav a:hover, nav a:focus {
  background: #4F957212;
  color: #4F9572;
}
.cta.primary {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: #4F9572;
  color: #fff !important;
  border-radius: 22px;
  border: none;
  font-size: 1.12rem;
  font-weight: 700;
  padding: 10px 30px;
  min-width: 120px;
  letter-spacing: 0.01em;
  margin-left: 14px;
  box-shadow: 0 1.5px 6px 0 rgba(32, 76, 65, 0.12);
  transition: background 0.22s, box-shadow 0.22s;
  cursor: pointer;
  display: inline-block;
  text-align: center;
}
.cta.primary:hover, .cta.primary:focus {
  background: #358c5e;
  box-shadow: 0 2px 10px 0 rgba(32, 76, 65, 0.18);
  text-decoration: none;
}
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: #F5F2EA;
  border: none;
  color: #232E34;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  margin-left: 10px;
  transition: background 0.20s;
  z-index: 51;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #ece9df;
}

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: #fff;
  z-index: 999;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.82,.06,.43,.89);
  box-shadow: 4px 0 40px 0 rgba(50,70,70,0.09);
  display: flex;
  flex-direction: column;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.1rem;
  border: none;
  background: transparent;
  color: #232E34;
  align-self: flex-end;
  margin: 24px 32px 14px 0;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #4F9572;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 40px 34px 0 36px;
  flex: 1 1 auto;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #232E34;
  font-size: 1.22rem;
  font-weight: 600;
  background: none;
  border: none;
  text-align: left;
  padding: 14px 0;
  border-radius: 7px;
  transition: background 0.15s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #4F957212;
  color: #4F9572;
}
@media (max-width: 992px) {
  nav, .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 993px) {
  .mobile-menu {
    display: none !important;
  }
}

/* --- FLEX LAYOUT CLASSES (FLEXBOX ONLY) --- */
.card-container,
.card-grid,
.feature-grid,
.features,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2.5px 12px 0 rgba(43,62,55,0.06);
  padding: 32px 25px 28px;
  min-width: 240px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: box-shadow 0.20s, transform 0.23s;
}
.card:hover {
  box-shadow: 0 4.5px 24px 0 rgba(50,70,55,0.10);
  transform: translateY(-4px) scale(1.012);
}
.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;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 11px;
  box-shadow: 0 2px 14px 0 rgba(40,50,60,0.07);
  color: #1a2327;
  border-left: 5px solid #4F9572;
  font-size: 1.09rem;
  line-height: 1.68;
  max-width: 630px;
}
.testimonial-card p {
  color: #192622;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- FEATURE & ICON LISTS --- */
.feature-list,
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 14px;
  margin-bottom: 8px;
}
.feature-list li,
.feature-grid li,
.text-section ul li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  padding: 18px 20px;
  border-radius: 9px;
  box-shadow: 0 2px 10px 0 rgba(45,55,66,.04);
  font-size: 1.05rem;
  color: #232E34;
  margin-bottom: 0; /* Use gap instead */
  flex: 1 1 330px;
  min-width: 220px;
  transition: box-shadow 0.17s, background 0.18s;
}
.feature-list li img,
.feature-grid li img,
.text-section ul li img {
  width: 36px;
  height: 36px;
}
.feature-list li:hover,
.feature-grid li:hover {
  background: #F5F2EA;
  box-shadow: 0 4px 16px 0 rgba(44,82,66,0.08);
}

@media (max-width: 768px) {
  .feature-list,
  .feature-grid,
  .content-grid,
  .card-container {
    flex-direction: column;
    gap: 20px;
  }
}

/* --- SOCIAL LINKS --- */
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 20px 0;
}
.social-links li a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  background: #fff;
  padding: 11px 20px;
  border-radius: 9px;
  color: #232E34;
  transition: background 0.14s, color 0.17s, transform 0.14s;
  min-width: 130px;
  font-weight: 500;
}
.social-links li a:hover, .social-links li a:focus {
  background: #4F957212;
  color: #4F9572;
  transform: translateY(-2px) scale(1.04);
}
.social-links li img {
  width: 24px;
  height: 24px;
}

/* --- INFO BOX & ALERTS --- */
.info-box {
  background: #e7edde;
  border-left: 5px solid #4F9572;
  color: #275c3e;
  font-size: 1.09rem;
  border-radius: 8px;
  padding: 18px 25px;
  margin-top: 16px;
  margin-bottom: 12px;
  box-shadow: 0 2px 12px 0 rgba(44,82,66,0.05);
}

/* --- FOOTER --- */
footer {
  background: #232E34;
  color: #F5F2EA;
  padding: 48px 0 24px 0;
  border-top: 1.5px solid #ece9df;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  color: #F5F2EA;
}
.footer-brand img {
  width: 34px;
  height: 34px;
}
footer nav {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
footer nav a {
  color: #cbd5ce;
  background: none;
  font-weight: 500;
  padding: 0 4px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.98rem;
  border-radius: 2.5px;
  transition: color 0.19s, background 0.18s;
}
footer nav a:hover, footer nav a:focus {
  background: #4F957221;
  color: #F5F2EA;
  text-decoration: underline;
}
.legal-info {
  color: #aec3b8;
  font-size: 0.95rem;
  margin-top: 5px;
}

/* --- COOKIE BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  box-shadow: 0 -3px 24px 0 rgba(43,62,55,0.12);
  border-top: 2px solid #ece9df;
  z-index: 1099;
  width: 100%;
  padding: 22px 30px 22px 30px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
  flex-wrap: wrap;
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.22s, opacity 0.23s;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}
.cookie-banner .cookie-text {
  color: #232E34;
  max-width: 660px;
  font-size: 1.03rem;
  line-height: 1.6;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-btn, .cookie-btn:visited {
  display: inline-block;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 9px 22px;
  font-size: 1rem;
  border-radius: 22px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.17s, color 0.18s, box-shadow 0.15s;
}
.cookie-btn.accept {
  background: #4F9572;
  color: #fff;
  box-shadow: 0 1px 7px 0 rgba(90,142,116,0.07);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #358c5e;
}
.cookie-btn.reject {
  background: #f7ead6;
  color: #232E34;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #e4d5b7;
}
.cookie-btn.settings {
  background: transparent;
  color: #4F9572;
  border: 1.5px solid #4F9572;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #4F957212;
  color: #232E34;
}

/* --- COOKIE MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1100;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(35,46,52,0.32);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  transition: opacity 0.24s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px 18px 0 0;
  max-width: 420px;
  width: 100%;
  padding: 38px 30px 22px 30px;
  box-shadow: 0 -4px 50px 0 rgba(44,65,55,0.12);
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 0;
  animation: slideUpModal 0.33s cubic-bezier(.82,.06,.43,.89);
}
@keyframes slideUpModal {
  from {
    transform: translateY(220px);
    opacity: 0;
  }
  to {
    transform: translateY(0); opacity: 1;
  }
}
.cookie-modal h3 {
  font-size: 1.22rem;
  color: #232E34;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.cookie-modal-category {
  padding: 11px 0 9px 0;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid #ece9df;
  font-size: 1.01rem;
}
.cookie-modal-category:last-child {
  border-bottom: none;
}
.cookie-modal-category label {
  font-weight: 500;
  flex: 1 1 60%;
}
.cookie-modal-category .switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
}
.cookie-modal-category .switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-modal-category .slider {
  position: absolute; cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #ecdfe2;
  border-radius: 22px;
  transition: background 0.16s;
}
.cookie-modal-category .switch input:checked + .slider {
  background: #4F9572;
}
.cookie-modal-category .slider::before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.16s;
  box-shadow: 0 2px 6px 0 rgba(80,100,96,0.14);
}
.cookie-modal-category .switch input:checked + .slider::before {
  transform: translateX(18px);
}
.cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 18px;
}
.cookie-modal .close-btn {
  background: transparent;
  border: none;
  font-size: 1.3rem;
  color: #232E34;
  cursor: pointer;
  position: absolute; top: 18px; right: 18px;
}

/* --- FORMS --- */
input, textarea, select {
  background: #fff;
  border: 1.7px solid #ece9df;
  border-radius: 7px;
  font-size: 1.03rem;
  padding: 11px 14px;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #232E34;
  margin-bottom: 14px;
  transition: border 0.15s, box-shadow 0.15s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #4F9572;
  box-shadow: 0 2px 10px 0 rgba(44,92,66,0.06);
}
button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

/* --- RESPONSIVE DESIGN (MOBILE FIRST) --- */
@media (max-width: 768px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.54rem; }
  .container {
    padding-left: 11px;
    padding-right: 11px;
  }
  .section {
    padding: 26px 5px;
    margin-bottom: 34px;
  }
  header .container {
    flex-direction: row;
    gap: 11px;
    min-height: 56px;
  }
  .text-image-section {
    flex-direction: column !important;
    align-items: flex-start;
    gap: 18px;
  }
  .footer-brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
  }
  footer .container {
    gap: 11px;
  }
  .feature-list, .feature-grid, .content-grid, .card-container {
    flex-direction: column;
    gap: 19px;
  }
  .card, .feature-list li, .feature-grid li {
    min-width: unset;
    width: 100%;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 18px;
    padding: 18px 9px;
    font-size: 0.99rem;
    align-items: flex-start;
  }
  .cookie-banner .cookie-actions {
    gap: 10px;
  }
  .cookie-modal {
    border-radius: 14px 14px 0 0;
    padding: 23px 10px 16px 10px;
    max-width: 96vw;
  }
}

/* --- MICRO-INTERACTIONS --- */
.card, .feature-list li, .feature-grid li, .cta.primary, .social-links li a, .cookie-btn, .cookie-btn.accept, .cookie-btn.reject, .cookie-btn.settings {
  transition: box-shadow 0.20s, background 0.22s, color 0.18s, transform 0.15s;
}
.card:active, .feature-list li:active, .feature-grid li:active, .cta.primary:active, .social-links li a:active {
  transform: scale(0.98);
}

/* --- MISC --- */
::-webkit-scrollbar {
  width: 8px;
  background: #eceae1;
}
::-webkit-scrollbar-thumb {
  background: #cedad0;
  border-radius: 9px;
}
::-webkit-scrollbar-thumb:hover {
  background: #b3c6b7;
}

/* Ensure minimum spacing between all sections and cards */
main > section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container > *, .card-grid > *, .features > *, .content-grid > *, .feature-list > *, .feature-grid > * {
  margin-bottom: 0 !important;
}

/* Utility classes */
.text-center { text-align: center; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-20 { gap: 20px; }

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

/**************** END OF CSS ****************/
