/* --------------------------------------------------
   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%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #FFF9F2;
  color: #184F38;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #184F38;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px dashed #8FBC8F;
  outline-offset: 2px;
}


/* --------------------------------------------------
   BRAND TYPOGRAPHY & DISPLAY
   -------------------------------------------------- */
h1, h2, h3 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 16px;
  color: #253E26;
  letter-spacing: 0.5px;
}
h1 {
  font-size: 2.4rem;
  text-shadow: 0 3px 0 #8FBC8F22;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
}
h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}
.text-center {
  text-align: center !important;
}
.brand-tagline {
  display: block;
  margin: 16px 0;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.1rem;
  color: #8FBC8F;
  letter-spacing: 0.5px;
  font-style: italic;
}
p, ul, ol {
  margin-bottom: 16px;
  font-size: 1rem;
  color: #184F38;
}
strong, b {
  color: #184F38;
  font-weight: 700;
}
ul, ol {
  padding-left: 24px;
}
ul li, ol li {
  margin-bottom: 8px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}
ul li img, ol li img {
  width: 22px;
  height: 22px;
  margin-right: 6px;
  flex-shrink: 0;
  vertical-align: middle;
}

/* --------------------------------------------------
   CONTAINER & SECTION LAYOUTS
   -------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0px 3px 24px 0px #E6E2D626;
  padding: 24px 20px 22px 20px;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s cubic-bezier(.68, -.6, .32, 1.6), box-shadow 0.24s;
}
.card:hover {
  transform: translateY(-6px) scale(1.025) rotate(-0.5deg);
  box-shadow: 0 7px 36px 0 #8FBC8F36;
  background: #FFF9F2;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 13px;
}
.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;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 16px;
}
.cta-banner {
  background: #8FBC8F;
  color: #184F38;
  border-radius: 18px;
  margin-bottom: 60px;
  padding: 32px 20px;
  box-shadow: 0 2px 14px #184F3822;
}

/* --------------------------------------------------
   HEADER, NAV & HERO
   -------------------------------------------------- */
header {
  background: #184F38;
  color: #fff;
  width: 100%;
  z-index: 20;
  box-shadow: 0 5px 18px #184F3830;
  margin-bottom: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 0 20px;
  min-height: 78px;
  position: relative;
}
.logo img { height: 44px; display: block; }
.logo-footer img { height: 38px; }
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  color: #fff;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  border-radius: 4px;
  padding: 6px 12px;
  transition: background .17s, color .17s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #8FBC8F;
  color: #184F38;
}
.btn-primary, .btn-secondary {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 10px 28px;
  border-radius: 100px;
  display: inline-block;
  text-align: center;
  cursor: pointer;
  border: none;
  outline: none;
  transition: background .16s, color .13s, box-shadow .18s, transform .19s;
  box-shadow: 0 2px 9px #8FBC8F27;
}
.btn-primary {
  background: #8FBC8F;
  color: #184F38;
}
.btn-primary:hover,
.btn-primary:focus {
  background: #184F38;
  color: #FFF9F2;
  transform: translateY(-2px) scale(1.03);
}
.btn-secondary {
  background: #FFF9F2;
  border: 2px solid #184F38;
  color: #184F38;
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: #8FBC8F;
  color: #184F38;
  border-color: #8FBC8F;
  transform: translateY(-2px) scale(1.03);
}

