/* ===================================================
   RESET & BASE STYLES
==================================================== */
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 {
  height: 100%;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F6F5F1;
  color: #1C2235;
  line-height: 1.7;
  transition: background 0.4s, color 0.4s;
  letter-spacing: 0.02em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #597D3B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #356325;
  outline: none;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 10px;
}
::-webkit-input-placeholder { color: #7c8a70; }
::-moz-placeholder          { color: #7c8a70; }
:-ms-input-placeholder      { color: #7c8a70; }
::placeholder              { color: #7c8a70; }

/* ======================
   TYPOGRAPHY HIERARCHY
====================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #314031;
  font-weight: 700;
}
h1 {
  font-size: 2.2rem;
  margin-bottom: 18px;
  line-height: 1.2;
}
h2 {
  font-size: 1.6rem;
  margin-bottom: 18px;
  line-height: 1.24;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  font-weight: 600;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 10px;
  font-weight: 500;
}
p {
  margin-bottom: 16px;
  font-size: 1rem;
}
strong {
  font-weight: 700;
  color: #314031;
}

/* ======================
   COLOR PALETTE & THEME
====================== */
:root {
  --color-bg: #F6F5F1; /* light nature bg */
  --color-primary: #1C2235;
  --color-secondary: #E5EFFF;
  --color-accent: #D8B364;
  --color-green: #597D3B;
  --color-green-dark: #356325;
  --color-leaf: #A7C17B;
  --color-sand: #E6E1D2;
  --color-bark: #81715C;
  --color-white: #fff;
  --color-black: #181A19;
  --box-shadow-card: 0 3px 16px rgba(38,55,34,0.08);
  --radius-section: 36px;
  --radius-card: 20px;
  --radius-btn: 32px;
  --transition: all 0.26s cubic-bezier(0.4,0.75,0.26,1);
}

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

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--radius-section);
  background: var(--color-bg);
  box-shadow: 0 1px 8px rgba(76,78,79,0.04);
}
@media (max-width: 768px) {
  .section {
    padding: 24px 8px;
    margin-bottom: 40px;
    border-radius: 22px;
  }
}

/* =====================
   HEADER & NAVIGATION
===================== */
header {
  width: 100%;
  background: var(--color-white);
  box-shadow: 0 4px 16px rgba(76,78,79,0.07);
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  padding: 18px 20px;
}
header nav {
  display: flex;
  gap: 20px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-green);
  padding: 8px 12px;
  border-radius: 16px;
  transition: var(--transition);
}
header nav a:hover,
header nav a:focus {
  background: var(--color-leaf);
  color: var(--color-green-dark);
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 13px 32px;
  border-radius: var(--radius-btn);
  background: var(--color-green);
  color: var(--color-white);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  box-shadow: 0 4px 16px rgba(144,162,123,0.14);
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.05em;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--color-green-dark);
  color: var(--color-accent);
  box-shadow: 0 2px 10px rgba(67,101,60,0.14);
}

/* Hamburger button */
.mobile-menu-toggle {
  display: flex;
  background: transparent;
  color: var(--color-green);
  font-size: 2rem;
  border: none;
  cursor: pointer;
  padding: 6px 12px;
  margin-left: 12px;
  border-radius: 50%;
  align-items: center;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--color-leaf);
  color: var(--color-green-dark);
}

/* Hide main nav & cta on mobile */
@media (max-width: 991px) {
  header nav,
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 992px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ===================
   MOBILE MENU OVERLAY
=================== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(245,247,240,0.98);
  z-index: 101;
  transform: translateX(-100%);
  transition: transform 0.34s cubic-bezier(0.6,0.7,0.12,1);
  display: flex;
  flex-direction: column;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 25px;
  right: 32px;
  background: transparent;
  border: none;
  font-size: 2.1rem;
  color: var(--color-green);
  cursor: pointer;
  z-index: 120;
  transition: color 0.2s, background 0.2s;
  padding: 2px 10px;
  border-radius: 48px;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--color-green-dark);
  background: var(--color-sand);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  margin-top: 90px;
  margin-left: 36px;
}
.mobile-nav a {
  display: flex;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--color-green);
  padding: 13px 0 13px 6px;
  border-radius: 20px;
  min-width: 180px;
  transition: color 0.2s, background 0.2s;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  color: var(--color-green-dark);
  background: var(--color-leaf);
}
@media (max-width:640px) {
  .mobile-nav {
    margin-left: 18px;
    margin-top: 80px;
    gap: 12px;
  }
  .mobile-menu-close {
    right: 12px;
    top: 15px;
    font-size: 2rem;
  }
}

