/* CSS RESET & NORMALIZATION */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}
body {
  background: #FFF7E7;
  color: #29510F;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 400;
  min-height: 100vh;
  line-height: 1.7;
  font-size: 1rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}

a {
  color: #29510F;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #AAB04A;
}

ul, ol {
  padding-left: 1.3em;
  margin-top: 1em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 0.5em;
}

strong {
  font-weight: 700;
}

blockquote {
  font-style: italic;
  color: #523804;
  background: #FFF7E7;
  border-left: 5px solid #AAB04A;
  margin: 0;
  padding: 0 0 0 1.2em;
}

/* TYPOGRAPHY */
h1, .hero h1 {
  font-family: 'Lora', serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: #29510F;
  margin-bottom: 0.6em;
}
@media (min-width: 768px) {
  h1, .hero h1 { font-size: 2.75rem; }
}

h2 {
  font-family: 'Lora', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #AAB04A;
  margin-bottom: 0.7em;
}

h3 {
  font-family: 'Lora', serif;
  font-size: 1.2rem;
  color: #29510F;
  font-weight: 500;
  margin-bottom: 0.5em;
}
p {
  margin-bottom: 1em;
}

input[type="search"] {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ECE4CA;
  background: #FFF;
  border-radius: 28px;
  font-size: 1rem;
  color: #29510F;
  outline: none;
  margin-bottom: 1em;
  transition: border-color 0.2s;
}
input[type="search"]:focus {
  border-color: #AAB04A;
}

/* GENERAL SPACING & CONTAINERS */
.container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* SECTION & CARD PATTERNS (MANDATORY) */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(170,176,74,0.11);
  padding: 32px 24px;
  min-width: 240px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
}
.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;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(170,176,74,0.075);
  flex: 1 1 300px;
  flex-wrap: wrap;
  min-width: 240px;
  border: 1px solid #ECE4CA;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HERO SECTION */
.hero {
  background: #AAB04A;
  color: #29510F;
  border-radius: 0 0 34px 34px;
  margin-bottom: 44px;
  min-height: 270px;
  box-shadow: 0 7px 30px rgba(42,81,15,0.07);
  display: flex;
  align-items: center;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 18px;
  margin: 0 auto;
}
.hero h1, .hero p {
  color: #29510F;
}

/* NAVIGATION STYLES */
header {
  background: #FFF;
  box-shadow: 0 1px 10px rgba(170,176,74,0.07);
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 0 0 0 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
  gap: 32px;
  padding: 14px 20px;
}
header img {
  height: 48px; max-width: 180px;
}
nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
nav a {
  padding: 8px 14px;
  border-radius: 20px;
  font-weight: 500;
  letter-spacing: 0.01em;
  font-size: 1rem;
  transition: background 0.15s, color 0.2s;
}
nav a:hover {
  background: #AAB04A22;
  color: #29510F;
}
.cta-primary, .cta-secondary {
  display: inline-block;
  padding: 13px 34px;
  border: none;
  border-radius: 28px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 3px 11px 0 rgba(170,176,74,0.13);
  transition: background 0.2s, color 0.18s, box-shadow 0.18s, transform 0.11s;
  outline: none;
  margin-top: 8px;
}
.cta-primary {
  background: #AAB04A;
  color: #fff;
}
.cta-primary:hover, .cta-primary:focus {
  background: #29510F;
  color: #FFF7E7;
  transform: translateY(-2px) scale(1.033);
  box-shadow: 0 7px 24px -4px #AAB04A33;
}
.cta-secondary {
  background: #FFF7E7;
  color: #29510F;
  border: 2px solid #AAB04A;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #AAB04A;
  color: #fff;
  border-color: #AAB04A;
  transform: translateY(-2px) scale(1.025);
}

/* FOOTER */
footer {
  background: #FFF;
  border-top: 1px solid #ECE4CA;
  margin-top: 64px;
  padding: 34px 0 14px 0;
  font-size: 1rem;
  box-shadow: 0 -1px 8px 0 rgba(170,176,74,0.04);
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 36px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-top: 8px;
}
footer .contact-details {
  font-size: 0.95rem;
}
footer ul {
  list-style: none;
  padding-left: 0;
}
footer li {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 7px;
  color: #523804;
  font-size: 0.98em;
}
footer img {
  height: 42px;
  margin-bottom: 9px;
  border-radius: 0;
}

