/* 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,input,button,textarea,select,main,article,aside,footer,header,nav,section,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; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; text-size-adjust: 100%;}
*,*:before,*:after {box-sizing: inherit;}
body {line-height:1.55; background-color:#F4F4F9; color:#222; min-height:100vh; font-family:'Open Sans', Arial, Helvetica, sans-serif; font-weight:400;}
img {max-width:100%; display:inline-block; height:auto; border:0;}
ul,ol {list-style:none;}
a {color: inherit; text-decoration: none; background: none;}
button, input, select, textarea {font: inherit; background: none; border: none; outline: none;}

/* IMPORT FONTS */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Open+Sans:wght@400;600&display=swap');

/* COLOR VARIABLES */
:root {
  --primary1: #255D3B;
  --primary2: #196945;
  --secondary: #A7C957;
  --accent: #F4F4F9;
  --gold: #C9A75F;
  --gold-light: #F5EAD7;
  --black: #181717;
  --text: #232323;
  --heading: #191919;
  --white: #fff;
  --border: #ECE7DC;
  --shadow: 0 3px 32px 0 rgba(37,93,59,0.08), 0 0.5px 1.5px rgba(0,0,0,0.03);
  --focus: #BEA144;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--heading);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h1 {font-size: 2.4rem; line-height: 1.15;}
h2 {font-size: 1.7rem; line-height: 1.18;}
h3 {font-size: 1.25rem; line-height: 1.2;}
h4 {font-size: 1.125rem;}
p, ul li, ol li, dl dd, blockquote, cite, label, input, select, textarea {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: var(--text);
}
strong, b {font-weight: 600; color: var(--primary1);}
small {font-size: 0.89em; color: #555;}
.text-link {
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  transition: border-color 0.25s, color 0.25s;
  font-weight: 600;
  text-decoration: none;
}
.text-link:hover, .text-link:focus {color: var(--primary1); border-bottom: 1.5px solid var(--primary1);}

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
main {width: 100%; padding-top: 30px;}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.section {margin-bottom: 60px; padding: 40px 20px; background: var(--white); border-radius: 18px; box-shadow: var(--shadow);}

/* CARD & FLEX LAYOUTS */
.card-container, .features-grid, .service-list, .service-grid, .projects-list, .projects-preview, .blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {background: var(--white); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); margin-bottom: 20px; padding: 24px; position: relative; min-width: 260px; flex: 1 1 260px; transition: box-shadow .2s;}
.card:hover, .card:focus {box-shadow: 0 6px 36px 0 rgba(37,93,59,.15), 0 1px 8px rgba(0,0,0,0.03);}
.card-content {display: flex; flex-direction: column; justify-content: center; gap: 12px;}
.projects-list, .projects-preview, .blog-list {
  gap: 24px;
}
.project-card, .project-teaser, .blog-teaser {
  background: var(--accent);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 16px;
  box-shadow: var(--shadow);
  flex: 1 1 300px;
  margin-bottom: 20px;
  transition: box-shadow .22s, border-color .22s;
}
.project-card:hover, .project-teaser:hover, .blog-teaser:hover {border-color: var(--gold); box-shadow: 0 10px 32px 0 rgba(201,167,95,0.13);}

/* HERO SECTION */
.hero {
  background: linear-gradient(74deg, var(--accent), var(--gold-light) 78%, var(--accent) 100%);
  padding: 56px 0 36px 0;
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 3px 14px 0 rgba(255,224,105,0.13);
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 20px;
}

/* FEATURES GRID, SERVICE LISTS */
.features-grid, .values-list, .service-list, .service-grid, .principles-list, .blog-list, .newsletter-section ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.features-grid li, .values-list li, .service-list li, .service-grid li, .principles-list li {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 24px 18px;
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  min-width: 200px;
  transition: border-color .2s, box-shadow .22s;
}
.features-grid li:hover, .service-grid li:hover {border-color: var(--gold); box-shadow: 0 10px 19px rgba(201,167,95,0.07);}
.features-grid img, .service-grid img, .values-list img {
  height: 44px; width: 44px; margin-bottom: 6px;
}

/* BUTTONS */
.cta-button {
  display:inline-flex; align-items:center; justify-content:center;
  background: var(--primary1);
  color: var(--white);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.13rem;
  line-height:1.25;
  padding: 15px 38px;
  border-radius: 28px;
  border:none;
  box-shadow: 0 12px 36px 0 rgba(37,93,59,0.06);
  cursor:pointer;
  margin-top:12px;
  letter-spacing: 0.03em;
  transition: background .22s, color .22s, box-shadow .22s, border .18s;
  border: 2px solid var(--gold);
  outline: 0;
}
.cta-button:hover, .cta-button:focus {
  background: var(--gold);
  color: var(--primary1);
  box-shadow: 0 8px 24px 0 rgba(201,167,95,0.14);
  border-color: var(--primary1);
}

button, .cta-button {
  transition: all .18s cubic-bezier(.55,0,.1,1);
}

/* HEADER NAVIGATION */
header {
  width: 100%;
  border-bottom: 2px solid var(--gold-light);
  background: var(--white);
  box-shadow: 0 2px 12px 0 rgba(13,37,22,0.03);
  position:relative;
  z-index: 100;
}
header .container {
  flex-direction: row;
  gap:32px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 18px 20px;
  min-height: 78px;
}
header nav {
  display: flex;
  gap: 26px;
  align-items: center;
}
header nav a {
  color: var(--primary1);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.04em;
  padding: 6px 0 4px 0;
  position: relative;
  border: none;
  transition: color 0.18s;
}
header nav a:hover, header nav a:focus {color: var(--gold);}
header a.cta-button {margin-left: 28px;}
header img {height: 36px; display: block;}

/* MOBILE MENU */
.mobile-menu-toggle {
  position: fixed;
  top: 22px;
  right: 22px;
  background: var(--gold);
  color: var(--primary1);
  font-size: 2.0rem;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4000;
  cursor: pointer;
  border: 2px solid var(--primary1);
  transition: background .18s, color .18s;
  box-shadow: 0 3px 16px 0 rgba(201,167,95,0.14);
  outline:0;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus { background: var(--primary1); color: var(--gold); border-color: var(--gold); }
@media (min-width: 1025px) {
  .mobile-menu-toggle {display: none;}
}

.mobile-menu {
  position: fixed;
  top: 0; right: 0; left: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(24,23,23,0.91);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  align-items: flex-end;
  z-index: 9999;
  transform: translateX(100%);
  transition: opacity .32s cubic-bezier(.84,0,.12,1), transform .38s cubic-bezier(.84,0,.12,1), visibility .16s;
}
.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--white);
  color: var(--gold);
  font-size: 2.2rem;
  border-radius: 50%;
  border: 2px solid var(--gold);
  width: 52px;
  height: 52px;
  margin: 24px 20px 10px 0;
  display: flex;
  align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus { color: var(--primary1); background: var(--gold); }
.mobile-nav {
  width: 100vw;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  justify-content: flex-start;
  margin-top: 42px;
}
.mobile-nav a {
  color: var(--white);
  background: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.33rem;
  font-weight: 600;
  letter-spacing: 0.015em;
  padding: 16px;
  border-radius: 10px;
  width: 85vw;
  text-align: center;
  margin: 0 auto;
  transition: background .18s, color .18s;
  border:2px solid transparent;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--gold-light);
  color: var(--primary1);
  border-color: var(--gold);
}

