/* ====== 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, menu, 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, 
main, 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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
  height: 100%;
  background-color: #eef5db;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #233d2d;
  background: linear-gradient(135deg, #eef5db 0%, #ffffff 100%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
*, *::before, *::after { box-sizing: inherit; }
img { max-width: 100%; height: auto; display: block; }
a { color: #176a3f; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #c88a24; outline: none; }
ul, ol { list-style: none; }
button { font: inherit; border: none; background: none; cursor: pointer; }
input, textarea {
  font-family: inherit;
  font-size: 1em;
  border: 1px solid #dce5c7;
  border-radius: 6px;
  padding: 10px;
}
input:focus, textarea:focus {
  outline: 2px solid #176a3f;
  border-color: #c88a24;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  color: #176a3f;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; line-height: 1.2; }
h2 { font-size: 2rem; line-height: 1.3; }
h3 { font-size: 1.3rem; line-height: 1.4; }
h4 { font-size: 1.1rem; }
p, li, label { color: #233d2d; font-size: 1rem; }
p:not(:last-child) { margin-bottom: 16px; }
strong { color: #176a3f; font-weight: 700; }

/* ====== LAYOUT CONTAINERS & FLEXBOX ====== */
.container {
  width: 100%;
  max-width: 1080px;
  padding: 0 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 16px rgba(37,71,48,0.07);
}
.text-section {
  padding: 40px 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

/* ====== HEADER & NAVIGATION ====== */
header {
  background: linear-gradient(90deg, #eef5db 0%, #ffffff 70%, #eafec8 100%);
  box-shadow: 0 4px 12px 0 rgba(37, 71, 48, 0.05);
  position: relative;
  z-index: 20;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 20px;
}
.logo img {
  height: 48px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #176a3f;
  padding: 8px 14px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #eef5db;
  color: #c88a24;
}
.cta {
  display: inline-block;
  background: #176a3f;
  color: #fff;
  border-radius: 24px;
  padding: 12px 32px;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 2px 10px rgba(43,102,64,0.08);
  letter-spacing: 0.04em;
  transition: background 0.2s, box-shadow 0.2s, color 0.18s;
  border: none;
  margin-left: 4px;
}
.cta.primary {
  background: linear-gradient(90deg, #176a3f 80%, #c88a24 100%);
  color: #fff;
}
.cta:hover, .cta:focus {
  background: #c88a24;
  color: #fff;
  box-shadow: 0 6px 24px rgba(109,119,62,0.12);
}

/* Burger/mobile menu */
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  color: #176a3f;
  background: transparent;
  border-radius: 8px;
  padding: 6px 16px;
  margin-left: 16px;
  transition: background 0.2s;
  z-index: 201;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #eef5db;
}

/* ====== MOBILE MENU STYLES ====== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 0 60px 8px rgba(24, 59, 34, 0.11);
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(.38,1.2,.38,1);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 0;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  font-size: 2.6rem;
  color: #176a3f;
  margin: 24px 24px 12px 0;
  border-radius: 12px;
  padding: 4px 14px;
  transition: background 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #eef5db;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 30px 32px 0 32px;
  font-size: 1.2rem;
}
.mobile-nav a {
  color: #176a3f;
  font-weight: 600;
  padding: 10px 0;
  letter-spacing: 0.01em;
  border-radius: 8px;
  width: 100%;
  transition: background .18s, color .16s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #eef5db;
  color: #c88a24;
}

/* ======= HERO SECTION ======= */
.hero {
  background: linear-gradient(100deg, #eef5db 65%, #c88a24 176px, #ffeac2 100%);
  padding: 56px 0 36px 0;
}
.hero .container {
  justify-content: center;
  align-items: flex-start;
  gap: 0;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 20px;
}
.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 4px;
}
@media (min-width:600px) {
  .hero h1 { font-size: 2.7rem; }
}
.hero p {
  font-size: 1.2rem;
}
.hero .cta {
  margin-top: 12px;
  font-size: 1.1rem;
}

/* ======= SECTION FLEX & CARDS ======= */
.features, .services, .testimonials, .blog-preview, .benefit-grid, .plan-cards, .recipe-cards {
  background: transparent;
  margin-bottom: 60px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
  justify-content: space-between;
}
.feature-grid li {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 rgba(56, 90, 41, 0.10);
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 310px;
  padding: 28px 22px 26px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: box-shadow .23s;
}
.feature-grid li:hover, .feature-grid li:focus-within {
  box-shadow: 0 8px 30px 6px rgba(200,138,36,0.13);
}
.feature-grid img {
  width: 48px;
  height: 48px;
}

.services ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 16px 0 24px 0;
}

.benefit-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 22px 0 5px 0;
}
.benefit-grid li {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(56, 90, 41, 0.09);
  flex: 1 1 220px;
  min-width: 170px;
  max-width: 280px;
  padding: 22px 18px 20px 18px;
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1rem;
  margin-bottom: 20px;
}

