/* 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,
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-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #fff;
  color: #161616;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: #161616;
  background: transparent;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #2A5730;
  outline: none;
}
ul, ol {
  padding-left: 1.2em;
}
li {
  margin-bottom: 12px;
}
img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #161616;
  margin-bottom: 16px;
  font-weight: 700;
}
h1 {
  font-size: 2.2rem;
  line-height: 1.13;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.6rem;
  line-height: 1.15;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.1rem;
}
p, blockquote {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 14px;
  color: #222;
}
blockquote {
  font-style: italic;
  color: #333;
  border-left: 4px solid #161616;
  padding-left: 16px;
}
strong, b {
  font-weight: 600;
  color: #161616;
}

/* CONTAINERS & SECTIONS */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 8px 24px 0 rgba(34,34,34,0.09);
}
.section:last-child {
  margin-bottom: 0;
}

/* ALIGNMENTS & FLEXBOX LAYOUTS */
.card-container, .feature-grid, .card-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: stretch;
}
.card {
  background: #fafafc;
  border-radius: 18px;
  box-shadow: 0 2px 10px 0 rgba(22,22,22,0.07);
  margin-bottom: 20px;
  transition: box-shadow .2s, transform .2s;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 18px;
  min-width: 280px;
  max-width: 340px;
  flex: 1 1 280px;
}
.card:hover {
  box-shadow: 0 8px 26px 0 rgba(34,34,34,0.15);
  transform: translateY(-4px);
}
.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: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 10px 0 rgba(34,34,34,0.08);
  margin-bottom: 20px;
  flex-direction: column;
  border-left: 6px solid #161616;
  min-width: 260px;
  max-width: 540px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HEADER, NAVIGATION & LOGO */
header {
  background: #fff;
  width: 100%;
  box-shadow: 0 4px 16px 0 rgba(0,0,0,0.07);
  position: sticky;
  top: 0;
  z-index: 1400;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 8px 20px;
  min-height: 64px;
}
header nav > a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #161616;
  opacity: .93;
  border-radius: 8px;
  padding: 8px 12px;
  transition: background .18s, color .18s;
  display: flex;
  align-items: center;
}
header nav > a:hover, header nav > a:focus {
  background: #161616;
  color: #fff;
}
header nav > a.cta-primary {
  background: #161616;
  color: #fff;
  font-weight: 700;
  border-radius: 12px;
  margin-left: auto;
  padding: 10px 26px;
  box-shadow: 0 2px 8px rgba(44,44,44,0.10);
  transition: background .19s, color .19s;
}
header nav > a.cta-primary:hover, header nav > a.cta-primary:focus {
  background: #2A5730;
  color: #fff;
}
header nav img {
  height: 36px;
  width: auto;
  margin-right: 10px;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: #fff;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: #161616;
  padding: 6px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background .15s, color .15s;
  z-index: 1501;
}
.mobile-menu-toggle:focus {
  background: #2A5730;
  color: #fff;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(22,22,22,0.97);
  z-index: 1500;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px 20px 20px 20px;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.77,0,.18,1);
  overflow-y: auto;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.2rem;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  margin-bottom: 18px;
  transition: color .15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #2A5730;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  color: #fff;
  padding: 14px 0;
  border-radius: 8px;
  transition: background .18s, color .18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #2A5730;
  color: #fff;
}

@media (max-width: 992px) {
  header nav {
    gap: 10px;
    padding: 8px 12px;
  }
  .container {
    max-width: 97vw;
    padding: 0 10px;
  }
  .content-wrapper {
    padding: 0;
  }
  .section {
    padding: 32px 8px;
    margin-bottom: 38px;
  }
}
@media (max-width: 800px) {
  .feature-grid,
  .content-grid {
    gap: 14px;
  }
  .testimonial-card {
    padding: 16px;
    max-width: 98vw;
  }
}
@media (max-width: 768px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    top: 16px;
    right: 20px;
  }
  .mobile-menu {
    display: flex;
    padding-top: 40px;
  }
  .feature-grid,
  .content-grid,
  .card-container {
    flex-direction: column;
    gap: 12px;
  }
  .section { padding: 18px 4px; margin-bottom: 34px; }
  .card { min-width: unset; max-width: 100%; }
  .testimonial-card { min-width: 0; }
  .text-image-section { flex-direction: column; gap: 16px; }
  .card { padding: 16px 8px; }
  footer nav { flex-direction: column; gap: 8px; align-items: center; }
}

