/* ===================================================
   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, 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, 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 {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
}
a {
  background-color: transparent;
  color: inherit;
  text-decoration: none;
}
*, *:before, *:after {
  box-sizing: border-box;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  background: none;
  border: none;
  outline: none;
}
button {
  cursor: pointer;
}

/* ===================================================
   Fonts (using system fallback if web font not loaded)
=================================================== */
body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #fff;
  color: #212121;
  font-size: 16px;
  letter-spacing: 0.01em;
  font-weight: 400;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', 'Times New Roman', Times, serif;
  font-weight: 700;
  color: #111;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  letter-spacing: -1px;
  line-height: 1.13;
}
h2 {
  font-size: 1.75rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: #262626;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
p, ul, ol {
  color: #333;
  margin-bottom: 12px;
  line-height: 1.6;
}
p.subtitle {
  font-size: 1.2rem;
  color: #444;
  margin-bottom: 18px;
  font-style: italic;
}
strong {
  font-weight: bold;
}

/* ===================================================
   Color Palette — Monochrome Sophisticated + Brand
=================================================== */
:root {
  --color-black: #131313;
  --color-dark: #222;
  --color-gray-900: #333;
  --color-gray-700: #555;
  --color-gray-400: #bbb;
  --color-gray-200: #e8e8e8;
  --color-white: #fff;
  --color-primary: #131613;
  --color-secondary: #688A6D;
  --color-accent: #f3efe7;
  --brand-dark-green: #28523B;
}

body {
  background: var(--color-white);
  color: var(--color-black);
}

/* ===================================================
   Layout Structure
=================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-white);
}

@media (max-width: 768px) {
  .section {
    padding: 28px 10px;
    margin-bottom: 40px;
  }
}

/* ===================================================
   Header & Navigation
=================================================== */
header {
  background: var(--color-white);
  box-shadow: 0 2px 14px rgba(63, 63, 63, 0.09);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0 16px 0;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}
.logo img {
  height: 40px;
  transition: filter 0.2s;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #262626;
  padding: 4px 10px;
  position: relative;
  transition: color 0.18s;
  border-radius: 5px;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--brand-dark-green);
  background: #eaeaea;
  outline: none;
}
.button-primary, .button-secondary {
  display: inline-block;
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-radius: 24px;
  padding: 12px 32px;
  font-size: 1.1rem;
  border: none;
  transition: box-shadow 0.19s, background 0.19s, color 0.19s, border 0.19s;
  box-shadow: 0 3px 10px rgba(50,50,50,0.10);
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}
.button-primary {
  background: var(--brand-dark-green);
  color: var(--color-white);
  border: 2px solid transparent;
}
.button-primary:hover, .button-primary:focus {
  background: var(--color-white);
  border: 2px solid var(--brand-dark-green);
  color: var(--brand-dark-green);
}
.button-secondary {
  background: var(--color-accent);
  color: var(--brand-dark-green);
  border: 2px solid var(--brand-dark-green);
}
.button-secondary:hover, .button-secondary:focus {
  background: var(--brand-dark-green);
  color: var(--color-white);
  border: 2px solid var(--brand-dark-green);
}

/* Hamburger (Mobile) Menu Button */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: var(--brand-dark-green);
  background: transparent;
  border: none;
  padding: 8px 16px;
  z-index: 210;
  position: absolute;
  right: 0;
  top: 8px;
  border-radius: 6px;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #f6f6f6;
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-white);
  z-index: 250;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px 0 0 0;
  transform: translateX(100vw);
  transition: transform 0.32s cubic-bezier(.7,.04,.32,1);
  box-shadow: -8px 0 32px rgba(0,0,0,0.13);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin-right: 32px;
  margin-bottom: 18px;
  font-size: 2.1rem;
  background: none;
  border: none;
  color: var(--brand-dark-green);
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 50%;
  transition: background 0.17s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #f0f0f0;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  align-items: flex-start;
  padding-left: 38px;
}
.mobile-nav a {
  font-family: 'Roboto Slab', serif;
  font-size: 1.22rem;
  color: var(--color-black);
  padding: 8px 0;
  transition: color 0.16s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: var(--brand-dark-green);
}

@media (max-width: 1050px) {
  .main-nav {
    gap: 17px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 10px;
    font-size: 0.98rem;
  }
}
@media (max-width: 900px) {
  .header-top {
    gap: 8px;
    padding-left: 12px;
    padding-right: 12px;
  }
}
@media (max-width: 768px) {
  .main-nav, .button-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    right: 12px;
    top: 2px;
  }
  .logo img {
    height: 36px;
  }
  .header-top {
    min-height: 57px;
    padding-top: 7px;
    padding-bottom: 7px;
  }
}

