/* ---------- 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,
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; }
*, *:before, *:after { box-sizing: inherit; }
article, aside, details, figcaption, figure,  
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  font-family: 'Open Sans', Arial, sans-serif;
  background-color: #F0FBFD;
  color: #24403A;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}
a { color: inherit; text-decoration: none; background-color: transparent; }
ul, ol { list-style: none; }
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
  color: inherit;
}
button { cursor: pointer; }

/* ---------- BRAND COLORS (nature_organic palette) ---------- */
:root {
  --color-primary: #1875B7;
  --color-secondary: #F0FBFD;
  --color-accent: #26655C;
  --color-earth: #B6AD90;
  --color-background: #F0FBFD;
  --color-leaf: #4CA777;
  --color-wood: #A37F5A;
  --color-sand: #EEE6D1;
  --color-text: #24403A;
  --color-heading: #26655C;
  --color-white: #FFFFFF;
  --color-border: #D5DFC6;
  --shadow-lg: 0 6px 36px rgba(38, 101, 92, 0.10);
  --shadow-md: 0 2px 12px rgba(38,101,92,0.12);
  --radius-lg: 26px;
  --radius-md: 16px;
  --radius-sm: 8px;
  --transition: 0.25s cubic-bezier(.44,.33,.18,1.04);
}

/* ---------- TYPOGRAPHY (Brand + Nature-Organic) ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--color-heading);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}
h1 { font-size: 2.4rem; line-height: 1.18; margin-bottom: 24px; }
h2 { font-size: 1.8rem; line-height: 1.22; margin-bottom: 20px; }
h3 { font-size: 1.25rem; line-height: 1.26; margin-bottom: 16px; }
h4, h5, h6 { font-size: 1rem; margin-bottom: 12px; }

p, li, address, blockquote, span {
  font-family: 'Open Sans', Arial, sans-serif;
  color: var(--color-text);
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 400;
}
blockquote {
  font-style: italic;
  color: var(--color-accent);
  font-size: 1.08rem;
  margin-bottom: 12px;
  quotes: "\201C" "\201D";
  border-left: 4px solid var(--color-leaf);
  padding-left: 20px;
}

strong { font-weight: 700; color: var(--color-accent); }
.tagline { font-size: 1.13rem; color: var(--color-leaf); letter-spacing: 0.01em; font-family: 'Montserrat', Arial, sans-serif; margin-top: 18px; font-weight: 500; }

/* ---------- LAYOUT SPACING & CONTAINERS ---------- */
.container {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-background);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: box-shadow var(--transition);
}

@media (max-width: 900px) {
  .container, .section {
    padding: 0 10px;
  }
  .section {
    padding: 28px 10px;
  }
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}

.card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  margin-bottom: 20px;
  padding: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: 0 8px 32px rgba(38, 101, 92, 0.16);
  transform: translateY(-2px) scale(1.025);
}

.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;
  padding: 20px 22px;
  background: var(--color-sand);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  margin-bottom: 20px;
  min-width: 0;
  border-left: 6px solid var(--color-leaf);
}
.testimonial-card strong {
  color: var(--color-accent);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
/* Strong dark text for contrast */
.testimonial-card, .testimonial-card blockquote, .testimonial-card div {
  color: #27382e;
  background: var(--color-sand);
}

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

.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
}

.product-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.product-cards .text-section {
  background: var(--color-white);
  border-radius: var(--radius-sm);
  padding: 24px 20px;
  box-shadow: var(--shadow-md);
  flex: 1 1 260px;
  min-width: 230px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.product-cards .text-section:hover {
  box-shadow: 0 8px 32px rgba(38, 101, 92, 0.12);
  transform: scale(1.025);
}

/* ---------- NAVIGATION & HEADER ---------- */
header {
  background: var(--color-white);
  border-bottom: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 14px 32px;
  z-index: 10;
  position: relative;
}
header nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
header img {
  height: 42px;
  width: auto;
}
header a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: var(--color-heading);
  font-size: 1rem;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
header a:hover, header nav a:focus {
  background: var(--color-leaf);
  color: var(--color-white);
}
.cta-primary {
  background: var(--color-primary);
  color: var(--color-white)!important;
  border-radius: var(--radius-md);
  padding: 8px 26px;
  margin-left: 8px;
  position: relative;
  font-size: 1.06rem;
  font-weight: 800;
  box-shadow: var(--shadow-md);
  transition: background var(--transition), box-shadow var(--transition);
  letter-spacing: 0.015em;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--color-leaf);
  color: var(--color-white);
  box-shadow: 0 2px 18px rgba(39, 167, 58, 0.17);
}
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  background: var(--color-leaf);
  color: var(--color-white);
  border-radius: var(--radius-md);
  padding: 5px 16px;
  transition: background var(--transition), box-shadow var(--transition);
  margin-left: auto;
  z-index: 20;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-accent);
}

@media (max-width: 1020px) {
  header {
    flex-direction: row;
    gap: 10px;
    padding: 10px 8px;
  }
  header nav {
    gap: 6px;
  }
  header img {
    height: 36px;
  }
}

