/* ==========================================================
   CSS RESET & NORMALIZE 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-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  background: #F5F5E9;
  color: #33573D;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #33573D;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #7B9D68;
  outline-offset: 2px;
}
ul, ol {
  padding-left: 1.5em;
}

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

h1, h2, h3, h4 {
  font-family: 'Merriweather', serif;
  letter-spacing: -0.5px;
  color: #33573D;
}
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 14px;
}
h4, h5, h6 {
  font-size: 1rem;
}
p, ul, ol {
  margin-bottom: 14px;
  font-size: 1rem;
  color: #3e6139;
}
strong, b {
  font-weight: 700;
}

/* ===============================
   GEOMETRIC LAYOUT GUIDELINES
   =============================== */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: stretch;
}

.section, .hero-section, .features-section, .about-section, .services-section, .testimonials-section, .cta-section, .thank-you-section, .legal-section, .contact-section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

@media (max-width: 768px) {
  .section, .hero-section, .features-section, .about-section, .services-section, .testimonials-section, .cta-section, .thank-you-section, .legal-section, .contact-section {
    padding: 28px 8px;
    margin-bottom: 36px;
  }
}

/* ===============================
   FLEXBOX SPACING PATTERNS
   =============================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 320px;
  min-width: 260px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(51,87,61,0.04);
  border: 2.5px solid #ebefe2;
  padding: 24px 20px;
  transition: box-shadow 0.23s, border-color 0.23s;
}
.card:hover {
  border-color: #7B9D68;
  box-shadow: 0 6px 32px rgba(51,87,61,0.17);
  z-index: 3;
}

.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;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(51,87,61,0.08);
  border-left: 6px solid #33573D;
  color: #222;
  min-width: 280px;
}
.testimonials-section .testimonial-card p {
  font-size: 1.03rem;
  color: #222;
}
.testimonials-section .testimonial-card span {
  font-size: 0.94rem;
  color: #57785d;
  font-weight: 600;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  box-sizing: border-box;
  background: #fff;
  border-radius: 15px;
  border: 2px solid #ebefe2;
  padding: 18px 18px 20px;
  width: 100%;
  max-width: 325px;
  min-width: 190px;
  transition: box-shadow 0.18s, border-color 0.2s;
}
.feature-item img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}
.feature-item:hover {
  border-color: #7B9D68;
  box-shadow: 0 4px 18px rgba(51,87,61,0.11);
  z-index: 2;
}
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-item {
  background: #fff;
  border-radius: 16px;
  border: 2px solid #ebefe2;
  padding: 22px 20px 18px;
  min-width: 240px;
  flex: 1 1 270px;
  margin-bottom: 20px;
  transition: border-color 0.2s, box-shadow 0.18s;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: flex-start;
}
.service-item:hover {
  border-color: #33573D;
  box-shadow: 0 4px 20px rgba(51,87,61,0.11);
}
.service-item img {
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
}
.service-price {
  display: inline-block;
  margin-top: 8px;
  font-weight: 700;
  color: #33573D;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (max-width: 920px) {
  .feature-grid,
  .card-container,
  .service-list,
  .content-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .feature-item,
  .service-item,
  .card {
    max-width: 100%;
    min-width: 0;
  }
}

@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}

/* ===============================
   HEADER & NAVIGATION
   =============================== */
.site-header {
  width: 100%;
  background: #fff;
  border-bottom: 2px solid #E3EAD5;
  box-shadow: 0 1px 6px rgba(51,87,61,0.04);
  position: sticky;
  top: 0;
  z-index: 201;
}
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}
.logo img {
  height: 46px;
}
.main-nav {
  display: flex;
  gap: 16px;
  font-size: 1rem;
  align-items: center;
}
.main-nav a {
  padding: 7px 14px;
  border-radius: 10px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #33573D;
  transition: background .16s, color .19s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: #ebefe2;
  color: #7B9D68;
}
.cta-btn {
  padding: 11px 28px;
  background: #33573D;
  color: #fff;
  border-radius: 24px;
  border: none;
  font-family: 'Merriweather', serif;
  font-size: 1.09rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(51,87,61,0.08);
  transition: background 0.19s, box-shadow 0.18s, color 0.16s, transform 0.17s;
  margin-left: 20px;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #7B9D68;
  color: #33573D;
  box-shadow: 0 6px 28px rgba(51,87,61,0.19);
  transform: translateY(-2px) scale(1.036);
}

/* === Mobile Menu === */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #33573D;
  cursor: pointer;
  z-index: 210;
  padding: 8px 16px;
  line-height: 1;
  margin-left: 12px;
  border-radius: 8px;
  transition: background 0.15s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #E3EAD5;
}

