/* === CSS RESET & NORMALIZE === */
html { box-sizing: border-box; font-size: 100%; }
*, *::before, *::after { box-sizing: inherit; margin: 0; padding: 0; }
body {
  background: #f8f7f5;
  color: #2d312b;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: #22723A; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #133e1e; text-decoration: underline; }
button, .btn-primary, .btn-secondary { font-family: inherit; outline: none; border: none; cursor: pointer; }
ul, ol { padding-left: 1.2em; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', 'Georgia', 'Times New Roman', Times, serif;
  font-weight: 700;
  color: #133e1e;
  margin-bottom: 18px;
  line-height: 1.18;
}
h1 { font-size: 2.5rem; margin-bottom: 30px; }
h2 { font-size: 2rem; margin-bottom: 26px; }
h3 { font-size: 1.3rem; margin-bottom: 20px; font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }

/* == CONTAINER, SECTIONS, WRAPPERS == */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 22px 0 rgba(34, 114, 58, 0.04);
}
.content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: flex-start;
  align-items: flex-start;
  margin-bottom: 0;
}

.map-placeholder {
  background: #f0f5ef;
  border: 1px solid #e2e5df;
  border-radius: 12px;
  padding: 18px 18px;
  font-style: italic;
  min-width: 220px;
}

.stats-bar {
  display: flex; flex-wrap: wrap; gap: 24px; margin-top: 22px;
  font-weight: 600; font-size: 1.05rem; color: #22723A;
}

.brand-details {
  display: flex; flex-direction: column; align-items: flex-start; flex: 1 1 220px;
  gap: 12px;
}

.footer-menu {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin: 15px 0 0 0;
  font-size: 15px;
}
.footer-menu a {
  color: #133e1e;
  transition: color 0.18s;
}
.footer-menu a:hover { color: #6DB886; }

/* == NAVIGATION == */
header {
  background: #ffffff; box-shadow: 0 2px 12px 0 rgba(34,114,58,0.06);
  position: relative; z-index: 222;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 18px 20px;
}
nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
nav a {
  font-size: 1.01rem;
  color: #133e1e;
  font-family: 'Merriweather', 'Georgia', serif;
  font-weight: 500;
  padding: 4px 0 2px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-bottom-color 0.22s;
}
nav a:hover, nav a:focus {
  color: #22723A;
  border-bottom: 2px solid #6DB886;
  background: none;
}
/* Hide nav on mobile */
@media (max-width: 1050px) {
  header nav { display: none; }
}

/* == BUTTONS == */
.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  margin: 12px 0 0 0;
  border-radius: 25px;
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: background 0.21s, color 0.21s, box-shadow 0.21s;
  box-shadow: 0 1px 10px rgba(30,60,35,0.07);
  cursor: pointer;
  outline: none;
  border: none;
  line-height: 1.13;
}

.btn-primary {
  background: #22723A;
  color: #fff;
}
.btn-primary:hover, .btn-primary:focus {
  background: #1b5a2e;
  color: #fff;
  box-shadow: 0 2px 15px rgba(34,114,58,0.13);
}
.btn-secondary {
  background: #fff;
  color: #22723A;
  border: 1px solid #22723A;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #eaf5ed;
  border-color: #6DB886;
  color: #133e1e;
  box-shadow: 0 2px 15px rgba(109,184,134,0.08);
}

/* == MOBILE MENU == */
.mobile-menu-toggle {
  display: none;
  background: #22723A;
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 6px;
  padding: 6px 18px 8px 18px;
  margin-left: 8px;
  transition: background 0.19s, color 0.19s;
  z-index: 305;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #6DB886;
  color: #133e1e;
}
@media (max-width: 1050px) {
  .mobile-menu-toggle {
    display: block;
  }
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #f8f7f5;
  z-index: 9998;
  transform: translateX(-100vw);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(.42,.01,.38,.96), opacity 0.29s;
  box-shadow: 0 0 0 100vw rgba(34,114,58,0.03);
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 24px 0 0;
  font-size: 2.1rem;
  background: none;
  color: #133e1e;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.19s;
  z-index: 10000;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #eaf5ed;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  margin: 40px 0 0 32px;
  width: 84vw;
}
.mobile-nav a {
  font-size: 1.23rem;
  color: #133e1e;
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 600;
  padding: 7px 2px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  min-width: 140px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #eaf5ed;
  color: #22723A;
}

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


