/* === 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 {
  scroll-behavior: smooth;
}
body {
  background: #F5F7EB;
  color: #22543D;
  font-family: 'Lato', Arial, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
*, *:before, *:after {
  box-sizing: inherit;
}
ul, ol {
  list-style: none;
}
a {
  color: #22543D;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px dashed #7DA36C;
  outline-offset: 2px;
}

/* === BRAND FONTS === */
h1, h2, h3, h4, .cta, .primary {
  font-family: 'Montserrat', 'Lato', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* === TYPOGRAPHY SCALE === */
h1 { font-size: 2.25rem; line-height: 1.15; margin-bottom: 16px; }
h2 { font-size: 1.75rem; margin-bottom: 12px; }
h3 { font-size: 1.25rem; margin-bottom: 8px; }
h4 { font-size: 1.125rem; margin-bottom: 6px; }
p, li, label, input, button, textarea { font-size: 1rem; }
@media (min-width: 768px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.125rem; }
  h3 { font-size: 1.5rem; }
}
strong { color: #22543D; font-weight: 700; }

/* === ORGANIC COLORS & SHADOWS === */
:root {
  --primary: #22543D;
  --secondary: #7DA36C;
  --accent: #F5F7EB;
  --earth: #A38557;
  --clay: #D3C6B3;
  --leaf: #63824C;
  --offwhite: #FAF9F6;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: 28px 46px 24px 38px;
  /* organic subtle border radius */
  box-shadow: 0 4px 24px rgba(34,84,61,0.06);
  position: relative;
}

@media (min-width: 992px) {
  .section {
    padding: 60px 0;
  }
}

.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

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

/* === HERO SECTION ORGANIC === */
.hero {
  background: linear-gradient(110deg, var(--accent) 75%, var(--secondary) 100%);
  position: relative;
}
.hero .container {
  min-height: 260px;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  justify-content: center;
  padding-top: 40px;
  padding-bottom: 40px;
}
@media (min-width: 768px) {
  .hero .content-wrapper {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}
.hero h1 {
  font-size: 2.25rem;
  color: var(--primary);
  margin-bottom: 12px;
}
.hero p {
  font-size: 1.25rem;
  color: var(--leaf);
  margin-bottom: 24px;
  max-width: 600px;
}

/* === MAIN BUTTONS (CTA) === */
.cta, .primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  border-radius: 30px 38px 24px 30px;
  background: var(--primary);
  color: #fff;
  border: none;
  font-size: 1.15rem;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(34,84,61,0.11);
  cursor: pointer;
  transition: background 0.22s, box-shadow 0.22s, transform 0.11s;
  margin-top: 10px;
  margin-bottom: 10px;
  min-width: 150px;
}
.cta.primary, a.cta.primary {
  background: var(--primary);
  color: #fff;
  outline: none;
}
.cta:not(.primary) {
  background: var(--secondary);
  color: #fff;
}
.cta:focus, .cta:hover, .primary:focus, .primary:hover {
  background: var(--leaf);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 28px 0 rgba(34, 84, 61, 0.20);
}
a.cta, a.primary {
  text-decoration: none;
}

/* == FLEXBOX LAYOUTS == */
.feature-grid, .product-grid, .card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
  margin-bottom: 20px;
}
.feature-grid > div, .product-grid > div, .card {
  background: var(--offwhite);
  border-radius: 22px 36px 18px 28px;
  box-shadow: 0 2px 10px rgba(125,163,108,0.07);
  padding: 28px 22px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  transition: box-shadow .17s, transform .11s;
  position: relative;
}
.card-container > .card {
  margin-bottom: 20px;
}
.feature-grid > div:hover, .product-grid > div:hover, .card:hover {
  box-shadow: 0 12px 32px rgba(34,84,61, 0.13);
  transform: translateY(-4px) scale(1.03);
}
@media (max-width: 900px) {
  .feature-grid, .product-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

/* === ORGANIC SHAPES ON CARDS/FEATURES === */
.feature-grid > div, .product-grid > div, .testimonial-card, .card {
  border-radius: 22px 36px 18px 28px;
  box-shadow: 0 3px 16px rgba(125,163,108,0.12);
}

/* === TESTIMONIALS === */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fff;
  border-left: 8px solid var(--secondary);
  border-radius: 22px 36px 18px 28px;
  box-shadow: 0 6px 22px rgba(34,84,61,0.13);
  transition: box-shadow 0.13s;
}
.testimonial-card blockquote {
  color: #193422;
  font-size: 1.12rem;
  line-height: 1.5;
  font-style: italic;
  margin: 0 0 10px 0;
}
.testimonial-author {
  color: var(--earth);
  font-weight: 600;
  font-size: 1rem;
}
.testimonial-card:hover {
  box-shadow: 0 12px 20px rgba(34,84,61,0.21);
}

