/* =========================
   CSS RESET & NORMALIZE
========================= */
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;
  vertical-align: baseline;
  box-sizing: border-box;
}

html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  background: #F3EDE8; /* accent/neutral background */
  color: #2D3228; /* gentle earth dark #33422d fallback */
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: 0.02em;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font: inherit;
  background: none;
  border: none;
  outline: none;
  color: inherit;
}
a {
  color: #2D4764; /* primary */
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #60805c; /* soft, organic green */
  text-decoration: underline;
}

ul, ol {
  margin-left: 24px;
}


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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', serif;
  color: #2D4764; /* primary */
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}
h1 { font-size: 2.4rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.5rem; margin-bottom: 10px; }
h4 { font-size: 1.2rem; margin-bottom: 8px; }

p, li, address, dl, dt, dd {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #2D3228;
}

strong { font-weight: 700; }
em, i { font-style: italic; }

.text-section, .text-image-section {
  margin-bottom: 32px;
}


/* =========================
   LAYOUT CONTAINERS
========================= */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

/* Section spacing pattern */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 40px 0 40px 0 / 50px 30px 20px 30px; /* organic shape */
  background: #fff;
  box-shadow: 0 2px 16px 0 rgba(44,68,42,0.05), 0 1.5px 4px 0 rgba(120,106,84,0.03);
  position: relative;
}

.hero-section {
  background: linear-gradient(110deg, #E7E2D9 65%, #B5BFA1 100%);
  background-color: #F3EDE8;
  border-radius: 0 0 70px 70px / 0 0 110px 110px;
  box-shadow: none;
  margin-bottom: 60px;
  padding-top: 60px;
  padding-bottom: 60px;
}
.cta-section {
  background: #A9C0AE; /* light organic green */
  background: linear-gradient(100deg, #A9C0AE 80%, #F3EDE8 100%);
  color: #213322;
  border-radius: 40px 120px 40px 40px / 60px 100px 50px 80px;
  margin-bottom: 0;
}
.cta-section h2, .cta-section .btn-primary {
  color: #2D4764;
}


/* =========================
   FLEXBOX PATTERNS
========================= */
.features-grid, .card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
  align-items: stretch;
}

.features-grid > div, .card {
  flex: 1 1 300px;
  min-width: 240px;
  background: #F9F6F2;
  box-shadow: 0 2px 8px 0 rgba(173,153,121,0.06);
  border-radius: 28px 12px 28px 12px / 24px 24px 32px 20px;
  margin-bottom: 20px;
  padding: 32px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow .28s, transform .22s;
  position: relative;
}
.features-grid > div:hover {
  box-shadow: 0 8px 32px 0 rgba(78, 97, 71, 0.11),0 2px 16px 0 rgba(173,153,121,0.08);
  transform: translateY(-4px) scale(1.02);
}

.card-container {
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}

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


/* =========================
   TESTIMONIALS
========================= */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 32px 24px 32px;
  background: #E7E2D9;
  color: #273B2B;
  border-radius: 34px 20px 30px 18px / 40px 20px 38px 16px;
  box-shadow: 0 4px 16px 0 rgba(92,101,68,0.12);
  margin-bottom: 20px;
  font-size: 1.08rem;
  transition: box-shadow .18s, border .18s;
  border-left: 6px solid #A9C0AE;
}
.testimonial-card p {
  color: #273B2B;
  font-size: 1.05rem;
  font-style: italic;
  margin-bottom: 4px;
}
.testimonial-card strong {
  color: #2D4764;
  font-size: 0.98rem;
  margin-left: 8px;
  letter-spacing: 0.04em;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px 0 rgba(86,94,60,.18);
  border-left: 8px solid #60805c;
}