.hero {
  min-height: 275px;
  background: linear-gradient(90deg, #8FBC8F 0%, #FFF9F2 100%);
  display: flex;
  align-items: center;
  margin-bottom: 50px;
  border-radius: 0 0 40px 40px;
  box-shadow: 0 8px 36px #8FBC8F14, 0 1px 0 #FFF solid;
}
.hero .container {
  flex-direction: column;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
  padding-top: 32px;
  padding-bottom: 32px;
}
.hero h1 {
  color: #184F38;
  font-size: 2.6rem;
}
.hero p {
  color: #253E26;
  font-size: 1.225rem;
}
.hero .btn-primary {
  margin-top: 8px;
}

/* --------------------------------------------------
   MOBILE MENU
   -------------------------------------------------- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #FFF9F2;
  cursor: pointer;
  z-index: 41;
  padding: 10px 12px;
  border-radius: 8px;
  margin-left: 12px;
  transition: background .13s;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: #8FBC8F;
  color: #184F38;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; height: 100vh; width: 100vw;
  background: #184F38;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 40px 24px 24px 28px;
  z-index: 99;
  transform: translateX(-110vw);
  transition: transform 0.37s cubic-bezier(.6, -.38, .52, 1.34);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #8FBC8F;
  align-self: flex-end;
  margin-bottom: 20px;
  cursor: pointer;
  padding: 4px 12px;
  border-radius: 7px;
  transition: background .13s;
  z-index: 100;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: #FFF9F2;
  color: #184F38;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  margin-top: 30px;
}
.mobile-nav a {
  color: #FFF9F2;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  padding: 13px 8px;
  border-radius: 6px;
  transition: background .17s, color .14s;
  width: 100%;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: #8FBC8F;
  color: #184F38;
}

/* --- Responsive nav --- */
@media (max-width: 960px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 961px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; } 
  .main-nav { display: flex !important; }
}

/* --------------------------------------------------
   FOOTER
   -------------------------------------------------- */
footer {
  background: #184F38;
  color: #FFF9F2;
  padding: 38px 0 0 0;
  box-shadow: 0 0 38px #184F3813;
  margin-top: 70px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 36px 12px;
  flex-wrap: wrap;
}
.logo-footer { margin-bottom: 20px; }
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-nav a {
  color: #FFF9F2;
  font-size: 1rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 500;
  padding: 6px 0;
  border-radius: 3px;
  transition: background .13s, color .13s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #8FBC8F;
  background: #FFF9F2;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #FFF9F2;
  font-size: 1rem;
  margin-bottom: 10px;
}
.footer-contact img { width: 16px; margin-right: 4px; vertical-align: middle; }

/* --------------------------------------------------
   CARDS, TESTIMONIALS & LISTS
   -------------------------------------------------- */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fff;
  color: #184F38;
  border-radius: 14px;
  box-shadow: 0 3px 24px #8FBC8F19;
  min-width: 250px;
  max-width: 650px;
  font-size: 1.05rem;
}
.testimonial-card p {
  color: #184F38;
  margin-bottom: 0;
  font-size: 1rem;
  flex: 1;
}
.testimonial-card strong {
  font-size: 1rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #8FBC8F;
  margin-left: 10px;
  white-space: nowrap;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.blog-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 26px;
}
.blog-categories li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.blog-categories a {
  background: #FFF9F2;
  color: #184F38;
  border-radius: 17px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  padding: 10px 18px;
  font-weight: 600;
  box-shadow: 0 1px 5px #8FBC8F27;
  transition: box-shadow .14s, background .13s, color .13s;
}
.blog-categories a:hover,
.blog-categories a:focus {
  background: #8FBC8F;
  color: #FFF9F2;
  box-shadow: 0 2px 18px #8FBC8F40;
}
.newsletter-mockup {
  background: #fff;
  padding: 19px 16px;
  border-radius: 18px;
  box-shadow: 0 2px 18px #8FBC8F1c;
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 18px;
}

/* --------------------------------------------------
   SPACING & FLEX PATTERNS (MANDATORY)
   -------------------------------------------------- */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* Consistent white-space/gap */
.content-wrapper, .card-content, .text-section { gap: 16px; }

/* Do not overlap, always spacing */
.card, .testimonial-card, .cta-banner, .newsletter-mockup { margin-bottom: 24px; }

