/* ==== CSS RESET & NORMALIZATION ==== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  height: 100%;
  font-size: 16px;
  background: #F2E8D5;
  color: #25302B;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #F2E8D5;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
a {
  color: #31845C;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.4,0,.2,1);
}
a:hover, a:focus {
  color: #A3C958;
  outline: none;
}
ul, ol {
  padding-left: 1.4em;
  margin-bottom: 16px;
}
li + li {
  margin-top: 8px;
}
button {
  font: inherit;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}

/* ==== BRAND TYPOGRAPHY ==== */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&family=Quicksand:wght@600;700&display=swap');
h1, h2, h3, h4, h5 {
  font-family: 'Quicksand', 'Open Sans', Arial, sans-serif;
  color: #1C3C2D;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 {
  font-size: 2.25rem;
  line-height: 1.1;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.5rem;
  line-height: 1.2;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.125rem;
  line-height: 1.2;
  margin-bottom: 10px;
}
p {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #25302B;
  margin-bottom: 16px;
}
strong {
  font-weight: 700;
}

/* ==== PRIMARY LAYOUT ==== */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}
main {
  flex: 1;
}

/* ==== HEADER ==== */
header {
  background: #fff;
  border-bottom: 2px solid #E5ECD7;
  box-shadow: 0 2px 8px rgba(49, 132, 92, 0.06);
  position: relative;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}
header img {
  height: 44px;
  min-width: 44px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.main-nav a {
  font-family: 'Quicksand', 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #25302B;
  padding: 10px 8px;
  border-radius: 6px;
  transition: background 0.2s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #A3C958;
  color: #25302B;
}
.cta-button {
  background: #31845C;
  color: #fff;
  font-family: 'Quicksand', 'Open Sans', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 28px;
  padding: 12px 32px;
  letter-spacing: 0.07em;
  margin-left: 12px;
  box-shadow: 0 2px 12px rgba(49,132,92,0.12);
  border: 2px solid #31845C;
  transition: background 0.2s, color 0.2s, box-shadow 0.15s;
}
.cta-button:hover, .cta-button:focus {
  background: #fff;
  color: #31845C;
  border-color: #A3C958;
  box-shadow: 0 4px 16px rgba(163,201,88,0.10);
}
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: #A3C958;
  color: #25302B;
  border-radius: 12px;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  z-index: 1200;
  transition: background 0.15s;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: #31845C;
  color: #fff;
}

/* ==== MOBILE NAVIGATION ==== */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(242,232,213,0.98);
  z-index: 2000;
  transform: translateX(-100%);
  transition: transform 0.45s cubic-bezier(.77,0,.18,1);
  box-shadow: 2px 0 32px rgba(49,132,92,.08);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  margin: 18px 24px 0 0;
  background: #31845C;
  color: #fff;
  border-radius: 12px;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #A3C958;
  color: #25302B;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 32px;
  padding-left: 28px;
  padding-right: 24px;
}
.mobile-nav a {
  font-family: 'Quicksand', 'Open Sans', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #31845C;
  border-radius: 10px;
  padding: 16px 0 16px 14px;
  background: #fff;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #31845C;
  color: #fff;
}

