/* CSS RESET & BASE ------------------- */
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-family: inherit;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background: #F8FAF8;
  color: #222;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.66;
  min-height: 100vh;
}
img, video {
  max-width: 100%;
  height: auto;
}
a {
  color: #246D36;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #63B294;
  outline: none;
}
ul, ol {
  list-style: none;
}
button {
  font-family: inherit;
  font-size: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}

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

h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #246D36;
  letter-spacing: 0.01em;
  line-height: 1.14;
}
h1 {
  font-size: 2.7rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.45rem;
  margin-bottom: 12px;
}
h4, h5 {
  font-size: 1.12rem;
  margin-bottom: 8px;
}
p, ul, ol {
  margin-bottom: 1.2em;
}
strong, b {
  font-weight: 700;
}

/* CONTAINER & STRUCTURE --------- */
.container {
  width: 100%;
  max-width: 1240px;
  padding: 0 18px;
  margin-left: auto;
  margin-right: auto;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFF;
  border-radius: 20px;
  box-shadow: 0 4px 28px 0 rgba(36,109,54,0.09);
  position: relative;
}

@media (max-width: 768px) {
  .section {
    padding: 28px 6px;
    margin-bottom: 38px;
    border-radius: 13px;
  }
  .container {
    padding: 0 6px;
  }
}

/* HEADER & NAV ------------- */
header {
  background: #246D36;
  box-shadow: 0 2px 8px 0 rgba(36,109,54,0.11);
  color: #fff;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  min-height: 70px;
  gap: 10px;
}
header img {
  width: 160px;
  max-width: 88vw;
}
nav {
  display: flex;
  gap: 23px;
  align-items: center;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
  padding: 6px 15px;
  border-radius: 12px;
  transition: background .18s, color .18s;
}
nav a:not(.primary-btn):hover, nav a:not(.primary-btn):focus {
  background: #63B294;
  color: #fff;
}
nav a.primary-btn {
  background: #63B294;
  color: #fff;
  font-weight: 700;
  border-radius: 20px;
  box-shadow: 0 2px 10px 0 rgba(36,109,54,0.11);
  padding: 9px 24px;
  letter-spacing: 0.01em;
  border: 2px solid #63B294;
  outline: none;
  transition: background .19s, border .19s, color .19s;
}
nav a.primary-btn:hover, nav a.primary-btn:focus {
  background: #246D36;
  border: 2px solid #63B294;
  color: #fff;
}

/* MOBILE MENU ------------- */
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  color: #fff;
  background: none;
  border: none;
  padding: 0 10px;
  z-index: 1060;
  cursor: pointer;
  transition: color .15s;
}
@media (max-width: 980px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(36,109,54,0.99);
  z-index: 1100;
  transform: translateX(-100%);
  transition: transform .41s cubic-bezier(.76,0,.24,1);
  padding-top: 40px;
  padding-left: 0;
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin-left: 20px;
  margin-bottom: 32px;
  font-size: 2.1rem;
  color: #fff;
  background: none;
  border: none;
  opacity: .87;
  align-self: flex-start;
  cursor: pointer;
  outline: none;
  transition: color .16s, opacity .16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #63B294;
  opacity: 1;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100vw;
  padding-left: 34px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  border-radius: 14px;
  padding: 8px 4px 8px 0;
  background: none;
  display: block;
  transition: color .16s, background .16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #63B294;
  background: none;
}

@media (min-width: 981px) {
  .mobile-menu,
  .mobile-menu.open,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* HERO & MAIN SECTIONS ------------- */
main {
  padding-top: 39px;
  padding-bottom: 50px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (max-width: 768px) {
  main {
    padding-top: 8px;
    padding-bottom: 20px;
  }
}

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

/* STRUCTURED FEATURE GRID, SERVICES ------------- */
.feature-grid, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}
@media (max-width: 768px) {
  .feature-grid, .service-list {
    flex-direction: column;
    gap: 18px;
  }
}
.feature-grid > li, .service-list > li {
  background: #F2F8F2;
  border: 2.5px solid #e7eee6;
  box-shadow: 0 3px 14px 0 rgba(36,109,54,0.10);
  border-radius: 20px;
  padding: 26px 24px 20px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  min-width: 230px;
  flex: 1 1 0;
  gap: 11px;
  margin-bottom: 20px;
}
.feature-grid img {
  width: 40px;
  height: 40px;
  margin-bottom: 6px;
}
.service-list > li h3 {
  margin-bottom: 8px;
  font-size: 1.27rem;
  color: #258053;
}
.service-list > li a.secondary-btn {
  margin-top: 7px;
}

/* CARDS & CARD CONTAINERS ----------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 20px 0 rgba(36,109,54,0.10);
  padding: 28px 22px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

/* CONTENT GRID & FLEX GROUPS ---------- */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
@media (max-width: 768px) {
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
}

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

/* TESTIMONIALS CARD ------------------ */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  color: #246D36;
  box-shadow: 0 4px 16px 0 rgba(36,109,54,0.12);
  border-radius: 21px;
  border-left: 7px solid #63B294;
  margin-bottom: 20px;
  min-width: 0;
}
.testimonial-card p {
  color: #222;
  font-style: italic;
  font-size: 1.12rem;
  margin-bottom: 0;
  flex: 1 1 auto;
}
.testimonial-card span {
  color: #258053;
  font-size: .98rem;
  margin-left: 12px;
  white-space: nowrap;
}
@media (max-width: 520px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    padding: 16px 9px;
    border-radius: 14px;
    border-left-width: 4px;
  }
  .testimonial-card span {
    margin-left: 0;
  }
}