/* Hide desktop nav on small screens */
@media (max-width:1024px) {
  header nav, header .cta-button { display: none;}
  .mobile-menu-toggle {display: flex;}
}
@media (min-width:1025px) {
  .mobile-menu {display:none;}
}

/* FOOTER */
footer {
  width: 100%;
  background: var(--primary1);
  color: var(--gold);
  border-top: 3px solid var(--gold);
  padding: 48px 0 24px 0;
  font-size: 1.05em;
  margin-top: 64px;
}
footer p {
  color: white;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 210px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.13em;
}
.footer-brand img {height: 44px;}
.footer-nav, .footer-legal {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-nav a, .footer-legal a {
  color: var(--gold);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 0.95em;
  letter-spacing: 0.01em;
  opacity: 0.92;
  transition: color .17s;
}
.footer-nav a:hover, .footer-legal a:hover {color: var(--secondary); text-decoration: underline;}
.footer-contact {
  font-size: 0.98em;
  color: var(--gold-light);
  max-width: 275px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 18px;
}
.footer-contact img {height: 21px; width: 21px; vertical-align: middle; margin-right: 9px;}
.footer-legal-info {
  margin-top: 28px;
  color: var(--gold-light);
  font-size: 0.92em;
  width: 100%;
  text-align: center;
  opacity: 0.75;
}

/* SECTION SPACING */
section, .section {margin-bottom: 60px; padding: 40px 20px;}
.section:not(:last-child) {margin-bottom:60px;}
.card-container, .features-grid, .content-grid {gap: 24px;}
.card {margin-bottom: 20px;}
.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; background: var(--white); border-radius: 13px; box-shadow: 0 2px 16px rgba(201,167,95,0.12), 0 1px 8px rgba(0,0,0,0.02); border: 1px solid var(--gold-light); margin-bottom: 20px;}
.feature-item {display: flex; flex-direction: column; align-items: flex-start; gap: 15px;}

