/* ===================================================
   CSS RESET & BASE STYLES
=================================================== */
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-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background-color: #FAF9F6;
  color: #27343B;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  min-height: 100vh;
}
a {
  color: #387A3C;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #86A96D;
  text-decoration: underline;
}
ul, ol {
  padding-left: 1.3em;
  margin-bottom: 16px;
}
ul ul, ol ol {
  margin-bottom: 0;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button {
  font-family: inherit;
  font-size: 16px;
  border: none;
  cursor: pointer;
  background: none;
  color: inherit;
}
strong, b {
  font-weight: 700;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #27343B;
  margin: 0 0 16px 0;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}
h4 {
  font-size: 1.2rem;
}
h5, h6 {
  font-size: 1rem;
}
p, li {
  font-size: 1.1rem;
  color: #384F44;
}
small {
  font-size: 0.92rem;
  color: #666D5D;
}

/* ===================================================
   COLORS & ORGANIC THEME
=================================================== */
:root {
  --color-primary: #27343B;
  --color-secondary: #B7BBC1;
  --color-accent: #F8F5F0;
  --color-green-dk: #387A3C;
  --color-green: #558D43;
  --color-brown: #9D8A68;
  --color-beige: #E8DDCA;
  --color-earth-bg: #F8F5F0;
  --color-card-bg: #FBFAF7;
  --color-organic-shadow: rgba(112, 96, 70, 0.06);
  --radius-sm: 10px;
  --radius-lg: 32px;
  --transition-default: 0.22s cubic-bezier(.4,0,.2,1);
}

body {
  background-color: var(--color-earth-bg);
}

/* ===================================================
   LAYOUT CONTAINERS
=================================================== */
.container {
  width: 100%;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-card-bg);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 32px var(--color-organic-shadow);
}

/* ===================================================
   HEADER, NAVIGATION & LOGO
=================================================== */
header {
  width: 100%;
  background: #F7F8F3;
  border-bottom: 1px solid #ECE8DE;
  position: sticky;
  top: 0;
  z-index: 30;
  box-shadow: 0 2px 8px var(--color-organic-shadow);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.logo img {
  height: 40px;
}
nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}
nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: var(--color-primary);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  transition: background 0.18s, color 0.18s;
}
nav a:hover, nav a:focus {
  background: var(--color-beige);
  color: var(--color-green-dk);
}
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: var(--color-green);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  padding: 13px 28px;
  border: none;
  transition: background var(--transition-default), box-shadow var(--transition-default);
  box-shadow: 0 3px 16px var(--color-organic-shadow);
  margin-top: 8px;
  margin-bottom: 8px;
}
.cta.primary {
  background: var(--color-green-dk);
}
.cta:hover, .cta:focus {
  background: #4aa753;
  color: #fff;
  box-shadow: 0 4px 24px 0 rgba(56,122,60,0.11);
}

/* Hide mobile menu button on desktop */
.mobile-menu-toggle {
  display: none;
  background: var(--color-green);
  color: #fff;
  font-size: 2.2rem;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 41;
  box-shadow: 0 2px 12px var(--color-organic-shadow);
  border: none;
  margin-left: 8px;
  transition: background 0.17s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #316D2A;
}

/* ===================================================
   MOBILE MENU
=================================================== */
.mobile-menu {
  display: flex;
  flex-direction: column;
  background: #F7F8F3;
  position: fixed;
  top: 0;
  bottom: 0;
  right: -100vw;
  left: auto;
  width: 88vw;
  max-width: 340px;
  box-shadow: -2px 0 20px 0 rgba(39, 52, 59, 0.18);
  z-index: 1000;
  transition: transform var(--transition-default), right var(--transition-default);
  padding: 32px 28px 36px 28px;
  border-top-left-radius: var(--radius-lg);
  border-bottom-left-radius: var(--radius-lg);
  will-change: transform;
  /* closed by default */
  transform: translateX(100%);
}
.mobile-menu.open {
  right: 0;
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 21px;
  background: var(--color-green-dk);
  color: #fff;
  border: none;
  font-size: 2rem;
  padding: 4px 10px;
  border-radius: 50%;
  z-index: 1050;
  box-shadow: 0 3px 12px var(--color-organic-shadow);
  transition: background 0.17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #4aa753;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 62px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.15rem;
  color: var(--color-primary);
  padding: 14px 4px;
  border-radius: var(--radius-sm);
  transition: background var(--transition-default), color var(--transition-default);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-accent);
  color: var(--color-green);
}