/* BUTTONS ------------------------------ */
.primary-btn, .secondary-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 18px;
  border: 2px solid #63B294;
  background: #63B294;
  color: #fff;
  font-weight: 700;
  font-size: 1.09rem;
  letter-spacing: 0.02em;
  padding: 10px 26px;
  box-shadow: 0 2px 8px 0 rgba(97,178,148,0.15);
  cursor: pointer;
  display: inline-block;
  transition: background .23s, color .18s, border .18s, transform .17s;
  text-align: center;
}
.primary-btn:hover, .primary-btn:focus,
.secondary-btn:hover, .secondary-btn:focus {
  background: #246D36;
  border-color: #246D36;
  color: #fff;
  transform: translateY(-2.5px) scale(1.04) skew(-2deg, 0deg);
}
.secondary-btn {
  border-color: #246D36;
  background: #fff;
  color: #246D36;
  box-shadow: 0 1.5px 8px 0 rgba(36,109,54,0.09);
}
.secondary-btn:hover, .secondary-btn:focus {
  background: #258053;
  border-color: #258053;
  color: #fff;
}

/* FORMS ----------------------------------- */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  padding: 11px 14px;
  border: 1.7px solid #63B294;
  border-radius: 11px;
  background: #fff;
  margin-bottom: 18px;
  width: 100%;
  box-sizing: border-box;
  transition: border .19s, box-shadow .19s;
}
input:focus, textarea:focus, select:focus {
  border-color: #246D36;
  box-shadow: 0 0 6px #63B29444;
  outline: none;
}

/* TABLES (Price tables, plans) -------------- */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 0.99rem;
  background: #FAFAFA;
  border-radius: 9px;
  box-shadow: 0 1px 6px 0 rgba(36,109,54,0.06);
  overflow: hidden;
}
thead {
  background: #258053;
  color: #fff;
}
th, td {
  padding: 13px 16px;
  text-align: left;
}
th {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}
tbody tr:nth-child(even) {
  background: #F2F8F2;
}
tbody tr:nth-child(odd) {
  background: #fff;
}

/* FOOTER ----------------------------- */
footer {
  background: #246D36;
  color: #fff;
  padding: 30px 0 18px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 15px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
footer img {
  width: 50px;
  margin-right: 22px;
}
footer nav {
  display: flex;
  gap: 24px;
}
footer nav a {
  color: #fff;
  font-size: 1rem;
  opacity: .85;
  padding: 5px 9px;
  border-radius: 7px;
  transition: color .14s, background .17s;
}
footer nav a:hover {
  color: #63B294;
  background: #fff1;
}
footer small {
  display: block;
  margin-top: 12px;
  font-size: 0.97rem;
  opacity: .80;
  letter-spacing: 0.03em;
}
@media (max-width: 660px) {
  footer .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
  }
  footer img {
    margin-right: 0;
    margin-bottom: 8px;
    width: 44px;
  }
  footer nav {
    gap: 13px;
  }
}

