/* CSS Reset & Base Styles */
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;
  font-size: 16px;
}
body {
  background: #F1F0E1;
  color: #50532A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #4E7D4C;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #2F5329;
  text-decoration: underline;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1.25em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: #50532A;
  margin-bottom: 16px;
  line-height: 1.12;
}
h1 { font-size: 2.5rem; font-weight: 700; }
h2 { font-size: 2rem; font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; }
p, li, label, input, select, textarea, button {
  font-family: 'Montserrat', Arial, sans-serif;
}
/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 14px rgba(80,83,42, 0.08);
  padding: 28px 24px;
  min-width: 280px;
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(80,83,42, 0.10);
  margin-bottom: 20px;
  font-size: 1.08rem;
  color: #46492D;
  flex: 1 1 320px;
  min-width: 240px;
  border-left: 5px solid #7EC481;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 18px;
  padding: 32px 20px 28px 20px;
  box-shadow: 0 2px 12px rgba(80,83,42, 0.08);
  margin-bottom: 20px;
  min-width: 220px;
  flex: 1 1 260px;
}

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

/* Organic shapes and accents */
.card, .feature-item, .testimonial-card {
  border-radius: 22px 36px 16px 24px;
}

/* Hero Section */
.hero {
  background: #D0AE7F url('../assets/leaf-bg.png') repeat top left;
  background-blend-mode: lighten;
  border-radius: 0 0 46px 46px;
  padding: 68px 0 60px 0;
  margin-bottom: 60px;
  box-shadow: 0 8px 36px rgba(80,83,42,0.06);
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 24px;
}
.hero h1 {
  color: #50532A;
  font-size: 2.5rem;
  max-width: 650px;
}
.hero p {
  font-size: 1.25rem;
  color: #574613;
}
.hero .btn-primary {
  margin-top: 16px;
}
/* Buttons */
.btn-primary {
  display: inline-block;
  background: #7EC481;
  color: #222;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.12rem;
  border: none;
  padding: 13px 36px;
  border-radius: 27px 18px 31px 20px;
  box-shadow: 0 2px 12px rgba(126,196,129,0.12);
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, color 0.16s;
  margin: 2px 8px 2px 0;
  letter-spacing: 0.03em;
}
.btn-primary:hover, .btn-primary:focus {
  background: #5FA85F;
  color: #fff;
  box-shadow: 0 5px 24px rgba(126,196,129,0.15);
}
.btn-secondary {
  display: inline-block;
  background: #fff;
  color: #7EC481;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  border: 2px solid #7EC481;
  padding: 12px 30px;
  border-radius: 25px 18px 27px 22px;
  cursor: pointer;
  transition: background 0.2s, color 0.18s;
  margin-left: 10px;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #7EC481;
  color: #fff;
}

/* Header Navigation */
header {
  background: #F1F0E1;
  border-bottom: 2px solid #D0AE7F;
  padding-top: 12px;
  padding-bottom: 10px;
  box-shadow: 0 2px 22px rgba(126,196,129, 0.04);
  position: sticky;
  top: 0;
  z-index: 40;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.main-nav a {
  padding: 7px 0px;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #5C6144;
  font-weight: 500;
  font-size: 1rem;
  border-radius: 8px;
  transition: background 0.16s, color 0.17s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F3F9F4;
  color: #3B531B;
}
header .btn-primary {
  margin-left: 24px;
}

/* Mobile menu hamburger */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #5C6144;
  z-index: 101;
}

/* Mobile Menu Overlay */
.mobile-menu {
  display: none;
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(223, 238, 211, 0.98);
  z-index: 100;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 36px;
  padding-left: 24px;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.77,0,.18,1);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  background: none;
  border: none;
  color: #50532A;
  cursor: pointer;
  align-self: flex-end;
  margin-right: 20px;
  margin-bottom: 16px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.27rem;
  padding: 10px 0;
  margin: 3px 0;
  color: #50532A;
  font-weight: 600;
  border-radius: 10px;
  transition: background 0.17s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #C4E1BC;
  color: #325221;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 1px 8px rgba(126,196,129,0.06);
  margin-bottom: 24px;
}
th, td {
  padding: 18px 16px;
  text-align: left;
  font-size: 1rem;
  color: #50532A;
}
th {
  background: #E9F6EB;
  font-weight: 700;
}
tr:nth-child(even) td {
  background: #F3F9F4;
}

