/* 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, 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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #1F2326;
  color: #ECECED;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  letter-spacing: 0.03em;
  min-height: 100vh;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
a {
  color: #8CBF26;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F5F9F6;
}
ul, ol {
  margin-left: 20px;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 1em;
  background: none;
  border: none;
  outline: none;
}
strong { font-weight: 700; }

/* SCROLLBAR */
::-webkit-scrollbar { width: 8px; background: #23272A; }
::-webkit-scrollbar-thumb {
  background: #43484B; border-radius: 8px;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
  color: #F5F9F6;
  font-weight: 700;
}
h1 { font-size: 2.5rem; line-height: 1.2; margin-bottom: 20px; }
h2 { font-size: 2rem; line-height: 1.25; margin-bottom: 18px; }
h3 { font-size: 1.35rem; margin-bottom: 12px; }
h4 { font-size: 1.12rem; }
.subheadline { color: #8CBF26; font-size: 1.17rem; font-family: 'Montserrat', Arial, Helvetica, sans-serif; letter-spacing: 0.02em; }

/* LAYOUT UTILITIES */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  justify-content: flex-start;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #23272A;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(36,38,43,0.12);
  padding: 24px;
  min-width: 240px;
  flex: 1 1 280px;
  border: 1.5px solid #333940;
  transition: box-shadow 0.2s, border 0.2s;
}
.card:hover {
  box-shadow: 0 4px 20px rgba(92,111,99,0.18);
  border: 1.5px solid #8CBF26;
}
.card-content { display: flex; flex-direction: column; justify-content: center; }

.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;
  margin-bottom: 24px;
  background: #F5F9F6;
  color: #23272A;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(15,18,19,0.07);
  min-width: 220px;
  position: relative;
  font-size: 1.09rem;
  border-left: 5px solid #38713D;
}
.testimonial-card blockquote {
  font-style: italic;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin: 0;
}

/* Feature & List Styles */
.features .content-wrapper > ul,
.services-preview ul,
.services-overview ul,
.about-preview ul,
.about-story ul,
.project-facts ul,
.features ul, .features ol { 
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
}
.features .content-wrapper > ul li,
.services-overview ul li,
.services-preview ul li,
.about-preview ul li,
.about-story ul li,
.project-facts ul li,
.features ul li, .features ol li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #23272A;
  color: #F5F9F6;
  border-radius: 9px;
  box-shadow: 0 1px 8px rgba(24,27,28,0.07);
  padding: 18px 20px 16px 18px;
  margin-bottom: 20px;
  min-width: 240px;
  flex: 1 1 290px;
  border-left: 3.5px solid #38713D;
  font-size: 1rem;
  transition: border 0.22s, box-shadow 0.22s;
}
.features .content-wrapper > ul li:hover,
.services-overview ul li:hover {
  border-left: 3.5px solid #8CBF26;
  box-shadow: 0 4px 20px rgba(92,111,99,0.18);
}
.features .content-wrapper > ul li img, .services-overview ul li img {
  width: 42px; height: 42px; margin-bottom: 5px;
  filter: grayscale(0.12) brightness(0.99)
          drop-shadow(0 1px 1.5px rgba(56,113,61,0.14));
}
.services-overview ul li span, .services-preview ul li span {
  color: #8CBF26;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  margin-left: 0;
  font-size: 1rem;
}

/* HERO SECTIONS */
.hero {
  background: linear-gradient(123deg, #222426 65%, #38713D 100%);
  color: #F5F9F6;
  padding: 50px 0 30px 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 95%);
}
.hero h1 {
  font-size: 2.3rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  color: #F5F9F6;
}
.hero .subheadline {
  color: #8CBF26;
  font-size: 1.2rem;
  margin-bottom: 12px;
}

