/* =============================================================
   CSS RESET & NORMALIZE
   ============================================================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 100%;
}
body, input, button, table, select, textarea {
  font-family: 'Roboto', Arial, sans-serif;
  color: #2E3A27;
  background: #F8F7F3;
}
img, picture {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  padding-left: 1.2em;
}
li {
  margin-bottom: 0.5em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #2E3A27;
  font-weight: 700;
  line-height: 1.2;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.4rem; margin-bottom: 16px; }
h4 { font-size: 1.15rem; margin-bottom: 12px; }

p, a, ul, ol, li, table, caption {
  font-size: 1rem;
  line-height: 1.7;
}
a {
  color: #1F6539;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #00B1C6;
}

body {
  min-height: 100vh;
  background: #F8F7F3 url('../assets/bg-leaf-texture.svg') repeat top left;
  background-size: 360px auto;
  display: flex;
  flex-direction: column;
}

/* =======================
   NATURE ORGANIC COLORS
   ======================= */
:root {
  --color-primary: #1F298F;    /* Brand Blue             */
  --color-secondary: #2E3A27; /* Deep Moss Green         */
  --color-green: #1F6539;     /* Earthy Natural Green    */
  --color-stone: #C9BA9B;     /* Charcoal/Stone/Beige    */
  --color-sand: #F7F3E8;      /* Soft Off-White          */
  --color-teal: #00B1C6;      /* Brand Secondary/Accent  */
  --color-white: #FFFFFF;
  --color-grey: #728073;
  --color-orange: #D1A55A;    /* Organic accent          */
  --color-lightgreen: #B4CC75;
  --color-shadow: rgba(37,60,38,0.09);
  --color-shadow-deep: rgba(44,63,46,0.15);
}

/* =============================================================
   LAYOUT: GENERAL SPACING AND CONTAINERS
   ============================================================= */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-sand);
  border-radius: 24px 32px 26px 22px;
  box-shadow: 0 2px 12px var(--color-shadow);
  /* subtle leaf vein texture (SVG pattern, fallback color) */
  /* background-image: url('../assets/bg-leaf-veins.svg'); */
}
@media (max-width: 768px) {
  .section {
    padding: 24px 8px;
    margin-bottom: 36px;
  }
}

main {
  flex: 1 0 auto;
  width: 100%;
  padding-top: 20px;
  padding-bottom: 60px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  align-items: flex-start;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-white);
  border-radius: 22px 15px 27px 20px;
  box-shadow: 0 2px 12px var(--color-shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 22px;
  transition: transform 0.18s, box-shadow 0.18s;
  border: 2px solid var(--color-lightgreen);
}
.card:hover {
  box-shadow: 0 6px 24px var(--color-shadow-deep);
  transform: translateY(-3px) scale(1.015) rotate(-1.2deg);
}

