/* ========== CSS RESET & BASE ========== */
html {
  box-sizing: border-box;
  font-size: 100%;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}
body {
  background: #fff;
  color: #2E5E2B;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, video {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #2E5E2B;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus, a:hover {
  color: #1c3618;
  outline: none;
}
ul, ol {
  list-style: none;
}
h1, h2, h3, h4, h5, h6 {
  color: #2E5E2B;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  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.5rem;
  margin-bottom: 10px;
}
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
}
p {
  font-size: 1rem;
  margin-bottom: 16px;
}
strong, b {
  font-weight: 700;
}

/* ========= LAYOUT ========= */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(46,94,43,0.04);
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Cards and Lists */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px 0 rgba(46,94,43,0.06);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 250px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 24px 0 rgba(46,94,43,0.10);
  transform: translateY(-2px);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.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: 24px;
    align-items: flex-start;
  }
}

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


/* ========= HEADER & NAV ========= */
header {
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(46,94,43,0.05);
  border-bottom: 1px solid #F5F7ED;
  position: relative;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}
header img {
  height: 42px;
}
nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #2E5E2B;
  opacity: 0.92;
  transition: color 0.2s, opacity 0.2s;
  position: relative;
}
nav a:hover, nav a:focus {
  opacity: 1;
  color: #A1C89B;
}
.cta {
  background: #2E5E2B;
  color: #fff !important;
  border-radius: 28px;
  padding: 10px 28px;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px 0 rgba(46,94,43,0.09);
  transition: background 0.2s, box-shadow 0.18s, color 0.2s;
  border: none;
  outline: none;
  cursor: pointer;
  display: inline-block;
}
.cta:hover, .cta:focus {
  background: #518b47;
  color: #fff;
  box-shadow: 0 6px 18px 0 rgba(46,94,43,0.14);
}

@media (max-width: 1024px) {
  nav {
    gap: 16px;
  }
  header .container {
    gap: 12px;
  }
}

/* ========= HERO SECTION ========= */
.hero {
  margin-top: 0;
  padding-bottom: 0;
  background: #F5F7ED;
  border-radius: 0 0 28px 28px;
  box-shadow: 0 2px 14px 0 rgba(46,94,43,0.03);
}
.hero .content-wrapper {
  padding: 36px 0 0 0;
  gap: 18px;
}
.hero h1 {
  color: #2E5E2B;
  font-size: 2.6rem;
  font-weight: 800;
}
.hero p {
  font-size: 1.13rem;
  color: #2E5E2B;
}
.hero .cta {
  margin-top: 10px;
}

/* ========= SERVICES & FEATURES ========= */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
  margin-bottom: 10px;
}
.service-item {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 3px 16px 0 rgba(46,94,43,0.07);
  padding: 24px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 230px;
  flex: 1 1 280px;
  margin-bottom: 20px;
  transition: box-shadow 0.22s, transform 0.18s;
}
.service-item:hover, .service-item:focus-within {
  box-shadow: 0 7px 24px 0 rgba(46,94,43,0.12);
  transform: translateY(-2px);
}
.service-item h3 {
  font-size: 1.18rem;
  color: #2E5E2B;
  margin-bottom: 0;
}
.service-item strong {
  font-size: 1.10rem;
  color: #2E5E2B;
}
.service-item a {
  margin-top: 10px;
  color: #fff;
  background: #2E5E2B;
  border-radius: 22px;
  padding: 7px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98rem;
  font-weight: 500;
  align-self: flex-start;
  box-shadow: 0 1px 6px 0 rgba(46,94,43,0.08);
  transition: background 0.16s, box-shadow 0.16s;
}
.service-item a:hover, .service-item a:focus {
  background: #A1C89B;
  color: #2E5E2B;
  box-shadow: 0 4px 14px 0 rgba(46,94,43,0.15);
}

/* ========= TESTIMONIALS ========= */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 28px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(46,94,43,0.095);
  margin-bottom: 20px;
  color: #1e291a;
  transition: box-shadow 0.13s;
}
.testimonial-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #2e5e2b;
}
.testimonial-card p {
  font-size: 1rem;
  color: #2E5E2B;
}
.testimonial-card .stars {
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 2px;
  font-size: 1.09rem;
  color: #86bc73;
  user-select: none;
}
@media (max-width: 480px) {
  .testimonial-card {
    padding: 16px 14px;
  }
}

