/* RESET & BASE ------------------------------------------------- */
html {
  box-sizing: border-box;
  font-size: 16px;
  /* Smoother font rendering */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #171B1A;
  color: #F5F5F2;
  line-height: 1.6;
  min-height: 100vh;
  letter-spacing: 0.01em;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 20px;
}
li {
  margin-bottom: 8px;
}
a {
  color: #7DBA5B;
  text-decoration: none;
  transition: color 0.2s;
  outline: none;
}
a:hover, a:focus {
  color: #F5F5F2;
  text-decoration: underline;
}

/* TYPOGRAPHY ---------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #ECEDEE;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.3rem; margin-bottom: 12px; }
h4 { font-size: 1.1rem; margin-bottom: 10px; }

@media (min-width: 768px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.3rem; }
}
p, ul, ol {
  color: #C3C5C5;
  font-size: 1rem;
}
strong {
  color: #F5F5F2;
  font-weight: 700;
}

/* CONTAINER & LAYOUT -------------------------------------------- */
.container {
  width: 100%;
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* FLEXBOX PATTERNS & CARDS -------------------------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}
.card {
  background: #222625;
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(30,37,36,0.24);
  padding: 28px 24px;
  margin-bottom: 20px;
  position: relative;
  border: 1px solid #404643;
  transition: box-shadow 0.18s, border-color 0.18s;
}
.card:hover {
  box-shadow: 0 8px 40px rgba(30,37,36,0.34);
  border-color: #7DBA5B;
}
.project-card, .blog-article {
  background: #222625;
  border-radius: 10px;
  box-shadow: 0 3px 16px rgba(20,22,22,0.18);
  padding: 24px 18px;
  margin-bottom: 20px;
  border-left: 4px solid #7DBA5B;
  transition: box-shadow 0.15s, border-color 0.2s;
}
.project-card:hover, .blog-article:hover {
  box-shadow: 0 8px 36px rgba(20,22,22,0.28);
  border-color: #22543D;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
@media (min-width: 900px) {
  .section { padding: 64px 0; }
}

.feature-grid, .service-list, .service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div, .service-list > div, .service-grid > div {
  background: #232826;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(30,37,36,0.14);
  border: 1px solid #353938;
  padding: 28px 18px 18px 18px;
  flex: 1 1 256px;
  min-width: 220px;
  transition: box-shadow 0.15s, border-color 0.2s, transform 0.1s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}
.feature-grid > div:hover, .service-list > div:hover, .service-grid > div:hover {
  border-color: #7DBA5B;
  box-shadow: 0 6px 32px rgba(30,37,36,0.28);
  transform: translateY(-2px) scale(1.01);
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: none;
  color: #C3C5C5;
}

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

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

@media (max-width: 950px) {
  .feature-grid, .service-list, .service-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
}

/* NAVIGATION ---------------------------------------------------- */
header {
  width: 100%;
  background: #181E1C;
  border-bottom: 2px solid #292F2D;
  box-shadow: 0 3px 24px rgba(40,42,39,0.09);
  position: relative;
  z-index: 80;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 66px;
  padding: 10px 18px;
}
header img {
  width: 44px;
  height: auto;
  filter: brightness(0.9) contrast(1.2);
}
nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
header nav a {
  color: #ECEDEE;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 6px;
  transition: background 0.13s, color 0.14s;
}
header nav a:hover, header nav a:focus {
  background: #22543D;
  color: #7DBA5B;
  outline: none;
}
.cta-primary {
  background: linear-gradient(90deg,#22543D 0%,#3B8050 100%);
  color: #F5F5F2;
  font-family: 'Montserrat',Arial,sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 16px rgba(120,186,91,0.14);
  padding: 11px 26px;
  margin-left: 16px;
  cursor: pointer;
  letter-spacing: 0.08em;
  transition: background 0.22s, color 0.15s, box-shadow 0.15s, transform 0.12s;
  outline: none;
  display: inline-block;
}
.cta-primary:hover, .cta-primary:focus {
  background: #7DBA5B;
  color: #181E1C;
  box-shadow: 0 8px 30px rgba(120,186,91,0.28);
  transform: translateY(-2px) scale(1.03);
}

/* Hide nav, show burger on mobile */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #F5F5F2;
  font-size: 2rem;
  cursor: pointer;
  margin-left: 8px;
  z-index: 110;
  transition: color 0.15s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  color: #7DBA5B;
}

@media (max-width: 1000px) {
  header nav, .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  header .container {
    gap: 0;
  }
}

/* MOBILE MENU --------------------------------------------------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #1B2320;
  box-shadow: 4px 0 32px 0 rgba(40,50,40,0.28);
  z-index: 200;
  display: flex;
  flex-direction: column;
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(.85,-0.09,.36,1.08);
  opacity: 1;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #F5F5F2;
  font-size: 2.2rem;
  padding: 16px 26px 8px 0;
  align-self: flex-end;
  cursor: pointer;
  z-index: 209;
  transition: color 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #7DBA5B;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: center;
  align-items: center;
  margin-top: 18vh;
}
.mobile-nav a {
  color: #F5F5F2;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  background: none;
  padding: 12px 32px;
  border-radius: 8px;
  text-align: center;
  min-width: 60vw;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:active, .mobile-nav a:focus,
.mobile-nav a:hover {
  color: #181E1C;
  background: #7DBA5B;
  outline: none;
}

@media (min-width: 1001px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* FOOTER -------------------------------------------------------- */
footer {
  background: #171B1A;
  border-top: 2px solid #22543D;
  color: #C3C5C5;
  padding: 48px 0 38px 0;
  margin-top: 0;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
footer nav {
  flex-direction: column;
  gap: 12px;
}
footer nav a {
  color: #7DBA5B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
  border-radius: 4px;
  transition: color 0.14s, background 0.11s;
}
footer nav a:hover, footer nav a:focus {
  color: #22543D;
  background: #7DBA5B;
  outline: none;
}
footer .contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.96rem;
  color: #B2B4B4;
}
footer img {
  width: 48px;
  margin-bottom: 12px;
}

@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
}