.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;
  border-radius: 22px 14px 19px 25px;
  background: var(--color-white);
  box-shadow: 0 2px 10px var(--color-shadow);
  margin-bottom: 20px;
  border-left: 5px solid var(--color-green);
  min-width: 230px;
  max-width: 380px;
}
.testimonial-card p {
  color: var(--color-green);
  font-size: 1.15rem;
  font-style: italic;
  margin-bottom: 10px;
}
.testimonial-card span {
  font-size: .97rem;
  color: var(--color-secondary);
  font-weight: 500;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* =========================
   HEADER & NAVIGATION
   ========================= */
header {
  width: 100%;
  background: var(--color-white);
  border-bottom: 1.5px solid var(--color-lightgreen);
  box-shadow: 0 2px 8px var(--color-shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 14px;
}
.logo img {
  height: 44px;
  width: auto;
  border-radius: 14px 36px 18px 30px;
  background: var(--color-sand);
  box-shadow: 0 1px 8px var(--color-shadow);
  padding: 5px;
  transition: box-shadow .2s;
}
.logo img:hover {
  box-shadow: 0 4px 20px var(--color-shadow-deep);
}
nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
nav a {
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  background: none;
  border-radius: 12px;
  padding: 6px 14px;
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 0.02em;
  transition: background 0.18s, color 0.18s;
}
nav a:hover, nav a:focus {
  background: var(--color-lightgreen);
  color: var(--color-green);
}

.cta-button {
  display: inline-block;
  background: var(--color-green);
  color: var(--color-white)!important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  font-size: 1.1rem;
  line-height: 1;
  padding: 15px 28px;
  border-radius: 24px 14px 22px 18px;
  margin-left: 18px;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 12px var(--color-shadow);
  border: none;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.18s;
}
.cta-button:hover, .cta-button:focus {
  background: var(--color-teal);
  color: var(--color-white);
  box-shadow: 0 8px 26px var(--color-shadow-deep);
  transform: scale(1.035) rotate(-1deg);
}

/* Burger menu button (hidden on desktop) */
.mobile-menu-toggle {
  display: none;
  background: var(--color-green);
  color: var(--color-white);
  font-size: 2rem;
  border-radius: 10px 24px 12px 20px;
  border: none;
  cursor: pointer;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1102;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-teal);
  color: var(--color-white);
}

@media (max-width: 1000px) {
  nav {
    display: none;
  }
  .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* ===========================
   MOBILE MENU OVERLAY
   =========================== */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(46,58,39,0.98);
  z-index: 1100;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.4,1,.5,1);
  visibility: hidden;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0%);
  visibility: visible;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  color: var(--color-white);
  font-size: 2.2rem;
  position: absolute;
  top: 22px; right: 32px;
  z-index: 1102;
  border-radius: 10px 18px 14px 12px;
  width: 48px; height: 48px;
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--color-green);
  color: var(--color-sand);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  margin: 120px 0 0 38px;
}
.mobile-nav a {
  font-size: 1.25rem;
  color: var(--color-white);
  background: none;
  padding: 11px 26px;
  border-radius: 22px 10px 18px 17px;
  text-decoration: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  transition: background 0.18s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-green);
  color: var(--color-sand);
}
@media (min-width: 1001px) {
  .mobile-menu {
    display: none!important;
  }
}

