/* --- CSS RESET & BASE --- */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
  outline: none;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F7FAF3;
  color: #22543D;
  line-height: 1.65;
  transition: background 0.3s;
  position: relative;
}
img {
  max-width: 100%;
  display: block;
  border: none;
}
ul, ol {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5em 0;
}
a {
  color: #22543D;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #5AA85A;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #22543D;
  margin-bottom: 0.5em;
  font-weight: 700;
  line-height: 1.15;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  letter-spacing: -1px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.15rem;
}
.subtitle {
  color: #5AA85A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  margin-bottom: 18px;
  font-weight: 500;
}
p {
  margin-bottom: 1em;
  font-size: 1rem;
}
strong, b {
  color: #22543D;
  font-weight: bold;
}
em, i {
  font-style: italic;
}
.text-section {
  margin: 24px 0;
}

/* --- CONTAINER & LAYOUT --- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (min-width: 769px) {
  .content-wrapper {
    gap: 32px;
  }
}

/* --- HEADER & NAV --- */
header {
  background: #fff;
  box-shadow: 0 2px 16px rgba(34,84,61,0.04);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 12px 20px 12px 20px;
}
.main-nav img {
  height: 44px;
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.main-nav li {
  margin-bottom: 0;
}
.main-nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #22543D;
  padding: 7px 10px;
  border-radius: 9px;
  transition: background 0.18s, color 0.18s;
}
.main-nav ul li a:hover, .main-nav ul li a:focus {
  color: #fff;
  background: #5AA85A;
}
.btn-primary {
  background: #22543D;
  color: #fff;
  border-radius: 28px;
  padding: 10px 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background 0.18s, box-shadow 0.22s;
  box-shadow: 0 2px 11px 0 rgba(64,103,63,0.11);
  cursor: pointer;
  display: inline-block;
  text-align: center;
}
.btn-primary:hover, .btn-primary:focus {
  background: #5AA85A;
  color: #fff;
  box-shadow: 0 6px 18px 0 rgba(90,168,90,0.18);
}

/***** Hamburger menu *****/
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: none;
  color: #22543D;
  border: none;
  margin-left: 10px;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  z-index: 1202;
  transition: background 0.14s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #D2E5D2;
}
/* Hide on desktop */
@media (min-width: 1025px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/***** Responsive main nav hide/show *****/
@media (max-width: 1024px) {
  .main-nav ul {
    display: none;
  }
  .main-nav .btn-primary {
    display: none;
  }
}
@media (max-width: 1024px) {
  .main-nav {
    padding-right: 12px;
    gap: 8px;
  }
}

/***** Mobile menu overlay *****/
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34,84,61,0.93);
  z-index: 1201;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  transform: translateX(-100vw);
  transition: transform 0.37s cubic-bezier(.67,.09,.32,1.45);
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.25rem;
  color: #fff;
  background: none;
  border: none;
  margin: 22px 28px 0 0;
  cursor: pointer;
  border-radius: 9px;
  padding: 8px 14px;
  transition: background 0.15s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #5AA85A;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 58px 0 0 40px;
  width: calc(100vw - 80px);
  gap: 18px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.22rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 15px 0 15px 10px;
  border-radius: 8px;
  width: 100%;
  display: block;
  transition: background 0.14s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #5AA85A;
  color: #22543D;
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
}

/***** Hero section (nature organic shapes) *****/
.hero-section {
  background: #E6F3EA url('../assets/bg-organic.svg') center/cover no-repeat;
  border-bottom-left-radius: 64px 44px;
  border-bottom-right-radius: 120px 96px;
  min-height: 320px;
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
  padding: 64px 0 40px 0;
  box-shadow: 0 8px 28px 0 rgba(34,84,61,0.07);
}
.hero-section .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
}
.hero-section .content-wrapper {
  padding: 20px 0;
  align-items: flex-start;
}
.hero-section h1 {
  color: #22543D;
  font-size: 2.5rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 18px;
}
.hero-section .btn-primary {
  margin-top: 24px;
  font-size: 1.17rem;
  padding: 13px 38px;
  letter-spacing: 0.05em;
}
@media (max-width: 768px) {
  .hero-section {
    min-height: 210px;
    border-bottom-left-radius: 30px 16px;
    border-bottom-right-radius: 44px 36px;
    padding-top: 36px;
  }
  .hero-section .container {
    padding: 0 8px;
  }
  .hero-section h1 {
    font-size: 1.44rem;
  }
}