/* ========= TABLES ========= */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 14px;
  background: #fff;
  font-size: 1rem;
  color: #234e1a;
  margin: 16px 0;
}
thead tr {
  background: #A1C89B;
}
thead th {
  padding: 10px;
  text-align: left;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06rem;
  font-weight: 700;
  color: #2e5e2b;
}
tbody td {
  background: #FAFBF6;
  padding: 10px;
  border-radius: 6px;
}

/* ========= DL LISTS ========= */
dl {
  margin-bottom: 30px;
}
dt {
  font-weight: 700;
  color: #2E5E2B;
  margin-top: 12px;
}
dd {
  margin-bottom: 10px;
  color: #466135;
}

/* ========= FORMS & CONTACT ========= */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
  color: #2E5E2B;
  font-size: 1rem;
}

/* ========= FOOTER ========= */
footer {
  background: #F5F7ED;
  padding: 40px 0 20px 0;
  margin-top: 40px;
  box-shadow: 0 -2px 8px 0 rgba(46,94,43,0.04);
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}
.footer-menu {
  display: flex;
  gap: 10px;
  font-size: 0.97rem;
}
.footer-menu a {
  color: #2E5E2B;
  opacity: 0.77;
  transition: color 0.15s, opacity 0.15s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #A1C89B;
  opacity: 1;
}
.footer-info span {
  color: #24461e;
  font-size: 0.96rem;
  opacity: 0.85;
}
.footer-logo img {
  height: 36px;
  opacity: 0.72;
}

/* ========= RESPONSIVE BREAKPOINTS ========= */
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
  }
  .service-list {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }
  .section {
    padding: 28px 7px;
    margin-bottom: 44px;
  }
  .hero .content-wrapper, .content-wrapper {
    padding-left: 0;padding-right: 0;
    gap: 18px;
  }
  .service-item {
    min-width: 0;
    width: 100%;
    padding: 18px 11px;
  }
  nav {
    display: none;
  }
  .cta {
    display: none;
  }
  header .container {
    min-height: 56px;
    gap: 10px;
  }
  main {
    padding-bottom: 80px;
  }
}

/* ========= MOBILE MENU (HAMBURGER) ========= */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 19px;
  right: 21px;
  width: 42px;
  height: 42px;
  background: #2E5E2B;
  color: #fff;
  z-index: 90;
  border-radius: 50%;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 6px 0 rgba(46,94,43,0.14);
  transition: background 0.18s, color 0.12s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #A1C89B;
  color: #2E5E2B;
  outline: none;
}
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 6px 24px 0 rgba(46,94,43,0.11);
  z-index: 102;
  transform: translateX(-100%);
  transition: transform 0.34s cubic-bezier(.57,.38,.27,1.1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 24px;
  background: none;
  color: #2E5E2B;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  z-index: 120;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 80px;
  gap: 8px;
  padding-left: 0;
}
.mobile-nav a {
  width: 100%;
  display: block;
  padding: 19px 32px;
  font-size: 1.12rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #2E5E2B;
  border-bottom: 1px solid #F5F7ED;
  transition: color 0.15s, background 0.15s;
  background: none;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #A1C89B;
  color: #fff;
}
@media (min-width: 769px) {
  .mobile-menu, .mobile-menu-toggle { display: none!important; }
}

