/* --- CSS RESET & BASE STYLES (Normalize/minimalist) --- */
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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #1a251e;
  background: #fff;
  min-height: 100vh;
  line-height: 1.6;
  letter-spacing: 0;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: #274C3B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F6C46B;
  outline: none;
}
ul, ol {
  list-style: none;
}
button {
  border: none;
  background: none;
  font: inherit;
  cursor: pointer;
}
:focus {
  outline: 2px solid #F6C46B;
  outline-offset: 2px;
}

/* --- BRAND COLOR VARIABLES WITH FALLBACKS (no custom properties) --- */
.primary-bg { background: #274C3B !important; }
.secondary-bg { background: #F6C46B !important; }
.white-bg { background: #fff !important; }

.primary-text { color: #274C3B !important; }
.secondary-text { color: #F6C46B !important; }

/* --- TYPOGRAPHY & HEADINGS --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #274C3B;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.375rem; margin-bottom: 12px; }
h4 { font-size: 1.125rem; }
h5, h6 { font-size: 1rem; }
p, li {
  font-size: 1rem;
  color: #1a251e;
}
strong, b { font-weight: 700; }
em, i { font-style: italic; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.125rem; }
}

/* --- CONTAINER & SPACING --- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* --- SECTIONS & LAYOUTS --- */
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(39,76,59,0.06);
}
@media (max-width: 768px){
  section, .section { padding: 28px 8px; }
}
.hero {
  background: #F6C46B;
  border: none;
  box-shadow: none;
  border-radius: 0 0 20px 20px;
  margin-bottom: 60px;
}

.features, .newsletter, .about, .contact, .faq, .legal, .confirmation {
  background: #fff;
}
/* --- CARD CONTAINERS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(39,76,59,0.07);
  margin-bottom: 20px;
  padding: 32px;
  position: relative;
  min-width: 260px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: box-shadow 0.18s;
}
.card:hover {
  box-shadow: 0 8px 24px rgba(39,76,59,0.11);
}

.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}

/* --- FEATURES & SERVICES --- */
.features ul, .services-list, .services ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0 0 16px 0;
  flex-direction: row;
}
.features ul li, .services ul li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  border-radius: 12px;
  padding: 16px 18px;
  background: #f8faf8;
  min-width: 220px;
  font-size: 1rem;
  margin-bottom: 0;
  box-shadow: 0 1px 5px rgba(39,76,59,0.03);
  flex: 1 1 200px;
}
.features ul li img, .services ul li img {
  width: 28px;
  height: 28px;
  margin-right: 8px;
}
@media (max-width: 768px) {
  .features ul, .services-list, .services ul {
    flex-direction: column;
    gap: 16px;
  }
  .features ul li, .services ul li {
    min-width: 0;
    width: 100%;
  }
}

.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 36px;
}
.service-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 8px rgba(39,76,59,0.06);
  flex: 1 1 220px;
  min-width: 220px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 20px;
  transition: box-shadow 0.18s;
}
.service-card:hover {
  box-shadow: 0 6px 18px rgba(39,76,59,0.15);
}
@media (max-width: 768px) {
  .services-list {
    flex-direction: column;
    gap: 16px;
  }
}

/* --- TESTIMONIALS --- */
.testimonials, .testimonial-slider, .testimonial-grid, .testimonial-quotes, .testimonial-carousel {
  width: 100%;
}
.testimonial-slider, .testimonial-grid, .testimonial-quotes, .testimonial-carousel {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 20px;
  justify-content: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 24px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 1.5px 10px rgba(39,76,59,0.07);
  color: #1a251e;
  min-width: 240px;
  max-width: 420px;
  margin-bottom: 20px;
  border-left: 5px solid #F6C46B;
  transition: box-shadow 0.19s, border-color 0.19s;
}
.testimonial-card:hover {
  box-shadow: 0 10px 24px rgba(39,76,59,0.13);
  border-left: 5px solid #274C3B;
}
.testimonial-meta {
  font-size: 0.98rem;
  color: #274C3B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin-top: 0.5em;
}
@media (max-width: 768px) {
  .testimonial-slider, .testimonial-grid, .testimonial-quotes, .testimonial-carousel {
    flex-direction: column;
    gap: 16px;
  }
}

