/* -------------------------- 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 {
  min-height: 100vh;
  background: #F6F3EF;
  font-family: 'Lato', Arial, sans-serif;
  color: #2C3742;
  line-height: 1.6;
  font-size: 16px;
}
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; }
button, input, select, textarea { font-family: inherit; font-size: 100%; }
img { display: block; max-width: 100%; height: auto; }

/* --------- FONT IMPORT (Montserrat + Lato) --------- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Lato:400,700,900&display=swap');

/* ---------- COLOR PALETTE - nature_organic Blend ---------- */
:root {
  --primary: #2C3742;
  --secondary: #C7A972;
  --accent: #F6F3EF;
  --earth-brown: #8B6F4E;
  --forest-green: #3A5D47;
  --moss-green: #7EA08A;
  --natural-white: #FCFAF7;
  --clay: #D9C8B0;
  --leaf: #A2C37D;
  --card-bg: #FCFAF7;
  --testimonial-bg: #E8E4DF;
  --shadow: 0 2px 12px 0 rgba(44,55,66, 0.07);
}

/* -------------- TYPOGRAPHY ----------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #2C3742;
  letter-spacing: 0.03em;
  font-weight: 700;
  line-height: 1.18;
}
h1 { font-size: 2.4rem; margin-bottom: 28px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.35rem; margin-bottom: 14px; font-weight: 600; }
h4, h5, h6 { font-size: 1.1rem; margin-bottom: 8px; font-weight: 600; }
p {
  font-family: 'Lato', Arial, sans-serif;
  color: #3A5D47;
  font-size: 1rem;
  margin-bottom: 18px;
}
strong, b { font-weight: 700; color: var(--primary); }

ul, ol {
  margin: 0 0 18px 24px; /* natural indent spacing */
  padding-left: 18px;
}
ul li {
  position: relative;
  margin-bottom: 8px;
  /* bullet in organic leaf color */
}
ul li::before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  width: 9px;
  height: 9px;
  background: var(--leaf);
  border-radius: 50%;
  margin-right: 8px;
}

ol li { margin-bottom: 8px; }

/* ---------------- CONTAINER & SECTIONS ------------------- */
.container {
  width: 100%;
  max-width: 1110px;
  padding: 0 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0; /* custom spacing on content wrappers */
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.content-wrapper {
  width: 100%;
  background: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

@media (max-width: 768px) {
  .container { padding: 0 10px; }
  .section { padding: 28px 8px; }
}

/* ------------- HEADER/NAVIGATION ------------------ */
header {
  background: var(--natural-white);
  width: 100%;
  box-shadow: 0 2px 16px 0 rgba(44,55,66,0.04);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  min-height: 74px;
}
header img { height: 46px; }

nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 26px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--primary);
  transition: color 0.22s;
  padding: 7px 0;
  position: relative;
}
nav a:hover, nav a:focus {
  color: var(--forest-green);
}
nav a:after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: var(--leaf);
  transition: width 0.25s cubic-bezier(0.77,0,0.175,1);
  border-radius: 2px;
  margin-top: 2px;
}
nav a:hover:after, nav a:focus:after { width: 100%; }

.cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  background: linear-gradient(90deg, var(--leaf), var(--secondary));
  color: #fff;
  border: none;
  border-radius: 26px 18px 22px 30px/28px 22px 26px 20px; /* organic shape */
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 3px 14px 0 rgba(44,55,66,.10);
  padding: 12px 30px;
  margin-left: 24px;
  cursor: pointer;
  transition: background 0.25s, box-shadow 0.23s, transform 0.15s;
  outline: none;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, var(--forest-green), var(--secondary));
  box-shadow: 0 8px 20px 0 rgba(44,55,66,.16);
  transform: translateY(-2px) scale(1.03);
}

