/* --- 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 {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  background: #F5F7F2;
  color: #253525;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  line-height: 1.2;
  color: #26547C;
}
h1 {font-size: 2.5rem; margin-bottom: 20px;}
h2 {font-size: 2rem; margin-bottom: 16px;}
h3 {font-size: 1.375rem; margin-bottom: 12px;}
h4, h5, h6 {font-size: 1.125rem;}
p, ul, ol {margin-bottom: 14px;}
ul, ol {padding-left: 22px;}
img {max-width: 100%; display: block; border-radius: 10px;}
a {
  color: #26547C;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {color: #337C47;}

/* --- BRAND COLORS & TYPOGRAPHY VARIABLES --- */
:root {
  --color-primary: #26547C;
  --color-secondary: #FFD166;
  --color-accent: #F9F9F9;
  --color-green: #6FB07F; /* Organic green accent */
  --color-earth1: #A3937F;
  --color-earth2: #E7E2CD;
  --color-text: #253525;
  --color-bg: #F5F7F2;
  --color-card-bg: #FFF;
  --color-card-shadow: rgba(80,90,75,0.06);
  --color-card-shadow-hover: rgba(80,90,75,0.13);
  --color-shadow-nav: rgba(64,87,56,0.06);
  --color-focus: #B3DBB4;
}

/* --- LAYOUT CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-card-bg);
  border-radius: 20px 40px 24px 10px;
  box-shadow: 0 2px 12px var(--color-card-shadow);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ORGANIC SECTION MARGINS - MATCH INSTRUCTIONS */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* --- HEADER & NAVIGATION --- */
header {
  background: linear-gradient(90deg, #E7E2CD 0%, #F5F7F2 100%);
  border-bottom: 1px solid var(--color-earth1);
  box-shadow: 0 4px 18px -7px var(--color-shadow-nav);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px 14px 20px;
  gap: 20px;
}
header img {
  height: 48px;
  min-width: 140px;
  border-radius: 0;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', sans-serif;
  padding: 6px 0;
  color: var(--color-primary);
  font-weight: 500;
  font-size: 1rem;
  border-bottom: 2px solid transparent;
  transition: border 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-green);
  border-bottom: 2px solid var(--color-green);
}
.cta-btn {
  background: var(--color-green);
  color: #fff !important;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  padding: 10px 28px;
  font-size: 1.125rem;
  border-radius: 999px;
  box-shadow: 0 4px 24px -8px rgba(80,90,75,0.13);
  border: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.23s;
  outline: none;
  margin-left: 18px;
  cursor: pointer;
  letter-spacing: 0.03em;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #337C47;
  box-shadow: 0 1px 8px 0 var(--color-card-shadow-hover);
  transform: translateY(-2px) scale(1.04);
}

/* MOBILE NAV BAR - HAMBURGER MENU */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--color-primary);
  margin-left: 16px;
  cursor: pointer;
  transition: color .2s;
  z-index: 103;
}
.mobile-menu-toggle:focus {
  outline: 3px solid var(--color-focus);
}

@media (max-width: 950px) {
  header .container {
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
  }
  .main-nav {
    gap: 12px;
  }
  .cta-btn {
    margin-left: 6px;
    font-size: 1rem;
    padding: 9px 18px;
  }
}
@media (max-width: 820px) {
  .main-nav {display: none;}
  .mobile-menu-toggle {
    display: block;
  }
  .cta-btn {
    padding: 9px 14px;
    font-size: 1rem;
  }
}

/* --- MOBILE MENU STYLES --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  width: 100vw;
  height: 100vh;
  background: #E7E2CD;
  transform: translateX(100%);
  transition: transform .36s cubic-bezier(.77,.01,.25,1);
  z-index: 1103;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 0 0;
  box-shadow: 0 2px 16px rgba(38,84,124,0.13);
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--color-green);
  color: #fff;
  border: none;
  font-size: 2.1rem;
  align-self: flex-end;
  margin: 32px 28px 0 0;
  border-radius: 40px;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  z-index: 1104;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #337C47;
  color: #FFD166;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 48px 0 0 38px;
  width: 80vw;
}
.mobile-nav a {
  color: var(--color-primary);
  font-family: 'Montserrat', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  padding: 15px 0 10px 0;
  border-radius: 12px;
  text-decoration: none;
  transition: backgound 0.2s, color 0.2s;
}
.mobile-nav a:active, .mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-green);
  color: #fff;
  outline: none;
  padding-left: 10px;
}

@media (max-width: 568px) {
  .mobile-nav a {font-size: 1.1rem;}
  .mobile-nav {margin-left: 20px; width: 92vw;}
  .mobile-menu-close {margin: 28px 12px 0 0; height: 40px; width: 40px; font-size: 1.5rem;}
}

/* --- TYPOGRAPHY & ELEMENTS --- */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.text-section ul, .text-section ol {
  margin-bottom: 16px;
  margin-top: 4px;
  font-size: 1rem;
  color: #476441;
}

