/* ========================
   CSS RESET & NORMALIZATION
   ======================== */
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;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #FBF8F3;
  color: #333E2C;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
}
img {
  max-width: 100%;
  border-radius: 12px;
  display: block;
}
a {
  color: #455A40;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #AD7952;
}
ul, ol {
  margin-left: 1.5em;
}

/* Typography hierarchy */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  line-height: 1.15;
  color: #455A40;
  font-weight: 700;
  margin-bottom: 20px;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.75rem;
  line-height: 1.2;
  color: #455A40;
  font-weight: 600;
  margin-bottom: 18px;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  color: #455A40;
  font-weight: 500;
  margin-bottom: 14px;
}
h4, .h4 {
  font-size: 1rem;
  color: #455A40;
  font-weight: bold;
}
p, li, blockquote, cite {
  font-size: 1rem;
  color: #333E2C;
  margin-bottom: 12px;
}
blockquote {
  font-style: italic;
  color: #415239;
  background: #f5efea;
  border-left: 5px solid #CFC2B1;
  padding: 20px;
  border-radius: 14px;
  margin-bottom: 10px;
}
cite {
  display: block;
  color: #6A8871;
  font-size: 0.98rem;
  margin-top: 6px;
  padding-left: 4px;
}

.subheadline {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.25rem;
  color: #6A8871;
  margin-bottom: 18px;
  font-weight: 400;
}

/* =============================
   LAYOUT & CONTAINERS (Flexbox)
   ============================= */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px 40px 20px;
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 3px 16px 0 rgba(69,90,64,0.10);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  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;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #FEFCF8;
  border: 1px solid #E8C9A1;
  border-radius: 18px;
  box-shadow: 0 4px 16px 0 rgba(80,98,72,0.07);
  padding: 20px;
  margin-bottom: 20px;
  transition: box-shadow 0.3s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 6px 24px 0 rgba(69,90,64,0.13);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@media (max-width: 768px) {
  .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .main-navigation{
    display: none !important;
  }
}
@media (min-width: 769px) {
  .main-navigation {
    display: flex !important;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    background: none;
    padding: 0 0 0 8px;
  }
}

/* =============================
   MAIN NAV
   ============================= */
.main-navigation {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.main-navigation a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.06rem;
  padding: 7px 10px;
  border-radius: 18px;
  transition: background 0.20s, color 0.20s;
  color: #455A40;
  position: relative;
}
.main-navigation a:hover,
.main-navigation a:focus {
  background: #E8C9A1;
  color: #273A18;
}
.main-navigation img {
  height: 36px;
  border-radius: 10px;
  margin-right: 7px;
  background: #fff0;
}

/* =============================
   HERO & HEADERS
   ============================= */
.hero {
  background: linear-gradient(120deg, #F4ECD6 60%, #DBE9C1 100%);
  border-radius: 0 0 40px 40px;
  padding-top: 38px;
  padding-bottom: 58px;
  margin-bottom: 50px;
  box-shadow: 0 8px 32px 0 rgba(69,90,64,0.09);
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 150px;
}
.hero h1, .hero .subheadline {
  color: #455A40;
}

@media (max-width: 600px) {
  .hero {
    padding-top: 28px;
    padding-bottom: 32px;
    margin-bottom: 35px;
    border-radius: 0 0 20px 20px;
  }
}

/* =============================
   BUTTONS & CTAs
   ============================= */
.primary-cta, .secondary-cta, .cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  border: none;
  outline: none;
  border-radius: 32px;
  padding: 13px 28px;
  margin: 12px 0 0 0;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, filter 0.17s;
  text-align: center;
}
.primary-cta {
  background: #455A40;
  color: #fff;
  box-shadow: 0 2px 16px 0 rgba(52,70,39,0.09);
}
.primary-cta:hover, .primary-cta:focus {
  background: #32452C;
  color: #fff;
  box-shadow: 0 6px 20px 0 rgba(52,70,39,0.13);
}
.secondary-cta {
  background: #FFF;
  color: #455A40;
  border: 2px solid #E8C9A1;
}
.secondary-cta:hover, .secondary-cta:focus {
  background: #E8C9A1;
  color: #32452C;
}
.tag {
  display: inline-block;
  background: #E8C9A1;
  color: #6A8871;
  font-size: 0.93rem;
  border-radius: 12px;
  padding: 3px 10px;
  margin-left: 8px;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
}

/* =============================
   FEATURES & LISTS
   ============================= */
.features ul,
.category-list ul,
.services-detailed ul,
.values ul,
.articles ul,
.faq ul,
.how-it-works ol,
.how-it-works ul,
.support ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 0;
  list-style: none;
  padding-left: 0;
}
.features li,
.category-list li,
.services-detailed li,
.values li,
.articles li,
.support li,
.faq li,
.how-it-works li {
  display: flex;
  align-items: center;
  gap: 16px;
  border-radius: 13px;
  background: #F6F3EC;
  padding: 15px 20px;
  color: #455A40;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.06rem;
  line-height: 1.55;
}
.category-list li img,
.features li img,
.how-it-works li img {
  width: 32px;
  min-width: 32px;
  aspect-ratio: 1/1;
  margin-right: 10px;
}
.how-it-works ol {
  counter-reset: organic-list;
  margin-bottom: 15px;
}
.how-it-works ol li {
  counter-increment: organic-list;
  background: #fff;
  border: 1.5px solid #E8C9A1;
  position: relative;
  padding-left: 56px;
}
.how-it-works ol li::before {
  content: counter(organic-list);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: #6A8871;
  color: #fff;
  font-weight: 600;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 1.1em;
}