/* TESTIMONIALS CARD -------------------------------------------- */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #F5F5F2;
  color: #252725;
  border-radius: 14px;
  border-left: 6px solid #7DBA5B;
  box-shadow: 0 4px 16px rgba(30,37,36,0.16);
  max-width: 650px;
  transition: border-color 0.14s, box-shadow 0.15s;
}
.testimonial-card p {
  color: #222625;
  font-size: 1.13rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
.testimonial-card span {
  color: #22543D;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.97rem;
  font-weight: 600;
}
.testimonial-card:hover {
  border-color: #22543D;
  box-shadow: 0 7px 36px rgba(120,186,91,0.15);
}

/* BUTTONS & INTERACTIVES ---------------------------------------- */
button, .cta-primary {
  font-family: 'Montserrat', Arial, sans-serif;
  outline: none;
}
button:focus, .cta-primary:focus {
  outline: 2px solid #7DBA5B;
  outline-offset: 1px;
}
button[disabled] {
  opacity: 0.5;
  pointer-events: none;
}

/* Process/Feature step icons ------------------------------------ */
.process-step {
  background: #232826;
  padding: 26px 20px;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(30,37,36,0.16);
  border-left: 5px solid #7DBA5B;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.process-step img {
  width: 42px;
  height: auto;
  margin-bottom: 6px;
}

/* MAP PLACEHOLDER ----------------------------------------------- */
.map-placeholder {
  background: #282E2C;
  color: #B5B7B7;
  border-radius: 10px;
  border: 1.5px dashed #404643;
  box-shadow: 0 2px 12px rgba(30,37,36,0.11);
  padding: 18px 14px;
  min-width: 210px;
  max-width: 330px;
  margin-bottom: 20px;
}

/* SPACING ------------------------------------------------------ */
main > section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (min-width: 800px) {
  main > section { padding: 52px 0; }
}

/* Responsive spacing/gaps */
@media (max-width: 600px) {
  .feature-grid > div, .service-list > div, .service-grid > div {
    min-width: 0;
    width: 100%;
    padding: 20px 10px 15px 10px;
  }
  .card,
  .project-card,
  .blog-article {
    padding: 16px 9px;
  }
}

/* BLOG LIST ----------------------------------------------------- */
.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.blog-article {
  flex: 1 1 280px;
  min-width: 230px;
}

/* CTA Section --------------------------------------------------- */
.section .cta-primary,
.container > .cta-primary {
  margin-top: 20px;
  margin-bottom: 0;
  display: inline-block;
}

/* FORMS (Contact, Newsletter) ----------------------------------- */
input, textarea, select {
  width: 100%;
  padding: 12px 10px;
  background: #222625;
  border: 1.5px solid #404643;
  border-radius: 8px;
  color: #C3C5C5;
  font-family: 'Open Sans', Arial, sans-serif;
  margin-bottom: 16px;
  font-size: 1rem;
  transition: border 0.18s, box-shadow 0.17s;
}
input:focus, textarea:focus, select:focus {
  border-color: #7DBA5B;
  outline: none;
}

label {
  color: #ECEDEE;
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

/* TABLES ------------------------------------------------------- */
table {
  width: 100%;
  border-collapse: collapse;
  background: #232826;
  color: #C3C5C5;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 24px;
}
th, td {
  border: 1px solid #353938;
  padding: 12px;
  text-align: left;
}
th {
  background: #181E1C;
  color: #F5F5F2;
}

/* MODAL/OVERLAY SHARED ------------------------------------------ */
.overlay {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(21,23,23,0.69);
  z-index: 3300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.19s;
}
.overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* COOKIE CONSENT BANNER ----------------------------------------- */
#cookie-banner {
  position: fixed;
  left: 0; bottom: 0; width: 100vw;
  background: #232826;
  color: #F5F5F2;
  border-top: 3px solid #7DBA5B;
  z-index: 3500;
  box-shadow: 0 -2px 36px rgba(40,55,35,0.19);
  padding: 22px 16px 16px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
  transition: transform 0.32s cubic-bezier(.52,1.24,.65,1.06), opacity 0.23s;
  transform: translateY(130%);
  opacity: 0;
  pointer-events: none;
}
#cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
#cookie-banner .btns {
  display: flex;
  gap: 18px;
  margin-top: 8px;
}
#cookie-banner button {
  font-family: 'Montserrat',Arial,sans-serif;
  border-radius: 6px;
  border: none;
  color: #232826;
  background: #7DBA5B;
  font-weight: 700;
  padding: 10px 18px;
  font-size: 1rem;
  cursor: pointer;
  margin-right: 0;
  transition: background 0.13s, color 0.17s, box-shadow 0.16s;
  box-shadow: 0 2px 10px rgba(125,186,91,.12);
}
#cookie-banner button:hover, #cookie-banner button:focus {
  background: #22543D;
  color: #F5F5F2;
  outline: none;
}
#cookie-banner .cookie-settings-btn {
  background: #ECEDEE;
  color: #232826;
  border: 1.5px solid #7DBA5B;
  font-weight: 600;
  padding: 9px 12px;
  margin-left: 7px;
}
#cookie-banner .cookie-settings-btn:hover, #cookie-banner .cookie-settings-btn:focus {
  background: #7DBA5B;
  color: #181E1C;
  outline: none;
}

