/* Reset & Normalize */
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, main, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; box-sizing: border-box; vertical-align: baseline;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #EFF1EA; /* subtle natural background */
  color: #232514;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #33614D; /* rich forest green */
  text-decoration: none;
  transition: color 0.22s ease;
}
a:hover, a:focus {
  color: #558E60;
}

/* Color Palette - Nature Organic */
:root {
  --primary: #2B2F3A;
  --secondary: #FFCB47;
  --accent: #F2F5F9;
  --offWhite: #EFF1EA;
  --forest: #33614D;
  --moss: #AABB92;
  --bark: #8B7F59;
  --clay: #D3B78C;
  --earth: #232514;
  --error: #C7524B;
}

/* Typography System */
h1, .headline {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--forest);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 16px;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: var(--forest);
}
.subheadline {
  font-size: 1.1rem;
  color: var(--earth);
  margin-bottom: 20px;
  font-weight: 400;
}
p, ul, ol {
  font-size: 1rem;
  color: var(--earth);
  margin-bottom: 16px;
}
ul, ol {
  padding-left: 24px;
}
li {
  margin-bottom: 8px;
}
strong, b {
  color: var(--forest);
}

/* Layout Container Styles */
.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  max-width: 1120px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--offWhite);
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(95,112,80, 0.05);
}

/* Header Styles */
header {
  position: relative;
  width: 100%;
  background: #F6F7F2;
  border-bottom: 2px solid var(--moss);
  box-shadow: 0 2px 10px 0 rgba(44,61,43,0.02);
  padding: 0 0 0 0;
  display: flex;
  align-items: center;
  min-height: 72px;
}
header > a img {
  height: 44px;
  margin: 14px 24px 14px 0;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--forest);
  font-size: 1rem;
  font-weight: 500;
  position: relative;
  padding: 8px 0;
}
.main-nav a::after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: var(--secondary);
  transition: width 0.2s;
  border-radius: 1px;
  margin-top: 2px;
}
.main-nav a:hover::after,
.main-nav a:focus::after {
  width: 100%;
}
header .button.primary {
  margin-left: 32px;
}
.mobile-menu-toggle {
  margin-left: auto;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: var(--forest);
  cursor: pointer;
  display: none;
  padding: 10px 16px 10px 16px;
  border-radius: 8px;
  transition: background 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: rgba(51,97,77,0.07);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  z-index: 9001;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(239, 241, 234, 0.95);
  box-shadow: 0 4px 24px 0 rgba(44,61,43,0.14);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 0 0 0;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.77,0,.18,1), opacity 0.24s;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: transparent;
  border: none;
  color: var(--forest);
  font-size: 2rem;
  margin-left: 18px;
  margin-bottom: 28px;
  align-self: flex-start;
  cursor: pointer;
  transition: background 0.2s;
  padding: 8px 16px;
  border-radius: 8px;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #dadfb8;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  align-items: flex-start;
  padding: 0 32px;
}
.mobile-nav a {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 12px 0;
  border-bottom: 1px solid #dcdccc;
  width: 100%;
  transition: background 0.14s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #e0e6cd;
}

@media (max-width: 1015px) {
  header {
    flex-wrap: wrap;
    height: auto;
    min-height: unset;
  }
  .main-nav {
    gap: 15px;
  }
}

@media (max-width: 950px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header > .button.primary {
    display: none;
  }
}
@media (max-width: 700px) {
  header > a img {
    height: 36px;
    margin: 10px 12px 10px 0;
  }
  header {
    padding: 0 4px;
  }
}

