/* ============================================================
   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,
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-color: #F6F9F5;
  color: #2A3D21;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #215B1C;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #ECA66B;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 0.5em;
}

/* ============================================================
   FONTS (Brand)
   ============================================================ */
@import url('https://fonts.googleapis.com/css?family=Playfair+Display:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #22304A;
  margin-bottom: 16px;
  letter-spacing: 0.03em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
p {
  margin-bottom: 1em;
  font-size: 1.125rem;
}
strong {
  font-weight: 700;
}

/* ============================================================
   LAYOUT & SPACING (MANDATORY)
   ============================================================ */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #F6F9F5;
  border-radius: 32px 48px 40px 48px / 48px 32px 48px 40px;
  box-shadow: 0 4px 20px rgba(34, 48, 74, 0.07);
  position: relative;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/*
  Utility pattern for content-grid, cards, etc.
*/
.card-container,
.feature-grid,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  margin-top: 20px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #F0EBE1;
  color: #22304A;
  border-radius: 32px 16px 32px 16px / 16px 32px 16px 32px;
  box-shadow: 0 2px 12px rgba(44, 62, 35, 0.08);
  padding: 20px;
  min-width: 240px;
  flex: 1 1 260px;
  min-height: 120px;
  font-size: 1rem;
  margin-bottom: 20px;
}
.testimonial-card p {
  color: #3A5730;
  font-style: italic;
  margin-bottom: 10px;
}
.testimonial-card span {
  font-size: 0.93rem;
  color: #22304A;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #FAF8F3;
  border-radius: 25px 32px 18px 32px;
  box-shadow: 0 2px 14px rgba(60, 80, 40, 0.05);
  padding: 28px 20px 24px 20px;
  flex: 1 1 260px;
  min-width: 240px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.15s;
}
.feature-item img {
  width: 52px;
  height: 52px;
  margin-bottom: 10px;
}
.feature-item:hover {
  box-shadow: 0 6px 24px rgba(119, 150, 105, 0.11);
  transform: translateY(-3px) scale(1.03);
}
/****
 CTA Banner Section
******/
.cta-banner {
  background: #DEE6DA;
  border-radius: 36px 64px 36px 64px / 48px 40px 48px 36px;
  box-shadow: 0 4px 24px rgba(120,150,110,0.08);
  align-items: center;
  text-align: center;
  gap: 16px;
  margin-bottom: 0 !important;
}
.cta-banner .cta-btn {
  margin: 6px auto 0 auto;
}

/* ===================
   BUTTONS & INTERACTIONS
 =================== */
.cta-btn {
  display: inline-block;
  background: #215B1C;
  color: #F9F7EE;
  padding: 13px 38px;
  font-size: 1.15rem;
  border-radius: 32px 18px 18px 36px;
  border: none;
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 10px rgba(66, 100, 56, 0.10);
  margin-top: 8px;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s, transform 0.12s;
}
.cta-btn:hover, .cta-btn:focus {
  background: #ECA66B;
  color: #22304A;
  box-shadow: 0 5px 20px rgba(236,166,107,0.14);
  transform: translateY(-2px) scale(1.04);
}
button {
  font-family: inherit;
}

/* ===================
   HEADER & NAVIGATION
 =================== */
