/* == 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;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #F5F7EA;
  color: #23332a;
  font-family: 'Georgia', 'Roboto', serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: #206040;
  text-decoration: none;
  transition: color .2s;
}
a:hover,
a:focus {
  color: #2e7d5c;
  text-decoration: underline;
  outline: none;
}

ul, ol {
  margin-left: 24px;
}

img {
  max-width: 100%;
  display: block;
}

strong {
  font-weight: 600;
}

/* == TYPOGRAPHY == */
h1 {
  font-family: 'Georgia', 'Montserrat', serif;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.15;
  color: #206040;
  margin-bottom: 16px;
}
h2 {
  font-family: 'Georgia', 'Montserrat', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #206040;
  margin-bottom: 16px;
  line-height: 1.2;
}
h3 {
  font-family: 'Georgia', 'Montserrat', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: #375249;
  margin-bottom: 12px;
  line-height: 1.25;
}
h4, h5, h6 {
  font-family: 'Georgia', 'Montserrat', serif;
  color: #375249;
  font-weight: 600;
  margin-bottom: 8px;
}
p {
  font-family: 'Roboto', 'Georgia', serif;
  font-size: 1rem;
  margin-bottom: 16px;
}

/* == CONTAINERS & LAYOUT == */
.container {
  width: 100%;
  max-width: 1020px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(32, 96, 64, 0.09);
  padding: 32px 24px;
  margin-bottom: 20px;
  position: relative;
  min-width: 260px;
  flex: 1 1 300px;
  transition: box-shadow 0.18s;
}
.card:hover {
  box-shadow: 0 4px 20px rgba(32, 96, 64, 0.15);
}

.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;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(32, 96, 64, 0.08);
  padding: 20px;
  margin-bottom: 20px;
  color: #23332a;
  min-height: 60px;
  flex: 1 1 320px;
  transition: box-shadow .18s, background 0.18s;
}
.testimonial-card p {
  font-size: 1.07rem;
  font-style: italic;
  color: #23332a;
}
.testimonial-card strong {
  font-weight: 600;
  font-size: 1rem;
  color: #206040;
}
.testimonial-card:hover {
  box-shadow: 0 7px 32px rgba(32,96,64,.14);
  background: #F5F7EA;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/**** Mandatory spacing for other project-specific containers ****/
.features, .services, .about, .contact, .legal, .success {
  margin-bottom: 60px;
  padding: 40px 0px;
}

/* == HEADER & NAVIGATION == */
header {
  background: #fff;
  border-bottom: 1px solid #e8ede4;
  padding: 22px 0 12px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  position: relative;
  z-index: 30;
}
header a img {
  height: 46px;
  width: auto;
}
header nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
header nav a {
  font-family: 'Georgia', 'Roboto', serif;
  font-size: 1.08rem;
  color: #206040;
  padding: 7px 12px;
  border-radius: 7px;
  transition: background .15s, color .15s;
}
header nav a:hover,
header nav a:focus {
  background: #F5F7EA;
  color: #375249;
}

.btn-primary {
  background: #206040;
  color: #fff !important;
  border: none;
  border-radius: 6px;
  padding: 12px 28px;
  font-family: 'Montserrat', 'Georgia', serif;
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: .03em;
  cursor: pointer;
  display: inline-block;
  margin-left: 24px;
  box-shadow: 0 1px 5px rgba(32,96,64,.08);
  transition: background 0.18s, box-shadow 0.18s, color 0.18s;
}
.btn-primary:hover,
.btn-primary:focus {
  background: #2e7d5c;
  color: #fff;
  box-shadow: 0 2px 14px rgba(32,96,64,.24);
  outline: none;
}

.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 22px;
  right: 18px;
  z-index: 42;
  background: #206040;
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: 12px 17px;
  font-size: 1.45rem;
  cursor: pointer;
  transition: background 0.18s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #375249;
  outline: none;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(32,96,64,0.92);
  z-index: 99;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.47,1.64,.41,.8);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 22px 24px 14px 0;
  background: transparent;
  color: #fff;
  font-size: 2.25rem;
  border: none;
  cursor: pointer;
  transition: color .2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #F5F7EA;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100vw;
  align-items: flex-start;
  padding-left: 35px;
  padding-top: 36px;
}
.mobile-nav a {
  font-size: 1.3rem;
  color: #fff;
  padding: 10px 14px;
  border-radius: 6px;
  font-family: 'Montserrat', 'Georgia', serif;
  font-weight: 500;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #87A89C;
  color: #206040;
}

@media (max-width: 1000px) {
  .container {
    max-width: 98vw;
  }
  header nav {
    gap: 18px;
  }
  .btn-primary {
    margin-left: 18px;
    padding: 10px 19px;
  }
}

@media (max-width: 900px) {
  header nav {
    display: none;
  }
  .btn-primary {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: block;
    position: fixed;
    top: 24px;
    right: 25px;
  }
}