/* Hide mobile menu button on desktop */
.mobile-menu-toggle {
  display: none;
}
@media (max-width: 992px) {
  header .container { gap: 12px; }
  nav { gap: 18px; }
}
@media (max-width: 900px) {
  nav { display: none; }
  .cta-btn { margin-left: 0; }
  .mobile-menu-toggle {
    display: block;
    font-size: 2.1rem;
    background: none;
    border: none;
    color: var(--forest-green);
    cursor: pointer;
    margin-left: 16px;
    padding: 5px 8px;
    border-radius: 9px;
    transition: background 0.16s;
  }
  .mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
    background: var(--clay);
  }
}

/* ------------------- MOBILE NAVIGATION ------------------- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(44,55,42,0.97);
  z-index: 110;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(-105%);
  transition: transform 0.38s cubic-bezier(0.77, 0, 0.175, 1);
  visibility: hidden;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.3rem;
  margin: 25px 28px 0 0;
  cursor: pointer;
  align-self: flex-end;
  transition: color 0.15s;
  z-index: 2;
}
.mobile-menu-close:hover, .mobile-menu-close:focus { color: var(--secondary); }
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  margin-top: 60px;
  width: 100%;
  padding: 0 40px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 600;
  padding: 12px 0 10px 0;
  margin-right: 0;
  border-radius: 7px;
  width: 100%;
  display: block;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--leaf);
  color: var(--primary);
}
@media (min-width: 901px) {
  .mobile-menu { display: none !important; }
}


/* ------------------ MAIN LAYOUT & FLEX UTILITIES ---------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--card-bg);
  border-radius: 20px 32px 26px 22px/28px 22px 28px 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 270px;
  max-width: 370px;
  flex: 1 1 270px;
  padding: 26px 22px;
  transition: box-shadow 0.19s, transform 0.16s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 30px 0 rgba(44,55,66, 0.18);
  transform: translateY(-5px) scale(1.03);
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--testimonial-bg);
  border-radius: 32px 24px 32px 16px/22px 32px 18px 28px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
  min-width: 280px;
  max-width: 600px;
  flex: 1 1 320px;
  position: relative;
}
.testimonial-card p {
  margin-bottom: 0;
  color: var(--primary);
  font-size: 1.14rem;
  flex: 2;
}
.testimonial-meta {
  margin-left: 12px;
  color: var(--forest-green);
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  flex-shrink: 0;
  min-width: 120px;
}
.testimonial-meta span {
  color: #C7A972;
  font-size: 1.05em;
  margin-bottom: 3px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 26px 34px;
  justify-content: flex-start;
}
.feature-grid > div {
  background: var(--card-bg);
  border-radius: 22px 29px 19px 27px/30px 18px 36px 22px;
  box-shadow: var(--shadow);
  padding: 26px 20px 18px 20px;
  min-width: 220px;
  max-width: 340px;
  flex: 1 1 228px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  transition: transform 0.15s, box-shadow 0.16s;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 20px 0 rgba(44,55,66, 0.14);
  transform: translateY(-3px) scale(1.01);
}
.feature-grid img {
  width: 45px;
  height: 45px;
  margin-bottom: 6px;
}

@media (max-width: 900px) {
  .feature-grid { gap: 16px 14px; }
}
@media (max-width: 768px) {
  .feature-grid, .content-grid, .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
    max-width: none;
  }
  .feature-grid > div { min-width: 0; width: 100%; }
  .card { min-width: 0; width: 100%; max-width: none; }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
}

/* ------------ BUTTONS & INTERACTIVE ------------ */
button, .btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none;
  border-radius: 18px 26px 15px 23px/22px 16px 14px 25px;
  background: var(--secondary);
  color: #fff;
  padding: 12px 28px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s, color 0.17s, box-shadow 0.15s, transform 0.15s;
  box-shadow: 0 2px 8px 0 rgba(44,55,66,0.08);
  outline: none;
}
button:hover, button:focus, .btn:hover, .btn:focus {
  background: var(--forest-green);
  color: #fff;
  transform: scale(1.04);
  box-shadow: 0 8px 24px 0 rgba(44,55,66,0.17);
}

/* Accessibility for links */
a:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 2px;
  border-radius: 6px;
}

