/* =========================================
   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,
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;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after { box-sizing: inherit; }
body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  background: #F5F3E7;
  color: #353823;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: #497547;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus { color: #2d4d2b; text-decoration: underline; }
ul, ol { padding-left: 2em; margin-bottom: 1rem; }
li { margin-bottom: 0.5em; }
img {
  max-width: 100%;
  height: auto;
  display: inline-block;
  border-radius: 8px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', 'Times New Roman', Times, serif;
  color: #497547;
  font-weight: 700;
  margin-bottom: .5em;
  line-height: 1.15;
}
h1 { font-size: 2.8rem; margin-bottom: .75em; }
h2 { font-size: 2rem; margin-bottom: .6em; }
h3 { font-size: 1.3rem; margin-bottom: .4em; font-weight: 600; }
h4 { font-size: 1.12rem; font-weight: 600; }
p, ul, ol { margin-bottom: 1.5em; }
strong, b { color: #3f5c37; font-weight: 700; }
sub, sup { position: relative; font-size: 0.75em; line-height: 1; }


/* =========================================
   LAYOUT CONTAINERS & SECTIONS
========================================= */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 24px rgba(73, 117, 71, 0.08), 0 1.5px 3px rgba(163, 151, 118, 0.07);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

@media (min-width: 900px) {
  .content-wrapper {
    gap: 32px;
    align-items: stretch;
  }
}

/* =========================================
   FLEXBOX PATTERNS (MANDATORY CLASSES)
========================================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(63, 92, 55, 0.08);
  padding: 24px;
  min-width: 240px;
  max-width: 100%;
  transition: transform .18s, box-shadow .18s;
}
.card:hover {
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 11px 32px rgba(73, 117, 71, 0.15);
}
.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: #f7f6f2;
  border-radius: 20px;
  margin-bottom: 20px;
  box-shadow: 0 1px 6px rgba(73,117,71,0.07);
  transition: box-shadow .18s, transform .18s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 24px rgba(73, 117, 71, 0.15);
  transform: scale(1.015);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* RESPONSIVE for flex cases */
@media (max-width: 900px) {
  .section {
    padding: 24px 5px;
  }
  .card-container, .content-grid, .feature-grid {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .testimonial-card,
  .feature {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
}

/* =========================================
   HEADER & NAVIGATION
========================================= */
header {
  background: #497547;
  color: #fff;
  border-bottom-left-radius: 40px 24px;
  border-bottom-right-radius: 40px 24px;
  box-shadow: 0 9px 28px rgba(73, 117, 71, 0.08);
  position: relative;
  z-index: 200;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}
nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  padding: 5px 0;
  letter-spacing: 0.01em;
  position: relative;
  transition: color .15s;
}
nav a.cta {
  color: #497547;
  background: #fffbf2;
  border-radius: 32px;
  padding: 10px 24px;
  margin-left: 10px;
  font-weight: 700;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.08rem;
  box-shadow: 0 2px 10px rgba(163,151,118,0.09);
  transition: background .16s, color .16s, box-shadow .16s;
}
nav a.cta:hover,
nav a.cta:focus {
  background: #eee5cb;
  color: #2d4d2b;
  box-shadow: 0 8px 16px rgba(163,151,118,0.16);
}
nav a::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #A39776;
  transition: width .19s;
  border-radius: 2px;
  margin: 0 auto;
}
nav a:not(.cta):hover::after {
  width: 90%;
}

header img {
  width: 100px;
  height: auto;
}

/* Hamburger menu (mobile) */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #fff;
  margin-left: 20px;
  padding: 6px 14px;
  border-radius: 48px;
  cursor: pointer;
  transition: background .16s;
  z-index: 701;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: rgba(205, 203, 188, 0.21);
}

