/* CSS RESET & BASE TYPOGRAPHY ------------------------------------------------------ */
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 {
  height: 100%;
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #EDE9DA;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #302015;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #A47551;
  text-decoration: none;
  transition: color 0.18s cubic-bezier(0.42, 0, 0.58, 1);
}
a:hover {
  color: #FF533D;
}
ul, ol {
  margin-left: 28px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 12px;
}

/* FONT FAMILIES */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Lora', Georgia, 'Times New Roman', serif;
  font-weight: bold;
  color: #5D432C;
  letter-spacing: 0.02em;
}
h1 {font-size: 2.6rem; line-height: 1.13; margin-bottom: 18px;}
h2 {font-size: 2rem; margin-bottom: 18px;}
h3 {font-size: 1.5rem; margin-bottom: 12px;}
h4 {font-size: 1.18rem;}
strong {font-weight: 700; color: #5D432C;}

/* CONTAINERS --------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 0;
}

/* CRITICAL SPACING & FLEX HANDLING ----------------------------------------- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(164, 117, 81, 0.12);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 24px 24px 24px;
  min-width: 260px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 12px 32px rgba(255, 83, 61, 0.16);
  z-index: 1;
}
.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: #F8F4E8;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(93, 67, 44, 0.15);
  margin-bottom: 20px;
  color: #312317;
  font-size: 1.05rem;
  font-style: italic;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HEADER & MAIN NAVIGATION ------------------------------------------------- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(164, 117, 81, 0.12);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 20;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 12px;
  padding: 0 18px;
}
.logo img {
  height: 48px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
  margin-left: 32px;
  flex: 1;
}
.main-nav a {
  color: #5D432C;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 7px 8px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover,
.main-nav a.active {
  background: #FF533D;
  color: #fff;
}
.cta-header {
  display: inline-block;
  margin-left: 20px;
  background: #FF533D;
  color: #fff;
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 1.12rem;
  padding: 10px 22px;
  border-radius: 999px;
  box-shadow: 0 2px 14px 0 rgba(255, 83, 61, 0.11);
  outline: none;
  border: none;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s;
}
.cta-header:hover,
.cta-header:focus {
  background: #A47551;
  color: #fff;
  box-shadow: 0 6px 20px rgba(255, 83, 61, 0.19);
}
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: #FF533D;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  margin-left: 14px;
  cursor: pointer;
  z-index: 65;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #A47551;
}

/* MOBILE NAVIGATION ------------------------------------------------------ */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: #fff;
  box-shadow: 0 12px 60px 5px rgba(93, 67, 44, 0.35);
  transform: translateX(105vw);
  transition: transform 0.38s cubic-bezier(0.9, 0.08, 0.06, 1.0);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 24px;
  z-index: 99;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #FF533D;
  color: #fff;
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  width: 48px; height: 48px;
  margin-left: 18px;
  margin-bottom: 18px;
  cursor: pointer;
  transition: background 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #A47551;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  padding: 0 24px;
}
.mobile-nav a {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  color: #5D432C;
  padding: 16px 0;
  border-bottom: 1px solid #EDE9DA;
  transition: color 0.15s, background 0.12s;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #FF533D;
  background: #FFF1EC;
  border-radius: 8px;
}


