/* === CSS RESET & BASE === */
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 {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #2C2C2C;
  background: #F4F8F1;
  line-height: 1.6;
}
a {
  color: #255A3E;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #8DB57C;
}
ul, ol {
  padding-left: 1.5rem;
  margin-bottom: 1.3em;
}
img {
  max-width: 100%;
  display: block;
  border-radius: 10px;
}

/* === TYPOGRAPHY === */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.8rem;
  margin-bottom: 18px;
  line-height: 1.1;
  font-weight: 700;
  color: #255A3E;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  margin-bottom: 16px;
  font-weight: 600;
  color: #255A3E;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  margin-bottom: 10px;
  font-weight: 600;
  color: #3E563D;
}
.subheadline {
  font-size: 1.25rem;
  color: #5F6E5C;
  margin-bottom: 30px;
  line-height: 1.5;
}
p {
  margin-bottom: 1.1em;
  font-size: 1rem;
}
strong {
  font-weight: 600;
  color: #255A3E;
}

/* === CONTAINER LAYOUTS === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 4px 32px rgba(141,181,124, 0.12);
  transition: box-shadow 0.2s;
}
@media (max-width: 768px) {
  .section {
    padding: 24px 8px;
    margin-bottom: 38px;
  }
}

/* === HEADER & NAVIGATION === */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 14px 0 rgba(141,181,124, .08);
  border-bottom: 2px solid #F4F8F1;
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 24px;
}
header nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #255A3E;
  padding: 8px 14px;
  border-radius: 16px;
  transition: background 0.15s, color 0.18s;
}
header nav a:hover, header nav a:focus {
  background: #F4F8F1;
  color: #8DB57C;
}
header .cta.primary {
  background: #8DB57C;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 20px;
  padding: 12px 26px;
  font-size: 1rem;
  font-weight: 700;
  margin-left: 16px;
  box-shadow: 0 4px 20px rgba(141,181,124,0.14);
  transition: background 0.18s, box-shadow 0.18s, color 0.18s;
  border: none;
  cursor: pointer;
}
header .cta.primary:hover, header .cta.primary:focus {
  background: #255A3E;
  color: #fff;
  box-shadow: 0 2px 12px rgba(37,90,62,0.15);
}

/* === MOBILE MENU === */
.mobile-menu-toggle {
  display: none;
  background: none;
  color: #255A3E;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 6px 12px;
  z-index: 52;
  margin-left: auto;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #F4F8F1;
  z-index: 50;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  padding: 40px 30px 30px 30px;
  box-shadow: 0 4px 48px 0 rgba(37,90,62,0.20);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #255A3E;
  font-size: 2rem;
  margin-bottom: 26px;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.mobile-nav a {
  font-size: 1.125rem;
  color: #255A3E;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 12px 6px;
  border-radius: 14px;
  background: none;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  background: #8DB57C;
  color: #fff;
}
@media (max-width: 1020px) {
  header nav, header .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

@media (max-width: 768px) {
  header .container {
    padding: 0 10px;
    min-height: 60px;
  }
}

/* === FOOTER === */
footer {
  background: #F4F8F1;
  border-top: 2px solid #8DB57C22;
  padding: 40px 0 0 0;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 24px;
}
.footer-nav nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #255A3E;
  font-size: 1rem;
  border-radius: 10px;
  transition: color 0.16s, background 0.17s;
  padding: 4px 10px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #8DB57C;
  background: #fff;
}
.footer-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  border-top: 1px solid #E8F1E9;
  padding: 15px 0 18px 0;
  font-size: 0.98rem;
  color: #5F6E5C;
}
.social-media-icons {
  display: flex;
  gap: 12px;
}
.social-media-icons a img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(37,90,62,0.04);
  transition: filter 0.15s;
}
.social-media-icons a:hover img {
  filter: brightness(0.85);
}
@media (max-width: 768px) {
  .footer-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* === CARDS, LISTS & FLEX LAYOUTS === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 rgba(141,181,124,0.10);
  padding: 26px 20px;
  transition: box-shadow 0.18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 32px 0 rgba(37,90,62,0.11);
}