/* BUTTONS */
button, .cta-btn {
  font-family: 'Montserrat', sans-serif;
  border: none;
  outline: none;
  cursor: pointer;
}
button:focus, .cta-btn:focus {
  outline: 3px solid var(--color-focus);
  outline-offset: 2px;
}

/* --- CARDS, LISTS, GRIDS --- */
.card-container, .features-grid, .process-grid, .testimonials-grid, .services-list, .project-grid, .faq-list, .contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card, .feature-item, .service-item, .process-step, .testimonial-card, .project-item, .faq-item, .contact-item {
  background: #fff;
  border-radius: 18px 36px 22px 10px;
  box-shadow: 0 2px 12px var(--color-card-shadow);
  padding: 28px 24px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.16s, transform 0.17s;
}
.card:hover, .feature-item:hover, .service-item:hover, .process-step:hover, .testimonial-card:hover, .project-item:hover, .faq-item:hover {
  box-shadow: 0 5px 18px var(--color-card-shadow-hover);
  transform: translateY(-2px) scale(1.015);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 220px;
  background: #FAFAFA;
  border-left: 6px solid var(--color-green);
}
.service-item {
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.process-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #FAFAFA;
  border-left: 6px solid var(--color-green);
  min-width: 220px;
}
.testimonials-grid {
  width: 100%;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #FFFDEF;
  border-radius: 19px 36px 16px 9px;
  box-shadow: 0 2px 12px var(--color-card-shadow);
  min-width: 275px;
  max-width: 380px;
  transition: box-shadow 0.15s, transform 0.16s;
  color: #284122;
  margin-bottom: 20px;
}
.testimonial-card p {
  font-size: 1.05rem;
  color: #284122;
  line-height: 1.5;
}
.testimonial-meta, .testimonial-card > span {
  color: var(--color-green);
  font-family: 'Montserrat',sans-serif;
  font-size: 0.97rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}
.project-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}
.project-item {
  flex: 1 1 260px;
  min-width: 240px;
  max-width: 390px;
  background: #FAFAFA;
  border-left: 6px solid var(--color-primary);
  color: var(--color-text);
  margin-bottom: 20px;
}
.faq-list {
  flex-direction: column;
  gap: 24px;
}
.faq-item {
  background: #FAFAFA;
  border-left: 6px solid var(--color-green);
  color: var(--color-text);
  margin-bottom: 20px;
  min-width: 220px;
}
.contact-info {
  flex-wrap: wrap;
  gap: 18px;
}
.contact-item {
  flex: 1 1 200px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #FAFAFA;
  border-radius: 14px 26px 18px 6px;
  padding: 16px 20px;
}
/* --- TABLE STYLES --- */
table {
  width: 100%;
  border-spacing: 0;
  background: #F8F9F5;
  border-radius: 18px 30px 20px 7px;
  box-shadow: 0 1px 7px var(--color-card-shadow);
  margin: 14px 0 8px 0;
}
th, td {
  padding: 14px 16px;
  text-align: left;
  font-size: 1rem;
  border-bottom: 1px solid var(--color-earth1);
}
th {
  background: #E7E2CD;
  color: var(--color-primary);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1.09rem;
  border-bottom: 2px solid var(--color-green);
}
td {
  background: #FAFAFA;
  color: var(--color-text);
}
tbody tr:last-child td {
  border-bottom: none;
}

/* --- FOOTER --- */
footer {
  background: #E7E2CD;
  color: #284122;
  border-top: 1px solid var(--color-earth1);
  margin-top: 50px;
  padding: 32px 0 24px 0;
  letter-spacing: 0.012em;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 24px;
  justify-content: space-between;
}
.footer-menu, .footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-menu a {
  color: var(--color-primary);
  font-family: 'Montserrat',sans-serif;
  font-size: 0.99rem;
  font-weight: 600;
  padding-bottom: 2px;
  transition: color 0.2s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: var(--color-green);
  text-decoration: underline;
}
.footer-contact span {
  font-size: 0.98rem;
  color: #384e2b;
  margin-bottom: 3px;
}