/* MAIN ELEMENTS */
main {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  z-index: 10;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}
.feature-grid > div {
  display: flex;
  flex-direction: column;
  background: #f8f9fa;
  border-radius: 16px;
  box-shadow: 0 2px 8px 0 rgba(34,34,34,0.07);
  padding: 22px 14px 18px 14px;
  align-items: flex-start;
  min-width: 220px;
  flex: 1 1 200px;
  transition: box-shadow .16s, transform .16s;
  margin-bottom: 8px;
}
.feature-grid > div:hover {
  box-shadow: 0 4px 18px 0 rgba(30,30,30,0.13);
  transform: translateY(-2px) scale(1.01);
}
.feature-grid img {
  height: 40px;
  width: 40px;
  margin-bottom: 10px;
  filter: grayscale(100%);
  opacity: 0.92;
}
ul li img {
  height: 22px;
  width: 22px;
  vertical-align: middle;
  margin-right: 8px;
  filter: grayscale(100%);
  opacity: .9;
}

/* BUTTONS & CALLS TO ACTION */
.cta-primary {
  background: #161616;
  color: #fff !important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  padding: 13px 32px;
  border-radius: 22px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(20,20,20,0.10);
  border: none;
  margin-top: 16px;
  transition: background .19s, color .18s, box-shadow .18s, transform .18s;
  cursor: pointer;
  display: inline-block;
}
.cta-primary:hover, .cta-primary:focus {
  background: #2A5730;
  color: #fff;
  box-shadow: 0 4px 16px rgba(30,30,30,0.14);
  transform: translateY(-2px) scale(1.01);
}

button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: .97rem;
  border: none;
  border-radius: 14px;
  padding: 11px 26px;
  background: #161616;
  color: #fff;
  box-shadow: 0 2px 8px rgba(20,20,20,0.07);
  transition: background .19s, color .16s, box-shadow .16s, transform .16s;
  cursor: pointer;
}
button:hover, button:focus {
  background: #2A5730;
  color: #fff;
  transform: translateY(-1.5px) scale(1.007);
  box-shadow: 0 4px 12px 0 rgba(30,30,30,0.11);
}
.btn-secondary {
  background: #f4f4f4;
  color: #222;
  border: 1.5px solid #222;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #ddd;
  color: #161616;
}

/* TESTIMONIALS */
.testimonial-card {
  background: #fff;
  color: #161616;
  border-left: 6px solid #161616;
  box-shadow: 0 4px 18px 0 rgba(44,44,44,0.11);
  font-size: 1.05rem;
}
.testimonial-card blockquote {
  color: #222;
  font-style: italic;
  font-size: 1.11rem;
  border-left: none;
  padding-left: 0;
  margin-bottom: 10px;
}

/* FORMS (if present) */
input, textarea, select {
  background: #fcfcfc;
  color: #222;
  border: 1px solid #c0c0c0;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 1rem;
  margin-bottom: 14px;
  width: 100%;
  font-family: 'Roboto', Arial, sans-serif;
  box-sizing: border-box;
  transition: border .18s, box-shadow .14s;
}
input:focus, textarea:focus, select:focus {
  border-color: #2A5730;
  outline: none;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(42,87,48,0.07);
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #161616;
  font-weight: 500;
  margin-bottom: 6px;
}