/* MOBILE MENU OVERLAY (touch area) */
.mobile-menu-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(39, 52, 59, 0.13);
  z-index: 995;
  display: none;
}
.mobile-menu.open ~ .mobile-menu-overlay {
  display: block;
}

/* ===================================================
   RESPONSIVE MENU VISIBILITY
=================================================== */
@media (max-width: 980px) {
  header .container nav,
  header .container .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex !important;
  }
}

/* Show desktop nav on desktop */
@media (min-width: 981px) {
  .mobile-menu,
  .mobile-menu-close {
    display: none !important;
  }
}

/* ===================================================
   MAIN & PAGE LAYOUTS
=================================================== */
main {
  width: 100%;
  min-height: 67vh;
  margin-bottom: 26px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-card-bg);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 32px var(--color-organic-shadow);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 320px;
  min-width: 260px;
  max-width: 100%;
  background: var(--color-card-bg);
  border-radius: var(--radius-lg);
  box-shadow: 0 3px 14px var(--color-organic-shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 20px 22px 20px;
  transition: box-shadow var(--transition-default), transform 0.17s;
}
.card:hover {
  box-shadow: 0 8px 36px 0 rgba(56,122,60,0.13);
  transform: translateY(-3px) scale(1.012);
}

.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;
  background: #fff;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  box-shadow: 0 2px 12px rgba(169, 161, 140, 0.14);
  min-width: 270px;
  flex: 1 1 360px;
}
.testimonial-card p {
  color: #253226;
  font-size: 1.1rem;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}
.testimonial-card span {
  color: #628449;
  font-size: 0.95rem;
  margin-left: 10px;
  font-weight: 500;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.benefits-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--color-beige);
  border-radius: var(--radius-lg);
  padding: 24px 18px;
  margin-top: 18px;
  box-shadow: 0 1px 5px var(--color-organic-shadow);
  max-width: 420px;
}
.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}
.tags-cloud span {
  background: var(--color-beige);
  color: #49673C;
  border-radius: 18px;
  padding: 6px 18px;
  font-size: 0.97rem;
}
.star-rating, .testimonials-rating {
  margin-top: 12px;
  font-size: 1.12rem;
  color: #CD9235;
}

