/* =============================== */
/* 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, 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 {
  line-height: 1.5;
  background: #F4F8FA;
  color: #1A2836;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #215642;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #86C232;
  outline: none;
}
ul, ol {
  margin: 0 0 16px 24px;
}
li {
  margin-bottom: 8px;
}
button, input[type="submit"] {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}

/* =============================== */
/* BRAND TYPOGRAPHY                */
/* =============================== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1A2836;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.35rem; margin-bottom: 12px; }
.subheadline {
  font-size: 1.2rem;
  font-weight: 500;
  color: #486173;
  margin-bottom: 20px;
  font-family: 'Roboto', Arial, sans-serif;
}
p, ul, ol {
  color: #243A4E;
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 16px;
  font-family: 'Roboto', Arial, sans-serif;
}

strong { font-weight: 700; }

/* =============================== */
/* LAYOUT CONTAINERS               */
/* =============================== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(30,44,68,0.10);
}
@media (max-width: 900px) {
  .section {
    padding: 30px 8px;
  }
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

/* =============================== */
/* HEADER & NAVIGATION             */
/* =============================== */
header {
  background: #F9F6EE;
  padding: 0;
  border-bottom: 1px solid #CED9E6;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 32px;
}
.logo img {
  height: 44px;
}
nav {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #215642;
  padding: 7px 12px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
nav a:hover, nav a:focus {
  background: #e4efe1;
  color: #215642;
}
.btn-primary {
  background: #215642;
  color: #fff !important;
  border-radius: 8px;
  font-weight: 700;
  padding: 11px 24px;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(33,86,66,0.04);
  border: none;
  letter-spacing: 0.02em;
  transition: background 0.18s, box-shadow 0.18s, transform 0.12s;
  display: inline-block;
  margin-left: 10px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #39946a;
  color: #fff;
  box-shadow: 0 4px 18px rgba(33,86,66,0.09);
  transform: translateY(-2px) scale(1.04);
}

/* MOBILE MENU BUTTON */
.mobile-menu-toggle {
  display: none;
  background: #215642;
  color: #fff;
  font-size: 2.1rem;
  border: none;
  border-radius: 8px;
  padding: 2px 18px 1px 18px;
  margin-left: 24px;
  box-shadow: 0 1px 8px rgba(30,44,68,0.04);
  transition: background 0.18s, color 0.18s, box-shadow 0.12s;
  z-index: 202;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #39946a;
  color: #fff;
}
@media (max-width: 900px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(32,48,80,0.93);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.65,0,0.35,1);
  will-change: transform;
}
.mobile-menu.open {
  transform: none;
}
.mobile-menu-close {
  color: #fff;
  background: transparent;
  border: none;
  font-size: 2.6rem;
  align-self: flex-end;
  margin: 22px 22px 0 0;
  z-index: 1002;
  cursor: pointer;
  transition: color 0.13s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: #86C232;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 60px 0 0 32px;
  width: 83vw;
  max-width: 340px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  color: #fff;
  padding: 15px 8px;
  border-radius: 7px;
  transition: background 0.15s;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #215642;
  color: #86C232;
}

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

/* =============================== */
/* MAIN CONTENT FLEX LAYOUTS        */
/* =============================== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 310px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(30,44,68,0.09);
  display: flex;
  flex-direction: column;
  padding: 24px 18px;
  transition: box-shadow 0.15s, transform 0.13s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 4px 22px rgba(33,86,66,0.11);
  transform: translateY(-3px);
}
.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;
  background: #f5f7fa;
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(30,44,68,0.08);
  color: #15313a;
  margin-bottom: 20px;
  max-width: 700px;
  font-family: 'Roboto', Arial, sans-serif;
}
.testimonial-card p {
  margin-bottom: 0;
  color: #15313a;
  font-size: 1.05rem;
  font-style: italic;
}
.testimonial-card span {
  font-weight: 600;
  color: #215642;
  font-family: 'Montserrat', Arial, sans-serif;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
/* Feature grid is common for home and subpages */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div {
  flex: 1 1 250px;
  min-width: 220px;
  max-width: 320px;
  background: #f3f7f9;
  border-radius: 11px;
  padding: 28px 18px;
  box-shadow: 0 2px 10px rgba(40,56,82,0.07);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.14s, transform 0.11s;
}
.feature-grid > div:hover, .feature-grid > div:focus-within {
  box-shadow: 0 2px 24px rgba(33,86,66,0.13);
  transform: translateY(-2px);
}
.feature-grid img {
  width: 46px;
  height: 46px;
  margin-bottom: 12px;
}
/* Utility text section style */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* =============================== */
/* FOOTER                          */
/* =============================== */
footer {
  background: #1A2836;
  color: #f6f7fa;
  padding: 50px 0 22px 0;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}
