/* RESET & BASE -------------------------------------------- */
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  background-color: #F8F7F5;
  color: #2d2c23;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  padding-left: 1.2em;
  margin: 8px 0 16px 0;
}
a {
  color: #435f3e;
  text-decoration: underline;
  transition: color 0.22s;
}
a:hover, a:focus {
  color: #FFA948;
  text-decoration: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #232142;
  letter-spacing: -0.01em;
}
h1 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
p {
  font-size: 1rem;
  margin-bottom: 16px;
}
strong {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
}
blockquote {
  font-style: italic;
  border-left: 4px solid #22995c;
  margin: 14px 0 14px 0;
  padding-left: 16px;
  color: #2d2c23;
}

/* COLOR PALETTE: EARTH/NATURE ---------------------------------- */
:root {
  --color-primary: #232142;      /* dark earthy primary */
  --color-secondary: #FFA948;    /* warm sunset accent */
  --color-accent: #F2F2F2;      /* light neutral for backgrounds */
  --color-green: #22995c;       /* earthy green accent */
  --color-brown: #7e6134;       /* muted brown soil */
  --color-bg: #F8F7F5;          /* background nature inspired */
  --color-bg-card: #fff;
  --color-muted: #908573;
  --color-shadow: rgba(54,83,51,0.11);
}

/* LAYOUT WRAPPERS --------------------------------------------- */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: 32px 48px 24px 36px / 32px 24px 44px 36px;
  box-shadow: 0 4px 24px var(--color-shadow);
}
/* Remove background for hero/cta sections to create hierarchy */
.section:first-of-type {
  background: none;
  box-shadow: none;
  border-radius: 0;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  justify-content: flex-start;
}
.card {
  background: var(--color-bg-card);
  border-radius: 22px 32px 16px 28px/ 20px 14px 26px 22px;
  box-shadow: 0 2px 14px var(--color-shadow);
  padding: 28px 22px 22px 22px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1.5px solid #ece8e2;
}

.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;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 2px 16px var(--color-shadow);
  margin-bottom: 20px;
  border-left: 5px solid var(--color-green);
  transition: transform 0.18s, box-shadow 0.22s;
}
.testimonial-card:hover {
  transform: translateY(-4px) scale(1.012);
  box-shadow: 0 8px 24px rgba(34,153,92,0.15);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* SPACING AND ALIGNMENT RULES ---------------------------------- */
.card:not(:last-child), .testimonial-card:not(:last-child), .feature-item:not(:last-child), .content-wrapper > *:not(:last-child), .container > *:not(:last-child) {
  margin-bottom: 20px;
}

/* NAVIGATION ----------------------------------------------- */
header {
  background: #fff;
  box-shadow: 0 2px 12px var(--color-shadow);
  padding: 0;
  z-index: 100;
  position: sticky;
  top: 0;
}
nav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
nav > a {
  display: flex;
  align-items: center;
  height: 40px;
}
nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}
nav ul li {
  margin-bottom: 0;
}
nav ul li a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #435f3e;
  padding: 4px 10px;
  border-radius: 10px;
  transition: background 0.15s, color 0.16s;
}
nav ul li a:hover,
nav ul li a:focus {
  background: var(--color-secondary);
  color: #fff;
}
nav .button.primary {
  margin-left: 22px;
}

/* BUTTONS & LINKS -------------------------------------------- */
.button, .button.primary {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  cursor: pointer;
  border: none;
  background: var(--color-green);
  color: #fff;
  padding: 14px 30px;
  border-radius: 40px;
  transition: background 0.2s, box-shadow 0.22s, color 0.15s, transform 0.15s;
  box-shadow: 0 2px 8px var(--color-shadow);
  text-decoration: none;
  display: inline-block;
  margin: 8px 0 0 0;
}
.button.primary {
  background: var(--color-secondary);
  color: #232142;
}
.button.primary:hover, .button.primary:focus  {
  background: #ea982f;
  box-shadow: 0 4px 20px #ffa94844;
  color: #232142;
  transform: translateY(-2px) scale(1.03);
}
.button:hover, .button:focus {
  background: #197f49;
  box-shadow: 0 4px 18px rgba(34, 153, 92, 0.19);
  color: #f4f4ea;
  transform: translateY(-2px) scale(1.03);
}