/* ===========================
   COOKIE CONSENT BANNER
   =========================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  z-index: 20000;
  background: var(--color-white);
  box-shadow: 0 -2px 14px var(--color-shadow-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px 16px 22px 16px;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 1rem;
  animation: cookie-slide-up .4s cubic-bezier(.18,.79,.34,1.15);
}
@keyframes cookie-slide-up {
  from { transform: translateY(100%); opacity: 0.2; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  margin-bottom: 6px;
  color: var(--color-secondary);
  font-weight: 500;
}
.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.cookie-buttons button {
  min-width: 130px;
  padding: 10px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 20px 12px 17px 16px;
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.11s, box-shadow 0.18s;
  box-shadow: 0 1px 3px var(--color-shadow);
}
.cookie-buttons .accept {
  background: var(--color-green);
  color: var(--color-white);
}
.cookie-buttons .accept:hover,
.cookie-buttons .accept:focus {
  background: var(--color-teal);
  color: var(--color-white);
}
.cookie-buttons .reject {
  background: var(--color-stone);
  color: var(--color-secondary);
}
.cookie-buttons .reject:hover, .cookie-buttons .reject:focus {
  background: var(--color-orange);
  color: var(--color-white);
}
.cookie-buttons .settings {
  background: var(--color-sand);
  color: var(--color-secondary);
  border: 1.5px solid var(--color-lightgreen);
}
.cookie-buttons .settings:hover, .cookie-buttons .settings:focus {
  background: var(--color-lightgreen);
  color: var(--color-green);
}

/* COOKIE MODAL (Settings) */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 20010;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(46,58,39,0.65);
  justify-content: center;
  align-items: center;
  transition: opacity 0.24s;
  opacity: 0;
}
.cookie-modal-overlay.open {
  display: flex;
  opacity: 1;
  animation: modal-in .21s;
}
@keyframes modal-in {
  from { opacity: 0; transform: scale(0.93); }
  to   { opacity: 1; transform: scale(1); }
}
.cookie-modal {
  background: var(--color-white);
  border-radius: 24px 12px 22px 17px;
  padding: 36px 26px 30px 26px;
  min-width: 308px;
  max-width: 90vw;
  box-shadow: 0 6px 32px var(--color-shadow);
  display: flex;
  flex-direction: column;
  gap: 26px;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cookie-modal .cookie-name {
  font-weight: bold;
  color: var(--color-secondary);
}
.cookie-modal .cookie-toggle {
  accent-color: var(--color-green);
  width: 20px; height: 20px;
}
.cookie-modal .cookie-toggle[disabled] { opacity: .45; }
.cookie-modal .modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.cookie-modal .modal-actions button {
  min-width: 100px;
  padding: 8px 18px;
  border-radius: 13px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
  transition: background 0.18s, color 0.18s;
}
.cookie-modal .modal-actions .save {
  background: var(--color-green);
  color: var(--color-white);
}
.cookie-modal .modal-actions .cancel {
  background: var(--color-stone);
  color: var(--color-secondary);
}
.cookie-modal .modal-actions .save:hover, .cookie-modal .modal-actions .save:focus {
  background: var(--color-teal);
}
.cookie-modal .modal-actions .cancel:hover, .cookie-modal .modal-actions .cancel:focus {
  background: var(--color-orange);
  color: var(--color-white);
}
.cookie-modal .modal-close {
  background: none;
  color: var(--color-secondary);
  font-size: 2rem;
  position: absolute;
  top: 12px; right: 21px;
  cursor: pointer;
  border-radius: 8px 9px 12px 14px;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  background: var(--color-lightgreen);
  color: var(--color-green);
}

/* ===========================
   MAIN CONTENT ELEMENTS
   =========================== */
.text-section {
  margin-bottom: 20px;
}
.contact-info-block {
  margin-bottom: 24px;
  background: var(--color-white);
  border-radius: 18px 15px 16px 12px;
  box-shadow: 0 2px 8px var(--color-shadow);
  padding: 20px 16px;
}
.contact-info-block ul {
  list-style: none;
  padding: 0;
}
.contact-info-block li {
  margin-bottom: 10px;
  font-size: 1rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.faq-item {
  background: var(--color-white);
  border-left: 5px solid var(--color-green);
  border-radius: 16px 7px 13px 16px;
  box-shadow: 0 1px 7px var(--color-shadow);
  padding: 18px 20px;
}
.faq-item h2 {
  font-size: 1.1rem;
  color: var(--color-primary);
  margin-bottom: 9px;
}
.faq-item p {
  color: var(--color-secondary);
}

/* =============================
   TABLE
   ============================= */
table {
  width: 100%;
  margin-bottom: 20px;
  border-radius: 18px 6px 12px 9px;
  overflow: hidden;
  box-shadow: 0 1px 7px var(--color-shadow);
  background: var(--color-white);
  border-collapse: collapse;
}
table caption {
  caption-side: top;
  padding-bottom: 10px;
  font-weight: bold;
  font-size: 1.1rem;
  color: var(--color-green);
}
thead {
  background: var(--color-lightgreen);
}
thead th {
  padding: 12px 10px;
  color: var(--color-secondary);
  font-size: 1.1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
}
tbody td {
  padding: 13px 10px;
  font-size: 1rem;
  color: var(--color-secondary);
  border-top: 1.5px solid var(--color-sand);
}

/* ==========================
   FOOTER
   ========================== */
footer {
  width: 100%;
  background: var(--color-sand);
  border-top: 1.5px solid var(--color-lightgreen);
  box-shadow: 0 -1.5px 10px var(--color-shadow);
  margin-top: 80px;
  padding: 30px 0 12px 0;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 60px;
}
footer nav {
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}
footer nav a {
  color: var(--color-secondary);
  font-size: 1rem;
  padding: 2px 4px 2px 0;
  font-family: 'Roboto', Arial, sans-serif;
  text-decoration: underline;
  border-radius: 8px;
  transition: background 0.14s, color 0.14s;
}
footer nav a:hover, footer nav a:focus {
  background: var(--color-lightgreen);
  color: var(--color-green);
}
footer img {
  height: 40px;
  width: auto;
  border-radius: 10px 24px 13px 10px;
  margin-bottom: 12px;
}
footer .contact-info {
  color: var(--color-secondary);
  font-size: .95rem;
  max-width: 320px;
  line-height: 1.6;
}
footer .contact-info a {
  color: var(--color-primary);
  text-decoration: underline;
}
footer .contact-info a:hover { color: var(--color-green); }

/* ===============================
   ORGANIC: ICONS & ORGANIC BOXES
   =============================== */
ul li img {
  margin-right: 10px;
  height: 24px;
  width: 24px;
  vertical-align: middle;
  border-radius: 6px 13px 11px 8px;
  display: inline-block;
  background: var(--color-lightgreen);
  padding: 3px;
  box-shadow: 0 1px 3px var(--color-shadow);
}
/* ------------------------------
   Organic borders, wavy shapes
   ------------------------------ */
.section, .card, .testimonial-card, .faq-item, .contact-info-block, .cookie-modal {
  border-radius: 22px 15px 27px 20px;
  border-width: 2px;
}

/* ====================
   MICRO-INTERACTIONS
   ==================== */
button, .cta-button, .cookie-buttons button, .modal-actions button {
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.18s;
}
button:active, .cta-button:active, .cookie-buttons button:active {
  transform: scale(.97);
}

/* ==========================
   RESPONSIVE FLEX LAYOUTS
   ========================== */
@media (max-width: 1100px) {
  .container {
    max-width: 96vw;
  }
}
@media (max-width: 900px) {
  .container, footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
  }
  footer .container {
    gap: 30px;
  }
}
@media (max-width: 768px) {
  html { font-size: 95%; }

  .content-wrapper, .content-grid,
  .card-container, .section, .testimonial-card,
  .faq-list, .feature-item {
    flex-direction: column!important;
    align-items: flex-start!important;
  }
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  footer .container {
    align-items: flex-start;
    gap: 14px;
  }
  .testimonial-card {
    min-width: 100%;
    max-width: 100%;
    align-items: flex-start;
  }
  .section {
    margin-bottom: 38px;
    padding: 18px 2px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.1rem; }
  .cta-button { padding: 13px 18px; font-size: 1rem; }
  table caption, table thead th {
    font-size: 1rem;
  }
}

@media (max-width: 580px) {
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.12rem; }
  .cta-button { font-size: 0.97rem; padding: 10px 12px; }
  .testimonial-card {
    font-size: 0.97rem;
    padding: 12px 7px;
  }
}

