/* RESET & BASE STYLES */
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 {
  scroll-behavior: smooth;
}

body {
  background: #F5F7F5;
  color: #27332B;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img, picture {
  max-width: 100%;
  display: block;
}
a {
  color: #22406B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #36825C;
}

strong {
  font-weight: bold;
}

ul, ol {
  padding-left: 24px;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
}

/* TYPOGRAPHY SCALE & HEADINGS */
h1, .h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2.5rem;
  line-height: 1.2;
  color: #22406B;
  font-weight: 700;
  margin-bottom: 16px;
}
@media (max-width: 768px) {
  h1, .h1 { font-size: 2rem; }
}
h2, .h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2rem;
  color: #36825C;
  font-weight: 700;
  margin-bottom: 16px;
}
@media (max-width: 768px) {
  h2, .h2 { font-size: 1.5rem; }
}
h3, .h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.3rem;
  color: #22406B;
  font-weight: 600;
  margin-bottom: 12px;
}
h4, .h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  color: #36825C;
  font-weight: 600;
}
.subheadline {
  color: #547c3e;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  margin-bottom: 24px;
}

/* SECTION & SPACING - MANDATORY PATTERNS */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #FFFFFF;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(72,89,62,0.10);
  margin-bottom: 24px;
  min-width: 0;
  border-left: 6px solid #36825C;
  transition: box-shadow 0.3s, transform 0.2s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 8px 32px rgba(72,89,62,0.13);
  transform: translateY(-5px) scale(1.02);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* LAYOUT CONTAINERS & WRAPPERS */
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}
.feature-card {
  flex: 1 1 220px;
  background: #EFF3E7;
  border-radius: 18px 32px 20px 28px;
  box-shadow: 0 2px 12px rgba(72, 89, 62, 0.11);
  padding: 28px 22px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  transition: box-shadow 0.3s, transform 0.2s;
  border-left: 6px solid #36825C;
}
.feature-card img {
  width: 44px;
  height: 44px;
  background: #E1D3C1;
  border-radius: 16px 48px 34px 12px;
  padding: 8px;
  box-shadow: 0 0 6px rgba(133, 171, 99, 0.10);
}
.feature-card:hover, .feature-card:focus-within {
  box-shadow: 0 8px 32px rgba(72,89,62,0.13);
  transform: translateY(-5px) scale(1.02);
}

.service-card {
  background: #FFFFFF;
  border-radius: 20px 12px 32px 18px;
  box-shadow: 0 2px 12px rgba(72, 89, 62, 0.09);
  padding: 26px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
  border-left: 6px solid #FDBA33;
  transition: box-shadow 0.2s, transform 0.13s;
}
.service-card:hover, .service-card:focus-within {
  box-shadow: 0 8px 24px rgba(42,70,60,0.09);
  transform: translateY(-3px) scale(1.01);
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.text-section p {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #27332B;
  font-size: 1rem;
}
.text-section img {
  width: 22px;
  height: 22px;
}

/****** NAVIGATION & HEADER ******/
header {
  background: #FFFFFF;
  box-shadow: 0 1px 6px rgba(85,99,60,0.06);
  z-index: 100;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  padding: 16px 16px;
}
header nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #22406B;
  font-size: 1rem;
  padding: 8px 10px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
header nav a:hover,
header nav a:focus {
  background: #E8F1E3;
  color: #36825C;
}
.cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #36825C;
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 20px 18px 32px 12px;
  padding: 12px 28px;
  margin-left: 16px;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(72, 89, 62, 0.12);
  transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
  outline: none;
  display: inline-block;
  text-align: center;
  letter-spacing: 0.5px;
}
.cta-btn:hover, .cta-btn:focus {
  background: #22406B;
  box-shadow: 0 4px 18px rgba(54,130,92,0.17);
  transform: translateY(-2px);
}
.cta-link {
  color: #36825C;
  font-family: 'Montserrat', Arial, sans-serif;
  text-decoration: underline;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.2s;
  margin-top: 8px;
}
.cta-link:hover, .cta-link:focus {
  color: #FDBA33;
  text-decoration: none;
}