/* TABLE STYLES ----------------------------------------------- */
table {
  border-collapse: collapse;
  width: 100%;
  background: #fff;
  margin-bottom: 16px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 2px 12px var(--color-shadow);
}
thead {
  background: var(--color-green);
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
th, td {
  padding: 16px 12px;
  text-align: left;
  border-bottom: 1px solid #ecf2e8;
  font-size: 1rem;
}
th:first-child, td:first-child {
  font-weight: bold;
  background: #f6f7f2;
}
tr:last-child td {
  border-bottom: none;
}

/* FAQ (DL/DT) ----------------------------------------------- */
dl {
  margin: 12px 0;
}
dt {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  margin-bottom: 2px;
  font-size: 1.04rem;
  color: #22995c;
}
dd {
  margin-bottom: 13px;
  padding-left: 13px;
  color: #383530;
}

/* ADDRESS / FOOTER ------------------------------------------ */
footer {
  background: #ece8e2;
  padding: 44px 0 34px 0;
  font-size: 1rem;
  color: #484325;
  margin-top: 50px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 16px 0 0 0;
  justify-content: center;
}
footer nav a {
  color: #22995c;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 8px;
  padding: 3px 10px;
}
footer nav a:hover, footer nav a:focus {
  background: #22995c;
  color: #fff;
}
address {
  font-style: normal;
  color: #7e6134;
  font-size: 0.97rem;
  text-align: center;
}

/* FEATURE LISTS, ICONS, TESTIMONIALS --------------------------- */
ul li, .feature-item {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1rem;
}
ul li img {
  width: 32px;
  height: 32px;
  display: inline-block;
  border-radius: 50%;
  background: #e2eedf;
  padding: 4px;
}

.testimonial-card strong {
  color: #232142;
  font-weight: 700;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
}
.testimonial-card span {
  color: #FFA948;
  font-size: 1.08rem;
  padding-left: 8px;
  letter-spacing: 1.5px;
}
.testimonial-card p, .testimonial-card blockquote {
  color: #302d24;
  font-size: 1.01rem;
  font-style: normal;
}

/* TEXT-SECTION (Contact/About/Support) --------------------- */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #fff;
  padding: 24px 18px;
  border-radius: 18px 30px 14px 20px / 16px 16px 24px 15px;
  box-shadow: 0 2px 16px var(--color-shadow);
  margin-bottom: 20px;
  color: #2d2c23;
}

.text-section ul {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.text-section li img {
  width: 24px;
  height: 24px;
  background: #f5f8f3;
  border-radius: 50%;
  padding: 2px;
}
.text-section input[type="search"] {
  width: 100%;
  padding: 10px 16px;
  font-size: 1.1rem;
  border-radius: 18px;
  border: 1.5px solid #e3e8e0;
  margin-bottom: 18px;
  outline: none;
  background: #f9faf8;
  color: #314522;
  transition: border-color 0.16s;
}
.text-section input[type="search"]:focus {
  border-color: #22995c;
}

/* MOBILE MENU ---------------------------------------------------- */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: var(--color-green);
  color: #fff;
  border: none;
  border-radius: 15px;
  padding: 6px 16px;
  margin-left: 12px;
  cursor: pointer;
  transition: background 0.17s, color 0.15s;
  z-index: 210;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-secondary);
  color: #232142;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(36, 38, 32, 0.97);
  z-index: 2200;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.26,.46,.45,1.14);
  will-change: transform;
  display: flex;
  flex-direction: column;
  padding: 0;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #FFA948;
  font-size: 2.4rem;
  align-self: flex-end;
  cursor: pointer;
  margin: 24px 36px 12px 0;
  padding: 7px 18px;
  border-radius: 16px;
  transition: background 0.1s, color 0.14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #FFA948;
  color: #232142;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  margin-top: 30px;
}
.mobile-nav a {
  color: #f7fbf5;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.35rem;
  padding: 14px 28px;
  border-radius: 16px;
  transition: background 0.13s, color 0.17s;
  text-align: center;
  width: 90%;
  display: block;
  text-decoration: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #f3fbcf;
  color: #22995c;
}

