/* -----------------------
   RESET & BASE 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,
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 {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  line-height: 1.6;
  font-family: 'Lato', Arial, sans-serif;
  background: linear-gradient(135deg, #F6EFE7 0%, #ACC18A 100%);
  color: #24533F;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  letter-spacing: 0.01em;
}

main {
  min-height: 70vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #24533F;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(0.4,0,0.2,1);
}

a:hover, a:focus {
  color: #18a66e;
}

ul, ol {
  margin-left: 1.2em;
  margin-bottom: 1.2em;
}

ul ul, ol ol, ul ol, ol ul {
  margin-bottom: 0;
}

li {
  margin-bottom: 0.6em;
}

strong {
  font-weight: 700;
}

hr {
  border: none;
  border-top: 1px solid #ACC18A;
  margin: 24px 0;
}

/* Typography */
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #24533F;
  margin-bottom: 16px;
  font-weight: 700;
  line-height: 1.15;
}
h1 { font-size: 2.2rem; margin-bottom: 24px; }
h2 { font-size: 1.7rem; margin-bottom: 16px; }
h3 { font-size: 1.2rem; margin-bottom: 12px; }
@media (min-width: 600px) {
  h1 { font-size: 2.7rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.3rem; }
}
p, blockquote, li {
  font-size: 1rem;
  color: #24533F;
}
blockquote {
  font-style: italic;
  margin-bottom: 8px;
}

/* Container & Section Pattern */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  width: 100%;
}

/* -------------------------
   HEADER & NAV STYLES
--------------------------*/
header {
  background: #fff;
  box-shadow: 0 2px 8px 0 rgba(36,83,63,0.09);
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 100;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 8px 0;
  width: 100%;
  position: relative;
}
.logo img {
  height: 46px;
  width: auto;
  display: block;
}
.main-nav a:not(.logo):not(.btn-primary) {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.03em;
  color: #24533F;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.25s, color 0.2s;
}
.main-nav a:not(.logo):not(.btn-primary):hover,
.main-nav a:not(.logo):not(.btn-primary):focus {
  background: #ACC18A22;
  color: #1a4430;
}

/* CTA Button Style */
.btn-primary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 10px 28px;
  border: none;
  border-radius: 24px;
  background: linear-gradient(90deg,#ACC18A 0%, #24533F 100%);
  color: #fff;
  text-shadow: 0 2px 8px #24533F11;
  box-shadow: 0 2px 10px 0 #ACC18A33;
  cursor: pointer;
  transition: background 0.2s, color 0.15s, box-shadow 0.2s;
  margin-left: 4px;
  display: inline-block;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg,#24533F 0%, #ACC18A 100%);
  color: #F6EFE7;
  box-shadow: 0 4px 16px 0 #24533F22;
}

/* HIDE MOBILE MENU ON DESKTOP */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #24533F;
  cursor: pointer;
  padding: 8px 12px;
  margin-left: 8px;
  z-index: 201;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #ACC18A;
}
@media (min-width: 900px) {
  .mobile-menu-toggle { display: none; }
}

/* Responsive NAV */
@media (max-width: 899px) {
  .main-nav {
    flex-wrap: wrap;
    gap: 8px;
  }
  .main-nav a:not(.logo),
  .main-nav .btn-primary {
    display: none;
  }
  .main-nav .logo { display: block; }
}

/* MOBILE NAVIGATION OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(36,83,63,0.98);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  transform: translateX(-110vw);
  transition: transform 0.4s cubic-bezier(0.7,0,0.3,1);
  will-change: transform;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.3rem;
  align-self: flex-end;
  margin: 24px 30px 20px 0;
  cursor: pointer;
  transition: color 0.2s;
  padding: 0 8px;
}
.mobile-menu-close:focus {
  outline: 2px solid #F6EFE7;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 32px;
  gap: 22px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 8px;
  padding: 12px 0;
  border-radius: 8px;
  transition: background 0.18s, color 0.15s;
  min-width: 170px;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: #ACC18A;
  color: #24533F;
  text-decoration: none;
}

/* Overlay background when menu open */
body.mobile-menu-open {
  overflow: hidden;
}

