/* --- CSS 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 { font-size: 100%; }
body {
  min-height: 100vh;
  background: #fff;
  color: #222;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img{
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #23643D;
  text-underline-offset: 2px;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus { color: #1373B1; outline: none; }

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #23643D;
  margin-bottom: 12px;
  line-height: 1.2;
}
h1 { font-size: 2.4rem; margin-bottom: 18px; }
h2 { font-size: 1.8rem; margin-bottom: 14px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1.05rem; }

p, ul, ol {
  font-size: 1rem;
  color: #222;
  margin-bottom: 14px;
}
ul, ol { padding-left: 22px; }
li { margin-bottom: 6px; }
strong { font-weight: 600; color: #23643D; }
em { font-style: italic; }

/* --- LAYOUT & SPACING --- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
}
.content-wrapper,
.content-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* --- FLEXBOX PATTERNS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(140,163,157,0.08);
  padding: 28px 24px;
  position: relative;
  transition: box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  min-width: 260px;
}
.card:hover {
  box-shadow: 0 8px 28px rgba(35,100,61,0.11);
  z-index: 2;
}
.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;
  background: #F6EFE3;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(140,163,157,0.09);
  font-size: 1.08rem;
  color: #222;
  margin-bottom: 24px;
  min-width: 260px;
  flex: 1 1 320px;
}
.testimonial-card p {
  flex: 1;
  margin: 0;
  color: #222;
}
.testimonial-card span {
  font-size: 0.96rem;
  font-weight: 500;
  color: #23643D;
  margin-left: 8px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- HEADER --- */
header {
  background: #fff;
  border-bottom: 1px solid #e6ece7;
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 18px 18px 18px 0;
}
header img {
  height: 38px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  color: #23643D;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.03rem;
  font-weight: 500;
  letter-spacing: 0.015em;
  padding: 6px 0;
  border-radius: 6px;
  transition: background 0.2s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #1373B1;
  background: #F6EFE3;
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 8px;
  padding: 12px 28px;
  text-align: center;
  line-height: 1.1;
  box-shadow: 0 2px 10px rgba(35,100,61,0.06);
  transition: background 0.14s, color 0.18s, box-shadow 0.17s, border 0.17s;
  border: 2px solid transparent;
  margin-left: 10px;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: #23643D;
  color: #fff;
}
.btn-primary:hover,
.btn-primary:focus {
  background: #1373B1;
  color: #fff;
  box-shadow: 0 6px 20px rgba(19,115,177,0.08);
  border: 2px solid #1373B1;
}
.btn-secondary {
  background: #fff;
  color: #23643D;
  border: 2px solid #23643D;
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: #23643D;
  color: #fff;
  border-color: #23643D;
}

.mobile-menu-toggle {
  display: none;
  background: #fff;
  border: none;
  font-size: 2rem;
  color: #1373B1;
  padding: 4px 10px;
  border-radius: 7px;
  cursor: pointer;
  z-index: 102;
  transition: background 0.16s;
}
.mobile-menu-toggle:focus {
  background: #F6EFE3;
  outline: 2px solid #23643D;
}

/* --- MOBILE MENU OVERLAY --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(35, 100, 61, 0.96);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100%);
  transition: transform 0.34s cubic-bezier(.57,.21,.69,1.25);
  z-index: 1201;
  padding-top: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  margin: 26px 22px 8px 0;
  cursor: pointer;
  z-index: 1202;
  padding: 4px 16px;
  border-radius: 7px;
  transition: background 0.12s;
}
.mobile-menu-close:focus {
  background: #F6EFE3;
  color: #23643D;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 100%;
  padding: 38px 38px 0 32px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.28rem;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.19s, color 0.13s;
  outline: none;
  padding: 7px 8px 7px 0;
}
.mobile-nav a:hover, .mobile-nav a:focus{
  background: #F6EFE3;
  color: #23643D;
}

/* --- SECTIONS, SPECIAL COMPONENTS --- */
ul li img, ol li img {
  vertical-align: middle;
  display: inline-block;
  margin-right: 8px;
  height: 26px;
}
ul li strong, ol li strong {
  font-family: 'Montserrat', Arial, sans-serif;
  margin-right: 2px;
}

.featured-post {
  background: #F6EFE3;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 8px rgba(35,100,61,0.05);
  margin-bottom: 24px;
  transition: box-shadow 0.18s;
}
.featured-post:hover {
  box-shadow: 0 6px 18px rgba(35,100,61,0.09);
}

.map-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F6EFE3;
  border-radius: 12px;
  min-height: 120px;
  margin: 20px 0;
}

