/* --- 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%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background: #F5F5F1;
  color: #2D4C2F;
  font-family: 'Open Sans', Arial, sans-serif;
  line-height: 1.65;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}

*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #2D4C2F;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #E3B464;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 1em;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  box-shadow: none;
}
button {
  cursor: pointer;
}

/* --- BRAND VARIABLES (for fallback) --- */
:root {
  --primary: #2D4C2F;
  --secondary: #E3B464;
  --accent: #F5F5F1;
  --border-radius: 16px;
  --section-gap: 60px;
  --container-max: 1200px;
  --font-display: 'Montserrat', 'Arial Black', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: #15281A;
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
  line-height: 1.15;
  text-wrap: balance;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  letter-spacing: 0.03em;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
h4,h5,h6 {
  font-size: 1rem;
}
p, li {
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 10px;
  color: #2D4C2F;
}
blockquote {
  border-left: 8px solid var(--secondary);
  background: #fff;
  padding: 18px 32px;
  font-size: 1.15rem;
  font-family: var(--font-display);
  margin-bottom: 24px;
  font-style: italic;
}
blockquote span {
  font-weight: 600;
  color: #B89A45;
  font-size: 0.98em;
}
/* --- LAYOUT --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
section {
  margin-bottom: var(--section-gap);
  padding: 40px 20px;
  background: none;
  border-radius: var(--border-radius);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (min-width: 900px) {
  .content-wrapper {
    flex-direction: row;
    align-items: center;
    gap: 36px;
    justify-content: space-between;
  }
}

/* --- HEADER / NAVIGATION --- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 10px 0 rgba(44, 76, 48, 0.06);
  position: sticky;
  top: 0;
  z-index: 80;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  min-height: 68px;
}
header img {
  width: 127px;
  height: auto;
  margin-right: 32px;
}
nav.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
nav.main-nav a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 8px;
  transition: background .2s, color .2s;
  color: #2D4C2F;
  letter-spacing: 0.055em;
}
nav.main-nav a:hover, nav.main-nav a:focus {
  background: #E3B464;
  color: #2D4C2F;
}
/* Call To Action Button */
.cta-button {
  font-family: var(--font-display);
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 12px 32px;
  border-radius: 24px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-left: 32px;
  box-shadow: 0 1px 5px 0 rgba(44, 76, 48, 0.11);
  border: 2px solid var(--primary);
  transition: background .2s, color .2s, border .23s;
}
.cta-button:hover, .cta-button:focus {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--secondary);
}

/* --- MOBILE NAV --- */
.mobile-menu-toggle {
  display: flex;
  background: none;
  color: var(--primary);
  font-size: 2rem;
  border: none;
  margin-left: 16px;
  z-index: 101;
  align-items: center;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 82vw;
  max-width: 335px;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 12px rgba(45,76,47,.14);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.68,-0.55,.27,1.55);
  z-index: 106;
  display: flex;
  flex-direction: column;
  padding: 32px 22px 38px 36px;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 2rem;
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 110;
}
.mobile-nav {
  margin-top: 38px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  padding: 14px 8px;
  background: none;
  border-radius: 14px;
  color: #2D4C2F;
  transition: background .14s, color .12s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: #2D4C2F;
}

@media (max-width: 990px) {
  nav.main-nav, .cta-button {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex !important;
  }
}
@media (min-width: 991px) {
  .mobile-menu-toggle, .mobile-menu {
    display: none !important;
  }
  nav.main-nav {
    display: flex !important;
  }
  .cta-button {
    display: inline-block !important;
  }
}