/* === FLEXBOX LAYOUTS: SPACING & ALIGNMENT === */
.card-container {
  display: flex; flex-wrap: wrap; gap: 24px; margin-bottom: 30px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 15px;
  box-shadow: 0 2px 16px 0 rgba(34,114,58,0.09);
  background: #fff;
  padding: 30px 26px 28px;
  min-width: 240px;
  flex: 1 1 250px;
}
.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;
  min-width: 230px;
  background: #f6f7f3;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px 0 rgba(34, 80, 58,0.06);
  border-left: 5px solid #6DB886;
}
.testimonial-card blockquote {
  font-size: 1.1rem;
  color: #222;
  line-height: 1.45;
  font-family: 'Merriweather', Georgia, serif;
  quotes: "\201C" "\201D";
}
.testimonial-author {
  color: #22723A;
  font-weight: bold;
  font-size: 0.98rem;
  font-family: 'Roboto', Arial, sans-serif;
}
.feature-item {
  display: flex; flex-direction: column; align-items: flex-start; gap: 15px;
}

/* == SECTIONS & LISTS & MISC == */
ul {
  margin-bottom: 20px;
  list-style-type: disc;
}
li {
  margin-bottom: 10px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 12px;
}
li img {
  width: 28px; height: 28px; object-fit: contain; margin-right: 6px;
}

.text-section {
  flex: 1 1 350px;
  min-width: 220px;
  font-size: 1.07rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  min-width: 220px;
  font-size: 1.04rem;
}
.contact-info img { width: 22px; height: 22px; margin-right: 7px; vertical-align: middle; }

.service-card {
  background: #fcfcfa;
  box-shadow: 0 1px 8px 0 rgba(34,114,58,0.06);
  border: 1px solid #e2e5df;
  border-radius: 15px;
  padding: 28px 20px 24px;
  margin-bottom: 20px;
  min-width: 220px;
  flex: 1 1 250px;
  transition: box-shadow 0.18s, border-color 0.18s, transform 0.19s;
}
.service-card h3 {
  font-size: 1.12rem; margin-bottom: 14px; color: #22723A;
  display: flex; gap: 9px; align-items: center;
}
.service-card:hover, .service-card:focus-within {
  box-shadow: 0 3px 16px 0 rgba(109,184,134,0.13);
  border-color: #6DB886;
  transform: translateY(-3px) scale(1.012);
}
.service-price {
  font-size: 1.08rem;
  font-weight: 700;
  margin-top: 16px;
  color: #22723A;
  font-family: 'Merriweather', Georgia, serif;
}

