/* ===============================
   CSS RESET & BASE NORMALIZATION
   =============================== */
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 {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background: #F5F3EA;
  color: #2E2B2B;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #2E2B2B;
  text-decoration: none;
  transition: color 0.18s;
}
a:focus {
  outline: 2px solid #277240;
  outline-offset: 2px;
}
button {
  font-family: inherit;
  border: none;
  background: transparent;
  cursor: pointer;
}
ul, ol {
  padding-left: 1.4em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 0.5em;
}

/* ========================================
   CUSTOM PROPERTIES FOR COLOR & SPACING
   ======================================== */
:root {
  --color-primary: #2E2B2B; /* Charcoal/Dark brown (earth base) */
  --color-secondary: #DFC18F; /* Warm beige/gold */
  --color-accent: #F5F3EA;   /* Light stone, main background */
  --color-green: #277240;    /* Organic, leaf/forest */
  --color-sand: #e6dcc2;     /* Sand undertone */
  --color-shadow: rgba(46,43,43,0.12);
  --color-shadow-dark: rgba(46,43,43,0.18);
  --color-text-light: #fff;
  --color-input-border: #e1dbc9;

  --radius-card: 18px;
  --radius-btn: 28px;
  --radius-full: 999px;

  --space-xxs: 8px;
  --space-xs: 16px;
  --space-s: 20px;
  --space-m: 24px;
  --space-l: 32px;
  --space-xl: 40px;
  --space-xxl: 60px;

  --trans-fast: 0.18s cubic-bezier(0.4, 0.1, 0.2, 1);
  --trans-smooth: 0.42s cubic-bezier(0.33,1,0.68,1);
}

/* ========================
   GOOGLE FONTS
   ======================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Playfair+Display:wght@700&display=swap');

/* ========================
   CONTAINER & LAYOUT
   ======================== */
.container {
  max-width: 1220px;
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--space-s);
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--space-l);
  width: 100%;
}
.section {
  margin-bottom: var(--space-xxl);
  padding: var(--space-xl) var(--space-s);
  background: none;
  width: 100%;
}
.text-section {
  margin-bottom: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-m);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-m);
}
.card {
  margin-bottom: var(--space-s);
  background: var(--color-accent);
  border-radius: var(--radius-card);
  box-shadow: 0 2px 8px var(--color-shadow);
  padding: var(--space-m);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  min-width: 260px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-s);
  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: var(--space-s);
  padding: var(--space-s);
  background: var(--color-sand);
  border-radius: var(--radius-card);
  box-shadow: 0 1px 7px var(--color-shadow-dark);
  margin-bottom: var(--space-m);
  min-width: 240px;
}
.testimonial-author {
  margin-left: var(--space-xs);
  font-size: 1.1em;
  font-weight: 600;
  color: var(--color-green);
  font-family: 'Playfair Display', serif;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-m);
  justify-content: flex-start;
}
.feature-grid > div {
  flex: 1 1 250px;
  background: var(--color-accent);
  border-radius: var(--radius-card);
  box-shadow: 0 2px 8px var(--color-shadow);
  padding: var(--space-m);
  margin-bottom: var(--space-s);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 210px;
  transition: box-shadow var(--trans-smooth);
}
.feature-grid > div:hover {
  box-shadow: 0 4px 18px var(--color-shadow-dark);
}

/* ========================
   HERO SECTION
   ======================== */
.hero {
  padding: var(--space-xxl) 0 var(--space-xl) 0;
  background: linear-gradient(120deg, #e6dcc2 74%, #f5f3ea 100%);
  border-bottom-left-radius: 120px 54px;
  border-bottom-right-radius: 80px 24px;
  box-shadow: 0 4px 36px var(--color-shadow-dark);
  margin-bottom: var(--space-xxl);
  width: 100%;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  line-height: 1.18;
  color: var(--color-green);
  font-weight: 700;
  margin-bottom: var(--space-xs);
  text-shadow: 0 1px 0 #e6dcc2;
}
.hero .subheadline {
  font-size: 1.2rem;
  color: var(--color-primary);
  margin-bottom: var(--space-s);
}
.hero .cta {
  margin-top: var(--space-m);
}

/* ========================
   TYPOGRAPHY
   ======================== */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: var(--color-green);
  font-weight: 700;
  letter-spacing: -1px;
}
h1 {
  font-size: 2.2rem;
  margin-bottom: var(--space-s);
}
h2 {
  font-size: 1.7rem;
  margin-bottom: var(--space-m);
}
h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-xs);
}
h4 {
  font-size: 1.05rem;
}
p, li {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--color-primary);
  font-size: 1rem;
}
strong {
  font-weight: 700;
}
.subheadline {
  font-size: 1.14rem;
  color: var(--color-primary);
}

