/* 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, 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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background-color: #171c1b;
  color: #e5e7e0;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #171c1b;
  color: #e5e7e0;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #6BBF59;
  text-decoration: none;
  transition: color 0.25s;
}
a:hover, a:focus {
  color: #F4F7F3;
}
ul, ol {
  margin: 0;
  padding-left: 1.2em;
}

/* BRAND FONTS (fallbacks included) */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Black', 'Open Sans', Arial, sans-serif;
  color: #F4F7F3;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.13;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #6BBF59;
}
h4, h5, h6 {
  font-size: 1.05rem;
  font-weight: 500;
}
strong {
  font-weight: bold;
  color: #eaeaeb;
}

/* LAYOUT CONTAINERS & ALIGNMENT */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #232825;
  border-radius: 16px;
  box-shadow: 0 2px 18px 0 rgb(26 30 29 / 16%);
}

/* ALIGNMENT PATTERNS (MANDATORY) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #232825;
  border-radius: 12px;
  box-shadow: 0 2px 6px 0 rgb(24 24 24 / 12%);
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  border: 1.5px solid #323733;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.card:hover {
  box-shadow: 0 4px 16px 0 rgb(50 54 53 / 28%);
  border-color: #6BBF59;
}
.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: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #F4F7F3;
  color: #171c1b;
  border-radius: 10px;
  box-shadow: 0 2px 10px 0 rgba(30,33,32,0.08);
  border-left: 5px solid #206841;
  position: relative;
  transition: box-shadow 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 22px rgba(54,70,63,0.14);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #232825;
  border-radius: 11px;
  box-shadow: 0 1.5px 5px 0 rgb(38 43 41 / 10%);
  padding: 24px 18px;
  min-width: 220px;
  flex: 1 1 220px;
  border: 1px solid #2e3430;
  transition: border-color 0.25s, box-shadow 0.18s;
}
.feature-item:hover {
  border-color: #6BBF59;
  box-shadow: 0 3px 22px 0 rgba(60,80,73,0.13);
}

/* FLEX WRAPPING ON MOBILE */
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
    padding-left: 10px;
    padding-right: 10px;
  }
  .feature-item {
    min-width: 140px;
  }
  .content-grid, .feature-grid {
    gap: 14px;
  }
}
@media (max-width: 700px) {
  .card-container, .content-grid, .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}

/* HEADER & NAVIGATION */
header {
  width: 100%;
  background: #181c1a;
  position: sticky;
  top: 0;
  z-index: 1002;
  box-shadow: 0 1.5px 8px rgb(11 15 13 / 14%);
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  gap: 20px;
}
.logo img {
  height: 44px;
  width: auto;
  filter: grayscale(18%) contrast(110%) drop-shadow(0 1px 2px #181e18);
  padding: 3px 0 0 0;
  display: block;
}

/* MAIN NAV */
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 26px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', 'Arial Black', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #e5e7e0;
  font-size: 1rem;
  padding: 8px 10px;
  border-radius: 7px;
  position: relative;
  transition: background 0.19s, color 0.17s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #232825;
  color: #6BBF59;
}

.btn-primary {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  padding: 13px 32px;
  color: #F4F7F3;
  background: linear-gradient(90deg,#206841, #364c3e 75%);
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 10px 0 rgba(24,40,32,0.13);
  cursor: pointer;
  margin-left: 18px;
  transition: background 0.21s, color 0.17s, box-shadow 0.16s;
}
.btn-primary:hover, .btn-primary:focus {
  background: #6BBF59;
  color: #1b261b;
  box-shadow: 0 4px 18px 0 rgba(82,124,82,0.18);
  outline: none;
}

/* MOBILE MENU STYLING */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #F4F7F3;
  cursor: pointer;
  margin-left: 14px;
  padding: 8px 13px;
  border-radius: 7px;
  border: 1.7px solid #232825;
  transition: background 0.17s, color 0.13s;
  z-index: 1202;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #232825;
  color: #6BBF59;
  outline: none;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #232825dc;
  z-index: 1300;
  transform: translateX(-105%);
  transition: transform 0.36s cubic-bezier(0.77,0.2,0.05,1.0);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  box-shadow: 4px 0 20px 0 rgba(21,21,20,0.19);
  padding-right: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  background: none;
  border: none;
  color: #F4F7F3;
  cursor: pointer;
  padding: 16px 18px;
  align-self: flex-end;
  margin: 12px 10px 0 0;
  border-radius: 7px;
  border: 2px solid #232825;
  transition: background 0.16s, color 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #363d38;
  color: #6BBF59;
  outline: none;
}
.mobile-nav {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 20px;
}
.mobile-nav a {
  color: #e5e7e0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 1.17rem;
  padding: 16px 30px;
  border-bottom: 1px solid #323733;
  width: 100%;
  box-sizing: border-box;
  transition: color 0.16s, background 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #6BBF59;
  background: #202421;
}

