/* =======================================================
   NATURE ORGANIC CSS RESET & BASELINE
   ======================================================= */
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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.55;
  background: #f6f1ed; /* Natural pale background */
  color: #2d311e;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  scroll-behavior: smooth;
}

*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #227443;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #00DEE9;
  text-decoration: underline;
}
ul, ol {
  margin-left: 20px;
  margin-bottom: 16px;
}
strong, b {
  font-weight: bold;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 9px;
}

/* Font smoothing */
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* =======================================================
   BRAND + ORGANIC COLOR PALETTE (EARTH TONES + BRAND)
   ======================================================= */
:root {
  --color-primary: #132040;
  --color-secondary: #00DEE9;
  --color-accent: #FFD700;
  --color-organic-green: #227443;
  --color-organic-brown: #b9a278;
  --color-organic-clay: #bea27c;
  --color-organic-leaf: #7dbc72;
  --color-organic-stone: #e6e1db;
  --color-bg: #f6f1ed;
  --color-card-bg: #fffaf4;
  --color-section-bg: #f5f6ee;
  --color-border: #d6c7ae;
  --color-card-shadow: rgba(34, 116, 67, 0.10);
  --color-text-dark: #24341a;
  --color-text: #2d311e;
  --color-text-light: #fbfaf7;
  --color-focus: #00DEE9;
}

/* Fallbacks */
body {
  background: var(--color-bg, #f6f1ed);
  color: var(--color-text, #2d311e);
}

/* =======================================================
   TYPOGRAPHY
   ======================================================= */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500,400|Roboto:400,500,700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: var(--color-primary);
  letter-spacing: 0.012em;
  margin-bottom: 12px;
}
h1 {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 18px;
}
h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.28rem;
  font-weight: 600;
  line-height: 1.22;
  margin-bottom: 8px;
}
h4 {
  font-size: 1.08rem;
  font-weight: 500;
}
p, li, address {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: var(--color-text-dark);
  margin-bottom: 14px;
  line-height: 1.65;
}

.text-section, .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Main CTA Button */
.cta-btn {
  background: var(--color-organic-green);
  color: var(--color-text-light);
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.07rem;
  font-weight: 600;
  padding: 13px 32px;
  border-radius: 36px 24px 36px 24px/26px 40px 26px 36px;
  border: none;
  box-shadow: 0 3px 16px var(--color-card-shadow);
  margin-top: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: background 0.20s, color 0.18s, box-shadow 0.18s, transform 0.13s;
  outline: none;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
  box-shadow: 0 4px 18px 3px rgba(34,116,67,0.18);
  transform: translateY(-2px) scale(1.035) rotate(-1deg);
}

/* List styles */
ul {
  list-style-type: disc;
  padding-left: 24px;
  margin-bottom: 18px;
}
li {
  margin-bottom: 6px;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--color-text-dark);
}
ol { list-style-type: decimal; padding-left: 24px; }

hr {
  border: 0;
  height: 1px;
  background: var(--color-organic-brown);
  margin: 32px 0 22px 0;
  width: 100%;
}

/* =======================================================
   LAYOUT CONTAINERS (ONLY FLEXBOX!)
   ======================================================= */
.container {
  width: 100%;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
/* CRITICAL SPACING RULES */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 51px 48px 49px 50px / 40px 47px 46px 53px;
  background: var(--color-section-bg);
  box-shadow: 0 2px 18px 2px var(--color-card-shadow);
  position: relative;
}

/* Card container layouts */
.card-container, .card-grid, .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 24px;
}
.card, .feature-grid > div {
  background: var(--color-card-bg);
  box-shadow: 0 1px 14px 1.5px var(--color-card-shadow);
  border-radius: 22px 38px 27px 33px / 25px 22px 30px 39px;
  padding: 26px 22px 22px 22px;
  margin-bottom: 20px;
  flex: 1 1 260px;
  min-width: 235px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  position: relative;
  transition: box-shadow 0.2s, transform 0.18s;
}
.card:hover, .feature-grid > div:hover {
  box-shadow: 0 4px 28px 6px rgba(51, 117, 57, 0.17), 0 2px 18px 2px var(--color-card-shadow);
  transform: translateY(-3px) scale(1.019);
}
.card img, .feature-grid img {
  max-width: 60px;
  margin-bottom: 4px;
  border-radius: 50%;
  background: #ecefed;
}

.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: #fafdfe;
  box-shadow: 0 1.5px 10px 0.5px var(--color-card-shadow);
  border-radius: 40px 32px 47px 27px / 33px 40px 29px 34px;
  margin-bottom: 20px;
  margin-top: 12px;
  position: relative;
  font-size: 1.09rem;
  color: #233622;
}

.testimonial-card strong {
  font-size: 1em;
  color: var(--color-organic-green);
  font-weight: 600;
}
.testimonial-card p {
  margin: 0;
  font-size: 1.08rem;
  color: #233622;
}