@media (max-width: 980px) {
  .main-nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 301;
  box-shadow: 0 4px 40px rgba(51,87,61,0.18);
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.64,0.01,0.49,1.04);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  align-self: flex-end;
  font-size: 2rem;
  color: #33573D;
  cursor: pointer;
  margin: 24px 26px 0 0;
  padding: 8px 16px;
  border-radius: 7px;
  transition: background 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #E3EAD5;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 60px 0 0 40px;
}
.mobile-nav a {
  font-size: 1.3rem;
  font-family: 'Merriweather', serif;
  font-weight: 700;
  color: #33573D;
  letter-spacing: 0.02em;
  padding: 10px 0 10px 24px;
  border-radius: 0 18px 18px 0;
  transition: background 0.18s, color 0.18s;
  min-width: 160px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #ebefe2;
  color: #7B9D68;
}

/* Overlay for mobile menu (prevent scroll) */
body.mobile-menu-open {
  overflow: hidden;
}

/* ===============================
   HERO SECTIONS & CTA STRIPS
   =============================== */
.hero-section {
  display: flex;
  align-items: center;
  background: #ebefe2;
  border-radius: 0 0 36px 36px;
  box-shadow: 0 4px 24px rgba(123,157,104,0.12);
  min-height: 230px;
}
.hero-section .content-wrapper {
  align-items: flex-start;
  gap: 16px;
  padding: 24px 0 8px;
}
.hero-section h1 {
  color: #33573D;
  font-size: 2.4rem;
}
.hero-section p {
  color: #446653;
  max-width: 760px;
  font-size: 1.11rem;
  margin-bottom: 8px;
}
@media (max-width: 700px) {
  .hero-section {
    border-radius: 0 0 20px 20px;
    min-height: 150px;
  }
  .hero-section h1 {
    font-size: 1.45rem;
  }
  .hero-section .content-wrapper {
    padding: 15px 0 4px;
  }
}

.cta-section {
  background: #7B9D68;
  border-radius: 24px;
  color: #fff;
  box-shadow: 0 2px 20px rgba(51,87,61,0.16);
}
.cta-section h2,
.cta-section p {
  color: #fff;
}
.cta-section .cta-btn {
  background: #fff;
  color: #33573D;
  margin-left: 0;
  margin-top: 12px;
}
.cta-section .cta-btn:hover {
  background: #33573D;
  color: #fff;
}

/* ===============================
   FOOTER
   =============================== */
footer {
  padding: 0 0 30px;
  background: #33573D;
  color: #fff;
  box-shadow: 0 -2px 14px rgba(51,87,61,0.06);
  margin-top: 34px;
}
.footer-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 38px 0 20px;
}
.footer-logo img {
  height: 42px;
  filter: brightness(1.18);
}
.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #fff;
  font-size: 1.04rem;
  padding: 5px 10px;
  border-radius: 7px;
  transition: background 0.16s, color 0.13s;
  font-weight: 600;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #7B9D68;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.99rem;
}
.footer-contact span {
  color: #E3EAD5;
  display: flex;
  gap: 9px;
  align-items: center;
}
.footer-contact img {
  width: 16px;
  height: 16px;
  filter: grayscale(0.5) brightness(0.92);
}
.copyright {
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 1px solid #7B9D68;
  color: #E3EAD5;
  font-size: 0.93rem;
  padding: 11px 0 0;
}

@media (max-width: 700px) {
  .footer-flex {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 22px 0 12px;
  }
  .footer-contact {
    align-items: center;
    text-align: center;
  }
}

/* ===============================
   FORMS, CONTACT, LEGAL
   =============================== */
.contact-details {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}
.contact-details .text-section {
  justify-content: center;
}
.legal-section .text-section {
  gap: 14px;
  line-height: 1.6;
}
.legal-section h2 {
  font-size: 1.29rem;
  color: #57785d;
}

/* ===============================
   THANK YOU PAGE
   =============================== */
.thank-you-section .text-section {
  gap: 18px;
  margin-top: 18px;
  align-items: flex-start;
}

/* ===============================
   MICRO-INTERACTIONS
   =============================== */
button, .cta-btn {
  transition: background 0.19s, color 0.15s, box-shadow 0.18s, transform 0.13s;
}

.feature-item,
.service-item,
.card,
.testimonial-card {
  transition: box-shadow 0.185s, border-color 0.17s;
}

.card:hover, .feature-item:hover, .service-item:hover {
  box-shadow: 0 7px 32px rgba(123,157,104,0.18) !important;
  transform: translateY(-2px);
}

a.cta-btn:active {
  transform: scale(0.98);
}