/* --- FEATURES SECTION --- */
.features-section {
  background: #F7FAF3;
  border-radius: 40px;
  box-shadow: 0 4px 16px 0 rgba(90,168,90,0.07);
  margin-bottom: 60px;
}
.features-section .content-wrapper {
  align-items: flex-start;
  gap: 32px;
}
.features-section h2 {
  color: #22543D;
  margin-bottom: 14px;
}
.features-section ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.features-section li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: #fff;
  border-radius: 28px;
  padding: 24px 20px;
  width: 230px;
  min-width: 190px;
  min-height: 170px;
  box-shadow: 0 2px 10px 0 rgba(90,168,90,0.10);
  transition: box-shadow 0.23s;
  margin-bottom: 0;
}
.features-section li:hover, .features-section li:focus-within {
  box-shadow: 0 6px 26px 0 rgba(90,168,90,0.22);
}
.feature-description {
  margin-top: 14px;
  color: #22543D;
  text-align: center;
  font-weight: 500;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
}
.features-section li img {
  width: 44px;
  height: 44px;
  margin-bottom: 6px;
  object-fit: contain;
}
@media (max-width: 1120px) {
  .features-section ul {
    justify-content: flex-start;
    gap: 18px;
  }
  .features-section li {
    width: 180px;
    min-width: 130px;
    min-height: 120px;
    padding: 14px 8px;
  }
}
@media (max-width: 768px) {
  .features-section ul {
    flex-direction: column;
    gap: 16px;
  }
  .features-section li {
    width: 100%;
    min-width: unset;
    align-items: flex-start;
    text-align: left;
    min-height: 70px;
    padding: 13px 13px;
  }
}

/* --- SERVICES SECTION --- */
.services-section {
  background: #fff;
  border-radius: 44px;
  box-shadow: 0 4px 16px 0 rgba(34,84,61,0.06);
}
.services-section h2 {
  margin-bottom: 14px;
}
.services-section ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.services-section ul li {
  background: #F7FAF3;
  border-radius: 22px;
  padding: 18px 18px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  min-width: 260px;
  margin-bottom: 0;
  font-size: 1.05rem;
  box-shadow: 0 2px 8px 0 rgba(90,168,90,0.08);
  transition: box-shadow 0.22s;
}
.services-section ul li img {
  width: 36px;
  height: 36px;
}
.services-section ul li:hover, .services-section ul li:focus-within {
  box-shadow: 0 6px 16px 0 rgba(34,84,61,0.18);
}
@media (max-width: 1100px) {
  .services-section ul {
    gap: 16px;
  }
  .services-section ul li {
    min-width: 180px;
    padding: 13px 12px;
  }
}
@media (max-width: 900px) {
  .services-section ul {
    flex-direction: column;
    gap: 13px;
  }
  .services-section ul li {
    width: 100%;
    min-width: unset;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
}
.map {
  margin: 14px 0 0 0;
  font-size: 1rem;
  color: #22543D;
}
.map a {
  color: #5AA85A;
  text-decoration: underline;
}

.text-section ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 16px 0;
}
.text-section ul li {
  position: relative;
  padding-left: 22px;
  color: #22543D;
  font-size: 1rem;
}
.text-section ul li::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #5AA85A;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 8px;
}

/***** Testimonials section *****/
.testimonials-section {
  background: #E6F3EA;
  border-radius: 42px;
  padding: 40px 20px;
  margin-bottom: 60px;
}
.testimonials-section h2 {
  margin-bottom: 30px;
}
.testimonial-card {
  background: #fff;
  border-radius: 26px;
  padding: 20px 28px;
  box-shadow: 0 3px 14px 0 rgba(34,84,61,0.10);
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  color: #22543D;
  font-size: 1.12rem;
  position: relative;
  transition: box-shadow 0.2s, transform 0.18s;
}
.testimonial-card p {
  color: #22543D;
  font-size: 1.12rem;
  margin: 0 0 4px 0;
}
.testimonial-card span {
  color: #5AA85A;
  font-size: 1rem;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 8px 32px 0 rgba(34,84,61,0.18);
  transform: translateY(-2px) scale(1.015);
}
@media (max-width: 670px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 14px;
    gap: 10px;
  }
}

/***** Content grid patterns / cards *****/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 12px 0 rgba(34,84,61,0.08);
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 150px;
  transition: box-shadow 0.22s, transform 0.18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 28px 0 rgba(90,168,90,0.18);
  transform: translateY(-2px) scale(1.01);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 20px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 24px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