.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) {
  .content-grid,
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

/* === FEATURE GRID & LISTS === */
.feature-grid, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin-bottom: 0;
}
.feature-grid li, .service-list li {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 14px rgba(141,181,124,0.10);
  padding: 32px 20px 24px 20px;
  flex: 1 1 250px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: box-shadow 0.16s;
}
.feature-grid li img, .service-list li img {
  height: 44px;
  width: 44px;
  margin-bottom: 8px;
}
.feature-grid li:hover, .feature-grid li:focus-within,
.service-list li:hover, .service-list li:focus-within {
  box-shadow: 0 8px 32px rgba(37,90,62,0.12);
}
.service-list .service-price {
  font-size: 1rem;
  background: #F4F8F1;
  color: #255A3E;
  border-radius: 10px;
  padding: 2px 10px;
  margin-left: 10px;
  font-weight: 600;
}
@media (max-width: 1020px) {
  .feature-grid, .service-list {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid li, .service-list li {
    width: 100%;
  }
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 14px rgba(141,181,124,0.09);
  padding: 22px 16px;
}

.project-snippets {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-bottom: 16px;
}
.project-snippets .text-section {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(141,181,124,0.10);
  padding: 24px 18px 12px 18px;
  flex: 1 1 330px;
  min-width: 250px;
  margin-bottom: 20px;
}
@media (max-width: 950px) {
  .project-snippets {
    flex-direction: column;
    gap: 14px;
  }
}
.outcomes-list {
  margin-top: 10px;
  margin-bottom: 0;
}

/* === TESTIMONIALS === */
.testimonial-carousel,
.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: #FFFCF7;
  border-radius: 22px;
  box-shadow: 0 8px 23px 0 rgba(141,181,124,0.11);
  padding: 28px 24px 18px 24px;
  min-width: 230px;
  max-width: 470px;
  margin-bottom: 20px;
}
.testimonial-card p {
  font-size: 1.1rem;
  color: #3C453B;
  text-align: center;
  line-height: 1.5;
}
.testimonial-author {
  font-size: 0.98rem;
  color: #8DB57C;
  font-style: italic;
}
.rating-summary {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1.02rem;
  color: #255A3E;
  font-family: 'Montserrat', Arial, sans-serif;
}

@media (max-width: 768px) {
  .testimonial-carousel,
  .testimonial-grid {
    flex-direction: column;
    gap: 12px;
  }
  .testimonial-card {
    padding: 18px 8px 12px 8px;
    min-width: 0;
    max-width: 100%;
  }
}

/* === GENERAL FLEXBOX LISTS === */
ul, ol {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 18px;
}
li {
  font-size: 1rem;
  margin-bottom: 0;
}
li img {
  vertical-align: middle;
  margin-right: 10px;
  width: 24px;
  height: 24px;
}

/* === CTA BUTTONS === */
.cta {
  display: inline-block;
  background: #8DB57C;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 12px 24px;
  border-radius: 18px;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  transition: background 0.18s, box-shadow 0.18s, color 0.15s;
  box-shadow: 0 4px 14px rgba(141,181,124,0.10);
  border: none;
  cursor: pointer;
  margin-top: 12px;
}
.cta.primary {
  background: #8DB57C;
  color: #fff;
}
.cta:hover, .cta:focus {
  background: #255A3E;
  color: #fff;
  box-shadow: 0 8px 18px rgba(37,90,62,0.18);
}

/* === SECTION SPACING and CARD CONTAINERS (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; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* === RESPONSIVE == */
@media (max-width: 880px) {
  .container {
    padding: 0 8px;
  }
}
@media (max-width: 650px) {
  h1, .h1 { font-size: 2rem; }
  h2, .h2 { font-size: 1.25rem; }
  .footer-nav { flex-direction: column; align-items: flex-start; gap: 0; }
}