/* Responsive Navigation */
@media (max-width: 1020px) {
  .main-nav {
    gap: 16px;
  }
  .btn-primary {
    padding: 12px 19px;
    font-size: 1rem;
  }
}
@media (max-width: 900px) {
  header .container {
    flex-direction: row;
    gap: 10px;
  }
}
@media (max-width: 820px) {
  .main-nav {
    display: none;
  }
  .btn-primary {
    margin-left: 6px;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (min-width: 821px) {
  .mobile-menu {
    display: none!important;
  }
  .mobile-menu-toggle {
    display: none!important;
  }
}

/* HERO SECTION */
.hero {
  background: linear-gradient(120deg,#232825 0%,#171c1b 85%);
  padding: 70px 0 44px 0;
  min-height: 360px;
  position: relative;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero h1 {
  color: #6BBF59;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 15px;
  margin-top: 0;
  letter-spacing: 0.06em;
  text-shadow: 0 2px 22px #12141130;
}
.hero p {
  font-size: 1.18rem;
  color: #e5e7e0;
  margin-bottom: 26px;
  max-width: 650px;
}
.hero .btn-primary {
  margin-top: 0;
}

@media (max-width: 700px) {
  .hero {
    padding: 38px 0 18px 0;
    min-height: 210px;
  }
  .hero h1 {
    font-size: 2rem;
    margin-bottom: 10px;
  }
}

/* FEATURES GRID */
.features .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.features .feature-item img {
  width: 40px;
  height: 40px;
  filter: grayscale(22%) brightness(0.95) drop-shadow(0 1px 1px #232825);
}
.features .feature-item h3 {
  color: #6BBF59;
  margin-top: 4px;
}
.features .feature-item p {
  color: #e5e7e0;
}

/* SERVICES & TABLES */
table {
  width: 100%;
  border-collapse: collapse;
  background: #232825;
  border-radius: 9px;
  overflow: hidden;
  margin-bottom: 20px;
  font-size: 1rem;
  box-shadow: 0 1.5px 7px rgb(15 18 16 / 8%);
}
th, td {
  padding: 15px 12px;
  text-align: left;
}
th {
  background: #28312c;
  color: #F4F7F3;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.06rem;
}
td {
  color: #e0e3de;
  background: #232825;
  border-top: 1px solid #37423d;
}
tr:first-child td {
  border-top: none;
}

/* CTA SECTION */
.cta {
  background: #2e3430;
  margin-top: 34px;
  margin-bottom: 0;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgb(50 54 53 / 13%);
  padding: 48px 20px;
  text-align: center;
}
.cta h2 {
  color: #6BBF59;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}
.cta p {
  color: #cbe4c9;
  font-size: 1.15rem;
  margin-bottom: 22px;
}
.cta .btn-primary {
  margin-top: 0;
  margin-left: 0;
}

/* TESTIMONIAL SECTIONS & CONTRAST FIX */
.testimonial-card {
  color: #171c1b;
  background: #F4F7F3;
}
.testimonial-card p {
  font-size: 1.08rem;
  color: #222822;
}
.testimonial-card span {
  font-size: 0.96rem;
  color: #206841;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
}
.testimonial-card strong {
  color: #206841;
}

.testimonial-preview a,
section .content-wrapper > a.btn-primary {
  margin-top: 18px;
  align-self: flex-start;
}

/* FOOTER */
footer {
  width: 100%;
  background: #181b1a;
  color: #e5e7e0;
  padding: 0;
  margin-top: 60px;
  border-top: 2px solid #232825;
  font-size: 0.97rem;
}
footer .container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  padding: 36px 20px 36px 20px;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
}
.footer-brand img {
  height: 38px;
  width: auto;
}
.footer-brand .text-section {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02rem;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  color: #6BBF59;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.04rem;
  padding: 4px 0;
  transition: color 0.19s;
}
.footer-nav a:hover {
  color: #F4F7F3;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.99rem;
  color: #cececf;
}
.footer-contact img {
  height: 14px;
  width: auto;
  vertical-align: middle;
  margin-right: 7px;
  filter: opacity(0.84) grayscale(21%) contrast(1.06);
}
.footer-contact span {
  color: #8da39b;
  font-size: 0.92rem;
  margin-top: 7px;
}

@media (max-width: 760px) {
  footer .container {
    flex-direction: column;
    gap: 16px;
    padding: 26px 10px 28px 10px;
    align-items: stretch;
  }
  .footer-brand {
    flex-direction: row;
    gap: 8px;
    margin-bottom: 7px;
  }
  .footer-brand img {
    height: 34px;
  }
  .footer-nav {
    flex-direction: row;
    gap: 12px;
    margin-bottom: 7px;
  }
}

/* TEXT & UTILITY */
p {
  margin-bottom: 1em;
  color: #e5e7e0;
}
ul li, ol li {
  margin-bottom: 6px;
}
ul li:last-child, ol li:last-child { margin-bottom: 0; }
h1:last-child, h2:last-child, h3:last-child, h4:last-child, p:last-child { margin-bottom: 0; }
.text-section {
  display: flex;
  flex-direction: column;
  gap: 9px;
  line-height: 1.7;
}
.text-section ul, .text-section ol {
  margin-left: 1rem;
  margin-bottom: 0.8rem;
}
.text-section a {
  color: #6BBF59;
  text-decoration: underline;
  font-weight: 600;
}
.text-section a:hover {
  color: #F4F7F3;
  background: #206841;
  border-radius: 3px;
  text-decoration: none;
  padding: 1px 5px;
}

/* SPACING FOR SECTION */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 540px) {
  section {
    padding: 30px 6px;
  }
}

/* MICRO ANIMATIONS */
.btn-primary, .main-nav a, .mobile-nav a {
  transition: background 0.22s, color 0.18s, box-shadow 0.20s, border-color 0.18s;
}
.cta, .feature-item, .testimonial-card, .card {
  transition: box-shadow 0.18s, border-color 0.19s;
}

/* SELECTION COLORS */
::selection { background: #206841; color: #F4F7F3; }

/* FOCUS STATES */
:focus {
  outline: 2.5px dashed #6BBF59;
  outline-offset: 3px;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #2e3430;
  color: #F4F7F3;
  box-shadow: 0 -2px 12px rgba(34,34,33,0.12);
  z-index: 1950;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 22px 32px;
  gap: 34px;
  border-top: 2.5px solid #6BBF59;
  font-size: 0.99rem;
  animation: cb-fade-in 0.38s both;
}
@keyframes cb-fade-in {
  from { opacity: 0; transform: translateY(45px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-banner .cookie-banner-text {
  max-width: 610px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-btn {
  padding: 10px 22px;
  background: #232825;
  color: #F4F7F3;
  border: none;
  border-radius: 7px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  margin-left: 0;
  transition: background 0.16s, color 0.13s;
  border: 1.5px solid #232825;
}
.cookie-btn.accept {
  background: #6BBF59;
  color: #171c1b;
  border-color: #6BBF59;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #206841;
  color: #F4F7F3;
}
.cookie-btn.settings {
  background: #232825;
  color: #F4F7F3;
  border-color: #6BBF59;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #363d38;
  color: #6BBF59;
}
.cookie-btn.reject {
  background: #232825;
  color: #e36981;
  border-color: #ba3557;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #311b20;
  color: #F4F7F3;
  border-color: #e36981;
}

@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
    padding: 15px 7px;
    font-size: 0.95rem;
  }
  .cookie-banner .cookie-actions {
    gap: 7px;
    flex-direction: row;
    flex-wrap: wrap;
  }
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 2050;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(27, 30, 28, 0.86);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modal-fade-in 0.3s both;
}
@keyframes modal-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #232825;
  border-radius: 20px;
  padding: 32px 24px 26px 24px;
  max-width: 530px;
  width: calc(100vw - 30px);
  color: #F4F7F3;
  box-shadow: 0 10px 44px rgba(31,40,38,0.28);
  display: flex;
  flex-direction: column;
  gap: 26px;
  position: relative;
  font-size: 1.07rem;
  border: 2px solid #6BBF59;
  animation: modal-content-bounce 0.32s cubic-bezier(0.4, 0.85, 0.6, 1.12);
}
@keyframes modal-content-bounce {
  0% {transform: scale(0.98);}
  60% {transform: scale(1.025);}
  100% {transform: scale(1.0);}
}

.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 15px; right: 17px;
  background: transparent;
  border: none;
  color: #F4F7F3;
  font-size: 2.1rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 8px;
  transition: background 0.09s, color 0.14s;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  background: #206841;
  color: #F4F7F3;
}
.cookie-modal h2 {
  color: #6BBF59;
  font-size: 1.5rem;
  margin-bottom: 6px;
}
.cookie-modal .cookie-modal-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding: 12px 0 3px 0;
  border-bottom: 1px solid #323733;
  font-size: 1.07rem;
}
.cookie-modal .cookie-modal-category:last-child {
  margin-bottom: 0;
  border-bottom: none;
}
.cookie-modal label {
  font-weight: 700;
  letter-spacing: 0.01em;
}
.cookie-toggle {
  accent-color: #6BBF59;
  width: 24px;
  height: 24px;
}
.cookie-modal .cookie-btn {
  margin-top: 17px;
}
@media (max-width: 480px) {
  .cookie-modal {
    padding: 16px 5px 16px 5px;
    font-size: 0.99rem;
  }
  .cookie-modal h2 {
    font-size: 1.12rem;
  }
}

/* INDUSTRIAL DECORATIVE ACCENTS */
.feature-item, .card, .testimonial-card, .cta, header, footer {
  border-style: solid;
  border-width: 0 0 2.5px 0;
  border-image: linear-gradient(to right,#232e23,#3d3d3d 15%,#4E544F 60%,#206841 90%) 15;
}

/* METALLIC ACCENTS FOR ICONS & LINES */
hr {
  border: none;
  height: 2px;
  background: linear-gradient(90deg,#38413c 0%, #6BBF59 100%);
  margin: 20px 0 25px 0;
  border-radius: 2px;
}

/* INDUSTRIAL MODERN BUTTON EFFECTS */
.btn-primary,
.cookie-btn {
  box-shadow: 0 2px 7px rgba(20, 24, 22, 0.15), 0 0.5px 0 #aac692 inset;
  border: 1.8px solid #232825;
  text-shadow: 0 1px 1px #24663224;
  background-image: linear-gradient(120deg,rgba(78,84,79,0.09) 0 40%,rgba(165,204,181,0.01) 55%,rgba(165,204,181,0.06) 100%);
}
.btn-primary:active, .cookie-btn:active {
  transform: translateY(2px) scale(0.984);
  box-shadow: 0 0.5px 3px rgba(20, 24, 22, 0.11) inset;
}

/* INDUSTRIAL FONT STYLING */
h1, h2, h3, h4 {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-family: 'Montserrat', Arial Black, Impact, Arial, sans-serif;
  font-weight: 800;
}
p, li, .text-section {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* SPACING & WHITE SPACE */
section, .section {
  margin-bottom: 60px !important;
  padding: 40px 20px !important;
}
.card, .testimonial-card, .feature-item {
  margin-bottom: 20px !important;
}
.card-container, .content-grid, .feature-grid, .feature-item {
  gap: 20px !important;
}
.text-image-section {
  gap: 30px !important;
  align-items: center !important;
}
.testimonial-card {
  gap: 20px !important;
  padding: 20px !important;
}
.feature-item {
  gap: 15px !important;
  align-items: flex-start !important;
}

/* ADDITIONAL TABLET & MOBILE TWEAKS */
@media (max-width: 480px) {
  h1 { font-size: 1.34rem; }
  h2 { font-size: 1.09rem; }
  h3 { font-size: 1rem; }
  .btn-primary, .cookie-btn { padding: 10px 8px; font-size: 0.96rem; }
  table th, table td { font-size: 0.96rem; padding: 8px 4px; }
}

/* HIDE SCROLL FOR MOBILE MENU WHEN OPEN */
body.mobile-menu-open {
  overflow: hidden;
}