/* ========================
   BUTTONS & CTA
   ======================== */
.cta {
  display: inline-block;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: var(--space-xs) var(--space-l);
  border-radius: var(--radius-btn);
  box-shadow: 0 2px 8px var(--color-shadow);
  transition: background var(--trans-fast), color var(--trans-fast);
  margin-right: var(--space-xs);
  cursor: pointer;
  border: 2px solid var(--color-green);
  position: relative;
}
.cta.primary {
  background: var(--color-green);
  color: var(--color-text-light);
  border: 2px solid var(--color-green);
}
.cta.primary:hover, .cta.primary:focus {
  background: #357c4d;
  color: #fff;
  box-shadow: 0 4px 16px var(--color-shadow-dark);
}
.cta.secondary {
  background: var(--color-accent);
  color: var(--color-green);
  border: 2px solid var(--color-green);
}
.cta.secondary:hover, .cta.secondary:focus {
  background: var(--color-green);
  color: #fff;
  box-shadow: 0 3px 12px var(--color-shadow-dark);
}

/* ========================
   HEADER & NAVIGATION
   ======================== */
header {
  width: 100%;
  background: var(--color-accent);
  box-shadow: 0 2px 8px var(--color-shadow-dark);
  position: relative;
  z-index: 60;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-xs) var(--space-s);
  gap: var(--space-xs);
}
header img {
  max-width: 148px;
  min-width: 88px;
  height: auto;
}
.main-nav {
  display: flex;
  gap: var(--space-m);
  align-items: center;
}
.main-nav a {
  position: relative;
  font-weight: 600;
  color: var(--color-green);
  padding: 6px 0;
  transition: color var(--trans-fast);
}
.main-nav a::after {
  content: '';
  display: block;
  height: 2px;
  background: var(--color-green);
  width: 0;
  position: absolute;
  left: 0; bottom: -3px;
  transition: width 0.22s cubic-bezier(0.4,0.1,0.2,1);
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-primary);
}
.main-nav a:hover::after, .main-nav a:focus::after {
  width: 100%;
}
.mobile-menu-toggle {
  display: none;
  background: var(--color-green);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  border-radius: var(--radius-full);
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  transition: background var(--trans-fast);
  z-index: 90;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #357c4d;
}

/* ==========================
   MOBILE MENU & NAVIGATION
   ========================== */
.mobile-menu {
  position: fixed;
  background: var(--color-accent);
  top: 0; left: 0;
  height: 100vh;
  width: 96vw;
  max-width: 340px;
  z-index: 140;
  display: flex;
  flex-direction: column;
  transform: translateX(-120%);
  transition: transform 0.45s cubic-bezier(0.33,1,0.68,1);
  box-shadow: 0 2px 28px var(--color-shadow-dark);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--color-green);
  color: #fff;
  font-size: 2.1rem;
  margin: var(--space-xs) var(--space-m) 0 0;
  padding: 2px 13px 4px 13px;
  border-radius: var(--radius-full);
  border: none;
  transition: background var(--trans-fast);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #357c4d;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-m);
  margin: var(--space-l) var(--space-m);
}
.mobile-nav a {
  font-size: 1.18rem;
  color: var(--color-green);
  font-weight: 600;
  padding: var(--space-xs) 0;
  border-radius: var(--radius-btn);
  transition: background var(--trans-fast), color var(--trans-fast);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #e1eddf;
  color: var(--color-primary);
  outline: none;
}

/* ============
   MAIN & FOOTER
   ============ */
