/* ----------------------------------------------
   CSS RESET & NORMALIZE (mobile-first)
------------------------------------------------ */
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,
main, 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;
  font-family: 'Roboto', Arial, sans-serif;
  background-color: #F3F5F7;
  color: #264028;
  line-height: 1.7;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #206544;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #174378;
  text-decoration: underline;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 8px;
  line-height: 1.6;
}
strong {
  font-weight: 600;
}
address {
  font-style: normal;
  color: #365138;
  margin-bottom: 8px;
}

/* -------------------------
   COLOR & TYPOGRAPHY SCALE
-------------------------- */
:root {
  --brand-primary: #174378;
  --brand-secondary: #206544;
  --brand-accent: #38B76C;
  --brand-bg: #F3F5F7;
  --earth-brown: #A08563;
  --earth-cream: #F8F6ED;
  --nature-green: #38B76C;
  --nature-leaf: #B0D2A2;
  --heading-font: 'Montserrat', Arial, Helvetica, sans-serif;
  --body-font: 'Roboto', Arial, sans-serif;
  --shadow-card: 0 4px 28px rgba(32, 101, 68, 0.10), 0 1.5px 7px rgba(160,133,99,0.12);
  --border-radius: 20px;
  --transition-base: 0.22s cubic-bezier(0.4,0,0.2,1);
}

/* -----------------------------------
   LAYOUT BASICS
----------------------------------- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section {
  background: #F8F6ED;
  border-radius: 32px;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 1px 12px rgba(32, 101, 68, 0.07);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  min-width: 280px;
  flex: 1 1 320px;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
  position: relative;
  padding: 32px 24px;
  border: 1px solid #e6e2d3;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 40px rgba(56, 183, 108, 0.15);
  transform: translateY(-3px) scale(1.01);
}

.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;
  background: #fff;
  border-radius: var(--border-radius);
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 16px rgba(160, 133, 99, 0.07);
  border: 1px solid #e8e3da;
}
.testimonial-card p {
  font-size: 1.1rem;
  font-style: italic;
  color: #264728;
}
.testimonial-card span {
  font-size: 1rem;
  color: #206544;
  font-weight: 500;
  letter-spacing: 0.01em;
}

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

/* --------------------------
   TYPOGRAPHY & HEADINGS
-------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  line-height: 1.2;
  color: #174378;
}
h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
}
h2 {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #206544;
  margin-bottom: 7px;
}
p, ul, ol, li, address {
  font-size: 1rem;
  font-family: var(--body-font);
  color: #2c3a2b;
}
small {
  font-size: 0.91rem;
}

.cta-button {
  background: linear-gradient(80deg, #38B76C 80%, #B0D2A2 100%);
  color: #174378;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.07rem;
  padding: 13px 32px;
  border: none;
  border-radius: 50px;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 12px rgba(56,183,108,0.19);
  cursor: pointer;
  margin-top: 12px;
  transition: background 0.19s, color 0.23s, box-shadow 0.19s, transform 0.17s;
  outline: none;
  display: inline-block;
  position: relative;
}
.cta-button:hover, .cta-button:focus {
  background: #206544;
  color: #F8F6ED;
  box-shadow: 0 6px 28px rgba(32,101,68,0.21);
  transform: translateY(-2px) scale(1.02);
}
nav a {
  font-family: var(--heading-font);
  font-size: 1.03rem;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 8px;
  transition: background 0.18s, color 0.19s;
}
nav a:hover, nav a:focus {
  background: #E6F7EE;
  color: #206544;
}

/* --------------------------
   HEADER & NAVIGATION
-------------------------- */
header {
  background: #F3F5F7;
  box-shadow: 0 2px 14px rgba(32,101,68,0.03);
  border-bottom: 1px solid #ecede6;
  position: sticky;
  top: 0;
  z-index: 1100;
}
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 20px;
}
header nav a img {
  height: 33px;
  margin-right: 12px;
}
header nav ul {
  list-style: none;
  display: flex;
  gap: 8px;
  align-items: center;
}
header nav ul li {
  margin-bottom: 0;
}
header nav ul li a {
  font-size: 1rem;
  color: #174378;
}
header nav .cta-button {
  margin-top: 0;
}
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.1rem;
  background: #B0D2A2;
  color: #206544;
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  cursor: pointer;
  margin-left: 16px;
  transition: background 0.19s, color 0.18s, transform 0.14s;
  z-index: 1200;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #38B76C;
  color: #fff;
  outline: 2px solid #206544;
  transform: scale(1.06);
}