/* Buttons */
.button, button, input[type=submit] {
  font-family: 'Montserrat', Arial, sans-serif;
  display: inline-block;
  min-width: 140px;
  padding: 12px 28px;
  border-radius: 28px;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  border: none;
  cursor: pointer;
  background: var(--secondary);
  color: #232514;
  transition: background 0.22s, color 0.22s, box-shadow 0.22s;
  box-shadow: 0 2px 8px 0 rgba(44,61,43,0.06);
  letter-spacing: 0.01em;
}
.button.primary,
.button.primary:visited {
  background: var(--secondary);
  color: #232514;
  box-shadow: 0 2px 12px -2px rgba(255,203,71,0.13);
}
.button.primary:hover, .button.primary:focus {
  background: #ffdc75;
  color: var(--forest);
  box-shadow: 0 6px 24px -8px #ffcb47aa;
}
.button.secondary {
  background: transparent;
  color: var(--forest);
  border: 2px solid var(--forest);
}
.button.secondary:hover, .button.secondary:focus {
  background: var(--moss);
  color: #fff;
}
.button:active {
  transform: scale(.97);
}

/* Section Patterns & Spacing */
.features, .services-overview, .case-studies, .about, .values, .pricing, .faq, .faq-list, .blog-list, .contact-details, .thank-you, .services-teaser, .about-short, .testimonials, .legal, .cta {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 16px 32px 16px 32px/18px 30px 18px 26px;
  background: #F7F8F4;
  box-shadow: 0 2px 20px 0 rgba(104,110,53,0.04);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  min-width: 220px;
  flex: 1 1 220px;
  margin-bottom: 20px;
  position: relative;
  border-radius: 18px;
  background: #fffefa;
  box-shadow: 0 2px 10px 0 rgba(110,120,85,0.09);
  padding: 28px 24px 24px 24px;
  transition: box-shadow 0.2s;
}
.card:hover, .card:focus {
  box-shadow: 0 8px 34px -8px #33614D22;
  z-index: 2;
}