/* ========================
   MAIN & FLEXBOX STRUCTURE
======================== */
main {
  min-height: 56vh;
  margin-top: 0;
  width: 100%;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg);
  border-radius: var(--radius-section);
  box-shadow: 0 2px 10px rgba(52,72,42,0.04);
}
@media (max-width: 768px) {
  section {
    padding: 24px 8px;
    margin-bottom: 32px;
    border-radius: 18px;
  }
}

.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

.feature-grid,
.service-grid,
.guide-list,
.post-list {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
  justify-content: flex-start;
}
.feature-grid li,
.service-grid li,
.guide-list > div,
.post-list li {
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 30px 22px 24px 22px;
  box-shadow: var(--box-shadow-card);
  flex: 1 1 320px;
  min-width: 240px;
  max-width: 410px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, background 0.2s;
}
.feature-grid li:hover,
.service-grid li:hover,
.guide-list > div:hover,
.post-list li:hover {
  box-shadow: 0 8px 32px rgba(76,78,79,0.14);
  background: #F2F4F1;
}
.feature-grid img,
.service-grid img {
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
  border-radius: 18px;
  background: var(--color-leaf);
  padding: 9px;
  box-shadow: 0 2px 8px rgba(115,146,82,0.10);
}
.benefit-highlights ul {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin: 0;
  padding: 0;
}
.benefit-highlights li {
  font-size: 1.03rem;
  background: #EFF4E8;
  color: var(--color-green);
  padding: 10px 18px;
  border-radius: 999px;
  margin-bottom: 0;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* ===================
   TESTIMONIAL SLIDER
=================== */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #FAFDF8;
  border-radius: 20px;
  box-shadow: 0 3px 18px rgba(62,91,55,0.08);
  padding: 20px 22px;
  min-width: 260px;
  max-width: 390px;
  gap: 20px;
  margin-bottom: 20px;
  border-left: 5px solid var(--color-green);
  color: #293321;
  transition: box-shadow 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 28px rgba(62,91,55,0.15);
}
.testimonial-card p {
  font-size: 1.11rem;
  color: #293321;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
}
.testimonial-card span {
  font-size: 1rem;
  color: #6D7D63;
  margin-top: 4px;
}

/* ======================
   SPECIAL CARDS/ITEMS
====================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-white);
  margin-bottom: 20px;
  border-radius: var(--radius-card);
  padding: 28px 22px;
  box-shadow: var(--box-shadow-card);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 9px 30px rgba(52,87,44,0.11);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

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

.timeline {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 16px 0;
}
.timeline li {
  font-size: 1.07rem;
  color: var(--color-bark);
  border-left: 3px solid var(--color-green);
  padding-left: 15px;
  margin-bottom: 10px;
  background: #f7faf5;
  border-radius: 10px 0 0 10px;
  line-height: 1.5;
}
@media (max-width: 768px) {
  .timeline li { font-size: 1em; }
}

.tag-filters {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.tag-filters a {
  background: var(--color-leaf);
  color: var(--color-green-dark);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 5px 18px;
  border-radius: 18px;
  margin-bottom: 5px;
  transition: background 0.18s, color 0.18s;
  text-decoration: none;
}
.tag-filters a:hover {
  background: var(--color-green);
  color: var(--color-accent);
}

.faq-shortlist {
  background: #F8FBEA;
  border-radius: 14px;
  padding: 18px 20px;
  margin-top: 18px;
}
.faq-shortlist h3 {
  margin-bottom: 12px;
  color: var(--color-green-dark);
  font-size: 1.13rem;
}
.faq-shortlist ul {
  margin-left: 12px;
  color: #505432;
}
.faq-shortlist li {
  font-size: 1rem;
  margin-bottom: 7px;
}

/* ===================
   FORM ELEMENTS
=================== */
input,
textarea,
select {
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid #C1D1B1;
  background: #F8FBEA;
  font-size: 1rem;
  font-family: inherit;
  margin-bottom: 14px;
  transition: border 0.2s;
  width: 100%;
  color: #1C2235;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--color-green);
  outline: none;
}
button {
  font-family: 'Montserrat', Arial, sans-serif;
}