/* MOBILE-NAV (from right) */
.mobile-menu {
  position: fixed;
  top: 0; right: 0; left: 0; bottom: 0;
  background: rgba(51, 72, 51, 0.82);
  z-index: 1999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(100vw);
  transition: transform 0.32s cubic-bezier(.09,.62,.45,1.18);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  background: #fff;
  color: #206544;
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  width: 43px; height: 43px;
  margin: 28px 24px 0 0;
  cursor: pointer;
  transition: background 0.18s, color 0.16s;
  box-shadow: 0 2px 16px rgba(32,101,68,0.09);
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #38B76C;
  color: #fff;
  outline: 2px solid #206544;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 83vw;
  max-width: 340px;
  height: 100vh;
  background: #F8F6ED;
  box-shadow: -1px 0 18px 0 rgba(56,183,108,0.13);
  padding: 44px 34px 28px 34px;
  gap: 8px;
  border-radius: 2rem 0 0 2rem;
  align-items: flex-start;
  margin-top: 8px;
}
.mobile-nav a {
  width: 100%;
  padding: 16px 3px;
  color: #206544;
  font-size: 1.2rem;
  font-family: var(--heading-font);
  font-weight: 600;
  border-radius: 6px;
  transition: background 0.17s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #38B76C;
  color: #F8F6ED;
}

@media (max-width: 1100px) {
  .container {
    max-width: 96vw;
    padding: 0 6vw;
  }
}
@media (max-width: 900px) {
  header nav {
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
    padding-top: 8px;
    padding-bottom: 6px;
  }
  header nav ul {
    gap: 4px;
  }
  .content-wrapper {
    gap: 13px;
  }
}
@media (max-width: 768px) {
  header nav ul, header nav .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .content-wrapper {
    gap: 12px;
  }
  .section {
    padding: 28px 8px;
    margin-bottom: 38px;
  }
  .testimonial-card {
    padding: 15px;
  }
  .text-image-section {
    flex-direction: column !important;
    align-items: flex-start;
    gap: 18px;
  }
  .card-container, .content-grid, .feature-item {
    flex-direction: column;
    gap: 13px;
  }
}
@media (max-width: 600px) {
  .container {
    padding: 0 6px;
  }
  h1 { font-size: 1.32rem; }
  h2 { font-size: 1.13rem; }
  .section { border-radius: 12px; }
}