/* ===============================
   COOKIE BANNER & MODAL
   =============================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -4px 40px rgba(51,87,61,0.18);
  border-top: 3px solid #33573D;
  padding: 22px 18px 18px 18px;
  z-index: 5005;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 1rem;
  animation: cookieSlideUp 0.7s cubic-bezier(0.69,0.18,0.34,1.01);
}
@keyframes cookieSlideUp {
  from { transform: translateY(120%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner__text {
  max-width: 500px;
  color: #33573D;
  font-size: 1.02rem;
}
.cookie-banner__actions {
  display: flex;
  gap: 13px;
}
.cookie-btn {
  padding: 10px 22px;
  border-radius: 16px;
  font-weight: 700;
  font-family: 'Merriweather', serif;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  background: #7B9D68;
  color: #fff;
  transition: background 0.17s, color 0.18s, transform 0.13s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #33573D;
  color: #fff;
}
.cookie-btn.cookie-btn-secondary {
  background: #ebefe2;
  color: #33573D;
  border: 1.5px solid #33573D;
}
.cookie-btn.cookie-btn-secondary:hover, .cookie-btn.cookie-btn-secondary:focus {
  background: #33573D;
  color: #fff;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(51,87,61,0.62);
  z-index: 5010;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeUp .28s cubic-bezier(.4,.5,.55,1.02);
}
@keyframes fadeUp {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 22px;
  max-width: 420px;
  width: 96vw;
  padding: 28px 24px;
  box-shadow: 0 8px 40px rgba(51,87,61,0.20);
  color: #33573D;
  z-index: 5020;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modalPopIn .475s cubic-bezier(.62,.08,.57,1.29);
}
@keyframes modalPopIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal-header {
  font-size: 1.25rem;
  font-family: 'Merriweather', serif;
  font-weight: 700;
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #ebefe2;
  border: none;
  border-radius: 7px;
  font-size: 1.3rem;
  cursor: pointer;
  color: #33573D;
  padding: 4px 12px;
  transition: background 0.18s;
  z-index: 3;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #7B9D68;
  color: #fff;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  margin-bottom: 9px;
}
.cookie-toggle {
  appearance: none;
  width: 34px;
  height: 20px;
  border-radius: 20px;
  background: #ebefe2;
  outline: none;
  position: relative;
  transition: background 0.19s;
  cursor: pointer;
  border: 1px solid #7B9D68;
}
.cookie-toggle:checked {
  background: #7B9D68;
  border-color: #33573D;
}
.cookie-toggle::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 16px;
  transition: left 0.18s;
  box-shadow: 0 2px 6px rgba(51,87,61,0.07);
}
.cookie-toggle:checked::after {
  left: 16px;
}
.cookie-category[aria-disabled="true"] {
  opacity: 0.55;
}
.cookie-category[aria-disabled="true"] .cookie-toggle {
  background: #e7ede3;
  border-color: #E3EAD5;
  pointer-events: none;
}

.cookie-modal-actions {
  display: flex;
  gap: 13px;
  margin-top: 7px;
  justify-content: flex-end;
}


/* ===============================
   MEDIA QUERIES & RESPONSIVENESS
   =============================== */
@media (max-width: 620px) {
  h1 {font-size: 1.25rem;}
  h2 {font-size: 1.05rem;}
  .hero-section, .cta-section, .section, .features-section, .about-section, .services-section, .testimonials-section, .thank-you-section, .legal-section, .contact-section {
    padding: 14px 2vw;
  }
  .feature-item, .service-item, .testimonial-card, .card {
    padding: 14px 10px;
    min-width: 0;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 14px 6px 12px 8px;
    font-size: 0.99rem;
  }
  .cookie-banner__actions {
    gap: 7px;
  }
  .cookie-modal {
    padding: 19px 6px;
  }
}

/* ===============================
   GEOMETRIC & STRUCTURED STYLE ADAPTATIONS
   =============================== */
.section, .features-section, .about-section, .services-section, .testimonials-section, .cta-section, .thank-you-section, .legal-section, .contact-section {
  border-radius: 20px;
  box-shadow: 0 3px 14px rgba(123,157,104,0.06);
}
.feature-grid,.service-list,.card-container {
  align-items: stretch;
}

.card,.feature-item,.service-item {
  border-radius: 15px 18px 16px 16px;
  border-width: 2px 3px 3.5px 2.5px;
  border-style: solid;
  border-color: #ebefe2;
  box-shadow: 0 2px 12px rgba(51,87,61,0.05);
}
.card-title, .feature-item h3, .service-item h3 {
  font-family: 'Merriweather', serif;
  font-size: 1.08rem;
  letter-spacing: .02em;
  font-weight: 700;
  text-transform: none;
  color: #33573D;
}

/* ===============================
   VISUAL HIERARCHY
   =============================== */
.features-section h2, .about-section h2, .services-section h2, .testimonials-section h2, .cta-section h2 {
  border-bottom: 3px solid #7B9D68;
  display: inline-block;
  padding-bottom: 7px;
  margin-bottom: 16px;
  font-size: 1.45rem;
  background: transparent;
}


/**** Specific Section styles ****/
.features-section {
  background: #f8faf4;
}
.testimonials-section {
  background: #F5F5E9;
}

/**** Utilities ****/
.d-none { display: none !important; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }

/**** Icon Utility ****/
.text-section img, .footer-contact img {
  vertical-align: middle;
  margin-right: 5px;
}

/**** Remove tap highlight on links/buttons ****/
a, button, .cta-btn, .cookie-btn {
  -webkit-tap-highlight-color: transparent;
}