/* =========================
   BUTTONS
========================= */
.btn-primary,
.btn-primary:visited {
  display: inline-block;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1.13rem;
  font-weight: 700;
  color: #fff !important;
  background: #2D4764;
  border: none;
  border-radius: 32px 22px 34px 22px / 32px 18px 24px 12px;
  padding: 14px 36px;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(38,61,44,0.09);
  transition: background .22s, color .15s, transform .15s, box-shadow .18s;
  letter-spacing: 0.03em;
  margin-top: 8px;
  margin-bottom: 8px;
  text-align: center;
}
.btn-primary:hover, .btn-primary:focus {
  background: #60805c;
  color: #fff;
  box-shadow: 0 8px 24px 0 rgba(38,61,44,0.16);
  transform: scale(1.03);
}

nav a.btn-primary {
  margin-left: 20px;
  margin-top: 0;
  margin-bottom: 0;
}

button, .btn-secondary {
  background: #A9C0AE;
  color: #213322;
  font-weight: 600;
  padding: 8px 28px;
  border-radius: 26px 16px 26px 18px / 22px 12px 21px 10px;
  border: none;
  cursor: pointer;
  transition: background .18s, color .15s;
  margin-right: 14px;
  margin-bottom: 8px;
}
button:hover, .btn-secondary:hover, button:focus, .btn-secondary:focus {
  background: #60805c;
  color: #fff;
}


/* =========================
   NAVIGATION & HEADER
========================= */
header {
  background: #fff;
  box-shadow: 0 3px 16px rgba(44,68,42,.06);
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
  position: sticky;
  top: 0;
  z-index: 90;
}
nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  padding-top: 12px;
  padding-bottom: 12px;
  margin-left: 8px;
}
nav img {
  height: 48px;
  width: auto;
  margin-right: 30px;
}
nav a {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #2D4764;
  padding: 10px 14px;
  border-radius: 18px 8px 19px 9px;
  transition: background .19s, color .20s;
}
nav a:hover, nav a.active {
  background: #A9C0AE;
  color: #fff;
}

@media (max-width: 980px) {
  nav {
    gap: 10px;
  }
  nav img {
    margin-right: 10px;
    height: 40px;
  }
}

@media (max-width: 880px) {
  nav a:not(.btn-primary) {
    font-size: 0.98rem;
    padding: 9px 10px;
  }
}

/* =========================
   MOBILE NAVIGATION
========================= */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 26px;
  right: 24px;
  background: #A9C0AE;
  color: #fff;
  padding: 10px 18px 10px 15px;
  border-radius: 16px 22px 14px 10px;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  z-index: 120;
  transition: background .18s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #8ca98d;
  color: #fff;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 32px 28px 24px 32px;
  background: #F3EDE8;
  box-shadow: -2px 0 32px rgba(44,68,42,.24);
  position: fixed;
  top: 0;
  right: 0;
  width: 90vw;
  max-width: 350px;
  height: 100vh;
  z-index: 200;
  transform: translateX(105%);
  transition: transform .36s cubic-bezier(0.76, 0, 0.24, 1);
  visibility: hidden;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
}

.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #A9C0AE;
  color: #fff;
  border: none;
  border-radius: 13px 8px 12px 16px;
  font-size: 1.6rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
  transition: background .12s;
  z-index: 215;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: #60805c;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  margin-top: 60px;
}
.mobile-nav a {
  font-size: 1.12rem;
  color: #2D4764;
  padding: 15px 5px 13px 3px;
  border-radius: 12px;
  background: none;
  text-align: left;
  font-weight: 600;
  transition: color .14s, background .16s;
  display: flex;
}
.mobile-nav a:hover, .mobile-nav a.active {
  background: #A9C0AE;
  color: #fff;
}
.mobile-nav a:last-child {
  margin-bottom: 18px;
}