/* --- SECTION, CARD & FLEX PATTERNS --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container, .team-list, .feature-grid, .highlight-grid, .category-grid, .recipe-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(44,76,47,.06);
  margin-bottom: 20px;
  overflow: hidden;
  border: 1.5px solid #E3B4641a;
  transition: box-shadow .22s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(44,76,47,.14);
}
.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;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 4px 26px rgba(44,76,47,0.10);
  margin-bottom: 24px;
  margin-top: 22px;
  position: relative;
  border: 1.4px solid #E3B46422;
  transition: box-shadow .2s;
}
.testimonial-card:hover {
  box-shadow: 0 10px 34px rgba(44,76,47,0.23);
}
.testimonial-footer {
  font-size: 0.95em;
  color: var(--primary);
  padding-left: 10px;
  font-family: var(--font-display);
  font-weight: bold;
  letter-spacing: 0.03em;
  margin-top: -5px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- SPECIFIC LISTINGS / FLEX WRAPPERS --- */
.recipe-list, .tip-list, .benefits-list, .values-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 10px;
}
.recipe-list li, .tip-list li, .benefits-list li, .values-list li {
  background: #fff;
  border-radius: 10px;
  padding: 12px 18px;
  box-shadow: 0 2px 8px rgba(44,76,47,0.06);
  border-left: 5px solid #E3B464;
  font-size: 1.05em;
  font-family: var(--font-body);
  letter-spacing: 0.01em;
}
.tip-list a, .benefits-list a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  transition: color .18s;
}
.tip-list a:hover, .benefits-list a:hover {
  color: #E3B464;
}

.recipe-cards div,.highlight-grid div,.category-grid div,.team-list .team-member {
  min-width: 250px;
  flex: 1 1 280px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12.5px rgba(44,76,47,0.08);
  padding: 32px 24px;
  margin-bottom: 20px;
  border: 1.5px solid #E3B46412;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow .18s, border .19s;
}
.recipe-cards div:hover,.highlight-grid div:hover,.category-grid div:hover,.team-list .team-member:hover  {
  box-shadow: 0 8px 24px rgba(227,180,100,.13);
  border: 1.5px solid #E3B46455;
}

.values-list li {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 11px;
}
.values-list img {
  width: 38px;
  height: 38px;
}

.team-list {
  gap: 24px;
}
.team-member h3 {
  margin-bottom: 2px;
}

.contact-information {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 10px rgba(44,76,47,.07);
  margin-bottom: 20px;
  font-size: 1em;
}
.contact-information img {
  width: 18px;
  margin-right: 7px;
  vertical-align: text-bottom;
}
.map {
  background: #E3B46422;
  color: #4E634E;
  border-radius: 15px;
  padding: 24px;
  display: flex;
  align-items: center;
  min-height: 80px;
  font-size: 1rem;
  margin-top: 12px;
}

.category-grid {
  gap: 24px;
}
.category-filter {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 22px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05em;
}
.category-filter select {
  font-size: 1em;
  border-radius: 8px;
  padding: 5px 14px;
  border: 1.2px solid #2D4C2F;
  background: #fff;
  color: #2D4C2F;
  min-width: 120px;
}
.category-filter label {
  font-weight: 700;
}

.filter-search {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 7px;
  margin-top: 9px;
}
.filter-search input[type="text"] {
  padding: 10px 16px;
  font-size: 1rem;
  border: 1.4px solid #2D4C2F;
  border-radius: 12px;
  background: #fff;
  transition: border .16s;
}
.filter-search button {
  background: var(--secondary);
  border-radius: 10px;
  padding: 7px 13px;
  border: none;
  margin-left: 4px;
  transition: background .15s;
}
.filter-search button img {
  width: 21px;
  height: 21px;
}
.filter-search button:hover {
  background: #2D4C2F;
}
.filter-search button:hover img {
  filter: invert(1);
}

.pagination {
  display: flex;
  flex-direction: row;
  gap: 13px;
  margin-top: 15px;
}
.pagination a {
  border-radius: 8px;
  padding: 7px 15px;
  background: #E3B46433;
  color: #2D4C2F;
  font-weight: 700;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .02em;
  transition: background .14s, color .14s;
}
.pagination a:hover, .pagination a:focus {
  background: #2D4C2F;
  color: #fff;
}