/* === FORMS & INPUTS === */
form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 420px;
}
label {
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 6px;
}
input[type="text"],
input[type="email"],
input[type="password"],
textarea {
  padding: 11px 15px;
  font-size: 1rem;
  border: 1.5px solid var(--secondary);
  border-radius: 18px 28px 18px 22px;
  background: #F5F7EB;
  transition: border-color 0.2s, box-shadow 0.15s;
  resize: vertical;
  color: #275040;
}
input:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px #BDD7B5;
}
button[type="submit"], form button {
  font-family: 'Montserrat', 'Lato', Arial, sans-serif;
  padding: 12px 28px;
  border-radius: 30px;
  border: none;
  background: var(--secondary);
  color: #fff;
  font-weight: 700;
  font-size: 1.02rem;
  margin-top: 4px;
  cursor: pointer;
  transition: background 0.18s, transform 0.12s;
}
button[type="submit"]:hover, form button:hover {
  background: var(--primary);
  transform: translateY(-2px) scale(1.04);
}

/* === NEWSLETTER SUBSCRIBE === */
form input[type="email"] {
  width: 100%;
  margin-bottom: 16px;
}

/* === LISTS === */
ul {
  padding-left: 0;
  margin-bottom: 0;
}
ul li {
  margin-bottom: 18px;
  line-height: 1.6;
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
ul li img {
  width: 28px;
  margin-right: 10px;
}

/* === FOOTER === */
footer {
  background: var(--primary);
  color: #fff;
  padding: 48px 0 24px 0;
}
footer .container {
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 16px;
}
.footer-links a {
  color: #fff;
  opacity: 0.86;
  padding: 2px 8px;
  border-radius: 14px;
  transition: background 0.15s, color 0.15s;
}
.footer-links a:hover, .footer-links a:focus {
  background: var(--secondary);
  color: #fff;
  opacity: 1;
}
.brand-signature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  font-size: 1.05rem;
}
.brand-signature img {
  width: 50px;
  margin-bottom: 6px;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 12px 0;
}
.footer-social a {
  background: #fff2;
  border-radius: 16px;
  padding: 5px 8px;
  transition: background 0.13s;
}
.footer-social a:hover, .footer-social a:focus {
  background: var(--secondary);
}
.contact-mini {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 18px;
}
.contact-mini div {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.98rem;
}
.contact-mini img {
  width: 18px;
}

@media (min-width: 768px) {
  footer .container {
    flex-direction: row;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
  }
  .footer-links, .footer-social, .brand-signature, .contact-mini {
    margin: 0;
  }
  .footer-social {
    margin-top: 0;
  }
}

/* === HEADER === */
header {
  background: #fff;
  box-shadow: 0 4px 16px rgba(34,84,61,0.05);
  position: relative;
  z-index: 21;
}
header .container {
  min-height: 74px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  justify-content: space-between;
  padding: 12px 16px;
}
header img {
  max-height: 49px;
  margin-right: 22px;
}

.main-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}
.main-menu a {
  font-family: 'Montserrat', 'Lato', Arial, sans-serif;
  font-size: 1.01rem;
  font-weight: 600;
  padding: 8px 16px;
  color: var(--primary);
  border-radius: 18px;
  background: none;
  transition: background 0.13s, color 0.12s;
  opacity: 0.88;
}
.main-menu a:hover, .main-menu a:focus {
  color: #fff;
  background: var(--leaf);
  opacity: 1;
}
header .cta.primary {
  margin-left: 16px;
}

/* === MOBILE MENU === */
.mobile-menu-toggle {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: var(--earth);
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 50%;
  padding: 7px 14px;
  margin-left: 8px;
  cursor: pointer;
  transition: background 0.18s, transform 0.12s;
  z-index: 31;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--primary);
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34,84,61,0.94);
  color: #fff;
  transform: translateX(-100vw);
  transition: transform 0.28s cubic-bezier(.85,.06,.41,1.03);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 24px 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin-right: 28px;
  margin-bottom: 22px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.16s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: var(--secondary);
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  padding-left: 40px;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Lato', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.18rem;
  padding: 12px 0;
  color: #fff;
  border-radius: 16px;
  width: 100%;
  background: none;
  transition: background 0.17s, color 0.13s;
  margin-right: 16px;
  margin-bottom: 6px;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--secondary);
  color: #fff;
}

@media (max-width: 1024px) {
  .main-menu, header .cta.primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
}
@media (min-width: 1025px) {
  .mobile-menu-toggle, .mobile-menu {
    display: none !important;
  }
}

