/* =====================
   CSS RESET & NORMALIZE
   ===================== */
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%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  background-color: #F9F8F5;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #25613B;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
button, input, textarea, select { font-family: inherit; }
:focus { outline: 2px solid #A77138; outline-offset: 2px; }

/* =====================
   BASE TYPOGRAPHY
   ===================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', serif;
  color: #25613B;
  letter-spacing: 0.01em;
  line-height: 1.15;
  margin-bottom: 16px;
  font-weight: 700;
}
h1 { font-size: 2.25rem; margin-top: 0; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.2rem; }
h4, h5, h6 { font-size: 1rem; }
p, li, address {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #25613B;
  margin-bottom: 12px;
  line-height: 1.7;
}
strong { color: #25613B; font-weight: 700; }

/* =====================
   LAYOUT & CONTAINER
   ===================== */
.container {
  width: 100%;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 12px rgba(37,97,59,0.05);
  padding: 32px 24px;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

/* =====================
   FLEXBOX PATTERNS
   ===================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(37,97,59,0.06);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 260px;
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: #F0E9DB;
  border-left: 8px solid #A77138;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(87, 60, 28, 0.08);
  color: #184428;
  max-width: 620px;
  font-size: 1.1rem;
}
.testimonial-card p {
  color: #184428;
  margin: 0 0 6px 0;
  font-style: italic;
}
.testimonial-card span {
  color: #A77138;
  font-size: 0.99rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 16px 0;
}

/* =====================
   HEADER & NAVIGATION
   ===================== */
header {
  background: #F0E9DB;
  border-bottom: 1px solid #f1e5cb;
  padding-top: 12px;
  padding-bottom: 12px;
  margin-bottom: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
header nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #25613B;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background .16s, color .16s;
  position: relative;
}
header nav a:hover,
header nav a:focus {
  background: #A77138;
  color: #fff;
}
header img {
  height: 48px;
  width: auto;
}

.cta-primary {
  font-family: 'Roboto Slab', serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #25613B;
  color: #fff;
  border: none;
  border-radius: 28px;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 10px 26px;
  cursor: pointer;
  margin-left: 18px;
  margin-top: 0;
  transition: background 0.2s, transform 0.18s, box-shadow 0.18s;
  box-shadow: 0 2px 8px rgba(37,97,59,0.07);
}
.cta-primary:hover, .cta-primary:focus {
  background: #A77138;
  color: #fff;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 24px rgba(167,113,56,0.12);
}

/* =====================
   MOBILE MENU
   ===================== */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 18px;
  right: 26px;
  z-index: 1011;
  background: #F0E9DB;
  color: #25613B;
  border: none;
  border-radius: 7px;
  padding: 12px 14px;
  font-size: 2rem;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(87, 60, 28, 0.11);
  transition: background 0.15s, color 0.15s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #25613B;
  color: #fff;
}
.mobile-menu {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 1200;
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(.83,0,.17,1);
  box-shadow: 0 0 40px rgba(167,113,56,0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 28px 0 28px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: #F0E9DB;
  color: #A77138;
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  padding: 8px 14px;
  margin-bottom: 10px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(87, 60, 28, 0.11);
  transition: background 0.15s, color 0.15s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #A77138;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  margin-top: 10px;
}
.mobile-nav a {
  font-size: 1.2rem;
  color: #25613B;
  padding: 16px 0;
  border-bottom: 1px solid #F0E9DB;
  font-weight: 600;
  border-radius: 0;
  transition: background 0.15s, color 0.15s;
  letter-spacing: 0.01em;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #A77138;
  color: #fff;
  border-radius: 8px;
  padding-left: 6px;
}

@media (max-width: 1024px) {
  header .container {
    flex-wrap: wrap;
    gap: 10px;
  }
}
@media (max-width: 900px) {
  header nav {
    display: none; /* Hide desktop nav on mobile */
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 901px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/* =====================
   MAIN CONTENT & CARDS
   ===================== */
.text-section {
  margin-bottom: 24px;
}
.card, .testimonial-card {
  transition: box-shadow .21s cubic-bezier(.37,.01,.36,1), transform .16s cubic-bezier(.37,.01,.36,1);
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 10px 32px rgba(87, 60, 28, 0.13);
  transform: translateY(-3px) scale(1.016);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

ul li, ol li {
  margin-bottom: 8px;
  font-size: 1rem;
  color: #25613B;
  padding-left: 0;
  line-height: 1.7;
}
ul li img {
  margin-right: 8px;
  vertical-align: middle;
  height: 22px;
  width: 22px;
}

/* =====================
   FOOTER
   ===================== */
footer {
  background: #25613B;
  color: #fff;
  padding: 32px 0 24px 0;
  margin-top: 48px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: #fff;
  font-size: 1rem;
  opacity: 0.82;
  transition: opacity 0.12s;
  margin-bottom: 3px;
  font-weight: 500;
}
footer nav a:hover, footer nav a:focus { opacity: 1; text-decoration: underline; }
footer address {
  font-style: normal;
  color: #F0E9DB;
  font-size: 0.99rem;
  line-height: 1.8;
  margin-top: 4px;
}
footer a {
  color: #fff;
  text-decoration: underline dotted;
}

/* =====================
   COOKIE CONSENT BANNER
   ===================== */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100%;
  z-index: 9999;
  background: #fff9ed;
  box-shadow: 0 -4px 32px rgba(87,60,28,0.13);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 18px 12px 16px 12px;
  font-size: 1rem;
  border-top: 3px solid #A77138;
  animation: cookie-banner-slidein .42s cubic-bezier(.26,.96,.39,1.19);
}
@keyframes cookie-banner-slidein {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner__text {
  color: #25613B;
  max-width: 580px;
}
.cookie-banner__buttons {
  display: flex;
  gap: 16px;
}
.cookie-btn, .cookie-btn-settings {
  background: #25613B;
  color: #fff;
  border: none;
  font-family: 'Roboto Slab', serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 22px;
  padding: 8px 22px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(37,97,59,0.07);
  transition: background 0.13s, color 0.13s, box-shadow 0.16s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #A77138;
  color: #fff;
}
.cookie-btn-reject {
  background: #fff;
  color: #A77138;
  border: 2px solid #A77138;
  font-weight: 600;
}
.cookie-btn-reject:hover, .cookie-btn-reject:focus {
  background: #A77138;
  color: #fff;
}
.cookie-btn-settings {
  background: #f0e9db;
  color: #25613B;
  border: 1px solid #A77138;
}
.cookie-btn-settings:hover, .cookie-btn-settings:focus {
  background: #25613B;
  color: #fff;
}

/* Cookie preferences modal */
.cookie-modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: 10001;
  background: rgba(37,97,59,0.14);
  align-items: center;
  justify-content: center;
  animation: fadein .3s cubic-bezier(.27,.69,.25,.99);
}
.cookie-modal.open {
  display: flex;
}
@keyframes fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal__content {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(167,113,56, .18);
  max-width: 420px;
  width: 94%;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  animation: cookie-preferences-slide .44s cubic-bezier(.19,.92,.6,1.33);
}
@keyframes cookie-preferences-slide {
  from { transform: translateY(60px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-modal__close {
  position: absolute;
  top: 22px;
  right: 28px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #A77138;
  cursor: pointer;
}
.cookie-modal__title {
  font-size: 1.35rem;
  color: #25613B;
  font-family: 'Roboto Slab', serif;
  margin-bottom: 0;
  margin-top: 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-category label {
  font-size: 1rem;
  color: #184428;
}
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}
.cookie-switch input {
  opacity: 0; width: 0; height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #f0e9db;
  border-radius: 22px;
  transition: background 0.18s;
}
.cookie-switch input:checked + .cookie-slider {
  background-color: #25613B;
}
.cookie-slider:before {
  position: absolute;
  content: '';
  height: 20px; width: 20px;
  left: 2px; bottom: 2px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.18s cubic-bezier(.53,0,.18,1);
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(20px);
}
.cookie-category--essential label {
  color: #A77138;
  font-weight: 700;
}
.cookie-category--essential .cookie-switch .cookie-slider {
  background: #25613B;
  opacity: 0.62;
}
.cookie-category--essential .cookie-switch {
  pointer-events: none;
}
.cookie-modal__actions {
  display: flex;
  gap: 12px;
  margin-top: 10px;
  align-self: flex-end;
}
/* Responsive cookie banner on mobile */
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    font-size: 0.98rem;
    padding: 12px 8px 12px 8px;
    align-items: flex-start;
  }
  .cookie-banner__buttons { width: 100%; gap: 10px; }
  .cookie-btn, .cookie-btn-settings, .cookie-btn-reject { width: 100%; justify-content: center; }
}

/* =====================
   RESPONSIVE ELEMENTS
   ===================== */
@media (max-width: 1024px) {
  .container { max-width: 920px; }
  .content-wrapper { padding: 28px 12px; }
}
@media (max-width: 900px) {
  .container { max-width: 100%; }
  .content-wrapper { border-radius: 9px; }
  .section { padding: 30px 8px; }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 8px;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
  .testimonial-card {
    max-width: 100%;
    padding: 16px 10px;
  }
  .content-wrapper {
    padding: 16px 6px;
  }
  .section { margin-bottom: 40px; padding: 22px 4px; }
  .card { border-radius: 9px; min-width: 0; }
}
@media (max-width: 540px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.18rem; }
  .cta-primary { width: 100%; justify-content: center; font-size: 1rem; padding: 9px 16px; }
  .content-wrapper { padding: 8px 2px; }
}

/* =====================
   GENERAL ELEMENTS
   ===================== */
hr {
  border: 0;
  height: 1px;
  background: #F0E9DB;
  width: 100%;
  margin: 30px 0;
}

/* SCROLLBAR styling for modern browsers */
body {
  scrollbar-color: #A77138 #F0E9DB;
  scrollbar-width: thin;
}
::-webkit-scrollbar { width: 10px; background: #F0E9DB; }
::-webkit-scrollbar-thumb { background: #A77138; border-radius: 16px; }

/* Links and Lists in .text-section */
.text-section ul, .text-section ol {
  padding-left: 0;
  list-style: none;
}
.text-section li::before {
  content: '\2022';
  color: #A77138;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}
.text-section ul li {
  padding-left: 1.5em;
}

/* =====================
   FORMS (if present in content)
   ===================== */
input, textarea, select {
  border: 1px solid #A77138;
  background: #f8f4ed;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 1rem;
}
input:focus, textarea:focus, select:focus {
  border-color: #25613B;
  outline: 2px solid #25613B;
}
button {
  cursor: pointer;
  font-family: inherit;
}

/* =====================
   SPECIAL CLASSES
   ===================== */
.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px !important; }
.mb-40 { margin-bottom: 40px !important; }
.gap-20 { gap: 20px !important; }

/* Micro-interactions */
.card,
.testimonial-card,
.cta-primary,
.cookie-btn,
.cookie-btn-settings,
.cookie-btn-reject,
.mobile-menu-toggle,
.mobile-menu-close {
  transition: box-shadow .17s, background .15s, color .15s, transform .14s;
}

/* =====================
   ACCESSIBILITY HELPERS
   ===================== */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* =====================
   END OF STYLES
   ===================== */
