/* ------------------------------
   CSS RESET & BASE NORMALIZATION
   ------------------------------ */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F7F3E8;
  color: #235C45;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}
button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  border-radius: 0;
  box-shadow: none;
}
a {
  color: #2f8664;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #659170;
  text-decoration: underline;
}

/* ------------------------
   SOFT PASTEL COLOR PALETTE
   ------------------------ */
:root {
  --color-primary: #235C45;
  --color-secondary: #B3C991;
  --color-accent: #F7F3E8;
  --color-pastel-blue: #D6E5F7;
  --color-pastel-mint: #BCE9D8;
  --color-pastel-pink: #FFE7F0;
  --color-pastel-yellow: #FFF9D7;
  --color-pastel-lilac: #E6E3FA;
  --color-dark: #235C45;
  --color-contrast: #12291F;
  --white: #fff;
}

/* ----------------------
   TYPOGRAPHY
   ----------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'PT Serif', Georgia, serif;
  color: var(--color-dark);
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}
h4 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
p, ul, ol {
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  color: var(--color-primary);
  margin-bottom: 14px;
}
p:last-child,
ul:last-child,
ol:last-child {
  margin-bottom: 0;
}
strong, b {
  color: var(--color-primary);
  font-weight: bold;
}
em {
  font-style: italic;
}
ul, ol {
  padding-left: 18px;
  margin-bottom: 20px;
}
li {
  margin-bottom: 8px;
  font-size: 1em;
}
.blockquote, blockquote {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 1.15em;
  color: var(--color-primary);
  background: var(--color-pastel-mint);
  border-left: 4px solid var(--color-secondary);
  padding: 16px 22px;
  border-radius: 12px;
  margin-bottom: 10px;
  font-style: italic;
}

/* -----------------------------------
   HEADER & NAVIGATION
   ----------------------------------- */