/* FOOTER */
footer {
  background: #1b1b1b;
  color: #f7f7f7;
  padding: 34px 6vw 16px 6vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-top: 4px solid #161616;
  z-index: 100;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 10px;
}
footer nav a {
  color: #e2e2e2;
  font-size: 1rem;
  padding: 6px 10px;
  border-radius: 7px;
  transition: color .13s, background .13s;
  font-family: 'Montserrat', Arial, sans-serif;
}
footer nav a:hover, footer nav a:focus {
  color: #fff;
  background: #161616;
}
footer p {
  font-size: 0.97rem;
  opacity: .88;
  margin-top: 6px;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #222;
  color: #f6f6f6;
  width: 100vw;
  box-shadow: 0 -2px 16px 0 rgba(22,22,22,0.13);
  padding: 21px 14px 21px 14px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  z-index: 2000;
  font-size: 1.03rem;
  opacity: 1;
  transition: opacity .25s, transform .25s;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner__text {
  flex: 1 1 380px;
  margin-bottom: 0;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-banner button {
  font-size: 1rem;
  border-radius: 12px;
  padding: 9px 24px;
  background: #161616;
  color: #fff;
  border: none;
  margin-left: 0;
}
.cookie-banner button.accept {
  background: #2A5730;
  color: #fff;
}
.cookie-banner button.reject {
  background: #222;
  color: #fff;
  border: 1.5px solid #555;
}
.cookie-banner button.settings {
  background: #fafafa;
  color: #222;
  border: 1.5px solid #161616;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  box-shadow: 0 2px 10px 0 rgba(42,87,48,0.16);
  background: #2A5730;
  color: #fff;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(22,22,22,0.77);
  z-index: 2010;
  display: none;
  justify-content: center;
  align-items: center;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  color: #161616;
  border-radius: 18px;
  box-shadow: 0 6px 28px 0 rgba(0,0,0,0.20);
  padding: 36px 22px 28px 22px;
  width: 95vw;
  max-width: 420px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: fadeInCookie .33s cubic-bezier(.77,0,.18,1);
}
@keyframes fadeInCookie { from { opacity: 0; transform: scale(.97);} to { opacity: 1; transform: scale(1);} }

.cookie-modal h2 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.cookie-modal .cookie-category-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #f7f7f7;
  border-radius: 9px;
  padding: 11px 14px;
}
.cookie-category label {
  font-size: 1rem;
  color: #161616;
  margin: 0;
}
.cookie-category input[type='checkbox'] {
  accent-color: #2A5730;
  width: 18px;
  height: 18px;
}
.cookie-category input[disabled] {
  filter: grayscale(90%);
  opacity: .7;
  pointer-events: none;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 9px; right: 16px;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #2A5730;
  cursor: pointer;
  z-index: 2;
  padding: 2px 7px;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  color: #161616;
}

@media (max-width: 540px) {
  .cookie-modal {
    padding: 12vw 6vw 10vw 7vw;
    min-width: 0;
  }
  .cookie-modal h2 { font-size: 1.09rem; }
}
@media (max-width: 800px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 7px 14px 7px;
    font-size: .94rem;
  }
  .cookie-banner__actions {
    flex-direction: row;
    gap: 10px;
    width: 100%;
    align-items: center;
    justify-content: flex-end;
  }
}

/* SCROLLBARS & SELECTION */
::-webkit-scrollbar {
  width: 11px;
  background: #ececec;
}
::-webkit-scrollbar-thumb {
  background: #d4d4d4;
  border-radius: 7px;
}
::selection {
  background: #2A5730;
  color: #fff;
}

/* MICRO-INTERACTIONS & ANIMATION (for subtle pop) */
.cta-primary, .card, .feature-grid > div, .testimonial-card {
  transition: box-shadow .19s, transform .16s, background .16s, color .16s;
}

/* ACCESSIBILITY - FOCUS STYLES */
a:focus, button:focus, input:focus, .cta-primary:focus {
  outline: 2px solid #2A5730 !important;
  outline-offset: 3px;
  z-index: 10;
}

/* SPACING UTILITY CLASSES */
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }
.pt-24 { padding-top: 24px; }
.pb-24 { padding-bottom: 24px; }

/* Z-INDEX LAYERING ENSURE */
header, .mobile-menu, .cookie-banner, .cookie-modal-overlay, .cookie-modal {
  z-index: 1400;
}

/* DARK MODE SUPPORT (Monochrome Sophisticated)*/
@media (prefers-color-scheme: dark) {
 body {
    background: #131313;
    color: #eee;
  }
  .section, .card, .content-wrapper, .feature-grid > div, .testimonial-card {
    background: #191919 !important;
    color: #eee;
    box-shadow: 0 8px 28px 0 rgba(0,0,0,0.20);
  }
  nav, header, footer {
    background: #111;
    color: #f0f0f0;
  }
  a, footer nav a { color: #89B678; }
  a:hover, a:focus, .cta-primary, .cta-primary:hover { color: #fff; background: #2A5730; }
  .cookie-banner { background: #222; color: #fff; }
  .cookie-modal { background: #181818; color: #f7f7f7; }
}

/* --- END --- */