main {
  width: 100%;
  margin-top: 0;
}
footer {
  background: var(--color-accent);
  padding: var(--space-xxl) 0 var(--space-xl) 0;
  border-top-left-radius: 70px 36px;
  border-top-right-radius: 120px 42px;
  box-shadow: 0 -4px 32px var(--color-shadow);
  margin-top: var(--space-xxl);
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-l);
  flex-wrap: wrap;
}
.footer-logo img {
  width: 71px;
  min-width: 56px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-top: 0.5em;
}
.footer-nav a {
  color: var(--color-green);
  font-weight: 600;
  transition: color var(--trans-fast);
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-primary);
}
.contact-footer {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  font-size: 0.95em;
  color: var(--color-primary);
}
.contact-footer div {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ==============
   BLOG & LISTS
   ==============
*/
.blog-summary-list {
  list-style: disc inside;
  margin-bottom: var(--space-m);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}
.blog-summary-list li {
  padding-left: var(--space-s);
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
}
.social-links {
  display: flex;
  gap: var(--space-m);
  flex-wrap: wrap;
  margin-bottom: var(--space-l);
}
.social-links a {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #e6dcc2;
  color: var(--color-green);
  padding: 7px 18px 7px 12px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 1px 6px var(--color-shadow);
  transition: background var(--trans-fast), color var(--trans-fast);
}
.social-links a:hover, .social-links a:focus {
  background: var(--color-green);
  color: #fff;
  outline: none;
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-l);
  margin-bottom: var(--space-l);
  align-items: flex-start;
}
.contact-details > div {
  flex: 1 1 180px;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

/* ========================
   RESPONSIVE DESIGN
   ======================== */
@media (max-width: 1020px) {
  .container {
    max-width: 96vw;
  }
}
@media (max-width: 968px) {
  .feature-grid {
    gap: var(--space-s);
  }
  .footer-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--space-xs);
  }
  footer .container {
    flex-direction: column;
    gap: var(--space-m);
    align-items: flex-start;
  }
  .contact-footer {
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--space-s);
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .container {
    padding: 0 var(--space-xs);
  }
  .feature-grid {
    flex-direction: column;
    gap: var(--space-m);
  }
  .content-wrapper {
    gap: var(--space-m);
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-m);
  }
  .section {
    padding: var(--space-m) var(--space-xs);
  }
  .hero {
    padding: var(--space-xl) 0 var(--space-m) 0;
    border-bottom-left-radius: 54px 30px;
    border-bottom-right-radius: 31px 10px;
    margin-bottom: var(--space-xl);
  }
  .testimonial-card {
    flex-direction: column;
    gap: var(--space-xs);
    padding: var(--space-xs);
  }
  .card-container {
    flex-direction: column;
    gap: var(--space-m);
  }
  .content-grid {
    flex-direction: column;
    gap: var(--space-m);
  }
  .contact-details {
    flex-direction: column;
    gap: var(--space-m);
  }
  .social-links {
    flex-direction: column;
    gap: var(--space-xs);
  }
}
@media (max-width: 500px) {
  .hero h1,
  h1 {
    font-size: 1.28rem;
  }
  h2 {
    font-size: 1.08rem;
  }
  .footer-logo img {
    width: 46px;
  }
}

/* ==============
   HOVER & ACTIVE
   ==============
*/
.card,
.feature-grid > div,
.testimonial-card {
  transition: box-shadow var(--trans-fast), transform var(--trans-fast);
}
.card:hover, .feature-grid > div:hover, .testimonial-card:hover {
  box-shadow: 0 8px 24px var(--color-shadow-dark);
  transform: translateY(-3px);
}