ul li strong {
  color: #455A40;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
}

ol li strong {
  color: #455A40;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 20px;
}
.quick-links a {
  color: #6A8871;
  background: #f4ecd6;
  border-radius: 10px;
  font-size: 0.97rem;
  padding: 6px 14px;
  transition: background 0.2s;
}
.quick-links a:hover {
  background: #e9dfcb;
}

/* =============================
   CARD COMPONENTS & TESTIMONIALS
   ============================= */
.card {
  background: #FEFCF8;
  border-radius: 16px;
  box-shadow: 0 1px 8px 0 rgba(90,100,80,0.06);
  border: 1.5px solid #E8C9A1;
  padding: 24px 18px;
  min-width: 250px;
  margin-bottom: 22px;
  transition: box-shadow 0.2s;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 6px 16px 0 rgba(69,90,64,0.14);
}

/* TESTIMONIALS - strong contrast, readable */
.testimonials {
  padding-bottom: 24px;
}
.testimonial-card {
  background: #FFFDF9;
  border: 1.5px solid #E8C9A1;
  box-shadow: 0 2px 12px 0 rgba(90,100,80,0.13);
  color: #273A18;
}
.testimonial-card blockquote,
.testimonial-card cite {
  color: #31411C;
}
.testimonial-card blockquote {
  font-weight: 500;
  font-size: 1.08rem;
  line-height: 1.7;
}

/* =============================
   FORMS & SEARCH BAR
   ============================= */
.search-bar {
  display: flex;
  align-items: center;
  background: #FEF7E4;
  border: 1.5px solid #E8C9A1;
  border-radius: 18px;
  padding: 10px 16px;
  box-shadow: 0 1px 8px 0 rgba(69,90,64,0.04);
  width: 100%;
  max-width: 500px;
}
.search-bar input[type="text"] {
  border: none;
  background: transparent;
  flex: 1 1 0%;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  padding: 6px 0;
  color: #455A40;
}
.search-bar input[type="text"]:focus {
  outline: none;
}

/* =============================
   MAP PLACEHOLDER
   ============================= */
.map-placeholder {
  margin-top: 16px;
  width: 100%;
  max-width: 320px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 2px 12px 0 rgba(69,90,64,0.06);
  background: #e9dfcb;
}

/* =============================
   FOOTER
   ============================= */
footer {
  background: #ECE5D9;
  margin-top: 70px;
  border-radius: 36px 36px 0 0;
  box-shadow: 0 -2px 18px 0 rgba(69,90,64,0.04);
  font-size: 0.99rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 38px 15px 16px 15px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: #455A40;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 8px;
}
.footer-nav a {
  color: #527648;
  padding: 2px 6px;
  border-radius: 7px;
}
.footer-nav a:hover {
  background: #E8C9A1;
  color: #32452C;
}
.brand-footer {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-family: 'Roboto', Arial, sans-serif;
  color: #455A40;
  font-size: 0.96rem;
}
.brand-footer img {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #fff0;
  margin-right: 8px;
}
.brand-footer span {
  margin-right: 14px;
}
@media (max-width: 700px) {
  footer .container {
    flex-direction: column;
    gap: 10px;
    padding: 20px 7px 10px 7px;
  }
  .brand-footer {
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
  }
}

/* =============================
   MOBILE MENU
   ============================= */
.mobile-menu-toggle {
  display: inline-flex;
  background: #455A40;
  color: #FFFDF9;
  font-size: 2rem;
  padding: 4px 17px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  z-index: 2200;
  margin-top: 6px;
  margin-right: 7px;
  transition: background 0.15s, color 0.19s, box-shadow 0.15s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #334625;
  color: #fff;
}

@media (min-width: 769px) {
  .mobile-menu-toggle {
    display: none !important;
  }
}
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: inline-flex !important;
    position: absolute;
    top: 14px;
    right: 15px;
  }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: rgba(73,83,53,0.97);
  z-index: 3000;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.52, 0.09, 0.24, 1);
  width: 100vw;
  height: 100vh;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2.2rem;
  border: none;
  cursor: pointer;
  align-self: flex-end;
  margin: 28px 20px 10px 0px;
  padding: 0 10px;
  z-index: 3200;
  transition: color 0.16s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #E8C9A1;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 18px;
  align-items: flex-start;
  padding: 28px 30px 0 32px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.28rem;
  padding: 12px 0 10px 8px;
  border-radius: 15px;
  transition: background 0.16s, color 0.17s;
  width: 100%;
  margin: 2px 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E8C9A1;
  color: #384D21;
}