.recipe-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.recipe-cards li {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(56, 90, 41, 0.08);
  flex: 1 1 240px;
  min-width: 180px;
  max-width: 320px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 20px;
  transition: box-shadow .18s;
}
.recipe-cards li:hover, .recipe-cards li:focus-within {
  box-shadow: 0 8px 24px 4px rgba(200,138,36,0.15);
}

.category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 8px 0 16px 0;
}
.category-filter li a {
  background: #eef5db;
  color: #176a3f;
  border-radius: 8px;
  padding: 7px 18px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: background 0.16s, color 0.16s;
  border: 1.5px solid transparent;
}
.category-filter li a:hover, .category-filter li a:focus {
  background: #c88a24;
  color: #fff;
  border-color: #c88a24;
}

.plan-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 18px 0 30px 0;
  justify-content: flex-start;
}
.plan-cards > div {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 18px 0 rgba(37, 71, 48, 0.09);
  flex: 1 1 220px;
  min-width: 180px;
  max-width: 320px;
  padding: 28px 22px 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  align-items: flex-start;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow .22s;
}
.plan-cards > div:hover, .plan-cards > div:focus-within {
  box-shadow: 0 10px 34px 8px rgba(200,138,36,0.14);
}
.price {
  margin-top: 16px;
  font-weight: 800;
  font-size: 1.35rem;
  color: #c88a24;
  letter-spacing: .08em;
}

.step-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 6px;
  margin-bottom: 20px;
}