/* TESTIMONIALS SECTION */
.testimonial-card {
  background: #FFF;
  color: #29510F;
  border-left: 6px solid #AAB04A;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(170,176,74,0.10);
  margin-bottom: 20px;
  font-size: 1.09rem;
  align-items: center;
  gap: 16px;
  min-width: 240px;
}
.testimonial-card blockquote {
  color: #523804;
  font-weight: 500;
  margin-bottom: 0;
}
.testimonial-card p {
  font-weight: 400;
  color: #7C6F39;
  margin-bottom: 0;
  font-size: 1em;
}

/* CARDS */
.card {
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(170,176,74,0.11);
  border: 1px solid #ECE4CA;
  padding: 32px 24px;
  margin-bottom: 20px;
  min-width: 250px;
  transition: box-shadow 0.21s, transform 0.15s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 30px rgba(42,81,15,0.09);
  transform: translateY(-3px) scale(1.018);
}

/* FEATURE LISTS & ITEMS */
.feature-item {
  background: #FFF;
  border-radius: 14px;
  padding: 22px 18px;
  box-shadow: 0 3px 14px rgba(170,176,74,0.085);
  border: 1px solid #ECE4CA;
  margin-bottom: 18px;
}

/* CONTENT GRIDS */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}
@media (max-width: 992px) {
  .content-grid { flex-direction: column; }
}

/* FORM ELEMENTS */
input, textarea, select {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border-radius: 14px;
  border: 1px solid #ECE4CA;
  padding: 13px 16px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.17s;
  margin-bottom: 18px;
}
input:focus, textarea:focus, select:focus {
  border-color: #AAB04A;
}
button {
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  border-radius: 22px;
  transition: background 0.14s, box-shadow 0.14s, color 0.14s, transform 0.11s;
  outline: none;
}

/* ==== MOBILE BURGER MENU ==== */
.mobile-menu-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 100;
  background: #29510F;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 16px rgba(170,176,74,0.18);
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #AAB04A;
  color: #29510F;
}

.mobile-menu {
  position: fixed;
  top: 0; right: 0; left: 0; bottom: 0;
  background: rgba(255,247,231,0.98);
  z-index: 120;
  transform: translateX(110%);
  transition: transform 0.33s cubic-bezier(.6,.02,0,1.01);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  padding: 0 0 0 0;
  box-shadow: -2px 0 20px rgba(170,176,74,0.13);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 28px 22px 0 0;
  font-size: 2.2rem;
  background: #AAB04A;
  color: #fff;
  border-radius: 50%;
  border: none;
  width: 48px; height: 48px;
  box-shadow: 0 3px 15px -2px #AAB04A33;
  transition: background 0.17s, color 0.17s;
}
.mobile-menu-close:active, .mobile-menu-close:focus {
  background: #29510F;
  color: #FFF7E7;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 32px;
  gap: 0;
}
.mobile-nav a {
  display: block;
  padding: 18px 42px 18px 36px;
  font-size: 1.18rem;
  color: #29510F;
  border-bottom: 1px solid #ECE4CA;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #AAB04A22;
  color: #AAB04A;
}

