/* ============================
   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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #F4F2ED;
  color: #283233;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
  border: none;
}
*, *:before, *:after {
  box-sizing: inherit;
}
button, input, select, textarea {
  font: inherit;
  background: none;
  border: none;
  outline: none;
  color: inherit;
}

/* ============================
   BASE FONTS & BRAND VARIABLES
============================ */
:root {
  --primary: #2A7361;
  --primary-dark: #225f50;
  --secondary: #86B877;
  --accent: #F4F2ED;
  --text: #283233;
  --muted: #F0EDEA;
  --border: #E0DDD8;
  --white: #FFF;

  /* Font stacks for elegant classic */
  --font-display: 'Montserrat', 'Georgia', serif;
  --font-body: 'Open Sans', 'Georgia', serif;
  --font-serif: 'Georgia', serif;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  background: var(--accent);
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.18;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  margin-top: 0;
  margin-bottom: 28px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 24px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

p, li, blockquote {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 16px;
}
section ul,
section ol {
  padding-left: 22px;
}

blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--primary-dark);
  background: var(--muted);
  padding: 20px 34px 20px 28px;
  border-radius: 10px;
  border-left: 4px solid var(--secondary);
  margin: 0 0 15px;
}

/* ============================
   CONTAINER & SPACING LAYOUTS
============================ */
.container {
  max-width: 1040px;
  width: 100%;
  margin: 0 auto;
  padding: 0 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
main > section:not(:last-child) {
  border-bottom: 1px solid var(--border);
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 20px;
}

.feature-grid,
.value-grid,
.recipe-categories-grid,
.team-briefs,
.post-list,
.featured-recipes,
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}

/* For content lists using ULs */
ul.service-list,
ul.usp-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  flex-direction: column;
  margin: 0;
}

.service-list > li, .usp-list > li,
.feature-grid > div, .value-grid > div, .featured-recipes > div, .post-list > div, .team-briefs > div {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 15px;
  padding: 28px 22px 22px;
  min-width: 240px;
  flex: 1 1 310px;
  box-shadow: 0 2px 12px rgba(42, 115, 97, 0.05);
  position: relative;
  margin-bottom: 20px;
  transition: box-shadow 0.28s cubic-bezier(.4,.2,.2,1), transform 0.23s cubic-bezier(.55,.22,.22,1);
}
.feature-grid > div:hover, .value-grid > div:hover, .team-briefs > div:hover,
.featured-recipes > div:hover, .post-list > div:hover,
.service-list > li:hover {
  box-shadow: 0 6px 36px rgba(42, 115, 97, 0.13);
  transform: translateY(-3px) scale(1.01);
  z-index: 1;
}

/* ============================
   HEADER & NAVIGATION
============================ */
header {
  width: 100%;
  min-height: 64px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 10px 0 rgba(42,115,97,0.04);
  padding: 0 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

header > a > img { /* Logo */
  height: 44px;
  margin: 12px 20px 12px 0;
}
header nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
header nav a {
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--primary);
  padding: 6px 12px;
  border-radius: 8px;
  position: relative;
  transition: background 0.13s, color 0.13s;
}
header nav a:hover,
header nav a:focus {
  background: var(--secondary);
  color: var(--white);
}
.cta-btn {
  font-family: var(--font-display);
  font-size: 1.03rem;
  font-weight: 600;
  color: var(--white);
  background: var(--primary);
  border-radius: 8px;
  padding: 12px 28px;
  margin-left: 26px;
  border: none;
  cursor: pointer;
  box-shadow: 0 1px 3px 0 rgba(42, 115, 97, 0.07);
  transition: background 0.18s, color 0.18s, transform 0.14s;
  outline: none;
  display: inline-block;
  vertical-align: middle;
}
.cta-btn:hover,
.cta-btn:focus {
  background: var(--secondary);
  color: var(--primary);
  transform: translateY(-2px) scale(1.03);
}
/* Hamburger for mobile nav */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.0rem;
  cursor: pointer;
  color: var(--primary);
  margin-left: 22px;
  margin-right: 2px;
  border-radius: 50%;
  padding: 8px;
  transition: background 0.11s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--secondary);
  color: var(--white);
}

