/* CSS RESET & NORMALIZATION */
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 {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.6;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F3F8F2;
  color: #2C2C2C;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* FONT IMPORTS */
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

/* BRAND COLORS */
:root {
  --primary: #2C5D3F;
  --secondary: #FFFFFF;
  --accent: #4B9632;
  --gold: #C6A665;
  --bg-light: #F3F8F2;
  --bg-dark: #1B2620;
  --text-default: #2C2C2C;
  --text-light: #FFF;
  --border-light: #E3E3E0;
  --shadow: 0 4px 24px 0 rgba(44,93,63,0.09);
  --radius-base: 16px;
  --radius-btn: 32px;
}

/* TYPOGRAPHY SCALE */
h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.16;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
}
p, li, td, th, input, textarea {
  font-size: 1rem;
  color: var(--text-default);
}
strong {
  font-weight: 700;
  color: var(--primary);
}
small {
  font-size: 0.88rem;
}
a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: var(--gold);
  outline: none;
}

/* CONTAINER & WRAPPER */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  margin: 0 auto;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--secondary);
  border-radius: var(--radius-base);
  box-shadow: var(--shadow);
}

.text-section {
  max-width: 800px;
  margin: 0 auto;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--secondary);
  border-radius: var(--radius-base);
  box-shadow: var(--shadow);
  padding: 32px 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 260px;
  transition: box-shadow 0.25s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(44,93,63,0.18);
  transform: translateY(-2px) scale(1.02);
}

.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: flex-start;
  gap: 20px;
  padding: 20px 24px;
  margin-bottom: 20px;
  background: var(--secondary);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-base);
  box-shadow: var(--shadow);
  max-width: 540px;
  transition: box-shadow 0.25s;
}
.testimonial-card p {
  font-size: 1.15rem;
  font-style: italic;
  color: #222;
}
.testimonial-card strong {
  color: var(--primary);
  font-size: 1rem;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px 0 rgba(198,166,101,0.16);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* HERO SECTIONS */
.hero {
  background: linear-gradient(100deg, var(--secondary) 65%, #f9f6ec 100%);
  border-radius: 0 0 40px 40px;
  box-shadow: 0 2px 32px 0 rgba(44,93,63,0.13);
  margin-bottom: 48px;
  padding-top: 36px;
  padding-bottom: 36px;
}
.hero h1 {
  color: var(--primary);
  margin-bottom: 18px;
  font-size: 2.4rem;
}
.hero p {
  font-size: 1.18rem;
  margin-bottom: 28px;
  color: #444;
  max-width: 600px;
}

/* CTA BUTTONS */
.cta {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 14px 36px;
  min-width: 168px;
  background: var(--primary);
  color: var(--text-light);
  border: none;
  border-radius: var(--radius-btn);
  text-align: center;
  cursor: pointer;
  box-shadow: 0 2px 16px 0 rgba(44,93,63,0.07);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.16s;
  outline: none;
  margin-right: 16px;
}
.cta.primary {
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--gold);
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--gold);
  color: var(--primary);
  box-shadow: 0 6px 24px 0 rgba(198,166,101,0.19);
  transform: translateY(-1px) scale(1.02);
}
.cta.secondary {
  background: var(--secondary);
  color: var(--primary);
  border: 2px solid var(--primary);
}

/* HEADER NAVIGATION */
header {
  background: var(--secondary);
  border-bottom: 1px solid var(--border-light);
  padding-top: 8px;
  padding-bottom: 8px;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  min-height: 72px;
  position: relative;
}
.brand-logo {
  display: flex;
  align-items: center;
  margin-right: 12px;
  min-width: 130px;
}
.brand-logo img {
  height: 48px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: var(--primary);
  font-size: 1rem;
  padding: 6px 14px;
  border-radius: 20px;
  position: relative;
  transition: background 0.17s, color 0.17s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--gold);
  color: #fff;
}

header .cta.primary {
  margin: 0 10px 0 32px;
  font-size: 1rem;
}

.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--primary);
  cursor: pointer;
  display: none;
  position: relative;
  z-index: 101;
}

/* MOBILE NAVIGATION MENU */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(44,93,63,0.98);
  z-index: 200;
  flex-direction: column;
  padding-top: 40px;
  overflow-y: auto;
  transform: translateX(-100vw);
  transition: transform 0.3s cubic-bezier(.77,0,.175,1);
}
.mobile-menu.active {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  position: absolute;
  top: 24px;
  right: 32px;
  cursor: pointer;
  z-index: 210;
  transition: color 0.14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--gold);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 64px;
  padding-left: 32px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.45rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 0;
  transition: color 0.2s;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--gold);
}

/* CTA BAR */
.cta-bar {
  background: linear-gradient(100deg,var(--primary) 65%,var(--gold) 100%);
  color: var(--text-light);
  padding-top: 32px;
  padding-bottom: 32px;
  border-radius: 24px;
  box-shadow: var(--shadow);
  margin: 48px 0 0 0;
}
.cta-bar h2, .cta-bar .cta {
  color: #fff;
}

