/* 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, 
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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #F4F7FB;
  color: #2B2C2A;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
}
*, *::before, *::after {
  box-sizing: inherit;
}
a {
  color: #20557A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #377d55;
  outline: none;
}
ul, ol {
  padding-left: 1.2em;
  margin-bottom: 24px;
}
img {
  max-width: 100%;
  display: block;
  border: none;
}
main {
  flex: 1 0 auto;
}

/***** BRAND TYPOGRAPHY & HEADINGS *****/
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #20557A;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}
h1 { font-size: 2.5rem; margin-bottom: 18px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.35rem; margin-bottom: 12px; }
h4 { font-size: 1.1rem; margin-bottom: 10px; }
h5, h6 { font-size: 1rem; margin-bottom: 8px; }
p, li, blockquote {
  font-size: 1rem;
  line-height: 1.7;
  color: #2B2C2A;
  margin-bottom: 16px;
}
strong { font-weight: 700; }
blockquote {
  font-style: italic;
  background: #e6ecdd;
  color: #194c3c;
  border-left: 4px solid #7fb985;
  padding: 12px 18px 12px 22px;
  margin-bottom: 10px;
  border-radius: 0 20px 20px 0;
}

/***** ORGANIC LAYOUT & CONTAINER GUIDELINES *****/
.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 0;
}
.text-section {
  max-width: 700px;
  margin: 0 auto 0 auto;
}

/***** SECTIONS & SPACING RULES (MANDATORY) *****/
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: 32px 60px 36px 48px/34px 52px 40px 32px;
}
@media (max-width: 768px) {
  section {
    padding: 32px 8px;
    margin-bottom: 36px;
    border-radius: 24px 40px 28px 32px/24px 32px 24px 18px;
  }
}

/***** FLEX LAYOUTS: FEATURES & CARDS *****/
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
@media (max-width: 768px) {
  .features-grid {
    flex-direction: column;
    gap: 18px;
  }
}
.feature {
  background: #f4fbee;
  border-radius: 28px 42px 22px 40px/24px 38px 18px 22px;
  box-shadow: 0 4px 24px 0 rgba(51,80,47,0.09);
  padding: 28px 22px 22px 22px;
  flex: 1 1 0px;
  min-width: 240px;
  max-width: 315px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: box-shadow 0.23s, transform 0.18s;
}
.feature img {
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
}
.feature:hover, .feature:focus {
  box-shadow: 0 7px 28px 0 rgba(32,85,122,0.13);
  transform: translateY(-4px) scale(1.02);
}

/***** SERVICE & CARD-LIKE LISTS *****/
.service-list {
  list-style-type: none;
  margin: 0 0 22px 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-list li {
  background: #fffbe4;
  border-radius: 20px 40px 24px 28px/16px 32px 20px 18px;
  box-shadow: 0 3px 18px 0 rgba(186,153,84,0.09);
  flex: 1 1 260px;
  padding: 20px 18px 18px 22px;
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 340px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-list strong { color: #20557A; font-size: 1.04rem; margin-top: 4px; }

/***** EVENTS & MISC CARD CONTAINERS *****/
.event-list {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.event-list li {
  background: #e6ecdd;
  border-radius: 22px 36px 18px 28px/18px 26px 15px 14px;
  color: #2b2c2a;
  padding: 16px 19px;
  font-size: 1.05rem;
  margin-bottom: 5px;
  box-shadow: 0 1px 6px 0 rgba(81,128,77,0.08);
}

/***** ORGANIC BUTTONS & CTA STYLES *****/
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 24px 34px 18px 20px/16px 22px 12px 12px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.12rem;
  cursor: pointer;
  box-shadow: 0 2px 12px 0 rgba(98,140,102,0.08);
  border: none;
  transition: background 0.25s, color 0.2s, box-shadow 0.22s, transform 0.15s;
  text-align: center;
  text-decoration: none;
  margin: 8px 0 0 0;
}
.cta.primary {
  background: #20557A;
  color: #fff;
}
.cta.primary:hover, .cta.primary:focus {
  background: #377d55;
  color: #fffbe4;
  transform: translateY(-2px) scale(1.01);
}
.cta.secondary {
  background: #F8B432;
  color: #20557A;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #ede5bb;
  color: #377d55;
  transform: translateY(-2px) scale(1.01);
}

/***** CARD CONTAINER FLEX MANDATORY *****/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}

/***** MICRO-LAYOUTS *****/
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/***** TESTIMONIALS *****/
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 26px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 22px 34px 20px 22px/20px 28px 10px 20px;
  box-shadow: 0 2px 16px 0 rgba(32,85,122,0.09);
  flex: 1 1 280px;
  min-width: 220px;
  max-width: 400px;
  margin-bottom: 20px;
  transition: box-shadow 0.19s, transform 0.15s;
}
.testimonial-card blockquote {
  background: none;
  border-left: none;
  color: #20557A;
  padding: 0;
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.6;
}
.testimonial-card span {
  font-size: 0.99rem;
  color: #377d55;
  font-family: 'Roboto';
  font-weight: 500;
  margin-left: 12px;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 6px 22px 0 rgba(54,106,81,0.16);
  transform: translateY(-2px) scale(1.011);
}

/***** FOOTER & CONTACT INFO *****/
footer {
  background: #dbe8cb;
  border-top: 4px solid #7fb985;
  padding: 32px 0 0 0;
  font-size: 1rem;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 18px;
}
.footer-menu a {
  color: #20557A;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px 16px 9px 10px;
  transition: background 0.2s;
}
.footer-menu a:hover, .footer-menu a:focus {
  background: #fbeab3;
}
.contact-info {
  color: #2b2c2a;
  font-size: 0.99rem;
  margin-bottom: 16px;
  margin-top: 2px;
}
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}
.social-links img {
  width: 28px; height: 28px;
  border-radius: 8px;
  border: 2px solid #ede5bb;
  background: #fffbe4;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.social-links a:hover img {
  border-color: #7fb985;
  box-shadow: 0 0 8px 0 rgba(127,185,133,0.15);
}
.newsletter-signup {
  margin-top: 8px;
  background: #fffbe4;
  padding: 18px 22px;
  border-radius: 18px 24px 14px 12px/14px 16px 9px 11px;
  font-size: 1.01rem;
  box-shadow: 0 1px 8px 0 rgba(248,180,50,0.10);
}
.newsletter-signup .cta {
  margin-top: 6px;
}

