/* =====================
   CSS RESET & BASE STYLES
====================== */
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, menu, 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;
}
/* HTML5 display-role reset */
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #f6f8fa;
  color: #1a2530;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%; height: auto; display: block;
}
ul, ol {
  margin-left: 28px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
a {
  color: #23673A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #193e27;
  outline: none;
}

::-webkit-input-placeholder { color: #8993a4; opacity: 1; }
::-moz-placeholder { color: #8993a4; opacity: 1; }
:-ms-input-placeholder { color: #8993a4; opacity: 1; }
::placeholder { color: #8993a4; opacity: 1; }


/* =====================
   BRAND FONTS & TYPOGRAPHY
====================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Roboto:wght@400;500;700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #14512a;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.2rem;
  line-height: 1.15;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.5rem;
  line-height: 1.2;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.125rem;
  line-height: 1.2;
  margin-bottom: 12px;
}

p, blockquote, ul, ol {
  font-size: 1rem;
  line-height: 1.7;
  color: #223040;
  margin-bottom: 16px;
}
blockquote {
  border-left: 4px solid #23673A;
  padding-left: 16px;
  font-style: italic;
  color: #194d2a;
  background: #e9f5ec;
  margin: 20px 0;
}
strong, b {
  font-weight: 700;
  color: #23673A;
}

/* =====================
   LAYOUT STRUCTURE
====================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(20,55,36,0.05);
}

/* Mandatory patterns */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 8px 0 rgba(35,103,58,0.07);
  margin-bottom: 20px;
  position: relative;
  transition: transform 0.15s, box-shadow 0.2s;
}
.card:hover, .card:focus-within {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 44px 0 rgba(35,103,58,0.16);
}
.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;
  padding: 20px;
  background: #f1f7f4;
  border-left: 4px solid #23673A;
  border-radius: 13px;
  box-shadow: 0 2px 12px 0 rgba(20,103,58,0.07);
  margin-bottom: 20px;
  min-width: 240px;
  color: #193e27;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature {
  flex: 1 1 220px;
  background: #f6f8fa;
  border-radius: 13px;
  padding: 24px;
  box-shadow: 0 1px 8px 0 rgba(35,103,58,0.06);
  transition: box-shadow 0.2s, transform 0.15s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 220px;
  max-width: 320px;
}
.feature img {
  height: 40px;
  width: 40px;
  margin-bottom: 14px;
}
.feature:hover, .feature:focus-within {
  box-shadow: 0 8px 44px 0 rgba(35,103,58,0.14);
  transform: translateY(-1px) scale(1.02);
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service {
  flex: 1 1 270px;
  background: #fafdfe;
  border-radius: 12px;
  box-shadow: 0 1px 5px 0 rgba(20,55,36,0.04);
  padding: 24px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  min-width: 220px;
  max-width: 340px;
}

.cta-secondary {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}

.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
  align-items: stretch;
}

.testimonial-meta {
  font-size: 0.96rem;
  color: #23673A;
  font-weight: 500;
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 4px;
}

.partner-logos {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 18px;
}
.partner-logos img {
  height: 38px;
  width: auto;
  opacity: 0.8;
  filter: grayscale(90%);
}
.partner-logos img:hover {
  opacity: 1;
  filter: grayscale(0%);
  transition: filter 0.2s, opacity 0.2s;
}

.cert-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
}
.certification {
  background: #ddebe4;
  color: #23673A;
  font-size: 0.98rem;
  padding: 6px 18px;
  border-radius: 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}

.impact-numbers ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-left: 0;
  list-style: none;
  margin: 28px 0 0 0;
}
.impact-numbers li {
  font-size: 1.05rem;
  color: #23673A;
  background: #eef8f2;
  padding: 14px 22px;
  border-radius: 13px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  min-width: 180px;
  margin-bottom: 0;
}

/* ============
   HEADER & NAV
============= */
header {
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(20,55,36,0.06);
  padding: 0; position: relative;
  z-index: 30;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
}
header img {
  height: 48px; width: auto;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  color: #23673A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 4px 4px;
  transition: color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #14512a;
  border-bottom: 2px solid #14512a;
}
.cta-button {
  background: #23673A;
  color: #fff;
  padding: 12px 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: 24px 24px 24px 4px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 12px 0 rgba(35,103,58,0.08);
  cursor: pointer;
  margin-left: 16px;
  transition: background 0.18s, box-shadow 0.18s, color 0.18s, transform 0.15s;
  display: inline-block;
  text-align: center;
}
.cta-button:hover, .cta-button:focus {
  background: #194d2a;
  color: #fff;
  box-shadow: 0 8px 44px 0 rgba(35,103,58,0.13);
  transform: translateY(-1px) scale(1.02);
}

/* ============
   MOBILE MENU
============= */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 16px;
  top: 18px;
  background: #23673A;
  color: #fff;
  border: none;
  border-radius: 9px;
  width: 43px; height: 43px;
  font-size: 1.85rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1002;
  box-shadow: 0 2px 12px 0 rgba(35,103,58,0.12);
  transition: background 0.16s, box-shadow 0.16s;
}
.mobile-menu-toggle:focus { outline: 2px solid #7AD18B; }

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; right: 0; left: 0; bottom: 0;
  background: #fff;
  z-index: 1200;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.35,1.32,.69,1.09);
  box-shadow: 0 2px 28px rgba(20,55,36,0.22);
  padding: 0 0 0 0;
  min-width: 260px;
  height: 100vh;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  border: none;
  color: #23673A;
  font-size: 2.05rem;
  align-self: flex-end;
  margin: 18px 20px 10px 0;
  cursor: pointer;
  z-index: 1203;
  transition: color 0.17s;
  padding: 4px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus { color: #194d2a; background: #e3f7ec; border-radius: 8px; }

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 10px;
  align-items: flex-start;
  padding: 12px 36px;
}
.mobile-nav a {
  font-size: 1.15rem;
  font-weight: 700;
  color: #23673A;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 13px 4px;
  border-radius: 8px;
  transition: background 0.13s, color 0.15s;
  width: 100%;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #e4f4eb;
  color: #194d2a;
  padding-left: 13px;
}