/* COOKIE CONSENT BANNER & MODAL ------------------------------ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  background: #e3f2e7;
  color: #232142;
  box-shadow: 0 -2px 18px #b1cee144;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 22px 16px 16px 16px;
  font-size: 1rem;
  animation: slide-in-banner 0.36s ease forwards;
}
@keyframes slide-in-banner {
  from { transform: translateY(110%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner-actions {
  display: flex;
  gap: 13px;
  margin-top: 13px;
}
.cookie-banner .button, .cookie-banner .button.primary {
  font-size: 1rem;
  padding: 7px 22px;
  border-radius: 22px;
}
.cookie-banner .button.settings {
  background: #fff;
  color: #22995c;
  border: 1px solid #77c99c;
}
.cookie-banner .button.settings:hover, .cookie-banner .button.settings:focus {
  background: #e6f6dc;
  color: #232142;
}

.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 3200;
  background: rgba(64,80,54,0.5);
  animation: fadeInModal 0.25s;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
@keyframes fadeInModal {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  width: 98vw;
  max-width: 440px;
  background: #fff;
  border-radius: 32px 32px 14px 20px/ 29px 18px 24px 15px;
  box-shadow: 0 8px 24px var(--color-shadow);
  padding: 30px 20px 24px 22px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: slide-in-modal 0.25s;
}
@keyframes slide-in-modal {
  from {transform: translateY(70px); opacity: 0; }
  to   {transform: translateY(0); opacity: 1; }
}
.cookie-modal-close {
  background: none;
  border: none;
  color: #22995c;
  font-size: 1.7rem;
  align-self: flex-end;
  cursor: pointer;
  padding: 2px 10px;
  border-radius: 50%;
  margin-bottom: -13px;
  margin-right: -10px;
  transition: background 0.11s, color 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #e3f2e7;
  color: #232142;
}
.cookie-modal h3 {
  color: #22995c;
  font-size: 1.23rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-bottom: 10px;
}
.cookie-modal-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.04rem;
  margin-bottom: 4px;
  color: #333;
}
.cookie-modal-category label {
  font-weight: 600;
  cursor: pointer;
}
.cookie-modal-category input[type=checkbox] {
  accent-color: #22995c;
  width: 22px;
  height: 22px;
}
.cookie-modal-category input[disabled] {
  opacity: 0.6;
}
.cookie-modal-actions {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
}
.cookie-modal .button, .cookie-modal .button.primary {
  font-size: 1rem;
  border-radius: 22px;
  padding: 7px 22px;
}

/* ANIMATIONS --------------------------------------------------- */
.button, .button.primary, .mobile-menu-toggle, .mobile-menu-close, .mobile-nav a {
  transition: background 0.18s, color 0.16s, transform 0.13s, box-shadow 0.18s;
}

/* RESPONSIVE DESIGN ----------------------------------------- */
@media (max-width: 1024px) {
  .container {
    max-width: 97vw;
  }
  nav ul {
    gap: 12px;
  }
}
@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 36px;
    border-radius: 18px 24px 12px 16px / 12px 11px 20px 10px;
  }
  .container {
    padding-left: 6px;
    padding-right: 6px;
  }
  nav ul {
    display: none;
  }
  nav .button.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .content-grid, .card-container, .feature-list {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .testimonial-card {
    flex-direction: column;
    padding: 12px;
  }
  table {
    font-size: 0.87rem;
    border-radius: 9px;
  }
  th, td {
    padding: 9px 6px;
  }
  h1 {
    font-size: 1.45rem;
  }
  h2 {
    font-size: 1.18rem;
  }
}

@media (max-width: 480px) {
  .mobile-menu {
    padding: 0;
  }
  .mobile-nav a {
    font-size: 1.11rem;
    padding: 13px 5vw;
  }
  .testimonial-card {
    padding: 9px;
    border-radius: 9px;
  }
  .cookie-modal {
    border-radius: 18px;
    padding: 18px 7px 13px 10px;
  }
}

/* ORGANIC SHAPES (DECORATIVE ELEMENTS only) ------------------- */
/* No absolute positioning on content, but allow organic shapes for décor */
.organic-decor {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  opacity: 0.11;
  user-select: none;
  filter: blur(3px);
}

/* CARE FOR ACCESSIBILITY ----------------------------------- */
:focus {
  outline: 2px solid #FFA948;
  outline-offset: 2px;
}

/* Hide scroll on mobile menu open (body, sample for developer to use via script) */
body.menu-open {
  overflow: hidden !important;
}

/* PRINT --------------------------------------------------- */
@media print {
  header, .mobile-menu, .cookie-banner, .cookie-modal-overlay, footer, nav {
    display: none !important;
  }
  section, main, .container { box-shadow: none !important; background: #fff !important; }
}