/******* HERO SECTION ******/
.hero-section {
  background: #DBE9C6 url('../assets/hero-texture.png') repeat top left; /* fallback in case asset exists */
  min-height: 280px;
  display: flex;
  align-items: center;
  margin-bottom: 56px;
  border-radius: 0 0 44px 44px;
  box-shadow: 0 4px 32px rgba(72,89,62,0.08);
  padding: 48px 0 32px 0;
}
.hero-section .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/******* TESTIMONIALS ******/
.testimonials-section {
  margin-bottom: 60px;
  padding: 40px 0;
  background: #F8F5ED;
  border-radius: 32px;
  box-shadow: 0 2px 12px rgba(54,130,92,0.07);
}
.testimonials-section h2 {
  color: #36825C;
}
.testimonials-section .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  flex: 1 1 300px;
  max-width: 380px;
  min-width: 260px;
}
.testimonial-meta {
  font-size: 1rem;
  color: #22406B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  display: flex;
  gap: 10px;
  align-items: center;
}
.testimonial-card span:first-child {
  color: #FDBA33;
  letter-spacing: 2px;
  font-size: 1.05em;
}

/******* CASE STUDY / TEXT CARDS *******/
.case-studies-section .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.case-studies-section .text-section {
  background: #FFFFFF;
  border-radius: 22px 32px 12px 28px;
  box-shadow: 0 2px 10px rgba(54,130,92,0.07);
  padding: 24px 18px;
  flex: 1 1 340px;
  min-width: 240px;
}

/****** FAQ LIST *******/
.faq-list h3 {
  color: #36825C;
  font-size: 1.13rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin-bottom: 6px;
  margin-top: 24px;
}
.faq-list p {
  margin-bottom: 8px;
  color: #27332B;
}