/* == HERO SECTION == */
.hero {
  display: flex;
  align-items: center;
  background: #f4f6f0;
  min-height: 270px;
  margin-bottom: 60px;
  border-bottom: 1px solid #e8ede4;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 180px;
  padding-top: 38px;
  padding-bottom: 38px;
}
.hero h1 {
  font-size: 2.6rem;
  margin-bottom: 12px;
  color: #206040;
}
.hero p {
  font-size: 1.20rem;
  color: #23332a;
}
.hero .btn-primary {
  margin-top: 28px;
}

/* == FEATURE GRID == */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  justify-content: flex-start;
  list-style: none;
  margin: 36px 0 0 0;
  padding: 0;
}
.feature-grid li {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(32,96,64,.08);
  padding: 28px 22px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 220px;
  transition: box-shadow .17s, background .16s;
  margin-bottom: 20px;
}
.feature-grid li:hover {
  background: #F5F7EA;
  box-shadow: 0 6px 24px rgba(32,96,64,.16);
}
.feature-grid img {
  height: 45px;
  margin-bottom: 13px;
}
.feature-grid h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  font-family: 'Montserrat', 'Georgia', serif;
  color: #206040;
}
.feature-grid p {
  font-size: 1rem;
  color: #375249;
}

/* == PROJECT TEASER CARDS == */
.project-teaser-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 30px;
}
.project-teaser-list > div {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(32,96,64,.09);
  padding: 32px 18px 26px 28px;
  flex: 1 1 280px;
  min-width: 220px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  border-left: 4px solid #206040;
  transition: box-shadow .18s, border-color .15s;
}
.project-teaser-list > div:hover {
  box-shadow: 0 5px 22px rgba(32, 96, 64, .17);
  border-left: 4px solid #87A89C;
}
.category-tag {
  background: #87A89C;
  color: #fff;
  font-size: .95rem;
  border-radius: 7px;
  padding: 4px 14px;
  display: inline-block;
  margin-right: 9px;
}
.impact-highlight {
  background: #F5F7EA;
  color: #23332a;
  border-left: 4px solid #206040;
  font-size: .98rem;
  border-radius: 4px;
  padding: 3px 11px;
  display: inline-block;
  margin-top: 5px;
}