@media (max-width: 1024px) {
  header nav {
    gap: 20px;
  }
  .cta-btn {
    margin-left: 14px;
    padding: 12px 20px;
  }
}
@media (max-width: 870px) {
  header {
    flex-wrap: wrap;
    justify-content: flex-start;
    padding: 0 9px;
    min-height: 54px;
  }
  header nav {
    gap: 12px;
  }
  .cta-btn {
    margin-left: 5px;
    padding: 12px 12px;
  }
}
@media (max-width: 768px) {
  header nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    margin-left: auto;
    margin-right: 4px;
  }
}

/* ============================
   MOBILE MENU
============================ */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(44,53,39,0.65);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-100%);
  transition: opacity 0.23s cubic-bezier(.64,.08,.33,1), transform 0.31s cubic-bezier(.64,.08,.33,1);
}
.mobile-menu.open {
  pointer-events: auto;
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  padding: 14px 20px 4px 14px;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--white);
  cursor: pointer;
  transition: color 0.15s, background 0.13s;
  z-index: 3;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--secondary);
  background: rgba(255,255,255,0.08);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  background: var(--white);
  box-shadow: 0 2px 12px 0 rgba(42, 115, 97, 0.14);
  padding: 44px 20px 28px 30px;
  border-top-right-radius: 26px;
  height: 100%;
  min-width: 0;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.23rem;
  color: var(--primary);
  margin-bottom: 18px;
  border-radius: 8px;
  padding: 10px 8px;
  width: 100%;
  transition: background 0.13s, color 0.13s;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: var(--secondary);
  color: var(--white);
}
@media (max-width: 768px) {
  .mobile-menu {
    display: flex;
  }
}

/* ============================
   FOOTER STYLING
============================ */
footer {
  width: 100%;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -2px 24px 0 rgba(42,115,97,0.06);
  padding-top: 18px;
  padding-bottom: 8px;
}
footer .content-wrapper {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 30px 40px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 150px;
  margin-top: 5px;
}
.footer-nav a {
  color: var(--primary-dark);
  font-size: 1.01rem;
  opacity: 0.85;
  transition: opacity 0.11s;
}
.footer-nav a:focus, .footer-nav a:hover {
  opacity: 1.0;
}
.footer-brand img {
  height: 46px;
  display: block;
}
.footer-contact {
  font-size: 0.98rem;
  line-height: 1.5;
}
.footer-contact a {
  color: var(--primary);
  text-decoration: underline;
}
.footer-contact a:focus, .footer-contact a:hover {
  color: var(--secondary);
}
@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
  .footer-brand {
    margin: 10px 0;
  }
}

/* ============================
   CARDS & FLEXBOX PATTERNS
============================ */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 20px;
  padding: 22px 20px;
  position: relative;
  box-shadow: 0 2px 12px 0 rgba(42, 115, 97, 0.08);
  transition: box-shadow .23s cubic-bezier(.44,.13,.2,1), transform .14s cubic-bezier(.45,.19,.18,1);
}
.card:hover {
  box-shadow: 0 8px 38px rgba(42, 115, 97, 0.15);
  transform: translateY(-2px) scale(1.013);
  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;
}
@media (max-width: 768px) {
  .text-image-section, .feature-grid, .value-grid, .team-briefs, .featured-recipes, .post-list, .recipe-categories-grid, .content-grid, .card-container {
    flex-direction: column;
    gap: 18px;
  }
}
/* Testimonial card distinctiveness & high contrast */
.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 20px 28px 24px;
  background: var(--white);
  border: 1.5px solid var(--secondary);
  border-radius: 14px;
  min-width: 270px;
  box-shadow: 0 4px 28px 0 rgba(150,190,152,0.08);
  margin-bottom: 20px;
  transition: box-shadow .18s;
}
.testimonial-card blockquote {
  font-size: 1.07rem;
  color: var(--primary-dark);
  background: none;
  border: none;
  padding: 0;
  margin: 0 0 5px;
}
.testimonial-card .testimonial-name {
  font-family: var(--font-display);
  font-size: .98rem;
  color: var(--text);
  opacity: 0.85;
  text-align: right;
}
.testimonial-card:hover {
  box-shadow: 0 6px 32px 0 rgba(42, 115, 97, 0.18);
}

