/* ========================
   Nature Organic CSS Reset
   ======================== */
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;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #f9f6ee;
  color: #28485a;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
}
a { color: inherit; text-decoration: none; }
a:focus { outline: 2px solid #6bb785; outline-offset: 2px; }
ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
img {
  max-width: 100%;
  display: block;
  border: none;
  border-radius: 8px;
}
button, input, select, textarea {
  font: inherit;
  background: none;
  border: none;
  outline: none;
  box-sizing: border-box;
}

/* Root Colors & Fonts */
:root {
  --primary: #28485a;
  --secondary: #afad88;
  --accent: #f9f6ee;
  --organic-green: #6bb785;
  --earth-brown: #967259;
  --offwhite: #fbfaf7;
  --shadow: 0 4px 24px 0 rgba(70,64,35,0.07);
  --border-radius: 20px;
  --border-radius-small: 10px;
  --organic-shadow: 0 2px 8px 0 rgba(44,68,74,0.10), 0 0.5px 2.5px 0 rgba(111,102,90,0.08);
}

/* ===================
   Typography Hierarchy
   =================== */
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: #20402b;
  font-weight: 800;
  letter-spacing: -0.01em;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 16px;
  line-height: 1.14;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  line-height: 1.17;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--primary);
  font-weight: 700;
}
h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  font-weight: 600;
}
p, ul, ol {
  font-size: 1rem;
  color: #28485a;
  margin-bottom: 14px;
}
p.subheadline {
  font-size: 1.13rem;
  font-weight: 500;
  color: var(--organic-green);
  margin-bottom: 20px;
}
strong, b {
  font-weight: 700;
  color: var(--primary);
}

/* ============================== 
   Container & Main Section Styles
   ============================== */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--offwhite);
  border-radius: var(--border-radius);
  box-shadow: var(--organic-shadow);
  transition: box-shadow .2s, background .2s;
}
section.hero {
  margin-bottom: 40px;
  background: linear-gradient(120deg, #f9f6ee 70%, #e0e5dc 100%);
  min-height: 345px;
  display: flex;
  align-items: center;
  border-radius: 0 0 40px 40px;
  box-shadow: 0 4px 36px rgba(31,44,28,0.09);
}

/* =====================
   Header & Navigation
   ===================== */
header {
  background: #fff;
  box-shadow: 0 2px 16px 0 rgba(70,64,35,0.05);
  position: sticky;
  top: 0;
  z-index: 300;
}
header > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 20px;
}
header nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: var(--primary);
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  transition: background .15s, color .18s;
}
header nav a:hover, header nav a:focus {
  background: var(--organic-green);
  color: #fff;
}

.cta-primary {
  display: inline-block;
  padding: 11px 26px;
  background: var(--organic-green);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  border-radius: 1000px;
  box-shadow: 0 3px 16px 0 rgba(110,176,112,0.07);
  letter-spacing: 0.03em;
  transition: background .21s, transform .14s, box-shadow .17s;
}
.cta-primary:hover, .cta-primary:focus {
  background: #3f7345;
  box-shadow: 0 7px 32px 0 rgba(80,188,106,0.13);
  transform: translateY(-2px) scale(1.03);
}

header img {
  height: 38px;
  margin-right: 8px;
}

/* ================
   Mobile Menu
   ================ */
.mobile-menu-toggle {
  display: none;
  padding: 8px 14px;
  font-size: 2.1rem;
  background: var(--organic-green);
  color: #fff;
  border-radius: 10px;
  cursor: pointer;
  border: none;
  position: relative;
  z-index: 402;
  transition: background .18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #2a5a36;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 401;
  box-shadow: 0 13px 60px rgba(31,44,28,0.09);
  transform: translateX(-100%);
  transition: transform .37s cubic-bezier(.77,.18,.44,1.02);
  overflow-y: auto;
  padding: 28px 30px 20px 30px;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  background: none;
  color: var(--primary);
  font-size: 2rem;
  align-self: flex-end;
  position: relative;
  z-index: 402;
  border: none;
  margin-bottom: 25px;
  cursor: pointer;
  border-radius: 8px;
  padding: 0 6px;
  transition: background .13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #e3ede6;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 12px;
}
.mobile-nav a {
  font-size: 1.07rem;
  color: var(--primary);
  font-weight: 700;
  padding: 13px 8px;
  border-radius: 8px;
  background: #fbfaf7;
  transition: background .19s, color .16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--organic-green);
  color: #fff;
}