/* --------------
   HERO SECTION
--------------- */
.hero {
  background: linear-gradient(120deg, #F6EFE7 65%, #ACC18A 100%);
  border-radius: 0 0 36px 36px;
  box-shadow: 0 8px 24px #ACC18A22;
  min-height: 280px;
  display: flex;
  align-items: stretch;
  margin-bottom: 60px;
  padding: 32px 0 48px 0;
}

.hero .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.hero h1 {
  color: #24533F;
  letter-spacing: 0.01em;
}
.hero p {
  color: #24533F;
  font-size: 1.12rem;
  margin-bottom: 24px;
  max-width: 600px;
}

@media (min-width: 700px) {
  .hero {
    min-height: 320px;
    padding-bottom: 60px;
  }
}

/* -------------------------------
   SHARED SECTION & GRID LAYOUTS
-------------------------------- */
.feature-grid,
ul.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
  margin-bottom: 12px;
  list-style: none;
  padding: 0;
}
.feature-grid li {
  flex: 1 1 240px;
  min-width: 210px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 9px #24533F10;
  padding: 24px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 0;
  transition: transform 0.18s, box-shadow 0.14s;
}
.feature-grid li:hover, .feature-grid li:focus-within {
  box-shadow: 0 12px 32px #24533F22;
  transform: translateY(-4px) scale(1.025);
}
.feature-grid img {
  height: 38px;
  width: 38px;
  margin-bottom: 8px;
  filter: drop-shadow(0 2px 6px #ACC18A22);
}
.feature-grid h3 {
  font-size: 1.12rem;
  margin-bottom: 3px;
  color: #24533F;
}
.feature-grid p {
  font-size: 1rem;
  color: #24533F;
}

@media (max-width: 768px) {
  .feature-grid {
    gap: 18px;
  }
  .feature-grid li {
    min-width: 95%;
    width: 100%;
  }
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 22px;
  }
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px #ACC18A22;
  padding: 28px 22px 22px 22px;
  transition: box-shadow 0.17s, transform 0.15s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px #ACC18A33;
  transform: translateY(-2px) scale(1.017);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* TESTIMONIALS */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fff;
  border-left: 5px solid #ACC18A;
  border-radius: 14px;
  box-shadow: 0 1px 10px #ACC18A30;
  transition: box-shadow 0.19s;
}
.testimonial-card blockquote {
  color: #24533F;
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.5;
}
.testimonial-card strong {
  color: #24533F;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: bold;
  display: block;
  margin-top: 7px;
}
@media (max-width: 600px) {
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    padding: 16px;
  }
  .testimonial-card blockquote {
    font-size: 1rem;
  }
}