/* HERO & CTA SECTIONS ----------------------------------------------------- */
.hero, .recipes-hero, .blog-hero, .contact-hero, .thank-you-hero {
  background: #fff9f4;
  border-radius: 0px 0px 48px 48px;
  box-shadow: 0 10px 32px -11px rgba(255, 83, 61, 0.12);
  margin-bottom: 54px;
  padding: 56px 16px 54px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero h1, .recipes-hero h1, .blog-hero h1, .contact-hero h1, .thank-you-hero h1 {
  font-size: 2.8rem;
  color: #FF533D;
  text-shadow: 0 2px 10px #fff3e6;
  margin-bottom: 16px;
}
.hero p, .recipes-hero p, .blog-hero p, .contact-hero p, .thank-you-hero p {
  font-size: 1.22rem;
  color: #5D432C;
  margin-bottom: 32px;
  max-width: 600px;
}
.cta-main, .cta-secondary {
  display: inline-block;
  border-radius: 50px;
  background: #A47551;
  color: #fff !important;
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 1.25rem;
  padding: 15px 38px;
  margin-top: 12px;
  transition: background 0.18s, box-shadow 0.2s, transform 0.15s;
  box-shadow: 0 6px 24px 0 rgba(255, 83, 61, 0.12);
  border: none;
  outline: none;
  cursor: pointer;
  letter-spacing: 0.01em;
}
.cta-main {
  background: #FF533D;
  color: #fff;
}
.cta-main:hover,
.cta-secondary:hover,
.cta-main:focus,
.cta-secondary:focus {
  background: #FFB400;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 30px 0 rgba(255, 180, 0, 0.16);
}
.cta-box {
  background: #fff;
  margin-bottom: 60px;
  padding: 38px 24px 30px 24px;
  border-radius: 22px;
  box-shadow: 0 4px 20px 0 rgba(255, 83, 61, 0.10);
  text-align: center;
}
.cta-box h3 {
  color: #FF533D;
  font-size: 2rem;
  margin-bottom: 14px;
}
.cta-box p {
  color: #5D432C;
  font-size: 1.13rem;
  margin-bottom: 18px;
}

/* FEATURES, TEAM, ABOUT SECTIONS ------------------------------------------- */
.features ul, .about-intro ul, .values ul, .tips-list ul, .guide-steps ol, .faq ul, .recipe-list ul, .blog-posts ul {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 0 0 18px 0;
  list-style: none;
  padding: 0;
}
.features ul li, .about-intro ul li, .values ul li, .tips-list ul li, .guide-steps ol li, .faq ul li, .recipe-list ul li, .blog-posts ul li {
  background: #fff;
  border-radius: 16px;
  padding: 22px 20px 20px 20px;
  min-width: 245px;
  min-height: 130px;
  flex: 1 1 245px;
  box-shadow: 0 2px 12px 0 rgba(164, 117, 81, 0.07);
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 1.09rem;
  position: relative;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #312317;
  transition: box-shadow 0.18s, transform 0.13s;
}
.features ul li:hover, .tips-list ul li:hover, .recipe-list ul li:hover, .blog-posts ul li:hover {
  box-shadow: 0 8px 32px 0 rgba(255, 83, 61, 0.14);
  transform: translateY(-2px) scale(1.02);
}
.features ul li img {
  height: 38px;
  width: 38px;
  margin-bottom: 8px;
}
.features ul li strong {
  font-size: 1.10rem;
  color: #FF533D;
  margin-bottom: 6px;
}

/* INFOS/INFOS BOXES */
.infographic-summary {
  background: #FFF1EC;
  border-left: 6px solid #FF533D;
  padding: 18px 22px;
  border-radius: 12px;
  margin-bottom: 20px;
  margin-top: 22px;
  color: #5D432C;
  font-size: 1.09rem;
  box-shadow: 0 2px 10px 0 rgba(255, 83, 61, 0.10);
}

/* BLOG CATEGORIES */
.blog-categories ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.blog-categories a {
  background: #A47551;
  color: #fff;
  padding: 7px 20px;
  border-radius: 20px;
  font-size: 1.08rem;
  font-weight: 600;
  margin-bottom: 4px;
  transition: background 0.18s, color 0.18s;
}
.blog-categories a:hover {
  background: #FF533D;
}

/* LINKS TO GUIDES */
.links-to-guides ul {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  padding: 0;
}
.links-to-guides a {
  color: #FF533D;
  font-weight: 700;
  border-bottom: 2px solid #FF533D;
  transition: color 0.18s;
}
.links-to-guides a:hover {
  color: #A47551;
  border-bottom: 2px solid #A47551;
}

/* TESTIMONIALS ----------------- */
.testimonials h3 {
  color: #FF533D;
  margin-bottom: 18px;
  font-size: 1.45rem;
}
.testimonial-card strong {
  display: block;
  color: #A47551;
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 1.1rem;
  margin-left: 12px;
_}
.testimonial-card p {
  color: #312317;
  margin-bottom: 0;
  font-style: italic;
}

/* CONTACT/INFO CARDS ------------ */
.brand-contact {
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 1.02rem;
  color: #A47551;
}
.brand-contact p {
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand-contact img {
  height: 22px;
  width: 22px;
}
.privacy-note {
  background: #FFF1EC;
  color: #FF533D;
  font-size: 0.98rem;
  border-radius: 8px;
  padding: 8px 17px;
  margin-bottom: 16px;
  margin-top: 6px;
}
.privacy-note a {
  color: #A47551;
  font-weight: 700;
}

/* FOOTER -------------------------------------------------------- */
footer {
  background: #5D432C;
  color: #fff;
  padding: 40px 0 18px 0;
  margin-top: 56px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}
footer .content-wrapper {
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 48px;
}
footer nav.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
footer nav.footer-nav a {
  color: #fff;
  font-weight: 700;
  padding: 6px 0;
  font-size: 1rem;
  transition: color 0.15s;
}
footer nav.footer-nav a:hover {
  color: #FFB400;
}
footer small {
  color: #EDE9DA;
  margin-top: 20px;
  display: block;
  font-size: 0.98rem;
}

/* POLICY & TERMS/POLICY INFO ------------------------------------ */
.policy, .terms {
  background: #fff6ee;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(93, 67, 44, 0.11);
  padding: 38px 18px;
  margin-bottom: 50px;
}
.policy h1, .terms h1 {
  font-size: 2.2rem;
  margin-bottom: 18px;
  color: #FF533D;
}
.policy .text-section, .terms .text-section {
  font-size: 1.12rem;
  color: #5D432C;
}
.policy .text-section ul, .terms .text-section ul {
  gap: 16px;
}
.policy .text-section li, .terms .text-section li {
  background: none;
  border: none;
  padding: 0;
}

/* MODALS & COOKIES BANNER ---------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; width: 100vw;
  background: #fff;
  color: #312317;
  box-shadow: 0 -4px 24px 0 rgba(255, 83, 61, 0.16);
  z-index: 111;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 32px;
  border-radius: 22px 22px 0 0;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  animation: cookie-banner-in 0.68s cubic-bezier(0.84, 0.04, 0.18, 1.02);
}
@keyframes cookie-banner-in {
  from { transform: translateY(180px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 18px;
  align-items: center;
}
.cookie-banner button {
  padding: 8px 24px;
  border-radius: 24px;
  background: #A47551;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.16s, color 0.13s;
}
.cookie-banner .accept-btn { background: #FF533D; }
.cookie-banner .accept-btn:hover { background: #FFB400; color: #fff; }
.cookie-banner .reject-btn { background: #5D432C; }
.cookie-banner .reject-btn:hover { background: #A47551; color: #fff; }
.cookie-banner .settings-btn {
  background: #fff;
  color: #A47551;
  border: 2px solid #A47551;
  transition: background 0.13s, color 0.13s, border 0.13s;
}
.cookie-banner .settings-btn:hover { background: #FFF1EC; color: #FF533D; border: 2px solid #FF533D; }

.cookie-modal {
  z-index: 120;
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(30,20,10,0.48);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookie-modal-in 0.35s;
}
@keyframes cookie-modal-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  color: #312317;
  border-radius: 20px;
  padding: 38px 32px 24px 32px;
  box-shadow: 0 8px 25px 0 rgba(164, 117, 81, 0.18);
  min-width: 320px;
  max-width: 98vw;
  max-height: 94vh;
  overflow-y: auto;
  font-size: 1.09rem;
}
.cookie-modal-content h2 {
  color: #FF533D;
  font-size: 1.45rem;
  margin-bottom: 16px;
}
.cookie-modal-content ul {
  margin-left: 16px;
  margin-bottom: 20px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 9px;
}
.cookie-toggle {
  appearance: none;
  outline: none;
  width: 38px; height: 22px;
  background: #EDE9DA;
  border-radius: 20px;
  position: relative;
  cursor: pointer;
  transition: background 0.17s;
}
.cookie-toggle:checked {
  background: #FF533D;
}
.cookie-toggle:before {
  content: "";
  display: inline-block;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 2px; left: 2px;
  transition: left 0.13s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}
.cookie-toggle:checked:before {
  left: 18px;
}
.cookie-modal-close {
  position: absolute;
  top: 16px; right: 22px;
  background: #FF533D;
  color: #fff;
  font-size: 1.4rem;
  width: 40px; height: 40px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.15s;
}
.cookie-modal-close:hover { background: #A47551; }
.cookie-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  margin-top: 25px;
}
.cookie-modal-footer button {
  padding: 9px 24px;
  border-radius: 22px;
  font-weight: 700;
  font-size: 1rem;
}

/* ANIMATIONS, MICROINTERACTIONS ------------------------------------------ */
.card,
.features ul li,
.recipe-list ul li,
.testimonial-card,
.cta-main,
.cta-secondary {
  transition: box-shadow 0.22s, transform 0.16s, background 0.18s, color 0.17s;
}
.card:active,
.cta-main:active,
.cta-secondary:active {
  transform: scale(0.97);
}

/* RESPONSIVE: MOBILE FIRST! ----------------------------------------------- */
@media (max-width: 1024px) {
  .container {
    max-width: 92vw;
  }
  .footer .content-wrapper, footer .content-wrapper {
    flex-direction: column;
    gap: 28px;
  }
}
@media (max-width: 900px) {
  .features ul, .about-intro ul, .recipe-list ul, .blog-posts ul, .blog-categories ul {
    gap: 16px;
  }
  .footer .content-wrapper, footer .content-wrapper {
    flex-direction: column;
    gap: 12px;
  }
  .cta-box,
  .policy,
  .terms {
    padding-left: 12px;
    padding-right: 12px;
  }
}
@media (max-width: 850px) {
  .main-nav {
    gap: 13px;
    margin-left: 12px;
  }
  header .container {
    gap: 4px;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .container {
    padding: 0 6vw;
    max-width: 98vw;
  }
  footer .container {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
 }
  .hero, .recipes-hero, .blog-hero, .contact-hero, .thank-you-hero {
    border-radius: 0 0 22px 22px;
    padding: 32px 2vw 32px 2vw;
  }
  .features ul, .about-intro ul, .values ul, .tips-list ul, .recipe-list ul, .blog-categories ul {
    flex-direction: column;
    gap: 12px;
  }
  .section {
    margin-bottom: 40px;
    padding: 20px 6px;
  }
  .card-container, .content-grid {
    gap: 12px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 17px 10px;
    gap: 6px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 14px;
    align-items: center;
  }
  .cta-main, .cta-secondary {
    padding: 11px 18vw;
    font-size: 1.07rem;
  }
  .cta-header {
    padding: 9px 15px;
    margin-left: 8px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 16px 15px;
  }
}
@media (max-width: 530px) {
  html { font-size: 14px; }
  .container { padding: 0 4vw; max-width: 100vw; }
  header .container { padding: 0 8px; }
  .hero, .recipes-hero, .blog-hero, .contact-hero, .thank-you-hero {
    border-radius: 0;
    padding: 13vw 1vw 14vw 1vw;
  }
  .cta-main, .cta-secondary { font-size: 0.97rem; padding: 11px 10vw; }
  .cta-header { font-size: 1rem; padding: 7px 10px; }
  .policy, .terms { padding: 22px 4vw; }
}

/* UTILITY CLASSES ------------------------------------------------------------ */
.text-center { text-align: center; }
.mb-2 { margin-bottom: 8px !important; }
.mb-3 { margin-bottom: 16px !important; }
.mb-4 { margin-bottom: 28px !important; }
.mt-2 { margin-top: 8px !important; }
.mt-3 { margin-top: 16px !important; }
.mt-4 { margin-top: 28px !important; }

/* COLORFUL/VIBRANT MODIFICATIONS --------------------------------- */
.features ul li, .about-intro ul li, .values ul li, .tips-list ul li, .guide-steps ol li, .faq ul li, .recipe-list ul li, .blog-posts ul li {
  border-left: 6px solid #FF533D;
  background: #FFF1EC;
}
.features ul li strong, .tips-list ul li strong {
  color: #FF533D;
}
.cta-main, .cta-secondary, .cta-header {
  box-shadow: 0 4px 16px 0 rgba(255, 83, 61, 0.21);
}


/* SCROLLBAR (subtle/branded) -------------------------------------- */
body::-webkit-scrollbar {
  width: 12px;
  background: #FFF1EC;
}
body::-webkit-scrollbar-thumb {
  background: #FF533D;
  border-radius: 8px;
}

/* ACCESSIBILITY: FOCUS STATES ------------------------------------- */
a:focus, button:focus, .cta-main:focus, .cta-secondary:focus, .cookie-banner button:focus {
  outline: 3px solid #FFB400;
  outline-offset: 1px;
}

/* END --------------------------------------------------------------- */