/* COOKIE PREFERENCE MODAL --------------------------------------- */
#cookie-modal {
  background: #222625;
  color: #F5F5F2;
  padding: 32px 24px 24px 24px;
  border-radius: 18px;
  min-width: 320px;
  max-width: 420px;
  box-shadow: 0 10px 46px rgba(40,45,45,0.38);
  z-index: 3502;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  animation: fadeInModal 0.32s cubic-bezier(.22,1.2,.56,1.15);
  outline: none;
}
@keyframes fadeInModal {
  from { opacity: 0; transform: scale(.98) translateY(22px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
#cookie-modal h2 {
  color: #7DBA5B;
  font-size: 1.22rem;
  margin-bottom: 8px;
}
#cookie-modal form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
#cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
}
#cookie-modal label {
  color: #ECEDEE;
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 0;
}
#cookie-modal input[type="checkbox"] {
  accent-color: #7DBA5B;
  width: 20px;
  height: 20px;
}
#cookie-modal .category-essential {
  opacity: 0.59;
}
#cookie-modal .modal-btn-row {
  display: flex;
  gap: 18px;
  margin-top: 10px;
}
#cookie-modal button {
  padding: 10px 18px;
  border-radius: 6px;
  background: #7DBA5B;
  color: #232826;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.14s, color 0.14s;
}
#cookie-modal button:hover, #cookie-modal button:focus {
  background: #22543D;
  color: #ECEDEE;
  outline: none;
}
#cookie-modal .modal-close-btn {
  background: #232826;
  color: #7DBA5B;
  border: 1.2px solid #7DBA5B;
  font-weight: 600;
}
#cookie-modal .modal-close-btn:hover, #cookie-modal .modal-close-btn:focus {
  background: #7DBA5B;
  color: #1B2320;
  outline: none;
}