/* --------------------------------------------------
   COOKIE CONSENT BANNER & MODAL
   -------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #184F38;
  color: #fff;
  z-index: 199;
  padding: 22px 18px 22px 18px;
  box-shadow: 0 -2px 18px #184F3827;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  transition: transform .29s cubic-bezier(.7,0,.73,1.33), opacity .13s;
}
.cookie-banner.hide {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 6px;
}
.cookie-banner button {
  background: #8FBC8F;
  color: #184F38;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  border: none;
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  margin: 0 1px;
  transition: background .16s, color .13s, transform .17s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #FFF9F2;
  color: #184F38;
  outline: 2px dashed #8FBC8F;
}
.cookie-banner .cookie-banner-settings {
  background: #FFF9F2;
  color: #184F38;
  border: 2px solid #8FBC8F;
  margin-left: 3px;
}
.cookie-banner .cookie-banner-settings:hover {
  background: #8FBC8F;
  color: #FFF9F2;
}
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -150%);
  min-width: 300px;
  max-width: 98vw;
  background: #FFF9F2;
  color: #184F38;
  border-radius: 18px;
  box-shadow: 0 8px 48px #184F3833;
  padding: 32px 22px 28px 22px;
  z-index: 201;
  opacity: 0;
  pointer-events: none;
  transition: transform .32s cubic-bezier(.7,0,.73,1.2), opacity .19s;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-modal.open {
  opacity: 1;
  transform: translate(-50%, -50%);
  pointer-events: all;
}
.cookie-modal__title {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}
.cookie-modal__section {
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 13px;
}
.cookie-modal__section label {
  font-size: 1rem;
}
.cookie-toggle {
  appearance: none;
  -webkit-appearance: none;
  width: 36px;
  height: 20px;
  background: #8FBC8F;
  border-radius: 12px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background .18s;
  vertical-align: middle;
  border: none;
}
.cookie-toggle:checked {
  background: #184F38;
}
.cookie-toggle:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  left: 2px;
  top: 2px;
  width: 16px;
  height: 16px;
  border-radius: 100%;
  background: #FFF9F2;
  transition: left .17s;
}
.cookie-toggle:checked:before {
  left: 18px;
}
.cookie-modal__actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 8px;
}
.cookie-modal__close {
  background: none;
  color: #184F38;
  font-size: 1.25rem;
  position: absolute;
  top: 12px;
  right: 24px;
  border: none;
  cursor: pointer;
  padding: 3px 8px;
  z-index: 1;
}
.cookie-modal__close:focus, .cookie-modal__close:hover {
  background: #8FBC8F33;
  border-radius: 100%;
}

/* --------------------------------------------------
   ARTISTIC ELEMENTS, COLORFUL DETAILS, EFFECTS
   -------------------------------------------------- */
.section {
  border-radius: 24px 24px 12px 32px;
  box-shadow: 0 2px 16px #8FBC8F22;
  background: #fff;
  margin-bottom: 60px;
}
.section:nth-child(2n) {
  background: #FFF9F2;
  box-shadow: 0 1px 12px #8FBC8F13;
  border-radius: 12px 44px 32px 18px;
}
.content-wrapper h2, .content-wrapper h1 {
  position: relative;
  z-index: 1;
}
.content-wrapper h2:after {
  content: '';
  display: inline-block;
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 36px;
  height: 6px;
  border-radius: 6px;
  background: #8FBC8F;
  opacity: .45;
  z-index: 0;
}
.content-wrapper h1:after {
  content: '';
  display: inline-block;
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 55px;
  height: 8px;
  border-radius: 8px;
  background: #184F38;
  opacity: .32;
  z-index: 0;
}

::selection {
  background: #8FBC8F;
  color: #FFF9F2;
}

