/* ==== CSS RESET & NORMALIZE ==== */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F2F4EA;
  color: #23372C;
  line-height: 1.6;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #245C36;
  font-weight: 700;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 10px;
}
h4 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}
p, ul, ol {
  margin-bottom: 16px;
  max-width: 800px;
}
ul, ol {
  padding-left: 24px;
}
a {
  color: #245C36;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #67B08E;
}
strong {
  font-weight: 700;
  color: #245C36;
}

/* ==== LAYOUT & CONTAINERS ==== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: 20px;
  box-shadow: none;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

/* ==== HEADER & NAVIGATION ==== */
header {
  background: #F2F4EA;
  border-bottom: 2px solid #E2E1D4;
  position: relative;
  z-index: 40;
}
.header-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 0 8px 0;
}
.header-brand .tagline {
  font-size: 0.97rem;
  color: #52845f;
  font-family: 'Roboto', Arial, sans-serif;
  letter-spacing: 0.01em;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
}
.main-nav a {
  padding: 8px 16px;
  border-radius: 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #245C36;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #dbe8db;
  color: #245C36;
}
.main-nav .cta-primary {
  background: #245C36;
  color: #fff !important;
  font-weight: 700;
  border: none;
  box-shadow: 0 2px 12px 0 rgba(42, 87, 52, 0.07);
  padding: 10px 24px;
  margin-left: 8px;
  transition: background 0.2s, color 0.2s;
}
.main-nav .cta-primary:hover, .main-nav .cta-primary:focus {
  background: #67B08E;
  color: #fff;
}

/* ==== MOBILE NAVIGATION ==== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #245C36;
  cursor: pointer;
  margin-left: auto;
  z-index: 92;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #f5f9f2;
  box-shadow: 0 6px 30px rgba(55,60,41,0.16);
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.77,0,.18,1);
  z-index: 100;
  display: flex;
  flex-direction: column;
  padding: 0 0 32px 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 26px 8px 0;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #245C36;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 36px auto 0 auto;
  width: 92%;
  max-width: 420px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  color: #245C36;
  padding: 14px 0;
  border-bottom: 1px solid #dbe8db;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #dbe8db;
}

@media (max-width: 1020px) {
  .main-nav {
    gap: 10px;
  }
}

@media (max-width: 900px) {
  .main-nav {
    gap: 4px;
  }
}

@media (max-width: 768px) {
  .main-nav,
  .header-brand .tagline {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    top: 27px;
    right: 22px;
  }
  .header-brand {
    justify-content: flex-start;
    padding: 18px 0 8px 0;
  }
}

@media (min-width: 769px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ==== HERO SECTION ==== */
.hero {
  background: #E2EFD7 url('../assets/hero-texture.svg') repeat;
  border-radius: 0 0 32px 32px;
  margin-bottom: 40px;
  box-shadow: 0 14px 40px -15px rgba(86,144,100,0.09);
  display: flex;
  align-items: center;
  min-height: 320px;
}
.hero .container {
  width: 100%;
  display: flex;
  align-items: center;
}
.hero .content-wrapper {
  align-items: flex-start;
}
@media (max-width: 768px) {
  .hero {
    border-radius: 0 0 18px 18px;
    min-height: 180px;
    padding: 28px 0 26px 0;
  }
  .hero .content-wrapper {
    gap: 14px;
  }
}

/* ==== FEATURE OVERVIEW (INDEX) ==== */
.features-overview {
  background: #FFF;
  border-radius: 30px;
  box-shadow: 0 2px 12px 0 rgba(76,87,65,0.11);
}
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 22px;
}
.feature-item {
  background: #f7faf6;
  border-radius: 18px 32px 22px 26px/28px 38px 18px 14px;
  box-shadow: 0 4px 18px 0 rgba(103,176,142,0.13);
  padding: 26px 22px 22px 22px;
  flex: 1 1 260px;
  min-width: 230px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.22s, transform 0.22s;
  margin-bottom: 20px;
}
.feature-item img {
  width: 38px;
  height: 38px;
}
.feature-item h3 {
  font-size: 1.17rem;
  margin-bottom: 6px;
}
.feature-item p {
  font-size: 1.025rem;
  color: #364d36;
  margin-bottom: 0;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 8px 26px -3px rgba(36,92,54,0.16);
  transform: translateY(-3px) scale(1.02);
}
@media (max-width: 900px) {
  .features-grid {
    flex-direction: column;
    gap: 16px;
  }
  .feature-item {
    min-width: unset;
    width: 100%;
  }
}

