/* =================== CSS RESET & BASE =================== */
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,
main, 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 { 
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  background: #F6F7F3;
  color: #2a321c;
  width: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: #F6F7F3;
  color: #2a321c;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  width: 100%;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
}
a {
  color: #158959;
  text-decoration: none;
  transition: color .2s cubic-bezier(.51,.99,.62,1);
}
a:hover, a:focus {
  color: #4CA56D;
  text-decoration: underline;
}

/* =================== VARS & THEME COLORS =================== */
:root {
  --color-primary: #183153; /* deep blue - brand */
  --color-secondary: #00A8A8; /* teal - brand */
  --color-accent: #F8F9FB; /* soft off-white */
  --color-earth-bg: #F6F7F3; /* slightly greenish background */
  --color-earth-brown: #b98c41; /* earthy brown */
  --color-earth-olive: #8DA77B; /* olive green */
  --color-earth-green: #348554; /* deeper organic green */
  --color-leaf: #5ea053; /* leaf accent green */
  --color-text: #273A24;
  --color-text-soft: #45613a;
  --color-shadow: rgba(65, 97, 62, 0.09);
  --radius-card: 18px;
  --radius-btn: 24px;
  --shadow-card: 0 6px 20px var(--color-shadow);
  --shadow-btn: 0 1px 5px rgba(89,148,121,0.1);
}

/* =================== TYPOGRAPHY =================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
  line-height: 1.15;
}
h1 {
  font-size: 2.375rem;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.6rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.lead {
  font-size: 1.18rem;
  color: var(--color-earth-green);
  font-weight: 500;
  margin-bottom: 18px;
}

p, ul, ol {
  margin-bottom: 14px;
}

ul, ol {
  margin-top: 0;
  padding-left: 23px;
  color: var(--color-text-soft);
}
li {
  margin-bottom: 6px;
}

strong {
  color: var(--color-earth-brown);
}

/* =================== CONTAINER & LAYOUT =================== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
}

.content-wrapper {
  width: 100%;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: var(--radius-card);
  box-shadow: 0 2px 12px var(--color-shadow);
}
main > section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
}

/* =================== HEADER =================== */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 4px 14px var(--color-shadow);
  position: sticky;
  top: 0; left: 0; z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 72px;
}
header a img[src*="logo"] {
  height: 40px;
  border-radius: 7px;
  box-shadow: 0 1px 5px rgba(80,120,80,.08);
}
nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-primary);
  font-size: 1rem;
  font-weight: 600;
  position:relative;
  padding: 6px 0;
}
nav a:hover, nav a.active {
  color: var(--color-earth-green);
  background: none;
  text-decoration: underline 2px solid var(--color-earth-green);
  text-underline-offset: 3px;
}
.cta-btn {
  background: var(--color-earth-green);
  color: #fff;
  border: none;
  border-radius: var(--radius-btn);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  padding: 10px 30px;
  margin-left: 24px;
  transition: background .17s, box-shadow .22s;
  box-shadow: var(--shadow-btn);
  cursor: pointer;
  display: inline-block;
  letter-spacing:.01em;
  outline:none;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--color-earth-brown);
  color: #fff;
  box-shadow: 0 4px 12px rgba(52,133,84,.13);
  text-decoration: none;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-earth-green);
  cursor: pointer;
  margin-left: 16px;
  transition: color .18s;
}
.mobile-menu-toggle:focus {
  outline: 3px solid var(--color-secondary);
}

