/* === CSS RESET & BASE STYLES === */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F7F4F0;
  color: #2B3541;
  line-height: 1.6;
  min-height: 100vh;
}
img,svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #405A38;
  text-decoration: none;
  transition: color .2s;
}
a:focus, a:hover {
  color: #2B3541;
  text-decoration: underline;
}
button {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
}
ul {
  list-style: disc inside;
  margin: 0 0 16px 0;
  padding-left: 24px;
}
strong {
  font-weight: 700;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Verdana, Geneva, sans-serif;
  color: #314124;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.17;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 16px;
}
h4 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}
p, li, table, .service-price {
  font-size: 1rem;
  color: #2B3541;
}
.text-section p, .text-section ul, .content-wrapper p, .content-wrapper ul {
  margin-bottom: 14px;
}

/* === GLOBAL FLEX LAYOUTS === */
.section {
  margin-bottom: 60px;
  padding: 40px 0;
}
.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;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #FDFCFA;
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 rgba(73, 103, 62, 0.10);
  border: 1px solid #E9E6DE;
  margin-bottom: 20px;
  min-width: 270px;
  max-width: 370px;
  flex: 1 1 300px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.cta-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 32px 0;
}
.feature-grid,
.testimonials,
.blog-post-list,
.service-detail-cards,
.service-list,
.benefits-grid,
.before-after-stories {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature-grid > div,
.benefits-grid > div,
.service-detail-cards > div,
.service-list > div,
.before-after-stories > div,
.blog-post-list > article {
  background: #FFF;
  border-radius: 18px 24px 18px 28px;
  /* organic shape */
  box-shadow: 0 3px 16px 0 rgba(105, 96, 71, 0.10);
  padding: 28px 22px 22px 30px;
  border: 1px solid #ECEBE4;
  flex: 1 1 270px;
  min-width: 250px;
  max-width: 360px;
  transition: transform .15s, box-shadow .15s;
}
.feature-grid > div:hover,
.benefits-grid > div:hover,
.service-detail-cards > div:hover,
.service-list > div:hover,
.before-after-stories > div:hover,
.blog-post-list > article:hover {
  transform: translateY(-4px) scale(1.016);
  box-shadow: 0 6px 28px 0 rgba(74, 111, 60, 0.18);
}

.text-section {
  display: flex;
  flex-direction: column;
}

/* === HEADER & NAVIGATION === */
header {
  background: #ffffff;
  border-bottom: 1.5px solid #F2EDE1;
  box-shadow: 0 2px 8px 0 rgba(60, 80, 45, 0.03);
  position: relative;
  z-index: 100;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
  padding: 14px 20px;
  min-height: 80px;
}
.logo img {
  height: 44px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  margin-left: 22px;
}
.main-nav a {
  color: #405A38;
  font-family: 'Montserrat', Verdana, Geneva, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  padding: 8px 5px;
  border-radius: 7px;
  transition: color 0.22s, background 0.22s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #F7F4F0;
  color: #2B3541;
}
.cta.primary {
  margin-left: auto;
}

/* === CTA BUTTONS === */
.cta {
  display: inline-block;
  font-family: 'Montserrat', Verdana, Geneva, sans-serif;
  font-weight: 700;
  border-radius: 30px 18px 34px 22px;
  padding: 14px 32px 14px 28px;
  font-size: 1.15rem;
  background: #5D8B53;
  color: #fff;
  border: none;
  box-shadow: 0 2px 8px 0 rgba(91,128,78,0.11);
  transition: background .18s, box-shadow .18s, transform .12s;
  cursor: pointer;
  text-align: center;
}
.cta.primary {
  background: #5D8B53;
  color: #fff;
}
.cta.secondary {
  background: #fff;
  color: #4D6B39;
  border: 2px solid #B9BC82;
  box-shadow: 0 3px 14px 0 rgba(91,128,78,0.07);
}
.cta:hover, .cta:focus {
  background: #406A34;
  color: #fff;
  transform: translateY(-2px) scale(1.022);
  box-shadow: 0 6px 22px 0 rgba(90,132,69,0.11);
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #EDF5EC;
  color: #314124;
  border-color: #89A464;
}

/* === MOBILE MENU === */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 22px;
  top: 16px;
  z-index: 310;
  background: #F9F6EE;
  border: none;
  border-radius: 10px;
  font-size: 2rem;
  width: 46px;
  height: 46px;
  box-shadow: 0 0.5px 6px 0 rgba(52, 70, 38, 0.05);
  color: #2B3541;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background .19s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #D6A56122;
  outline: 2px solid #D6A561;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 90vw;
  max-width: 350px;
  height: 100vh;
  background: #EAEDDE;
  box-shadow: 0 8px 32px 6px rgba(75,90,60,0.13);
  z-index: 9999;
  transform: translateX(-105%);
  transition: transform 0.38s cubic-bezier(.88,0,.32,1);
  padding: 0;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  right: 18px;
  top: 14px;
  background: transparent;
  font-size: 2rem;
  color: #597539;
  border: none;
  z-index: 10001;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #2B3541;
  background: #E4DDCA66;
  border-radius: 10px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  margin-top: 54px;
  gap: 10px;
  padding: 20px 16px 30px 34px;
}
.mobile-nav a {
  color: #30482B;
  background: none;
  padding: 11px 0;
  font-size: 1.2rem;
  font-family: 'Montserrat', Verdana, Geneva, sans-serif;
  font-weight: 600;
  border-radius: 8px;
  transition: background .16s, color .16s;
  min-width: 180px;
}
.mobile-nav a:active,
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: #DAE6CD;
  color: #405A38;
  text-decoration: underline;
}
/* Mobile menu overlay */
.mobile-menu.open::after {
  content: '';
  display: block;
  position: fixed;
  left: 350px;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(35,41,27,0.18);
  z-index: 9998;
  pointer-events: auto;
}