/* === COOKIE CONSENT BANNER === */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fffbe9;
  border-top: 1.5px solid var(--secondary);
  box-shadow: 0 -2px 24px rgba(34,84,61,0.07);
  color: #22543D;
  padding: 24px 22px 18px 22px;
  z-index: 10001;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  width: 100vw;
  transition: transform .4s cubic-bezier(.61,-0.19,.19,1.04);
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
.cookie-consent-banner.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.cookie-consent-banner button {
  padding: 8px 22px;
  border-radius: 24px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  transition: background 0.12s, color 0.11s, box-shadow 0.11s;
  cursor: pointer;
}
button.cookie-accept {
  background: var(--secondary);
  color: #fff;
}
button.cookie-accept:focus, button.cookie-accept:hover {
  background: var(--primary);
}
button.cookie-reject {
  background: var(--earth);
  color: #fff;
}
button.cookie-reject:focus, button.cookie-reject:hover {
  background: var(--primary);
}
button.cookie-settings {
  background: #fff;
  border: 1.3px solid var(--secondary);
  color: var(--primary);
}
button.cookie-settings:focus, button.cookie-settings:hover {
  background: var(--secondary);
  color: #fff;
}

/* === COOKIE MODAL POPUP === */
.cookie-modal {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 11000;
  background: rgba(34,84,61,0.82);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .31s;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-dialog {
  background: #fff;
  color: var(--primary);
  border-radius: 30px 38px 24px 30px;
  box-shadow: 0 8px 48px rgba(34,84,61,0.16);
  padding: 36px 28px 28px 28px;
  min-width: 300px;
  max-width: 95vw;
  width: 420px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.cookie-modal-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--primary);
  cursor: pointer;
  margin-bottom: 6px;
  padding: 0 6px;
}
.cookie-preference-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.cookie-preference-category input[type='checkbox'] {
  width: 22px;
  height: 22px;
  accent-color: var(--secondary);
}
.cookie-preference-category label {
  font-size: 1.07rem;
  font-weight: 700;
  cursor: pointer;
}
.essential-disabled {
  opacity: 0.6;
  pointer-events: none;
}

/* === ACCESSIBLE OUTLINE FOR BUTTONS === */
button:focus-visible, .mobile-menu-toggle:focus-visible, .mobile-menu-close:focus-visible {
  outline: 2.5px dashed var(--leaf);
  outline-offset: 2px;
}

/* === VISUAL ENHANCEMENTS & ORGANIC DETAILS === */
.section::before {
  content: '';
  display: block;
  position: absolute;
  left: -28px;
  top: -28px;
  width: 60px;
  height: 60px;
  background: var(--secondary);
  opacity: 0.10;
  border-radius: 48% 52% 44% 56%/52% 48% 54% 46%;
  z-index: 0;
}
.section::after {
  content: '';
  display: block;
  position: absolute;
  right: -34px;
  bottom: -34px;
  width: 58px;
  height: 58px;
  background: var(--earth);
  opacity: 0.10;
  border-radius: 56% 44% 45% 55%/45% 55% 41% 59%;
  z-index: 0;
}
/* Disable on small screens to avoid overlap */
@media (max-width: 700px) {
  .section::before, .section::after { display: none; }
}

/* === CARD & FEATURE ITEMS === */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}
.card {
  position: relative;
  margin-bottom: 20px;
  padding: 20px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(173,154,119,0.08);
  transition: box-shadow 0.14s;
}
.card:hover {
  box-shadow: 0 8px 24px 0 rgba(34,84,61,0.19);
}

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

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/* === RESPONSIVE ADJUSTMENTS === */
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  .footer-links {
    gap: 11px;
    font-size: 0.95rem;
  }
  .brand-signature span {
    font-size: 0.98rem;
  }
  .testimonial-card {
    padding: 12px;
  }
  .hero h1, .hero p {
    font-size: 1.35rem;
  }
  .main-menu, header .cta.primary {
    display: none;
  }
}

/* === UTILITIES === */
.d-none {
  display: none !important;
}
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-16 { margin-top: 16px; }
.mb-16 { margin-bottom: 16px; }

/* === HIDE SCROLL BAR FOR MOBILE MENU === */
.mobile-menu {
  overflow-y: auto;
}

/* === MAP EMBED and ADDRESS BLOCKS === */
.map-embed p {
  background: #F5F7EB;
  border-radius: 19px;
  padding: 12px 15px;
  color: var(--primary);
  line-height: 1.4;
  margin: 18px 0 0 0;
  font-size: 1.11rem;
}

/* === ORGANIC FOCUS RING FOR FIELDS === */
input:focus, textarea:focus {
  box-shadow: 0 0 0 2px var(--secondary);
  border-color: var(--primary);
}

/* === MICRO-INTERACTIONS (HOVERS) === */
a, .cta, button, .main-menu a, .mobile-nav a {
  transition: background 0.18s, color 0.18s, box-shadow 0.12s, transform .1s;
}

/* === ANIMATIONS FOR ENTRANCES (ORGANIC FADE) === */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeInUp .9s cubic-bezier(.56,.16,.22,1.08) forwards;
}
@keyframes fadeInUp {
  to { opacity: 1; transform: none; }
}

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