@media (max-width: 1100px) {
  header nav {
    gap: 17px;
  }
}
@media (max-width: 900px) {
  header > .container nav,
  header > .container .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    margin-left: auto;
  }
}
@media (min-width: 901px) {
  .mobile-menu { display: none !important; }
}

/* ======================
   Hero / Section Spacing
   ====================== */
main section.hero {
  padding: 44px 0 46px 0;
  margin-bottom: 46px;
  min-height: 300px;
  flex-direction: column;
  justify-content: center;
}

/* ======================
   Flex Patterns
   ====================== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature {
  flex: 1 1 220px;
  background: #f1f7ed;
  border-radius: var(--border-radius-small);
  box-shadow: var(--organic-shadow);
  padding: 22px 18px 18px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow .2s, background .19s;
  border: 1.5px solid #e6eae2;
}
.feature:hover {
  background: #e6eae2;
  box-shadow: 0 7px 28px 0 rgba(93,170,100,0.10);
}
.feature img {
  height: 44px;
  width: 44px;
  border-radius: 50%;
  background: #dbeadc;
  padding: 7px;
  box-shadow: 0 2px 8px 0 rgba(44,68,74,0.06);
}

.project-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.project {
  flex: 1 1 320px;
  min-width: 270px;
  background: #f3f5ef;
  border-radius: var(--border-radius);
  padding: 32px 22px 22px 22px;
  box-shadow: var(--organic-shadow);
  margin-bottom: 20px;
  transition: box-shadow .2s, background .2s;
}
.project:hover {
  background: #e7ebdf;
  box-shadow: 0 10px 40px 0 rgba(110,176,112,0.14);
}
.project h3 {
  margin-bottom: 12px;
}
.before-after { color: var(--organic-green); font-weight: 600; font-size: 1.01rem; margin-bottom: 10px; }

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--organic-shadow);
  padding: 24px 22px;
}

.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: #f5faee;
  border-radius: var(--border-radius);
  box-shadow: var(--organic-shadow);
  margin-bottom: 20px;
  flex-wrap: wrap;
  flex-direction: column;
  border: 1.2px solid #ddeadd;
  transition: box-shadow .15s, background .12s;
}
.testimonial-card p {
  color: #31421d;
  font-size: 1.09rem;
  line-height: 1.6;
}
.testimonial-card span {
  font-style: italic;
  color: var(--earth-brown);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.testimonial-card .client-logos {
  display: flex;
  gap: 8px;
  align-items: center;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.contact-info {
  background: #f3f5ef;
  padding: 18px 20px;
  border-radius: 12px;
  box-shadow: 0 2px 8px 0 rgba(44,68,74,0.06);
  margin-top: 16px;
}

.guide-list > li {
  background: #f5faee;
  border-radius: var(--border-radius-small);
  box-shadow: var(--organic-shadow);
  padding: 20px 18px 14px 18px;
  margin-bottom: 20px;
}

/* ===================
   Footer Styles
   =================== */
footer {
  background: #e7eae4;
  margin-top: 48px;
  border-top-left-radius: 36px;
  border-top-right-radius: 36px;
  font-size: 0.99rem;
  box-shadow: 0 -2px 22px rgba(70,64,35,0.06);
  padding-bottom: 30px;
}
footer .container {
  padding: 32px 16px 0 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
footer nav {
  display: flex;
  gap: 21px;
  flex-wrap: wrap;
  align-items: center;
}
footer nav a {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: color .13s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--organic-green);
}
footer p {
  color: #33543f;
  margin-bottom: 0;
}

