/* --- 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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #285943;
  background: #F3F7F0;
  line-height: 1.6;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border-radius: 20px;
}
a {
  color: #A6743A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #285943;
  text-decoration: underline;
}
ul, ol {
  list-style: none;
}
h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', 'Times New Roman', serif;
  font-weight: 700;
  color: #285943;
  margin-bottom: 20px;
  line-height: 1.2;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.75rem;
  margin-bottom: 22px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
strong {
  font-weight: 700;
  color: #A6743A;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: white;
  border-radius: 28px;
  box-shadow: 0 2px 18px rgba(166, 116, 58, 0.08);
}
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  align-items: center;
  text-align: center;
  gap: 22px;
}
p {
  color: #3A3A29;
  font-size: 1.08rem;
  margin-bottom: 18px;
}

/* --- BRAND BUTTONS & CTA --- */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #A6743A;
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-weight: bold;
  font-size: 1.08rem;
  padding: 14px 34px;
  border-radius: 40px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(40, 89, 67, 0.09);
  transition: background 0.18s, box-shadow 0.22s, transform 0.15s;
  text-decoration: none;
  margin-top: 18px;
  margin-bottom: 12px;
  outline: none;
}
.cta.primary {
  background: #A6743A;
}
.cta:hover, .cta:focus {
  background: #285943;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 25px rgba(40, 89, 67, 0.21);
  text-decoration: none;
}

/* --- HEADER & NAV --- */
header {
  background: #F3F7F0;
  border-bottom: 1.5px solid #E0E0D8;
  box-shadow: 0 2px 20px rgba(40,89,67, 0.03);
  padding: 0;
  margin-bottom: 16px;
  z-index: 100;
  position: relative;
}
.logo img {
  height: 48px;
  width: auto;
  border-radius: 16px;
  margin-right: 12px;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  padding: 16px 0;
  position: relative;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 32px;
  align-items: center;
  margin-left: 20px;
}
.main-nav a {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 12px;
  border-radius: 14px;
  transition: background 0.14s, color 0.17s;
  color: #285943;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: #A6743A;
  color: #fff;
}
.header .cta {
  margin-left: 24px;
}
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: #A6743A;
  color: #fff;
  border: none;
  border-radius: 18px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  transition: background 0.13s;
  cursor: pointer;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #285943;
}

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #F3F7F0;
  box-shadow: 0 0 70px 0 rgba(40,89,67,0.11);
  z-index: 1001;
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(0.82,0,0.19,1);
  display: flex;
  flex-direction: column;
  padding: 0 26px;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #A6743A;
  font-size: 2.2rem;
  align-self: flex-end;
  margin-top: 28px;
  margin-bottom: 16px;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #285943;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  margin-top: 24px;
}
.mobile-nav a {
  font-size: 1.18rem;
  font-family: 'Roboto', sans-serif;
  color: #285943;
  padding: 12px 0 12px 10px;
  border-radius: 12px;
  width: 100%;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #A6743A;
  color: #fff;
}

/* --- FOOTER --- */
footer {
  background: #F3F7F0;
  border-top: 1.5px solid #E0E0D8;
  box-shadow: 0 -2px 20px rgba(40,89,67,0.08);
  margin-top: 40px;
  padding: 36px 0 16px 0;
}
footer .container {
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  margin-bottom: 14px;
}
.footer-nav a {
  color: #A6743A;
  font-size: 1rem;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.19s;
  border-radius: 12px;
  padding: 7px 13px;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #A6743A;
  color: #fff;
}
.footer-contact {
  text-align: center;
  font-size: 0.97rem;
  color: #3A3A29;
  margin-top: 2px;
}

/* --- FLEX PATTERNS & CARDS --- */
.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: 22px;
  box-shadow: 0 2px 16px rgba(40, 89, 67, 0.08);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.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;
  background: #FFF8F1;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 2px 18px rgba(166, 116, 58, 0.07);
  margin-bottom: 20px;
  max-width: 530px;
}
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- FEATURE GRID (used as .feature-grid in multiple places) --- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
  margin-bottom: 8px;
  justify-content: center;
}
.feature-grid > li {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(166, 116, 58, 0.05);
  padding: 28px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 220px;
  max-width: 340px;
  flex: 1 1 230px;
  gap: 15px;
  margin-bottom: 20px;
  position: relative;
  transition: transform 0.13s, box-shadow 0.18s;
}
.feature-grid > li img {
  height: 38px;
  margin-bottom: 16px;
}
.feature-grid > li h3 {
  font-size: 1.13rem;
  color: #285943;
  margin-bottom: 10px;
}
.feature-grid > li p {
  font-size: 0.97rem;
}
.feature-grid > li:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 32px rgba(166, 116, 58, 0.14);
  background: #FFF8F1;
}

/* --- LISTS & DEFAULTS --- */
ul:not(.feature-grid):not(.footer-nav):not(.mobile-nav) li {
  margin-bottom: 10px;
  padding-left: 22px;
  position: relative;
  color: #285943;
}
ul:not(.feature-grid):not(.footer-nav):not(.mobile-nav) li:before {
  content: "•";
  color: #A6743A;
  position: absolute;
  left: 0;
  font-size: 1.03em;
}

