/* ====================================================
   WiesenWander Modern Bold CSS
   Strict Flexbox | No Grid | No Columns
   Brand: #45773B, #856240, #E8EDE1, #fff | Fonts: Merriweather, Roboto
   =================================================== */

/* ===== CSS RESET & BASE ===== */
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,
main, 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;
}
html {
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #fff;
  color: #29311d;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #45773B;
  text-decoration: none;
  transition: color .2s;
  font-weight: 600;
}
a:hover, a:focus {
  color: #856240;
}
ul, ol {
  list-style: none;
}

/* ===== BRAND FONTS ===== */
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Merriweather:700,900&display=swap');

h1, h2, h3, h4 {
  font-family: 'Merriweather', serif;
  font-weight: 900;
  color: #3a6131;
  margin-bottom: 16px;
  letter-spacing: -.02em;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.18;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
strong {
  font-weight: 700;
  color: #45773B;
}
p, li {
  font-size: 1rem;
  color: #29311d;
  margin-bottom: 10px;
}

/* ----- Containers ----- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ---------- HEADER ---------- */
header {
  background: #ffffff;
  border-bottom: 3px solid #E8EDE1;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  position: relative;
}
header img {
  height: 42px;
  margin-right: 28px;
}
header nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #3a6131;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color 0.18s;
}
header nav a:hover,
header nav a:focus {
  color: #856240;
  text-shadow: 1px 1px 0 #E8EDE1;
}
header .btn-primary {
  margin-left: 28px;
}

/* ----- HERO ----- */
.hero {
  background: #E8EDE1;
  border-radius: 32px;
  margin-top: 18px;
  margin-bottom: 32px;
  min-height: 280px;
  display: flex;
  align-items: center;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  max-width: 700px;
  gap: 26px;
}
.hero h1, .hero p {
  color: #3a6131;
}
.hero .btn-primary {
  margin-top: 12px;
}

/* ----- BUTTONS ----- */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 30px;
  min-width: 120px;
  min-height: 48px;
  border-radius: 32px;
  border: none;
  background: #45773B;
  color: #fff;
  font-family: 'Merriweather', serif;
  font-size: 1.1rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  box-shadow: 0 3px 18px 0 rgba(69,119,59,0.12);
  margin-top: 10px;
  transition: background 0.18s, box-shadow 0.18s, color .18s, transform .14s;
}
.btn-primary:hover, .btn-primary:focus {
  background: #856240;
  color: #E8EDE1;
  transform: translateY(-2px) scale(1.04);
}
.btn-secondary {
  background: #fff;
  border: 2px solid #45773B;
  color: #45773B;
  font-weight: 900;
  margin-left: 0;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #45773B;
  color: #fff;
}

/* ---------- FLEX GRIDS ---------- */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.features-grid > div {
  flex: 1 1 215px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 20px 0 rgba(69,119,59,0.10);
  padding: 28px 24px 22px 24px;
  border: 2.5px solid #E8EDE1;
  transition: box-shadow .18s, transform .14s;
  position: relative;
  min-height: 220px;
  margin-bottom: 20px;
}
.features-grid > div:hover {
  box-shadow: 0 8px 36px 0 rgba(133,98,64,0.18);
  transform: translateY(-4px) scale(1.03);
}
.features-grid img {
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
}
.features-grid h3 {
  margin-bottom: 8px;
}

.services-list li, .services-grid li {
  margin-bottom: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 16px 0 rgba(133,98,64,.08);
  border: 2px solid #E8EDE1;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.services-grid li {
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* ----- Card Patterns ----- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 3px 16px 0 rgba(133,98,64,0.08);
  border: 2px solid #E8EDE1;
  margin-bottom: 20px;
  position: relative;
  padding: 26px 22px;
  min-width: 220px;
  min-height: 160px;
  transition: box-shadow .16s, transform .13s;
}
.card:hover {
  box-shadow: 0 9px 36px 0 rgba(69,119,59,0.16);
  transform: translateY(-4px) scale(1.02);
}