/* COOKIE BANNER + MODAL ----------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #246D36;
  color: #fff;
  padding: 26px 17px 17px 17px;
  z-index: 1800;
  box-shadow: 0 -2px 20px 0 rgba(36,109,54,0.18);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 1.09rem;
  flex-wrap: wrap;
}
.cookie-banner p {
  flex: 1 1 auto;
  margin: 0 0 8px 0;
  color: #fff;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 12px;
  padding: 7px 23px;
  margin: 0;
  border: 2px solid #63B294;
  background: #63B294;
  color: #fff;
  font-weight: 700;
  transition: background .16s, color .16s, border .16s, box-shadow .10s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #fff;
  color: #246D36;
  border: 2px solid #246D36;
}
.cookie-banner .cookie-settings {
  background: #fff;
  color: #246D36;
  border: 2px solid #63B294;
}
.cookie-banner .cookie-settings:hover {
  background: #258053;
  color: #fff;
  border-color: #258053;
}
@media (max-width: 540px) {
  .cookie-banner {
    flex-direction: column;
    padding: 16px 5px 11px 5px;
    font-size: .96rem;
    gap: 10px;
  }
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 1900;
  transform: translate(-50%,-50%) scale(0.92);
  background: #fff;
  color: #222;
  width: 95vw;
  max-width: 370px;
  box-shadow: 0 6px 40px 0 rgba(36,109,54,0.11);
  border-radius: 21px;
  padding: 32px 23px 22px 23px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .29s cubic-bezier(.9,0,.24,1), transform .28s cubic-bezier(.87,0,.15,1);
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%,-50%) scale(1);
}
.cookie-modal h2 {
  font-size: 1.22rem;
  color: #258053;
  margin-bottom: 14px;
}
.cookie-modal ul {
  margin-bottom: 17px;
}
.cookie-modal li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
  padding: 6px 0;
  font-size: 1rem;
}
.cookie-modal .category {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #246D36;
  font-weight: 700;
}
.cookie-modal .toggle {
  position: relative;
  width: 48px;
  height: 24px;
  background: #e7eee6;
  border-radius: 16px;
  border: 1.5px solid #63B294;
  cursor: pointer;
  transition: background .16s, border .17s;
}
.cookie-modal .toggle input {
  display: none;
}
.cookie-modal .toggle-label {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  position: absolute;
  top: 0; left: 0;
  cursor: pointer;
}
.cookie-modal .toggle-slider {
  position: absolute;
  top: 2px; left: 2px;
  width: 20px; height: 20px;
  background: #63B294;
  border-radius: 50%;
  transition: left .17s;
}
.cookie-modal .toggle input:checked + .toggle-label .toggle-slider {
  left: 24px;
  background: #258053;
}
.cookie-modal .category.essential {
  color: #bbb;
  opacity: 0.80;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 1.3rem;
  background: none;
  color: #258053;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  padding: 2px 5px;
  transition: background .15s;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  background: #f7fbf4;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}
.cookie-modal .modal-actions button {
  font-size: .99rem;
  border-radius: 8px;
  padding: 6px 22px;
  font-weight: 600;
}

/* ANIMATIONS & MICRO-INTERACTIONS ------------- */
.primary-btn, .secondary-btn, .card, .testimonial-card, .cookie-banner, .cookie-modal {
  transition: box-shadow .19s, background .19s, border .19s, color .19s, transform .16s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 7px 28px 0 rgba(97,178,148,0.13);
  transform: translateY(-4px) scale(1.012) skew(-1deg, 0);
}

/* GEOMETRIC VISUAL ELEMENTS (decoration shapes) */
/* Place custom polygon shape classes here if needed. */

/* RESPONSIVE TYPOGRAPHY -------------- */
@media (max-width: 980px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.44rem; }
  h3 { font-size: 1.13rem; }
  .testimonial-card p { font-size: 1rem; }
  footer nav a { font-size: 0.97rem; }
}
@media (max-width: 640px) {
  h1 { font-size: 1.32rem; }
  h2 { font-size: 1.08rem; }
  h3 { font-size: 0.98rem; }
}

/* SPACING ENFORCEMENT (for all cards/sections) */
.section, .feature-grid > li, .service-list > li, .card, .testimonial-card, .card-container > .card {
  margin-bottom: 20px;
}
.card-container, .feature-grid, .content-grid, .service-list {
  gap: 20px;
}

/* MISCELLANEOUS -------------------------- */
::-webkit-input-placeholder { color: #b3b3b3; }
::-moz-placeholder { color: #b3b3b3; }
:-ms-input-placeholder { color: #b3b3b3; }
::placeholder { color: #b3b3b3; }

hr {
  border: 0;
  border-top: 1.7px solid #e1e6e3;
  margin: 34px 0;
}

/* Hide visually but keep accessible */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
  white-space: nowrap;
}

/* HIGH CONTRAST for testimonials/reviews */
.testimonial-card, .testimonial-card * {
  color: #1c4522 !important;
  background: #fff !important;
}

/* END OF CSS */