/* ===================
   MAP EMBED & CONTACT
=================== */
.map-embed {
  background: #F8FCE9;
  border-radius: 12px;
  padding: 13px 20px;
  font-size: 1rem;
  color: var(--color-green-dark);
  margin-top: 10px;
  box-shadow: 0 3px 9px rgba(100,120,94,0.07);
}
.contact-details ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 14px;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
}

/* ===================
   FOOTER
=================== */
footer {
  background: #EDEAE5;
  width: 100%;
  padding: 34px 0 18px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
  justify-content: space-between;
}
footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
footer nav a {
  color: var(--color-green);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98rem;
  font-weight: 500;
  border-radius: 18px;
  padding: 6px 12px;
  transition: background 0.16s, color 0.13s;
}
footer nav a:hover { background: var(--color-leaf); color: var(--color-green-dark); }
footer p {
  font-size: 0.97rem;
  color: #505432;
}
@media (max-width: 800px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  footer nav { margin-bottom: 3px; }
}

/* ===================
   COOKIE CONSENT BANNER
=================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #F8FBEA;
  color: #314031;
  box-shadow: 0 -2px 12px rgba(61,92,34,0.09);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 10px;
  gap: 32px;
  flex-wrap: wrap;
  font-size: 1rem;
  transition: transform 0.3s cubic-bezier(0.43, 0.62, 0.31, 0.99);
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-btn {
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 999px;
  padding: 9px 30px;
  background: var(--color-green);
  color: var(--color-white);
  cursor: pointer;
  transition: var(--transition);
  margin-right: 4px;
}
.cookie-btn.cookie-reject {
  background: var(--color-bark);
  color: var(--color-white);
}
.cookie-btn.cookie-settings {
  background: var(--color-accent);
  color: var(--color-green);
}
.cookie-btn:hover,
.cookie-btn:focus {
  filter: brightness(1.08) contrast(1.12);
  background: var(--color-green-dark);
}
.cookie-btn.cookie-settings:hover {
  background: var(--color-leaf);
}
.cookie-btn.cookie-reject:hover {
  background: #A0937B;
}

@media (max-width:640px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 4px;
  }
  .cookie-banner .cookie-actions {
    gap: 7px;
  }
}

.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(35, 45, 29, 0.35);
  z-index: 1002;
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.33s ease;
}
.cookie-modal-overlay.open {
  display: flex;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.cookie-modal {
  background: var(--color-bg);
  border-radius: 26px;
  box-shadow: 0 18px 56px 0 rgba(60,86,39,0.11);
  max-width: 410px;
  width: 100%;
  padding: 34px 28px 16px 28px;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  position: relative;
  animation: popIn 0.32s cubic-bezier(0.3,0.7,0.2,1);
}
@keyframes popIn {
  from { transform: translateY(28px) scale(0.9); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal .close-modal {
  position: absolute;
  top: 12px; right: 12px;
  font-size: 1.56rem;
  border: none;
  border-radius: 50%;
  background: var(--color-leaf);
  color: var(--color-green-dark);
  width: 36px; height: 36px;
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
  display: flex; align-items: center; justify-content: center;
}
.cookie-modal .close-modal:hover {
  background: var(--color-accent);
  color: var(--color-white);
}
.cookie-modal h2 {
  font-size: 1.25rem;
  color: var(--color-green);
  margin-bottom: 8px;
}
.cookie-category {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1.03rem;
}
.cookie-category input[type=checkbox] {
  width: 22px; height: 22px;
  accent-color: var(--color-green);
}
.cookie-category .category-label {
  font-weight: 600;
  color: #264119;
}
.cookie-category .always {
  color: #acae93;
  font-size: 0.92rem;
  font-style: italic;
}

/* =========================
   RESPONSIVE BREAKPOINTS
========================= */
@media (max-width: 1200px) {
  .container { max-width: 1000px; }
}
@media (max-width: 991px) {
  .feature-grid li,
  .service-grid li,
  .guide-list > div,
  .post-list li {
    min-width: 180px;
    max-width: 100%;
    flex: 1 1 240px;
  }
  .container { max-width: 96vw; }
}
@media (max-width: 600px) {
  .feature-grid,
  .service-grid,
  .guide-list,
  .post-list {
    flex-direction: column;
    gap: 14px;
  }
  .feature-grid li,
  .service-grid li,
  .guide-list > div,
  .post-list li {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }
}