/* --------------------------------
   FOOTER STYLES
--------------------------------- */
footer {
  background: #E6F7EE;
  border-top: 1px solid #d4e6db;
  padding: 24px 0 0 0;
}
footer .container {
  padding: 0 20px;
}
footer .content-wrapper {
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  padding-bottom: 18px;
}
footer nav {
  margin-bottom: 10px;
}
footer nav a {
  color: #206544;
  margin-right: 3px;
}
footer nav a:hover {
  background: #B0D2A2;
  color: #174378;
}
footer .mini-contact {
  color: #2c3a2b;
  font-size: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
footer address {
  color: #486330;
}

/* -----------------------------
   ORGANSIC / NATURE DECORATIVE
------------------------------- */
.section, .card, .testimonial-card {
  border-radius: 28px 44px 18px 36px;
  /* organic blob-like border radius */
  background-size: 400px 300px;
}
.card {
  background: #fff url('assets/organic-texture.png') repeat top left;
  background-blend-mode: lighten;
}
.section {
  background: #F8F6ED url('assets/leaf-bg.png') no-repeat right 5% top 20%;
  background-size: 250px 180px;
}

/* -----------------------------------
   SPACING BETWEEN CARDS/SECTIONS
------------------------------------ */
.section + .section {
  margin-top: 0;
  margin-bottom: 60px;
}
.card + .card,
.testimonial-card + .testimonial-card {
  margin-top: 20px;
}

/* -----------------------------------
   MISC / UTILITIES
------------------------------------ */
.text-section {
  margin-top: 8px;
  margin-bottom: 10px;
  color: #264028;
}
.hide {
  display: none !important;
}

/* ----------------------------
   COOKIE CONSENT BANNER
----------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  z-index: 2888;
  background: #F8F6ED;
  border-top: 2.5px solid #38B76C;
  box-shadow: 0 -1px 20px rgba(32,101,68,.075);
  display: flex;
  flex-direction: column;
  padding: 26px 28px 23px 28px;
  align-items: center;
  gap: 18px;
  font-family: var(--body-font);
  font-size: 1rem;
  color: #206544;
  animation: cookie-fade-in 0.35s cubic-bezier(.34,.99,0,1.19);
}
@keyframes cookie-fade-in {
  from { opacity: 0; transform: translateY(35px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 4px;
}
.cookie-banner button {
  background: #38B76C;
  color: #fff;
  border: none;
  border-radius: 38px;
  padding: 9px 26px;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.17s, color 0.17s, transform 0.18s;
  margin: 0 3px;
  cursor: pointer;
  outline: none;
}
.cookie-banner button.cookie-reject {
  background: #F8F6ED;
  color: #206544;
  border: 1.5px solid #206544;
}
.cookie-banner button.cookie-settings {
  background: #B0D2A2;
  color: #174378;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #206544;
  color: #fff;
  transform: scale(1.06);
}

@media (max-width: 600px) {
  .cookie-banner {
    padding: 18px 5px 16px 10px;
    font-size: 0.97rem;
  }
  .cookie-banner .cookie-buttons {
    gap: 7px;
  }
}

/* COOKIE CONSENT MODAL */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 2999;
  inset: 0;
  background: rgba(39, 60, 30, 0.53);
  animation: cookie-fade-in 0.34s;
  display: flex;
  justify-content: center;
  align-items: center;
}
.cookie-modal {
  background: #F8F6ED;
  border-radius: 32px;
  box-shadow: 0 12px 88px rgba(56,183,108,0.16);
  padding: 38px 34px 27px 34px;
  min-width: 288px;
  max-width: 97vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  animation: cookie-modal-in 0.37s cubic-bezier(.37,1.33,.27,.99);
}
@keyframes cookie-modal-in {
  from { opacity: 0; transform: scale(0.86); }
  to   { opacity: 1; transform: scale(1);   }
}
.cookie-modal h2, .cookie-modal h3 {
  color: #174378;
  margin-bottom: 8px;
}
.cookie-modal .cookie-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 18px 0;
  width: 100%;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 13px;
}
.cookie-modal .cookie-category label {
  font-size: 1.1rem;
  color: #206544;
}
.cookie-modal .cookie-category input[type='checkbox'] {
  accent-color: #38B76C;
  margin-right: 7px;
  width: 19px;
  height: 19px;
}
.cookie-modal-close {
  background: #fff;
  color: #206544;
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  width: 38px;
  height: 38px;
  position: absolute;
  right: 23px;
  top: 21px;
  cursor: pointer;
  transition: background 0.14s, color 0.14s;
  box-shadow: 0 2px 10px rgba(32,101,68,0.09);
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #fff;
  background: #38B76C;
  outline: 1.5px solid #206544;
}

/* Accessibility/high contrast for testimonials & review cards */
.testimonial-card, .testimonial-card p, .testimonial-card span {
  color: #164c28 !important;
  background: #fff;
}

/* -------------------------------------
   TRANSITIONS, ANIMATIONS, INTERACTIONS
-------------------------------------- */
section, .card, .testimonial-card, .cta-button, .cookie-banner, .mobile-menu, .mobile-nav a {
  transition: box-shadow .23s, background .16s, color .17s, transform 0.19s;
}

.card:focus-within, .testimonial-card:focus-within {
  outline: 2.5px solid #38B76C;
}

/* ----------------------------
   RESPONSIVE UTILITY
----------------------------- */
@media (max-width: 768px) {
  .feature-item, .card-container, .content-grid, .text-image-section {
    flex-direction: column;
    gap: 13px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    padding: 11px;
  }
  .cta-button {
    font-size: 1rem;
    padding: 12px 22px;
  }
}

/* ----------------------
   FOCUS & ACCESSIBILITY
------------------------ */
:focus {
  outline: 2px solid #38B76C;
  outline-offset: 2px;
}

/* -------------------------------
   ORGANIC BUTTON VARIANTS
------------------------------- */
button, input[type=button], input[type=submit] {
  font-family: var(--heading-font);
  font-size: 1rem;
  border-radius: 25px 44px 25px 24px;
  border: none;
  cursor: pointer;
  transition: background .17s, box-shadow .16s, color .14s, transform .15s;
}
button:active {
  transform: scale(.99);
}

/* -------------------
   MODAL MASK SHADOW
-------------------- */
.cookie-modal-backdrop {
  backdrop-filter: blur(1.4px);
}

/* Hide mobile menu toggle on desktop */
@media (min-width: 769px) {
  .mobile-menu-toggle {
    display: none !important;
  }
  .mobile-menu {
    display: none !important;
  }
}

/* -----------------------------------
   END - NO CSS Grid properties used!
------------------------------------- */
