/* ---------------------------
   CSS RESET & BASE STYLES
---------------------------- */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #35413A;
  background-color: #F6F5F0;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #2A4E7E;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #205375;
  text-decoration: underline;
  outline: none;
}
:focus {
  outline: 2px solid #76B947;
  outline-offset: 2px;
}
ul, ol {
  padding-left: 1.5rem;
}
strong {
  font-weight: 600;
}
input, button, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #C8CFC0;
  transition: border 0.2s, box-shadow 0.2s;
}
button, .cta-primary {
  cursor: pointer;
  border: none;
}
hr {
  border: none;
  border-top: 1px solid #e0e6dc;
  margin: 24px 0;
}

/* ---------------------------
   BRAND TYPOGRAPHY
---------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #2A4E7E;
  margin-bottom: 8px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.125rem;
}
.section p, .content-wrapper p, li {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: #35413A;
}

/* ---------------------------
   FLEXBOX LAYOUT UTILITIES
---------------------------- */
.container {
  width: 100%;
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFF;
  border-radius: 30px;
  box-shadow: 0 2px 16px rgba(44, 75, 49, 0.08);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  justify-content: flex-start;
}
.card {
  margin-bottom: 20px;
  background: #FFF;
  padding: 32px 24px;
  border-radius: 18px;
  box-shadow: 0 4px 32px rgba(64, 82, 54, 0.06);
  position: relative;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #F8F5ED;
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(72, 87, 68, 0.07);
  border-left: 6px solid #76B947;
  font-style: italic;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* -----------------------------
   NATURAL/ORGANIC VISUAL STYLE
------------------------------- */
body {
  background-color: #F6F5F0;
}
.section {
  background: #F9FAF7;
  /* organic edge with subtle mask (for modern browsers) */
  border-radius: 30px 40px 32px 26px/35px 36px 32px 30px;
  box-shadow: 0 6px 36px rgba(60, 90, 60, 0.10);
  border: 1.5px solid #EAE8DD;
}
.card {
  border-radius: 22px 24px 20px 18px/24px 20px 20px 24px;
  background: #FFF;
  box-shadow: 0 4px 18px rgba(75, 88, 66, 0.09);
  border: 1px solid #EAE8DD;
}
.feature-item {
  background: #EAE8DD;
  border-radius: 20px;
  padding: 18px 18px 16px 18px;
  margin-bottom: 0;
  box-shadow: 0 2px 8px rgba(104, 132, 88, 0.06);
}
.testimonial-card {
  background: #FCFFF8;
  border-left: 6px solid #87A878;
  color: #37402A !important;
}

/* Earthy, natural, warm color palette */
:root {
  --brand-primary: #2A4E7E;
  --brand-secondary: #EAE8DD;
  --brand-accent: #F9B23D;
  --green: #76B947;
  --olive: #D0D8B3;
  --sand: #F8F5ED;
  --dark-earth: #35413A;
  --moss: #B8C481;
  --clay: #E7C48A;
  --leaf-shadow: #D7E6BB;
}

.cta-primary, .card a.cta-primary {
  background: var(--green);
  color: #fff;
  border-radius: 12px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  padding: 12px 32px;
  margin-top: 12px;
  letter-spacing: .04em;
  transition: background 0.22s, transform 0.16s, box-shadow 0.18s;
  box-shadow: 0 2px 10px rgba(159, 204, 103, 0.09);
  border: none;
  display: inline-block;
  position: relative;
  text-align: center;
}
.cta-primary:hover, .cta-primary:focus {
  background: #5B834B;
  color: #FFF;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 26px rgba(59, 128, 45, 0.10);
}

nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.07rem;
  color: #2A4E7E;
  padding: 8px 12px;
  position: relative;
  border-radius: 9px;
  transition: background 0.18s, color 0.18s;
  margin-right: 4px;
}
nav a:last-child { margin-right: 0; }
nav a:hover, nav a:active {
  background: #D7E6BB;
}
footer nav a {
  color: #537540;
  font-size: 1rem;
}
footer nav a:hover {
  color: #253621;
  background: #E7C48A;
}


