/* ========================
   CSS RESET & BASE STYLES
=========================== */
html {
  box-sizing: border-box;
  font-size: 100%;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background-color: #f4f7f3;
  color: #2d3a2e;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  letter-spacing: 0.01em;
  background-image: url('../assets/textures/organic_bg.png'), linear-gradient(180deg, #f7faf6 0%, #e6ede3 100%);
  background-size: 340px, cover;
  background-repeat: repeat, no-repeat;
}
img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}
a {
  color: #29552a;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #64a964;
  outline: none;
}
:focus-visible {
  outline: 2px solid #29552a;
  outline-offset: 2px;
}

/* BRAND TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #29552a;
  margin-bottom: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.25rem; line-height: 1.2; }
h2 { font-size: 1.75rem; line-height: 1.25; }
h3 { font-size: 1.25rem; line-height: 1.3; }
h4 { font-size: 1.125rem; }
strong, b {
  font-weight: bold;
  color: #29552a;
}

@media (max-width: 768px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1rem; }
}

p, ul, ol, li, blockquote, dl, dd, dt {
  font-size: 1rem;
}
ul, ol {
  padding-left: 22px;
  margin-bottom: 20px;
}
dt {
  font-weight: 600;
  margin-bottom: 6px;
}
dd {
  margin-bottom: 18px;
  padding-left: 12px;
}
blockquote {
  background: #eaf3e6;
  border-left: 5px solid #64a964;
  margin: 20px 0;
  padding: 18px 26px;
  font-style: italic;
  color: #29552a;
  border-radius: 14px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #29552a;
}
input, textarea, select, button {
  font-family: inherit;
  font-size: 1rem;
}

/* =======================
   LAYOUT & CONTAINERS
======================== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 900px) {
  .container {
    padding: 0 32px;
  }
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: 28px;
  box-shadow: none;
}

/* Flex layouts for cards, grids, lists, etc. */
.card-container, .content-grid, .feature-grid, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card-container, .content-grid {
  gap: 20px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(41,85,42,0.09);
  padding: 32px 24px;
  min-width: 260px;
  transition: box-shadow .2s, transform .2s;
}
.card:hover {
  box-shadow: 0 4px 28px rgba(41,85,42,.16);
  transform: translateY(-3px) scale(1.012);
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #f9fcf4;
  border-radius: 22px;
  box-shadow: 0 1px 9px 0 rgba(41,85,42,0.08);
  margin-bottom: 24px;
  min-width: 280px;
  border: 1.5px solid #e2ece1;
}
.testimonial-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}
.rating img {
  width: 20px !important;
  height: 20px;
  display: inline-block;
}
.card-content, .feature-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 15px;
}
.feature-item, .feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #f0f8ee;
  border-radius: 16px 30px 22px 24px / 22px 24px 18px 30px;
  box-shadow: 0px 4px 16px rgba(41,85,42,0.07);
  padding: 26px 22px;
  min-width: 200px;
  transition: box-shadow .2s, background .2s;
}
.feature:hover {
  background: #e0efd3;
  box-shadow: 0 6px 28px rgba(41,85,42,0.11);
}

@media (max-width: 768px) {
  .content-wrapper, .feature-grid, .service-list, .content-grid, .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
}

/* =============================
   HEADER & NAVIGATION STYLES
============================== */
header {
  background: #fff;
  box-shadow: 0 2px 14px rgba(41,85,42,0.07);
  padding: 0;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 12px;
  padding-bottom: 12px;
}
header img {
  height: 54px;
  width: auto;
  margin-right: 12px;
  border-radius: 0;
}
.main-nav {
  display: flex;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #29552a;
  letter-spacing: 0.03em;
  border-radius: 8px;
  padding: 7px 13px;
  transition: background .16s, color .16s;
}
.main-nav a:hover,
.main-nav a.active {
  background: #e7efdf;
  color: #64a964;
}
.btn-primary {
  background: #29552a;
  color: #fff !important;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  padding: 11px 28px;
  font-size: 1.05rem;
  border-radius: 28px 22px 26px 18px / 22px 20px 25px 16px;
  border: none;
  box-shadow: 0 2px 12px rgba(88,130,44,.08);
  display: inline-block;
  cursor: pointer;
  transition: background .18s, box-shadow .18s, transform .12s;
  outline: none !important;
  margin-left: 16px;
}
.btn-primary:hover,
.btn-primary:focus {
  background: #64a964;
  color: #29552a !important;
  box-shadow: 0 3px 18px rgba(41,85,42,0.20);
  transform: translateY(-2px) scale(1.03);
}

