/* =======================================================================
   CSS RESET & NORMALIZATION (basic, mobile-first, no grid, no columns)
   ======================================================================= */
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: inherit;
  box-sizing: border-box;
  vertical-align: baseline;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #fff;
  color: #29485C;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 1rem;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #29485C;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #74A257;
  outline: none;
}
ul, ol {
  list-style: none;
  padding: 0;
}
button, input, textarea, select {
  font-family: inherit;
  font-size: 100%;
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  background: none;
  box-sizing: border-box;
}
button {
  cursor: pointer;
  background: transparent;
}
::selection {
  background: #29485C;
  color: #fff;
}
hr {
  border: none;
  border-top: 1px solid #EDF2F1;
  margin: 32px 0;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #29485C;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.1;
  margin-bottom: 16px;
}
h1 { font-size: 2.375rem; /* 38px */ margin-bottom: 20px; }
h2 { font-size: 1.8rem; /* 29px */ margin-bottom: 18px; }
h3 { font-size: 1.25rem; /* 20px */ margin-bottom: 12px; }
h4 { font-size: 1.125rem; /* 18px */ }
p, li, label, input, textarea {
  font-size: 1rem;
  color: #29485C;
}
strong {
  font-weight: 600;
}
small {
  font-size: 0.875em;
  color: #888;
}

/* =====================================
   SPACING & LAYOUT
   ===================================== */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 rgba(41, 72, 92, 0.03);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
/* Force white background for section on accent color background */
body {
  background: #F5FAF9;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  padding: 0;
}

.features-grid, .card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.features-grid > div, .card {
  flex: 1 1 220px;
  min-width: 200px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(41, 72, 92, 0.05);
  padding: 28px 22px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.features-grid > div:hover, .card:hover {
  box-shadow: 0 4px 22px rgba(116, 162, 87, 0.10);
  transform: translateY(-4px) scale(1.011);
}

.card-container {
  gap: 24px;
}
.card {
  position: relative;
  margin-bottom: 20px;
}

.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;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 16px 0 rgba(41, 72, 92, 0.06);
  margin-bottom: 20px;
  max-width: 540px;
  border-left: 4px solid #74A257;
  transition: box-shadow 0.18s, transform 0.16s;
}
.testimonial-card p {
  color: #29485C;
  font-size: 1.12rem;
  margin-bottom: 6px;
}
.testimonial-card span {
  font-size: 1rem;
  color: #6C8372;
  font-weight: 600;
}
.testimonial-card:hover {
  box-shadow: 0 2px 28px 0 rgba(41, 72, 92, 0.11);
  transform: translateY(-2px) scale(1.01);
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

ul, ol {
  margin-bottom: 10px;
  margin-left: 18px;
  list-style: none;
}
ul li, ol li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  line-height: 1.7;
}
ul li:before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  background: #74A257;
  border-radius: 50%;
  display: inline-block;
}

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

/* =====================================
   HEADER, NAVIGATION, MOBILE MENU
   ===================================== */
header {
  background: #fff;
  border-bottom: 1px solid #EFF2F1;
  position: relative;
  z-index: 999;
  margin-bottom: 38px;
}
header .container {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
header a img {
  height: 38px;
  margin-right: 26px;
}
nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #29485C;
  padding: 8px 14px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
nav a:hover, nav a:focus {
  background: #F5FAF9;
  color: #74A257;
}
.cta-btn {
  display: inline-block;
  font-size: 1.13rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #fff;
  background: #74A257;
  border: none;
  border-radius: 8px;
  padding: 12px 32px;
  margin-left: 24px;
  letter-spacing: 0.02em;
  box-shadow: 0 1px 7px rgba(41, 72, 92, 0.07);
  transition: background 0.19s, box-shadow 0.22s, transform 0.14s;
  outline: none;
}
.cta-btn:active {
  transform: scale(0.98);
}
.cta-btn:hover, .cta-btn:focus {
  background: #29485C;
  color: #fff;
  box-shadow: 0 2px 16px rgba(116, 162, 87, 0.18);
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  background: none;
  color: #74A257;
  border: none;
  margin-left: 18px;
  transition: color 0.2s, transform 0.21s;
  z-index: 1201;
}
.mobile-menu-toggle:active {
  transform: scale(0.91);
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 1200;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(100vw);
  transition: transform 0.32s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto;
  padding: 0;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: #29485C;
  background: none;
  border: none;
  align-self: flex-end;
  margin: 24px 32px 0 0;
  padding: 0;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100vw;
  gap: 4px;
  margin-top: 36px;
  padding: 0 34px 16px 34px;
}
.mobile-nav a {
  font-size: 1.23rem;
  padding: 14px 12px;
  color: #29485C;
  border-radius: 8px;
  margin-bottom: 6px;
  background: #F5FAF9;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 500;
  transition: background 0.2s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #74A257;
  color: #fff;
}

/* Header: Hide nav/menu/cta on mobile, show toggle */
@media (max-width: 1010px) {
  nav,
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* =====================================
   MAIN SECTION & TEXT
   ===================================== */
main {
  width: 100%;
  flex: 1 1 auto;
  margin: 0 auto;
  max-width: 1080px;
  padding: 0 0 38px 0;
  min-height: 60vh;
}
section {
  margin-bottom: 60px;
  padding: 40px 0;
}
.section:last-child, section:last-child {
  margin-bottom: 0;
}

/* =====================================
   BUTTONS & LINKS
   ===================================== */
button, .cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  outline: none;
  cursor: pointer;
}
button:focus, .cta-btn:focus {
  outline: 2px solid #29485C;
  outline-offset: 2px;
}

/* =====================================
   FOOTER
   ===================================== */
footer {
  background: #fff;
  border-top: 1px solid #EFF2F1;
  padding: 38px 0 22px 0;
  margin-top: 32px;
}
footer .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 26px;
}
.footer-menu {
  display: flex;
  flex-direction: row;
  gap: 21px;
}
.footer-menu a {
  color: #29485C;
  font-size: 0.98rem;
  border-radius: 6px;
  padding: 7.5px 10px;
  background: none;
  transition: background 0.18s, color 0.18s;
}
.footer-menu a:hover, .footer-menu a:focus {
  background: #F5FAF9;
  color: #74A257;
}
.footer-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.footer-brand img {
  height: 42px;
  max-width: 120px;
}

