/* RESET & BASE TYPOGRAPHY */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #233142;
  background-color: #f5f6f3;
  min-height: 100vh;
  line-height: 1.6;
  font-size: 1rem;
  letter-spacing: 0.01em;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}
a {
  color: #386641;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #adc178;
  outline: none;
}
ul, ol {
  list-style-position: inside;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #233142;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.4rem;
  line-height: 1.1;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.8rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.2rem;
}
sub, small {
  font-size: 0.95em;
  opacity: 0.7;
}
p, li {
  font-size: 1.06rem;
}
p, ul, ol {
  margin-bottom: 16px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background-color: #faf9f5;
  border-radius: 28px 56px 38px 18px / 38px 18px 56px 28px;
  box-shadow: 0 6px 32px 0 rgba(35, 49, 66, 0.06);
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.subheadline {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: #6a8450;
  margin-bottom: 10px;
  line-height: 1.6;
}

/* FLEXBOX LAYOUTS - MANDATORY SPACING */
.card-container,
.card-grid,
.project-teasers,
.footer-content,
.team-members,
.feature-grid,
.service-cards,
.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 280px;
}
.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: #f1f6f0;
  box-shadow: 0 2px 18px 0 rgba(153, 181, 131, 0.12);
  border-radius: 22px 40px 26px 13px/26px 13px 40px 22px;
  margin-bottom: 20px;
  margin-right: 20px;
  color: #233142;
  min-width: 260px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HEADER & MAIN NAVIGATION */
header {
  background: #e6e6e6 url('../assets/header-texture.svg') repeat;
  box-shadow: 0 4px 24px 0 rgba(146, 180, 110, 0.07);
  border-bottom: 2px solid #adc178;
  position: relative;
  z-index: 100;
  padding: 0 0 4px 0;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.main-nav > a img {
  height: 40px;
  width: auto;
  margin-right: 10px;
}
.main-nav ul {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 1rem;
}
.main-nav li {
  list-style: none;
}
.main-nav a {
  padding: 7px 20px;
  border-radius: 22px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #233142;
  background: transparent;
  transition: background 0.2s, color 0.2s;
  position: relative;
}
.main-nav a.cta, .main-nav .cta-btn {
  background: #386641;
  color: #fff;
  font-weight: 600;
  border-radius: 32px 22px 32px 22px/22px 32px 22px 32px;
  padding: 9px 26px;
  box-shadow: 0 2px 16px 0 rgba(56,102,65,0.08);
  transition: background 0.18s, color 0.2s, box-shadow 0.22s;
}
.main-nav a:hover, .main-nav li a:focus {
  background: #adc178;
  color: #233142;
}
.main-nav a.cta:hover, .main-nav .cta-btn:hover, .main-nav a.cta:focus {
  background: #264d27;
  color: #fed049;
  box-shadow: 0 4px 28px 0 rgba(56,102,65,0.13);
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: #386641;
  color: #fff;
  border: none;
  border-radius: 16px;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  z-index: 1200;
  position: absolute;
  right: 18px;
  top: 10px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #adc178;
  color: #233142;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #eef1e6;
  z-index: 2000;
  overflow-y: auto;
  transition: transform 0.35s cubic-bezier(.55,.04,.91,.94);
  transform: translateX(100%);
}
.mobile-menu.active {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 16px;
  background: #adc178;
  color: #233142;
  font-size: 2rem;
  border: none;
  border-radius: 16px;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #264d27;
  color: #fed049;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin: 20px 32px;
  width: calc(100% - 64px);
}
.mobile-nav a {
  font-size: 1.2rem;
  color: #233142;
  padding: 11px 12px 11px 10px;
  border-radius: 15px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  background: none;
  width: 100%;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #acc17860;
  color: #386641;
}
@media (max-width: 900px) {
  .main-nav ul {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 900px) {
  .main-nav {
    padding-right: 64px;
  }
}
@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* PRIMARY CTA BUTTON STYLES */
.cta-btn, .secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 13px 38px;
  border-radius: 40px 24px 36px 20px / 24px 40px 20px 36px;
  background: #386641;
  color: #fff;
  box-shadow: 0 2px 18px 0 rgba(56,102,65,0.09);
  border: none;
  transition: background 0.17s, color 0.17s, box-shadow 0.19s;
  cursor: pointer;
  margin-top: 10px;
  margin-bottom: 16px;
  text-decoration: none;
  gap: 8px;
}
.secondary-cta {
  background: #fed049;
  color: #233142;
  box-shadow: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: #264d27;
  color: #fed049;
  box-shadow: 0 6px 24px 0 rgba(56,102,65,0.16);
}
.secondary-cta:hover, .secondary-cta:focus {
  background: #e4b83a;
  color: #233142;
  box-shadow: 0 4px 18px 0 rgba(254,208,73,0.09);
}

/* FEATURES, CARDS, SERVICES */
.feature-grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.feature-grid li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f6f9f4;
  margin-bottom: 16px;
  padding: 18px 24px;
  border-radius: 37px 11px 33px 16px / 11px 33px 16px 37px;
  box-shadow: 0 1px 10px 0 rgba(134,170,102,0.07);
  color: #233142;
  font-size: 1.03rem;
}
.feature-grid img {
  width: 38px;
  height: 38px;
}