/* === HERO, FEATURES, SERVICES, TABLES, ETC. === */
h1 + p {
  margin-bottom: 30px;
}
.service-price {
  color: #5D8B53;
  background: #ECEBE4;
  border-radius: 1em;
  font-size: 1.08rem;
  font-weight: 600;
  padding: 4px 16px;
  margin-top: 12px;
  margin-bottom: 0;
}

/* Table styles */
table {
  width: 100%;
  border-collapse: collapse;
  background: #FFF;
  border-radius: 20px 22px 17px 26px;
  box-shadow: 0 2px 12px 0 rgba(187,184,143,0.09);
  margin-bottom: 20px;
  overflow: hidden;
}
thead tr {
  background: #EAEDDE;
}
th, td {
  padding: 16px 14px;
  border-bottom: 1px solid #E1DEC5;
  font-size: 1rem;
}
th {
  font-family: 'Montserrat', Verdana, Geneva, sans-serif;
  font-weight: 700;
  color: #406A34;
}
tr:last-child td {
  border-bottom: none;
}
td {
  color: #2B3541;
}

/* List enhancements  */
ul li {
  margin-bottom: 8px;
  padding-left: 0;
}

/* Tag List */
.popular-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.97rem;
  color: #6B8551;
  margin-top: 6px;
  margin-bottom: 20px;
}
.popular-tags span {
  background: #EAEDDE;
  border-radius: 14px 12px 20px 14px;
  padding: 6px 14px;
  font-weight: 600;
  color: #405A38;
}

/* === TESTIMONIAL CARDS === */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
}
.testimonial-card {
  background: #F7F6F3;
  border-radius: 24px 16px 26px 24px;
  box-shadow: 0 4px 18px 0 rgba(110,128,90,0.08);
  border: 1px solid #E4E0D1;
  min-width: 260px;
  max-width: 380px;
  color: #1D3320;
  font-size: 1.04rem;
  transition: outline .16s, box-shadow .16s;
  outline: none;
}
.testimonial-card p {
  margin-bottom: 10px;
  font-size: 1.07rem;
  color: #2B3541;
}
.testimonial-name {
  font-weight: 600;
  color: #406A34;
  font-size: 0.95rem;
}
.testimonial-rating {
  color: #D6A561;
  font-size: 1.3rem;
  letter-spacing: 2px;
}
.testimonial-card:focus-within, .testimonial-card:hover {
  outline: 2px solid #B0B856;
  box-shadow: 0 8px 22px 0 rgba(110,128,90,0.16);
}