/* =================== MOBILE MENU =================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(246,247,243,.97);
  box-shadow: 0 2px 16px var(--color-shadow);
  z-index: 999;
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.5,1.47,.45,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 40px 0 20px;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0%);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--color-earth-green);
  align-self: flex-end;
  margin: 24px 8px 4px 0;
  cursor: pointer;
  transition: color .18s;
  z-index: 2;
}
.mobile-menu-close:focus { outline: 2px solid var(--color-secondary); }

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 54px;
  width: 100%;
  padding-bottom: 40px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-primary);
  font-size: 1.28rem;
  padding: 15px 2px 11px 10px;
  border-radius: 6px;
  display: block;
  font-weight: 600;
  outline: none;
  transition: background .18s, color .17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-leaf);
  color: #fff;
  outline: none;
}

/* Hamburger visible on mobile */
@media (max-width: 900px) {
  nav {
    display: none;
  }
  .cta-btn {
    margin-left: 10px;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (max-width: 620px) {
  header .container {
    padding: 0 10px;
  }
}

/* =================== SECTIONS & FLEX LAYOUTS =================== */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 14px;
  margin-bottom: 12px;
}
.features-grid > div {
  flex: 1 1 220px;
  min-width: 212px;
  max-width: 100%;
  background: #F6F7F3;
  border-radius: 20px 36px 20px 24px / 24px 20px 36px 20px;
  box-shadow: 0 2px 12px var(--color-shadow);
  padding: 30px 22px 18px 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform .13s, box-shadow .2s;
}
.features-grid > div:hover {
  transform: translateY(-8px) scale(1.025);
  box-shadow: 0 10px 28px rgba(52,133,84,0.13);
}
.features-grid img {
  width: 44px;
  height: 44px;
  margin-bottom: 10px;
  border-radius: 18px;
  background: #fff;
}
.features-grid h3 {
  color: var(--color-earth-green);
  margin-bottom: 4px;
  font-size: 1.08rem;
}

.card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  box-shadow: var(--shadow-card);
  border-radius: 18px;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  transition: box-shadow .13s, transform .14s;
}
.card:hover {
  box-shadow: 0 10px 32px rgba(52,133,84,0.13);
  transform: translateY(-4px);
}

.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .features-grid {
    flex-direction: column;
    gap: 20px;
  }
  .card-container, .card-grid {
    flex-direction: column;
    gap: 20px;
  }
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
}

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

/* =================== TESTIMONIALS =================== */
.testimonial-carousel, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 30px 24px 20px 30px / 26px 30px 24px 32px;
  box-shadow: 0 3px 18px var(--color-shadow);
  margin-bottom: 20px;
  max-width: 480px;
  min-width: 240px;
  color: var(--color-text);
  position: relative;
  transition: box-shadow .16s, transform .13s;
  font-size: 1.08rem;
}
.testimonial-card:hover {
  box-shadow: 0 10px 32px rgba(52,133,84,.11);
  transform: translateY(-3px) scale(1.01);
}
.testimonial-card p {
  color: var(--color-earth-brown);
  font-style: italic;
  font-family: 'Open Sans', Arial, sans-serif;
}
.testimonial-card strong {
  font-family: 'Montserrat', sans-serif;
  color: var(--color-earth-green);
  font-size: 1rem;
}
.testimonial-card div:last-child {
  font-size: .99rem;
  color: var(--color-text);
  opacity: .98;
  margin-bottom: -4px;
}

@media (max-width: 720px) {
  .testimonial-carousel, .testimonial-list {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    max-width: 98%;
    min-width: 140px;
  }
}

/* =================== TABLES =================== */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 30px 0 24px 0;
  font-size: 1.02rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2.5px 10px var(--color-shadow);
  overflow: hidden;
}
thead tr {
  background: var(--color-earth-brown);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
}
th, td {
  padding: 18px 18px 18px 8px;
  text-align: left;
}
tbody tr {
  border-bottom: 1.5px solid #F0F1EA;
  transition: background .12s;
}
tbody tr:hover {
  background: #F3F5EA;
}
@media (max-width: 600px) {
  table, thead, tbody, th, td, tr {
    display: block;
    width: 100%;
  }
  th {
    padding-top: 10px;
    padding-bottom: 8px;
  }
  td {
    padding-top: 10px;
    padding-bottom: 10px;
  }
}

/* =================== FORMS & INPUTS =================== */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  border-radius: 8px;
  border: 1.5px solid #abc7b3;
  padding: 10px 14px;
  outline: none;
  background: #F9FCF7;
  box-shadow: 0 1px 5px rgba(89,148,121,0.03);
  margin-bottom: 16px;
  transition: border-color .13s, box-shadow .13s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-earth-green);
  box-shadow: 0 2px 10px rgba(52,133,84,.09);
}

button {
  font-family: 'Montserrat', Arial, sans-serif;
}