/* =========================
   TRANSITION EFFECTS
========================= */
*, *::before, *::after {
  box-sizing: inherit;
  transition: background 0.20s, color 0.14s, box-shadow 0.22s;
}

@media (hover: hover) and (pointer: fine) {
  .card:hover, .cta-btn:hover, .cookie-btn:hover,
  .feature-grid li:hover, .service-grid li:hover,
  .guide-list > div:hover, .post-list li:hover {
    filter: brightness(1.02) drop-shadow(0 3px 19px rgba(96,96,96,0.11));
  }
}

/* =============================
   ORGANIC DECORATIVE ELEMENTS
============================= */
/* Simulate organic waves and pattern accents */
.section {
  position: relative;
  overflow: hidden;
}
.section::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 220px;
  height: 180px;
  right: -60px;
  bottom: -55px;
  background: radial-gradient(ellipse at 70% 46%, rgba(167,193,123,0.18) 0%, rgba(255,255,255,0) 78%);
  border-radius: 60% 90% 80% 40%/70% 68% 80% 50%;
  pointer-events: none;
}
.section::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -60px;
  left: -90px;
  width: 190px;
  height: 110px;
  background: radial-gradient(ellipse at 35% 18%, rgba(216,179,100,0.14) 0%, rgba(255,255,255,0) 90%);
  border-radius: 90% 35% 78% 65%/60% 80% 56% 34%;
  pointer-events: none;
}

/* Ensure no content overlap because of floaters */
.section > * { position: relative; z-index: 1; }

/* =========================
   ACCESSIBLE FOCUS STATES
========================= */
a:focus-visible, button:focus-visible, .cta-btn:focus-visible {
  outline: 2px dashed var(--color-green);
  outline-offset: 4px;
}

/* =========================
   MICRO-ANIMATION EFFECTS
========================= */
.cta-btn {
  transition: background 0.17s, color 0.17s, box-shadow 0.19s, transform 0.18s;
}
.cta-btn:hover {
  transform: translateY(-2px) scale(1.04);
}

li, .card, .testimonial-card, .feature-item {
  transition: box-shadow 0.19s, background 0.20s, transform 0.17s;
}
li:hover, .card:hover, .testimonial-card:hover {
  transform: translateY(-1px) scale(1.012);
}

/* ===========================
   ORGANIC/NATURE ASSETS
=========================== */
body {
  background:
    repeating-linear-gradient(135deg, #EFF4E8 0px, #EFF4E8 48px, transparent 48px, transparent 112px),
    var(--color-bg);
  background-size: 160px 180px;
}

/* ===========================
   PRINT FRIENDLY
=========================== */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal, .cookie-modal-overlay {
    display: none !important;
  }
  main, section, .container {
    box-shadow: none !important;
    background: #fff !important;
  }
}
