/* RESET & NORMALIZE (MOBILE-FIRST) */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Lato', Arial, sans-serif;
  color: #234E2F;
  background: #fff;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #FAF8F4;
  line-height: 1.7;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Lato', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0.01em;
  margin-bottom: 12px;
  color: #234E2F;
}
h1 {
  font-size: 2.2rem;
  margin-bottom: 18px;
  background: linear-gradient(90deg, #234E2F 60%, #7BA768 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
h2 {
  font-size: 1.6rem;
  margin-bottom: 16px;
  color: #234E2F;
  position: relative;
  display: inline-block;
}
h2:after {
  content: '';
  display: block;
  height: 3px;
  width: 48px;
  background: #7BA768;
  border-radius: 4px;
  margin-top: 4px;
}
h3 {
  font-size: 1.3rem;
  color: #234E2F;
  margin-bottom: 8px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
p, ul, ol {
  margin-bottom: 16px;
  font-size: 1rem;
}
ul, ol {
  padding-left: 24px;
}
a {
  color: #234E2F;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #7BA768;
  outline: none;
}
img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* BRAND CSS VARIABLES */
:root {
  --va-primary: #234E2F;
  --va-secondary: #7BA768;
  --va-accent: #F3E9DB;
  --va-light-bg: #FAF8F4;
  --va-card-shadow: 0 4px 18px 0 rgba(35, 78, 47, 0.09);
  --va-radius: 18px;
  --va-transition: 0.25s cubic-bezier(.4,0,.2,1);
  --va-focus: 0 0 0 3px #7BA76833;
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
}
@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
}

/* SPACING & LAYOUT */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 18px;
}
main {
  padding-top: 24px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
@media (max-width: 768px) {
  section {
    padding: 32px 6px;
    margin-bottom: 42px;
  }
  .container {
    padding: 0 8px;
  }
}

/* HEADER */
header {
  background: #fff;
  box-shadow: 0 4px 14px 0 rgba(35,78,47,0.09);
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 75px;
  padding: 12px 20px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.main-nav a {
  font-family: 'Montserrat', 'Lato', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 7px 6px;
  position: relative;
}
.main-nav a:after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: var(--va-secondary);
  transition: width var(--va-transition);
}
.main-nav a:hover:after, .main-nav a:focus:after {
  width: 100%;
}

/* PRIMARY BUTTON */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--va-radius);
  padding: 14px 28px;
  font-family: 'Montserrat', 'Lato', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg,#7BA768 50%,#234E2F 100%);
  box-shadow: 0 2px 12px 0 #234E2f22;
  border: none;
  cursor: pointer;
  transition: background var(--va-transition), box-shadow var(--va-transition), transform var(--va-transition);
  text-shadow: 0 2px 8px #234E2F11;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg,#234E2F 60%,#7BA768 100%);
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 6px 24px 0 #234E2f30;
  outline: none;
}