.project-tile {
  background: #f6f6f4;
  border-radius: 13px;
  box-shadow: 0 1px 9px rgba(34,114,58,0.045);
  border-left: 4px solid #22723A;
  padding: 24px 21px 20px 21px;
  min-width: 220px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, border-color 0.18s, transform 0.19s;
}
.project-tile h3 { color: #22723A; margin-bottom: 9px; font-size: 1.12rem; }
.project-tile:hover, .project-tile:focus-within {
  box-shadow: 0 3px 13px 0 rgba(34,114,58,0.13);
  border-color: #6DB886;
  transform: translateY(-3px) scale(1.014);
}

/* === FOOTER === */
footer {
  background: #f5f6f2; border-top: 1px solid #e2e5df; padding: 40px 0 30px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 48px 32px;
  justify-content: space-between;
  align-items: flex-start;
}
footer .brand-details img {
  width: 53px; height: 53px; margin-bottom: 7px;
}
footer p {
  font-size: 1rem;
  color: #455145;
}

/* ==== COOKIE CONSENT BANNER & MODAL ==== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  border-top: 2px solid #6DB886;
  box-shadow: 0 -1px 24px 0 rgba(34,114,58,0.07);
  padding: 24px 18px 20px 18px;
  z-index: 11005;
  display: flex;
  flex-wrap: wrap;
  gap: 26px 24px;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  animation: slideUp 0.46s cubic-bezier(.4,.01,.48,1);
}
@keyframes slideUp {
  from { transform: translateY(90px); opacity: 0; } to { transform: none; opacity: 1; }
}
.cookie-banner .cookie-btns {
  display: flex; gap: 15px;
}
.cookie-banner button {
  font-size: 1.02rem;
  padding: 9px 22px;
  border-radius: 21px;
  border: 1.5px solid transparent;
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.19s, border 0.19s, color 0.17s;
}
.cookie-banner .accept-btn {
  background: #22723A;
  color: #fff;
}
.cookie-banner .accept-btn:hover { background: #1b5a2e; }
.cookie-banner .reject-btn {
  background: #fff;
  border: 1.5px solid #6DB886;
  color: #22723A;
}
.cookie-banner .reject-btn:hover {
  background: #eaf5ed;
  color: #133e1e;
}
.cookie-banner .settings-btn {
  background: #f5f6f2;
  color: #133e1e;
  border: 1.5px solid #e2e5df;
}
.cookie-banner .settings-btn:hover { background: #eaf5ed; }

.cookie-modal-overlay {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(30,60,35,0.29);
  z-index: 11008;
  display: flex; justify-content: center; align-items: center;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  max-width: 430px;
  width: 92vw;
  padding: 36px 32px 26px 32px;
  box-shadow: 0 11px 88px 0 rgba(34,114,58,0.12);
  animation: fadeIn 0.33s cubic-bezier(.3,0,.5,1);
  position: relative;
  font-family: 'Roboto', Arial, sans-serif;
}
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.89); }
  to { opacity: 1; transform: scale(1); }
}
.cookie-modal h2 {
  margin-bottom: 14px;
  font-size: 1.21rem;
  color: #22723A;
}
.cookie-modal .cookie-cat {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  font-size: 1.04rem;
}
.cookie-modal .cookie-cat input[type=checkbox] {
  accent-color: #22723A;
  margin-right: 12px;
}
.cookie-modal .desc { color: #555; font-size: .98rem; margin-bottom: 20px; }
.cookie-modal .modal-btns {
  display: flex; gap: 15px; margin-top: 15px;
}
.cookie-modal .modal-close {
  position: absolute; top: 16px; right: 18px;
  background: none;
  border: none;
  font-size: 1.55rem;
  color: #133e1e;
  cursor: pointer;
}
.cookie-modal .modal-close:hover {color: #6DB886;}

/* === RESPONSIVE DESIGN (MOBILE-FIRST) === */
/* Main wrappers become column, stack content nicely for mobile */
.section, .container, .content-wrapper, .card-container, .content-grid, .text-image-section, .stats-bar, .contact-info {
  width: 100%;
}
.content-wrapper, .card-container, .content-grid, .stats-bar {
  flex-direction: column;
  gap: 20px;
}
.text-image-section, .card-content {
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

/* Make cards full width mobile, side by side tablet+ */
@media (min-width: 700px) {
  .content-wrapper, .card-container, .content-grid, .stats-bar {
    flex-direction: row;
    gap: 30px;
  }
  .text-image-section {
    flex-direction: row;
    align-items: center;
    gap: 30px;
  }
  .testimonial-card, .project-tile, .card, .service-card, .feature-item {
    flex: 1 1 220px;
    min-width: 220px;
  }
}
@media (min-width: 900px) {
  .content-wrapper, .card-container, .content-grid {
    gap: 36px;
  }
  .testimonial-card, .project-tile, .service-card {
    min-width: 260px;
  }
}

@media (max-width: 768px) {
  header .container { flex-direction: row; gap: 7px; padding: 10px 7px; }
  .section { margin-bottom: 34px; padding: 20px 6px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.33rem; }
  .service-card, .project-tile, .testimonial-card { padding: 14px 9px 12px; }
  .footer-menu { gap: 6px; font-size: 13px; }
  footer .content-wrapper { gap: 18px 0; flex-direction: column; align-items: flex-start; }
}

/* == TYPOGRAPHY SCALE == */
h1 { font-size: 2.5rem; }
@media (max-width: 700px) { h1 { font-size: 1.7rem; } }
h2 { font-size: 2rem; }
@media (max-width: 700px) { h2 { font-size: 1.22rem; } }

/* == THANK YOU & MODALS == */
.text-section p, .section p {
  margin-bottom: 17px;
  font-size: 1.05rem;
  color: #392;
}
.text-section a {
  margin-top: 12px;
}

/* == VISUAL HIERARCHY, SHADOWS, RADIUS == */
.section, .card, .service-card, .testimonial-card, .project-tile {
  box-shadow: 0 2px 16px 0 rgba(34,114,58,0.06);
  border-radius: 15px;
}

/* == MICROINTERACTIONS & HOVER ANIMATION == */
.btn-primary, .btn-secondary, .service-card, .project-tile, .testimonial-card {
  transition: box-shadow 0.18s, border-color 0.16s, background 0.19s, color 0.16s, transform 0.19s;
}
.btn-primary:active, .btn-secondary:active {
  transform: scale(0.96);
}

/* == MISC == */
hr {height:1px; border:none; background:#dee4da; margin:26px 0;}

/* scroll */
body {scroll-behavior: smooth;}

/* === ENSURE CARD SEPARATION AND FLEX WRAP ON ALL SCREENS === */
.card-container, .content-wrapper {
  gap: 24px;
  flex-wrap: wrap;
}
.card, .service-card, .testimonial-card, .project-tile, .feature-item {
  margin-bottom: 20px;
}

/* === ENSURE TEXT CONTRAST IN TESTIMONIALS === */
.testimonial-card, .testimonial-author, .testimonial-card blockquote {
  color: #222 !important;
  background: #f6f7f3 !important;
}

/* == ACCESSIBILITY & FOCUS STATES == */
a:focus, button:focus {
  outline: 2px solid #6DB886;
  outline-offset: 2px;
}

/* ---- End of CSS ---- */