/* -------------- SECTION HEADINGS & ORGANIC DIVIDERS -------------- */
.section h2 {
  position: relative;
  padding-left: 0;
}
.section h2:before {
  content: '';
  display: inline-block;
  width: 42px;
  height: 8px;
  background: var(--leaf);
  border-radius: 9px 30px 15px 30px/7px 9px 7px 8px;
  position: absolute;
  left: 0;
  top: -14px;
}

/* ----------------- FOOTER ------------------------ */
footer {
  background: var(--primary);
  color: var(--accent);
  padding: 42px 0 32px 0;
  margin-top: 64px;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
}
.footer-brand img {
  height: 45px;
  margin-bottom: 14px;
}
footer nav {
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 4px;
  transition: color 0.17s;
}
footer nav a:hover, footer nav a:focus { color: var(--secondary); }
.footer-contact {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 0.99rem;
  color: var(--clay);
  max-width: 320px;
  line-height: 1.38;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* ----------------- RESPONSIVE TYPOGRAPHY ------------------- */
@media (max-width: 900px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.62rem; }
  h3 { font-size: 1.09rem; }
}
@media (max-width: 768px) {
  h1 { font-size: 1.38rem; }
  h2 { font-size: 1.13rem; }
  h3 { font-size: 0.99rem; }
}

/* ----------------- ORGANIC TEXTURE EFFECTS ------------------- */
.section {
  position: relative;
}
.section::after {
  content: '';
  position: absolute;
  right: 4vw;
  bottom: 18px;
  width: 110px;
  height: 42px;
  background: url('/assets/deco_leaves.png') no-repeat center/contain;
  opacity: 0.14;
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 600px) {
  .section::after { display: none; }
}

/* --------- TEAM CIRCLE IMAGE/LOGO DISPLAY --------- */
.team-image img {
  width: 95px;
  height: 95px;
  border-radius: 50%;
  background: var(--leaf);
  box-shadow: 0 2px 7px 0 rgba(44,55,66,0.09);
  border: 3px solid var(--moss-green);
  object-fit: cover;
}

/* --------- ORGANIC INPUT/FORM STYLES --------- */
input, textarea, select {
  border: 1.6px solid var(--leaf);
  border-radius: 22px 16px 28px 11px/15px 18px 16px 19px;
  padding: 13px 18px;
  background: var(--natural-white);
  font-family: 'Lato', Arial, sans-serif;
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 20px;
  width: 100%;
  transition: border 0.16s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--forest-green);
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--forest-green);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

/* --------- ORGANIC ICONS WITH LISTS --------- */
.content-wrapper ul li img {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  vertical-align: middle;
  display: inline;
}