.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 {
  background: #E8EDE1;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: 0 2px 12px rgba(69,119,59,0.18);
  color: #222;
  border: 2px solid #45773B;
  font-style: italic;
}
.testimonial-card span {
  font-family: 'Merriweather', serif;
  color: #3a6131;
  font-weight: 900;
  font-style: normal;
  margin-left: 12px;
}
.testimonial-card p {
  color: #222;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
/* ----- Footer ---- */
footer {
  background: #E8EDE1;
  padding-top: 32px;
  border-top: 4px solid #45773B;
  margin-top: 40px;
  color: #3a6131;
}
footer .container {
  padding-bottom: 16px;
}
.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
}
.footer-columns > div {
  flex: 1 1 200px;
  min-width: 180px;
  margin-bottom: 24px;
}
.footer-columns img {
  height: 38px;
  margin-bottom: 12px;
}
.footer-columns nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-columns nav a {
  color: #45773B;
  font-weight: 700;
  font-size: 1rem;
}
.footer-columns nav a:hover {
  color: #856240;
}
footer h4 {
  margin-bottom: 6px;
}
footer a {
  color: #3a6131;
  font-weight: 500;
}
footer a:hover {
  color: #856240;
  text-decoration: underline;
}
footer p, footer span {
  font-size: 1rem;
}
footer .container:last-child {
  border-top: 1px solid #bdd0b6;
  padding-top: 10px;
}

