/* 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,
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;
}
html { box-sizing: border-box; font-size: 16px; }
*, *:before, *:after { box-sizing: inherit; }
body {
  background: #F4F5F0; /* subtle earthy backdrop */
  color: #222;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  line-height: 1.7;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}
a {
  color: #2a641d;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #183153;
}

/* ============================
 NATURE ORGANIC COLOR PALETTE
============================= */
:root {
  --primary: #183153;
  --secondary: #ECECEC;
  --accent: #F2B700;
  --earth-cream: #F4F5F0;
  --forest-green: #2a641d;
  --bark-brown: #776548;
  --stone-gray: #a9a49e;
  --error: #B83333;
  --shadow: rgba(23,49,83,0.08);
}

/* =============
 TYPOGRAPHY SCALE
=================*/
h1, .hero h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  color: var(--primary);
  letter-spacing: -1px;
  margin-bottom: 20px;
  font-weight: 800;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  color: var(--forest-green);
  font-weight: 700;
  margin-bottom: 18px;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 8px;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: var(--primary);
}
p, ul, ol, dl, li, blockquote, table, th, td {
  font-size: 1rem;
  color: #23281D;
  margin-bottom: 14px;
}
ul, ol {
  margin-left: 18px;
  margin-bottom: 16px;
}
strong {
  color: var(--forest-green);
  font-weight: 700;
}
blockquote {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--bark-brown);
  margin: 0 0 8px 0;
  border-left: 4px solid var(--forest-green);
  padding-left: 16px;
  background: #f8f7f4;
  border-radius: 8px;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  background: #fff;
  box-shadow: 0 2px 8px var(--shadow);
  border-radius: 10px;
  overflow: hidden;
}
thead th {
  background: var(--secondary);
  color: var(--primary);
  text-align: left;
  padding: 14px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
}
tbody td {
  padding: 14px;
  border-top: 1px solid var(--stone-gray);
  font-size: 1rem;
}

/* ============
 LAYOUT CONTAINER
=============== */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 24px var(--shadow);
  padding: 40px 28px;
  margin-bottom: 40px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.section {
  margin-bottom: 60px !important;
  padding: 40px 20px;
  background: transparent;
}
@media (max-width: 768px) {
  .content-wrapper { padding: 22px 14px; }
  .section { padding: 28px 6px; margin-bottom: 38px !important; }
  .container { padding: 0 6px; }
}

/* ============
 HEADER & NAV
============= */
header {
  width: 100%;
  background: var(--earth-cream);
  box-shadow: 0 3px 12px var(--shadow);
  z-index: 30;
  position: relative;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
  padding: 18px 18px;
}
header img {
  height: 58px;
  width: auto;
  margin-right: 18px;
}
header nav {
  display: flex;
  gap: 18px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 8px 0;
  color: var(--primary);
  font-size: 1rem;
  font-weight: 550;
  border-radius: 6px;
  transition: background 0.16s, color 0.16s;
}
header nav a:hover, header nav a:focus {
  background: #e7f3e0;
  color: var(--forest-green);
}
.btn-primary {
  display: inline-block;
  background-color: var(--forest-green);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 12px 32px;
  border: none;
  border-radius: 30px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 2px 20px var(--shadow);
  margin-left: 22px;
  text-shadow: 0 1px 3px rgba(23, 49, 83, 0.07);
  transition: background 0.18s, box-shadow 0.18s, transform 0.12s;
  outline: none;
}
.btn-primary:hover, .btn-primary:focus {
  background-color: #377a3f;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 5px 27px rgba(42,100,29,0.14);
}

/* ============
 MOBILE MENU
============= */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 22px;
  z-index: 101;
  background: var(--forest-green);
  color: #fff;
  font-size: 2.2rem;
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  box-shadow: 0 2px 12px var(--shadow);
  cursor: pointer;
  transition: background 0.16s, color 0.16s, transform 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #377a3f;
  color: var(--accent);
}

@media (max-width: 980px) {
  header nav, header .btn-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(244,245,240,0.97);
  z-index: 200;
  transform: translateX(110vw);
  transition: transform 0.35s cubic-bezier(.77,0,.18,1);
  box-shadow: 0 10px 38px rgba(23,49,83,0.11);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 14px 20px 10px 0;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--forest-green);
  cursor: pointer;
  transition: color 0.17s;
  z-index: 202;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--accent);
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 0 32px;
  margin-top: 18px;
}
.mobile-nav a {
  padding: 14px 0;
  color: var(--primary);
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 4px;
  width: 100%;
  transition: background 0.13s, color 0.12s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #e3efdc;
  color: var(--forest-green);
}