.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: #FFF;
  border-radius: 20px 34px 16px 24px/24px 18px 24px 30px;
  box-shadow: 0 2px 12px 0 rgba(51,97,77,0.10);
  min-width: 250px;
  max-width: 350px;
  margin-bottom: 20px;
}
.testimonial-card p {
  color: #232514;
  font-size: 1rem;
}
.testimonial-card span {
  font-size: .96rem;
  color: var(--bark);
  font-style: italic;
  letter-spacing: 0.01em;
}
.testimonial-slider, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.feature-grid, .service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: stretch;
  justify-content: flex-start;
  margin-top: 20px;
}
.feature, .service {
  background: #fff;
  border-radius: 20px 32px 20px 28px/24px 22px 38px 20px;
  box-shadow: 0 1px 12px 0 rgba(44,61,43,0.07);
  flex: 1 1 250px;
  min-width: 200px;
  max-width: 270px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  border-left: 4px solid var(--moss);
  transition: box-shadow 0.23s, border-color 0.23s;
}
.feature img, .service img {
  width: 42px;
  height: 42px;
  margin-bottom: 8px;
}
.feature:hover, .service:hover {
  box-shadow: 0 8px 34px -8px #33614D26;
  border-left-color: var(--forest);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Blog & FAQ */
.blog-list .blog-posts {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.blog-post {
  flex: 1 1 240px;
  background: #fffdfa;
  border-radius: 18px 24px 14px 14px/20px 18px 12px 22px;
  padding: 24px 20px 16px 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px 0 rgba(51,61,40,0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.17s, box-shadow 0.17s;
}
.blog-post:hover {
  transform: translateY(-5px) scale(1.025);
  box-shadow: 0 6px 25px -5px #33614D24;
}
.read-more {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: var(--forest);
  margin-top: 10px;
  transition: color 0.22s;
}
.read-more:hover, .read-more:focus {
  color: var(--secondary);
}
.categories-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.categories-filter a {
  background: #ecf5e6;
  color: var(--forest);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 4px 14px;
  border-radius: 14px;
  border: none;
  transition: background 0.18s;
}
.categories-filter a:hover, .categories-filter a.active {
  background: var(--moss);
  color: #fff;
}

/* Table Styles - Pricing Table */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 2px 12px 0 rgba(165, 187, 146, 0.10);
}
.pricing-table thead {
  background: var(--moss);
}
.pricing-table th {
  padding: 14px 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  font-size: 1.1rem;
  text-align: left;
  font-weight: 600;
}
.pricing-table td {
  padding: 14px 8px;
  font-size: 1rem;
  color: var(--earth);
  background: #fff;
  border-bottom: 1px solid #ecead6;
}
.pricing-table tr:last-child td {
  border-bottom: none;
}

/* FAQ Styles */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.faq-item {
  background: #fffdfa;
  border-radius: 16px;
  padding: 20px 20px 16px 24px;
  box-shadow: 0 2px 8px 0 rgba(51,112,77,0.04);
}
.faq-item h3 {
  margin-bottom: 8px;
}

/* Projects/Case Studies */
.project-teasers {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.project-case {
  flex: 1 1 260px;
  background: #fff;
  border-radius: 18px 22px 18px 22px/24px 20px 24px 20px;
  padding: 24px 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px 0 rgba(86,119,54,0.07);
}
.project-case h3 {
  margin-bottom: 8px;
}

/* Contact Details/Thank You */
.contact-details ul, .thank-you ul {
  padding-left: 20px;
  margin-bottom: 16px;
}
.contact-details li, .thank-you li {
  margin-bottom: 10px;
}

/* Legal Section */
.legal {
  background: #f6f7f2;
  padding: 48px 24px;
  border-radius: 26px;
  box-shadow: 0 1px 12px 0 rgba(44,61,43,0.03);
}
.legal h1, .legal h2, .legal h3 {
  margin-top: 18px;
}
.legal ul {
  margin-bottom: 18px;
}

/* Call to Action */
.cta {
  background: linear-gradient(90deg, #dcf3ce 10%, #f7f8f4 90%);
  border-radius: 24px 34px 20px 16px/20px 14px 24px 30px;
  box-shadow: 0 6px 16px -8px #aabb92cc;
  margin-bottom: 60px;
}
.cta .button.primary {
  display: inline-block;
  margin: 12px 0 0 0;
}

/* Footer */
footer {
  background: #E8EEDA;
  border-top: 2px solid var(--moss);
  padding-top: 40px;
  padding-bottom: 32px;
  width: 100%;
}
footer .container {
  max-width: 1120px;
}
footer .content-wrapper {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px 40px;
  justify-content: space-between;
  width: 100%;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
.footer-nav a {
  color: var(--forest);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 5px 0;
  transition: color 0.19s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--secondary);
}
.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}
.social-links img {
  width: 26px; height: 26px;
  margin-left: 2px;
  transition: filter 0.23s;
}
.social-links img:hover { filter: brightness(0.85) contrast(1.2); }
.brand-tagline {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: .95rem;
  color: var(--bark);
  margin-top: 12px;
  opacity: 0.72;
}

@media (max-width: 900px) {
  .footer-nav, .social-links, .brand-tagline {
    flex: 1 1 100%;
  }
  footer .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* Hero Section */
.hero {
  background: linear-gradient(110deg, #f0f4e8 25%, #d2e2bc 85%);
  border-radius: 0 0 40px 40px / 0 0 18px 32px;
  box-shadow: 0 8px 32px -18px #aabb9266;
  margin-bottom: 60px;
  padding: 68px 0 48px 0;
}
.hero .headline, .hero h1 {
  font-size: 2.7rem;
  color: var(--forest);
  font-weight: 800;
}
.hero .subheadline {
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .hero { padding: 40px 0 28px 0; margin-bottom: 34px; }
  .container { padding: 0 10px; }
}

/* Responsive Flex Patterns */
@media (max-width: 1000px) {
  .feature-grid, .service-grid, .project-teasers, .blog-list .blog-posts, .testimonial-slider, .testimonial-list {
    flex-wrap: wrap;
    gap: 16px;
  }
  .feature, .service, .project-case, .blog-post, .testimonial-card {
    min-width: 180px;
    max-width: calc(50% - 18px);
  }
}
@media (max-width: 700px) {
  .feature-grid, .service-grid, .project-teasers, .blog-list .blog-posts, .testimonial-slider, .testimonial-list {
    flex-direction: column;
    gap: 12px;
  }
  .feature, .service, .project-case, .blog-post, .testimonial-card {
    min-width: unset;
    max-width: 100%;
  }
  .content-wrapper { gap: 12px; }
  .section, .features, .services-overview, .case-studies, .about, .values, .pricing, .faq, .faq-list, .blog-list, .contact-details, .thank-you, .services-teaser, .about-short, .testimonials, .legal, .cta {
    margin-bottom: 36px;
    padding: 24px 6px;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  h1, .headline { font-size: 1.6rem; }
  h2 { font-size: 1.2rem; }
  .hero .headline, .hero h1 { font-size: 2.1rem; }
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  z-index: 13000;
  left: 0; right: 0; bottom: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #fffefa;
  padding: 22px 32px 22px 22px;
  box-shadow: 0 -2px 24px 0 rgba(153,180,112,0.10);
  border-radius: 24px 24px 0 0;
  border-top: 2px solid var(--moss);
  transition: transform 0.3s cubic-bezier(0.51,0.05,0.32,1), opacity 0.19s;
  opacity: 0.97;
  font-size: 1rem;
  color: var(--earth);
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner p {
  margin: 0;
  padding: 0;
  flex: 1 1 auto;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
}
.cookie-banner .cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 8px 20px;
  border-radius: 18px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.19s, color 0.19s, box-shadow 0.19s;
}
.cookie-banner .cookie-btn.accept {
  background: var(--secondary);
  color: #232514;
  margin-right: 3px;
}
.cookie-banner .cookie-btn.accept:hover { background:#ffdc75; }
.cookie-banner .cookie-btn.reject {
  background: transparent;
  color: var(--forest);
  border: 2px solid var(--forest);
}
.cookie-banner .cookie-btn.reject:hover { background: var(--moss); color: #fff; }
.cookie-banner .cookie-btn.settings {
  background: #f4f4ae;
  color: var(--forest);
}
.cookie-banner .cookie-btn.settings:hover { background: var(--moss); color: #fff; }
@media (max-width: 800px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .cookie-banner .cookie-actions { padding-bottom: 4px; }
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  z-index: 13001;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(83,77,51,0.33);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.24s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.19s;
}
.cookie-modal .modal-content {
  background: #fffefa;
  padding: 38px 28px 30px 28px;
  border-radius: 22px 38px 20px 18px/22px 18px 28px 32px;
  min-width: 320px;
  max-width: 94vw;
  box-shadow: 0 6px 40px 0 rgba(51,112,77,0.15);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 18px; right: 18px;
  background: transparent;
  color: var(--forest);
  font-size: 1.6rem;
  border: none;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.18s;
}
.cookie-modal .close-modal:hover { background: var(--moss); color: #fff; }
.cookie-wrap label {
  font-size: 1rem;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.cookie-toggle {
  margin-left: 8px;
  appearance: none;
  width: 38px;
  height: 20px;
  background: #cde3b1;
  border-radius: 10px;
  position: relative;
  transition: background 0.24s;
}
.cookie-toggle:checked {
  background: var(--moss);
}
.cookie-toggle::after {
  content: '';
  position: absolute;
  left: 2px; top: 2px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px #d1d1ab;
  transition: left 0.19s;
}
.cookie-toggle:checked::after {
  left: 20px;
}

/* Utility Spacing */
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }
.mt-8 { margin-top: 8px; }
.mb-8 { margin-bottom: 8px; }

/* Misc & Animations */
@media (hover: hover) and (pointer: fine) {
  a, .button, button, input[type=submit] { transition: background 0.22s, color 0.22s, box-shadow 0.22s, transform 0.11s; }
  .feature:hover, .service:hover, .card:hover, .blog-post:hover, .testimonial-card:hover {
    transform: translateY(-5px) scale(1.017);
    box-shadow: 0 8px 42px -11px #33614D27;
    z-index: 2;
  }
}
::-webkit-scrollbar { width: 10px; background: #e5e7de; border-radius: 8px; }
::-webkit-scrollbar-thumb { background: #b7cfac; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #aabb92; }


/* Hide elements not needed on mobile   */
@media (max-width: 600px) {
  .footer-nav, .social-links, .brand-tagline {
    flex: 1 1 100%;
    justify-content: flex-start;
    padding-bottom: 6px;
  }
}