@media (max-width: 900px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* =========================================
   MOBILE MENU (SLIDE-IN)
========================================= */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #F5F3E7;
  z-index: 800;
  transform: translateX(-100%);
  transition: transform .38s cubic-bezier(.7, 0, .32, 1);
  box-shadow: 4px 0 32px rgba(73, 117, 71,0.11);
  display: flex;
  flex-direction: column;
  min-width: 260px;
  width: 90vw;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #497547;
  align-self: flex-end;
  margin: 16px 24px 0 0;
  padding: 8px 12px;
  border-radius: 40px;
  cursor: pointer;
  transition: background .14s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #e5e3d4;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  margin: 30px 0 0 36px;
}
.mobile-nav a {
  color: #497547;
  font-size: 1.25rem;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  padding: 8.5px 0 8.5px 0;
  transition: color .14s, background .14s;
  border-radius: 8px;
  width: 180px;
  display: inline-block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #2d4d2b;
  background: #F0ECE4;
}

/* Backdrop for menu */
.mobile-menu-backdrop {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(80,100,76,0.20);
  z-index: 700;
}
.mobile-menu.open + .mobile-menu-backdrop {
  display: block;
}

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

/* =========================================
   HERO & CALLS TO ACTION
========================================= */
.subheadline {
  font-size: 1.18rem;
  font-family: 'Cormorant Garamond', serif;
  color: #5f804e;
  font-weight: 400;
  margin-bottom: 28px;
  letter-spacing: .01em;
}
.cta {
  background: #497547;
  color: #fff;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.18rem;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 80px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(73, 117, 71,.13);
  margin-top: 10px;
  outline: none;
  transition: background .16s, box-shadow .18s, color .16s, transform .14s;
  letter-spacing: 0.02em;
  position: relative;
  display: inline-block;
}
.cta:hover, .cta:focus {
  background: #355334;
  color: #f6edd9;
  box-shadow: 0 8px 22px rgba(73, 117, 71,.21), 0 2px 12px #A39776;
  transform: translateY(-1px) scale(1.022);
}

/* =========================================
   FEATURES, CARDS, ICONSETS
========================================= */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 14px;
}
.feature {
  background: #f1ede5;
  padding: 22px 19px 19px 19px;
  border-radius: 20px;
  min-width: 220px;
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 3.5px 18px rgba(73,117,71,.10);
  margin-bottom: 20px;
  transition: box-shadow .15s, transform .14s;
}
.feature img {
  width: 48px;
  margin-bottom: 12px;
}
.feature:hover, .feature:focus-within {
  box-shadow: 0 9px 32px rgba(73,117,71,.17), 0 2px 10px #A39776;
  transform: translateY(-1.5px);
}

/* ICONS in Address and contact lists */
address img,
ul img,
li img {
  vertical-align: middle;
  width: 22px;
  margin-right: 7px;
  display: inline-block;
}

/* Card for gallery-like content or inspiration */
.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* =========================================
   TESTIMONIALS
========================================= */
.testimonial-card {
  background: #fff;
  border-left: 7px solid #497547;
  box-shadow: 0 4px 18px rgba(163, 151, 118, 0.08);
  color: #3a472a;
  font-size: 1.08rem;
  min-width: 230px;
  max-width: 650px;
  position: relative;
  font-family: 'Open Sans', Arial, sans-serif;
}
.testimonial-card .quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.22rem;
  color: #497547;
  margin-bottom: 13px;
  font-style: italic;
  line-height: 1.35;
}
.testimonial-card .author {
  font-size: 1.02rem;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #34542f;
  font-weight: 600;
  margin-right: 10px;
}
.testimonial-card .rating {
  color: #a39776;
  font-size: 1.02rem;
  letter-spacing: 0.03em;
  font-family: 'Cormorant Garamond', serif;
}
.testimonial-card .rating {
  margin-left: 10px;
}
.testimonial-card:after {
  content: "";
  display: none;
}

