/* --- CSS RESET AND NORMALIZE --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  background: #fff;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #20603D;
  background: #fff;
  min-height: 100vh;
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: 0.01em;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #20603D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #8FC37D;
  outline: none;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1.5em;
}
li {
  margin-bottom: 0.5em;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.container {
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* --- TYPOGRAPHY SCALE (minimalist, modern, suitable for Montserrat / Open Sans) --- */
h1, .hero h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #20603D;
  letter-spacing: 0.01em;
  line-height: 1.18;
  margin-bottom: 16px;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: #20603D;
  margin-bottom: 12px;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.375rem;
  font-weight: 600;
  color: #20603D;
  margin-bottom: 8px;
}
h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: #20603D;
  margin-bottom: 8px;
}
p, li, span {
  font-size: 1rem;
  color: #20603D;
  line-height: 1.7;
}
strong {
  font-weight: 600;
  color: #20603D;
}

/* --- BUTTONS --- */
.cta-primary {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  background: #20603D;
  color: #fff !important;
  padding: 12px 32px;
  border-radius: 32px;
  border: none;
  box-shadow: 0 2px 8px 0 rgba(32,96,61,0.08);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  margin-top: 12px;
  outline: none;
}
.cta-primary:hover,
.cta-primary:focus {
  background: #8FC37D;
  color: #20603D !important;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 16px 0 rgba(32,96,61,0.11);
}

button,
input[type="button"],
input[type="submit"] {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
  color: inherit;
}

/* --- HEADER & NAVIGATION --- */
header {
  background: #fff;
  border-bottom: 1px solid #f4f4f4;
  padding: 0;
  z-index: 99;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  padding-bottom: 22px;
  gap: 16px;
}
header img {
  height: 38px;
  width: auto;
}
nav.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #20603D;
  padding: 8px 0;
  position: relative;
  transition: color 0.2s;
}
.main-nav a:after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #8FC37D;
  transition: width 0.18s;
  margin-top: 2px;
}
.main-nav a:hover:after, .main-nav a:focus:after {
  width: 100%;
}
.main-nav a:hover, .main-nav a:focus {
  color: #8FC37D;
}

.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: #fff;
  color: #20603D;
  border-radius: 8px;
  padding: 6px 12px;
  border: 1px solid #eaeaea;
  box-shadow: 0 2px 8px rgba(32,96,61,0.05);
  transition: background 0.2s, color 0.2s;
  z-index: 201;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #E4E1D0;
  color: #20603D;
}

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 8px 32px rgba(32,96,61,0.11);
  z-index: 200;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(.67,1.5,.7,.9);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  font-size: 2rem;
  background: none;
  color: #20603D;
  padding: 20px 20px 4px 20px;
  align-self: flex-end;
  border-radius: 12px;
  margin-right: 20px;
  margin-top: 12px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #E4E1D0;
  color: #20603D;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  padding: 8px 32px 32px 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  color: #20603D;
  padding: 18px 0 2px 0;
  border-bottom: 1px solid #F6F6F3;
  transition: color 0.2s, background 0.2s;
  display: block;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E4E1D0;
  color: #8FC37D;
  border-radius: 4px;
}

/* Hide main nav and CTA on mobile, show burger */
@media (max-width: 996px) {
  nav.main-nav {
    display: none;
  }
  .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: unset;
  }
}

/* --- HERO SECTIONS --- */
.hero {
  background: #E4E1D0;
  border-radius: 0 0 36px 36px;
  box-shadow: 0 2px 24px rgba(32,96,61,0.05);
  padding-top: 48px;
  padding-bottom: 48px;
  margin-bottom: 60px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 12px;
  min-height: 220px;
}
.hero h1 {
  color: #20603D;
}
.hero p {
  font-size: 1.25rem;
  color: #20603D;
  opacity: 0.88;
}
.hero .cta-primary {
  margin-top: 16px;
  display: inline-block;
}

/* --- FLEXBOX LAYOUTS: FEATURES, CARDS, GRIDS --- */
.features, .feature-grid, .card-container, .card-grid, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature {
  flex: 1 1 230px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(32,96,61,.07);
  padding: 28px 20px;
  min-width: 230px;
  max-width: 310px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.18s, transform 0.18s;
}
.feature:hover, .feature:focus-within {
  box-shadow: 0 6px 36px rgba(32,96,61,.16);
  transform: translateY(-4px) scale(1.01);
}
.feature img {
  width: 38px;
  height: 38px;
  margin-bottom: 4px;
}
.feature h3 {
  margin-bottom: 4px;
  font-size: 1.25rem;
}
.feature p {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 0.5em;
}
.feature span {
  font-size: 1rem;
  color: #20603D;
  background: #E4E1D0;
  border-radius: 16px;
  padding: 4px 14px;
  font-weight: 500;
}