/* ================================
   COOKIE CONSENT BANNER + MODAL
   ================================ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  padding: var(--space-s) var(--space-m);
  background: var(--color-sand);
  box-shadow: 0 -2px 24px var(--color-shadow);
  display: flex;
  flex-direction: row;
  gap: var(--space-xl);
  align-items: center;
  z-index: 2000;
  font-size: 1rem;
  animation: cookie-banner-slidein var(--trans-smooth) 1;
}
@keyframes cookie-banner-slidein {
  0% { transform: translateY(140%); }
  100% { transform: translateY(0); }
}
.cookie-banner__text {
  flex: 2 1 330px;
  color: var(--color-primary);
  margin-right: var(--space-s);
}
.cookie-banner__actions {
  display: flex;
  gap: var(--space-xs);
  flex-wrap: wrap;
  align-items: center;
}
.cookie-btn {
  display: inline-block;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-btn);
  padding: var(--space-xs) var(--space-m);
  background: var(--color-green);
  color: #fff;
  border: none;
  margin-right: var(--space-xs);
  transition: background var(--trans-fast), box-shadow var(--trans-fast), color var(--trans-fast);
  box-shadow: 0 1px 6px var(--color-shadow);
}
.cookie-btn.secondary {
  background: var(--color-accent);
  color: var(--color-green);
  border: 1.5px solid var(--color-green);
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: var(--color-green);
  color: #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #357c4d;
  color: #fff;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: var(--space-s);
    padding: var(--space-xs) var(--space-xs);
    font-size: 0.9rem;
  }
  .cookie-banner__text {
    margin-right: 0;
    margin-bottom: var(--space-xs);
  }
  .cookie-banner__actions {
    justify-content: flex-start;
    gap: var(--space-xxs);
  }
}

.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(46,43,43,0.28);
  animation: cookie-modal-fadein var(--trans-smooth) 1;
}
@keyframes cookie-modal-fadein {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal__dialog {
  background: var(--color-accent);
  border-radius: var(--radius-card);
  box-shadow: 0 1px 20px var(--color-shadow-dark);
  max-width: 97vw;
  width: 370px;
  padding: var(--space-l) var(--space-m);
  display: flex;
  flex-direction: column;
  gap: var(--space-m);
  position: relative;
}
.cookie-modal__close {
  position: absolute;
  top: var(--space-xs);
  right: var(--space-xs);
  background: var(--color-green);
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  font-size: 1.25rem;
  padding: 3px 10px 5px 10px;
  cursor: pointer;
}

.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 1rem;
  color: var(--color-green);
  font-weight: 600;
  border-bottom: 1px solid var(--color-input-border);
  padding-bottom: 3px;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--color-green);
  width: 18px;
  height: 18px;
}
.cookie-category.essential input[type="checkbox"] {
  accent-color: #828282;
  pointer-events: none;
}
.cookie-modal__actions {
  display: flex;
  gap: var(--space-xs);
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* ===========
   FORMS/INPUTS
   =========== */
input, textarea {
  border: 1.5px solid var(--color-input-border);
  border-radius: var(--radius-btn);
  padding: var(--space-xs) var(--space-m);
  background: #fff;
  color: var(--color-primary);
  font-family: inherit;
  font-size: 1rem;
  margin-bottom: var(--space-xs);
  transition: border-color var(--trans-fast), box-shadow var(--trans-fast);
  width: 100%;
}
input:focus, textarea:focus {
  border-color: var(--color-green);
  outline: none;
  box-shadow: 0 1px 8px var(--color-shadow);
}
label {
  font-family: inherit;
  font-weight: 600;
  color: var(--color-green);
}

/* ============================
   ORGANIC/ARTISANAL ACCENTS
   ============================ */
.hero, footer {
  position: relative;
  overflow-x: clip;
}
.hero::before, footer::after {
  content: '';
  position: absolute;
  border-radius: 120px 80px 24px 54px/60px 34px 30px 106px;
  width: 240px;
  height: 72px;
  background: #d2e6d1;
  opacity: 0.14;
  top: 36px; left: -60px;
  pointer-events: none;
  z-index: 0;
  transform: rotate(-8deg);
}
footer::after {
  left: unset;
  right: -71px;
  top: 97px;
  width: 170px;
  height: 67px;
  background: #e6dcc2;
  opacity: 0.18;
}

/* ===============
   UTILITIES
   =============== */
.mt-l { margin-top: var(--space-l); }
.mb-xl { margin-bottom: var(--space-xl); }
.text-center { text-align: center; }
.bg-sand { background-color: var(--color-sand); }
.rounded { border-radius: var(--radius-card); }

/* ===============
   ACCESSIBILITY
   =============== */
:focus-visible {
  outline: 2.5px solid var(--color-green);
  outline-offset: 1.5px;
}

/* =====================
   VISUAL SEPARATORS
   ===================== */
hr {
  border: none;
  border-top: 1.5px solid var(--color-sand);
  margin: var(--space-xl) 0;
}

/* ===============
   PRINT OPTIMIZE
   =============== */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  body { color: #222 !important; background: #fff !important; }
}