/* ============
 HERO SECTION
============== */
.hero {
  background: linear-gradient(90deg, #e4eddb 0%, #f3e9d7 100%);
  border-radius: 0 0 44px 44px;
  position: relative;
  margin-bottom: 52px;
  box-shadow: 0 0px 32px var(--shadow);
}
.hero .container {
  min-height: 340px;
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hero .content-wrapper {
  padding: 58px 15px 42px 15px;
  background: none;
  box-shadow: none;
  text-align: center;
}
.hero p {
  font-size: 1.22rem;
  margin-bottom: 28px;
  color: var(--bark-brown);
}

@media (max-width: 540px) {
  .hero .content-wrapper { padding: 36px 4vw 28px 4vw; }
}

/* ============
 FEATURES GRID & CARDS
============== */
.feature-grid, .service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
  margin-top: 6px;
}
.feature-grid > div, .service-grid > div {
  flex: 1 1 270px;
  min-width: 220px;
  background: #fff;
  padding: 28px 24px 22px;
  border-radius: 18px;
  box-shadow: 0 2px 12px var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.18s, transform 0.11s;
  margin-bottom: 20px; /* spacing for mobile */
}
.feature-grid > div:hover, .service-grid > div:hover {
  box-shadow: 0 6px 32px rgba(42,100,29,0.11);
  transform: translateY(-3px) scale(1.012);
}
.feature-grid img, .service-grid img {
  height: 44px;
  width: 44px;
  margin-bottom: 12px;
  border-radius: 18px;
  background: #eaf6e1;
  padding: 7px;
}

@media (max-width: 768px) {
  .feature-grid, .service-grid {
    flex-direction: column;
    gap: 20px;
  }
}

/* ==============
 CARDS
================ */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 14px 0 20px 0;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  box-shadow: 0 2px 16px var(--shadow);
  border-radius: 16px;
  padding: 20px 18px;
  flex: 1 1 250px;
  min-width: 200px;
  transition: box-shadow .15s, transform .11s;
  display: flex;
  flex-direction: column;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(42,100,29,0.13);
  transform: translateY(-2px) scale(1.012);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

/* =======
 FLEX PATTERNS
========== */
.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: 18px;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #f7faf5;
  border-radius: 18px;
  box-shadow: 0 2px 11px rgba(23, 49, 83, 0.07);
  margin-bottom: 22px;
  margin-top: 14px;
  transition: box-shadow 0.18s;
  border-left: 5px solid var(--forest-green);
}
.testimonial-card blockquote {
  color: #23281D;
  background: transparent;
  border-radius: 0;
  border-left: none;
  font-weight: 450;
  margin-bottom: 6px;
}
.testimonial-card div {
  color: var(--forest-green);
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 16px 0;
}

/* ==============
 RESPONSIVE CARD & TABLES
=================== */
@media(max-width:768px){
  .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .card {
    min-width: 0;
    width: 100%;
  }
  table, thead, tbody, th, td, tr {
    display: block;
    width: 100%;
  }
  thead {
    display: none;
  }
  tbody td {
    padding: 10px 10px 10px 48%;
    position: relative;
    min-height: 46px;
    border-top: none;
    border-bottom: 1px solid var(--stone-gray);
  }
  tbody td:before {
    content: attr(data-label);
    position: absolute;
    left: 14px;
    top: 10px;
    color: var(--bark-brown);
    font-weight: 600;
    font-size: 0.97rem;
  }
}