/* TESTIMONIALS */
.testimonial-card blockquote {
  color: #1a2120;
  font-size: 1.13em;
  font-style: italic;
  margin-bottom: 0;
  border-left: 5px solid var(--gold);
  padding-left: 18px;
}
.testimonial-card cite {
  color: var(--primary1);
  font-style: normal;
  margin-left: 22px;
  font-size: .98em;
  font-weight: 600;
}

/* METRICS HIGHLIGHTS */
.impact-metric, .project-metrics, .sustainability-impact, .benefit-highlights, .statistics {
  background: var(--gold-light);
  color: var(--primary1);
  border-left: 5px solid var(--gold);
  border-radius: 0 8px 8px 0;
  padding: 13px 24px;
  font-family: 'Montserrat';
  font-size: 1.15em;
  font-weight: 600;
  margin: 18px 0 22px 0;
  box-shadow: 0 2px 8px rgba(37,93,59,0.07);
}
.statistics p, .impact-metric, .sustainability-impact {margin-bottom: 0;}

/* BLOG FILTERS */
.blog-filters {
  display: flex;
  gap: 18px;
  align-items: center;
  margin: 20px 0 12px 0;
}
.blog-filters label {font-family:'Montserrat'; font-weight:600; color:var(--primary1);}
.blog-filters input[type="search"] {
  border: 1px solid var(--gold);
  border-radius: 6px;
  padding: 9px 14px;
  font-size: 1em;
  width: 200px;
  transition: border .18s;
}
.blog-filters input[type="search"]:focus {border-color: var(--primary1);}

/* NEWSLETTER SECTION */
.newsletter-section ul {
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

/* DL, DT, DD */
dl {margin: 14px 0 20px 0;}
dt {font-weight: 600; color: var(--primary1); margin-bottom: 3px;}
dd {margin-bottom: 13px; color: var(--text);}

/* QUOTES */
blockquote {font-family: 'Open Sans', serif; color: #494737; margin: 0 0 6px 0;}
cite {font-family: 'Montserrat',sans-serif; font-style: normal;}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  background: var(--white);
  color: var(--primary1);
  border-top: 2px solid var(--gold);
  box-shadow: 0 -4px 24px rgba(37,93,59,0.07);
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  justify-content: center;
  padding: 22px 10px 12px 10px;
  z-index: 5010;
  font-size: 1em;
  animation: fadeInUp .72s cubic-bezier(.74,0,.24,1);
}
.cookie-banner.hidden {
  display: none;
}
.cookie-banner p {color: var(--primary1); margin: 0 0 13px 0;}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 16px;
  margin-top: 2px;
  flex-wrap: wrap;
}
.cookie-banner button {
  background: var(--gold);
  color: var(--primary1);
  font-family: 'Montserrat',sans-serif;
  font-weight: 600;
  font-size: 1.05em;
  border: none;
  border-radius: 20px;
  padding: 9px 23px;
  margin-bottom:4px;
  cursor:pointer;
  transition: background .16s, color .16s, border .12s;
  border: 2px solid transparent;
}
.cookie-banner button:hover, .cookie-banner button:focus {background: var(--primary1); color: var(--gold); border:2px solid var(--gold);}