.cta-bar .cta {
  background: var(--gold);
  color: var(--primary);
}
.cta-bar .cta:hover, .cta-bar .cta:focus {
  background: var(--secondary);
  color: var(--primary);
  border: 2px solid var(--primary);
}

/* SERVICE/POST/COMPARISON GRIDS */
.service-grid, .post-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 32px 0 0 0;
}
.service-grid > div, .post-grid > article {
  background: var(--secondary);
  border-radius: var(--radius-base);
  box-shadow: var(--shadow);
  padding: 28px 20px;
  flex: 1 1 264px;
  min-width: 250px;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  position: relative;
  transition: box-shadow 0.24s, transform 0.15s;
  border-left: 6px solid var(--gold);
}
.service-grid > div img, .post-grid > article img {
  width: 48px;
  margin-bottom: 14px;
}
.service-grid > div:hover, .post-grid > article:hover {
  box-shadow: 0 12px 28px 0 rgba(39,73,57,0.17);
  transform: translateY(-5px) scale(1.03);
}

.comparison-chart {
  width: 100%;
  background: var(--secondary);
  border-radius: var(--radius-base);
  margin-top: 28px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
  border-collapse: collapse;
  overflow: hidden;
}
.comparison-chart th, .comparison-chart td {
  padding: 16px 18px;
  text-align: left;
  font-size: 1rem;
  border-bottom: 1px solid var(--border-light);
}
.comparison-chart th {
  background: var(--primary);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
.comparison-chart tr:last-child td {
  border-bottom: none;
}

/* CATEGORY MENU */
.categories-menu {
  display: flex;
  gap: 18px;
  margin-top: 12px;
  margin-bottom: 22px;
}
.categories-menu a {
  padding: 7px 20px;
  border-radius: 20px;
  background: var(--secondary);
  color: var(--primary);
  border: 1px solid var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  transition: background 0.14s, color 0.14s;
  font-size: 1rem;
}
.categories-menu a:hover, .categories-menu a:focus {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}

/* FORMS */
form {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 18px;
  margin-bottom: 12px;
}
input[type="email"] {
  padding: 12px 16px;
  border-radius: 25px;
  border: 1.5px solid var(--primary);
  font-size: 1.04rem;
  background: #fff;
  color: var(--primary);
  font-family: 'Open Sans', Arial, sans-serif;
  transition: border 0.14s;
}
input[type="email"]:focus {
  border: 1.5px solid var(--gold);
  outline: none;
}
button[type="submit"], button.cta {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-btn);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 12px 30px;
  cursor: pointer;
  transition: background 0.18s, color 0.16s, transform 0.12s;
}
button[type="submit"]:hover, button.cta:hover {
  background: var(--gold);
  color: var(--primary);
  transform: scale(1.02);
}

/* FOOTER */
footer {
  background: var(--primary);
  color: #fff;
  padding: 54px 0 26px 0;
  border-radius: 36px 36px 0 0;
  margin-top: 28px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-nav, .footer-social, .legal-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a, .legal-links a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  font-size: 1rem;
  opacity: 0.92;
  transition: color 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus,
.legal-links a:hover, .legal-links a:focus {
  color: var(--gold);
  text-decoration: underline;
}
.footer-contact {
  font-size: 0.98rem;
  color: #e9e9e9;
  display: flex;
  flex-direction: column;
  gap: 7px;
  line-height: 1.5;
}
.footer-contact img {
  width: 18px;
  vertical-align: middle;
  margin-right: 7px;
}
.footer-social {
  flex-direction: row;
  gap: 15px;
  align-items: center;
}
.footer-social a img {
  width: 28px;
  height: 28px;
  transition: filter 0.13s;
  filter: grayscale(0.2) brightness(1.16);
}
.footer-social a:hover img, .footer-social a:focus img {
  filter: grayscale(0) brightness(1.2) drop-shadow(0 0 5px var(--gold));
}
.legal-links {
  margin-top: 12px;
  flex-direction: row;
  gap: 18px;
  flex-wrap: wrap;
  opacity: 0.85;
}

/* LISTS, ICON LISTS */
ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 6px;
}
li {
  margin-bottom: 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
}
li img {
  width: 26px;
  height: 26px;
  margin-right: 7px;
  flex-shrink: 0;
  vertical-align: middle;
}
ol {
  list-style: decimal inside;
  margin: 15px 0 18px 0;
  padding-left: 20px;
}

/* IMPACT-STATS & STATS */
.impact-stats {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 24px 26px;
  margin-bottom: 32px;
}
.impact-stats ul {
  gap: 10px;
}
.impact-stats li img {
  width: 24px;
  height: 24px;
}

