/* CSS RESET & BASE NORMALIZATION */
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;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
  display: block;
}
body {
  line-height: 1.5;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #16391B;
  background: linear-gradient(135deg, #FDF6E3 0%, #E5F0E6 50%, #ECFBE6 100%);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  text-decoration: none;
  color: #245830;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #8CBF50;
}
ul, ol {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
}
strong {
  font-weight: 700;
}

/* TYPOGRAPHY SCALE */
h1, .hero-section h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #245830;
  margin-bottom: 20px;
  letter-spacing: -1px;
  line-height: 1.1;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #245830;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #245830;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #245830;
}
p, li, blockquote {
  font-size: 1rem;
  margin-bottom: 12px;
  line-height: 1.6;
}
.subtitle {
  font-size: 1.25rem;
  color: #476A3A;
  margin-bottom: 24px;
  max-width: 600px;
}
blockquote {
  border-left: 4px solid #8CBF50;
  margin: 0 0 8px 0;
  padding-left: 16px;
  color: #203922;
  font-style: italic;
  background: #F5FAEE;
}
/* Layout Containers */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

/* Section, Card and List Spacing (MANDATORY PATTERNS) */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 24px 0 rgba(36, 88, 48, 0.09);
  position: relative;
  padding: 32px 24px;
  transition: box-shadow 0.25s, transform 0.18s;
  display: flex;
  flex-direction: column;
  min-width: 260px;
  flex: 1 1 280px;
}
.card:hover {
  box-shadow: 0 10px 40px 0 rgba(36, 88, 48, 0.18);
  transform: translateY(-4px) scale(1.015);
}
.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;
  background: #FDF6E3;
  border-radius: 16px;
  box-shadow: 0 2px 8px 0 rgba(36, 88, 48, 0.06);
  margin-bottom: 20px;
  max-width: 650px;
  color: #1E331D;
  transition: box-shadow 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 18px 0 rgba(36,88,48,.15);
  background: #F5FAEE;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
/* HERO SECTION */
.hero-section {
  width: 100%;
  min-height: 340px;
  background: linear-gradient(120deg, #fdf6e3 75%, #8CBF50 130%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 0 40px 0;
  margin-bottom: 40px;
}
.hero-section .content-wrapper {
  align-items: flex-start;
  gap: 16px;
  margin-top: 0;
}
.hero-section h1, .hero-section .subtitle {
  color: #245830;
}

/* FEATURE GRID (proposals, about, etc) */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
}
.feature-grid > div {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(140, 191, 80, 0.07);
  padding: 28px 22px 20px 22px;
  min-width: 240px;
  max-width: 310px;
  flex: 1 1 270px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  align-items: flex-start;
  transition: box-shadow 0.22s, transform 0.22s;
  margin-bottom: 20px;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 32px 0 rgba(140,191,80,0.16);
  transform: translateY(-3px) scale(1.01);
}
.feature-grid img {
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
}
.feature-grid h3 {
  font-size: 1.1rem;
}

/* BUTTONS */
.btn-primary, .btn-secondary {
  display: inline-block;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 12px 28px;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.23s, color 0.23s, box-shadow 0.22s, transform 0.16s;
}
.btn-primary {
  background: linear-gradient(93deg, #245830 75%, #8CBF50 125%);
  color: #fff;
  box-shadow: 0 4px 20px 0 rgba(140,191,80,0.10);
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(100deg, #195127 70%, #7AAC40 120%);
  color: #fff;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 7px 28px 0 rgba(140,191,80,0.19);
}
.btn-secondary {
  background: #8CBF50;
  color: #245830;
  border: 2px solid #245830;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #245830;
  color: #fff;
}

/* TABLES (services/prices) */
table {
  width: 100%;
  background: #fff;
  margin: 18px 0 24px 0;
  border-radius: 16px;
  overflow: hidden;
  border-collapse: collapse;
  box-shadow: 0 1px 8px 0 rgba(36,88,48,0.06);
  font-size: 1rem;
}
table th, table td {
  padding: 16px 10px;
  text-align: left;
}
table tr {
  border-bottom: 1px solid #E2EFE0;
}
table tr:last-child {
  border-bottom: none;
}
table th {
  background: #ECFBE6;
  color: #245830;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
}
table td {
  background: #fff;
  color: #16391B;
}

/* HEADER & NAV */
header {
  width: 100%;
  position: relative;
  background: #FDF6E3;
  box-shadow: 0 3px 20px 0 rgba(36, 88, 48, 0.045);
  z-index: 120;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 18px 20px;
  max-width: 1120px;
  margin: 0 auto;
}
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.main-nav li {
  margin: 0;
}
.main-nav a img {
  height: 41px;
  width: auto;
}
.main-nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #245830;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 6px 0;
  transition: color 0.17s;
}
.main-nav ul li a:hover, .main-nav ul li a:focus {
  color: #8CBF50;
}

.main-nav .btn-primary {
  margin-left: 24px;
}

.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 24px;
  top: 19px;
  z-index: 302;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #245830;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-toggle:focus {
  outline: 3px solid #8CBF50;
  outline-offset: 2px;
}

