/* 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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background: #F2F6EC;
  color: #212836;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  position: relative;
}
a {
  color: #295949;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #7ABF76;
  text-decoration: underline;
  outline: none;
}
ul, ol {
  margin-bottom: 1em;
  margin-left: 1.3em;
}
ul li, ol li {
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.7;
}
img {
  max-width: 100%;
  height: auto;
}
h1,h2,h3,h4,h5,h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #295949;
  font-weight: 700;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}
h4 {
  font-size: 1.3rem;
}
.subtitle {
  font-size: 1.3rem;
  color: #446A5A;
  margin-bottom: 24px;
}
strong {
  font-weight: bold;
  color: #295949;
}
address {
  font-style: normal;
  color: #49515B;
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.5;
}

/* LAYOUT CLASSES */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 28px 0 rgba(41,89,73,0.09);
  padding: 40px 32px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .text-section {
    padding: 24px 12px;
  }
  .section {
    margin-bottom: 40px;
    padding: 24px 8px;
  }
  .container {
    padding: 0 8px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
  .content-grid {
    flex-direction: column;
    gap: 20px;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 28px;
  background: #F7F9F6;
  border-left: 4px solid #7ABF76;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px 0 rgba(64,89,73,0.05);
  transition: box-shadow 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px 0 rgba(41,89,73,0.11);
}
.testimonial-card p {
  color: #213236;
  font-size: 1.08rem;
  line-height: 1.7;
}
.testimonial-card span {
  color: #295949;
  font-size: 1rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  opacity: 0.87;
}

.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px 0 rgba(41,89,73,0.07);
  margin-bottom: 20px;
  position: relative;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 6px 24px 0 rgba(41,89,73,0.17);
}

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

/* MAIN NAVIGATION */
header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  box-shadow: 0 4px 18px 0 rgba(41,89,73,0.045);
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
}
.main-nav ul {
  display: flex;
  flex-direction: row;
  gap: 20px;
  list-style: none;
}
.main-nav li {
  font-size: 16px;
  position: relative;
}
.main-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 500;
  padding: 8px 8px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
  color: #295949;
  display: inline-block;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F2F6EC;
  color: #7ABF76;
}
.btn-primary {
  background: #295949;
  color: #fff !important;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 99px;
  font-size: 1.12rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 12px 0 rgba(41,89,73,0.06);
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
  letter-spacing: 0.01em;
  margin-left: 18px;
  display: inline-block;
}
.btn-primary:hover,
.btn-primary:focus {
  background: #7ABF76;
  color: #212836 !important;
  box-shadow: 0 4px 18px 0 rgba(41,89,73,0.13);
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
}
@media (max-width: 1024px) {
  .main-nav ul {
    display: none;
  }
  .main-nav .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    top: 15px;
    right: 32px;
    z-index: 201;
    background: none;
    border: none;
    font-size: 2.2rem;
    color: #295949;
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.13s;
  }
  .mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
    background: #E0E9DE;
  }
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 340px;
  max-width: 96vw;
  height: 100vh;
  background: #fff;
  box-shadow: -8px 0 28px 0 rgba(41,89,73,0.13);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(0.74,0.01,0.3,1);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 12px 12px 0 0;
  background: transparent;
  color: #295949;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 7px 14px;
  border-radius: 5px;
  z-index: 3010;
  transition: background 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #E0E9DE;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 40px 0 0 32px;
  gap: 18px;
  height: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.18rem;
  color: #295949;
  font-weight: 500;
  padding: 10px 16px 10px 7px;
  border-radius: 4px;
  transition: background 0.18s, color 0.18s;
  width: 100%;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F2F6EC;
  color: #7ABF76;
}
@media (min-width: 1025px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* HERO / SECTIONS / CARDS */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  width: 100%;
}
@media (max-width: 768px) {
  section {
    margin-bottom: 40px;
    padding: 24px 8px;
  }
}
main {
  width: 100%;
  margin: 0 auto;
  padding-top: 32px;
  padding-bottom: 32px;
  background: #F2F6EC;
  min-height: 64vh;
}

/* BUTTONS & INTERACTIONS */
button, .btn-primary {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, border 0.2s;
  outline: none;
}
button:focus {
  outline: 2px solid #7ABF76;
}

/* ICONS IN LISTS */
li img {
  width: 24px;
  height: 24px;
  margin-right: 10px;
  vertical-align: middle;
  display: inline-block;
  filter: grayscale(0.15) brightness(0.9) saturate(0.7);
}
ul li {
  display: flex;
  align-items: center;
}

