/* CSS RESET & BASE TYPOGRAPHY (mobile-first, normalize) */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #2F5233;
  background: #FFFFFF;
  min-height: 100vh;
  line-height: 1.6;
  letter-spacing: 0.05em;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #2F5233;
  margin-bottom: 0.6em;
  text-wrap: balance;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 10px;
}
p, ul, ol {
  margin-bottom: 1.1em;
  font-size: 1rem;
}
ul, ol {
  padding-left: 1.1em;
}
strong {
  font-weight: 700;
}
a {
  color: #9C3B00;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.18s cubic-bezier(.4,0,.2,1);
}
a:hover, a:focus {
  color: #2F5233;
  text-decoration: underline;
}
.button, .cta {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.08em;
  border: none;
  outline: none;
  border-radius: 30px;
  padding: 0.85em 2em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 8px 8px 8px 0;
  box-shadow: 0 2px 12px rgba(44, 55, 30, 0.07);
}
.cta.primary {
  background: #2F5233;
  color: #FFFFFF;
}
.cta.primary:hover, .cta.primary:focus {
  background: #9C3B00;
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(44,55,30,0.11);
}
.cta.secondary {
  background: #EFE8D8;
  color: #2F5233;
  border: 2px solid #2F5233;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #9C3B00;
  color: #FFFFFF;
  border-color: #9C3B00;
}
.cta.link {
  background: transparent;
  color: #9C3B00;
  border: none;
  padding: 0;
  text-decoration: underline;
}
.cta.link:hover, .cta.link:focus {
  color: #2F5233;
  background: transparent;
}

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  margin: 0 auto;
  max-width: 1100px;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* FLEXBOX LAYOUTS (MANDATORY PATTERNS) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(44,55,30,0.12);
  padding: 28px 24px;
  min-width: 270px;
  flex: 1 1 280px;
  transition: box-shadow 0.18s;
}
.card:hover, .card:focus {
  box-shadow: 0 6px 28px rgba(156,59,0,0.09);
}
.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: #EFE8D8;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(47,82,51,0.06);
  padding: 20px;
  margin-bottom: 20px;
  color: #2F5233;
}
.testimonial-card p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 7px;
  font-style: italic;
}
.testimonial-card strong {
  font-size: 1rem;
  color: #9C3B00;
  letter-spacing: 0.02em;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  margin-top: 3px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* SERVICE LIST (INDEX) */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.service-item {
  background: #FFFFFF;
  border-radius: 18px;
  box-shadow: 0 2px 14px rgba(44,55,30,0.09);
  padding: 20px 20px 14px;
  flex: 1 1 210px;
  min-width: 210px;
  max-width: 250px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.18s, transform 0.18s;
  border-top: 5px solid #A86035;
}
.service-item h3 {
  font-size: 1.1rem;
  margin-bottom: 9px;
  color: #2F5233;
  font-weight: 700;
}
.service-item:hover, .service-item:focus {
  box-shadow: 0 8px 30px rgba(156,59,0,0.12);
  transform: translateY(-5px) scale(1.025);
}

/* CATEGORY & OTHER CARD-LISTS */
.category-grid, .tips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 18px;
  justify-content: flex-start;
}
.category-grid > div, .tips-grid > div {
  background: #EFE8D8;
  color: #2F5233;
  border-radius: 16px;
  padding: 18px 16px;
  font-weight: 700;
  min-width: 125px;
  flex: 1 1 140px;
  margin-bottom: 0;
  text-align: center;
  box-shadow: 0 1.5px 6px rgba(47,82,51,0.05);
  transition: box-shadow 0.18s, transform 0.15s;
}
.category-grid > div:hover, .tips-grid > div:hover {
  box-shadow: 0 6px 20px rgba(156,59,0,0.13);
  transform: translateY(-3px) scale(1.02);
  background: #FFFFFF;
}
.regional-spotlight {
  margin: 16px 0 0 0;
  background: #A86035;
  color: #FFF;
  border-radius: 14px;
  padding: 14px 16px;
  font-weight: 700;
}

/* SOCIAL LINKS */
.social-links {
  color: #2F5233;
  font-size: 1rem;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 8px;
}
.social-links em {
  font-style: normal;
  color: #9C3B00;
  font-weight: 700;
}

/* NEWSLETTER SIGNUP */
.newsletter-signup {
  background: #EFE8D8;
  color: #2F5233;
  padding: 16px 18px;
  border-radius: 16px;
  font-size: 1.1rem;
  margin-top: 14px;
  margin-bottom: 8px;
}

/* SEARCH BAR */
.recipe-searchbar {
  background: #EFE8D8;
  color: #2F5233;
  padding: 13px 17px;
  border-radius: 14px;
  margin-bottom: 18px;
  min-width: 140px;
  font-weight: 700;
}