/* MOBILE NAV OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(36, 88, 48, 0.97);
  z-index: 301;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.7,0,0.21,1);
  width: 100vw;
  height: 100vh;
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin-top: 24px;
  margin-left: 24px;
  font-size: 2.2rem;
  color: #FDF6E3;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 304;
  align-self: flex-start;
  transition: color 0.16s;
}
.mobile-menu-close:focus {
  color: #8CBF50;
  outline: 3px solid #8CBF50;
  outline-offset: 2px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 23px;
  margin: 40px 0 0 36px;
}
.mobile-nav a {
  color: #FDF6E3;
  font-size: 1.4rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 12px 0;
  letter-spacing: 0.01em;
  transition: color 0.18s, background 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #8CBF50;
  background: #20392222;
  border-radius: 10px;
}

@media (max-width: 992px) {
  .main-nav ul {
    gap: 10px;
  }
  .main-nav .btn-primary {
    margin-left: 10px;
    padding: 10px 18px;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 100%;
    padding-left: 10px;
    padding-right: 10px;
  }
  .main-nav ul, .main-nav .btn-primary {
    display: none !important;
  }
  .main-nav {
    justify-content: flex-start;
    padding: 16px 10px;
    gap: 10px;
  }
  .main-nav > a img {
    height: 37px;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* FOOTER */
footer {
  background: #245830;
  color: #FDF6E3;
  padding: 36px 20px 18px 20px;
  margin-top: 56px;
}
.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 14px;
  justify-content: center;
}
.footer-nav li {
  margin-bottom: 0;
}
.footer-nav a {
  color: #FDF6E3;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #8CBF50;
}
footer p {
  text-align: center;
  font-size: 0.98rem;
  opacity: 0.85;
  margin-top: 13px;
}

/* RESPONSIVE FLEX DIRECTION FOR KEY SECTIONS */
@media (max-width: 900px) {
  .feature-grid {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .section {
    margin-bottom: 40px;
    padding: 26px 5px;
  }
  .feature-grid > div {
    min-width: unset;
    max-width: unset;
    padding: 20px 10px;
  }
  .testimonial-card {
    padding: 17px 12px;
  }
  .hero-section {
    padding: 36px 0 16px 0;
    min-height: 180px;
  }
  h1, .hero-section h1 {
    font-size: 1.45rem;
  }
  h2 {
    font-size: 1.2rem;
  }
}

/* RESPONSIVE BUTTONS */
@media (max-width: 540px) {
  .btn-primary, .btn-secondary {
    font-size: 1rem;
    padding: 10px 18px;
  }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #FDF6E3;
  color: #245830;
  box-shadow: 0 -6px 22px 0 rgba(36, 88, 48, 0.13);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 24px 16px 16px 16px;
  z-index: 410;
  font-size: 1rem;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  animation: slideUpCookieBanner 0.38s cubic-bezier(0.74, 0.04, 0.36, 1);
}
@keyframes slideUpCookieBanner {
  0% { transform: translateY(120%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 17px;
  margin-top: 6px;
}
.cookie-banner button {
  border: none;
  border-radius: 22px;
  padding: 10px 20px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #fff;
  background: #245830;
  transition: background 0.19s, color 0.17s, box-shadow 0.16s;
  cursor: pointer;
  margin: 0 3px;
}
.cookie-banner button.cookie-settings {
  background: #8CBF50;
  color: #245830;
}
.cookie-banner button:hover {
  background: #8CBF50;
  color: #fff;
}
.cookie-banner button.cookie-settings:hover {
  background: #245830;
  color: #8CBF50;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 420;
  background: rgba(36, 88, 48, 0.74);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInCookieModal 0.23s cubic-bezier(.50,0,.19,1);
}
@keyframes fadeInCookieModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 20px;
  min-width: 300px;
  max-width: 90vw;
  padding: 38px 24px 24px 24px;
  box-shadow: 0 10px 40px 0 rgba(36,88,48,0.16);
  color: #245830;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: popInCookieModal 0.28s cubic-bezier(.55,0,.21,1);
}
@keyframes popInCookieModal {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}
.cookie-modal-close {
  position: absolute;
  top: 14px; right: 16px;
  background: #FDF6E3;
  color: #245830;
  font-size: 1.5rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.16s, color 0.13s;
  padding: 3px 10px 3px 10px;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #8CBF50;
  color: #fff;
}
.cookie-modal h2 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #245830;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.cookie-category label {
  font-weight: 500;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: #8CBF50;
  width: 19px;
  height: 19px;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
  margin-top: 10px;
}
.cookie-modal-actions button {
  min-width: 105px;
}
.cookie-modal .desc {
  font-size: 0.97rem;
  color: #476A3A;
  margin-bottom: 10px;
}

/* Misc utility classes */
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }
.mt-32 { margin-top: 32px; }
.mb-32 { margin-bottom: 32px; }

/* AUXILIARY: Ensure headings in modal do not break layout */
@media (max-width: 480px) {
  .cookie-modal {
    min-width: unset;
    padding: 13px 5px 14px 5px;
  }
}

/* MISC ENHANCEMENTS */
::-webkit-scrollbar {
  width: 11px;
  background: #E5F0E6;
}
::-webkit-scrollbar-thumb {
  background: #A5CE7D;
  border-radius: 8px;
  border: 3px solid #E5F0E6;
}
::-webkit-input-placeholder { color: #A8BA97; }
::-moz-placeholder { color: #A8BA97; }
:-ms-input-placeholder { color: #A8BA97; }
::placeholder { color: #A8BA97; }

/* ACCESSIBLE FOCUS STATES */
a:focus, button:focus, input:focus, textarea:focus {
  outline: 2.5px dashed #8CBF50;
  outline-offset: 2px;
}

/* SINGLE CARDS (UNIVERSAL) */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  align-items: flex-start;
}

/* LISTS INSIDE .content-wrapper */
.content-wrapper ul {
  margin-left: 24px;
  margin-bottom: 16px;
  list-style-type: disc;
}
.content-wrapper ul li {
  margin-bottom: 8px;
  font-size: 1rem;
  color: #245830;
}

/* ENHANCED COMPATIBILITY: no clamp(), no grid, no columns */
/* END OF CSS */