/* ================
 FOOTER
================== */
footer {
  background: #e6eae3;
  color: var(--primary);
  padding: 0;
  border-radius: 46px 46px 0 0;
  box-shadow: 0 -2px 22px var(--shadow);
  margin-top: 40px;
}
footer .container {
  padding: 32px 18px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  position: relative;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 12px;
  font-size: 1rem;
}
footer nav a {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  margin-right: 6px;
  transition: color 0.18s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--forest-green);
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 1rem;
}
.footer-contact div {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-contact img {
  width: 21px;
  height: 21px;
  border-radius: 7px;
  background: #ededed;
  padding: 2px;
}
footer p {
  color: #777455;
  font-size: 0.97rem;
}
footer img {
  height: 42px;
  margin-bottom: 8px;
}

@media(max-width:600px){
  footer .container {
    padding: 20px 3vw 8px 3vw;
  }
  .footer-contact {
    flex-direction: column;
    gap: 10px;
  }
  footer nav {
    flex-direction: column;
    gap: 11px;
    margin-bottom: 8px;
  }
}

/* ====================================
 COOKIE CONSENT BANNER & COOKIE MODAL
====================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fffef7;
  box-shadow: 0 -3px 18px var(--shadow);
  padding: 18px 16px 20px 16px;
  z-index: 5000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  animation: slideUp 0.38s cubic-bezier(.77,0,.18,1);
}
@keyframes slideUp {
  from { transform: translateY(110%); } to { transform: translateY(0); }
}
.cookie-banner p {
  color: var(--primary);
  font-size: 1rem;
  text-align: center;
}
.cookie-banner .cookie-btn-group {
  display: flex;
  gap: 18px;
}
.cookie-btn, .cookie-settings-btn, .cookie-reject-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 22px;
  cursor: pointer;
  outline: none;
  border: none;
  transition: background 0.16s, color 0.14s;
}
.cookie-btn {
  background: var(--forest-green);
  color: #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #377a3f;
  color: var(--accent);
}
.cookie-reject-btn {
  background: #ECECEC;
  color: var(--bark-brown);
  border: 1px solid #bbb5ab;
}
.cookie-reject-btn:hover, .cookie-reject-btn:focus {
  background: #f7eae1;
  color: var(--error);
}
.cookie-settings-btn {
  background: #fff9dc;
  color: var(--forest-green);
  border: 1px solid var(--accent);
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #f2ecab;
  color: var(--accent);
}
/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(24,49,83,0.35);
  z-index: 9100;
  display: none;
  justify-content: center;
  align-items: center;
  animation: fadeIn .32s;
}
.cookie-modal.open {
  display: flex;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  border-radius: 23px;
  box-shadow: 0 8px 64px var(--shadow);
  padding: 38px 22px 19px 22px;
  max-width: 420px;
  width: 94vw;
  display: flex;
  flex-direction: column;
  gap: 21px;
  align-items: center;
  position: relative;
  animation: modalPop 0.25s;
}
@keyframes modalPop {
  from { transform: scale(.89); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.33rem;
  margin-bottom: 10px;
  text-align: center;
  color: var(--forest-green);
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal label {
  font-size: 1rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--bark-brown);
}
.cookie-modal input[type=checkbox] {
  accent-color: var(--forest-green);
  width: 1.1em;
  height: 1.1em;
}
.cookie-modal .cookie-buttons {
  display: flex;
  gap: 15px;
  margin-top: 6px;
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  top: 14px; right: 18px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--forest-green);
  cursor: pointer;
  transition: color .14s;
}
.cookie-modal .close-cookie-modal:hover {
  color: var(--accent);
}

/* =========================
 GENERIC FORMS / CTA / TABLES
========================== */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  border-radius: 12px;
  padding: 11px 14px;
  border: 1px solid #c7c7b9;
  margin-bottom: 18px;
  outline: none;
  background: #f6f8f2;
  transition: border 0.17s, box-shadow 0.11s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--forest-green);
  box-shadow: 0 0 0 2px #e2f1d8;
}
.button, button {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--forest-green);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 12px 30px;
  border: none;
  border-radius: 30px;
  box-shadow: 0 2px 14px var(--shadow);
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.18s, transform 0.12s;
  outline: none;
}
.button:hover, button:hover, .button:focus, button:focus {
  background: #377a3f;
  color: var(--accent);
  transform: translateY(-2px) scale(1.03);
}

/* ===============
 LISTS/FAQ/DT/DD
================= */
dt {
  font-weight: 600;
  color: var(--forest-green);
  font-size: 1.08rem;
  margin-top: 18px;
}
dd {
  margin-bottom: 10px;
  margin-left: 16px;
  color: #23281D;
  font-size: 1rem;
}

/* ===============
 ORGANIC SHAPES & TEXTURES
================= */
/* Subtle 'nature' accent backgrounds and corners */
.section, .content-wrapper, .card, .testimonial-card, header, footer {
  border-radius: 32px 18px 32px 32px/22px 44px 22px 22px;
}
.feature-grid > div, .service-grid > div {
  border-radius: 18px 38px 18px 14px/18px 18px 36px 28px;
}

@media (max-width: 650px) {
  .section, .content-wrapper, header, footer {
    border-radius: 24px;
  }
}

/* ===============
 MICRO-INTERACTIONS
================== */
a, button, .btn-primary, .mobile-menu-toggle, .mobile-menu-close, .cookie-btn, .cookie-settings-btn, .cookie-reject-btn, .close-cookie-modal {
  transition: background 0.14s, color 0.15s, box-shadow 0.15s, transform 0.13s;
  outline: none !important;
}
:focus-visible {
  outline: 2.5px dashed var(--accent);
  outline-offset: 1.5px;
}
::-webkit-scrollbar {
  width: 10px;
  background: #f2f7e4;
}
::-webkit-scrollbar-thumb {
  background: #b8c9a7;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: #91b274;
}

/* ===================
 MISC UI COMPONENTS
==================== */
/* Responsive Embeds/Maps */
.responsive-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 14px;
  margin-top: 14px;
  background: #eeebdf;
}
.responsive-embed iframe,
.responsive-embed object,
.responsive-embed embed {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* Utilities */
.hide { display: none !important; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-24 { margin-bottom: 24px !important; }
.pt-0 { padding-top: 0 !important; }

/* ==============
 MEDIA QUERIES
================ */
@media (max-width: 540px) {
  h1, .hero h1 { font-size: 1.49rem; }
  h2 { font-size: 1.08rem; }
  .btn-primary, .button { padding: 10px 14px; font-size: .99rem; }
}