.service-cards {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.service-card {
  flex: 1 1 280px;
  background: #f3f7f1;
  border-radius: 22px 39px 28px 17px / 28px 17px 39px 22px;
  box-shadow: 0 3px 16px 0 rgba(153,181,131,.13);
  padding: 30px 24px 25px 24px;
  margin-bottom: 20px;
  color: #233142;
  position: relative;
  transition: box-shadow 0.18s, transform 0.18s;
}
.service-card:hover, .service-card:focus-within {
  box-shadow: 0 8px 28px 0 rgba(134,170,102,0.18);
  transform: translateY(-4px) scale(1.025);
}
.service-card h3 {
  color: #386641;
  font-size: 1.18rem;
  margin-bottom: 12px;
}

.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.blog-post {
  flex: 1 1 280px;
  background: #f7f9f4;
  border-radius: 15px 32px 21px 13px/21px 13px 32px 15px;
  padding: 22px 20px 18px 20px;
  margin-bottom: 18px;
  box-shadow: 0 1.5px 10px 0 rgba(180,209,136,0.07);
  color: #233142;
  transition: box-shadow 0.17s, transform 0.17s;
}
.blog-post:hover, .blog-post:focus-within {
  box-shadow: 0 6px 30px 0 rgba(180,209,136,0.19);
  transform: translateY(-2px) scale(1.01);
}

.project-teasers {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.project-teasers > div {
  flex: 1 1 220px;
  background: #f6f9f5;
  padding: 16px 22px;
  border-radius: 17px 32px 23px 10px/23px 10px 32px 17px;
  margin-bottom: 8px;
  box-shadow: 0 1px 8px 0 rgba(35,49,66,0.05);
}

.team-member {
  background: #f1f6f0;
  border-radius: 12px 23px 14px 8px/14px 8px 23px 12px;
  padding: 20px 24px 18px 18px;
  box-shadow: 0 2px 10px 0 rgba(134,170,102,0.09);
  margin-bottom: 20px;
  color: #233142;
  font-size: 1.08rem;
}

/* TESTIMONIALS & BLOCKQUOTES */
blockquote {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  background: #e5f8dd;
  color: #1e2a19;
  border-left: 8px solid #acd178;
  padding: 32px 32px 18px 30px;
  margin: 30px 0 28px 0;
  border-radius: 22px 44px 22px 44px/32px 18px 44px 22px;
  box-shadow: 0 2.5px 10px 0 rgba(172,195,118,0.10);
  font-size: 1.12rem;
  position: relative;
  line-height: 1.6;
}
blockquote span {
  display: block;
  font-size: 0.96em;
  margin-top: 10px;
  color: #233142;
  font-style: italic;
}

/* TESTIMONIAL CARDS */
.testimonial-card {
  background: #f6f9f4;
  color: #233142;
  border: 1.5px solid #adc17833;
  box-shadow: 0 2px 18px rgba(153,181,131,.12);
  border-radius: 22px 40px 26px 13px/26px 13px 40px 22px;
  padding: 20px 28px 18px 22px;
  margin-bottom: 20px;
  min-width: 260px;
  font-size: 1.08rem;
  transition: box-shadow 0.16s, transform 0.17s;
}
.testimonial-card p {
  margin-bottom: 10px;
  color: #233142;
}
.testimonial-card span {
  color: #386641;
  font-size: 0.98em;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 10px 42px 0 rgba(130,170,102,0.17);
  transform: scale(1.015);
}

/* FOOTER */
footer {
  margin-top: 56px;
  background: #e6e6e6 url('../assets/footer-texture.svg') repeat;
  padding: 38px 0 22px 0;
  border-top: 2px solid #adc178;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
.footer-content a img {
  height: 32px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-bottom: 14px;
}
.footer-menu li {
  list-style: none;
}
.footer-menu a {
  color: #233142;
  font-size: 1rem;
  border-radius: 16px;
  padding: 7px 14px;
  transition: background 0.17s, color 0.18s;
}
.footer-menu a:hover,
.footer-menu a:focus {
  background: #adc17843;
  color: #386641;
}
footer address {
  font-size: 0.99rem;
  color: #6a8450;
  font-style: normal;
  line-height: 1.57;
  margin-top: 14px;
}

/* COOKIE CONSENT BANNER */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2600;
  background: #e5f8dd;
  color: #233142;
  box-shadow: 0 -2px 10px 0 rgba(180,209,136,0.22);
  border-top: 2px solid #adc178;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  padding: 21px 12px 22px 12px;
  transition: transform 0.33s cubic-bezier(.57,.08,.65,1.04), opacity 0.18s;
}
.cookie-consent-banner.hide {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-consent-banner .cookie-buttons {
  display: flex;
  gap: 18px;
}
.cookie-btn {
  padding: 10px 28px;
  border-radius: 32px 12px 22px 7px / 12px 32px 7px 22px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  margin: 0 3px;
  transition: background 0.18s, color 0.15s, box-shadow 0.19s;
  cursor: pointer;
}
.cookie-btn.accept {
  background: #386641;
  color: #fff;
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus {
  background: #264d27;
  color: #fed049;
}
.cookie-btn.reject {
  background: #fed049;
  color: #233142;
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: #e4b83a;
  color: #233142;
}
.cookie-btn.settings {
  background: #f3f7f1;
  color: #233142;
  border: 1px solid #adc17844;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: #fffbe0;
  color: #386641;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 3000;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(35,49,66,0.32);
  justify-content: center;
  align-items: center;
  animation: fadeInModal 0.25s cubic-bezier(.65,.04,.98,.33);
}
.cookie-modal-overlay.active {
  display: flex;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fbfbf7;
  border-radius: 29px 14px 28px 12px/18px 32px 12px 28px;
  box-shadow: 0 13px 60px 0 rgba(56,102,65,0.14);
  padding: 32px 32px 24px 32px;
  max-width: 384px;
  width: 92%;
  min-width: 240px;
  color: #233142;
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: popInModal 0.29s cubic-bezier(.56,.1,.99,.44);
}
@keyframes popInModal {
  0%   { opacity: 0; transform: scale(0.9) translateY(30px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal h3 {
  margin-bottom: 9px;
  font-size: 1.21rem;
}
.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f3f7f1;
  padding: 13px 12px;
  border-radius: 15px 24px 15px 24px/24px 15px 24px 15px;
  margin-bottom: 10px;
}
.cookie-category label {
  flex: 1 1 auto;
  color: #233142;
  font-weight: 500;
}
.cookie-category input[type="checkbox"] {
  accent-color: #386641;
  width: 20px;
  height: 20px;
  margin-left: 12px;
}
.cookie-modal .cookie-btn {
  align-self: flex-end;
}

/* GENERAL RESPONSIVE SPACING & FLEX DIRECTION */
@media (max-width: 768px) {
  .footer-content,
  .content-wrapper,
  .feature-grid,
  .card-container,
  .card-grid,
  .project-teasers,
  .service-cards,
  .blog-list {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .main-nav {
    padding-right: 44px;
  }
  .section {
    padding: 26px 8px;
    margin-bottom: 36px;
  }
  .testimonial-card,
  .feature-grid li,
  .service-card,
  .blog-post,
  .team-member,
  .project-teasers > div {
    min-width: unset;
    width: 100%;
    margin-right: 0 !important;
    margin-bottom: 20px;
    padding: 16px 11px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .cookie-modal {
    padding: 20px 6px 16px 6px;
    max-width: 99vw;
  }
}

/* FORM & INPUTS (for potential extension) */
input[type="text"], input[type="email"], textarea {
  font-family: inherit;
  font-size: 1.08rem;
  background: #f7f9f4;
  color: #233142;
  border: 1.3px solid #adc17844;
  border-radius: 12px 30px 12px 30px/22px 10px 30px 12px;
  padding: 13px 14px;
  margin-bottom: 14px;
  width: 100%;
  max-width: 380px;
  outline: none;
  transition: border 0.18s, background 0.18s;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  outline: 1.3px solid #386641;
  background: #e5f8dd;
  border-color: #386641;
}

button, input[type="submit"] {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.07rem;
  border-radius: 22px 34px 20px 16px/16px 20px 34px 22px;
  background: #386641;
  color: #fff;
  padding: 11px 32px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(56,102,65,0.09);
  transition: background 0.15s, color 0.15s;
}
button:hover, button:focus, input[type="submit"]:hover, input[type="submit"]:focus {
  background: #264d27;
  color: #fed049;
}

::-webkit-input-placeholder { color: #87918d; }
::-moz-placeholder { color: #87918d; }
:-ms-input-placeholder { color: #87918d; }
::placeholder { color: #87918d; }

/* NATURAL/ORGANIC DECOR ELEMENTS */
.section,
.service-card,
.footer-content,
.project-teasers > div,
.feature-grid li,
.blog-post,
.team-member,
.testimonial-card {
  border-style: solid;
  border-width: 0px;
  background-clip: padding-box;
  /* organic shapes & micro-variation for natural look */
}

/* ACCORDION, DROPDOWNS, (for possible blog expansion) */
details {
  background: #fbfbf7;
  border-radius: 19px 9px 12px 9px/12px 9px 19px 9px;
  padding: 16px 18px;
  margin-bottom: 14px;
  box-shadow: 0 2.5px 13px 0 rgba(173,195,120,0.06);
}
summary {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.07rem;
  color: #233142;
  font-weight: 600;
  cursor: pointer;
  outline: none;
}
details[open] {
  background: #e5f8dd;
}
/* No grid or column CSS - FLEX ONLY */