/* =================== FOOTER & CONTACT INFO =================== */
footer {
  width: 100%;
  background: #F7F7F5;
  box-shadow: 0 -2px 8px var(--color-shadow);
  padding-top: 36px;
  padding-bottom: 18px;
  margin-top: 60px;
}
footer section {
  padding: 0;
  margin-bottom: 0;
  background: none;
  box-shadow: none;
}
footer h2 {
  color: var(--color-earth-green);
  margin-bottom: 10px;
  font-size: 1.13rem;
}
.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.contact-info > div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: var(--color-earth-brown);
}
.contact-info img {
  width: 23px;
  height: 23px;
  border-radius: 7px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 18px 0 7px 0;
}
.footer-menu a {
  color: var(--color-primary);
  font-weight: 600;
  font-size: .97rem;
  padding: 5px 0;
}
.footer-menu a:hover {
  color: var(--color-earth-green);
}
.social-links {
  display: flex;
  gap: 16px;
  margin-top: 6px;
  margin-bottom: 6px;
}
.social-links a img {
  width: 31px;
  height: 31px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 5px rgba(52,133,84,0.09);
  transition: box-shadow .13s, background .13s;
}
.social-links a:hover img {
  background: var(--color-earth-green);
  box-shadow: 0 2.5px 10px rgba(52,133,84,0.17);
}
@media (max-width: 670px) {
  .contact-info {
    flex-direction: column;
    gap: 14px;
  }
  .footer-menu {
    flex-direction: column;
    gap: 7px;
  }
}

/* =================== TAGS, BADGES, MISC =================== */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 12px 0;
}
.tags span {
  background: var(--color-earth-brown);
  color: #fff;
  border-radius: 8px;
  padding: 6px 13px;
  font-size: .97rem;
  font-family: 'Montserrat', sans-serif;
  display: inline-block;
}

.thank-you-message {
  background: #F9FCF7;
  border-left: 6px solid var(--color-leaf);
  border-radius: 10px;
  box-shadow: 0 1.5px 7px var(--color-shadow);
  padding: 18px 24px;
  margin-bottom: 19px;
}

/* =================== BUTTONS & STATES =================== */
button, .button-style {
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--color-earth-green);
  color: #fff;
  border: none;
  border-radius: var(--radius-btn);
  font-size: 1rem;
  font-weight: 700;
  padding: 11px 30px;
  box-shadow: var(--shadow-btn);
  cursor: pointer;
  outline: none;
  transition: background .16s, box-shadow .14s, color .13s;
}
button:hover, .button-style:hover, button:focus, .button-style:focus {
  background: var(--color-earth-brown);
  color: #fff;
  box-shadow: 0 6px 18px rgba(52,133,84,.14);
}

/* Disabled button */
button:disabled {
  background: #bcbcbc;
  color: #fff;
  cursor: not-allowed;
}