/* --- FOOTER --- */
footer {
  background: #fff;
  border-top: 1px solid #e6ece7;
  margin-top: 80px;
  font-size: 0.96rem;
  color: #666;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 32px 20px;
}
footer img {
  height: 36px;
  margin-bottom: 2px;
}
footer nav {
  text-align: center;
  font-size: 0.98rem;
  margin-bottom: 4px;
}
footer a {
  color: #1373B1;
  margin: 0 4px;
}
footer a:hover, footer a:focus {
  text-decoration: underline;
  color: #23643D;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: #F6EFE3;
  color: #23643D;
  box-shadow: 0 -2px 18px rgba(35,100,61,0.07);
  font-size: 1rem;
  padding: 22px 44px;
  z-index: 1400;
  line-height: 1.45;
  opacity: 1;
  transition: opacity 0.28s;
}
.cookie-consent-banner.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-consent-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-btn {
  appearance: none;
  border: none;
  padding: 8px 26px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  border-radius: 7px;
  margin: 0 3px;
  cursor: pointer;
  transition: background 0.14s, color 0.18s;
  font-weight: 600;
}
.cookie-btn.accept {
  background: #23643D;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #1373B1;
  color: #fff;
}
.cookie-btn.reject {
  background: #fff;
  color: #23643D;
  border: 1.5px solid #23643D;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #23643D;
  color: #fff;
}
.cookie-btn.settings {
  background: #fff;
  color: #1373B1;
  border: 1.5px solid #1373B1;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #1373B1;
  color: #fff;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(35,100,61,0.18);
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.24s;
  pointer-events: auto;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 44px rgba(35,100,61,0.22);
  padding: 32px 28px 24px 36px;
  max-width: 440px;
  width: 94vw;
  color: #23643D;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  z-index: 1600;
  animation: modalIn 0.33s cubic-bezier(.57,.21,.69,1.25);
}
@keyframes modalIn {
  0% {transform: scale(0.8); opacity: 0.1;}
  85% {transform: scale(1.03); opacity: 1;}
  100% {transform: scale(1);}
}
.cookie-modal h3 {
  font-size: 1.32rem;
  color: #1373B1;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 16px; right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #23643D;
  cursor: pointer;
}
.cookie-category-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1.01rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: #1373B1;
  width: 20px; height: 20px;
}
.cookie-category .always-on {
  font-weight: 600;
  color: #23643D;
}

/* --- FORMS (Contact) --- */
input, textarea, select {
  padding: 10px 14px;
  border-radius: 7px;
  border: 1px solid #d6dbd6;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  background: #fff;
  margin-bottom: 10px;
  transition: border .17s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #1373B1;
  outline: none;
}

label {
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 5px;
  color: #23643D;
}

/* --- MEDIA QUERIES (RESPONSIVE) --- */
@media (max-width: 1024px) {
  .container { max-width: 96vw; }
  footer .container { padding: 28px 12px; }
  section { padding: 36px 10px; }
  header .container { gap: 18px; }
}
@media (max-width: 900px) {
  .main-nav, .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 900px) {
  .container { padding: 0 8px; }
  .testimonial-card { min-width: 90vw; }
  .footer nav, .footer p { font-size: 0.97em; }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.32rem; }
  h3 { font-size: 1.09rem; }
  section { padding: 26px 4vw;
           margin-bottom: 46px; }
  .content-wrapper, .content-grid {
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    padding: 12px;
  }
  header .container { padding: 14px 6px; }
}
@media (max-width: 540px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 17px 10vw 14px 4vw;
    font-size: 0.98rem;
  }
  .cookie-consent-actions {
    flex-wrap: wrap;
    gap: 10px;
  }
  .cookie-modal {
    padding: 22px 4vw 20px 4vw;
    max-width: 99vw;
  }
  footer .container {
    gap: 10px;
    padding: 19px 4vw;
  }
}

/* --- MICRO-INTERACTIONS, HOVER EFFECTS --- */
.btn-primary, .btn-secondary, .cookie-btn {
  transition: background 0.16s, color 0.18s, box-shadow 0.18s, border 0.17s;
}
.card, .testimonial-card, .featured-post {
  transition: box-shadow 0.18s, background 0.18s;
}
.card:hover, .featured-post:hover {
  box-shadow: 0 10px 28px rgba(35,100,61,0.13);
  background: #F6EFE3;
}
.testimonial-card:hover {
  box-shadow: 0 6px 20px rgba(19,115,177,0.11);
  background: #fff;
}
.mobile-menu {
  transition: transform 0.34s cubic-bezier(.57,.21,.69,1.25);
}

/* --- UTIL CLASSES --- */
.hide { display: none!important; }
.d-flex { display: flex!important; }
.align-center { align-items: center!important; }
.gap-20 { gap: 20px!important; }

/* --- END OF STYLE --- */