.mobile-menu-toggle {
  display: none;
  background: #f6fbef;
  color: #29552a;
  border: none;
  border-radius: 14px 24px 12px 28px / 18px 23px 16px 21px;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 8px;
  transition: background .12s;
  z-index: 80;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #e0efd3;
}
/* MOBILE NAVIGATION */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(41,85,42,0.96);
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.7,.2,.38,1.09);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 32px 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #fff;
  border: none;
  font-size: 2.3rem;
  padding: 10px 24px;
  margin-right: 8px;
  cursor: pointer;
  transition: color .16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #e0efd3;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 13px 32px;
  border-radius: 24px 20px 18px 17px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background .15s, color .15s;
  width: 90%;
  text-align: center;
  position: relative;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #64a964;
  color: #29552a;
}
@media (max-width: 1000px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1001px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* =======================
   HERO & CALL TO ACTION
======================== */
main > section:first-of-type {
  background: linear-gradient(150deg, #e8f5e9 65%, #f4f7f3 100%);
  border-radius: 0 0 52px 52px / 0 0 48px 48px;
  min-height: 340px;
  padding-top: 38px;
  margin-bottom: 60px;
  box-shadow: 0 2px 36px rgba(41,85,42,0.06);
}

/* ================================
   CARDS, FEATURES, SERVICE BLOCKS
================================== */
.feature img, .service img {
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
  border-radius: 10px;
}
.service {
  background: #fff;
  border-radius: 16px 26px 16px 30px / 18px 32px 24px 18px;
  box-shadow: 0 3px 18px rgba(41,85,42,0.08);
  transition: box-shadow .2s, background .15s;
  padding: 24px 20px;
  min-width: 220px;
  margin-bottom: 20px;
}
.service:hover {
  box-shadow: 0 6px 28px rgba(41,85,42,.14);
  background: #f3fbef;
}
.blog-post {
  background: #fff;
  border-radius: 20px 14px 24px 28px / 18px 18px 21px 26px;
  box-shadow: 0 2px 12px rgba(41,85,42,0.09);
  padding: 24px 22px;
  transition: box-shadow .18s, background .14s;
  margin-bottom: 20px;
}
.blog-post:hover {
  box-shadow: 0 7px 24px rgba(41,85,42,0.15);
  background: #f0f8ee;
}

.reference-project {
  background: #f8fcf6;
  border-radius: 23px 13px 27px 25px;
  box-shadow: 0 1px 11px rgba(41,85,42,0.07);
  padding: 24px 22px;
  margin-bottom: 24px;
  border-left: 5px solid #64a964;
}
.reference-project h2 {
  margin-top: 0;
  color: #29552a;
  font-size: 1.15rem;
}
.client-name {
  color: #29552a;
  font-weight: 600;
  margin-top: 10px;
}

.ref-numbers li {
  margin-bottom: 11px;
}

/* =====================
   FORMS & INPUT STYLES
====================== */
input[type="email"], input[type="text"], input[type="number"], input[type="search"], textarea {
  background: #fff;
  color: #29552a;
  border: 1.7px solid #c9dbbd;
  border-radius: 18px;
  padding: 12px 16px;
  font-size: 1rem;
  margin-bottom: 18px;
  width: 100%;
  max-width: 360px;
  outline: none;
  transition: border-color .13s, box-shadow .13s;
}
input:focus, textarea:focus {
  border-color: #64a964;
  box-shadow: 0 0 0 2px #e0efd3;
}
button[type="submit"], .newsletter button, form button {
  background: #29552a;
  color: #fff;
  border: none;
  border-radius: 24px 22px 16px 16px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 12px 28px;
  cursor: pointer;
  transition: background .14s, color .14s, transform .13s;
}
button[type="submit"]:hover, form button:hover, .newsletter button:hover {
  background: #64a964;
  color: #29552a;
  transform: scale(1.04);
}

/******
 FAQS
******/
.faq-list dt {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #29552a;
  font-size: 1.07rem;
  margin-bottom: 0.3em;
}
.faq-list dd {
  background: #f0f8ee;
  margin-bottom: 19px;
  padding: 12px 18px;
  border-radius: 13px;
  color: #222;
}

/* ===============
   FOOTER STYLES
================= */
footer {
  background: #29552a;
  color: #fff;
  padding: 38px 0 24px 0;
  font-size: 1rem;
  border-radius: 44px 44px 0 0 / 38px 38px 0 0;
  margin-top: 64px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
}
.footer-links a {
  color: #e0efd3;
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 4px;
  transition: color .16s;
}
.footer-links a:hover, .footer-links a:focus {
  color: #64a964;
}
.footer-contact {
  color: #f8fff8;
  font-size: .97rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 230px;
  line-height: 1.6;
}
.footer-contact img {
  height: 18px;
  width: 18px;
  margin-right: 7px;
  display: inline-block;
  vertical-align: middle;
  border-radius: 0;
}
.footer-branding {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 170px;
}
.footer-branding img {
  height: 40px;
  border-radius: 0;
}
.footer-branding span {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.06rem;
  line-height: 1.2;
  font-weight: 600;
  color: #eaf3e6;
}
@media (max-width: 800px) {
  footer .container {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
  .footer-branding span {
    font-size: 0.97rem;
  }
}

/* ========================
   COOKIE BANNER & MODAL
========================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  box-shadow: 0 -2px 20px rgba(41,85,42,0.15);
  color: #29552a;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 16px 16px 16px;
  gap: 12px;
  z-index: 2000;
  font-size: 1.01rem;
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  animation: slideUpCookie .45s cubic-bezier(.35,1.22,.67,.93);
}
@keyframes slideUpCookie {
  from { transform: translateY(110%); }
  to { transform: translateY(0); }
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 7px;
}
.cookie-btn {
  background: #29552a;
  color: #fff;
  border: none;
  border-radius: 18px 20px 14px 24px;
  padding: 9px 24px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin: 0 2px;
  cursor: pointer;
  transition: background .13s, color .13s;
}
.cookie-btn.settings {
  background: #f4f7f3;
  color: #29552a;
  border: 1.3px solid #64a964;
}
.cookie-btn.accept {
  background: #29552a;
  color: #fff;
}
.cookie-btn.reject {
  background: #c6573b;
  color: #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #64a964;
  color: #29552a;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #e57362;
  color: #fff;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(75, 85, 56, 0.75);
  z-index: 2010;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn .28s;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.cookie-modal-content {
  background: #fff;
  color: #29552a;
  border-radius: 24px 18px 38px 30px / 19px 34px 28px 15px;
  max-width: 386px;
  padding: 34px 28px 28px 28px;
  box-shadow: 0 6px 44px rgba(41,85,42,0.14);
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: dropModal .32s cubic-bezier(.51,1.7,.68,.79);
}
@keyframes dropModal {
  from { transform: translateY(-44px) scale(.93); opacity:0; }
  to { transform: translateY(0) scale(1); opacity:1; }
}
.cookie-modal-close {
  align-self: flex-end;
  background: none;
  color: #29552a;
  border: none;
  font-size: 1.6rem;
  margin: -18px -12px 6px 0;
  cursor: pointer;
  transition: color .13s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  color: #64a964;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
}
.cookie-category label {
  margin: 0 0 0 2px;
  font-weight: 500;
  color: #29552a;
}
.cookie-toggle {
  appearance: none;
  width: 38px;
  height: 22px;
  background: #e2ece1;
  border-radius: 13px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background .12s;
}
.cookie-toggle:checked {
  background: #64a964;
}
.cookie-toggle::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px #bbb2;
  transition: left .13s;
}
.cookie-toggle:checked::before {
  left: 19px;
}
.cookie-category input[disabled], .cookie-category input[readonly] {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ===============
   MEDIA QUERIES
================ */
@media (max-width: 620px) {
  .container {
    padding: 0 8px;
  }
  .section {
    padding: 26px 4px;
  }
  footer {
    padding: 26px 0 17px 0;
  }
}

/***************************************
 SHAPES, TEXTURES, ORGANIC ACCENTS
***************************************/
.card, .testimonial-card, .feature, .service, .blog-post, .reference-project, .cookie-modal-content, .footer-branding {
  border-radius: 22px 36px 18px 24px / 18px 34px 20px 30px;
}

.section, .card, .testimonial-card, .feature, .service, .blog-post, .reference-project, .cookie-modal-content {
  background-image: url('../assets/textures/soft-paper.png');
  background-repeat: repeat;
  background-size: 180px 180px;
}

/*****
  COLOR ADJUSTMENTS & CONTRAST
******/
.testimonial-card {
  background: #f9fcf4;
  color: #20461e;
  border: 1.5px solid #e1efd7;
}
.testimonial-card p {
  color: #20461e;
  font-size: 1.08rem;
}
.testimonial-card strong {
  color: #29552a;
}
.testimonial-card .rating img {
  filter: drop-shadow(0 1px 0 #c6dfbb);
}

/******
  UTILITY
******/
.mt-2 { margin-top: 16px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 24px !important; }
.gap-20 { gap: 20px !important; }

/******
  NEWSLETTER BENEFITS
******/
.benefits-teaser {
  background: #e8f7dc;
  color: #29552a;
  border-radius: 14px;
  padding: 14px 20px;
  margin-top: 16px;
  font-size: 1rem;
}

/******
  MAP PLACEHOLDER
******/
.map-placeholder {
  background: #e6ede3;
  color: #29552a;
  height: 180px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  margin-bottom: 12px;
}

/******
  ORGANIC LIST MARKERS
******/
ul {
  list-style: disc inside;
}
ul li::marker {
  color: #64a964;
}
ol {
  list-style: decimal inside;
}

/******
  MISCELLANEOUS
******/
.company-details ul {
  margin-bottom: 22px;
}
.company-details li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/******
  PRINT PREVENT
******/
@media print {
  .mobile-menu, .cookie-banner, .cookie-modal {
    display: none !important;
  }
}