.service-list {
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.service-item {
  flex: 1 1 230px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(32,96,61,.08);
  padding: 28px 20px;
  min-width: 230px;
  max-width: 310px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.service-item:hover, .service-item:focus-within {
  box-shadow: 0 6px 36px rgba(32,96,61,.13);
  transform: translateY(-4px) scale(1.01);
}
.service-item img {
  width: 38px;
  height: 38px;
}
.service-price {
  font-size: 1rem;
  color: #20603D;
  background: #E4E1D0;
  border-radius: 16px;
  padding: 4px 14px;
  font-weight: 500;
}

.card-container, .card-grid {
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(32,96,61,.07);
  padding: 28px 20px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.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: 24px 32px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 32px rgba(32,96,61,0.10);
  margin-bottom: 20px;
  position: relative;
  min-width: 220px;
  max-width: 540px;
  transition: box-shadow 0.18s, transform 0.18s;
  border: 1px solid #f0f0eb;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 8px 36px rgba(32,96,61,0.19);
  transform: translateY(-2px) scale(1.01);
}
.testimonial-card p {
  font-size: 1.125rem;
  color: #20603D;
  line-height: 1.6;
  margin-bottom: 8px;
}
.testimonial-card span {
  font-size: 1rem;
  color: #20603D;
  opacity: 0.84;
  font-style: italic;
}

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

/* --- GENERIC SECTION STYLES --- */
.cta-section {
  background: #fff;
  text-align: center;
  padding-top: 36px;
  padding-bottom: 44px;
  border-radius: 24px;
}
.cta-section h3, .cta-section h2, .cta-section h1 {
  color: #20603D;
  margin-bottom: 16px;
}

.about-short ul, .about-values ul {
  margin: 0 0 1.5em 1em;
  padding: 0;
}
.about-short li, .about-values li {
  margin-bottom: 12px;
  line-height: 1.6;
}
.team-section ul {
  margin: 0 0 1.5em 1em;
  padding: 0;
}

.project-highlights .project-summary {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 0.5px 8px rgba(32,96,61,0.055);
  padding: 26px 18px;
  margin-bottom: 24px;
  transition: box-shadow 0.16s;
}
.project-highlights .project-summary:hover {
  box-shadow: 0 6px 18px #8FC37D18;
}
.project-highlights .project-summary h3 {
  margin-bottom: 8px;
}

.articles-overview .article-list {
  margin-bottom: 18px;
}

.faq-section .faq-list {
  margin: 0 0 1.5em 0;
}
.faq-section dt {
  font-weight: 700;
  font-size: 1.1rem;
  color: #20603D;
  margin-bottom: 7px;
}
.faq-section dd {
  margin-bottom: 18px;
  padding-left: 18px;
  color: #20603D;
  opacity: 0.88;
}

.legal {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 16px rgba(32,96,61,0.06);
}
.legal h1, .legal h2 {
  color: #20603D;
  margin-top: 18px;
  margin-bottom: 10px;
}
.legal ul {
  margin-bottom: 18px;
  margin-left: 18px;
}
.legal ul li {
  margin-bottom: 9px;
}

.thank-you h1 {
  margin-bottom: 16px;
}

/* --- FOOTER --- */
footer {
  background: #f9f9f6;
  padding-top: 38px;
  padding-bottom: 24px;
  border-top: 1px solid #f1f1ed;
}
footer .container {
  display: flex;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}
.footer-logo-social {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.footer-logo-social img {
  height: 38px;
  width: auto;
}
.social-links {
  display: flex;
  gap: 12px;
}
.social-links a {
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  box-shadow: 0 1px 6px rgba(32,96,61,0.08);
  transition: background 0.15s, box-shadow 0.15s;
}
.social-links a:hover {
  background: #E4E1D0;
  box-shadow: 0 2px 12px rgba(32,96,61,0.17);
}
.footer-contact p, .footer-contact a {
  color: #20603D;
  font-size: 1rem;
  line-height: 1.6;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 1rem;
  color: #20603D;
  opacity: 0.84;
  transition: color 0.2s, opacity 0.2s;
}
.footer-links a:hover {
  color: #8FC37D;
  opacity: 1;
}

/* --- SPACING & CONSISTENCY (Mandatory Patterns) --- */
.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;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  color: #20603D;
  border-top: 2px solid #E4E1D0;
  box-shadow: 0 -4px 24px rgba(32,96,61,0.08);
  z-index: 3000;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 24px;
  font-size: 1rem;
  transition: transform 0.25s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  background: #E4E1D0;
  color: #20603D;
  border: none;
  border-radius: 24px;
  padding: 7px 18px;
  margin-left: 4px;
  box-shadow: 0 1px 4px rgba(32,96,61,0.06);
  transition: background 0.13s, color 0.13s, box-shadow 0.18s;
}
.cookie-banner button.accept {
  background: #20603D;
  color: #fff;
}
.cookie-banner button.accept:hover, .cookie-banner button.accept:focus {
  background: #8FC37D;
  color: #20603D;
}
.cookie-banner button.reject {
  background: #fff;
  color: #20603D;
  border: 1px solid #8FC37D;
}
.cookie-banner button.reject:hover, .cookie-banner button.reject:focus {
  background: #E4E1D0;
  color: #20603D;
}
.cookie-banner button.settings {
  background: #E4E1D0;
  color: #20603D;
}
.cookie-banner button.settings:hover, .cookie-banner button.settings:focus {
  background: #8FC37D;
  color: #20603D;
}

/* --- COOKIE CONSENT MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 4000;
  background: rgba(32,96,61,0.17);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.23s;
}
.cookie-modal {
  max-width: 480px;
  width: 90vw;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 48px rgba(32,96,61,0.14);
  padding: 36px 28px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: modalPopIn 0.34s cubic-bezier(.67,1.5,.7,.9);
}
@keyframes modalPopIn {
  0% { transform: scale(0.96) translateY(32px); opacity: 0; }
  90% { opacity: 1; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal .modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  font-size: 1.45rem;
  color: #8FC37D;
  cursor: pointer;
  transition: color 0.17s;
  border-radius: 10px;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  color: #20603D;
  background: #E4E1D0;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}
.cookie-categories .cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-categories .cookie-category label {
  font-weight: 600;
  color: #20603D;
  font-size: 1rem;
}
.cookie-categories .cookie-category input[type="checkbox"] {
  accent-color: #8FC37D;
  width: 18px;
  height: 18px;
}
.cookie-categories .cookie-category input[disabled] {
  accent-color: #20603D;
  opacity: 0.62;
}
.cookie-modal button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 22px;
  padding: 6px 22px;
  border: none;
  margin-right: 12px;
  background: #20603D;
  color: #fff;
  transition: background 0.13s, color 0.13s;
}
.cookie-modal button:hover, .cookie-modal button:focus {
  background: #8FC37D;
  color: #20603D;
}
.cookie-modal .btn-secondary {
  background: #E4E1D0;
  color: #20603D;
}
.cookie-modal .btn-secondary:hover, .cookie-modal .btn-secondary:focus {
  background: #8FC37D;
  color: #20603D;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1050px) {
  .container {
    padding: 0 8px;
  }
  .content-wrapper {
    gap: 20px;
  }
}
@media (max-width: 900px) {
  .footer-logo-social,
  .footer-contact,
  .footer-links {
    min-width: 210px;
  }
}
@media (max-width: 800px) {
  .features, .feature-grid, .service-list, .content-grid, .card-container, .card-grid {
    gap: 18px;
    flex-direction: column;
    align-items: stretch;
  }
  .feature, .service-item {
    min-width: unset;
    max-width: unset;
    width: 100%;
    align-items: flex-start;
  }
  .testimonial-card {
    padding: 16px 15px;
    min-width: unset;
    max-width: unset;
    width: 100%;
  }
}
@media (max-width: 768px) {
  section, .section {
    margin-bottom: 32px;
    padding: 26px 7px;
  }
  .hero {
    border-radius: 0 0 20px 20px;
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .container {
    padding: 0 6px;
  }
  .about-short ul, .about-values ul, .team-section ul {
    margin: 0 0 1em 0.3em;
  }
  .content-wrapper {
    gap: 15px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
  .footer-logo-social, .footer-contact, .footer-links {
    min-width: unset;
  }
  footer .content-wrapper {
    gap: 28px;
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 650px) {
  h1, .hero h1 {
    font-size: 1.8rem;
  }
  h2 {
    font-size: 1.35rem;
  }
  .cta-primary {
    font-size: 1rem;
    padding: 10px 18px;
    margin-top: 8px;
  }
  .testimonial-card {
    font-size: 1rem;
    padding: 10px 7px;
    margin-bottom: 13px;
  }
  .feature, .service-item {
    padding: 18px 6px;
  }
  .hero {
    padding-top: 16px;
    padding-bottom: 16px;
  }
  .project-highlights .project-summary {
    padding: 14px 8px;
  }
}
@media (max-width: 520px) {
  header .container {
    padding-right: 0;
    padding-left: 0;
  }
  footer {
    padding-top: 22px;
    padding-bottom: 12px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 7px 16px 7px;
    font-size: 0.97rem;
  }
}

/* --- UTILITY CLASSES --- */
.hide { display: none !important; }
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }
.rounded { border-radius: 16px !important; }

/* --- MICRO-INTERACTIONS, TRANSITIONS, FOCUS --- */
button:focus-visible,
.cta-primary:focus-visible,
.main-nav a:focus-visible,
.mobile-menu-toggle:focus-visible,
.mobile-menu-close:focus-visible {
  box-shadow: 0 0 0 2px #8FC37D66;
  outline: none;
  border-radius: 6px;
}

/* Subtle fade-in for cards */
.card, .feature, .service-item, .testimonial-card, .project-summary {
  opacity: 0;
  animation: cardFadeIn 0.7s cubic-bezier(.47,.97,.53,.98) both;
}
@keyframes cardFadeIn {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- END CSS --- */