/* ==========================
   FORM ELEMENTS (Contact)
   ========================== */
input, textarea, select {
  padding: 11px 13px;
  border-radius: 12px 16px 10px 12px;
  border: 1.5px solid var(--color-lightgreen);
  margin-bottom: 18px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  width: 100%;
  background: var(--color-white);
  box-shadow: 0 1px 2px var(--color-shadow);
  transition: border 0.18s;
}
input:focus, textarea:focus, select:focus {
  border: 1.8px solid var(--color-green);
  outline: none;
}

/* ===============
   UTILITY CLASSES
   =============== */
.text-center { text-align: center; }
.text-right { text-align: right; }
.gap-8 { gap: 8px!important; }
.gap-20 { gap: 20px!important; }
.my-24 { margin-top: 24px!important; margin-bottom:24px!important; }
.mt-24 { margin-top: 24px!important; }
.mb-24 { margin-bottom: 24px!important; }

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

/* =============================
   ORGANIC DECORATIVE EXTRAS
   ============================= */
.section {
  position: relative;
}
.section::before {
  content: '';
  display: block;
  position: absolute;
  left: -25px;
  top: -20px;
  width: 68px;
  height: 68px;
  background: url('../assets/deco-leaf.svg') no-repeat center center;
  background-size: 68px auto;
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}
.section:last-child::before {
  display: none;
}

@media (max-width: 768px) {
  .section::before {
    width: 36px; height: 36px; left: -8px; top: -8px;
  }
}

/* =============================
   END of CSS FILE
   ============================= */