/* ---------------------------
   HEADER & NAVIGATION
---------------------------- */
header {
  background: #F9FAF7;
  box-shadow: 0 1px 18px rgba(100, 117, 71, 0.06);
  border-bottom: 1px solid #EAE8DD;
  position: relative;
  z-index: 30;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
header nav {
  display: flex;
  align-items: center;
  gap: 12px;
}
header img {
  height: 50px;
  width: auto;
  margin-right: 16px;
}
header .cta-primary {
  margin-left: 22px;
  padding: 11px 24px;
  font-size: 1.10rem;
  border-radius: 10px;
  background: var(--brand-accent);
  color: #1C331B;
  box-shadow: 0 2px 9px rgba(249,178,61, 0.08);
}
header .cta-primary:hover,
header .cta-primary:focus {
  background: #FFD180;
  color: #1C331B;
}

/* Mobile navigation toggle button */
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2.15rem;
  color: #37402A;
  padding: 7px 12px;
  border-radius: 10px;
  display: none;
  transition: background .17s, color .18s;
  z-index: 1002;
  align-self: center;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #D7E6BB;
  color: #2A4E7E;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 320px;
  max-width: 90vw;
  height: 100vh;
  background: #FCFFF9;
  box-shadow: 2px 0 32px rgba(55, 76, 42, 0.20);
  transform: translateX(-110%);
  transition: transform 0.34s cubic-bezier(.7,.1,.55,1);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 12px 28px 24px 18px;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  align-self: flex-end;
  color: #7CA17F;
  margin-bottom: 22px;
  padding: 0 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #D7E6BB;
  color: #35413A;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.21rem;
  color: #2A4E7E;
  padding: 13px 7px;
  border-radius: 7px;
  transition: background 0.15s, color 0.16s;
  margin: 0;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #fff;
  background: var(--green);
}

/* Overlay for mobile menu */
body.mobile-menu-open::before {
  content: '';
  position: fixed;
  z-index: 1099;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(45,69,51,0.25);
  pointer-events: auto;
  transition: background 0.22s;
}


/* ---------------------------
   FOOTER
---------------------------- */
footer {
  margin-top: 62px;
  background: #EAE8DD;
  border-top: 1px solid #D0D8B3;
  color: #425243;
  box-shadow: 0 -2px 22px rgba(147, 169, 107, 0.05);
}
footer .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 22px;
  padding-bottom: 22px;
}
footer img {
  height: 42px;
  width: auto;
  opacity: 0.86;
}
footer nav {
  display: flex;
  gap: 13px;
  align-items: center;
}
footer p {
  font-size: 1rem;
  color: #596643;
  margin: 0;
}

/* ---------------------------
   RESPONSIVE DESIGN
---------------------------- */
@media (max-width: 1200px) {
  .container { max-width: 95vw; }
}
@media (max-width: 950px) {
  header .container, footer .container { flex-direction: column; align-items: flex-start; gap: 16px; }
  .section { padding: 28px 6vw; }
}
@media (max-width: 768px) {
  .container { padding: 0 10px; }
  .section { padding: 24px 6px; margin-bottom: 38px; }
  h1 { font-size: 1.62rem; }
  h2 { font-size: 1.22rem; }
  header nav { display: none; }
  header .cta-primary { display: none; }
  .mobile-menu-toggle { display: block; }
  .mobile-menu { max-width: 100vw; width: 96vw; }
  footer .container { flex-direction: column; gap: 14px; align-items: flex-start; }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    padding: 16px;
  }
  .card-container {
    flex-direction: column;
  }
  .content-grid, .text-image-section { flex-direction: column; gap: 18px; }
}
@media (max-width: 480px) {
  h1 { font-size: 1.23rem; }
  .section { border-radius: 18px; }
}

/* ---------------------------
   BUTTONS, MICRO-INTERACTIONS
---------------------------- */
button, .cta-primary {
  transition: background 0.22s, color 0.18s, transform 0.15s, box-shadow 0.13s;
}
button:active, .cta-primary:active {
  transform: scale(0.99);
  box-shadow: 0 2px 5px rgba(110,173,58,0.07);
}

/* ---------------------------
   LISTS AND LINKS
---------------------------- */
ul, ol {
  margin-bottom: 12px;
  color: #425243;
  font-size: 1.04rem;
}
ul li, ol li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 16px;
}
ul li::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 60% 40% 47% 53%/60% 40% 60% 40%;
  background: var(--green);
  position: absolute;
  left: 0;
  top: 0.7em;
}