@media (max-width: 930px) {
  nav a,
  nav .btn-primary {
    display: none;
  }
  nav img {
    margin-right: 0px;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* =========================
   FOOTER
========================= */
footer {
  background: #F9F6F2;
  padding: 32px 0 14px 0;
  border-top: 2px solid #A9C0AE;
  border-radius: 56px 0 40px 50px / 40px 30px 24px 28px;
}
footer .container {
  max-width: 1080px;
}
footer .content-wrapper {
  flex-direction: column;
  gap: 10px;
}
footer nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 12px;
}
footer nav a {
  color: #2D4764;
  font-size: 0.97rem;
  padding: 7px 11px;
  border-radius: 9px 14px 9px 6px;
  background: none;
  font-weight: 600;
  margin-bottom: 4px;
}
footer nav a:hover {
  background: #A9C0AE;
  color: #fff;
}
footer address {
  font-size: 0.97rem;
  color: #335E36;
  font-style: normal;
  margin-bottom: 10px;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
footer address img {
  height: 18px;
  width: 18px;
  vertical-align: middle;
  margin-right: 5px;
  margin-bottom: -3px;
}
footer p {
  color: #9b9488;
  font-size: 0.91rem;
}


/* =========================
   MISC CARDS, LISTS, DL
========================= */
dt {
  font-weight: 600;
  color: #2D4764;
  margin-top: 10px;
  margin-bottom: 4px;
  font-size: 1.06rem;
}
dd {
  margin-bottom: 12px;
  margin-left: 14px;
}

.note {
  font-size: 0.99rem;
  background: #E8ECD9;
  color: #527552;
  border-radius: 15px 22px 10px 18px;
  padding: 12px 20px;
  margin-top: 18px;
  margin-bottom: 8px;
}

/* List styling for organic touch */
ul, ol {
  padding-left: 22px;
  margin-bottom: 18px;
}
ul li, ol li {
  margin-bottom: 9px;
  line-height: 1.6;
  position: relative;
}
ul li:before {
  content: '';
  display: inline-block;
  width: 9px;
  height: 9px;
  background: #A9C0AE;
  border-radius: 50%;
  margin-right: 12px;
  vertical-align: middle;
}
ol li {
  list-style-type: decimal;
}

/* Icons in text */
.text-section img {
  height: 20px;
  width: 20px;
  vertical-align: middle;
  margin-right: 7px;
  margin-bottom: -2px;
}

/* =========================
   RESPONSIVE ADJUSTMENTS
========================= */
@media (max-width: 1020px) {
  .container {
    max-width: 99vw;
    padding-left: 10px;
    padding-right: 10px;
  }
  section {
    padding: 28px 12px;
  }
  .features-grid > div {
    min-width: 200px;
    padding: 22px 16px;
  }
}

@media (max-width: 720px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.28rem; }
  h3 { font-size: 1.06rem; }
  .features-grid > div {
    padding: 14px 8px 12px 8px;
    font-size: 0.97rem;
  }
  section {
    padding: 18px 6px;
    margin-bottom: 38px;
    border-radius: 19px 39px 20px 19px / 22px 20px 20px 24px;
  }
  .cta-section {
    border-radius: 26px 52px 26px 38px / 30px 44px 23px 27px;
  }
}

@media (max-width: 768px) {
  .features-grid,
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .features-grid > div {
    min-width: 80vw;
    margin-bottom: 5px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 13px 12px 18px 13px;
    font-size: 0.98rem;
  }
}

@media (max-width: 480px) {
  html { font-size: 15px; }
  h1, h2, h3 { margin-bottom: 10px; }
  .features-grid > div, .card {
    padding: 9px 3px 12px 6px;
    min-width: 96vw;
  }
  .testimonial-card {
    font-size: 0.97rem;
    padding: 8px 3px 13px 10px;
  }
  footer {
    border-radius: 15px 30px 15px 15px / 14px 13px 16px 18px;
    padding: 14px 0 10px 0;
  }
  .mobile-menu {
    padding: 24px 10px 24px 16px;
    max-width: 95vw;
  }
}

/* =========================
   MICRO-INTERACTIONS
========================= */
.features-grid > div img,
.card img {
  transition: transform .22s;
}
.features-grid > div:hover img,
.card:hover img {
  transform: scale(1.08) rotate(-4deg);
}


/* =========================
   COOKIE CONSENT BANNER
========================= */
.cookie-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #E7E2D9;
  color: #2D3228;
  padding: 22px 12px 18px 12px;
  border-radius: 30px 30px 0 0;
  box-shadow: 0 -4px 32px rgba(52, 72, 52, 0.09);
  z-index: 420;
  gap: 20px;
  min-height: 70px;
  animation: slideInBanner .35s cubic-bezier(0.76,0,0.24,1);
}
.cookie-banner p {
  margin-bottom: 8px;
  color: #273B2B;
}
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}
.cookie-btn,
.cookie-settings-btn {
  font-size: 1rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #A9C0AE;
  color: #fff;
  padding: 10px 24px;
  border-radius: 20px 14px 20px 17px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: background .12s, color .13s, box-shadow .14s;
}
.cookie-btn:hover, .cookie-settings-btn:hover,
.cookie-btn:focus, .cookie-settings-btn:focus {
  background: #60805c;
  color: #fff;
  box-shadow: 0 5px 10px 0 rgba(33,52,30,0.11);
}
.cookie-btn.reject {
  background: #A5927B;
  color: #fff;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #8b7257;
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(33,52,30,0.22);
  z-index: 480;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: all;
  animation: fadeModalBg .26s;
}
.cookie-modal {
  min-width: 280px;
  max-width: 98vw;
  background: #fff;
  border-radius: 34px 48px 25px 14px;
  box-shadow: 0 6px 48px rgba(33,52,30,0.19);
  padding: 38px 26px 30px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  animation: slideModalIn .33s cubic-bezier(.87,-0.03,.19,1.12);
  position: relative;
}
.cookie-modal h3 {
  color: #2D4764;
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.cookie-modal ul {
  list-style: none;
  margin: 0;
  padding-left: 0;
}
.cookie-modal ul li {
  margin-bottom: 13px;
  font-size: 1.01rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-modal input[type=checkbox] {
  accent-color: #A9C0AE;
  width: 1.2em;
  height: 1.2em;
  border-radius: 4px;
}
.cookie-modal .cookie-modal-buttons {
  display: flex;
  gap: 13px;
  margin-top: 21px;
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 18px;
  background: #A9C0AE;
  color: #fff;
  border: none;
  border-radius: 9px 7px 8px 11px;
  font-size: 1.3rem;
  cursor: pointer;
  width: 38px;
  height: 38px;
  transition: background .13s;
}
.cookie-modal-close:focus,
.cookie-modal-close:hover {
  background: #60805c;
}

/* Cookie modal Animations */
@keyframes slideInBanner {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
@keyframes fadeModalBg {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideModalIn {
  from { transform: translateY(60px) scale(.92); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}

@media (max-width: 480px) {
  .cookie-modal {
    padding: 23px 8px 23px 13px;
    min-width: 150px;
  }
}


/* =========================
   ORGANIC/NATURE THEMES
========================= */
/* Borders & Element Details */
section, .features-grid > div, .card, .testimonial-card, .btn-primary, .btn-secondary, .cookie-banner, .cookie-modal {
  /* Organic, soft corners as shown above */
  box-shadow: 0 3px 18px 0 rgba(91,101,67,0.08);
}

/* Textural Touches: Use subtle linear gradients + background color for a paperlike organic look (no images for now) */

.features-grid > div, .card {
  background: linear-gradient(120deg, #F9F6F2 80%, #E7E2D9 100%);
}

.cta-section {
  background: linear-gradient(105deg, #A9C0AE 90%, #E7E2D9 100%);
}

/* Earth tone accents */
.section {
  background: #fff;
  border: 2px solid #A9C0AE1a;
}


/* =========================
   ACCESSIBILITY
========================= */
:focus-visible {
  outline: 2.5px dashed #A9C0AE;
  outline-offset: 2px;
}


/* =========================
   NO OVERLAPS & SPACING
========================= */
.section, section, .container, .features-grid, .card-container, .content-grid, .testimonial-card, .btn-primary, .card {
  margin-bottom: 20px;
}

.features-grid > div, .card {
  margin-bottom: 20px;
  margin-right: 0;
}

/* No absolute positioning for cards/text */
.card, .features-grid > div, .testimonial-card {
  position: relative;
}

/* ================
   END OF CSS
================ */