/* ===================================================
   Hero/Content Sections, Grids, and Pattern Classes
=================================================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-white);
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(60,60,60,0.07);
  overflow: hidden;
  transition: box-shadow 0.19s, transform 0.19s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 10px 32px rgba(39,51,45,0.15);
  transform: translateY(-3px) scale(1.01);
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.feature-list li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  flex: 1 1 180px;
  background: var(--color-accent);
  border-radius: 14px;
  box-shadow: 0 2px 7px rgba(40,40,40,0.03);
  padding: 24px 18px 20px 18px;
  min-width: 160px;
  max-width: 320px;
  position: relative;
  margin-bottom: 20px;
  transition: box-shadow 0.19s;
}
.feature-list li:hover,
.feature-list li:focus-within {
  box-shadow: 0 8px 20px rgba(55,55,55,0.12);
}
.feature-list img {
  height: 38px;
  width: 38px;
  margin-bottom: 6px;
}
.feature-list h3 {
  margin-bottom: 8px;
}

.team-section {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 12px;
}
.team-section > div {
  background: var(--color-accent);
  border-radius: 12px;
  padding: 22px 20px;
  min-width: 180px;
  flex: 1 1 220px;
  box-shadow: 0 2px 12px rgba(64,64,64,0.06);
  margin-bottom: 20px;
  color: #222;
}
.team-section strong {
  display: block;
  color: var(--brand-dark-green);
  font-size: 1.13em;
  margin-bottom: 3px;
}
.team-section span {
  display: block;
  margin-top: 5px;
  color: #4e4e45;
  font-size: 0.98em;
}

.value-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
}
.value-card {
  background: var(--color-white);
  border-radius: 14px;
  box-shadow: 0 2px 9px rgba(80,80,80,0.04);
  padding: 26px 20px;
  flex: 1 1 180px;
  min-width: 160px;
  max-width: 340px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s;
}
.value-card:hover {
  box-shadow: 0 6px 24px rgba(30,30,30,0.19);
}

.project-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.project-teaser {
  background: var(--color-white);
  border-radius: 14px;
  box-shadow: 0 2px 11px rgba(50,50,50,0.06);
  padding: 20px 18px;
  flex: 1 1 270px;
  min-width: 200px;
  max-width: 370px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s;
}
.project-teaser:hover { box-shadow: 0 5px 16px rgba(55,55,55,0.12); }

.highlight-blocks {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.highlight-item {
  background: var(--color-accent);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(90,90,90,0.08);
  padding: 22px 16px;
  flex: 1 1 180px;
  min-width: 160px;
  max-width: 295px;
  margin-bottom: 20px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-top: 18px;
}
.faq-item {
  background: var(--color-white);
  border: 1px solid #ececec;
  border-radius: 11px;
  box-shadow: 0 1px 5px rgba(91,91,91,.03);
  padding: 20px 18px;
}
.story-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 9px;
}
.story-card {
  background: var(--color-accent);
  border-radius: 13px;
  box-shadow: 0 2px 13px rgba(70, 70, 70, 0.06);
  padding: 22px 16px;
  flex: 1 1 270px;
  margin-bottom: 20px;
  min-width: 190px;
  max-width: 345px;
  position: relative;
}

.success-message {
  background: var(--color-accent);
  border-radius: 14px;
  padding: 20px;
  color: var(--brand-dark-green);
  margin-bottom: 18px;
  font-size: 1.1rem;
  font-weight: 500;
}

@media (max-width: 900px) {
  .card-container, .project-list, .content-grid, .value-cards,
  .team-section, .highlight-blocks, .feature-list, .story-cards {
    flex-wrap: wrap;
    flex-direction: column;
    gap: 16px;
  }
}


/* ===================================================
   Testimonials, Quote Cards
=================================================== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 20px;
  background: var(--color-accent);
  border-radius: 16px;
  box-shadow: 0 3px 18px rgba(44,44,44,0.09);
  margin-bottom: 20px;
  margin-top: 8px;
}
.testimonial-card blockquote {
  font-family: 'Roboto Slab', serif;
  font-size: 1.15rem;
  color: #232323;
  font-style: italic;
  text-align: left;
  margin-bottom: 7px;
}
.testimonial-meta {
  color: #606462;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-style: normal;
}
.star-rating {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-top: 6px;
  font-size: 0.98rem;
  color: var(--brand-dark-green);
  font-weight: bold;
}
.star-rating img {
  height: 20px;
  width: 20px;
  display: inline-block;
}

/* Ensures proper contrast for testimonials */
.testimonial-card {
  background: var(--color-accent);
  color: #232323;
}

/* ===================================================
   Footer Styles
=================================================== */
footer {
  background: var(--color-black);
  color: var(--color-white);
  font-size: 1rem;
  padding-top: 30px;
  margin-top: 70px;
}
.footer-main {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 28px 20px;
}
.footer-logo img {
  height: 55px;
  filter: brightness(0) invert(1);
}
.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-nav a {
  color: #e1e1e1;
  font-size: 1rem;
  padding: 3px 8px;
  border-radius: 5px;
  transition: color 0.16s, background 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-black);
  background: #cfcfcf;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.98rem;
  color: #d2d2d2;
}
.footer-contact img {
  height: 17px;
  width: 17px;
  vertical-align: middle;
  margin-right: 5px;
}
.footer-bottom {
  text-align: center;
  color: #8e8e8e;
  font-size: 0.93rem;
  padding: 15px 0 24px 0;
  background: none;
}
@media (max-width: 900px) {
  .footer-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 0 8px 22px 8px;
  }
  .footer-bottom {
    padding-left: 8px;
    padding-right: 8px;
  }
}