/* =========================================
   FORMS & INPUTS (for completeness)
========================================= */
input, textarea, select,
button {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 10px;
  border: 1px solid #ddd9c8;
  padding: 9px 12px;
  margin-bottom: 20px;
  background: #fffdfb;
  box-shadow: none;
  outline: 0;
  transition: border .15s;
}
input:focus,
textarea:focus,
select:focus {
  border-color: #497547;
}

label {
  font-weight: 600;
  font-size: 0.97em;
  color: #497547;
  display: block;
  margin-bottom: 6px;
}

/* =========================================
   FOOTER
========================================= */
footer {
  background: #f9f8f3;
  color: #497547;
  padding: 38px 0 16px 0;
  position: relative;
  border-top-left-radius: 36px 20px;
  border-top-right-radius: 36px 20px;
  margin-top: 38px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
footer nav a {
  color: #497547;
  font-size: 1.03rem;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  transition: color .15s;
}
footer address {
  font-size: 1.05rem;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #4a5542;
  font-style: normal;
  line-height: 1.6;
  margin-bottom: 4px;
}
footer p {
  color: #a39776;
  font-size: 0.97rem;
  margin-top: 16px;
}

@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  footer nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 18px;
  }
}

/* =========================================
   COOKIE CONSENT BANNER & MODAL
========================================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #e5e3d4;
  color: #2d4d2b;
  box-shadow: 0 -7px 32px rgba(73,117,71,.08);
  padding: 21px 4% 21px 4%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  border-top-left-radius: 24px 12px;
  border-top-right-radius: 24px 12px;
  animation: cookieFadeIn .6s cubic-bezier(.85,0,.12,1);
  transition: opacity .2s, bottom .34s;
}
.cookie-banner button {
  margin-left: 9px;
}
.cookie-btn {
  border: none;
  border-radius: 99px;
  background: #497547;
  color: #fff;
  font-size: 1rem;
  padding: 9px 20px;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  margin-right: 0;
  margin-left: 8px;
  box-shadow: 0 1px 8px rgba(73,117,71, 0.07);
  cursor: pointer;
  transition: background .14s, color .14s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #355334;
  color: #fffbe9;
}
.cookie-btn.settings,
.cookie-btn.reject {
  background: #A39776;
  color: #fffde3;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus,
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #8e8268;
  color: #fff;
}

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
    padding: 18px 2% 18px 2%;
  }
  .cookie-banner button {
    margin-left: 0;
    margin-top: 6px;
  }
}

@keyframes cookieFadeIn {
  from { opacity: 0; bottom: -80px; }
  to { opacity: 1; bottom: 0; }
}

.cookie-modal-backdrop {
  position: fixed;
  background: rgba(55, 74, 40, 0.32);
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 1100;
}
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%,-50%) scale(1);
  min-width: 340px;
  max-width: 94vw;
  background: #f7f6f2;
  border-radius: 28px;
  box-shadow: 0 12px 42px rgba(73,117,71,0.22);
  z-index: 1120;
  padding: 42px 36px 36px 36px;
  font-family: 'Open Sans', Arial, sans-serif;
  animation: cookieModalIn .4s cubic-bezier(.51,.56,.25,1.41);
  display: flex;
  flex-direction: column;
  gap: 30px;
}
@keyframes cookieModalIn {
  from { opacity: 0; transform: translate(-50%, -33%) scale(.9); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.cookie-modal h2 {
  color: #497547;
  font-family: 'Cormorant Garamond', serif;
  margin-top: 0;
  font-size: 1.42rem;
  margin-bottom: 16px;
}
.cookie-modal .category-row {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 1.07rem;
  margin-bottom: 12px;
}
.cookie-modal label.switch {
  margin-left: auto;
}
.cookie-modal-checkbox {
  accent-color: #497547;
}
.cookie-modal-actions {
  display: flex;
  gap: 20px;
}
@media (max-width: 599px) {
  .cookie-modal {
    min-width: unset;
    padding: 26px 12px 24px 12px;
    gap: 17px;
  }
  .cookie-modal h2 {
    font-size: 1.1rem;
  }
}

/* =========================================
   NATURE ORGANIC DESIGN FLAVOR
========================================= */
.section, .card, .feature, .testimonial-card, .cookie-modal, .cookie-banner {
  /* handmade, imperfect shadow for organic touch */
  box-shadow: 0 3px 12px rgba(73,117,71,0.1);
}
.section {
  /* Light speckled organic texture, fallback solid if not supported */
  background: #fff url('data:image/svg+xml;utf8,<svg width="120" height="40" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="28" cy="18" r=".5" fill="%23A39776"/><circle cx="100" cy="10" r=".7" fill="%23497547"/><circle cx="60" cy="28" r=".45" fill="%23A39776" opacity=".54"/></svg>') repeat top left;
  background-size: 280px 72px;
}
.card, .feature, .testimonial-card {
  border-radius: 19px 33px 25px 26px/21px 29px 23px 21px;
  border: 1.5px solid #eceae5;
}
.card {
  background: #f6f5ee;
}
.feature {
  background: #f4f3ee;
  border: none;
}
.testimonial-card {
  border-left: 7px solid #A39776;
  background: #f5f3e7;
}