@media (max-width: 768px) {
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

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

/***** Footer *****/
footer {
  background: #22543D;
  color: #fff;
  padding: 44px 0 22px 0;
  border-top-left-radius: 52px 28px;
  border-top-right-radius: 62px 44px;
  box-shadow: 0 -2px 16px 0 rgba(34,84,61,0.07);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin-bottom: 24px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  transition: color 0.14s;
  opacity: 0.82;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #5AA85A;
  opacity: 1;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: center;
  font-size: 1rem;
  opacity: 0.91;
}
.footer-brand img {
  height: 36px;
}
@media (max-width: 600px) {
  footer {
    padding: 28px 0 12px 0;
    border-top-left-radius: 18px 12px;
    border-top-right-radius: 22px 14px;
  }
  .footer-nav {
    gap: 18px;
    margin-bottom: 12px;
  }
  .footer-brand {
    gap: 9px;
    font-size: 0.98rem;
  }
}

/***** Animations & transitions ******/
.btn-primary,
.main-nav ul li a,
footer .footer-nav a,
.mobile-menu-toggle,
.mobile-menu-close,
.mobile-nav a {
  transition: background 0.18s, color 0.18s, box-shadow 0.22s, transform 0.17s;
}

/***** Cookie Consent Banner *****/
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #22543D;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 18px 22px;
  z-index: 1500;
  box-shadow: 0 -4px 24px 0 rgba(34,84,61,0.14);
  gap: 20px;
  flex-wrap: wrap;
  font-size: 1rem;
  animation: cookieAppear 0.7s cubic-bezier(.49,.91,.53,1.3);
}
@keyframes cookieAppear {
  0% { transform: translateY(110%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner__text {
  max-width: 500px;
  line-height: 1.5;
}
.cookie-banner__actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.cookie-btn {
  background: #5AA85A;
  color: #fff;
  border-radius: 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 9px 24px;
  margin: 0 4px;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 8px 0 rgba(90,168,90,0.07);
  transition: background 0.16s, transform 0.12s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #22543D;
  color: #fff;
  transform: scale(1.04);
}
.cookie-btn--outline {
  background: #fff;
  color: #22543D;
  border: 1.5px solid #5AA85A;
  transition: outline 0.12s, color 0.15s, background 0.15s;
}
.cookie-btn--outline:hover, .cookie-btn--outline:focus {
  background: #5AA85A;
  color: #fff;
}

/***** Cookie Preferences Modal *****/
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(34,84,61,0.74);
  z-index: 1600;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.37s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  color: #22543D;
  border-radius: 20px;
  max-width: 440px;
  width: 100%;
  padding: 32px 28px 28px 28px;
  box-shadow: 0 8px 48px 0 rgba(34,84,61,0.13);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: modalOpen 0.73s cubic-bezier(.58,.08,.17,1.02);
}
@keyframes modalOpen {
  0% { transform: scale(0.85); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal__close {
  position: absolute;
  right: 16px;
  top: 14px;
  font-size: 1.7rem;
  color: #5AA85A;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  padding: 4px 7px;
  transition: background 0.14s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  background: #E6F3EA;
}
.cookie-modal__title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #22543D;
  margin-bottom: 9px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 8px;
}
.cookie-category strong {
  flex: 0 0 auto;
}
.cookie-toggle {
  /* Custom styled switch */
  position: relative;
  width: 44px;
  height: 24px;
  display: inline-block;
}
.cookie-toggle input[type="checkbox"] {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-toggle--disabled {
  opacity: 0.45;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: #d1eac9;
  border-radius: 24px;
  transition: background 0.19s;
}
.cookie-toggle input:checked + .cookie-slider {
  background: #5AA85A;
}
.cookie-slider:before {
  content: '';
  position: absolute;
  left: 4px;
  top: 4px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.18s;
}
.cookie-toggle input:checked + .cookie-slider:before {
  transform: translateX(20px);
}

/***** Page Specific spacing + Misc. ******/
section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
}
@media (max-width: 768px) {
  section {
    margin-bottom: 36px;
    padding: 26px 0 0 0;
  }
}

/***** Success/Thank you page *****/
.thank-msg {
  margin: 32px auto 0 auto;
  background: #E6F3EA;
  border-radius: 18px;
  padding: 36px 18px;
  text-align: center;
  box-shadow: 0 2px 13px 0 rgba(90,168,90,0.07);
  font-size: 1.09rem;
  color: #22543D;
}
.thank-msg .btn-primary {
  margin-top: 24px;
}

/***** Accesibility & focus styles *****/
a:focus, button:focus, .btn-primary:focus {
  outline: 2px solid #5AA85A;
  outline-offset: 1px;
}

/***** Hide visually (for live regions, modals) *****/
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
