/* -------------------------------------------------
   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;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.6;
  background-color: #FAFAF5;
  color: #2E3A27;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: #166573;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #B23B19;
  text-decoration: underline;
  outline: none;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
  border-radius: 8px;
}
button {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: none;
  border: none;
  cursor: pointer;
}

/* -------------------------------------------------
   TYPOGRAPHY
--------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #18422B;
}
h1 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  line-height: 1.15;
}
h2 {
  font-size: 1.6rem;
  margin-bottom: 18px;
  line-height: 1.2;
}
h3 {
  font-size: 1.15rem;
  margin-bottom: 14px;
}
p, li, small {
  font-size: 1rem;
  color: #24331D;
}
small {
  font-size: 0.98rem;
  color: #83916B;
}
.text-section p {
  margin-bottom: 16px;
}
.text-section ul, .text-section ol {
  margin-left: 14px;
  margin-bottom: 16px;
}
.text-section li {
  margin-bottom: 8px;
}

/* -------------------------------------------------
   COLOR PALETTE: NATURE ORGANIC
--------------------------------------------------- */
:root {
  --primary: #166573;
  --primary-dark: #124952;
  --secondary: #F6F8FA;
  --secondary-bg: #EFF5F0;
  --natural-white: #fff;
  --accent: #B23B19;
  --accent-bright: #E75732;
  --earth: #8B8353;
  --leaf: #83916B;
  --bark: #594D22;
  --soft-green: #90B89E;
  --shadow: 0 4px 32px 0 rgba(60,80,66,0.12);
  --card-radius: 20px;
  --section-spacing: 60px;
  --content-padding: 40px 20px;
}


/* -------------------------------------------------
   CONTAINER, LAYOUT, SPACING (FLEXBOX ONLY)
--------------------------------------------------- */
.container {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 18px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background-color: var(--secondary-bg);
  border-radius: calc(var(--card-radius) + 6px);
  box-shadow: var(--shadow);
  position: relative;
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 32px;
    padding: 24px 8px;
  }
  .container {
    padding-left: 5px;
    padding-right: 5px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--natural-white);
  border-radius: var(--card-radius);
  box-shadow: 0 3px 18px 0 rgba(60,80,66,0.06);
  margin-bottom: 20px;
  padding: 32px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.22s, box-shadow 0.22s;
}
.card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 30px 0 rgba(36,51,29,0.12);
  z-index: 2;
}
.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: 20px;
  background: var(--natural-white);
  border-radius: var(--card-radius);
  padding: 20px;
  box-shadow: 0 2px 12px 0 rgba(60,80,66,0.08);
  margin-bottom: 20px;
  min-width: 200px;
  max-width: 575px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Mandatory section spacing between content elements */
section, .section {
  margin-bottom: var(--section-spacing);
}
.content-wrapper > *:not(:last-child) {
  margin-bottom: 24px;
}

/* List Icon Features (in features sections) */
.content-wrapper ul li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0 10px 0;
  font-size: 1rem;
  color: #18422B;
  border-radius: 9px;
}
.content-wrapper ul li img {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  background: #EFF5F0;
  border-radius: 50%;
  padding: 2px;
}

.content-wrapper ul {
  margin-bottom: 16px;
}

/* -----------------------------------------------
   HEADER, NAVIGATION, LOGO, ACTION BUTTONS
------------------------------------------------- */
header {
  background: var(--secondary);
  border-bottom: 1px solid #dde3dc;
  box-shadow: 0 3px 10px 0 rgba(90,123,103,0.09);
  position: relative;
  z-index: 1001;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 16px;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1.04rem;
  letter-spacing: 0.025em;
  padding: 7px 7px 6px 7px;
  border-radius: 8px;
  transition: background 0.17s, color 0.17s;
}
header nav a:hover, header nav a:focus {
  background: #ecf3ef;
  color: var(--primary);
}
header .btn-primary {
  margin-left: 6px;
}
header img {
  height: 42px;
}

/* Burger menu (mobile) */
.mobile-menu-toggle {
  display: none;
  background: var(--primary);
  color: #fff;
  font-size: 2rem;
  padding: 8px 16px 6px 16px;
  border-radius: 16px;
  margin-left: 8px;
  line-height: 1;
  transition: background 0.2s, box-shadow 0.2s;
  z-index: 1202;
  outline: none;
  border: none;
  box-shadow: 0 1.5px 4px 0 rgba(35,50,35,0.06);
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--accent);
  color: #fff;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  right: 0;
  width: 82vw;
  max-width: 340px;
  height: 100vh;
  background: var(--secondary);
  box-shadow: -8px 0 32px rgba(70,50,21,0.16);
  padding: 30px 28px 40px 24px;
  transform: translateX(103%);
  transition: transform 0.34s cubic-bezier(.63,.04,.33,1.12);
  z-index: 2005;
  min-width: 220px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: var(--primary);
  background: none;
  border-radius: 50%;
  margin-left: auto;
  margin-bottom: 18px;
  padding: 4px 17px;
  transition: background 0.13s, color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #E9ECE5;
  color: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 17px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.14rem;
  letter-spacing: 0.02em;
  color: var(--primary);
  padding: 8px 0;
  width: 100%;
  border-radius: 6px;
  margin-bottom: 1px;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: var(--accent);
  background: #F2F1ED;
}