/* ==== CARDS, CASES, BLOGS, TESTIMONIALS ==== */
.card-container, .card-grid, .content-grid, .case-list, .blog-preview-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card, .case-teaser, .blog-preview, .service-card {
  background: #fff;
  border-radius: 24px 15px 20px 32px/25px 35px 22px 17px;
  box-shadow: 0 1px 8px 0 rgba(55,110,75,0.11);
  padding: 26px 26px 22px 26px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.16s, transform 0.18s;
}
.card:hover, .case-teaser:hover, .blog-preview:hover, .service-card:hover, .service-card:focus-within {
  box-shadow: 0 8px 22px -2px rgba(36,92,54,0.13);
  transform: translateY(-2px) scale(1.012);
}
.service-card {
  border-left: 6px solid #67B08E;
}
.service-price {
  display: inline-block;
  margin-top: 2px;
  color: #245C36;
  font-weight: 700;
  background: #E2EFD7;
  padding: 3px 13px;
  border-radius: 12px/16px;
  font-size: 1.09rem;
}

@media (max-width: 900px) {
  .card-container, .card-grid, .content-grid, .case-list, .blog-preview-list {
    flex-direction: column;
    gap: 16px;
  }
}

/* ==== TESTIMONIALS ==== */
.testimonials {
  background: #f7faf6;
  border-radius: 28px;
  margin-bottom: 64px;
}
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 20px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  background: #fff;
  border-radius: 28px 19px 24px 16px/26px 31px 18px 23px;
  box-shadow: 0 2px 18px 0 rgba(36,92,54,0.12);
  color: #23372C;
  font-size: 1.09rem;
  min-width: 230px;
  flex: 1 1 300px;
  margin-bottom: 20px;
}
.testimonial-card strong {
  color: #245C36;
  margin-left: 14px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
@media (max-width: 900px) {
  .testimonial-list {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card {
    width: 100%;
    flex: 1 1 100%;
    padding: 16px 13px;
  }
}

/* ==== CTA BANNER ==== */
.cta-banner {
  background: #245C36;
  color: #fff;
  border-radius: 29px;
  box-shadow: 0 6px 18px -7px rgba(36,92,54,0.34);
  padding: 42px 24px;
  margin-bottom: 36px;
}
.cta-banner h2, .cta-banner p {
  color: #fff;
}
.cta-banner a.cta-primary {
  background: #67B08E;
  color: #245C36 !important;
  font-weight: 700;
  font-size: 1.125rem;
}
.cta-banner a.cta-primary:hover, .cta-banner a.cta-primary:focus {
  background: #fff;
  color: #245C36 !important;
}

/* ==== BUTTONS, CTAs & LINKS ==== */
.cta-primary {
  display: inline-block;
  background: #245C36;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  padding: 12px 32px;
  border: none;
  border-radius: 32px 18px 25px 20px/22px 32px 27px 12px;
  cursor: pointer;
  margin-top: 10px;
  box-shadow: 0 4px 16px 0 rgba(36,92,54,0.07);
  transition: background 0.22s, color 0.22s, transform 0.13s;
}
.cta-primary:hover, .cta-primary:focus {
  background: #67B08E;
  color: #245C36;
  transform: translateY(-2px) scale(1.02);
}
.cta-link {
  color: #245C36;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.04rem;
  text-decoration: underline;
  transition: color 0.18s;
  margin-top: 8px;
}
.cta-link:hover, .cta-link:focus {
  color: #67B08E;
}
button, input[type="submit"] {
  font-family: inherit;
}

/* ==== FORMS AND SEARCH BAR ==== */
.search-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.search-bar label {
  font-weight: 500;
  color: #245C36;
}
.search-bar input[type="search"] {
  padding: 9px 16px;
  border-radius: 20px;
  border: 1px solid #dbe8db;
  background: #fff;
  font-size: 1rem;
  color: #245C36;
}
.search-bar button {
  padding: 9px 20px;
  border-radius: 22px;
  background: #245C36;
  color: #fff;
  border: none;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s;
}
.search-bar button:hover, .search-bar button:focus {
  background: #67B08E;
  color: #245C36;
}

/* ==== FOOTER ==== */
footer {
  background: #23372C;
  color: #dbe8db;
  padding: 44px 0 28px 0;
  margin-top: 44px;
  border-radius: 42px 42px 0 0/30px 50px 0 0;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 14px;
}
.footer-brand img {
  height: 38px;
  width: auto;
}
.footer-brand span {
  font-size: 1.05rem;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 12px;
}
.footer-nav a {
  color: #dbe8db;
  font-size: 1rem;
  transition: color 0.15s;
  padding: 0 8px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #67B08E;
}
.footer-contact {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: #e8f0e2;
  font-size: 0.97rem;
}
@media (max-width: 900px) {
  footer {
    border-radius: 32px 32px 0 0/16px 16px 0 0;
    padding: 30px 0 18px 0;
  }
  .footer-brand img {
    height: 28px;
  }
  .footer-contact {
    font-size: 0.91rem;
  }
}

/* ==== UTILITY LAYOUT CLASSES ==== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .content-grid {
    flex-direction: column;
    gap: 12px;
  }
}

/* ==== LEGAL SECTION, MODALS, ETC. ==== */
.legal-section {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 1px 8px 0 rgba(103,176,142,0.08);
  padding: 44px 28px;
  margin-bottom: 44px;
}
@media (max-width: 768px) {
  .legal-section {
    padding: 23px 8px;
    border-radius: 14px;
  }
}

/* ==== COOKIE CONSENT BANNER AND MODAL ==== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #245C36;
  color: #fff;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 22px 12vw 22px 12vw;
  gap: 46px;
  z-index: 9999;
  box-shadow: 0 -4px 32px 0 rgba(36,92,54,0.23);
  font-size: 1.08rem;
  animation: slideUp 0.38s cubic-bezier(.59,.53,.45,1.39);
  border-radius: 18px 18px 0 0/20px 20px 0 0;
}
@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0.3; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-left: 24px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 9px 21px;
  border-radius: 20px 14px 22px 11px/11px 22px 15px 14px;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  margin-right: 6px;
  cursor: pointer;
  transition: background 0.16s, color 0.16s, transform 0.15s;
}
.cookie-banner .accept {
  background: #67B08E;
  color: #23372C;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #fff;
  color: #245C36;
  transform: translateY(-2px);
}
.cookie-banner .reject {
  background: #bc6844;
  color: #fff;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #933c13;
}
.cookie-banner .settings {
  background: #fff;
  color: #245C36;
  border: 1px solid #67B08E;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #67B08E;
  color: #fff;
}
@media (max-width: 900px) {
  .cookie-banner {
    flex-direction: column;
    gap: 20px;
    padding: 14px 5vw;
    font-size: 0.99rem;
  }
  .cookie-banner .cookie-actions {
    margin-left: 0;
    gap: 11px;
  }
}

/* ==== COOKIE MODAL ==== */
.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(36,92,54,0.18);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.24s;
}
.cookie-modal.open {
  pointer-events: auto;
  opacity: 1;
}
.cookie-modal .cookie-modal-content {
  background: #fff;
  color: #245C36;
  padding: 38px 36px 32px 36px;
  border-radius: 28px 18px 24px 16px/20px 30px 20px 16px;
  box-shadow: 0 10px 48px -4px rgba(36,92,54,0.22);
  min-width: 340px;
  max-width: 90vw;
  min-height: 180px;
  font-size: 1.07rem;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: fadeInModal 0.33s cubic-bezier(.59,.53,.45,1.39);
}
@keyframes fadeInModal {
  from { transform: scale(0.9); opacity:0; }
  to { transform: scale(1); opacity:1; }
}
.cookie-modal .modal-close {
  position: absolute;
  top: 24px;
  right: 34px;
  background: none;
  border: none;
  color: #245C36;
  font-size: 1.9rem;
  cursor: pointer;
}
.cookie-modal .cookie-modal-footer {
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 18px;
}
/* Cookie toggle switches */
.cookie-toggle {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 10px 0 4px 0;
}
.cookie-switch {
  position: relative;
  width: 36px;
  height: 20px;
  display: inline-block;
}
.cookie-switch input {
  opacity: 0;
  width: 36px;
  height: 20px;
  margin: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  background-color: #dbe8db;
  border-radius: 13px;
  top: 0; left: 0; right: 0; bottom: 0;
  transition: background 0.2s;
}
.cookie-switch input:checked + .cookie-slider {
  background-color: #67B08E;
}
.cookie-slider:before {
  position: absolute;
  content: '';
  height: 16px;
  width: 16px;
  left: 2px;
  bottom: 2px;
  background-color: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(16px);
}
.cookie-toggle .essential {
  color: #23372C;
  font-weight: 500;
}
.cookie-toggle .toggle-label {
  min-width: 130px;
  font-size: 1rem;
}
@media (max-width: 440px) {
  .cookie-modal .cookie-modal-content {
    padding: 14px 8px 14px 8px;
    min-width: 0;
    font-size: 0.98rem;
  }
}

/* ==== RESPONSIVE SPACING ==== */
@media (max-width: 700px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .feature-item, .card, .service-card, .case-teaser, .testimonial-card, .legal-section {
    padding: 13px 8px 11px 8px;
  }
  .cta-banner {
    padding: 21px 6px;
    border-radius: 18px;
    font-size: 0.99rem;
  }
}

/* ==== TYPOGRAPHY SCALE ==== */
@media (max-width: 700px) {
  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.15rem;
  }
  h3 {
    font-size: 1rem;
  }
}

