/* =====================
   CSS RESET & VARIABLES
   ===================== */

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;
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: #fff;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #212820;
  background: #fff;
  line-height: 1.6;
  min-height: 100vh;
}
img, svg {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
a {
  color: #386442;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #D6A262;
}
ul, ol {
  list-style: none;
}
button {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  outline: none;
}

/* =====================
   BRAND VARIABLES
   ===================== */
:root {
  --primary: #386442;
  --secondary: #D6A262;
  --accent: #F5F2EA;
  --neutral: #fff;
  --card-bg: #fff;
  --shadow: 0 2px 10px 0 rgba(56,100,66,0.07);
  --shadow-hover: 0 4px 18px 0 rgba(56,100,66,0.12);
  --radius-s: 8px;
  --radius-m: 16px;
  --radius-l: 32px;
  --transition: all .25s cubic-bezier(.4,0,.2,1);
}

/* =====================
   TYPOGRAPHY & HEADINGS
   ===================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Open+Sans:wght@400;600&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1c3221;
  margin-bottom: 14px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 12px; }
h4 { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; }
h5, h6 { font-size: 1rem; font-weight: 600; margin-bottom: 6px; }
p, li {
  font-size: 1rem;
  color: #212820;
  margin-bottom: 14px;
}
strong { font-weight: 600; }

/* =====================
   LAYOUT CONTAINERS
   ===================== */
.container {
  width: 100%;
  max-width: 1100px;
  padding: 0 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0; /* manage gaps in child flex if needed */
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--neutral);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow);
}

@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }
  .section {
    margin-bottom: 40px;
    padding: 28px 8px;
    border-radius: var(--radius-s);
  }
}

/* =====================
   FLEXBOX UTILITY CLASSES
   ===================== */
.card-container, .feature-grid, .partner-grid, .initiatives-grid, .card-grid, .team-overview {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  background: var(--card-bg);
  border-radius: var(--radius-s);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  min-width: 260px;
  flex: 1 1 240px;
  transition: box-shadow .25s;
}
.card:hover {
  box-shadow: var(--shadow-hover);
}
.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: #fff;
  border-radius: var(--radius-s);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 768px) {
  .content-grid, .feature-grid, .partner-grid, .initiatives-grid, .card-container, .team-overview {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
}

/* =====================
   HEADER & NAVIGATION
   ===================== */
header {
  padding: 18px 0;
  background: var(--neutral);
  box-shadow: 0 1px 6px 0 rgba(56,100,66,0.06);
  border-bottom: 1px solid #eaeaea;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
}
.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #1c3221;
  font-weight: 600;
  letter-spacing: 0.01em;
  position: relative;
  padding: 4px 0;
  transition: color .2s;
}
.main-nav a:after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: var(--secondary);
  border-radius: 1px;
  transition: width .2s;
  position: absolute;
  left: 0;
  bottom: -2px;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--primary);
}
.main-nav a:hover:after,
.main-nav a:focus:after {
  width: 100%;
}
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: var(--primary);
  background: none;
  border: none;
  margin-left: 20px;
  height: 44px;
  width: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background .2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--accent);
}

@media (max-width: 1000px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* ==============
   MOBILE MENU
   ============== */
.mobile-menu {
  position: fixed;
  z-index: 1011;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(33,40,32,0.97);
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.48,0,.52,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
  width: 100vw;
  height: 100vh;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  color: #fff;
  background: none;
  border: none;
  margin: 24px 0 0 24px;
  align-self: flex-start;
  height: 44px;
  width: 44px;
  border-radius: 50%;
  transition: background .2s;
  z-index: 1100;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--primary);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 40px 0 0 40px;
  gap: 26px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: 13px 0;
  border-radius: 6px;
  transition: color .2s, background .2s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--secondary);
  background: rgba(255,255,255,0.08);
}
@media (min-width: 1001px) {
  .mobile-menu { display: none !important; }
}

/* =====================
   HERO & FEATURE SECTIONS
   ===================== */