/* FLEX PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--va-accent);
  border-radius: var(--va-radius);
  box-shadow: var(--va-card-shadow);
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow var(--va-transition), transform var(--va-transition);
}
.card:hover, .card:focus-within {
  transform: translateY(-5px) scale(1.008);
  box-shadow: 0 8px 32px 0 #234E2F29;
  z-index: 2;
}
.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: 18px;
  }
  .main-nav {
    display: none;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 18px 0 rgba(35, 78, 47, 0.07);
  padding: 20px 22px;
  margin-bottom: 20px;
  border-left: 8px solid #7BA768;
  transition: box-shadow 0.20s, border-color 0.18s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  border-left: 8px solid #234E2F;
  box-shadow: 0 8px 26px 0 #7BA76819;
}

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

/* HERO SECTION */
.hero {
  min-height: 340px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(90deg, #F3E9DB 0%, #FAF8F4 100%);
  border-radius: 22px;
  box-shadow: 0 4px 18px 0 rgba(35, 78, 47, 0.06);
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
.hero h1 {
  font-size: 2.4rem;
  margin-bottom: 16px;
}
.hero p {
  font-size: 1.16rem;
  margin-bottom: 18px;
}
@media (max-width: 600px) {
  .hero {
    padding: 18px;
    min-height: 170px;
  }
  .hero h1 {
    font-size: 1.45rem;
  }
}

/* FEATURES LIST (icon, text) */
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-bottom: 2rem;
}
.features ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.features li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  max-width: 280px;
  min-width: 200px;
  background: #fff;
  box-shadow: 0 2px 8px 0 #7BA76822;
  border-radius: 14px;
  padding: 18px 14px;
  transition: box-shadow .18s;
}
.features li:hover, .features li:focus-within {
  box-shadow: 0 6px 26px 0 #234E2F20;
}
.features img {
  width: 42px;
  height: 42px;
  margin-top: 3px;
}
.features strong {
  font-family: 'Montserrat', 'Lato', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.06rem;
  color: #234E2F;
}
.features p {
  font-size: 0.99rem;
  color: #234E2FBB;
}

/* SERVICES PREVIEW */
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 24px;
}
.service-cards > div {
  background: #fff;
  box-shadow: var(--va-card-shadow);
  border-radius: 16px;
  padding: 26px 18px 22px 18px;
  min-width: 220px;
  flex: 1 1 250px;
  max-width: 350px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-left: 8px solid #234E2F;
  transition: border-color 0.22s, box-shadow 0.22s;
  position: relative;
}
.service-cards > div:hover {
  border-left: 8px solid #7BA768;
  box-shadow: 0 8px 30px 0 #7BA76814;
  z-index: 2;
}
.service-cards img {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
}
.service-cards h3 {
  margin-bottom: 8px;
}
.service-cards p {
  margin-bottom: 0;
  color: #234E2Fcc;
}

/* CASE STUDIES, PROJECTS, BLOG */
.case-study-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
  justify-content: flex-start;
}
.case-study {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--va-card-shadow);
  padding: 22px 16px;
  margin-bottom: 24px;
  flex: 1 1 260px;
  min-width: 220px;
}
.blog-list .blog-post {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--va-card-shadow);
  padding: 20px 14px;
  margin-bottom: 20px;
  transition: box-shadow .15s, transform .18s;
}
.blog-list .blog-post:hover {
  box-shadow: 0 8px 30px 0 #234E2F14;
  transform: translateY(-4px) scale(1.02);
}

/* TESTIMONIALS */
.testimonial-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.star-rating {
  color: #F7C948;
  font-size: 1.22rem;
  margin-bottom: 4px;
  letter-spacing: 1.5px;
  text-shadow: 0 2px 8px #7BA76833;
}
.testimonial-card p {
  color: #234E2F;
  font-style: italic;
  font-size: 1rem;
  margin-bottom: 8px;
}
.testimonial-card span {
  font-size: 0.99rem;
  color: #7BA768;
  letter-spacing: 0.01em;
}