/* MISC & MICRO-INTERACTIONS ------------------------------------- */
section {
  transition: background 0.26s, box-shadow 0.21s;
}
.card, .project-card, .feature-grid > div, .service-list > div, .service-grid > div, .blog-article {
  transition: box-shadow 0.2s, border-color 0.2s, background 0.2s, color 0.11s, transform 0.11s;
}

/* ICON/IMAGE METALLIC ACCENTS ----------------------------------- */
.feature-grid img,
.service-grid img,
.service-list img, .process-step img,
header img, footer img {
  filter: brightness(0.97) contrast(1.22) drop-shadow(0 1px 6px #1917171c) drop-shadow(0 0.5px 3px #7a7f7f0f);
}

/* URBAN LINE ACCENTS & SHADOWS ---------------------------------- */
h2, h1 {
  border-left: 7px solid #7DBA5B;
  padding-left: 18px;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 18px rgba(44,48,41,0.12);
}
h1 {
  border-left-width: 10px;
  padding-left: 20px;
}
@media (max-width: 600px) {
  h2, h1 {
    padding-left: 10px;
    font-size: 1.4rem;
  }
}

/* RESPONSIVE & MOBILE LAYOUT ------------------------------------ */
@media (max-width: 768px) {
  .container {
    padding: 0 6px;
  }
  .section, main > section {
    padding: 22px 2px;
  }
  .feature-grid, .service-list, .service-grid {
    flex-direction: column;
    gap: 17px;
  }
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card, .project-card, .blog-article {
    padding: 14px 5px;
    margin-bottom: 16px;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.24rem; }
  h2 { font-size: 1.09rem; }
  h3 { font-size: 1rem; }
  nav a, footer nav a { font-size: 0.9rem; }
}

/* Hide scroll when mobile menu open */
body.menu-open {
  overflow: hidden;
}

/* FOCUS STYLES --------------------------- */
a:focus, button:focus, .cta-primary:focus, input:focus, textarea:focus, select:focus {
  outline: 2.5px dashed #7DBA5B;
  outline-offset: 2px;
}

/* UTILITY CLASSES ----------------------------------------------- */
.d-block { display: block; }
.text-center { text-align: center; }
.ml-2 { margin-left: 12px; }
.mt-2 { margin-top: 20px; }
.mt-1 { margin-top: 10px; }
.mb-2 { margin-bottom: 20px; }

/* ACCESSIBILITY & HIDE ------------------------------------------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}

/* END CSS */