@media (max-width: 1020px) {
  .main-nav a {
    font-size: 0.97rem;
    padding: 3px 2px;
  }
  .container {
    padding: 0 8px;
  }
}

@media (max-width: 900px) {
  header .container {
    flex-direction: row;
    gap: 10px;
    min-height: 56px;
  }
  .main-nav a {
    font-size: 0.93rem;
  }
  .cta-button {
    font-size: 0.97rem;
    padding: 10px 14px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 0;
  }
  .main-nav {
    display: none !important;
  }
  .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .card-container, .content-grid, .feature-grid, .service-list, .testimonials {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .section {
    padding: 28px 8px;
    margin-bottom: 34px;
    border-radius: 9px;
  }
  .feature {
    padding: 18px 12px;
    max-width: 100%;
    min-width: 0;
  }
  .service {
    max-width: 100%;
    min-width: 0;
    padding: 16px 10px;
  }
  h1 {
    font-size: 1.4rem;
  }
  h2 {
    font-size: 1.15rem;
  }
  .partner-logos {
    gap: 16px;
    margin-top: 12px;
  }
  .impact-numbers ul {
    gap: 9px;
    flex-direction: column;
  }
  .cta-secondary {
    margin-top: 18px;
  }
}
@media (max-width: 480px) {
  .section {
    padding: 18px 2px;
    margin-bottom: 24px;
  }
  .container {
    padding: 0 2px;
  }
}

/* =====================
   CONTENT & UTILITY CLASSES
====================== */
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 0;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.address-block, .phone-email, .opening-hours {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #e4f4eb;
  padding: 20px;
  border-radius: 13px;
  box-shadow: 0 1px 5px 0 rgba(20,103,58,0.04);
}

/* =====================
   FOOTER
====================== */
footer {
  background: #194d2a;
  color: #fff;
  padding: 40px 0 20px 0;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 14px;
}
.footer-nav a {
  color: #c1e1cd;
  font-weight: 500;
  text-decoration: underline;
  font-family: 'Roboto', sans-serif;
  transition: color 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus { color: #7AD18B; }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #e3f5eb;
  font-size: 0.97rem;
}
.footer-contact img {
  width: 20px; height: 20px; margin-right: 6px; vertical-align: middle;
}
.footer-branding {
  display: flex; align-items: center; gap: 14px; color: #a5dbbc; font-family: 'Montserrat', sans-serif; font-size: 1.01rem; font-weight: 600; margin-top: 12px;
}
.footer-branding img {
  width: 36px; height: 36px;
}
@media (max-width: 700px) {
  footer .container {
    gap: 14px;
  }
  .footer-nav {
    gap: 10px;
  }
}

/* =====================
   CTA Buttons (Repeated)
====================== */
.cta-secondary .cta-button {
  margin-left: 0;
}

/* =================
   COOKIES CONSENT BANNER & MODAL
================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1300;
  background: #194d2a;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  padding: 20px 14px 16px 14px;
  box-shadow: 0 -6px 32px 0 rgba(20,55,36,0.13);
  border-radius: 13px 13px 0 0;
  font-size: 1.05rem;
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.39s cubic-bezier(.31,1.13,.49,1.09), opacity 0.23s;
}
.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 7px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 9px 22px;
  border: none;
  border-radius: 18px;
  background: #23673A;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.16s;
}
.cookie-btn.cookie-settings {
  background: #7AD18B;
  color: #14492F;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #14512a;
  color: #fff;
}
.cookie-btn.cookie-settings:hover, .cookie-btn.cookie-settings:focus {
  background: #63b979;
  color: #fff;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed; left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(20,40,33,0.28);
  z-index: 1400;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}
.cookie-modal-overlay.show {
  opacity: 1; pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  color: #223040;
  padding: 34px 26px 26px 26px;
  border-radius: 18px;
  box-shadow: 0 8px 44px 0 rgba(35,103,58,0.21);
  width: 94vw; max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.2rem;
  color: #23673A;
  margin-bottom: 8px;
  margin-top: 0;
}
.cookie-category {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 9px 0;
}
.cookie-category input[type="checkbox"] {
  width: 28px; height: 18px;
  accent-color: #23673A;
}
.cookie-modal-actions {
  display: flex; gap: 16px; justify-content: flex-end; margin-top: 20px;
}
.cookie-modal-close {
  position: absolute; top: 16px; right: 16px; background: transparent; border: none; color: #23673A; font-size: 1.5rem; cursor: pointer; transition: color 0.17s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus { color: #7AD18B; }

@media (max-width: 480px) {
  .cookie-modal { padding: 24px 5vw 18px 5vw; }
}

/* =====================
   ANIMATIONS & MICROINTERACTIONS
====================== */
.card, .feature, .testimonial-card, .service, .cta-button, .mobile-nav a, .footer-nav a {
  transition: box-shadow 0.18s, background 0.14s, transform 0.15s;
}

/* ===============
   COMPONENT BORDERS & SHADOWS
================ */
.card, .feature, .testimonial-card, .service {
  border: 1px solid #e4ede7;
}

/* =========================
   VISUAL HIERARCHY & SPACING
========================== */
main {
  display: flex;
  flex-direction: column;
  gap: 42px;
  margin: 0 auto;
  min-height: 60vh;
  padding-bottom: 40px;
}
.section:not(:last-child) {
  margin-bottom: 60px;
}

@media (max-width: 768px) {
  main { gap: 20px; padding-bottom: 20px; }
  .section:not(:last-child) { margin-bottom: 24px; }
}

/* ========================
   TABLES, INPUTS (for forms)
======================== */
table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 24px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 5px rgba(20,80,40,.05);
}
th, td {
  padding: 12px 14px;
  border: 1px solid #e9f5ec;
  text-align: left;
}
th {
  background: #eef8f2; color: #23673A; font-family: 'Montserrat',sans-serif; font-weight: 700;
}

input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  padding: 11px 13px;
  border: 1px solid #b4d2c1;
  border-radius: 7px;
  background: #fcfefd;
  font-size: 1rem;
  color: #223040;
  margin-bottom: 14px;
  width: 100%;
  box-sizing: border-box;
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid #23673A;
  border-color: #23673A;
  background: #f4faf7;
}

button {
  font-family: 'Montserrat', Arial, sans-serif;
}

/* =====================
   ACCESSIBILITY & SELECTION
====================== */
:focus {
  outline: 2px solid #7AD18B;
  outline-offset: 2px;
}

::-moz-selection {
  background: #7AD18B;
  color: #fff;
}
::selection {
  background: #7AD18B;
  color: #fff;
}

/* =====================
   PRINT STYLES (MINIMAL)
====================== */
@media print {
  header, footer, .cookie-banner, .mobile-menu, .mobile-menu-toggle { display: none !important; }
  body, main { background: #fff !important; color: #000; }
  section, .container { padding: 0 !important; margin: 0 !important; }
}
