/* RESET & BASE STYLES */
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; margin: 0; padding: 0; }
body {
  font-family: 'Lato', Arial, sans-serif;
  background: #F5F7FA;
  color: #2E3A29;
  min-height: 100vh;
  line-height: 1.7;
  font-size: 16px;
}
::-webkit-scrollbar { width: 12px; background: #E6EDF0; }
::-webkit-scrollbar-thumb { background: #B3C5B0; border-radius: 5px; }

img { max-width: 100%; height: auto; display: block; }
a { color: #256e3a; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #B48324; }
ul, ol { margin-left: 24px; }
strong { font-weight: 700; color: #22445D; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #22445D;
  line-height: 1.15;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.25rem; margin-bottom: 14px; }
h4, h5, h6 { font-size: 1.1rem; margin-bottom: 10px; }
p { margin-bottom: 16px; }

body, button, input, select, textarea {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 16px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 14px rgba(34, 68, 93, 0.07);
  padding: 28px 26px;
  min-width: 260px;
  flex: 1 1 300px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 6px 32px rgba(34,68,93,0.13);
  transform: translateY(-4px);
}

.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;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.feature-grid > div {
  flex: 1 1 240px;
  background: #FFFFFF;
  border-radius: 18px;
  box-shadow: 0 1px 8px rgba(34,68,93,.07);
  padding: 24px 20px;
  transition: box-shadow 0.2s, transform 0.16s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 24px rgba(34,68,93,.11);
  transform: translateY(-2px);
}
.feature-grid img {
  width: 48px;
  height: 48px;
  margin-bottom: 6px;
  border-radius: 12px;
  background: #dbeed6;
  padding: 8px;
}

.text-section {
  background: #e4ecd1;
  color: #22445D;
  border-radius: 16px;
  padding: 18px 22px;
  margin-bottom: 10px;
  transition: background 0.2s;
}
.text-section a { font-weight: 700; color: #B48324; }
.text-section a:hover { color: #256e3a; text-decoration: underline; }

.article-summary {
  color: #697254;
  font-size: 15px;
  display: block;
  margin-top: 4px;
}

.testimonials { background: #E5F2D8; padding: 40px 0; }
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(76,94,54,.10);
  color: #27502c;
  font-size: 1.1rem;
  transition: box-shadow 0.18s, transform 0.15s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px rgba(33,60,13,0.10);
  transform: translateY(-2px);
}
.testimonial-card p {
  font-size: 1.15rem;
  color: #22445D;
  margin: 0 0 10px 0;
}
.testimonial-card div {
  font-size: 1rem;
  color: #466112;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: #FFFFFF;
  border-radius: 13px;
  box-shadow: 0 1px 6px rgba(85,114,48,0.08);
  padding: 20px 22px;
  transition: box-shadow 0.17s;
}
.faq-item:hover {
  box-shadow: 0 4px 18px rgba(81,118,49,0.11);
}
.faq-item h3 {
  font-size: 1.18rem;
  color: #256E3A;
  margin-bottom: 8px;
}

.next-steps {
  background: #e4ecd1;
  border-radius: 13px;
  padding: 18px 22px;
  color: #184b25;
  margin-bottom: 24px;
}

.cta {
  background: #256e3a;
  background: linear-gradient(88deg, #e4ecd1 64%, #ce9f46 100%);
  color: #22445D;
  border-radius: 20px;
  margin-bottom: 60px;
  padding: 40px 0;
}
.cta h2, .cta p {color: #22445D;}


/* BUTTONS */
.btn-primary {
  display: inline-flex;
  align-items: center;
  background: #22445D;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 25px;
  padding: 14px 32px;
  font-size: 1.11rem;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(34, 68, 93, .13);
  cursor: pointer;
  margin-top: 14px;
  margin-bottom: 12px;
  transition: background 0.18s, color 0.15s, box-shadow 0.17s, transform 0.14s;
}
.btn-primary:hover, .btn-primary:focus {
  background: #256e3a;
  color: #fff;
  box-shadow: 0 5px 18px rgba(34, 68, 93, .18);
  transform: translateY(-2px) scale(1.03);
}

.hero {
  background: #e4ecd1;
  min-height: 420px;
  display: flex;
  align-items: center;
  padding: 60px 0 60px 0;
  margin-bottom: 40px;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
}
.hero h1 {
  color: #22445D;
  font-size: 2.5rem;
}
.hero .subheadline {
  font-size: 1.15rem;
  color: #256e3a;
  margin-bottom: 32px;
}


/* HEADER & NAVIGATION */
header { background: #ffffff; box-shadow: 0 2px 10px rgba(61, 73, 44, 0.045); position: sticky; top: 0; z-index: 30; }
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
}
header nav {
  display: flex;
  gap: 26px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #22445D;
  font-weight: 600;
  letter-spacing: .01em;
  transition: color 0.15s, border-color 0.17s;
  position: relative;
  padding: 4px 8px;
}
header nav a:hover, header nav a:focus {
  color: #256e3a;
}
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 1.9rem;
  color: #B48324;
  cursor: pointer;
  margin-left: 14px;
  display: none;
  padding: 6px 13px;
  border-radius: 8px;
  transition: background 0.15s;
  z-index: 60;
}
.mobile-menu-toggle:focus { outline: 2px solid #B48324; background: #F5F7FA; }

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(36, 50, 29, 0.88);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(.72,0,.27,1.01);
  z-index: 1999;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  margin: 24px 32px 0 0;
  cursor: pointer;
  z-index: 2002;
  padding: 8px 18px;
  border-radius: 8px;
  transition: background 0.17s;
}
.mobile-menu-close:focus { outline: 2px solid #FFFFFF; background: #22445D; }
.mobile-nav {
  width: 85vw;
  max-width: 370px;
  background: #fff;
  border-top-left-radius: 30px;
  border-bottom-left-radius: 30px;
  padding: 48px 34px 28px 32px;
  margin-top: 0;
  margin-bottom: 0;
  box-shadow: 0 4px 44px rgba(34, 68, 93, 0.21);
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  min-height: 100vh;
}
.mobile-nav a {
  color: #22445D;
  font-size: 1.1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  line-height: 1.6;
  padding: 8px 0 8px 10px;
  font-weight: 600;
  border-radius: 7px;
  transition: background 0.15s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #e4ecd1;
  color: #256e3a;
}


/* FOOTER */
footer {
  background: #22445D;
  color: #F5F7FA;
  font-size: 16px;
  padding: 0 0 0 0;
}
footer .container { padding: 24px 16px; }
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 36px;
  align-items: flex-start;
  padding-bottom: 22px;
  border-bottom: 1.5px solid #e4ecd1;
}
.footer-nav, .footer-legal, .footer-contact {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.footer-nav a, .footer-legal a {
  color: #dbeed6;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 500;
  transition: color 0.17s;
}
.footer-nav a:hover, .footer-legal a:hover { color: #B48324; }
.footer-contact div, .footer-contact a { color: #dbeed6; font-size: 0.97rem; }
.footer-contact img { width: 18px; vertical-align: middle; margin-right: 8px; filter: brightness(0.8); }
.footer-social { display: flex; gap: 13px; align-items: center; }
.footer-social a img { width: 32px; filter: grayscale(1) brightness(2); opacity: 0.92; transition: filter 0.18s, opacity 0.2s; }
.footer-social a:hover img {filter: brightness(2.4) grayscale(0); opacity:1;}
.footer-bottom {
  font-size: 15px;
  text-align: center;
  color: #b8d2bc;
  padding: 18px 0 0 0;
}

/* LEGAL PAGE SECTIONS */
.legal {
  background: #fff;
  border-radius: 18px;
  padding: 32px 24px;
  margin: 30px 0 40px 0;
  box-shadow: 0 1px 8px rgba(34,68,93,0.08);
  color: #22445D;
}
address { font-style: normal; color: #256e3a; font-size: 1rem; margin-top: 16px; }

/* SPACING */
section, .section { margin-bottom: 60px !important; padding: 40px 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }


/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #22445D;
  color: #fff;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 22px 16px;
  z-index: 2300;
  gap: 18px;
  box-shadow: 0 -3px 18px rgba(34,68,93,.10);
  animation: cookieFadeUp 0.5s cubic-bezier(.25,1.35,.27,1.01);
}
.cookie-banner p { flex: 1 1 240px; margin-bottom: 0; font-size: 1rem; color: #e3f2e2; }
.cookie-btn {
  margin-left: 8px;
  font-size: 1rem;
  appearance: none;
  border: none;
  border-radius: 22px;
  padding: 10px 25px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  background: #F5F7FA;
  color: #22445D;
  margin-bottom: 0;
  margin-right: 8px;
  cursor: pointer;
  transition: background 0.17s, color 0.14s, box-shadow 0.16s, transform 0.12s;
}
.cookie-btn.accept { background: #B48324; color: #fff; }
.cookie-btn.reject { background: #ede0ca; color: #22445D; }
.cookie-btn.settings { background: #e4ecd1; color: #256e3a; }
.cookie-btn:hover, .cookie-btn:focus { background: #256e3a; color: #fff; box-shadow: 0 2px 10px rgba(68,90,62,0.15); transform: translateY(-2px) scale(1.02); }

@keyframes cookieFadeUp { from { opacity: 0; transform: translateY(32px);} to{ opacity: 1; transform: translateY(0);} }

/* COOKIE MODAL OVERLAY */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(32,34,25,0.79);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2600;
  animation: fadeIn 0.31s cubic-bezier(.38,.76,.37,1.09);
}
@keyframes fadeIn { from{ opacity:0;} to{opacity:1;} }
.cookie-modal {
  background: #fff;
  color: #22445D;
  border-radius: 22px;
  max-width: 430px;
  width: 95vw;
  padding: 32px 32px 26px 32px;
  box-shadow: 0 8px 48px rgba(80,120,40,0.17);
  position: relative;
  font-size: 1.01rem;
  z-index: 2602;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: modalPop 0.32s cubic-bezier(.38,.76,.37,1.09);
}
@keyframes modalPop { 0%{opacity:0;transform:scale(.94);} 100%{opacity:1;transform:scale(1);} }
.cookie-modal h3 {
  color: #256e3a;
  font-size: 1.28rem;
  margin-bottom: 0;
}
.cookie-pref-cat {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 11px;
  font-size: 1.01rem;
}
.cookie-pref-cat label { flex:1 1 0; cursor: pointer; }
.cookie-switch {
  width: 44px;
  height: 24px;
  border-radius: 16px;
  background: #e4ecd1;
  position: relative;
  margin-right: 4px;
  cursor: pointer;
  display: inline-block;
}
.cookie-switch input[type=checkbox] { display: none; }
.cookie-switch span {
  position: absolute;
  left: 2px; top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #22445D;
  transition: left 0.18s, background 0.17s;
}
.cookie-switch.active span { left: 22px; background: #B48324; }

.cookie-modal-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}
/* For forcing position on overlay close btn for accessibility */
.cookie-modal-close {
  position: absolute; top: 18px; right: 18px;
  background: none;
  border: none;
  color: #B48324;
  font-size: 1.41rem;
  cursor: pointer;
  transition: background .17s;
  border-radius: 8px;
  padding: 3px 10px;
}
.cookie-modal-close:focus { background: #f7e6ca; outline: 2px solid #B48324; }


/* RESPONSIVE DESIGN */
@media (max-width: 1200px) {
  .container { max-width: 98vw; }
  .footer-top { flex-direction: column; gap: 26px; align-items: flex-start; }
}
@media (max-width: 992px) {
  .hero { padding: 30px 0 30px 0; min-height: 280px; border-radius: 24px; }
  .feature-grid > div { padding: 18px 11px; }
  .card { padding: 19px 12px; }
}
@media (max-width: 768px) {
  header .container { flex-direction: row; gap: 5px; }
  header nav { display: none !important; }
  .btn-primary { padding: 11px 18px; font-size: 1rem; }
  .mobile-menu-toggle { display: block; }
  .feature-grid, .card-container, .content-grid { flex-direction: column; gap: 20px; }
  .text-image-section { flex-direction: column; gap: 18px; }
  .section, section { padding: 24px 8px; }
  .footer-top { flex-direction: column; gap: 16px; }
  .hero { padding: 22px 0 22px 0; border-radius: 13px; }
  .faq-accordion, .content-wrapper { gap: 12px; }
}
@media (max-width: 480px) {
  h1 { font-size: 1.40rem; }
  h2 { font-size: 1.08rem; }
  .btn-primary { font-size: 0.98rem; padding: 10px 12px; }
  .container { padding: 0 5px; }
  .feature-grid > div, .card { padding: 13px 6px; }
}

/* NATURAL/ORGANIC SHAPES & EFFECTS */
.hero, .cta, .text-section, .feature-grid > div, .card, .card-container, .legal, .faq-item, .testimonial-card, .cookie-modal, .cookie-banner {
  border-radius: 21px;
}
.hero {
  box-shadow: 0 10px 50px -18px #bdd7ab, 0 1px 8px #99a6692a;
}
.feature-grid > div, .card { box-shadow: 0 1px 14px #cde0cb37; }
.cta { box-shadow: 0 6px 30px #b6c99e14; }
.text-section, .faq-item, .testimonial-card, .cookie-banner, .cookie-modal {
  box-shadow: 0 2px 20px #dbeed640;
}

/* ORGANIC BUTTONS */
.btn-primary, .cookie-btn {
  border-radius: 29px 18px 24px 21px/21px 26px 28px 24px; /* subtle organic roundness */
}

/* FOCUS STATES & ACCESSIBILITY */
.btn-primary:focus, .cookie-btn:focus, .mobile-nav a:focus {
  outline: 2px solid #B48324;
  outline-offset: 1px;
  background: #dbeed6;
  color: #22445D;
}

/* HIDE UNNEEDED ABSOLUTES, PREVENT OVERLAP */
.card, .feature-grid > div, .testimonial-card, .faq-item, .text-section, .footer-contact, .legal {
  z-index: 1;
  position: relative;
}
.card:before, .feature-grid > div:before {
  content: '';
  display: none;
  /* Decorative organic SVG shapes could be added here if needed */
}

/* ADDITIONAL VISUAL HIERARCHY/UTILITIES */
.mb-20 { margin-bottom: 20px !important; }
.mb-40 { margin-bottom: 40px !important; }
.mt-20 { margin-top: 20px !important; }
.gap-12 { gap: 12px !important; }

/* SCROLL ANIMATIONS (for cards/sections on reveal if desired) */
@media (prefers-reduced-motion: no-preference) {
  .card, .feature-grid > div, .testimonial-card, .faq-item, .text-section, .cta, .cookie-modal {
    transition: box-shadow 0.22s, transform 0.16s, background 0.14s;
  }
  .card, .feature-grid > div { transition-property: box-shadow, transform, border-radius; }
}