/* --- ORGANIC SHAPES & TEXTURES --- */
.content-wrapper, .card, .feature-item, .testimonial-card, .service-item, .process-step, .faq-item, .contact-item, .project-item {
  border-radius: 19px 32px 15px 8px;
  background: #fff;
  /* Subtle nature-inspired texture with repeating svg for visual effect */
  background-image: url('data:image/svg+xml;utf8,<svg width="40" height="40" fill="none" xmlns="http://www.w3.org/2000/svg"><ellipse cx="20" cy="20" rx="1.3" ry="1.4" fill="%236fb07f22"/></svg>');
  background-repeat: repeat;
}

/* --- SPACING --- */
.section { /* already set above, but ensured */
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- MICRO-INTERACTIONS + TRANSITIONS --- */
.card, .feature-item, .service-item, .process-step, .project-item, .faq-item, .testimonial-card {
  transition: box-shadow 0.18s, transform 0.15s;
}
.card:hover, .feature-item:hover, .service-item:hover, .process-step:hover, .project-item:hover, .faq-item:hover, .testimonial-card:hover {
  box-shadow: 0 8px 22px var(--color-card-shadow-hover);
  transform: translateY(-4px) scale(1.015);
}

/* ---- LIST DECORATIONS (organic style) ---- */
ul {
  list-style-type: none;
}
ul li::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  margin-bottom: 2px;
  border-radius: 50%;
  background-color: var(--color-green);
}

ol {counter-reset: organic-ol;}
ol li {
  counter-increment: organic-ol;
  padding-left: 3px;
}
ol li::before {
  content: counter(organic-ol) '.';
  color: var(--color-green);
  font-weight: bold;
  margin-right: 7px;
}

/* --- FORMS (if present) --- */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  border-radius: 11px;
  border: 1.5px solid var(--color-earth1);
  padding: 9px 13px;
  font-size: 1rem;
  margin-bottom: 16px;
  background: #F8F9F5;
  outline: none;
  transition: border 0.17s, box-shadow 0.17s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-green);
  box-shadow: 0 1px 7px var(--color-card-shadow);
}

/* --- ORGANIC SHADOWS --- */
.card, .feature-item, .testimonial-card, .service-item, .process-step, .faq-item, .contact-item, .project-item {
  box-shadow: 0 2px 12px var(--color-card-shadow);
}

/* ---- ACCENT COLORS / BADGES --- */
.badge {
  display: inline-block;
  background: var(--color-secondary);
  color: var(--color-primary);
  font-family: 'Montserrat', sans-serif;
  padding: 5px 16px;
  border-radius: 20px;
  font-size: 0.96rem;
  font-weight: 600;
  margin-left: 8px;
}