/* Artistic icons highlight (home/features/etc) */
ul li img, .footer-contact img {
  filter: drop-shadow(0 2px 3px #8FBC8F33);
}

/* Artistic micro-interactions */
.btn-primary, .btn-secondary, .main-nav a, .mobile-nav a {
  transition: background 0.17s, color 0.13s, transform 0.19s, box-shadow 0.19s;
}
.btn-primary:active, .btn-secondary:active {
  transform: scale(0.98) translateY(2px);
}

.card, .testimonial-card {
  transition: box-shadow 0.19s, transform 0.20s, background 0.17s;
}
.card:active, .testimonial-card:active {
  transform: scale(0.98) rotate(-0.5deg);
}

/* Card artistic border like watercolor "brush stroke" (pseudo) */
.card:before {
  content: '';
  position: absolute;
  top: -8px; left: -8px; right: -8px; bottom: -8px;
  border-radius: 20px 22px 16px 36px;
  border: 2px dashed #8FBC8F33;
  pointer-events: none;
  z-index: 0;
  opacity: 0.2;
}
.card:hover:before { opacity: 0.28; }

/* --------------------------------------------------
   RESPONSIVE DESIGN
   -------------------------------------------------- */
@media (max-width: 940px) {
  .container {
    max-width: 98vw;
    padding: 0 12px;
  }
}
@media (max-width: 790px) {
  .hero h1 { font-size: 2.0rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.07rem; }
  .section, .cta-banner {
    padding: 28px 8px !important;
  }
  .content-wrapper {
    gap: 12px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 8px;
    font-size: 0.98rem;
    max-width: 100%;
  }
  .footer-contact {
    font-size: 0.92rem;
    gap: 6px;
  }
}
@media (max-width: 670px) {
  .container, .footer .container {
    flex-direction: column !important;
    gap: 22px !important;
    align-items: flex-start !important;
  }
  header .container {
    padding: 0 10px !important;
    min-height: 60px;
  }
  .cta-banner {
    padding: 22px 7px !important;
    font-size: 1rem;
  }
  .card, .testimonial-card {
    padding: 16px 8px 18px 8px;
  }
  .hero .content-wrapper {
    align-items: flex-start !important;
    padding-top: 19px;
    padding-bottom: 19px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 5vw;
  }
  .content-grid, .card-container {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 20px !important;
    justify-content: flex-start !important;
  }
  .text-image-section {
    flex-direction: column !important;
    align-items: center !important;
    gap: 18px !important;
  }
  .section, .cta-banner {
    border-radius: 20px 20px 14px 22px !important;
    margin-bottom: 36px !important;
  }
  footer .container {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 26px !important;
  }
}
@media (max-width: 530px) {
  .hero {
    border-radius: 0 0 22px 22px;
    min-height: 135px;
    margin-bottom: 23px;
  }
  .footer-contact {
    font-size: 0.85rem;
    gap: 3px;
  }
  .brand-tagline {
    font-size: 0.98rem;
  }
}

/* --------------------------------------------------
   ACCESSIBILITY & FOCUS VISIBLE
   -------------------------------------------------- */
:focus-visible {
  outline: 2px dashed #8FBC8F;
  outline-offset: 3px;
}

/* --------------------------------------------------
   MISC ALL-PAGES: ARTISTIC, CREATIVE DETAILS
   -------------------------------------------------- */
.card strong, .testimonial-card strong {
  color: #8FBC8F;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
}
.section a:not(.btn-primary):not(.btn-secondary) {
  color: #184F38;
  font-weight: 600;
  transition: color .13s;
  border-bottom: 2px dotted #8FBC8F;
}
.section a:not(.btn-primary):not(.btn-secondary):focus,
.section a:not(.btn-primary):not(.btn-secondary):hover {
  color: #8FBC8F;
  border-bottom: 2px solid #8FBC8F;
}

/* Table, if needed in blog/posts */
table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 1rem; }
th, td { text-align: left; padding: 10px 7px; }
th { background: #8FBC8F; color: #FFF9F2; }
td { background: #fff; color: #184F38; }

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