/* ==== ORGANIC/NATURE VISUAL DESIGN ==== */
/* Textures and shapes */
.hero, .features-overview, .cta-banner, .testimonial-card, .footer-brand, .service-card {
  /* soft rounded corners, organic look */
  border-radius: 30px 40px 26px 26px/30px 36px 25px 22px;
}
section {
  background: none;
}
.features-overview, .testimonial-card, .service-card {
  box-shadow: 0 5px 16px 0 rgba(103,176,142,0.06);
}

/* Earth tones for callouts */
.service-card {
  border-left: 6px solid #bc6844;
}

/* Subtle leaf/accent icons could be placed (if desired) via ::before for buttons */
.cta-primary::before {
  content: '';
  display: inline-block;
  width: 0.9em;
  height: 0.9em;
  margin-right: 9px;
  background: url('../assets/icons/icon-leaf.svg') no-repeat center/contain;
  vertical-align: middle;
}

/* Remove leading icon for navigation CTAs */
.main-nav .cta-primary::before,
.cta-banner .cta-primary::before {
  display: none;
}

/* ==== GENERAL ACCESSIBILITY ==== */
:focus {
  outline: 2px solid #67B08E;
  outline-offset: 2px;
}

/* ==== THANK YOU PAGE ==== */
.thank-you-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
  min-height: 320px;
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 4px 16px rgba(103,176,142,0.09);
}

/* ==== HIDE NATIVE SCROLLBARS FOR MODALS/MENUS (AESTHETICALLY) ==== */
.mobile-menu, .cookie-modal {
  scrollbar-width: thin;
  scrollbar-color: #dbe8db #eaf5df;
}
.mobile-menu::-webkit-scrollbar, .cookie-modal::-webkit-scrollbar {
  width: 7px;
  background-color: #eaf5df;
}
.mobile-menu::-webkit-scrollbar-thumb, .cookie-modal::-webkit-scrollbar-thumb {
  background-color: #dbe8db;
  border-radius: 8px;
}

/* ==== OTHER COMPONENTS ==== */
.address-block p {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
}
.address-block img {
  width: 18px;
  opacity: 0.6;
}

.opening-hours ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 1.03rem;
}

/* ==== PRINT STYLES ==== */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal {display:none!important;}
  body { background:#fff;color:#23372C; }
  main { padding:0!important; }
}