/* Feature Items */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* Recipe Category, Filters and Category-Tags */
.recipe-categories-grid > ul,
.category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.recipe-categories-grid ul li,
.category-tags span,
.quick-filters span {
  font-family: var(--font-display);
  background: var(--muted);
  border-radius: 8px;
  color: var(--primary);
  font-size: 1rem;
  padding: 7px 20px;
  margin-bottom: 7px;
  letter-spacing: .01em;
  transition: background .15s, color .15s;
}
.recipe-categories-grid ul li:hover,
.category-tags span:hover, .quick-filters span:hover {
  background: var(--secondary);
  color: var(--white);
}
.quick-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 11px;
}

/* ============================
   FORMS & BUTTONS
============================ */
button, .cta-btn {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: var(--font-display);
  font-weight: 600;
}
input[type="email"], input[type="text"], textarea {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1.03rem;
  outline: none;
  margin-bottom: 14px;
  transition: border .16s;
  background: var(--white);
  color: var(--text);
  width: 100%;
}
input[type="email"]:focus, input[type="text"]:focus, textarea:focus {
  border-color: var(--secondary);
}
.newsletter-form {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 12px;
  margin-top: 18px;
}
.newsletter-form input[type="email"] {
  max-width: 240px;
}
.newsletter-form button[type="submit"] {
  font-size: 1.03rem;
  background: var(--primary);
  color: var(--white);
  border-radius: 8px;
  padding: 12px 22px;
  transition: background .12s, color .12s, transform .11s;
}
.newsletter-form button[type="submit"]:hover,
.newsletter-form button[type="submit"]:focus {
  background: var(--secondary);
  color: var(--primary);
  transform: translateY(-2px) scale(1.03);
}
@media (max-width: 600px) {
  .newsletter-form {
    flex-direction: column;
    align-items: stretch;
    gap: 9px;
  }
}

/* ============================
   SPECIAL CLASSES FOR INFO
============================ */
.service-price {
  font-family: var(--font-display);
  font-size: 1.03rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--muted);
  border-radius: 8px;
  padding: 5px 16px;
  margin-top: 10px;
  display: inline-block;
  letter-spacing: .015em;
}

.static-map {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--muted);
  border-radius: 12px;
  padding: 16px 18px;
}
.static-map img {
  width: 70px;
  height: 70px;
}
.static-map p {
  margin: 0 0 0 0;
}

/* ============================
   ACCORDION & COLLAPSE
============================ */
/* Add if needed, no accordions in sample htmls */