/* NAVIGATION BAR (DESKTOP & MOBILE) */
header {
  background: #2F5233;
  color: #FFF;
  padding: 0 0 0 0;
  min-height: 68px;
  width: 100%;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
}
header a img {
  height: 48px;
  width: auto;
  margin: 10px 20px 10px 8px;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  flex: 1 1 auto;
}
header nav a {
  color: #FFF;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0 7px 0 7px;
  border-radius: 3px;
  transition: background 0.15s, color 0.17s;
}
header nav a:hover, header nav a:focus {
  background: #9C3B00;
  color: #FFFFFF;
}
header .cta.primary {
  margin-left: 14px;
  margin-right: 10px;
}
.mobile-menu-toggle {
  display: inline-flex;
  font-size: 2rem;
  background: none;
  border: none;
  color: #FFF;
  margin-right: 14px;
  cursor: pointer;
  height: 44px;
  width: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: background 0.13s;
  z-index: 210;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #EFE8D8;
  color: #2F5233;
}
/* Hide desktop nav when mobile menu open */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #2F5233;
  color: #FFF;
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(.8,0,.2,1);
  z-index: 2200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 20px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #FFF;
  margin: 16px 0 24px 16px;
  cursor: pointer;
  z-index: 2300;
  align-self: flex-end;
  padding: 7px 12px;
  border-radius: 8px;
  transition: background 0.13s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #EFE8D8;
  color: #2F5233;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 24px 28px;
  width: 100vw;
  align-items: flex-start;
}
.mobile-nav a {
  color: #FFF;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.22rem;
  font-weight: 700;
  padding: 8px 0;
  letter-spacing: 0.07em;
  border-radius: 7px;
  transition: background 0.12s, color 0.17s;
  text-transform: uppercase;
  min-width: 70vw;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #9C3B00;
  color: #FFF;
}

/* FOOTER */
footer {
  background: #EFE8D8;
  color: #2F5233;
  padding: 42px 20px 29px 20px;
  margin-top: 60px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
  justify-content: center;
}
footer nav a {
  color: #2F5233;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: 4px;
  transition: background 0.12s, color 0.16s;
  padding: 2px 6px;
}
footer nav a:hover, footer nav a:focus {
  background: #A86035;
  color: #FFF;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.footer-brand img {
  width: 38px;
  height: 38px;
  margin-bottom: 7px;
}
.footer-brand p {
  color: #2F5233;
  font-size: 1rem;
  opacity: 0.78;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #2F5233;
  color: #FFFFFF;
  z-index: 10200;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 24px 14px 20px 14px;
  box-shadow: 0 -4px 28px rgba(44,55,30,0.14);
  transition: transform 0.32s cubic-bezier(.4,0,.2,1);
}
.cookie-banner.hide {
  transform: translateY(150%);
}
.cookie-banner-content {
  font-size: 1rem;
  line-height: 1.5;
  text-align: center;
  margin-bottom: 8px;
}
.cookie-banner-actions {
  display: flex;
  gap: 14px;
  margin-top: 7px;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 32px;
  padding: 0.64em 1.7em;
  margin: 0 5px;
  cursor: pointer;
  outline: none;
  border: none;
  transition: background 0.19s, color 0.19s, border 0.15s;
}
.cookie-btn.accept {
  background: #2F5233;
  color: #FFFFFF;
  border: 2px solid #9C3B00;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #9C3B00;
  color: #FFFFFF;
  border-color: #2F5233;
}
.cookie-btn.reject {
  background: #EFE8D8;
  color: #2F5233;
  border: 2px solid #2F5233;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #9C3B00;
  color: #FFFFFF;
}
.cookie-btn.settings {
  background: transparent;
  color: #FFFFFF;
  border: 2px solid #EFE8D8;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #EFE8D8;
  color: #2F5233;
}