footer nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
footer nav a {
  color: #86C232;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 4px 0;
  transition: color 0.16s;
}
footer nav a:hover, footer nav a:focus {
  color: #fff;
}
.footer-contact {
  font-size: 0.98rem;
  line-height: 1.65;
  color: #e7eae9;
}
.footer-contact strong {
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.footer-contact span {
  display: block;
  margin-top: 8px;
  color: #86C232;
  font-size: 0.92rem;
}

/* =============================== */
/* COOKIE CONSENT                  */
/* =============================== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100%;
  z-index: 1300;
  background: #15313a;
  color: #fff;
  padding: 24px 20px 20px 20px;
  box-shadow: 0 -2px 14px rgba(9,25,40,0.22);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 1rem;
  transition: transform 0.5s cubic-bezier(0.6,0,0.36,1);
  gap: 18px;
}
.cookie-banner.hide {
  transform: translateY(150%);
}
.cookie-banner__message {
  flex: 1 1 240px;
  max-width: 520px;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-banner__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: 7px;
  font-size: 1rem;
  padding: 8px 22px;
  margin: 0 2px;
  transition: background 0.13s, color 0.13s, transform 0.10s;
  cursor: pointer;
  font-weight: 600;
}
.cookie-btn.accept {
  background: #215642;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #39946a;
  color: #fff;
  transform: translateY(-1px);
}
.cookie-btn.reject {
  background: #fff;
  color: #215642;
  border: 1.5px solid #215642;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #f3f7f8;
}
.cookie-btn.settings {
  background: #86C232;
  color: #1a2836;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #a9df5c;
  color: #15313a;
}

/* COOKIE SETTINGS MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1400;
  inset: 0;
  background: rgba(24,38,52,0.62);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.23s;
  animation: fadeIn 0.4s;
}
@keyframes fadeIn {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #1A2836;
  min-width: 310px;
  max-width: 96vw;
  width: 420px;
  padding: 36px 30px 30px 30px;
  border-radius: 14px;
  box-shadow: 0 6px 38px rgba(20,32,54,0.19);
  font-family: 'Roboto', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: #215642;
}
.cookie-modal label {
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #86C232;
  width: 18px;
  height: 18px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 12px; right: 16px;
  background: none;
  color: #215642;
  border: none;
  font-size: 1.7rem;
  transition: color 0.13s;
}
.cookie-modal .close-modal:hover,
.cookie-modal .close-modal:focus {
  color: #86C232;
}

/* =============================== */
/* MEDIA QUERIES & RESPONSIVE      */
/* =============================== */
@media (max-width: 1080px) {
  .container { max-width: 99vw; padding-left: 8px; padding-right: 8px; }
  .content-wrapper { gap: 20px; }
  .section { padding: 26px 8px; }
}
@media (max-width: 900px) {
  .container {
    flex-direction: column;
    min-width: unset;
    gap: 14px;
  }
  .feature-grid,
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .section { padding: 18px 5px; }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; }
  .section {
    margin-bottom: 34px;
    padding: 12px 3px;
  }
  .content-wrapper {
    gap: 13px;
  }
  .feature-grid > div {
    min-width: 0;
    max-width: 99vw;
    padding: 22px 9px;
    align-items: flex-start;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 13px;
    padding: 16px 8px;
    font-size: 1rem;
  }
  .card {
    padding: 15px 8px;
    font-size: 1rem;
  }
  .footer-contact {
    font-size: 0.97rem;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.1rem; }
  .logo img {
    height: 36px;
  }
}

/* FLEX RULES for TEXT-IMAGE SECTIONS */
.text-image-section {
  flex-direction: row;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
}

/* MAP PLACEHOLDER EMBED */
.map-embed {
  margin-top: 20px;
  background: #edf5ee;
  border: 1px solid #d3e3dc;
  border-radius: 10px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* =============================== */
/* VISUAL HIERARCHY / MICRO FX     */
/* =============================== */
.card, .feature-grid > div, .testimonial-card {
  transition: box-shadow 0.16s, transform 0.11s;
}
.card:active, .feature-grid > div:active, .testimonial-card:active {
  transform: scale(0.98);
}
.btn-primary:active {
  background: #17422f;
}

/* List icons (when <li> has img) */
.text-section ul li img {
  width: 22px;
  height: 22px;
  vertical-align: sub;
  margin-right: 9px;
}

/* =============================== */
/* ACCESSIBILITY FOCUS VISUAL      */
/* =============================== */
a:focus, button:focus, .btn-primary:focus,
.cookie-btn:focus, .mobile-menu-close:focus {
  outline: 2px solid #86C232;
  outline-offset: 2px;
}

/* =============================== */
/* Z-INDEX MANAGEMENT              */
/* =============================== */
header, nav, .mobile-menu, .cookie-banner,
.cookie-modal-overlay { z-index: 1000+; }
.mobile-menu { z-index: 1300; }
.cookie-banner { z-index: 1360; }
.cookie-modal-overlay { z-index: 1400; }

/* =============================== */
/* UTILITIES                       */
/* =============================== */
.hide {
  display: none !important;
}

/* =============================== */
/* END OF CSS FILE                 */
/* =============================== */