/* Hamburger visible on mobile */
@media (max-width: 900px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ---------- MOBILE MENU COMPONENT ---------- */
.mobile-menu {
  display: flex;
  flex-direction: column;
  background: var(--color-sand);
  box-shadow: 0 -2px 28px rgba(44, 101, 94, 0.17);
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.46,.11,.39,.99);
  z-index: 200;
  padding: 0;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  margin: 22px 16px 10px auto;
  align-self: flex-end;
  font-size: 1.9rem;
  color: var(--color-primary);
  background: var(--color-white);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: background var(--transition);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-leaf);
  color: var(--color-white);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 38px 0 0 0;
  align-items: center;
  justify-content: flex-start;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  color: var(--color-heading);
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 14px 32px;
  width: 80vw;
  max-width: 400px;
  text-align: center;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-md);
  margin-bottom: 0;
}
.mobile-nav a:hover, .mobile-nav a:focus { background: var(--color-leaf); color: #fff; }

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

/* ---------- FOOTER ---------- */
footer {
  background: var(--color-earth);
  color: var(--color-heading);
  margin-top: 60px;
  padding: 38px 0 20px 0;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  box-shadow: 0 -4px 30px rgba(38, 101, 92, 0.05);
}
footer nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 4px;
  font-size: 1rem;
}
footer nav a {
  color: var(--color-heading);
  font-weight: 500;
  transition: color var(--transition);
}
footer nav a:hover {
  color: var(--color-leaf);
}
footer .text-section {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--color-heading);
  font-size: 1rem;
  justify-content: center;
  margin-bottom: 0;
}
footer img {
  height: 24px;
  margin: 0 4px 0 0;
}

@media (max-width: 600px) {
  .footer, footer .text-section, footer nav {
    flex-direction: column;
    gap: 6px;
  }
  footer {
    padding: 22px 0 15px 0;
    border-radius: var(--radius-md);
  }
}

/* ---------- BUTTONS & FORM INPUTS ---------- */
button, .btn {
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--color-leaf);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  padding: 10px 26px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: var(--shadow-md);
  transition: background var(--transition), transform var(--transition);
  margin-top: 10px;
}
button:hover, .btn:hover, button:focus, .btn:focus {
  background: var(--color-accent);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
}

input, textarea, select {
  font-family: inherit;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  background: var(--color-white);
  color: var(--color-text);
  margin-bottom: 18px;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-accent);
  outline: 1px solid var(--color-accent);
}

/* ---------- ICONS & VISUALS ---------- */
li img, p img {
  margin-right: 10px;
  vertical-align: middle;
  height: 26px;
  width: auto;
  filter: saturate(0.95) brightness(0.96);
}
@media (max-width: 450px) {
  li img, p img {
    height: 20px;
    margin-right: 7px;
  }
}