/* --- BUTTONS & CALLS TO ACTION --- */
.cta-btn, .cookie-btn, .cookie-banner button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #274C3B;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06rem;
  font-weight: 600;
  border-radius: 27px;
  padding: 12px 32px;
  border: none;
  margin: 14px 0 0 0;
  box-shadow: 0 1.2px 7px rgba(39,76,59,0.09);
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.23s;
}
.cta-btn:hover, .cta-btn:focus {
  background: #F6C46B;
  color: #274C3B;
  box-shadow: 0 4px 18px rgba(246,196,107,0.22);
}
.cookie-btn.accept {
  background: #274C3B;
  color: #fff;
}
.cookie-btn.reject {
  background: #fff;
  color: #274C3B;
  border: 1.5px solid #274C3B;
}
.cookie-btn.settings {
  background: #F6C46B;
  color: #274C3B;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #173224;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #f1f3f2;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #fff8ef;
}

/* --- NAVIGATION (DESKTOP & MOBILE) --- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 16px rgba(39,76,59,0.07);
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  position: relative;
  z-index: 50;
}
header .container {
  flex-direction: row;
  align-items: center;
  padding: 16px 20px 16px 20px;
  gap: 20px;
}
header img {
  height: 38px;
  margin-right: 22px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  margin-left: 20px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #274C3B;
  font-size: 1rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 16px;
  transition: background 0.19s, color 0.19s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F6C46B;
  color: #274C3B;
}

.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: #274C3B;
  background: #f6c46b;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  z-index: 1021;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #ffe3ac;
}

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

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(39,76,59,0.96);
  backdrop-filter: blur(2px);
  z-index: 2010;
  transform: translateX(-105vw);
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.45s cubic-bezier(.55,.06,.68,.19), opacity 0.38s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  margin: 24px 18px 18px auto;
  font-size: 2.2rem;
  color: #fff;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.15s;
  z-index: 1002;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #F6C46B;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
  padding: 36px 36px 0 0;
  margin-top: 12px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.27rem;
  font-weight: 600;
  padding: 9px 21px 9px 0;
  border-radius: 14px 0 0 14px;
  transition: background 0.18s, color 0.18s;
  width: 100%;
  min-width: 180px;
  text-align: right;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F6C46B;
  color: #274C3B;
}
@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
}

/* --- FOOTER --- */
footer {
  padding: 36px 0 18px 0;
  background: #fff;
  border-top: 1.5px solid #e7ebe9;
  position: relative;
  z-index: 1;
}
footer .container {
  flex-direction: column;
  gap: 20px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  justify-content: center;
  margin-bottom: 12px;
}
.footer-nav a {
  color: #274C3B;
  background: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  transition: color 0.18s;
  padding: 3px 10px;
  border-radius: 10px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #F6C46B;
  background: #faf7f0;
}
.footer-contact {
  text-align: center;
  color: #1a251e;
  font-size: 0.98rem;
  margin-bottom: 8px;
}
.footer-copy {
  text-align: center;
  font-size: 0.91rem;
  color: #a3afa3;
  margin-top: 6px;
}
@media (max-width: 768px) {
  .footer-nav {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }
  .footer-contact, .footer-copy {
    font-size: 0.95rem;
  }
}

/* --- NEWSLETTER SECTION --- */
.newsletter ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 18px;
}
.newsletter ul li {
  padding: 12px 16px;
  background: #f8faf8;
  border-radius: 12px;
  min-width: 180px;
  font-size: 1rem;
  box-shadow: 0 1px 5px rgba(39,76,59,0.03);
  margin-bottom: 0;
  flex: 1 1 140px;
}
@media (max-width: 768px) {
  .newsletter ul {
    flex-direction: column;
    gap: 12px;
  }
  .newsletter ul li {
    min-width: 0;
  }
}