/* ---- RESPONSIVE FLEXBOX ADJUSTMENTS ---- */
@media (max-width: 1150px) {
  .content-wrapper {padding: 22px 8px;}
  .card, .feature-item, .testimonial-card, .service-item, .faq-item, .process-step, .contact-item, .project-item {
    padding: 20px 12px;
    min-width: 160px;
  }
  .card-container, .features-grid, .project-grid, .services-list, .testimonials-grid, .faq-list, .process-grid {
    gap: 16px;
  }
}
@media (max-width: 950px) {
  .features-grid, .process-grid, .services-list, .project-grid, .card-container, .testimonials-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-item, .process-step, .service-item, .project-item {
    width: 100%;
    min-width: 0;
    max-width: unset;
  }
  .testimonial-card {
    min-width: 0;
    width: 94%;
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  .container {padding: 0 8px;}
  .section, .content-wrapper {padding: 22px 5px;}
  .text-image-section {flex-direction: column; gap: 18px;}
  .features-grid, .process-grid, .project-grid, .card-container, .testimonials-grid, .services-list, .faq-list {
    flex-direction: column;
    gap: 14px;
  }
}
@media (max-width: 568px) {
  .section, .content-wrapper {
    padding: 12px 2vw;
    margin-bottom: 44px;
  }
  .feature-item, .service-item, .process-step, .faq-item, .project-item, .testimonial-card {
    padding: 14px 6px;
    margin-bottom: 10px;
    border-radius: 12px 18px 8px 4px;
  }
  h1 {font-size: 1.4rem;}
  h2 {font-size: 1.1rem;}
}

/* --- COOKIE BANNER & MODAL --- */
.cookie-banner {
  position: fixed;
  z-index: 3055;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #F8F4E0;
  color: #344824;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding: 16px 24px 16px 34px;
  box-shadow: 0 -3px 22px rgba(38,84,124,0.13);
  border-top: 2.5px solid var(--color-green);
  transition: transform .23s;
}
.cookie-banner.hide {transform: translateY(150px);}
.cookie-banner .cookie-banner-text {
  font-size: 1rem; color: #344824;
  flex: 1;
  min-width: 160px;
}
.cookie-banner .cookie-btns {
  display: flex; gap: 12px;
}
.cookie-banner button {
  font-family: 'Montserrat',sans-serif;
  padding: 7.5px 22px;
  font-size: 1.02rem;
  border-radius: 999px;
  border: none;
  background: var(--color-green);
  color: #fff;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}
.cookie-banner button.cookie-settings {
  background: var(--color-earth1);
  color: #26547C;
}
.cookie-banner button:hover {
  background: #337C47;
  color: #FFD166;
}

/* ---- COOKIE PREFERENCES MODAL ---- */
.cookie-modal_overlay {
  position: fixed;
  inset: 0;
  background: rgba(55, 58, 45,.39);
  z-index: 4098;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.cookie-modal_overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #FBFCF8;
  border-radius: 24px 40px 18px 7px;
  box-shadow: 0 4px 34px rgba(38,84,124,0.16);
  padding: 42px 30px 30px 32px;
  max-width: 388px;
  min-width: 220px;
  z-index: 4109;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: fadeInUp 0.35s cubic-bezier(.37,.01,.13,1);
}
@keyframes fadeInUp {
  from {transform: translateY(40px) scale(0.92); opacity:0;}
  to {transform: none; opacity:1;}
}
.cookie-modal h2 {
  font-size: 1.32rem;
  color: var(--color-primary);
  margin-bottom: 6px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 9px;
}
.cookie-modal .cookie-category label {
  font-weight: 500;
  color: #476441;
}
.cookie-modal .cookie-toggle {
  width: 40px; height: 21px;
  background: #E7E2CD;
  border-radius: 14px;
  position: relative;
  transition: background 0.18s;
  cursor: pointer;
  flex-shrink: 0;
  margin-left: 8px;
}
.cookie-modal .cookie-toggle input {
  opacity: 0; width: 0; height: 0; position: absolute;
}
.cookie-modal .cookie-slider {
  position: absolute;
  top: 2px; left: 2px;
  width: 17px; height: 17px;
  background: var(--color-green);
  border-radius: 50%;
  transition: transform 0.16s;
}
.cookie-modal .cookie-toggle input:checked + .cookie-slider {
  transform: translateX(19px);
  background: var(--color-primary);
}
.cookie-modal .cookie-category.essential label {
  color: #a1936e;
  opacity: .88;
}
.cookie-modal .cookie-category.essential .cookie-toggle {
  pointer-events: none;
  filter: grayscale(0.6);
  background: #B4B4A2;
}
.cookie-modal .modal-btns {
  display: flex;
  gap: 15px;
  margin-top: 12px;
}
.cookie-modal .modal-btns button {
  font-family: 'Montserrat',sans-serif;
  padding: 7px 19px;
  font-size: 1.01rem;
  border-radius: 999px;
  border: none;
  background: var(--color-green);
  color: #fff;
  font-weight: 600;
  transition: background 0.17s, color 0.17s;
  cursor: pointer;
}
.cookie-modal .modal-btns button:hover {
  background: #337C47;
  color: #FFD166;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 9px; right: 22px;
  background: #B4B4A2;
  color: var(--color-primary);
  border: none;
  border-radius: 50%;
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  transition: background 0.18s;
}
.cookie-modal .cookie-modal-close:hover {
  background: var(--color-green);
  color: #fff;
}

@media (max-width: 700px) {
  .cookie-modal {padding: 22px 8px 19px 10px; min-width: 0;}
}
@media (max-width: 530px) {
  .cookie-banner {padding: 10px 3vw 10px 3vw; flex-direction: column; gap:8px;}
}

/* --- ACCESSIBILITY --- */
:focus-visible {
  outline: 3px solid var(--color-focus) !important;
  outline-offset: 1.5px;
}

/* --- CUSTOM SCROLLBAR --- */
::-webkit-scrollbar {
  width: 9px;
  background: #E7E2CD;
  border-radius: 9px;
}
::-webkit-scrollbar-thumb {
  background: #B3DBB4;
  border-radius: 9px;
}

/* --- MISC/TUNING --- */
hr {
  border: none;
  border-top: 1.5px dashed var(--color-green);
  margin: 22px 0;
}

/* --- PRINT TWEAK (hide nav, footer, cookie, etc.) --- */
@media print {
  header, .main-nav, .cta-btn, .mobile-menu, .cookie-banner, .cookie-modal_overlay, footer {
    display: none !important;
  }
}