@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ===============
  COOKIE BANNER
   =============== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 4030;
  background: #FFF9ED;
  box-shadow: 0 0 32px 0 rgba(47, 69, 22, 0.12);
  border-top: 1.5px solid #E8C9A1;
  padding: 28px 16px 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  animation: cookie-banner-in 0.5s;
}
@keyframes cookie-banner-in {
  0% { transform: translateY(80px); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
.cookie-banner p {
  color: #455A40;
  font-size: 0.98rem;
  margin-bottom: 2px;
}
.cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 2px;
}
.cookie-btn {
  min-width: 110px;
  padding: 9px 18px;
  font-size: 1rem;
  border-radius: 18px;
  font-weight: 500;
  border: none;
  margin: 0;
  outline: 0;
  cursor: pointer;
  transition: background 0.18s, color 0.17s;
}
.cookie-accept {
  background: #455A40;
  color: #fff;
}
.cookie-accept:hover,
.cookie-accept:focus {
  background: #32452C;
}
.cookie-reject {
  background: #E8C9A1;
  color: #455A40;
}
.cookie-reject:hover,
.cookie-reject:focus {
  background: #d7bc99;
}
.cookie-settings {
  background: none;
  color: #455A40;
  border: 1.5px solid #E8C9A1;
}
.cookie-settings:hover,
.cookie-settings:focus {
  background: #F4ECD6; 
}
@media (max-width:600px) {
  .cookie-banner {
    padding: 18px 7px 12px 7px;
    gap: 8px;
  }
  .cookie-actions {
    gap: 7px;
    flex-wrap: wrap;
  }
  .cookie-btn {
    min-width: 96px;
    font-size: 0.96rem;
    padding: 7px 10px;
  }
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 4050;
  top: 0; left: 0; bottom: 0; right: 0;
  background: rgba(67,81,53,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.26s;
  opacity: 1;
}
.cookie-modal-wrapper {
  background: #fff;
  border-radius: 18px;
  padding: 36px 26px 26px 26px;
  box-shadow: 0 4px 28px 0 rgba(69,90,64, 0.14);
  min-width: 320px;
  max-width: 94vw;
  min-height: 228px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  position: relative;
  animation: cookie-modal-in 0.47s;
}
@keyframes cookie-modal-in {
  0% { transform: scale(0.93) translateY(60px); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  right: 12px; top: 7px;
  background: none;
  color: #455A40;
  border: none;
  font-size: 2.1rem;
  cursor: pointer;
  transition: color 0.17s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  color: #E8C9A1;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-category label {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #4A6132;
  font-size: 1.05rem;
  font-weight: 500;
}
.cookie-category input[type='checkbox'] {
  accent-color: #6A8871;
  width: 20px; height: 20px;
}
.cookie-category .cookie-essential {
  color: #bbbbbb;
  font-size: 0.99rem;
  font-weight: 400;
}

@media (max-width: 600px) {
  .cookie-modal-wrapper {
    padding: 20px 10px 15px 16px;
    min-width: 90vw;
  }
}

/* =============================
   UTILITY CLASSES
   ============================= */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.pt-0 { padding-top: 0 !important; }
.pb-0 { padding-bottom: 0 !important; }
.flex-row { display: flex; flex-direction: row; gap: 20px; }
.flex-col { display: flex; flex-direction: column; gap: 20px; }

/* =============================
   ORGANIC THEMES & TEXTURES
   ============================= */
.section, .hero, .testimonial-card, .card {
  /* textural feel: subtle shadow & border, organic radii */
  box-shadow: 0 3px 16px 0 rgba(69,90,64,0.07), 0 0.5px 0 #F0E9D0;
  border-radius: 26px;
}
.section {
  border-radius: 26px 32px 20px 22px;
  background: #fffcf8;
}
.hero {
  border-radius: 0 0 40px 40px;
}
.card {
  border-radius: 17px 10px 22px 16px;
}
.testimonial-card {
  border-radius: 17px 24px 22px 10px;
}

/* =============================
   RESPONSIVE SPACING & MOBILE
   ============================= */
@media (max-width: 990px) {
  .container {
    max-width: 95vw;
  }
  .section {
    padding: 28px 10px;
    margin-bottom: 36px;
  }
}
@media (max-width: 600px) {
  .h1, h1 {font-size: 2rem;}
  .h2, h2 {font-size: 1.35rem;}
  .subheadline {font-size: 1.08rem;}
  .section {padding: 19px 2px;}
}

/* =============================
   ORGANIC SHAPES (decoration only)
   ============================= */
.organic-deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.12;
  border-radius: 44% 66% 64% 36%/53% 69% 31% 47%;
  background: #E8C9A1;
  width: 120px;
  height: 76px;
  filter: blur(2px);
}

/* =============================
   ACCESSIBLE FOCUS STATES
   ============================= */
a:focus, button:focus, input:focus {
  outline: 2px solid #6A8871;
  outline-offset: 3px;
}

/* =============================
   PAGE-SPECIFIC MINOR FIXES
   ============================= */
.legal .text-section ul li,
.legal .text-section p,
.legal .text-section h2 {
  background: none;
  padding: 0; border: none;
}
.legal .text-section ul {
  gap: 10px;
}

/*********
 * END *
 *********/
