/* ========================== */
/*   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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F6F6F3;
  color: #253447;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  padding-left: 24px;
}
a {
  color: #3B7150;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #3EC7B2;
  outline: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
button {
  background: none;
  border: none;
  cursor: pointer;
}
strong {
  font-weight: 700;
}
h1,h2,h3,h4,h5,h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #253447;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
  line-height: 1.2;
}
h1 {font-size: 2rem; margin-bottom: 20px;}
h2 {font-size: 1.5rem; margin-bottom: 16px;}
h3 {font-size: 1.2rem; margin-bottom: 12px;}
@media (min-width: 480px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.375rem; }
}

/* ============================== */
/*       COLORS FOR NATURE        */
/* ============================== */
:root {
  --color-primary: #253447; /* Brand primary */
  --color-secondary: #3EC7B2; /* Brand accent green */
  --color-accent: #ffffff;
  --color-bg: #F6F6F3; /* soft background */
  --color-earth: #BDA878; /* Earthy sand - for organic accents */
  --color-leaf: #4CAF50; /* Organic deep green */
  --color-clay: #8D775F; /* Brownish for cards */
  --color-text: #253447;
  --color-muted: #6E7F60;
  --color-card-bg: #fffefb;
  --color-card-shadow: rgba(61,84,45,0.10);
  --color-btn-bg: #4CAF50;
  --color-btn-bg-hover: #87B49E;
  --color-error: #B00020;
}