/* =================== COOKIE CONSENT BANNER =================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 1100;
  background: #F6F7F3;
  border-top: 2.5px solid var(--color-leaf);
  box-shadow: 0 -3px 14px var(--color-shadow);
  padding: 22px 12px 18px 12px;
  display: flex;
  flex-direction: row;
  gap: 38px;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  width: 100%;
  animation: cookie-slide-in 0.5s cubic-bezier(.53,1.26,.55,1.06);
}
@keyframes cookie-slide-in {
  from { transform: translateY(80px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  flex: 1 1 250px;
  color: var(--color-text);
  font-size: 1rem;
  margin-bottom: 0;
}
.cookie-banner-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
}
.cookie-banner button, .cookie-banner .button-style {
  font-size: 0.95rem;
  padding: 8px 23px;
  border-radius: 19px;
  font-weight: 700;
  background: var(--color-earth-green);
  color: #fff;
  border: none;
  transition: background .15s;
}
.cookie-banner button.reject {
  background: var(--color-earth-brown);
  color: #fff;
}
.cookie-banner button.reject:hover, .cookie-banner button.reject:focus {
  background: var(--color-primary);
}
.cookie-banner button.settings {
  background: #fff;
  color: var(--color-earth-green);
  border: 1.5px solid var(--color-earth-green);
}
.cookie-banner button.settings:hover, .cookie-banner button.settings:focus {
  background: var(--color-leaf);
  color: #fff;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 19px;
    align-items: stretch;
  }
  .cookie-banner-buttons {
    justify-content: flex-start;
    gap: 10px;
  }
}

/* ======= COOKIE MODAL ======= */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1300;
  left: 0; top: 0; right:0; bottom:0;
  background: rgba(24,49,83,0.29);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fade-in .2s;
}
.cookie-modal {
  background: #fff;
  border-radius: 28px;
  max-width: 96vw;
  min-width: 320px;
  width: 400px;
  padding: 32px 32px 22px 32px;
  box-shadow: 0 6px 32px rgba(52,133,84,0.15);
  animation: pop-in .22s cubic-bezier(.46,1.14,.42,.94);
  display: flex;
  flex-direction: column;
  gap: 13px;
  color: var(--color-primary);
}
@keyframes pop-in {
  from { transform: scale(.92) translateY(18px); opacity:.0; }
  to { transform: scale(1) translateY(0); opacity:1; }
}
@keyframes fade-in {
  from {opacity: 0;}
  to {opacity: 1;}
}
.cookie-modal h3 {
  color: var(--color-earth-green);
  font-size: 1.14rem;
  margin-bottom: 13px;
  font-weight: 700;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #F6F7F3;
  border-radius: 15px;
  padding: 11px 13px;
  margin-bottom: 9px;
}
.cookie-category label {
  font-size: 1rem;
  color: var(--color-earth-brown);
  font-weight: 600;
  padding-right: 8px;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--color-earth-green);
  width: 20px; height:20px;
  min-width: 20px;
  margin-right: 8px;
  border-radius: 6px;
}
.cookie-category.essential label {
  color: var(--color-earth-green);
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 17px;
  justify-content: flex-end;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 19px; right: 25px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-earth-green);
  cursor: pointer;
}

@media (max-width: 470px) {
  .cookie-modal { padding: 24px 7px 18px 7px; min-width: 0; width: 97vw; }
}

/* =================== ORGANIC/NATURE EFFECTS =================== */
.section, .features-grid > div, .card, .testimonial-card, .thank-you-message, .cookie-modal, .cookie-banner {
  /* Subtle accent texture (simulated, as no images): light random box-shadow */
  box-shadow: 0 2px 14px var(--color-shadow), 0 1px 0px rgba(92,138,93,.03);
}

.features-grid > div, .testimonial-card, .card {
  border-radius: 30px 18px 26px 18px / 18px 24px 30px 22px;
  /* Organic shape via border-radius */
}

.features-grid > div, .testimonial-card, .card, .section {
  border: 2.7px solid #eaf3eb;
}

/* =================== ORGANIC DECORATIVE SHAPES (OPTIONAL) =================== */
/* Decorative-only, not for core layout, so may use absolute inside card if desired */
.organic-shape {
  position: absolute;
  bottom: -14px; right: -20px;
  width: 64px; height: 64px;
  background: rgba(52,133,84,0.05);
  border-radius: 44% 66% 60% 43%;
  filter: blur(2px);
  z-index: 0;
  pointer-events: none;
}

/* =================== RESPONSIVE ADJUSTMENTS =================== */
@media (max-width: 900px) {
  .container {
    padding: 0 8px;
  }
}
@media (max-width: 640px) {
  .section,
  .thank-you-message {
    padding: 28px 10px;
    margin-bottom: 38px;
  }
  main > section {
    padding: 28px 0 0 0;
  }
  .footer-menu { gap: 8px; }
}
@media (max-width: 480px) {
  html { font-size: 15px; }
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.18rem; }
  h3 { font-size: 1.08rem; }
  .cta-btn, button, .button-style { padding: 10px 6vw; font-size: 1rem; }
}

/* =================== ACCESSIBILITY & FOCUS RINGS =================== */
a, button, .cta-btn {
  outline: none;
  transition: outline-color .13s;
}
a:focus, .cta-btn:focus, .button-style:focus, button:focus, input:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

/* =================== ANIMATIONS =================== */
.cta-btn, .button-style, .features-grid > div, .testimonial-card, .card {
  transition: box-shadow .17s, background .15s, color .15s, transform .17s;
}

/* =================== PRINT =================== */
@media print {
  header, footer, .mobile-menu, .cookie-banner {
    display: none !important;
  }
}
