/* ===== 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, 
main, 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 */
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #F5F7EF;
  color: #2A2E22;
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ul, ol {
  list-style: none;
}
a {
  background: transparent;
  color: #29543C;
  text-decoration: underline;
  transition: color 0.15s;
}
a:hover, a:focus {
  color: #A6C54C;
  text-decoration: none;
  outline: none;
}
img {
  max-width: 100%;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  border: none;
  outline: none;
  background: none;
  color: inherit;
}
button {
  cursor: pointer;
}

/* ===== VARIABLES (with fallback) ===== */
:root {
  --color-primary: #29543C;
  --color-secondary: #F5F7EF;
  --color-accent: #A6C54C;
  --color-body-text: #2A2E22;
  --color-border: #D5DBCA;
  --color-card-bg: #fff;
  --color-shadow: rgba(41, 84, 60, 0.06);
  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-sm: 6px;
  --shadow-card: 0 2px 14px rgba(41, 84, 60, 0.10);
  --transition-base: all 0.2s cubic-bezier(.43,.14,.51,1);
}

/* ===== TYPOGRAPHY ===== */
body, html {
  font-family: 'Georgia', 'Times New Roman', serif;
  color: var(--color-body-text, #2A2E22);
  background: var(--color-secondary, #F5F7EF);
  font-size: 16px;
}

h1 {
  font-size: 2.75rem; /* 44px */
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
  font-family: 'Georgia', 'Times New Roman', serif;
  color: var(--color-primary, #29543C);
}

h2 {
  font-size: 2rem; /* 32px */
  font-weight: 500;
  margin-bottom: 16px;
  font-family: 'Georgia', 'Times New Roman', serif;
}

h3 {
  font-size: 1.375rem; /* 22px */
  font-family: 'Georgia', 'Times New Roman', serif;
  margin-bottom: 12px;
}

h4, h5, h6 {
  font-family: 'Georgia', 'Times New Roman', serif;
}

p {
  font-size: 1.125rem; /* 18px */
  line-height: 1.7;
  color: var(--color-body-text, #2A2E22);
  margin-bottom: 20px;
  font-family: 'Georgia', 'Times New Roman', serif;
}

blockquote {
  font-style: italic;
  font-size: 1.25rem;
  color: var(--color-primary, #29543C);
  border-left: 4px solid var(--color-accent, #A6C54C);
  padding-left: 16px;
  margin-bottom: 16px;
  margin-top: 16px;
}

em {
  font-style: italic;
}
strong {
  font-weight: bold;
  color: var(--color-primary, #29543C);
}

/* ===== CONTAINER & LAYOUT ===== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: var(--radius-lg, 16px);
  box-shadow: none;
}

/* Card Containers */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}

.card {
  background: var(--color-card-bg, #fff);
  border: 1px solid var(--color-border, #D5DBCA);
  border-radius: var(--radius-md, 10px);
  box-shadow: var(--shadow-card);
  padding: 28px 24px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  min-width: 250px;
  max-width: 370px;
}
.card:hover {
  box-shadow: 0 4px 20px rgba(41,84,60,0.21);
}

.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  border: 1px solid #E2E6DA;
  border-radius: var(--radius-md, 10px);
  padding: 20px 24px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(41,84,60,0.09);
  color: #21301A;
  font-size: 1.125rem;
  min-width: 240px;
  max-width: 550px;
  transition: box-shadow 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 28px rgba(41,84,60,0.15);
}
.testimonial-card footer {
  font-size: 1rem;
  color: var(--color-accent, #A6C54C);
  margin-top: 8px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.trust-badges {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
  margin-top: 10px;
}

.infographics {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 20px;
}

.map {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
}

/* ====== HEADER ====== */
header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #E2E6DA;
  box-shadow: 0 2px 8px rgba(41,84,60,0.04);
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  gap: 20px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  align-items: center;
}
header nav a {
  color: var(--color-primary, #29543C);
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 17px;
  text-decoration: none;
  padding: 4px 0px;
  position: relative;
  border-radius: 2px;
  transition: background 0.13s, color 0.13s;
}
header nav a:hover, header nav a:focus {
  color: var(--color-accent, #A6C54C);
  background: #F5F7EF;
}
header img {
  max-height: 46px;
  width: auto;
}

.cta-primary {
  background: var(--color-primary, #29543C);
  color: #fff !important;
  border-radius: var(--radius-md, 10px);
  padding: 13px 28px;
  font-size: 1.125rem;
  font-family: 'Georgia', 'Times New Roman', serif;
  font-weight: 500;
  display: inline-block;
  margin-left: 18px;
  text-decoration: none !important;
  box-shadow: 0 1px 6px rgba(41, 84, 60, 0.07);
  border: none;
  transition: var(--transition-base);
  letter-spacing: 0.3px;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--color-accent, #A6C54C);
  color: #fff;
  box-shadow: 0 7px 28px rgba(166,197,76,0.16);
}
.cta-secondary {
  background: #fff;
  color: var(--color-primary, #29543C) !important;
  border: 1px solid var(--color-primary, #29543C);
  border-radius: var(--radius-md, 10px);
  padding: 9px 22px;
  font-size: 1rem;
  font-family: 'Georgia', 'Times New Roman', serif;
  margin-top: 10px;
  display: inline-block;
  text-decoration: none !important;
  transition: var(--transition-base);
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--color-accent, #A6C54C);
  color: #fff;
}

/* Hide cta-primary on mobile menu */
@media (max-width: 768px) {
  header .cta-primary { display: none; }
}

/* ======== BURGER MENU ======== */
.mobile-menu-toggle {
  background: transparent;
  color: var(--color-primary, #29543C);
  border: 2px solid var(--color-primary, #29543C);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  padding: 0;
  margin-left: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.13s;
  z-index: 1002;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #F5F7EF;
  color: var(--color-accent, #A6C54C);
}
@media (min-width: 1025px) {
  .mobile-menu-toggle { display: none; }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(41, 84, 60, 0.88);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  padding: 0;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.65,0,.35,1), opacity 0.25s;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
  animation: mobileMenuIn 0.25s cubic-bezier(.6,.01,.48,.93);
}
@keyframes mobileMenuIn {
  from { opacity: 0; transform: translateX(100%); }
  to { opacity: 1; transform: translateX(0%); }
}
.mobile-menu-close {
  margin: 32px 32px 0 0;
  background: var(--color-accent, #A6C54C);
  color: #fff;
  border-radius: 50%;
  border: none;
  width: 46px;
  height: 46px;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .14s;
  z-index: 2012;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #fff;
  color: var(--color-primary, #29543C);
}
.mobile-nav {
  margin-top: 38px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-left: 40px;
  gap: 20px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.5rem;
  padding: 12px 0;
  text-decoration: none;
  border-radius: 0 6px 6px 0;
  transition: background .15s, color .15s;
  width: 100%;
  font-family: 'Georgia', 'Times New Roman', serif;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #A6C54C;
  color: #214026;
}

/* Hide desktop nav on mobile, show burger */
@media (max-width: 1024px) {
  header nav { display: none; }
  .mobile-menu-toggle { display: flex; }
}
@media (min-width: 1025px) {
  .mobile-menu { display: none !important; }
}

/* ======= MAIN ======= */
main {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 60px;
}
section {
  width: 100%;
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: var(--radius-lg, 16px);
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* ul and li formatting */
ul {
  margin-bottom: 20px;
  list-style: disc inside;
  line-height: 1.7;
  color: var(--color-body-text, #2A2E22);
}
ul li {
  margin-bottom: 16px;
  padding-left: 0;
  font-size: 1.08rem;
  display: flex;
  align-items: center;
  gap: 12px;
}
ol {
  margin-left: 22px;
  margin-bottom: 18px;
  font-size: 1.08rem;
}
ol li {
  margin-bottom: 10px;
}

/* ====== BUTTONS ====== */
button, .btn {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 1.08rem;
  padding: 12px 26px;
  border-radius: var(--radius-md, 10px);
  border: none;
  background: var(--color-primary, #29543C);
  color: #fff;
  transition: background .2s, box-shadow .25s, color .2s;
  box-shadow: 0 1px 6px rgba(41, 84, 60, 0.07);
}
button:hover, button:focus, .btn:hover, .btn:focus {
  background: var(--color-accent, #A6C54C);
  color: #fff;
  box-shadow: 0 6px 18px rgba(166,197,76,0.12);
}

/* ===== FOOTER ===== */
footer {
  background: #fff;
  color: var(--color-primary, #29543C);
  border-top: 1px solid #E2E6DA;
  padding: 36px 0 16px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 1.17rem;
  font-weight: 500;
  margin-bottom: 4px;
}
.footer-brand img {
  width: 42px;
  height: auto;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 21px;
  margin-bottom: 6px;
  align-items: center;
  flex-wrap: wrap;
}
.footer-nav a {
  color: var(--color-primary, #29543C);
  font-size: 1rem;
  text-decoration: none;
  transition: color .16s;
  font-family: 'Georgia', 'Times New Roman', serif;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-accent, #A6C54C);
}
.footer-contact {
  font-size: 1rem;
  color: #3d4d37;
}
.footer-contact a {
  color: var(--color-accent, #A6C54C);
  text-decoration: none;
  font-family: 'Georgia', 'Times New Roman', serif;
  margin: 0 4px;
  font-weight: 500;
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2999;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  pointer-events: none;
}
.cookie-banner-inner {
  background: #fff;
  color: #29543C;
  border: 1.5px solid #D5DBCA;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -2px 24px rgba(41,84,60,0.10);
  padding: 30px 20px 22px 28px;
  min-width: 295px;
  max-width: 97vw;
  width: 390px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 19px;
  pointer-events: all;
  animation: cookieBannerEnter 0.26s cubic-bezier(.35,.81,.53,1.24);
  font-size: 1rem;
}
@keyframes cookieBannerEnter {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner-inner p {
  margin-bottom: 0;
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
  margin-top: 12px;
}
.cookie-btn {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 1rem;
  border-radius: var(--radius-sm, 6px);
  padding: 9px 18px;
  border: 1.5px solid var(--color-accent, #A6C54C);
  background: #fff;
  color: var(--color-accent, #A6C54C);
  transition: background .15s, color .16s, box-shadow .17s;
  margin-right: 0px;
  min-width: 94px;
}
.cookie-btn.accept {
  background: var(--color-accent, #A6C54C);
  color: #fff;
  border: 1.5px solid var(--color-accent, #A6C54C);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #7b941f;
  color: #fff;
}
.cookie-btn.reject {
  background: #fff;
  color: var(--color-primary, #29543C);
  border: 1.5px solid var(--color-primary, #29543C);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  color: #fff;
  background: var(--color-primary, #29543C);
}
.cookie-btn.settings {
  border: 1.5px solid #BFD2AA;
  color: #42513B;
  background: #F9FAF6;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--color-secondary, #F5F7EF);
  border-color: #A6C54C;
  color: var(--color-accent, #A6C54C);
}

/* ===== COOKIE MODAL ===== */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(41,84,60,0.68);
  z-index: 3001;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.16s;
}
.cookie-modal.active {
  pointer-events: all;
  opacity: 1;
}
.cookie-modal-box {
  background: #fff;
  border-radius: 20px;
  max-width: 410px;
  width: 92vw;
  padding: 30px 28px 26px;
  box-shadow: 0 10px 44px rgba(41,84,60,0.16);
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: cookieModalIn .28s cubic-bezier(.37,.85,.57,1.1);
}
@keyframes cookieModalIn {
  from { opacity: 0; transform: translateY(-60px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-modal-box h3 {
  font-size: 1.25rem;
  color: var(--color-primary, #29543C);
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.cookie-category label {
  font-size: 1.08rem;
  color: #28322a;
}
.cookie-switch {
  position: relative;
  width: 44px;
  height: 24px;
}
.cookie-switch input[type=checkbox] {
  opacity: 0;
  width: 44px;
  height: 24px;
}
.cookie-switch .slider {
  position: absolute;
  cursor: pointer;
  background: #C7D7B6;
  border-radius: 20px;
  top: 0; left: 0; right: 0; bottom: 0;
  transition: background .15s;
}
.cookie-switch .slider:before {
  content: "";
  position: absolute;
  height: 18px; width: 18px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform .22s;
  box-shadow: 0 1px 3px rgba(41, 84, 60,.11);
}
.cookie-switch input:checked + .slider {
  background: var(--color-accent, #A6C54C);
}
.cookie-switch input:checked + .slider:before {
  transform: translateX(20px);
}
.cookie-category.essential {
  opacity: 0.68;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 10px;
}

/* ===== MODAL OVERLAY FOR Z-INDEX DEMO, ETC ===== */
.modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 2998;
  background: rgba(33, 44, 21, 0.11);
  display: none;
}
.modal-overlay.active {
  display: block;
}

/* ====== RESPONSIVE ======= */
@media (max-width: 1100px) {
  .container {
    max-width: 90vw;
  }
}
@media (max-width: 900px) {
  h1 { font-size: 2.18rem; }
  h2 { font-size: 1.56rem; }
  .testimonial-card { font-size: 1rem; }
}
@media (max-width: 768px) {
  .container { padding: 0 11px; }
  section, .section {
    padding: 28px 4px;
    margin-bottom: 40px;
  }
  .content-wrapper {
    gap: 13px;
  }
  header .container {
    flex-direction: row;
    padding: 10px 6px;
    gap: 8px;
  }
  footer .container {
    gap: 15px;
    padding: 0 11px;
  }
  h1 { font-size: 1.375rem; }
  h2 { font-size: 1.09rem; margin-bottom: 8px; }
  h3 { font-size: 1.02rem; }
  .cta-primary, .cta-secondary, button, .btn { font-size: 1rem; padding: 10px 18px; }
  .card, .testimonial-card {
    padding: 15px 10px;
    min-width: unset;
    max-width: unset;
    font-size: 0.97rem;
  }
  .text-image-section {
    flex-direction: column;
    gap: 17px;
    align-items: flex-start;
  }
  .infographics, .trust-badges {
    flex-direction: row;
    gap: 8px;
  }
  .footer-brand img { width: 32px; }
}
@media (max-width: 600px) {
  .cookie-banner-inner {
    padding: 20px 9px 14px 14px;
    width: 97vw;
    min-width: unset;
  }
}

/* ===== MICRO-INTERACTIONS & TRANSITIONS ===== */
.cta-primary, .cta-secondary, button, .btn {
  transition: background 0.18s, color 0.18s, box-shadow 0.22s;
}
.card, .testimonial-card, .section {
  transition: box-shadow 0.26s, border-color 0.17s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 10px 26px rgba(41,84,60,0.16);
  border-color: var(--color-accent, #A6C54C);
}

/* ===== UTILITIES! ===== */
.mt-16 { margin-top: 16px !important; }
.mt-24 { margin-top: 24px !important; }
.mb-16 { margin-bottom: 16px !important; }
.mb-24 { margin-bottom: 24px !important; }
.mb-32 { margin-bottom: 32px !important; }
.mb-40 { margin-bottom: 40px !important; }
.lh-tight { line-height: 1.2 !important; }
.lh-loose { line-height: 1.8 !important; }

/**** CRITICAL FLEX ONLY ADHERENCE ****/
/* All main content containers use flex layouts */

/**** SPECIFIC ADJUSTMENTS FOR CARDS & TESTIMONIALS ****/
.card, .testimonial-card {
  margin-bottom: 20px;
}
.card-container, .content-grid {
  gap: 20px !important;
}
.text-image-section {
  align-items: center;
}
/* All section blocks at least 20px gap */
section:not(:last-child), .section:not(:last-child) {
  margin-bottom: 60px;
}

/**** ELEGANT CLASSIC VISUAL EFFECTS ****/
.card, .testimonial-card {
  border-radius: var(--radius-md, 10px);
  box-shadow: 0 2px 15px rgba(41,84,60,0.07);
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 7px 26px rgba(166,197,76,0.15);
}

/**** MISC ****/
::-webkit-scrollbar {
  width: 12px;
  background: #EFEFE7;
  border-radius: 22px;
}
::-webkit-scrollbar-thumb {
  background: #B8BCA4;
  border-radius: 22px;
}

@media (max-width: 400px) {
  .footer-contact {
    font-size: 0.95rem;
  }
  .footer-nav {
    flex-direction: column;
    gap: 6px;
  }
}

/**** ACCESSIBILITY ****/
:focus {
  outline: 2px solid var(--color-accent, #A6C54C);
  outline-offset: 1.5px;
}

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