/* == LISTS == */
.services ul, .features ul, .about ul {
  list-style: none;
  padding: 0;
  margin: 30px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.services ul li, .about ul li, .features ul li {
  background: #fff;
  padding: 20px 24px;
  border-radius: 10px;
  box-shadow: 0 1px 7px rgba(32, 96, 64, .08);
  margin-bottom: 10px;
  font-size: 1.08rem;
  color: #23332a;
  transition: box-shadow .14s, background .13s;
}
.services ul li:hover, .about ul li:hover, .features ul li:hover {
  background: #F5F7EA;
  box-shadow: 0 4px 14px rgba(32,96,64,.16);
}
.services ul li img {
  height: 34px;
  margin-bottom: 9px;
}
.services ul li strong {
  font-family: 'Montserrat', 'Georgia', serif;
  color: #206040;
  font-size: 1.07rem;
  font-weight: 600;
}

.text-section {
  margin-bottom: 34px;
}
.text-section a {
  color: #375249;
  transition: color .16s;
}
.text-section a:hover, .text-section a:focus {
  color: #206040;
}

/* == SUCCESS SECTION == */
.success {
  min-height: 420px;
  background: #f4f6f0;
  border-radius: 18px;
  padding: 70px 0;
  text-align: center;
}
.success h1 {
  color: #206040;
}
.success p {
  max-width: 520px;
  margin: 0 auto 24px auto;
}

/* == FOOTER == */
footer {
  background: #fff;
  border-top: 1px solid #e8ede4;
  padding: 35px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  font-size: 1.03rem;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #206040;
  font-family: 'Georgia', 'Roboto', serif;
  font-size: 1.03rem;
  padding: 6px 9px;
  border-radius: 6px;
  transition: background .13s, color .13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #F5F7EA;
  color: #375249;
}
footer address {
  font-style: normal;
  color: #23332a;
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: center;
  font-size: 0.99rem;
  margin-bottom: 18px;
}
footer address a {
  color: #206040;
  transition: color .13s;
}
footer address a:hover, footer address a:focus {
  color: #2e7d5c;
}
footer address img {
  vertical-align: middle;
  margin-right: 6px;
  height: 19px;
  width: auto;
}

/* == LEGAL SECTION == */
.legal .container {
  max-width: 770px;
}
.legal .content-wrapper {
  background: #fff;
  padding: 44px 32px 39px 32px;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(32, 96, 64, 0.10);
}
.legal h1, .legal h2 {
  color: #206040;
}
.legal h3 {
  color: #375249;
  margin-top: 18px;
}
.legal ul {
  margin-bottom: 24px;
}
.legal ul li {
  margin-bottom: 7px;
}

/***** COOKIE CONSENT BANNER AND MODAL *****/
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  color: #23332a;
  box-shadow: 0 -2px 14px rgba(32,96,64,.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 22px 16px 18px 16px;
  gap: 22px;
  font-size: 1.08rem;
  transition: transform 0.4s cubic-bezier(.7,.2,.3,1);
}
.cookie-banner.hide {
  transform: translateY(130%);
}
.cookie-banner__text {
  flex: 1 1 320px;
  min-width: 140px;
  margin-bottom: 0;
}
.cookie-banner__actions {
  display: flex;
  gap: 16px;
  align-items: center;
}
.cookie-btn {
  font-family: 'Montserrat', 'Georgia', serif;
  font-size: 1.01rem;
  border-radius: 6px;
  padding: 9px 18px;
  border: none;
  cursor: pointer;
  margin-left: 0;
  box-shadow: 0 1px 4px rgba(32, 96, 64, 0.1);
  transition: background 0.15s, color 0.15s;
}
.cookie-btn.accept {
  background: #206040;
  color: #fff;
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus {
  background: #2e7d5c;
  color: #fff;
}
.cookie-btn.reject {
  background: #fff;
  border: 1.5px solid #206040;
  color: #206040;
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: #F5F7EA;
}
.cookie-btn.settings {
  background: #87A89C;
  color: #fff;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: #375249;
  color: #fff;
}

.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(32,96,64, 0.75);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  transition: opacity .27s;
}
.cookie-modal.open {
  display: flex;
}
.cookie-modal__dialog {
  background: #fff;
  color: #23332a;
  padding: 38px 27px 27px 27px;
  border-radius: 18px;
  box-shadow: 0 2px 22px rgba(32,96,64,0.17);
  max-width: 390px;
  min-width: 280px;
  width: 90vw;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.cookie-modal__dialog h3 {
  font-size: 1.3rem;
  font-family: 'Georgia', 'Montserrat', serif;
  margin-bottom: 4px;
}
.cookie-modal__categories {
  display: flex;
  flex-direction: column;
  gap: 19px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.03rem;
  color: #375249;
}
.cookie-category .toggle-switch {
  display: inline-block;
}
.toggle-switch input[type='checkbox'] {
  display: none;
}
.toggle-switch label {
  cursor: pointer;
  padding-left: 23px;
  position: relative;
  font-size: 1.06rem;
}
.toggle-switch label:before {
  content: '';
  position: absolute;
  left: 0; top: 3px;
  width: 30px; height: 16px;
  background: #e6eadd;
  border-radius: 11px;
  transition: background .17s;
}
.toggle-switch input[type='checkbox']:checked + label:before {
  background: #206040;
}
.toggle-switch label:after {
  content: '';
  position: absolute;
  left: 1px; top: 5px;
  width: 12px; height: 12px;
  background: #fff;
  border-radius: 50%;
  transition: left .17s;
  box-shadow: 0 1px 5px rgba(32,96,64,.07);
}
.toggle-switch input[type='checkbox']:checked + label:after {
  left: 17px;
  background: #87A89C;
}
.cookie-modal__footer {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
}
.cookie-modal__close {
  position: absolute;
  top:16px;
  right:20px;
  background: none;
  border: none;
  color: #206040;
  font-size: 1.7rem;
  cursor: pointer;
}
.cookie-modal__close:hover,
.cookie-modal__close:focus {
  color: #375249;
  outline: none;
}

/***** SPECIAL & UTILITY CLASSES *****/
.category-tag {
  font-weight: 500;
  letter-spacing: 0.02em;
}
.impact-highlight {
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* == RESPONSIVE DESIGN == */
@media (max-width: 900px) {
  .feature-grid, .card-container, .content-grid, .project-teaser-list {
    flex-direction: column;
    gap: 24px;
  }
  .hero .container {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 28px;
    padding-bottom: 28px;
  }
  .hero h1 {
    font-size: 2.0rem;
  }
  .section, .features, .services, .about, .contact, .legal, .success {
    padding: 30px 7px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 12px;
    padding: 16px 6px;
  }
  .project-teaser-list > div,
  .feature-grid li,
  .card {
    min-width: 0;
    padding: 20px 10px;
  }
}
@media (max-width: 700px) {
  h1 {
    font-size: 1.55rem;
  }
  h2 {
    font-size: 1.2rem;
  }
  .container {
    padding-left: 9px;
    padding-right: 9px;
  }
  .footer-nav {
    gap: 13px;
    font-size: 0.99rem;
    flex-direction: column;
    align-items: center;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    font-size: 1rem;
  }
  .cookie-banner__actions {
    gap: 7px;
    flex-wrap: wrap;
  }
  .cookie-modal__dialog {
    max-width: 95vw;
    padding: 20px 7px 15px 7px;
    border-radius: 12px;
  }
  .hero .container {
    padding-left: 8px;
    padding-right: 8px;
  }
}

@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/***** MICRO-INTERACTIONS *****/
.btn-primary, .cookie-btn {
  transition: background 0.20s, color 0.20s, box-shadow 0.16s;
}
.testimonial-card, .card, .feature-grid li, .project-teaser-list > div, .services ul li, .about ul li, .features ul li {
  transition: box-shadow .13s, background .15s;
}

/***** PRINT SUPPORT *****/
@media print {
  header, footer, .mobile-menu-toggle, .cookie-banner, .cookie-modal { display: none !important; }
  body { background: #fff; }
}