/* === FOOTER === */
footer {
  background: #314124;
  color: #F7F4F0;
  padding: 48px 0 26px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  align-items: flex-start;
  justify-content: space-between;
  font-size: 1rem;
}
.footer-brand img {
  height: 48px;
  margin-bottom: 18px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #CFD6B2;
  font-weight: 600;
  transition: color .16s;
}
.footer-nav a:focus, .footer-nav a:hover {
  color: #D6A561;
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #F7F4F0;
  font-size: 0.98rem;
}
.footer-contact img {
  height: 16px;
  margin-right: 7px;
  vertical-align: middle;
  display: inline-block;
}
.footer-copy {
  width: 100%;
  margin-top: 26px;
  font-size: 0.95rem;
  color: #B4BC9B;
  text-align: center;
}

/* === ORGANIC-STYLE ELEMENTS === */
/* Organic decorative shapes for sections/cards (optional) */
.card, .feature-grid > div, .benefits-grid > div, .testimonial-card {
  border-radius: 22px 30px 18px 30px;
}

/* Minor organic shapes via pseudo (eg. background dots/leaves, not for main UI) */
/* .section::before can be used for style extensions */

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 20001;
  background: #FFF8E9;
  border-top: 2px solid #D6A561;
  box-shadow: 0 -2px 22px 0 rgba(146,122,47,0.15);
  padding: 28px 18px 24px 18px;
  gap: 12px;
  font-size: 1rem;
  animation: cookieBannerSlidein .7s cubic-bezier(.62,.05,.49,.98);
}
@keyframes cookieBannerSlidein {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: #2B3541;
  margin-bottom: 8px;
  text-align: center;
}
.cookie-banner .cookie-btn-group {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 8px;
}
.cookie-banner button {
  font-family: 'Montserrat', Verdana, Geneva, sans-serif;
  font-size: 1rem;
  padding: 9px 24px;
  border-radius: 20px 24px 20px 16px;
  border: none;
  box-shadow: 0 1.5px 7px 0 rgba(211,168,83,0.09);
  font-weight: 600;
  transition: background 0.19s, color 0.19s;
  cursor: pointer;
}
.cookie-banner .cookie-accept {
  background: #B8DDA0;
  color: #2B3541;
}
.cookie-banner .cookie-accept:hover,
.cookie-banner .cookie-accept:focus {
  background: #A8CF85;
  color: #1E3016;
}
.cookie-banner .cookie-reject {
  background: #E6E3D2;
  color: #47411B;
}
.cookie-banner .cookie-reject:hover,
.cookie-banner .cookie-reject:focus {
  background: #F7EFE0;
}
.cookie-banner .cookie-settings {
  background: none;
  color: #6B803E;
  border: 2px solid #B8DDA0;
}
.cookie-banner .cookie-settings:hover, .cookie-banner .cookie-settings:focus {
  background: #ECF3DD;
  color: #2B3541;
}