.hero {
  background: var(--accent);
  padding: 40px 0 44px 0;
  border-radius: var(--radius-m);
  box-shadow: var(--shadow);
  margin-bottom: 48px;
}
.hero h1 {
  color: var(--primary);
  margin-bottom: 14px;
}
.hero p {
  color: #434944;
  margin-bottom: 28px;
  font-size: 1.1rem;
}
.hero .cta {
  margin-top: 12px;
}
.features {
  padding: 0;
  background: none;
  box-shadow: none;
}
.feature-grid > div {
  background: #fff;
  border-radius: var(--radius-s);
  box-shadow: var(--shadow);
  padding: 26px 18px 18px 18px;
  flex: 1 1 230px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow .18s;
}
.feature-grid > div:hover,
.feature-grid > div:focus-within {
  box-shadow: var(--shadow-hover);
}
.feature-grid img {
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
}
.feature-grid h3 {
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.feature-grid p {
  color: #49534b;
  font-size: 1rem;
}

/* =====================
   PARTNER PREVIEW / TEAM
   ===================== */
.partner-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  margin-bottom: 20px;
}
.partner-logos img {
  filter: grayscale(30%);
  opacity: .90;
  width: 64px;
  height: auto;
  transition: filter .15s, opacity .15s;
}
.partner-logos img:hover { opacity: 1; filter: none; }
.team-overview {
  gap: 24px;
}
.team-member {
  background: var(--accent);
  border-radius: var(--radius-s);
  box-shadow: var(--shadow);
  padding: 24px;
  flex: 1 1 230px;
  min-width: 200px;
}
.team-member h3 {
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.team-member p {
  color: #4a5144;
  font-size: .98rem;
}

/* =====================
   CTA BUTTONS & LINKS
   ===================== */
.cta, .cta.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  font-weight: 600;
  color: #fff;
  background: var(--primary);
  padding: 13px 32px;
  border: none;
  border-radius: var(--radius-m);
  box-shadow: 0 2px 10px 0 rgba(56,100,66,0.07);
  cursor: pointer;
  text-decoration: none;
  transition: background .22s, color .22s, box-shadow .22s;
  min-width: 160px;
  min-height: 48px;
  letter-spacing: 0.01em;
}
.cta.primary {
  background: var(--primary);
  color: #fff;
}
.cta:not(.primary) {
  background: var(--secondary);
  color: #fff;
}
.cta:hover, .cta:focus {
  background: #204928;
  color: #fff;
  box-shadow: var(--shadow-hover);
}
.cta.primary:active {
  background: var(--secondary);
  color: var(--primary);
}

/* ============================
   ABOUT, VALUES, LEGAL, CARDS
   ============================ */
.about-preview, .about, .values, .legal, .contact, .map, .confirmation, .workshops, .product-categories, .sustainability, .product-preview, .partner-list, .events, .impact-statistics {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: var(--radius-m);
  box-shadow: var(--shadow);
}
.text-section, .address-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.address-details {
  align-items: center;
  gap: 12px;
}
.address-details img {
  width: 64px;
}
.certifications {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 14px;
}
.certifications span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--primary);
  font-size: 1.1rem;
}
.certifications img {
  width: 30px; height: 30px;
}
.impact-statistics ul {
  margin-top: 12px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

/* =====================
   FOOTER
   ===================== */
footer {
  background: var(--accent);
  padding: 36px 0 20px;
  border-top: 1px solid #e7e5de;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
  font-size: .98rem;
}
footer a {
  color: #386442;
  font-weight: 600;
  transition: color .18s;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
.contact-details {
  color: #212820;
  line-height: 1.5;
}
.contact-details a {
  color: #386442;
  font-weight: 600;
}
footer img {
  height: 38px;
  width: auto;
}
@media (max-width: 800px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* =====================
   RESPONSIVE TYPOGRAPHY
   ===================== */
@media (max-width: 540px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.27rem; }
  .cta, .cta.primary { font-size: 1rem; min-width: 120px; padding: 10px 18px; }
  .section, .about-preview, .values, .legal, .contact, .map, .product-preview, .partner-list { padding: 18px 5px; margin-bottom: 32px; border-radius: var(--radius-s); }
}

/* =====================
   TESTIMONIALS/CARDS (For Future)
   ===================== */
.testimonial-card {
  background: #fff;
  color: #1d2c19;
  box-shadow: var(--shadow);
  border-radius: var(--radius-m);
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
}
.testimonial-card p {
  color: #1d2c19;
}
.testimonial-card .author {
  font-size: .97rem;
  font-weight: 600;
  color: var(--primary);
}

/* ===============
   ANIMATIONS
   =============== */
.cta, .cta.primary, .card, .feature-grid > div, .team-member, .testimonial-card {
  transition: box-shadow .27s, transform .22s, background .22s, color .22s;
}
.cta:active, .cta.primary:active {
  transform: scale(.98);
}
.card:hover, .feature-grid > div:hover, .team-member:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px) scale(1.024);
}

/* =====================
   COOKIE CONSENT BANNER
   ===================== */
