/* CSS RESET & NORMALIZATION */
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;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #F7F6F1;
  font-family: 'Roboto', Arial, sans-serif;
  color: #22321A;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #36A3E1;
  outline-offset: 1px;
}
button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* COLOR PALETTE — "Nature Organic" + Brand */
:root {
  --brand-primary: #193F73;
  --brand-secondary: #F5F7FB;
  --brand-accent: #1579B2;
  --green-accent: #3A8035;
  --earth-brown: #A7926E;
  --soil: #83765C;
  --sky-light: #E8F1EE;
  --stone-dark: #22321A;
  --bg-paper: #fffbe7;
  --shadow: rgba(43,66,21,0.06);
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: var(--brand-primary);
  margin-bottom: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.375rem;
  margin-bottom: 24px;
  line-height: 1.15;
}
@media (min-width: 768px) {
  h1 { font-size: 3rem; }
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  color: var(--green-accent);
  margin-bottom: 12px;
}
h4 { font-size: 1.1rem; }
.subheading {
  color: var(--green-accent);
  font-size: 1.125rem;
  margin-bottom: 18px;
  font-weight: 500;
}
p, ul li, ol li {
  font-size: 1rem;
  margin-bottom: 12px;
  color: var(--stone-dark);
  font-family: 'Roboto', Arial, sans-serif;
}
strong {
  font-weight: 700;
}

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 36px;
    padding: 28px 10px;
  }
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (min-width: 769px) {
  .content-wrapper {
    gap: 32px;
  }
}