/* BUTTONS */
.cta-button, .cookie-btn, .mobile-menu-toggle, .mobile-menu-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #8CBF26;
  color: #23272A;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.13rem;
  border-radius: 7px;
  border: none;
  padding: 12px 30px;
  margin-top: 10px;
  box-shadow: 0 1px 4px rgba(140,191,38,0.14);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, border 0.18s;
  text-decoration: none;
}
.cta-button:hover, .cta-button:focus,
.cookie-btn:hover, .cookie-btn:focus {
  background: #38713D;
  color: #F5F9F6;
  box-shadow: 0 2px 12px rgba(56,113,61,0.08);
  border: none;
}
.cta-button:active { background: #5A7B12; }

/* Mobile Menu Hamburger Button */
.mobile-menu-toggle {
  background: #23272A;
  color: #8CBF26;
  border: 2px solid #8CBF26;
  width: 44px; height: 44px;
  border-radius: 50%;
  position: absolute;
  top: 26px; right: 20px;
  z-index: 1201;
  font-size: 1.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  box-shadow: 0 2px 6px rgba(36,38,43,0.13);
  cursor: pointer;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #8CBF26;
}
.mobile-menu-close {
  background: #23272A;
  color: #8CBF26;
  border: 2px solid #8CBF26;
  width: 44px; height: 44px;
  border-radius: 50%;
  position: absolute;
  top: 24px; right: 24px;
  z-index: 1702;
  font-size: 1.5rem;
  display: flex;
  align-items: center; justify-content: center;
}

/* NAVIGATION */
header {
  background: #23272A;
  box-shadow: 0 2px 12px rgba(36,38,43,0.11);
  min-height: 72px;
  position: relative;
  z-index: 1200;
  width: 100%;
  padding-bottom: 2px;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px 10px 20px;
}
header .container a img {
  height: 38px; width: auto;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  margin-left: 34px;
}
.main-nav a {
  color: #F5F9F6;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1.06rem;
  padding: 6px 0px 6px 0px;
  border-bottom: 2.5px solid transparent;
  transition: border 0.16s, color 0.16s;
}
.main-nav a:hover, .main-nav a.active {
  color: #8CBF26;
  border-bottom: 2.5px solid #8CBF26;
}

/* Hide burger & mobile menu on desktop */
.mobile-menu-toggle, .mobile-menu {
  display: none;
}

/* MOBILE/MEDIUM NAVIGATION RULES */
@media (max-width: 1024px) {
  .main-nav { gap: 14px; }
  .cta-button { 
    padding: 11px 20px;
    font-size: 1rem;
  }
  header .container a img { height: 30px; }
}
@media (max-width: 820px) {
  .main-nav { gap: 7px; margin-left:10px; }
}
@media (max-width: 860px) {
  .main-nav, .cta-button { display: none !important; }
  .mobile-menu-toggle { display: flex; }
}

/* MOBILE MENU/OVERLAY */
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: #23272Af2;
  z-index: 1700;
  transform: translateX(100vw);
  transition: transform 0.35s cubic-bezier(.93,.02,.37,.96);
  padding-top: 80px;
  /* hidden by default, slide in with class .open */
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: -6px 0 14px -2px rgba(36,38,43,0.20);
}
.mobile-menu-close {
  display: flex;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 30px 32px;
  width: 100%;
  align-items: flex-start;
}
.mobile-nav a {
  color: #8CBF26;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.13rem;
  padding: 12px 0 10px 8px;
  transition: color 0.18s, background 0.12s;
  border-radius: 5px;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #38713D;
  color: #F5F9F6;
}

@media (max-width: 860px) {
  .main-nav, .cta-button { display: none !important; }
  .mobile-menu-toggle { display: flex !important; }
}

@media (max-width: 600px) {
  .mobile-menu { padding-top: 44px; }
  .mobile-nav { padding: 16px 14px; gap: 13px; }
}

/* MAIN STYLES & SECTION SPACING */
main {
  padding-top: 12px;
  min-height: 70vh;
}
section:not(.hero) {
  background: #23272A;
  border-radius: 12px;
  box-shadow: 0 3px 20px rgba(36,38,43,0.13);
}
@media (max-width: 600px) {
  main, section, .section {
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 30px;
  }
  .content-wrapper {
    gap: 18px;
  }
}

/* FEATURES, SERVICES, CARDS, ETC. */
/* Already handled above */

/* BLOG POST HIGHLIGHTS */
.post-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 12px;
}
.post-highlights article {
  flex: 1 1 240px;
  min-width: 200px;
  background: #23272A;
  color: #F5F9F6;
  border-radius: 9px;
  box-shadow: 0 1px 8px rgba(24,27,28,0.07);
  padding: 17px 20px 15px 17px;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  transition: box-shadow 0.16s;
  border-left: 2.5px solid #38713D;
}
.post-highlights article:hover{
  border-left: 2.5px solid #8CBF26;
  box-shadow: 0 4px 20px rgba(92,111,99,0.14);  
}
.post-highlights .tag {
  display: inline-block;
  background: #8CBF26;
  color: #23272A;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.97rem;
  border-radius: 12px;
  padding: 3px 17px;
  margin-top: 8px;
}