/* ========= COOKIE CONSENT BANNER & MODAL ========= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  box-shadow: 0 -4px 32px 0 rgba(46,94,43,0.14);
  border-top: 1px solid #A1C89B;
  z-index: 400;
  padding: 22px 24px;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  animation: cookieInSlide 0.48s cubic-bezier(.45,.6,.36,1.3);
}
@keyframes cookieInSlide {
  from { transform: translateY(110%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: #2E5E2B;
  font-size: 1.02rem;
  flex: 1 1 290px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 10px;
}
.cookie-banner button {
  padding: 8px 22px;
  border-radius: 20px;
  background: #2E5E2B;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background 0.15s, color 0.13s;
}
.cookie-banner button.reject {
  background: #A1C89B;
  color: #24461e;
}
.cookie-banner button.settings {
  background: #F5F7ED;
  color: #2E5E2B;
  border: 1px solid #A1C89B;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  opacity: 0.90;
  background: #518b47;
  color: #fff;
}
.cookie-banner button.settings:hover, .cookie-banner button.settings:focus {
  background: #A1C89B;
  color: #fff;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 20px 6px 24px 8px;
  }
  .cookie-banner .cookie-actions {
    flex-wrap: wrap;
    gap: 8px;
  }
}

/* Cookie Modal Overlay */
.cookie-modal-overlay {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: rgba(46,94,43,0.17);
  z-index: 410;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalIn 0.38s ease;
}
@keyframes cookieModalIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 9px 32px 0 rgba(46,94,43,0.15);
  padding: 28px 32px 22px 32px;
  max-width: 370px;
  min-width: 240px;
  width: 99vw;
  color: #2E5E2B;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modalSlideUp 0.39s cubic-bezier(.54,.41,.39,1.3);
  position: relative;
}
@keyframes modalSlideUp {
  from { transform: translateY(100px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.11rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.cookie-modal .toggle-switch {
  position: relative;
  width: 40px; height: 22px;
  background: #A1C89B;
  border-radius: 11px;
  transition: background 0.18s;
  cursor: pointer;
  flex-shrink: 0;
}
.cookie-modal .toggle-switch input[type="checkbox"] {
  opacity: 0;
  width: 0; height: 0;
  position: absolute;
}
.cookie-modal .toggle-switch .slider {
  position: absolute;
  left: 3px; top: 3px;
  height: 16px; width: 16px;
  background: #FFF;
  border-radius: 50%;
  transition: left 0.23s, background 0.12s;
  box-shadow: 0 2px 6px 0 rgba(46,94,43,0.07);
}
.cookie-modal .toggle-switch input[type="checkbox"]:checked + .slider {
  left: 21px;
  background: #2E5E2B;
}
.cookie-modal .category-label {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 0.99rem;
  font-weight: 500;
}
.cookie-modal .always-on {
  font-size: 0.88rem;
  color: #ABBB9A;
  margin-left: 6px;
  font-style: italic;
}
.cookie-modal .modal-actions {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.cookie-modal button {
  padding: 8px 24px;
  font-size: 1rem;
  border-radius: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background .10s;
  background: #2e5e2b;
  color: #fff;
}
.cookie-modal button.secondary {
  background: #F5F7ED;
  color: #2e5e2b;
  border: 1px solid #A1C89B;
  box-shadow: none;
}
.cookie-modal button:hover, .cookie-modal button:focus {
  background: #A1C89B;
  color: #fff;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 10px; right: 10px;
  background: none;
  border: none;
  color: #2e5e2b;
  font-size: 1.4rem;
  cursor: pointer;
}
@media (max-width: 520px) {
  .cookie-modal {
    max-width: 94vw;
    padding: 22px 8px 14px 8px;
  }
}

/* ========= TYPOGRAPHY SCALE ========= */
@media (min-width: 1300px) {
  h1 {font-size:3rem} h2 {font-size:2.3rem} h3{font-size:1.4rem}
}
@media (max-width: 600px) {
  h1{font-size:1.65rem;} h2{font-size:1.28rem;} h3{font-size:1.07rem}
}

/* ========= MICRO-INTERACTIONS ========= */
button, .cta, .service-item a, .cookie-banner button, .mobile-menu-toggle, .mobile-menu-close {
  transition: box-shadow 0.15s, background 0.18s, color 0.13s;
}
@media (hover: hover) {
  button:hover, .cta:hover {
    box-shadow: 0 3px 12px 0 rgba(46,94,43,0.15);
  }
}
:focus-visible {
  outline: 2px solid #A1C89B;
  outline-offset: 2px;
}

/* ========= UTILITIES ========= */
.flex {
  display: flex;
}
.flex-center {
  align-items: center;
  justify-content: center;
}
.gap-20 {
  gap: 20px;
}
.gap-24 {
  gap: 24px;
}
.rounded {
  border-radius: 14px;
}
.bg-accent {
  background: #F5F7ED;
}

/* ========= SCROLLBAR STYLING ========= */
body::-webkit-scrollbar {
  width: 9px;
  background: #F5F7ED;
}
body::-webkit-scrollbar-thumb {
  background: #A1C89B;
  border-radius: 12px;
}

/* ========= MISC ========= */
::-webkit-input-placeholder {color: #A1C89B;}
::-moz-placeholder {color: #A1C89B;}
:-ms-input-placeholder {color: #A1C89B;}
::placeholder {color: #A1C89B;}

/* ========= END ========= */