@media (max-width: 1000px) {
  header nav, header .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
/* ensure menu covers full screen on most mobiles */
@media (max-width: 550px) {
  .mobile-menu {
    max-width: 100vw;
    width: 99vw;
    padding: 18px 12px 38px 12px;
  }
}

/* Overlay for menu (optional, can be toggled on .mobile-menu-open on body) */
body.mobile-menu-open::after {
  content: '';
  position: fixed;
  z-index: 1100;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(22,101,115, 0.12);
  pointer-events: all;
  transition: background 0.16s;
}


/* -----------------------------------------------
   BUTTONS
------------------------------------------------- */
.btn-primary,
.btn-secondary {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  padding: 13px 28px;
  font-size: 1.12rem;
  border-radius: 999px;
  border: none;
  outline: none;
  transition: background 0.19s, color 0.14s, box-shadow 0.21s, transform 0.14s;
  cursor: pointer;
  box-shadow: 0 2px 15px 0 rgba(80,105,88,0.07);
  margin-top: 11px;
  margin-bottom: 8px;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(90deg, var(--primary) 87%, var(--soft-green) 98%);
  box-shadow: 0 3px 16px 0 rgba(22,101,115,0.11);
}
.btn-primary:focus, .btn-primary:hover {
  background: linear-gradient(90deg, var(--accent) 84%, var(--leaf) 100%);
  color: #fff;
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 10px 25px 0 rgba(178,59,25,0.12);
}
.btn-secondary {
  color: var(--primary);
  background: #fff;
  border: 1.7px solid var(--soft-green);
}
.btn-secondary:focus, .btn-secondary:hover {
  background: #E9ECE5;
  color: var(--accent);
  border-color: var(--accent);
}


/* -----------------------------------------------
   HERO SECTION + CALL TO ACTION
------------------------------------------------- */
main > section:first-of-type,
.section.hero {
  background: linear-gradient(109deg, #f3f5ef 84%, #e9f5dc 100%);
  border-radius: var(--card-radius);
  box-shadow: 0 4px 22px 0 rgba(110,180,145,0.08);
  margin-top: 16px;
  margin-bottom: 54px;
}
main > section:first-of-type h1 {
  color: var(--primary);
  font-size: 2.4rem;
  margin-bottom: 18px;
}
@media (max-width: 700px) {
  main > section:first-of-type h1 {
    font-size: 1.4rem;
    margin-bottom: 12px;
  }
}
main > section:last-of-type {
  background: linear-gradient(95deg, #e8f4e4 80%, #f3eedd 100%);
  margin-bottom: 0;
}

/* -----------------------------------------------
   TESTIMONIALS
------------------------------------------------- */
.testimonial-card {
  border-left: 7px solid var(--soft-green);
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #25321D;
  background: #FFF;
  margin-top: 16px;
  margin-bottom: 24px;
  box-shadow: 0 1px 16px 0 rgba(33,39,25,0.07);
  min-width: 220px;
}
.testimonial-card p {
  font-size: 1.08rem;
  color: #1C271B;
  font-style: italic;
  margin-bottom: 9px;
}
.testimonial-card small {
  color: #83916B;
  font-size: 1rem;
}

/* -----------------------------------------------
   FOOTER
------------------------------------------------- */
footer {
  background: linear-gradient(92deg, #eaf2e0 85%, #e3eaed 100%);
  border-top: 1px solid #d9e2db;
  padding: 36px 0 22px 0;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  gap: 32px;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-bottom: 8px;
}
footer nav a {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #717A65;
  font-weight: 500;
  padding: 4px 7px;
  border-radius: 7px;
  transition: background 0.15s, color 0.17s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--primary);
  background: #EBF3E8;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  margin-left: auto;
}
.footer-brand img {
  width: 46px;
  height: auto;
  display: block;
}
.footer-brand p {
  font-size: 0.98rem;
  color: #8B8353;
  margin-top: 4px;
}
@media (max-width: 768px) {
  footer .container, .footer-brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .footer-brand {
    align-items: flex-start;
    margin-left: 0;
  }
  footer nav {
    flex-wrap: wrap;
    gap: 10px;
  }
}

/* -----------------------------------------------
   TEXT-IMAGE & CONTENT STRUCTURE (Mobile/Desk)
------------------------------------------------- */
.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: stretch;
    gap: 18px;
  }
}

/* Responsive heading font sizes */
@media (max-width: 500px) {
  h1 {
    font-size: 1.15rem;
  }
  h2 {
    font-size: 1.02rem;
  }
}

/* -----------------------------------------------
   COOKIE CONSENT BANNER AND MODAL
------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  z-index: 10010;
  background: #F5F9F3;
  box-shadow: 0 -8px 32px 0 rgba(70,90,61,0.15);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 18px 32px 20px 20px;
  border-radius: 14px 14px 0 0;
  animation: cookieBannerIn 0.47s cubic-bezier(.62,.03,.44,1.12) both;
}
@keyframes cookieBannerIn {
  from { transform: translateY(110%); opacity:0 }
  to   { transform: translateY(0); opacity: 1 }
}
.cookie-banner__text {
  font-size: 1rem;
  color: #25321D;
  flex: 1;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
}
.cookie-banner .btn-primary,
.cookie-banner .btn-secondary {
  min-width: 105px;
  padding: 9px 14px;
  font-size: 0.97rem;
  margin: 0;
}
.cookie-banner__settings {
  color: var(--primary);
  background: none;
  border: none;
  font-size: 1rem;
  font-family: inherit;
  border-radius: 7px;
  transition: background 0.17s, color 0.13s;
  padding: 9px 17px;
  margin-left: 2px;
}
.cookie-banner__settings:hover,
.cookie-banner__settings:focus {
  background: #EFF5F0;
  color: var(--accent);
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 18px 5vw 13px 5vw;
  }
}

/* Cookie Modal */
.cookie-modal-backdrop {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(36,51,29,.28);
  z-index: 15000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.23s;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  min-width: 330px;
  max-width: 95vw;
  border-radius: 18px;
  box-shadow: 0 8px 48px 0 rgba(70,90,61,0.21);
  padding: 34px 28px 25px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  animation: cookieModalIn 0.36s cubic-bezier(.65,.04,.33,1.12) both;
  z-index: 15200;
  position: relative;
}
@keyframes cookieModalIn {
  from { opacity: 0; transform: scale(0.85) translateY(45px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal h2 {
  margin-bottom: 12px;
  color: var(--primary);
  font-size: 1.19rem;
}
.cookie-modal__categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  margin-bottom: 18px;
}
.cookie-modal__category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
}
.cookie-modal__category label {
  font-size: 1rem;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #24331D;
  font-weight: 500;
}
.cookie-modal__category input[type="checkbox"] {
  accent-color: var(--primary);
  height: 20px;
  width: 20px;
  margin-right: 7px;
}
.cookie-modal .btn-primary, .cookie-modal .btn-secondary {
  min-width: 110px;
  margin-right: 9px;
  font-size: 1rem !important;
  padding: 9px 14px;
}
.cookie-modal__actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 22px;
}
.cookie-modal__close {
  position: absolute;
  right: 15px;
  top: 15px;
  font-size: 1.6rem;
  background: none;
  color: var(--primary);
  border-radius: 50%;
  padding: 2px 8px;
  cursor: pointer;
  border: none;
  transition: background 0.14s, color 0.15s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  background: #F2F1ED;
  color: var(--accent);
}

/* -----------------------------------------------
   ORGANIC DECORATIVE ELEMENTS
------------------------------------------------- */
.section, .card, .testimonial-card, footer, header {
  border-radius: var(--card-radius);
}
.section {
  /* Add subtle organic shape by using unique border radius on desktop */
  border-radius: 28px 60px 28px 40px/38px 44px 32px 40px;
}
@media (max-width: 768px) {
  .section {
    border-radius: 19px 27px 19px 17px/16px 18px 15px 17px;
  }
}

/* -----------------------------------------------
   MICRO-INTERACTIONS & TRANSITIONS
------------------------------------------------- */
.card, .testimonial-card, .btn-primary, .btn-secondary, .mobile-menu, .cookie-banner, .cookie-modal, .mobile-menu-close {
  transition: box-shadow 0.18s, background 0.18s, filter 0.13s, color 0.15s, transform 0.19s;
}
.card:active, .btn-primary:active, .btn-secondary:active {
  filter: brightness(0.98);
}

/* -----------------------------------------------
   UTILITIES
------------------------------------------------- */
.hide, .hidden {
  display: none !important;
}

/* -----------------------------------------------
   MEDIA QUERIES RESPONSIVE FLEX
------------------------------------------------- */
@media (max-width: 1000px) {
  .container, .content-wrapper, .content-grid,
  footer .container, .card-container, .features, .text-image-section {
    flex-direction: column !important;
    align-items: stretch;
    gap: 20px !important;
  }
}
@media (max-width: 550px) {
  .container {
    max-width: 99vw;
    padding-left: 2px;
    padding-right: 2px;
  }
  h1 {
    font-size: 1.12rem;
  }
}

/* -----------------------------------------------
   SCROLLBARS (subtle like wood grain)
------------------------------------------------- */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(95deg, #dfecd0 70%, #e2d9c1 100%);
  border-radius: 50px;
}
::-webkit-scrollbar-track {
  background: #f8faf6;
}

/* -----------------------------------------------
   FOCUS OUTLINES FOR ACCESSIBILITY
------------------------------------------------- */
:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  z-index: 10001; /* raise above cards */
}

/* -----------------------------------------------
   PRINT OPTIMIZATION (Hide nav/cta/banner)
------------------------------------------------- */
@media print {
  header, nav, .mobile-menu, .cookie-banner, .btn-primary, .btn-secondary { display: none !important; }
  body, main, .container, .section, .content-wrapper { background: #fff !important; color: #181C0C !important; }
}