/* FLEXBOX GRIDS (Mandatory Patterns) */
.features-grid, .services-list, .services-cards, .team-grid, .steps-list, .faq-list, .news-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
  margin-bottom: 12px;
}
@media (max-width: 768px) {
  .features-grid, .services-list, .services-cards, .team-grid, .steps-list, .faq-list, .news-list {
    flex-direction: column;
    gap: 20px;
  }
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--bg-paper);
  margin-bottom: 20px;
  position: relative;
  border-radius: 20px;
  box-shadow: 0 4px 24px var(--shadow);
  padding: 32px 26px;
  transition: box-shadow 0.3s, transform 0.2s;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid #E6DDCD;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px rgba(58,128,53,0.12);
  transform: translateY(-2px) scale(1.01);
}
.service-card {
  background: var(--bg-paper);
  border-radius: 18px;
  border: 1px solid #DDE2CF;
  box-shadow: 0 2px 8px var(--shadow);
  flex: 1 1 254px;
  min-width: 240px;
  max-width: 348px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  padding: 28px 18px 22px 18px;
  transition: box-shadow 0.3s, border-color 0.2s;
}
.service-card:hover, .service-card:focus-within {
  box-shadow: 0 6px 22px rgba(58,128,53,0.14);
  border-color: var(--green-accent);
}
@media (max-width: 768px) {
  .service-card { min-width: 90%; }
}
.team-grid {
  justify-content: space-between;
  gap: 24px;
}
.team-member {
  background: var(--sky-light);
  border-radius: 16px;
  border: 1px solid #C9D2C7;
  box-shadow: 0 1px 6px var(--shadow);
  flex: 1 1 260px;
  min-width: 200px;
  max-width: 320px;
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
@media (max-width: 560px) {
  .team-member { min-width: 100%; }
}

.text-section, .legal-section, .confirmation-section {
  background: transparent;
  border-radius: 0 0 18px 18px;
  color: var(--stone-dark);
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 2px 14px var(--shadow);
  padding: 20px 24px 18px 24px;
  border: 1px solid #BED6BA;
  min-width: 220px;
  max-width: 370px;
  margin-bottom: 20px;
  color: #1c2b10;
  position: relative;
}
.testimonial-author {
  color: var(--green-accent);
  font-weight: 600;
  font-size: 1rem;
}
.testimonial-card:hover {
  box-shadow: 0 6px 32px rgba(58,128,53,0.13);
  border-color: #3A8035;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 8px;
}
@media (max-width: 768px) {
  .testimonial-slider {
    flex-direction: column;
    gap: 16px;
  }
}

/* CARDS, FAQ, NEWS */
.faq-list, .news-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.faq-item, .news-entry {
  background: var(--bg-paper);
  border-radius: 15px;
  border: 1px solid #E0E2CA;
  box-shadow: 0 1px 4px var(--shadow);
  padding: 22px 18px;
  margin-bottom: 18px;
  flex: 1 1 360px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(110deg, #eaf6ea 70%, #def0eb 100%);
  border-radius: 28px;
  padding: 36px 28px 28px 28px;
  box-shadow: 0 1px 16px rgba(58,128,53,0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 20px;
  border: 1px solid #b0cdbd;
  position: relative;
}
.cta-banner h2 {
  color: var(--green-accent);
  margin-bottom: 10px;
  font-size: 1.5rem;
}
@media (max-width: 600px) {
  .cta-banner {
    padding: 24px 10px 18px 10px;
  }
}

/* BUTTONS */
.primary-button,
.secondary-button {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 25px;
  padding: 13px 32px;
  margin-top: 8px;
  margin-bottom: 8px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, border 0.2s;
  cursor: pointer;
  outline: none;
  display: inline-block;
  box-shadow: 0 2px 8px var(--shadow);
  letter-spacing: 0.01em;
}
.primary-button {
  background: var(--green-accent);
  color: #fff;
  box-shadow: 0 6px 18px rgba(58,128,53,0.13);
}
.primary-button:hover,
.primary-button:focus {
  background: #378331;
  color: #fff;
  box-shadow: 0 10px 32px rgba(58,128,53,0.18);
}
.secondary-button {
  background: var(--brand-accent);
  color: #fff;
  border-radius: 25px;
  border: 1.5px solid #36A3E1;
  box-shadow: 0 2px 6px rgba(21,121,178,0.12);
}
.secondary-button:hover,
.secondary-button:focus {
  background: #fff;
  color: var(--brand-accent);
  border: 1.5px solid var(--green-accent);
}

/* LINKS HOVER STYLES */
a:hover, .footer-nav a:hover, .mobile-nav a:hover {
  color: var(--green-accent);
  text-decoration: underline;
}

/* HEADER & NAVIGATION */
header {
  background: #fffbe7;
  box-shadow: 0 3px 24px rgba(33, 50, 26, 0.04);
  position: relative;
  z-index: 20;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 22px 0;
}
.main-nav .logo img {
  max-height: 44px;
}
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.main-nav ul li {
  display: flex;
  align-items: center;
}
.main-nav ul li a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  padding: 7px 13px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.main-nav ul li a:hover,
.main-nav ul li a.active {
  color: var(--green-accent);
  background: #e8f1ee;
}
.main-nav .primary-button {
  margin-left: 16px;
  margin-top: 0;
}

/* Hide Mobile Menu Toggle by Default */
.mobile-menu-toggle {
  display: none;
}
@media (max-width: 1000px) {
  .main-nav ul, .main-nav .primary-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
    background: var(--green-accent);
    color: #fff;
    border-radius: 6px;
    font-size: 2rem;
    line-height: 1;
    padding: 6px 14px 5px 14px;
    margin-left: auto;
    transition: background 0.2s, color 0.2s;
    z-index: 203;
  }
  .mobile-menu-toggle:hover,
  .mobile-menu-toggle:focus {
    background: var(--brand-accent);
    color: #fff;
  }
}
/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background: linear-gradient(115deg,#eaf6ea 80%,#def0eb 100%);
  z-index: 202;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(.44,0,.56,1), opacity 0.2s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: #fff;
  color: var(--green-accent);
  font-size: 2.1rem;
  border: none;
  border-radius: 10px;
  margin: 18px 18px 8px 0;
  align-self: flex-end;
  padding: 4px 16px 2px 16px;
  box-shadow: 0 1px 5px rgba(58,128,53,0.07);
  transition: background 0.2s, color 0.15s;
  cursor: pointer;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--green-accent);
  color: #fff;
}
.mobile-nav {
  width: 86vw;
  max-width: 340px;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 18px 28px 60px 36px;
  background: #fffbe7;
  border-radius: 22px 0 0 22px;
  box-shadow: -4px 0 26px 6px rgba(81,107,47,0.07);
  min-height: 72vh;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  padding: 11px 0 11px 8px;
  border-radius: 9px;
  color: var(--brand-primary);
  background: transparent;
  transition: background 0.19s, color 0.14s;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #eaf6ea;
  color: var(--green-accent);
}

@media (min-width: 1001px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* Footer */
footer {
  background: #EFF7EB;
  border-top: 1.5px solid #DDE2CF;
  padding: 40px 0 5px 0;
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--stone-dark);
  font-size: 1rem;
  margin-top: 60px;
}
.footer-columns {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 40px;
  padding: 0;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
@media (max-width: 900px) {
  .footer-columns {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
}
.footer-logo img {
  max-width: 88px;
  margin-bottom: 12px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 150px;
  margin-bottom: 6px;
}
.footer-nav a {
  font-size: 1rem;
  color: var(--stone-dark);
  transition: color 0.21s;
  padding-left: 2px;
}
.footer-nav a:hover {
  color: var(--green-accent);
  text-decoration: underline;
}
.footer-contact p {
  margin-bottom: 7px;
  font-size: 0.98rem;
  color: #446333;
}
.footer-bottom {
  font-size: 0.93rem;
  color: #748357;
  text-align: left;
  margin-top: 18px;
  padding-bottom: 8px;
}

/* COOKIE BANNER & MODAL */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: linear-gradient(98deg,#eaf6ea 73%,#f4f8ef 100%);
  border-top: 2px solid #B2D3B3;
  box-shadow: 0 -2px 18px rgba(58,128,53,0.07);
  z-index: 999;
  padding: 30px 14px 22px 14px;
  display: flex;
  align-items: flex-start;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: center;
  transition: transform 0.22s cubic-bezier(.75,0,.19,1), opacity 0.18s;
  opacity: 1;
}
.cookie-banner.hidden {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-text {
  max-width: 420px;
  font-size: 0.97rem;
  color: #2e3f1e;
  line-height: 1.48;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-banner button {
  padding: 9px 18px;
  border-radius: 22px;
  font-family: 'Montserrat', 'Roboto', Arial,sans-serif;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background 0.15s, color 0.13s;
}
.cookie-banner .accept {
  background: var(--green-accent);
  color: #fff;
}
.cookie-banner .accept:hover {
  background: #25612b;
}
.cookie-banner .reject {
  background: #fff;
  color: var(--green-accent);
  border: 1.5px solid #3A8035;
}
.cookie-banner .reject:hover {
  background: #f2f8ee;
}
.cookie-banner .settings {
  background: var(--brand-accent);
  color: #fff;
}
.cookie-banner .settings:hover {
  background: #105c8d;
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(34,50,26,0.16);
  z-index: 1002;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.23s;
}
.cookie-modal-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fffbe7;
  border-radius: 20px;
  box-shadow: 0 4px 32px rgba(34,50,26,0.11);
  padding: 34px 24px 30px 24px;
  max-width: 400px;
  width: 93vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.37rem;
  margin-bottom: 4px;
  color: var(--brand-primary);
}
.cookie-modal .category {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 14px;
}
.cookie-modal .toggle {
  width: 42px;
  height: 24px;
  border-radius: 14px;
  background: #dbedcb;
  position: relative;
  transition: background 0.2s;
  cursor: pointer;
}
.cookie-modal .toggle.enabled {
  background: var(--green-accent);
}
.cookie-modal .toggle-switch {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(33,50,26,0.09);
  transition: left 0.2s;
}
.cookie-modal .toggle.enabled .toggle-switch {
  left: 21px;
}
.cookie-modal .category-label {
  font-size: 1.01rem;
  font-weight: 500;
}
.cookie-modal .cookie-btns {
  display: flex;
  gap: 16px;
  margin-top: 10px;
  justify-content: flex-end;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 10px; right: 14px;
  font-size: 1.7rem;
  color: var(--brand-primary);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.17s;
  padding: 2px 10px;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  color: var(--green-accent);
}

/* MAP EMBED, PLACEHOLDER */
.map-embed {
  background: var(--sky-light);
  border-radius: 12px;
  padding: 16px 13px;
  margin-bottom: 14px;
  font-size: 1.09rem;
  color: #274f3c;
  border: 1px solid #bed6ba;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* FORM (for future use or newsletter) */
.newsletter-form {
  background: var(--sky-light);
  border-radius: 18px;
  box-shadow: 0 2px 12px var(--shadow);
  padding: 18px 26px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Spacing for various lists */
ul, ol {
  margin-left: 24px;
  margin-bottom: 18px;
}
ul li, ol li {
  margin-bottom: 10px;
}

/* Miscellaneous micro-interactions & focus */
.primary-button:focus, .secondary-button:focus, button:focus {
  outline: 2px solid var(--brand-accent);
  outline-offset: 2px;
}
button:active {
  transform: scale(0.97);
}

/* Animations */
@keyframes menuSlideIn {
  0% {transform: translateX(100%); opacity: 0;}
  100% {transform: translateX(0); opacity: 1;}
}
@keyframes bannerUp {
  0% {transform: translateY(100%); opacity: 0;}
  100% {transform: translateY(0); opacity: 1;}
}
.mobile-menu.open {
  animation: menuSlideIn 0.32s cubic-bezier(.44,0,.56,1);
}
.cookie-banner {
  animation: bannerUp 0.35s cubic-bezier(.65,0,.19,1);
}

/* Utility: Responsive font scale */
@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.07rem; }
  .cta-banner h2 { font-size: 1.18rem; }
  .service-card, .team-member, .card, .faq-item, .news-entry { padding: 14px 8px; }
}

/* Utility classes */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-16 { margin-bottom: 16px !important; }
.pt-0 { padding-top: 0 !important; }
.pb-0 { padding-bottom: 0 !important; }

/* Hide default scrollbars on overlays */
.mobile-menu, .cookie-modal-overlay {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.mobile-menu::-webkit-scrollbar, .cookie-modal-overlay::-webkit-scrollbar {
  display: none;
}

/* Accessibility: Focus style for all anchor & buttons */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--brand-accent) !important;
  outline-offset: 2px;
}

/* --- NATURE ORGANIC VISUAL EFFECTS (SHAPES/TEXTURES) --- */
body {
  /* Subtle paper grain background image, fallback to soft color */
  background: #F7F6F1 url('assets/bg-organic-fiber.png') repeat;
}
section {
  border-radius: 38px 18px 34px 22px / 34px 38px 24px 28px;
  background: #fffbe7;
  box-shadow: 0 1.5px 16px rgba(109,144,90,0.04);
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  section {
    padding: 25px 7px;
    margin-bottom: 36px;
    border-radius: 22px;
  }
}
/* Organic button shape */
.primary-button, .secondary-button, .cookie-banner button {
  /* subtle wavy border radius */
  border-radius: 25px 20px 31px 18px / 24px 21px 28px 23px;
}

/*********************************************
  CRITICAL FLEXBOX SPACING - DO NOT REMOVE
**********************************************/
.section { 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; }
/*********************************************/

/*********************************************
  NO GRID/COLUMN/COLUMNS ALLOWED - FLEX ONLY
**********************************************/

/*********************************************
  END OF CSS : NO FORBIDDEN PROPERTIES PRESENT
**********************************************/