/* Special secondary accent for inspiration */
h3, strong, em {
  color: #507467;
}
em {
  font-style: italic;
  color: #507467;
  font-weight: 500;
}


/* ---------------------------
   COOKIE CONSENT BANNER
---------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  background: #F6F5F0;
  border-top: 2px solid #D0D8B3;
  box-shadow: 0 -4px 16px rgba(41,80,54,0.09);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px 14px 18px;
  gap: 24px;
  z-index: 1999;
  font-size: 1.08rem;
  color: #2A4E7E;
}
.cookie-banner-text {
  flex: 1 1 0;
  padding-right: 8px;
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 15px;
}
.cookie-btn {
  border-radius: 7px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  font-weight: 600;
  padding: 8px 20px;
  margin: 0;
  transition: background 0.13s, color 0.15s;
  cursor: pointer;
}
.cookie-btn.accept {
  background: var(--green);
  color: #fff;
}
.cookie-btn.reject {
  background: #F9B23D;
  color: #253621;
}
.cookie-btn.settings {
  background: transparent;
  color: #37402A;
  border: 1px solid #B8C481;
}
.cookie-btn:hover, .cookie-btn:focus {
  opacity: .92;
  box-shadow: 0 2px 9px rgba(117,185,71,0.14);
}

@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 12px 8px 16px 8px;
    gap: 8px;
    font-size: 0.96rem;
  }
  .cookie-banner-buttons {
    justify-content: flex-end;
    gap: 9px;
  }
}

.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -52%) scale(1);
  background: #F6F5F0;
  border-radius: 22px;
  box-shadow: 0 4px 64px rgba(88,110,80,0.15);
  z-index: 2000;
  max-width: 97vw;
  min-width: 285px;
  padding: 34px 32px 26px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: cookieModalIn 0.22s cubic-bezier(.7,.1,.55,1);
}
@keyframes cookieModalIn {
  from { opacity: 0; transform: translate(-50%, -46%) scale(.92); }
  to { opacity: 1; transform: translate(-50%, -52%) scale(1); }
}
.cookie-modal-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
.cookie-modal-close {
  background: none;
  border: none;
  font-size: 1.75rem;
  color: #6D875D;
  cursor: pointer;
  border-radius: 5px;
  padding: 0 7px;
  transition: background 0.19s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #EAE8DD;
  color: #37402A;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0 11px 0;
  border-bottom: 1px solid #EAE8DD;
  font-size: 1.04rem;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-switch {
  accent-color: var(--green);
  width: 32px;
  height: 24px;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 15px;
  margin-top: 9px;
}
@media (max-width: 500px) {
  .cookie-modal {
    min-width: 0;
    padding: 14vw 7vw 9vw 7vw;
  }
  .cookie-modal-header h2 {
    font-size: 1.15rem;
  }
}

/* ---------------------------
   ORGANIC DETAILS/ACCENTS
---------------------------- */
.section::after {
  content: '';
  display: block;
  position: absolute;
  right: -34px; bottom: -34px;
  width: 86px; height: 44px;
  background: radial-gradient(ellipse at top left, #B8C481 55%, transparent 90%);
  opacity: 0.08;
  z-index: 0;
  pointer-events:none;
}
.card::before {
  content: '';
  position: absolute;
  top: -15px; left: -15px;
  width: 48px; height: 28px;
  background: radial-gradient(ellipse at bottom right, #F9B23D 38%, transparent 94%);
  border-radius: 16px 30px 16px 24px / 18px 38px 19px 18px;
  opacity: 0.07;
  z-index: 0;
  pointer-events:none;
}
.feature-item::after {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 60% 40% 45% 56%/60% 40% 65% 46%;
  background: #B8C481;
  opacity: 0.23;
  display: inline-block;
  margin-left: 12px;
}


/* ---------------------------
   SPECIAL ELEMENTS FOR THANK-YOU PAGE
---------------------------- */
.content-wrapper ul li img {
  display: inline-block;
  margin-right: 7px;
  vertical-align: middle;
  height: 28px;
  width: 28px;
}

/* ---------------------------
   PRINT STYLES
---------------------------- */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  .section { box-shadow: none; border: none; }
}