/* COOKIE SETTINGS MODAL */
.cookie-modal {
  position: fixed;
  left: 0; right:0; top:0; bottom:0;
  z-index: 99999;
  background: rgba(38, 37, 35, 0.72);
  display: flex;
  align-items:center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .28s, visibility .18s;
}
.cookie-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}
.cookie-modal-content {
  background: var(--white);
  min-width: 90vw; max-width: 430px;
  border-radius: 18px;
  box-shadow: 0 6px 44px 0 rgba(37,93,59,0.19);
  padding: 38px 30px 30px 30px;
  display: flex; flex-direction: column; gap: 22px;
  position:relative;
  text-align: left;
}
.cookie-modal-content h2 {color: var(--primary1); margin-bottom: 12px; font-size:1.35em;}
.cookie-modal-content label {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.07em;
  color: var(--primary1);
  margin-bottom: 10px;
}
.cookie-switch {
  appearance: none;
  background: #ece7dc;
  width: 42px; height: 24px;
  border-radius: 12px;
  position: relative;
  outline: none;
  transition: background .16s;
}
.cookie-switch:checked {background: var(--gold);}
.cookie-switch:before {
  content: "";
  display: block;
  position: absolute;
  top: 3px; left: 4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 1px 6px #bbb;
  transition: left .18s, background .16s;
}
.cookie-switch:checked:before {left: 20px; background: var(--gold);}
.cookie-modal-actions {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
  margin-top:12px;
}
.cookie-modal-close {
  position: absolute;
  top: 15px;
  right: 18px;
  background: none;
  border: none;
  color: var(--primary1);
  font-size: 1.5em;
  cursor: pointer;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {color: var(--gold);}

/* TRANSITIONS, ANIMATIONS */
@keyframes fadeInUp {
  0% { opacity:0; transform:translateY(100px); }
  100% { opacity:1; transform:translateY(0); }
}
@keyframes slideInRight {
  0% { transform: translateX(100vw); }
  100% { transform: translateX(0); }
}

/* FORM ELEMENTS */
input, select, textarea {
  border:1px solid var(--gold);
  border-radius: 8px;
  padding:10px 12px;
  background: #fff;
  color: var(--text);
  width: 100%;
  font-size: 1em;
  margin-bottom: 12px;
  transition: border .16s;
}
input:focus, textarea:focus, select:focus { border-color: var(--primary1); outline: 1.5px solid var(--focus); }

/* UTILITY CLASSES */
.mx-auto {margin-left: auto; margin-right: auto;}
.mt-0 {margin-top: 0;}
.mb-0 {margin-bottom: 0;}
.mb-24 {margin-bottom: 24px;}
.flex {display: flex;}
.flex-row {flex-direction: row;}
.flex-col {flex-direction: column;}
.align-center {align-items: center;}
.align-start {align-items: flex-start;}
.gap-20 {gap: 20px;}
.gap-30 {gap: 30px;}

/* RESPONSIVE DESIGN */
@media (max-width: 1100px) {
  .container {max-width: 98vw;}
  footer .container {flex-direction: column; gap: 24px; align-items: flex-start;}
}
@media (max-width: 920px) {
  .footer-nav, .footer-legal, .footer-contact {font-size: 0.97em;}
  .hero {padding: 44px 0 22px 0;}
}
@media (max-width: 768px) {
  .container {max-width: 100vw; padding: 0 10px;}
  header .container {flex-direction: row; gap: 10px; padding: 11px 4px 11px 4px; min-height: 54px;}
  .section, section {margin-bottom: 38px; padding: 25px 6px;}
  h1 {font-size: 1.45rem;}
  h2 {font-size: 1.18rem;}
  .features-grid, .service-list, .service-grid, .values-list, .projects-list, .projects-preview, .blog-list {gap: 14px;}
  .footer-brand img {height:32px;}
  .footer-brand span {font-size: 0.93em;}
  footer .container {padding: 0 7px; gap:18px;}
  .card, .project-card, .project-teaser, .blog-teaser {padding: 13px 8px;}
  .testimonial-card, .feature-item {padding: 13px 7px;}
  .impact-metric, .project-metrics, .sustainability-impact, .benefit-highlights, .statistics {padding: 10px 12px; font-size: 1em; margin: 8px 0 12px 0;}
}
@media (max-width:540px) {
  h1 {font-size: 1.17rem;}
  h2 {font-size: 0.99rem;}
  .footer-brand, .footer-contact, .footer-nav, .footer-legal {font-size: 0.88em;}
}
@media (max-width: 768px) {
  .features-grid, .service-grid, .projects-list, .projects-preview, .values-list, .principles-list, .blog-list {flex-direction: column; gap: 16px;}
  .section, section {padding: 13px 4px;}
  .text-image-section {flex-direction: column; gap: 13px;}
}

/* ACCESSIBILITY & FOCUS STATES */
a:focus, button:focus, .cta-button:focus {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  background: var(--gold-light);
}

/* MISC */
::-webkit-input-placeholder { color: #94978c; opacity: 1; }
::-moz-placeholder { color: #94978c; opacity: 1; }
:-ms-input-placeholder { color: #94978c; opacity: 1; }
::placeholder { color: #94978c; opacity:1; }

/* PRINT */
@media print {
  *, *:before, *:after {
    background: none !important; box-shadow:none !important; color:#000 !important;
  }
  header,footer,.mobile-menu-toggle,.cookie-banner,.cookie-modal {display: none !important;}
  .container {max-width: 100vw !important;}
}