/***** HEADER: LOGO, NAVIGATION, MOBILE MENU *****/
header {
  background: #e6ecdd;
  padding: 0 0 0 0;
  border-bottom: 4px solid #7fb985;
  position: relative;
  z-index: 2000;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 16px 10px 16px;
  min-height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 16px;
}
.logo img { height: 40px; width: auto; }
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #20557A;
  padding: 6px 12px;
  border-radius: 14px 22px 9px 11px;
  font-weight: 500;
  font-size: 1.03rem;
  transition: background 0.18s, color 0.17s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #fbeab3;
  color: #377d55;
}
header .cta.primary {
  margin-left: 18px;
  padding: 11px 21px;
  font-size: 1.01rem;
}

/***** MOBILE BURGER MENU (MANDATORY) *****/
.mobile-menu-toggle {
  display: none;
  background: #377d55;
  color: #fff;
  border: none;
  border-radius: 12px 14px 10px 9px;
  font-size: 2rem;
  padding: 4px 16px;
  cursor: pointer;
  transition: background 0.20s, color 0.16s, box-shadow 0.16s;
  z-index: 2100;
  align-items: center;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #F8B432;
  color: #20557A;
}
@media (max-width: 990px) {
  .main-nav {
    display: none;
  }
  header .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
.mobile-menu {
  position: fixed;
  top: 0; right: 0; left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(231,241,221,0.98);
  z-index: 2200;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.35,0.98,0.51,0.96);
  box-shadow: -6px 0 28px 0 rgba(127,185,133,0.07);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0%);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  align-self: flex-end;
  background: #377d55;
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 12px 14px 10px 9px;
  margin: 28px 24px 0 0;
  padding: 4px 12px;
  cursor: pointer;
  z-index: 2210;
  transition: background 0.20s, color 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F8B432;
  color: #20557A;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 18px;
  padding: 42px 36px 16px 34px;
  margin-top: 12px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #20557A;
  font-size: 1.23rem;
  font-weight: 600;
  padding: 13px 0;
  width: 100%;
  border-radius: 13px 18px 11px 10px;
  transition: background 0.16s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #fbeab3;
  color: #377d55;
}

/***** ORGANIC TEXTURE & SHADOWS *****/
section, .feature, .service-list li, .testimonial-card, .event-list li {
  box-shadow: 0 1px 8px 0 rgba(98,140,102,0.10);
}

/***** OTHER MANDATORY FLEX LAYOUTS *****/
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/***** EVENT FILTERS & MISC *****/
.event-filters {
  margin-bottom: 18px;
  padding: 10px 0 0 0;
  font-size: 1.01rem;
}
.event-filters em {
  font-style: normal;
  background: #fbeab3;
  padding: 3px 9px;
  border-radius: 10px;
  margin: 0 3px;
  color: #377d55;
}

/***** ORGANIC LISTS (UL/OL) *****/
ul, ol {
  margin-bottom: 14px;
}
ul li, ol li {
  margin-bottom: 8px;
  padding-left: 2px;
}

/***** MAP EMBED / SPECIAL BOXES *****/
.map-embed {
  background: #e6ecdd;
  color: #20557A;
  padding: 18px 16px;
  border-radius: 18px 30px 11px 17px;
  font-size: 0.99rem;
  box-shadow: 0 1px 8px 0 rgba(127,185,133,0.07);
  margin-bottom: 9px;
  margin-top: 8px;
}