#cookie-consent-banner {
  position: fixed;
  left: 0; bottom: 0; right: 0;
  width: 100vw;
  background: #fff;
  color: #1c3221;
  box-shadow: 0 -2px 12px 0 rgba(33,40,32,0.14);
  z-index: 2002;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 10vw;
  gap: 24px;
  border-radius: var(--radius-m) var(--radius-m) 0 0;
  font-size: .99rem;
  animation: banner-in .4s cubic-bezier(.42,0,.58,1);
}
#cookie-consent-banner p {
  margin: 0;
  color: #1c3221;
  flex: 2 0 0;
}
#cookie-consent-banner .cookie-btns {
  display: flex;
  gap: 18px;
  flex-shrink: 0;
}
.cookie-btns button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: var(--radius-s);
  padding: 11px 22px;
  cursor: pointer;
  transition: background .18s, color .18s;
  box-shadow: 0 0 6px 0 rgba(33,40,32,0.03);
}
.cookie-btns .accept {
  background: var(--primary);
  color: #fff;
}
.cookie-btns .accept:hover {
  background: #204928;
}
.cookie-btns .reject {
  background: #eee8de;
  color: #386442;
  border: 1px solid #d6a26230;
}
.cookie-btns .reject:hover {
  background: #f5f2ea;
}
.cookie-btns .settings {
  background: #fff;
  color: #386442;
  border: 1px solid var(--secondary);
}
.cookie-btns .settings:hover {
  background: #f5f2ea;
  color: #1c3221;
}
@keyframes banner-in {
  from { transform: translateY(80px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
@media (max-width: 700px) {
  #cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 14px;
    gap: 18px;
    font-size: .95rem;
  }
  #cookie-consent-banner .cookie-btns {
    gap: 13px;
    width: 100%;
    flex-wrap: wrap;
  }
}

/* COOKIE MODAL/PREFERENCE DIALOG */
#cookie-modal-overlay {
  position: fixed;
  z-index: 2100;
  background: rgba(33,40,32,0.47);
  top:0; left:0; right:0; bottom:0;
  width: 100vw;
  height: 100vh;
  display: none;
  align-items: center;
  justify-content: center;
}
#cookie-modal-overlay.open {
  display: flex;
  animation: modal-fade-in .25s;
}
#cookie-modal {
  background: #fff;
  border-radius: var(--radius-m);
  box-shadow: 0 8px 32px 0 rgba(56,100,66,0.17);
  padding: 36px 32px 28px 32px;
  max-width: 410px;
  width: 94vw;
  color: #1c3221;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-size: 1.02rem;
  animation: modal-pop .25s cubic-bezier(.47,1.64,.41,.8);
}
#cookie-modal h2 {
  font-size: 1.27rem;
  margin-bottom: 8px;
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #f0ede6;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-category label {
  font-weight: 600;
  color: #1c3221;
}
.cookie-toggle {
  appearance: none;
  width: 38px;
  height: 22px;
  background: #eee8de;
  border-radius: 11px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background .16s;
}
.cookie-toggle:checked {
  background: var(--secondary);
}
.cookie-toggle:disabled {
  opacity: .6;
  cursor: not-allowed;
}
.cookie-toggle::after {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 3px;
  left: 3px;
  transition: left .18s;
  box-shadow: 0 1px 3px 0 rgba(33,40,32,0.14);
}
.cookie-toggle:checked::after {
  left: 19px;
}
#cookie-modal .modal-actions {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
  margin-top: 16px;
}
#cookie-modal .modal-actions button {
  padding: 9px 19px;
  border-radius: var(--radius-s);
  border: none;
  background: var(--primary);
  color: #fff;
  font-family: 'Montserrat',Arial,sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: background .16s;
}
#cookie-modal .modal-actions button.secondary {
  background: #eee8de;
  color: var(--primary);
  border: 1px solid var(--secondary);
}
#cookie-modal .modal-actions button:hover { background: #204928; }
#cookie-modal .modal-actions button.secondary:hover { background: #f5f2ea; }
#cookie-modal .close-modal {
  position: absolute;
  top: 10px;
  right: 0px;
  background: none;
  color: #bbb;
  font-size: 2.2rem;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color .18s;
}
#cookie-modal .close-modal:hover, #cookie-modal .close-modal:focus {
  color: var(--primary);
}
@keyframes modal-fade-in {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes modal-pop {
  from { transform: scale(.94); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
@media (max-width: 440px) {
  #cookie-modal { padding: 18px 7px; }
}

/* =====================
   OTHER SMALL UTILITIES
   ===================== */
::-webkit-input-placeholder { color: #bbb; }
::-moz-placeholder { color: #bbb; }
:-ms-input-placeholder { color: #bbb; }
::placeholder { color: #bbb; }

/* For lists/ul in features/values/etc */
ul, ol {
  list-style: disc inside;
  margin-left: 1.2em;
  margin-bottom: 14px;
}
ul > li, ol > li { margin-bottom: 8px; }

/* Remove focus outlines except for keyboard nav */
:focus:not(:focus-visible) { outline: none; }

/* ===============
   PRINT STYLES
   =============== */
@media print {
  header, footer, .mobile-menu, #cookie-consent-banner, #cookie-modal-overlay { display: none !important; }
  .container, main, .content-wrapper { max-width: 100% !important; padding: 0 !important; }
}

/* END OF CSS */