@media (max-width: 768px) {
  .container {
    max-width: 100%;
    padding-left: 9px;
    padding-right: 9px;
  }
  .section {
    padding: 26px 7px 32px 7px;
    border-radius: 18px 22px 18px 21px / 13px 19px 19px 16px;
  }
  .card, .feature-grid > div {
    min-width: 95%;
    max-width: 100%;
    padding: 19px 13px 13px 13px;
  }
  .feature-grid, .card-container, .card-grid, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 9px;
    padding: 15px 8px;
    margin-bottom: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 15px;
  }
}

/* Feature item (special) */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Note & info blocks (example on Events) */
.note {
  background: var(--color-organic-leaf);
  color: white;
  border-radius: 21px 27px 23px 22px / 18px 25px 22px 19px;
  padding: 16px 22px;
  margin: 12px 0 0 0;
  font-size: 1.08rem;
  box-shadow: 0 1px 7px rgba(93, 180, 114, 0.15);
}

/* =======================================================
   HEADER & NAVIGATION
   ======================================================= */
header {
  background: #fffaf7;
  border-bottom: 1.5px solid var(--color-border);
  box-shadow: 0 4px 24px -12px var(--color-card-shadow);
  position: relative;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 0;
}
header img {
  height: 46px;
  width: auto;
  margin-right: 10px;
}

.main-nav {
  display: flex;
  flex-direction: row;
  gap: 0 16px;
  align-items: center;
  margin-left: 14px;
  font-size: 1.03rem;
}
.main-nav a {
  color: var(--color-organic-green);
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 500;
  padding: 7px 9px;
  border-radius: 10px;
  transition: background 0.16s, color 0.15s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-organic-leaf);
  color: #fff;
}

header .cta-btn {
  margin-left: 16px;
  margin-right: 0;
  font-size: 1rem;
  font-weight: 700;
}

/* Burger Icon */
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  background: var(--color-organic-green);
  color: #fff;
  border-radius: 16px 36px 36px 13px/18px 29px 17px 19px;
  border: none;
  padding: 7px 18px;
  margin-left: 16px;
  cursor: pointer;
  transition: background 0.18s, color 0.17s, box-shadow 0.18s;
  z-index: 2050;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
  outline: 2px solid var(--color-focus);
}

/* MOBILE NAV MENU */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  z-index: 2000;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(247,245,236, 0.98);
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.85,.11,.16,.94);
  box-shadow: 0 7px 40px 20px var(--color-card-shadow);
  visibility: hidden;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
}
.mobile-menu-close {
  background: var(--color-organic-green);
  color: #fff;
  border-radius: 26px 16px 36px 23px/13px 22px 37px 18px;
  border: none;
  font-size: 2rem;
  width: 52px;
  height: 52px;
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 2101;
  cursor: pointer;
  transition: background 0.15s, color 0.14s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--color-secondary);
  color: var(--color-primary);
}

.mobile-nav {
  margin-top: 92px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  gap: 0;
}
.mobile-nav a {
  display: block;
  width: 100%;
  padding: 18px 26px 17px 34px;
  color: var(--color-organic-green);
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.19rem;
  font-weight: 500;
  border-bottom: 1px solid #e4eddc;
  transition: background 0.15s, color 0.12s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-organic-leaf);
  color: #fff;
}

@media (max-width: 1023px) {
  .main-nav { display: none; }
  header .cta-btn { display: none; }
  .mobile-menu-toggle { display: block; }
}
@media (min-width: 1024px) {
  .mobile-menu { display: none !important; }
}

/* Header shrink on mobile */
@media (max-width: 600px) {
  header .container { min-height: 51px; }
  header img { height: 36px; }
}

/* =======================================================
   FOOTER
   ======================================================= */
footer {
  background: #ede8de;
  border-top: 1px solid var(--color-border);
  padding: 32px 0 20px 0;
  margin-top: 90px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}
footer nav.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}
footer nav.footer-nav a {
  color: var(--color-organic-green);
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.02rem;
  font-weight: 500;
  opacity: 0.92;
  transition: color 0.15s, text-decoration 0.16s;
}
footer nav.footer-nav a:hover, footer nav.footer-nav a:focus {
  color: var(--color-secondary);
  text-decoration: underline;
}
footer .footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}
footer .footer-contact img {
  width: 40px;
  height: 40px;
  margin-bottom: 6px;
}
footer address {
  font-style: normal;
  color: #40642e;
  font-size: 0.98rem;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
footer address img {
  margin-bottom: -4px;
  height: 1.1em;
  width: auto;
  display: inline-block;
  margin-right: 4px;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
  }
}

/* =======================================================
   COOKIE CONSENT BANNER
   ======================================================= */
#cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f6ee;
  color: #25300c;
  padding: 30px 16px 18px 16px;
  box-shadow: 0 -2px 27px 0 var(--color-card-shadow);
  border-top: 2.5px solid var(--color-organic-brown);
  animation: cookiebanner-fadein 0.34s;
}
@keyframes cookiebanner-fadein { from { opacity: 0; transform: translateY(70px);} to {opacity:1; transform:none;}}
#cookie-banner.hide {
  display: none !important;
}
#cookie-banner .cookie-text {
  flex: 0 1 570px;
  font-size: 1.01rem;
  margin-right: 22px;
}
#cookie-banner .cookie-btn, #cookie-banner .cookie-settings-btn {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  margin-left: 13px;
  margin-right: 2px;
  padding: 11px 22px 9px 22px;
  border-radius: 18px 32px 20px 29px / 22px 21px 34px 15px;
  cursor: pointer;
  background: var(--color-organic-green);
  color: #fff;
  box-shadow: 0 2px 8px var(--color-card-shadow);
  transition: background 0.17s, box-shadow 0.14s, transform 0.15s;
}
#cookie-banner .cookie-btn.reject {
  background: #aa9274;
  color: #fff;
}
#cookie-banner .cookie-btn:hover, #cookie-banner .cookie-settings-btn:hover {
  background: var(--color-secondary);
  color: var(--color-primary);
  box-shadow: 0 2px 15px 3px #409e8c18;
  transform: translateY(-2px) scale(1.03);
}
#cookie-banner .cookie-btn.reject:hover {
  background: #FFD700;
  color: #24341a;
}

@media (max-width: 600px) {
  #cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 19px 5px 9px 11px;
  }
  #cookie-banner .cookie-text {
    margin-bottom: 8px;
    margin-right: 0;
  }
  #cookie-banner .cookie-btn, #cookie-banner .cookie-settings-btn {
    margin-bottom: 7px;
    width: 100%;
    max-width: 320px;
  }
}

/* COOKIE MODAL POPUP */
#cookie-modal {
  display: none;
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 19999;
  background: rgba(31,34,18, 0.16);
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.22s;
}
#cookie-modal.open {
  display: flex;
}
@keyframes fadeIn { from {opacity: 0;} to {opacity: 1;} }
#cookie-modal-content {
  background: #fffaf2;
  border-radius: 38px 21px 31px 34px / 29px 34px 19px 23px;
  border: 2.8px solid var(--color-organic-brown);
  max-width: 414px;
  min-width: 260px;
  width: 96vw;
  box-shadow: 0 2px 22px 1.5px var(--color-card-shadow);
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 28px 24px 22px 24px;
  animation: cookieModalPop 0.34s;
  position: relative;
}
@keyframes cookieModalPop { from {transform: translateY(80px) scale(.90);} to {transform:none;}}
#cookie-modal-content h2, #cookie-modal-content h3 {
  color: var(--color-primary) !important;
  margin-bottom: 8px;
}
#cookie-modal-content label {
  font-size: 1rem;
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  gap: 11px;
  cursor: pointer;
}
#cookie-modal-content input[type="checkbox"] {
  accent-color: var(--color-organic-green);
  width: 18px; height: 18px;
}
#cookie-modal-content .modal-actions {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 11px;
}
#cookie-modal-content .cookie-btn {
  padding: 7px 19px;
}
#cookie-modal-content .close-modal {
  position: absolute;
  top: 13px;
  right: 12px;
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 1.28rem;
  cursor: pointer;
  transition: color 0.14s;
}
#cookie-modal-content .close-modal:hover {
  color: var(--color-secondary);
}

/* =======================================================
   ANIMATIONS
   ======================================================= */
.section, .card, .feature-grid > div, .note, .testimonial-card {
  transition: box-shadow 0.2s, transform 0.17s, background 0.13s;
}
.section:hover {
  box-shadow: 0 4px 28px 7px var(--color-card-shadow);
}

/* Micro-interaction for links & buttons */
a, button, .cta-btn, .cookie-btn, .cookie-settings-btn {
  transition: color 0.2s, background 0.19s, transform 0.16s, box-shadow 0.16s;
  outline: none;
}
a:focus, button:focus {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}

/* =======================================================
   FORMS
   ======================================================= */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  padding: 9px 14px;
  border-radius: 14px 34px 20px 23px / 18px 14px 33px 15px;
  border: 1.8px solid var(--color-organic-brown);
  background: #fcfbf7;
  color: var(--color-text-dark);
  margin-bottom: 17px;
  transition: border 0.18s, box-shadow 0.13s;
}
input:focus, textarea:focus, select:focus {
  border: 1.8px solid var(--color-secondary);
  box-shadow: 0 0 9px #00dee942;
  outline: none;
}

/* =======================================================
   MISC & UTILITIES
   ======================================================= */
body::-webkit-scrollbar {
  width: 10px;
  background: #eceada;
}
body::-webkit-scrollbar-thumb {
  background: var(--color-organic-leaf);
  border-radius: 12px;
}

/* Blockquotes */
blockquote {
  background: var(--color-organic-leaf);
  color: #fff;
  border-radius: 32px 18px 31px 30px / 24px 12px 23px 35px;
  padding: 22px 32px;
  margin: 19px 0 14px 0;
  font-size: 1.13rem;
  box-shadow: 0 1px 16px rgba(93,180,114,0.09);
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* Style lists in address for contacts */
address ul, address li {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Hide visually but keep accessible */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  border: 0 !important;
}

/* =======================================================
   END OF STYLE.CSS
   ======================================================= */