/* --- FOOTER --- */
footer {
  background: #fff;
  border-top: 4px solid var(--secondary);
  padding: 48px 0 22px 0;
  margin-top: 54px;
  font-size: 1.05rem;
  position: relative;
  z-index: 1;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}
footer img {
  width: 110px; max-width: none;
}
footer nav.footer-menu {
  display: flex;
  gap: 20px;
  margin-bottom: 11px;
  flex-wrap: wrap;
}
.footer-menu a {
  color: #2D4C2F;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .035em;
  font-size: .95rem;
  padding: 5px 8px;
  border-radius: 8px;
  transition: background .15s, color .11s;
}
.footer-menu a:hover {
  background: #E3B464;
  color: #2D4C2F;
}
.contact-summary {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 11px;
}
.contact-summary img {
  width: 18px;
  margin-right: 6px;
  vertical-align: text-bottom;
}
.newsletter-signup {
  display: flex;
  flex-direction: column;
  gap: 9px;
  align-items: flex-start;
}
.social-links {
  display: flex;
  flex-direction: row;
  gap: 15px;
}
.social-links a img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  transition: background .15s, filter .11s;
  background: #E3B46433;
  padding: 5px;
}
.social-links a:hover img {
  background: #E3B464;
  filter: brightness(1.15) contrast(1.2);
}
footer p {
  color: #757575;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

/* --- LEGAL TEXT --- */
.legal-text {
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 1px 8px rgba(227,180,100,0.07);
  font-size: 1.08em;
  color: #2D4C2F;
}
.legal-text a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  transition: color .15s;
}
.legal-text a:hover { color: #E3B464;}

/* --- ANIMATION --- */
.cta-button, .card, .feature-item, .testimonial-card, .recipe-cards div, .highlight-grid div, .category-grid div, .team-member, .list-item, .pagination a {
  transition: box-shadow .19s, background .14s, color .12s, border .14s, transform .20s;
}
.cta-button:active {
  transform: scale(0.96);
}

/* --- GEOMETRIC SHAPE ACCENTS --- */
.card, .team-member, .testimonial-card, .recipe-cards div, .highlight-grid div, .category-grid div {
  border-radius: 16px 48px 16px 16px;
  border-top-left-radius: 48px;
}

/* --- RESPONSIVE --- */
@media (max-width: 1110px) {
  .container { max-width: 97vw; }
}
@media (max-width: 900px) {
  .content-wrapper, .card-container, .feature-grid, .highlight-grid, .category-grid, .recipe-cards {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 18px !important;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    padding: 15px;
  }
  .content-grid, .team-list { flex-direction: column; }
}
@media (max-width: 768px) {
  section { padding: 29px 6vw;}
  .text-image-section { flex-direction: column !important; gap: 23px; }
  .values-list { gap: 14px; }
  .team-member, .testimonial-card, .card, .highlight-grid div, .category-grid div { padding: 16px 10px;}
  .pagination { gap: 8px; }
  .footer-menu { flex-direction: column; gap: 10px; } 
  footer .container, .newsletter-signup, .contact-summary { gap: 18px;}
  .social-links { gap: 9px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; }
  h3 { font-size: 1.02rem; }
}
@media (max-width: 550px) {
  .container { padding: 0 5px; }
  section { padding: 18px 2vw; }
  .recipe-cards div, .highlight-grid div, .category-grid div, .team-member { min-width: 180px; }
}

/* --- MICRO-INTERACTIONS --- */
.card:active, .team-member:active, .testimonial-card:active {
  transform: scale(0.97);
}
.category-grid div:active, .recipe-cards div:active, .highlight-grid div:active {
  transform: scale(0.98);
}
.card:focus-within {
  box-shadow: 0 0 0 2px #E3B46455;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  color: #2D4C2F;
  padding: 20px 16px;
  box-shadow: 0 -4px 32px 0 rgba(44,76,47,0.12);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  z-index: 999;
  justify-content: center;
  border-top: 3.5px solid #E3B464;
  transition: transform .5s;
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner__text {
  font-size: 1.02em;
  max-width: 470px;
  flex-shrink: 1;
}
.cookie-banner__actions {
  display: flex;
  gap: 14px;
}
.cookie-banner button,
.cookie-banner .cookie-settings-btn {
  font-family: var(--font-display);
  font-size: 1em;
  font-weight: bold;
  border-radius: 9px;
  border: 2px solid var(--primary);
  background: var(--secondary);
  color: #2D4C2F;
  padding: 8px 20px;
  transition: background .21s, color .14s, border .14s;
}
.cookie-banner .accept {
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--primary);
}
.cookie-banner .accept:hover,.cookie-banner .accept:focus {
  background: #fff;
  color: #2D4C2F;
  border: 2px solid #E3B464;
}
.cookie-banner .reject {
  background: #fff;
  color: #2D4C2F;
  border: 2px solid var(--primary);
}
.cookie-banner .reject:hover {
  background: var(--secondary);
  color: #2D4C2F;
}
.cookie-banner .cookie-settings-btn {
  background: none;
  border-color: #E3B464;
}
.cookie-banner .cookie-settings-btn:hover {
  background: #E3B464;
  color: #2D4C2F;
}
@media (max-width: 700px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 15px; padding: 22px 6vw; }
  .cookie-banner__actions { flex-wrap: wrap; gap: 10px; }
}