header {
  width: 100%;
  padding: 30px 0 18px 0;
  background: #F6F9F5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  position: relative;
  z-index: 150;
}
header > a img {
  height: 54px;
  width: auto;
  margin-right: 18px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
}
.main-nav a {
  font-family: 'Roboto', sans-serif;
  font-size: 1.04rem;
  color: #22304A;
  padding: 5px 12px;
  border-radius: 24px;
  transition: background 0.18s, color 0.18s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: #ECA66B;
  color: #22304A;
}
/* Hide mobile burger on desktop */
.mobile-menu-toggle {
  display: none;
}
/* ===================
   MOBILE NAVIGATION
 =================== */
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: fixed;
    top: 22px;
    right: 24px;
    background: #DEE6DA;
    border: none;
    color: #22304A;
    font-size: 2.3rem;
    z-index: 201;
    padding: 8px 14px 7px 14px;
    border-radius: 16px 36px 16px 16px;
    box-shadow: 0 2px 12px rgba(80,110,62,0.10);
    cursor: pointer;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  }
  .mobile-menu-toggle:focus {
    outline: 2px solid #ECA66B;
    outline-offset: 2px;
    background: #ECA66B;
    color: #215B1C;
  }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(223,235,214,0.97);
  box-shadow: 0 8px 38px rgba(34,48,74,0.20);
  z-index: 333;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.28s cubic-bezier(0.4,0.1,0.4,1);
  padding: 0 26px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: #ECA66B;
  color: #22304A;
  border: none;
  font-size: 1.7rem;
  border-radius: 16px 16px 36px 16px;
  padding: 4px 16px 7px 16px;
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
  z-index: 340;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #215B1C;
  color: #F9F7EE;
}
.mobile-nav {
  margin-top: 100px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.28rem;
  color: #22304A;
  background: #F6F9F5;
  padding: 12px 18px;
  border-radius: 22px;
  transition: background 0.18s, color 0.18s;
  font-weight: 500;
  min-width: 120px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #ECA66B;
  color: #22304A;
}
@media (min-width: 1025px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ======================
   MAIN & RESPONSIVE
 ====================== */
main {
  width: 100%;
  flex: 1 1 0;
  min-height: 500px;
  margin-bottom: 36px;
  margin-top: 20px;
}
section {
  margin-bottom: 60px;
  padding: 40px 0;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-section h3 {
  color: #39623E;
  font-size: 1.18rem;
  margin-bottom: 4px;
}

/****
  UL inside .content-wrapper
****/
.content-wrapper ul {
  margin-bottom: 14px;
  padding-left: 22px;
  color: #365126;
  font-size: 1.025rem;
  list-style-type: disc;
}

/****
   Footer
****/
footer {
  background: #DEE6DA;
  color: #22304A;
  padding: 36px 20px 26px 20px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: flex-start;
  border-radius: 44px 32px 44px 32px/32px 44px 32px 44px;
}
.footer-branding {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 500;
}
.footer-branding img {
  height: 48px;
}
.footer-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #22304A;
  text-decoration: underline;
  padding: 2px 12px;
  border-radius: 14px;
  transition: background 0.14s, color 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #ECA66B;
  color: #22304A;
  text-decoration: none;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 1rem;
}
.footer-contact img {
  margin-right: 8px;
  vertical-align: middle;
  width: 20px; height: auto;
  display: inline;
}

/* ================== RESPONSIVE ADJUSTMENTS ================== */
@media (max-width: 1024px) {
  header {
    flex-direction: row;
    gap: 10px;
    padding-left: 10px; padding-right: 10px;
  }
  .footer-nav {
    gap: 10px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }
  main {
    margin-bottom: 18px;
    margin-top: 5px;
  }
  section {
    margin-bottom: 44px;
    padding: 24px 0;
  }
  .section {
    margin-bottom: 40px;
    padding: 28px 10px;
  }
  .content-wrapper, .feature-grid, .card-container, .content-grid, .testimonials, .footer-contact {
    flex-direction: column;
    gap: 20px;
  }
  .feature-item, .testimonial-card {
    min-width: unset;
    width: 100%;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  h1 {font-size: 2rem;}
  h2 {font-size: 1.38rem;}
}
@media (max-width: 520px) {
  h1{font-size: 1.5rem;}
  h2{font-size: 1.15rem;}
  .footer-branding img { height: 34px; }
}

/* ========================
   Cookie Consent Banner
 ======================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 3800;
  background: #E0E6ED;
  color: #3A5730;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  box-shadow: 0 -2px 18px rgba(44,62,35,0.13);
  width: 100vw;
  max-width: 100vw;
  padding: 22px 32px 20px 32px;
  font-size: 1.05rem;
  border-radius: 28px 28px 0 0;
  animation: cookie-slideup 0.45s cubic-bezier(.6,.2,.35,1);
}
@keyframes cookie-slideup {
  from { transform: translateY(120%); opacity: 0; }
  to   { transform: translateY(0);   opacity: 1; }
}
.cookie-banner span {
  font-size: 0.97rem;
}
.cookie-banner .cookie-btns {
  display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px;
}
.cookie-btn, .cookie-settings-btn {
  padding: 9px 23px;
  border-radius: 18px 10px 18px 24px;
  border: none;
  font-size: 1rem;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  margin-right: 6px;
  transition: background 0.13s, color 0.13s, box-shadow 0.18s, transform 0.095s;
  box-shadow: 0 1px 7px rgba(139,163,110,0.09);
}
.cookie-btn.accept {
  background: #215B1C;
  color: #F6F9F5;
}
.cookie-btn.reject {
  background: #ECA66B;
  color: #22304A;
}
.cookie-settings-btn {
  background: #F0EBE1;
  color: #22304A;
  border: 1px solid #ECA66B;
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus {
  background: #ECA66B;
  color: #22304A;
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: #e59c59;
}
.cookie-settings-btn:hover,
.cookie-settings-btn:focus {
  background: #DEE6DA;
}
@media (max-width: 650px) {
  .cookie-banner {
    font-size: 0.99rem;
    padding: 17px 10px;
    border-radius: 18px 18px 0 0;
  }
  .cookie-banner .cookie-btns {gap:8px;}
}

/* ==============================
 Cookie Consent Modal (Popup)
============================== */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(38, 53, 32, 0.45);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center; justify-content: center;
  z-index: 4010;
  transition: opacity 0.2s;
}
.cookie-modal-inner {
  background: #F6F9F5;
  border-radius: 32px 16px 32px 16px / 16px 32px 16px 32px;
  box-shadow: 0 2px 32px rgba(60,80,40,0.12);
  padding: 36px 30px 24px 32px;
  max-width: 370px;
  min-width: 245px;
  font-size: 1.03rem;
  color: #22304A;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: cookie-modalpop 0.36s cubic-bezier(.6,.3,.35,1);
}
@keyframes cookie-modalpop {
  from { transform: scale(0.86) translateY(60px); opacity: 0; }
  to   { transform: scale(1)    translateY(0);    opacity: 1; }
}
.cookie-modal-inner h2 {
  margin-top: 0;
  font-size: 1.3rem;
  color: #39623E;
}
.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
}
.cookie-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  color: #22304A;
}
.cookie-option input[type="checkbox"] {
  accent-color: #215B1C;
  width: 18px;
  height: 18px;
}
.cookie-option .cookie-lock {
  margin-left: 6px;
  font-size: 1.09em;
  color: #3A5730;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

/* ============================
 Custom ORGANIC/nature SHAPES
============================ */
.section, .card, .feature-item, .testimonial-card, .footer-nav a, .cta-btn, .cookie-banner, .cookie-modal-inner {
  border-radius: 24px 48px 32px 40px / 40px 24px 48px 32px;
}

/* ================
 ORGANIC SHADOWS
================ */
.feature-item, .testimonial-card, .card, .cookie-banner, .footer-nav a, .cta-btn {
  box-shadow: 0 2px 14px rgba(60,80,40,0.06);
}

/* ================
 Natural Textures - Subtle overlays (optional, for extra credit)
================ */
.section::after {
  content: '';
  display: block;
  position: absolute;
  right: -38px;
  bottom: -30px;
  width: 86px;
  height: 50px;
  background: url('../assets/pattern-leaf.svg') no-repeat;
  opacity: 0.09;
  pointer-events: none;
  z-index: 1;
}
@media (max-width: 900px) {
  .section::after { display: none; }
}

/* ================
 General Utility
================ */
.no-scroll { overflow: hidden !important; }

/* ================
  FOCUS STATES
================ */
a:focus, button:focus, .cta-btn:focus, .cookie-btn:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus {
  outline: 2px solid #ECA66B;
  outline-offset: 1px;
  box-shadow: 0 0 0 2px #ECA66B;
}

/* ================
  Microinteractions
================ */
.cta-btn, .feature-item, .testimonial-card, .footer-nav a, .cookie-btn, .cookie-settings-btn {
  transition: box-shadow 0.17s, background 0.18s, color 0.18s, transform 0.13s;
}

/* ================
  SCROLLBAR (Subtle organic look)
================ */
::-webkit-scrollbar {
  width: 9px;
  background: #DEE6DA; 
}
::-webkit-scrollbar-thumb {
  background: #C2D1BD; 
  border-radius: 8px; 
}

/* ================
 DARK/LIGHT TEXT FOR CONTRAST
================ */
.testimonial-card, .feature-item {
  color: #22304A !important;
}

/*****************************************
  PRINT SAFE STYLES (brief)
*****************************************/
@media print {
  header, footer, .cta-btn, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  body { background: #fff; color: #222; }
  main, .container, section { background: #fff !important; }
}