/* GOLD ACCENTS */
hr, th, .cta-bar, .testimonial-card, .service-grid > div, .card {
  border-color: var(--gold) !important;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 9999;
  background: #fffbe6;
  color: #2C2C2C;
  box-shadow: 0 -6px 24px 0 rgba(44,93,63,0.12);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 30px;
  font-size: 1rem;
  border-top: 3px solid var(--gold);
  animation: fadeInCookie 0.38s ease;
}
@keyframes fadeInCookie {
  from { opacity: 0; transform: translateY(120%); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-banner button {
  padding: 10px 20px;
  border-radius: 20px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.13s, color 0.14s;
}
.cookie-banner .accept {
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--gold);
}
.cookie-banner .accept:hover {
  background: var(--gold);
  color: var(--primary);
}
.cookie-banner .reject {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.cookie-banner .reject:hover {
  background: var(--primary);
  color: #fff;
}
.cookie-banner .settings {
  background: var(--gold);
  color: #fff;
  border: 2px solid var(--gold);
}
.cookie-banner .settings:hover {
  background: #fff;
  color: var(--gold);
}

/* COOKIE MODAL */
.cookie-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(44,93,63,0.85);
  align-items: center;
  justify-content: center;
  animation: fadeInCookieModal 0.38s;
}
.cookie-modal.active {
  display: flex;
}
@keyframes fadeInCookieModal {
  from {opacity: 0;} to {opacity: 1;}
}
.cookie-modal .cookie-modal-content {
  background: #fff;
  border-radius: 26px;
  max-width: 420px;
  padding: 38px 32px 28px 32px;
  box-shadow: 0 12px 48px 0 rgba(44,93,63,0.23);
  position: relative;
  animation: slideUpModal 0.38s;
  min-width: 320px;
}
@keyframes slideUpModal {
  from {transform: translateY(60px); opacity: 0;} to {transform: translateY(0); opacity: 1;}
}
.cookie-modal .modal-title {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-size: 1.26rem;
  font-weight: 700;
  margin-bottom: 18px;
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  top: 18px;
  right: 24px;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 1.6rem;
  cursor: pointer;
  transition: color 0.15s;
}
.cookie-modal .close-cookie-modal:hover {
  color: var(--gold);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 10px;
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-category label {
  font-size: 1rem;
  color: var(--primary);
  flex: 1 1 auto;
  font-family: 'Open Sans', Arial, sans-serif;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--gold);
  width: 20px;
  height: 20px;
}
.cookie-category.essential label {
  opacity: 0.68;
}
.cookie-modal .modal-actions {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.cookie-modal .modal-actions button {
  border-radius: var(--radius-btn);
  padding: 9px 20px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  cursor: pointer;
}
.cookie-modal .modal-actions .accept {
  background: var(--gold);
  color: var(--primary);
}
.cookie-modal .modal-actions .reject {
  background: var(--primary);
  color: #fff;
}

/* ANIMATIONS */
.cta, .cta.primary, .cta.secondary,
button.cta, .card, .service-grid > div, .post-grid > article,
.testimonial-card {
  transition: box-shadow 0.22s, transform 0.13s, background 0.17s, color 0.17s;
}
input, textarea {
  transition: border 0.18s, box-shadow 0.18s;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1100px) {
  .container {
    max-width: 98vw;
  }
  .service-grid, .post-grid, .content-grid {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .service-grid > div, .post-grid > article, .card {
    min-width: 210px;
    max-width: 100%;
  }
  .hero {
    padding-top: 24px;
    padding-bottom: 26px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.32rem; }
  .hero h1 { font-size: 1.33rem; }
  .container { padding: 0 10px; }
  .content-wrapper, .footer .content-wrapper {
    gap: 16px;
  }
    header .cta.primary {
      display: none;
    }
  .footer-nav, .legal-links {
    flex-direction: column;
    gap: 7px;
  }
  .footer-social { gap: 10px; }
  .footer-contact { font-size: 0.92rem; }
  .service-grid, .post-grid {
    flex-direction: column;
    gap: 14px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .testimonial-card {
    max-width: 100vw;
  }
  .content-grid,.card-container, .footer .content-wrapper {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
}
@media (max-width: 500px) {
  html { font-size: 15px; } 
  .section {
    margin-bottom: 32px;
    padding: 20px 4px;
  }
  .hero {
    padding: 16px 0 24px 0;
    margin-bottom: 20px;
  }
  .card, .testimonial-card {
    padding: 16px 8px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 10px;
    font-size: 0.98rem;
  }
  .cookie-modal .cookie-modal-content {
    padding: 18px 12px 18px 12px;
    min-width: unset;
    max-width: 98vw;
  }
}

/* ACCESSIBILITY HIGHLIGHTS */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

::-webkit-input-placeholder { color: #888; opacity:1; }
::-moz-placeholder { color: #888; opacity:1; }
:-ms-input-placeholder { color: #888; opacity:1; }
::placeholder { color: #888; opacity:1; }


/* ========== MANDATORY FLEXBOX PATTERNS ENFORCEMENT ========== */
/* All layouts use flexbox only! Ensure NO display: grid anywhere. */