/***** ACCESSIBILITY & FOCUS *****/
a:focus, button:focus, .cta:focus {
  outline: 2px dashed #F8B432;
  outline-offset: 2px;
  z-index: 1;
}

/***** COOKIE BANNER (MANDATORY) *****/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fffbe4;
  color: #2b2c2a;
  box-shadow: 0 -2px 16px 0 rgba(186,153,84,0.06);
  z-index: 2300;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 28px;
  padding: 24px 20px 24px 20px;
  font-size: 1rem;
  flex-wrap: wrap;
  transition: transform 0.32s, opacity 0.2s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(120px);
  pointer-events: none;
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
  flex-wrap: wrap;
  margin-left: 12px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.04rem;
  font-weight: 700;
  padding: 10px 20px;
  border: none;
  border-radius: 15px 19px 13px 13px;
  cursor: pointer;
  margin-right: 5px;
  box-shadow: 0 1px 4px 0 rgba(248,180,50,0.13);
  transition: background 0.21s, color 0.19s, box-shadow 0.17s;
}
.cookie-banner button.accept {
  background: #7fb985;
  color: #fff;
}
.cookie-banner button.accept:hover, .cookie-banner button.accept:focus {
  background: #377d55;
}
.cookie-banner button.reject {
  background: #F8B432;
  color: #20557A;
}
.cookie-banner button.reject:hover, .cookie-banner button.reject:focus {
  background: #ede5bb;
  color: #377d55;
}
.cookie-banner button.settings {
  background: #e6ecdd;
  color: #377d55;
}
.cookie-banner button.settings:hover, .cookie-banner button.settings:focus {
  background: #f4fbee;
  color: #20557A;
}
.cookie-banner .cookie-message {
  flex: 1 1 300px;
  min-width: 200px;
}

/***** COOKIE MODAL POPUP *****/
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(32,85,122,0.16);
  z-index: 2350;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.23s;
  pointer-events: all;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fffbe4;
  color: #20557A;
  border-radius: 24px 28px 14px 18px;
  box-shadow: 0 6px 40px 0 rgba(127,185,133,0.16);
  max-width: 390px;
  min-width: 270px;
  width: 92vw;
  padding: 32px 26px 24px 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: cookieModalSlideIn 0.4s cubic-bezier(0.35,0.98,0.51,0.96);
}
@keyframes cookieModalSlideIn {
  0% { opacity: 0; transform: translateY(80px) scale(0.93); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal-close {
  position: absolute;
  top: 14px; right: 14px;
  background: #377d55;
  color: #fff;
  font-size: 1.32rem;
  border: none;
  border-radius: 11px 12px 9px 8px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.21s, color 0.18s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #F8B432;
  color: #20557A;
}
.cookie-modal h3 {
  font-size: 1.19rem;
  margin-bottom: 9px;
  color: #377d55;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 16px;
}
.cookie-category {
  background: #e6ecdd;
  border-radius: 14px 15px 11px 14px;
  padding: 14px 14px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  font-size: 1.01rem;
}
.cookie-category .toggle {
  margin-left: 8px;
  width: 36px;
  height: 20px;
  background: #fbeab3;
  border: 2px solid #7fb985;
  border-radius: 11px;
  position: relative;
  transition: background 0.18s;
  cursor: pointer;
  flex-shrink: 0;
}
.cookie-category .toggle[data-enabled="true"] {
  background: #7fb985;
}
.cookie-category .toggle-switch {
  display: block;
  height: 16px;
  width: 16px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 1px; left: 1px;
  transition: left 0.18s;
}
.cookie-category .toggle[data-enabled="true"] .toggle-switch {
  left: 17px;
}
.cookie-category .always-on {
  font-size: 0.97rem;
  color: #20557A;
  background: #f4fbee;
  border-radius: 7px;
  padding: 2px 6px;
  margin-left: 6px;
  font-weight: 600;
}

/***** RESPONSIVE RULES (MOBILE-FIRST) *****/
@media (max-width: 1200px) {
  .container { max-width: 95%; }
  .features-grid, .service-list, .testimonials {
    justify-content: flex-start;
  }
}
@media (max-width: 900px) {
  .container { max-width: 98%; }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .newsletter-signup { padding: 13px 10px; }
  .features-grid, .service-list, .testimonials {
    flex-direction: column;
    gap: 18px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .footer-menu, .social-links {
    flex-wrap: wrap;
    gap: 12px;
  }
  footer .content-wrapper {
    gap: 16px;
  }
}
@media (max-width: 520px) {
  .cta, .cta.primary, .cta.secondary {
    padding: 11px 9vw;
    font-size: 1rem;
    min-width: 0;
  }
  section {
    padding-left: 3vw; padding-right: 3vw;
  }
  .mobile-menu .mobile-nav {
    padding-left: 19px; padding-right: 12px;
  }
  .service-list li, .feature {
    max-width: 99vw;
  }
}

/***** UTILITY CLASSES *****/
.hide { display: none !important; }
.nowrap { white-space: nowrap; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

/***** END OF CSS *****/