/* ============================== */
/*      SPACING & CONTAINERS      */
/* ============================== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .section, section {
    padding: 30px 5vw;
    margin-bottom: 36px;
  }
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}


/* ============================== */
/*          HEADER/NAV            */
/* ============================== */
header {
  background: var(--color-accent);
  box-shadow: 0 2px 10px rgba(40,80,40,0.045);
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 80;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 18px;
}
header img {
  height: 44px;
  width: auto;
  border-radius: 12px;
  box-shadow: 0 2px 8px 0 rgba(70,90,50,0.04);
}
.main-nav {
  display: flex;
  gap: 20px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  color: var(--color-primary);
  padding: 8px 12px;
  border-radius: 16px 3px 12px 6px/10px 24px 9px 14px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-secondary);
  background: #E2F3E7;
  outline: none;
}
.btn-primary {
  display: inline-block;
  background: var(--color-btn-bg);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 12px 32px;
  border-radius: 25px 10px 18px 13px/22px 25px 8px 14px;
  box-shadow: 0 2px 8px var(--color-card-shadow);
  font-weight: 700;
  font-size: 18px;
  border: none;
  letter-spacing: 0.02em;
  transition: background 0.17s, box-shadow 0.23s, color 0.16s, transform 0.18s;
  cursor: pointer;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--color-btn-bg-hover);
  color: #253447;
  box-shadow: 0 6px 24px 0 rgba(61,84,45,0.10);
  transform: translateY(-1px) scale(1.025);
}
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  background: var(--color-secondary);
  color: #fff;
  border-radius: 16px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: none;
  transition: background 0.2s;
  z-index: 99;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-leaf);
}
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* ---------------------------- */
/*     MOBILE MENU STYLES       */
/* ---------------------------- */
.mobile-menu {
  position: fixed;
  z-index: 999;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(36, 62, 44, 0.92);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transition: transform 0.35s cubic-bezier(.44,1.86,.77,.98), opacity 0.19s;
  transform: translateX(-110%);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0%);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: var(--color-leaf);
  color: #fff;
  border-radius: 22px;
  font-size: 2.3rem;
  align-self: flex-end;
  margin: 24px 20px 12px 0;
  transition: background 0.15s;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  align-items: flex-start;
  padding: 32px 26px 26px 32px;
}
.mobile-nav a {
  color: #FFF;
  background: none;
  font-size: 1.3rem;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 16px 3px 22px 8px/21px 18px 17px 7px;
  padding: 14px 8px;
  font-weight: 500;
  width: 100%;
  transition: background 0.19s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #C9EAD6;
  color: var(--color-primary);
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ============================== */
/*             HERO               */
/* ============================== */
.hero {
  background: linear-gradient(120deg, #D3E1C3 0%, #EAF7ED 100%);
  border-radius: 36px 15px 64px 22px/25px 58px 37px 89px;
  box-shadow: 0 4px 32px 0 var(--color-card-shadow);
  margin-top: 24px;
  margin-bottom: 60px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 20px;
}
.hero h1 {
  color: var(--color-leaf);
  font-size: 2.5rem;
  margin-bottom: 12px;
}
.hero p {
  color: var(--color-primary);
  font-size: 1.2rem;
  margin-bottom: 22px;
  max-width: 600px;
}
@media (max-width: 768px) {
  .hero { border-radius: 21px 10px 33px 18px/19px 41px 24px 32px; padding: 26px 8px; }
  .hero h1 {font-size: 1.7rem;}
}

/* ============================== */
/*            FEATURES            */
/* ============================== */
.features {
  background: #EFF5E8;
  border-radius: 26px 24px 24px 39px/36px 30px 41px 33px;
  box-shadow: 0 2px 16px 0 var(--color-card-shadow);
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
  margin-bottom: 10px;
}
.feature-item {
  background: var(--color-card-bg);
  border-radius: 26px 9px 20px 13px/17px 24px 19px 14px;
  box-shadow: 0 2px 12px var(--color-card-shadow);
  flex: 1 1 225px;
  min-width: 220px;
  max-width: 312px;
  padding: 24px 20px 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: transform 0.17s, box-shadow 0.17s;
  border-left: 4px solid var(--color-earth);
}
.feature-item img {
  width: 40px;
  height: 40px;
  border-radius: 12px 20px 18px 9px/13px 17px 21px 11px;
  background: #E7F3E0;
}
.feature-item h3 {
  font-size: 1.15rem;
  color: var(--color-leaf);
}
.feature-item p {
  color: var(--color-primary);
  font-size: 1rem;
}
.feature-item:hover, .feature-item:focus-within {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 8px 26px 0 rgba(79,116,70,0.18);
  border-left: 6px solid var(--color-leaf);
}

@media (max-width: 900px) {
  .feature-grid { gap: 18px; }
  .feature-item { flex: 1 1 180px; min-width: 160px; padding: 18px 12px 14px 14px; }
}
@media (max-width: 600px) {
  .feature-grid { flex-direction: column; }
  .feature-item { max-width: 100%; }
}

/* ============================== */
/*           CARD PATTERNS        */
/* ============================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  background: var(--color-card-bg);
  border-radius: 18px 9px 15px 17px/15px 15px 13px 9px;
  box-shadow: 0 2px 10px 0 var(--color-card-shadow);
  margin-bottom: 20px;
  padding: 24px;
  flex: 1 1 320px;
  transition: box-shadow 0.20s, transform 0.18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 7px 24px 0 rgba(61,84,45,0.08);
  transform: scale(1.015);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
@media (max-width: 900px) {
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
}

/* ============================== */
/*         TEXT SECTIONS          */
/* ============================== */
.text-section {
  margin: 16px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* ============================== */
/*            SERVICES            */
/* ============================== */
.services {
  background: #FCF9F4;
  border-radius: 22px 34px 21px 18px/32px 29px 30px 18px;
  box-shadow: 0 1px 6px 0 var(--color-card-shadow);
}
.service-overview, .faq ul, .services ul,
.legal-section .text-section ul {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-overview li, .faq ul li, .services ul li {
  padding-left: 0;
  list-style: disc inside none;
  color: var(--color-muted);
}
/* ============================== */
/*           BLOG LIST            */
/* ============================== */
.blog-list .blog-post-teaser {
  background: #eeefe6;
  border-radius: 20px 10px 14px 17px/12px 16px 20px 17px;
  box-shadow: 0 2px 8px var(--color-card-shadow);
  margin-bottom: 20px;
  padding: 22px 18px 15px 22px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  transition: box-shadow 0.13s;
}
.blog-list .blog-post-teaser:hover, .blog-list .blog-post-teaser:focus-within {
  box-shadow: 0 7px 22px 0 rgba(61,84,45,0.12);
}
.read-more {
  margin-top: 4px;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-btn-bg);
  display: inline-flex;
  align-items: center;
  font-size: 1.07em;
  font-weight: 600;
  transition: color 0.17s;
}
.read-more:hover, .read-more:focus { color: var(--color-leaf); }

/* ============================== */
/*          TESTIMONIALS          */
/* ============================== */
.testimonials {
  background: #e6f3ea;
  border-radius: 21px 18px 37px 22px/19px 41px 34px 22px;
  box-shadow: 0 1px 12px 0 var(--color-card-shadow);
}
.testimonials .testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 18px 6px 14px 12px/12px 13px 21px 9px;
  background: var(--color-card-bg);
  box-shadow: 0 1px 6px 0 var(--color-card-shadow);
  border-left: 6px solid var(--color-leaf);
  transition: box-shadow 0.16s;
}
.testimonials .testimonial-card:hover, .testimonials .testimonial-card:focus-within {
  box-shadow: 0 5px 22px 0 rgba(61,84,45,0.16);
}
.testimonial-card p {
  color: #29321B;
  font-size: 1.1rem;
  margin-bottom: 0;
}
.testimonial-author {
  color: var(--color-muted);
  font-style: italic;
  font-size: 1rem;
}
@media (max-width:600px) {
  .testimonials .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 15px;
  }
}

/* ============================== */
/*         CTA SECTION            */
/* ============================== */
.cta-section {
  background: linear-gradient(98deg, #D1E5C2 0%, #EBFAF5 100%);
  border-radius: 32px 28px 39px 21px/37px 24px 42px 32px;
  box-shadow: 0 2px 20px 0 var(--color-card-shadow);
  display: flex;
  align-items: center;
  text-align: left;
}
.cta-section .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
.cta-section h2 {
  color: var(--color-leaf);
  margin-bottom: 12px;
}
.cta-section p {
  color: var(--color-primary);
  font-weight: 500;
}

/* ============================== */
/*      FAQ, CONTACT, LEGAL       */
/* ============================== */
.faq, .contact, .legal-section, .contact-section, .confirmation-section {
  background: #FFF;
  border-radius: 19px 9px 17px 13px/12px 19px 26px 10px;
  box-shadow: 0 2px 8px 0 var(--color-card-shadow);
}

.contact-section .text-section ul,
.contact .text-section ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.contact-section .map-location {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #E2F3E7;
  border-radius: 10px 7px 8px 7px/6px 13px 8px 11px;
  padding: 10px 15px;
  color: var(--color-leaf);
  margin-top: 12px;
  font-size: 1rem;
}
.contact-section .map-location img {
  width: 32px; height: 32px;
}

/* ============================== */
/*          FOOTER STYLES         */
/* ============================== */
footer {
  background: #f3f7f3;
  border-top: 4px solid var(--color-leaf);
  margin-top: 60px;
  padding: 36px 0 18px 0;
  font-size: 1rem;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
  justify-content: space-between;
}
.brand-info {
  display: flex;
  flex-direction: column;
  gap: 11px;
  max-width: 340px;
}
.brand-info img {
  width: 46px;
  height: 46px;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 170px;
}
.footer-menu a {
  color: var(--color-muted);
  font-size: 1em;
  padding: 5px 0;
  border-radius: 9px 18px 8px 12px/14px 6px 13px 17px;
  transition: background 0.13s, color 0.13s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: var(--color-leaf);
  background: #C9EAD6;
}
.contact-short {
  min-width: 170px;
}
@media (max-width: 880px) {
  .footer-nav {
    flex-direction: column;
    gap: 28px;
  }
  .footer-menu, .contact-short, .brand-info { min-width: unset; }
}

/* ================================ */
/*       COOKIE BANNER + MODAL      */
/* ================================ */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1202;
  background: #edfaf2;
  color: var(--color-primary);
  box-shadow: 0 -3px 28px 0 rgba(61,84,45,0.13);
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  padding: 26px 20px 18px 20px;
  border-radius: 20px 20px 0 0/19px 19px 0 0;
  animation: cookie-fadein 0.58s;
}
@keyframes cookie-fadein {
  0% { transform: translateY(100%); opacity: 0; }
  70% { opacity: 0.67; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  max-width: 600px;
  line-height: 1.6;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 16px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.cookie-btn {
  background: var(--color-leaf);
  color: #fff;
  border-radius: 33px 13px 27px 16px/14px 23px 9px 12px;
  padding: 10px 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0px 1px 4px 0 var(--color-card-shadow);
  margin-top: 0;
  transition: background 0.16s, color 0.18s, box-shadow 0.18s;
}
.cookie-btn.settings {
  background: var(--color-earth);
  color: var(--color-primary);
}
.cookie-btn.reject {
  background: #8D775F; /* clay color */
  color: #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-secondary);
  color: #253447;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #D8CBB2;
  color: #253447;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #b6956a;
  color: #253447;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 1304;
  background: rgba(54,72,44,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-dialog {
  background: #fff;
  color: var(--color-primary);
  border-radius: 23px 14px 21px 17px/18px 20px 19px 13px;
  max-width: 95vw;
  min-width: 288px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 9px 36px 0 rgba(61,84,45,0.20);
  padding: 36px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: modal-in 0.45s cubic-bezier(.73,0,.44,1);
}
@keyframes modal-in {
  0% { transform: translateY(110px) scale(0.95); opacity: 0; }
  60% { opacity: 0.70; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal-dialog h3 {
  font-size: 1.25rem;
}
.cookie-modal-close {
  position: absolute;
  top: 11px; right: 11px;
  width: 36px; height: 36px;
  background: var(--color-leaf);
  color: #fff;
  border: none;
  border-radius: 18px;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.16s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus { background: var(--color-secondary); }
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0 7px 9px;
}
.cookie-category input[type="checkbox"]:disabled + span {
  color: #bbb;
  font-style: italic;
}
.cookie-category label {
  font-size: 1rem;
  color: var(--color-primary);
  font-family: inherit;
}

/* =============================== */
/*           ANIMATIONS            */
/* =============================== */
.btn-primary, .cookie-btn, .feature-item, .card, .hero, .cta-section, .footer-menu a, .mobile-menu-toggle, .mobile-menu-close {
  transition: 
    background 0.13s, color 0.13s, box-shadow 0.18s, transform 0.18s;
}

/* =============================== */
/*            UTILS                */
/* =============================== */
.nowrap { white-space: nowrap; }
.z-index-top { z-index: 1209; }
.overflow-hidden { overflow: hidden; }

/* =============================== */
/*     FORM FIELDS (if present)    */
/* =============================== */
input, textarea, select {
  border-radius: 12px;
  border: 1.5px solid #DEEAD9;
  padding: 10px 16px;
  font-size: 16px;
  margin-bottom: 12px;
  width: 100%;
  background: #FCF9F4;
  color: var(--color-primary);
  outline: none;
  transition: border 0.17s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--color-secondary);
  background: #fff;
}

/* =============================== */
/*        RESPONSIVE RULES         */
/* =============================== */
@media (max-width: 600px) {
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.09rem; }
  h3 { font-size: 1rem; }
  .footer-nav {
    flex-direction: column;
    gap: 23px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    gap: 12px;
    padding: 13px;
  }
}

/* =============================== */
/*    ACCESSIBILITY OUTLINES       */
/* =============================== */
a:focus, button:focus, .btn-primary:focus, .cookie-btn:focus, .footer-menu a:focus, .mobile-nav a:focus {
  outline: 2.5px solid var(--color-secondary);
  outline-offset: 2px;
}

/* =============================== */
/*       SCROLLBAR CUSTOMIZE       */
/* =============================== */
body {
  scrollbar-width: thin;
  scrollbar-color: #B5CAA0 #e1ecd6;
}
body::-webkit-scrollbar {
  width: 9px;
  background: #e1ecd6;
}
body::-webkit-scrollbar-thumb {
  background: #B5CAA0;
  border-radius: 8px;
}

/* =============================== */
/*        NATURE DECORATIVE        */
/* =============================== */
.section, .card, .feature-item, .footer-menu a, .btn-primary, .cookie-btn, .cookie-modal-dialog, .hero, .cta-section, .testimonial-card {
  /* Organic corners: already custom border-radius */
}