/* Footer Styles */
footer {
  background: #F1F0E1;
  border-top: 3px solid #D0AE7F;
  padding: 44px 0 28px 0;
  margin-top: 60px;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  align-items: flex-start;
  padding-bottom: 24px;
  border-bottom: 1px solid #D0AE7F;
  margin-bottom: 16px;
}
.footer-brand img {
  width: 50px;
  margin-bottom: 12px;
}
.footer-brand p {
  font-size: 1rem;
  color: #50532A;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-links a {
  color: #5C6144;
  font-size: 1rem;
}
.social-links {
  display: flex;
  gap: 16px;
  margin-top: 18px;
}
.social-links a {
  display: flex;
  align-items: center;
}
.social-links img {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 2px 3px #C4E1BC60);
}

/* Newsletter form */
.newsletter-invite, .newsletter-signup {
  background: #E9F6EB;
  border-radius: 30px 30px 10px 38px;
  box-shadow: 0 2px 19px rgba(126,196,129,0.11);
  margin-bottom: 60px;
  padding: 40px 20px;
}
.newsletter-invite h2, .newsletter-signup h2 {
  color: #325221;
}
.newsletter-invite p, .newsletter-signup p, .newsletter-signup label {
  color: #325221;
  font-size: 1.08rem;
}
.newsletter-invite form, .newsletter-signup form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}
input[type="email"], input[type="text"] {
  padding: 11px 14px;
  border-radius: 14px;
  border: 1.5px solid #C9DFB3;
  font-size: 1rem;
  outline: none;
  background: #fff;
  transition: border 0.17s;
}
input[type="email"]:focus, input[type="text"]:focus {
  border-color: #7EC481;
}
.legal-text {
  font-size: 0.95rem;
  color: #66795A;
  margin-top: 10px;
}
.legal-text a {
  color: #7EC481;
}

/* CTA section */
.cta-section, .cta {
  display: flex;
  gap: 20px;
  align-items: center;
}

/* Testimonials */
.testimonials .content-wrapper,
section.testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-card p {
  color: #325221;
  font-family: 'Montserrat';
  font-size: 1.05rem;
  margin-bottom: 6px;
  font-style: italic;
}
.testimonial-card span {
  color: #5C6144;
  font-size: 1rem;
  font-style: normal;
  font-weight: 500;
}

/* Feature Items */
.features .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature-item img {
  width: 38px;
  margin-bottom: 3px;
}
.feature-item h3 {
  font-size: 1.32rem;
  color: #34714D;
  margin-bottom: 8px;
}
.feature-item p {
  font-size: 1.05rem;
  color: #46492D;
}