/* CTA SECTION */
.cta {
  background: linear-gradient(113deg,#23272A 60%, #38713D 100%);
  color: #F5F9F6;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(36,38,43,0.14);
  padding: 42px 0px 42px 0px;
  text-align: center;
}
.cta h2 { color: #F5F9F6; }
.cta p { color: #8CBF26; font-size: 1.12rem; }
.cta .cta-button { margin: 18px 0 0 0; }

/* STAR RATING */
.star-rating {
  margin-top: 18px;
  color: #8CBF26;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
}

/* TABLE/LISTS/DL/OL */
dt {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: bold;
  color: #8CBF26;
  margin-top: 20px;
  margin-bottom: 3px;
}
dd {
  margin-bottom: 14px;
  padding-left: 16px;
  color: #F5F9F6;
  font-size: 1rem;
}

/* MAP PLACEHOLDER */
.map-placeholder {
  background: #212325;
  border: 1.5px solid #43484B;
  border-radius: 7px;
  padding: 26px 18px;
  color: #8CBF26;
  margin: 10px 0 0 0;
  font-style: italic;
  text-align: center;
  box-shadow: 0 2px 7px rgba(36,38,43,0.04);
}

/* FOOTER */
footer {
  background: #212325;
  color: #ECECED;
  padding: 28px 0 22px 0;
  margin-top: 40px;
  border-top: 4px solid #38713D;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #8CBF26;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  transition: color 0.16s;
}
.footer-nav a:hover { color: #F5F9F6; }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.95rem;
}
.footer-contact img {
  width: 18px;
  vertical-align: middle;
  margin-right: 7px;
}
footer a img {
  height: 32px; margin-bottom: 7px;
}
@media (max-width: 700px) {
  footer .container { flex-direction: column; gap: 18px; align-items: flex-start; }
}

/* RESPONSIVE FLEX DIRECTION */
@media (max-width: 768px) {
  .content-grid, .card-container, .post-highlights, .features .content-wrapper>ul, .services-overview ul, .services-preview ul, .about-preview ul, .about-story ul {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .hero {
    padding: 30px 0 14px 0;
  }
  .testimonial-card { min-width: unset; }
}

/* LEGAL CONTENT */
.legal h1, .legal h2, .legal h3, .legal h4 { color: #8CBF26; }
.legal ul {
  margin-top: 12px;
}
.legal ul li {
  margin-bottom: 10px;
  line-height: 1.5;
}

/* COOKIE BANNER & COOKIE MODAL */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #23272A;
  color: #F5F9F6;
  box-shadow: 0 -2px 20px rgba(36,38,43,0.21);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  z-index: 3000;
  gap: 18px;
  font-size: 1rem;
  animation: cookie-fade-in 0.42s 1;
}
.cookie-banner .cookie-btn {
  background: #8CBF26;
  color: #23272A;
  padding: 9px 23px;
  margin: 0 8px 0 0;
  border-radius: 4px;
  border: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.04rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.17s, color 0.17s;
}
.cookie-banner .cookie-btn:focus, .cookie-banner .cookie-btn:hover {
  background: #38713D;
  color: #F5F9F6;
}
/* Cookie Modal Overlay */
.cookie-modal-overlay {
  display: flex;
  position: fixed;
  z-index: 4000;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(36,38,43, 0.66);
  align-items: center;
  justify-content: center;
  animation: cookie-fade-in 0.32s 1;
}
@keyframes cookie-fade-in {
  0% { opacity: 0; transform: translateY(40px) scale(0.99); }
  99% {opacity: 1; }
  100% {opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal {
  background: #23272A;
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(36,38,43,0.29),0 1px 4px rgba(92,111,99,0.13);
  padding: 34px 35px 22px 35px;
  max-width: 380px;
  width: 97vw;
  color: #F5F9F6;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-modal h2 { color: #8CBF26; font-size: 1.21rem; margin-bottom: 12px; }
.cookie-modal ul {
  list-style: none;
  padding-left: 5px;
  margin-bottom: 14px;
}
.cookie-modal ul li {
  display: flex;
  align-items: center;
  gap: 13px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-bottom: 10px;
}
.cookie-modal label {
  cursor: pointer;
  font-size: 1rem;
}
.cookie-modal input[type=checkbox] {
  appearance: none;
  background-color: #23272A;
  border: 2px solid #8CBF26;
  border-radius: 4px;
  width: 18px;
  height: 18px;
  position: relative;
  cursor: pointer;
  display: inline-block;
  margin-right: 6px;
  vertical-align: middle;
  transition: background 0.17s, border 0.17s;
}
.cookie-modal input[type=checkbox]:checked {
  background: #38713D;
  border: 2px solid #38713D;
}
.cookie-modal input[type=checkbox]:checked:after {
  content: '';
  position: absolute;
  left: 4px; top: 1.5px;
  width: 7px; height: 11px;
  border: solid #F5F9F6;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 13px;
  margin-top: 18px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  padding: 9px 20px;
}
.cookie-modal .modal-close {
  position: absolute;
  right: 15px; top: 10px;
  background: none;
  color: #8CBF26;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  transition: color 0.16s;
}
.cookie-modal .modal-close:hover {
  color: #F5F9F6;
}

@media (max-width: 550px) {
  .cookie-modal { padding: 18px 7vw 20px 7vw; max-width: 100vw; }
}

/* MICRO INTERACTIONS/ANIMATIONS */
.card, .testimonial-card, .features .content-wrapper > ul li, .services-preview ul li, .services-overview ul li, .post-highlights article {
  transition: box-shadow 0.18s, border 0.2s, background 0.18s, color 0.18s;
}
.card:hover, .features .content-wrapper > ul li:hover, .post-highlights article:hover, .services-preview ul li:hover, .services-overview ul li:hover {
  background: #2A3136;
  box-shadow: 0 4px 20px rgba(140,191,38,0.14);
}
.cta-button:active, .cookie-btn:active {
  transform: scale(0.96);
}

/* ACCESSIBILITY & FOCUS */
a:focus, button:focus, .cta-button:focus, .cookie-btn:focus {
  outline: 2px solid #8CBF26;
  outline-offset: 2px;
}

/* SELECTION COLOR */
::selection { background: #8CBF26; color: #23272A; }

/* PRINT */
@media print { body, header, footer, main, section { background: #fff; color: #000; } }