/* ===================================================
   Cookie Consent Banner & Cookie Modal Styles
   =================================================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #e9f7ea;
  color: #20402b;
  padding: 24px 16px 25px 16px;
  box-shadow: 0 -3px 18px 0 rgba(110,176,112,0.13);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 19px;
  font-size: 1.02rem;
  z-index: 998;
  border-top-left-radius: 21px;
  border-top-right-radius: 21px;
  animation: moveUpFadeIn .55s cubic-bezier(.5,.6,.47,1.23);
}
.cookie-banner p {
  margin-bottom: 0;
  max-width: 440px;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 14px;
  margin-left: 12px;
}
.cookie-btn {
  padding: 8px 20px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 100px;
  border: none;
  transition: background .15s, color .12s, box-shadow .17s;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(110,176,112,0.08);
}
.cookie-btn.accept {
  background: var(--organic-green);
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #379c54;
}
.cookie-btn.reject {
  background: #d5dcb6;
  color: #32423b;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #afad88;
  color: #fff;
}
.cookie-btn.settings {
  background: #fff;
  color: var(--primary);
  border: 1.1px solid var(--organic-green);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #e6eae2;
}

/* COOKIES MODAL */
.cookie-modal {
  position: fixed;
  z-index: 999;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(41,52,49,0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn .33s;
}
.cookie-modal-content {
  background: #f9f6ee;
  border-radius: 18px;
  padding: 34px 28px 21px 28px;
  min-width: 315px;
  max-width: 95vw;
  box-shadow: 0 8px 42px 0 rgba(80,188,106,0.09);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  animation: moveUpFadeIn .5s cubic-bezier(.6,.21,.25,1.2);
}
.cookie-modal-close {
  position: absolute;
  top: 13px; right: 16px;
  font-size: 1.4rem;
  background: none;
  border: none;
  color: #385846;
  cursor: pointer;
  border-radius: 5px;
  padding: 1px 7px;
  transition: background .14s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #e6eae2;
}
.cookie-category {
  padding: 13px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #e6eae2;
}
.cookie-category:last-child { border-bottom: none; }
.cookie-category label {
  font-weight: 600;
  font-size: 1.04rem;
  color: var(--primary);
  margin-left: 3px;
}
.cookie-category input[type=checkbox] {
  accent-color: var(--organic-green);
  width: 18px;
  height: 18px;
}
.cookie-category .required {
  font-size: 0.97rem;
  color: #228b3d;
  margin-left: 8px;
  font-weight: 500;
}
.cookie-modal-btns {
  display: flex;
  gap: 14px;
  margin-top: 10px;
  justify-content: flex-end;
}

@keyframes moveUpFadeIn {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity:1; }
}

/* ==============================
   Responsive Styles Mobile-First
   ============================== */
@media (max-width: 1315px) {
  .container { max-width: 1002px; }
}
@media (max-width: 1050px) {
  .container { max-width: 780px; }
}
@media (max-width: 900px) {
  .container { max-width: 99vw; }
  .content-wrapper { gap: 13px; }
  .feature-grid, .card-container, .project-list {
    flex-direction: column;
    gap: 20px;
  }
  .section { padding: 34px 10px; }
  .text-image-section { gap: 19px; }
}
@media (max-width: 768px) {
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.36rem; }
  .section { margin-bottom: 36px; }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .footer nav {
    flex-direction: column;
    gap: 13px;
  }
}
@media (max-width: 500px) {
  .cookie-banner { flex-direction: column; gap: 15px; font-size: 0.99rem; }
  .feature, .project, .guide-list > li { padding-left: 11px; padding-right: 11px; }
  .contact-info { padding: 11px 7px; }
}

/* ====================
   Utility & Micro-UX
   ==================== */
ul, ol { padding-left: 22px; }
ul li, ol li { margin-bottom: 5px; }
a.underline, a:not(.cta-primary):not(.cookie-btn):hover { text-decoration: underline; }
img.icon, .section img[src$='.svg'] { background: none; border-radius: 0; box-shadow: none; padding: 0; }

::-webkit-scrollbar {
  width: 9px;
  background: #e6eae2;
}
::-webkit-scrollbar-thumb {
  background: #b6c8ba;
  border-radius: 4px;
}

/* ================
   Form Inputs
   ================ */
input, textarea, select {
  background: #fff;
  border-radius: 7px;
  padding: 7px 14px;
  border: 1.1px solid #ddeadd;
  font-size: 1rem;
  margin-bottom: 15px;
  transition: border-color .12s, box-shadow .15s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--organic-green);
  box-shadow: 0 0 8px 0 rgba(110,176,112,0.11);
}

/* ===============
   Animations
   =============== */
.cta-primary, .cookie-btn, header nav a, .mobile-nav a {
  transition: background .18s, color .15s, transform .13s, box-shadow .15s;
}


/* =============
   Z-INDEX
   ============= */
/* 999 - cookie modal overlay; 998 - cookie banner; 401 - mobile menu; 402 - mobile menu toggle & close; 300 - header */

