/* ===================================================================
   CSS RESET & BASELINE (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;
  vertical-align: baseline;
  box-sizing: border-box;
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  background: #F6F7ED;
  color: #23493C;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}

img, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}

ul, ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

a {
  color: #23493C;
  text-decoration: none;
  transition: color .18s;
}

a:focus {
  outline: 2px solid #7E9C45;
  outline-offset: 2px;
}

input, button, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* ===================================================================
   BRANDFONTS & MODERN TYPOGRAPHY
=================================================================== */
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto+Slab:700,400&display=swap');

h1, h2, h3, h4, h5, h6 {
  color: #23493C;
  font-family: "Roboto Slab", serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.5rem; margin-bottom: 18px; }
h4 { font-size: 1.25rem; margin-bottom: 16px; }
h5 { font-size: 1.10rem; margin-bottom: 10px; }
h6 { font-size: 1rem; margin-bottom: 8px; }

p, li, span, label {
  font-size: 1rem;
  color: #295341;
}

strong {
  font-weight: bold;
  color: #23493C;
}

/* ===================================================================
   GENERAL LAYOUT
=================================================================== */
.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 18px 0 rgba(31,66,57,0.07);
}

/* ===================================================================
   GRADIENT MODERN DESIGN: HERO & ACCENTED SECTIONS
=================================================================== */
.hero-section {
  background: linear-gradient(135deg, #7E9C45 0%, #23493C 110%);
  color: #fff;
  padding: 64px 0 48px 0;
  border-radius: 0 0 48px 48px;
  margin-bottom: 60px;
}
.hero-section h1,
.hero-section p {
  color: #fff;
}

.cta-section {
  background: linear-gradient(90deg, #f6f7ed 60%, #7E9C45 120%);
  border-radius: 18px;
  margin-bottom: 60px;
  box-shadow: 0 4px 24px 0 rgba(67,94,81,0.05);
}
.cta-section h2 {
  color: #23493C;
}


/* ===================================================================
   FLEX UTILITIES - Mandatory patterns
=================================================================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(67,94,81,0.08);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.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;
  margin-bottom: 24px;
  background: #f5f8f4;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(31,66,57,0.08);
  color: #23493C;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Spacing between all content cards/sections */
section + section {
  margin-top: 20px;
}
.card + .card,
.testimonial-card + .testimonial-card {
  margin-top: 20px;
}

/* ===================================================================
   HEADER & NAVIGATION
=================================================================== */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 18px 0 rgba(31,66,57,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 14px 20px;
}
header img {
  height: 48px;
  width: auto;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-size: 1rem;
  font-weight: 600;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  color: #23493C;
  letter-spacing: .01em;
  padding: 7px 0;
  border-bottom: 2.5px solid transparent;
  transition: color .2s, border-bottom .2s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #7E9C45;
  border-bottom: 2.5px solid #7E9C45;
}
.btn-primary {
  background: linear-gradient(90deg, #7E9C45 60%, #23493C 120%);
  color: #fff;
  padding: 11px 32px;
  border-radius: 26px;
  font-size: 1.1rem;
  font-family: "Roboto Slab", serif;
  font-weight: 700;
  border: none;
  box-shadow: 0 2px 14px 0 rgba(31,66,57,0.10);
  transition: background .18s, box-shadow .18s, color .18s;
  letter-spacing: 0.02em;
  margin-left: 24px;
  display: inline-block;
  text-align: center;
  cursor: pointer;
}
.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(90deg, #23493C 60%, #7E9C45 120%);
  color: #f6f7ed;
  box-shadow: 0 6px 24px 0 rgba(31,66,57,0.12);
  outline: none;
}
.btn-link,
.btn-link:visited {
  color: #7E9C45;
  font-weight: 700;
  border-bottom: 2px solid #7E9C45;
  text-decoration: none;
  background: transparent;
  padding: 3px 0 1px 0;
  transition: color .12s, border-color .12s;
}
.btn-link:hover,
.btn-link:focus {
  color: #23493C;
  border-bottom: 2px solid #23493C;
}

/* Hamburger menu button */
.mobile-menu-toggle {
  background: #7E9C45;
  color: #fff;
  font-size: 2rem;
  border-radius: 50%;
  padding: 5px 13px 7px 13px;
  border: none;
  box-shadow: 0 2px 12px rgba(67, 94, 81, 0.07);
  margin-left: 12px;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.12s, box-shadow 0.16s;
  z-index: 1202;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #23493C;
}

/* ===================================================================
   MOBILE MENU OVERLAY
=================================================================== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(36,73,60, 0.99);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(0.47,0,0.745,0.715);
  overflow-y: auto;
  box-shadow: -2px 0 24px 0 rgba(35,73,60,0.17);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #fff;
  color: #23493C;
  font-size: 2rem;
  border-radius: 50%;
  padding: 6px 17px 10px 17px;
  margin: 16px 20px;
  align-self: flex-end;
  box-shadow: 0 2px 12px rgba(67, 94, 81, 0.16);
  border: none;
  z-index: 1201;
  transition: background 0.18s, color 0.13s;
}
.mobile-menu-close:focus {
  outline: 2px solid #7E9C45;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  align-items: flex-start;
  padding: 32px 36px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 8px 4px;
  border-radius: 8px;
  width: 100%;
  transition: background 0.12s, color 0.17s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #7E9C45;
  color: #23493C;
}


/* ===================================================================
   FOOTER
=================================================================== */
footer {
  background: #23493C;
  color: #fff;
  padding: 36px 0 20px 0;
  border-radius: 32px 32px 0 0;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  justify-content: center;
}
.footer-nav a {
  color: #fff;
  opacity: 0.89;
  font-size: 1rem;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  transition: color .13s, opacity .12s;
}
.footer-nav a:hover {
  color: #7E9C45;
  opacity: 1;
}
.footer-info {
  margin-top: 8px;
  font-size: 0.98rem;
  color: #e7eeec;
}

/* ===================================================================
   CARDS, TESTIMONIALS, LISTS & COMPONENTS
=================================================================== */
.features-section ul,
.products-listing-section ul,
.benefits-section ul,
.about-intro-section ul,
.text-section ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 8px;
}
.features-section li,
.products-listing-section li,
.benefits-section li,
.about-intro-section li,
.text-section li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.08rem;
  color: #23493C;
  background: #f6f7ed;
  padding: 8px 16px 8px 8px;
  border-radius: 9px;
  box-shadow: 0 1px 2px 0 rgba(35,73,60, 0.03);
}
.features-section li img,
.benefits-section li img,
.about-intro-section li img,
.text-section li img {
  width: 28px;
  height: 28px;
}
.testimonial-card {
  flex-direction: column;
  background: #fff;
  color: #23493C;
  border-left: 7px solid #7E9C45;
  box-shadow: 0 1px 10px 0 rgba(31,66,57,0.07);
  padding: 24px 24px 16px 26px;
  margin-bottom: 20px;
  position: relative;
}
.testimonial-card span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 1rem;
  color: #295341;
  font-weight: 600;
  margin-top: 15px;
}
.case-study {
  background: #f5f8f4;
  border-radius: 16px;
  padding: 18px 22px;
  margin-bottom: 22px;
  box-shadow: 0 1px 14px 0 rgba(35,73,60,0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.case-study h3 {
  margin-bottom: 10px;
  color: #23493C;
}
.case-study blockquote {
  margin: 12px 0 0 0;
  padding-left: 10px;
  border-left: 3px solid #7E9C45;
  color: #295341;
  font-style: italic;
  font-size: 1rem;
}

.infobox {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff9e0;
  border-radius: 12px;
  padding: 15px 18px;
  color: #23493C;
  font-size: 1.1rem;
  box-shadow: 0 1px 8px 0 rgba(255,204,56,0.06);
  margin-top: 18px;
}
.infobox img {
  width: 38px;
  height: 38px;
}
.team-member {
  background: #f6f7ed;
  border-radius: 12px;
  padding: 17px 16px;
  box-shadow: 0 2px 7px 0 rgba(120,153,90,0.05);
  margin-bottom: 18px;
}
.map-placeholder {
  border-radius: 14px;
  background: #e2ebde;
  min-height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #23493C;
  margin: 24px 0 24px 0;
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.legal-section {
  background: #f7f9f4;
}
.legal-section h1,
.legal-section h2 {
  color: #23493C;
}
.confirmation-section {
  background: #f6f7ed;
  border: 2px solid #d6e3cf;
  border-radius: 18px;
  margin-bottom: 40px;
}

/* Blog search and newsletter form styling */
.blog-listing-section input[type="text"] {
  border: 1.5px solid #7E9C45;
  border-radius: 10px;
  padding: 8px 12px;
  margin-bottom: 24px;
  font-size: 1rem;
  width: 100%;
  max-width: 350px;
  background: #f6f7ed;
  transition: border-color .13s;
}
.blog-listing-section input[type="text"]:focus {
  border-color: #23493C;
  outline: none;
}
.cta-section form {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
  flex-wrap: wrap;
}
.cta-section label {
  margin-right: 6px;
}
.cta-section input[type="email"] {
  border: 1.5px solid #7E9C45;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 1rem;
  background: #fff;
  width: 220px;
  transition: border-color .13s;
}
.cta-section input[type="email"]:focus {
  border-color: #23493C;
  outline: none;
}
.cta-section button[type="submit"] {
  margin: 0;
}

/* ===================================================================
   COOKIE CONSENT BANNER & MODAL
=================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(90deg, #23493C 60%, #7E9C45 120%);
  color: #fff;
  padding: 19px 28px 17px 28px;
  box-shadow: 0 -3px 22px 0 rgba(31,66,57,0.15);
  border-radius: 21px 21px 0 0;
  font-size: 1.04rem;
  animation: bannerSlideIn 0.5s 0.1s both;
  gap: 18px;
}
@keyframes bannerSlideIn {
  0% { transform: translateY(110px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-banner-actions {
  display: flex;
  gap: 14px;
}
.cookie-btn {
  background: #fff;
  color: #23493C;
  border-radius: 17px;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 6px 20px;
  border: none;
  margin: 0 0 0 5px;
  box-shadow: 0 1px 5px 0 rgba(67,94,81,0.08);
  transition: color .13s, background .14s;
}
.cookie-btn.accept {
  background: #7E9C45;
  color: #fff;
}
.cookie-btn.settings {
  background: #e6ebd9;
  color: #23493C;
}
.cookie-btn:hover,
.cookie-btn:focus {
  background: #23493C;
  color: #fff;
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus {
  background: #23493C;
  color: #fff;
}

/* Cookie Modal Popup */
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(30,30,32, 0.76);
  z-index: 1600;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .24s;
  padding: 46px 12px 0 12px;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-content {
  background: #f6f7ed;
  border-radius: 18px;
  box-shadow: 0 2px 20px 0 rgba(67,94,81, 0.17);
  padding: 32px 33px 24px 33px;
  max-width: 410px;
  width: 100%;
  color: #23493C;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modalPopIn .4s cubic-bezier(0.14,0.95,0.27,1.1) both;
}
@keyframes modalPopIn {
  from { transform: translateY(40px) scale(0.97); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal-content h3 {
  font-size: 1.39rem;
  font-weight: 700;
  color: #23493C;
}
.cookie-category-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.05rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: #7E9C45;
  width: 20px;
  height: 20px;
}
.cookie-category.essential label {
  font-weight: 600;
  color: #23493C;
}
.cookie-modal-actions {
  margin-top: 10px;
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal-close {
  background: #fff;
  color: #7E9C45;
  font-size: 2rem;
  border: none;
  border-radius: 50%;
  align-self: flex-end;
  margin-bottom: -10px;
  margin-top: -9px;
  margin-right: -11px;
  padding: 3px 14px 6px 14px;
  cursor: pointer;
  box-shadow: 0 1px 5px rgba(67, 94, 81, 0.06);
  transition: background .12s, color .17s;
}
.cookie-modal-close:focus {
  outline: 2px solid #7E9C45;
}

/* ===================================================================
   RESPONSIVE DESIGN: Mobile First!
=================================================================== */
@media (max-width: 1024px) {
  .container {
    max-width: 95vw;
    padding: 0 13px;
  }
  .main-nav, .footer-nav {
    gap: 16px;
  }
  .card-container, .content-grid {
    gap: 15px;
  }
  .section, section {
    padding: 30px 8px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 12px;
  }
  .footer-nav {
    gap: 8px;
  }
}
@media (max-width: 840px) {
  .btn-primary {
    padding: 11px 17px;
    margin-left: 8px;
    font-size: 1rem;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    padding: 11px 8px;
    gap: 14px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .btn-primary {
    font-size: 1rem;
    padding: 10px 18px;
    margin-left: 0;
  }
  .section, section {
    padding: 22px 4px;
    margin-bottom: 32px;
  }
  .content-wrapper, .card-container, .content-grid, .footer-nav {
    gap: 12px !important;
  }
  .testimonial-card, .card {
    font-size: 1rem;
    padding: 17px 7px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .blog-listing-section input[type="text"] {
    max-width: 100%;
  }
  /* Cookie banner close gap */
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 8px 14px 12px;
    font-size: .98rem;
  }
}
@media (max-width: 570px) {
  .hero-section {
    padding: 40px 0 20px 0;
    border-radius: 0 0 28px 28px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.2rem; }
  .case-study { padding: 10px 5px; font-size: .97rem; }
  .btn-primary {
    padding: 8px 14px;
    font-size: .94rem;
    margin-left: 0;
  }
  .footer-nav {
    flex-direction: column;
    gap: 6px;
  }
  .footer-info {
    font-size: 0.91rem;
  }
  .cookie-modal-content { padding: 17px 8px 14px 8px; }
}

/* ===================================================================
   ACCESSIBILITY
=================================================================== */
:focus-visible {
  outline: 2px solid #7E9C45;
  outline-offset: 2px;
}

/* ===================================================================
   Z-INDEX LAYERING
=================================================================== */
header { z-index: 1050; }
.mobile-menu { z-index: 1200; }
.cookie-banner { z-index: 1500; }
.cookie-modal { z-index: 1600; }