/* FOOTER */
footer {
  background: #295949;
  color: #fff;
  padding: 32px 0 20px 0;
  margin-top: 32px;
  width: 100%;
}
.footer-nav {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}
.footer-nav ul {
  display: flex;
  flex-direction: row;
  gap: 24px;
  list-style: none;
  padding: 0;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  padding: 7px 5px;
  border-radius: 3px;
  transition: background 0.15s, color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #7ABF76;
  color: #295949;
}
footer p {
  text-align: center;
  font-size: 15px;
  opacity: 0.83;
}
@media (max-width: 768px) {
  .footer-nav ul {
    flex-wrap: wrap;
    gap: 12px;
  }
  footer {
    padding: 24px 0 12px 0;
  }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  box-shadow: 0 -2px 18px 0 rgba(64,89,73,0.13);
  border-top: 2px solid #7ABF76;
  z-index: 5100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 32px;
  font-size: 1rem;
  min-height: 68px;
  animation: slideUpBanner 0.38s cubic-bezier(0.58,1.62,0.4,1) 1;
}
@keyframes slideUpBanner {
  from { transform: translateY(140%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  font-size: 1rem;
  color: #212836;
  margin-right: 14px;
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-banner .btn-cookie {
  background: #7ABF76;
  color: #295949;
  font-weight: 700;
  border: none;
  border-radius: 22px;
  padding: 9px 20px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 1px 3px 0 rgba(41,89,73,0.09);
  transition: background 0.14s, color 0.14s;
}
.cookie-banner .btn-cookie.secondary {
  background: #F2F6EC;
  color: #295949;
  font-weight: 500;
}
.cookie-banner .btn-cookie:hover, .cookie-banner .btn-cookie:focus {
  background: #295949;
  color: #fff;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 8px;
  }
  .cookie-banner-buttons {
    margin-top: 8px;
  }
}

/* Cookie Settings Modal */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0 0 0 0;
  z-index: 5300;
  background: rgba(44,58,36,0.48);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeModalBg 0.18s ease-in 1;
}
@keyframes fadeModalBg { from { opacity: 0; } to { opacity: 1; } }
.cookie-modal {
  background: #fff;
  border-radius: 10px;
  max-width: 95vw;
  width: 400px;
  box-shadow: 0 6px 36px 0 rgba(41,89,73,0.18);
  padding: 32px 24px;
  z-index: 5322;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: popupCookieModal 0.28s cubic-bezier(0.62,1.1,0.41,1) 1;
}
@keyframes popupCookieModal { from { transform: scale(0.95); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.cookie-modal h2 {
  font-size: 1.42rem;
  color: #295949;
  margin-bottom: 12px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}
.cookie-modal .category-label {
  flex: 1 1 auto;
  font-size: 1rem;
  color: #295949;
}
.cookie-modal .switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
}
.cookie-modal .switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-modal .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #E4E9E2;
  border-radius: 24px;
  transition: background .2s;
}
.cookie-modal .switch input:checked + .slider {
  background-color: #7ABF76;
}
.cookie-modal .slider:before {
  content: "";
  position: absolute;
  left: 2px; top: 2px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
}
.cookie-modal .switch input:checked + .slider:before {
  transform: translateX(18px);
}
.cookie-modal .switch input[disabled] + .slider {
  background: #B7C6BA;
  opacity: 0.54;
}
.cookie-modal .switch input[disabled] + .slider:before {
  background: #ECECEC;
}
.cookie-modal .cookie-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}
.cookie-modal .btn-cookie {
  padding: 8px 18px;
  border-radius: 20px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  right: 14px;
  top: 14px;
  background: #F2F6EC;
  border: none;
  font-size: 1.35rem;
  color: #295949;
  border-radius: 50%;
  cursor: pointer;
  width: 36px; height: 36px;
  transition: background 0.14s;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  background: #d8e9d1;
}

@media (max-width: 450px) {
  .cookie-modal {
    padding: 18px 4px;
    width: 98vw;
  }
}

/* UTILS & MICRO-INTERACTIONS */
::-webkit-input-placeholder { color: #A0B6A7; }
::-moz-placeholder { color: #A0B6A7; }
:-ms-input-placeholder { color: #A0B6A7; }
::placeholder { color: #A0B6A7; }

.fade-in {
  animation: fadeIn .6s cubic-bezier(.61,1.34,.31,1) 1;
}
@keyframes fadeIn { from { opacity: 0;} to { opacity: 1;} }

@media (max-width: 600px) {
  h1 { font-size: 1.42rem; }
  h2 { font-size: 1.2rem; }
  .btn-primary { font-size: 1rem; padding: 12px; }
  .container { padding: 0 4px; }
  .text-section { padding: 18px 2px; }
}

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

/* Accessibility focus-visible highlight */
a:focus-visible, button:focus-visible, .btn-primary:focus-visible {
  outline: 2px solid #7ABF76;
  outline-offset: 2px;
}

/* Prevent unwanted content overlap */
section:last-child {
  margin-bottom: 32px;
}

/* Hide content that should not be visible when overlays/menus are open */
body.menu-open, body.modal-open {
  overflow: hidden;
  touch-action: none;
}