/* === COOKIE CONSENT BANNER === */
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fffceb;
  color: #255A3E;
  box-shadow: 0 -2px 20px 0 rgba(37,90,62,.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 32px;
  z-index: 1001;
  font-size: 1rem;
  border-radius: 18px 18px 0 0;
  animation: cookieIn 0.55s cubic-bezier(.68,-0.55,.27,1.55);
  transition: transform 0.28s cubic-bezier(.68,-0.55,.27,1.55);
}
@keyframes cookieIn {
  from { transform: translateY(110%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner .cookie-consent-message {
  flex: 1 1 200px;
  margin-right: 20px;
}
.cookie-consent-banner .cookie-btn-group {
  display: flex;
  gap: 14px;
}
.cookie-btn, .cookie-modal-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 8px 19px;
  border-radius: 13px;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  background: #8DB57C;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 2px 12px rgba(141,181,124,0.09);
  transition: background 0.16s, color 0.13s, box-shadow 0.14s;
}
.cookie-btn.accept {
  background: #8DB57C;
}
.cookie-btn.reject {
  background: #E9704E;
}
.cookie-btn.settings {
  background: #fff;
  border: 1.5px solid #8DB57C;
  color: #255A3E;
}
.cookie-btn:focus, .cookie-btn:hover,
.cookie-modal-btn:focus, .cookie-modal-btn:hover {
  background: #255A3E;
  color: #fff;
}
@media (max-width: 700px) {
  .cookie-consent-banner { 
    flex-direction: column;
    padding: 18px 10px 12px 10px;
    gap: 10px;
  }
  .cookie-consent-banner .cookie-consent-message {
    margin-right: 0;
  }
}

/* === COOKIE MODAL === */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(36,50,37,.52);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1002;
  animation: cookieModalIn 0.32s cubic-bezier(.77,0,.18,1);
}
@keyframes cookieModalIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  max-width: 420px;
  border-radius: 22px;
  padding: 38px 26px 26px 26px;
  box-shadow: 0 8px 40px rgba(37,90,62,0.18);
  display: flex;
  flex-direction: column;
  gap: 19px;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 18px;
  background: none;
  color: #8DB57C;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  border-radius: 10px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-category-title {
  font-weight: 600;
  font-size: 1.05rem;
  color: #255A3E;
}
.cookie-category input[type="checkbox"]:disabled + label {
  color: #b5b5b5;
}
.cookie-modal-btns {
  display: flex;
  gap: 14px;
  margin-top: 8px;
}
.cookie-modal-btn {
  min-width: 120px;
  background: #8DB57C;
  color: #fff;
  border: none;
}
@media (max-width: 520px) {
  .cookie-modal-content {
    width: 96vw;
    max-width: none;
    padding: 28px 6px 18px 6px;
  }
  .cookie-modal-btns {
    flex-direction: column;
    gap: 8px;
  }
}


/* === ANIMATIONS & MICRO-INTERACTIONS === */
.card,
.feature-grid li,
.service-list li,
.testimonial-card,
.faq-item {
  transition: box-shadow 0.17s, transform 0.16s;
}
.card:hover,
.feature-grid li:hover,
.service-list li:hover,
.testimonial-card:hover,
.faq-item:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 10px 26px rgba(37,90,62,0.08);
}

button:focus, .cta:focus, .cookie-btn:focus, .cookie-modal-btn:focus {
  outline: 2px solid #8DB57C;
  outline-offset: 2px;
}

/* === MISC === */
.text-section {
  margin-bottom: 0;
}
.text-section ul {
  list-style: none;
}
hr {
  border: none;
  border-top: 1.5px solid #E8F1E9;
  margin: 20px 0;
}

/* === Print helpers/never visible elements === */
@media print {
  header, .mobile-menu, .cookie-consent-banner, .cookie-modal, footer {
    display: none !important;
  }
}

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