/* COOKIE SETTINGS MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(47,82,51,0.7);
  z-index: 10300;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.26s;
}
.cookie-modal {
  background: #FFFFFF;
  border-radius: 18px;
  box-shadow: 0 8px 44px rgba(44,55,30,0.16);
  max-width: 430px;
  width: 96vw;
  padding: 38px 24px 28px;
  color: #2F5233;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: modalfadein 0.3s cubic-bezier(.7,0,.21,1);
  position: relative;
}
@keyframes modalfadein {
  0% {transform: scale(0.90); opacity:0;}
  100% {transform: scale(1); opacity:1;}
}
.cookie-modal h2 {
  font-size: 1.4rem;
  margin-bottom: 7px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 12px 0;
}
.cookie-modal .cookie-category label {
  font-weight: 600;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.cookie-modal .cookie-toggle {
  width: 38px;
  height: 20px;
  background: #EFE8D8;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  border: 2px solid #2F5233;
  transition: background 0.15s, border 0.13s;
}
.cookie-modal .cookie-toggle[data-enabled="true"] {
  background: #A86035;
  border-color: #A86035;
}
.cookie-modal .cookie-toggle .toggle-knob {
  position: absolute;
  left: 2px; top: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #2F5233;
  transition: left 0.17s, background 0.17s;
}
.cookie-modal .cookie-toggle[data-enabled="true"] .toggle-knob {
  left: 18px;
  background: #FFF;
}
.cookie-modal-close {
  position: absolute;
  top: 13px; right: 14px;
  background: none;
  border: none;
  color: #2F5233;
  font-size: 1.6rem;
  cursor: pointer;
  z-index: 2;
  transition: color 0.16s;
  padding: 3px 10px;
  border-radius: 7px;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #9C3B00;
  background: #EFE8D8;
}

/* QUICK-LINKS TAGS */
.quick-links {
  display: flex;
  flex-direction: row;
  gap: 13px;
  margin: 18px 0 0 0;
  list-style: none;
  flex-wrap: wrap;
}
.quick-links li a {
  display: inline-block;
  background: #A86035;
  color: #FFFFFF;
  font-weight: 700;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border-radius: 15px;
  padding: 7px 15px;
  font-size: 1rem;
  letter-spacing: 0.04em;
  transition: background 0.13s, color 0.17s;
}
.quick-links li a:hover, .quick-links li a:focus {
  background: #2F5233;
  color: #FFF;
}

/* BORDER RADIUS, SHADOWS, MICROINTERACTIONS */
.card, .service-item, .footer-brand, .newsletter-signup, .testimonials, .testimonial-card, .category-grid > div, .tips-grid > div, .regional-spotlight {
  border-radius: 18px;
}
.card, .service-item, .testimonial-card, .category-grid > div, .tips-grid > div {
  box-shadow: 0 2px 12px rgba(44,55,30,0.07);
}
.card:hover, .testimonial-card:hover, .service-item:hover {
  box-shadow: 0 8px 32px rgba(156,59,0,0.13);
}

/* --- RESPONSIVE DESIGN ---- */
@media (max-width: 1112px) {
  .container {
    max-width: 100vw;
  }
  .service-item, .card {
    max-width: 100%;
    flex-basis: 100%;
  }
}
@media (max-width: 920px) {
  header nav, footer nav {
    gap: 10px;
  }
  .service-list, .card-container, .content-grid, .category-grid, .tips-grid {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .container { padding: 0 8px; }
  .section { margin-bottom: 34px; padding: 22px 7px; }
  .content-wrapper { gap: 13px; }
  .card, .service-item, .testimonial-card {
    padding: 16px 10px;
  }
  .card-container, .service-list, .content-grid, .category-grid, .tips-grid {
    flex-direction: column;
    gap: 13px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
  header nav {
    display: none !important;
  }
  header .cta.primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: inline-flex !important;
    margin-left: auto;
  }
}
@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
  header nav {
    display: flex !important;
  }
  header .cta.primary {
    display: inline-flex !important;
  }
}
@media (max-width: 520px) {
  html { font-size: 14px; }
  .cookie-banner {
    padding: 16px 4px 12px 4px;
  }
  .footer-brand img {
    width: 30px; height: 30px;
  }
  .newsletter-signup {
    padding: 11px 9px;
  }
}

/* --- UTILITY CLASSES FOR SPACING (Consistent with modern_bold aesthetic) --- */
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }

/* --- LIST DEFAULTS --- */
ul li, ol li {
  margin-bottom: 10px;
  padding-left: 0;
  font-size: 1rem;
}
ul li:last-child, ol li:last-child { margin-bottom: 0; }

/* --- MISC --- */
::-webkit-selection { background: #A86035; color: #fff; }
::selection { background: #A86035; color: #fff; }

/* Hide outline on mouse, keep on keyboard nav */
:focus:not(:focus-visible) { outline: none; }
:focus-visible { outline: 2px solid #A86035; outline-offset: 2px; }

/* --- GEOMETRIC DECORATIVE SHAPES -- modern bold signature --- */
.header:before, .section:before {
  content: '';
  display: none;
}
@media (min-width: 992px) {
  .section:before {
    display: block;
    position: absolute;
    width: 68px;
    height: 68px;
    top: 24px;
    left: -40px;
    background: #A86035;
    border-radius: 18px 32px 14px 30px;
    opacity: 0.13;
    z-index: 1;
  }
}

/* --- FORCE DISTINCT VISUAL HIERARCHY --- */
.section h1, .section h2, .section h3 {
  position: relative;
  z-index: 10;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

/* --- ENSURE NO OVERLAPS, ADEQUATE GAPS --- */
.card-container, .service-list, .category-grid, .tips-grid, .content-grid, .quick-links, .feature-list {
  gap: 20px;
  margin-bottom: 20px;
}

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