/* --- Footer --- */
footer {
  width: 100%;
  background: #F3F4F1;
  border-top: 1px solid #ECE8DE;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding: 36px 20px 32px 20px;
}
.logo-footer img {
  height: 40px;
  margin-bottom: 14px;
}
footer nav {
  flex-direction: column;
  gap: 10px;
}
.footer-contact {
  font-size: 1.02rem;
  color: #27343B;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}
.footer-contact a {
  color: var(--color-green-dk);
}
.footer-contact a:hover {
  color: #4aa753;
}

/* ===================================================
   RESPONSIVE/FLEXBOX
=================================================== */
@media (max-width: 900px) {
  .container, footer .container {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
  footer .container {
    gap: 12px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  .section {
    padding: 28px 10px;
    margin-bottom: 32px;
  }
  .text-image-section {
    flex-direction: column !important;
    gap: 20px !important;
    align-items: flex-start;
  }
  .container, footer .container {
    padding-left: 9px;
    padding-right: 9px;
  }
}
@media (max-width: 576px) {
  .card-container, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .card {
    padding: 14px 7px 16px 7px;
  }
  .section {
    margin-bottom: 24px;
    padding: 17px 2px;
  }
}

/* ===================================================
   INTERACTIVE ELEMENTS / MICRO-INTERACTIONS
=================================================== */
.card, .testimonial-card, .feature-item, .section, .benefits-grid {
  transition: box-shadow 0.16s, transform 0.14s;
}
.card:focus-within, .testimonial-card:focus-within,
.card:hover, .testimonial-card:hover {
  box-shadow: 0 8px 36px 0 rgba(56,122,60,0.13);
  transform: translateY(-3px) scale(1.012);
  z-index: 2;
}
.cta:active {
  transform: scale(0.97);
  box-shadow: 0 2px 6px var(--color-green-dk);
}
nav a.active, .mobile-nav a.active {
  background: var(--color-green);
  color: #fff;
}

/* ===================================================
   ORGANIC/NATURE SHAPES & EFFECTS
=================================================== */
.section, .card, .testimonial-card, .benefits-grid {
  border-radius: 28px 60px 34px 38px/44px 22px 30px 54px;
  /* organic gentle irregular border radius */
  background: var(--color-card-bg) url('../assets/organic-bg.svg') repeat top right;
  background-blend-mode: lighten;
  background-size: 170%; /* subtle texture */
}

/* --- Decorative shadow for cards/sections -- */
.card, .testimonial-card, .benefits-grid, .section {
  box-shadow: 0 2.5px 16px 0 rgba(139, 125, 88, 0.11);
}

/* ===================================================
   FORM & INPUTS (future-proof)
=================================================== */
input, textarea, select {
  border-radius: var(--radius-sm);
  border: 1.5px solid #D0CAB5;
  background: #F7F4ED;
  font-family: 'Roboto';
  font-size: 1.06rem;
  padding: 13px 12px;
  color: #384F44;
  margin-bottom: 16px;
  transition: border 0.16s, background 0.14s;
  outline: none;
}
input:focus, textarea:focus, select:focus {
  border-color: #387A3C;
  background: #fafaf8;
}

/* ===================================================
   COOKIE CONSENT BANNER
=================================================== */
.cookie-banner {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: 10px;
  background: #f9f8f5;
  color: #27343B;
  border-radius: 20px;
  box-shadow: 0 6px 36px rgba(169, 161, 140, 0.24);
  padding: 19px 21px 17px 21px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 13px;
  align-items: flex-start;
  font-size: 1rem;
  animation: fadeInBanner 0.38s cubic-bezier(.4,0,.2,1);
}
@keyframes fadeInBanner {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 6px;
}
.cookie-banner .cta,
.cookie-banner .cookie-btn {
  padding: 7px 22px;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  text-align: center;
  border: none;
  background: var(--color-green);
  color: #fff;
  margin-right: 4px;
  transition: background 0.19s, color 0.17s, box-shadow 0.14s;
  box-shadow: 0 2px 12px rgba(56,122,60, 0.10);
}
.cookie-banner .cookie-btn.rejected {
  background: #B0544B;
  color: #fff;
}
.cookie-banner .cookie-btn.settings {
  background: var(--color-brown);
  color: #fff;
}
.cookie-banner .cookie-btn:hover,
.cookie-banner .cookie-btn:focus {
  background: #53823E;
}
.cookie-banner .cookie-btn.settings:hover,
.cookie-banner .cookie-btn.settings:focus {
  background: #AF9450;
}
.cookie-banner .cookie-btn.rejected:hover,
.cookie-banner .cookie-btn.rejected:focus {
  background: #963A1D;
}

/* --- Cookie Modal Popup --- */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(39, 52, 59, 0.15);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.27s;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: #faf9f7;
  color: #27343B;
  border-radius: 20px;
  padding: 32px 19px 22px 23px;
  width: 98%;
  max-width: 430px;
  display: flex;
  flex-direction: column;
  gap: 19px;
  box-shadow: 0 9px 48px 0 rgba(169, 161, 140, 0.32);
  position: relative;
}
.cookie-modal-content h3 {
  margin-bottom: 6px;
  font-size: 1.3rem;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  margin-bottom: 9px;
}
.cookie-category label {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  cursor: pointer;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--color-green-dk);
  width: 18px;
  height: 18px;
  margin-right: 3px;
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 20px;
  background: #537E51;
  color: #fff;
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  padding: 4px 12px;
  z-index: 2110;
  transition: background 0.16s;
}
.cookie-modal-close:hover {
  background: #35432a;
}

/* ===================================================
   SCROLLBAR, SELECTION, ETC.
=================================================== */
::selection {
  background: #d1ebca;
}
::-webkit-scrollbar {
  width: 12px;
  background: #EFEAD7;
}
::-webkit-scrollbar-thumb {
  background: #B7BBC1;
  border-radius: 8px;
}

/* ===================================================
   NATURE ORGANIC MISC
=================================================== */
blockquote {
  border-left: 4px solid var(--color-brown);
  background: #f2eee7;
  padding: 16px 20px;
  font-style: italic;
  border-radius: 12px;
  color: #4B463A;
  margin-bottom: 20px;
  margin-top: 12px;
}

hr {
  border: none;
  border-bottom: 2px dashed #D5C9A3;
  margin: 36px 0;
}

/* ===================================================
   UTILITY CLASSES
=================================================== */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mt-4 { margin-top: 32px; }

/* Ensure min 20px margin between all content cards/sections as required */
.card + .card, .content-wrapper > * + *, .testimonial-card + .testimonial-card {
  margin-top: 20px !important;
}
.section + .section {
  margin-top: 20px;
}

/* Prevent overlap and allow breathing room */
.card, .testimonial-card, .section, .benefits-grid {
  margin-bottom: 24px;
}

/* End of stylesheet */