/* Legal/content sections */
.legal {
  background: #FDFBF6;
  border-radius: 14px;
  box-shadow: 0 1px 7px rgba(180,180,150, 0.07);
  margin-top: 44px;
  margin-bottom: 60px;
  padding: 40px 22px;
}
.legal h1, .legal h2 { color: #50532A; }
.legal a { color: #7EC481; }

/* Thank you */
.thank-you .content-wrapper {
  align-items: flex-start;
  gap: 24px;
}
.thank-you h1 {
  color: #34714D;
}

/* Table responsiveness */
@media (max-width: 600px) {
  table, thead, tbody, th, td, tr {
    display: block;
    width: 100%;
  }
  thead {
    display: none;
  }
  tr {
    margin-bottom: 12px;
  }
  td {
    padding: 12px 10px;
    border-bottom: 1px solid #D0AE7F;
  }
}

/* Responsive Design */
@media (max-width: 1100px) {
  .footer-content {
    flex-direction: column;
    gap: 36px;
  }
  .main-nav {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .feature-grid {
    gap: 16px;
  }
  .footer-content {
    flex-direction: column;
    gap: 28px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 12px;
  }
  .hero {
    padding: 38px 0 28px 0;
  }
  .content-wrapper {
    gap: 18px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .content-grid, .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card, .feature-item, .card {
    min-width: 0;
    flex: 1 1 100%;
    margin-bottom: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
  .cta-section {
    flex-direction: column;
    gap: 16px;
  }
}
@media (max-width: 480px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.25rem; }
  .hero h1 { font-size: 1.27rem; }
  .footer-brand img {
    width: 40px;
  }
  .newsletter-invite, .newsletter-signup {
    padding: 18px 7px;
  }
  .section {
    margin-bottom: 34px;
    padding: 20px 4px;
  }
}

/* Animations */
.mobile-menu {
  will-change: transform;
}
.mobile-menu.open {
  animation: slideInMenu 0.35s cubic-bezier(.77,0,.18,1) 1;
}
@keyframes slideInMenu {
  from { transform: translateX(100%); }
  to   { transform: translateX(0); }
}

/* ================ COOKIE CONSENT BANNER ================ */
.cookie-banner {
  display: flex;
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  background: #DEEDCF;
  color: #50532A;
  z-index: 1500;
  box-shadow: 0 -2px 18px rgba(80,83,42,0.11);
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 24px 20px 20px 20px;
  gap: 26px;
  font-size: 1rem;
  animation: cookieSlideUp 0.44s cubic-bezier(.77,0,.18,1);
}
@keyframes cookieSlideUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
.cookie-banner p {
  color: #50532A;
  flex: 1 1 240px;
  margin-right: 10px;
}
.cookie-banner .cookie-btn-group {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-banner button {
  background: #7EC481;
  border: none;
  color: #222;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 10px 25px;
  border-radius: 20px 16px 19px 13px;
  font-size: 1rem;
  cursor: pointer;
  margin: 1px 3px;
  transition: background 0.18s, color 0.18s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #5FA85F;
  color: #fff;
}
.cookie-banner .cookie-settings-btn {
  background: #fff;
  color: #7EC481;
  border: 1.5px solid #7EC481;
  padding: 10px 14px;
}
.cookie-banner .cookie-settings-btn:hover, .cookie-banner .cookie-settings-btn:focus {
  background: #7EC481;
  color: #fff;
}

/* Responsive Cookie */
@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    gap: 14px;
    padding: 14px 7px 12px 7px;
    font-size: 0.97rem;
    align-items: flex-start;
  }
  .cookie-banner p {
    margin-right: 0;
  }
  .cookie-banner .cookie-btn-group {
    gap: 8px;
  }
}

/* Cookie Consent Modal */
.cookie-modal-bg {
  display: none;
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(80,83,42,0.25);
  z-index: 1600;
  align-items: center;
  justify-content: center;
}
.cookie-modal-bg.open {
  display: flex;
  animation: fadeInBg 0.35s;
}
@keyframes fadeInBg {
  from { opacity: 0; }
  75% { opacity: 0.7; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #FFFFFF;
  border-radius: 32px 24px 19px 30px;
  box-shadow: 0 2px 36px rgba(80,83,42,0.19);
  padding: 38px 24px 30px 24px;
  max-width: 375px;
  width: 95vw;
  color: #50532A;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: popInModal 0.44s cubic-bezier(.77,0,.18,1);
}
@keyframes popInModal {
  0% { transform: scale(0.86); opacity: 0; }
  60% { transform: scale(1.04); opacity: 0.9; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.3rem;
  color: #3B531B;
  margin-bottom: 4px;
}
.cookie-modal ul {
  list-style: none;
  padding-left: 0;
}
.cookie-modal li {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
}
.cookie-modal label {
  font-size: 1.02rem;
  color: #50532A;
  cursor: pointer;
}
.cookie-modal input[type="checkbox"]:not(:disabled) {
  accent-color: #7EC481;
}
.cookie-modal input[type="checkbox"]:disabled {
  accent-color: #C9DFB3;
  cursor: not-allowed;
}
.cookie-modal p {
  font-size: 0.97rem;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 12px;
}
.cookie-modal .cookie-modal-actions button {
  min-width: 108px;
  padding: 10px 0;
}
.cookie-modal .close-cookie-modal {
  background: none;
  border: none;
  color: #7EC481;
  font-size: 1.5rem;
  position: absolute;
  right: 16px;
  top: 16px;
  cursor: pointer;
}

@media (max-width: 480px) {
  .cookie-modal {
    padding: 18px 6px 18px 8px;
  }
}

/* Custom Scrollbar (Webkit for style) */
::-webkit-scrollbar {
  width: 12px;
  background: #F1F0E1;
}
::-webkit-scrollbar-thumb {
  background: #C9DFB3;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: #7EC481;
}

/* Utility classes from provided samples */
.section { margin-bottom: 60px; padding: 40px 20px; }
.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; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* Hide visually */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}