/* --- COOKIE SETTINGS MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(44,76,47,0.37);
  z-index: 1003;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .22s;
}
.cookie-modal {
  background: #fff;
  border-radius: 24px;
  max-width: 400px;
  width: 94vw;
  box-shadow: 0 9px 44px 0 rgba(44,76,47,0.17);
  padding: 36px 32px 30px 32px;
  display: flex;
  flex-direction: column;
  gap: 19px;
  align-items: stretch;
  z-index: 1004;
  animation: modalIn .7s cubic-bezier(.65,-0.02,.74,1.05);
  position: relative;
}
@keyframes modalIn {
  from { transform: scale(0.85) translateY(40px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 18px;
  background: none;
  border: none;
  color: #2D4C2F;
  font-size: 1.7rem;
}
.cookie-modal h2 {
  font-size: 1.35rem;
  margin-bottom: 8px;
  color: #2D4C2F;
  text-transform: uppercase;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin-bottom: 11px;
}
.cookie-category-toggle {
  margin-left: auto;
  min-width: 47px;
  min-height: 28px;
  position: relative;
}
.cookie-toggle-switch {
  appearance: none;
  width: 38px;
  height: 21px;
  background: #E3B464;
  border-radius: 15px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background .18s;
}
.cookie-toggle-switch:checked {
  background: #2D4C2F;
}
.cookie-toggle-switch::before {
  content: '';
  display: block;
  position: absolute;
  left: 4px; top: 3px;
  width: 15px; height: 15px;
  background: #fff;
  border-radius: 50%;
  transition: left .19s;
  box-shadow: 0 0 3px 0 rgba(44,76,47,.08);
}
.cookie-toggle-switch:checked::before {
  left: 19px;
}
.cookie-category-desc {
  font-size: 0.97em;
  color: #3A523B;
}
.cookie-modal button {
  margin-top: 11px;
  border-radius: 11px;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: bold;
  font-size: 1em;
  padding: 10px 22px;
  border: none;
  transition: background .15s;
}
.cookie-modal button:hover {
  background: #E3B464;
  color: #2D4C2F;
}

/* --- OTHER UTILITY CLASSES --- */
.text-section {
  max-width: 730px;
  font-size: 1.09em;
}

/* --- SPACING AND ALIGNMENT PATTERNS --- */
/* Already applied above but reinforce in case of precedence */
.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; }

/* --- FINAL SAFETY: NO GRID, NO ABSOLUTE FOR CONTENT --- */
/* Absolute positioning used only for icons in mobile/close button/modals */