header {
  width: 100%;
  background: linear-gradient(90deg, #F7F3E8 60%, #BCE9D8 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  box-shadow: 0 2px 16px 0 rgba(179, 201, 145, 0.10);
  z-index: 40;
  position: relative;
}
header > a img {
  height: 46px;
  transition: filter 0.3s;
}
nav {
  display: flex;
  gap: 22px;
  align-items: center;
  margin-left: 24px;
}
nav a {
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  padding: 7px 12px;
  border-radius: 8px;
  color: var(--color-dark);
  background: transparent;
  transition: background 0.2s, color 0.2s;
}
nav a:hover,
nav a:focus {
  background: var(--color-pastel-mint);
  color: var(--color-primary);
}
.cta-btn {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 1.12rem;
  padding: 10px 26px;
  border-radius: 24px;
  background: var(--color-secondary);
  color: var(--color-dark);
  border: none;
  font-weight: bold;
  margin-left: 26px;
  cursor: pointer;
  box-shadow: 0 2px 10px 0 rgba(179,201,145,0.18);
  transition: background 0.18s, color 0.18s, box-shadow 0.24s;
  letter-spacing: 0.04em;
  outline: none;
  display: inline-block;
  text-align: center;
  text-decoration: none;
}
.cta-btn:hover,
.cta-btn:focus {
  background: var(--color-primary);
  color: var(--white);
  box-shadow: 0 6px 18px 0 rgba(35,92,69,0.16);
}

.mobile-menu-toggle {
  display: none;
  background: var(--color-secondary);
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  color: var(--color-dark);
  padding: 6px 14px;
  cursor: pointer;
  margin-left: 16px;
  transition: background 0.2s, box-shadow 0.2s;
  z-index: 80;
}
.mobile-menu-toggle:hover {
  background: var(--color-pastel-mint);
  box-shadow: 0 1px 6px #B3C99144;
}

/* -----------------------
   MOBILE NAVIGATION MENU
   ----------------------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(130deg, #E6E3FA 40%, #FFF9D7 100%);
  z-index: 1001;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.48,.14,.48,1.18);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 28px;
  overflow-y: auto;
  gap: 0;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--color-secondary);
  color: var(--color-primary);
  font-size: 2rem;
  border-radius: 28px;
  border: none;
  padding: 2px 16px 0 16px;
  margin-right: 28px;
  margin-bottom: 16px;
  cursor: pointer;
  transition: background 0.15s;
  z-index: 1012;
}
.mobile-menu-close:hover {
  background: var(--color-pastel-mint);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  width: 100%;
  margin-top: 12px;
  padding: 0 32px;
}
.mobile-nav a {
  font-size: 1.24rem;
  color: var(--color-dark);
  padding: 11px 10px 11px 0;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
  width: 100%;
  font-family: 'PT Serif', Georgia, serif;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--color-pastel-mint);
  color: var(--color-primary);
}

/* Hide nav on mobile, show hamburger */
@media (max-width: 1020px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (min-width: 1021px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ------------------------
   CONTAINER & SECTION SPACING
   (MANDATORY FLEXBOX PATTERNS)
   ------------------------ */
.container {
  width: 100%;
  min-width: 0;
  margin: 0 auto;
  max-width: 1080px;
  padding: 0 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: 24px;
  box-shadow: 0 5px 18px -8px #A1BBA988;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
/* Flex containers (required patterns) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 16px;
  box-shadow: 0 4px 18px 0 #BCE9D844;
  background: var(--white);
  padding: 24px 18px;
  min-width: 260px;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.19s;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 8px 26px -2px #BCE9D866;
}
.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;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 3px 14px #D6E5F766;
  padding: 20px;
  margin-bottom: 20px;
  flex-direction: row;
  min-width: 240px;
  max-width: 640px;
  transition: box-shadow 0.18s, transform 0.22s;
  font-size: 1.03rem;
}
.testimonial-card:hover,
.testimonial-card:focus-within {
  box-shadow: 0 7px 30px -3px #BCE9D999;
  transform: translateY(-1px) scale(1.015);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-pastel-mint);
  border-radius: 18px;
  padding: 14px 22px;
  min-width: 200px;
  box-shadow: 0 2px 10px 0 #BCE9D822;
}

.text-section {
  background: var(--color-pastel-blue);
  border-radius: 12px;
  padding: 20px 18px;
  margin-bottom: 18px;
  box-shadow: 0 2px 6px #BCE9D822;
  font-size: 1.01rem;
}

/* Decorative icons in lists */
li img {
  vertical-align: middle;
  margin-right: 7px;
  height: 1.15em;
  display: inline;
}

/* -----------------------
   TESTIMONIALS VISIBILITY
   ----------------------- */
.testimonial-card {
  background: #fff;
  color: #235C45;
  border: 1px solid #EDEDED;
}
.testimonial-card p,
.testimonial-card b {
  color: #235C45;
}
.testimonial-card span {
  margin-left: 14px;
  color: #B3C991;
  font-size: 1.08em;
}
blockquote {
  background: var(--color-pastel-mint);
  border: none;
  border-left: 5px solid var(--color-secondary);
  margin: 0 0 12px 0;
  padding: 7px 13px 7px 30px;
  font-style: italic;
  color: var(--color-dark);
}


/* ------------------------------------
   BUTTONS & INTERACTION
   ------------------------------------ */
button,
input[type="submit"],
.cta-btn {
  cursor: pointer;
  transition: background 0.17s, color 0.17s, box-shadow 0.16s;
  outline: none;
}
button:focus,
.cta-btn:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

/* -------------------
   FOOTER
   -------------------- */
footer {
  width: 100%;
  background: linear-gradient(90deg, #F7F3E8 60%, #BCE9D8 100%);
  box-shadow: 0 -2px 24px #B3C99133;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 32px 10px 18px 10px;
  margin-top: 48px;
  border-radius: 20px 20px 0 0;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-bottom: 12px;
}
.footer-nav a {
  font-size: 0.98rem;
  color: var(--color-primary);
  background: var(--color-pastel-yellow);
  padding: 6px 12px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.16s, color 0.16s;
}
.footer-nav a:hover {
  background: var(--color-secondary);
  color: var(--white);
}
.footer-contact {
  text-align: center;
  color: var(--color-primary);
  font-size: 0.97rem;
}

/* ---------------------
   COOKIE CONSENT BANNER
   --------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: linear-gradient(90deg, #FFF9D7 60%, #E6E3FA 100%);
  color: var(--color-dark);
  box-shadow: 0 -2px 16px #B3C99133;
  z-index: 3000;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 18px 16px;
  gap: 24px;
  font-size: 1rem;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.32s, transform 0.3s;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}
.cookie-banner .cookie-text {
  flex: 1 1 220px;
  max-width: 620px;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-banner button,
.cookie-banner .cookie-btn {
  padding: 8px 18px;
  border-radius: 14px;
  background: var(--color-secondary);
  color: var(--color-dark);
  font-weight: bold;
  border: none;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  margin: 0 0 0 0;
  cursor: pointer;
  box-shadow: 0 2px 6px #BCE9D829;
  transition: background 0.14s, color 0.14s;
}
.cookie-banner button:hover,
.cookie-banner .cookie-btn:hover {
  background: var(--color-primary);
  color: var(--white);
}

.cookie-banner .cookie-btn.settings {
  background: var(--color-pastel-mint);
  color: var(--color-primary);
  border: 1px solid var(--color-secondary);
}
.cookie-banner .cookie-btn.settings:hover {
  background: var(--color-secondary);
  color: var(--color-primary);
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(1);
  background: #fff;
  box-shadow: 0 10px 38px -10px #BCE9D866;
  border-radius: 20px;
  z-index: 5000;
  min-width: 310px;
  max-width: 420px;
  width: 93vw;
  padding: 38px 28px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  opacity: 1;
  transition: opacity 0.26s, transform 0.3s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -30%) scale(0.96);
}
.cookie-modal h2 {
  font-size: 1.35rem;
  margin: 0 0 12px;
  text-align: center;
}
.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 8px;
}
.cookie-option {
  background: var(--color-pastel-yellow);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.98rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
.cookie-option input[type=checkbox] {
  accent-color: var(--color-secondary);
  width: 1.1em;
  height: 1.1em;
  margin-left: 18px;
}
.cookie-modal .cookie-modal-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 10px;
}
.cookie-modal .cookie-modal-btns button {
  padding: 8px 22px;
  background: var(--color-secondary);
  color: var(--color-dark);
  border-radius: 14px;
  font-weight: bold;
  border: none;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  transition: background 0.13s;
}
.cookie-modal .cookie-modal-btns button:hover {
  background: var(--color-primary);
  color: var(--white);
}

/* Overlay for modal */
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(44,76,51, 0.15);
  z-index: 4000;
  backdrop-filter: blur(2.5px);
  animation: modalBlurIn 0.3s;
}
@keyframes modalBlurIn {
  from { backdrop-filter: blur(0px); opacity: 0; }
  to { backdrop-filter: blur(2.5px); opacity: 1; }
}

/* --------------------
   RESPONSIVE
   -------------------- */
@media (max-width: 900px) {
  .section {
    padding: 32px 10px;
    margin-bottom: 40px;
  }
  .container {
    padding: 0 9px;
  }
}
@media (max-width: 768px) {
  header {
    flex-direction: row;
    gap: 5px;
    padding: 10px 6px;
  }
  .cta-btn {
    margin-left: 8px;
    font-size: 1.02rem;
    padding: 7px 13px;
    min-width: 120px;
  }
  .section {
    padding: 20px 2px;
    margin-bottom: 24px;
  }
  .footer-nav {
    gap: 14px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    min-width: 180px;
    max-width: 98vw;
  }
}
@media (max-width: 540px) {
  .testimonial-card, .card {
    padding: 13px 4vw;
    border-radius: 14px;
  }
  .section {
    padding: 12px 1px;
  }
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.19rem; }
  h3 { font-size: 1.12rem; }
}

/* Hide cookie banner text on very small screens */
@media (max-width: 430px) {
  .cookie-banner .cookie-text {
    font-size: 0.97rem;
    max-width: 160px;
  }
  .cookie-banner .cookie-btns {
    flex-direction: column;
    gap: 8px;
  }
}

/* ------------------
   MICRO-INTERACTIONS
   ------------------ */
.card,
.testimonial-card,
.feature-item,
.cta-btn,
.cookie-banner button,
.cookie-banner .cookie-btn,
.cookie-modal .cookie-modal-btns button {
  transition: box-shadow 0.16s, background 0.16s, color 0.16s, transform 0.17s;
}
.card:active,
.testimonial-card:active,
.feature-item:active {
  transform: translateY(1.5px) scale(0.99);
}
.cta-btn:active,
button:active {
  transform: translateY(0.5px) scale(0.98);
}

/* --------------
   MISC UTILS
   -------------- */
::-webkit-scrollbar {
  width: 9px;
  background: #FCFCFC;
}
::-webkit-scrollbar-thumb {
  background: #E6E3FA;
  border-radius: 12px;
}

/* Visually hide but accessible */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* -------END------- */