/* ============================
   COOKIE CONSENT BANNER
============================ */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: var(--white);
  box-shadow: 0 -3px 18px 0 rgba(42,115,97,0.13);
  border-top: 1px solid var(--border);
  z-index: 5500;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 22px 12px 16px;
  gap: 28px;
  animation: cookie-slide-in 0.34s cubic-bezier(.4,.2,.2,1);
}
@keyframes cookie-slide-in {
  from {transform: translateY(100%);opacity:0;}
  to {transform: translateY(0);opacity:1;}
}
.cookie-banner__text {
  font-size: 1.01rem;
  color: var(--text);
  max-width: 450px;
}
.cookie-banner__actions {
  display: flex;
  gap: 14px;
  align-items: center;
}
.cookie-banner .cookie-btn {
  font-family: var(--font-display);
  font-size: 0.99rem;
  font-weight: 600;
  border-radius: 7px;
  padding: 9px 18px;
  transition: background 0.13s, color 0.13s, box-shadow 0.13s;
  border: 1.5px solid var(--primary);
  background: var(--secondary);
  color: var(--white);
  box-shadow: 0 1.5px 10px 0 rgba(42,115,97,0.06);
}
.cookie-banner .cookie-btn.cookie-settings {
  background: var(--white);
  color: var(--primary);
  border-color: var(--secondary);
}
.cookie-banner .cookie-btn:focus,
.cookie-banner .cookie-btn:hover {
  background: var(--primary);
  color:var(--white);
}
.cookie-banner .cookie-btn.cookie-settings:hover,
.cookie-banner .cookie-btn.cookie-settings:focus {
  background: var(--muted);
  color: var(--primary-dark);
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 16px 10px 20px 10px;
  }
  .cookie-banner__actions {
    gap: 7px;
  }
  .cookie-banner__text {
    font-size: 0.98rem;
    max-width: 100%;
  }
}

/* ============================
   COOKIE PREFERENCES MODAL
============================ */
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(42,51,33,0.42);
  z-index: 6000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.21s cubic-bezier(.4,.2,.2,1);
}
.cookie-modal.open {
  pointer-events: auto;
  opacity: 1;
}
.cookie-modal__content {
  background: var(--white);
  border: 1.5px solid var(--secondary);
  border-radius: 22px;
  max-width: 390px;
  min-width: 0;
  width: 88%;
  padding: 34px 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 8px 42px 0 rgba(42,115,97,.14), 0 1.5px 8px var(--muted);
  animation: cookie-modal-in 0.22s cubic-bezier(.4,.2,.2,1);
  position: relative;
}
@keyframes cookie-modal-in {
  from {transform: translateY(36px) scale(.95); opacity:0;}
  to {transform: translateY(0) scale(1); opacity:1;}
}
.cookie-modal__header {
  font-size:1.17rem;
  font-family:var(--font-display);
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
}
.cookie-modal__close {
  position: absolute;
  right: 14px;
  top: 12px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--secondary);
  cursor: pointer;
  transition: color 0.13s;
}
.cookie-modal__close:hover {
  color: var(--primary);
}
.cookie-modal__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  background: var(--muted);
  border-radius: 8px;
  padding: 11px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cookie-category-name {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--primary);
  font-weight: 500;
}
.cookie-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.cookie-toggle input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: var(--primary);
  outline: 2.5px solid var(--secondary);
  border-radius: 5px;
}
.cookie-modal__footer {
  margin-top: 18px;
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal__footer .cookie-btn {
  padding: 9px 18px;
  border-radius: 7px;
  font-size: 0.99rem;
}
@media (max-width: 600px) {
  .cookie-modal__content {
    padding: 21px 12px 18px;
    border-radius: 15px;
    width: 98%;
  }
}

/* ============================
   RESPONSIVE MEDIA QUERIES
============================ */
@media (max-width: 1140px) {
  .container {
    max-width: 94vw;
  }
}
@media (max-width: 900px) {
  h1 {font-size: 2.1rem;}
  h2 {font-size: 1.5rem;}
}
@media (max-width: 660px) {
  h1 {font-size: 1.45rem;}
  h2 {font-size: 1.13rem;}
}
@media (max-width: 768px) {
  .container {
    padding: 0 5px;
  }
  .section {
    margin-bottom: 32px;
    padding: 32px 6px;
  }
  .card, .testimonial-card, .feature-grid > div, .value-grid > div,
  .service-list > li, .usp-list > li, .team-briefs > div,
  .featured-recipes > div, .post-list > div {
    min-width: 0;
    width: 100%;
    padding: 16px 9px 14px;
  }
}

/* ============================
   UTILITY/HELPER CLASSES
============================ */
.hide { display: none !important; }
.text-center { text-align: center !important; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }

/******* END OF MAIN CSS *******/