/* ---------- ULs and OLs ---------- */
ul, ol {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 18px;
}
ul li, ol li {
  padding-left: 0;
  font-size: 1rem;
  position: relative;
  line-height: 1.6;
  display: flex;
  align-items: center;
}
ol {
  counter-reset: organic-counter;
}
ol li {
  counter-increment: organic-counter;
  padding-left: 28px;
}
ol li:before {
  content: counter(organic-counter) '.';
  position: absolute;
  left: 0;
  color: var(--color-leaf);
  font-weight: bold;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* ---------- Tag, category, meta ---------- */
span[class*="tag"], .text-section span {
  background: var(--color-leaf);
  color: #fff;
  border-radius: 16px;
  font-size: 0.93rem;
  font-family: 'Open Sans', Arial, sans-serif;
  padding: 4px 14px;
  margin: 0 6px 6px 0;
  display: inline-block;
}

/* ---------- RESPONSIVE RULES ---------- */
@media (max-width: 1100px) {
  .container { max-width: 99vw; }
}
@media (max-width: 900px) {
  .section, .container {
    padding: 0 6px !important;
  }
  .product-cards, .card-container, .content-grid { gap: 14px !important; }
  .card, .product-cards .text-section { padding: 14px 8px; }
}
@media (max-width: 768px) {
  .content-grid, .card-container, .section, .product-cards {
    flex-direction: column !important;
    gap: 16px !important;
    align-items: stretch;
  }
  .testimonial-card { padding: 14px 8px; }
  .text-image-section { flex-direction: column !important; gap: 16px; }
}
@media (max-width: 580px) {
  .container { padding: 0 2vw; }
  .section { padding: 12px 2vw; margin-bottom: 36px; }
}

/* ---------- SUBTLE NATURAL TEXTURES & ORGANIC SHAPES ---------- */
section, .section, .card, .testimonial-card {
  /* Subtle organic background texture effect */
  background-image: url('assets/textures/leaf-bg2.png');
  background-size: 420px 380px;
  background-repeat: no-repeat;
  background-position: top right;
  /* fallback for low-res: minimal visible */
  background-blend-mode: lighten;
}

/* ---------- MICRO-INTERACTIONS & TRANSITIONS ---------- */
.card, .product-cards .text-section, .testimonial-card, .cta-primary, .btn, .mobile-menu, .mobile-menu a, .mobile-menu-close {
  transition: box-shadow var(--transition), background var(--transition), color var(--transition), transform var(--transition);
}

.card:active, .product-cards .text-section:active, .testimonial-card:active {
  transform: scale(0.98);
}

/* ---------- COOKIE CONSENT BANNER ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--color-wood);
  color: #2F3E26;
  border-top: 4px solid var(--color-leaf);
  box-shadow: 0 -4px 28px rgba(44, 101, 94, 0.14);
  z-index: 999;
  padding: 22px 10px 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  animation: fadeInCookie 0.55s;
}
@keyframes fadeInCookie { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 2px;
  align-items: center;
  justify-content: center;
}
.cookie-banner button {
  border: none;
  padding: 8px 22px;
  border-radius: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  margin: 0 6px 4px 0;
  transition: background var(--transition), color var(--transition);
}
.cookie-accept {
  background: var(--color-leaf);
  color: #fff;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: var(--color-accent);
  color: #fff;
}
.cookie-reject {
  background: #fff;
  color: var(--color-leaf);
  border: 2px solid var(--color-leaf);
}
.cookie-reject:hover, .cookie-reject:focus {
  background: var(--color-leaf);
  color: #fff;
}
.cookie-settings {
  background: var(--color-primary);
  color: #fff;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: var(--color-accent);
}

/* ---------- COOKIE MODAL ---------- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 2000;
  inset: 0;
  background: rgba(38, 101, 92, 0.23);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInCookie 0.23s;
}
.cookie-modal {
  background: var(--color-white);
  color: var(--color-text);
  max-width: 420px;
  width: 93vw;
  padding: 38px 24px 28px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: modalSlideIn 0.33s cubic-bezier(.27,.42,.18,1.04);
  position: relative;
}
@keyframes modalSlideIn { from { opacity: 0; transform: translateY(48px); } to { opacity: 1; transform: translateY(0); } }
.cookie-modal h3 {
  color: var(--color-heading);
  margin-bottom: 10px;
  font-size: 1.36rem;
}
.cookie-modal .cookie-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
  user-select: none;
  cursor: pointer;
}
.cookie-switch {
  width: 40px; height: 22px;
  background: var(--color-earth);
  border-radius: 20px;
  position: relative;
  margin-right: 12px;
  border: 1px solid var(--color-leaf);
  flex-shrink: 0;
  transition: background var(--transition);
}
.cookie-switch input[type=checkbox] {
  opacity: 0; width: 40px; height: 22px; position: absolute; left: 0; top: 0; z-index: 10; cursor: pointer;
}
.cookie-switch .slider {
  position: absolute;
  left: 2px; top: 2px;
  width: 18px; height: 18px;
  background: var(--color-leaf);
  border-radius: 50%;
  transition: transform var(--transition), background var(--transition);
}
.cookie-switch input:checked + .slider {
  background: var(--color-accent);
  transform: translateX(18px);
}
.cookie-modal .cookie-desc {
  font-size: 0.97rem;
  color: var(--color-text);
  margin-bottom: 8px;
}
.cookie-modal .close-btn {
  position: absolute;
  top: 13px;
  right: 15px;
  background: none;
  color: var(--color-primary);
  font-size: 1.85rem;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.cookie-modal .close-btn:hover, .cookie-modal .close-btn:focus { background: var(--color-leaf); color: #fff; }
.cookie-modal .cookie-modal-actions {
  display: flex; gap: 14px; justify-content: flex-end; }
.cookie-modal .cookie-modal-actions button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 16px;
  padding: 8px 20px;
  font-size: 1rem;
}

/* ---------- ACCESSIBILITY: FOCUS VISIBLE ---------- */
:focus:not(:focus-visible) { outline: none; }
:focus-visible {
  outline: 2px solid var(--color-leaf);
  outline-offset: 2px;
}

/* ---------- MISC SMALL ELEMENTS ---------- */
hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 24px 0;
}

/* ---------- SCROLLBAR ---------- */
body::-webkit-scrollbar {
  width: 13px;
  background: var(--color-sand);
}
body::-webkit-scrollbar-thumb {
  background: var(--color-leaf);
  border-radius: 10px;
}

/* ---------- UTILITY CLASSES ---------- */
.hide-mobile { display: block; }
@media (max-width: 800px) { .hide-mobile { display: none!important; } }
.text-center { text-align: center; }
.flex-row { display: flex; flex-direction: row; gap: 16px; }
.flex-col { display: flex; flex-direction: column; gap: 16px; }
.mt-2 { margin-top: 8px; } .mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; }
.mb-2 { margin-bottom: 8px; } .mb-4 { margin-bottom: 16px; } .mb-6 { margin-bottom: 24px; }
.gap-4 { gap: 16px; } .gap-2 { gap: 8px; }

/* ---------- END ---------- */