/******** FOOTER ********/
footer {
  background: #22406B;
  color: #F5F7F5;
  padding: 36px 0 20px 0;
  border-radius: 38px 38px 0 0;
  margin-top: 60px;
  box-shadow: 0 -2px 24px rgba(54,130,92,0.07);
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
footer nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: center;
}
footer nav a {
  color: #D9E8D2;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
footer nav a:hover, footer nav a:focus {
  color: #FDBA33;
  background: rgba(54,130,92,0.14);
}
footer p {
  color: #ABAC99;
  font-size: 0.96rem;
}

/****** LEGAL SECTION CARDS ******/
.legal-section {
  margin-bottom: 60px;
  padding: 40px 0;
}
.legal-section .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.legal-section .text-section {
  background: #EFF3E7;
  border-radius: 20px 12px 32px 18px;
  box-shadow: 0 2px 12px rgba(72, 89, 62, 0.09);
  padding: 28px 22px;
}
.legal-section h1 {
  margin-bottom: 20px;
}
.legal-section h2 {
  margin-top: 28px;
  color: #36825C;
}

/***** CTA SECTION ******/
.cta-section {
  padding: 32px 0;
  margin-bottom: 60px;
  background: #E6EFE0;
  border-radius: 28px 36px 24px 40px;
  box-shadow: 0 2px 12px rgba(54,130,92,0.06);
}
.cta-section .cta-btn {
  font-size: 1.13rem;
}
/***** THANK YOU PAGE *****/
.thank-you-section {
  margin: 60px 0 60px 0;
  padding: 40px 0;
  background: #EFF3E7;
  border-radius: 24px;
  box-shadow: 0 2px 14px rgba(54,130,92,0.12);
}
.thank-you-section .content-wrapper {
  max-width: 620px;
  margin: 0 auto;
  gap: 20px;
}
.confirmation-message {
  font-size: 1.12rem;
  color: #36825C;
}
.next-steps ul {
  margin-left: 18px;
  color: #27332B;
}

/******* RESPONSIVE FLEXBOX LAYOUTS (MANDATORY) *******/
@media (max-width: 1000px) {
  .feature-grid,
  .testimonials-section .content-wrapper,
  .case-studies-section .content-wrapper,
  .content-grid {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 900px) {
  header .container {
    flex-direction: row;
    gap: 10px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  .hero-section,
  .testimonials-section,
  .cta-section,
  .legal-section,
  .thank-you-section {
    padding: 24px 0;
    border-radius: 18px;
  }
  .content-wrapper,
  .text-section {
    gap: 16px;
    padding: 0;
  }
  .feature-grid, .content-grid, .case-studies-section .content-wrapper,
  .testimonials-section .content-wrapper, .service-cards {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .feature-card, .testimonial-card, .service-card, .case-studies-section .text-section {
    min-width: 0;
    max-width: 100%;
    padding: 20px 12px;
  }
  .hero-section {
    padding: 24px 0 14px 0;
    min-height: 170px;
    border-radius: 0 0 20px 20px;
  }
  .thank-you-section .content-wrapper {
    padding: 0 4vw;
  }
  .section {
    margin-bottom: 36px;
    padding: 24px 4px;
  }
  /* FLEX DIRECTION CHANGE FOR text-image-section */
  .text-image-section {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }
}

/********* MOBILE MENU & BURGER *********/
.mobile-menu-toggle {
  display: none;
  background: #36825C;
  color: #FFFFFF;
  border: none;
  font-size: 2rem;
  padding: 8px 15px;
  border-radius: 18px 18px 28px 8px;
  margin-left: auto;
  margin-right: 8px;
  cursor: pointer;
  z-index: 3001;
  transition: background 0.2s, color 0.2s, box-shadow 0.15s;
  box-shadow: 0 2px 10px rgba(54,130,92,0.09);
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #22406B;
  color: #FDBA33;
}

@media (max-width: 900px) {
  header nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 85vw;
  max-width: 355px;
  height: 100%;
  background: #F5F7F5;
  box-shadow: -6px 0 28px rgba(54,130,92,0.13);
  transform: translateX(110%);
  transition: transform 0.37s cubic-bezier(.28,.68,.38,.98);
  display: flex;
  flex-direction: column;
  z-index: 3000;
  padding: 0 0 20px 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: transparent;
  color: #36825C;
  font-size: 2rem;
  border: none;
  padding: 14px 26px 8px 8px;
  margin-top: 2px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #FDBA33;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 10px 26px 20px 36px;
}
.mobile-nav a {
  font-size: 1.18rem;
  color: #22406B;
  padding: 12px 0;
  border-radius: 7px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  transition: color 0.17s, background 0.17s;
  min-width: 120px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #36825C;
  background: #E8F1E3;
}

/******* MOBILE MENU OVERLAY (click outside to close effect) ******/
.mobile-menu-backdrop {
  content: '';
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(44,62,48,0.24);
  z-index: 2000;
  display: none;
  transition: opacity 0.3s;
}
.mobile-menu.open + .mobile-menu-backdrop {
  display: block;
  opacity: 1;
}

/******* COOKIE CONSENT BANNER ******/
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #36825C;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 28px;
  z-index: 5000;
  box-shadow: 0 -2px 24px rgba(72,89,62,0.17);
  font-size: 1rem;
  border-top-left-radius: 21px;
  border-top-right-radius: 21px;
  animation: cookie-slide-in 0.6s cubic-bezier(.38,.65,.55,1) forwards;
}
@keyframes cookie-slide-in {
  from { transform: translateY(120%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner__text {
  flex: 1 1 auto;
  font-size: 1rem;
  color: #fff;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-btn {
  border: none;
  border-radius: 8px 18px 12px 14px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  padding: 9px 18px;
  margin-left: 0;
  box-shadow: 0 1px 10px rgba(54,130,92,0.08);
  transition: background 0.19s, color 0.22s, transform 0.12s;
}
.cookie-btn.accept {
  background: #FDBA33;
  color: #22406B;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #fff;
  color: #36825C;
}
.cookie-btn.reject {
  background: #fff;
  color: #36825C;
  border: 1.5px solid #E3A448;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #B2CBE3;
  color: #22406B;
}
.cookie-btn.settings {
  background: transparent;
  color: #FDBA33;
  border: 1px solid #FDBA33;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #22406B;
  color: #fff;
}

@media (max-width: 679px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 13px 10px;
    font-size: 0.98rem;
  }
  .cookie-banner__actions {
    flex-wrap: wrap;
    gap: 8px;
  }
}

/***** COOKIE SETTINGS MODAL ******/
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 92vw;
  max-width: 460px;
  background: #fff;
  color: #22406B;
  box-shadow: 0 16px 60px rgba(54,130,92,0.19);
  border-radius: 24px 36px 12px 28px;
  padding: 30px 30px 22px 32px;
  z-index: 6000;
  transform: translate(-50%, -50%) scale(1.04);
  transition: opacity 0.22s, transform 0.27s;
  opacity: 1;
}
.cookie-modal-header {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #36825C;
  margin-bottom: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cookie-modal-close {
  background: transparent;
  color: #22406B;
  border: none;
  font-size: 1.75rem;
  cursor: pointer;
  margin-left: 10px;
  transition: color 0.14s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #FDBA33;
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-toggle {
  width: 38px;
  height: 20px;
  background: #B2CBE3;
  border-radius: 10px;
  position: relative;
  cursor: pointer;
  transition: background 0.17s;
  margin-right: 8px;
}
.cookie-toggle input {
  display: none;
}
.cookie-toggle:before {
  content: '';
  display: block;
  width: 17px;
  height: 17px;
  background: #FFFFFF;
  border-radius: 50%;
  position: absolute;
  left: 2px;
  top: 1.5px;
  transition: transform 0.18s;
  box-shadow: 0 1px 6px rgba(54,130,92,0.05);
}
.cookie-toggle input:checked + label {
  color: #36825C;
}
.cookie-toggle input:checked + .cookie-toggle:before {
  background: #FDBA33;
  transform: translateX(17px);
}
.cookie-toggle.active {
  background: #36825C;
}

.cookie-modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 12px;
}
.cookie-modal-actions .cookie-btn {
  min-width: 90px;
}

@media (max-width: 539px) {
  .cookie-modal {
    padding: 20px 7vw 13px 7vw;
    border-radius: 13px 19px 12px 15px;
  }
  .cookie-modal-header {
    flex-direction: column;
    gap: 6px;
  }
}

/******** ANIMATIONS ********/
.card, .feature-card, .service-card, .testimonial-card, .cookie-modal, .cookie-banner {
  transition: box-shadow 0.19s, transform 0.14s, background 0.17s;
}
.cta-btn, .cta-link {
  transition: background 0.22s, color 0.16s, box-shadow 0.22s, transform 0.14s;
}

/******* ORGANIC SHAPE DECORATIVE BACKGROUNDS - OPTIONAL EXAMPLE ******/
.hero-section {
  position: relative;
}
.hero-section:before {
  content: '';
  display: block;
  position: absolute;
  right: -150px; top: -45px;
  width: 240px; height: 130px;
  background: #E1D3C1;
  border-radius: 70% 30% 50% 50% / 60% 40% 70% 30%;
  opacity: 0.14;
  z-index: 1;
  pointer-events: none;
}
.hero-section .container,
.hero-section .content-wrapper {
  position: relative;
  z-index: 2;
}

/******* ACCESSIBILITY *******/
a:focus {
  outline: 2px solid #FDBA33;
  outline-offset: 2px;
}
.cta-btn:focus, .cta-link:focus, .cookie-btn:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus {
  outline: 2px solid #22406B;
  outline-offset: 2px;
}

/* Hide mobile menu by default */
.mobile-menu {
  display: none;
}
@media (max-width: 900px) {
  .mobile-menu {
    display: flex;
  }
}