/* ==== HERO / SECTION / FLEX SPACING ==== */
main section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(49,132,92,0.075);
  position: relative;
}
@media (max-width: 768px) {
  main section {
    padding: 28px 6px;
    margin-bottom: 36px;
    border-radius: 15px;
  }
}
.hero {
  background: #A3C958;
  box-shadow: 0 0 0 4px #fff;
  border-radius: 0 0 80px 0;
  margin-bottom: 56px;
}
.hero h1,
.hero p {
  color: #1C3C2D;
}
@media (max-width: 768px) {
  .hero {
    border-radius: 0 0 36px 0;
    margin-bottom: 32px;
    padding: 0;
  }
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.features-grid, .services-list, .testimonials, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.features-grid > div, .services-list > div {
  background: #F2E8D5;
  border-radius: 18px;
  padding: 24px 20px;
  flex: 1 1 280px;
  min-width: 220px;
  max-width: 100%;
  box-shadow: 0 2px 10px rgba(49,132,92,0.10);
  border: 2px solid #E5ECD7;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.features-grid img, .services-list img {
  width: 42px;
  height: 42px;
  margin-bottom: 10px;
}
.features-grid h3, .services-list h3 {
  color: #31845C;
  font-size: 1.1rem;
  font-weight: 700;
}
.services-list {
  gap: 32px;
}

@media (max-width: 900px) {
  .features-grid > div, .services-list > div {
    flex: 1 1 100%;
    min-width: 140px;
    padding: 18px 12px;
    margin-bottom: 10px;
  }
  .features-grid, .services-list {
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .features-grid, .services-list, .testimonials, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section ul {
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 1.5em;
}

.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;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(49,132,92,0.13);
  padding: 24px 20px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 28px rgba(49,132,92,0.16);
  z-index: 2;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

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

.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 20px;
  background: #fff;
  border-radius: 18px;
  border: 2px solid #31845C;
  box-shadow: 0 4px 16px rgba(49,132,92,0.10);
  min-width: 230px;
  max-width: 350px;
  flex: 1 1 230px;
  color: #1C3C2D;
  margin-bottom: 20px;
}
.testimonial-card p {
  color: #25302B;
  font-size: 1.05rem !important;
  line-height: 1.5;
}
.testimonial-card span {
  color: #31845C;
  font-family: 'Quicksand', 'Open Sans', Arial, sans-serif;
  font-size: 0.98rem;
}

@media (max-width: 768px) {
  .testimonial-card {
    min-width: 0;
    max-width: 100%;
    padding: 16px 8px;
  }
  .testimonials {
    gap: 14px;
  }
}

/* ==== FOOTER ==== */
footer {
  background: #25302B;
  color: #fff;
  padding-top: 20px;
  padding-bottom: 14px;
  margin-top: 40px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  align-items: flex-start;
  padding-top: 15px;
  padding-bottom: 10px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 18px;
}
.footer-nav a {
  color: #fff;
  font-size: 1rem;
  background: transparent;
  padding: 7px 9px;
  border-radius: 7px;
  transition: background 0.16s;
  font-family: 'Quicksand', 'Open Sans', Arial, sans-serif;
}
.footer-nav a:hover,
.footer-nav a:focus {
  background: #A3C958;
  color: #25302B;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.footer-contact img {
  width: 48px;
  margin-bottom: 2px;
}
.footer-contact address {
  font-style: normal;
  color: #D7F4DD;
  font-size: 0.98rem;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.footer-contact img[alt*="icon"] {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-right: 4px;
  margin-bottom: -4px;
}
.footer-hours {
  font-size: 0.95rem;
  color: #A3C958;
  font-weight: 600;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .footer-nav {
    gap: 14px;
  }
}

/* ==== BUTTON AND FORM UI ==== */
button, .cta-button {
  cursor: pointer;
  outline: none;
  border: none;
}
.cta-button:active {
  transform: scale(0.97);
}

/* ==== GENERAL MICRO-INTERACTIONS ==== */
.card, .testimonial-card, .features-grid > div, .services-list > div {
  transition: box-shadow 0.15s cubic-bezier(.53,0,.17,1);
}
.features-grid > div:hover, .services-list > div:hover {
  box-shadow: 0 8px 32px rgba(49,132,92,0.19);
  border-color: #A3C958;
}

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  color: #25302B;
  box-shadow: 0 -2px 22px rgba(49,132,92,0.17);
  border-top: 3px solid #A3C958;
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 6vw 18px 4vw;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  animation: cookieFadeIn 0.65s cubic-bezier(.32,0,.67,1);
}
@keyframes cookieFadeIn {
  from { transform: translateY(24px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-buttons {
  display: flex;
  gap: 16px;
}
.cookie-consent-banner button,
.cookie-consent-banner .cookie-settings-btn {
  background: #31845C;
  color: #fff;
  border-radius: 22px;
  padding: 9px 22px;
  border: none;
  font-weight: 700;
  font-family: 'Quicksand', 'Open Sans', Arial, sans-serif;
  letter-spacing: 0.03em;
  box-shadow: 0 1px 5px rgba(49,132,92,0.08);
  margin-right: 4px;
  transition: background 0.16s, color 0.19s;
  font-size: 1rem;
}
.cookie-consent-banner .reject-btn {
  background: #A3C958;
  color: #25302B;
}
.cookie-consent-banner button:hover,
.cookie-consent-banner button:focus {
  background: #fff;
  color: #31845C;
  border: 2px solid #31845C;
}
.cookie-consent-banner .reject-btn:hover,
.cookie-consent-banner .reject-btn:focus {
  background: #fff;
  color: #A3C958;
  border: 2px solid #A3C958;
}
.cookie-settings-btn {
  background: #fff;
  color: #31845C;
  border: 2px solid #31845C;
  padding: 9px 16px;
}
.cookie-settings-btn:hover,
.cookie-settings-btn:focus {
  background: #31845C;
  color: #fff;
}

@media (max-width: 600px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 14px 10px 14px 10px;
    font-size: 0.95rem;
  }
  .cookie-buttons {
    flex-direction: column;
    gap: 7px;
  }
}

/* ==== COOKIE PREFERENCES MODAL ==== */
.cookie-modal-overlay {
  position: fixed;
  z-index: 7000;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(49,132,92,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieFadeIn 0.5s cubic-bezier(.38,0,.47,1);
}
.cookie-modal {
  background: #fff;
  min-width: 316px;
  max-width: 98vw;
  border-radius: 13px;
  box-shadow: 0 6px 48px rgba(49,132,92,0.21);
  padding: 32px 34px 26px 34px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  font-family: 'Open Sans', Arial, sans-serif;
  animation: cookieModalIn 0.55s cubic-bezier(.32,0,.48,1);
}
@keyframes cookieModalIn {
  from { transform: scale(0.93); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal h3 {
  margin: 0 0 10px 0;
  font-family: 'Quicksand', 'Open Sans', Arial, sans-serif;
  font-size: 1.09rem;
  color: #31845C;
  font-weight: 700;
}
.cookie-category {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 8px;
}
.cookie-category label {
  font-size: 1rem;
  color: #25302B;
  font-weight: 600;
}
.cookie-toggle {
  width: 34px;
  height: 20px;
  background: #E5ECD7;
  border-radius: 12px;
  position: relative;
  margin-right: 8px;
  transition: background 0.16s;
  cursor: pointer;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-toggle span {
  position: absolute;
  left: 2px; top: 2px;
  width: 16px; height: 16px;
  background: #31845C;
  border-radius: 99px;
  transition: left 0.17s;
}
.cookie-toggle input:checked + span {
  left: 16px;
  background: #A3C958;
}
.cookie-modal .close-modal-btn {
  position: absolute;
  top: 15px;
  right: 21px;
  background: transparent;
  color: #25302B;
  font-size: 1.7rem;
  border-radius: 8px;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.16s;
}
.cookie-modal .close-modal-btn:hover,
.cookie-modal .close-modal-btn:focus {
  background: #E5ECD7;
}
.cookie-modal-actions {
  display: flex;
  gap: 17px;
  justify-content: flex-end;
  margin-top: 12px;
}
.cookie-modal-actions button {
  padding: 10px 20px;
  border-radius: 20px;
  font-weight: 700;
  background: #31845C;
  color: #fff;
  font-family: 'Quicksand', 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  transition: background 0.18s, color 0.18s;
  border: none;
}
.cookie-modal-actions .reject-btn {
  background: #A3C958;
  color: #25302B;
}
.cookie-modal-actions button:hover,
.cookie-modal-actions button:focus {
  background: #fff;
  color: #31845C;
  border: 2px solid #31845C;
}
.cookie-modal-actions .reject-btn:hover,
.cookie-modal-actions .reject-btn:focus {
  background: #fff;
  color: #A3C958;
  border: 2px solid #A3C958;
}

/* ==== RESPONSIVE LAYOUT + FLEX ==== */
@media (max-width: 1140px) {
  .container {
    max-width: 97vw;
  }
}
@media (max-width: 980px) {
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
  }
}
@media (max-width: 820px) {
  header .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .main-nav {
    margin-top: 8px;
  }
  .footer-contact,
  .footer-nav {
    margin-left: 0 !important;
  }
}

@media (max-width: 990px) {
  .features-grid,
  .services-list,
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .cta-button {
    margin-left: 0;
  }
}

/* ==== GEOMETRIC / STRUCTURED DESIGN ELEMENTS ==== */
.features-grid > div, .services-list > div, .card, .testimonial-card {
  border-radius: 18px 18px 8px 28px;
  border-width: 2px 3px 3px 2px;
  border-style: solid;
  border-color: #E5ECD7;
  box-shadow: 0 4px 12px rgba(163,201,88,0.09);
  background: #F2E8D5;
  position: relative;
}
.features-grid > div:after, .services-list > div:after {
  content: "";
  display: block;
  position: absolute;
  bottom: 10px;
  right: 18px;
  width: 20px;
  height: 20px;
  background: #A3C958;
  border-radius: 0 0 20px 0;
  opacity: 0.2;
  z-index: 1;
}
.card:before, .testimonial-card:before {
  content: "";
  display: block;
  position: absolute;
  top: -12px;
  left: -10px;
  width: 24px;
  height: 24px;
  background: #31845C;
  border-radius: 0 28px 0 0;
  opacity: 0.13;
  z-index: 1;
}

/* ==== GEOMETRIC BUTTON SHAPES ==== */
.cta-button, .cookie-consent-banner button, .cookie-modal-actions button {
  border-radius: 22px 32px 12px 24px;
  border: 2px solid transparent;
  box-shadow: 0 1px 5px rgba(49,132,92,0.09);
}

/* ==== OTHER UTILITY CLASSES ==== */
.text-center {
  text-align: center;
}
.mt-32 { margin-top: 32px; }
.mb-32 { margin-bottom: 32px; }
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }

/* ==== ACCESSIBILITY ==== */
:focus {
  outline: 2px dashed #31845C;
  outline-offset: 2px;
}

/* ==== FINE-TUNING ==== */
@media (max-width: 480px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.09rem; }
  h3 { font-size: 1rem; }
  .features-grid > div, .services-list > div, .card, .testimonial-card {
    padding: 13px 6px;
    min-width: 100px;
    border-radius: 10px 11px 5px 14px;
  }
}

/* ==== ELEVATED MICRO-ANIMATION ==== */
.card:hover, .testimonial-card:hover, .features-grid > div:hover, .services-list > div:hover {
  transform: translateY(-2px) scale(1.02) skew(-0.5deg, 1deg);
  box-shadow: 0 8px 32px rgba(49,132,92,0.15), 0 2px 20px rgba(163,201,88,0.08);
}

/* ==== PRINT STYLES ==== */
@media print {
  header, .main-nav, .mobile-menu, .cta-button, .cookie-consent-banner, .cookie-modal-overlay, footer {
    display: none !important;
  }
  main section, .container {
    box-shadow: none;
    border: none;
    padding: 0;
  }
}