/* CTA SECTIONS */
.cta {
  background: linear-gradient(90deg,#7BA76814 60%, #F3E9DB 100%);
  border-radius: 20px;
  box-shadow: 0 4px 18px 0 rgba(35, 78, 47, 0.05);
  display: flex;
  align-items: center;
  padding: 38px 20px;
  margin-bottom: 60px;
}
.cta .content-wrapper {
  align-items: flex-start;
  gap: 16px;
}

/* FOOTER */
footer {
  background: #234E2F;
  color: #fff;
  padding: 32px 0 20px 0;
  margin-top: 36px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-nav nav {
  display: flex;
  gap: 16px;
}
.footer-nav nav a {
  color: #F3E9DB;
  font-family: 'Montserrat', 'Lato', Arial, sans-serif;
  font-size: .96rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  opacity: 0.90;
  text-decoration: none;
}
.footer-nav nav a:hover, .footer-nav nav a:focus {
  color: #fff;
  border-bottom: 2px solid #7BA768;
}
.brand-footer {
  display: flex;
  gap: 10px;
  align-items: center;
  font-family: 'Montserrat', 'Lato', Arial, sans-serif;
  color: #F3E9DB;
  font-size: .97rem;
  opacity: 0.90;
}
.brand-footer img {
  height: 32px;
}

/* THANK YOU MESSAGE */
.thank-you-message {
  background: #F3E9DB;
  color: #234E2F;
  border-radius: 18px;
  padding: 24px 16px;
  font-size: 1.12rem;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px 0 #234E2F0D;
}

/* TEXT SECTIONS & INFORMATION */
.text-section, .contact-information {
  margin-bottom: 24px;
}
.contact-information p {
  font-size: 1rem;
  color: #234E2FAA;
  font-family: 'Lato', Arial, sans-serif;
}

/* ANIMATIONS */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
section, .cta, .card, .testimonial-card, .service-cards > div, .case-study, .blog-post {
  animation: fadeInUp 0.85s var(--va-transition) backwards;
}

/* Scrollbar (artistic touch) */
::-webkit-scrollbar {
  width: 12px;
  background: #F3E9DB;
}
::-webkit-scrollbar-thumb {
  background: #7BA768;
  border-radius: 6px;
}

/* RESPONSIVE: FLEXBOX ONLY */
@media (max-width: 1024px) {
  .service-cards, .case-study-list, .features ul, .content-grid {
    flex-direction: column;
    gap: 22px;
  }
  .footer-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}
@media (max-width: 768px) {
  .card-container, .content-grid, .features ul, .case-study-list, .service-cards {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
}

/* --- MOBILE BURGER MENU --- */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 18px;
  right: 24px;
  background: #234E2F;
  color: #fff;
  border: none;
  z-index: 1002;
  font-size: 2.2rem;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 12px 0 #7BA76823;
  cursor: pointer;
  transition: background 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #7BA768;
  color: #234E2F;
}
@media (max-width: 900px) {
  .mobile-menu-toggle {
    display: flex;
  }
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 90vw;
  min-width: 220px;
  max-width: 350px;
  background: #FAF8F4;
  box-shadow: -2px 0 26px 0 #234E2F33;
  z-index: 2001;
  transform: translateX(105%);
  transition: transform 0.41s cubic-bezier(.2,.9,.38,1.05);
  display: flex;
  flex-direction: column;
  padding: 28px 24px 16px 28px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2rem;
  color: #234E2F;
  cursor: pointer;
  margin-bottom: 18px;
  transition: color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #7BA768;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mobile-nav a {
  font-size: 1.08rem;
  font-family: 'Montserrat', 'Lato', Arial, sans-serif;
  color: #234E2F;
  padding: 10px 2px;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.15s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #7BA76817;
  color: #7BA768;
}
@media (min-width: 769px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
  .main-nav {
    display: flex !important;
  }
}

/* Overlay for mobile menu (when open) */
body.mobile-menu-active::before {
  content: '';
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #234E2F55;
  z-index: 2000;
  opacity: 1;
  animation: fadeInUp 0.22s;
}

/* --- COOKIE BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #F3E9DBfc;
  color: #234E2F;
  border-top: 2px solid #7BA768;
  box-shadow: 0 0 14px 0 #7BA76833;
  z-index: 3030;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 20px;
  font-size: 1rem;
  font-family: 'Lato', Arial, sans-serif;
  animation: fadeInUp 0.88s;
}
.cookie-banner p {
  flex: 1 1 250px;
  margin-bottom: 0;
  color: #234E2F;
}
.cookie-banner .cookie-btn-group {
  display: flex;
  gap: 12px;
}
.cookie-banner button {
  font-family: 'Montserrat', 'Lato', Arial, sans-serif;
  font-size: 1rem;
  padding: 7px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  margin: 0;
  transition: background .17s, color .16s, box-shadow 0.13s;
}
.cookie-banner .accept {
  background: #7BA768;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 1px 6px 0 #7BA76828;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #234E2F;
}
.cookie-banner .reject {
  background: #fff;
  color: #234E2F;
  border: 1.5px solid #7BA768;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #F3E9DB;
  color: #7BA768;
}
.cookie-banner .settings {
  background: #F3E9DB;
  color: #234E2F;
  border: 1.5px solid #7BA768;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #7BA768;
  color: #fff;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  display: none;
  position: fixed;
  left: 50%;
  bottom: 45%;
  transform: translate(-50%, 70%);
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 40px 0 #234E2F48;
  padding: 36px 26px 28px 26px;
  max-width: 420px;
  min-width: 260px;
  z-index: 3040;
  animation: fadeInUp 0.33s;
}
.cookie-modal.open {
  display: block;
  animation: fadeInUp 0.42s;
}
.cookie-modal h2 {
  font-size: 1.28rem;
  margin-bottom: 14px;
  color: #234E2F;
  background: none;
  -webkit-text-fill-color: initial;
}
.cookie-modal ul {
  list-style: none;
  padding: 0;
  margin-bottom: 22px;
}
.cookie-modal li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  margin-bottom: 12px;
}
.cookie-modal label {
  font-size: 1rem;
  color: #234E2F;
}
.cookie-modal input[type='checkbox'] {
  width: 1.2em;
  height: 1.2em;
  accent-color: #7BA768;
  border-radius: 3px;
}
.essential {
  color: #7BA768;
  font-weight: 700;
  font-size: 1.07rem;
}
.cookie-modal .modal-btns {
  display: flex;
  gap: 12px;
}
.cookie-modal button {
  font-family: 'Montserrat', 'Lato', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  margin: 0;
}
.cookie-modal .save {
  background: #7BA768;
  color: #fff;
}
.cookie-modal .save:hover, .cookie-modal .save:focus {
  background: #234E2F;
}
.cookie-modal .cancel {
  background: #fff;
  border: 1.5px solid #7BA768;
  color: #234E2F;
}
.cookie-modal .cancel:hover, .cookie-modal .cancel:focus {
  background: #F3E9DB;
  color: #7BA768;
}

@media (max-width: 480px) {
  .cookie-modal {
    min-width: 84vw;
    padding: 18px 10px 18px 10px;
    left: 50%;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 8px;
    font-size: 0.98rem;
  }
}

/* ------------------------- FORM ELEMENTS (if needed) --------------------- */
input, select, textarea {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
  padding: 10px;
  border-radius: 7px;
  border: 1.5px solid #7BA76856;
  margin-bottom: 12px;
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border: 1.6px solid #7BA768;
  box-shadow: var(--va-focus);
}

/* ---------------------- ARTISTIC DETAILS (SVG curves, brush, etc.) ------------------ */
/* Example: wavy divider or artistic background at bottom/top of sections. If present, style here. */

/* --------------------- VISUAL HIERARCHY AND SHADOWS ------------------------- */
.card, .service-cards > div, .testimonial-card, .blog-post, .case-study {
  box-shadow: var(--va-card-shadow);
  border-radius: var(--va-radius);
}

/* FOCUS & ACCESSIBILITY */
a, button, input, textarea, select {
  outline-color: #7BA768;
  outline-width: 2.5px;
  outline-style: solid;
  outline-offset: 1px;
  transition: outline 0.13s;
}

/* -------------- TYPOGRAPHY SCALE: 14 16 18 24 32 48px as described ------------- */
h1 { font-size: 2.2rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.3rem; }

@media (max-width: 450px) {
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.22rem; }
  h3 { font-size: 1.08rem; }
}

/* ENSURE NO CSS GRID OR COLUMNS USED */
/* All layout above is managed via display:flex and flex-wrap as required */