/* ------------- COOKIE CONSENT BANNER + MODAL ----------- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: rgba(252,250,247,0.98);
  color: var(--primary);
  box-shadow: 0 -3px 24px 0 rgba(44,55,66,0.08);
  border-top-left-radius: 30px 18px;
  border-top-right-radius: 18px 30px;
  padding: 26px 18px 16px 18px;
  z-index: 3000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  transition: transform 0.32s, opacity 0.22s;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}
.cookie-banner p {
  margin: 0;
  color: var(--primary);
  font-size: 1rem;
  flex: 2 1 200px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-banner button {
  border: none;
  background: var(--leaf);
  color: #fff;
  font-weight: 600;
  font-size: .96rem;
  border-radius: 15px 21px 9px 20px/18px 12px 14px 14px;
  padding: 10px 18px;
  cursor: pointer;
  box-shadow: 0 2px 7px 0 rgba(44,55,66,0.08);
  transition: background 0.18s, color 0.16s, transform 0.13s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--forest-green);
}
.cookie-banner .cookie-settings-btn {
  background: var(--secondary);
  color: #fff;
}
.cookie-banner .cookie-settings-btn:hover, .cookie-banner .cookie-settings-btn:focus {
  background: var(--earth-brown);
  color: #fff;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 21px 8px 10px 8px;
  }
}

/* --- Cookie Preferences Modal --- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 3010;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(44, 55, 66, 0.52);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.cookie-modal {
  background: #fff;
  color: var(--primary);
  border-radius: 32px 21px 34px 17px/23px 40px 19px 31px;
  box-shadow: 0 8px 35px 0 rgba(44,55,66, 0.18);
  width: 92vw;
  max-width: 382px;
  padding: 40px 28px 22px 28px;
  margin-bottom: 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 17px;
  transition: transform 0.26s;
  transform: translateY(60px);
}
.cookie-modal-overlay.open .cookie-modal {
  transform: translateY(0);
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.45rem;
  color: var(--primary);
  cursor: pointer;
  padding: 4px 7px;
  border-radius: 9px;
  transition: background 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus { background: var(--accent); }
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-top: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-family: 'Lato', Arial, sans-serif;
}
.cookie-category input[type=checkbox] {
  accent-color: var(--leaf);
  width: 18px; height: 18px;
}
.cookie-category .always-on {
  color: var(--forest-green);
  font-weight: 600;
  font-size: 0.98em;
  margin-left: 3px;
}
@media (max-width: 560px) {
  .cookie-modal {
    padding: 18px 6vw 16px 6vw;
    font-size: 0.93rem;
  }
}


/* ------------- ORGANIC MICRO-INTERACTIONS/ANIMATIONS ----------- */
.card, .feature-grid > div, .testimonial-card, .cta-btn, button, .mobile-menu, .cookie-banner, .cookie-modal {
  transition-timing-function: cubic-bezier(0.77, 0, 0.175, 1);
}

/* --------------- UTILITY CLASSES ---------------- */
.mt-16 { margin-top: 16px; }
.mt-32 { margin-top: 32px; }
.mb-20 { margin-bottom: 20px; }
.mb-32 { margin-bottom: 32px; }

/* --------------- ACCESSIBILITY: SELECTION --------------- */
::selection {
  background: var(--leaf);
  color: #fff;
}

/* -------- MIXED: TABLES, BLOCKQUOTES, MISC --------- */
table {
  border-collapse: collapse;
  width: 100%;
  margin: 18px 0;
  background: var(--card-bg);
  border-radius: 22px;
  overflow: hidden;
}
th, td {
  border: 1px solid var(--leaf);
  padding: 12px 7px;
  color: var(--primary);
}
th {
  background: var(--leaf);
  color: #fff;
  font-weight: 700;
}
blockquote {
  background: var(--testimonial-bg);
  border-left: 6px solid var(--leaf);
  border-radius: 0 32px 32px 0 / 18px 24px 28px 16px;
  padding: 15px 30px;
  margin-bottom: 18px;
  color: var(--primary);
  font-size: 1.06rem;
  box-shadow: 0 2px 7px 0 rgba(44,55,66,0.08);
}

/* ---------------- SCROLLBAR STYLING (modern browsers) ----------- */
::-webkit-scrollbar {
  width: 11px;
  background: var(--accent);
}
::-webkit-scrollbar-thumb {
  background: var(--leaf);
  border-radius: 22px;
}
::-webkit-scrollbar-thumb:hover { background: var(--forest-green); }

/* --------- MOBILE-FRIENDLY TOUCH TARGETS (esp. for links/buttons) ---------- */
a, button, .cta-btn { touch-action: manipulation; min-height: 44px; min-width: 44px; }

/* --------- PREVENT OVERLAP - SPACING BETWEEN CARDS/SECTIONS ---------- */
.card-container, .content-grid, .feature-grid, .testimonial-card, .section {
  margin-bottom: 24px;
  gap: 20px;
}
.content-wrapper + .content-wrapper { margin-top: 24px; }

/* --------------- HIDE/SHOW LOGO ON MOBILE NAV --------------- */
@media (max-width: 560px) {
  header img { height: 38px; }
}

/* --------------- PRINT SAFEGUARDS (hide nav/cookies) --------------- */
@media print {
  header, .mobile-menu, .cookie-banner, .cookie-modal-overlay, footer { display: none !important; }
  body { background: #fff !important; color: #000 !important; }
}