/* --- Buttons & Inputs --- */
button, input[type=submit], input[type=button] {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  background: linear-gradient(90deg,#ACC18A 0%, #24533F 100%);
  color: #fff;
  border: none;
  border-radius: 24px;
  padding: 11px 22px;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.2s, color 0.15s;
  font-size: 1rem;
}
button:hover, button:focus,
input[type=submit]:hover, input[type=submit]:focus,
input[type=button]:hover, input[type=button]:focus {
  background: linear-gradient(90deg,#24533F 0%, #ACC18A 100%);
  color: #F6EFE7;
  box-shadow: 0 3px 12px #24533F22;
}

/* --- Footer --- */
footer {
  width: 100%;
  background: linear-gradient(120deg, #ACC18A 45%, #F6EFE7 100%);
  border-top: 1px solid #ACC18A44;
  box-shadow: 0 -2px 12px #ACC18A22;
  padding: 24px 0 16px 0;
  margin-top: 60px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.footer-nav a {
  color: #24533F;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 4px 7px;
  border-radius: 8px;
  transition: background 0.16s, color 0.15s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  background: #24533F;
  color: #ACC18A;
}
footer .text-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: #24533F;
  font-size: 0.97rem;
  opacity: 0.9;
}

/* -----------------------------
   Cookie Consent Banner + Modal
------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(90deg,#24533F 0%, #ACC18A 100%);
  box-shadow: 0 -6px 16px #24533F33;
  padding: 22px 12px;
  min-height: 76px;
  gap: 24px;
  animation: slideCookieIn 0.6s cubic-bezier(0.7,0,0.3,1);
}
@keyframes slideCookieIn {
  from {transform: translateY(120%); opacity:0;}
  to {transform: translateY(0); opacity:1;}
}
.cookie-banner p,
.cookie-banner span {
  color: #fff;
  font-size: 1.04rem;
  margin-right: 8px;
}
.cookie-banner .cookie-btn {
  font-size: 1rem;
  border-radius: 22px;
  margin-right: 9px;
  font-weight: 700;
  min-width: 120px;
  box-shadow: 0 2px 12px #ACC18A19;
}
.cookie-banner .cookie-btn--accept {
  background: #ACC18A;
  color: #24533F;
}
.cookie-banner .cookie-btn--accept:hover,.cookie-banner .cookie-btn--accept:focus {
  background: #24533F;
  color: #ACC18A;
}
.cookie-banner .cookie-btn--reject {
  background: #fff;
  color: #24533F;
  border: 1.5px solid #ACC18A;
}
.cookie-banner .cookie-btn--reject:hover,.cookie-banner .cookie-btn--reject:focus {
  background: #ACC18A;
  color: #fff;
}
.cookie-banner .cookie-btn--settings {
  background: none;
  color: #fff;
  border: 1.5px solid #F6EFE7;
}
.cookie-banner .cookie-btn--settings:hover,.cookie-banner .cookie-btn--settings:focus {
  background: #F6EFE7;
  color: #24533F;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 16px 6px;
    min-height: unset;
  }
  .cookie-banner .cookie-btn {
    width: 100%;
    margin-right: 0;
    margin-bottom: 6px;
  }
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 2050;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(36,83,63,0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 16px 40px #24533F44;
  max-width: 360px;
  width: 95vw;
  padding: 40px 24px 30px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modalScaleIn 0.28s cubic-bezier(0.9,0,0.2,1);
}
@keyframes modalScaleIn {
  from { transform: scale(0.84); opacity:0; }
  to   { transform: scale(1.0); opacity:1; }
}
.cookie-modal h2 {
  font-size: 1.22rem;
  color: #24533F;
  margin-bottom: 3px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.cookie-category label,
.cookie-category input[type=checkbox],
.cookie-category input[type=radio] {
  cursor: pointer;
}
.cookie-category input[type=checkbox] {
  accent-color: #ACC18A;
  width: 18px; height: 18px;
  border-radius: 6px;
}
.cookie-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 14px;
}
.cookie-actions .cookie-btn {
  margin: 0;
  padding: 9px 20px;
}

/* Essential cookies (always enabled) styling */
.cookie-category--essential input[type=checkbox] {
  accent-color: #ACC18A;
}
.cookie-category--essential label {
  color: #aaa;
}

@media (max-width: 480px) {
  .cookie-modal {
    padding: 23px 8px 18px 8px;
    max-width: 97vw;
  }
}

/*********************************
  RESPONSIVE SPACING & LAYOUTS
**********************************/
@media (max-width: 900px) {
  .container { padding-left: 10px; padding-right: 10px; }
  .section { padding: 26px 6px; }
  .content-wrapper {padding: 0;}
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.2rem; }
  h3 { font-size: 1.06rem; }
  .section { margin-bottom: 38px; padding: 17px 3px; }
}

/****************************************
  FORM FIELDS (no forms in above pages yet)
*****************************************/
input, textarea, select {
  font-family: 'Lato', Arial, sans-serif;
  border-radius: 10px;
  border: 1.5px solid #ACC18A;
  padding: 11px 14px;
  font-size: 1rem;
  background: #F6EFE7;
  color: #24533F;
  box-shadow: 0 1px 4px #ACC18A19;
  margin-bottom: 14px;
  transition: border 0.16s;
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  border-color: #24533F;
  outline: none;
}

/****************************
   MISC MICRO-INTERACTIONS
****************************/
.card, .testimonial-card, .feature-grid li {
  transition: box-shadow 0.16s, transform 0.16s, background 0.15s;
}
.btn-primary, .cookie-btn {
  transition: background 0.18s, color 0.14s, box-shadow 0.17s;
}
.mobile-menu, .mobile-menu.active {
  transition: transform 0.4s cubic-bezier(0.7,0,0.3,1);
}

/******************************
   ACCESSIBLE FOCUS STATES
*******************************/
a:focus, .btn-primary:focus, button:focus, input:focus {
  outline: 2px solid #ACC18A;
  outline-offset: 1px;
}

/*************************************
  OVERRIDES FOR PRINT (optional)
*************************************/
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  .container, .section { box-shadow: none !important; background: #fff; }
}

/*******************
  END OF STYLES
*******************/