/* --- COOKIES CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 1200;
  width: 100vw;
  background: #FFF8F1;
  color: #285943;
  padding: 26px 20px 20px 20px;
  box-shadow: 0 -3px 28px rgba(40, 89, 67, 0.15);
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  animation: cookieSlideIn 0.8s cubic-bezier(0.22,0.82,0.27,1);
}
@keyframes cookieSlideIn {
  from { transform: translateY(120px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: #285943;
  font-size: 1rem;
  margin-bottom: 4px;
}
.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 8px;
}
.cookie-btn {
  border: none;
  border-radius: 18px;
  padding: 10px 24px;
  font-size: 1rem;
  background: #A6743A;
  color: #fff;
  cursor: pointer;
  margin-right: 0;
  transition: background 0.16s, box-shadow 0.17s, color 0.16s;
  box-shadow: 0 2px 14px rgba(40, 89, 67, 0.07);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #285943;
  color: #fff;
}
.cookie-btn.secondary {
  background: #fff;
  color: #A6743A;
  border: 1.5px solid #A6743A;
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: #A6743A;
  color: #fff;
  border-color: #A6743A;
}

/* --- COOKIE MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1300;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(40, 89, 67, 0.22);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transition: background 0.12s;
}
.cookie-modal {
  width: 96%;
  max-width: 440px;
  background: #fff;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 0 36px 0 rgba(166, 116, 58, 0.19);
  padding: 32px 24px 24px 24px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  animation: cookieModalPop 0.32s;
}
@keyframes cookieModalPop {
  from { transform: translateY(40px) scale(0.93); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  color: #285943;
  font-size: 1.2rem;
  margin-bottom: 6px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0 8px 0;
  width: 100%;
  border-bottom: 1px solid #F3F7F0;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-category label {
  font-size: 1rem;
  color: #285943;
  font-weight: 500;
}
.cookie-toggle {
  accent-color: #A6743A;
  width: 24px;
  height: 24px;
}
.cookie-modal-actions {
  display: flex;
  gap: 18px;
  margin-top: 16px;
}
.cookie-modal-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #A6743A;
  font-size: 2rem;
  cursor: pointer;
  margin-bottom: 4px;
  transition: color 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #285943;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1200px) {
  .container {
    max-width: 980px;
  }
}
@media (max-width: 980px) {
  .container {
    max-width: 90vw;
  }
  header .container {
    flex-wrap: wrap;
    gap: 8px;
  }
  .main-nav {
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .container {
    width: 98vw;
    max-width: 98vw;
    padding: 0;
  }
  header .container {
    flex-direction: row;
    gap: 12px;
    padding: 8px 0;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .content-wrapper {
    gap: 16px;
  }
  section {
    padding: 30px 5vw;
  }
  h1 {
    font-size: 1.38rem;
  }
  h2 {
    font-size: 1.1rem;
  }
  .feature-grid {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }
  .feature-grid > li {
    min-width: 0;
    max-width: 100%;
    width: 96vw;
    padding: 22px 16px;
  }
  .testimonial-card {
    max-width: 95vw;
    padding: 16px 8px 16px 12px;
    gap: 10px;
  }
  .testimonial-list {
    flex-direction: column;
    gap: 12px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 8px;
  }
  .text-image-section {
    flex-direction: column !important;
    gap: 16px;
  }

}
@media (max-width: 500px) {
  section, .card, .feature-grid > li {
    padding: 20px 3vw;
  }
  h1 { font-size: 1.13rem; }
  h2 { font-size: 1rem; }
  .logo img {
    height: 38px;
  }
  .cta, .cookie-btn {
    padding: 10px 15px;
    font-size: 0.98rem;
  }
}

/* --- UTILITIES --- */
.rounded {
  border-radius: 18px;
}
.soft-shadow {
  box-shadow: 0 2px 18px rgba(166, 116, 58, 0.08);
}
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-16 { margin-bottom: 16px; }
.gap-16 { gap: 16px; }
.flex-row {
  display: flex;
  flex-direction: row;
}
.flex-col {
  display: flex;
  flex-direction: column;
}
.align-center { align-items: center; }
/* Add more as needed */

/* --- ACCESSIBILITY FOCUS --- */
a, button, .cta, .cookie-btn, .cookie-modal-close {
  outline: none;
}
a:focus-visible, .main-nav a:focus-visible, .cta:focus-visible, .footer-nav a:focus-visible, .cookie-btn:focus-visible, .cookie-modal-close:focus-visible {
  box-shadow: 0 0 0 3px #FFD699;
  outline: 2px solid #A6743A;
}

/* --- CUSTOM SCROLLBAR STYLE --- */
::-webkit-scrollbar {width:8px;background:#F3F7F0;}
::-webkit-scrollbar-thumb { background: #A6743A; border-radius:6px; }

/* --- MICRO-INTERACTIONS --- */
.card, .feature-grid>li, .testimonial-card, .footer-nav a {
  transition: transform 0.14s cubic-bezier(0.7,0.29,0.26,0.98), box-shadow 0.17s;
}
.card:hover, .feature-grid>li:hover, .testimonial-card:hover, .footer-nav a:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 4px 28px rgba(166, 116, 58, 0.11);
}

/* --- COLOR CONTRAST FOR TESTIMONIALS --- */
.testimonial-card {
  background: #FFF8F1 !important;
  color: #285943;
}
.testimonial-card p, .testimonial-card strong {
  color: #285943;
  font-size: 1rem;
}

/* --- SPECIAL ELEMENTS --- */
.text-section a:not(.cta) {
  color: #A6743A;
  font-weight: 500;
  font-family: 'Roboto', sans-serif;
  text-decoration: underline;
}
.text-section a:not(.cta):hover, .text-section a:not(.cta):focus {
  color: #285943;
}

/* --- ALIGNMENTS PER LAYOUT PATTERN --- */
.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;
}

/*--- END OF CSS ---*/