@media (max-width: 850px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 851px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 200;
  background: #FFF7E7;
  color: #29510F;
  border-top: 2px solid #AAB04A;
  box-shadow: 0 -3px 22px -4px #AAB04A22;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 8px 16px 8px;
  gap: 18px;
  font-size: 1.05rem;
  animation: cookieSlideIn 0.55s cubic-bezier(.6,.1,0,1.01);
}
@keyframes cookieSlideIn {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner .banner-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 6px;
}
.cookie-btn {
  padding: 9px 26px;
  border-radius: 20px;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  background: #AAB04A;
  color: #fff;
  margin-right: 6px;
  transition: background 0.16s, color 0.16s, transform 0.13s;
  box-shadow: 0 2px 12px rgba(170,176,74,0.10);
}
.cookie-btn:last-child {
  margin-right: 0;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #29510F;
  color: #FFF7E7;
  transform: translateY(-2px) scale(1.025);
}
.cookie-btn.secondary {
  background: #fff;
  color: #AAB04A;
  border: 2px solid #AAB04A;
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus{
  background: #AAB04A;
  color: #fff;
}

/* Cookie Consent Modal */
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%,-48%) scale(0.96);
  z-index: 220;
  background: #FFF7E7;
  color: #29510F;
  border-radius: 22px;
  box-shadow: 0 12px 40px rgba(42,81,15,0.18);
  padding: 38px 24px;
  min-width: 270px;
  max-width: 95vw;
  animation: cookiePopIn 0.33s cubic-bezier(.5,.1,0,1.01);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@keyframes cookiePopIn {
  from { transform: translate(-50%,40%) scale(0.9); opacity: 0; }
  to   { transform: translate(-50%,-48%) scale(1); opacity: 1; }
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 18px 0 9px 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  padding: 13px 12px;
  border-radius: 14px;
  font-size: 1rem;
}
.cookie-settings-switch {
  margin-left: auto;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 18px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 16px; right: 18px;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: #AAB04A;
  cursor: pointer;
}

/* Custom Toggle Switch */
.cookie-settings-switch {
  display: inline-block;
  width: 44px;
  height: 24px;
  position: relative;
}
.cookie-settings-switch input[type="checkbox"] {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-settings-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #ECE4CA;
  border-radius: 15px;
  transition: background 0.2s;
}
.cookie-settings-switch input:checked + .cookie-settings-slider {
  background: #AAB04A;
}
.cookie-settings-slider:before {
  content: "";
  position: absolute;
  left: 4px;
  top: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.19s;
}
.cookie-settings-switch input:checked + .cookie-settings-slider:before {
  transform: translateX(20px);
}

/* GENERAL RESPONSIVE DESIGN */
@media (max-width: 992px) {
  .container { max-width: 94vw; padding: 0 10px; }
  header .container, footer .container { flex-direction: column; gap: 14px; align-items: flex-start; }
  .hero { border-radius: 0 0 24px 24px; }
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 42px;
    padding: 28px 5px;
  }
  .content-wrapper { gap: 16px; }
  .content-grid,
  .card-container {
    flex-direction: column;
    gap: 15px;
  }
  .footer .container {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  footer {
    padding: 22px 0 10px 0;
    font-size: 0.95rem;
  }
  .testimonial-card,
  .card,
  .feature-item {
    min-width: 96vw;
    padding: 19px 7vw;
  }
}
@media (max-width: 600px) {
  h1, .hero h1 { font-size: 1.42rem; }
  h2 { font-size: 1.12rem; }
  .cta-primary, .cta-secondary { width: 100%; font-size: 1rem; padding: 13px 0; }
  .cookie-modal { min-width: 80vw; max-width: 99vw; padding: 20px 8px; }
}

/* TEXT-IMAGE FLEX SECTION MOBILE ADAPT */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .hero .container {
    padding: 0 8px;
  }
}

/* MISC. ACCESSIBILITY & HOVER EFFECTS */
a:focus, button:focus {
  outline: 3px solid #AAB04A;
  outline-offset: 2px;
}

::-webkit-input-placeholder { color: #83855B; }
::-moz-placeholder { color: #83855B; }
:-ms-input-placeholder { color: #83855B; }
::placeholder { color: #83855B; }

/* Z-INDEX ENSURE */
header { z-index: 40; }
.mobile-menu { z-index: 120; }
.cookie-banner { z-index: 200; }
.cookie-modal { z-index: 220; }

/* PREVENT OVERLAPPING */
.card, .testimonial-card, .feature-item, .section, .footer .contact-details, .cookie-banner, .cookie-modal {
  margin-bottom: 20px;
}

/* FONT IMPORTS (served from Google) */
@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;600;700&family=Montserrat:wght@400;500;700&display=swap');