.nutrition-facts {
  margin-bottom: 20px;
  display: flex;
  flex-direction: row;
  gap: 22px;
  flex-wrap: wrap;
}
.nutrition-facts ul {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.nutrition-facts li {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 8px 0 rgba(37,71,48,0.07);
  padding: 12px 20px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 150px;
}

/* ======= TESTIMONIAL CARDS ======== */
.testimonials {
  margin-bottom: 60px;
}
.testimonials .content-wrapper {
  gap: 24px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(87deg, #fff 86%, #eef5db 100%);
  padding: 20px 30px;
  border-radius: 16px;
  box-shadow: 0 3px 18px 0 rgba(43,102,64,0.07);
  margin-bottom: 20px;
  color: #233d2d;
  transition: box-shadow 0.18s, background 0.18s;
}
.testimonial-card p {
  font-size: 1.08rem;
  color: #176a3f;
  margin-bottom: 8px;
}
.testimonial-card div {
  font-size: 1rem;
  color: #233d2d;
  font-style: italic;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 8px 32px 2px rgba(200,138,36,0.12);
  background: #fffbe5;
}

/* ======= LEGAL/TEXT PAGES ======= */
.legal {
  margin-top: 20px;
  margin-bottom: 60px;
}
.text-section ul, .content-wrapper ul {
  list-style-type: none;
  padding-left: 0;
  margin-left: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.text-section ul li, .content-wrapper ul li {
  position: relative;
  padding-left: 0;
  color: #233d2d;
  line-height: 1.7;
  font-size: 1rem;
}
.text-section ul li img, .content-wrapper ul li img {
  margin-right: 7px;
  vertical-align: middle;
  height: 1.4em;
}
.legal a {
  color: #c88a24;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.15s;
}
.legal a:hover {
  color: #176a3f;
}

/* ======== FOOTER STYLES ========= */
footer {
  background: linear-gradient(92deg, #eef5db 78%, #176a3f 100%);
  padding: 44px 0 24px 0;
  box-shadow: 0 -4px 18px 0 rgba(43,102,64,0.05);
}
footer .container {
  flex-direction: column;
  gap: 22px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
  margin-bottom: 18px;
}
.footer-nav a {
  color: #176a3f;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 8px;
  padding: 7px 12px;
  transition: background 0.15s, color 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #fff;
  color: #c88a24;
}
.footer-contact {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #707f62;
}
.footer-contact div {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-contact img {
  width: 1.2em;
  height: 1.2em;
  margin-right: 0;
}
.footer-brand {
  text-align: center;
  font-size: 0.94rem;
  color: #64775d;
  margin-top: 10px;
}

/* ====== THANK YOU PAGE ====== */
.thank-you {
  margin-top: 56px;
}

/* ====== SPACING UTILITIES (and MANDATORY) ====== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(56, 90, 41, 0.10);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ====== RESPONSIVE DESIGN ====== */
@media (max-width: 1050px) {
  .container { max-width: 94vw; }
  .feature-grid li, .benefit-grid li, .plan-cards > div, .recipe-cards li {
    min-width: 160px;
    max-width: 100%;
  }
}
@media (max-width: 900px) {
  .feature-grid, .benefit-grid, .plan-cards, .recipe-cards {
    gap: 16px;
  }
  .footer-contact {
    gap: 10px;
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  .section {
    padding: 30px 9px;
    margin-bottom: 48px;
  }
  .hero {
    padding: 36px 0 20px 0;
  }
  .hero h1 { font-size: 1.55rem; }
  .main-nav {
    display: none;
  }
  .cta {
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 18px;
  }
  header .container {
    padding: 10px 9px;
    gap: 8px;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .text-image-section, .content-grid, .card-container, .plan-cards, .feature-grid, .benefit-grid, .recipe-cards {
    flex-direction: column !important;
    gap: 16px !important;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 13px;
    gap: 8px;
  }
  .footer-contact {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  .footer-nav {
    gap: 8px;
  }
  .container {
    padding: 0 8px;
  }
  .category-filter {
    gap: 8px;
  }
}
@media (max-width: 480px) {
  h1 { font-size: 1.3rem; }
  h2 { font-size: 1.1rem; }
  .section, .text-section { padding: 18px 0; }
}

/* ====== BUTTONS, HOVERS, INTERACTIONS ====== */
button, .cta, .category-filter li a {
  transition: background 0.19s, color 0.2s, box-shadow 0.17s, border 0.19s;
}
.cta:active {
  scale: 0.96;
}
.card:focus-within, .plan-cards > div:focus-within {
  box-shadow: 0 0 0 3px #e4c766;
}
input[type="text"] {
  width: 98%;
  max-width: 480px;
  margin: 16px 0 16px 0;
  border: 1.5px solid #dce5c7;
  border-radius: 7px;
  transition: border 0.17s, box-shadow 0.17s;
}
input[type="text"]:focus {
  border: 1.5px solid #c88a24;
  box-shadow: 0 2px 6px #ead36b44;
}

/* ====== COOKIE CONSENT BANNER & MODAL ====== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #fffbe5;
  color: #233d2d;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -4px 30px #d7b13b22;
  border: 1.5px solid #c88a24;
  padding: 22px 18px 17px 22px;
  width: 98vw;
  max-width: 560px;
  margin: 0 auto 18px auto;
  z-index: 5000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 17px;
  animation: cookie-slide-in .5s ease;
}
@keyframes cookie-slide-in {
  from { transform: translateY(36px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner-buttons {
  display: flex;
  gap: 12px;
  margin-top: 2px;
}
.cookie-banner .cookie-btn, .cookie-banner .cookie-settings-btn {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 12px;
  padding: 10px 18px;
  border: none;
  outline: none;
  box-shadow: 0 2px 12px 0 rgba(200,138,36,0.09);
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s, color 0.15s;
}
.cookie-btn.accept {
  background: #176a3f;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #c88a24;
}
.cookie-btn.reject {
  background: #fff;
  color: #c88a24;
  border: 1.2px solid #c88a24;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #e6b44f1e;
  color: #176a3f;
}
.cookie-settings-btn {
  background: #eef5db;
  color: #176a3f;
  border: 1.2px solid #dce5c7;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #c88a24;
  color: #fff;
  border: 1.2px solid #c88a24;
}

/* ------ COOKIE MODAL ------ */
.cookie-modal {
  position: fixed;
  left: 0; right: 0;
  top: 0; bottom: 0;
  z-index: 5100;
  background: rgba(32,45,26,0.46);
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s .3s, opacity .3s;
}
.cookie-modal.active {
  visibility: visible;
  opacity: 1;
  transition: opacity .34s;
}
.cookie-modal-content {
  background: #fffbe5;
  border-radius: 23px;
  max-width: 430px;
  padding: 30px 28px 24px 26px;
  box-shadow: 0 10px 42px 12px #d7b13b29;
  border: 1.5px solid #c88a24;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modal-pop .36s cubic-bezier(.32,1.43,.58,1) both;
}
@keyframes modal-pop {
  0% { transform: scale(0.89); opacity: 0; }
  100% { transform: scale(1);   opacity: 1; }
}
.cookie-modal-close {
  align-self: flex-end;
  color: #c88a24;
  font-size: 2rem;
  background: none;
  border-radius: 7px;
  padding: 3px 11px;
  margin: -15px -12px 1px 0;
  cursor: pointer;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #d7b13b28;
}
.cookie-preference-category {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1rem;
  margin: 9px 0;
}
.cookie-toggle {
  width: 38px;
  height: 22px;
  background: #dce5c7;
  border-radius: 14px;
  position: relative;
  cursor: pointer;
  transition: background .2s;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-toggle-slider {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 5px rgba(26,43,32,0.09);
  transition: left .2s, background .2s;
}
.cookie-toggle input:checked + .cookie-toggle-slider {
  left: 18px;
  background: #c88a24;
}
.cookie-category-desc { font-size: .98em; color: #6b7256; margin-top: 4px; }
.cookie-essential { font-weight: 700; color: #176a3f; margin-left: 7px; }

@media (max-width:600px) {
  .cookie-modal-content {
    max-width: 96vw;
    padding: 19px 10px 18px 11px;
    border-radius: 14px;
  }
  .cookie-banner {
    max-width: 99vw;
    min-width: 0;
    border-radius: 8px 8px 0 0;
    padding: 13px 6px 10px 9px;
  }
  .cookie-banner-buttons {
    gap: 8px;
  }
}

/* ======= OTHER MICRO-INTERACTIONS ======= */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-thumb {
  background: #eef5db;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: #c2d9b4;
}

::selection {
  background: #c88a24;
  color: #fff;
}

/* ======= VISIBILITY HELPERS ======= */
[hidden] { display: none !important; }

/* ======= PRINT STYLES (BASIC) ======= */
@media print {
  header, nav, .mobile-menu, .cta, .cookie-banner, .cookie-modal, footer { display: none !important; }
  body { background: #fff !important; color: #233d2d !important; }
}

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