.cta, .cookie-btn {
  border-radius: 80px 28px 38px 80px/28px 80px 80px 38px;
  box-shadow: 0 6px 22px rgba(73,117,71,0.13) !important;
}
.cta,
.button-primary {
  background: #497547 !important;
}

.cta:active, .cookie-btn:active { transform: scale(.97); }
.feature img, .feature svg {
  filter: drop-shadow(0 2px 2px rgba(73,117,71,0.09));
  border-radius: 48px;
}

/* Decorative irregular line at tops of sections (simulate organic edge) */
.section:before {
  content: "";
  display: block;
  width: 100%;
  height: 13px;
  background: url('data:image/svg+xml;utf8,<svg width="100%" height="13" viewBox="0 0 400 13" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0 7C32 0.5 81 16 121 10.5C160 5 210 0 255 9.5C323.5 25 370 7 400 7" stroke="%23A39776" stroke-opacity="0.13" stroke-width="5"/></svg>') repeat-x top left;
  background-size: auto 13px;
  margin-bottom: 24px;
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
}

/* Organic irregular bullet points */
ul li {
  list-style-type: none;
  position: relative;
  padding-left: 26px;
}
ul li:before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 9px; height: 9px;
  background: #A39776;
  border-radius: 80% 67% 63% 90% / 74% 80% 90% 70%;
}

/* =========================================
   ANIMATIONS & MICRO-INTERACTIONS
========================================= */
.section, .card, .feature, .testimonial-card {
  transition: box-shadow .19s, transform .16s;
}
a, .cta, .cookie-btn, input, textarea, .feature, .card, .testimonial-card {
  transition: box-shadow .19s, color .16s, background .14s, border .14s, transform .15s;
}

.card:hover, .feature:hover, .testimonial-card:hover {
  box-shadow: 0 13px 40px rgba(163,151,118,0.15), 0 3px 8px #49754722;
  transform: translateY(-2px) scale(1.022);
}

/* =========================================
   MEDIA QUERIES FOR RESPONSIVENESS
========================================= */
@media (max-width: 1200px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
}
@media (max-width: 500px) {
  html { font-size: 15px; }
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.02rem; }
  .section { padding: 17px 3px; }
  .testimonial-card, .card, .feature { padding: 11px 10px 13px 10px; }
}
@media (max-width: 340px) {
  h1 { font-size: 1.3rem; }
}

/* =========================================
   GENERAL UTILITIES
========================================= */
.d-none { display: none !important; }
.text-center { text-align: center !important; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* =========================================
   PRINT Fallback
========================================= */
@media print {
  header, nav, .cookie-banner, .mobile-menu { display: none !important; }
  footer {display: none !important;}
  .section { background: #fff !important; box-shadow: none !important; padding: 0; margin-bottom: 0; }
  body { background: white !important; color: #222 !important; }
}