/* =====================================
   COOKIE CONSENT BANNER
   ===================================== */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  background: #fff;
  color: #29485C;
  box-shadow: 0 -2px 18px rgba(41, 72, 92, 0.07);
  border-top: 1px solid #EFF2F1;
  z-index: 1999;
  padding: 22px 16px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: ccBannerIn 0.30s cubic-bezier(.51,.1,.55,.89);
}
@keyframes ccBannerIn {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner .cookie-consent-buttons {
  display: flex;
  gap: 16px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.cookie-btn {
  min-width: 132px;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #74A257;
  color: #fff;
  border-radius: 8px;
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
  margin-right: 6px;
  margin-bottom: 0;
  transition: background 0.19s, color 0.13s, box-shadow 0.15s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #29485C;
  color: #fff;
  box-shadow: 0 2px 14px 0 rgba(116,162,87,0.16);
}
.cookie-btn.secondary {
  background: #F5FAF9;
  color: #29485C;
  border: 1.5px solid #29485C;
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: #29485C;
  color: #fff;
}

/* Cookie modal popup */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(41,72,92,0.26);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  animation: ccPopupIn 0.3s cubic-bezier(0.37,0.04,0.63,0.98);
}
.cookie-modal.open {
  display: flex;
}
@keyframes ccPopupIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  padding: 28px 26px;
  border-radius: 18px;
  box-shadow: 0 4px 38px 0 rgba(41,72,92,0.17);
  min-width: 320px;
  max-width: 98vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  position: relative;
}
.cookie-modal-content h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}
.cookie-toggle {
  appearance: none;
  width: 38px;
  height: 22px;
  background: #F5FAF9;
  border-radius: 12px;
  position: relative;
  transition: background 0.24s;
  outline: 1.5px solid #EFF2F1;
}
.cookie-toggle:checked {
  background: #74A257;
}
.cookie-toggle:disabled {
  cursor: not-allowed;
}
.cookie-toggle::after {
  content: '';
  display: block;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  left: 2px; top: 2px;
  transition: left 0.22s;
  box-shadow: 0 2px 8px rgba(41,72,92,0.07);
}
.cookie-toggle:checked::after {
  left: 18px;
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  color: #29485C;
  font-size: 1.8rem;
  background: none;
  border: none;
  z-index: 2;
}

/* =====================================
   ICONS & SOCIALS (if present)
   ===================================== */
li img {
  display: inline-block;
  width: 22px;
  height: 22px;
  margin-right: 8px;
  margin-bottom: -5px;
  vertical-align: middle;
}

/* =====================================
   HELPER CLASSES, ANIMATIONS
   ===================================== */
.hide {
  display: none !important;
}
.show {
  display: block !important;
}
@media (pointer:coarse) {
  *:hover {
    /* disables :hover on some mobile devices */
  }
}

/* =====================================
   RESPONSIVE MEDIA QUERIES
   ===================================== */
@media (max-width: 1010px) {
  .footer-menu {
    flex-direction: column;
    gap: 14px;
  }
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 860px) {
  .features-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 22px;
  }
  .features-grid > div, .card {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  .container {
    padding: 0 8px;
  }
  header .container {
    height: 58px;
    padding: 0 8px;
  }
  section, .section {
    padding: 26px 3px;
    margin-bottom: 36px;
  }
  .content-wrapper {
    gap: 16px;
  }
  h1 {
    font-size: 1.57rem;
    margin-bottom: 12px;
  }
  h2 {
    font-size: 1.3rem;
    margin-bottom: 10px;
  }
  .card, .features-grid > div {
    padding: 16px 10px;
  }
  .testimonial-card {
    padding: 14px 10px;
  }
}
@media (max-width: 580px) {
  .footer-brand img {
    height: 32px;
  }
  .cookie-modal-content {
    min-width: 95vw;
    padding: 16px 10px;
  }
}
@media (max-width: 460px) {
  html { font-size: 14px; }
  .mobile-nav {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* =====================================
   FLEX DIRECTION FOR RESPONSIVE
   ===================================== */
@media (max-width: 830px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* =====================================
   ADDITIONAL STYLES FOR VISUAL HIERARCHY
   ===================================== */
.card, .features-grid > div, .testimonial-card, .section {
  transition: box-shadow 0.22s, transform 0.15s;
}

/* Emphasized pricing and strong items */
ul li strong {
  color: #29485C;
}

/* Accessibility: Increase contrast on testimonials/reviews */
.testimonial-card {
  background: #fff !important;
  color: #29485C;
}

/* =============================
   PRINT STYLES (optional basic)
   ============================= */
@media print {
  header, footer, .mobile-menu, .cookie-consent-banner, .cookie-modal { display: none !important; }
  body, .container, section, .section { box-shadow: none !important; background: #fff !important; }
}