.cookie-modal-overlay {
  display: none;
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(27,37,17,0.23);
  z-index: 21000;
}
.cookie-modal-overlay.open {
  display: block;
}
.cookie-modal {
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: fixed;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%) scale(0.96);
  z-index: 22000;
  min-width: 320px; max-width: 95vw;
  background: #FDFCFA;
  border-radius: 20px 28px 18px 30px;
  box-shadow: 0 4px 34px 2px rgba(74,60,18,0.14);
  padding: 34px 24px 27px 24px;
  animation: cookieModalPop .33s cubic-bezier(.71,-0.25,.34,1.22);
}
@keyframes cookieModalPop {
  0% { transform: translate(-50%,-50%) scale(0.9); opacity: 0; }
  100% { transform: translate(-50%,-50%) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.3rem;
  color: #2B3541;
  margin-bottom: 2px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.cookie-modal .cookie-switch {
  position: relative;
  display: inline-block;
  width: 38px; height: 22px;
}
.cookie-modal .cookie-switch input {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-modal .cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #EDEFEC;
  border-radius: 17px;
  transition: background .19s;
}
.cookie-modal .cookie-switch input:checked + .cookie-slider {
  background: #A7DA7C;
}
.cookie-modal .cookie-slider:before {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1.5px 3px 0 rgba(93,173,65,0.04);
  transition: transform .18s;
}
.cookie-modal .cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(16px);
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
}
.cookie-modal button {
  font-family: 'Montserrat', Verdana, Geneva, sans-serif;
  font-size: 1rem;
  padding: 8px 21px;
  border-radius: 14px 16px 14px 14px;
  border: none;
  background: #B8DDA0;
  color: #2B3541;
  font-weight: 700;
  box-shadow: 0 1.5px 6px 0 rgba(137,185,92,0.08);
  transition: background 0.18s, color 0.18s;
  cursor: pointer;
}
.cookie-modal button:hover, .cookie-modal button:focus {
  background: #A8CF85;
}
.cookie-modal .cookie-close-modal {
  background: none;
  color: #62743C;
  font-weight: 700;
  margin-right: auto;
  border: 2px solid #B8DDA0;
}
.cookie-modal .cookie-close-modal:hover, .cookie-modal .cookie-close-modal:focus {
  background: #F8FAF6;
}

/* === RESPONSIVE DESIGN: MOBILE-FIRST, FLEX-ONLY === */
@media (max-width: 1024px) {
  .container {
    max-width: 96vw;
  }
  .header .container {
    gap: 16px;
  }
  .main-nav {
    gap: 16px;
  }
  .feature-grid > div, .benefits-grid > div, .service-detail-cards > div, .service-list > div, .before-after-stories > div, .blog-post-list > article {
    min-width: 190px;
    max-width: 340px;
  }
}
@media (max-width: 900px) {
  .features, .feature-grid, .benefits-grid, .testimonials, .service-detail-cards, .service-list, .before-after-stories {
    gap: 18px;
  }
  .content-wrapper, .card-container {
    gap: 18px;
  }
  .footer-contact, .footer-nav {
    font-size: 0.99rem;
  }
}
@media (max-width: 768px) {
  body {
    font-size: 15px;
  }
  .header .container, header .container {
    flex-direction: row;
    gap: 10px;
    padding: 10px 12px;
  }
  .logo img {
    height: 35px;
  }
  .main-nav, .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .section {
    padding: 28px 0;
    margin-bottom: 36px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.47rem; }
  .feature-grid > div, .benefits-grid > div,
  .service-detail-cards > div, .service-list > div, .before-after-stories > div, .blog-post-list > article {
    min-width: 85vw;
    max-width: 100%;
    padding: 18px 14px 16px 17px;
  }
  .content-wrapper, .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .cta-area {
    padding: 14px 0;
  }
  .testimonials {
    gap: 12px;
  }
  .testimonial-card {
    min-width: 90vw;
    max-width: 100vw;
    padding: 16px 10px;
    font-size: 1rem;
  }
  .footer-brand img {
    height: 36px;
  }
  footer .container {
    gap: 20px;
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-copy {
    margin-top: 18px;
  }
}
@media (max-width: 560px) {
  body { font-size: 14px; }
  .cookie-banner {
    padding: 16px 6px 14px 6px;
    font-size: 0.93rem;
    gap: 7px;
  }
  .cookie-banner .cookie-btn-group {
    flex-direction: column;
    gap: 10px;
  }
  .cookie-modal {
    min-width: 94vw;
    font-size: 0.96rem;
    padding: 16px 7px 10px 7px;
  }
}

/* === FOCUS VISIBLE & ACCESSIBILITY === */
:focus-visible {
  outline: 2.5px solid #D6A561;
  outline-offset: 2px;
}

/* === MISC UTILITY CLASSES === */
.text-center { text-align: center; }
.mb-24 { margin-bottom: 24px; }
.mt-24 { margin-top: 24px; }

/* === BRAND COLORS, PALETTE, AND ORGANIC NATURE ACCENTS === */
.root, body {
  --color-primary: #2B3541;
  --color-secondary: #D6A561;
  --color-accent: #F7F4F0;
  --color-green: #5D8B53;
  --color-leaf: #A7DA7C;
  --color-brown: #8B7B62;
  --color-earth: #776A52;
}

.footer-contact p {
  color: white;
}

/* For style audit: No grid or columns used anywhere */