/* ----- Generic Responsive ----- */
@media (max-width: 1024px) {
  .container {
    max-width: 96vw;
    padding: 0 12px;
  }
  .footer-columns {
    gap: 20px;
  }
  .services-grid, .features-grid {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .features-grid > div, .services-grid li {
    flex: 1 1 100%;
    min-width: 100%;
  }
  .footer-columns {
    flex-direction: column;
  }
}
@media (max-width: 768px) {
  .hero {
    border-radius: 18px;
    margin-top: 14px;
    margin-bottom: 20px;
    min-height: 180px;
  }
  .hero .content-wrapper {
    max-width: 100%;
    padding: 0 10px;
  }
  .features-grid, .services-grid {
    flex-direction: column;
    gap: 16px;
  }
  .section {
    margin-bottom: 36px;
    padding: 24px 8px;
  }
  .content-wrapper {
    gap: 10px;
  }
  .testimonial-card {
    gap: 12px;
    padding: 14px;
    flex-direction: column;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  header .container {
    flex-direction: row;
    gap: 0;
    padding: 8px 8px 8px 8px;
  }
  .footer-columns {
    gap: 6px;
  }
}
@media (max-width: 520px) {
  h1 {
    font-size: 1.35rem;
  }
  h2 {
    font-size: 1.15rem;
  }
  h3 {
    font-size: 1.01rem;
  }
  .btn-primary, .btn-secondary {
    min-height: 40px;
    font-size: 0.97rem;
    padding: 0 12px;
  }
  .hero {
    min-height: 100px;
  }
}

/* ========== MOBILE MENU ========== */
.mobile-menu-toggle {
  display: none;
}
.mobile-menu {
  position: fixed;
  z-index: 2222;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  transform: translateX(-110vw);
  transition: transform 0.4s cubic-bezier(.77,0,.18,1);
  box-shadow: 0 6px 32px 0 rgba(69,119,59,0.18);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #45773B;
  font-size: 2.3rem;
  font-weight: bold;
  padding: 16px 24px 0 16px;
  cursor: pointer;
  align-self: flex-end;
  transition: color 0.15s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #856240;
}
.mobile-nav {
  width: 100vw;
  display: flex !important;
  flex-direction: column;
  margin-top: 28px;
  gap: 24px;
  align-items: flex-start;
  padding: 0 24px;
}
.mobile-nav a {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.17rem;
  font-weight: 700;
  color: #45773B;
  text-transform: uppercase;
  margin-bottom: 16px;
  text-align: left;
  min-width: 180px;
  padding: 14px 0;
  border-bottom: 1.5px solid #E8EDE1;
  display: block;
  width: 100%;
  transition: color 0.15s, background 0.12s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E8EDE1;
  color: #856240;
}

@media (max-width: 900px) {
  header nav, header .btn-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    color: #45773B;
    font-size: 2.1rem;
    font-weight: 900;
    padding: 6px 20px 6px 10px;
    cursor: pointer;
    z-index: 2100;
  }
}
@media (min-width: 900px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* ========== COOKIE CONSENT BANNER & MODAL ========== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #3a6131;
  color: #fff;
  padding: 20px 18px 20px 18px;
  z-index: 3333;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  box-shadow: 0 -3px 24px 0 rgba(69,119,59,0.17);
  transition: transform .38s cubic-bezier(.77,0,.18,1), opacity .20s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(24px);
  pointer-events: none;
}
.cookie-banner p {
  margin-bottom: 0;
  font-size: 1.03rem;
  letter-spacing: .02em;
  font-weight: 500;
  color: #fff;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.cookie-banner button {
  min-width: 120px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 32px;
  border: none;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.18s, color 0.14s;
  outline: none;
}
.cookie-accept {
  background: #856240;
  color: #fff;
}
.cookie-accept:hover,.cookie-accept:focus {
  background: #E8EDE1;
  color: #3a6131;
}
.cookie-reject {
  background: #fff;
  color: #45773B;
  border: 2px solid #45773B;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #45773B;
  color: #fff;
}
.cookie-settings {
  background: #E8EDE1;
  color: #45773B;
  border: 2px solid #E8EDE1;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #fff;
  color: #856240;
}

/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  z-index: 4444;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 110vh);
  width: 94vw;
  max-width: 400px;
  background: #fff;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -2px 36px 0 rgba(133,98,64,0.22);
  padding: 36px 24px 24px 24px;
  opacity: 0;
  transition: transform .38s cubic-bezier(.77,0,.18,1), opacity .2s;
}
.cookie-modal.open {
  transform: translate(-50%, 0);
  opacity: 1;
}
.cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.cookie-modal-title {
  font-family: 'Merriweather', serif;
  font-weight: 900;
  font-size: 1.28rem;
  color: #45773B;
}
.cookie-modal-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #3a6131;
  cursor: pointer;
  transition: color .12s;
}
.cookie-modal-close:hover {
  color: #856240;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 18px;
}
.cookie-category {
  background: #E8EDE1;
  border-radius: 14px;
  padding: 16px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cookie-category label {
  font-weight: 700;
  color: #3a6131;
  margin-right: 12px;
  font-size: 1.02rem;
}
.cookie-category .toggle {
  width: 48px;
  height: 24px;
  background: #fff;
  border: 2px solid #45773B;
  border-radius: 16px;
  position: relative;
  cursor: pointer;
  transition: background .15s, border .12s;
}
.cookie-category .toggle .knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: #45773B;
  border-radius: 50%;
  transition: left .2s;
}
.cookie-category input:checked + .toggle .knob {
  left: 24px;
}
.cookie-category input[disabled] + .toggle {
  background: #E8EDE1;
  border: 2px solid #bdd0b6;
  cursor: default;
}
.cookie-category input[disabled] + .toggle .knob {
  background: #bdd0b6;
}
.cookie-modal-actions {
  margin-top: 26px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-modal button {
  font-size: 1rem;
}
@media (max-width: 480px) {
  .cookie-modal {
    padding: 20px 10px 10px 10px;
    max-width: 98vw;
  }
}

/* ========== UTILITIES & MICRO-INTERACTIONS ========== */
::-webkit-scrollbar {
  width: 10px;
  background: #E8EDE1;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb {
  background: #45773B;
  border-radius: 6px;
}
::selection {
  background: #E8EDE1;
}

.fade-in {
  animation: fadeIn 0.58s cubic-bezier(.77,0,.18,1);
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ========== MISC CLASSES ========== */
section {
  width: 100%;
  margin-bottom: 60px;
  padding: 40px 0 0 0;
}
.section:last-child {
  margin-bottom: 0;
}

/* ========= SPACING ENFORCEMENT ============ */
.card, .testimonial-card, .feature-item, .features-grid > div, .services-list li, .services-grid li {
  margin-bottom: 20px !important;
}
.features-grid, .services-grid, .card-container, .content-grid {
  gap: 24px !important;
}
.text-image-section, .testimonial-card, .feature-item {
  gap: 20px !important;
}

/* ========== PRINT ========== */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal {
    display: none !important;
  }
}