/* --- MISCELLANEOUS CLASSES --- */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.recipes-list ul, .faq ul, .about ul {
  margin-top: 4px;
  margin-bottom: 8px;
  padding-left: 0;
}
.recipes-list ul li, .faq ul li, .about ul li {
  margin-bottom: 10px;
  font-size: 1rem;
  background: #f8faf8;
  padding: 12px 18px;
  border-radius: 10px;
}
@media (max-width: 768px) {
  .recipes-list ul li, .faq ul li, .about ul li {
    padding: 10px 14px;
  }
}

/* --- SPECIAL CLASSES & STATE --- */
.section, 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;
}

/* --- RESPONSIVE QUERIES --- */
@media (max-width: 768px) {
  .container { padding: 0 9px; }
  .service-card, .card { padding: 16px 10px; }
  .hero { padding: 24px 8px !important; }
  .cta-btn, .cookie-btn { padding: 11px 18px; font-size: 1rem; }
}

/* --- MICRO-INTERACTIONS & TRANSITIONS --- */
.card, .testimonial-card, .cta-btn, .service-card, .features ul li, .newsletter ul li, .mobile-menu, .mobile-nav a {
  transition: box-shadow 0.18s, background 0.17s, color 0.17s, border-color 0.18s;
}

/* --- COOKIE BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  z-index: 4000;
  padding: 24px 16px;
  background: #f8faf8;
  box-shadow: 0 -2px 16px rgba(39,76,59,0.09);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 1rem;
  flex-direction: row;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.3s, transform 0.35s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(24px);
}
.cookie-banner__text {
  color: #274C3B;
  max-width: 580px;
}
.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 8px;
    gap: 16px;
    font-size: 0.95rem;
  }
}

/* --- COOKIE PREFERENCES MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(39,76,59,0.36);
  z-index: 4500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.27s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  border-radius: 20px;
  max-width: 450px;
  width: 94vw;
  box-shadow: 0 8px 26px rgba(39,76,59,0.22);
  padding: 30px 24px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  transform: translateY(48px);
  opacity: 0;
  transition: opacity 0.25s, transform 0.29s;
}
.cookie-modal-overlay.open .cookie-modal {
  transform: translateY(0);
  opacity: 1;
}
.cookie-modal h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #274C3B;
  font-size: 1.32rem;
  margin-bottom: 8px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  background: #f8faf8;
  padding: 11px 13px;
  border-radius: 12px;
}
.cookie-category .cookie-toggle {
  width: 44px;
  height: 24px;
  background: #e2e7e3;
  border-radius: 18px;
  position: relative;
  border: 1px solid #c4cec5;
  cursor: pointer;
  transition: background 0.19s, border-color 0.18s;
}
.cookie-category .cookie-toggle[data-enabled="true"] {
  background: #F6C46B;
  border-color: #F6C46B;
}
.cookie-category .cookie-toggle[data-enabled="true"] .cookie-toggle-circle {
  left: 23px;
  background: #fff;
  border: 2px solid #F6C46B;
}
.cookie-toggle-circle {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #c4cec5;
  transition: left 0.17s, border-color 0.17s;
}
.cookie-category[data-required="true"] .cookie-toggle {
  background: #e2e7e3 !important;
  border-color: #b3bebe !important;
  cursor: default;
}
.cookie-category[data-required="true"] .cookie-toggle .cookie-toggle-circle {
  border: 2px solid #b3bebe !important;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 6px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 17px;
  font-size: 1.45rem;
  color: #a3afa3;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 4502;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #274C3B;
}
/* --- ACCESSIBILITY & NO GRID/NO COLS --- */
/* All layout is flex only. No grid or columns used anywhere. */

/* --- ANIMATIONS --- */
@media (prefers-reduced-motion: no-preference) {
  .card, .service-card, .testimonial-card {
    transition: box-shadow 0.18s, transform 0.18s;
  }
  .card:hover, .service-card:hover, .testimonial-card:hover {
    transform: translateY(-3px) scale(1.015);
  }
  .cta-btn, .cookie-btn {
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.17s;
  }
  .cta-btn:active, .cookie-btn:active {
    transform: scale(0.98);
  }
}

/* --- PRINT STYLES (No background for print) --- */
@media print {
  body {
    color: #000;
    background: #fff;
  }
  header, footer, .cookie-banner, .mobile-menu, .cta-btn { display: none !important; }
}