/* ===================================================
   Miscellaneous Content
=================================================== */
.text-section {
  margin-bottom: 16px;
}
.contact-information {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 24px;
  font-size: 1.07rem;
}
.contact-information img {
  height: 19px;
  width: 19px;
  vertical-align: middle;
  margin-right: 4px;
}

ul, ol {
  margin-bottom: 16px;
  padding-left: 22px;
}
ul li, ol li {
  margin-bottom: 9px;
  position: relative;
  color: #232323;
}
ul li::before {
  content: '\2022';
  color: var(--brand-dark-green);
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
  font-size: 1.1em;
}
ol li::before {
  content: '';
}

/* ===================================================
   Cookie Consent Banner
=================================================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #212121;
  color: #f4f4f4;
  width: 100vw;
  z-index: 4999;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: center;
  padding: 20px 16px 19px 16px;
  box-shadow: 0 -6px 32px rgba(30,30,30,0.19);
  font-size: 1.04rem;
  animation: cookie-fade-in 0.93s cubic-bezier(.42,.7,.51,1) forwards;
}
@keyframes cookie-fade-in {
  from { opacity: 0; transform: translateY(40px);}
  to   { opacity: 1; transform: translateY(0);}
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.button-accept, .button-reject, .button-settings {
  border-radius: 32px;
  padding: 10px 24px;
  font-size: 1rem;
  border: 2px solid transparent;
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  transition: background 0.17s, color 0.17s, border 0.18s;
  margin-left: 0;
}
.button-accept {
  background: var(--brand-dark-green);
  color: #fff;
  border: 2px solid var(--brand-dark-green);
}
.button-accept:hover, .button-accept:focus {
  background: #fff;
  color: var(--brand-dark-green);
}
.button-reject {
  background: #fff;
  color: var(--color-black);
  border: 2px solid #fff;
}
.button-reject:hover, .button-reject:focus {
  background: #bbb;
  color: #111;
  border: 2px solid #bbb;
}
.button-settings {
  background: transparent;
  color: #e0e0e0;
  border: 2px solid #444;
}
.button-settings:hover, .button-settings:focus {
  background: #111;
  color: #fff;
  border: 2px solid #fff;
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 5002;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(38,38,38,0.69);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: cookie-modal-in .4s cubic-bezier(.23,1.1,.32,1) forwards;
}
@keyframes cookie-modal-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: var(--color-white);
  color: var(--color-black);
  min-width: 310px;
  max-width: 98vw;
  border-radius: 18px;
  box-shadow: 0 8px 64px rgba(20,20,20,0.28);
  padding: 34px 28px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: cookie-popup-in .44s cubic-bezier(.53,1.2,.63,1) forwards;
}
@keyframes cookie-popup-in {
  from { transform: translateY(80px) scale(0.94); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 13px;
}
.cookie-category label {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 1.07rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--brand-dark-green);
  width: 18px; height: 18px;
}
.cookie-category .locked {
  color: #8c8c8c;
  font-size: 0.93rem;
  margin-left: 4px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 18px;
  margin-top: 10px;
}
.cookie-modal .button-primary, .cookie-modal .button-secondary {
  padding: 10px 22px;
  font-size: 1rem;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  right: 22px;
  top: 20px;
  background: transparent;
  border: none;
  font-size: 1.7rem;
  color: #777;
  cursor: pointer;
  z-index: 1;
  border-radius: 50%;
  width: 34px; height: 34px;
  text-align: center;
  transition: background 0.18s;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  background: #e9e9e9;
  color: #222;
}
@media (max-width: 480px) {
  .cookie-modal {
    min-width: 90vw;
    padding: 14px 10px 16px 12px;
  }
}

/* ===================================================
   Micro-interactions & Utility
=================================================== */
a, button {
  transition: color 0.16s, background 0.16s, border 0.16s, box-shadow 0.16s, transform 0.13s;
}
button:active, a:active {
  transform: scale(0.97);
}

::-webkit-input-placeholder { color: #bdbdbd; }
::-moz-placeholder { color: #bdbdbd; }
:-ms-input-placeholder { color: #bdbdbd; }
::placeholder { color: #bdbdbd; }

/* ===================================================
   Responsive Typography & Layout
=================================================== */
@media (max-width: 900px) {
  h1 { font-size: 2.05rem; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.1rem; }
}
@media (max-width: 768px) {
  h1 { font-size: 1.43rem; }
  h2 { font-size: 1.18rem; }
  h3 { font-size: 1.01rem; }
  .container { padding-left: 7px; padding-right: 7px; }
}

/* ===================================================
   Accessibility (Focus outline and contrast)
=================================================== */
:focus-visible {
  outline: 2px solid var(--brand-dark-green);
  outline-offset: 2px;
}

/* ===================================================
   Hide elements utility
=================================================== */
.hidden {
  display: none !important;
}

/* ===================================================
   DEPRECATED: No Grid Used (No grid-*)
=================================================== */

/* End of CSS */
